windmill-components 1.665.1 → 1.677.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/sharedUtils/assets/tokens/colorTokensConfig.d.ts +2 -0
- package/dist/sharedUtils/base.d.ts +1 -0
- package/dist/sharedUtils/cloud.d.ts +1 -0
- package/dist/sharedUtils/common.d.ts +111 -0
- package/dist/sharedUtils/components/apps/components/display/dbtable/queries/count.d.ts +5 -0
- package/dist/sharedUtils/components/apps/components/display/dbtable/queries/delete.d.ts +5 -0
- package/dist/sharedUtils/components/apps/components/display/dbtable/queries/insert.d.ts +5 -0
- package/dist/sharedUtils/components/apps/components/display/dbtable/queries/select.d.ts +13 -0
- package/dist/sharedUtils/components/apps/components/display/dbtable/queries/update.d.ts +11 -0
- package/dist/sharedUtils/components/apps/components/display/dbtable/utils.d.ts +95 -0
- package/dist/sharedUtils/components/apps/editor/appPolicy.d.ts +6 -0
- package/dist/sharedUtils/components/apps/editor/appUtilsCore.d.ts +7 -0
- package/dist/sharedUtils/components/apps/editor/appUtilsS3.d.ts +33 -0
- package/dist/sharedUtils/components/apps/editor/commonAppUtils.d.ts +10 -0
- package/dist/sharedUtils/components/apps/editor/component/components.d.ts +5371 -0
- package/dist/sharedUtils/components/apps/editor/component/default-codes.d.ts +3 -0
- package/dist/sharedUtils/components/apps/editor/component/index.d.ts +3 -0
- package/dist/sharedUtils/components/apps/editor/component/sets.d.ts +7 -0
- package/dist/sharedUtils/components/apps/editor/componentsPanel/componentDefaultProps.d.ts +3 -0
- package/dist/sharedUtils/components/apps/gridUtils.d.ts +14 -0
- package/dist/sharedUtils/components/apps/inputType.d.ts +178 -0
- package/dist/sharedUtils/components/apps/rx.d.ts +29 -0
- package/dist/sharedUtils/components/apps/sharedTypes.d.ts +21 -0
- package/dist/sharedUtils/components/apps/types.d.ts +274 -0
- package/dist/sharedUtils/components/assets/lib.d.ts +25 -0
- package/dist/sharedUtils/components/common/alert/model.d.ts +2 -0
- package/dist/sharedUtils/components/common/badge/model.d.ts +8 -0
- package/dist/sharedUtils/components/common/button/model.d.ts +45 -0
- package/dist/sharedUtils/components/common/fileInput/model.d.ts +1 -0
- package/dist/sharedUtils/components/common/index.d.ts +24 -0
- package/dist/sharedUtils/components/common/skeleton/model.d.ts +21 -0
- package/dist/sharedUtils/components/dbTypes.d.ts +14 -0
- package/dist/sharedUtils/components/diff_drawer.d.ts +26 -0
- package/dist/sharedUtils/components/ducklake.d.ts +1 -0
- package/dist/sharedUtils/components/flows/scheduleUtils.d.ts +7 -0
- package/dist/sharedUtils/components/icons/index.d.ts +101 -0
- package/dist/sharedUtils/components/random_positive_adjetive.d.ts +1 -0
- package/dist/sharedUtils/components/raw_apps/rawAppPolicy.d.ts +10 -0
- package/dist/sharedUtils/components/raw_apps/utils.d.ts +15 -0
- package/dist/sharedUtils/components/triggers/email/utils.d.ts +4 -0
- package/dist/sharedUtils/components/triggers/gcp/utils.d.ts +2 -0
- package/dist/sharedUtils/components/triggers/http/utils.d.ts +11 -0
- package/dist/sharedUtils/components/triggers/kafka/utils.d.ts +2 -0
- package/dist/sharedUtils/components/triggers/mqtt/utils.d.ts +2 -0
- package/dist/sharedUtils/components/triggers/nats/utils.d.ts +2 -0
- package/dist/sharedUtils/components/triggers/postgres/utils.d.ts +8 -0
- package/dist/sharedUtils/components/triggers/sqs/utils.d.ts +2 -0
- package/dist/sharedUtils/components/triggers/triggers.svelte.d.ts +32 -0
- package/dist/sharedUtils/components/triggers/utils.d.ts +80 -0
- package/dist/sharedUtils/components/triggers/websocket/utils.d.ts +2 -0
- package/dist/sharedUtils/components/triggers.d.ts +20 -0
- package/dist/sharedUtils/gen/core/ApiError.d.ts +10 -0
- package/dist/sharedUtils/gen/core/ApiRequestOptions.d.ts +13 -0
- package/dist/sharedUtils/gen/core/ApiResult.d.ts +7 -0
- package/dist/sharedUtils/gen/core/CancelablePromise.d.ts +26 -0
- package/dist/sharedUtils/gen/core/OpenAPI.d.ts +27 -0
- package/dist/sharedUtils/gen/core/request.d.ts +29 -0
- package/dist/sharedUtils/gen/index.d.ts +6 -0
- package/dist/sharedUtils/gen/schemas.gen.d.ts +7036 -0
- package/dist/sharedUtils/gen/services.gen.d.ts +6047 -0
- package/dist/sharedUtils/gen/types.gen.d.ts +21881 -0
- package/dist/sharedUtils/history.svelte.d.ts +9 -0
- package/dist/sharedUtils/hub.d.ts +49 -0
- package/dist/sharedUtils/jsr.json +6 -0
- package/dist/sharedUtils/lib.d.ts +5 -0
- package/dist/sharedUtils/lib.es.js +1588 -0
- package/dist/sharedUtils/package.json +12 -0
- package/dist/sharedUtils/schema.d.ts +3 -0
- package/dist/sharedUtils/stores.d.ts +97 -0
- package/dist/sharedUtils/svelte5Utils.svelte.d.ts +80 -0
- package/dist/sharedUtils/toast.d.ts +8 -0
- package/dist/sharedUtils/utils.d.ts +265 -0
- package/package/components/AddUser.svelte +67 -34
- package/package/components/AppConnectInner.svelte +9 -1
- package/package/components/ArgInfo.svelte +9 -1
- package/package/components/ArgInput.svelte +21 -1
- package/package/components/CompareWorkspaces.svelte +11 -2
- package/package/components/DedicatedWorkersSelector.svelte +262 -247
- package/package/components/DefaultTagsInner.svelte +40 -2
- package/package/components/DeployWorkspace.svelte +13 -0
- package/package/components/DiffEditor.svelte +44 -1
- package/package/components/EditableSchemaForm.svelte +5 -2
- package/package/components/EditableSchemaForm.svelte.d.ts +1 -0
- package/package/components/Editor.svelte +5 -1
- package/package/components/EditorBar.svelte +12 -3
- package/package/components/FilterSearchbar.svelte +26 -2
- package/package/components/FlowBuilder.svelte +6 -3
- package/package/components/FlowGraphDiffViewer.svelte +16 -17
- package/package/components/FlowGraphViewer.svelte +20 -6
- package/package/components/FlowGraphViewer.svelte.d.ts +2 -0
- package/package/components/FlowGraphViewerStep.svelte +14 -32
- package/package/components/FlowMetadata.svelte +4 -1
- package/package/components/FlowPreviewContent.svelte +2 -0
- package/package/components/FlowStatusWaitingForEvents.svelte +25 -4
- package/package/components/HighlightCode.svelte +3 -0
- package/package/components/InstanceSetting.svelte +9 -25
- package/package/components/InstanceSettings.svelte +16 -0
- package/package/components/LabelsInput.svelte +149 -0
- package/package/components/LabelsInput.svelte.d.ts +8 -0
- package/package/components/Login.svelte +6 -1
- package/package/components/ObjectStoreConfigSettings.svelte +273 -1
- package/package/components/OktaSetting.svelte +6 -5
- package/package/components/Password.svelte +74 -20
- package/package/components/Password.svelte.d.ts +1 -0
- package/package/components/PasswordArgInput.svelte +2 -2
- package/package/components/PasswordArgInput.svelte.d.ts +1 -0
- package/package/components/Path.svelte +8 -10
- package/package/components/PathNameAutocomplete.svelte +308 -0
- package/package/components/PathNameAutocomplete.svelte.d.ts +27 -0
- package/package/components/PowerShellCommonParams.svelte +84 -0
- package/package/components/PowerShellCommonParams.svelte.d.ts +6 -0
- package/package/components/Range.svelte +8 -3
- package/package/components/ResourceEditor.svelte +6 -2
- package/package/components/RunForm.svelte +71 -7
- package/package/components/RunForm.svelte.d.ts +2 -1
- package/package/components/ScriptBuilder.svelte +7 -3
- package/package/components/ScriptEditor.svelte +221 -187
- package/package/components/ScriptEditor.svelte.d.ts +1 -1
- package/package/components/ScriptSchema.svelte +1 -1
- package/package/components/StringTypeNarrowing.svelte +1 -1
- package/package/components/StringTypeNarrowing.svelte.d.ts +1 -1
- package/package/components/SummaryPathDisplay.svelte +32 -10
- package/package/components/SummaryPathDisplay.svelte.d.ts +2 -1
- package/package/components/VariableEditor.svelte +9 -2
- package/package/components/WorkerGroup.svelte +47 -2
- package/package/components/apps/editor/DeploymentHistory.svelte +112 -13
- package/package/components/apps/editor/inlineScriptsPanel/InlineScriptRunnableByPath.svelte +135 -35
- package/package/components/apps/editor/inlineScriptsPanel/InlineScriptRunnableByPath.svelte.d.ts +3 -1
- package/package/components/apps/editor/settingsPanel/mainInput/RunnableSelector.svelte +11 -35
- package/package/components/apps/editor/settingsPanel/mainInput/runnableSelectorUtils.d.ts +10 -0
- package/package/components/apps/editor/settingsPanel/mainInput/runnableSelectorUtils.js +14 -0
- package/package/components/apps/editor/settingsPanel/mainInput/runnableSelectorUtils.test.d.ts +1 -0
- package/package/components/apps/editor/settingsPanel/mainInput/runnableSelectorUtils.test.js +34 -0
- package/package/components/assets/AssetButtons.svelte +21 -25
- package/package/components/assets/AssetsUsageDrawer.svelte +7 -9
- package/package/components/common/fileUpload/FileUpload.svelte +6 -2
- package/package/components/common/languageIcons/LanguageIcon.svelte +3 -0
- package/package/components/common/table/AppRow.svelte +18 -0
- package/package/components/common/table/FlowRow.svelte +18 -0
- package/package/components/common/table/ScriptRow.svelte +18 -0
- package/package/components/copilot/chat/AIChatManager.svelte.js +3 -3
- package/package/components/copilot/chat/flow/openFlow.json +1 -1
- package/package/components/copilot/chat/flow/openFlowZod.js +3 -3
- package/package/components/custom_ui.d.ts +2 -0
- package/package/components/details/DetailPageHeader.svelte +2 -2
- package/package/components/details/DetailPageHeader.svelte.d.ts +2 -1
- package/package/components/flows/agentToolUtils.d.ts +5 -0
- package/package/components/flows/agentToolUtils.js +49 -0
- package/package/components/flows/agentToolUtils.test.d.ts +1 -0
- package/package/components/flows/agentToolUtils.test.js +55 -0
- package/package/components/flows/content/FlowInput.svelte +2 -0
- package/package/components/flows/content/FlowInputsQuick.svelte +1 -1
- package/package/components/flows/content/FlowLoop.svelte +5 -12
- package/package/components/flows/content/FlowModuleScript.svelte +5 -3
- package/package/components/flows/content/FlowPathViewer.svelte +2 -2
- package/package/components/flows/content/FlowPathViewer.svelte.d.ts +1 -0
- package/package/components/flows/content/FlowSettings.svelte +2 -0
- package/package/components/flows/content/FlowWhileLoop.svelte +5 -12
- package/package/components/flows/flowInfers.js +8 -3
- package/package/components/flows/flowStore.svelte.d.ts +1 -1
- package/package/components/flows/map/FlowModuleSchemaMap.svelte +49 -9
- package/package/components/flows/pickers/PickHubScriptQuick.svelte +5 -3
- package/package/components/flows/scheduleUtils.js +2 -1
- package/package/components/graph/FlowGraphV2.svelte +13 -1
- package/package/components/graph/WacDiagram.svelte +96 -0
- package/package/components/graph/WacDiagram.svelte.d.ts +7 -0
- package/package/components/graph/noteEditor.svelte.d.ts +1 -1
- package/package/components/graph/noteEditor.svelte.js +12 -1
- package/package/components/graph/noteUtils.svelte.d.ts +1 -1
- package/package/components/graph/noteUtils.svelte.js +9 -2
- package/package/components/graph/renderers/edges/WacEdge.svelte +41 -0
- package/package/components/graph/renderers/edges/WacEdge.svelte.d.ts +4 -0
- package/package/components/graph/renderers/nodes/WacControlNode.svelte +51 -0
- package/package/components/graph/renderers/nodes/WacControlNode.svelte.d.ts +9 -0
- package/package/components/graph/renderers/nodes/WacStepNode.svelte +35 -0
- package/package/components/graph/renderers/nodes/WacStepNode.svelte.d.ts +9 -0
- package/package/components/graph/wacDagLayout.d.ts +10 -0
- package/package/components/graph/wacDagLayout.js +120 -0
- package/package/components/graph/wacToFlow.js +1 -1
- package/package/components/home/ItemsList.svelte +28 -4
- package/package/components/icons/RIcon.svelte +32 -0
- package/package/components/icons/RIcon.svelte.d.ts +7 -0
- package/package/components/instanceSettings/DbHealth.svelte +723 -0
- package/package/components/instanceSettings/DbHealth.svelte.d.ts +3 -0
- package/package/components/instanceSettings/SecretBackendConfig.svelte +343 -304
- package/package/components/instanceSettings/SmtpSettings.svelte +8 -0
- package/package/components/instanceSettings.js +14 -5
- package/package/components/mcp/McpScopeSelector.svelte +82 -16
- package/package/components/moveRenameManager.d.ts +1 -0
- package/package/components/moveRenameManager.js +7 -4
- package/package/components/raw_apps/RawAppInlineScriptRunnable.svelte +14 -1
- package/package/components/raw_apps/rawAppPolicy.js +3 -2
- package/package/components/raw_apps/utils.test.d.ts +1 -0
- package/package/components/raw_apps/utils.test.js +38 -0
- package/package/components/resources/resourcesFilter.d.ts +15 -2
- package/package/components/resources/resourcesFilter.js +11 -2
- package/package/components/runs/JobDetailFieldConfig.js +5 -3
- package/package/components/runs/JobDetailHeader.svelte +5 -2
- package/package/components/runs/JobRunsPreview.svelte +1 -0
- package/package/components/runs/RunBadges.svelte +7 -4
- package/package/components/runs/RunRow.svelte +7 -7
- package/package/components/schedules/schedulesFilter.d.ts +15 -2
- package/package/components/schedules/schedulesFilter.js +11 -2
- package/package/components/schema/EditableSchemaWrapper.svelte +6 -8
- package/package/components/schema/PropertyEditor.svelte +22 -1
- package/package/components/schema/PropertyEditor.svelte.d.ts +1 -0
- package/package/components/schema/editable_schema_wrapper.d.ts +1 -0
- package/package/components/secretArgUtils.d.ts +7 -0
- package/package/components/secretArgUtils.js +45 -0
- package/package/components/settings/WorkspaceUserSettings.svelte +359 -286
- package/package/components/sidebar/OperatorMenu.svelte +215 -197
- package/package/components/triggers/CaptureWrapper.svelte +1 -1
- package/package/components/triggers/TriggerFilters.svelte +17 -5
- package/package/components/triggers/TriggerFilters.svelte.d.ts +2 -1
- package/package/components/triggers/kafka/KafkaCapture.svelte +6 -2
- package/package/components/triggers/kafka/KafkaCapture.svelte.d.ts +1 -1
- package/package/components/triggers/kafka/KafkaTriggerEditorInner.svelte +5 -1
- package/package/components/triggers/kafka/utils.js +1 -0
- package/package/components/triggers/mqtt/MqttEditorConfigSection.svelte.d.ts +1 -1
- package/package/components/triggers/schedules/ScheduleEditorInner.svelte +6 -0
- package/package/components/triggers/websocket/WebsocketTriggerEditorInner.svelte +87 -1
- package/package/components/triggers/websocket/utils.js +2 -0
- package/package/components/variables/variablesFilter.d.ts +15 -2
- package/package/components/variables/variablesFilter.js +11 -2
- package/package/components/worker_group.js +1 -0
- package/package/components/workspaceSettings/DucklakeSettings.svelte +33 -41
- package/package/consts.d.ts +1 -0
- package/package/consts.js +1 -0
- package/package/editorLangUtils.d.ts +1 -1
- package/package/editorLangUtils.js +2 -0
- package/package/gen/core/OpenAPI.js +1 -1
- package/package/gen/schemas.gen.d.ts +346 -4
- package/package/gen/schemas.gen.js +347 -5
- package/package/gen/services.gen.d.ts +163 -1
- package/package/gen/services.gen.js +323 -17
- package/package/gen/types.gen.d.ts +671 -5
- package/package/hubPaths.json +6 -3
- package/package/infer.d.ts +55 -0
- package/package/infer.js +131 -0
- package/package/infer.svelte.js +2 -0
- package/package/mcpEndpointTools.js +213 -22
- package/package/script_helpers.d.ts +3 -0
- package/package/script_helpers.js +26 -0
- package/package/scripts.d.ts +2 -1
- package/package/scripts.js +15 -3
- package/package/stores.d.ts +2 -0
- package/package/system_prompts/prompts.d.ts +6 -5
- package/package/system_prompts/prompts.js +188 -29
- package/package/user.js +5 -1
- package/package/utils.js +21 -0
- package/package/utils_deployable.d.ts +11 -0
- package/package/utils_workspace_deploy.js +36 -8
- package/package.json +5 -4
|
@@ -432,7 +432,7 @@ export type RawScript = {
|
|
|
432
432
|
/**
|
|
433
433
|
* Programming language for this script
|
|
434
434
|
*/
|
|
435
|
-
language: 'deno' | 'bun' | 'python3' | 'go' | 'bash' | 'powershell' | 'postgresql' | 'mysql' | 'bigquery' | 'snowflake' | 'mssql' | 'oracledb' | 'graphql' | 'nativets' | 'php' | 'rust' | 'ansible' | 'csharp' | 'nu' | 'java' | 'ruby' | 'duckdb';
|
|
435
|
+
language: 'deno' | 'bun' | 'python3' | 'go' | 'bash' | 'powershell' | 'postgresql' | 'mysql' | 'bigquery' | 'snowflake' | 'mssql' | 'oracledb' | 'graphql' | 'nativets' | 'php' | 'rust' | 'ansible' | 'csharp' | 'nu' | 'java' | 'ruby' | 'rlang' | 'duckdb';
|
|
436
436
|
/**
|
|
437
437
|
* Optional path for saving this script
|
|
438
438
|
*/
|
|
@@ -682,12 +682,12 @@ export type AiAgent = {
|
|
|
682
682
|
*/
|
|
683
683
|
output_schema?: InputTransform;
|
|
684
684
|
/**
|
|
685
|
-
* Array of
|
|
685
|
+
* Array of file references (images or PDFs) for the AI agent.
|
|
686
686
|
* Format: Array<{ bucket: string, key: string }> - S3 object references
|
|
687
|
-
* Example: [{ bucket: 'my-bucket', key: '
|
|
687
|
+
* Example: [{ bucket: 'my-bucket', key: 'documents/report.pdf' }]
|
|
688
688
|
*
|
|
689
689
|
*/
|
|
690
|
-
|
|
690
|
+
user_attachments?: InputTransform;
|
|
691
691
|
/**
|
|
692
692
|
* Integer. Maximum number of tokens the AI will generate in its response.
|
|
693
693
|
* Range: 1 to 4,294,967,295. Typical values: 256-4096 for most use cases.
|
|
@@ -1118,6 +1118,50 @@ export type VaultSettings = {
|
|
|
1118
1118
|
*/
|
|
1119
1119
|
token?: string;
|
|
1120
1120
|
};
|
|
1121
|
+
export type AzureKeyVaultSettings = {
|
|
1122
|
+
/**
|
|
1123
|
+
* Azure Key Vault URL (e.g., https://myvault.vault.azure.net)
|
|
1124
|
+
*/
|
|
1125
|
+
vault_url: string;
|
|
1126
|
+
/**
|
|
1127
|
+
* Azure AD tenant ID
|
|
1128
|
+
*/
|
|
1129
|
+
tenant_id: string;
|
|
1130
|
+
/**
|
|
1131
|
+
* Azure AD application (client) ID
|
|
1132
|
+
*/
|
|
1133
|
+
client_id: string;
|
|
1134
|
+
/**
|
|
1135
|
+
* Azure AD client secret
|
|
1136
|
+
*/
|
|
1137
|
+
client_secret?: string;
|
|
1138
|
+
/**
|
|
1139
|
+
* Static Bearer token for testing/development (optional, if provided this is used instead of OAuth2 authentication)
|
|
1140
|
+
*/
|
|
1141
|
+
token?: string;
|
|
1142
|
+
};
|
|
1143
|
+
export type AwsSecretsManagerSettings = {
|
|
1144
|
+
/**
|
|
1145
|
+
* AWS region (e.g., us-east-1)
|
|
1146
|
+
*/
|
|
1147
|
+
region: string;
|
|
1148
|
+
/**
|
|
1149
|
+
* AWS Access Key ID (optional, uses default credential chain if not provided)
|
|
1150
|
+
*/
|
|
1151
|
+
access_key_id?: string;
|
|
1152
|
+
/**
|
|
1153
|
+
* AWS Secret Access Key (optional)
|
|
1154
|
+
*/
|
|
1155
|
+
secret_access_key?: string;
|
|
1156
|
+
/**
|
|
1157
|
+
* Custom endpoint URL for testing (e.g., LocalStack)
|
|
1158
|
+
*/
|
|
1159
|
+
endpoint_url?: string;
|
|
1160
|
+
/**
|
|
1161
|
+
* Prefix for secret names (e.g., windmill/)
|
|
1162
|
+
*/
|
|
1163
|
+
prefix?: string;
|
|
1164
|
+
};
|
|
1121
1165
|
export type SecretMigrationFailure = {
|
|
1122
1166
|
/**
|
|
1123
1167
|
* Workspace ID where the secret is located
|
|
@@ -1379,6 +1423,7 @@ export type Script = {
|
|
|
1379
1423
|
modules?: {
|
|
1380
1424
|
[key: string]: ScriptModule;
|
|
1381
1425
|
} | null;
|
|
1426
|
+
labels?: Array<(string)>;
|
|
1382
1427
|
};
|
|
1383
1428
|
export type NewScript = {
|
|
1384
1429
|
path: string;
|
|
@@ -1434,6 +1479,7 @@ export type NewScript = {
|
|
|
1434
1479
|
modules?: {
|
|
1435
1480
|
[key: string]: ScriptModule;
|
|
1436
1481
|
} | null;
|
|
1482
|
+
labels?: Array<(string)>;
|
|
1437
1483
|
};
|
|
1438
1484
|
export type NewScriptWithDraft = NewScript & {
|
|
1439
1485
|
draft?: NewScript;
|
|
@@ -1724,6 +1770,7 @@ export type User = {
|
|
|
1724
1770
|
folders: Array<(string)>;
|
|
1725
1771
|
folders_owners: Array<(string)>;
|
|
1726
1772
|
added_via?: (UserSource) | null;
|
|
1773
|
+
is_service_account?: boolean;
|
|
1727
1774
|
};
|
|
1728
1775
|
export type UserSource = {
|
|
1729
1776
|
/**
|
|
@@ -1792,6 +1839,7 @@ export type ListableVariable = {
|
|
|
1792
1839
|
is_linked?: boolean;
|
|
1793
1840
|
is_refreshed?: boolean;
|
|
1794
1841
|
expires_at?: string;
|
|
1842
|
+
labels?: Array<(string)>;
|
|
1795
1843
|
};
|
|
1796
1844
|
export type ContextualVariable = {
|
|
1797
1845
|
name: string;
|
|
@@ -1828,6 +1876,7 @@ export type CreateVariable = {
|
|
|
1828
1876
|
* The expiration date of the variable
|
|
1829
1877
|
*/
|
|
1830
1878
|
expires_at?: string;
|
|
1879
|
+
labels?: Array<(string)>;
|
|
1831
1880
|
};
|
|
1832
1881
|
export type EditVariable = {
|
|
1833
1882
|
/**
|
|
@@ -1846,6 +1895,7 @@ export type EditVariable = {
|
|
|
1846
1895
|
* The new description of the variable
|
|
1847
1896
|
*/
|
|
1848
1897
|
description?: string;
|
|
1898
|
+
labels?: Array<(string)>;
|
|
1849
1899
|
};
|
|
1850
1900
|
export type AuditLog = {
|
|
1851
1901
|
workspace_id: string;
|
|
@@ -1892,7 +1942,7 @@ export type MainArgSignature = {
|
|
|
1892
1942
|
auto_kind: string | null;
|
|
1893
1943
|
has_preprocessor: boolean | null;
|
|
1894
1944
|
};
|
|
1895
|
-
export type ScriptLang = 'python3' | 'deno' | 'go' | 'bash' | 'powershell' | 'postgresql' | 'mysql' | 'bigquery' | 'snowflake' | 'mssql' | 'oracledb' | 'graphql' | 'nativets' | 'bun' | 'php' | 'rust' | 'ansible' | 'csharp' | 'nu' | 'java' | 'ruby' | 'duckdb' | 'bunnative';
|
|
1945
|
+
export type ScriptLang = 'python3' | 'deno' | 'go' | 'bash' | 'powershell' | 'postgresql' | 'mysql' | 'bigquery' | 'snowflake' | 'mssql' | 'oracledb' | 'graphql' | 'nativets' | 'bun' | 'php' | 'rust' | 'ansible' | 'csharp' | 'nu' | 'java' | 'ruby' | 'rlang' | 'duckdb' | 'bunnative';
|
|
1896
1946
|
/**
|
|
1897
1947
|
* An additional module file associated with a script
|
|
1898
1948
|
*/
|
|
@@ -1971,6 +2021,7 @@ export type CreateResource = {
|
|
|
1971
2021
|
* The resource_type associated with the resource
|
|
1972
2022
|
*/
|
|
1973
2023
|
resource_type: string;
|
|
2024
|
+
labels?: Array<(string)>;
|
|
1974
2025
|
};
|
|
1975
2026
|
export type EditResource = {
|
|
1976
2027
|
/**
|
|
@@ -1986,6 +2037,7 @@ export type EditResource = {
|
|
|
1986
2037
|
* The new resource_type to be associated with the resource
|
|
1987
2038
|
*/
|
|
1988
2039
|
resource_type?: string;
|
|
2040
|
+
labels?: Array<(string)>;
|
|
1989
2041
|
};
|
|
1990
2042
|
export type Resource = {
|
|
1991
2043
|
workspace_id?: string;
|
|
@@ -1999,6 +2051,7 @@ export type Resource = {
|
|
|
1999
2051
|
};
|
|
2000
2052
|
created_by?: string;
|
|
2001
2053
|
edited_at?: string;
|
|
2054
|
+
labels?: Array<(string)>;
|
|
2002
2055
|
};
|
|
2003
2056
|
export type ListableResource = {
|
|
2004
2057
|
workspace_id?: string;
|
|
@@ -2017,6 +2070,7 @@ export type ListableResource = {
|
|
|
2017
2070
|
account?: number;
|
|
2018
2071
|
created_by?: string;
|
|
2019
2072
|
edited_at?: string;
|
|
2073
|
+
labels?: Array<(string)>;
|
|
2020
2074
|
};
|
|
2021
2075
|
export type ResourceType = {
|
|
2022
2076
|
workspace_id?: string;
|
|
@@ -2145,6 +2199,7 @@ export type Schedule = {
|
|
|
2145
2199
|
* Path to a script that validates scheduled datetimes. Receives scheduled_for datetime and returns boolean to skip (true) or run (false)
|
|
2146
2200
|
*/
|
|
2147
2201
|
dynamic_skip?: string | null;
|
|
2202
|
+
labels?: Array<(string)>;
|
|
2148
2203
|
};
|
|
2149
2204
|
export type ScheduleWJobs = Schedule & {
|
|
2150
2205
|
jobs?: Array<{
|
|
@@ -2248,6 +2303,7 @@ export type NewSchedule = {
|
|
|
2248
2303
|
* When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.
|
|
2249
2304
|
*/
|
|
2250
2305
|
preserve_permissioned_as?: boolean;
|
|
2306
|
+
labels?: Array<(string)>;
|
|
2251
2307
|
};
|
|
2252
2308
|
export type EditSchedule = {
|
|
2253
2309
|
/**
|
|
@@ -2327,6 +2383,7 @@ export type EditSchedule = {
|
|
|
2327
2383
|
* If true and user is admin/wm_deployers, preserve the provided permissioned_as instead of using the deploying user's identity
|
|
2328
2384
|
*/
|
|
2329
2385
|
preserve_permissioned_as?: boolean | null;
|
|
2386
|
+
labels?: Array<(string)>;
|
|
2330
2387
|
};
|
|
2331
2388
|
/**
|
|
2332
2389
|
* job trigger kind (schedule, http, websocket...)
|
|
@@ -2375,6 +2432,7 @@ export type TriggerExtraProperty = {
|
|
|
2375
2432
|
* Trigger mode (enabled/disabled)
|
|
2376
2433
|
*/
|
|
2377
2434
|
mode: TriggerMode;
|
|
2435
|
+
labels?: Array<(string)>;
|
|
2378
2436
|
};
|
|
2379
2437
|
export type AuthenticationMethod = 'none' | 'windmill' | 'api_key' | 'basic_http' | 'custom_script' | 'signature';
|
|
2380
2438
|
export type RunnableKind = 'script' | 'flow';
|
|
@@ -2589,6 +2647,7 @@ export type NewHttpTrigger = {
|
|
|
2589
2647
|
* When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.
|
|
2590
2648
|
*/
|
|
2591
2649
|
preserve_permissioned_as?: boolean;
|
|
2650
|
+
labels?: Array<(string)>;
|
|
2592
2651
|
};
|
|
2593
2652
|
export type EditHttpTrigger = {
|
|
2594
2653
|
/**
|
|
@@ -2688,6 +2747,7 @@ export type EditHttpTrigger = {
|
|
|
2688
2747
|
* When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.
|
|
2689
2748
|
*/
|
|
2690
2749
|
preserve_permissioned_as?: boolean;
|
|
2750
|
+
labels?: Array<(string)>;
|
|
2691
2751
|
};
|
|
2692
2752
|
export type TriggersCount = {
|
|
2693
2753
|
primary_schedule?: {
|
|
@@ -2708,6 +2768,20 @@ export type TriggersCount = {
|
|
|
2708
2768
|
nextcloud_count?: number;
|
|
2709
2769
|
google_count?: number;
|
|
2710
2770
|
};
|
|
2771
|
+
export type WebsocketHeartbeat = {
|
|
2772
|
+
/**
|
|
2773
|
+
* Interval in seconds between heartbeat messages
|
|
2774
|
+
*/
|
|
2775
|
+
interval_secs: number;
|
|
2776
|
+
/**
|
|
2777
|
+
* Message to send as heartbeat. Use {{state}} as a placeholder for a value extracted from incoming messages (see state_field).
|
|
2778
|
+
*/
|
|
2779
|
+
message: string;
|
|
2780
|
+
/**
|
|
2781
|
+
* Optional. Top-level JSON field to extract from incoming messages. The extracted value replaces {{state}} in the heartbeat message.
|
|
2782
|
+
*/
|
|
2783
|
+
state_field?: string;
|
|
2784
|
+
};
|
|
2711
2785
|
export type WebsocketTrigger = TriggerExtraProperty & {
|
|
2712
2786
|
/**
|
|
2713
2787
|
* The WebSocket URL to connect to (can be a static URL or computed by a runnable)
|
|
@@ -2732,6 +2806,10 @@ export type WebsocketTrigger = TriggerExtraProperty & {
|
|
|
2732
2806
|
key: string;
|
|
2733
2807
|
value: unknown;
|
|
2734
2808
|
}>;
|
|
2809
|
+
/**
|
|
2810
|
+
* Logic to apply when evaluating filters. 'and' requires all filters to match, 'or' requires any filter to match.
|
|
2811
|
+
*/
|
|
2812
|
+
filter_logic?: 'and' | 'or';
|
|
2735
2813
|
/**
|
|
2736
2814
|
* Messages to send immediately after connecting (can be raw strings or computed by runnables)
|
|
2737
2815
|
*/
|
|
@@ -2748,6 +2826,10 @@ export type WebsocketTrigger = TriggerExtraProperty & {
|
|
|
2748
2826
|
* If true, error results are sent back through the WebSocket
|
|
2749
2827
|
*/
|
|
2750
2828
|
can_return_error_result: boolean;
|
|
2829
|
+
/**
|
|
2830
|
+
* Optional periodic heartbeat message configuration
|
|
2831
|
+
*/
|
|
2832
|
+
heartbeat?: WebsocketHeartbeat | null;
|
|
2751
2833
|
/**
|
|
2752
2834
|
* Path to a script or flow to run when the triggered job fails
|
|
2753
2835
|
*/
|
|
@@ -2786,6 +2868,10 @@ export type NewWebsocketTrigger = {
|
|
|
2786
2868
|
key: string;
|
|
2787
2869
|
value: unknown;
|
|
2788
2870
|
}>;
|
|
2871
|
+
/**
|
|
2872
|
+
* Logic to apply when evaluating filters. 'and' requires all filters to match, 'or' requires any filter to match.
|
|
2873
|
+
*/
|
|
2874
|
+
filter_logic?: 'and' | 'or';
|
|
2789
2875
|
/**
|
|
2790
2876
|
* Messages to send immediately after connecting (can be raw strings or computed by runnables)
|
|
2791
2877
|
*/
|
|
@@ -2802,6 +2888,10 @@ export type NewWebsocketTrigger = {
|
|
|
2802
2888
|
* If true, error results are sent back through the WebSocket
|
|
2803
2889
|
*/
|
|
2804
2890
|
can_return_error_result: boolean;
|
|
2891
|
+
/**
|
|
2892
|
+
* Optional periodic heartbeat message configuration
|
|
2893
|
+
*/
|
|
2894
|
+
heartbeat?: WebsocketHeartbeat | null;
|
|
2805
2895
|
/**
|
|
2806
2896
|
* Path to a script or flow to run when the triggered job fails
|
|
2807
2897
|
*/
|
|
@@ -2822,6 +2912,7 @@ export type NewWebsocketTrigger = {
|
|
|
2822
2912
|
* When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.
|
|
2823
2913
|
*/
|
|
2824
2914
|
preserve_permissioned_as?: boolean;
|
|
2915
|
+
labels?: Array<(string)>;
|
|
2825
2916
|
};
|
|
2826
2917
|
export type EditWebsocketTrigger = {
|
|
2827
2918
|
/**
|
|
@@ -2847,6 +2938,10 @@ export type EditWebsocketTrigger = {
|
|
|
2847
2938
|
key: string;
|
|
2848
2939
|
value: unknown;
|
|
2849
2940
|
}>;
|
|
2941
|
+
/**
|
|
2942
|
+
* Logic to apply when evaluating filters. 'and' requires all filters to match, 'or' requires any filter to match.
|
|
2943
|
+
*/
|
|
2944
|
+
filter_logic?: 'and' | 'or';
|
|
2850
2945
|
/**
|
|
2851
2946
|
* Messages to send immediately after connecting (can be raw strings or computed by runnables)
|
|
2852
2947
|
*/
|
|
@@ -2863,6 +2958,10 @@ export type EditWebsocketTrigger = {
|
|
|
2863
2958
|
* If true, error results are sent back through the WebSocket
|
|
2864
2959
|
*/
|
|
2865
2960
|
can_return_error_result: boolean;
|
|
2961
|
+
/**
|
|
2962
|
+
* Optional periodic heartbeat message configuration
|
|
2963
|
+
*/
|
|
2964
|
+
heartbeat?: WebsocketHeartbeat | null;
|
|
2866
2965
|
/**
|
|
2867
2966
|
* Path to a script or flow to run when the triggered job fails
|
|
2868
2967
|
*/
|
|
@@ -2883,6 +2982,7 @@ export type EditWebsocketTrigger = {
|
|
|
2883
2982
|
* When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.
|
|
2884
2983
|
*/
|
|
2885
2984
|
preserve_permissioned_as?: boolean;
|
|
2985
|
+
labels?: Array<(string)>;
|
|
2886
2986
|
};
|
|
2887
2987
|
export type WebsocketTriggerInitialMessage = {
|
|
2888
2988
|
raw_message: string;
|
|
@@ -3015,6 +3115,7 @@ export type NewMqttTrigger = {
|
|
|
3015
3115
|
* When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.
|
|
3016
3116
|
*/
|
|
3017
3117
|
preserve_permissioned_as?: boolean;
|
|
3118
|
+
labels?: Array<(string)>;
|
|
3018
3119
|
};
|
|
3019
3120
|
export type EditMqttTrigger = {
|
|
3020
3121
|
/**
|
|
@@ -3074,6 +3175,7 @@ export type EditMqttTrigger = {
|
|
|
3074
3175
|
* When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.
|
|
3075
3176
|
*/
|
|
3076
3177
|
preserve_permissioned_as?: boolean;
|
|
3178
|
+
labels?: Array<(string)>;
|
|
3077
3179
|
};
|
|
3078
3180
|
/**
|
|
3079
3181
|
* Delivery mode for messages. 'push' for HTTP push delivery where messages are sent to a webhook endpoint, 'pull' for polling where the trigger actively fetches messages.
|
|
@@ -3204,6 +3306,7 @@ export type GcpTriggerData = {
|
|
|
3204
3306
|
* When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.
|
|
3205
3307
|
*/
|
|
3206
3308
|
preserve_permissioned_as?: boolean;
|
|
3309
|
+
labels?: Array<(string)>;
|
|
3207
3310
|
};
|
|
3208
3311
|
export type GetAllTopicSubscription = {
|
|
3209
3312
|
topic_id: string;
|
|
@@ -3326,6 +3429,7 @@ export type NewSqsTrigger = {
|
|
|
3326
3429
|
* When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.
|
|
3327
3430
|
*/
|
|
3328
3431
|
preserve_permissioned_as?: boolean;
|
|
3432
|
+
labels?: Array<(string)>;
|
|
3329
3433
|
};
|
|
3330
3434
|
export type EditSqsTrigger = {
|
|
3331
3435
|
/**
|
|
@@ -3377,6 +3481,7 @@ export type EditSqsTrigger = {
|
|
|
3377
3481
|
* When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.
|
|
3378
3482
|
*/
|
|
3379
3483
|
preserve_permissioned_as?: boolean;
|
|
3484
|
+
labels?: Array<(string)>;
|
|
3380
3485
|
};
|
|
3381
3486
|
export type Slot = {
|
|
3382
3487
|
name?: string;
|
|
@@ -3492,6 +3597,7 @@ export type NewPostgresTrigger = {
|
|
|
3492
3597
|
* When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.
|
|
3493
3598
|
*/
|
|
3494
3599
|
preserve_permissioned_as?: boolean;
|
|
3600
|
+
labels?: Array<(string)>;
|
|
3495
3601
|
};
|
|
3496
3602
|
export type EditPostgresTrigger = {
|
|
3497
3603
|
/**
|
|
@@ -3543,6 +3649,7 @@ export type EditPostgresTrigger = {
|
|
|
3543
3649
|
* When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.
|
|
3544
3650
|
*/
|
|
3545
3651
|
preserve_permissioned_as?: boolean;
|
|
3652
|
+
labels?: Array<(string)>;
|
|
3546
3653
|
};
|
|
3547
3654
|
export type KafkaTrigger = TriggerExtraProperty & {
|
|
3548
3655
|
/**
|
|
@@ -3561,6 +3668,10 @@ export type KafkaTrigger = TriggerExtraProperty & {
|
|
|
3561
3668
|
key: string;
|
|
3562
3669
|
value: unknown;
|
|
3563
3670
|
}>;
|
|
3671
|
+
/**
|
|
3672
|
+
* Logic to apply when evaluating filters. 'and' requires all filters to match, 'or' requires any filter to match.
|
|
3673
|
+
*/
|
|
3674
|
+
filter_logic?: 'and' | 'or';
|
|
3564
3675
|
/**
|
|
3565
3676
|
* Initial offset behavior when consumer group has no committed offset. 'latest' starts from new messages only, 'earliest' starts from the beginning.
|
|
3566
3677
|
*/
|
|
@@ -3623,6 +3734,10 @@ export type NewKafkaTrigger = {
|
|
|
3623
3734
|
key: string;
|
|
3624
3735
|
value: unknown;
|
|
3625
3736
|
}>;
|
|
3737
|
+
/**
|
|
3738
|
+
* Logic to apply when evaluating filters. 'and' requires all filters to match, 'or' requires any filter to match.
|
|
3739
|
+
*/
|
|
3740
|
+
filter_logic?: 'and' | 'or';
|
|
3626
3741
|
/**
|
|
3627
3742
|
* Initial offset behavior when consumer group has no committed offset.
|
|
3628
3743
|
*/
|
|
@@ -3652,6 +3767,7 @@ export type NewKafkaTrigger = {
|
|
|
3652
3767
|
* When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.
|
|
3653
3768
|
*/
|
|
3654
3769
|
preserve_permissioned_as?: boolean;
|
|
3770
|
+
labels?: Array<(string)>;
|
|
3655
3771
|
};
|
|
3656
3772
|
export type EditKafkaTrigger = {
|
|
3657
3773
|
/**
|
|
@@ -3670,6 +3786,10 @@ export type EditKafkaTrigger = {
|
|
|
3670
3786
|
key: string;
|
|
3671
3787
|
value: unknown;
|
|
3672
3788
|
}>;
|
|
3789
|
+
/**
|
|
3790
|
+
* Logic to apply when evaluating filters. 'and' requires all filters to match, 'or' requires any filter to match.
|
|
3791
|
+
*/
|
|
3792
|
+
filter_logic?: 'and' | 'or';
|
|
3673
3793
|
/**
|
|
3674
3794
|
* Initial offset behavior when consumer group has no committed offset.
|
|
3675
3795
|
*/
|
|
@@ -3710,6 +3830,7 @@ export type EditKafkaTrigger = {
|
|
|
3710
3830
|
* When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.
|
|
3711
3831
|
*/
|
|
3712
3832
|
preserve_permissioned_as?: boolean;
|
|
3833
|
+
labels?: Array<(string)>;
|
|
3713
3834
|
};
|
|
3714
3835
|
export type NatsTrigger = TriggerExtraProperty & {
|
|
3715
3836
|
/**
|
|
@@ -3811,6 +3932,7 @@ export type NewNatsTrigger = {
|
|
|
3811
3932
|
* When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.
|
|
3812
3933
|
*/
|
|
3813
3934
|
preserve_permissioned_as?: boolean;
|
|
3935
|
+
labels?: Array<(string)>;
|
|
3814
3936
|
};
|
|
3815
3937
|
export type EditNatsTrigger = {
|
|
3816
3938
|
/**
|
|
@@ -3865,6 +3987,7 @@ export type EditNatsTrigger = {
|
|
|
3865
3987
|
* When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.
|
|
3866
3988
|
*/
|
|
3867
3989
|
preserve_permissioned_as?: boolean;
|
|
3990
|
+
labels?: Array<(string)>;
|
|
3868
3991
|
};
|
|
3869
3992
|
export type EmailTrigger = TriggerExtraProperty & {
|
|
3870
3993
|
local_part: string;
|
|
@@ -3891,6 +4014,7 @@ export type NewEmailTrigger = {
|
|
|
3891
4014
|
* When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.
|
|
3892
4015
|
*/
|
|
3893
4016
|
preserve_permissioned_as?: boolean;
|
|
4017
|
+
labels?: Array<(string)>;
|
|
3894
4018
|
};
|
|
3895
4019
|
export type EditEmailTrigger = {
|
|
3896
4020
|
path: string;
|
|
@@ -3909,6 +4033,7 @@ export type EditEmailTrigger = {
|
|
|
3909
4033
|
* When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.
|
|
3910
4034
|
*/
|
|
3911
4035
|
preserve_permissioned_as?: boolean;
|
|
4036
|
+
labels?: Array<(string)>;
|
|
3912
4037
|
};
|
|
3913
4038
|
export type Group = {
|
|
3914
4039
|
name: string;
|
|
@@ -4061,6 +4186,7 @@ export type FlowMetadata = {
|
|
|
4061
4186
|
timeout?: number;
|
|
4062
4187
|
visible_to_runner_only?: boolean;
|
|
4063
4188
|
on_behalf_of_email?: string;
|
|
4189
|
+
labels?: Array<(string)>;
|
|
4064
4190
|
};
|
|
4065
4191
|
export type OpenFlowWPath = OpenFlow & {
|
|
4066
4192
|
path: string;
|
|
@@ -4075,6 +4201,7 @@ export type OpenFlowWPath = OpenFlow & {
|
|
|
4075
4201
|
* When true and the caller is a member of the 'wm_deployers' group, preserves the original on_behalf_of_email value instead of overwriting it.
|
|
4076
4202
|
*/
|
|
4077
4203
|
preserve_on_behalf_of?: boolean;
|
|
4204
|
+
labels?: Array<(string)>;
|
|
4078
4205
|
};
|
|
4079
4206
|
export type FlowPreview = {
|
|
4080
4207
|
value: FlowValue;
|
|
@@ -4124,6 +4251,7 @@ export type ListableApp = {
|
|
|
4124
4251
|
edited_at: string;
|
|
4125
4252
|
execution_mode: 'viewer' | 'publisher' | 'anonymous';
|
|
4126
4253
|
raw_app?: boolean;
|
|
4254
|
+
labels?: Array<(string)>;
|
|
4127
4255
|
};
|
|
4128
4256
|
export type ScopeDefinition = {
|
|
4129
4257
|
value: string;
|
|
@@ -4146,6 +4274,7 @@ export type ListableRawApp = {
|
|
|
4146
4274
|
starred?: boolean;
|
|
4147
4275
|
version: number;
|
|
4148
4276
|
edited_at: string;
|
|
4277
|
+
labels?: Array<(string)>;
|
|
4149
4278
|
};
|
|
4150
4279
|
export type AppWithLastVersion = {
|
|
4151
4280
|
id: number;
|
|
@@ -4164,6 +4293,7 @@ export type AppWithLastVersion = {
|
|
|
4164
4293
|
custom_path?: string;
|
|
4165
4294
|
raw_app: boolean;
|
|
4166
4295
|
bundle_secret?: string;
|
|
4296
|
+
labels?: Array<(string)>;
|
|
4167
4297
|
};
|
|
4168
4298
|
export type AppWithLastVersionWDraft = AppWithLastVersion & {
|
|
4169
4299
|
draft_only?: boolean;
|
|
@@ -5414,6 +5544,20 @@ export type DeclineInviteData = {
|
|
|
5414
5544
|
};
|
|
5415
5545
|
};
|
|
5416
5546
|
export type DeclineInviteResponse = string;
|
|
5547
|
+
export type ImpersonateServiceAccountData = {
|
|
5548
|
+
requestBody: {
|
|
5549
|
+
username: string;
|
|
5550
|
+
};
|
|
5551
|
+
workspace: string;
|
|
5552
|
+
};
|
|
5553
|
+
export type ImpersonateServiceAccountResponse = string;
|
|
5554
|
+
export type ExitImpersonationData = {
|
|
5555
|
+
requestBody: {
|
|
5556
|
+
token: string;
|
|
5557
|
+
};
|
|
5558
|
+
workspace: string;
|
|
5559
|
+
};
|
|
5560
|
+
export type ExitImpersonationResponse = string;
|
|
5417
5561
|
export type WhoisData = {
|
|
5418
5562
|
username: string;
|
|
5419
5563
|
workspace: string;
|
|
@@ -5649,6 +5793,13 @@ export type AddUserData = {
|
|
|
5649
5793
|
workspace: string;
|
|
5650
5794
|
};
|
|
5651
5795
|
export type AddUserResponse = string;
|
|
5796
|
+
export type CreateServiceAccountData = {
|
|
5797
|
+
requestBody: {
|
|
5798
|
+
username: string;
|
|
5799
|
+
};
|
|
5800
|
+
workspace: string;
|
|
5801
|
+
};
|
|
5802
|
+
export type CreateServiceAccountResponse = string;
|
|
5652
5803
|
export type DeleteInviteData = {
|
|
5653
5804
|
/**
|
|
5654
5805
|
* WorkspaceInvite
|
|
@@ -5820,6 +5971,14 @@ export type GetDependentsData = {
|
|
|
5820
5971
|
workspace: string;
|
|
5821
5972
|
};
|
|
5822
5973
|
export type GetDependentsResponse = Array<DependencyDependent>;
|
|
5974
|
+
export type GetImportsData = {
|
|
5975
|
+
/**
|
|
5976
|
+
* The script path to get imports for
|
|
5977
|
+
*/
|
|
5978
|
+
importerPath: string;
|
|
5979
|
+
workspace: string;
|
|
5980
|
+
};
|
|
5981
|
+
export type GetImportsResponse = Array<(string)>;
|
|
5823
5982
|
export type GetDependentsAmountsData = {
|
|
5824
5983
|
/**
|
|
5825
5984
|
* List of imported paths to get dependents counts for
|
|
@@ -6392,7 +6551,44 @@ export type TestObjectStorageConfigData = {
|
|
|
6392
6551
|
};
|
|
6393
6552
|
};
|
|
6394
6553
|
export type TestObjectStorageConfigResponse = string;
|
|
6554
|
+
export type GetObjectStorageUsageResponse = {
|
|
6555
|
+
running: boolean;
|
|
6556
|
+
started_at: string;
|
|
6557
|
+
finished_at?: string | null;
|
|
6558
|
+
current_prefix?: string | null;
|
|
6559
|
+
scanned_objects: number;
|
|
6560
|
+
folders: Array<{
|
|
6561
|
+
prefix: string;
|
|
6562
|
+
size: number;
|
|
6563
|
+
partial?: boolean;
|
|
6564
|
+
}>;
|
|
6565
|
+
error?: string | null;
|
|
6566
|
+
} | null;
|
|
6567
|
+
export type ComputeObjectStorageUsageResponse = string;
|
|
6568
|
+
export type RunLogCleanupResponse = string;
|
|
6569
|
+
export type GetLogCleanupStatusResponse = {
|
|
6570
|
+
running: boolean;
|
|
6571
|
+
started_at: string;
|
|
6572
|
+
finished_at?: string | null;
|
|
6573
|
+
phase: string;
|
|
6574
|
+
total_service: number;
|
|
6575
|
+
processed_service: number;
|
|
6576
|
+
total_jobs: number;
|
|
6577
|
+
processed_jobs: number;
|
|
6578
|
+
s3_deleted: number;
|
|
6579
|
+
orphans_scanned: number;
|
|
6580
|
+
orphans_deleted: number;
|
|
6581
|
+
errors: number;
|
|
6582
|
+
last_error?: string | null;
|
|
6583
|
+
} | null;
|
|
6395
6584
|
export type SendStatsResponse = string;
|
|
6585
|
+
export type RestartWorkerGroupData = {
|
|
6586
|
+
/**
|
|
6587
|
+
* the name of the worker group to restart
|
|
6588
|
+
*/
|
|
6589
|
+
workerGroup: string;
|
|
6590
|
+
};
|
|
6591
|
+
export type RestartWorkerGroupResponse = string;
|
|
6396
6592
|
export type GetStatsResponse = {
|
|
6397
6593
|
signature?: string;
|
|
6398
6594
|
data?: string;
|
|
@@ -6457,6 +6653,39 @@ export type MigrateSecretsToDatabaseData = {
|
|
|
6457
6653
|
requestBody: VaultSettings;
|
|
6458
6654
|
};
|
|
6459
6655
|
export type MigrateSecretsToDatabaseResponse = SecretMigrationReport;
|
|
6656
|
+
export type TestAzureKvBackendData = {
|
|
6657
|
+
/**
|
|
6658
|
+
* Azure Key Vault settings to test
|
|
6659
|
+
*/
|
|
6660
|
+
requestBody: AzureKeyVaultSettings;
|
|
6661
|
+
};
|
|
6662
|
+
export type TestAzureKvBackendResponse = string;
|
|
6663
|
+
export type MigrateSecretsToAzureKvData = {
|
|
6664
|
+
/**
|
|
6665
|
+
* Azure Key Vault settings for migration target
|
|
6666
|
+
*/
|
|
6667
|
+
requestBody: AzureKeyVaultSettings;
|
|
6668
|
+
};
|
|
6669
|
+
export type MigrateSecretsToAzureKvResponse = SecretMigrationReport;
|
|
6670
|
+
export type MigrateSecretsFromAzureKvData = {
|
|
6671
|
+
/**
|
|
6672
|
+
* Azure Key Vault settings for migration source
|
|
6673
|
+
*/
|
|
6674
|
+
requestBody: AzureKeyVaultSettings;
|
|
6675
|
+
};
|
|
6676
|
+
export type MigrateSecretsFromAzureKvResponse = SecretMigrationReport;
|
|
6677
|
+
export type TestAwsSmBackendData = {
|
|
6678
|
+
requestBody: AwsSecretsManagerSettings;
|
|
6679
|
+
};
|
|
6680
|
+
export type TestAwsSmBackendResponse = string;
|
|
6681
|
+
export type MigrateSecretsToAwsSmData = {
|
|
6682
|
+
requestBody: AwsSecretsManagerSettings;
|
|
6683
|
+
};
|
|
6684
|
+
export type MigrateSecretsToAwsSmResponse = SecretMigrationReport;
|
|
6685
|
+
export type MigrateSecretsFromAwsSmData = {
|
|
6686
|
+
requestBody: AwsSecretsManagerSettings;
|
|
6687
|
+
};
|
|
6688
|
+
export type MigrateSecretsFromAwsSmResponse = SecretMigrationReport;
|
|
6460
6689
|
export type GetSecondaryStorageNamesData = {
|
|
6461
6690
|
/**
|
|
6462
6691
|
* If true, include "_default_" in the list if primary workspace storage is set
|
|
@@ -6615,6 +6844,10 @@ export type ListVariableData = {
|
|
|
6615
6844
|
* pattern match filter for description field (case-insensitive)
|
|
6616
6845
|
*/
|
|
6617
6846
|
description?: string;
|
|
6847
|
+
/**
|
|
6848
|
+
* Filter by label
|
|
6849
|
+
*/
|
|
6850
|
+
label?: string;
|
|
6618
6851
|
/**
|
|
6619
6852
|
* which page to return (start at 1, default 1)
|
|
6620
6853
|
*/
|
|
@@ -6898,6 +7131,10 @@ export type ListResourceData = {
|
|
|
6898
7131
|
* pattern match filter for description field (case-insensitive)
|
|
6899
7132
|
*/
|
|
6900
7133
|
description?: string;
|
|
7134
|
+
/**
|
|
7135
|
+
* Filter by label
|
|
7136
|
+
*/
|
|
7137
|
+
label?: string;
|
|
6901
7138
|
/**
|
|
6902
7139
|
* which page to return (start at 1, default 1)
|
|
6903
7140
|
*/
|
|
@@ -7134,6 +7371,10 @@ export type ListFlowsData = {
|
|
|
7134
7371
|
*
|
|
7135
7372
|
*/
|
|
7136
7373
|
includeDraftOnly?: boolean;
|
|
7374
|
+
/**
|
|
7375
|
+
* Filter by label
|
|
7376
|
+
*/
|
|
7377
|
+
label?: string;
|
|
7137
7378
|
/**
|
|
7138
7379
|
* order by desc order (default true)
|
|
7139
7380
|
*/
|
|
@@ -7365,6 +7606,10 @@ export type ListAppsData = {
|
|
|
7365
7606
|
*
|
|
7366
7607
|
*/
|
|
7367
7608
|
includeDraftOnly?: boolean;
|
|
7609
|
+
/**
|
|
7610
|
+
* Filter by label
|
|
7611
|
+
*/
|
|
7612
|
+
label?: string;
|
|
7368
7613
|
/**
|
|
7369
7614
|
* order by desc order (default true)
|
|
7370
7615
|
*/
|
|
@@ -7416,6 +7661,7 @@ export type CreateAppData = {
|
|
|
7416
7661
|
* When true and the caller is a member of the 'wm_deployers' group, preserves the original on_behalf_of value in the policy instead of overwriting it.
|
|
7417
7662
|
*/
|
|
7418
7663
|
preserve_on_behalf_of?: boolean;
|
|
7664
|
+
labels?: Array<(string)>;
|
|
7419
7665
|
};
|
|
7420
7666
|
workspace: string;
|
|
7421
7667
|
};
|
|
@@ -7437,6 +7683,7 @@ export type CreateAppRawData = {
|
|
|
7437
7683
|
* When true and the caller is a member of the 'wm_deployers' group, preserves the original on_behalf_of value in the policy instead of overwriting it.
|
|
7438
7684
|
*/
|
|
7439
7685
|
preserve_on_behalf_of?: boolean;
|
|
7686
|
+
labels?: Array<(string)>;
|
|
7440
7687
|
};
|
|
7441
7688
|
js?: string;
|
|
7442
7689
|
css?: string;
|
|
@@ -7539,6 +7786,7 @@ export type UpdateAppData = {
|
|
|
7539
7786
|
* When true and the caller is a member of the 'wm_deployers' group, preserves the original on_behalf_of value in the policy instead of overwriting it.
|
|
7540
7787
|
*/
|
|
7541
7788
|
preserve_on_behalf_of?: boolean;
|
|
7789
|
+
labels?: Array<(string)>;
|
|
7542
7790
|
};
|
|
7543
7791
|
workspace: string;
|
|
7544
7792
|
};
|
|
@@ -7559,6 +7807,7 @@ export type UpdateAppRawData = {
|
|
|
7559
7807
|
* When true and the caller is a member of the 'wm_deployers' group, preserves the original on_behalf_of value in the policy instead of overwriting it.
|
|
7560
7808
|
*/
|
|
7561
7809
|
preserve_on_behalf_of?: boolean;
|
|
7810
|
+
labels?: Array<(string)>;
|
|
7562
7811
|
};
|
|
7563
7812
|
js?: string;
|
|
7564
7813
|
css?: string;
|
|
@@ -7763,6 +8012,10 @@ export type ListScriptsData = {
|
|
|
7763
8012
|
*
|
|
7764
8013
|
*/
|
|
7765
8014
|
kinds?: string;
|
|
8015
|
+
/**
|
|
8016
|
+
* Filter by label
|
|
8017
|
+
*/
|
|
8018
|
+
label?: string;
|
|
7766
8019
|
/**
|
|
7767
8020
|
* Filter to only include scripts written in the given languages.
|
|
7768
8021
|
* Accepts multiple values as a comma-separated list.
|
|
@@ -10234,11 +10487,21 @@ export type ListConversationMessagesData = {
|
|
|
10234
10487
|
workspace: string;
|
|
10235
10488
|
};
|
|
10236
10489
|
export type ListConversationMessagesResponse = Array<FlowConversationMessage>;
|
|
10490
|
+
export type ListPathAutocompletePathsData = {
|
|
10491
|
+
workspace: string;
|
|
10492
|
+
};
|
|
10493
|
+
export type ListPathAutocompletePathsResponse = {
|
|
10494
|
+
paths: Array<(string)>;
|
|
10495
|
+
};
|
|
10237
10496
|
export type ListRawAppsData = {
|
|
10238
10497
|
/**
|
|
10239
10498
|
* filter by exact matching user creator. Supports comma-separated list (e.g. 'alice,bob') and negation by prefixing all values with '!' (e.g. '!alice,!bob')
|
|
10240
10499
|
*/
|
|
10241
10500
|
createdBy?: string;
|
|
10501
|
+
/**
|
|
10502
|
+
* Filter by label
|
|
10503
|
+
*/
|
|
10504
|
+
label?: string;
|
|
10242
10505
|
/**
|
|
10243
10506
|
* order by desc order (default true)
|
|
10244
10507
|
*/
|
|
@@ -10381,6 +10644,10 @@ export type ListSchedulesData = {
|
|
|
10381
10644
|
* filter schedules by whether they target a flow
|
|
10382
10645
|
*/
|
|
10383
10646
|
isFlow?: boolean;
|
|
10647
|
+
/**
|
|
10648
|
+
* Filter by label
|
|
10649
|
+
*/
|
|
10650
|
+
label?: string;
|
|
10384
10651
|
/**
|
|
10385
10652
|
* which page to return (start at 1, default 1)
|
|
10386
10653
|
*/
|
|
@@ -10491,6 +10758,10 @@ export type GetHttpTriggerData = {
|
|
|
10491
10758
|
export type GetHttpTriggerResponse = HttpTrigger;
|
|
10492
10759
|
export type ListHttpTriggersData = {
|
|
10493
10760
|
isFlow?: boolean;
|
|
10761
|
+
/**
|
|
10762
|
+
* Filter by label
|
|
10763
|
+
*/
|
|
10764
|
+
label?: string;
|
|
10494
10765
|
/**
|
|
10495
10766
|
* which page to return (start at 1, default 1)
|
|
10496
10767
|
*/
|
|
@@ -10562,6 +10833,10 @@ export type GetWebsocketTriggerData = {
|
|
|
10562
10833
|
export type GetWebsocketTriggerResponse = WebsocketTrigger;
|
|
10563
10834
|
export type ListWebsocketTriggersData = {
|
|
10564
10835
|
isFlow?: boolean;
|
|
10836
|
+
/**
|
|
10837
|
+
* Filter by label
|
|
10838
|
+
*/
|
|
10839
|
+
label?: string;
|
|
10565
10840
|
/**
|
|
10566
10841
|
* which page to return (start at 1, default 1)
|
|
10567
10842
|
*/
|
|
@@ -10635,6 +10910,10 @@ export type GetKafkaTriggerData = {
|
|
|
10635
10910
|
export type GetKafkaTriggerResponse = KafkaTrigger;
|
|
10636
10911
|
export type ListKafkaTriggersData = {
|
|
10637
10912
|
isFlow?: boolean;
|
|
10913
|
+
/**
|
|
10914
|
+
* Filter by label
|
|
10915
|
+
*/
|
|
10916
|
+
label?: string;
|
|
10638
10917
|
/**
|
|
10639
10918
|
* which page to return (start at 1, default 1)
|
|
10640
10919
|
*/
|
|
@@ -10726,6 +11005,10 @@ export type GetNatsTriggerData = {
|
|
|
10726
11005
|
export type GetNatsTriggerResponse = NatsTrigger;
|
|
10727
11006
|
export type ListNatsTriggersData = {
|
|
10728
11007
|
isFlow?: boolean;
|
|
11008
|
+
/**
|
|
11009
|
+
* Filter by label
|
|
11010
|
+
*/
|
|
11011
|
+
label?: string;
|
|
10729
11012
|
/**
|
|
10730
11013
|
* which page to return (start at 1, default 1)
|
|
10731
11014
|
*/
|
|
@@ -10799,6 +11082,10 @@ export type GetSqsTriggerData = {
|
|
|
10799
11082
|
export type GetSqsTriggerResponse = SqsTrigger;
|
|
10800
11083
|
export type ListSqsTriggersData = {
|
|
10801
11084
|
isFlow?: boolean;
|
|
11085
|
+
/**
|
|
11086
|
+
* Filter by label
|
|
11087
|
+
*/
|
|
11088
|
+
label?: string;
|
|
10802
11089
|
/**
|
|
10803
11090
|
* which page to return (start at 1, default 1)
|
|
10804
11091
|
*/
|
|
@@ -10948,6 +11235,10 @@ export type ListNativeTriggersData = {
|
|
|
10948
11235
|
* filter by is_flow
|
|
10949
11236
|
*/
|
|
10950
11237
|
isFlow?: boolean;
|
|
11238
|
+
/**
|
|
11239
|
+
* Filter by label
|
|
11240
|
+
*/
|
|
11241
|
+
label?: string;
|
|
10951
11242
|
/**
|
|
10952
11243
|
* which page to return (start at 1, default 1)
|
|
10953
11244
|
*/
|
|
@@ -11054,6 +11345,10 @@ export type GetMqttTriggerData = {
|
|
|
11054
11345
|
export type GetMqttTriggerResponse = MqttTrigger;
|
|
11055
11346
|
export type ListMqttTriggersData = {
|
|
11056
11347
|
isFlow?: boolean;
|
|
11348
|
+
/**
|
|
11349
|
+
* Filter by label
|
|
11350
|
+
*/
|
|
11351
|
+
label?: string;
|
|
11057
11352
|
/**
|
|
11058
11353
|
* which page to return (start at 1, default 1)
|
|
11059
11354
|
*/
|
|
@@ -11127,6 +11422,10 @@ export type GetGcpTriggerData = {
|
|
|
11127
11422
|
export type GetGcpTriggerResponse = GcpTrigger;
|
|
11128
11423
|
export type ListGcpTriggersData = {
|
|
11129
11424
|
isFlow?: boolean;
|
|
11425
|
+
/**
|
|
11426
|
+
* Filter by label
|
|
11427
|
+
*/
|
|
11428
|
+
label?: string;
|
|
11130
11429
|
/**
|
|
11131
11430
|
* which page to return (start at 1, default 1)
|
|
11132
11431
|
*/
|
|
@@ -11318,6 +11617,10 @@ export type GetPostgresTriggerData = {
|
|
|
11318
11617
|
export type GetPostgresTriggerResponse = PostgresTrigger;
|
|
11319
11618
|
export type ListPostgresTriggersData = {
|
|
11320
11619
|
isFlow?: boolean;
|
|
11620
|
+
/**
|
|
11621
|
+
* Filter by label
|
|
11622
|
+
*/
|
|
11623
|
+
label?: string;
|
|
11321
11624
|
/**
|
|
11322
11625
|
* which page to return (start at 1, default 1)
|
|
11323
11626
|
*/
|
|
@@ -11389,6 +11692,10 @@ export type GetEmailTriggerData = {
|
|
|
11389
11692
|
export type GetEmailTriggerResponse = EmailTrigger;
|
|
11390
11693
|
export type ListEmailTriggersData = {
|
|
11391
11694
|
isFlow?: boolean;
|
|
11695
|
+
/**
|
|
11696
|
+
* Filter by label
|
|
11697
|
+
*/
|
|
11698
|
+
label?: string;
|
|
11392
11699
|
/**
|
|
11393
11700
|
* which page to return (start at 1, default 1)
|
|
11394
11701
|
*/
|
|
@@ -11735,6 +12042,17 @@ export type ListAutoscalingEventsData = {
|
|
|
11735
12042
|
export type ListAutoscalingEventsResponse = Array<AutoscalingEvent>;
|
|
11736
12043
|
export type NativeKubernetesAutoscalingHealthcheckResponse = unknown;
|
|
11737
12044
|
export type ListAvailablePythonVersionsResponse = Array<(string)>;
|
|
12045
|
+
export type ListAllWorkspaceDependenciesResponse = Array<{
|
|
12046
|
+
workspace_id: string;
|
|
12047
|
+
name?: string;
|
|
12048
|
+
language: ScriptLang;
|
|
12049
|
+
}>;
|
|
12050
|
+
export type ListAllDedicatedWithDepsResponse = Array<{
|
|
12051
|
+
workspace_id: string;
|
|
12052
|
+
path: string;
|
|
12053
|
+
language: ScriptLang;
|
|
12054
|
+
workspace_dep_names: Array<(string)>;
|
|
12055
|
+
}>;
|
|
11738
12056
|
export type CreateAgentTokenData = {
|
|
11739
12057
|
/**
|
|
11740
12058
|
* agent token
|
|
@@ -13273,6 +13591,38 @@ export type $OpenApiTs = {
|
|
|
13273
13591
|
};
|
|
13274
13592
|
};
|
|
13275
13593
|
};
|
|
13594
|
+
'/w/{workspace}/users/impersonate_service_account': {
|
|
13595
|
+
post: {
|
|
13596
|
+
req: {
|
|
13597
|
+
requestBody: {
|
|
13598
|
+
username: string;
|
|
13599
|
+
};
|
|
13600
|
+
workspace: string;
|
|
13601
|
+
};
|
|
13602
|
+
res: {
|
|
13603
|
+
/**
|
|
13604
|
+
* impersonation token
|
|
13605
|
+
*/
|
|
13606
|
+
201: string;
|
|
13607
|
+
};
|
|
13608
|
+
};
|
|
13609
|
+
};
|
|
13610
|
+
'/w/{workspace}/users/exit_impersonation': {
|
|
13611
|
+
post: {
|
|
13612
|
+
req: {
|
|
13613
|
+
requestBody: {
|
|
13614
|
+
token: string;
|
|
13615
|
+
};
|
|
13616
|
+
workspace: string;
|
|
13617
|
+
};
|
|
13618
|
+
res: {
|
|
13619
|
+
/**
|
|
13620
|
+
* exited impersonation
|
|
13621
|
+
*/
|
|
13622
|
+
200: string;
|
|
13623
|
+
};
|
|
13624
|
+
};
|
|
13625
|
+
};
|
|
13276
13626
|
'/w/{workspace}/users/whois/{username}': {
|
|
13277
13627
|
get: {
|
|
13278
13628
|
req: {
|
|
@@ -13797,6 +14147,22 @@ export type $OpenApiTs = {
|
|
|
13797
14147
|
};
|
|
13798
14148
|
};
|
|
13799
14149
|
};
|
|
14150
|
+
'/w/{workspace}/workspaces/create_service_account': {
|
|
14151
|
+
post: {
|
|
14152
|
+
req: {
|
|
14153
|
+
requestBody: {
|
|
14154
|
+
username: string;
|
|
14155
|
+
};
|
|
14156
|
+
workspace: string;
|
|
14157
|
+
};
|
|
14158
|
+
res: {
|
|
14159
|
+
/**
|
|
14160
|
+
* service account created
|
|
14161
|
+
*/
|
|
14162
|
+
201: string;
|
|
14163
|
+
};
|
|
14164
|
+
};
|
|
14165
|
+
};
|
|
13800
14166
|
'/w/{workspace}/workspaces/delete_invite': {
|
|
13801
14167
|
post: {
|
|
13802
14168
|
req: {
|
|
@@ -14155,6 +14521,23 @@ export type $OpenApiTs = {
|
|
|
14155
14521
|
};
|
|
14156
14522
|
};
|
|
14157
14523
|
};
|
|
14524
|
+
'/w/{workspace}/workspaces/get_imports/{importer_path}': {
|
|
14525
|
+
get: {
|
|
14526
|
+
req: {
|
|
14527
|
+
/**
|
|
14528
|
+
* The script path to get imports for
|
|
14529
|
+
*/
|
|
14530
|
+
importerPath: string;
|
|
14531
|
+
workspace: string;
|
|
14532
|
+
};
|
|
14533
|
+
res: {
|
|
14534
|
+
/**
|
|
14535
|
+
* list of imported script paths
|
|
14536
|
+
*/
|
|
14537
|
+
200: Array<(string)>;
|
|
14538
|
+
};
|
|
14539
|
+
};
|
|
14540
|
+
};
|
|
14158
14541
|
'/w/{workspace}/workspaces/get_dependents_amounts': {
|
|
14159
14542
|
post: {
|
|
14160
14543
|
req: {
|
|
@@ -15274,6 +15657,70 @@ export type $OpenApiTs = {
|
|
|
15274
15657
|
};
|
|
15275
15658
|
};
|
|
15276
15659
|
};
|
|
15660
|
+
'/settings/object_storage_usage': {
|
|
15661
|
+
get: {
|
|
15662
|
+
res: {
|
|
15663
|
+
/**
|
|
15664
|
+
* current or last storage-usage computation state
|
|
15665
|
+
*/
|
|
15666
|
+
200: {
|
|
15667
|
+
running: boolean;
|
|
15668
|
+
started_at: string;
|
|
15669
|
+
finished_at?: string | null;
|
|
15670
|
+
current_prefix?: string | null;
|
|
15671
|
+
scanned_objects: number;
|
|
15672
|
+
folders: Array<{
|
|
15673
|
+
prefix: string;
|
|
15674
|
+
size: number;
|
|
15675
|
+
partial?: boolean;
|
|
15676
|
+
}>;
|
|
15677
|
+
error?: string | null;
|
|
15678
|
+
} | null;
|
|
15679
|
+
};
|
|
15680
|
+
};
|
|
15681
|
+
post: {
|
|
15682
|
+
res: {
|
|
15683
|
+
/**
|
|
15684
|
+
* computation started
|
|
15685
|
+
*/
|
|
15686
|
+
202: string;
|
|
15687
|
+
};
|
|
15688
|
+
};
|
|
15689
|
+
};
|
|
15690
|
+
'/settings/run_log_cleanup': {
|
|
15691
|
+
post: {
|
|
15692
|
+
res: {
|
|
15693
|
+
/**
|
|
15694
|
+
* cleanup started
|
|
15695
|
+
*/
|
|
15696
|
+
202: string;
|
|
15697
|
+
};
|
|
15698
|
+
};
|
|
15699
|
+
};
|
|
15700
|
+
'/settings/log_cleanup_status': {
|
|
15701
|
+
get: {
|
|
15702
|
+
res: {
|
|
15703
|
+
/**
|
|
15704
|
+
* current or last log cleanup status (null if never run)
|
|
15705
|
+
*/
|
|
15706
|
+
200: {
|
|
15707
|
+
running: boolean;
|
|
15708
|
+
started_at: string;
|
|
15709
|
+
finished_at?: string | null;
|
|
15710
|
+
phase: string;
|
|
15711
|
+
total_service: number;
|
|
15712
|
+
processed_service: number;
|
|
15713
|
+
total_jobs: number;
|
|
15714
|
+
processed_jobs: number;
|
|
15715
|
+
s3_deleted: number;
|
|
15716
|
+
orphans_scanned: number;
|
|
15717
|
+
orphans_deleted: number;
|
|
15718
|
+
errors: number;
|
|
15719
|
+
last_error?: string | null;
|
|
15720
|
+
} | null;
|
|
15721
|
+
};
|
|
15722
|
+
};
|
|
15723
|
+
};
|
|
15277
15724
|
'/settings/send_stats': {
|
|
15278
15725
|
post: {
|
|
15279
15726
|
res: {
|
|
@@ -15284,6 +15731,22 @@ export type $OpenApiTs = {
|
|
|
15284
15731
|
};
|
|
15285
15732
|
};
|
|
15286
15733
|
};
|
|
15734
|
+
'/settings/restart_worker_group/{worker_group}': {
|
|
15735
|
+
post: {
|
|
15736
|
+
req: {
|
|
15737
|
+
/**
|
|
15738
|
+
* the name of the worker group to restart
|
|
15739
|
+
*/
|
|
15740
|
+
workerGroup: string;
|
|
15741
|
+
};
|
|
15742
|
+
res: {
|
|
15743
|
+
/**
|
|
15744
|
+
* restart signal sent
|
|
15745
|
+
*/
|
|
15746
|
+
200: string;
|
|
15747
|
+
};
|
|
15748
|
+
};
|
|
15749
|
+
};
|
|
15287
15750
|
'/settings/get_stats': {
|
|
15288
15751
|
get: {
|
|
15289
15752
|
res: {
|
|
@@ -15463,6 +15926,93 @@ export type $OpenApiTs = {
|
|
|
15463
15926
|
};
|
|
15464
15927
|
};
|
|
15465
15928
|
};
|
|
15929
|
+
'/settings/test_azure_kv_backend': {
|
|
15930
|
+
post: {
|
|
15931
|
+
req: {
|
|
15932
|
+
/**
|
|
15933
|
+
* Azure Key Vault settings to test
|
|
15934
|
+
*/
|
|
15935
|
+
requestBody: AzureKeyVaultSettings;
|
|
15936
|
+
};
|
|
15937
|
+
res: {
|
|
15938
|
+
/**
|
|
15939
|
+
* connection successful
|
|
15940
|
+
*/
|
|
15941
|
+
200: string;
|
|
15942
|
+
};
|
|
15943
|
+
};
|
|
15944
|
+
};
|
|
15945
|
+
'/settings/migrate_secrets_to_azure_kv': {
|
|
15946
|
+
post: {
|
|
15947
|
+
req: {
|
|
15948
|
+
/**
|
|
15949
|
+
* Azure Key Vault settings for migration target
|
|
15950
|
+
*/
|
|
15951
|
+
requestBody: AzureKeyVaultSettings;
|
|
15952
|
+
};
|
|
15953
|
+
res: {
|
|
15954
|
+
/**
|
|
15955
|
+
* migration report
|
|
15956
|
+
*/
|
|
15957
|
+
200: SecretMigrationReport;
|
|
15958
|
+
};
|
|
15959
|
+
};
|
|
15960
|
+
};
|
|
15961
|
+
'/settings/migrate_secrets_from_azure_kv': {
|
|
15962
|
+
post: {
|
|
15963
|
+
req: {
|
|
15964
|
+
/**
|
|
15965
|
+
* Azure Key Vault settings for migration source
|
|
15966
|
+
*/
|
|
15967
|
+
requestBody: AzureKeyVaultSettings;
|
|
15968
|
+
};
|
|
15969
|
+
res: {
|
|
15970
|
+
/**
|
|
15971
|
+
* migration report
|
|
15972
|
+
*/
|
|
15973
|
+
200: SecretMigrationReport;
|
|
15974
|
+
};
|
|
15975
|
+
};
|
|
15976
|
+
};
|
|
15977
|
+
'/settings/test_aws_sm_backend': {
|
|
15978
|
+
post: {
|
|
15979
|
+
req: {
|
|
15980
|
+
requestBody: AwsSecretsManagerSettings;
|
|
15981
|
+
};
|
|
15982
|
+
res: {
|
|
15983
|
+
/**
|
|
15984
|
+
* connection test result
|
|
15985
|
+
*/
|
|
15986
|
+
200: string;
|
|
15987
|
+
};
|
|
15988
|
+
};
|
|
15989
|
+
};
|
|
15990
|
+
'/settings/migrate_secrets_to_aws_sm': {
|
|
15991
|
+
post: {
|
|
15992
|
+
req: {
|
|
15993
|
+
requestBody: AwsSecretsManagerSettings;
|
|
15994
|
+
};
|
|
15995
|
+
res: {
|
|
15996
|
+
/**
|
|
15997
|
+
* migration report
|
|
15998
|
+
*/
|
|
15999
|
+
200: SecretMigrationReport;
|
|
16000
|
+
};
|
|
16001
|
+
};
|
|
16002
|
+
};
|
|
16003
|
+
'/settings/migrate_secrets_from_aws_sm': {
|
|
16004
|
+
post: {
|
|
16005
|
+
req: {
|
|
16006
|
+
requestBody: AwsSecretsManagerSettings;
|
|
16007
|
+
};
|
|
16008
|
+
res: {
|
|
16009
|
+
/**
|
|
16010
|
+
* migration report
|
|
16011
|
+
*/
|
|
16012
|
+
200: SecretMigrationReport;
|
|
16013
|
+
};
|
|
16014
|
+
};
|
|
16015
|
+
};
|
|
15466
16016
|
'/w/{workspace}/workspaces/get_secondary_storage_names': {
|
|
15467
16017
|
get: {
|
|
15468
16018
|
req: {
|
|
@@ -15767,6 +16317,10 @@ export type $OpenApiTs = {
|
|
|
15767
16317
|
* pattern match filter for description field (case-insensitive)
|
|
15768
16318
|
*/
|
|
15769
16319
|
description?: string;
|
|
16320
|
+
/**
|
|
16321
|
+
* Filter by label
|
|
16322
|
+
*/
|
|
16323
|
+
label?: string;
|
|
15770
16324
|
/**
|
|
15771
16325
|
* which page to return (start at 1, default 1)
|
|
15772
16326
|
*/
|
|
@@ -16275,6 +16829,10 @@ export type $OpenApiTs = {
|
|
|
16275
16829
|
* pattern match filter for description field (case-insensitive)
|
|
16276
16830
|
*/
|
|
16277
16831
|
description?: string;
|
|
16832
|
+
/**
|
|
16833
|
+
* Filter by label
|
|
16834
|
+
*/
|
|
16835
|
+
label?: string;
|
|
16278
16836
|
/**
|
|
16279
16837
|
* which page to return (start at 1, default 1)
|
|
16280
16838
|
*/
|
|
@@ -16709,6 +17267,10 @@ export type $OpenApiTs = {
|
|
|
16709
17267
|
*
|
|
16710
17268
|
*/
|
|
16711
17269
|
includeDraftOnly?: boolean;
|
|
17270
|
+
/**
|
|
17271
|
+
* Filter by label
|
|
17272
|
+
*/
|
|
17273
|
+
label?: string;
|
|
16712
17274
|
/**
|
|
16713
17275
|
* order by desc order (default true)
|
|
16714
17276
|
*/
|
|
@@ -17147,6 +17709,10 @@ export type $OpenApiTs = {
|
|
|
17147
17709
|
*
|
|
17148
17710
|
*/
|
|
17149
17711
|
includeDraftOnly?: boolean;
|
|
17712
|
+
/**
|
|
17713
|
+
* Filter by label
|
|
17714
|
+
*/
|
|
17715
|
+
label?: string;
|
|
17150
17716
|
/**
|
|
17151
17717
|
* order by desc order (default true)
|
|
17152
17718
|
*/
|
|
@@ -17207,6 +17773,7 @@ export type $OpenApiTs = {
|
|
|
17207
17773
|
* When true and the caller is a member of the 'wm_deployers' group, preserves the original on_behalf_of value in the policy instead of overwriting it.
|
|
17208
17774
|
*/
|
|
17209
17775
|
preserve_on_behalf_of?: boolean;
|
|
17776
|
+
labels?: Array<(string)>;
|
|
17210
17777
|
};
|
|
17211
17778
|
workspace: string;
|
|
17212
17779
|
};
|
|
@@ -17237,6 +17804,7 @@ export type $OpenApiTs = {
|
|
|
17237
17804
|
* When true and the caller is a member of the 'wm_deployers' group, preserves the original on_behalf_of value in the policy instead of overwriting it.
|
|
17238
17805
|
*/
|
|
17239
17806
|
preserve_on_behalf_of?: boolean;
|
|
17807
|
+
labels?: Array<(string)>;
|
|
17240
17808
|
};
|
|
17241
17809
|
js?: string;
|
|
17242
17810
|
css?: string;
|
|
@@ -17474,6 +18042,7 @@ export type $OpenApiTs = {
|
|
|
17474
18042
|
* When true and the caller is a member of the 'wm_deployers' group, preserves the original on_behalf_of value in the policy instead of overwriting it.
|
|
17475
18043
|
*/
|
|
17476
18044
|
preserve_on_behalf_of?: boolean;
|
|
18045
|
+
labels?: Array<(string)>;
|
|
17477
18046
|
};
|
|
17478
18047
|
workspace: string;
|
|
17479
18048
|
};
|
|
@@ -17503,6 +18072,7 @@ export type $OpenApiTs = {
|
|
|
17503
18072
|
* When true and the caller is a member of the 'wm_deployers' group, preserves the original on_behalf_of value in the policy instead of overwriting it.
|
|
17504
18073
|
*/
|
|
17505
18074
|
preserve_on_behalf_of?: boolean;
|
|
18075
|
+
labels?: Array<(string)>;
|
|
17506
18076
|
};
|
|
17507
18077
|
js?: string;
|
|
17508
18078
|
css?: string;
|
|
@@ -17815,6 +18385,10 @@ export type $OpenApiTs = {
|
|
|
17815
18385
|
*
|
|
17816
18386
|
*/
|
|
17817
18387
|
kinds?: string;
|
|
18388
|
+
/**
|
|
18389
|
+
* Filter by label
|
|
18390
|
+
*/
|
|
18391
|
+
label?: string;
|
|
17818
18392
|
/**
|
|
17819
18393
|
* Filter to only include scripts written in the given languages.
|
|
17820
18394
|
* Accepts multiple values as a comma-separated list.
|
|
@@ -21418,6 +21992,21 @@ export type $OpenApiTs = {
|
|
|
21418
21992
|
};
|
|
21419
21993
|
};
|
|
21420
21994
|
};
|
|
21995
|
+
'/w/{workspace}/path_autocomplete/list_paths': {
|
|
21996
|
+
get: {
|
|
21997
|
+
req: {
|
|
21998
|
+
workspace: string;
|
|
21999
|
+
};
|
|
22000
|
+
res: {
|
|
22001
|
+
/**
|
|
22002
|
+
* deduplicated path list, sorted lexicographically
|
|
22003
|
+
*/
|
|
22004
|
+
200: {
|
|
22005
|
+
paths: Array<(string)>;
|
|
22006
|
+
};
|
|
22007
|
+
};
|
|
22008
|
+
};
|
|
22009
|
+
};
|
|
21421
22010
|
'/w/{workspace}/raw_apps/list': {
|
|
21422
22011
|
get: {
|
|
21423
22012
|
req: {
|
|
@@ -21425,6 +22014,10 @@ export type $OpenApiTs = {
|
|
|
21425
22014
|
* filter by exact matching user creator. Supports comma-separated list (e.g. 'alice,bob') and negation by prefixing all values with '!' (e.g. '!alice,!bob')
|
|
21426
22015
|
*/
|
|
21427
22016
|
createdBy?: string;
|
|
22017
|
+
/**
|
|
22018
|
+
* Filter by label
|
|
22019
|
+
*/
|
|
22020
|
+
label?: string;
|
|
21428
22021
|
/**
|
|
21429
22022
|
* order by desc order (default true)
|
|
21430
22023
|
*/
|
|
@@ -21657,6 +22250,10 @@ export type $OpenApiTs = {
|
|
|
21657
22250
|
* filter schedules by whether they target a flow
|
|
21658
22251
|
*/
|
|
21659
22252
|
isFlow?: boolean;
|
|
22253
|
+
/**
|
|
22254
|
+
* Filter by label
|
|
22255
|
+
*/
|
|
22256
|
+
label?: string;
|
|
21660
22257
|
/**
|
|
21661
22258
|
* which page to return (start at 1, default 1)
|
|
21662
22259
|
*/
|
|
@@ -21857,6 +22454,10 @@ export type $OpenApiTs = {
|
|
|
21857
22454
|
get: {
|
|
21858
22455
|
req: {
|
|
21859
22456
|
isFlow?: boolean;
|
|
22457
|
+
/**
|
|
22458
|
+
* Filter by label
|
|
22459
|
+
*/
|
|
22460
|
+
label?: string;
|
|
21860
22461
|
/**
|
|
21861
22462
|
* which page to return (start at 1, default 1)
|
|
21862
22463
|
*/
|
|
@@ -22000,6 +22601,10 @@ export type $OpenApiTs = {
|
|
|
22000
22601
|
get: {
|
|
22001
22602
|
req: {
|
|
22002
22603
|
isFlow?: boolean;
|
|
22604
|
+
/**
|
|
22605
|
+
* Filter by label
|
|
22606
|
+
*/
|
|
22607
|
+
label?: string;
|
|
22003
22608
|
/**
|
|
22004
22609
|
* which page to return (start at 1, default 1)
|
|
22005
22610
|
*/
|
|
@@ -22145,6 +22750,10 @@ export type $OpenApiTs = {
|
|
|
22145
22750
|
get: {
|
|
22146
22751
|
req: {
|
|
22147
22752
|
isFlow?: boolean;
|
|
22753
|
+
/**
|
|
22754
|
+
* Filter by label
|
|
22755
|
+
*/
|
|
22756
|
+
label?: string;
|
|
22148
22757
|
/**
|
|
22149
22758
|
* which page to return (start at 1, default 1)
|
|
22150
22759
|
*/
|
|
@@ -22326,6 +22935,10 @@ export type $OpenApiTs = {
|
|
|
22326
22935
|
get: {
|
|
22327
22936
|
req: {
|
|
22328
22937
|
isFlow?: boolean;
|
|
22938
|
+
/**
|
|
22939
|
+
* Filter by label
|
|
22940
|
+
*/
|
|
22941
|
+
label?: string;
|
|
22329
22942
|
/**
|
|
22330
22943
|
* which page to return (start at 1, default 1)
|
|
22331
22944
|
*/
|
|
@@ -22471,6 +23084,10 @@ export type $OpenApiTs = {
|
|
|
22471
23084
|
get: {
|
|
22472
23085
|
req: {
|
|
22473
23086
|
isFlow?: boolean;
|
|
23087
|
+
/**
|
|
23088
|
+
* Filter by label
|
|
23089
|
+
*/
|
|
23090
|
+
label?: string;
|
|
22474
23091
|
/**
|
|
22475
23092
|
* which page to return (start at 1, default 1)
|
|
22476
23093
|
*/
|
|
@@ -22764,6 +23381,10 @@ export type $OpenApiTs = {
|
|
|
22764
23381
|
* filter by is_flow
|
|
22765
23382
|
*/
|
|
22766
23383
|
isFlow?: boolean;
|
|
23384
|
+
/**
|
|
23385
|
+
* Filter by label
|
|
23386
|
+
*/
|
|
23387
|
+
label?: string;
|
|
22767
23388
|
/**
|
|
22768
23389
|
* which page to return (start at 1, default 1)
|
|
22769
23390
|
*/
|
|
@@ -22978,6 +23599,10 @@ export type $OpenApiTs = {
|
|
|
22978
23599
|
get: {
|
|
22979
23600
|
req: {
|
|
22980
23601
|
isFlow?: boolean;
|
|
23602
|
+
/**
|
|
23603
|
+
* Filter by label
|
|
23604
|
+
*/
|
|
23605
|
+
label?: string;
|
|
22981
23606
|
/**
|
|
22982
23607
|
* which page to return (start at 1, default 1)
|
|
22983
23608
|
*/
|
|
@@ -23123,6 +23748,10 @@ export type $OpenApiTs = {
|
|
|
23123
23748
|
get: {
|
|
23124
23749
|
req: {
|
|
23125
23750
|
isFlow?: boolean;
|
|
23751
|
+
/**
|
|
23752
|
+
* Filter by label
|
|
23753
|
+
*/
|
|
23754
|
+
label?: string;
|
|
23126
23755
|
/**
|
|
23127
23756
|
* which page to return (start at 1, default 1)
|
|
23128
23757
|
*/
|
|
@@ -23521,6 +24150,10 @@ export type $OpenApiTs = {
|
|
|
23521
24150
|
get: {
|
|
23522
24151
|
req: {
|
|
23523
24152
|
isFlow?: boolean;
|
|
24153
|
+
/**
|
|
24154
|
+
* Filter by label
|
|
24155
|
+
*/
|
|
24156
|
+
label?: string;
|
|
23524
24157
|
/**
|
|
23525
24158
|
* which page to return (start at 1, default 1)
|
|
23526
24159
|
*/
|
|
@@ -23664,6 +24297,10 @@ export type $OpenApiTs = {
|
|
|
23664
24297
|
get: {
|
|
23665
24298
|
req: {
|
|
23666
24299
|
isFlow?: boolean;
|
|
24300
|
+
/**
|
|
24301
|
+
* Filter by label
|
|
24302
|
+
*/
|
|
24303
|
+
label?: string;
|
|
23667
24304
|
/**
|
|
23668
24305
|
* which page to return (start at 1, default 1)
|
|
23669
24306
|
*/
|
|
@@ -24388,6 +25025,35 @@ export type $OpenApiTs = {
|
|
|
24388
25025
|
};
|
|
24389
25026
|
};
|
|
24390
25027
|
};
|
|
25028
|
+
'/configs/list_all_workspace_dependencies': {
|
|
25029
|
+
get: {
|
|
25030
|
+
res: {
|
|
25031
|
+
/**
|
|
25032
|
+
* a list of workspace dependency summaries
|
|
25033
|
+
*/
|
|
25034
|
+
200: Array<{
|
|
25035
|
+
workspace_id: string;
|
|
25036
|
+
name?: string;
|
|
25037
|
+
language: ScriptLang;
|
|
25038
|
+
}>;
|
|
25039
|
+
};
|
|
25040
|
+
};
|
|
25041
|
+
};
|
|
25042
|
+
'/configs/list_all_dedicated_with_deps': {
|
|
25043
|
+
get: {
|
|
25044
|
+
res: {
|
|
25045
|
+
/**
|
|
25046
|
+
* a list of dedicated scripts with workspace dependencies
|
|
25047
|
+
*/
|
|
25048
|
+
200: Array<{
|
|
25049
|
+
workspace_id: string;
|
|
25050
|
+
path: string;
|
|
25051
|
+
language: ScriptLang;
|
|
25052
|
+
workspace_dep_names: Array<(string)>;
|
|
25053
|
+
}>;
|
|
25054
|
+
};
|
|
25055
|
+
};
|
|
25056
|
+
};
|
|
24391
25057
|
'/agent_workers/create_agent_token': {
|
|
24392
25058
|
post: {
|
|
24393
25059
|
req: {
|