windmill-components 1.687.0 → 1.695.0
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/package/components/ArgInput.svelte +2 -0
- package/package/components/AutoscalingConfigEditor.svelte +18 -4
- package/package/components/CompareWorkspaces.svelte +206 -157
- package/package/components/DatatableSchemaDiff.svelte +2 -2
- package/package/components/Dev.svelte +401 -85
- package/package/components/EditableSchemaForm.svelte +4 -0
- package/package/components/ErrorOrRecoveryHandler.svelte +2 -2
- package/package/components/FlowPreviewContent.svelte +32 -30
- package/package/components/FlowRestartButton.svelte +143 -61
- package/package/components/FlowRestartButton.svelte.d.ts +37 -0
- package/package/components/FlowStatusViewer.svelte +15 -1
- package/package/components/FlowStatusViewer.svelte.d.ts +10 -2
- package/package/components/FlowStatusViewerInner.svelte +1 -2
- package/package/components/FlowStatusViewerInner.svelte.d.ts +6 -2
- package/package/components/ForkConflictModal.svelte +57 -0
- package/package/components/ForkConflictModal.svelte.d.ts +3 -0
- package/package/components/GitRepoViewer.svelte +251 -97
- package/package/components/InputTransformSchemaForm.svelte +1 -1
- package/package/components/InstanceSettings.svelte +36 -16
- package/package/components/Login.svelte +113 -28
- package/package/components/Login.svelte.d.ts +1 -0
- package/package/components/Path.svelte +7 -1
- package/package/components/Path.svelte.d.ts +1 -1
- package/package/components/RunsPage.svelte +2 -1
- package/package/components/S3FilePickerInner.svelte +89 -89
- package/package/components/ScriptEditor.svelte +18 -5
- package/package/components/ShareModal.svelte.d.ts +1 -1
- package/package/components/apps/components/helpers/RunnableComponent.svelte.d.ts +3 -0
- package/package/components/apps/components/helpers/executeRunnable.js +2 -1
- package/package/components/apps/editor/AppReportsDrawerInner.svelte +1 -1
- package/package/components/apps/editor/appPolicy.js +2 -1
- package/package/components/apps/editor/commonAppUtils.d.ts +3 -0
- package/package/components/apps/editor/inlineScriptsPanel/CacheTtlPopup.svelte +1 -1
- package/package/components/apps/editor/inlineScriptsPanel/InlineScriptEditor.svelte +7 -0
- package/package/components/apps/editor/inlineScriptsPanel/TagPopup.svelte +49 -0
- package/package/components/apps/editor/inlineScriptsPanel/TagPopup.svelte.d.ts +9 -0
- package/package/components/apps/inputType.d.ts +1 -0
- package/package/components/apps/sharedTypes.d.ts +1 -0
- package/package/components/auditLogs/AuditLogsFilters.svelte +8 -3
- package/package/components/common/fileUpload/S3ArgInput.svelte +12 -10
- package/package/components/common/fileUpload/S3ArgInput.svelte.d.ts +2 -0
- package/package/components/copilot/chat/AIChatDisplay.svelte +5 -36
- package/package/components/copilot/chat/AIChatInput.svelte +56 -47
- package/package/components/copilot/chat/AIChatManager.svelte.js +48 -46
- package/package/components/copilot/chat/ContextElementBadge.svelte +6 -4
- package/package/components/copilot/chat/app/core.d.ts +12 -20
- package/package/components/copilot/chat/app/core.js +103 -160
- package/package/components/copilot/chat/app/core.test.js +234 -9
- package/package/components/copilot/chat/context.js +44 -0
- package/package/components/copilot/chat/flow/FlowAIChat.svelte +5 -3
- package/package/components/copilot/chat/flow/core.d.ts +2 -1
- package/package/components/copilot/chat/flow/core.js +48 -21
- package/package/components/copilot/chat/flow/helperUtils.d.ts +5 -2
- package/package/components/copilot/chat/flow/helperUtils.js +33 -1
- package/package/components/copilot/chat/flow/helperUtils.test.js +116 -1
- package/package/components/copilot/chat/flow/openFlow.json +1 -1
- package/package/components/copilot/chat/flow/openFlowZod.gen.js +24 -0
- package/package/components/copilot/chat/script/core.js +3 -0
- package/package/components/copilot/chat/shared.d.ts +6 -0
- package/package/components/copilot/chat/shared.js +22 -1
- package/package/components/copilot/chat/shared.test.d.ts +1 -0
- package/package/components/copilot/chat/shared.test.js +412 -0
- package/package/components/copilot/chat/workspaceTools.d.ts +7 -0
- package/package/components/copilot/chat/workspaceTools.js +239 -0
- package/package/components/copilot/chat/workspaceToolsZod.gen.d.ts +1295 -0
- package/package/components/copilot/chat/workspaceToolsZod.gen.js +424 -0
- package/package/components/copilot/lib.js +3 -1
- package/package/components/copilot/lib.test.d.ts +1 -0
- package/package/components/copilot/lib.test.js +19 -0
- package/package/components/copilot/modelConfig.d.ts +3 -0
- package/package/components/copilot/modelConfig.js +10 -0
- package/package/components/flows/FlowProgressBar.svelte +5 -2
- package/package/components/flows/content/FlowModuleComponent.svelte +636 -599
- package/package/components/flows/conversations/FlowChatManager.svelte.js +21 -10
- package/package/components/flows/flowStateUtils.svelte.js +5 -1
- package/package/components/flows/map/FlowModuleSchemaMap.svelte +3 -2
- package/package/components/flows/map/FlowModuleSchemaMap.svelte.d.ts +1 -0
- package/package/components/git_sync/GitSyncContext.svelte.js +0 -2
- package/package/components/graph/FlowGraphV2.svelte +7 -3
- package/package/components/graph/FlowGraphV2.svelte.d.ts +1 -0
- package/package/components/graph/renderers/triggers/TriggersBadge.svelte +3 -0
- package/package/components/home/deploy_ui.js +1 -1
- package/package/components/icons/AzureIcon.svelte +12 -25
- package/package/components/icons/AzureIcon.svelte.d.ts +3 -2
- package/package/components/instanceSettings.js +24 -0
- package/package/components/mcp/McpScopeSelector.svelte +119 -9
- package/package/components/mcp/McpScopeSelector.svelte.d.ts +1 -0
- package/package/components/offboarding-utils.js +2 -0
- package/package/components/progressBar/ProgressBar.svelte +9 -5
- package/package/components/progressBar/ProgressBar.svelte.d.ts +1 -0
- package/package/components/raw_apps/DeleteAfterUsePopup.svelte +52 -0
- package/package/components/raw_apps/DeleteAfterUsePopup.svelte.d.ts +9 -0
- package/package/components/raw_apps/RawAppBackgroundRunner.svelte +5 -1
- package/package/components/raw_apps/RawAppEditor.svelte +159 -102
- package/package/components/raw_apps/RawAppInlineScriptEditor.svelte +9 -3
- package/package/components/raw_apps/RawAppInlineScriptEditor.svelte.d.ts +2 -1
- package/package/components/raw_apps/RawAppInlineScriptRunnable.svelte +1 -0
- package/package/components/raw_apps/RawAppInlineScriptRunnable.svelte.d.ts +1 -0
- package/package/components/raw_apps/RawAppInputsSpecEditor.svelte +48 -5
- package/package/components/raw_apps/RawAppSharedUiDrawer.svelte +129 -0
- package/package/components/raw_apps/RawAppSharedUiDrawer.svelte.d.ts +5 -0
- package/package/components/raw_apps/RawAppSidebar.svelte +12 -0
- package/package/components/raw_apps/dataTableRefUtils.d.ts +7 -0
- package/package/components/raw_apps/dataTableRefUtils.js +34 -0
- package/package/components/raw_apps/dataTableRefUtils.test.d.ts +1 -0
- package/package/components/raw_apps/dataTableRefUtils.test.js +29 -0
- package/package/components/raw_apps/rawAppPolicy.d.ts +1 -0
- package/package/components/raw_apps/rawAppPolicy.js +17 -2
- package/package/components/resources/resourceTypesFilter.d.ts +19 -0
- package/package/components/resources/resourceTypesFilter.js +21 -0
- package/package/components/restartFromStepPath.d.ts +39 -0
- package/package/components/restartFromStepPath.js +89 -0
- package/package/components/runs/JobDetailFieldConfig.d.ts +1 -0
- package/package/components/runs/JobDetailFieldConfig.js +57 -10
- package/package/components/runs/JobDetailHeader.svelte +24 -3
- package/package/components/runs/runsFilter.d.ts +1 -1
- package/package/components/schema/FlowPropertyEditor.svelte +30 -1
- package/package/components/schema/FlowPropertyEditor.svelte.d.ts +5 -2
- package/package/components/search/GlobalSearchModal.svelte +8 -1
- package/package/components/select/Select.svelte +1 -1
- package/package/components/settings/CreateToken.svelte +48 -77
- package/package/components/settings/EditTokenScopesModal.svelte +57 -0
- package/package/components/settings/EditTokenScopesModal.svelte.d.ts +10 -0
- package/package/components/settings/ScopesPicker.svelte +43 -0
- package/package/components/settings/ScopesPicker.svelte.d.ts +11 -0
- package/package/components/settings/TokensTable.svelte +51 -15
- package/package/components/sidebar/OperatorMenu.svelte +6 -0
- package/package/components/sidebar/SidebarContent.svelte +11 -1
- package/package/components/triggers/AddTriggersButton.svelte +6 -0
- package/package/components/triggers/CaptureWrapper.svelte +19 -1
- package/package/components/triggers/TriggerEditorToolbar.svelte.d.ts +1 -1
- package/package/components/triggers/TriggerModeToggle.svelte +36 -7
- package/package/components/triggers/TriggerModeToggle.svelte.d.ts +1 -1
- package/package/components/triggers/TriggerSuspendedJobsModal.svelte.d.ts +1 -1
- package/package/components/triggers/TriggersEditor.svelte +5 -1
- package/package/components/triggers/TriggersWrapper.svelte +10 -0
- package/package/components/triggers/azure/AzureCapture.svelte +41 -0
- package/package/components/triggers/azure/AzureCapture.svelte.d.ts +44 -0
- package/package/components/triggers/azure/AzureTriggerEditor.svelte +20 -0
- package/package/components/triggers/azure/AzureTriggerEditor.svelte.d.ts +9 -0
- package/package/components/triggers/azure/AzureTriggerEditorConfigSection.svelte +301 -0
- package/package/components/triggers/azure/AzureTriggerEditorConfigSection.svelte.d.ts +16 -0
- package/package/components/triggers/azure/AzureTriggerEditorInner.svelte +422 -0
- package/package/components/triggers/azure/AzureTriggerEditorInner.svelte.d.ts +25 -0
- package/package/components/triggers/azure/AzureTriggerPanel.svelte +55 -0
- package/package/components/triggers/azure/AzureTriggerPanel.svelte.d.ts +10 -0
- package/{dist/sharedUtils/components/triggers/kafka → package/components/triggers/azure}/utils.d.ts +1 -1
- package/package/components/triggers/azure/utils.js +56 -0
- package/package/components/triggers/email/EmailTriggerEditorInner.svelte +2 -0
- package/package/components/triggers/gcp/GcpTriggerEditorInner.svelte +9 -3
- package/package/components/triggers/http/RouteEditorInner.svelte +2 -0
- package/package/components/triggers/kafka/KafkaTriggerEditorInner.svelte +9 -3
- package/package/components/triggers/mqtt/MqttTriggerEditorInner.svelte +9 -3
- package/package/components/triggers/nats/NatsTriggerEditorInner.svelte +9 -3
- package/package/components/triggers/postgres/PostgresTriggerEditorInner.svelte +9 -3
- package/package/components/triggers/schedules/ScheduleEditorInner.svelte +9 -3
- package/package/components/triggers/sqs/SqsTriggerEditorInner.svelte +9 -3
- package/package/components/triggers/triggers.svelte.d.ts +1 -0
- package/package/components/triggers/triggers.svelte.js +23 -1
- package/package/components/triggers/utils.js +20 -0
- package/package/components/triggers/websocket/WebsocketTriggerEditorInner.svelte +9 -3
- package/package/components/triggers.d.ts +1 -1
- package/package/components/useNestedRestartState.svelte.d.ts +56 -0
- package/package/components/useNestedRestartState.svelte.js +320 -0
- package/package/components/workspaceSettings/SharedUiSettings.svelte +175 -0
- package/package/components/workspaceSettings/SharedUiSettings.svelte.d.ts +3 -0
- package/package/gen/core/OpenAPI.js +1 -1
- package/package/gen/schemas.gen.d.ts +294 -24
- package/package/gen/schemas.gen.js +297 -25
- package/package/gen/services.gen.d.ts +247 -4
- package/package/gen/services.gen.js +498 -7
- package/package/gen/types.gen.d.ts +990 -37
- package/package/hubPaths.json +2 -5
- package/package/infer.d.ts +1 -1
- package/package/infer.js +37 -51
- package/package/mcpEndpointTools.js +60 -4
- package/package/script_helpers.js +17 -0
- package/package/stores.d.ts +7 -0
- package/package/stores.js +6 -1
- package/package/system_prompts/index.d.ts +1 -0
- package/package/system_prompts/index.js +8 -0
- package/package/system_prompts/prompts.d.ts +16 -13
- package/package/system_prompts/prompts.js +653 -43
- package/package/templates/ci_test_bun.ts.template +8 -0
- package/package/templates/ci_test_python.py.template +8 -0
- package/package/utils/forkConflict.d.ts +26 -0
- package/package/utils/forkConflict.js +56 -0
- package/package/utils_deployable.d.ts +164 -121
- package/package/utils_deployable.js +61 -11
- package/package/utils_workspace_deploy.js +3 -1
- package/package.json +28 -4
- package/dist/sharedUtils/assets/tokens/colorTokensConfig.d.ts +0 -2
- package/dist/sharedUtils/base.d.ts +0 -1
- package/dist/sharedUtils/cloud.d.ts +0 -1
- package/dist/sharedUtils/common.d.ts +0 -111
- package/dist/sharedUtils/components/apps/components/display/dbtable/queries/count.d.ts +0 -5
- package/dist/sharedUtils/components/apps/components/display/dbtable/queries/delete.d.ts +0 -5
- package/dist/sharedUtils/components/apps/components/display/dbtable/queries/insert.d.ts +0 -5
- package/dist/sharedUtils/components/apps/components/display/dbtable/queries/select.d.ts +0 -13
- package/dist/sharedUtils/components/apps/components/display/dbtable/queries/update.d.ts +0 -11
- package/dist/sharedUtils/components/apps/components/display/dbtable/utils.d.ts +0 -95
- package/dist/sharedUtils/components/apps/editor/appPolicy.d.ts +0 -6
- package/dist/sharedUtils/components/apps/editor/appUtilsCore.d.ts +0 -7
- package/dist/sharedUtils/components/apps/editor/appUtilsS3.d.ts +0 -33
- package/dist/sharedUtils/components/apps/editor/commonAppUtils.d.ts +0 -10
- package/dist/sharedUtils/components/apps/editor/component/components.d.ts +0 -5371
- package/dist/sharedUtils/components/apps/editor/component/default-codes.d.ts +0 -3
- package/dist/sharedUtils/components/apps/editor/component/index.d.ts +0 -3
- package/dist/sharedUtils/components/apps/editor/component/sets.d.ts +0 -7
- package/dist/sharedUtils/components/apps/editor/componentsPanel/componentDefaultProps.d.ts +0 -3
- package/dist/sharedUtils/components/apps/gridUtils.d.ts +0 -14
- package/dist/sharedUtils/components/apps/inputType.d.ts +0 -178
- package/dist/sharedUtils/components/apps/rx.d.ts +0 -29
- package/dist/sharedUtils/components/apps/sharedTypes.d.ts +0 -21
- package/dist/sharedUtils/components/apps/types.d.ts +0 -274
- package/dist/sharedUtils/components/assets/lib.d.ts +0 -25
- package/dist/sharedUtils/components/common/alert/model.d.ts +0 -2
- package/dist/sharedUtils/components/common/badge/model.d.ts +0 -8
- package/dist/sharedUtils/components/common/button/model.d.ts +0 -45
- package/dist/sharedUtils/components/common/fileInput/model.d.ts +0 -1
- package/dist/sharedUtils/components/common/index.d.ts +0 -24
- package/dist/sharedUtils/components/common/skeleton/model.d.ts +0 -21
- package/dist/sharedUtils/components/dbTypes.d.ts +0 -14
- package/dist/sharedUtils/components/diff_drawer.d.ts +0 -26
- package/dist/sharedUtils/components/ducklake.d.ts +0 -1
- package/dist/sharedUtils/components/flows/scheduleUtils.d.ts +0 -7
- package/dist/sharedUtils/components/icons/index.d.ts +0 -101
- package/dist/sharedUtils/components/random_positive_adjetive.d.ts +0 -1
- package/dist/sharedUtils/components/raw_apps/rawAppPolicy.d.ts +0 -10
- package/dist/sharedUtils/components/raw_apps/utils.d.ts +0 -15
- package/dist/sharedUtils/components/triggers/email/utils.d.ts +0 -4
- package/dist/sharedUtils/components/triggers/gcp/utils.d.ts +0 -2
- package/dist/sharedUtils/components/triggers/http/utils.d.ts +0 -11
- package/dist/sharedUtils/components/triggers/mqtt/utils.d.ts +0 -2
- package/dist/sharedUtils/components/triggers/nats/utils.d.ts +0 -2
- package/dist/sharedUtils/components/triggers/postgres/utils.d.ts +0 -8
- package/dist/sharedUtils/components/triggers/sqs/utils.d.ts +0 -2
- package/dist/sharedUtils/components/triggers/triggers.svelte.d.ts +0 -32
- package/dist/sharedUtils/components/triggers/utils.d.ts +0 -80
- package/dist/sharedUtils/components/triggers/websocket/utils.d.ts +0 -2
- package/dist/sharedUtils/components/triggers.d.ts +0 -20
- package/dist/sharedUtils/gen/core/ApiError.d.ts +0 -10
- package/dist/sharedUtils/gen/core/ApiRequestOptions.d.ts +0 -13
- package/dist/sharedUtils/gen/core/ApiResult.d.ts +0 -7
- package/dist/sharedUtils/gen/core/CancelablePromise.d.ts +0 -26
- package/dist/sharedUtils/gen/core/OpenAPI.d.ts +0 -27
- package/dist/sharedUtils/gen/core/request.d.ts +0 -29
- package/dist/sharedUtils/gen/index.d.ts +0 -6
- package/dist/sharedUtils/gen/schemas.gen.d.ts +0 -7036
- package/dist/sharedUtils/gen/services.gen.d.ts +0 -6047
- package/dist/sharedUtils/gen/types.gen.d.ts +0 -21881
- package/dist/sharedUtils/history.svelte.d.ts +0 -9
- package/dist/sharedUtils/hub.d.ts +0 -49
- package/dist/sharedUtils/jsr.json +0 -6
- package/dist/sharedUtils/lib.d.ts +0 -5
- package/dist/sharedUtils/lib.es.js +0 -1588
- package/dist/sharedUtils/package.json +0 -12
- package/dist/sharedUtils/schema.d.ts +0 -3
- package/dist/sharedUtils/stores.d.ts +0 -97
- package/dist/sharedUtils/svelte5Utils.svelte.d.ts +0 -80
- package/dist/sharedUtils/toast.d.ts +0 -8
- package/dist/sharedUtils/utils.d.ts +0 -265
- package/package/components/copilot/chat/flow/openFlowZod.js +0 -24
- /package/package/components/copilot/chat/flow/{openFlowZod.d.ts → openFlowZod.gen.d.ts} +0 -0
|
@@ -981,6 +981,25 @@ export class UserService {
|
|
|
981
981
|
}
|
|
982
982
|
});
|
|
983
983
|
}
|
|
984
|
+
/**
|
|
985
|
+
* update scopes of an existing token (owner only)
|
|
986
|
+
* @param data The data for the request.
|
|
987
|
+
* @param data.tokenPrefix
|
|
988
|
+
* @param data.requestBody new scopes (null or omitted = full access)
|
|
989
|
+
* @returns string scopes updated
|
|
990
|
+
* @throws ApiError
|
|
991
|
+
*/
|
|
992
|
+
static updateTokenScopes(data) {
|
|
993
|
+
return __request(OpenAPI, {
|
|
994
|
+
method: 'POST',
|
|
995
|
+
url: '/users/tokens/update_scopes/{token_prefix}',
|
|
996
|
+
path: {
|
|
997
|
+
token_prefix: data.tokenPrefix
|
|
998
|
+
},
|
|
999
|
+
body: data.requestBody,
|
|
1000
|
+
mediaType: 'application/json'
|
|
1001
|
+
});
|
|
1002
|
+
}
|
|
984
1003
|
/**
|
|
985
1004
|
* list token
|
|
986
1005
|
* @param data The data for the request.
|
|
@@ -1727,7 +1746,25 @@ export class WorkspaceService {
|
|
|
1727
1746
|
});
|
|
1728
1747
|
}
|
|
1729
1748
|
/**
|
|
1730
|
-
* get settings
|
|
1749
|
+
* get public settings
|
|
1750
|
+
* Returns the subset of workspace settings safe to expose to any workspace member. The full settings struct is admin-only via `getSettings`.
|
|
1751
|
+
* @param data The data for the request.
|
|
1752
|
+
* @param data.workspace
|
|
1753
|
+
* @returns unknown status
|
|
1754
|
+
* @throws ApiError
|
|
1755
|
+
*/
|
|
1756
|
+
static getPublicSettings(data) {
|
|
1757
|
+
return __request(OpenAPI, {
|
|
1758
|
+
method: 'GET',
|
|
1759
|
+
url: '/w/{workspace}/workspaces/get_public_settings',
|
|
1760
|
+
path: {
|
|
1761
|
+
workspace: data.workspace
|
|
1762
|
+
}
|
|
1763
|
+
});
|
|
1764
|
+
}
|
|
1765
|
+
/**
|
|
1766
|
+
* get settings (admin only)
|
|
1767
|
+
* Returns the full workspace settings including admin-managed integration credentials. Admin-only — non-admin callers should use `getPublicSettings`.
|
|
1731
1768
|
* @param data The data for the request.
|
|
1732
1769
|
* @param data.workspace
|
|
1733
1770
|
* @returns unknown status
|
|
@@ -2066,6 +2103,25 @@ export class WorkspaceService {
|
|
|
2066
2103
|
mediaType: 'application/json'
|
|
2067
2104
|
});
|
|
2068
2105
|
}
|
|
2106
|
+
/**
|
|
2107
|
+
* connect slack (non-interactive; pre-minted bot token)
|
|
2108
|
+
* @param data The data for the request.
|
|
2109
|
+
* @param data.workspace
|
|
2110
|
+
* @param data.requestBody connect slack with a pre-minted bot token
|
|
2111
|
+
* @returns unknown status
|
|
2112
|
+
* @throws ApiError
|
|
2113
|
+
*/
|
|
2114
|
+
static connectSlack(data) {
|
|
2115
|
+
return __request(OpenAPI, {
|
|
2116
|
+
method: 'POST',
|
|
2117
|
+
url: '/w/{workspace}/workspaces/connect_slack',
|
|
2118
|
+
path: {
|
|
2119
|
+
workspace: data.workspace
|
|
2120
|
+
},
|
|
2121
|
+
body: data.requestBody,
|
|
2122
|
+
mediaType: 'application/json'
|
|
2123
|
+
});
|
|
2124
|
+
}
|
|
2069
2125
|
/**
|
|
2070
2126
|
* run a job that sends a message to Slack
|
|
2071
2127
|
* @param data The data for the request.
|
|
@@ -2336,6 +2392,46 @@ export class WorkspaceService {
|
|
|
2336
2392
|
}
|
|
2337
2393
|
});
|
|
2338
2394
|
}
|
|
2395
|
+
/**
|
|
2396
|
+
* list tables of all connected Datatables
|
|
2397
|
+
* @param data The data for the request.
|
|
2398
|
+
* @param data.workspace
|
|
2399
|
+
* @returns DataTableTables table metadata of all datatables
|
|
2400
|
+
* @throws ApiError
|
|
2401
|
+
*/
|
|
2402
|
+
static listDataTableTables(data) {
|
|
2403
|
+
return __request(OpenAPI, {
|
|
2404
|
+
method: 'GET',
|
|
2405
|
+
url: '/w/{workspace}/workspaces/list_datatable_tables',
|
|
2406
|
+
path: {
|
|
2407
|
+
workspace: data.workspace
|
|
2408
|
+
}
|
|
2409
|
+
});
|
|
2410
|
+
}
|
|
2411
|
+
/**
|
|
2412
|
+
* get one Datatable table schema
|
|
2413
|
+
* @param data The data for the request.
|
|
2414
|
+
* @param data.workspace
|
|
2415
|
+
* @param data.datatableName
|
|
2416
|
+
* @param data.schemaName
|
|
2417
|
+
* @param data.tableName
|
|
2418
|
+
* @returns DataTableTableSchema schema of one datatable table
|
|
2419
|
+
* @throws ApiError
|
|
2420
|
+
*/
|
|
2421
|
+
static getDataTableTableSchema(data) {
|
|
2422
|
+
return __request(OpenAPI, {
|
|
2423
|
+
method: 'GET',
|
|
2424
|
+
url: '/w/{workspace}/workspaces/get_datatable_table_schema',
|
|
2425
|
+
path: {
|
|
2426
|
+
workspace: data.workspace
|
|
2427
|
+
},
|
|
2428
|
+
query: {
|
|
2429
|
+
datatable_name: data.datatableName,
|
|
2430
|
+
schema_name: data.schemaName,
|
|
2431
|
+
table_name: data.tableName
|
|
2432
|
+
}
|
|
2433
|
+
});
|
|
2434
|
+
}
|
|
2339
2435
|
/**
|
|
2340
2436
|
* edit ducklake settings
|
|
2341
2437
|
* @param data The data for the request.
|
|
@@ -2971,6 +3067,73 @@ export class WorkspaceService {
|
|
|
2971
3067
|
mediaType: 'application/json'
|
|
2972
3068
|
});
|
|
2973
3069
|
}
|
|
3070
|
+
/**
|
|
3071
|
+
* get the workspace shared UI folder (full content)
|
|
3072
|
+
* @param data The data for the request.
|
|
3073
|
+
* @param data.workspace
|
|
3074
|
+
* @returns unknown shared UI content
|
|
3075
|
+
* @throws ApiError
|
|
3076
|
+
*/
|
|
3077
|
+
static getSharedUi(data) {
|
|
3078
|
+
return __request(OpenAPI, {
|
|
3079
|
+
method: 'GET',
|
|
3080
|
+
url: '/w/{workspace}/shared_ui/get',
|
|
3081
|
+
path: {
|
|
3082
|
+
workspace: data.workspace
|
|
3083
|
+
}
|
|
3084
|
+
});
|
|
3085
|
+
}
|
|
3086
|
+
/**
|
|
3087
|
+
* list paths/sizes of the workspace shared UI folder
|
|
3088
|
+
* @param data The data for the request.
|
|
3089
|
+
* @param data.workspace
|
|
3090
|
+
* @returns unknown shared UI listing
|
|
3091
|
+
* @throws ApiError
|
|
3092
|
+
*/
|
|
3093
|
+
static listSharedUi(data) {
|
|
3094
|
+
return __request(OpenAPI, {
|
|
3095
|
+
method: 'GET',
|
|
3096
|
+
url: '/w/{workspace}/shared_ui/list',
|
|
3097
|
+
path: {
|
|
3098
|
+
workspace: data.workspace
|
|
3099
|
+
}
|
|
3100
|
+
});
|
|
3101
|
+
}
|
|
3102
|
+
/**
|
|
3103
|
+
* get the current version of the workspace shared UI folder
|
|
3104
|
+
* @param data The data for the request.
|
|
3105
|
+
* @param data.workspace
|
|
3106
|
+
* @returns unknown shared UI version
|
|
3107
|
+
* @throws ApiError
|
|
3108
|
+
*/
|
|
3109
|
+
static getSharedUiVersion(data) {
|
|
3110
|
+
return __request(OpenAPI, {
|
|
3111
|
+
method: 'GET',
|
|
3112
|
+
url: '/w/{workspace}/shared_ui/version',
|
|
3113
|
+
path: {
|
|
3114
|
+
workspace: data.workspace
|
|
3115
|
+
}
|
|
3116
|
+
});
|
|
3117
|
+
}
|
|
3118
|
+
/**
|
|
3119
|
+
* replace the workspace shared UI folder (admin only)
|
|
3120
|
+
* @param data The data for the request.
|
|
3121
|
+
* @param data.workspace
|
|
3122
|
+
* @param data.requestBody
|
|
3123
|
+
* @returns string updated
|
|
3124
|
+
* @throws ApiError
|
|
3125
|
+
*/
|
|
3126
|
+
static updateSharedUi(data) {
|
|
3127
|
+
return __request(OpenAPI, {
|
|
3128
|
+
method: 'PUT',
|
|
3129
|
+
url: '/w/{workspace}/shared_ui',
|
|
3130
|
+
path: {
|
|
3131
|
+
workspace: data.workspace
|
|
3132
|
+
},
|
|
3133
|
+
body: data.requestBody,
|
|
3134
|
+
mediaType: 'application/json'
|
|
3135
|
+
});
|
|
3136
|
+
}
|
|
2974
3137
|
}
|
|
2975
3138
|
export class SettingService {
|
|
2976
3139
|
/**
|
|
@@ -3948,6 +4111,21 @@ export class OauthService {
|
|
|
3948
4111
|
mediaType: 'application/json'
|
|
3949
4112
|
});
|
|
3950
4113
|
}
|
|
4114
|
+
/**
|
|
4115
|
+
* connect slack instance (non-interactive; pre-minted bot token)
|
|
4116
|
+
* @param data The data for the request.
|
|
4117
|
+
* @param data.requestBody connect slack at the instance level with a pre-minted bot token
|
|
4118
|
+
* @returns unknown status
|
|
4119
|
+
* @throws ApiError
|
|
4120
|
+
*/
|
|
4121
|
+
static connectSlackInstance(data) {
|
|
4122
|
+
return __request(OpenAPI, {
|
|
4123
|
+
method: 'POST',
|
|
4124
|
+
url: '/oauth/connect_slack_instance',
|
|
4125
|
+
body: data.requestBody,
|
|
4126
|
+
mediaType: 'application/json'
|
|
4127
|
+
});
|
|
4128
|
+
}
|
|
3951
4129
|
/**
|
|
3952
4130
|
* connect callback
|
|
3953
4131
|
* @param data The data for the request.
|
|
@@ -5942,6 +6120,9 @@ export class ScriptService {
|
|
|
5942
6120
|
}
|
|
5943
6121
|
/**
|
|
5944
6122
|
* create script
|
|
6123
|
+
* Creates a new script when the path does not already exist.
|
|
6124
|
+
* Creates a new version of an existing script when called with the same path and the current `parent_hash`.
|
|
6125
|
+
*
|
|
5945
6126
|
* @param data The data for the request.
|
|
5946
6127
|
* @param data.workspace
|
|
5947
6128
|
* @param data.requestBody Partially filled script
|
|
@@ -7640,6 +7821,44 @@ export class JobService {
|
|
|
7640
7821
|
mediaType: 'application/json'
|
|
7641
7822
|
});
|
|
7642
7823
|
}
|
|
7824
|
+
/**
|
|
7825
|
+
* queue a one-off dependencies job and return the job uuid
|
|
7826
|
+
* @param data The data for the request.
|
|
7827
|
+
* @param data.workspace
|
|
7828
|
+
* @param data.requestBody raw script content
|
|
7829
|
+
* @returns string dependency job created
|
|
7830
|
+
* @throws ApiError
|
|
7831
|
+
*/
|
|
7832
|
+
static runRawScriptDependenciesAsync(data) {
|
|
7833
|
+
return __request(OpenAPI, {
|
|
7834
|
+
method: 'POST',
|
|
7835
|
+
url: '/w/{workspace}/jobs/run/dependencies_async',
|
|
7836
|
+
path: {
|
|
7837
|
+
workspace: data.workspace
|
|
7838
|
+
},
|
|
7839
|
+
body: data.requestBody,
|
|
7840
|
+
mediaType: 'application/json'
|
|
7841
|
+
});
|
|
7842
|
+
}
|
|
7843
|
+
/**
|
|
7844
|
+
* queue a one-off flow dependencies job and return the job uuid
|
|
7845
|
+
* @param data The data for the request.
|
|
7846
|
+
* @param data.workspace
|
|
7847
|
+
* @param data.requestBody flow value and path
|
|
7848
|
+
* @returns string flow dependencies job created
|
|
7849
|
+
* @throws ApiError
|
|
7850
|
+
*/
|
|
7851
|
+
static runFlowDependenciesAsync(data) {
|
|
7852
|
+
return __request(OpenAPI, {
|
|
7853
|
+
method: 'POST',
|
|
7854
|
+
url: '/w/{workspace}/jobs/run/flow_dependencies_async',
|
|
7855
|
+
path: {
|
|
7856
|
+
workspace: data.workspace
|
|
7857
|
+
},
|
|
7858
|
+
body: data.requestBody,
|
|
7859
|
+
mediaType: 'application/json'
|
|
7860
|
+
});
|
|
7861
|
+
}
|
|
7643
7862
|
/**
|
|
7644
7863
|
* run flow preview
|
|
7645
7864
|
* @param data The data for the request.
|
|
@@ -7993,6 +8212,7 @@ export class JobService {
|
|
|
7993
8212
|
* @param data.workspace
|
|
7994
8213
|
* @param data.requestBody uuids of the jobs to cancel
|
|
7995
8214
|
* @param data.forceCancel
|
|
8215
|
+
* @param data.allWorkspaces
|
|
7996
8216
|
* @returns string uuids of canceled jobs
|
|
7997
8217
|
* @throws ApiError
|
|
7998
8218
|
*/
|
|
@@ -8004,7 +8224,8 @@ export class JobService {
|
|
|
8004
8224
|
workspace: data.workspace
|
|
8005
8225
|
},
|
|
8006
8226
|
query: {
|
|
8007
|
-
force_cancel: data.forceCancel
|
|
8227
|
+
force_cancel: data.forceCancel,
|
|
8228
|
+
all_workspaces: data.allWorkspaces
|
|
8008
8229
|
},
|
|
8009
8230
|
body: data.requestBody,
|
|
8010
8231
|
mediaType: 'application/json'
|
|
@@ -8313,6 +8534,7 @@ export class JobService {
|
|
|
8313
8534
|
* @param data.id
|
|
8314
8535
|
* @param data.noLogs
|
|
8315
8536
|
* @param data.noCode
|
|
8537
|
+
* @param data.approvalToken Approval token granting read access to the job when not logged in. The token must be the one issued for this job's flow (i.e. the flow id used when generating the approval URL).
|
|
8316
8538
|
* @returns Job job details
|
|
8317
8539
|
* @throws ApiError
|
|
8318
8540
|
*/
|
|
@@ -8326,7 +8548,8 @@ export class JobService {
|
|
|
8326
8548
|
},
|
|
8327
8549
|
query: {
|
|
8328
8550
|
no_logs: data.noLogs,
|
|
8329
|
-
no_code: data.noCode
|
|
8551
|
+
no_code: data.noCode,
|
|
8552
|
+
approval_token: data.approvalToken
|
|
8330
8553
|
}
|
|
8331
8554
|
});
|
|
8332
8555
|
}
|
|
@@ -9204,7 +9427,7 @@ export class JobService {
|
|
|
9204
9427
|
});
|
|
9205
9428
|
}
|
|
9206
9429
|
}
|
|
9207
|
-
export class
|
|
9430
|
+
export class FlowConversationsService {
|
|
9208
9431
|
/**
|
|
9209
9432
|
* list flow conversations
|
|
9210
9433
|
* @param data The data for the request.
|
|
@@ -9254,7 +9477,7 @@ export class FlowConversationService {
|
|
|
9254
9477
|
* @param data.conversationId conversation id
|
|
9255
9478
|
* @param data.page which page to return (start at 1, default 1)
|
|
9256
9479
|
* @param data.perPage number of items to return for a given page (default 30, max 100)
|
|
9257
|
-
* @param data.
|
|
9480
|
+
* @param data.afterSeq Message sequence cursor to fetch only the messages after that cursor
|
|
9258
9481
|
* @returns FlowConversationMessage conversation messages
|
|
9259
9482
|
* @throws ApiError
|
|
9260
9483
|
*/
|
|
@@ -9269,7 +9492,7 @@ export class FlowConversationService {
|
|
|
9269
9492
|
query: {
|
|
9270
9493
|
page: data.page,
|
|
9271
9494
|
per_page: data.perPage,
|
|
9272
|
-
|
|
9495
|
+
after_seq: data.afterSeq
|
|
9273
9496
|
}
|
|
9274
9497
|
});
|
|
9275
9498
|
}
|
|
@@ -11354,6 +11577,269 @@ export class GcpTriggerService {
|
|
|
11354
11577
|
});
|
|
11355
11578
|
}
|
|
11356
11579
|
}
|
|
11580
|
+
export class AzureTriggerService {
|
|
11581
|
+
/**
|
|
11582
|
+
* create an Azure Event Grid trigger
|
|
11583
|
+
* @param data The data for the request.
|
|
11584
|
+
* @param data.workspace
|
|
11585
|
+
* @param data.requestBody
|
|
11586
|
+
* @returns string azure trigger created
|
|
11587
|
+
* @throws ApiError
|
|
11588
|
+
*/
|
|
11589
|
+
static createAzureTrigger(data) {
|
|
11590
|
+
return __request(OpenAPI, {
|
|
11591
|
+
method: 'POST',
|
|
11592
|
+
url: '/w/{workspace}/azure_triggers/create',
|
|
11593
|
+
path: {
|
|
11594
|
+
workspace: data.workspace
|
|
11595
|
+
},
|
|
11596
|
+
body: data.requestBody,
|
|
11597
|
+
mediaType: 'application/json'
|
|
11598
|
+
});
|
|
11599
|
+
}
|
|
11600
|
+
/**
|
|
11601
|
+
* update an Azure Event Grid trigger
|
|
11602
|
+
* @param data The data for the request.
|
|
11603
|
+
* @param data.workspace
|
|
11604
|
+
* @param data.path
|
|
11605
|
+
* @param data.requestBody
|
|
11606
|
+
* @returns string azure trigger updated
|
|
11607
|
+
* @throws ApiError
|
|
11608
|
+
*/
|
|
11609
|
+
static updateAzureTrigger(data) {
|
|
11610
|
+
return __request(OpenAPI, {
|
|
11611
|
+
method: 'POST',
|
|
11612
|
+
url: '/w/{workspace}/azure_triggers/update/{path}',
|
|
11613
|
+
path: {
|
|
11614
|
+
workspace: data.workspace,
|
|
11615
|
+
path: data.path
|
|
11616
|
+
},
|
|
11617
|
+
body: data.requestBody,
|
|
11618
|
+
mediaType: 'application/json'
|
|
11619
|
+
});
|
|
11620
|
+
}
|
|
11621
|
+
/**
|
|
11622
|
+
* delete an Azure Event Grid trigger
|
|
11623
|
+
* @param data The data for the request.
|
|
11624
|
+
* @param data.workspace
|
|
11625
|
+
* @param data.path
|
|
11626
|
+
* @returns string azure trigger deleted
|
|
11627
|
+
* @throws ApiError
|
|
11628
|
+
*/
|
|
11629
|
+
static deleteAzureTrigger(data) {
|
|
11630
|
+
return __request(OpenAPI, {
|
|
11631
|
+
method: 'DELETE',
|
|
11632
|
+
url: '/w/{workspace}/azure_triggers/delete/{path}',
|
|
11633
|
+
path: {
|
|
11634
|
+
workspace: data.workspace,
|
|
11635
|
+
path: data.path
|
|
11636
|
+
}
|
|
11637
|
+
});
|
|
11638
|
+
}
|
|
11639
|
+
/**
|
|
11640
|
+
* get an Azure Event Grid trigger
|
|
11641
|
+
* @param data The data for the request.
|
|
11642
|
+
* @param data.workspace
|
|
11643
|
+
* @param data.path
|
|
11644
|
+
* @returns AzureTrigger azure trigger
|
|
11645
|
+
* @throws ApiError
|
|
11646
|
+
*/
|
|
11647
|
+
static getAzureTrigger(data) {
|
|
11648
|
+
return __request(OpenAPI, {
|
|
11649
|
+
method: 'GET',
|
|
11650
|
+
url: '/w/{workspace}/azure_triggers/get/{path}',
|
|
11651
|
+
path: {
|
|
11652
|
+
workspace: data.workspace,
|
|
11653
|
+
path: data.path
|
|
11654
|
+
}
|
|
11655
|
+
});
|
|
11656
|
+
}
|
|
11657
|
+
/**
|
|
11658
|
+
* list azure triggers
|
|
11659
|
+
* @param data The data for the request.
|
|
11660
|
+
* @param data.workspace
|
|
11661
|
+
* @param data.page which page to return (start at 1, default 1)
|
|
11662
|
+
* @param data.perPage number of items to return for a given page (default 30, max 100)
|
|
11663
|
+
* @param data.path filter by exact path
|
|
11664
|
+
* @param data.isFlow
|
|
11665
|
+
* @param data.pathStart
|
|
11666
|
+
* @returns AzureTrigger azure trigger list
|
|
11667
|
+
* @throws ApiError
|
|
11668
|
+
*/
|
|
11669
|
+
static listAzureTriggers(data) {
|
|
11670
|
+
return __request(OpenAPI, {
|
|
11671
|
+
method: 'GET',
|
|
11672
|
+
url: '/w/{workspace}/azure_triggers/list',
|
|
11673
|
+
path: {
|
|
11674
|
+
workspace: data.workspace
|
|
11675
|
+
},
|
|
11676
|
+
query: {
|
|
11677
|
+
page: data.page,
|
|
11678
|
+
per_page: data.perPage,
|
|
11679
|
+
path: data.path,
|
|
11680
|
+
is_flow: data.isFlow,
|
|
11681
|
+
path_start: data.pathStart
|
|
11682
|
+
}
|
|
11683
|
+
});
|
|
11684
|
+
}
|
|
11685
|
+
/**
|
|
11686
|
+
* check whether an azure trigger exists
|
|
11687
|
+
* @param data The data for the request.
|
|
11688
|
+
* @param data.workspace
|
|
11689
|
+
* @param data.path
|
|
11690
|
+
* @returns boolean true/false
|
|
11691
|
+
* @throws ApiError
|
|
11692
|
+
*/
|
|
11693
|
+
static existsAzureTrigger(data) {
|
|
11694
|
+
return __request(OpenAPI, {
|
|
11695
|
+
method: 'GET',
|
|
11696
|
+
url: '/w/{workspace}/azure_triggers/exists/{path}',
|
|
11697
|
+
path: {
|
|
11698
|
+
workspace: data.workspace,
|
|
11699
|
+
path: data.path
|
|
11700
|
+
}
|
|
11701
|
+
});
|
|
11702
|
+
}
|
|
11703
|
+
/**
|
|
11704
|
+
* set azure trigger mode
|
|
11705
|
+
* @param data The data for the request.
|
|
11706
|
+
* @param data.workspace
|
|
11707
|
+
* @param data.path
|
|
11708
|
+
* @param data.requestBody
|
|
11709
|
+
* @returns string trigger mode updated
|
|
11710
|
+
* @throws ApiError
|
|
11711
|
+
*/
|
|
11712
|
+
static setAzureTriggerMode(data) {
|
|
11713
|
+
return __request(OpenAPI, {
|
|
11714
|
+
method: 'POST',
|
|
11715
|
+
url: '/w/{workspace}/azure_triggers/setmode/{path}',
|
|
11716
|
+
path: {
|
|
11717
|
+
workspace: data.workspace,
|
|
11718
|
+
path: data.path
|
|
11719
|
+
},
|
|
11720
|
+
body: data.requestBody,
|
|
11721
|
+
mediaType: 'application/json'
|
|
11722
|
+
});
|
|
11723
|
+
}
|
|
11724
|
+
/**
|
|
11725
|
+
* test Azure service principal connection
|
|
11726
|
+
* @param data The data for the request.
|
|
11727
|
+
* @param data.workspace
|
|
11728
|
+
* @param data.requestBody
|
|
11729
|
+
* @returns string connection successful
|
|
11730
|
+
* @throws ApiError
|
|
11731
|
+
*/
|
|
11732
|
+
static testAzureConnection(data) {
|
|
11733
|
+
return __request(OpenAPI, {
|
|
11734
|
+
method: 'POST',
|
|
11735
|
+
url: '/w/{workspace}/azure_triggers/test',
|
|
11736
|
+
path: {
|
|
11737
|
+
workspace: data.workspace
|
|
11738
|
+
},
|
|
11739
|
+
body: data.requestBody,
|
|
11740
|
+
mediaType: 'application/json'
|
|
11741
|
+
});
|
|
11742
|
+
}
|
|
11743
|
+
/**
|
|
11744
|
+
* list topics under an Event Grid Namespace
|
|
11745
|
+
* @param data The data for the request.
|
|
11746
|
+
* @param data.workspace
|
|
11747
|
+
* @param data.path
|
|
11748
|
+
* @param data.requestBody
|
|
11749
|
+
* @returns unknown topic list
|
|
11750
|
+
* @throws ApiError
|
|
11751
|
+
*/
|
|
11752
|
+
static listAzureNamespaceTopics(data) {
|
|
11753
|
+
return __request(OpenAPI, {
|
|
11754
|
+
method: 'POST',
|
|
11755
|
+
url: '/w/{workspace}/azure_triggers/namespaces/topics/list/{path}',
|
|
11756
|
+
path: {
|
|
11757
|
+
workspace: data.workspace,
|
|
11758
|
+
path: data.path
|
|
11759
|
+
},
|
|
11760
|
+
body: data.requestBody,
|
|
11761
|
+
mediaType: 'application/json'
|
|
11762
|
+
});
|
|
11763
|
+
}
|
|
11764
|
+
/**
|
|
11765
|
+
* list subscriptions under a Namespace topic
|
|
11766
|
+
* @param data The data for the request.
|
|
11767
|
+
* @param data.workspace
|
|
11768
|
+
* @param data.path
|
|
11769
|
+
* @param data.requestBody
|
|
11770
|
+
* @returns unknown subscription list
|
|
11771
|
+
* @throws ApiError
|
|
11772
|
+
*/
|
|
11773
|
+
static listAzureNamespaceSubscriptions(data) {
|
|
11774
|
+
return __request(OpenAPI, {
|
|
11775
|
+
method: 'POST',
|
|
11776
|
+
url: '/w/{workspace}/azure_triggers/namespaces/subscriptions/list/{path}',
|
|
11777
|
+
path: {
|
|
11778
|
+
workspace: data.workspace,
|
|
11779
|
+
path: data.path
|
|
11780
|
+
},
|
|
11781
|
+
body: data.requestBody,
|
|
11782
|
+
mediaType: 'application/json'
|
|
11783
|
+
});
|
|
11784
|
+
}
|
|
11785
|
+
/**
|
|
11786
|
+
* delete an Event Grid subscription on Azure
|
|
11787
|
+
* @param data The data for the request.
|
|
11788
|
+
* @param data.workspace
|
|
11789
|
+
* @param data.path
|
|
11790
|
+
* @param data.requestBody
|
|
11791
|
+
* @returns string subscription deleted
|
|
11792
|
+
* @throws ApiError
|
|
11793
|
+
*/
|
|
11794
|
+
static deleteAzureSubscription(data) {
|
|
11795
|
+
return __request(OpenAPI, {
|
|
11796
|
+
method: 'DELETE',
|
|
11797
|
+
url: '/w/{workspace}/azure_triggers/subscriptions/delete/{path}',
|
|
11798
|
+
path: {
|
|
11799
|
+
workspace: data.workspace,
|
|
11800
|
+
path: data.path
|
|
11801
|
+
},
|
|
11802
|
+
body: data.requestBody,
|
|
11803
|
+
mediaType: 'application/json'
|
|
11804
|
+
});
|
|
11805
|
+
}
|
|
11806
|
+
/**
|
|
11807
|
+
* list Event Grid Namespaces the service principal can access
|
|
11808
|
+
* @param data The data for the request.
|
|
11809
|
+
* @param data.workspace
|
|
11810
|
+
* @param data.path
|
|
11811
|
+
* @returns AzureArmResource namespace list
|
|
11812
|
+
* @throws ApiError
|
|
11813
|
+
*/
|
|
11814
|
+
static listAzureNamespaces(data) {
|
|
11815
|
+
return __request(OpenAPI, {
|
|
11816
|
+
method: 'POST',
|
|
11817
|
+
url: '/w/{workspace}/azure_triggers/namespaces/list/{path}',
|
|
11818
|
+
path: {
|
|
11819
|
+
workspace: data.workspace,
|
|
11820
|
+
path: data.path
|
|
11821
|
+
}
|
|
11822
|
+
});
|
|
11823
|
+
}
|
|
11824
|
+
/**
|
|
11825
|
+
* list Basic Event Grid topics + system topics the service principal can access
|
|
11826
|
+
* @param data The data for the request.
|
|
11827
|
+
* @param data.workspace
|
|
11828
|
+
* @param data.path
|
|
11829
|
+
* @returns AzureArmResource topic list
|
|
11830
|
+
* @throws ApiError
|
|
11831
|
+
*/
|
|
11832
|
+
static listAzureBasicTopics(data) {
|
|
11833
|
+
return __request(OpenAPI, {
|
|
11834
|
+
method: 'POST',
|
|
11835
|
+
url: '/w/{workspace}/azure_triggers/basic/topics/list/{path}',
|
|
11836
|
+
path: {
|
|
11837
|
+
workspace: data.workspace,
|
|
11838
|
+
path: data.path
|
|
11839
|
+
}
|
|
11840
|
+
});
|
|
11841
|
+
}
|
|
11842
|
+
}
|
|
11357
11843
|
export class PostgresTriggerService {
|
|
11358
11844
|
/**
|
|
11359
11845
|
* get postgres version
|
|
@@ -13388,6 +13874,10 @@ export class HelpersService {
|
|
|
13388
13874
|
* @param data The data for the request.
|
|
13389
13875
|
* @param data.workspace
|
|
13390
13876
|
* @param data.fileKey S3 file key to check (e.g., gitrepos/{workspace_id}/u/user/resource/{commit_hash})
|
|
13877
|
+
* @param data.markerFile If provided, the folder is only considered to exist when this exact
|
|
13878
|
+
* sentinel file is present under file_key. Lets callers distinguish a
|
|
13879
|
+
* fully populated folder from a partial upload.
|
|
13880
|
+
*
|
|
13391
13881
|
* @returns unknown S3 folder existence check result
|
|
13392
13882
|
* @throws ApiError
|
|
13393
13883
|
*/
|
|
@@ -13399,7 +13889,8 @@ export class HelpersService {
|
|
|
13399
13889
|
workspace: data.workspace
|
|
13400
13890
|
},
|
|
13401
13891
|
query: {
|
|
13402
|
-
file_key: data.fileKey
|
|
13892
|
+
file_key: data.fileKey,
|
|
13893
|
+
marker_file: data.markerFile
|
|
13403
13894
|
}
|
|
13404
13895
|
});
|
|
13405
13896
|
}
|