mirror of
https://github.com/langgenius/dify.git
synced 2026-05-07 15:02:22 -04:00
2151 lines
50 KiB
TypeScript
2151 lines
50 KiB
TypeScript
// This file is auto-generated by @hey-api/openapi-ts
|
|
|
|
import * as z from 'zod'
|
|
|
|
/**
|
|
* TenantInfoResponse
|
|
*/
|
|
export const zTenantInfoResponse = z.object({
|
|
created_at: z.int().nullish(),
|
|
custom_config: z.record(z.string(), z.unknown()).nullish(),
|
|
id: z.string(),
|
|
in_trial: z.boolean().nullish(),
|
|
name: z.string().nullish(),
|
|
next_credit_reset_date: z.int().nullish(),
|
|
plan: z.string().nullish(),
|
|
role: z.string().nullish(),
|
|
status: z.string().nullish(),
|
|
trial_credits: z.int().nullish(),
|
|
trial_credits_used: z.int().nullish(),
|
|
trial_end_reason: z.string().nullish(),
|
|
})
|
|
|
|
/**
|
|
* EndpointCreatePayload
|
|
*/
|
|
export const zEndpointCreatePayload = z.object({
|
|
name: z.string().min(1),
|
|
plugin_unique_identifier: z.string(),
|
|
settings: z.record(z.string(), z.unknown()),
|
|
})
|
|
|
|
/**
|
|
* EndpointCreateResponse
|
|
*/
|
|
export const zEndpointCreateResponse = z.object({
|
|
success: z.boolean(),
|
|
})
|
|
|
|
/**
|
|
* EndpointIdPayload
|
|
*/
|
|
export const zEndpointIdPayload = z.object({
|
|
endpoint_id: z.string(),
|
|
})
|
|
|
|
/**
|
|
* EndpointDeleteResponse
|
|
*/
|
|
export const zEndpointDeleteResponse = z.object({
|
|
success: z.boolean(),
|
|
})
|
|
|
|
/**
|
|
* EndpointDisableResponse
|
|
*/
|
|
export const zEndpointDisableResponse = z.object({
|
|
success: z.boolean(),
|
|
})
|
|
|
|
/**
|
|
* EndpointEnableResponse
|
|
*/
|
|
export const zEndpointEnableResponse = z.object({
|
|
success: z.boolean(),
|
|
})
|
|
|
|
/**
|
|
* EndpointListResponse
|
|
*/
|
|
export const zEndpointListResponse = z.object({
|
|
endpoints: z.array(z.record(z.string(), z.unknown())),
|
|
})
|
|
|
|
/**
|
|
* PluginEndpointListResponse
|
|
*/
|
|
export const zPluginEndpointListResponse = z.object({
|
|
endpoints: z.array(z.record(z.string(), z.unknown())),
|
|
})
|
|
|
|
/**
|
|
* LegacyEndpointUpdatePayload
|
|
*/
|
|
export const zLegacyEndpointUpdatePayload = z.object({
|
|
endpoint_id: z.string(),
|
|
name: z.string().min(1),
|
|
settings: z.record(z.string(), z.unknown()),
|
|
})
|
|
|
|
/**
|
|
* EndpointUpdateResponse
|
|
*/
|
|
export const zEndpointUpdateResponse = z.object({
|
|
success: z.boolean(),
|
|
})
|
|
|
|
/**
|
|
* EndpointUpdatePayload
|
|
*/
|
|
export const zEndpointUpdatePayload = z.object({
|
|
name: z.string().min(1),
|
|
settings: z.record(z.string(), z.unknown()),
|
|
})
|
|
|
|
/**
|
|
* OwnerTransferCheckPayload
|
|
*/
|
|
export const zOwnerTransferCheckPayload = z.object({
|
|
code: z.string(),
|
|
token: z.string(),
|
|
})
|
|
|
|
/**
|
|
* OwnerTransferEmailPayload
|
|
*/
|
|
export const zOwnerTransferEmailPayload = z.object({
|
|
language: z.string().nullish(),
|
|
})
|
|
|
|
/**
|
|
* OwnerTransferPayload
|
|
*/
|
|
export const zOwnerTransferPayload = z.object({
|
|
token: z.string(),
|
|
})
|
|
|
|
/**
|
|
* MemberRoleUpdatePayload
|
|
*/
|
|
export const zMemberRoleUpdatePayload = z.object({
|
|
role: z.string(),
|
|
})
|
|
|
|
/**
|
|
* ParserCredentialDelete
|
|
*/
|
|
export const zParserCredentialDelete = z.object({
|
|
credential_id: z.string(),
|
|
})
|
|
|
|
/**
|
|
* ParserCredentialCreate
|
|
*/
|
|
export const zParserCredentialCreate = z.object({
|
|
credentials: z.record(z.string(), z.unknown()),
|
|
name: z.string().max(30).nullish(),
|
|
})
|
|
|
|
/**
|
|
* ParserCredentialUpdate
|
|
*/
|
|
export const zParserCredentialUpdate = z.object({
|
|
credential_id: z.string(),
|
|
credentials: z.record(z.string(), z.unknown()),
|
|
name: z.string().max(30).nullish(),
|
|
})
|
|
|
|
/**
|
|
* ParserCredentialSwitch
|
|
*/
|
|
export const zParserCredentialSwitch = z.object({
|
|
credential_id: z.string(),
|
|
})
|
|
|
|
/**
|
|
* ParserCredentialValidate
|
|
*/
|
|
export const zParserCredentialValidate = z.object({
|
|
credentials: z.record(z.string(), z.unknown()),
|
|
})
|
|
|
|
/**
|
|
* ParserPreferredProviderType
|
|
*/
|
|
export const zParserPreferredProviderType = z.object({
|
|
preferred_provider_type: z.enum(['system', 'custom']),
|
|
})
|
|
|
|
/**
|
|
* ParserGithubInstall
|
|
*/
|
|
export const zParserGithubInstall = z.object({
|
|
package: z.string(),
|
|
plugin_unique_identifier: z.string(),
|
|
repo: z.string(),
|
|
version: z.string(),
|
|
})
|
|
|
|
/**
|
|
* ParserPluginIdentifiers
|
|
*/
|
|
export const zParserPluginIdentifiers = z.object({
|
|
plugin_unique_identifiers: z.array(z.string()),
|
|
})
|
|
|
|
/**
|
|
* ParserLatest
|
|
*/
|
|
export const zParserLatest = z.object({
|
|
plugin_ids: z.array(z.string()),
|
|
})
|
|
|
|
/**
|
|
* ParserDynamicOptionsWithCredentials
|
|
*/
|
|
export const zParserDynamicOptionsWithCredentials = z.object({
|
|
action: z.string(),
|
|
credential_id: z.string(),
|
|
credentials: z.record(z.string(), z.unknown()),
|
|
parameter: z.string(),
|
|
plugin_id: z.string(),
|
|
provider: z.string(),
|
|
})
|
|
|
|
/**
|
|
* ParserExcludePlugin
|
|
*/
|
|
export const zParserExcludePlugin = z.object({
|
|
plugin_id: z.string(),
|
|
})
|
|
|
|
/**
|
|
* ParserUninstall
|
|
*/
|
|
export const zParserUninstall = z.object({
|
|
plugin_installation_id: z.string(),
|
|
})
|
|
|
|
/**
|
|
* ParserGithubUpgrade
|
|
*/
|
|
export const zParserGithubUpgrade = z.object({
|
|
new_plugin_unique_identifier: z.string(),
|
|
original_plugin_unique_identifier: z.string(),
|
|
package: z.string(),
|
|
repo: z.string(),
|
|
version: z.string(),
|
|
})
|
|
|
|
/**
|
|
* ParserMarketplaceUpgrade
|
|
*/
|
|
export const zParserMarketplaceUpgrade = z.object({
|
|
new_plugin_unique_identifier: z.string(),
|
|
original_plugin_unique_identifier: z.string(),
|
|
})
|
|
|
|
/**
|
|
* ParserGithubUpload
|
|
*/
|
|
export const zParserGithubUpload = z.object({
|
|
package: z.string(),
|
|
repo: z.string(),
|
|
version: z.string(),
|
|
})
|
|
|
|
/**
|
|
* ApiToolProviderDeletePayload
|
|
*/
|
|
export const zApiToolProviderDeletePayload = z.object({
|
|
provider: z.string(),
|
|
})
|
|
|
|
/**
|
|
* ApiToolSchemaPayload
|
|
*/
|
|
export const zApiToolSchemaPayload = z.object({
|
|
schema: z.string(),
|
|
})
|
|
|
|
/**
|
|
* BuiltinProviderDefaultCredentialPayload
|
|
*/
|
|
export const zBuiltinProviderDefaultCredentialPayload = z.object({
|
|
id: z.string(),
|
|
})
|
|
|
|
/**
|
|
* BuiltinToolCredentialDeletePayload
|
|
*/
|
|
export const zBuiltinToolCredentialDeletePayload = z.object({
|
|
credential_id: z.string(),
|
|
})
|
|
|
|
/**
|
|
* ToolOAuthCustomClientPayload
|
|
*/
|
|
export const zToolOAuthCustomClientPayload = z.object({
|
|
client_params: z.record(z.string(), z.unknown()).nullish(),
|
|
enable_oauth_custom_client: z.boolean().nullish().default(true),
|
|
})
|
|
|
|
/**
|
|
* BuiltinToolUpdatePayload
|
|
*/
|
|
export const zBuiltinToolUpdatePayload = z.object({
|
|
credential_id: z.string(),
|
|
credentials: z.record(z.string(), z.unknown()).nullish(),
|
|
name: z.string().max(30).nullish(),
|
|
})
|
|
|
|
/**
|
|
* MCPProviderDeletePayload
|
|
*/
|
|
export const zMcpProviderDeletePayload = z.object({
|
|
provider_id: z.string(),
|
|
})
|
|
|
|
/**
|
|
* MCPProviderCreatePayload
|
|
*/
|
|
export const zMcpProviderCreatePayload = z.object({
|
|
authentication: z.record(z.string(), z.unknown()).nullish(),
|
|
configuration: z.record(z.string(), z.unknown()).nullish(),
|
|
headers: z.record(z.string(), z.unknown()).nullish(),
|
|
icon: z.string(),
|
|
icon_background: z.string().optional().default(''),
|
|
icon_type: z.string(),
|
|
name: z.string(),
|
|
server_identifier: z.string(),
|
|
server_url: z.string(),
|
|
})
|
|
|
|
/**
|
|
* MCPProviderUpdatePayload
|
|
*/
|
|
export const zMcpProviderUpdatePayload = z.object({
|
|
authentication: z.record(z.string(), z.unknown()).nullish(),
|
|
configuration: z.record(z.string(), z.unknown()).nullish(),
|
|
headers: z.record(z.string(), z.unknown()).nullish(),
|
|
icon: z.string(),
|
|
icon_background: z.string().optional().default(''),
|
|
icon_type: z.string(),
|
|
name: z.string(),
|
|
provider_id: z.string(),
|
|
server_identifier: z.string(),
|
|
server_url: z.string(),
|
|
})
|
|
|
|
/**
|
|
* MCPAuthPayload
|
|
*/
|
|
export const zMcpAuthPayload = z.object({
|
|
authorization_code: z.string().nullish(),
|
|
provider_id: z.string(),
|
|
})
|
|
|
|
/**
|
|
* WorkflowToolDeletePayload
|
|
*/
|
|
export const zWorkflowToolDeletePayload = z.object({
|
|
workflow_tool_id: z.string(),
|
|
})
|
|
|
|
/**
|
|
* TriggerOAuthClientPayload
|
|
*/
|
|
export const zTriggerOAuthClientPayload = z.object({
|
|
client_params: z.record(z.string(), z.unknown()).nullish(),
|
|
enabled: z.boolean().nullish(),
|
|
})
|
|
|
|
/**
|
|
* TriggerSubscriptionBuilderUpdatePayload
|
|
*/
|
|
export const zTriggerSubscriptionBuilderUpdatePayload = z.object({
|
|
credentials: z.record(z.string(), z.unknown()).nullish(),
|
|
name: z.string().nullish(),
|
|
parameters: z.record(z.string(), z.unknown()).nullish(),
|
|
properties: z.record(z.string(), z.unknown()).nullish(),
|
|
})
|
|
|
|
/**
|
|
* TriggerSubscriptionBuilderCreatePayload
|
|
*/
|
|
export const zTriggerSubscriptionBuilderCreatePayload = z.object({
|
|
credential_type: z.string().optional().default('unauthorized'),
|
|
})
|
|
|
|
/**
|
|
* TriggerSubscriptionBuilderVerifyPayload
|
|
*/
|
|
export const zTriggerSubscriptionBuilderVerifyPayload = z.object({
|
|
credentials: z.record(z.string(), z.unknown()),
|
|
})
|
|
|
|
/**
|
|
* WorkspaceCustomConfigPayload
|
|
*/
|
|
export const zWorkspaceCustomConfigPayload = z.object({
|
|
remove_webapp_brand: z.boolean().nullish(),
|
|
replace_webapp_logo: z.string().nullish(),
|
|
})
|
|
|
|
/**
|
|
* WorkspaceInfoPayload
|
|
*/
|
|
export const zWorkspaceInfoPayload = z.object({
|
|
name: z.string(),
|
|
})
|
|
|
|
/**
|
|
* SwitchWorkspacePayload
|
|
*/
|
|
export const zSwitchWorkspacePayload = z.object({
|
|
tenant_id: z.string(),
|
|
})
|
|
|
|
/**
|
|
* AccountWithRole
|
|
*/
|
|
export const zAccountWithRole = z.object({
|
|
avatar: z.string().nullish(),
|
|
created_at: z.int().nullish(),
|
|
email: z.string(),
|
|
id: z.string(),
|
|
last_active_at: z.int().nullish(),
|
|
last_login_at: z.int().nullish(),
|
|
name: z.string(),
|
|
role: z.string(),
|
|
status: z.string(),
|
|
})
|
|
|
|
/**
|
|
* AccountWithRoleList
|
|
*/
|
|
export const zAccountWithRoleList = z.object({
|
|
accounts: z.array(zAccountWithRole),
|
|
})
|
|
|
|
/**
|
|
* TenantAccountRole
|
|
*/
|
|
export const zTenantAccountRole = z.enum(['owner', 'admin', 'editor', 'normal', 'dataset_operator'])
|
|
|
|
/**
|
|
* MemberInvitePayload
|
|
*/
|
|
export const zMemberInvitePayload = z.object({
|
|
emails: z.array(z.string()).optional(),
|
|
language: z.string().nullish(),
|
|
role: zTenantAccountRole,
|
|
})
|
|
|
|
/**
|
|
* ModelType
|
|
*
|
|
* Enum class for model type.
|
|
*/
|
|
export const zModelType = z.enum([
|
|
'llm',
|
|
'text-embedding',
|
|
'rerank',
|
|
'speech2text',
|
|
'moderation',
|
|
'tts',
|
|
])
|
|
|
|
/**
|
|
* ParserDeleteModels
|
|
*/
|
|
export const zParserDeleteModels = z.object({
|
|
model: z.string(),
|
|
model_type: zModelType,
|
|
})
|
|
|
|
/**
|
|
* ParserDeleteCredential
|
|
*/
|
|
export const zParserDeleteCredential = z.object({
|
|
credential_id: z.string(),
|
|
model: z.string(),
|
|
model_type: zModelType,
|
|
})
|
|
|
|
/**
|
|
* ParserCreateCredential
|
|
*/
|
|
export const zParserCreateCredential = z.object({
|
|
credentials: z.record(z.string(), z.unknown()),
|
|
model: z.string(),
|
|
model_type: zModelType,
|
|
name: z.string().max(30).nullish(),
|
|
})
|
|
|
|
/**
|
|
* ParserUpdateCredential
|
|
*/
|
|
export const zParserUpdateCredential = z.object({
|
|
credential_id: z.string(),
|
|
credentials: z.record(z.string(), z.unknown()),
|
|
model: z.string(),
|
|
model_type: zModelType,
|
|
name: z.string().max(30).nullish(),
|
|
})
|
|
|
|
/**
|
|
* ParserSwitch
|
|
*/
|
|
export const zParserSwitch = z.object({
|
|
credential_id: z.string(),
|
|
model: z.string(),
|
|
model_type: zModelType,
|
|
})
|
|
|
|
/**
|
|
* ParserValidate
|
|
*/
|
|
export const zParserValidate = z.object({
|
|
credentials: z.record(z.string(), z.unknown()),
|
|
model: z.string(),
|
|
model_type: zModelType,
|
|
})
|
|
|
|
/**
|
|
* LoadBalancingCredentialPayload
|
|
*/
|
|
export const zLoadBalancingCredentialPayload = z.object({
|
|
credentials: z.record(z.string(), z.unknown()),
|
|
model: z.string(),
|
|
model_type: zModelType,
|
|
})
|
|
|
|
/**
|
|
* Inner
|
|
*/
|
|
export const zInner = z.object({
|
|
model: z.string().nullish(),
|
|
model_type: zModelType,
|
|
provider: z.string().nullish(),
|
|
})
|
|
|
|
/**
|
|
* ParserPostDefault
|
|
*/
|
|
export const zParserPostDefault = z.object({
|
|
model_settings: z.array(zInner),
|
|
})
|
|
|
|
/**
|
|
* LoadBalancingPayload
|
|
*/
|
|
export const zLoadBalancingPayload = z.object({
|
|
configs: z.array(z.record(z.string(), z.unknown())).nullish(),
|
|
enabled: z.boolean().nullish(),
|
|
})
|
|
|
|
/**
|
|
* ParserPostModels
|
|
*/
|
|
export const zParserPostModels = z.object({
|
|
config_from: z.string().nullish(),
|
|
credential_id: z.string().nullish(),
|
|
load_balancing: zLoadBalancingPayload.optional(),
|
|
model: z.string(),
|
|
model_type: zModelType,
|
|
})
|
|
|
|
/**
|
|
* DebugPermission
|
|
*/
|
|
export const zDebugPermission = z.enum(['everyone', 'admins', 'noone'])
|
|
|
|
/**
|
|
* InstallPermission
|
|
*/
|
|
export const zInstallPermission = z.enum(['everyone', 'admins', 'noone'])
|
|
|
|
/**
|
|
* ParserPermissionChange
|
|
*/
|
|
export const zParserPermissionChange = z.object({
|
|
debug_permission: zDebugPermission,
|
|
install_permission: zInstallPermission,
|
|
})
|
|
|
|
/**
|
|
* PluginPermissionSettingsPayload
|
|
*/
|
|
export const zPluginPermissionSettingsPayload = z.object({
|
|
debug_permission: zDebugPermission.optional(),
|
|
install_permission: zInstallPermission.optional(),
|
|
})
|
|
|
|
/**
|
|
* ApiProviderSchemaType
|
|
*
|
|
* Enum class for api provider schema type.
|
|
*/
|
|
export const zApiProviderSchemaType = z.enum([
|
|
'openapi',
|
|
'swagger',
|
|
'openai_plugin',
|
|
'openai_actions',
|
|
])
|
|
|
|
/**
|
|
* ApiToolProviderAddPayload
|
|
*/
|
|
export const zApiToolProviderAddPayload = z.object({
|
|
credentials: z.record(z.string(), z.unknown()),
|
|
custom_disclaimer: z.string().optional().default(''),
|
|
icon: z.record(z.string(), z.unknown()),
|
|
labels: z.array(z.string()).nullish(),
|
|
privacy_policy: z.string().nullish(),
|
|
provider: z.string(),
|
|
schema: z.string(),
|
|
schema_type: zApiProviderSchemaType,
|
|
})
|
|
|
|
/**
|
|
* ApiToolTestPayload
|
|
*/
|
|
export const zApiToolTestPayload = z.object({
|
|
credentials: z.record(z.string(), z.unknown()),
|
|
parameters: z.record(z.string(), z.unknown()),
|
|
provider_name: z.string().nullish(),
|
|
schema: z.string(),
|
|
schema_type: zApiProviderSchemaType,
|
|
tool_name: z.string(),
|
|
})
|
|
|
|
/**
|
|
* ApiToolProviderUpdatePayload
|
|
*/
|
|
export const zApiToolProviderUpdatePayload = z.object({
|
|
credentials: z.record(z.string(), z.unknown()),
|
|
custom_disclaimer: z.string().optional().default(''),
|
|
icon: z.record(z.string(), z.unknown()),
|
|
labels: z.array(z.string()).nullish(),
|
|
original_provider: z.string(),
|
|
privacy_policy: z.string().nullish(),
|
|
provider: z.string(),
|
|
schema: z.string(),
|
|
schema_type: zApiProviderSchemaType,
|
|
})
|
|
|
|
/**
|
|
* CredentialType
|
|
*/
|
|
export const zCredentialType = z.enum(['api-key', 'oauth2', 'unauthorized'])
|
|
|
|
/**
|
|
* BuiltinToolAddPayload
|
|
*/
|
|
export const zBuiltinToolAddPayload = z.object({
|
|
credentials: z.record(z.string(), z.unknown()),
|
|
name: z.string().max(30).nullish(),
|
|
type: zCredentialType,
|
|
})
|
|
|
|
/**
|
|
* StrategySetting
|
|
*/
|
|
export const zStrategySetting = z.enum(['disabled', 'fix_only', 'latest'])
|
|
|
|
/**
|
|
* UpgradeMode
|
|
*/
|
|
export const zUpgradeMode = z.enum(['all', 'partial', 'exclude'])
|
|
|
|
/**
|
|
* PluginAutoUpgradeSettingsPayload
|
|
*/
|
|
export const zPluginAutoUpgradeSettingsPayload = z.object({
|
|
exclude_plugins: z.array(z.string()).optional(),
|
|
include_plugins: z.array(z.string()).optional(),
|
|
strategy_setting: zStrategySetting.optional(),
|
|
upgrade_mode: zUpgradeMode.optional(),
|
|
upgrade_time_of_day: z.int().optional().default(0),
|
|
})
|
|
|
|
/**
|
|
* ParserPreferencesChange
|
|
*/
|
|
export const zParserPreferencesChange = z.object({
|
|
auto_upgrade: zPluginAutoUpgradeSettingsPayload,
|
|
permission: zPluginPermissionSettingsPayload,
|
|
})
|
|
|
|
/**
|
|
* ToolParameterForm
|
|
*/
|
|
export const zToolParameterForm = z.enum(['schema', 'form', 'llm'])
|
|
|
|
/**
|
|
* WorkflowToolParameterConfiguration
|
|
*
|
|
* Workflow tool configuration
|
|
*/
|
|
export const zWorkflowToolParameterConfiguration = z.object({
|
|
description: z.string(),
|
|
form: zToolParameterForm,
|
|
name: z.string(),
|
|
})
|
|
|
|
/**
|
|
* WorkflowToolCreatePayload
|
|
*/
|
|
export const zWorkflowToolCreatePayload = z.object({
|
|
description: z.string(),
|
|
icon: z.record(z.string(), z.unknown()),
|
|
label: z.string(),
|
|
labels: z.array(z.string()).nullish(),
|
|
name: z.string(),
|
|
parameters: z.array(zWorkflowToolParameterConfiguration).optional(),
|
|
privacy_policy: z.string().nullish().default(''),
|
|
workflow_app_id: z.string(),
|
|
})
|
|
|
|
/**
|
|
* WorkflowToolUpdatePayload
|
|
*/
|
|
export const zWorkflowToolUpdatePayload = z.object({
|
|
description: z.string(),
|
|
icon: z.record(z.string(), z.unknown()),
|
|
label: z.string(),
|
|
labels: z.array(z.string()).nullish(),
|
|
name: z.string(),
|
|
parameters: z.array(zWorkflowToolParameterConfiguration).optional(),
|
|
privacy_policy: z.string().nullish().default(''),
|
|
workflow_tool_id: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zGetWorkspacesResponse = z.record(z.string(), z.unknown())
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zPostWorkspacesCurrentResponse = zTenantInfoResponse
|
|
|
|
export const zGetWorkspacesCurrentAgentProviderByProviderNamePath = z.object({
|
|
provider_name: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Agent provider details
|
|
*/
|
|
export const zGetWorkspacesCurrentAgentProviderByProviderNameResponse = z.record(
|
|
z.string(),
|
|
z.unknown(),
|
|
)
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zGetWorkspacesCurrentAgentProvidersResponse = z.array(
|
|
z.record(z.string(), z.unknown()),
|
|
)
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zGetWorkspacesCurrentDatasetOperatorsResponse = zAccountWithRoleList
|
|
|
|
export const zGetWorkspacesCurrentDefaultModelQuery = z.object({
|
|
model_type: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zGetWorkspacesCurrentDefaultModelResponse = z.record(z.string(), z.unknown())
|
|
|
|
export const zPostWorkspacesCurrentDefaultModelBody = zParserPostDefault
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zPostWorkspacesCurrentDefaultModelResponse = z.record(z.string(), z.unknown())
|
|
|
|
export const zPostWorkspacesCurrentEndpointsBody = zEndpointCreatePayload
|
|
|
|
/**
|
|
* Endpoint created successfully
|
|
*/
|
|
export const zPostWorkspacesCurrentEndpointsResponse = zEndpointCreateResponse
|
|
|
|
export const zPostWorkspacesCurrentEndpointsCreateBody = zEndpointCreatePayload
|
|
|
|
/**
|
|
* Endpoint created successfully
|
|
*/
|
|
export const zPostWorkspacesCurrentEndpointsCreateResponse = zEndpointCreateResponse
|
|
|
|
export const zPostWorkspacesCurrentEndpointsDeleteBody = zEndpointIdPayload
|
|
|
|
/**
|
|
* Endpoint deleted successfully
|
|
*/
|
|
export const zPostWorkspacesCurrentEndpointsDeleteResponse = zEndpointDeleteResponse
|
|
|
|
export const zPostWorkspacesCurrentEndpointsDisableBody = zEndpointIdPayload
|
|
|
|
/**
|
|
* Endpoint disabled successfully
|
|
*/
|
|
export const zPostWorkspacesCurrentEndpointsDisableResponse = zEndpointDisableResponse
|
|
|
|
export const zPostWorkspacesCurrentEndpointsEnableBody = zEndpointIdPayload
|
|
|
|
/**
|
|
* Endpoint enabled successfully
|
|
*/
|
|
export const zPostWorkspacesCurrentEndpointsEnableResponse = zEndpointEnableResponse
|
|
|
|
export const zGetWorkspacesCurrentEndpointsListQuery = z.object({
|
|
page: z.int().gte(1),
|
|
page_size: z.int(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zGetWorkspacesCurrentEndpointsListResponse = zEndpointListResponse
|
|
|
|
export const zGetWorkspacesCurrentEndpointsListPluginQuery = z.object({
|
|
page: z.int().gte(1),
|
|
page_size: z.int(),
|
|
plugin_id: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zGetWorkspacesCurrentEndpointsListPluginResponse = zPluginEndpointListResponse
|
|
|
|
export const zPostWorkspacesCurrentEndpointsUpdateBody = zLegacyEndpointUpdatePayload
|
|
|
|
/**
|
|
* Endpoint updated successfully
|
|
*/
|
|
export const zPostWorkspacesCurrentEndpointsUpdateResponse = zEndpointUpdateResponse
|
|
|
|
export const zDeleteWorkspacesCurrentEndpointsByIdPath = z.object({
|
|
id: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Endpoint deleted successfully
|
|
*/
|
|
export const zDeleteWorkspacesCurrentEndpointsByIdResponse = zEndpointDeleteResponse
|
|
|
|
export const zPatchWorkspacesCurrentEndpointsByIdBody = zEndpointUpdatePayload
|
|
|
|
export const zPatchWorkspacesCurrentEndpointsByIdPath = z.object({
|
|
id: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Endpoint updated successfully
|
|
*/
|
|
export const zPatchWorkspacesCurrentEndpointsByIdResponse = zEndpointUpdateResponse
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zGetWorkspacesCurrentMembersResponse = zAccountWithRoleList
|
|
|
|
export const zPostWorkspacesCurrentMembersInviteEmailBody = zMemberInvitePayload
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zPostWorkspacesCurrentMembersInviteEmailResponse = z.record(z.string(), z.unknown())
|
|
|
|
export const zPostWorkspacesCurrentMembersOwnerTransferCheckBody = zOwnerTransferCheckPayload
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zPostWorkspacesCurrentMembersOwnerTransferCheckResponse = z.record(
|
|
z.string(),
|
|
z.unknown(),
|
|
)
|
|
|
|
export const zPostWorkspacesCurrentMembersSendOwnerTransferConfirmEmailBody
|
|
= zOwnerTransferEmailPayload
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zPostWorkspacesCurrentMembersSendOwnerTransferConfirmEmailResponse = z.record(
|
|
z.string(),
|
|
z.unknown(),
|
|
)
|
|
|
|
export const zDeleteWorkspacesCurrentMembersByMemberIdPath = z.object({
|
|
member_id: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zDeleteWorkspacesCurrentMembersByMemberIdResponse = z.record(z.string(), z.unknown())
|
|
|
|
export const zPostWorkspacesCurrentMembersByMemberIdOwnerTransferBody = zOwnerTransferPayload
|
|
|
|
export const zPostWorkspacesCurrentMembersByMemberIdOwnerTransferPath = z.object({
|
|
member_id: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zPostWorkspacesCurrentMembersByMemberIdOwnerTransferResponse = z.record(
|
|
z.string(),
|
|
z.unknown(),
|
|
)
|
|
|
|
export const zPutWorkspacesCurrentMembersByMemberIdUpdateRoleBody = zMemberRoleUpdatePayload
|
|
|
|
export const zPutWorkspacesCurrentMembersByMemberIdUpdateRolePath = z.object({
|
|
member_id: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zPutWorkspacesCurrentMembersByMemberIdUpdateRoleResponse = z.record(
|
|
z.string(),
|
|
z.unknown(),
|
|
)
|
|
|
|
export const zGetWorkspacesCurrentModelProvidersQuery = z.object({
|
|
model_type: z.string().nullish(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zGetWorkspacesCurrentModelProvidersResponse = z.record(z.string(), z.unknown())
|
|
|
|
export const zGetWorkspacesCurrentModelProvidersByProviderCheckoutUrlPath = z.object({
|
|
provider: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zGetWorkspacesCurrentModelProvidersByProviderCheckoutUrlResponse = z.record(
|
|
z.string(),
|
|
z.unknown(),
|
|
)
|
|
|
|
export const zDeleteWorkspacesCurrentModelProvidersByProviderCredentialsBody
|
|
= zParserCredentialDelete
|
|
|
|
export const zDeleteWorkspacesCurrentModelProvidersByProviderCredentialsPath = z.object({
|
|
provider: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zDeleteWorkspacesCurrentModelProvidersByProviderCredentialsResponse = z.record(
|
|
z.string(),
|
|
z.unknown(),
|
|
)
|
|
|
|
export const zGetWorkspacesCurrentModelProvidersByProviderCredentialsPath = z.object({
|
|
provider: z.string(),
|
|
})
|
|
|
|
export const zGetWorkspacesCurrentModelProvidersByProviderCredentialsQuery = z.object({
|
|
credential_id: z.string().nullish(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zGetWorkspacesCurrentModelProvidersByProviderCredentialsResponse = z.record(
|
|
z.string(),
|
|
z.unknown(),
|
|
)
|
|
|
|
export const zPostWorkspacesCurrentModelProvidersByProviderCredentialsBody = zParserCredentialCreate
|
|
|
|
export const zPostWorkspacesCurrentModelProvidersByProviderCredentialsPath = z.object({
|
|
provider: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zPostWorkspacesCurrentModelProvidersByProviderCredentialsResponse = z.record(
|
|
z.string(),
|
|
z.unknown(),
|
|
)
|
|
|
|
export const zPutWorkspacesCurrentModelProvidersByProviderCredentialsBody = zParserCredentialUpdate
|
|
|
|
export const zPutWorkspacesCurrentModelProvidersByProviderCredentialsPath = z.object({
|
|
provider: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zPutWorkspacesCurrentModelProvidersByProviderCredentialsResponse = z.record(
|
|
z.string(),
|
|
z.unknown(),
|
|
)
|
|
|
|
export const zPostWorkspacesCurrentModelProvidersByProviderCredentialsSwitchBody
|
|
= zParserCredentialSwitch
|
|
|
|
export const zPostWorkspacesCurrentModelProvidersByProviderCredentialsSwitchPath = z.object({
|
|
provider: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zPostWorkspacesCurrentModelProvidersByProviderCredentialsSwitchResponse = z.record(
|
|
z.string(),
|
|
z.unknown(),
|
|
)
|
|
|
|
export const zPostWorkspacesCurrentModelProvidersByProviderCredentialsValidateBody
|
|
= zParserCredentialValidate
|
|
|
|
export const zPostWorkspacesCurrentModelProvidersByProviderCredentialsValidatePath = z.object({
|
|
provider: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zPostWorkspacesCurrentModelProvidersByProviderCredentialsValidateResponse = z.record(
|
|
z.string(),
|
|
z.unknown(),
|
|
)
|
|
|
|
export const zDeleteWorkspacesCurrentModelProvidersByProviderModelsBody = zParserDeleteModels
|
|
|
|
export const zDeleteWorkspacesCurrentModelProvidersByProviderModelsPath = z.object({
|
|
provider: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zDeleteWorkspacesCurrentModelProvidersByProviderModelsResponse = z.record(
|
|
z.string(),
|
|
z.unknown(),
|
|
)
|
|
|
|
export const zGetWorkspacesCurrentModelProvidersByProviderModelsPath = z.object({
|
|
provider: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zGetWorkspacesCurrentModelProvidersByProviderModelsResponse = z.record(
|
|
z.string(),
|
|
z.unknown(),
|
|
)
|
|
|
|
export const zPostWorkspacesCurrentModelProvidersByProviderModelsBody = zParserPostModels
|
|
|
|
export const zPostWorkspacesCurrentModelProvidersByProviderModelsPath = z.object({
|
|
provider: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zPostWorkspacesCurrentModelProvidersByProviderModelsResponse = z.record(
|
|
z.string(),
|
|
z.unknown(),
|
|
)
|
|
|
|
export const zDeleteWorkspacesCurrentModelProvidersByProviderModelsCredentialsBody
|
|
= zParserDeleteCredential
|
|
|
|
export const zDeleteWorkspacesCurrentModelProvidersByProviderModelsCredentialsPath = z.object({
|
|
provider: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zDeleteWorkspacesCurrentModelProvidersByProviderModelsCredentialsResponse = z.record(
|
|
z.string(),
|
|
z.unknown(),
|
|
)
|
|
|
|
export const zGetWorkspacesCurrentModelProvidersByProviderModelsCredentialsPath = z.object({
|
|
provider: z.string(),
|
|
})
|
|
|
|
export const zGetWorkspacesCurrentModelProvidersByProviderModelsCredentialsQuery = z.object({
|
|
config_from: z.string().nullish(),
|
|
credential_id: z.string().nullish(),
|
|
model: z.string(),
|
|
model_type: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zGetWorkspacesCurrentModelProvidersByProviderModelsCredentialsResponse = z.record(
|
|
z.string(),
|
|
z.unknown(),
|
|
)
|
|
|
|
export const zPostWorkspacesCurrentModelProvidersByProviderModelsCredentialsBody
|
|
= zParserCreateCredential
|
|
|
|
export const zPostWorkspacesCurrentModelProvidersByProviderModelsCredentialsPath = z.object({
|
|
provider: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zPostWorkspacesCurrentModelProvidersByProviderModelsCredentialsResponse = z.record(
|
|
z.string(),
|
|
z.unknown(),
|
|
)
|
|
|
|
export const zPutWorkspacesCurrentModelProvidersByProviderModelsCredentialsBody
|
|
= zParserUpdateCredential
|
|
|
|
export const zPutWorkspacesCurrentModelProvidersByProviderModelsCredentialsPath = z.object({
|
|
provider: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zPutWorkspacesCurrentModelProvidersByProviderModelsCredentialsResponse = z.record(
|
|
z.string(),
|
|
z.unknown(),
|
|
)
|
|
|
|
export const zPostWorkspacesCurrentModelProvidersByProviderModelsCredentialsSwitchBody
|
|
= zParserSwitch
|
|
|
|
export const zPostWorkspacesCurrentModelProvidersByProviderModelsCredentialsSwitchPath = z.object({
|
|
provider: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zPostWorkspacesCurrentModelProvidersByProviderModelsCredentialsSwitchResponse
|
|
= z.record(z.string(), z.unknown())
|
|
|
|
export const zPostWorkspacesCurrentModelProvidersByProviderModelsCredentialsValidateBody
|
|
= zParserValidate
|
|
|
|
export const zPostWorkspacesCurrentModelProvidersByProviderModelsCredentialsValidatePath = z.object(
|
|
{
|
|
provider: z.string(),
|
|
},
|
|
)
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zPostWorkspacesCurrentModelProvidersByProviderModelsCredentialsValidateResponse
|
|
= z.record(z.string(), z.unknown())
|
|
|
|
export const zPatchWorkspacesCurrentModelProvidersByProviderModelsDisableBody = zParserDeleteModels
|
|
|
|
export const zPatchWorkspacesCurrentModelProvidersByProviderModelsDisablePath = z.object({
|
|
provider: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zPatchWorkspacesCurrentModelProvidersByProviderModelsDisableResponse = z.record(
|
|
z.string(),
|
|
z.unknown(),
|
|
)
|
|
|
|
export const zPatchWorkspacesCurrentModelProvidersByProviderModelsEnableBody = zParserDeleteModels
|
|
|
|
export const zPatchWorkspacesCurrentModelProvidersByProviderModelsEnablePath = z.object({
|
|
provider: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zPatchWorkspacesCurrentModelProvidersByProviderModelsEnableResponse = z.record(
|
|
z.string(),
|
|
z.unknown(),
|
|
)
|
|
|
|
export const zPostWorkspacesCurrentModelProvidersByProviderModelsLoadBalancingConfigsCredentialsValidateBody
|
|
= zLoadBalancingCredentialPayload
|
|
|
|
export const zPostWorkspacesCurrentModelProvidersByProviderModelsLoadBalancingConfigsCredentialsValidatePath
|
|
= z.object({
|
|
provider: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zPostWorkspacesCurrentModelProvidersByProviderModelsLoadBalancingConfigsCredentialsValidateResponse
|
|
= z.record(z.string(), z.unknown())
|
|
|
|
export const zPostWorkspacesCurrentModelProvidersByProviderModelsLoadBalancingConfigsByConfigIdCredentialsValidateBody
|
|
= zLoadBalancingCredentialPayload
|
|
|
|
export const zPostWorkspacesCurrentModelProvidersByProviderModelsLoadBalancingConfigsByConfigIdCredentialsValidatePath
|
|
= z.object({
|
|
provider: z.string(),
|
|
config_id: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zPostWorkspacesCurrentModelProvidersByProviderModelsLoadBalancingConfigsByConfigIdCredentialsValidateResponse
|
|
= z.record(z.string(), z.unknown())
|
|
|
|
export const zGetWorkspacesCurrentModelProvidersByProviderModelsParameterRulesPath = z.object({
|
|
provider: z.string(),
|
|
})
|
|
|
|
export const zGetWorkspacesCurrentModelProvidersByProviderModelsParameterRulesQuery = z.object({
|
|
model: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zGetWorkspacesCurrentModelProvidersByProviderModelsParameterRulesResponse = z.record(
|
|
z.string(),
|
|
z.unknown(),
|
|
)
|
|
|
|
export const zPostWorkspacesCurrentModelProvidersByProviderPreferredProviderTypeBody
|
|
= zParserPreferredProviderType
|
|
|
|
export const zPostWorkspacesCurrentModelProvidersByProviderPreferredProviderTypePath = z.object({
|
|
provider: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zPostWorkspacesCurrentModelProvidersByProviderPreferredProviderTypeResponse = z.record(
|
|
z.string(),
|
|
z.unknown(),
|
|
)
|
|
|
|
export const zGetWorkspacesCurrentModelsModelTypesByModelTypePath = z.object({
|
|
model_type: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zGetWorkspacesCurrentModelsModelTypesByModelTypeResponse = z.record(
|
|
z.string(),
|
|
z.unknown(),
|
|
)
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zGetWorkspacesCurrentPermissionResponse = z.record(z.string(), z.unknown())
|
|
|
|
export const zGetWorkspacesCurrentPluginAssetQuery = z.object({
|
|
file_name: z.string(),
|
|
plugin_unique_identifier: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zGetWorkspacesCurrentPluginAssetResponse = z.record(z.string(), z.unknown())
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zGetWorkspacesCurrentPluginDebuggingKeyResponse = z.record(z.string(), z.unknown())
|
|
|
|
export const zGetWorkspacesCurrentPluginFetchManifestQuery = z.object({
|
|
plugin_unique_identifier: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zGetWorkspacesCurrentPluginFetchManifestResponse = z.record(z.string(), z.unknown())
|
|
|
|
export const zGetWorkspacesCurrentPluginIconQuery = z.object({
|
|
filename: z.string(),
|
|
tenant_id: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zGetWorkspacesCurrentPluginIconResponse = z.record(z.string(), z.unknown())
|
|
|
|
export const zPostWorkspacesCurrentPluginInstallGithubBody = zParserGithubInstall
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zPostWorkspacesCurrentPluginInstallGithubResponse = z.record(z.string(), z.unknown())
|
|
|
|
export const zPostWorkspacesCurrentPluginInstallMarketplaceBody = zParserPluginIdentifiers
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zPostWorkspacesCurrentPluginInstallMarketplaceResponse = z.record(
|
|
z.string(),
|
|
z.unknown(),
|
|
)
|
|
|
|
export const zPostWorkspacesCurrentPluginInstallPkgBody = zParserPluginIdentifiers
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zPostWorkspacesCurrentPluginInstallPkgResponse = z.record(z.string(), z.unknown())
|
|
|
|
export const zGetWorkspacesCurrentPluginListQuery = z.object({
|
|
page: z.int().gte(1).optional().default(1),
|
|
page_size: z.int().gte(1).lte(256).optional().default(256),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zGetWorkspacesCurrentPluginListResponse = z.record(z.string(), z.unknown())
|
|
|
|
export const zPostWorkspacesCurrentPluginListInstallationsIdsBody = zParserLatest
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zPostWorkspacesCurrentPluginListInstallationsIdsResponse = z.record(
|
|
z.string(),
|
|
z.unknown(),
|
|
)
|
|
|
|
export const zPostWorkspacesCurrentPluginListLatestVersionsBody = zParserLatest
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zPostWorkspacesCurrentPluginListLatestVersionsResponse = z.record(
|
|
z.string(),
|
|
z.unknown(),
|
|
)
|
|
|
|
export const zGetWorkspacesCurrentPluginMarketplacePkgQuery = z.object({
|
|
plugin_unique_identifier: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zGetWorkspacesCurrentPluginMarketplacePkgResponse = z.record(z.string(), z.unknown())
|
|
|
|
export const zGetWorkspacesCurrentPluginParametersDynamicOptionsQuery = z.object({
|
|
action: z.string(),
|
|
credential_id: z.string().nullish(),
|
|
parameter: z.string(),
|
|
plugin_id: z.string(),
|
|
provider: z.string(),
|
|
provider_type: z.enum(['tool', 'trigger']),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zGetWorkspacesCurrentPluginParametersDynamicOptionsResponse = z.record(
|
|
z.string(),
|
|
z.unknown(),
|
|
)
|
|
|
|
export const zPostWorkspacesCurrentPluginParametersDynamicOptionsWithCredentialsBody
|
|
= zParserDynamicOptionsWithCredentials
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zPostWorkspacesCurrentPluginParametersDynamicOptionsWithCredentialsResponse = z.record(
|
|
z.string(),
|
|
z.unknown(),
|
|
)
|
|
|
|
export const zPostWorkspacesCurrentPluginPermissionChangeBody = zParserPermissionChange
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zPostWorkspacesCurrentPluginPermissionChangeResponse = z.record(
|
|
z.string(),
|
|
z.unknown(),
|
|
)
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zGetWorkspacesCurrentPluginPermissionFetchResponse = z.record(z.string(), z.unknown())
|
|
|
|
export const zPostWorkspacesCurrentPluginPreferencesAutoupgradeExcludeBody = zParserExcludePlugin
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zPostWorkspacesCurrentPluginPreferencesAutoupgradeExcludeResponse = z.record(
|
|
z.string(),
|
|
z.unknown(),
|
|
)
|
|
|
|
export const zPostWorkspacesCurrentPluginPreferencesChangeBody = zParserPreferencesChange
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zPostWorkspacesCurrentPluginPreferencesChangeResponse = z.record(
|
|
z.string(),
|
|
z.unknown(),
|
|
)
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zGetWorkspacesCurrentPluginPreferencesFetchResponse = z.record(z.string(), z.unknown())
|
|
|
|
export const zGetWorkspacesCurrentPluginReadmeQuery = z.object({
|
|
language: z.string().optional().default('en-US'),
|
|
plugin_unique_identifier: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zGetWorkspacesCurrentPluginReadmeResponse = z.record(z.string(), z.unknown())
|
|
|
|
export const zGetWorkspacesCurrentPluginTasksQuery = z.object({
|
|
page: z.int().gte(1).optional().default(1),
|
|
page_size: z.int().gte(1).lte(256).optional().default(256),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zGetWorkspacesCurrentPluginTasksResponse = z.record(z.string(), z.unknown())
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zPostWorkspacesCurrentPluginTasksDeleteAllResponse = z.record(z.string(), z.unknown())
|
|
|
|
export const zGetWorkspacesCurrentPluginTasksByTaskIdPath = z.object({
|
|
task_id: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zGetWorkspacesCurrentPluginTasksByTaskIdResponse = z.record(z.string(), z.unknown())
|
|
|
|
export const zPostWorkspacesCurrentPluginTasksByTaskIdDeletePath = z.object({
|
|
task_id: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zPostWorkspacesCurrentPluginTasksByTaskIdDeleteResponse = z.record(
|
|
z.string(),
|
|
z.unknown(),
|
|
)
|
|
|
|
export const zPostWorkspacesCurrentPluginTasksByTaskIdDeleteByIdentifierPath = z.object({
|
|
task_id: z.string(),
|
|
identifier: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zPostWorkspacesCurrentPluginTasksByTaskIdDeleteByIdentifierResponse = z.record(
|
|
z.string(),
|
|
z.unknown(),
|
|
)
|
|
|
|
export const zPostWorkspacesCurrentPluginUninstallBody = zParserUninstall
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zPostWorkspacesCurrentPluginUninstallResponse = z.record(z.string(), z.unknown())
|
|
|
|
export const zPostWorkspacesCurrentPluginUpgradeGithubBody = zParserGithubUpgrade
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zPostWorkspacesCurrentPluginUpgradeGithubResponse = z.record(z.string(), z.unknown())
|
|
|
|
export const zPostWorkspacesCurrentPluginUpgradeMarketplaceBody = zParserMarketplaceUpgrade
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zPostWorkspacesCurrentPluginUpgradeMarketplaceResponse = z.record(
|
|
z.string(),
|
|
z.unknown(),
|
|
)
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zPostWorkspacesCurrentPluginUploadBundleResponse = z.record(z.string(), z.unknown())
|
|
|
|
export const zPostWorkspacesCurrentPluginUploadGithubBody = zParserGithubUpload
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zPostWorkspacesCurrentPluginUploadGithubResponse = z.record(z.string(), z.unknown())
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zPostWorkspacesCurrentPluginUploadPkgResponse = z.record(z.string(), z.unknown())
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zGetWorkspacesCurrentToolLabelsResponse = z.record(z.string(), z.unknown())
|
|
|
|
export const zPostWorkspacesCurrentToolProviderApiAddBody = zApiToolProviderAddPayload
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zPostWorkspacesCurrentToolProviderApiAddResponse = z.record(z.string(), z.unknown())
|
|
|
|
export const zPostWorkspacesCurrentToolProviderApiDeleteBody = zApiToolProviderDeletePayload
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zPostWorkspacesCurrentToolProviderApiDeleteResponse = z.record(z.string(), z.unknown())
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zGetWorkspacesCurrentToolProviderApiGetResponse = z.record(z.string(), z.unknown())
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zGetWorkspacesCurrentToolProviderApiRemoteResponse = z.record(z.string(), z.unknown())
|
|
|
|
export const zPostWorkspacesCurrentToolProviderApiSchemaBody = zApiToolSchemaPayload
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zPostWorkspacesCurrentToolProviderApiSchemaResponse = z.record(z.string(), z.unknown())
|
|
|
|
export const zPostWorkspacesCurrentToolProviderApiTestPreBody = zApiToolTestPayload
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zPostWorkspacesCurrentToolProviderApiTestPreResponse = z.record(
|
|
z.string(),
|
|
z.unknown(),
|
|
)
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zGetWorkspacesCurrentToolProviderApiToolsResponse = z.record(z.string(), z.unknown())
|
|
|
|
export const zPostWorkspacesCurrentToolProviderApiUpdateBody = zApiToolProviderUpdatePayload
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zPostWorkspacesCurrentToolProviderApiUpdateResponse = z.record(z.string(), z.unknown())
|
|
|
|
export const zPostWorkspacesCurrentToolProviderBuiltinByProviderAddBody = zBuiltinToolAddPayload
|
|
|
|
export const zPostWorkspacesCurrentToolProviderBuiltinByProviderAddPath = z.object({
|
|
provider: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zPostWorkspacesCurrentToolProviderBuiltinByProviderAddResponse = z.record(
|
|
z.string(),
|
|
z.unknown(),
|
|
)
|
|
|
|
export const zGetWorkspacesCurrentToolProviderBuiltinByProviderCredentialInfoPath = z.object({
|
|
provider: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zGetWorkspacesCurrentToolProviderBuiltinByProviderCredentialInfoResponse = z.record(
|
|
z.string(),
|
|
z.unknown(),
|
|
)
|
|
|
|
export const zGetWorkspacesCurrentToolProviderBuiltinByProviderCredentialSchemaByCredentialTypePath
|
|
= z.object({
|
|
provider: z.string(),
|
|
credential_type: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zGetWorkspacesCurrentToolProviderBuiltinByProviderCredentialSchemaByCredentialTypeResponse
|
|
= z.record(z.string(), z.unknown())
|
|
|
|
export const zGetWorkspacesCurrentToolProviderBuiltinByProviderCredentialsPath = z.object({
|
|
provider: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zGetWorkspacesCurrentToolProviderBuiltinByProviderCredentialsResponse = z.record(
|
|
z.string(),
|
|
z.unknown(),
|
|
)
|
|
|
|
export const zPostWorkspacesCurrentToolProviderBuiltinByProviderDefaultCredentialBody
|
|
= zBuiltinProviderDefaultCredentialPayload
|
|
|
|
export const zPostWorkspacesCurrentToolProviderBuiltinByProviderDefaultCredentialPath = z.object({
|
|
provider: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zPostWorkspacesCurrentToolProviderBuiltinByProviderDefaultCredentialResponse
|
|
= z.record(z.string(), z.unknown())
|
|
|
|
export const zPostWorkspacesCurrentToolProviderBuiltinByProviderDeleteBody
|
|
= zBuiltinToolCredentialDeletePayload
|
|
|
|
export const zPostWorkspacesCurrentToolProviderBuiltinByProviderDeletePath = z.object({
|
|
provider: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zPostWorkspacesCurrentToolProviderBuiltinByProviderDeleteResponse = z.record(
|
|
z.string(),
|
|
z.unknown(),
|
|
)
|
|
|
|
export const zGetWorkspacesCurrentToolProviderBuiltinByProviderIconPath = z.object({
|
|
provider: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zGetWorkspacesCurrentToolProviderBuiltinByProviderIconResponse = z.record(
|
|
z.string(),
|
|
z.unknown(),
|
|
)
|
|
|
|
export const zGetWorkspacesCurrentToolProviderBuiltinByProviderInfoPath = z.object({
|
|
provider: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zGetWorkspacesCurrentToolProviderBuiltinByProviderInfoResponse = z.record(
|
|
z.string(),
|
|
z.unknown(),
|
|
)
|
|
|
|
export const zGetWorkspacesCurrentToolProviderBuiltinByProviderOauthClientSchemaPath = z.object({
|
|
provider: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zGetWorkspacesCurrentToolProviderBuiltinByProviderOauthClientSchemaResponse = z.record(
|
|
z.string(),
|
|
z.unknown(),
|
|
)
|
|
|
|
export const zDeleteWorkspacesCurrentToolProviderBuiltinByProviderOauthCustomClientPath = z.object({
|
|
provider: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zDeleteWorkspacesCurrentToolProviderBuiltinByProviderOauthCustomClientResponse
|
|
= z.record(z.string(), z.unknown())
|
|
|
|
export const zGetWorkspacesCurrentToolProviderBuiltinByProviderOauthCustomClientPath = z.object({
|
|
provider: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zGetWorkspacesCurrentToolProviderBuiltinByProviderOauthCustomClientResponse = z.record(
|
|
z.string(),
|
|
z.unknown(),
|
|
)
|
|
|
|
export const zPostWorkspacesCurrentToolProviderBuiltinByProviderOauthCustomClientBody
|
|
= zToolOAuthCustomClientPayload
|
|
|
|
export const zPostWorkspacesCurrentToolProviderBuiltinByProviderOauthCustomClientPath = z.object({
|
|
provider: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zPostWorkspacesCurrentToolProviderBuiltinByProviderOauthCustomClientResponse
|
|
= z.record(z.string(), z.unknown())
|
|
|
|
export const zGetWorkspacesCurrentToolProviderBuiltinByProviderToolsPath = z.object({
|
|
provider: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zGetWorkspacesCurrentToolProviderBuiltinByProviderToolsResponse = z.record(
|
|
z.string(),
|
|
z.unknown(),
|
|
)
|
|
|
|
export const zPostWorkspacesCurrentToolProviderBuiltinByProviderUpdateBody
|
|
= zBuiltinToolUpdatePayload
|
|
|
|
export const zPostWorkspacesCurrentToolProviderBuiltinByProviderUpdatePath = z.object({
|
|
provider: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zPostWorkspacesCurrentToolProviderBuiltinByProviderUpdateResponse = z.record(
|
|
z.string(),
|
|
z.unknown(),
|
|
)
|
|
|
|
export const zDeleteWorkspacesCurrentToolProviderMcpBody = zMcpProviderDeletePayload
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zDeleteWorkspacesCurrentToolProviderMcpResponse = z.record(z.string(), z.unknown())
|
|
|
|
export const zPostWorkspacesCurrentToolProviderMcpBody = zMcpProviderCreatePayload
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zPostWorkspacesCurrentToolProviderMcpResponse = z.record(z.string(), z.unknown())
|
|
|
|
export const zPutWorkspacesCurrentToolProviderMcpBody = zMcpProviderUpdatePayload
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zPutWorkspacesCurrentToolProviderMcpResponse = z.record(z.string(), z.unknown())
|
|
|
|
export const zPostWorkspacesCurrentToolProviderMcpAuthBody = zMcpAuthPayload
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zPostWorkspacesCurrentToolProviderMcpAuthResponse = z.record(z.string(), z.unknown())
|
|
|
|
export const zGetWorkspacesCurrentToolProviderMcpToolsByProviderIdPath = z.object({
|
|
provider_id: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zGetWorkspacesCurrentToolProviderMcpToolsByProviderIdResponse = z.record(
|
|
z.string(),
|
|
z.unknown(),
|
|
)
|
|
|
|
export const zGetWorkspacesCurrentToolProviderMcpUpdateByProviderIdPath = z.object({
|
|
provider_id: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zGetWorkspacesCurrentToolProviderMcpUpdateByProviderIdResponse = z.record(
|
|
z.string(),
|
|
z.unknown(),
|
|
)
|
|
|
|
export const zPostWorkspacesCurrentToolProviderWorkflowCreateBody = zWorkflowToolCreatePayload
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zPostWorkspacesCurrentToolProviderWorkflowCreateResponse = z.record(
|
|
z.string(),
|
|
z.unknown(),
|
|
)
|
|
|
|
export const zPostWorkspacesCurrentToolProviderWorkflowDeleteBody = zWorkflowToolDeletePayload
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zPostWorkspacesCurrentToolProviderWorkflowDeleteResponse = z.record(
|
|
z.string(),
|
|
z.unknown(),
|
|
)
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zGetWorkspacesCurrentToolProviderWorkflowGetResponse = z.record(
|
|
z.string(),
|
|
z.unknown(),
|
|
)
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zGetWorkspacesCurrentToolProviderWorkflowToolsResponse = z.record(
|
|
z.string(),
|
|
z.unknown(),
|
|
)
|
|
|
|
export const zPostWorkspacesCurrentToolProviderWorkflowUpdateBody = zWorkflowToolUpdatePayload
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zPostWorkspacesCurrentToolProviderWorkflowUpdateResponse = z.record(
|
|
z.string(),
|
|
z.unknown(),
|
|
)
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zGetWorkspacesCurrentToolProvidersResponse = z.record(z.string(), z.unknown())
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zGetWorkspacesCurrentToolsApiResponse = z.record(z.string(), z.unknown())
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zGetWorkspacesCurrentToolsBuiltinResponse = z.record(z.string(), z.unknown())
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zGetWorkspacesCurrentToolsMcpResponse = z.record(z.string(), z.unknown())
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zGetWorkspacesCurrentToolsWorkflowResponse = z.record(z.string(), z.unknown())
|
|
|
|
export const zGetWorkspacesCurrentTriggerProviderByProviderIconPath = z.object({
|
|
provider: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zGetWorkspacesCurrentTriggerProviderByProviderIconResponse = z.record(
|
|
z.string(),
|
|
z.unknown(),
|
|
)
|
|
|
|
export const zGetWorkspacesCurrentTriggerProviderByProviderInfoPath = z.object({
|
|
provider: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zGetWorkspacesCurrentTriggerProviderByProviderInfoResponse = z.record(
|
|
z.string(),
|
|
z.unknown(),
|
|
)
|
|
|
|
export const zDeleteWorkspacesCurrentTriggerProviderByProviderOauthClientPath = z.object({
|
|
provider: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zDeleteWorkspacesCurrentTriggerProviderByProviderOauthClientResponse = z.record(
|
|
z.string(),
|
|
z.unknown(),
|
|
)
|
|
|
|
export const zGetWorkspacesCurrentTriggerProviderByProviderOauthClientPath = z.object({
|
|
provider: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zGetWorkspacesCurrentTriggerProviderByProviderOauthClientResponse = z.record(
|
|
z.string(),
|
|
z.unknown(),
|
|
)
|
|
|
|
export const zPostWorkspacesCurrentTriggerProviderByProviderOauthClientBody
|
|
= zTriggerOAuthClientPayload
|
|
|
|
export const zPostWorkspacesCurrentTriggerProviderByProviderOauthClientPath = z.object({
|
|
provider: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zPostWorkspacesCurrentTriggerProviderByProviderOauthClientResponse = z.record(
|
|
z.string(),
|
|
z.unknown(),
|
|
)
|
|
|
|
export const zPostWorkspacesCurrentTriggerProviderByProviderSubscriptionsBuilderBuildBySubscriptionBuilderIdBody
|
|
= zTriggerSubscriptionBuilderUpdatePayload
|
|
|
|
export const zPostWorkspacesCurrentTriggerProviderByProviderSubscriptionsBuilderBuildBySubscriptionBuilderIdPath
|
|
= z.object({
|
|
provider: z.string(),
|
|
subscription_builder_id: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zPostWorkspacesCurrentTriggerProviderByProviderSubscriptionsBuilderBuildBySubscriptionBuilderIdResponse
|
|
= z.record(z.string(), z.unknown())
|
|
|
|
export const zPostWorkspacesCurrentTriggerProviderByProviderSubscriptionsBuilderCreateBody
|
|
= zTriggerSubscriptionBuilderCreatePayload
|
|
|
|
export const zPostWorkspacesCurrentTriggerProviderByProviderSubscriptionsBuilderCreatePath
|
|
= z.object({
|
|
provider: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zPostWorkspacesCurrentTriggerProviderByProviderSubscriptionsBuilderCreateResponse
|
|
= z.record(z.string(), z.unknown())
|
|
|
|
export const zGetWorkspacesCurrentTriggerProviderByProviderSubscriptionsBuilderLogsBySubscriptionBuilderIdPath
|
|
= z.object({
|
|
provider: z.string(),
|
|
subscription_builder_id: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zGetWorkspacesCurrentTriggerProviderByProviderSubscriptionsBuilderLogsBySubscriptionBuilderIdResponse
|
|
= z.record(z.string(), z.unknown())
|
|
|
|
export const zPostWorkspacesCurrentTriggerProviderByProviderSubscriptionsBuilderUpdateBySubscriptionBuilderIdBody
|
|
= zTriggerSubscriptionBuilderUpdatePayload
|
|
|
|
export const zPostWorkspacesCurrentTriggerProviderByProviderSubscriptionsBuilderUpdateBySubscriptionBuilderIdPath
|
|
= z.object({
|
|
provider: z.string(),
|
|
subscription_builder_id: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zPostWorkspacesCurrentTriggerProviderByProviderSubscriptionsBuilderUpdateBySubscriptionBuilderIdResponse
|
|
= z.record(z.string(), z.unknown())
|
|
|
|
export const zPostWorkspacesCurrentTriggerProviderByProviderSubscriptionsBuilderVerifyAndUpdateBySubscriptionBuilderIdBody
|
|
= zTriggerSubscriptionBuilderVerifyPayload
|
|
|
|
export const zPostWorkspacesCurrentTriggerProviderByProviderSubscriptionsBuilderVerifyAndUpdateBySubscriptionBuilderIdPath
|
|
= z.object({
|
|
provider: z.string(),
|
|
subscription_builder_id: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zPostWorkspacesCurrentTriggerProviderByProviderSubscriptionsBuilderVerifyAndUpdateBySubscriptionBuilderIdResponse
|
|
= z.record(z.string(), z.unknown())
|
|
|
|
export const zGetWorkspacesCurrentTriggerProviderByProviderSubscriptionsBuilderBySubscriptionBuilderIdPath
|
|
= z.object({
|
|
provider: z.string(),
|
|
subscription_builder_id: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zGetWorkspacesCurrentTriggerProviderByProviderSubscriptionsBuilderBySubscriptionBuilderIdResponse
|
|
= z.record(z.string(), z.unknown())
|
|
|
|
export const zGetWorkspacesCurrentTriggerProviderByProviderSubscriptionsListPath = z.object({
|
|
provider: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zGetWorkspacesCurrentTriggerProviderByProviderSubscriptionsListResponse = z.record(
|
|
z.string(),
|
|
z.unknown(),
|
|
)
|
|
|
|
export const zGetWorkspacesCurrentTriggerProviderByProviderSubscriptionsOauthAuthorizePath
|
|
= z.object({
|
|
provider: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zGetWorkspacesCurrentTriggerProviderByProviderSubscriptionsOauthAuthorizeResponse
|
|
= z.record(z.string(), z.unknown())
|
|
|
|
export const zPostWorkspacesCurrentTriggerProviderByProviderSubscriptionsVerifyBySubscriptionIdBody
|
|
= zTriggerSubscriptionBuilderVerifyPayload
|
|
|
|
export const zPostWorkspacesCurrentTriggerProviderByProviderSubscriptionsVerifyBySubscriptionIdPath
|
|
= z.object({
|
|
provider: z.string(),
|
|
subscription_id: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zPostWorkspacesCurrentTriggerProviderByProviderSubscriptionsVerifyBySubscriptionIdResponse
|
|
= z.record(z.string(), z.unknown())
|
|
|
|
export const zPostWorkspacesCurrentTriggerProviderBySubscriptionIdSubscriptionsDeletePath
|
|
= z.object({
|
|
subscription_id: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zPostWorkspacesCurrentTriggerProviderBySubscriptionIdSubscriptionsDeleteResponse
|
|
= z.record(z.string(), z.unknown())
|
|
|
|
export const zPostWorkspacesCurrentTriggerProviderBySubscriptionIdSubscriptionsUpdateBody
|
|
= zTriggerSubscriptionBuilderUpdatePayload
|
|
|
|
export const zPostWorkspacesCurrentTriggerProviderBySubscriptionIdSubscriptionsUpdatePath
|
|
= z.object({
|
|
subscription_id: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zPostWorkspacesCurrentTriggerProviderBySubscriptionIdSubscriptionsUpdateResponse
|
|
= z.record(z.string(), z.unknown())
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zGetWorkspacesCurrentTriggersResponse = z.record(z.string(), z.unknown())
|
|
|
|
export const zPostWorkspacesCustomConfigBody = zWorkspaceCustomConfigPayload
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zPostWorkspacesCustomConfigResponse = z.record(z.string(), z.unknown())
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zPostWorkspacesCustomConfigWebappLogoUploadResponse = z.record(z.string(), z.unknown())
|
|
|
|
export const zPostWorkspacesInfoBody = zWorkspaceInfoPayload
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zPostWorkspacesInfoResponse = z.record(z.string(), z.unknown())
|
|
|
|
export const zPostWorkspacesSwitchBody = zSwitchWorkspacePayload
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zPostWorkspacesSwitchResponse = z.record(z.string(), z.unknown())
|
|
|
|
export const zGetWorkspacesByTenantIdModelProvidersByProviderByIconTypeByLangPath = z.object({
|
|
tenant_id: z.string(),
|
|
provider: z.string(),
|
|
icon_type: z.string(),
|
|
lang: z.string(),
|
|
})
|
|
|
|
/**
|
|
* Success
|
|
*/
|
|
export const zGetWorkspacesByTenantIdModelProvidersByProviderByIconTypeByLangResponse = z.record(
|
|
z.string(),
|
|
z.unknown(),
|
|
)
|