windmill-components 1.558.3 → 1.596.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/README.md +1 -1
- package/package/aiStore.d.ts +2 -0
- package/package/aiStore.js +24 -0
- package/package/ansibleUtils.d.ts +60 -0
- package/package/ansibleUtils.js +338 -0
- package/package/assets/app.css +22 -2
- package/package/assets/tokens/README.md +1 -0
- package/package/assets/tokens/colorTokensConfig.d.ts +2 -0
- package/package/assets/tokens/colorTokensConfig.js +2 -0
- package/package/assets/tokens/tokens.json +481 -0
- package/package/cancelable-promise-utils.d.ts +11 -0
- package/package/cancelable-promise-utils.js +70 -0
- package/package/common.d.ts +5 -1
- package/package/components/AIAgentLogViewer.svelte +59 -1
- package/package/components/AIAgentLogViewer.svelte.d.ts +3 -2
- package/package/components/AIProviderPicker.svelte +140 -57
- package/package/components/AddUser.svelte +2 -3
- package/package/components/ApiConnectForm.svelte +3 -10
- package/package/components/ApiConnectForm.svelte.d.ts +1 -1
- package/package/components/AppConnectDrawer.svelte +3 -3
- package/package/components/AppConnectInner.svelte +212 -164
- package/package/components/AppConnectLightweightResourcePicker.svelte +2 -2
- package/package/components/AppTutorials.svelte +19 -42
- package/package/components/AppTutorials.svelte.d.ts +3 -25
- package/package/components/ArgEnum.svelte +9 -2
- package/package/components/ArgEnum.svelte.d.ts +1 -0
- package/package/components/ArgInfo.svelte +8 -8
- package/package/components/ArgInput.svelte +127 -88
- package/package/components/ArgInput.svelte.d.ts +2 -1
- package/package/components/ArrayTypeNarrowing.svelte +9 -5
- package/package/components/ArrayTypeNarrowing.svelte.d.ts +2 -1
- package/package/components/AssignableTags.svelte +3 -3
- package/package/components/AssignableTags.svelte.d.ts +1 -2
- package/package/components/AssignableTagsInner.svelte +116 -74
- package/package/components/AssignableTagsInner.svelte.d.ts +1 -1
- package/package/components/Auth0Setting.svelte +74 -29
- package/package/components/AuthSettings.svelte +295 -108
- package/package/components/AutheliaSetting.svelte +26 -15
- package/package/components/AuthentikSetting.svelte +16 -14
- package/package/components/AutoscalingConfigEditor.svelte +417 -337
- package/package/components/AutoscalingConfigEditor.svelte.d.ts +3 -19
- package/package/components/AutoscalingEvents.svelte +64 -42
- package/package/components/Awareness.svelte +14 -11
- package/package/components/Awareness.svelte.d.ts +2 -17
- package/package/components/AzureOauthSettings.svelte +10 -6
- package/package/components/CenteredModal.svelte +4 -4
- package/package/components/CenteredPage.svelte +6 -5
- package/package/components/CenteredPage.svelte.d.ts +8 -38
- package/package/components/ChangeInstanceUsernameInner.svelte +4 -5
- package/package/components/ChannelSelector.svelte +103 -72
- package/package/components/ChannelSelector.svelte.d.ts +2 -0
- package/package/components/CliHelpBox.svelte +17 -13
- package/package/components/CollapseLink.svelte +16 -16
- package/package/components/CollapseLink.svelte.d.ts +7 -30
- package/package/components/CompareWorkspaces.svelte +945 -0
- package/package/components/CompareWorkspaces.svelte.d.ts +9 -0
- package/package/components/ConnectionSection.svelte +122 -106
- package/package/components/ConnectionSection.svelte.d.ts +10 -20
- package/package/components/ContentSearchInner.svelte +15 -60
- package/package/components/ContentSearchInnerItem.svelte +1 -1
- package/package/components/ContextualVariableEditor.svelte +14 -9
- package/package/components/CronBuilder.svelte +11 -10
- package/package/components/CronInput.svelte +161 -162
- package/package/components/CronInput.svelte.d.ts +1 -1
- package/package/components/CustomOauth.svelte +56 -53
- package/package/components/CustomSso.svelte +7 -7
- package/package/components/DBManager.svelte +108 -90
- package/package/components/DBManager.svelte.d.ts +6 -6
- package/package/components/DBManagerDrawer.svelte +13 -26
- package/package/components/DBManagerDrawer.svelte.d.ts +1 -1
- package/package/components/DBTableEditor.svelte +25 -22
- package/package/components/DBTableEditor.svelte.d.ts +5 -5
- package/package/components/DateInput.svelte +3 -0
- package/package/components/DateInput.svelte.d.ts +1 -1
- package/package/components/DateTimeInput.svelte +18 -20
- package/package/components/DateTimeInput.svelte.d.ts +1 -1
- package/package/components/DefaultScripts.svelte +1 -8
- package/package/components/DefaultScriptsInner.svelte +2 -1
- package/package/components/DefaultTagsInner.svelte +108 -69
- package/package/components/DefaultTagsInner.svelte.d.ts +4 -18
- package/package/components/DependenciesDeploymentWarning.svelte +265 -0
- package/package/components/DependenciesDeploymentWarning.svelte.d.ts +13 -0
- package/package/components/DeployButton.svelte +5 -3
- package/package/components/DeployToSetting.svelte +7 -8
- package/package/components/DeployWorkspace.svelte +58 -28
- package/package/components/DeployWorkspace.svelte.d.ts +9 -9
- package/package/components/Description.svelte +1 -1
- package/package/components/Dev.svelte +32 -13
- package/package/components/Dev.svelte.d.ts +1 -0
- package/package/components/DiffDrawer.svelte +76 -37
- package/package/components/DiffDrawer.svelte.d.ts +1 -0
- package/package/components/DiffEditor.svelte +6 -0
- package/package/components/DiffEditor.svelte.d.ts +2 -1
- package/package/components/DisplayResult.svelte +59 -75
- package/package/components/DisplayResultControlBar.svelte +1 -1
- package/package/components/DraftBadge.svelte +2 -2
- package/package/components/DropdownV2.svelte +13 -9
- package/package/components/DropdownV2.svelte.d.ts +4 -0
- package/package/components/DropdownV2Inner.svelte +12 -4
- package/package/components/DynamicInput.svelte +1 -1
- package/package/components/EEOnly.svelte +25 -0
- package/package/components/EEOnly.svelte.d.ts +7 -0
- package/package/components/EditableSchemaForm.svelte +10 -12
- package/package/components/Editor.svelte +175 -18
- package/package/components/Editor.svelte.d.ts +5 -0
- package/package/components/EditorBar.svelte +210 -112
- package/package/components/EditorBar.svelte.d.ts +2 -4
- package/package/components/EditorSettings.svelte +2 -4
- package/package/components/EditorSettings.svelte.d.ts +3 -0
- package/package/components/ErrorOrRecoveryHandler.svelte +320 -334
- package/package/components/ErrorOrRecoveryHandler.svelte.d.ts +2 -0
- package/package/components/ExploreAssetButton.svelte +36 -11
- package/package/components/FakeMonacoPlaceHolder.svelte +11 -7
- package/package/components/FieldHeader.svelte +4 -4
- package/package/components/FlowBuilder.svelte +88 -69
- package/package/components/FlowGraphDiffViewer.svelte +210 -0
- package/package/components/FlowGraphDiffViewer.svelte.d.ts +7 -0
- package/package/components/FlowGraphViewer.svelte +2 -1
- package/package/components/FlowGraphViewerStep.svelte +6 -3
- package/package/components/FlowGraphViewerStep.svelte.d.ts +1 -0
- package/package/components/FlowHistoryJobPicker.svelte +9 -11
- package/package/components/FlowHistoryJobPicker.svelte.d.ts +8 -7
- package/package/components/FlowJobResult.svelte +8 -6
- package/package/components/FlowJobResult.svelte.d.ts +3 -2
- package/package/components/FlowLogRow.svelte +1 -1
- package/package/components/FlowLogViewer.svelte +18 -14
- package/package/components/FlowLoopIterationPreview.svelte +9 -9
- package/package/components/FlowLoopIterationPreview.svelte.d.ts +1 -1
- package/package/components/FlowMetadata.svelte +19 -19
- package/package/components/FlowPlugConnect.svelte +3 -5
- package/package/components/FlowPreviewContent.svelte +50 -129
- package/package/components/FlowPreviewContent.svelte.d.ts +3 -3
- package/package/components/FlowPreviewResult.svelte +4 -0
- package/package/components/FlowRestartButton.svelte +192 -0
- package/package/components/FlowRestartButton.svelte.d.ts +15 -0
- package/package/components/FlowStatusViewerInner.svelte +171 -111
- package/package/components/FlowStatusWaitingForEvents.svelte +13 -7
- package/package/components/FlowTimelineBar.svelte +1 -1
- package/package/components/FlowTutorials.svelte +19 -60
- package/package/components/FlowTutorials.svelte.d.ts +3 -21
- package/package/components/FlowViewer.svelte +3 -3
- package/package/components/FlowViewerInner.svelte +5 -5
- package/package/components/FolderEditor.svelte +229 -207
- package/package/components/FolderInfo.svelte +3 -3
- package/package/components/FolderPicker.svelte +6 -9
- package/package/components/ForkWorkspaceBanner.svelte +183 -0
- package/package/components/ForkWorkspaceBanner.svelte.d.ts +3 -0
- package/package/components/GfmMarkdown.svelte +2 -2
- package/package/components/GfmMarkdown.svelte.d.ts +5 -18
- package/package/components/GitDiffPreview.svelte +5 -5
- package/package/components/GitHubAppIntegration.svelte +67 -41
- package/package/components/GitRepoPopoverPicker.svelte +83 -0
- package/package/components/GitRepoPopoverPicker.svelte.d.ts +26 -0
- package/package/components/GitRepoResourcePicker.svelte +230 -0
- package/package/components/GitRepoResourcePicker.svelte.d.ts +37 -0
- package/package/components/GitRepoViewer.svelte +167 -0
- package/package/components/GitRepoViewer.svelte.d.ts +8 -0
- package/package/components/GroupEditor.svelte +192 -163
- package/package/components/GroupInfo.svelte +25 -6
- package/package/components/HighlightCode.svelte +3 -0
- package/package/components/HighlightCode.svelte.d.ts +2 -2
- package/package/components/HighlightTheme.svelte +2 -5
- package/package/components/HistoricInputs.svelte +5 -5
- package/package/components/HistoricInputs.svelte.d.ts +1 -1
- package/package/components/HistoricList.svelte +1 -1
- package/package/components/HttpAgentWorkerDrawer.svelte +217 -148
- package/package/components/IconedPath.svelte +2 -3
- package/package/components/IconedPath.svelte.d.ts +6 -20
- package/package/components/IconedResourceType.svelte +1 -1
- package/package/components/InfiniteList.svelte.d.ts +1 -1
- package/package/components/InputTransformForm.svelte +233 -167
- package/package/components/InputTransformForm.svelte.d.ts +3 -1
- package/package/components/InputTransformSchemaForm.svelte +23 -7
- package/package/components/InputTransformSchemaForm.svelte.d.ts +2 -1
- package/package/components/InputTransformsViewer.svelte +1 -1
- package/package/components/InstanceGroupEditor.svelte +1 -2
- package/package/components/InstanceNameEditor.svelte +28 -23
- package/package/components/InstanceSetting.svelte +358 -538
- package/package/components/InstanceSetting.svelte.d.ts +2 -0
- package/package/components/InstanceSettings.svelte +149 -124
- package/package/components/InviteGlobalUser.svelte +6 -7
- package/package/components/InviteUser.svelte +2 -8
- package/package/components/ItemPicker.svelte +2 -4
- package/package/components/JobArgs.svelte +1 -1
- package/package/components/JobLoader.svelte +4 -1
- package/package/components/JsonEditor.svelte +6 -7
- package/package/components/KanidmSetting.svelte +25 -15
- package/package/components/KeycloakSetting.svelte +26 -15
- package/package/components/Label.svelte +17 -5
- package/package/components/Label.svelte.d.ts +3 -1
- package/package/components/LightweightResourcePicker.svelte +1 -1
- package/package/components/LogViewer.svelte +15 -16
- package/package/components/LogViewerHeader.svelte +3 -4
- package/package/components/Login.svelte +27 -43
- package/package/components/Login.svelte.d.ts +3 -19
- package/package/components/ManageTagsDrawer.svelte +55 -0
- package/package/components/ManageTagsDrawer.svelte.d.ts +12 -0
- package/package/components/MapResult.svelte +9 -11
- package/package/components/McpToolCallDetails.svelte +33 -0
- package/package/components/McpToolCallDetails.svelte.d.ts +11 -0
- package/package/components/ModulePreview.svelte +3 -3
- package/package/components/ModulePreview.svelte.d.ts +1 -0
- package/package/components/ModulePreviewForm.svelte +3 -3
- package/package/components/ModulePreviewResultViewer.svelte +1 -1
- package/package/components/ModuleStatus.svelte +2 -2
- package/package/components/ModuleTest.svelte +4 -3
- package/package/components/NextcloudSetting.svelte +36 -24
- package/package/components/NumberTypeNarrowing.svelte +1 -1
- package/package/components/NumberTypeNarrowing.svelte.d.ts +1 -1
- package/package/components/OAuthSetting.svelte +132 -55
- package/package/components/OAuthSetting.svelte.d.ts +4 -18
- package/package/components/OauthExtraParams.svelte +12 -12
- package/package/components/OauthScopes.svelte +5 -7
- package/package/components/ObjectStoreConfigSettings.svelte +50 -59
- package/package/components/OccupancyBars.svelte +35 -0
- package/package/components/OccupancyBars.svelte.d.ts +9 -0
- package/package/components/OktaSetting.svelte +69 -33
- package/package/components/PageHeader.svelte +6 -3
- package/package/components/PageHeader.svelte.d.ts +1 -0
- package/package/components/Password.svelte +31 -33
- package/package/components/Password.svelte.d.ts +2 -0
- package/package/components/PasswordArgInput.svelte +2 -3
- package/package/components/Path.svelte +29 -28
- package/package/components/PermissionHistory.svelte +99 -0
- package/package/components/PermissionHistory.svelte.d.ts +15 -0
- package/package/components/PersistentScriptDrawer.svelte +1 -7
- package/package/components/Popover.svelte +7 -3
- package/package/components/QueueAlerts.svelte +544 -0
- package/package/components/QueueAlerts.svelte.d.ts +3 -0
- package/package/components/QueueMetricsDrawer.svelte +8 -375
- package/package/components/QueueMetricsDrawer.svelte.d.ts +0 -2
- package/package/components/QueueMetricsDrawerInner.svelte +79 -73
- package/package/components/QueuePosition.svelte +2 -2
- package/package/components/RepositorySelector.svelte +90 -0
- package/package/components/RepositorySelector.svelte.d.ts +18 -0
- package/package/components/Required.svelte +1 -1
- package/package/components/ResourceEditor.svelte +106 -97
- package/package/components/ResourceEditorDrawer.svelte +3 -1
- package/package/components/ResourcePicker.svelte +26 -10
- package/package/components/ResourceTypePicker.svelte +6 -8
- package/package/components/RunButton.svelte +3 -3
- package/package/components/RunChart.svelte +15 -14
- package/package/components/RunChart.svelte.d.ts +1 -0
- package/package/components/RunForm.svelte +3 -3
- package/package/components/RunFormAdvancedPopup.svelte +1 -2
- package/package/components/RunPageTutorials.svelte +21 -0
- package/package/components/RunPageTutorials.svelte.d.ts +23 -0
- package/package/components/RunsPage.svelte +1261 -0
- package/package/components/RunsPage.svelte.d.ts +7 -0
- package/package/components/S3ArrayHelperButton.svelte +1 -3
- package/package/components/S3FilePicker.svelte +42 -751
- package/package/components/S3FilePicker.svelte.d.ts +6 -25
- package/package/components/S3FilePickerInner.svelte +749 -0
- package/package/components/S3FilePickerInner.svelte.d.ts +74 -0
- package/package/components/S3ObjectPicker.svelte +3 -5
- package/package/components/SaveInputsButton.svelte +2 -3
- package/package/components/SaveToWorkspace.svelte +14 -0
- package/package/components/SaveToWorkspace.svelte.d.ts +6 -0
- package/package/components/SavedInputs.svelte +33 -46
- package/package/components/SavedInputs.svelte.d.ts +10 -9
- package/package/components/SavedInputsPicker.svelte +14 -18
- package/package/components/SavedInputsPickerViewer.svelte +7 -8
- package/package/components/SavedInputsV2.svelte +2 -3
- package/package/components/SchemaForm.svelte +6 -10
- package/package/components/SchemaForm.svelte.d.ts +1 -1
- package/package/components/SchemaFormWithArgPicker.svelte +1 -1
- package/package/components/SchemaViewer.svelte +2 -2
- package/package/components/ScriptBuilder.svelte +261 -206
- package/package/components/ScriptEditor.svelte +308 -198
- package/package/components/ScriptEditor.svelte.d.ts +10 -4
- package/package/components/ScriptEditorSkeleton.svelte +55 -0
- package/package/components/ScriptEditorSkeleton.svelte.d.ts +26 -0
- package/package/components/ScriptPicker.svelte +15 -20
- package/package/components/ScriptSchema.svelte +0 -3
- package/package/components/ScriptSchema.svelte.d.ts +1 -3
- package/package/components/ScriptVersionHistory.svelte +5 -5
- package/package/components/Section.svelte +22 -19
- package/package/components/Section.svelte.d.ts +3 -0
- package/package/components/ServiceLogsInner.svelte +7 -7
- package/package/components/ShareModal.svelte +66 -60
- package/package/components/SharedBadge.svelte +6 -8
- package/package/components/SimpleEditor.svelte +18 -32
- package/package/components/SimpleEditor.svelte.d.ts +1 -3
- package/package/components/SqlRepl.svelte +8 -6
- package/package/components/SqlRepl.svelte.d.ts +1 -1
- package/package/components/Star.svelte +3 -3
- package/package/components/StringTypeNarrowing.svelte +6 -2
- package/package/components/StringTypeNarrowing.svelte.d.ts +1 -1
- package/package/components/Subsection.svelte +3 -5
- package/package/components/Summary.svelte +11 -60
- package/package/components/SupabaseConnect.svelte +4 -7
- package/package/components/SuperadminSettings.svelte +1 -1
- package/package/components/SuperadminSettingsInner.svelte +28 -24
- package/package/components/TableCustom.svelte +1 -1
- package/package/components/TagList.svelte +46 -0
- package/package/components/TagList.svelte.d.ts +8 -0
- package/package/components/TagsToListenTo.svelte +46 -13
- package/package/components/TagsToListenTo.svelte.d.ts +3 -19
- package/package/components/TeamSelector.svelte +217 -72
- package/package/components/TeamSelector.svelte.d.ts +1 -0
- package/package/components/TemplateEditor.svelte +23 -24
- package/package/components/TestConnection.svelte +2 -9
- package/package/components/TimeAgo.svelte +6 -7
- package/package/components/TimeAgo.svelte.d.ts +4 -18
- package/package/components/Toast.svelte +72 -16
- package/package/components/Toast.svelte.d.ts +1 -1
- package/package/components/Toggle.svelte +22 -40
- package/package/components/Toggle.svelte.d.ts +26 -28
- package/package/components/ToggleHubWorkspaceQuick.svelte +3 -3
- package/package/components/Tooltip.svelte +11 -14
- package/package/components/TooltipInner.svelte +2 -2
- package/package/components/Uptodate.svelte +1 -1
- package/package/components/UserSettings.svelte +23 -17
- package/package/components/VariableEditor.svelte +52 -42
- package/package/components/WhitelistIp.svelte +1 -1
- package/package/components/WorkerGroup.svelte +690 -552
- package/package/components/WorkerGroup.svelte.d.ts +7 -1
- package/package/components/WorkerRepl.svelte +10 -18
- package/package/components/WorkerTagPicker.svelte +2 -3
- package/package/components/WorkerTagSelect.svelte +17 -16
- package/package/components/WorkspaceDependenciesEditor.svelte +444 -0
- package/package/components/WorkspaceDependenciesEditor.svelte.d.ts +28 -0
- package/package/components/WorkspaceDependenciesViewer.svelte +90 -0
- package/package/components/WorkspaceDependenciesViewer.svelte.d.ts +7 -0
- package/package/components/WorkspaceTutorials.svelte +17 -0
- package/package/components/WorkspaceTutorials.svelte.d.ts +5 -0
- package/package/components/ZitadelSetting.svelte +25 -16
- package/package/components/apps/components/buttons/AppButton.svelte +3 -2
- package/package/components/apps/components/buttons/AppForm.svelte +6 -1
- package/package/components/apps/components/buttons/AppFormButton.svelte +8 -3
- package/package/components/apps/components/componentManagedFields.d.ts +33 -0
- package/package/components/apps/components/componentManagedFields.js +80 -0
- package/package/components/apps/components/display/AppAccordionList.svelte +1 -1
- package/package/components/apps/components/display/AppCarouselList.svelte +1 -1
- package/package/components/apps/components/display/AppChat.svelte +282 -0
- package/package/components/apps/components/display/AppChat.svelte.d.ts +14 -0
- package/package/components/apps/components/display/AppDownload.svelte +46 -4
- package/package/components/apps/components/display/AppImage.svelte +22 -26
- package/package/components/apps/components/display/AppJobProgressBar.svelte +102 -0
- package/package/components/apps/components/display/AppJobProgressBar.svelte.d.ts +11 -0
- package/package/components/apps/components/display/AppMap.svelte +8 -7
- package/package/components/apps/components/display/AppMenu.svelte +3 -1
- package/package/components/apps/components/display/AppNavbarItem.svelte +1 -0
- package/package/components/apps/components/display/AppPdf.svelte +41 -2
- package/package/components/apps/components/display/AppText.svelte +4 -5
- package/package/components/apps/components/display/InsertRowDrawerButton.svelte +3 -3
- package/package/components/apps/components/display/InsertRowDrawerButton.svelte.d.ts +2 -1
- package/package/components/apps/components/display/dbtable/AppDbExplorer.svelte +5 -3
- package/package/components/apps/components/display/dbtable/DbExplorerCount.svelte.d.ts +1 -1
- package/package/components/apps/components/display/dbtable/DeleteRow.svelte.d.ts +1 -1
- package/package/components/apps/components/display/dbtable/InsertRow.svelte +1 -2
- package/package/components/apps/components/display/dbtable/InsertRow.svelte.d.ts +2 -1
- package/package/components/apps/components/display/dbtable/InsertRowRunnable.svelte.d.ts +1 -1
- package/package/components/apps/components/display/dbtable/UpdateCell.svelte.d.ts +1 -1
- package/package/components/apps/components/display/dbtable/metadata.d.ts +10 -0
- package/package/components/apps/components/display/dbtable/metadata.js +433 -0
- package/package/components/apps/components/display/dbtable/queries/count.d.ts +1 -2
- package/package/components/apps/components/display/dbtable/queries/count.js +2 -2
- package/package/components/apps/components/display/dbtable/queries/createTable.d.ts +1 -1
- package/package/components/apps/components/display/dbtable/queries/delete.d.ts +2 -2
- package/package/components/apps/components/display/dbtable/queries/delete.js +2 -2
- package/package/components/apps/components/display/dbtable/queries/deleteTable.d.ts +2 -2
- package/package/components/apps/components/display/dbtable/queries/deleteTable.js +3 -1
- package/package/components/apps/components/display/dbtable/queries/insert.d.ts +1 -2
- package/package/components/apps/components/display/dbtable/queries/insert.js +6 -3
- package/package/components/apps/components/display/dbtable/queries/select.d.ts +1 -2
- package/package/components/apps/components/display/dbtable/queries/select.js +2 -2
- package/package/components/apps/components/display/dbtable/queries/update.d.ts +2 -2
- package/package/components/apps/components/display/dbtable/queries/update.js +2 -2
- package/package/components/apps/components/display/dbtable/utils.d.ts +15 -20
- package/package/components/apps/components/display/dbtable/utils.js +50 -438
- package/package/components/apps/components/display/table/AppAggridTableActions.svelte +38 -1
- package/package/components/apps/components/display/table/AppTable.svelte.d.ts +2 -2
- package/package/components/apps/components/display/table/AppTableFooter.svelte +2 -4
- package/package/components/apps/components/display/table/SyncColumnDefs.svelte +10 -22
- package/package/components/apps/components/helpers/HiddenComponent.svelte +2 -1
- package/package/components/apps/components/helpers/InputValue.svelte +10 -10
- package/package/components/apps/components/helpers/Loader.svelte +1 -1
- package/package/components/apps/components/helpers/MissingConnectionWarning.svelte +1 -1
- package/package/components/apps/components/helpers/RunnableComponent.svelte +28 -25
- package/package/components/apps/components/helpers/RunnableComponent.svelte.d.ts +6 -2
- package/package/components/apps/components/helpers/RunnableWrapper.svelte +27 -2
- package/package/components/apps/components/helpers/RunnableWrapper.svelte.d.ts +6 -1
- package/package/components/apps/components/helpers/eval.d.ts +1 -0
- package/package/components/apps/components/helpers/eval.js +3 -1
- package/package/components/apps/components/helpers/executeRunnable.d.ts +3 -3
- package/package/components/apps/components/helpers/executeRunnable.js +7 -3
- package/package/components/apps/components/inputs/AppDateTimeInput.svelte +10 -7
- package/package/components/apps/components/inputs/AppMultiSelectV2.svelte +5 -1
- package/package/components/apps/components/inputs/AppQuillEditor.svelte +1 -1
- package/package/components/apps/components/inputs/AppSelectTab.svelte +2 -4
- package/package/components/apps/components/inputs/currency/CurrencyInput.svelte +2 -2
- package/package/components/apps/components/layout/AppDecisionTree.svelte +1 -1
- package/package/components/apps/components/layout/AppDrawer.svelte +2 -1
- package/package/components/apps/components/layout/AppList.svelte +3 -5
- package/package/components/apps/components/layout/AppModal.svelte +5 -3
- package/package/components/apps/components/layout/AppModal.svelte.d.ts +1 -0
- package/package/components/apps/components/layout/AppStepper.svelte +3 -5
- package/package/components/apps/components/layout/AppTabs.svelte +3 -9
- package/package/components/apps/editor/AppEditor.svelte +21 -30
- package/package/components/apps/editor/AppEditorHeader.svelte +39 -212
- package/package/components/apps/editor/AppEditorHeader.svelte.d.ts +3 -1
- package/package/components/apps/editor/AppEditorHeaderDeploy.svelte +4 -5
- package/package/components/apps/editor/AppEditorTutorial.svelte +16 -43
- package/package/components/apps/editor/AppEditorTutorial.svelte.d.ts +4 -2
- package/package/components/apps/editor/AppExportButton.svelte +5 -6
- package/package/components/apps/editor/AppInputs.svelte +1 -1
- package/package/components/apps/editor/AppJobsDrawer.svelte +15 -17
- package/package/components/apps/editor/AppJsonEditor.svelte +2 -2
- package/package/components/apps/editor/AppPreview.svelte +2 -1
- package/package/components/apps/editor/AppReportsDrawerInner.svelte +30 -89
- package/package/components/apps/editor/ComponentHeader.svelte +1 -2
- package/package/components/apps/editor/DeploymentHistory.svelte +3 -3
- package/package/components/apps/editor/GridEditor.svelte +4 -4
- package/package/components/apps/editor/PreviewToggle.svelte +0 -1
- package/package/components/apps/editor/PublicApp.svelte +125 -0
- package/package/components/apps/editor/PublicApp.svelte.d.ts +14 -0
- package/package/components/apps/editor/RecomputeAllButton.svelte +2 -3
- package/package/components/apps/editor/RecomputeAllComponents.svelte +1 -1
- package/package/components/apps/editor/RecomputeAllWrapper.svelte +1 -1
- package/package/components/apps/editor/RunnableJobPanelInner.svelte +3 -3
- package/package/components/apps/editor/SettingsPanel.svelte +1 -1
- package/package/components/apps/editor/SubGridEditor.svelte +2 -1
- package/package/components/apps/editor/appPolicy.d.ts +6 -0
- package/package/components/apps/editor/appPolicy.js +186 -0
- package/package/components/apps/editor/appUtils.d.ts +1 -3
- package/package/components/apps/editor/appUtils.js +2 -60
- package/package/components/apps/editor/appUtilsCore.d.ts +7 -0
- package/package/components/apps/editor/appUtilsCore.js +66 -0
- package/package/components/apps/editor/appUtilsS3.d.ts +16 -16
- package/package/components/apps/editor/appUtilsS3.js +31 -9
- package/package/components/apps/editor/component/ComponentInner.svelte +23 -1
- package/package/components/apps/editor/component/componentCallbacks.svelte.js +2 -1
- package/package/components/apps/editor/component/components.d.ts +649 -17
- package/package/components/apps/editor/component/components.js +186 -9
- package/package/components/apps/editor/component/default-codes.js +13 -0
- package/package/components/apps/editor/component/sets.js +2 -0
- package/package/components/apps/editor/componentsPanel/ComponentList.svelte +3 -3
- package/package/components/apps/editor/componentsPanel/CssHelperPanel.svelte +5 -8
- package/package/components/apps/editor/componentsPanel/CssProperty.svelte +37 -39
- package/package/components/apps/editor/componentsPanel/CssSettings.svelte +6 -8
- package/package/components/apps/editor/componentsPanel/CustomComponentsList.svelte +1 -1
- package/package/components/apps/editor/componentsPanel/GroupList.svelte +1 -1
- package/package/components/apps/editor/componentsPanel/ListItem.svelte +9 -7
- package/package/components/apps/editor/componentsPanel/NameEditor.svelte +1 -1
- package/package/components/apps/editor/componentsPanel/QuickStyleMenu.svelte +1 -1
- package/package/components/apps/editor/componentsPanel/QuickStyleProperty.svelte +2 -3
- package/package/components/apps/editor/componentsPanel/ThemeList.svelte +2 -3
- package/package/components/apps/editor/componentsPanel/ThemeNameEditor.svelte +1 -1
- package/package/components/apps/editor/componentsPanel/ThemeRow.svelte +1 -1
- package/package/components/apps/editor/componentsPanel/componentControlUtils.js +7 -0
- package/package/components/apps/editor/componentsPanel/cssUtils.js +25 -1
- package/package/components/apps/editor/componentsPanel/quickStyleProperties.js +12 -0
- package/package/components/apps/editor/contextPanel/ComponentOutput.svelte +1 -1
- package/package/components/apps/editor/contextPanel/ComponentOutputViewer.svelte +2 -2
- package/package/components/apps/editor/contextPanel/DebugPanel.svelte +2 -2
- package/package/components/apps/editor/contextPanel/LazyModePanel.svelte +3 -3
- package/package/components/apps/editor/contextPanel/SubGridOutput.svelte +1 -1
- package/package/components/apps/editor/contextPanel/components/BackgroundScriptsOutput.svelte +1 -1
- package/package/components/apps/editor/contextPanel/components/IdEditor.svelte +2 -2
- package/package/components/apps/editor/contextPanel/components/OutputHeader.svelte +6 -4
- package/package/components/apps/editor/inlineScriptsPanel/AppRunButton.svelte.d.ts +1 -1
- package/package/components/apps/editor/inlineScriptsPanel/CacheTtlPopup.svelte +2 -1
- package/package/components/apps/editor/inlineScriptsPanel/CacheTtlPopup.svelte.d.ts +3 -0
- package/package/components/apps/editor/inlineScriptsPanel/EmptyInlineScript.svelte +2 -12
- package/package/components/apps/editor/inlineScriptsPanel/EmptyInlineScript.svelte.d.ts +1 -1
- package/package/components/apps/editor/inlineScriptsPanel/InlineScriptEditor.svelte +34 -60
- package/package/components/apps/editor/inlineScriptsPanel/InlineScriptEditor.svelte.d.ts +1 -2
- package/package/components/apps/editor/inlineScriptsPanel/InlineScriptEditorDrawer.svelte.d.ts +2 -2
- package/package/components/apps/editor/inlineScriptsPanel/InlineScriptEditorPanel.svelte +7 -9
- package/package/components/apps/editor/inlineScriptsPanel/InlineScriptEditorPanel.svelte.d.ts +1 -1
- package/package/components/apps/editor/inlineScriptsPanel/InlineScriptHiddenRunnable.svelte +5 -4
- package/package/components/apps/editor/inlineScriptsPanel/InlineScriptRunnableByPath.svelte +8 -14
- package/package/components/apps/editor/inlineScriptsPanel/InlineScriptsPanel.svelte +3 -3
- package/package/components/apps/editor/inlineScriptsPanel/InlineScriptsPanelList.svelte +6 -6
- package/package/components/apps/editor/inlineScriptsPanel/InlineScriptsPanelList.svelte.d.ts +1 -1
- package/package/components/apps/editor/inlineScriptsPanel/RunButton.svelte +3 -3
- package/package/components/apps/editor/inlineScriptsPanel/RunButton.svelte.d.ts +1 -1
- package/package/components/apps/editor/inlineScriptsPanel/utils.d.ts +1 -1
- package/package/components/apps/editor/inlineScriptsPanel/utils.js +5 -4
- package/package/components/apps/editor/settingsPanel/AlignmentEditor.svelte +1 -1
- package/package/components/apps/editor/settingsPanel/ArrayStaticInputEditor.svelte +8 -6
- package/package/components/apps/editor/settingsPanel/CSSMigrationModal.svelte +3 -3
- package/package/components/apps/editor/settingsPanel/ComponentPanel.svelte +33 -24
- package/package/components/apps/editor/settingsPanel/ContextVariables.svelte +2 -1
- package/package/components/apps/editor/settingsPanel/DecisionTreeGraphEditor.svelte +2 -3
- package/package/components/apps/editor/settingsPanel/DecisionTreeGraphNode.svelte +3 -8
- package/package/components/apps/editor/settingsPanel/GridCondition.svelte +2 -3
- package/package/components/apps/editor/settingsPanel/GridGroup.svelte +2 -3
- package/package/components/apps/editor/settingsPanel/GridNavbar.svelte +3 -10
- package/package/components/apps/editor/settingsPanel/GridPane.svelte +2 -9
- package/package/components/apps/editor/settingsPanel/GridTab.svelte +2 -9
- package/package/components/apps/editor/settingsPanel/InputsSpecEditor.svelte +11 -38
- package/package/components/apps/editor/settingsPanel/InputsSpecsEditor.svelte +4 -3
- package/package/components/apps/editor/settingsPanel/MenuItems.svelte +5 -6
- package/package/components/apps/editor/settingsPanel/OneOfInputSpecsEditor.svelte +36 -17
- package/package/components/apps/editor/settingsPanel/SelectedRunnable.svelte +5 -5
- package/package/components/apps/editor/settingsPanel/SelectedRunnable.svelte.d.ts +1 -1
- package/package/components/apps/editor/settingsPanel/StylePanel.svelte +26 -24
- package/package/components/apps/editor/settingsPanel/TableActions.svelte +44 -25
- package/package/components/apps/editor/settingsPanel/TableActions.svelte.d.ts +2 -2
- package/package/components/apps/editor/settingsPanel/common/PanelSection.svelte +31 -3
- package/package/components/apps/editor/settingsPanel/common/PanelSection.svelte.d.ts +3 -0
- package/package/components/apps/editor/settingsPanel/inputEditor/ConnectedInputEditor.svelte +2 -2
- package/package/components/apps/editor/settingsPanel/inputEditor/EvalV2InputEditor.svelte +5 -5
- package/package/components/apps/editor/settingsPanel/inputEditor/RunnableInputEditor.svelte +5 -1
- package/package/components/apps/editor/settingsPanel/inputEditor/StaticInputEditor.svelte +9 -9
- package/package/components/apps/editor/settingsPanel/inputEditor/TabSelectInput.svelte +3 -3
- package/package/components/apps/editor/settingsPanel/mainInput/RunnableSelector.svelte +12 -34
- package/package/components/apps/editor/settingsPanel/mainInput/RunnableSelector.svelte.d.ts +1 -2
- package/package/components/apps/editor/settingsPanel/mainInput/WorkspaceFlowList.svelte +3 -2
- package/package/components/apps/editor/settingsPanel/mainInput/WorkspaceScriptList.svelte +3 -2
- package/package/components/apps/editor/settingsPanel/script/BackgroundScriptSettings.svelte +3 -2
- package/package/components/apps/editor/settingsPanel/script/ComponentScriptSettings.svelte +4 -3
- package/package/components/apps/editor/settingsPanel/script/ComponentScriptSettings.svelte.d.ts +1 -1
- package/package/components/apps/editor/settingsPanel/script/shared/BackgroundScriptTriggerBy.svelte +5 -4
- package/package/components/apps/editor/settingsPanel/script/shared/ComponentScriptTriggerBy.svelte +4 -4
- package/package/components/apps/editor/settingsPanel/script/shared/ComponentScriptTriggerBy.svelte.d.ts +1 -1
- package/package/components/apps/editor/settingsPanel/script/shared/ScriptSettingsActions.svelte +1 -1
- package/package/components/apps/editor/settingsPanel/script/shared/ScriptTransformer.svelte +1 -1
- package/package/components/apps/editor/settingsPanel/script/shared/ScriptTransformer.svelte.d.ts +1 -1
- package/package/components/apps/editor/settingsPanel/script/shared/ScriptTriggers.svelte +1 -1
- package/package/components/apps/editor/settingsPanel/script/shared/ScriptTriggers.svelte.d.ts +1 -1
- package/package/components/apps/editor/settingsPanel/script/utils.d.ts +1 -1
- package/package/components/apps/editor/settingsPanel/script/utils.js +10 -3
- package/package/components/apps/inputType.d.ts +7 -5
- package/package/components/apps/inputType.js +6 -1
- package/package/components/apps/sharedTypes.d.ts +21 -0
- package/package/components/apps/sharedTypes.js +1 -0
- package/package/components/apps/types.d.ts +3 -20
- package/package/components/apps/utils.d.ts +2 -4
- package/package/components/apps/utils.js +15 -14
- package/package/components/assets/AssetButtons.svelte +37 -14
- package/package/components/assets/AssetButtons.svelte.d.ts +2 -0
- package/package/components/assets/AssetsDropdownButton.svelte +35 -16
- package/package/components/assets/AssetsUsageDrawer.svelte +4 -4
- package/package/components/assets/JobAssetsViewer.svelte +14 -11
- package/package/components/assets/lib.d.ts +2 -1
- package/package/components/assets/lib.js +10 -2
- package/package/components/auditLogs/AuditLogDetails.svelte +59 -53
- package/package/components/auditLogs/AuditLogMobileFilters.svelte +2 -2
- package/package/components/auditLogs/AuditLogsFilters.svelte +94 -98
- package/package/components/auditLogs/AuditLogsFilters.svelte.d.ts +2 -1
- package/package/components/auditLogs/AuditLogsTable.svelte +52 -31
- package/package/components/auditLogs/AuditLogsTable.svelte.d.ts +1 -0
- package/package/components/auditLogs/AuditLogsTimeline.svelte +1 -1
- package/package/components/chat/ChatInput.svelte +53 -0
- package/package/components/chat/ChatInput.svelte.d.ts +29 -0
- package/package/components/chat/ChatMessage.svelte +101 -0
- package/package/components/chat/ChatMessage.svelte.d.ts +22 -0
- package/package/components/chat/utils.d.ts +5 -0
- package/package/components/chat/utils.js +26 -0
- package/package/components/common/CloseButton.svelte +3 -2
- package/package/components/common/OnChange.svelte +1 -2
- package/package/components/common/ResizeTransitionWrapper.svelte +17 -5
- package/package/components/common/Url.svelte +1 -1
- package/package/components/common/alert/Alert.svelte +6 -19
- package/package/components/common/alert/model.js +4 -4
- package/package/components/common/badge/Badge.svelte +71 -54
- package/package/components/common/badge/Badge.svelte.d.ts +21 -41
- package/package/components/common/badge/model.d.ts +1 -1
- package/package/components/common/breadcrumb/Breadcrumb.svelte +1 -1
- package/package/components/common/button/Button.svelte +110 -36
- package/package/components/common/button/Button.svelte.d.ts +33 -0
- package/package/components/common/button/ConnectionButton.svelte +5 -3
- package/package/components/common/button/RefreshButton.svelte +6 -11
- package/package/components/common/button/RefreshButton.svelte.d.ts +4 -20
- package/package/components/common/button/RoundIconButton.svelte +2 -2
- package/package/components/common/button/UndoRedo.svelte +8 -12
- package/package/components/common/button/model.d.ts +29 -5
- package/package/components/common/button/model.js +126 -8
- package/package/components/common/confirmationModal/ConfirmationModal.svelte +5 -3
- package/package/components/common/confirmationModal/DeployOverrideConfirmationModal.svelte +2 -3
- package/package/components/common/confirmationModal/DraftTriggersConfirmationModal.svelte +7 -18
- package/package/components/common/confirmationModal/UnsavedConfirmationModal.svelte +16 -14
- package/package/components/common/confirmationModal/UnsavedConfirmationModal.svelte.d.ts +7 -18
- package/package/components/common/confirmationModal/asyncConfirmationModal.svelte.d.ts +5 -4
- package/package/components/common/contextmenu/ContextMenu.svelte +83 -0
- package/package/components/common/contextmenu/ContextMenu.svelte.d.ts +22 -0
- package/package/components/common/contextmenu/contextMenuStyles.d.ts +33 -0
- package/package/components/common/contextmenu/contextMenuStyles.js +35 -0
- package/package/components/common/drawer/Drawer.svelte +1 -1
- package/package/components/common/drawer/DrawerContent.svelte +10 -4
- package/package/components/common/drawer/DrawerContent.svelte.d.ts +1 -0
- package/package/components/common/fileDownload/FileDownload.svelte +16 -14
- package/package/components/common/fileInput/FileInput.svelte +3 -3
- package/package/components/common/fileUpload/FileUpload.svelte +7 -10
- package/package/components/common/fileUpload/FileUploadModal.svelte +2 -2
- package/package/components/common/fileUpload/S3ArgInput.svelte +7 -8
- package/package/components/common/languageIcons/LanguageIcon.svelte +4 -4
- package/package/components/common/languageIcons/LanguageIcon.svelte.d.ts +1 -0
- package/package/components/common/modal/AlwaysMountedModal.svelte +1 -1
- package/package/components/common/modal/Modal.svelte +2 -2
- package/package/components/common/modal/Modal2.svelte +27 -15
- package/package/components/common/modal/Modal2.svelte.d.ts +3 -1
- package/package/components/common/popup/PopupV2.svelte +2 -2
- package/package/components/common/popup/PopupV2.svelte.d.ts +1 -0
- package/package/components/common/seconds/SecondsInput.svelte +2 -2
- package/package/components/common/slack/SlackConnectionStatus.svelte +63 -0
- package/package/components/common/slack/SlackConnectionStatus.svelte.d.ts +10 -0
- package/package/components/common/smtp/SmtpConfigurationStatus.svelte +22 -0
- package/package/components/common/smtp/SmtpConfigurationStatus.svelte.d.ts +7 -0
- package/package/components/common/stepper/Stepper.svelte +3 -3
- package/package/components/common/table/AppRow.svelte +9 -20
- package/package/components/common/table/FlowRow.svelte +8 -8
- package/package/components/common/table/RawAppRow.svelte +2 -3
- package/package/components/common/table/Row.svelte +55 -32
- package/package/components/common/table/Row.svelte.d.ts +10 -2
- package/package/components/common/table/RowIcon.svelte +13 -21
- package/package/components/common/table/RowIcon.svelte.d.ts +1 -2
- package/package/components/common/table/ScriptRow.svelte +20 -16
- package/package/components/common/tabs/Tab.svelte +20 -15
- package/package/components/common/tabs/Tab.svelte.d.ts +7 -2
- package/package/components/common/tabs/Tabs.svelte +14 -20
- package/package/components/common/tabs/Tabs.svelte.d.ts +7 -0
- package/package/components/common/teams/TeamsConnectionStatus.svelte +62 -0
- package/package/components/common/teams/TeamsConnectionStatus.svelte.d.ts +10 -0
- package/package/components/common/toggleButton-v2/ToggleButton.svelte +19 -11
- package/package/components/common/toggleButton-v2/ToggleButton.svelte.d.ts +1 -1
- package/package/components/common/toggleButton-v2/ToggleButtonGroup.svelte +1 -1
- package/package/components/common/toggleButton-v2/ToggleButtonMore.svelte +2 -3
- package/package/components/common/toggleButton-v2/ToggleButtonMore.svelte.d.ts +1 -1
- package/package/components/copilot/AIFormAssistant.svelte +1 -1
- package/package/components/copilot/AIFormSettings.svelte +21 -17
- package/package/components/copilot/AskAiButton.svelte +3 -2
- package/package/components/copilot/CronGen.svelte +22 -15
- package/package/components/copilot/CronGen.svelte.d.ts +4 -18
- package/package/components/copilot/CustomAIPrompts.svelte +57 -0
- package/package/components/copilot/CustomAIPrompts.svelte.d.ts +8 -0
- package/package/components/copilot/FlowInlineScriptAIButton.svelte +3 -2
- package/package/components/copilot/FlowInlineScriptAIButton.svelte.d.ts +3 -0
- package/package/components/copilot/IteratorGen.svelte +5 -5
- package/package/components/copilot/MetadataGen.svelte +66 -65
- package/package/components/copilot/MetadataGen.svelte.d.ts +11 -25
- package/package/components/copilot/PredicateGen.svelte +5 -5
- package/package/components/copilot/RegexGen.svelte +2 -2
- package/package/components/copilot/ScriptFix.svelte +1 -1
- package/package/components/copilot/ScriptGen.svelte +23 -38
- package/package/components/copilot/ScriptGen.svelte.d.ts +3 -1
- package/package/components/copilot/StepGenQuick.svelte +13 -10
- package/package/components/copilot/StepInputGen.svelte +53 -71
- package/package/components/copilot/StepInputGen.svelte.d.ts +0 -2
- package/package/components/copilot/StepInputsGen.svelte +13 -9
- package/package/components/copilot/TestAIKey.svelte +4 -14
- package/package/components/copilot/TestAIKey.svelte.d.ts +4 -18
- package/package/components/copilot/chat/AIButton.svelte +56 -0
- package/package/components/copilot/chat/AIButton.svelte.d.ts +7 -0
- package/package/components/copilot/chat/AIButtonStyle.d.ts +1 -0
- package/package/components/copilot/chat/AIButtonStyle.js +8 -0
- package/package/components/copilot/chat/AIChat.svelte +2 -10
- package/package/components/copilot/chat/AIChatDisplay.svelte +9 -13
- package/package/components/copilot/chat/AIChatInlineWidget.svelte +6 -6
- package/package/components/copilot/chat/AIChatInput.svelte +4 -2
- package/package/components/copilot/chat/AIChatManager.svelte.js +149 -45
- package/package/components/copilot/chat/AIChatMessage.svelte +11 -9
- package/package/components/copilot/chat/AiChatLayout.svelte +20 -10
- package/package/components/copilot/chat/AvailableContextList.svelte +4 -4
- package/package/components/copilot/chat/ChatMode.svelte +1 -1
- package/package/components/copilot/chat/ContextElementBadge.svelte +3 -3
- package/package/components/copilot/chat/ContextTextarea.svelte +1 -1
- package/package/components/copilot/chat/ProviderModelSelector.svelte +1 -1
- package/package/components/copilot/chat/ToolContentDisplay.svelte +33 -13
- package/package/components/copilot/chat/ToolContentDisplay.svelte.d.ts +3 -0
- package/package/components/copilot/chat/ToolExecutionDisplay.svelte +24 -15
- package/package/components/copilot/chat/__tests__/app/appChat.eval.test.d.ts +1 -0
- package/package/components/copilot/chat/__tests__/app/appChat.eval.test.js +137 -0
- package/package/components/copilot/chat/__tests__/app/appEvalComparison.d.ts +26 -0
- package/package/components/copilot/chat/__tests__/app/appEvalComparison.js +131 -0
- package/package/components/copilot/chat/__tests__/app/appEvalHelpers.d.ts +15 -0
- package/package/components/copilot/chat/__tests__/app/appEvalHelpers.js +91 -0
- package/package/components/copilot/chat/__tests__/app/appEvalRunner.d.ts +41 -0
- package/package/components/copilot/chat/__tests__/app/appEvalRunner.js +92 -0
- package/package/components/copilot/chat/__tests__/app/appFixtureLoader.d.ts +29 -0
- package/package/components/copilot/chat/__tests__/app/appFixtureLoader.js +134 -0
- package/package/components/copilot/chat/__tests__/app/appResultsWriter.d.ts +30 -0
- package/package/components/copilot/chat/__tests__/app/appResultsWriter.js +197 -0
- package/package/components/copilot/chat/__tests__/app/initial/file_manager/backend/createFolder/main.d.ts +10 -0
- package/package/components/copilot/chat/__tests__/app/initial/file_manager/backend/createFolder/main.js +9 -0
- package/package/components/copilot/chat/__tests__/app/initial/file_manager/backend/createFolder/meta.json +4 -0
- package/package/components/copilot/chat/__tests__/app/initial/file_manager/backend/deleteItem/main.d.ts +6 -0
- package/package/components/copilot/chat/__tests__/app/initial/file_manager/backend/deleteItem/main.js +5 -0
- package/package/components/copilot/chat/__tests__/app/initial/file_manager/backend/deleteItem/meta.json +4 -0
- package/package/components/copilot/chat/__tests__/app/initial/file_manager/backend/listFiles/main.d.ts +12 -0
- package/package/components/copilot/chat/__tests__/app/initial/file_manager/backend/listFiles/main.js +14 -0
- package/package/components/copilot/chat/__tests__/app/initial/file_manager/backend/listFiles/meta.json +4 -0
- package/package/components/copilot/chat/__tests__/app/initial/file_manager/backend/listFolders/main.d.ts +8 -0
- package/package/components/copilot/chat/__tests__/app/initial/file_manager/backend/listFolders/main.js +25 -0
- package/package/components/copilot/chat/__tests__/app/initial/file_manager/backend/listFolders/meta.json +4 -0
- package/package/components/copilot/chat/__tests__/app/initial/file_manager/backend/moveItem/main.d.ts +7 -0
- package/package/components/copilot/chat/__tests__/app/initial/file_manager/backend/moveItem/main.js +5 -0
- package/package/components/copilot/chat/__tests__/app/initial/file_manager/backend/moveItem/meta.json +4 -0
- package/package/components/copilot/chat/__tests__/app/initial/file_manager/backend/renameItem/main.d.ts +8 -0
- package/package/components/copilot/chat/__tests__/app/initial/file_manager/backend/renameItem/main.js +5 -0
- package/package/components/copilot/chat/__tests__/app/initial/file_manager/backend/renameItem/meta.json +4 -0
- package/package/components/copilot/chat/__tests__/app/initial/file_manager/frontend/components/Breadcrumb.d.ts +10 -0
- package/package/components/copilot/chat/__tests__/app/initial/file_manager/frontend/components/Breadcrumb.tsx +26 -0
- package/package/components/copilot/chat/__tests__/app/initial/file_manager/frontend/components/FileItem.d.ts +10 -0
- package/package/components/copilot/chat/__tests__/app/initial/file_manager/frontend/components/FileItem.tsx +79 -0
- package/package/components/copilot/chat/__tests__/app/initial/file_manager/frontend/components/FileList.d.ts +10 -0
- package/package/components/copilot/chat/__tests__/app/initial/file_manager/frontend/components/FileList.tsx +46 -0
- package/package/components/copilot/chat/__tests__/app/initial/file_manager/frontend/components/FolderTree.d.ts +10 -0
- package/package/components/copilot/chat/__tests__/app/initial/file_manager/frontend/components/FolderTree.tsx +56 -0
- package/package/components/copilot/chat/__tests__/app/initial/file_manager/frontend/components/Toolbar.d.ts +6 -0
- package/package/components/copilot/chat/__tests__/app/initial/file_manager/frontend/components/Toolbar.tsx +59 -0
- package/package/components/copilot/chat/__tests__/app/initial/file_manager/frontend/index.d.ts +16 -0
- package/package/components/copilot/chat/__tests__/app/initial/file_manager/frontend/index.tsx +119 -0
- package/package/components/copilot/chat/__tests__/app/initial/shopping_cart/backend/addToCart/main.d.ts +15 -0
- package/package/components/copilot/chat/__tests__/app/initial/shopping_cart/backend/addToCart/main.js +14 -0
- package/package/components/copilot/chat/__tests__/app/initial/shopping_cart/backend/addToCart/meta.json +4 -0
- package/package/components/copilot/chat/__tests__/app/initial/shopping_cart/backend/calculateTotal/main.d.ts +14 -0
- package/package/components/copilot/chat/__tests__/app/initial/shopping_cart/backend/calculateTotal/main.js +5 -0
- package/package/components/copilot/chat/__tests__/app/initial/shopping_cart/backend/calculateTotal/meta.json +4 -0
- package/package/components/copilot/chat/__tests__/app/initial/shopping_cart/backend/getProducts/main.d.ts +6 -0
- package/package/components/copilot/chat/__tests__/app/initial/shopping_cart/backend/getProducts/main.js +41 -0
- package/package/components/copilot/chat/__tests__/app/initial/shopping_cart/backend/getProducts/meta.json +4 -0
- package/package/components/copilot/chat/__tests__/app/initial/shopping_cart/backend/removeFromCart/main.d.ts +15 -0
- package/package/components/copilot/chat/__tests__/app/initial/shopping_cart/backend/removeFromCart/main.js +3 -0
- package/package/components/copilot/chat/__tests__/app/initial/shopping_cart/backend/removeFromCart/meta.json +4 -0
- package/package/components/copilot/chat/__tests__/app/initial/shopping_cart/frontend/components/Cart.d.ts +9 -0
- package/package/components/copilot/chat/__tests__/app/initial/shopping_cart/frontend/components/Cart.tsx +51 -0
- package/package/components/copilot/chat/__tests__/app/initial/shopping_cart/frontend/components/ProductCard.d.ts +8 -0
- package/package/components/copilot/chat/__tests__/app/initial/shopping_cart/frontend/components/ProductCard.tsx +27 -0
- package/package/components/copilot/chat/__tests__/app/initial/shopping_cart/frontend/components/ProductList.d.ts +8 -0
- package/package/components/copilot/chat/__tests__/app/initial/shopping_cart/frontend/components/ProductList.tsx +18 -0
- package/package/components/copilot/chat/__tests__/app/initial/shopping_cart/frontend/index.d.ts +12 -0
- package/package/components/copilot/chat/__tests__/app/initial/shopping_cart/frontend/index.tsx +81 -0
- package/package/components/copilot/chat/__tests__/app/initial/test1_counter_app/backend/decrementCounter/main.d.ts +3 -0
- package/package/components/copilot/chat/__tests__/app/initial/test1_counter_app/backend/decrementCounter/main.js +3 -0
- package/package/components/copilot/chat/__tests__/app/initial/test1_counter_app/backend/decrementCounter/meta.json +4 -0
- package/package/components/copilot/chat/__tests__/app/initial/test1_counter_app/backend/incrementCounter/main.d.ts +3 -0
- package/package/components/copilot/chat/__tests__/app/initial/test1_counter_app/backend/incrementCounter/main.js +3 -0
- package/package/components/copilot/chat/__tests__/app/initial/test1_counter_app/backend/incrementCounter/meta.json +4 -0
- package/package/components/copilot/chat/__tests__/app/initial/test1_counter_app/frontend/index.d.ts +2 -0
- package/package/components/copilot/chat/__tests__/app/initial/test1_counter_app/frontend/index.tsx +38 -0
- package/package/components/copilot/chat/__tests__/app/variants/baseline.d.ts +6 -0
- package/package/components/copilot/chat/__tests__/app/variants/baseline.js +10 -0
- package/package/components/copilot/chat/__tests__/app/variants/index.d.ts +3 -0
- package/package/components/copilot/chat/__tests__/app/variants/index.js +3 -0
- package/package/components/copilot/chat/__tests__/app/variants/streamlined.d.ts +6 -0
- package/package/components/copilot/chat/__tests__/app/variants/streamlined.js +137 -0
- package/package/components/copilot/chat/__tests__/flow/expected/test1.json +134 -0
- package/package/components/copilot/chat/__tests__/flow/expected/test2.json +183 -0
- package/package/components/copilot/chat/__tests__/flow/expected/test3.json +204 -0
- package/package/components/copilot/chat/__tests__/flow/expected/test4.json +175 -0
- package/package/components/copilot/chat/__tests__/flow/expected/test5_modify_simple.json +68 -0
- package/package/components/copilot/chat/__tests__/flow/expected/test6_modify_medium.json +142 -0
- package/package/components/copilot/chat/__tests__/flow/expected/test7_modify_complex.json +136 -0
- package/package/components/copilot/chat/__tests__/flow/flowChat.eval.test.d.ts +1 -0
- package/package/components/copilot/chat/__tests__/flow/flowChat.eval.test.js +277 -0
- package/package/components/copilot/chat/__tests__/flow/flowEvalComparison.d.ts +17 -0
- package/package/components/copilot/chat/__tests__/flow/flowEvalComparison.js +52 -0
- package/package/components/copilot/chat/__tests__/flow/flowEvalHelpers.d.ts +12 -0
- package/package/components/copilot/chat/__tests__/flow/flowEvalHelpers.js +75 -0
- package/package/components/copilot/chat/__tests__/flow/flowEvalRunner.d.ts +41 -0
- package/package/components/copilot/chat/__tests__/flow/flowEvalRunner.js +101 -0
- package/package/components/copilot/chat/__tests__/flow/initial/test5_initial.json +53 -0
- package/package/components/copilot/chat/__tests__/flow/initial/test6_initial.json +68 -0
- package/package/components/copilot/chat/__tests__/flow/initial/test7_initial.json +120 -0
- package/package/components/copilot/chat/__tests__/flow/variants/baseline.d.ts +6 -0
- package/package/components/copilot/chat/__tests__/flow/variants/baseline.js +10 -0
- package/package/components/copilot/chat/__tests__/flow/variants/index.d.ts +3 -0
- package/package/components/copilot/chat/__tests__/flow/variants/index.js +3 -0
- package/package/components/copilot/chat/__tests__/flow/variants/minimal-single-tool.d.ts +15 -0
- package/package/components/copilot/chat/__tests__/flow/variants/minimal-single-tool.js +386 -0
- package/package/components/copilot/chat/__tests__/shared/baseEvalRunner.d.ts +48 -0
- package/package/components/copilot/chat/__tests__/shared/baseEvalRunner.js +147 -0
- package/package/components/copilot/chat/__tests__/shared/baseLLMEvaluator.d.ts +31 -0
- package/package/components/copilot/chat/__tests__/shared/baseLLMEvaluator.js +88 -0
- package/package/components/copilot/chat/__tests__/shared/baseResultsWriter.d.ts +32 -0
- package/package/components/copilot/chat/__tests__/shared/baseResultsWriter.js +130 -0
- package/package/components/copilot/chat/__tests__/shared/baseVariants.d.ts +45 -0
- package/package/components/copilot/chat/__tests__/shared/baseVariants.js +57 -0
- package/package/components/copilot/chat/__tests__/shared/index.d.ts +10 -0
- package/package/components/copilot/chat/__tests__/shared/index.js +5 -0
- package/package/components/copilot/chat/__tests__/shared/types.d.ts +102 -0
- package/package/components/copilot/chat/__tests__/shared/types.js +9 -0
- package/package/components/copilot/chat/anthropic.d.ts +1 -1
- package/package/components/copilot/chat/anthropic.js +75 -2
- package/package/components/copilot/chat/app/core.d.ts +69 -0
- package/package/components/copilot/chat/app/core.js +552 -0
- package/package/components/copilot/chat/flow/FlowAIChat.svelte +119 -477
- package/package/components/copilot/chat/flow/FlowAIChat.svelte.d.ts +1 -0
- package/package/components/copilot/chat/flow/core.d.ts +24 -127
- package/package/components/copilot/chat/flow/core.js +461 -535
- package/package/components/copilot/chat/flow/inlineScriptsUtils.d.ts +31 -0
- package/package/components/copilot/chat/flow/inlineScriptsUtils.js +271 -0
- package/package/components/copilot/chat/flow/openFlow.json +1 -0
- package/package/components/copilot/chat/flow/openFlowZod.d.ts +3 -0
- package/package/components/copilot/chat/flow/openFlowZod.js +14 -0
- package/package/components/copilot/chat/flow/utils.d.ts +12 -6
- package/package/components/copilot/chat/flow/utils.js +66 -33
- package/package/components/copilot/chat/navigator/core.js +17 -10
- package/package/components/copilot/chat/openai-responses.d.ts +16 -0
- package/package/components/copilot/chat/openai-responses.js +318 -0
- package/package/components/copilot/chat/script/core.d.ts +7 -5
- package/package/components/copilot/chat/script/core.js +41 -208
- package/package/components/copilot/chat/shared.d.ts +28 -2
- package/package/components/copilot/chat/shared.js +174 -16
- package/package/components/copilot/lib.d.ts +4 -3
- package/package/components/copilot/lib.js +169 -52
- package/package/components/copilot/prompts/edit.yaml +38 -2
- package/package/components/copilot/prompts/editPrompt.d.ts +6 -3
- package/package/components/copilot/prompts/editPrompt.js +9 -6
- package/package/components/copilot/prompts/fix.yaml +40 -1
- package/package/components/copilot/prompts/fixPrompt.d.ts +3 -0
- package/package/components/copilot/prompts/fixPrompt.js +5 -2
- package/package/components/copilot/prompts/gen.yaml +25 -1
- package/package/components/copilot/prompts/genPrompt.d.ts +7 -4
- package/package/components/copilot/prompts/genPrompt.js +9 -6
- package/package/components/custom_ui.d.ts +2 -0
- package/package/components/dbOps.d.ts +26 -23
- package/package/components/dbOps.js +49 -27
- package/package/components/dbTypes.d.ts +14 -0
- package/package/components/dbTypes.js +9 -0
- package/package/components/details/ClipboardPanel.svelte +7 -7
- package/package/components/details/CopyableCodeBlock.svelte +13 -11
- package/package/components/details/CopyableCodeBlock.svelte.d.ts +5 -18
- package/package/components/details/DetailPageDetailPanel.svelte +5 -5
- package/package/components/details/DetailPageHeader.svelte +5 -4
- package/package/components/details/DetailPageLayout.svelte +5 -5
- package/package/components/details/ErrorHandlerToggleButton.svelte +2 -2
- package/package/components/details/ErrorHandlerToggleButtonV2.svelte +4 -4
- package/package/components/details/ErrorHandlerToggleButtonV2.svelte.d.ts +1 -1
- package/package/components/details/createAppFromScript.js +2 -2
- package/package/components/ducklake.d.ts +1 -0
- package/package/components/ducklake.js +4 -0
- package/package/components/flows/CreateActionsApp.svelte +5 -6
- package/package/components/flows/CreateActionsFlow.svelte +3 -3
- package/package/components/flows/DebounceLimit.svelte +58 -0
- package/package/components/flows/DebounceLimit.svelte.d.ts +11 -0
- package/package/components/flows/FlowAssetsHandler.svelte +47 -31
- package/package/components/flows/FlowEditor.svelte +6 -1
- package/package/components/flows/FlowEditor.svelte.d.ts +2 -1
- package/package/components/flows/FlowEditorTutorial.svelte +59 -0
- package/package/components/flows/{content/FlowInputsFlowQuick.svelte.d.ts → FlowEditorTutorial.svelte.d.ts} +8 -9
- package/package/components/flows/FlowHistoryInner.svelte +6 -8
- package/package/components/flows/FlowModuleIcon.svelte +1 -1
- package/package/components/flows/FlowProgressBar.svelte +1 -1
- package/package/components/flows/agentToolUtils.d.ts +45 -0
- package/package/components/flows/agentToolUtils.js +59 -0
- package/package/components/flows/common/FlowCardHeader.svelte +31 -7
- package/package/components/flows/content/AgentToolWrapper.svelte +30 -0
- package/package/components/flows/content/AgentToolWrapper.svelte.d.ts +14 -0
- package/package/components/flows/content/BranchPredicateEditor.svelte +1 -2
- package/package/components/flows/content/DynamicInputHelpBox.svelte +6 -9
- package/package/components/flows/content/FlowBranchesAllWrapper.svelte +6 -6
- package/package/components/flows/content/FlowBranchesOneWrapper.svelte +7 -7
- package/package/components/flows/content/FlowEditorPanel.svelte +23 -17
- package/package/components/flows/content/FlowEditorPanel.svelte.d.ts +2 -1
- package/package/components/flows/content/FlowEnvironmentVariables.svelte +251 -0
- package/package/components/flows/content/FlowEnvironmentVariables.svelte.d.ts +6 -0
- package/package/components/flows/content/FlowInput.svelte +78 -45
- package/package/components/flows/content/FlowInput.svelte.d.ts +2 -1
- package/package/components/flows/content/FlowInputEditor.svelte +2 -2
- package/package/components/flows/content/FlowInputs.svelte +34 -6
- package/package/components/flows/content/FlowInputsFlow.svelte +16 -12
- package/package/components/flows/content/FlowInputsFlow.svelte.d.ts +6 -5
- package/package/components/flows/content/FlowInputsQuick.svelte +68 -70
- package/package/components/flows/content/FlowInputsQuick.svelte.d.ts +0 -1
- package/package/components/flows/content/FlowLoop.svelte +67 -31
- package/package/components/flows/content/FlowModuleCache.svelte +23 -11
- package/package/components/flows/content/FlowModuleComponent.svelte +123 -107
- package/package/components/flows/content/FlowModuleEarlyStop.svelte +8 -6
- package/package/components/flows/content/FlowModuleHeader.svelte +23 -42
- package/package/components/flows/content/FlowModuleMock.svelte +2 -1
- package/package/components/flows/content/FlowModuleScript.svelte +2 -2
- package/package/components/flows/content/FlowModuleSkip.svelte +4 -3
- package/package/components/flows/content/FlowModuleSleep.svelte +5 -4
- package/package/components/flows/content/FlowModuleSuspend.svelte +5 -12
- package/package/components/flows/content/FlowModuleTimeout.svelte +3 -3
- package/package/components/flows/content/FlowModuleWorkerTagSelect.svelte +5 -5
- package/package/components/flows/content/FlowModuleWorkerTagSelect.svelte.d.ts +1 -0
- package/package/components/flows/content/FlowModuleWrapper.svelte +27 -20
- package/package/components/flows/content/FlowResult.svelte +4 -4
- package/package/components/flows/content/FlowRetries.svelte +32 -16
- package/package/components/flows/content/FlowSelectionPanel.svelte +35 -0
- package/package/components/flows/content/FlowSelectionPanel.svelte.d.ts +8 -0
- package/package/components/flows/content/FlowSettings.svelte +121 -122
- package/package/components/flows/content/FlowWhileLoop.svelte +35 -8
- package/package/components/flows/content/GenAiQuick.svelte +1 -1
- package/package/components/flows/content/McpToolEditor.svelte +169 -0
- package/package/components/flows/content/McpToolEditor.svelte.d.ts +8 -0
- package/package/components/flows/content/ScriptEditorDrawer.svelte +3 -5
- package/package/components/flows/content/SuspendDrawer.svelte +4 -5
- package/package/components/flows/content/WebsearchToolDisplay.svelte +9 -0
- package/package/components/{FlowBuilderTutorials.svelte.d.ts → flows/content/WebsearchToolDisplay.svelte.d.ts} +4 -6
- package/package/components/flows/conversations/FlowChat.svelte +32 -0
- package/package/components/flows/conversations/FlowChat.svelte.d.ts +10 -0
- package/package/components/flows/conversations/FlowChatInterface.svelte +58 -103
- package/package/components/flows/conversations/FlowChatInterface.svelte.d.ts +3 -14
- package/package/components/flows/conversations/FlowChatManager.svelte.js +172 -69
- package/package/components/flows/conversations/FlowConversationsSidebar.svelte +31 -110
- package/package/components/flows/conversations/FlowConversationsSidebar.svelte.d.ts +3 -11
- package/package/components/flows/flowDiff.d.ts +142 -0
- package/package/components/flows/flowDiff.js +769 -0
- package/package/components/flows/flowDiff.test.d.ts +1 -0
- package/package/components/flows/flowDiff.test.js +1173 -0
- package/package/components/flows/flowDiff.testUtils.d.ts +61 -0
- package/package/components/flows/flowDiff.testUtils.js +128 -0
- package/package/components/flows/flowDiffManager.svelte.d.ts +47 -0
- package/package/components/flows/flowDiffManager.svelte.js +461 -0
- package/package/components/flows/flowDiffManager.svelte.test.d.ts +1 -0
- package/package/components/flows/flowDiffManager.svelte.test.js +1255 -0
- package/package/components/flows/flowExplorer.js +15 -0
- package/package/components/flows/flowInfers.d.ts +1 -60
- package/package/components/flows/flowInfers.js +115 -8
- package/package/components/flows/flowState.js +1 -1
- package/package/components/flows/flowStateUtils.svelte.js +10 -2
- package/package/components/flows/flowStore.svelte.d.ts +4 -0
- package/package/components/flows/header/FlowImportExportMenu.svelte +3 -4
- package/package/components/flows/header/FlowPreviewButtons.svelte +11 -12
- package/package/components/flows/header/FlowYamlEditor.svelte +5 -4
- package/package/components/flows/map/DiffActionBar.svelte +50 -0
- package/package/components/flows/map/DiffActionBar.svelte.d.ts +14 -0
- package/package/components/flows/map/FlowErrorHandlerItem.svelte +60 -54
- package/package/components/flows/map/FlowErrorHandlerItem.svelte.d.ts +2 -1
- package/package/components/flows/map/FlowGraphPreviewButton.svelte +6 -3
- package/package/components/flows/map/FlowModuleSchemaItem.svelte +91 -42
- package/package/components/flows/map/FlowModuleSchemaItem.svelte.d.ts +7 -6
- package/package/components/flows/map/FlowModuleSchemaItemViewer.svelte +32 -25
- package/package/components/flows/map/FlowModuleSchemaItemViewer.svelte.d.ts +2 -0
- package/package/components/flows/map/FlowModuleSchemaMap.svelte +91 -35
- package/package/components/flows/map/FlowModuleSchemaMap.svelte.d.ts +27 -2
- package/package/components/flows/map/FlowStickyNode.svelte +51 -38
- package/package/components/flows/map/FlowStickyNode.svelte.d.ts +4 -0
- package/package/components/flows/map/InsertModuleButton.svelte +11 -73
- package/package/components/flows/map/InsertModuleButton.svelte.d.ts +8 -34
- package/package/components/flows/map/InsertModuleInner.svelte +89 -68
- package/package/components/flows/map/InsertModuleInner.svelte.d.ts +3 -1
- package/package/components/flows/map/InsertModulePopover.svelte +41 -0
- package/package/components/{ConfirmButton.svelte.d.ts → flows/map/InsertModulePopover.svelte.d.ts} +18 -16
- package/package/components/flows/map/MapItem.svelte +33 -33
- package/package/components/flows/map/MapItem.svelte.d.ts +6 -6
- package/package/components/flows/map/VirtualItem.svelte +9 -17
- package/package/components/flows/map/VirtualItem.svelte.d.ts +1 -5
- package/package/components/flows/map/VirtualItemWrapper.svelte +11 -15
- package/package/components/flows/map/VirtualItemWrapper.svelte.d.ts +2 -3
- package/package/components/flows/pickers/FlowScriptPicker.svelte +1 -2
- package/package/components/flows/pickers/FlowScriptPickerQuick.svelte +11 -15
- package/package/components/flows/pickers/FlowToplevelNode.svelte +1 -1
- package/package/components/flows/pickers/PickHubApp.svelte +23 -19
- package/package/components/flows/pickers/PickHubApp.svelte.d.ts +9 -14
- package/package/components/flows/pickers/PickHubFlow.svelte +23 -18
- package/package/components/flows/pickers/PickHubFlow.svelte.d.ts +9 -14
- package/package/components/flows/pickers/PickHubScript.svelte +37 -28
- package/package/components/flows/pickers/PickHubScript.svelte.d.ts +2 -0
- package/package/components/flows/pickers/PickHubScriptQuick.svelte +59 -27
- package/package/components/flows/pickers/PickHubScriptQuick.svelte.d.ts +1 -1
- package/package/components/flows/pickers/TopLevelNode.svelte +34 -51
- package/package/components/flows/pickers/TopLevelNode.svelte.d.ts +7 -23
- package/package/components/flows/pickers/WorkspaceScriptPicker.svelte +31 -25
- package/package/components/flows/pickers/WorkspaceScriptPicker.svelte.d.ts +9 -17
- package/package/components/flows/pickers/WorkspaceScriptPickerQuick.svelte +22 -18
- package/package/components/flows/previousResults.d.ts +5 -1
- package/package/components/flows/previousResults.js +24 -4
- package/package/components/flows/propPicker/InputPickerInner.svelte +1 -1
- package/package/components/flows/propPicker/OutputPicker.svelte +30 -32
- package/package/components/flows/propPicker/OutputPicker.svelte.d.ts +0 -4
- package/package/components/flows/propPicker/OutputPickerInner.svelte.d.ts +2 -2
- package/package/components/flows/propPicker/PropPickerWrapper.svelte +61 -66
- package/package/components/flows/propPicker/PropPickerWrapper.svelte.d.ts +15 -23
- package/package/components/flows/propPicker/StepHistory.svelte +1 -1
- package/package/components/flows/stepsInputArgs.svelte.js +1 -1
- package/package/components/flows/types.d.ts +4 -1
- package/package/components/flows/{utils.d.ts → utils.svelte.d.ts} +2 -2
- package/package/components/flows/{utils.js → utils.svelte.js} +10 -5
- package/package/components/git_sync/DetectionFlow.svelte +7 -5
- package/package/components/git_sync/GitSyncContext.svelte.d.ts +3 -2
- package/package/components/git_sync/GitSyncContext.svelte.js +25 -8
- package/package/components/git_sync/GitSyncModeDisplay.svelte +9 -4
- package/package/components/git_sync/GitSyncModeDisplay.svelte.d.ts +1 -1
- package/package/components/git_sync/GitSyncRepositoryCard.svelte +180 -74
- package/package/components/git_sync/GitSyncSection.svelte +70 -42
- package/package/components/git_sync/PullWorkspaceModal.svelte +79 -44
- package/package/components/git_sync/PushWorkspaceModal.svelte +42 -34
- package/package/components/graph/FlowGraphV2.svelte +433 -94
- package/package/components/graph/FlowGraphV2.svelte.d.ts +48 -3
- package/package/components/graph/NodeContextMenu.svelte +36 -0
- package/package/components/graph/NodeContextMenu.svelte.d.ts +8 -0
- package/package/components/graph/NoteColorPicker.svelte +42 -0
- package/package/components/graph/NoteColorPicker.svelte.d.ts +9 -0
- package/package/components/graph/NoteTool.svelte +182 -0
- package/package/components/graph/NoteTool.svelte.d.ts +7 -0
- package/package/components/graph/PaneContextMenu.svelte +95 -0
- package/package/components/graph/PaneContextMenu.svelte.d.ts +8 -0
- package/package/components/graph/SelectionBoundingBox.svelte +68 -0
- package/package/components/graph/SelectionBoundingBox.svelte.d.ts +10 -0
- package/package/components/graph/SelectionTool.svelte +32 -0
- package/package/components/graph/SelectionTool.svelte.d.ts +8 -0
- package/package/components/graph/ViewportSynchronizer.svelte +49 -0
- package/package/components/graph/ViewportSynchronizer.svelte.d.ts +12 -0
- package/package/components/graph/graphBuilder.svelte.d.ts +7 -1
- package/package/components/graph/graphBuilder.svelte.js +8 -4
- package/package/components/graph/graphContext.d.ts +15 -0
- package/package/components/graph/graphContext.js +5 -0
- package/package/components/graph/groupDetectionUtils.d.ts +9 -0
- package/package/components/graph/groupDetectionUtils.js +73 -0
- package/package/components/graph/model.d.ts +1 -0
- package/package/components/graph/noteColors.d.ts +30 -0
- package/package/components/graph/noteColors.js +121 -0
- package/package/components/graph/noteEditor.svelte.d.ts +97 -0
- package/package/components/graph/noteEditor.svelte.js +259 -0
- package/package/components/graph/noteManager.svelte.d.ts +32 -0
- package/package/components/graph/noteManager.svelte.js +126 -0
- package/package/components/graph/noteUtils.svelte.d.ts +87 -0
- package/package/components/graph/noteUtils.svelte.js +294 -0
- package/package/components/graph/renderers/edges/BaseEdge.svelte +50 -44
- package/package/components/graph/renderers/edges/EmptyEdge.svelte +4 -3
- package/package/components/graph/renderers/nodes/AIToolNode.svelte +63 -25
- package/package/components/graph/renderers/nodes/AIToolNode.svelte.d.ts +3 -1
- package/package/components/graph/renderers/nodes/AssetNode.svelte +37 -27
- package/package/components/graph/renderers/nodes/AssetsOverflowedNode.svelte +7 -3
- package/package/components/graph/renderers/nodes/BranchAllEndNode.svelte +4 -6
- package/package/components/graph/renderers/nodes/BranchAllEndNode.svelte.d.ts +1 -0
- package/package/components/graph/renderers/nodes/BranchAllStart.svelte +4 -10
- package/package/components/graph/renderers/nodes/BranchAllStart.svelte.d.ts +1 -0
- package/package/components/graph/renderers/nodes/BranchOneStart.svelte +4 -8
- package/package/components/graph/renderers/nodes/BranchOneStart.svelte.d.ts +1 -0
- package/package/components/graph/renderers/nodes/ForLoopEndNode.svelte +4 -7
- package/package/components/graph/renderers/nodes/ForLoopEndNode.svelte.d.ts +1 -0
- package/package/components/graph/renderers/nodes/ForLoopStartNode.svelte +4 -14
- package/package/components/graph/renderers/nodes/ForLoopStartNode.svelte.d.ts +1 -0
- package/package/components/graph/renderers/nodes/InputNode.svelte +28 -13
- package/package/components/graph/renderers/nodes/ModuleNode.svelte +16 -30
- package/package/components/graph/renderers/nodes/NewAIToolNode.svelte +52 -30
- package/package/components/graph/renderers/nodes/NoBranchNode.svelte +0 -4
- package/package/components/graph/renderers/nodes/NodeWrapper.svelte +34 -22
- package/package/components/graph/renderers/nodes/NodeWrapper.svelte.d.ts +2 -0
- package/package/components/graph/renderers/nodes/NoteNode.svelte +329 -0
- package/package/components/graph/renderers/nodes/NoteNode.svelte.d.ts +16 -0
- package/package/components/graph/renderers/nodes/ResultNode.svelte +4 -10
- package/package/components/graph/renderers/nodes/ResultNode.svelte.d.ts +1 -0
- package/package/components/graph/renderers/nodes/SubflowBound.svelte +17 -17
- package/package/components/graph/renderers/nodes/SubflowBound.svelte.d.ts +1 -0
- package/package/components/graph/renderers/nodes/TriggersNode.svelte +22 -18
- package/package/components/graph/renderers/nodes/TriggersNode.svelte.d.ts +4 -18
- package/package/components/graph/renderers/nodes/branchOneEndNode.svelte +4 -6
- package/package/components/graph/renderers/nodes/branchOneEndNode.svelte.d.ts +1 -0
- package/package/components/graph/renderers/triggers/TriggersBadge.svelte +4 -4
- package/package/components/graph/renderers/triggers/TriggersWrapper.svelte +5 -11
- package/package/components/graph/renderers/triggers/TriggersWrapper.svelte.d.ts +2 -2
- package/package/components/graph/selectionUtils.svelte.d.ts +15 -0
- package/package/components/graph/selectionUtils.svelte.js +94 -0
- package/package/components/graph/util.d.ts +42 -2
- package/package/components/graph/util.js +230 -38
- package/package/components/home/ItemsList.svelte +35 -38
- package/package/components/home/ListFilters.svelte +6 -9
- package/package/components/home/ListFiltersQuick.svelte +28 -29
- package/package/components/home/NoItemFound.svelte +19 -5
- package/package/components/home/NoItemFound.svelte.d.ts +5 -25
- package/package/components/home/TreeView.svelte +17 -19
- package/package/components/home/TreeViewRoot.svelte +4 -4
- package/package/components/home/TutorialBanner.svelte +119 -0
- package/package/components/home/TutorialBanner.svelte.d.ts +3 -0
- package/package/components/home/TutorialButton.svelte +97 -0
- package/package/components/home/TutorialButton.svelte.d.ts +15 -0
- package/package/components/icons/ApifyIcon.svelte +17 -0
- package/package/components/icons/ApifyIcon.svelte.d.ts +7 -0
- package/package/components/icons/AsanaIcon.svelte +13 -1
- package/package/components/icons/AssetDatabaseIcon.svelte +23 -0
- package/package/components/icons/AssetDatabaseIcon.svelte.d.ts +9 -0
- package/package/components/icons/AssetGenericIcon.svelte +10 -10
- package/package/components/icons/AssetGenericIcon.svelte.d.ts +0 -1
- package/package/components/icons/Auth0Icon.svelte +10 -11
- package/package/components/icons/Auth0Icon.svelte.d.ts +5 -25
- package/package/components/icons/DucklakeIcon.svelte +2 -1
- package/package/components/icons/DucklakeIcon.svelte.d.ts +2 -1
- package/package/components/icons/FunnelCog.svelte +31 -0
- package/package/components/icons/FunnelCog.svelte.d.ts +11 -0
- package/package/components/icons/MSTeamsIcon.svelte +76 -2
- package/package/components/icons/MSTeamsIcon.svelte.d.ts +1 -2
- package/package/components/icons/McpIcon.svelte +18 -0
- package/package/components/icons/McpIcon.svelte.d.ts +7 -0
- package/package/components/icons/NextcloudIcon.svelte +13 -5
- package/package/components/icons/NextcloudIcon.svelte.d.ts +3 -2
- package/package/components/icons/SageIcon.svelte +10 -0
- package/package/components/icons/SageIcon.svelte.d.ts +7 -0
- package/package/components/icons/WindmillIcon.svelte +3 -1
- package/package/components/icons/WindmillIcon.svelte.d.ts +1 -0
- package/package/components/icons/ZohoIcon.svelte +30 -0
- package/package/components/icons/ZohoIcon.svelte.d.ts +7 -0
- package/package/components/icons/index.js +9 -1
- package/package/components/instanceSettings/CriticalAlertChannels.svelte +146 -0
- package/package/components/instanceSettings/CriticalAlertChannels.svelte.d.ts +9 -0
- package/package/components/instanceSettings/EmailChannelCard.svelte +91 -0
- package/package/components/instanceSettings/EmailChannelCard.svelte.d.ts +18 -0
- package/package/components/instanceSettings/IntegrationCard.svelte +48 -0
- package/package/components/instanceSettings/IntegrationCard.svelte.d.ts +13 -0
- package/package/components/instanceSettings/SlackChannelCard.svelte +96 -0
- package/package/components/instanceSettings/SlackChannelCard.svelte.d.ts +18 -0
- package/package/components/instanceSettings/SmtpSettings.svelte +167 -0
- package/package/components/instanceSettings/SmtpSettings.svelte.d.ts +9 -0
- package/package/components/instanceSettings/TeamsChannelCard.svelte +131 -0
- package/package/components/instanceSettings/TeamsChannelCard.svelte.d.ts +29 -0
- package/package/components/instanceSettings.d.ts +6 -0
- package/package/components/instanceSettings.js +29 -11
- package/package/components/jobs/JobPreview.svelte +2 -2
- package/package/components/meltComponents/MenuItem.svelte +3 -1
- package/package/components/meltComponents/MenuItem.svelte.d.ts +1 -0
- package/package/components/meltComponents/Popover.svelte +43 -12
- package/package/components/meltComponents/Popover.svelte.d.ts +3 -0
- package/package/components/meltComponents/Tooltip.svelte +2 -2
- package/package/components/preview/FlowPreviewStatus.svelte +3 -3
- package/package/components/propertyPicker/ObjectViewer.svelte +18 -19
- package/package/components/propertyPicker/PropPicker.svelte +96 -44
- package/package/components/propertyPicker/PropPicker.svelte.d.ts +1 -1
- package/package/components/propertyPicker/PropPickerResult.svelte +7 -0
- package/package/components/propertyPicker/PropPickerResult.svelte.d.ts +1 -0
- package/package/components/propertyPicker/WarningMessage.svelte +1 -1
- package/package/components/raw_apps/FileTreeNode.svelte +237 -0
- package/package/components/raw_apps/RawAppBackgroundRunner.svelte +15 -9
- package/package/components/raw_apps/RawAppBackgroundRunner.svelte.d.ts +3 -2
- package/package/components/raw_apps/RawAppEditor.svelte +385 -48
- package/package/components/raw_apps/RawAppEditor.svelte.d.ts +2 -2
- package/package/components/raw_apps/RawAppEditorHeader.svelte +29 -48
- package/package/components/raw_apps/RawAppEditorHeader.svelte.d.ts +6 -2
- package/package/components/raw_apps/RawAppHistoryList.svelte +106 -0
- package/package/components/raw_apps/RawAppHistoryList.svelte.d.ts +10 -0
- package/package/components/raw_apps/RawAppHistoryManager.svelte.d.ts +142 -0
- package/package/components/raw_apps/RawAppHistoryManager.svelte.js +314 -0
- package/package/components/raw_apps/RawAppInlineScriptEditor.svelte +114 -115
- package/package/components/raw_apps/RawAppInlineScriptEditor.svelte.d.ts +6 -4
- package/package/components/raw_apps/RawAppInlineScriptPanelList.svelte +84 -19
- package/package/components/raw_apps/RawAppInlineScriptPanelList.svelte.d.ts +2 -19
- package/package/components/raw_apps/RawAppInlineScriptRunnable.svelte +36 -40
- package/package/components/raw_apps/RawAppInlineScriptRunnable.svelte.d.ts +10 -2
- package/package/components/raw_apps/RawAppInlineScriptsPanel.svelte +33 -46
- package/package/components/raw_apps/RawAppInlineScriptsPanel.svelte.d.ts +4 -21
- package/package/components/raw_apps/RawAppInputsSpecEditor.svelte +3 -3
- package/package/components/raw_apps/RawAppModules.svelte +55 -0
- package/package/components/raw_apps/RawAppModules.svelte.d.ts +14 -0
- package/package/components/raw_apps/RawAppPreview.svelte.d.ts +2 -2
- package/package/components/raw_apps/RawAppSidebar.svelte +277 -0
- package/package/components/raw_apps/RawAppSidebar.svelte.d.ts +18 -0
- package/package/components/raw_apps/fileTreeUtils.d.ts +7 -0
- package/package/components/raw_apps/fileTreeUtils.js +54 -0
- package/package/components/raw_apps/lintStore.d.ts +33 -0
- package/package/components/raw_apps/lintStore.js +62 -0
- package/package/components/raw_apps/rawAppPolicy.d.ts +10 -0
- package/package/components/raw_apps/rawAppPolicy.js +42 -0
- package/package/components/raw_apps/utils.d.ts +11 -2
- package/package/components/raw_apps/utils.js +32 -45
- package/package/components/runs/BatchReRunOptionsPane.svelte +57 -52
- package/package/components/runs/JobRunsPreview.svelte +24 -14
- package/package/components/runs/JobsLoader.svelte +171 -135
- package/package/components/runs/JobsLoader.svelte.d.ts +5 -4
- package/package/components/runs/ManuelDatePicker.svelte +6 -12
- package/package/components/runs/ManuelDatePicker.svelte.d.ts +11 -14
- package/package/components/runs/MobileFilters.svelte +1 -1
- package/package/components/runs/PreprocessedArgsDisplay.svelte +1 -1
- package/package/components/runs/QueuePopover.svelte +1 -1
- package/package/components/runs/RunBadges.svelte +1 -1
- package/package/components/runs/RunOption.svelte +3 -1
- package/package/components/runs/RunRow.svelte +38 -61
- package/package/components/runs/RunRow.svelte.d.ts +1 -1
- package/package/components/runs/RunsBatchActionsDropdown.svelte +16 -18
- package/package/components/runs/RunsBatchActionsDropdown.svelte.d.ts +1 -1
- package/package/components/runs/RunsFilter.svelte +116 -90
- package/package/components/runs/RunsFilter.svelte.d.ts +4 -2
- package/package/components/runs/RunsQueue.svelte +17 -9
- package/package/components/runs/RunsTable.svelte +10 -8
- package/package/components/runs/RunsTable.svelte.d.ts +2 -1
- package/package/components/schema/AddPropertyForm.svelte +9 -9
- package/package/components/schema/AddPropertyFormV2.svelte +1 -2
- package/package/components/schema/EditableSchemaDrawer.svelte +3 -4
- package/package/components/schema/EditableSchemaSdkWrapper.svelte +2 -2
- package/package/components/schema/FlowPropertyEditor.svelte +6 -8
- package/package/components/schema/FlowPropertyEditor.svelte.d.ts +1 -1
- package/package/components/schema/PropertyEditor.svelte +2 -1
- package/package/components/schema/PropertyEditor.svelte.d.ts +2 -1
- package/package/components/schema/SchemaFormDND.svelte +4 -3
- package/package/components/schema/SchemaPickerRow.svelte +3 -3
- package/package/components/schema/jsonSchemaResource.svelte.js +6 -1
- package/package/components/scriptEditor/LogPanel.svelte +4 -4
- package/package/components/scripts/CreateActionsScript.svelte +5 -4
- package/package/components/search/GlobalSearchModal.svelte +11 -21
- package/package/components/search/RunsSearch.svelte +6 -6
- package/package/components/search/RunsSearch.svelte.d.ts +1 -1
- package/package/components/select/DraggableTags.svelte +4 -4
- package/package/components/select/MultiSelect.svelte +13 -9
- package/package/components/select/MultiSelect.svelte.d.ts +10 -2
- package/package/components/select/Select.svelte +28 -9
- package/package/components/select/Select.svelte.d.ts +8 -0
- package/package/components/select/SelectDropdown.svelte +20 -12
- package/package/components/select/utils.svelte.d.ts +1 -0
- package/package/components/select/utils.svelte.js +1 -2
- package/package/components/settings/AIUserSettings.svelte +7 -3
- package/package/components/settings/ChangeWorkspaceColor.svelte +6 -4
- package/package/components/settings/ChangeWorkspaceId.svelte +4 -4
- package/package/components/settings/ChangeWorkspaceName.svelte +4 -4
- package/package/components/settings/CreateToken.svelte +278 -57
- package/package/components/settings/PremiumInfo.svelte +4 -4
- package/package/components/settings/ScopeSelector.svelte +32 -33
- package/package/components/settings/TokenDisplay.svelte +50 -61
- package/package/components/settings/TokenDisplay.svelte.d.ts +1 -1
- package/package/components/settings/TokensTable.svelte +33 -34
- package/package/components/settings/UserAIPromptsSettings.svelte +31 -0
- package/package/components/settings/UserAIPromptsSettings.svelte.d.ts +3 -0
- package/package/components/settings/UserInfoSettings.svelte +37 -39
- package/package/components/settings/WorkspaceOperatorSettings.svelte +2 -2
- package/package/components/settings/WorkspaceUserSettings.svelte +12 -11
- package/package/components/sidebar/CriticalAlertModal.svelte +10 -7
- package/package/components/sidebar/CriticalAlertModalInner.svelte +4 -4
- package/package/components/sidebar/CriticalAlertTable.svelte +4 -4
- package/package/components/sidebar/MenuButton.svelte +11 -12
- package/package/components/sidebar/MenuButton.svelte.d.ts +5 -0
- package/package/components/sidebar/MenuLink.svelte +8 -33
- package/package/components/sidebar/MultiplayerMenu.svelte +1 -1
- package/package/components/sidebar/OperatorMenu.svelte +29 -20
- package/package/components/sidebar/SidebarContent.svelte +38 -11
- package/package/components/sidebar/UserMenu.svelte +2 -6
- package/package/components/sidebar/WorkspaceMenu.svelte +9 -13
- package/package/components/sidebar/changelogs.js +5 -0
- package/package/components/splitPanes/AnimatedPane.svelte +38 -0
- package/package/components/splitPanes/AnimatedPane.svelte.d.ts +12 -0
- package/package/components/sqlTypeService.d.ts +19 -0
- package/package/components/sqlTypeService.js +146 -0
- package/package/components/stepHistoryLoader.svelte.js +1 -1
- package/package/components/table/Cell.svelte +4 -3
- package/package/components/table/DataTable.svelte +1 -1
- package/package/components/table/DownloadCsv.svelte +2 -2
- package/package/components/text_input/TextInput.svelte +38 -19
- package/package/components/text_input/TextInput.svelte.d.ts +42 -9
- package/package/components/triggers/AddTriggersButton.svelte +2 -3
- package/package/components/triggers/CaptureButton.svelte +2 -3
- package/package/components/triggers/CaptureSection.svelte +88 -34
- package/package/components/triggers/CaptureSection.svelte.d.ts +3 -1
- package/package/components/triggers/CaptureTable.svelte +3 -3
- package/package/components/triggers/CaptureTable.svelte.d.ts +3 -1
- package/package/components/triggers/DeleteTriggerButton.svelte +4 -7
- package/package/components/triggers/TestTriggerConnection.svelte +1 -2
- package/package/components/triggers/TriggerEditorToolbar.svelte +23 -23
- package/package/components/triggers/TriggerEditorToolbar.svelte.d.ts +7 -3
- package/package/components/triggers/TriggerLabel.svelte +8 -30
- package/package/components/triggers/TriggerModeToggle.svelte +73 -0
- package/package/components/triggers/TriggerModeToggle.svelte.d.ts +18 -0
- package/package/components/triggers/TriggerSuspendedJobsAlert.svelte +21 -0
- package/package/components/triggers/TriggerSuspendedJobsAlert.svelte.d.ts +7 -0
- package/package/components/triggers/TriggerSuspendedJobsModal.svelte +471 -0
- package/package/components/triggers/TriggerSuspendedJobsModal.svelte.d.ts +22 -0
- package/package/components/triggers/TriggersEditor.svelte +113 -69
- package/package/components/triggers/TriggersEditor.svelte.d.ts +1 -1
- package/package/components/triggers/TriggersTable.svelte +14 -15
- package/package/components/triggers/TriggersWrapper.svelte +5 -9
- package/package/components/triggers/TriggersWrapper.svelte.d.ts +1 -1
- package/package/components/triggers/email/DefaultEmailCapture.svelte.d.ts +3 -1
- package/package/components/triggers/email/DefaultEmailConfigSection.svelte +19 -27
- package/package/components/triggers/email/DefaultEmailConfigSection.svelte.d.ts +1 -1
- package/package/components/triggers/email/DefaultEmailPanel.svelte +3 -3
- package/package/components/triggers/email/DefaultEmailPanel.svelte.d.ts +1 -1
- package/package/components/triggers/email/EmailCapture.svelte.d.ts +3 -1
- package/package/components/triggers/email/EmailTriggerEditorInner.svelte +75 -16
- package/package/components/triggers/email/utils.d.ts +1 -1
- package/package/components/triggers/email/utils.js +14 -13
- package/package/components/triggers/gcp/GcpCapture.svelte.d.ts +3 -1
- package/package/components/triggers/gcp/GcpTriggerEditorConfigSection.svelte +4 -8
- package/package/components/triggers/gcp/GcpTriggerEditorInner.svelte +60 -25
- package/package/components/triggers/gcp/utils.js +2 -2
- package/package/components/triggers/http/OpenAPISpecGenerator.svelte +8 -14
- package/package/components/triggers/http/RouteBodyTransformerOption.svelte +4 -2
- package/package/components/triggers/http/RouteCapture.svelte.d.ts +3 -1
- package/package/components/triggers/http/RouteEditorConfigSection.svelte +38 -35
- package/package/components/triggers/http/RouteEditorInner.svelte +402 -303
- package/package/components/triggers/http/RoutesGenerator.svelte +2 -3
- package/package/components/triggers/http/utils.js +5 -4
- package/package/components/triggers/kafka/KafkaCapture.svelte.d.ts +3 -1
- package/package/components/triggers/kafka/KafkaTriggerEditorInner.svelte +63 -20
- package/package/components/triggers/kafka/utils.js +2 -2
- package/package/components/triggers/mqtt/MqttCapture.svelte.d.ts +3 -1
- package/package/components/triggers/mqtt/MqttEditorConfigSection.svelte +2 -3
- package/package/components/triggers/mqtt/MqttTriggerEditorInner.svelte +58 -20
- package/package/components/triggers/mqtt/utils.js +3 -3
- package/package/components/triggers/nats/NatsCapture.svelte.d.ts +3 -1
- package/package/components/triggers/nats/NatsTriggerEditorInner.svelte +57 -19
- package/package/components/triggers/nats/utils.js +2 -2
- package/package/components/triggers/postgres/CheckPostgresRequirement.svelte +1 -2
- package/package/components/triggers/postgres/PostgresCapture.svelte.d.ts +3 -1
- package/package/components/triggers/postgres/PostgresTriggerEditorInner.svelte +79 -35
- package/package/components/triggers/postgres/PublicationPicker.svelte +3 -6
- package/package/components/triggers/postgres/RelationPicker.svelte +3 -6
- package/package/components/triggers/postgres/SlotPicker.svelte +2 -4
- package/package/components/triggers/postgres/utils.js +3 -3
- package/package/components/triggers/scheduled/ScheduledPollPanel.svelte +1 -1
- package/package/components/triggers/schedules/ScheduleEditorInner.svelte +152 -135
- package/package/components/triggers/sqs/SqsCapture.svelte.d.ts +3 -1
- package/package/components/triggers/sqs/SqsTriggerEditorConfigSection.svelte +3 -4
- package/package/components/triggers/sqs/SqsTriggerEditorInner.svelte +60 -19
- package/package/components/triggers/sqs/utils.js +3 -3
- package/package/components/triggers/testingBadge.svelte +1 -1
- package/package/components/triggers/utils.js +30 -0
- package/package/components/triggers/webhook/WebhooksCapture.svelte.d.ts +3 -1
- package/package/components/triggers/webhook/WebhooksConfigSection.svelte +124 -155
- package/package/components/triggers/webhook/WebhooksConfigSection.svelte.d.ts +1 -1
- package/package/components/triggers/webhook/WebhooksPanel.svelte +2 -2
- package/package/components/triggers/webhook/WebhooksPanel.svelte.d.ts +1 -1
- package/package/components/triggers/websocket/WebsocketCapture.svelte.d.ts +3 -1
- package/package/components/triggers/websocket/WebsocketTriggerEditorInner.svelte +67 -27
- package/package/components/triggers/websocket/utils.js +2 -2
- package/package/components/tutorials/FlowBuilderLiveTutorial.svelte +703 -0
- package/package/components/tutorials/{app/AppTutorial.svelte.d.ts → FlowBuilderLiveTutorial.svelte.d.ts} +7 -8
- package/package/components/tutorials/SkipTutorials.svelte +2 -4
- package/package/components/tutorials/TroubleshootFlowTutorial.svelte +410 -0
- package/package/components/tutorials/{FlowBuilderTutorialErrorHandler.svelte.d.ts → TroubleshootFlowTutorial.svelte.d.ts} +8 -7
- package/package/components/tutorials/TutorialControls.svelte +1 -1
- package/package/components/tutorials/TutorialProgressBar.svelte +20 -0
- package/package/components/tutorials/TutorialProgressBar.svelte.d.ts +8 -0
- package/package/components/tutorials/TutorialRouter.svelte +45 -0
- package/package/components/tutorials/TutorialRouter.svelte.d.ts +16 -0
- package/package/components/tutorials/TutorialWrapper.svelte +23 -0
- package/package/components/tutorials/TutorialWrapper.svelte.d.ts +28 -0
- package/package/components/tutorials/utils.js +6 -6
- package/package/components/tutorials/workspace/WorkspaceOnboardingTutorial.svelte +106 -0
- package/package/components/tutorials/{FlowBuilderTutorialSimpleFlow.svelte.d.ts → workspace/WorkspaceOnboardingTutorial.svelte.d.ts} +7 -8
- package/package/components/vscode.d.ts +1 -0
- package/package/components/vscode.js +12 -6
- package/package/components/wizards/AgChartWizard.svelte +1 -1
- package/package/components/wizards/AgGridWizard.svelte +55 -55
- package/package/components/wizards/DBExplorerWizard.svelte +1 -2
- package/package/components/wizards/LoggedWizardResult.svelte +3 -3
- package/package/components/wizards/TableActionsWizard.svelte +4 -10
- package/package/components/wizards/TableActionsWizard.svelte.d.ts +2 -2
- package/package/components/worker_group.js +3 -2
- package/package/components/workspaceSettings/AISettings.svelte +21 -70
- package/package/components/workspaceSettings/AISettings.svelte.d.ts +2 -1
- package/package/components/workspaceSettings/CreateWorkspace.svelte +325 -159
- package/package/components/workspaceSettings/CustomInstanceDbSelect.svelte +69 -0
- package/package/components/workspaceSettings/CustomInstanceDbSelect.svelte.d.ts +17 -0
- package/package/components/workspaceSettings/CustomInstanceDbWizardModal.svelte +188 -0
- package/package/components/workspaceSettings/CustomInstanceDbWizardModal.svelte.d.ts +19 -0
- package/package/components/workspaceSettings/DataTableSettings.svelte +256 -0
- package/package/components/workspaceSettings/DataTableSettings.svelte.d.ts +23 -0
- package/package/components/workspaceSettings/DucklakeSettings.svelte +41 -205
- package/package/components/workspaceSettings/DucklakeSettings.svelte.d.ts +1 -0
- package/package/components/workspaceSettings/GitSyncFilterSettings.svelte +42 -21
- package/package/components/workspaceSettings/ModelTokenLimits.svelte +1 -1
- package/package/components/workspaceSettings/StorageSettings.svelte +18 -17
- package/package/components/workspaceSettings/StorageSettings.svelte.d.ts +1 -0
- package/package/components/workspaceSettings/WorkspaceDependenciesSettings.svelte +365 -0
- package/package/components/workspaceSettings/WorkspaceDependenciesSettings.svelte.d.ts +3 -0
- package/package/components/workspaceSettings/utils.svelte.d.ts +1 -0
- package/package/components/workspaceSettings/utils.svelte.js +4 -0
- package/package/consts.d.ts +1 -1
- package/package/cookies.d.ts +7 -0
- package/package/cookies.js +25 -0
- package/package/gen/core/OpenAPI.js +1 -1
- package/package/gen/schemas.gen.d.ts +1053 -97
- package/package/gen/schemas.gen.js +1139 -174
- package/package/gen/services.gen.d.ts +539 -35
- package/package/gen/services.gen.js +1125 -87
- package/package/gen/types.gen.d.ts +2833 -299
- package/package/hub.d.ts +4 -0
- package/package/hub.js +2 -0
- package/package/hubPaths.json +10 -9
- package/package/infer.d.ts +27 -1
- package/package/infer.js +27 -9
- package/package/infer.svelte.d.ts +4 -0
- package/package/infer.svelte.js +70 -0
- package/package/mcpEndpointTools.d.ts +11 -0
- package/package/mcpEndpointTools.js +1414 -0
- package/package/monaco_workers/sqlTypePlugin.worker.d.ts +151 -0
- package/package/monaco_workers/sqlTypePlugin.worker.js +789 -0
- package/package/monaco_workers/sqlTypePlugin.worker.test.d.ts +1 -0
- package/package/monaco_workers/sqlTypePlugin.worker.test.js +99 -0
- package/package/rawAppWmillTs.d.ts +4 -0
- package/package/rawAppWmillTs.js +46 -0
- package/package/script_helpers.d.ts +14 -1
- package/package/script_helpers.js +205 -33
- package/package/scripts.d.ts +2 -1
- package/package/scripts.js +9 -0
- package/package/sharedUtils.d.ts +5 -0
- package/package/sharedUtils.js +7 -0
- package/package/storeUtils.js +2 -2
- package/package/stores.d.ts +3 -0
- package/package/stores.js +26 -14
- package/package/svelte5Utils.svelte.d.ts +27 -1
- package/package/svelte5Utils.svelte.js +68 -2
- package/package/test-setup.d.ts +4 -0
- package/package/test-setup.js +76 -0
- package/package/toast.d.ts +3 -0
- package/package/toast.js +3 -2
- package/package/tutorialUtils.d.ts +36 -0
- package/package/tutorialUtils.js +152 -6
- package/package/tutorials/config.d.ts +28 -0
- package/package/tutorials/config.js +103 -0
- package/package/tutorials/roleUtils.d.ts +20 -0
- package/package/tutorials/roleUtils.js +52 -0
- package/package/utils.js +164 -9
- package/package/utils.test.d.ts +1 -0
- package/package/utils.test.js +208 -0
- package/package/utils_deployable.d.ts +18 -18
- package/package/utils_deployable.js +16 -16
- package/package.json +33 -25
- package/package/components/ConfirmButton.svelte +0 -31
- package/package/components/DefaultTags.svelte +0 -24
- package/package/components/DefaultTags.svelte.d.ts +0 -7
- package/package/components/FlowBuilderTutorials.svelte +0 -79
- package/package/components/copilot/chat/flow/FlowAIButton.svelte +0 -64
- package/package/components/copilot/chat/flow/FlowAIButton.svelte.d.ts +0 -8
- package/package/components/copilot/chat/flow/ModuleAcceptReject.svelte +0 -52
- package/package/components/copilot/chat/flow/ModuleAcceptReject.svelte.d.ts +0 -10
- package/package/components/flows/content/FlowConstants.svelte +0 -120
- package/package/components/flows/content/FlowConstants.svelte.d.ts +0 -6
- package/package/components/flows/content/FlowInputsFlowQuick.svelte +0 -65
- package/package/components/flows/conversations/FlowChatManager.svelte.d.ts +0 -52
- package/package/components/flows/conversations/FlowChatMessage.svelte +0 -68
- package/package/components/flows/conversations/FlowChatMessage.svelte.d.ts +0 -7
- package/package/components/tutorials/FlowBuilderTutorialBranchAll.svelte +0 -96
- package/package/components/tutorials/FlowBuilderTutorialBranchAll.svelte.d.ts +0 -25
- package/package/components/tutorials/FlowBuilderTutorialBranchOne.svelte +0 -116
- package/package/components/tutorials/FlowBuilderTutorialBranchOne.svelte.d.ts +0 -26
- package/package/components/tutorials/FlowBuilderTutorialErrorHandler.svelte +0 -131
- package/package/components/tutorials/FlowBuilderTutorialForLoop.svelte +0 -273
- package/package/components/tutorials/FlowBuilderTutorialForLoop.svelte.d.ts +0 -26
- package/package/components/tutorials/FlowBuilderTutorialSimpleFlow.svelte +0 -280
- package/package/components/tutorials/app/AppTutorial.svelte +0 -247
- package/package/defaults.d.ts +0 -5
- package/package/defaults.js +0 -5
- package/package/utils.d.ts +0 -240
|
@@ -1,174 +1,590 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Top-level flow definition containing metadata, configuration, and the flow structure
|
|
3
|
+
*/
|
|
1
4
|
export type OpenFlow = {
|
|
5
|
+
/**
|
|
6
|
+
* Short description of what this flow does
|
|
7
|
+
*/
|
|
2
8
|
summary: string;
|
|
9
|
+
/**
|
|
10
|
+
* Detailed documentation for this flow
|
|
11
|
+
*/
|
|
3
12
|
description?: string;
|
|
4
13
|
value: FlowValue;
|
|
14
|
+
/**
|
|
15
|
+
* JSON Schema for flow inputs. Use this to define input parameters, their types, defaults, and validation. For resource inputs, set type to 'object' and format to 'resource-<type>' (e.g., 'resource-stripe')
|
|
16
|
+
*/
|
|
5
17
|
schema?: {
|
|
6
18
|
[key: string]: unknown;
|
|
7
19
|
};
|
|
8
20
|
};
|
|
21
|
+
/**
|
|
22
|
+
* The flow structure containing modules and optional preprocessor/failure handlers
|
|
23
|
+
*/
|
|
9
24
|
export type FlowValue = {
|
|
25
|
+
/**
|
|
26
|
+
* Array of steps that execute in sequence. Each step can be a script, subflow, loop, or branch
|
|
27
|
+
*/
|
|
10
28
|
modules: Array<FlowModule>;
|
|
29
|
+
/**
|
|
30
|
+
* Special module that executes when the flow fails. Receives error object with message, name, stack, and step_id. Must have id 'failure'. Only supports script/rawscript types
|
|
31
|
+
*/
|
|
11
32
|
failure_module?: FlowModule;
|
|
33
|
+
/**
|
|
34
|
+
* Special module that runs before the first step on external triggers. Must have id 'preprocessor'. Only supports script/rawscript types. Cannot reference other step results
|
|
35
|
+
*/
|
|
12
36
|
preprocessor_module?: FlowModule;
|
|
37
|
+
/**
|
|
38
|
+
* If true, all steps run on the same worker for better performance
|
|
39
|
+
*/
|
|
13
40
|
same_worker?: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* Maximum number of concurrent executions of this flow
|
|
43
|
+
*/
|
|
14
44
|
concurrent_limit?: number;
|
|
45
|
+
/**
|
|
46
|
+
* Expression to group concurrent executions (e.g., by user ID)
|
|
47
|
+
*/
|
|
15
48
|
concurrency_key?: string;
|
|
49
|
+
/**
|
|
50
|
+
* Time window in seconds for concurrent_limit
|
|
51
|
+
*/
|
|
16
52
|
concurrency_time_window_s?: number;
|
|
53
|
+
/**
|
|
54
|
+
* Delay in seconds to debounce flow executions
|
|
55
|
+
*/
|
|
56
|
+
debounce_delay_s?: number;
|
|
57
|
+
/**
|
|
58
|
+
* Expression to group debounced executions
|
|
59
|
+
*/
|
|
60
|
+
debounce_key?: string;
|
|
61
|
+
/**
|
|
62
|
+
* JavaScript expression to conditionally skip the entire flow
|
|
63
|
+
*/
|
|
17
64
|
skip_expr?: string;
|
|
65
|
+
/**
|
|
66
|
+
* Cache duration in seconds for flow results
|
|
67
|
+
*/
|
|
18
68
|
cache_ttl?: number;
|
|
69
|
+
cache_ignore_s3_path?: boolean;
|
|
70
|
+
/**
|
|
71
|
+
* Environment variables available to all steps
|
|
72
|
+
*/
|
|
73
|
+
flow_env?: {
|
|
74
|
+
[key: string]: (string);
|
|
75
|
+
};
|
|
76
|
+
/**
|
|
77
|
+
* Execution priority (higher numbers run first)
|
|
78
|
+
*/
|
|
19
79
|
priority?: number;
|
|
80
|
+
/**
|
|
81
|
+
* JavaScript expression to return early from the flow
|
|
82
|
+
*/
|
|
20
83
|
early_return?: string;
|
|
21
84
|
/**
|
|
22
85
|
* Whether this flow accepts chat-style input
|
|
23
86
|
*/
|
|
24
87
|
chat_input_enabled?: boolean;
|
|
88
|
+
/**
|
|
89
|
+
* Sticky notes attached to the flow
|
|
90
|
+
*/
|
|
91
|
+
notes?: Array<FlowNote>;
|
|
25
92
|
};
|
|
93
|
+
/**
|
|
94
|
+
* Retry configuration for failed module executions
|
|
95
|
+
*/
|
|
26
96
|
export type Retry = {
|
|
97
|
+
/**
|
|
98
|
+
* Retry with constant delay between attempts
|
|
99
|
+
*/
|
|
27
100
|
constant?: {
|
|
101
|
+
/**
|
|
102
|
+
* Number of retry attempts
|
|
103
|
+
*/
|
|
28
104
|
attempts?: number;
|
|
105
|
+
/**
|
|
106
|
+
* Seconds to wait between retries
|
|
107
|
+
*/
|
|
29
108
|
seconds?: number;
|
|
30
109
|
};
|
|
110
|
+
/**
|
|
111
|
+
* Retry with exponential backoff (delay doubles each time)
|
|
112
|
+
*/
|
|
31
113
|
exponential?: {
|
|
114
|
+
/**
|
|
115
|
+
* Number of retry attempts
|
|
116
|
+
*/
|
|
32
117
|
attempts?: number;
|
|
118
|
+
/**
|
|
119
|
+
* Multiplier for exponential backoff
|
|
120
|
+
*/
|
|
33
121
|
multiplier?: number;
|
|
122
|
+
/**
|
|
123
|
+
* Initial delay in seconds
|
|
124
|
+
*/
|
|
34
125
|
seconds?: number;
|
|
126
|
+
/**
|
|
127
|
+
* Random jitter percentage (0-100) to avoid thundering herd
|
|
128
|
+
*/
|
|
35
129
|
random_factor?: number;
|
|
36
130
|
};
|
|
131
|
+
/**
|
|
132
|
+
* Conditional retry based on error or result
|
|
133
|
+
*/
|
|
37
134
|
retry_if?: {
|
|
135
|
+
/**
|
|
136
|
+
* JavaScript expression that returns true to retry. Has access to 'result' and 'error' variables
|
|
137
|
+
*/
|
|
38
138
|
expr: string;
|
|
39
139
|
};
|
|
40
140
|
};
|
|
141
|
+
/**
|
|
142
|
+
* Early termination condition for a module
|
|
143
|
+
*/
|
|
41
144
|
export type StopAfterIf = {
|
|
145
|
+
/**
|
|
146
|
+
* If true, following steps are skipped when this condition triggers
|
|
147
|
+
*/
|
|
42
148
|
skip_if_stopped?: boolean;
|
|
149
|
+
/**
|
|
150
|
+
* JavaScript expression evaluated after the module runs. Can use 'result' (step's result) or 'flow_input'. Return true to stop
|
|
151
|
+
*/
|
|
43
152
|
expr: string;
|
|
153
|
+
/**
|
|
154
|
+
* Custom error message shown when stopping
|
|
155
|
+
*/
|
|
44
156
|
error_message?: string;
|
|
45
157
|
};
|
|
158
|
+
/**
|
|
159
|
+
* A single step in a flow. Can be a script, subflow, loop, or branch
|
|
160
|
+
*/
|
|
46
161
|
export type FlowModule = {
|
|
162
|
+
/**
|
|
163
|
+
* Unique identifier for this step. Used to reference results via 'results.step_id'. Must be a valid identifier (alphanumeric, underscore, hyphen)
|
|
164
|
+
*/
|
|
47
165
|
id: string;
|
|
48
166
|
value: FlowModuleValue;
|
|
167
|
+
/**
|
|
168
|
+
* Early termination condition evaluated after this step completes
|
|
169
|
+
*/
|
|
49
170
|
stop_after_if?: StopAfterIf;
|
|
171
|
+
/**
|
|
172
|
+
* For loops only - early termination condition evaluated after all iterations complete
|
|
173
|
+
*/
|
|
50
174
|
stop_after_all_iters_if?: StopAfterIf;
|
|
175
|
+
/**
|
|
176
|
+
* Conditionally skip this step based on previous results or flow inputs
|
|
177
|
+
*/
|
|
51
178
|
skip_if?: {
|
|
179
|
+
/**
|
|
180
|
+
* JavaScript expression that returns true to skip. Can use 'flow_input' or 'results.<step_id>'
|
|
181
|
+
*/
|
|
52
182
|
expr: string;
|
|
53
183
|
};
|
|
184
|
+
/**
|
|
185
|
+
* Delay before executing this step (in seconds or as expression)
|
|
186
|
+
*/
|
|
54
187
|
sleep?: InputTransform;
|
|
188
|
+
/**
|
|
189
|
+
* Cache duration in seconds for this step's results
|
|
190
|
+
*/
|
|
55
191
|
cache_ttl?: number;
|
|
192
|
+
cache_ignore_s3_path?: boolean;
|
|
193
|
+
/**
|
|
194
|
+
* Maximum execution time in seconds (static value or expression)
|
|
195
|
+
*/
|
|
56
196
|
timeout?: InputTransform;
|
|
197
|
+
/**
|
|
198
|
+
* If true, this step's result is deleted after use to save memory
|
|
199
|
+
*/
|
|
57
200
|
delete_after_use?: boolean;
|
|
201
|
+
/**
|
|
202
|
+
* Short description of what this step does
|
|
203
|
+
*/
|
|
58
204
|
summary?: string;
|
|
205
|
+
/**
|
|
206
|
+
* Mock configuration for testing without executing the actual step
|
|
207
|
+
*/
|
|
59
208
|
mock?: {
|
|
209
|
+
/**
|
|
210
|
+
* If true, return mock value instead of executing
|
|
211
|
+
*/
|
|
60
212
|
enabled?: boolean;
|
|
213
|
+
/**
|
|
214
|
+
* Value to return when mocked
|
|
215
|
+
*/
|
|
61
216
|
return_value?: unknown;
|
|
62
217
|
};
|
|
218
|
+
/**
|
|
219
|
+
* Configuration for approval/resume steps that wait for user input
|
|
220
|
+
*/
|
|
63
221
|
suspend?: {
|
|
222
|
+
/**
|
|
223
|
+
* Number of approvals required before continuing
|
|
224
|
+
*/
|
|
64
225
|
required_events?: number;
|
|
226
|
+
/**
|
|
227
|
+
* Timeout in seconds before auto-continuing or canceling
|
|
228
|
+
*/
|
|
65
229
|
timeout?: number;
|
|
230
|
+
/**
|
|
231
|
+
* Form schema for collecting input when resuming
|
|
232
|
+
*/
|
|
66
233
|
resume_form?: {
|
|
234
|
+
/**
|
|
235
|
+
* JSON Schema for the resume form
|
|
236
|
+
*/
|
|
67
237
|
schema?: {
|
|
68
238
|
[key: string]: unknown;
|
|
69
239
|
};
|
|
70
240
|
};
|
|
241
|
+
/**
|
|
242
|
+
* If true, only authenticated users can approve
|
|
243
|
+
*/
|
|
71
244
|
user_auth_required?: boolean;
|
|
245
|
+
/**
|
|
246
|
+
* Expression or list of groups that can approve
|
|
247
|
+
*/
|
|
72
248
|
user_groups_required?: InputTransform;
|
|
249
|
+
/**
|
|
250
|
+
* If true, the user who started the flow cannot approve
|
|
251
|
+
*/
|
|
73
252
|
self_approval_disabled?: boolean;
|
|
253
|
+
/**
|
|
254
|
+
* If true, hide the cancel button on the approval form
|
|
255
|
+
*/
|
|
74
256
|
hide_cancel?: boolean;
|
|
257
|
+
/**
|
|
258
|
+
* If true, continue flow on timeout instead of canceling
|
|
259
|
+
*/
|
|
75
260
|
continue_on_disapprove_timeout?: boolean;
|
|
76
261
|
};
|
|
262
|
+
/**
|
|
263
|
+
* Execution priority for this step (higher numbers run first)
|
|
264
|
+
*/
|
|
77
265
|
priority?: number;
|
|
266
|
+
/**
|
|
267
|
+
* If true, flow continues even if this step fails
|
|
268
|
+
*/
|
|
78
269
|
continue_on_error?: boolean;
|
|
270
|
+
/**
|
|
271
|
+
* Retry configuration if this step fails
|
|
272
|
+
*/
|
|
79
273
|
retry?: Retry;
|
|
80
274
|
};
|
|
275
|
+
/**
|
|
276
|
+
* Maps input parameters for a step. Can be a static value or a JavaScript expression that references previous results or flow inputs
|
|
277
|
+
*/
|
|
81
278
|
export type InputTransform = StaticTransform | JavascriptTransform;
|
|
279
|
+
/**
|
|
280
|
+
* Static value passed directly to the step. Use for hardcoded values or resource references like '$res:path/to/resource'
|
|
281
|
+
*/
|
|
82
282
|
export type StaticTransform = {
|
|
83
|
-
|
|
283
|
+
/**
|
|
284
|
+
* The static value. For resources, use format '$res:path/to/resource'
|
|
285
|
+
*/
|
|
286
|
+
value?: unknown;
|
|
84
287
|
type: 'static';
|
|
85
288
|
};
|
|
289
|
+
/**
|
|
290
|
+
* JavaScript expression evaluated at runtime. Can reference previous step results via 'results.step_id' or flow inputs via 'flow_input.property'. Inside loops, use 'flow_input.iter.value' for the current iteration value
|
|
291
|
+
*/
|
|
86
292
|
export type JavascriptTransform = {
|
|
293
|
+
/**
|
|
294
|
+
* JavaScript expression returning the value. Available variables - results (object with all previous step results), flow_input (flow inputs), flow_input.iter (in loops)
|
|
295
|
+
*/
|
|
87
296
|
expr: string;
|
|
88
297
|
type: 'javascript';
|
|
89
298
|
};
|
|
299
|
+
/**
|
|
300
|
+
* The actual implementation of a flow step. Can be a script (inline or referenced), subflow, loop, branch, or special module type
|
|
301
|
+
*/
|
|
90
302
|
export type FlowModuleValue = RawScript | PathScript | PathFlow | ForloopFlow | WhileloopFlow | BranchOne | BranchAll | Identity | AiAgent;
|
|
303
|
+
/**
|
|
304
|
+
* Inline script with code defined directly in the flow. Use 'bun' as default language if unspecified. The script receives arguments from input_transforms
|
|
305
|
+
*/
|
|
91
306
|
export type RawScript = {
|
|
307
|
+
/**
|
|
308
|
+
* Map of parameter names to their values (static or JavaScript expressions). These become the script's input arguments
|
|
309
|
+
*/
|
|
92
310
|
input_transforms: {
|
|
93
311
|
[key: string]: InputTransform;
|
|
94
312
|
};
|
|
313
|
+
/**
|
|
314
|
+
* The script source code. Should export a 'main' function
|
|
315
|
+
*/
|
|
95
316
|
content: string;
|
|
317
|
+
/**
|
|
318
|
+
* Programming language for this script
|
|
319
|
+
*/
|
|
96
320
|
language: 'deno' | 'bun' | 'python3' | 'go' | 'bash' | 'powershell' | 'postgresql' | 'mysql' | 'bigquery' | 'snowflake' | 'mssql' | 'oracledb' | 'graphql' | 'nativets' | 'php';
|
|
321
|
+
/**
|
|
322
|
+
* Optional path for saving this script
|
|
323
|
+
*/
|
|
97
324
|
path?: string;
|
|
325
|
+
/**
|
|
326
|
+
* Lock file content for dependencies
|
|
327
|
+
*/
|
|
98
328
|
lock?: string;
|
|
99
329
|
type: 'rawscript';
|
|
330
|
+
/**
|
|
331
|
+
* Worker group tag for execution routing
|
|
332
|
+
*/
|
|
100
333
|
tag?: string;
|
|
334
|
+
/**
|
|
335
|
+
* Maximum concurrent executions of this script
|
|
336
|
+
*/
|
|
101
337
|
concurrent_limit?: number;
|
|
338
|
+
/**
|
|
339
|
+
* Time window for concurrent_limit
|
|
340
|
+
*/
|
|
102
341
|
concurrency_time_window_s?: number;
|
|
342
|
+
/**
|
|
343
|
+
* Custom key for grouping concurrent executions
|
|
344
|
+
*/
|
|
103
345
|
custom_concurrency_key?: string;
|
|
346
|
+
/**
|
|
347
|
+
* If true, this script is a trigger that can start the flow
|
|
348
|
+
*/
|
|
104
349
|
is_trigger?: boolean;
|
|
350
|
+
/**
|
|
351
|
+
* External resources this script accesses (S3 objects, resources, etc.)
|
|
352
|
+
*/
|
|
105
353
|
assets?: Array<{
|
|
354
|
+
/**
|
|
355
|
+
* Path to the asset
|
|
356
|
+
*/
|
|
106
357
|
path: string;
|
|
107
|
-
|
|
358
|
+
/**
|
|
359
|
+
* Type of asset
|
|
360
|
+
*/
|
|
361
|
+
kind: 's3object' | 'resource' | 'ducklake' | 'datatable';
|
|
362
|
+
/**
|
|
363
|
+
* Access level for this asset
|
|
364
|
+
*/
|
|
108
365
|
access_type?: 'r' | 'w' | 'rw';
|
|
366
|
+
/**
|
|
367
|
+
* Alternative access level
|
|
368
|
+
*/
|
|
109
369
|
alt_access_type?: 'r' | 'w' | 'rw';
|
|
110
370
|
}>;
|
|
111
371
|
};
|
|
372
|
+
/**
|
|
373
|
+
* Reference to an existing script by path. Use this when calling a previously saved script instead of writing inline code
|
|
374
|
+
*/
|
|
112
375
|
export type PathScript = {
|
|
376
|
+
/**
|
|
377
|
+
* Map of parameter names to their values (static or JavaScript expressions). These become the script's input arguments
|
|
378
|
+
*/
|
|
113
379
|
input_transforms: {
|
|
114
380
|
[key: string]: InputTransform;
|
|
115
381
|
};
|
|
382
|
+
/**
|
|
383
|
+
* Path to the script in the workspace (e.g., 'f/scripts/send_email')
|
|
384
|
+
*/
|
|
116
385
|
path: string;
|
|
386
|
+
/**
|
|
387
|
+
* Optional specific version hash of the script to use
|
|
388
|
+
*/
|
|
117
389
|
hash?: string;
|
|
118
390
|
type: 'script';
|
|
391
|
+
/**
|
|
392
|
+
* Override the script's default worker group tag
|
|
393
|
+
*/
|
|
119
394
|
tag_override?: string;
|
|
395
|
+
/**
|
|
396
|
+
* If true, this script is a trigger that can start the flow
|
|
397
|
+
*/
|
|
120
398
|
is_trigger?: boolean;
|
|
121
399
|
};
|
|
400
|
+
/**
|
|
401
|
+
* Reference to an existing flow by path. Use this to call another flow as a subflow
|
|
402
|
+
*/
|
|
122
403
|
export type PathFlow = {
|
|
404
|
+
/**
|
|
405
|
+
* Map of parameter names to their values (static or JavaScript expressions). These become the subflow's input arguments
|
|
406
|
+
*/
|
|
123
407
|
input_transforms: {
|
|
124
408
|
[key: string]: InputTransform;
|
|
125
409
|
};
|
|
410
|
+
/**
|
|
411
|
+
* Path to the flow in the workspace (e.g., 'f/flows/process_user')
|
|
412
|
+
*/
|
|
126
413
|
path: string;
|
|
127
414
|
type: 'flow';
|
|
128
415
|
};
|
|
416
|
+
/**
|
|
417
|
+
* Executes nested modules in a loop over an iterator. Inside the loop, use 'flow_input.iter.value' to access the current iteration value, and 'flow_input.iter.index' for the index. Supports parallel execution for better performance on I/O-bound operations
|
|
418
|
+
*/
|
|
129
419
|
export type ForloopFlow = {
|
|
420
|
+
/**
|
|
421
|
+
* Steps to execute for each iteration. These can reference the iteration value via 'flow_input.iter.value'
|
|
422
|
+
*/
|
|
130
423
|
modules: Array<FlowModule>;
|
|
424
|
+
/**
|
|
425
|
+
* JavaScript expression that returns an array to iterate over. Can reference 'results.step_id' or 'flow_input'
|
|
426
|
+
*/
|
|
131
427
|
iterator: InputTransform;
|
|
428
|
+
/**
|
|
429
|
+
* If true, iteration failures don't stop the loop. Failed iterations return null
|
|
430
|
+
*/
|
|
132
431
|
skip_failures: boolean;
|
|
133
432
|
type: 'forloopflow';
|
|
433
|
+
/**
|
|
434
|
+
* If true, iterations run concurrently (faster for I/O-bound operations). Use with parallelism to control concurrency
|
|
435
|
+
*/
|
|
134
436
|
parallel?: boolean;
|
|
437
|
+
/**
|
|
438
|
+
* Maximum number of concurrent iterations when parallel=true. Limits resource usage. Can be static number or expression
|
|
439
|
+
*/
|
|
135
440
|
parallelism?: InputTransform;
|
|
441
|
+
squash?: boolean;
|
|
136
442
|
};
|
|
443
|
+
/**
|
|
444
|
+
* Executes nested modules repeatedly while a condition is true. The loop checks the condition after each iteration. Use stop_after_if on modules to control loop termination
|
|
445
|
+
*/
|
|
137
446
|
export type WhileloopFlow = {
|
|
447
|
+
/**
|
|
448
|
+
* Steps to execute in each iteration. Use stop_after_if to control when the loop ends
|
|
449
|
+
*/
|
|
138
450
|
modules: Array<FlowModule>;
|
|
451
|
+
/**
|
|
452
|
+
* If true, iteration failures don't stop the loop. Failed iterations return null
|
|
453
|
+
*/
|
|
139
454
|
skip_failures: boolean;
|
|
140
455
|
type: 'whileloopflow';
|
|
456
|
+
/**
|
|
457
|
+
* If true, iterations run concurrently (use with caution in while loops)
|
|
458
|
+
*/
|
|
141
459
|
parallel?: boolean;
|
|
460
|
+
/**
|
|
461
|
+
* Maximum number of concurrent iterations when parallel=true
|
|
462
|
+
*/
|
|
142
463
|
parallelism?: InputTransform;
|
|
464
|
+
squash?: boolean;
|
|
143
465
|
};
|
|
466
|
+
/**
|
|
467
|
+
* Conditional branching where only the first matching branch executes. Branches are evaluated in order, and the first one with a true expression runs. If no branches match, the default branch executes
|
|
468
|
+
*/
|
|
144
469
|
export type BranchOne = {
|
|
470
|
+
/**
|
|
471
|
+
* Array of branches to evaluate in order. The first branch with expr evaluating to true executes
|
|
472
|
+
*/
|
|
145
473
|
branches: Array<{
|
|
474
|
+
/**
|
|
475
|
+
* Short description of this branch condition
|
|
476
|
+
*/
|
|
146
477
|
summary?: string;
|
|
478
|
+
/**
|
|
479
|
+
* JavaScript expression that returns boolean. Can use 'results.step_id' or 'flow_input'. First true expr wins
|
|
480
|
+
*/
|
|
147
481
|
expr: string;
|
|
482
|
+
/**
|
|
483
|
+
* Steps to execute if this branch's expr is true
|
|
484
|
+
*/
|
|
148
485
|
modules: Array<FlowModule>;
|
|
149
486
|
}>;
|
|
487
|
+
/**
|
|
488
|
+
* Steps to execute if no branch expressions match
|
|
489
|
+
*/
|
|
150
490
|
default: Array<FlowModule>;
|
|
151
491
|
type: 'branchone';
|
|
152
492
|
};
|
|
493
|
+
/**
|
|
494
|
+
* Parallel branching where all branches execute simultaneously. Unlike BranchOne, all branches run regardless of conditions. Useful for executing independent tasks concurrently
|
|
495
|
+
*/
|
|
153
496
|
export type BranchAll = {
|
|
497
|
+
/**
|
|
498
|
+
* Array of branches that all execute (either in parallel or sequentially)
|
|
499
|
+
*/
|
|
154
500
|
branches: Array<{
|
|
501
|
+
/**
|
|
502
|
+
* Short description of this branch's purpose
|
|
503
|
+
*/
|
|
155
504
|
summary?: string;
|
|
505
|
+
/**
|
|
506
|
+
* If true, failure in this branch doesn't fail the entire flow
|
|
507
|
+
*/
|
|
156
508
|
skip_failure?: boolean;
|
|
509
|
+
/**
|
|
510
|
+
* Steps to execute in this branch
|
|
511
|
+
*/
|
|
157
512
|
modules: Array<FlowModule>;
|
|
158
513
|
}>;
|
|
159
514
|
type: 'branchall';
|
|
515
|
+
/**
|
|
516
|
+
* If true, all branches execute concurrently. If false, they execute sequentially
|
|
517
|
+
*/
|
|
160
518
|
parallel?: boolean;
|
|
161
519
|
};
|
|
520
|
+
/**
|
|
521
|
+
* AI agent step that can use tools to accomplish tasks. The agent receives inputs and can call any of its configured tools to complete the task
|
|
522
|
+
*/
|
|
162
523
|
export type AiAgent = {
|
|
524
|
+
/**
|
|
525
|
+
* Input parameters for the AI agent mapped to their values
|
|
526
|
+
*/
|
|
163
527
|
input_transforms: {
|
|
164
|
-
|
|
528
|
+
provider: InputTransform;
|
|
529
|
+
output_type: InputTransform;
|
|
530
|
+
user_message: InputTransform;
|
|
531
|
+
system_prompt?: InputTransform;
|
|
532
|
+
streaming?: InputTransform;
|
|
533
|
+
memory?: InputTransform;
|
|
534
|
+
output_schema?: InputTransform;
|
|
535
|
+
user_images?: InputTransform;
|
|
536
|
+
max_completion_tokens?: InputTransform;
|
|
537
|
+
temperature?: InputTransform;
|
|
165
538
|
};
|
|
166
|
-
|
|
539
|
+
/**
|
|
540
|
+
* Array of tools the agent can use. The agent decides which tools to call based on the task
|
|
541
|
+
*/
|
|
542
|
+
tools: Array<{
|
|
543
|
+
/**
|
|
544
|
+
* Unique identifier for this tool. Cannot contain spaces - use underscores instead (e.g., 'get_user_data' not 'get user data')
|
|
545
|
+
*/
|
|
546
|
+
id: string;
|
|
547
|
+
/**
|
|
548
|
+
* Short description of what this tool does (shown to the AI)
|
|
549
|
+
*/
|
|
550
|
+
summary?: string;
|
|
551
|
+
/**
|
|
552
|
+
* The implementation of a tool. Can be a flow module (script/flow) or an MCP tool reference
|
|
553
|
+
*/
|
|
554
|
+
value: {
|
|
555
|
+
tool_type: 'flowmodule';
|
|
556
|
+
} & FlowModuleValue | {
|
|
557
|
+
tool_type: 'mcp';
|
|
558
|
+
/**
|
|
559
|
+
* Path to the MCP resource/server configuration
|
|
560
|
+
*/
|
|
561
|
+
resource_path: string;
|
|
562
|
+
/**
|
|
563
|
+
* Whitelist of specific tools to include from this MCP server
|
|
564
|
+
*/
|
|
565
|
+
include_tools?: Array<(string)>;
|
|
566
|
+
/**
|
|
567
|
+
* Blacklist of tools to exclude from this MCP server
|
|
568
|
+
*/
|
|
569
|
+
exclude_tools?: Array<(string)>;
|
|
570
|
+
} | {
|
|
571
|
+
tool_type: 'websearch';
|
|
572
|
+
};
|
|
573
|
+
}>;
|
|
167
574
|
type: 'aiagent';
|
|
575
|
+
/**
|
|
576
|
+
* If true, the agent can execute multiple tool calls in parallel
|
|
577
|
+
*/
|
|
168
578
|
parallel?: boolean;
|
|
169
579
|
};
|
|
580
|
+
/**
|
|
581
|
+
* Pass-through module that returns its input unchanged. Useful for flow structure or as a placeholder
|
|
582
|
+
*/
|
|
170
583
|
export type Identity = {
|
|
171
584
|
type: 'identity';
|
|
585
|
+
/**
|
|
586
|
+
* If true, marks this as a flow identity (special handling)
|
|
587
|
+
*/
|
|
172
588
|
flow?: boolean;
|
|
173
589
|
};
|
|
174
590
|
export type FlowStatus = {
|
|
@@ -193,6 +609,7 @@ export type FlowStatusModule = {
|
|
|
193
609
|
iterator?: {
|
|
194
610
|
index?: number;
|
|
195
611
|
itered?: Array<unknown>;
|
|
612
|
+
itered_len?: number;
|
|
196
613
|
args?: unknown;
|
|
197
614
|
};
|
|
198
615
|
flow_jobs?: Array<(string)>;
|
|
@@ -220,11 +637,76 @@ export type FlowStatusModule = {
|
|
|
220
637
|
function_name: string;
|
|
221
638
|
type: 'tool_call';
|
|
222
639
|
module_id: string;
|
|
640
|
+
} | {
|
|
641
|
+
call_id: string;
|
|
642
|
+
function_name: string;
|
|
643
|
+
resource_path: string;
|
|
644
|
+
type: 'mcp_tool_call';
|
|
645
|
+
arguments?: {
|
|
646
|
+
[key: string]: unknown;
|
|
647
|
+
};
|
|
648
|
+
} | {
|
|
649
|
+
type: 'web_search';
|
|
223
650
|
} | {
|
|
224
651
|
type: 'message';
|
|
225
652
|
})>;
|
|
226
653
|
agent_actions_success?: Array<(boolean)>;
|
|
227
654
|
};
|
|
655
|
+
/**
|
|
656
|
+
* A sticky note attached to a flow for documentation and annotation
|
|
657
|
+
*/
|
|
658
|
+
export type FlowNote = {
|
|
659
|
+
/**
|
|
660
|
+
* Unique identifier for the note
|
|
661
|
+
*/
|
|
662
|
+
id: string;
|
|
663
|
+
/**
|
|
664
|
+
* Content of the note
|
|
665
|
+
*/
|
|
666
|
+
text: string;
|
|
667
|
+
/**
|
|
668
|
+
* Position of the note in the flow editor
|
|
669
|
+
*/
|
|
670
|
+
position?: {
|
|
671
|
+
/**
|
|
672
|
+
* X coordinate
|
|
673
|
+
*/
|
|
674
|
+
x: number;
|
|
675
|
+
/**
|
|
676
|
+
* Y coordinate
|
|
677
|
+
*/
|
|
678
|
+
y: number;
|
|
679
|
+
};
|
|
680
|
+
/**
|
|
681
|
+
* Size of the note in the flow editor
|
|
682
|
+
*/
|
|
683
|
+
size?: {
|
|
684
|
+
/**
|
|
685
|
+
* Width in pixels
|
|
686
|
+
*/
|
|
687
|
+
width: number;
|
|
688
|
+
/**
|
|
689
|
+
* Height in pixels
|
|
690
|
+
*/
|
|
691
|
+
height: number;
|
|
692
|
+
};
|
|
693
|
+
/**
|
|
694
|
+
* Color of the note (e.g., "yellow", "#ffff00")
|
|
695
|
+
*/
|
|
696
|
+
color: string;
|
|
697
|
+
/**
|
|
698
|
+
* Type of note - 'free' for standalone notes, 'group' for notes that group other nodes
|
|
699
|
+
*/
|
|
700
|
+
type: 'free' | 'group';
|
|
701
|
+
/**
|
|
702
|
+
* Whether the note is locked and cannot be edited or moved
|
|
703
|
+
*/
|
|
704
|
+
locked?: boolean;
|
|
705
|
+
/**
|
|
706
|
+
* For group notes, the IDs of nodes contained within this group
|
|
707
|
+
*/
|
|
708
|
+
contained_node_ids?: Array<(string)>;
|
|
709
|
+
};
|
|
228
710
|
export type FlowConversation = {
|
|
229
711
|
/**
|
|
230
712
|
* Unique identifier for the conversation
|
|
@@ -329,7 +811,7 @@ export type EndpointTool = {
|
|
|
329
811
|
[key: string]: unknown;
|
|
330
812
|
} | null;
|
|
331
813
|
};
|
|
332
|
-
export type AIProvider = 'openai' | 'azure_openai' | 'anthropic' | 'mistral' | 'deepseek' | 'googleai' | 'groq' | 'openrouter' | 'togetherai' | 'customai';
|
|
814
|
+
export type AIProvider = 'openai' | 'azure_openai' | 'anthropic' | 'mistral' | 'deepseek' | 'googleai' | 'groq' | 'openrouter' | 'togetherai' | 'aws_bedrock' | 'customai';
|
|
333
815
|
export type GitSyncObjectType = 'script' | 'flow' | 'app' | 'folder' | 'resource' | 'variable' | 'secret' | 'resourcetype' | 'schedule' | 'user' | 'group' | 'trigger' | 'settings' | 'key';
|
|
334
816
|
export type AIProviderModel = {
|
|
335
817
|
model: string;
|
|
@@ -362,6 +844,23 @@ export type Alert = {
|
|
|
362
844
|
export type Configs = {
|
|
363
845
|
alerts?: Array<Alert>;
|
|
364
846
|
} | null;
|
|
847
|
+
export type WorkspaceDependencies = {
|
|
848
|
+
id: number;
|
|
849
|
+
archived: boolean;
|
|
850
|
+
name?: string;
|
|
851
|
+
description?: string;
|
|
852
|
+
content: string;
|
|
853
|
+
language: ScriptLang;
|
|
854
|
+
workspace_id: string;
|
|
855
|
+
created_at: string;
|
|
856
|
+
};
|
|
857
|
+
export type NewWorkspaceDependencies = {
|
|
858
|
+
workspace_id: string;
|
|
859
|
+
language: ScriptLang;
|
|
860
|
+
name?: string;
|
|
861
|
+
description?: string;
|
|
862
|
+
content: string;
|
|
863
|
+
};
|
|
365
864
|
export type Script = {
|
|
366
865
|
workspace_id?: string;
|
|
367
866
|
hash: string;
|
|
@@ -397,6 +896,8 @@ export type Script = {
|
|
|
397
896
|
concurrent_limit?: number;
|
|
398
897
|
concurrency_time_window_s?: number;
|
|
399
898
|
concurrency_key?: string;
|
|
899
|
+
debounce_key?: string;
|
|
900
|
+
debounce_delay_s?: number;
|
|
400
901
|
cache_ttl?: number;
|
|
401
902
|
dedicated_worker?: boolean;
|
|
402
903
|
ws_error_handler_muted?: boolean;
|
|
@@ -429,6 +930,7 @@ export type NewScript = {
|
|
|
429
930
|
concurrent_limit?: number;
|
|
430
931
|
concurrency_time_window_s?: number;
|
|
431
932
|
cache_ttl?: number;
|
|
933
|
+
cache_ignore_s3_path?: boolean;
|
|
432
934
|
dedicated_worker?: boolean;
|
|
433
935
|
ws_error_handler_muted?: boolean;
|
|
434
936
|
priority?: number;
|
|
@@ -437,6 +939,8 @@ export type NewScript = {
|
|
|
437
939
|
delete_after_use?: boolean;
|
|
438
940
|
deployment_message?: string;
|
|
439
941
|
concurrency_key?: string;
|
|
942
|
+
debounce_key?: string;
|
|
943
|
+
debounce_delay_s?: number;
|
|
440
944
|
visible_to_runner_only?: boolean;
|
|
441
945
|
no_main_func?: boolean;
|
|
442
946
|
codebase?: string;
|
|
@@ -500,74 +1004,220 @@ export type QueuedJob = {
|
|
|
500
1004
|
canceled: boolean;
|
|
501
1005
|
canceled_by?: string;
|
|
502
1006
|
canceled_reason?: string;
|
|
503
|
-
last_ping?: string;
|
|
504
|
-
job_kind: 'script' | 'preview' | 'dependencies' | 'flowdependencies' | 'appdependencies' | 'flow' | 'flowpreview' | 'script_hub' | 'identity' | 'deploymentcallback' | 'singlestepflow' | 'flowscript' | 'flownode' | 'appscript' | 'aiagent';
|
|
505
|
-
schedule_path?: string;
|
|
1007
|
+
last_ping?: string;
|
|
1008
|
+
job_kind: 'script' | 'preview' | 'dependencies' | 'flowdependencies' | 'appdependencies' | 'flow' | 'flowpreview' | 'script_hub' | 'identity' | 'deploymentcallback' | 'singlestepflow' | 'flowscript' | 'flownode' | 'appscript' | 'aiagent' | 'unassigned_script' | 'unassigned_flow' | 'unassigned_singlestepflow';
|
|
1009
|
+
schedule_path?: string;
|
|
1010
|
+
/**
|
|
1011
|
+
* The user (u/userfoo) or group (g/groupfoo) whom
|
|
1012
|
+
* the execution of this script will be permissioned_as and by extension its DT_TOKEN.
|
|
1013
|
+
*
|
|
1014
|
+
*/
|
|
1015
|
+
permissioned_as: string;
|
|
1016
|
+
flow_status?: FlowStatus;
|
|
1017
|
+
workflow_as_code_status?: WorkflowStatus;
|
|
1018
|
+
raw_flow?: FlowValue;
|
|
1019
|
+
is_flow_step: boolean;
|
|
1020
|
+
language?: ScriptLang;
|
|
1021
|
+
email: string;
|
|
1022
|
+
visible_to_owner: boolean;
|
|
1023
|
+
mem_peak?: number;
|
|
1024
|
+
tag: string;
|
|
1025
|
+
priority?: number;
|
|
1026
|
+
self_wait_time_ms?: number;
|
|
1027
|
+
aggregate_wait_time_ms?: number;
|
|
1028
|
+
suspend?: number;
|
|
1029
|
+
preprocessed?: boolean;
|
|
1030
|
+
worker?: string;
|
|
1031
|
+
};
|
|
1032
|
+
export type CompletedJob = {
|
|
1033
|
+
workspace_id?: string;
|
|
1034
|
+
id: string;
|
|
1035
|
+
parent_job?: string;
|
|
1036
|
+
created_by: string;
|
|
1037
|
+
created_at: string;
|
|
1038
|
+
started_at: string;
|
|
1039
|
+
completed_at?: string;
|
|
1040
|
+
duration_ms: number;
|
|
1041
|
+
success: boolean;
|
|
1042
|
+
script_path?: string;
|
|
1043
|
+
script_hash?: string;
|
|
1044
|
+
args?: ScriptArgs;
|
|
1045
|
+
result?: unknown;
|
|
1046
|
+
logs?: string;
|
|
1047
|
+
deleted?: boolean;
|
|
1048
|
+
raw_code?: string;
|
|
1049
|
+
canceled: boolean;
|
|
1050
|
+
canceled_by?: string;
|
|
1051
|
+
canceled_reason?: string;
|
|
1052
|
+
job_kind: 'script' | 'preview' | 'dependencies' | 'flow' | 'flowdependencies' | 'appdependencies' | 'flowpreview' | 'script_hub' | 'identity' | 'deploymentcallback' | 'singlestepflow' | 'flowscript' | 'flownode' | 'appscript' | 'aiagent' | 'unassigned_script' | 'unassigned_flow' | 'unassigned_singlestepflow';
|
|
1053
|
+
schedule_path?: string;
|
|
1054
|
+
/**
|
|
1055
|
+
* The user (u/userfoo) or group (g/groupfoo) whom
|
|
1056
|
+
* the execution of this script will be permissioned_as and by extension its DT_TOKEN.
|
|
1057
|
+
*
|
|
1058
|
+
*/
|
|
1059
|
+
permissioned_as: string;
|
|
1060
|
+
flow_status?: FlowStatus;
|
|
1061
|
+
workflow_as_code_status?: WorkflowStatus;
|
|
1062
|
+
raw_flow?: FlowValue;
|
|
1063
|
+
is_flow_step: boolean;
|
|
1064
|
+
language?: ScriptLang;
|
|
1065
|
+
is_skipped: boolean;
|
|
1066
|
+
email: string;
|
|
1067
|
+
visible_to_owner: boolean;
|
|
1068
|
+
mem_peak?: number;
|
|
1069
|
+
tag: string;
|
|
1070
|
+
priority?: number;
|
|
1071
|
+
labels?: Array<(string)>;
|
|
1072
|
+
self_wait_time_ms?: number;
|
|
1073
|
+
aggregate_wait_time_ms?: number;
|
|
1074
|
+
preprocessed?: boolean;
|
|
1075
|
+
worker?: string;
|
|
1076
|
+
};
|
|
1077
|
+
/**
|
|
1078
|
+
* Completed job with full data for export/import operations
|
|
1079
|
+
*/
|
|
1080
|
+
export type ExportableCompletedJob = {
|
|
1081
|
+
id: string;
|
|
1082
|
+
parent_job?: string;
|
|
1083
|
+
created_by: string;
|
|
1084
|
+
created_at: string;
|
|
1085
|
+
started_at?: string;
|
|
1086
|
+
completed_at?: string;
|
|
1087
|
+
duration_ms?: number;
|
|
1088
|
+
script_path?: string;
|
|
1089
|
+
script_hash?: string;
|
|
1090
|
+
/**
|
|
1091
|
+
* Full job arguments without size restrictions
|
|
1092
|
+
*/
|
|
1093
|
+
args?: {
|
|
1094
|
+
[key: string]: unknown;
|
|
1095
|
+
};
|
|
1096
|
+
/**
|
|
1097
|
+
* Full job result without size restrictions
|
|
1098
|
+
*/
|
|
1099
|
+
result?: {
|
|
1100
|
+
[key: string]: unknown;
|
|
1101
|
+
};
|
|
1102
|
+
/**
|
|
1103
|
+
* Complete job logs from v2_job table
|
|
1104
|
+
*/
|
|
1105
|
+
logs?: string;
|
|
1106
|
+
raw_code?: string;
|
|
1107
|
+
raw_lock?: string;
|
|
1108
|
+
canceled_by?: string;
|
|
1109
|
+
canceled_reason?: string;
|
|
1110
|
+
job_kind: 'script' | 'preview' | 'dependencies' | 'flow' | 'flowdependencies' | 'appdependencies' | 'flowpreview' | 'script_hub' | 'identity' | 'deploymentcallback' | 'singlestepflow' | 'flowscript' | 'flownode' | 'appscript' | 'aiagent' | 'unassigned_script' | 'unassigned_flow' | 'unassigned_singlestepflow';
|
|
506
1111
|
/**
|
|
507
|
-
*
|
|
508
|
-
* the execution of this script will be permissioned_as and by extension its DT_TOKEN.
|
|
509
|
-
*
|
|
1112
|
+
* Trigger path for the job (replaces schedule_path)
|
|
510
1113
|
*/
|
|
1114
|
+
trigger?: string;
|
|
1115
|
+
trigger_kind?: 'webhook' | 'http' | 'websocket' | 'kafka' | 'email' | 'nats' | 'schedule' | 'app' | 'ui' | 'postgres' | 'sqs' | 'gcp';
|
|
511
1116
|
permissioned_as: string;
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
1117
|
+
permissioned_as_email?: string;
|
|
1118
|
+
/**
|
|
1119
|
+
* Flow status from v2_job_status table
|
|
1120
|
+
*/
|
|
1121
|
+
flow_status?: {
|
|
1122
|
+
[key: string]: unknown;
|
|
1123
|
+
};
|
|
1124
|
+
workflow_as_code_status?: {
|
|
1125
|
+
[key: string]: unknown;
|
|
1126
|
+
};
|
|
1127
|
+
raw_flow?: {
|
|
1128
|
+
[key: string]: unknown;
|
|
1129
|
+
};
|
|
1130
|
+
is_flow_step?: boolean;
|
|
516
1131
|
language?: ScriptLang;
|
|
1132
|
+
is_skipped?: boolean;
|
|
517
1133
|
email: string;
|
|
518
1134
|
visible_to_owner: boolean;
|
|
519
1135
|
mem_peak?: number;
|
|
520
|
-
tag
|
|
1136
|
+
tag?: string;
|
|
521
1137
|
priority?: number;
|
|
1138
|
+
labels?: Array<(string)>;
|
|
1139
|
+
same_worker?: boolean;
|
|
1140
|
+
flow_step_id?: string;
|
|
1141
|
+
flow_innermost_root_job?: string;
|
|
1142
|
+
concurrent_limit?: number;
|
|
1143
|
+
concurrency_time_window_s?: number;
|
|
1144
|
+
timeout?: number;
|
|
1145
|
+
cache_ttl?: number;
|
|
522
1146
|
self_wait_time_ms?: number;
|
|
523
1147
|
aggregate_wait_time_ms?: number;
|
|
524
|
-
suspend?: number;
|
|
525
1148
|
preprocessed?: boolean;
|
|
526
1149
|
worker?: string;
|
|
1150
|
+
/**
|
|
1151
|
+
* Actual job status from database
|
|
1152
|
+
*/
|
|
1153
|
+
status?: string;
|
|
527
1154
|
};
|
|
528
|
-
|
|
529
|
-
|
|
1155
|
+
/**
|
|
1156
|
+
* Queued job with full data for export/import operations
|
|
1157
|
+
*/
|
|
1158
|
+
export type ExportableQueuedJob = {
|
|
530
1159
|
id: string;
|
|
531
1160
|
parent_job?: string;
|
|
532
1161
|
created_by: string;
|
|
533
1162
|
created_at: string;
|
|
534
|
-
started_at
|
|
535
|
-
|
|
536
|
-
success: boolean;
|
|
1163
|
+
started_at?: string;
|
|
1164
|
+
scheduled_for?: string;
|
|
537
1165
|
script_path?: string;
|
|
538
1166
|
script_hash?: string;
|
|
539
|
-
|
|
540
|
-
|
|
1167
|
+
/**
|
|
1168
|
+
* Full job arguments without size restrictions
|
|
1169
|
+
*/
|
|
1170
|
+
args?: {
|
|
1171
|
+
[key: string]: unknown;
|
|
1172
|
+
};
|
|
1173
|
+
/**
|
|
1174
|
+
* Complete job logs from v2_job table
|
|
1175
|
+
*/
|
|
541
1176
|
logs?: string;
|
|
542
|
-
deleted?: boolean;
|
|
543
1177
|
raw_code?: string;
|
|
544
|
-
|
|
1178
|
+
raw_lock?: string;
|
|
545
1179
|
canceled_by?: string;
|
|
546
1180
|
canceled_reason?: string;
|
|
547
|
-
job_kind: 'script' | 'preview' | 'dependencies' | '
|
|
548
|
-
schedule_path?: string;
|
|
1181
|
+
job_kind: 'script' | 'preview' | 'dependencies' | 'flowdependencies' | 'appdependencies' | 'flow' | 'flowpreview' | 'script_hub' | 'identity' | 'deploymentcallback' | 'singlestepflow' | 'flowscript' | 'flownode' | 'appscript' | 'aiagent' | 'unassigned_script' | 'unassigned_flow' | 'unassigned_singlestepflow';
|
|
549
1182
|
/**
|
|
550
|
-
*
|
|
551
|
-
* the execution of this script will be permissioned_as and by extension its DT_TOKEN.
|
|
552
|
-
*
|
|
1183
|
+
* Trigger path for the job (replaces schedule_path)
|
|
553
1184
|
*/
|
|
1185
|
+
trigger?: string;
|
|
1186
|
+
trigger_kind?: 'webhook' | 'http' | 'websocket' | 'kafka' | 'email' | 'nats' | 'schedule' | 'app' | 'ui' | 'postgres' | 'sqs' | 'gcp';
|
|
554
1187
|
permissioned_as: string;
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
1188
|
+
permissioned_as_email?: string;
|
|
1189
|
+
/**
|
|
1190
|
+
* Flow status from v2_job_status table
|
|
1191
|
+
*/
|
|
1192
|
+
flow_status?: {
|
|
1193
|
+
[key: string]: unknown;
|
|
1194
|
+
};
|
|
1195
|
+
workflow_as_code_status?: {
|
|
1196
|
+
[key: string]: unknown;
|
|
1197
|
+
};
|
|
1198
|
+
raw_flow?: {
|
|
1199
|
+
[key: string]: unknown;
|
|
1200
|
+
};
|
|
1201
|
+
is_flow_step?: boolean;
|
|
559
1202
|
language?: ScriptLang;
|
|
560
|
-
is_skipped: boolean;
|
|
561
1203
|
email: string;
|
|
562
1204
|
visible_to_owner: boolean;
|
|
563
1205
|
mem_peak?: number;
|
|
564
|
-
tag
|
|
1206
|
+
tag?: string;
|
|
565
1207
|
priority?: number;
|
|
566
1208
|
labels?: Array<(string)>;
|
|
1209
|
+
same_worker?: boolean;
|
|
1210
|
+
flow_step_id?: string;
|
|
1211
|
+
flow_innermost_root_job?: string;
|
|
1212
|
+
concurrent_limit?: number;
|
|
1213
|
+
concurrency_time_window_s?: number;
|
|
1214
|
+
timeout?: number;
|
|
1215
|
+
cache_ttl?: number;
|
|
567
1216
|
self_wait_time_ms?: number;
|
|
568
1217
|
aggregate_wait_time_ms?: number;
|
|
569
1218
|
preprocessed?: boolean;
|
|
570
|
-
|
|
1219
|
+
suspend?: number;
|
|
1220
|
+
suspend_until?: string;
|
|
571
1221
|
};
|
|
572
1222
|
export type ObscuredJob = {
|
|
573
1223
|
typ?: string;
|
|
@@ -778,6 +1428,14 @@ export type Preview = {
|
|
|
778
1428
|
dedicated_worker?: boolean;
|
|
779
1429
|
lock?: string;
|
|
780
1430
|
};
|
|
1431
|
+
export type PreviewInline = {
|
|
1432
|
+
/**
|
|
1433
|
+
* The code to run
|
|
1434
|
+
*/
|
|
1435
|
+
content: string;
|
|
1436
|
+
args: ScriptArgs;
|
|
1437
|
+
language: ScriptLang;
|
|
1438
|
+
};
|
|
781
1439
|
export type WorkflowTask = {
|
|
782
1440
|
args: ScriptArgs;
|
|
783
1441
|
};
|
|
@@ -1097,6 +1755,14 @@ export type EditSchedule = {
|
|
|
1097
1755
|
*/
|
|
1098
1756
|
dynamic_skip?: string;
|
|
1099
1757
|
};
|
|
1758
|
+
/**
|
|
1759
|
+
* job trigger kind (schedule, http, websocket...)
|
|
1760
|
+
*/
|
|
1761
|
+
export type JobTriggerKind = 'webhook' | 'default_email' | 'email' | 'schedule' | 'http' | 'websocket' | 'postgres' | 'kafka' | 'nats' | 'mqtt' | 'sqs' | 'gcp';
|
|
1762
|
+
/**
|
|
1763
|
+
* job trigger mode
|
|
1764
|
+
*/
|
|
1765
|
+
export type TriggerMode = 'enabled' | 'disabled' | 'suspended';
|
|
1100
1766
|
export type TriggerExtraProperty = {
|
|
1101
1767
|
path: string;
|
|
1102
1768
|
script_path: string;
|
|
@@ -1108,6 +1774,7 @@ export type TriggerExtraProperty = {
|
|
|
1108
1774
|
edited_by: string;
|
|
1109
1775
|
edited_at: string;
|
|
1110
1776
|
is_flow: boolean;
|
|
1777
|
+
mode: TriggerMode;
|
|
1111
1778
|
};
|
|
1112
1779
|
export type AuthenticationMethod = 'none' | 'windmill' | 'api_key' | 'basic_http' | 'custom_script' | 'signature';
|
|
1113
1780
|
export type RunnableKind = 'script' | 'flow';
|
|
@@ -1147,6 +1814,7 @@ export type GenerateOpenapiSpec = {
|
|
|
1147
1814
|
webhook_filters?: Array<WebhookFilters>;
|
|
1148
1815
|
};
|
|
1149
1816
|
export type HttpMethod = 'get' | 'post' | 'put' | 'delete' | 'patch';
|
|
1817
|
+
export type HttpRequestType = 'sync' | 'async' | 'sync_sse';
|
|
1150
1818
|
export type HttpTrigger = TriggerExtraProperty & {
|
|
1151
1819
|
route_path: string;
|
|
1152
1820
|
static_asset_config?: {
|
|
@@ -1158,7 +1826,7 @@ export type HttpTrigger = TriggerExtraProperty & {
|
|
|
1158
1826
|
authentication_resource_path?: string;
|
|
1159
1827
|
summary?: string;
|
|
1160
1828
|
description?: string;
|
|
1161
|
-
|
|
1829
|
+
request_type: HttpRequestType;
|
|
1162
1830
|
authentication_method: AuthenticationMethod;
|
|
1163
1831
|
is_static_website: boolean;
|
|
1164
1832
|
workspaced_route: boolean;
|
|
@@ -1183,10 +1851,15 @@ export type NewHttpTrigger = {
|
|
|
1183
1851
|
is_flow: boolean;
|
|
1184
1852
|
http_method: HttpMethod;
|
|
1185
1853
|
authentication_resource_path?: string;
|
|
1186
|
-
|
|
1854
|
+
/**
|
|
1855
|
+
* Deprecated, use request_type instead
|
|
1856
|
+
*/
|
|
1857
|
+
is_async?: boolean;
|
|
1858
|
+
request_type?: HttpRequestType;
|
|
1187
1859
|
authentication_method: AuthenticationMethod;
|
|
1188
1860
|
is_static_website: boolean;
|
|
1189
1861
|
wrap_body?: boolean;
|
|
1862
|
+
mode?: TriggerMode;
|
|
1190
1863
|
raw_string?: boolean;
|
|
1191
1864
|
error_handler_path?: string;
|
|
1192
1865
|
error_handler_args?: ScriptArgs;
|
|
@@ -1207,7 +1880,11 @@ export type EditHttpTrigger = {
|
|
|
1207
1880
|
authentication_resource_path?: string;
|
|
1208
1881
|
is_flow: boolean;
|
|
1209
1882
|
http_method: HttpMethod;
|
|
1210
|
-
|
|
1883
|
+
/**
|
|
1884
|
+
* Deprecated, use request_type instead
|
|
1885
|
+
*/
|
|
1886
|
+
is_async?: boolean;
|
|
1887
|
+
request_type?: HttpRequestType;
|
|
1211
1888
|
authentication_method: AuthenticationMethod;
|
|
1212
1889
|
is_static_website: boolean;
|
|
1213
1890
|
wrap_body?: boolean;
|
|
@@ -1238,7 +1915,6 @@ export type WebsocketTrigger = TriggerExtraProperty & {
|
|
|
1238
1915
|
server_id?: string;
|
|
1239
1916
|
last_server_ping?: string;
|
|
1240
1917
|
error?: string;
|
|
1241
|
-
enabled: boolean;
|
|
1242
1918
|
filters: Array<{
|
|
1243
1919
|
key: string;
|
|
1244
1920
|
value: unknown;
|
|
@@ -1256,7 +1932,7 @@ export type NewWebsocketTrigger = {
|
|
|
1256
1932
|
script_path: string;
|
|
1257
1933
|
is_flow: boolean;
|
|
1258
1934
|
url: string;
|
|
1259
|
-
|
|
1935
|
+
mode?: TriggerMode;
|
|
1260
1936
|
filters: Array<{
|
|
1261
1937
|
key: string;
|
|
1262
1938
|
value: unknown;
|
|
@@ -1319,7 +1995,6 @@ export type MqttTrigger = TriggerExtraProperty & {
|
|
|
1319
1995
|
server_id?: string;
|
|
1320
1996
|
last_server_ping?: string;
|
|
1321
1997
|
error?: string;
|
|
1322
|
-
enabled: boolean;
|
|
1323
1998
|
error_handler_path?: string;
|
|
1324
1999
|
error_handler_args?: ScriptArgs;
|
|
1325
2000
|
retry?: Retry;
|
|
@@ -1334,7 +2009,7 @@ export type NewMqttTrigger = {
|
|
|
1334
2009
|
path: string;
|
|
1335
2010
|
script_path: string;
|
|
1336
2011
|
is_flow: boolean;
|
|
1337
|
-
|
|
2012
|
+
mode?: TriggerMode;
|
|
1338
2013
|
error_handler_path?: string;
|
|
1339
2014
|
error_handler_args?: ScriptArgs;
|
|
1340
2015
|
retry?: Retry;
|
|
@@ -1349,7 +2024,7 @@ export type EditMqttTrigger = {
|
|
|
1349
2024
|
path: string;
|
|
1350
2025
|
script_path: string;
|
|
1351
2026
|
is_flow: boolean;
|
|
1352
|
-
|
|
2027
|
+
mode?: TriggerMode;
|
|
1353
2028
|
error_handler_path?: string;
|
|
1354
2029
|
error_handler_args?: ScriptArgs;
|
|
1355
2030
|
retry?: Retry;
|
|
@@ -1369,7 +2044,6 @@ export type GcpTrigger = TriggerExtraProperty & {
|
|
|
1369
2044
|
subscription_mode: SubscriptionMode;
|
|
1370
2045
|
last_server_ping?: string;
|
|
1371
2046
|
error?: string;
|
|
1372
|
-
enabled: boolean;
|
|
1373
2047
|
error_handler_path?: string;
|
|
1374
2048
|
error_handler_args?: ScriptArgs;
|
|
1375
2049
|
retry?: Retry;
|
|
@@ -1389,7 +2063,7 @@ export type GcpTriggerData = {
|
|
|
1389
2063
|
path: string;
|
|
1390
2064
|
script_path: string;
|
|
1391
2065
|
is_flow: boolean;
|
|
1392
|
-
|
|
2066
|
+
mode?: TriggerMode;
|
|
1393
2067
|
auto_acknowledge_msg?: boolean;
|
|
1394
2068
|
/**
|
|
1395
2069
|
* Time in seconds within which the message must be acknowledged. If not provided, defaults to the subscription's acknowledgment deadline (600 seconds).
|
|
@@ -1414,25 +2088,22 @@ export type SqsTrigger = TriggerExtraProperty & {
|
|
|
1414
2088
|
server_id?: string;
|
|
1415
2089
|
last_server_ping?: string;
|
|
1416
2090
|
error?: string;
|
|
1417
|
-
enabled: boolean;
|
|
1418
2091
|
error_handler_path?: string;
|
|
1419
2092
|
error_handler_args?: ScriptArgs;
|
|
1420
2093
|
retry?: Retry;
|
|
1421
2094
|
};
|
|
1422
2095
|
export type LoggedWizardStatus = 'OK' | 'SKIP' | 'FAIL';
|
|
1423
|
-
export type
|
|
2096
|
+
export type CustomInstanceDbLogs = {
|
|
1424
2097
|
super_admin?: LoggedWizardStatus;
|
|
1425
2098
|
database_credentials?: LoggedWizardStatus;
|
|
1426
2099
|
valid_dbname?: LoggedWizardStatus;
|
|
1427
|
-
/**
|
|
1428
|
-
* Created database status log
|
|
1429
|
-
*/
|
|
1430
2100
|
created_database?: LoggedWizardStatus;
|
|
1431
2101
|
db_connect?: LoggedWizardStatus;
|
|
1432
2102
|
grant_permissions?: LoggedWizardStatus;
|
|
1433
2103
|
};
|
|
1434
|
-
export type
|
|
1435
|
-
|
|
2104
|
+
export type CustomInstanceDbTag = 'ducklake' | 'datatable';
|
|
2105
|
+
export type CustomInstanceDb = {
|
|
2106
|
+
logs: CustomInstanceDbLogs;
|
|
1436
2107
|
/**
|
|
1437
2108
|
* Whether the operation completed successfully
|
|
1438
2109
|
*/
|
|
@@ -1441,6 +2112,7 @@ export type DucklakeInstanceCatalogDbStatus = {
|
|
|
1441
2112
|
* Error message if the operation failed
|
|
1442
2113
|
*/
|
|
1443
2114
|
error?: string | null;
|
|
2115
|
+
tag?: CustomInstanceDbTag;
|
|
1444
2116
|
};
|
|
1445
2117
|
export type NewSqsTrigger = {
|
|
1446
2118
|
queue_url: string;
|
|
@@ -1450,7 +2122,7 @@ export type NewSqsTrigger = {
|
|
|
1450
2122
|
path: string;
|
|
1451
2123
|
script_path: string;
|
|
1452
2124
|
is_flow: boolean;
|
|
1453
|
-
|
|
2125
|
+
mode?: TriggerMode;
|
|
1454
2126
|
error_handler_path?: string;
|
|
1455
2127
|
error_handler_args?: ScriptArgs;
|
|
1456
2128
|
retry?: Retry;
|
|
@@ -1463,7 +2135,7 @@ export type EditSqsTrigger = {
|
|
|
1463
2135
|
path: string;
|
|
1464
2136
|
script_path: string;
|
|
1465
2137
|
is_flow: boolean;
|
|
1466
|
-
|
|
2138
|
+
mode?: TriggerMode;
|
|
1467
2139
|
error_handler_path?: string;
|
|
1468
2140
|
error_handler_args?: ScriptArgs;
|
|
1469
2141
|
retry?: Retry;
|
|
@@ -1495,7 +2167,6 @@ export type TemplateScript = {
|
|
|
1495
2167
|
language: Language;
|
|
1496
2168
|
};
|
|
1497
2169
|
export type PostgresTrigger = TriggerExtraProperty & {
|
|
1498
|
-
enabled: boolean;
|
|
1499
2170
|
postgres_resource_path: string;
|
|
1500
2171
|
publication_name: string;
|
|
1501
2172
|
server_id?: string;
|
|
@@ -1512,7 +2183,7 @@ export type NewPostgresTrigger = {
|
|
|
1512
2183
|
path: string;
|
|
1513
2184
|
script_path: string;
|
|
1514
2185
|
is_flow: boolean;
|
|
1515
|
-
|
|
2186
|
+
mode?: TriggerMode;
|
|
1516
2187
|
postgres_resource_path: string;
|
|
1517
2188
|
publication?: PublicationData;
|
|
1518
2189
|
error_handler_path?: string;
|
|
@@ -1525,7 +2196,7 @@ export type EditPostgresTrigger = {
|
|
|
1525
2196
|
path: string;
|
|
1526
2197
|
script_path: string;
|
|
1527
2198
|
is_flow: boolean;
|
|
1528
|
-
|
|
2199
|
+
mode?: TriggerMode;
|
|
1529
2200
|
postgres_resource_path: string;
|
|
1530
2201
|
publication?: PublicationData;
|
|
1531
2202
|
error_handler_path?: string;
|
|
@@ -1539,7 +2210,6 @@ export type KafkaTrigger = TriggerExtraProperty & {
|
|
|
1539
2210
|
server_id?: string;
|
|
1540
2211
|
last_server_ping?: string;
|
|
1541
2212
|
error?: string;
|
|
1542
|
-
enabled: boolean;
|
|
1543
2213
|
error_handler_path?: string;
|
|
1544
2214
|
error_handler_args?: ScriptArgs;
|
|
1545
2215
|
retry?: Retry;
|
|
@@ -1551,7 +2221,7 @@ export type NewKafkaTrigger = {
|
|
|
1551
2221
|
kafka_resource_path: string;
|
|
1552
2222
|
group_id: string;
|
|
1553
2223
|
topics: Array<(string)>;
|
|
1554
|
-
|
|
2224
|
+
mode?: TriggerMode;
|
|
1555
2225
|
error_handler_path?: string;
|
|
1556
2226
|
error_handler_args?: ScriptArgs;
|
|
1557
2227
|
retry?: Retry;
|
|
@@ -1576,7 +2246,6 @@ export type NatsTrigger = TriggerExtraProperty & {
|
|
|
1576
2246
|
server_id?: string;
|
|
1577
2247
|
last_server_ping?: string;
|
|
1578
2248
|
error?: string;
|
|
1579
|
-
enabled: boolean;
|
|
1580
2249
|
error_handler_path?: string;
|
|
1581
2250
|
error_handler_args?: ScriptArgs;
|
|
1582
2251
|
retry?: Retry;
|
|
@@ -1590,7 +2259,7 @@ export type NewNatsTrigger = {
|
|
|
1590
2259
|
stream_name?: string;
|
|
1591
2260
|
consumer_name?: string;
|
|
1592
2261
|
subjects: Array<(string)>;
|
|
1593
|
-
|
|
2262
|
+
mode?: TriggerMode;
|
|
1594
2263
|
error_handler_path?: string;
|
|
1595
2264
|
error_handler_args?: ScriptArgs;
|
|
1596
2265
|
retry?: Retry;
|
|
@@ -1624,6 +2293,7 @@ export type NewEmailTrigger = {
|
|
|
1624
2293
|
error_handler_path?: string;
|
|
1625
2294
|
error_handler_args?: ScriptArgs;
|
|
1626
2295
|
retry?: Retry;
|
|
2296
|
+
mode?: TriggerMode;
|
|
1627
2297
|
};
|
|
1628
2298
|
export type EditEmailTrigger = {
|
|
1629
2299
|
path: string;
|
|
@@ -1689,6 +2359,7 @@ export type WorkerPing = {
|
|
|
1689
2359
|
vcpus?: number;
|
|
1690
2360
|
memory_usage?: number;
|
|
1691
2361
|
wm_memory_usage?: number;
|
|
2362
|
+
job_isolation?: string;
|
|
1692
2363
|
};
|
|
1693
2364
|
export type UserWorkspaceList = {
|
|
1694
2365
|
email: string;
|
|
@@ -1712,9 +2383,7 @@ export type CreateWorkspace = {
|
|
|
1712
2383
|
export type CreateWorkspaceFork = {
|
|
1713
2384
|
id: string;
|
|
1714
2385
|
name: string;
|
|
1715
|
-
username?: string;
|
|
1716
2386
|
color?: string;
|
|
1717
|
-
parent_workspace_id: string;
|
|
1718
2387
|
};
|
|
1719
2388
|
export type Workspace = {
|
|
1720
2389
|
id: string;
|
|
@@ -1731,6 +2400,15 @@ export type DependencyMap = {
|
|
|
1731
2400
|
imported_path?: string | null;
|
|
1732
2401
|
importer_node_id?: string | null;
|
|
1733
2402
|
};
|
|
2403
|
+
export type DependencyDependent = {
|
|
2404
|
+
importer_path: string;
|
|
2405
|
+
importer_kind: 'script' | 'flow' | 'app';
|
|
2406
|
+
importer_node_ids?: Array<(string)> | null;
|
|
2407
|
+
};
|
|
2408
|
+
export type DependentsAmount = {
|
|
2409
|
+
imported_path: string;
|
|
2410
|
+
count: number;
|
|
2411
|
+
};
|
|
1734
2412
|
export type WorkspaceInvite = {
|
|
1735
2413
|
workspace_id: string;
|
|
1736
2414
|
email: string;
|
|
@@ -1748,9 +2426,11 @@ export type GlobalUserInfo = {
|
|
|
1748
2426
|
company?: string;
|
|
1749
2427
|
username?: string;
|
|
1750
2428
|
operator_only?: boolean;
|
|
2429
|
+
first_time_user: boolean;
|
|
1751
2430
|
};
|
|
1752
2431
|
export type Flow = OpenFlow & FlowMetadata & {
|
|
1753
2432
|
lock_error_logs?: string;
|
|
2433
|
+
version_id?: number;
|
|
1754
2434
|
};
|
|
1755
2435
|
export type ExtraPerms = {
|
|
1756
2436
|
[key: string]: (boolean);
|
|
@@ -1793,6 +2473,7 @@ export type RestartedFrom = {
|
|
|
1793
2473
|
flow_job_id?: string;
|
|
1794
2474
|
step_id?: string;
|
|
1795
2475
|
branch_or_iteration_n?: number;
|
|
2476
|
+
flow_version?: number;
|
|
1796
2477
|
};
|
|
1797
2478
|
export type Policy = {
|
|
1798
2479
|
triggerables?: {
|
|
@@ -1933,6 +2614,16 @@ export type DucklakeSettings = {
|
|
|
1933
2614
|
};
|
|
1934
2615
|
};
|
|
1935
2616
|
};
|
|
2617
|
+
export type DataTableSettings = {
|
|
2618
|
+
datatables: {
|
|
2619
|
+
[key: string]: {
|
|
2620
|
+
database: {
|
|
2621
|
+
resource_type: 'postgresql' | 'instance';
|
|
2622
|
+
resource_path?: string;
|
|
2623
|
+
};
|
|
2624
|
+
};
|
|
2625
|
+
};
|
|
2626
|
+
};
|
|
1936
2627
|
export type DynamicInputData = {
|
|
1937
2628
|
/**
|
|
1938
2629
|
* Name of the function to execute for dynamic select
|
|
@@ -2173,6 +2864,96 @@ export type OperatorSettings = {
|
|
|
2173
2864
|
*/
|
|
2174
2865
|
workers: boolean;
|
|
2175
2866
|
} | null;
|
|
2867
|
+
export type WorkspaceComparison = {
|
|
2868
|
+
/**
|
|
2869
|
+
* All items with changes ahead are visible by the user of the request.
|
|
2870
|
+
*/
|
|
2871
|
+
all_ahead_items_visible: boolean;
|
|
2872
|
+
/**
|
|
2873
|
+
* All items with changes behind are visible by the user of the request.
|
|
2874
|
+
*/
|
|
2875
|
+
all_behind_items_visible: boolean;
|
|
2876
|
+
/**
|
|
2877
|
+
* Whether the comparison was skipped. This happens with old forks that where not being kept track of
|
|
2878
|
+
*/
|
|
2879
|
+
skipped_comparison: boolean;
|
|
2880
|
+
/**
|
|
2881
|
+
* List of differences found between workspaces
|
|
2882
|
+
*/
|
|
2883
|
+
diffs: Array<WorkspaceItemDiff>;
|
|
2884
|
+
/**
|
|
2885
|
+
* Summary statistics of the comparison
|
|
2886
|
+
*/
|
|
2887
|
+
summary: CompareSummary;
|
|
2888
|
+
};
|
|
2889
|
+
export type WorkspaceItemDiff = {
|
|
2890
|
+
/**
|
|
2891
|
+
* Type of the item
|
|
2892
|
+
*/
|
|
2893
|
+
kind: 'script' | 'flow' | 'app' | 'resource' | 'variable';
|
|
2894
|
+
/**
|
|
2895
|
+
* Path of the item in the workspace
|
|
2896
|
+
*/
|
|
2897
|
+
path: string;
|
|
2898
|
+
/**
|
|
2899
|
+
* Number of versions source is ahead of target
|
|
2900
|
+
*/
|
|
2901
|
+
ahead: number;
|
|
2902
|
+
/**
|
|
2903
|
+
* Number of versions source is behind target
|
|
2904
|
+
*/
|
|
2905
|
+
behind: number;
|
|
2906
|
+
/**
|
|
2907
|
+
* Whether the item has any differences
|
|
2908
|
+
*/
|
|
2909
|
+
has_changes: boolean;
|
|
2910
|
+
/**
|
|
2911
|
+
* If the item exists in the source workspace
|
|
2912
|
+
*/
|
|
2913
|
+
exists_in_source: boolean;
|
|
2914
|
+
/**
|
|
2915
|
+
* If the item exists in the fork workspace
|
|
2916
|
+
*/
|
|
2917
|
+
exists_in_fork: boolean;
|
|
2918
|
+
};
|
|
2919
|
+
export type CompareSummary = {
|
|
2920
|
+
/**
|
|
2921
|
+
* Total number of items with differences
|
|
2922
|
+
*/
|
|
2923
|
+
total_diffs: number;
|
|
2924
|
+
/**
|
|
2925
|
+
* Total number of ahead changes
|
|
2926
|
+
*/
|
|
2927
|
+
total_ahead: number;
|
|
2928
|
+
/**
|
|
2929
|
+
* Total number of behind changes
|
|
2930
|
+
*/
|
|
2931
|
+
total_behind: number;
|
|
2932
|
+
/**
|
|
2933
|
+
* Number of scripts with differences
|
|
2934
|
+
*/
|
|
2935
|
+
scripts_changed: number;
|
|
2936
|
+
/**
|
|
2937
|
+
* Number of flows with differences
|
|
2938
|
+
*/
|
|
2939
|
+
flows_changed: number;
|
|
2940
|
+
/**
|
|
2941
|
+
* Number of apps with differences
|
|
2942
|
+
*/
|
|
2943
|
+
apps_changed: number;
|
|
2944
|
+
/**
|
|
2945
|
+
* Number of resources with differences
|
|
2946
|
+
*/
|
|
2947
|
+
resources_changed: number;
|
|
2948
|
+
/**
|
|
2949
|
+
* Number of variables with differences
|
|
2950
|
+
*/
|
|
2951
|
+
variables_changed: number;
|
|
2952
|
+
/**
|
|
2953
|
+
* Number of items that are both ahead and behind (conflicts)
|
|
2954
|
+
*/
|
|
2955
|
+
conflicts: number;
|
|
2956
|
+
};
|
|
2176
2957
|
export type TeamInfo = {
|
|
2177
2958
|
/**
|
|
2178
2959
|
* The unique identifier of the Microsoft Teams team
|
|
@@ -2213,6 +2994,18 @@ export type GithubInstallations = Array<{
|
|
|
2213
2994
|
name: string;
|
|
2214
2995
|
url: string;
|
|
2215
2996
|
}>;
|
|
2997
|
+
/**
|
|
2998
|
+
* Total number of repositories available for this installation
|
|
2999
|
+
*/
|
|
3000
|
+
total_count: number;
|
|
3001
|
+
/**
|
|
3002
|
+
* Number of repositories loaded per page
|
|
3003
|
+
*/
|
|
3004
|
+
per_page: number;
|
|
3005
|
+
/**
|
|
3006
|
+
* Error message if token retrieval failed
|
|
3007
|
+
*/
|
|
3008
|
+
error?: string;
|
|
2216
3009
|
}>;
|
|
2217
3010
|
export type WorkspaceGithubInstallation = {
|
|
2218
3011
|
account_id: string;
|
|
@@ -2244,7 +3037,7 @@ export type TeamsChannel = {
|
|
|
2244
3037
|
};
|
|
2245
3038
|
export type AssetUsageKind = 'script' | 'flow';
|
|
2246
3039
|
export type AssetUsageAccessType = 'r' | 'w' | 'rw';
|
|
2247
|
-
export type AssetKind = 's3object' | 'resource' | 'ducklake';
|
|
3040
|
+
export type AssetKind = 's3object' | 'resource' | 'ducklake' | 'datatable';
|
|
2248
3041
|
export type Asset = {
|
|
2249
3042
|
path: string;
|
|
2250
3043
|
kind: AssetKind;
|
|
@@ -2276,6 +3069,10 @@ export type ParameterPage = number;
|
|
|
2276
3069
|
* number of items to return for a given page (default 30, max 100)
|
|
2277
3070
|
*/
|
|
2278
3071
|
export type ParameterPerPage = number;
|
|
3072
|
+
/**
|
|
3073
|
+
* trigger kind (schedule, http, websocket...)
|
|
3074
|
+
*/
|
|
3075
|
+
export type ParameterJobTriggerKind = JobTriggerKind;
|
|
2279
3076
|
/**
|
|
2280
3077
|
* order by desc order (default true)
|
|
2281
3078
|
*/
|
|
@@ -2337,6 +3134,10 @@ export type ParameterScriptStartPath = string;
|
|
|
2337
3134
|
* mask to filter by schedule path
|
|
2338
3135
|
*/
|
|
2339
3136
|
export type ParameterSchedulePath = string;
|
|
3137
|
+
/**
|
|
3138
|
+
* mask to filter by trigger path
|
|
3139
|
+
*/
|
|
3140
|
+
export type ParameterTriggerPath = string;
|
|
2340
3141
|
/**
|
|
2341
3142
|
* mask to filter exact matching path
|
|
2342
3143
|
*/
|
|
@@ -2366,17 +3167,21 @@ export type ParameterStartedAfter = string;
|
|
|
2366
3167
|
*/
|
|
2367
3168
|
export type ParameterBefore = string;
|
|
2368
3169
|
/**
|
|
2369
|
-
* filter on
|
|
3170
|
+
* filter on started before (inclusive) timestamp
|
|
3171
|
+
*/
|
|
3172
|
+
export type ParameterCompletedBefore = string;
|
|
3173
|
+
/**
|
|
3174
|
+
* filter on started after (exclusive) timestamp
|
|
2370
3175
|
*/
|
|
2371
|
-
export type
|
|
3176
|
+
export type ParameterCompletedAfter = string;
|
|
2372
3177
|
/**
|
|
2373
|
-
* filter on
|
|
3178
|
+
* filter on jobs created after X for jobs in the queue only
|
|
2374
3179
|
*/
|
|
2375
|
-
export type
|
|
3180
|
+
export type ParameterCreatedAfterQueue = string;
|
|
2376
3181
|
/**
|
|
2377
|
-
* filter on
|
|
3182
|
+
* filter on jobs created before X for jobs in the queue only
|
|
2378
3183
|
*/
|
|
2379
|
-
export type
|
|
3184
|
+
export type ParameterCreatedBeforeQueue = string;
|
|
2380
3185
|
/**
|
|
2381
3186
|
* filter on successful jobs
|
|
2382
3187
|
*/
|
|
@@ -2443,6 +3248,20 @@ export type BackendVersionResponse = string;
|
|
|
2443
3248
|
export type BackendUptodateResponse = string;
|
|
2444
3249
|
export type GetLicenseIdResponse = string;
|
|
2445
3250
|
export type GetOpenApiYamlResponse = string;
|
|
3251
|
+
export type QueryDocumentationData = {
|
|
3252
|
+
/**
|
|
3253
|
+
* query to send to the AI documentation assistant
|
|
3254
|
+
*/
|
|
3255
|
+
requestBody: {
|
|
3256
|
+
/**
|
|
3257
|
+
* The documentation query to send to the AI assistant
|
|
3258
|
+
*/
|
|
3259
|
+
query: string;
|
|
3260
|
+
};
|
|
3261
|
+
};
|
|
3262
|
+
export type QueryDocumentationResponse = {
|
|
3263
|
+
[key: string]: unknown;
|
|
3264
|
+
};
|
|
2446
3265
|
export type GetAuditLogData = {
|
|
2447
3266
|
id: number;
|
|
2448
3267
|
workspace: string;
|
|
@@ -2613,6 +3432,13 @@ export type GlobalUsersOverwriteData = {
|
|
|
2613
3432
|
};
|
|
2614
3433
|
export type GlobalUsersOverwriteResponse = string;
|
|
2615
3434
|
export type GlobalUsersExportResponse = Array<ExportedUser>;
|
|
3435
|
+
export type SubmitOnboardingDataData = {
|
|
3436
|
+
requestBody: {
|
|
3437
|
+
touch_point?: string;
|
|
3438
|
+
use_case?: string;
|
|
3439
|
+
};
|
|
3440
|
+
};
|
|
3441
|
+
export type SubmitOnboardingDataResponse = string;
|
|
2616
3442
|
export type DeleteUserData = {
|
|
2617
3443
|
username: string;
|
|
2618
3444
|
workspace: string;
|
|
@@ -2630,6 +3456,7 @@ export type RefreshUserTokenData = {
|
|
|
2630
3456
|
export type RefreshUserTokenResponse = string;
|
|
2631
3457
|
export type GetTutorialProgressResponse = {
|
|
2632
3458
|
progress?: number;
|
|
3459
|
+
skipped_all?: boolean;
|
|
2633
3460
|
};
|
|
2634
3461
|
export type UpdateTutorialProgressData = {
|
|
2635
3462
|
/**
|
|
@@ -2637,6 +3464,7 @@ export type UpdateTutorialProgressData = {
|
|
|
2637
3464
|
*/
|
|
2638
3465
|
requestBody: {
|
|
2639
3466
|
progress?: number;
|
|
3467
|
+
skipped_all?: boolean;
|
|
2640
3468
|
};
|
|
2641
3469
|
};
|
|
2642
3470
|
export type UpdateTutorialProgressResponse = string;
|
|
@@ -2757,6 +3585,12 @@ export type LoginWithOauthData = {
|
|
|
2757
3585
|
};
|
|
2758
3586
|
};
|
|
2759
3587
|
export type LoginWithOauthResponse = string;
|
|
3588
|
+
export type GetGlobalConnectedRepositoriesData = {
|
|
3589
|
+
/**
|
|
3590
|
+
* Page number for pagination (default 1)
|
|
3591
|
+
*/
|
|
3592
|
+
page?: number;
|
|
3593
|
+
};
|
|
2760
3594
|
export type GetGlobalConnectedRepositoriesResponse = GithubInstallations;
|
|
2761
3595
|
export type InstallFromWorkspaceData = {
|
|
2762
3596
|
requestBody: {
|
|
@@ -2797,6 +3631,10 @@ export type ImportInstallationResponse = unknown;
|
|
|
2797
3631
|
export type ListWorkspacesResponse = Array<Workspace>;
|
|
2798
3632
|
export type IsDomainAllowedResponse = boolean;
|
|
2799
3633
|
export type ListUserWorkspacesResponse = UserWorkspaceList;
|
|
3634
|
+
export type GetWorkspaceAsSuperAdminData = {
|
|
3635
|
+
workspace: string;
|
|
3636
|
+
};
|
|
3637
|
+
export type GetWorkspaceAsSuperAdminResponse = Workspace;
|
|
2800
3638
|
export type ListWorkspacesAsSuperAdminData = {
|
|
2801
3639
|
/**
|
|
2802
3640
|
* which page to return (start at 1, default 1)
|
|
@@ -2815,11 +3653,20 @@ export type CreateWorkspaceData = {
|
|
|
2815
3653
|
requestBody: CreateWorkspace;
|
|
2816
3654
|
};
|
|
2817
3655
|
export type CreateWorkspaceResponse = string;
|
|
3656
|
+
export type CreateWorkspaceForkGitBranchData = {
|
|
3657
|
+
/**
|
|
3658
|
+
* new forked workspace
|
|
3659
|
+
*/
|
|
3660
|
+
requestBody: CreateWorkspaceFork;
|
|
3661
|
+
workspace: string;
|
|
3662
|
+
};
|
|
3663
|
+
export type CreateWorkspaceForkGitBranchResponse = Array<(string)>;
|
|
2818
3664
|
export type CreateWorkspaceForkData = {
|
|
2819
3665
|
/**
|
|
2820
3666
|
* new forked workspace
|
|
2821
3667
|
*/
|
|
2822
3668
|
requestBody: CreateWorkspaceFork;
|
|
3669
|
+
workspace: string;
|
|
2823
3670
|
};
|
|
2824
3671
|
export type CreateWorkspaceForkResponse = string;
|
|
2825
3672
|
export type ExistsWorkspaceData = {
|
|
@@ -2936,6 +3783,22 @@ export type UpdateOperatorSettingsData = {
|
|
|
2936
3783
|
workspace: string;
|
|
2937
3784
|
};
|
|
2938
3785
|
export type UpdateOperatorSettingsResponse = string;
|
|
3786
|
+
export type CompareWorkspacesData = {
|
|
3787
|
+
/**
|
|
3788
|
+
* The ID of the workspace to compare with
|
|
3789
|
+
*/
|
|
3790
|
+
targetWorkspaceId: string;
|
|
3791
|
+
workspace: string;
|
|
3792
|
+
};
|
|
3793
|
+
export type CompareWorkspacesResponse = WorkspaceComparison;
|
|
3794
|
+
export type ResetDiffTallyData = {
|
|
3795
|
+
/**
|
|
3796
|
+
* The ID of the workspace to compare with
|
|
3797
|
+
*/
|
|
3798
|
+
forkWorkspaceId: string;
|
|
3799
|
+
workspace: string;
|
|
3800
|
+
};
|
|
3801
|
+
export type ResetDiffTallyResponse = unknown;
|
|
2939
3802
|
export type ListPendingInvitesData = {
|
|
2940
3803
|
workspace: string;
|
|
2941
3804
|
};
|
|
@@ -2948,9 +3811,12 @@ export type GetSettingsResponse = {
|
|
|
2948
3811
|
slack_name?: string;
|
|
2949
3812
|
slack_team_id?: string;
|
|
2950
3813
|
slack_command_script?: string;
|
|
3814
|
+
slack_oauth_client_id?: string;
|
|
3815
|
+
slack_oauth_client_secret?: string;
|
|
2951
3816
|
teams_team_id?: string;
|
|
2952
3817
|
teams_command_script?: string;
|
|
2953
3818
|
teams_team_name?: string;
|
|
3819
|
+
teams_team_guid?: string;
|
|
2954
3820
|
auto_invite_domain?: string;
|
|
2955
3821
|
auto_invite_operator?: boolean;
|
|
2956
3822
|
auto_add?: boolean;
|
|
@@ -2968,6 +3834,7 @@ export type GetSettingsResponse = {
|
|
|
2968
3834
|
error_handler_muted_on_cancel: boolean;
|
|
2969
3835
|
large_file_storage?: LargeFileStorage;
|
|
2970
3836
|
ducklake?: DucklakeSettings;
|
|
3837
|
+
datatable?: DataTableSettings;
|
|
2971
3838
|
git_sync?: WorkspaceGitSyncSettings;
|
|
2972
3839
|
deploy_ui?: WorkspaceDeployUISettings;
|
|
2973
3840
|
default_app?: string;
|
|
@@ -3022,6 +3889,22 @@ export type RebuildDependencyMapData = {
|
|
|
3022
3889
|
workspace: string;
|
|
3023
3890
|
};
|
|
3024
3891
|
export type RebuildDependencyMapResponse = string;
|
|
3892
|
+
export type GetDependentsData = {
|
|
3893
|
+
/**
|
|
3894
|
+
* The imported path to get dependents for
|
|
3895
|
+
*/
|
|
3896
|
+
importedPath: string;
|
|
3897
|
+
workspace: string;
|
|
3898
|
+
};
|
|
3899
|
+
export type GetDependentsResponse = Array<DependencyDependent>;
|
|
3900
|
+
export type GetDependentsAmountsData = {
|
|
3901
|
+
/**
|
|
3902
|
+
* List of imported paths to get dependents counts for
|
|
3903
|
+
*/
|
|
3904
|
+
requestBody: Array<(string)>;
|
|
3905
|
+
workspace: string;
|
|
3906
|
+
};
|
|
3907
|
+
export type GetDependentsAmountsResponse = Array<DependentsAmount>;
|
|
3025
3908
|
export type GetDependencyMapData = {
|
|
3026
3909
|
workspace: string;
|
|
3027
3910
|
};
|
|
@@ -3036,6 +3919,31 @@ export type EditSlackCommandData = {
|
|
|
3036
3919
|
workspace: string;
|
|
3037
3920
|
};
|
|
3038
3921
|
export type EditSlackCommandResponse = string;
|
|
3922
|
+
export type GetWorkspaceSlackOauthConfigData = {
|
|
3923
|
+
workspace: string;
|
|
3924
|
+
};
|
|
3925
|
+
export type GetWorkspaceSlackOauthConfigResponse = {
|
|
3926
|
+
slack_oauth_client_id?: string | null;
|
|
3927
|
+
/**
|
|
3928
|
+
* Masked with *** if set
|
|
3929
|
+
*/
|
|
3930
|
+
slack_oauth_client_secret?: string | null;
|
|
3931
|
+
};
|
|
3932
|
+
export type SetWorkspaceSlackOauthConfigData = {
|
|
3933
|
+
/**
|
|
3934
|
+
* Slack OAuth Configuration
|
|
3935
|
+
*/
|
|
3936
|
+
requestBody: {
|
|
3937
|
+
slack_oauth_client_id: string;
|
|
3938
|
+
slack_oauth_client_secret: string;
|
|
3939
|
+
};
|
|
3940
|
+
workspace: string;
|
|
3941
|
+
};
|
|
3942
|
+
export type SetWorkspaceSlackOauthConfigResponse = string;
|
|
3943
|
+
export type DeleteWorkspaceSlackOauthConfigData = {
|
|
3944
|
+
workspace: string;
|
|
3945
|
+
};
|
|
3946
|
+
export type DeleteWorkspaceSlackOauthConfigResponse = string;
|
|
3039
3947
|
export type EditTeamsCommandData = {
|
|
3040
3948
|
/**
|
|
3041
3949
|
* WorkspaceInvite
|
|
@@ -3048,30 +3956,47 @@ export type EditTeamsCommandData = {
|
|
|
3048
3956
|
export type EditTeamsCommandResponse = string;
|
|
3049
3957
|
export type ListAvailableTeamsIdsData = {
|
|
3050
3958
|
/**
|
|
3051
|
-
*
|
|
3959
|
+
* Pagination cursor URL from previous response. Pass this to fetch the next page of results.
|
|
3960
|
+
*/
|
|
3961
|
+
nextLink?: string;
|
|
3962
|
+
/**
|
|
3963
|
+
* Search teams by name. If omitted, returns first page of all teams.
|
|
3052
3964
|
*/
|
|
3053
3965
|
search?: string;
|
|
3054
3966
|
workspace: string;
|
|
3055
3967
|
};
|
|
3056
|
-
export type ListAvailableTeamsIdsResponse =
|
|
3057
|
-
|
|
3058
|
-
|
|
3059
|
-
|
|
3060
|
-
|
|
3968
|
+
export type ListAvailableTeamsIdsResponse = {
|
|
3969
|
+
teams?: Array<{
|
|
3970
|
+
team_name?: string;
|
|
3971
|
+
team_id?: string;
|
|
3972
|
+
}>;
|
|
3061
3973
|
/**
|
|
3062
|
-
*
|
|
3974
|
+
* Total number of teams across all pages
|
|
3063
3975
|
*/
|
|
3064
|
-
|
|
3976
|
+
total_count?: number;
|
|
3977
|
+
/**
|
|
3978
|
+
* Number of teams per page (configurable via TEAMS_PER_PAGE env var)
|
|
3979
|
+
*/
|
|
3980
|
+
per_page?: number;
|
|
3981
|
+
/**
|
|
3982
|
+
* URL to fetch next page of results. Null if no more pages.
|
|
3983
|
+
*/
|
|
3984
|
+
next_link?: string | null;
|
|
3985
|
+
};
|
|
3986
|
+
export type ListAvailableTeamsChannelsData = {
|
|
3065
3987
|
/**
|
|
3066
3988
|
* Microsoft Teams team ID
|
|
3067
3989
|
*/
|
|
3068
3990
|
teamId: string;
|
|
3069
3991
|
workspace: string;
|
|
3070
3992
|
};
|
|
3071
|
-
export type ListAvailableTeamsChannelsResponse =
|
|
3072
|
-
|
|
3073
|
-
|
|
3074
|
-
|
|
3993
|
+
export type ListAvailableTeamsChannelsResponse = {
|
|
3994
|
+
channels?: Array<{
|
|
3995
|
+
channel_name?: string;
|
|
3996
|
+
channel_id?: string;
|
|
3997
|
+
}>;
|
|
3998
|
+
total_count?: number;
|
|
3999
|
+
};
|
|
3075
4000
|
export type ConnectTeamsData = {
|
|
3076
4001
|
/**
|
|
3077
4002
|
* connect teams
|
|
@@ -3190,7 +4115,11 @@ export type EditLargeFileStorageConfigResponse = unknown;
|
|
|
3190
4115
|
export type ListDucklakesData = {
|
|
3191
4116
|
workspace: string;
|
|
3192
4117
|
};
|
|
3193
|
-
export type ListDucklakesResponse = Array<(string)>;
|
|
4118
|
+
export type ListDucklakesResponse = Array<(string)>;
|
|
4119
|
+
export type ListDataTablesData = {
|
|
4120
|
+
workspace: string;
|
|
4121
|
+
};
|
|
4122
|
+
export type ListDataTablesResponse = Array<(string)>;
|
|
3194
4123
|
export type EditDucklakeConfigData = {
|
|
3195
4124
|
/**
|
|
3196
4125
|
* Ducklake settings
|
|
@@ -3201,6 +4130,16 @@ export type EditDucklakeConfigData = {
|
|
|
3201
4130
|
workspace: string;
|
|
3202
4131
|
};
|
|
3203
4132
|
export type EditDucklakeConfigResponse = unknown;
|
|
4133
|
+
export type EditDataTableConfigData = {
|
|
4134
|
+
/**
|
|
4135
|
+
* DataTable settings
|
|
4136
|
+
*/
|
|
4137
|
+
requestBody: {
|
|
4138
|
+
settings: DataTableSettings;
|
|
4139
|
+
};
|
|
4140
|
+
workspace: string;
|
|
4141
|
+
};
|
|
4142
|
+
export type EditDataTableConfigResponse = unknown;
|
|
3204
4143
|
export type EditWorkspaceGitSyncConfigData = {
|
|
3205
4144
|
/**
|
|
3206
4145
|
* Workspace Git sync settings
|
|
@@ -3326,16 +4265,22 @@ export type GetUsedTriggersResponse = {
|
|
|
3326
4265
|
sqs_used: boolean;
|
|
3327
4266
|
email_used: boolean;
|
|
3328
4267
|
};
|
|
3329
|
-
export type
|
|
3330
|
-
[key: string]:
|
|
4268
|
+
export type RefreshCustomInstanceUserPwdResponse = {
|
|
4269
|
+
[key: string]: unknown;
|
|
4270
|
+
};
|
|
4271
|
+
export type ListCustomInstanceDbsResponse = {
|
|
4272
|
+
[key: string]: CustomInstanceDb;
|
|
3331
4273
|
};
|
|
3332
|
-
export type
|
|
4274
|
+
export type SetupCustomInstanceDbData = {
|
|
3333
4275
|
/**
|
|
3334
4276
|
* The name of the database to create
|
|
3335
4277
|
*/
|
|
3336
4278
|
name: string;
|
|
4279
|
+
requestBody: {
|
|
4280
|
+
tag?: CustomInstanceDbTag;
|
|
4281
|
+
};
|
|
3337
4282
|
};
|
|
3338
|
-
export type
|
|
4283
|
+
export type SetupCustomInstanceDbResponse = CustomInstanceDb;
|
|
3339
4284
|
export type GetGlobalData = {
|
|
3340
4285
|
key: string;
|
|
3341
4286
|
};
|
|
@@ -3491,6 +4436,7 @@ export type WorkspaceMuteCriticalAlertsUiResponse = string;
|
|
|
3491
4436
|
export type ListAvailableScopesResponse = Array<ScopeDomain>;
|
|
3492
4437
|
export type GetOidcTokenData = {
|
|
3493
4438
|
audience: string;
|
|
4439
|
+
expiresIn?: number;
|
|
3494
4440
|
workspace: string;
|
|
3495
4441
|
};
|
|
3496
4442
|
export type GetOidcTokenResponse = string;
|
|
@@ -3816,6 +4762,17 @@ export type GetResourceValueData = {
|
|
|
3816
4762
|
workspace: string;
|
|
3817
4763
|
};
|
|
3818
4764
|
export type GetResourceValueResponse = unknown;
|
|
4765
|
+
export type GetGitCommitHashData = {
|
|
4766
|
+
gitSshIdentity?: string;
|
|
4767
|
+
path: string;
|
|
4768
|
+
workspace: string;
|
|
4769
|
+
};
|
|
4770
|
+
export type GetGitCommitHashResponse = {
|
|
4771
|
+
/**
|
|
4772
|
+
* Latest commit hash from git ls-remote
|
|
4773
|
+
*/
|
|
4774
|
+
commit_hash: string;
|
|
4775
|
+
};
|
|
3819
4776
|
export type ExistsResourceData = {
|
|
3820
4777
|
path: string;
|
|
3821
4778
|
workspace: string;
|
|
@@ -3852,6 +4809,17 @@ export type ListSearchResourceResponse = Array<{
|
|
|
3852
4809
|
path: string;
|
|
3853
4810
|
value: unknown;
|
|
3854
4811
|
}>;
|
|
4812
|
+
export type GetMcpToolsData = {
|
|
4813
|
+
path: string;
|
|
4814
|
+
workspace: string;
|
|
4815
|
+
};
|
|
4816
|
+
export type GetMcpToolsResponse = Array<{
|
|
4817
|
+
name: string;
|
|
4818
|
+
description?: string;
|
|
4819
|
+
parameters: {
|
|
4820
|
+
[key: string]: unknown;
|
|
4821
|
+
};
|
|
4822
|
+
}>;
|
|
3855
4823
|
export type ListResourceNamesData = {
|
|
3856
4824
|
name: string;
|
|
3857
4825
|
workspace: string;
|
|
@@ -4007,6 +4975,12 @@ export type ListFlowsData = {
|
|
|
4007
4975
|
*
|
|
4008
4976
|
*/
|
|
4009
4977
|
withDeploymentMsg?: boolean;
|
|
4978
|
+
/**
|
|
4979
|
+
* (default false)
|
|
4980
|
+
* If true, the description field will be omitted from the response.
|
|
4981
|
+
*
|
|
4982
|
+
*/
|
|
4983
|
+
withoutDescription?: boolean;
|
|
4010
4984
|
workspace: string;
|
|
4011
4985
|
};
|
|
4012
4986
|
export type ListFlowsResponse = Array<(Flow & {
|
|
@@ -4031,13 +5005,11 @@ export type ListFlowPathsFromWorkspaceRunnableData = {
|
|
|
4031
5005
|
};
|
|
4032
5006
|
export type ListFlowPathsFromWorkspaceRunnableResponse = Array<(string)>;
|
|
4033
5007
|
export type GetFlowVersionData = {
|
|
4034
|
-
path: string;
|
|
4035
5008
|
version: number;
|
|
4036
5009
|
workspace: string;
|
|
4037
5010
|
};
|
|
4038
5011
|
export type GetFlowVersionResponse = Flow;
|
|
4039
5012
|
export type UpdateFlowHistoryData = {
|
|
4040
|
-
path: string;
|
|
4041
5013
|
/**
|
|
4042
5014
|
* Flow deployment message
|
|
4043
5015
|
*/
|
|
@@ -4060,6 +5032,7 @@ export type GetFlowDeploymentStatusData = {
|
|
|
4060
5032
|
};
|
|
4061
5033
|
export type GetFlowDeploymentStatusResponse = {
|
|
4062
5034
|
lock_error_logs?: string;
|
|
5035
|
+
job_id?: string;
|
|
4063
5036
|
};
|
|
4064
5037
|
export type GetTriggersCountOfFlowData = {
|
|
4065
5038
|
path: string;
|
|
@@ -4405,6 +5378,12 @@ export type ExecuteComponentData = {
|
|
|
4405
5378
|
[key: string]: unknown;
|
|
4406
5379
|
};
|
|
4407
5380
|
force_viewer_allow_user_resources?: Array<(string)>;
|
|
5381
|
+
/**
|
|
5382
|
+
* Runnable query parameters
|
|
5383
|
+
*/
|
|
5384
|
+
run_query_params?: {
|
|
5385
|
+
[key: string]: unknown;
|
|
5386
|
+
};
|
|
4408
5387
|
};
|
|
4409
5388
|
workspace: string;
|
|
4410
5389
|
};
|
|
@@ -4447,6 +5426,12 @@ export type GetHubScriptByPathResponse = {
|
|
|
4447
5426
|
language: string;
|
|
4448
5427
|
summary?: string;
|
|
4449
5428
|
};
|
|
5429
|
+
export type PickHubScriptByPathData = {
|
|
5430
|
+
path: string;
|
|
5431
|
+
};
|
|
5432
|
+
export type PickHubScriptByPathResponse = {
|
|
5433
|
+
success: boolean;
|
|
5434
|
+
};
|
|
4450
5435
|
export type GetTopHubScriptsData = {
|
|
4451
5436
|
/**
|
|
4452
5437
|
* query scripts app
|
|
@@ -4605,6 +5590,12 @@ export type ListScriptsData = {
|
|
|
4605
5590
|
*
|
|
4606
5591
|
*/
|
|
4607
5592
|
withDeploymentMsg?: boolean;
|
|
5593
|
+
/**
|
|
5594
|
+
* (default false)
|
|
5595
|
+
* If true, the description field will be omitted from the response.
|
|
5596
|
+
*
|
|
5597
|
+
*/
|
|
5598
|
+
withoutDescription?: boolean;
|
|
4608
5599
|
workspace: string;
|
|
4609
5600
|
};
|
|
4610
5601
|
export type ListScriptsResponse = Array<Script>;
|
|
@@ -4748,6 +5739,7 @@ export type GetScriptDeploymentStatusData = {
|
|
|
4748
5739
|
export type GetScriptDeploymentStatusResponse = {
|
|
4749
5740
|
lock?: string;
|
|
4750
5741
|
lock_error_logs?: string;
|
|
5742
|
+
job_id?: string;
|
|
4751
5743
|
};
|
|
4752
5744
|
export type CreateDraftData = {
|
|
4753
5745
|
requestBody: {
|
|
@@ -4808,6 +5800,36 @@ export type GetCountsOfJobsWaitingPerTagResponse = {
|
|
|
4808
5800
|
export type GetCountsOfRunningJobsPerTagResponse = {
|
|
4809
5801
|
[key: string]: (number);
|
|
4810
5802
|
};
|
|
5803
|
+
export type CreateWorkspaceDependenciesData = {
|
|
5804
|
+
/**
|
|
5805
|
+
* New workspace dependencies
|
|
5806
|
+
*/
|
|
5807
|
+
requestBody: NewWorkspaceDependencies;
|
|
5808
|
+
workspace: string;
|
|
5809
|
+
};
|
|
5810
|
+
export type CreateWorkspaceDependenciesResponse = string;
|
|
5811
|
+
export type ArchiveWorkspaceDependenciesData = {
|
|
5812
|
+
language: ScriptLang;
|
|
5813
|
+
name?: string;
|
|
5814
|
+
workspace: string;
|
|
5815
|
+
};
|
|
5816
|
+
export type ArchiveWorkspaceDependenciesResponse = unknown;
|
|
5817
|
+
export type DeleteWorkspaceDependenciesData = {
|
|
5818
|
+
language: ScriptLang;
|
|
5819
|
+
name?: string;
|
|
5820
|
+
workspace: string;
|
|
5821
|
+
};
|
|
5822
|
+
export type DeleteWorkspaceDependenciesResponse = unknown;
|
|
5823
|
+
export type ListWorkspaceDependenciesData = {
|
|
5824
|
+
workspace: string;
|
|
5825
|
+
};
|
|
5826
|
+
export type ListWorkspaceDependenciesResponse = Array<WorkspaceDependencies>;
|
|
5827
|
+
export type GetLatestWorkspaceDependenciesData = {
|
|
5828
|
+
language: ScriptLang;
|
|
5829
|
+
name?: string;
|
|
5830
|
+
workspace: string;
|
|
5831
|
+
};
|
|
5832
|
+
export type GetLatestWorkspaceDependenciesResponse = WorkspaceDependencies;
|
|
4811
5833
|
export type ListSelectedJobGroupsData = {
|
|
4812
5834
|
/**
|
|
4813
5835
|
* script args
|
|
@@ -4984,6 +6006,78 @@ export type RunWaitResultFlowByPathData = {
|
|
|
4984
6006
|
workspace: string;
|
|
4985
6007
|
};
|
|
4986
6008
|
export type RunWaitResultFlowByPathResponse = unknown;
|
|
6009
|
+
export type RunWaitResultFlowByVersionData = {
|
|
6010
|
+
/**
|
|
6011
|
+
* List of headers's keys (separated with ',') whove value are added to the args
|
|
6012
|
+
* Header's key lowercased and '-'' replaced to '_' such that 'Content-Type' becomes the 'content_type' arg key
|
|
6013
|
+
*
|
|
6014
|
+
*/
|
|
6015
|
+
includeHeader?: string;
|
|
6016
|
+
/**
|
|
6017
|
+
* The job id to assign to the created job. if missing, job is chosen randomly using the ULID scheme. If a job id already exists in the queue or as a completed job, the request to create one will fail (Bad Request)
|
|
6018
|
+
*/
|
|
6019
|
+
jobId?: string;
|
|
6020
|
+
/**
|
|
6021
|
+
* memory ID for chat-enabled flows
|
|
6022
|
+
*/
|
|
6023
|
+
memoryId?: string;
|
|
6024
|
+
/**
|
|
6025
|
+
* The maximum size of the queue for which the request would get rejected if that job would push it above that limit
|
|
6026
|
+
*
|
|
6027
|
+
*/
|
|
6028
|
+
queueLimit?: string;
|
|
6029
|
+
/**
|
|
6030
|
+
* script args
|
|
6031
|
+
*/
|
|
6032
|
+
requestBody: ScriptArgs;
|
|
6033
|
+
/**
|
|
6034
|
+
* skip the preprocessor
|
|
6035
|
+
*/
|
|
6036
|
+
skipPreprocessor?: boolean;
|
|
6037
|
+
/**
|
|
6038
|
+
* flow version ID
|
|
6039
|
+
*/
|
|
6040
|
+
version: number;
|
|
6041
|
+
workspace: string;
|
|
6042
|
+
};
|
|
6043
|
+
export type RunWaitResultFlowByVersionResponse = unknown;
|
|
6044
|
+
export type RunWaitResultFlowByVersionGetData = {
|
|
6045
|
+
/**
|
|
6046
|
+
* List of headers's keys (separated with ',') whove value are added to the args
|
|
6047
|
+
* Header's key lowercased and '-'' replaced to '_' such that 'Content-Type' becomes the 'content_type' arg key
|
|
6048
|
+
*
|
|
6049
|
+
*/
|
|
6050
|
+
includeHeader?: string;
|
|
6051
|
+
/**
|
|
6052
|
+
* The job id to assign to the created job. if missing, job is chosen randomly using the ULID scheme. If a job id already exists in the queue or as a completed job, the request to create one will fail (Bad Request)
|
|
6053
|
+
*/
|
|
6054
|
+
jobId?: string;
|
|
6055
|
+
/**
|
|
6056
|
+
* memory ID for chat-enabled flows
|
|
6057
|
+
*/
|
|
6058
|
+
memoryId?: string;
|
|
6059
|
+
/**
|
|
6060
|
+
* The base64 encoded payload that has been encoded as a JSON. e.g how to encode such payload encodeURIComponent
|
|
6061
|
+
* `encodeURIComponent(btoa(JSON.stringify({a: 2})))`
|
|
6062
|
+
*
|
|
6063
|
+
*/
|
|
6064
|
+
payload?: string;
|
|
6065
|
+
/**
|
|
6066
|
+
* The maximum size of the queue for which the request would get rejected if that job would push it above that limit
|
|
6067
|
+
*
|
|
6068
|
+
*/
|
|
6069
|
+
queueLimit?: string;
|
|
6070
|
+
/**
|
|
6071
|
+
* skip the preprocessor
|
|
6072
|
+
*/
|
|
6073
|
+
skipPreprocessor?: boolean;
|
|
6074
|
+
/**
|
|
6075
|
+
* flow version ID
|
|
6076
|
+
*/
|
|
6077
|
+
version: number;
|
|
6078
|
+
workspace: string;
|
|
6079
|
+
};
|
|
6080
|
+
export type RunWaitResultFlowByVersionGetResponse = unknown;
|
|
4987
6081
|
export type RunAndStreamFlowByPathData = {
|
|
4988
6082
|
/**
|
|
4989
6083
|
* List of headers's keys (separated with ',') whove value are added to the args
|
|
@@ -5058,6 +6152,86 @@ export type RunAndStreamFlowByPathGetData = {
|
|
|
5058
6152
|
workspace: string;
|
|
5059
6153
|
};
|
|
5060
6154
|
export type RunAndStreamFlowByPathGetResponse = string;
|
|
6155
|
+
export type RunAndStreamFlowByVersionData = {
|
|
6156
|
+
/**
|
|
6157
|
+
* List of headers's keys (separated with ',') whove value are added to the args
|
|
6158
|
+
* Header's key lowercased and '-'' replaced to '_' such that 'Content-Type' becomes the 'content_type' arg key
|
|
6159
|
+
*
|
|
6160
|
+
*/
|
|
6161
|
+
includeHeader?: string;
|
|
6162
|
+
/**
|
|
6163
|
+
* The job id to assign to the created job. if missing, job is chosen randomly using the ULID scheme. If a job id already exists in the queue or as a completed job, the request to create one will fail (Bad Request)
|
|
6164
|
+
*/
|
|
6165
|
+
jobId?: string;
|
|
6166
|
+
/**
|
|
6167
|
+
* memory ID for chat-enabled flows
|
|
6168
|
+
*/
|
|
6169
|
+
memoryId?: string;
|
|
6170
|
+
/**
|
|
6171
|
+
* delay between polling for job updates in milliseconds
|
|
6172
|
+
*/
|
|
6173
|
+
pollDelayMs?: number;
|
|
6174
|
+
/**
|
|
6175
|
+
* The maximum size of the queue for which the request would get rejected if that job would push it above that limit
|
|
6176
|
+
*
|
|
6177
|
+
*/
|
|
6178
|
+
queueLimit?: string;
|
|
6179
|
+
/**
|
|
6180
|
+
* flow args
|
|
6181
|
+
*/
|
|
6182
|
+
requestBody: ScriptArgs;
|
|
6183
|
+
/**
|
|
6184
|
+
* skip the preprocessor
|
|
6185
|
+
*/
|
|
6186
|
+
skipPreprocessor?: boolean;
|
|
6187
|
+
/**
|
|
6188
|
+
* flow version ID
|
|
6189
|
+
*/
|
|
6190
|
+
version: number;
|
|
6191
|
+
workspace: string;
|
|
6192
|
+
};
|
|
6193
|
+
export type RunAndStreamFlowByVersionResponse = string;
|
|
6194
|
+
export type RunAndStreamFlowByVersionGetData = {
|
|
6195
|
+
/**
|
|
6196
|
+
* List of headers's keys (separated with ',') whove value are added to the args
|
|
6197
|
+
* Header's key lowercased and '-'' replaced to '_' such that 'Content-Type' becomes the 'content_type' arg key
|
|
6198
|
+
*
|
|
6199
|
+
*/
|
|
6200
|
+
includeHeader?: string;
|
|
6201
|
+
/**
|
|
6202
|
+
* The job id to assign to the created job. if missing, job is chosen randomly using the ULID scheme. If a job id already exists in the queue or as a completed job, the request to create one will fail (Bad Request)
|
|
6203
|
+
*/
|
|
6204
|
+
jobId?: string;
|
|
6205
|
+
/**
|
|
6206
|
+
* memory ID for chat-enabled flows
|
|
6207
|
+
*/
|
|
6208
|
+
memoryId?: string;
|
|
6209
|
+
/**
|
|
6210
|
+
* The base64 encoded payload that has been encoded as a JSON. e.g how to encode such payload encodeURIComponent
|
|
6211
|
+
* `encodeURIComponent(btoa(JSON.stringify({a: 2})))`
|
|
6212
|
+
*
|
|
6213
|
+
*/
|
|
6214
|
+
payload?: string;
|
|
6215
|
+
/**
|
|
6216
|
+
* delay between polling for job updates in milliseconds
|
|
6217
|
+
*/
|
|
6218
|
+
pollDelayMs?: number;
|
|
6219
|
+
/**
|
|
6220
|
+
* The maximum size of the queue for which the request would get rejected if that job would push it above that limit
|
|
6221
|
+
*
|
|
6222
|
+
*/
|
|
6223
|
+
queueLimit?: string;
|
|
6224
|
+
/**
|
|
6225
|
+
* skip the preprocessor
|
|
6226
|
+
*/
|
|
6227
|
+
skipPreprocessor?: boolean;
|
|
6228
|
+
/**
|
|
6229
|
+
* flow version ID
|
|
6230
|
+
*/
|
|
6231
|
+
version: number;
|
|
6232
|
+
workspace: string;
|
|
6233
|
+
};
|
|
6234
|
+
export type RunAndStreamFlowByVersionGetResponse = string;
|
|
5061
6235
|
export type RunAndStreamScriptByPathData = {
|
|
5062
6236
|
/**
|
|
5063
6237
|
* Override the cache time to live (in seconds). Can not be used to disable caching, only override with a new cache ttl
|
|
@@ -5207,26 +6381,79 @@ export type RunAndStreamScriptByHashGetData = {
|
|
|
5207
6381
|
/**
|
|
5208
6382
|
* The job id to assign to the created job. if missing, job is chosen randomly using the ULID scheme. If a job id already exists in the queue or as a completed job, the request to create one will fail (Bad Request)
|
|
5209
6383
|
*/
|
|
5210
|
-
jobId?: string;
|
|
6384
|
+
jobId?: string;
|
|
6385
|
+
/**
|
|
6386
|
+
* The parent job that is at the origin and responsible for the execution of this script if any
|
|
6387
|
+
*/
|
|
6388
|
+
parentJob?: string;
|
|
6389
|
+
/**
|
|
6390
|
+
* The base64 encoded payload that has been encoded as a JSON. e.g how to encode such payload encodeURIComponent
|
|
6391
|
+
* `encodeURIComponent(btoa(JSON.stringify({a: 2})))`
|
|
6392
|
+
*
|
|
6393
|
+
*/
|
|
6394
|
+
payload?: string;
|
|
6395
|
+
/**
|
|
6396
|
+
* delay between polling for job updates in milliseconds
|
|
6397
|
+
*/
|
|
6398
|
+
pollDelayMs?: number;
|
|
6399
|
+
/**
|
|
6400
|
+
* The maximum size of the queue for which the request would get rejected if that job would push it above that limit
|
|
6401
|
+
*
|
|
6402
|
+
*/
|
|
6403
|
+
queueLimit?: string;
|
|
6404
|
+
/**
|
|
6405
|
+
* skip the preprocessor
|
|
6406
|
+
*/
|
|
6407
|
+
skipPreprocessor?: boolean;
|
|
6408
|
+
/**
|
|
6409
|
+
* Override the tag to use
|
|
6410
|
+
*/
|
|
6411
|
+
tag?: string;
|
|
6412
|
+
workspace: string;
|
|
6413
|
+
};
|
|
6414
|
+
export type RunAndStreamScriptByHashGetResponse = string;
|
|
6415
|
+
export type ResultByIdData = {
|
|
6416
|
+
flowJobId: string;
|
|
6417
|
+
nodeId: string;
|
|
6418
|
+
workspace: string;
|
|
6419
|
+
};
|
|
6420
|
+
export type ResultByIdResponse = unknown;
|
|
6421
|
+
export type RunFlowByPathData = {
|
|
6422
|
+
/**
|
|
6423
|
+
* List of headers's keys (separated with ',') whove value are added to the args
|
|
6424
|
+
* Header's key lowercased and '-'' replaced to '_' such that 'Content-Type' becomes the 'content_type' arg key
|
|
6425
|
+
*
|
|
6426
|
+
*/
|
|
6427
|
+
includeHeader?: string;
|
|
6428
|
+
/**
|
|
6429
|
+
* make the run invisible to the the flow owner (default false)
|
|
6430
|
+
*/
|
|
6431
|
+
invisibleToOwner?: boolean;
|
|
6432
|
+
/**
|
|
6433
|
+
* The job id to assign to the created job. if missing, job is chosen randomly using the ULID scheme. If a job id already exists in the queue or as a completed job, the request to create one will fail (Bad Request)
|
|
6434
|
+
*/
|
|
6435
|
+
jobId?: string;
|
|
6436
|
+
/**
|
|
6437
|
+
* memory ID for chat-enabled flows
|
|
6438
|
+
*/
|
|
6439
|
+
memoryId?: string;
|
|
5211
6440
|
/**
|
|
5212
6441
|
* The parent job that is at the origin and responsible for the execution of this script if any
|
|
5213
6442
|
*/
|
|
5214
6443
|
parentJob?: string;
|
|
6444
|
+
path: string;
|
|
5215
6445
|
/**
|
|
5216
|
-
*
|
|
5217
|
-
* `encodeURIComponent(btoa(JSON.stringify({a: 2})))`
|
|
5218
|
-
*
|
|
6446
|
+
* flow args
|
|
5219
6447
|
*/
|
|
5220
|
-
|
|
6448
|
+
requestBody: ScriptArgs;
|
|
5221
6449
|
/**
|
|
5222
|
-
*
|
|
6450
|
+
* when to schedule this job (leave empty for immediate run)
|
|
5223
6451
|
*/
|
|
5224
|
-
|
|
6452
|
+
scheduledFor?: string;
|
|
5225
6453
|
/**
|
|
5226
|
-
*
|
|
5227
|
-
*
|
|
6454
|
+
* schedule the script to execute in the number of seconds starting now
|
|
5228
6455
|
*/
|
|
5229
|
-
|
|
6456
|
+
scheduledInSecs?: number;
|
|
5230
6457
|
/**
|
|
5231
6458
|
* skip the preprocessor
|
|
5232
6459
|
*/
|
|
@@ -5237,14 +6464,8 @@ export type RunAndStreamScriptByHashGetData = {
|
|
|
5237
6464
|
tag?: string;
|
|
5238
6465
|
workspace: string;
|
|
5239
6466
|
};
|
|
5240
|
-
export type
|
|
5241
|
-
export type
|
|
5242
|
-
flowJobId: string;
|
|
5243
|
-
nodeId: string;
|
|
5244
|
-
workspace: string;
|
|
5245
|
-
};
|
|
5246
|
-
export type ResultByIdResponse = unknown;
|
|
5247
|
-
export type RunFlowByPathData = {
|
|
6467
|
+
export type RunFlowByPathResponse = string;
|
|
6468
|
+
export type RunFlowByVersionData = {
|
|
5248
6469
|
/**
|
|
5249
6470
|
* List of headers's keys (separated with ',') whove value are added to the args
|
|
5250
6471
|
* Header's key lowercased and '-'' replaced to '_' such that 'Content-Type' becomes the 'content_type' arg key
|
|
@@ -5267,7 +6488,6 @@ export type RunFlowByPathData = {
|
|
|
5267
6488
|
* The parent job that is at the origin and responsible for the execution of this script if any
|
|
5268
6489
|
*/
|
|
5269
6490
|
parentJob?: string;
|
|
5270
|
-
path: string;
|
|
5271
6491
|
/**
|
|
5272
6492
|
* flow args
|
|
5273
6493
|
*/
|
|
@@ -5288,9 +6508,13 @@ export type RunFlowByPathData = {
|
|
|
5288
6508
|
* Override the tag to use
|
|
5289
6509
|
*/
|
|
5290
6510
|
tag?: string;
|
|
6511
|
+
/**
|
|
6512
|
+
* flow version ID
|
|
6513
|
+
*/
|
|
6514
|
+
version: number;
|
|
5291
6515
|
workspace: string;
|
|
5292
6516
|
};
|
|
5293
|
-
export type
|
|
6517
|
+
export type RunFlowByVersionResponse = string;
|
|
5294
6518
|
export type BatchReRunJobsData = {
|
|
5295
6519
|
/**
|
|
5296
6520
|
* list of job ids to re run and arg tranforms
|
|
@@ -5318,10 +6542,6 @@ export type BatchReRunJobsData = {
|
|
|
5318
6542
|
};
|
|
5319
6543
|
export type BatchReRunJobsResponse = string;
|
|
5320
6544
|
export type RestartFlowAtStepData = {
|
|
5321
|
-
/**
|
|
5322
|
-
* for branchall or loop, the iteration at which the flow should restart
|
|
5323
|
-
*/
|
|
5324
|
-
branchOrIterationN: number;
|
|
5325
6545
|
id: string;
|
|
5326
6546
|
/**
|
|
5327
6547
|
* List of headers's keys (separated with ',') whove value are added to the args
|
|
@@ -5342,9 +6562,22 @@ export type RestartFlowAtStepData = {
|
|
|
5342
6562
|
*/
|
|
5343
6563
|
parentJob?: string;
|
|
5344
6564
|
/**
|
|
5345
|
-
* flow
|
|
6565
|
+
* restart flow parameters
|
|
5346
6566
|
*/
|
|
5347
|
-
requestBody:
|
|
6567
|
+
requestBody: {
|
|
6568
|
+
/**
|
|
6569
|
+
* step id to restart the flow from
|
|
6570
|
+
*/
|
|
6571
|
+
step_id: string;
|
|
6572
|
+
/**
|
|
6573
|
+
* for branchall or loop, the iteration at which the flow should restart (optional)
|
|
6574
|
+
*/
|
|
6575
|
+
branch_or_iteration_n?: number;
|
|
6576
|
+
/**
|
|
6577
|
+
* specific flow version to use for restart (optional, uses current version if not specified)
|
|
6578
|
+
*/
|
|
6579
|
+
flow_version?: number;
|
|
6580
|
+
};
|
|
5348
6581
|
/**
|
|
5349
6582
|
* when to schedule this job (leave empty for immediate run)
|
|
5350
6583
|
*/
|
|
@@ -5353,10 +6586,6 @@ export type RestartFlowAtStepData = {
|
|
|
5353
6586
|
* schedule the script to execute in the number of seconds starting now
|
|
5354
6587
|
*/
|
|
5355
6588
|
scheduledInSecs?: number;
|
|
5356
|
-
/**
|
|
5357
|
-
* step id to restart the flow from
|
|
5358
|
-
*/
|
|
5359
|
-
stepId: string;
|
|
5360
6589
|
/**
|
|
5361
6590
|
* Override the tag to use
|
|
5362
6591
|
*/
|
|
@@ -5435,6 +6664,14 @@ export type RunScriptPreviewData = {
|
|
|
5435
6664
|
workspace: string;
|
|
5436
6665
|
};
|
|
5437
6666
|
export type RunScriptPreviewResponse = string;
|
|
6667
|
+
export type RunScriptPreviewInlineData = {
|
|
6668
|
+
/**
|
|
6669
|
+
* preview
|
|
6670
|
+
*/
|
|
6671
|
+
requestBody: PreviewInline;
|
|
6672
|
+
workspace: string;
|
|
6673
|
+
};
|
|
6674
|
+
export type RunScriptPreviewInlineResponse = unknown;
|
|
5438
6675
|
export type RunScriptPreviewAndWaitResultData = {
|
|
5439
6676
|
/**
|
|
5440
6677
|
* preview
|
|
@@ -5481,6 +6718,10 @@ export type RunFlowPreviewData = {
|
|
|
5481
6718
|
* The job id to assign to the created job. if missing, job is chosen randomly using the ULID scheme. If a job id already exists in the queue or as a completed job, the request to create one will fail (Bad Request)
|
|
5482
6719
|
*/
|
|
5483
6720
|
jobId?: string;
|
|
6721
|
+
/**
|
|
6722
|
+
* memory ID for chat-enabled flows
|
|
6723
|
+
*/
|
|
6724
|
+
memoryId?: string;
|
|
5484
6725
|
/**
|
|
5485
6726
|
* preview
|
|
5486
6727
|
*/
|
|
@@ -5489,6 +6730,10 @@ export type RunFlowPreviewData = {
|
|
|
5489
6730
|
};
|
|
5490
6731
|
export type RunFlowPreviewResponse = string;
|
|
5491
6732
|
export type RunFlowPreviewAndWaitResultData = {
|
|
6733
|
+
/**
|
|
6734
|
+
* memory ID for chat-enabled flows
|
|
6735
|
+
*/
|
|
6736
|
+
memoryId?: string;
|
|
5492
6737
|
/**
|
|
5493
6738
|
* preview
|
|
5494
6739
|
*/
|
|
@@ -5593,6 +6838,14 @@ export type ListQueueData = {
|
|
|
5593
6838
|
* filter on jobs with a given tag/worker group
|
|
5594
6839
|
*/
|
|
5595
6840
|
tag?: string;
|
|
6841
|
+
/**
|
|
6842
|
+
* trigger kind (schedule, http, websocket...)
|
|
6843
|
+
*/
|
|
6844
|
+
triggerKind?: JobTriggerKind;
|
|
6845
|
+
/**
|
|
6846
|
+
* mask to filter by trigger path
|
|
6847
|
+
*/
|
|
6848
|
+
triggerPath?: string;
|
|
5596
6849
|
/**
|
|
5597
6850
|
* worker this job was ran on
|
|
5598
6851
|
*/
|
|
@@ -5635,29 +6888,33 @@ export type ListFilteredJobsUuidsData = {
|
|
|
5635
6888
|
*/
|
|
5636
6889
|
args?: string;
|
|
5637
6890
|
/**
|
|
5638
|
-
* filter on
|
|
6891
|
+
* filter on started after (exclusive) timestamp
|
|
5639
6892
|
*/
|
|
5640
|
-
|
|
6893
|
+
completedAfter?: string;
|
|
5641
6894
|
/**
|
|
5642
|
-
* filter on
|
|
6895
|
+
* filter on started before (inclusive) timestamp
|
|
5643
6896
|
*/
|
|
5644
|
-
|
|
6897
|
+
completedBefore?: string;
|
|
5645
6898
|
/**
|
|
5646
|
-
*
|
|
6899
|
+
* filter on created after (exclusive) timestamp
|
|
5647
6900
|
*/
|
|
5648
|
-
|
|
6901
|
+
createdAfter?: string;
|
|
6902
|
+
/**
|
|
6903
|
+
* filter on jobs created after X for jobs in the queue only
|
|
6904
|
+
*/
|
|
6905
|
+
createdAfterQueue?: string;
|
|
5649
6906
|
/**
|
|
5650
|
-
* filter on
|
|
6907
|
+
* filter on created before (inclusive) timestamp
|
|
5651
6908
|
*/
|
|
5652
|
-
|
|
6909
|
+
createdBefore?: string;
|
|
5653
6910
|
/**
|
|
5654
|
-
* filter on
|
|
6911
|
+
* filter on jobs created before X for jobs in the queue only
|
|
5655
6912
|
*/
|
|
5656
|
-
|
|
6913
|
+
createdBeforeQueue?: string;
|
|
5657
6914
|
/**
|
|
5658
|
-
*
|
|
6915
|
+
* mask to filter exact matching user creator
|
|
5659
6916
|
*/
|
|
5660
|
-
|
|
6917
|
+
createdBy?: string;
|
|
5661
6918
|
/**
|
|
5662
6919
|
* has null parent
|
|
5663
6920
|
*/
|
|
@@ -5947,6 +7204,45 @@ export type ListCompletedJobsData = {
|
|
|
5947
7204
|
workspace: string;
|
|
5948
7205
|
};
|
|
5949
7206
|
export type ListCompletedJobsResponse = Array<CompletedJob>;
|
|
7207
|
+
export type ExportCompletedJobsData = {
|
|
7208
|
+
/**
|
|
7209
|
+
* which page to return (start at 1, default 1)
|
|
7210
|
+
*/
|
|
7211
|
+
page?: number;
|
|
7212
|
+
/**
|
|
7213
|
+
* number of items to return for a given page (default 30, max 100)
|
|
7214
|
+
*/
|
|
7215
|
+
perPage?: number;
|
|
7216
|
+
workspace: string;
|
|
7217
|
+
};
|
|
7218
|
+
export type ExportCompletedJobsResponse = Array<ExportableCompletedJob>;
|
|
7219
|
+
export type ImportCompletedJobsData = {
|
|
7220
|
+
requestBody: Array<ExportableCompletedJob>;
|
|
7221
|
+
workspace: string;
|
|
7222
|
+
};
|
|
7223
|
+
export type ImportCompletedJobsResponse = string;
|
|
7224
|
+
export type ExportQueuedJobsData = {
|
|
7225
|
+
/**
|
|
7226
|
+
* which page to return (start at 1, default 1)
|
|
7227
|
+
*/
|
|
7228
|
+
page?: number;
|
|
7229
|
+
/**
|
|
7230
|
+
* number of items to return for a given page (default 30, max 100)
|
|
7231
|
+
*/
|
|
7232
|
+
perPage?: number;
|
|
7233
|
+
workspace: string;
|
|
7234
|
+
};
|
|
7235
|
+
export type ExportQueuedJobsResponse = Array<ExportableQueuedJob>;
|
|
7236
|
+
export type ImportQueuedJobsData = {
|
|
7237
|
+
requestBody: Array<ExportableQueuedJob>;
|
|
7238
|
+
workspace: string;
|
|
7239
|
+
};
|
|
7240
|
+
export type ImportQueuedJobsResponse = string;
|
|
7241
|
+
export type DeleteJobsData = {
|
|
7242
|
+
requestBody: Array<(string)>;
|
|
7243
|
+
workspace: string;
|
|
7244
|
+
};
|
|
7245
|
+
export type DeleteJobsResponse = string;
|
|
5950
7246
|
export type ListJobsData = {
|
|
5951
7247
|
/**
|
|
5952
7248
|
* allow wildcards (*) in the filter of label, tag, worker
|
|
@@ -5961,29 +7257,33 @@ export type ListJobsData = {
|
|
|
5961
7257
|
*/
|
|
5962
7258
|
args?: string;
|
|
5963
7259
|
/**
|
|
5964
|
-
* filter on
|
|
7260
|
+
* filter on started after (exclusive) timestamp
|
|
5965
7261
|
*/
|
|
5966
|
-
|
|
7262
|
+
completedAfter?: string;
|
|
5967
7263
|
/**
|
|
5968
|
-
* filter on
|
|
7264
|
+
* filter on started before (inclusive) timestamp
|
|
5969
7265
|
*/
|
|
5970
|
-
|
|
7266
|
+
completedBefore?: string;
|
|
5971
7267
|
/**
|
|
5972
|
-
*
|
|
7268
|
+
* filter on created after (exclusive) timestamp
|
|
5973
7269
|
*/
|
|
5974
|
-
|
|
7270
|
+
createdAfter?: string;
|
|
5975
7271
|
/**
|
|
5976
|
-
* filter on
|
|
7272
|
+
* filter on jobs created after X for jobs in the queue only
|
|
5977
7273
|
*/
|
|
5978
|
-
|
|
7274
|
+
createdAfterQueue?: string;
|
|
7275
|
+
/**
|
|
7276
|
+
* filter on created before (inclusive) timestamp
|
|
7277
|
+
*/
|
|
7278
|
+
createdBefore?: string;
|
|
5979
7279
|
/**
|
|
5980
|
-
* filter on
|
|
7280
|
+
* filter on jobs created before X for jobs in the queue only
|
|
5981
7281
|
*/
|
|
5982
|
-
|
|
7282
|
+
createdBeforeQueue?: string;
|
|
5983
7283
|
/**
|
|
5984
|
-
*
|
|
7284
|
+
* mask to filter exact matching user creator
|
|
5985
7285
|
*/
|
|
5986
|
-
|
|
7286
|
+
createdBy?: string;
|
|
5987
7287
|
/**
|
|
5988
7288
|
* has null parent
|
|
5989
7289
|
*/
|
|
@@ -6008,10 +7308,6 @@ export type ListJobsData = {
|
|
|
6008
7308
|
* mask to filter exact matching job's label (job labels are completed jobs with as a result an object containing a string in the array at key 'wm_labels')
|
|
6009
7309
|
*/
|
|
6010
7310
|
label?: string;
|
|
6011
|
-
/**
|
|
6012
|
-
* which page to return (start at 1, default 1)
|
|
6013
|
-
*/
|
|
6014
|
-
page?: number;
|
|
6015
7311
|
/**
|
|
6016
7312
|
* The parent job that is at the origin and responsible for the execution of this script if any
|
|
6017
7313
|
*/
|
|
@@ -6068,6 +7364,10 @@ export type ListJobsData = {
|
|
|
6068
7364
|
* filter on jobs with a given tag/worker group
|
|
6069
7365
|
*/
|
|
6070
7366
|
tag?: string;
|
|
7367
|
+
/**
|
|
7368
|
+
* trigger kind (schedule, http, websocket...)
|
|
7369
|
+
*/
|
|
7370
|
+
triggerKind?: JobTriggerKind;
|
|
6071
7371
|
/**
|
|
6072
7372
|
* worker this job was ran on
|
|
6073
7373
|
*/
|
|
@@ -6383,23 +7683,27 @@ export type ListExtendedJobsData = {
|
|
|
6383
7683
|
* filter on jobs containing those args as a json subset (@> in postgres)
|
|
6384
7684
|
*/
|
|
6385
7685
|
args?: string;
|
|
6386
|
-
concurrencyKey?: string;
|
|
6387
7686
|
/**
|
|
6388
|
-
*
|
|
7687
|
+
* filter on started after (exclusive) timestamp
|
|
6389
7688
|
*/
|
|
6390
|
-
|
|
7689
|
+
completedAfter?: string;
|
|
7690
|
+
/**
|
|
7691
|
+
* filter on started before (inclusive) timestamp
|
|
7692
|
+
*/
|
|
7693
|
+
completedBefore?: string;
|
|
7694
|
+
concurrencyKey?: string;
|
|
6391
7695
|
/**
|
|
6392
|
-
* filter on
|
|
7696
|
+
* filter on jobs created after X for jobs in the queue only
|
|
6393
7697
|
*/
|
|
6394
|
-
|
|
7698
|
+
createdAfterQueue?: string;
|
|
6395
7699
|
/**
|
|
6396
|
-
* filter on
|
|
7700
|
+
* filter on jobs created before X for jobs in the queue only
|
|
6397
7701
|
*/
|
|
6398
|
-
|
|
7702
|
+
createdBeforeQueue?: string;
|
|
6399
7703
|
/**
|
|
6400
|
-
*
|
|
7704
|
+
* mask to filter exact matching user creator
|
|
6401
7705
|
*/
|
|
6402
|
-
|
|
7706
|
+
createdBy?: string;
|
|
6403
7707
|
/**
|
|
6404
7708
|
* has null parent
|
|
6405
7709
|
*/
|
|
@@ -6481,6 +7785,10 @@ export type ListExtendedJobsData = {
|
|
|
6481
7785
|
* filter on jobs with a given tag/worker group
|
|
6482
7786
|
*/
|
|
6483
7787
|
tag?: string;
|
|
7788
|
+
/**
|
|
7789
|
+
* trigger kind (schedule, http, websocket...)
|
|
7790
|
+
*/
|
|
7791
|
+
triggerKind?: JobTriggerKind;
|
|
6484
7792
|
workspace: string;
|
|
6485
7793
|
};
|
|
6486
7794
|
export type ListExtendedJobsResponse = ExtendedJobs;
|
|
@@ -6603,6 +7911,48 @@ export type DeleteRawAppData = {
|
|
|
6603
7911
|
workspace: string;
|
|
6604
7912
|
};
|
|
6605
7913
|
export type DeleteRawAppResponse = string;
|
|
7914
|
+
export type ResumeSuspendedTriggerJobsData = {
|
|
7915
|
+
/**
|
|
7916
|
+
* Optional list of job IDs to reassign
|
|
7917
|
+
*/
|
|
7918
|
+
requestBody?: {
|
|
7919
|
+
/**
|
|
7920
|
+
* Optional list of specific job UUIDs to reassign. If not provided, all suspended jobs for the trigger will be reassigned.
|
|
7921
|
+
*/
|
|
7922
|
+
job_ids?: Array<(string)>;
|
|
7923
|
+
};
|
|
7924
|
+
/**
|
|
7925
|
+
* The kind of trigger
|
|
7926
|
+
*/
|
|
7927
|
+
triggerKind: JobTriggerKind;
|
|
7928
|
+
/**
|
|
7929
|
+
* The path of the trigger (can contain forward slashes)
|
|
7930
|
+
*/
|
|
7931
|
+
triggerPath: string;
|
|
7932
|
+
workspace: string;
|
|
7933
|
+
};
|
|
7934
|
+
export type ResumeSuspendedTriggerJobsResponse = string;
|
|
7935
|
+
export type CancelSuspendedTriggerJobsData = {
|
|
7936
|
+
/**
|
|
7937
|
+
* Optional list of job IDs to cancel
|
|
7938
|
+
*/
|
|
7939
|
+
requestBody?: {
|
|
7940
|
+
/**
|
|
7941
|
+
* Optional list of specific job UUIDs to cancel. If not provided, all suspended jobs for the trigger will be canceled.
|
|
7942
|
+
*/
|
|
7943
|
+
job_ids?: Array<(string)>;
|
|
7944
|
+
};
|
|
7945
|
+
/**
|
|
7946
|
+
* The kind of trigger
|
|
7947
|
+
*/
|
|
7948
|
+
triggerKind: JobTriggerKind;
|
|
7949
|
+
/**
|
|
7950
|
+
* The path of the trigger (can contain forward slashes)
|
|
7951
|
+
*/
|
|
7952
|
+
triggerPath: string;
|
|
7953
|
+
workspace: string;
|
|
7954
|
+
};
|
|
7955
|
+
export type CancelSuspendedTriggerJobsResponse = string;
|
|
6606
7956
|
export type PreviewScheduleData = {
|
|
6607
7957
|
/**
|
|
6608
7958
|
* schedule
|
|
@@ -6802,6 +8152,14 @@ export type ExistsRouteData = {
|
|
|
6802
8152
|
workspace: string;
|
|
6803
8153
|
};
|
|
6804
8154
|
export type ExistsRouteResponse = boolean;
|
|
8155
|
+
export type SetHttpTriggerModeData = {
|
|
8156
|
+
path: string;
|
|
8157
|
+
requestBody: {
|
|
8158
|
+
mode: TriggerMode;
|
|
8159
|
+
};
|
|
8160
|
+
workspace: string;
|
|
8161
|
+
};
|
|
8162
|
+
export type SetHttpTriggerModeResponse = string;
|
|
6805
8163
|
export type CreateWebsocketTriggerData = {
|
|
6806
8164
|
/**
|
|
6807
8165
|
* new websocket trigger
|
|
@@ -6852,17 +8210,17 @@ export type ExistsWebsocketTriggerData = {
|
|
|
6852
8210
|
workspace: string;
|
|
6853
8211
|
};
|
|
6854
8212
|
export type ExistsWebsocketTriggerResponse = boolean;
|
|
6855
|
-
export type
|
|
8213
|
+
export type SetWebsocketTriggerModeData = {
|
|
6856
8214
|
path: string;
|
|
6857
8215
|
/**
|
|
6858
8216
|
* updated websocket trigger enable
|
|
6859
8217
|
*/
|
|
6860
8218
|
requestBody: {
|
|
6861
|
-
|
|
8219
|
+
mode: TriggerMode;
|
|
6862
8220
|
};
|
|
6863
8221
|
workspace: string;
|
|
6864
8222
|
};
|
|
6865
|
-
export type
|
|
8223
|
+
export type SetWebsocketTriggerModeResponse = string;
|
|
6866
8224
|
export type TestWebsocketConnectionData = {
|
|
6867
8225
|
/**
|
|
6868
8226
|
* test websocket connection
|
|
@@ -6925,17 +8283,17 @@ export type ExistsKafkaTriggerData = {
|
|
|
6925
8283
|
workspace: string;
|
|
6926
8284
|
};
|
|
6927
8285
|
export type ExistsKafkaTriggerResponse = boolean;
|
|
6928
|
-
export type
|
|
8286
|
+
export type SetKafkaTriggerModeData = {
|
|
6929
8287
|
path: string;
|
|
6930
8288
|
/**
|
|
6931
8289
|
* updated kafka trigger enable
|
|
6932
8290
|
*/
|
|
6933
8291
|
requestBody: {
|
|
6934
|
-
|
|
8292
|
+
mode: TriggerMode;
|
|
6935
8293
|
};
|
|
6936
8294
|
workspace: string;
|
|
6937
8295
|
};
|
|
6938
|
-
export type
|
|
8296
|
+
export type SetKafkaTriggerModeResponse = string;
|
|
6939
8297
|
export type TestKafkaConnectionData = {
|
|
6940
8298
|
/**
|
|
6941
8299
|
* test kafka connection
|
|
@@ -6998,17 +8356,17 @@ export type ExistsNatsTriggerData = {
|
|
|
6998
8356
|
workspace: string;
|
|
6999
8357
|
};
|
|
7000
8358
|
export type ExistsNatsTriggerResponse = boolean;
|
|
7001
|
-
export type
|
|
8359
|
+
export type SetNatsTriggerModeData = {
|
|
7002
8360
|
path: string;
|
|
7003
8361
|
/**
|
|
7004
8362
|
* updated nats trigger enable
|
|
7005
8363
|
*/
|
|
7006
8364
|
requestBody: {
|
|
7007
|
-
|
|
8365
|
+
mode: TriggerMode;
|
|
7008
8366
|
};
|
|
7009
8367
|
workspace: string;
|
|
7010
8368
|
};
|
|
7011
|
-
export type
|
|
8369
|
+
export type SetNatsTriggerModeResponse = string;
|
|
7012
8370
|
export type TestNatsConnectionData = {
|
|
7013
8371
|
/**
|
|
7014
8372
|
* test nats connection
|
|
@@ -7071,17 +8429,17 @@ export type ExistsSqsTriggerData = {
|
|
|
7071
8429
|
workspace: string;
|
|
7072
8430
|
};
|
|
7073
8431
|
export type ExistsSqsTriggerResponse = boolean;
|
|
7074
|
-
export type
|
|
8432
|
+
export type SetSqsTriggerModeData = {
|
|
7075
8433
|
path: string;
|
|
7076
8434
|
/**
|
|
7077
8435
|
* updated sqs trigger enable
|
|
7078
8436
|
*/
|
|
7079
8437
|
requestBody: {
|
|
7080
|
-
|
|
8438
|
+
mode: TriggerMode;
|
|
7081
8439
|
};
|
|
7082
8440
|
workspace: string;
|
|
7083
8441
|
};
|
|
7084
|
-
export type
|
|
8442
|
+
export type SetSqsTriggerModeResponse = string;
|
|
7085
8443
|
export type TestSqsConnectionData = {
|
|
7086
8444
|
/**
|
|
7087
8445
|
* test sqs connection
|
|
@@ -7144,17 +8502,17 @@ export type ExistsMqttTriggerData = {
|
|
|
7144
8502
|
workspace: string;
|
|
7145
8503
|
};
|
|
7146
8504
|
export type ExistsMqttTriggerResponse = boolean;
|
|
7147
|
-
export type
|
|
8505
|
+
export type SetMqttTriggerModeData = {
|
|
7148
8506
|
path: string;
|
|
7149
8507
|
/**
|
|
7150
8508
|
* updated mqtt trigger enable
|
|
7151
8509
|
*/
|
|
7152
8510
|
requestBody: {
|
|
7153
|
-
|
|
8511
|
+
mode: TriggerMode;
|
|
7154
8512
|
};
|
|
7155
8513
|
workspace: string;
|
|
7156
8514
|
};
|
|
7157
|
-
export type
|
|
8515
|
+
export type SetMqttTriggerModeResponse = string;
|
|
7158
8516
|
export type TestMqttConnectionData = {
|
|
7159
8517
|
/**
|
|
7160
8518
|
* test mqtt connection
|
|
@@ -7217,17 +8575,17 @@ export type ExistsGcpTriggerData = {
|
|
|
7217
8575
|
workspace: string;
|
|
7218
8576
|
};
|
|
7219
8577
|
export type ExistsGcpTriggerResponse = boolean;
|
|
7220
|
-
export type
|
|
8578
|
+
export type SetGcpTriggerModeData = {
|
|
7221
8579
|
path: string;
|
|
7222
8580
|
/**
|
|
7223
8581
|
* updated gcp trigger enable
|
|
7224
8582
|
*/
|
|
7225
8583
|
requestBody: {
|
|
7226
|
-
|
|
8584
|
+
mode: TriggerMode;
|
|
7227
8585
|
};
|
|
7228
8586
|
workspace: string;
|
|
7229
8587
|
};
|
|
7230
|
-
export type
|
|
8588
|
+
export type SetGcpTriggerModeResponse = string;
|
|
7231
8589
|
export type TestGcpConnectionData = {
|
|
7232
8590
|
/**
|
|
7233
8591
|
* test gcp connection
|
|
@@ -7408,17 +8766,17 @@ export type ExistsPostgresTriggerData = {
|
|
|
7408
8766
|
workspace: string;
|
|
7409
8767
|
};
|
|
7410
8768
|
export type ExistsPostgresTriggerResponse = boolean;
|
|
7411
|
-
export type
|
|
8769
|
+
export type SetPostgresTriggerModeData = {
|
|
7412
8770
|
path: string;
|
|
7413
8771
|
/**
|
|
7414
8772
|
* updated postgres trigger enable
|
|
7415
8773
|
*/
|
|
7416
8774
|
requestBody: {
|
|
7417
|
-
|
|
8775
|
+
mode: TriggerMode;
|
|
7418
8776
|
};
|
|
7419
8777
|
workspace: string;
|
|
7420
8778
|
};
|
|
7421
|
-
export type
|
|
8779
|
+
export type SetPostgresTriggerModeResponse = string;
|
|
7422
8780
|
export type TestPostgresConnectionData = {
|
|
7423
8781
|
/**
|
|
7424
8782
|
* test postgres connection
|
|
@@ -7491,6 +8849,14 @@ export type ExistsEmailLocalPartData = {
|
|
|
7491
8849
|
workspace: string;
|
|
7492
8850
|
};
|
|
7493
8851
|
export type ExistsEmailLocalPartResponse = boolean;
|
|
8852
|
+
export type SetEmailTriggerModeData = {
|
|
8853
|
+
path: string;
|
|
8854
|
+
requestBody: {
|
|
8855
|
+
mode: TriggerMode;
|
|
8856
|
+
};
|
|
8857
|
+
workspace: string;
|
|
8858
|
+
};
|
|
8859
|
+
export type SetEmailTriggerModeResponse = string;
|
|
7494
8860
|
export type ListInstanceGroupsResponse = Array<InstanceGroup>;
|
|
7495
8861
|
export type ListInstanceGroupsWithWorkspacesResponse = Array<InstanceGroupWithWorkspaces>;
|
|
7496
8862
|
export type GetInstanceGroupData = {
|
|
@@ -7623,6 +8989,25 @@ export type RemoveUserToGroupData = {
|
|
|
7623
8989
|
workspace: string;
|
|
7624
8990
|
};
|
|
7625
8991
|
export type RemoveUserToGroupResponse = string;
|
|
8992
|
+
export type GetGroupPermissionHistoryData = {
|
|
8993
|
+
name: string;
|
|
8994
|
+
/**
|
|
8995
|
+
* which page to return (start at 1, default 1)
|
|
8996
|
+
*/
|
|
8997
|
+
page?: number;
|
|
8998
|
+
/**
|
|
8999
|
+
* number of items to return for a given page (default 30, max 100)
|
|
9000
|
+
*/
|
|
9001
|
+
perPage?: number;
|
|
9002
|
+
workspace: string;
|
|
9003
|
+
};
|
|
9004
|
+
export type GetGroupPermissionHistoryResponse = Array<{
|
|
9005
|
+
id?: number;
|
|
9006
|
+
changed_by?: string;
|
|
9007
|
+
changed_at?: string;
|
|
9008
|
+
change_type?: string;
|
|
9009
|
+
member_affected?: string | null;
|
|
9010
|
+
}>;
|
|
7626
9011
|
export type ListFoldersData = {
|
|
7627
9012
|
/**
|
|
7628
9013
|
* which page to return (start at 1, default 1)
|
|
@@ -7719,6 +9104,25 @@ export type RemoveOwnerToFolderData = {
|
|
|
7719
9104
|
workspace: string;
|
|
7720
9105
|
};
|
|
7721
9106
|
export type RemoveOwnerToFolderResponse = string;
|
|
9107
|
+
export type GetFolderPermissionHistoryData = {
|
|
9108
|
+
name: string;
|
|
9109
|
+
/**
|
|
9110
|
+
* which page to return (start at 1, default 1)
|
|
9111
|
+
*/
|
|
9112
|
+
page?: number;
|
|
9113
|
+
/**
|
|
9114
|
+
* number of items to return for a given page (default 30, max 100)
|
|
9115
|
+
*/
|
|
9116
|
+
perPage?: number;
|
|
9117
|
+
workspace: string;
|
|
9118
|
+
};
|
|
9119
|
+
export type GetFolderPermissionHistoryResponse = Array<{
|
|
9120
|
+
id?: number;
|
|
9121
|
+
changed_by?: string;
|
|
9122
|
+
changed_at?: string;
|
|
9123
|
+
change_type?: string;
|
|
9124
|
+
affected?: string | null;
|
|
9125
|
+
}>;
|
|
7722
9126
|
export type ListWorkerGroupsResponse = Array<{
|
|
7723
9127
|
name: string;
|
|
7724
9128
|
config: unknown;
|
|
@@ -7817,6 +9221,7 @@ export type ListBlacklistedAgentTokensResponse = Array<{
|
|
|
7817
9221
|
*/
|
|
7818
9222
|
blacklisted_by: string;
|
|
7819
9223
|
}>;
|
|
9224
|
+
export type GetMinVersionResponse = string;
|
|
7820
9225
|
export type GetGranularAclsData = {
|
|
7821
9226
|
kind: 'script' | 'group_' | 'resource' | 'schedule' | 'variable' | 'flow' | 'folder' | 'app' | 'raw_app' | 'http_trigger' | 'websocket_trigger' | 'kafka_trigger' | 'nats_trigger' | 'postgres_trigger' | 'mqtt_trigger' | 'gcp_trigger' | 'sqs_trigger' | 'email_trigger';
|
|
7822
9227
|
path: string;
|
|
@@ -8109,6 +9514,53 @@ export type LoadFilePreviewData = {
|
|
|
8109
9514
|
workspace: string;
|
|
8110
9515
|
};
|
|
8111
9516
|
export type LoadFilePreviewResponse = WindmillFilePreview;
|
|
9517
|
+
export type ListGitRepoFilesData = {
|
|
9518
|
+
marker?: string;
|
|
9519
|
+
maxKeys: number;
|
|
9520
|
+
prefix?: string;
|
|
9521
|
+
storage?: string;
|
|
9522
|
+
workspace: string;
|
|
9523
|
+
};
|
|
9524
|
+
export type ListGitRepoFilesResponse = {
|
|
9525
|
+
next_marker?: string;
|
|
9526
|
+
windmill_large_files: Array<WindmillLargeFile>;
|
|
9527
|
+
restricted_access?: boolean;
|
|
9528
|
+
};
|
|
9529
|
+
export type LoadGitRepoFilePreviewData = {
|
|
9530
|
+
csvHasHeader?: boolean;
|
|
9531
|
+
csvSeparator?: string;
|
|
9532
|
+
fileKey: string;
|
|
9533
|
+
fileMimeType?: string;
|
|
9534
|
+
fileSizeInBytes?: number;
|
|
9535
|
+
readBytesFrom?: number;
|
|
9536
|
+
readBytesLength?: number;
|
|
9537
|
+
storage?: string;
|
|
9538
|
+
workspace: string;
|
|
9539
|
+
};
|
|
9540
|
+
export type LoadGitRepoFilePreviewResponse = WindmillFilePreview;
|
|
9541
|
+
export type LoadGitRepoFileMetadataData = {
|
|
9542
|
+
fileKey: string;
|
|
9543
|
+
storage?: string;
|
|
9544
|
+
workspace: string;
|
|
9545
|
+
};
|
|
9546
|
+
export type LoadGitRepoFileMetadataResponse = WindmillFileMetadata;
|
|
9547
|
+
export type CheckS3FolderExistsData = {
|
|
9548
|
+
/**
|
|
9549
|
+
* S3 file key to check (e.g., gitrepos/{workspace_id}/u/user/resource/{commit_hash})
|
|
9550
|
+
*/
|
|
9551
|
+
fileKey: string;
|
|
9552
|
+
workspace: string;
|
|
9553
|
+
};
|
|
9554
|
+
export type CheckS3FolderExistsResponse = {
|
|
9555
|
+
/**
|
|
9556
|
+
* Whether the path exists
|
|
9557
|
+
*/
|
|
9558
|
+
exists: boolean;
|
|
9559
|
+
/**
|
|
9560
|
+
* Whether the path is a folder (true) or file (false)
|
|
9561
|
+
*/
|
|
9562
|
+
is_folder: boolean;
|
|
9563
|
+
};
|
|
8112
9564
|
export type LoadParquetPreviewData = {
|
|
8113
9565
|
limit?: number;
|
|
8114
9566
|
offset?: number;
|
|
@@ -8171,7 +9623,24 @@ export type FileUploadData = {
|
|
|
8171
9623
|
storage?: string;
|
|
8172
9624
|
workspace: string;
|
|
8173
9625
|
};
|
|
8174
|
-
export type FileUploadResponse = {
|
|
9626
|
+
export type FileUploadResponse = {
|
|
9627
|
+
file_key: string;
|
|
9628
|
+
};
|
|
9629
|
+
export type GitRepoViewerFileUploadData = {
|
|
9630
|
+
contentDisposition?: string;
|
|
9631
|
+
contentType?: string;
|
|
9632
|
+
fileExtension?: string;
|
|
9633
|
+
fileKey?: string;
|
|
9634
|
+
/**
|
|
9635
|
+
* File content
|
|
9636
|
+
*/
|
|
9637
|
+
requestBody: (Blob | File);
|
|
9638
|
+
resourceType?: string;
|
|
9639
|
+
s3ResourcePath?: string;
|
|
9640
|
+
storage?: string;
|
|
9641
|
+
workspace: string;
|
|
9642
|
+
};
|
|
9643
|
+
export type GitRepoViewerFileUploadResponse = {
|
|
8175
9644
|
file_key: string;
|
|
8176
9645
|
};
|
|
8177
9646
|
export type FileDownloadData = {
|
|
@@ -8405,6 +9874,33 @@ export type $OpenApiTs = {
|
|
|
8405
9874
|
};
|
|
8406
9875
|
};
|
|
8407
9876
|
};
|
|
9877
|
+
'/inkeep': {
|
|
9878
|
+
post: {
|
|
9879
|
+
req: {
|
|
9880
|
+
/**
|
|
9881
|
+
* query to send to the AI documentation assistant
|
|
9882
|
+
*/
|
|
9883
|
+
requestBody: {
|
|
9884
|
+
/**
|
|
9885
|
+
* The documentation query to send to the AI assistant
|
|
9886
|
+
*/
|
|
9887
|
+
query: string;
|
|
9888
|
+
};
|
|
9889
|
+
};
|
|
9890
|
+
res: {
|
|
9891
|
+
/**
|
|
9892
|
+
* AI documentation assistant response
|
|
9893
|
+
*/
|
|
9894
|
+
200: {
|
|
9895
|
+
[key: string]: unknown;
|
|
9896
|
+
};
|
|
9897
|
+
/**
|
|
9898
|
+
* Enterprise Edition required
|
|
9899
|
+
*/
|
|
9900
|
+
403: string;
|
|
9901
|
+
};
|
|
9902
|
+
};
|
|
9903
|
+
};
|
|
8408
9904
|
'/w/{workspace}/audit/get/{id}': {
|
|
8409
9905
|
get: {
|
|
8410
9906
|
req: {
|
|
@@ -8729,6 +10225,22 @@ export type $OpenApiTs = {
|
|
|
8729
10225
|
};
|
|
8730
10226
|
};
|
|
8731
10227
|
};
|
|
10228
|
+
'/users/onboarding': {
|
|
10229
|
+
post: {
|
|
10230
|
+
req: {
|
|
10231
|
+
requestBody: {
|
|
10232
|
+
touch_point?: string;
|
|
10233
|
+
use_case?: string;
|
|
10234
|
+
};
|
|
10235
|
+
};
|
|
10236
|
+
res: {
|
|
10237
|
+
/**
|
|
10238
|
+
* Onboarding data submitted successfully
|
|
10239
|
+
*/
|
|
10240
|
+
200: string;
|
|
10241
|
+
};
|
|
10242
|
+
};
|
|
10243
|
+
};
|
|
8732
10244
|
'/w/{workspace}/users/delete/{username}': {
|
|
8733
10245
|
delete: {
|
|
8734
10246
|
req: {
|
|
@@ -8788,6 +10300,7 @@ export type $OpenApiTs = {
|
|
|
8788
10300
|
*/
|
|
8789
10301
|
200: {
|
|
8790
10302
|
progress?: number;
|
|
10303
|
+
skipped_all?: boolean;
|
|
8791
10304
|
};
|
|
8792
10305
|
};
|
|
8793
10306
|
};
|
|
@@ -8798,6 +10311,7 @@ export type $OpenApiTs = {
|
|
|
8798
10311
|
*/
|
|
8799
10312
|
requestBody: {
|
|
8800
10313
|
progress?: number;
|
|
10314
|
+
skipped_all?: boolean;
|
|
8801
10315
|
};
|
|
8802
10316
|
};
|
|
8803
10317
|
res: {
|
|
@@ -9108,6 +10622,12 @@ export type $OpenApiTs = {
|
|
|
9108
10622
|
};
|
|
9109
10623
|
'/github_app/connected_repositories': {
|
|
9110
10624
|
get: {
|
|
10625
|
+
req: {
|
|
10626
|
+
/**
|
|
10627
|
+
* Page number for pagination (default 1)
|
|
10628
|
+
*/
|
|
10629
|
+
page?: number;
|
|
10630
|
+
};
|
|
9111
10631
|
res: {
|
|
9112
10632
|
/**
|
|
9113
10633
|
* connected repositories
|
|
@@ -9218,6 +10738,19 @@ export type $OpenApiTs = {
|
|
|
9218
10738
|
};
|
|
9219
10739
|
};
|
|
9220
10740
|
};
|
|
10741
|
+
'/w/{workspace}/workspaces/get_as_superadmin': {
|
|
10742
|
+
get: {
|
|
10743
|
+
req: {
|
|
10744
|
+
workspace: string;
|
|
10745
|
+
};
|
|
10746
|
+
res: {
|
|
10747
|
+
/**
|
|
10748
|
+
* workspace
|
|
10749
|
+
*/
|
|
10750
|
+
200: Workspace;
|
|
10751
|
+
};
|
|
10752
|
+
};
|
|
10753
|
+
};
|
|
9221
10754
|
'/workspaces/list_as_superadmin': {
|
|
9222
10755
|
get: {
|
|
9223
10756
|
req: {
|
|
@@ -9254,13 +10787,31 @@ export type $OpenApiTs = {
|
|
|
9254
10787
|
};
|
|
9255
10788
|
};
|
|
9256
10789
|
};
|
|
9257
|
-
'/workspaces/
|
|
10790
|
+
'/w/{workspace}/workspaces/create_workspace_fork_branch': {
|
|
10791
|
+
post: {
|
|
10792
|
+
req: {
|
|
10793
|
+
/**
|
|
10794
|
+
* new forked workspace
|
|
10795
|
+
*/
|
|
10796
|
+
requestBody: CreateWorkspaceFork;
|
|
10797
|
+
workspace: string;
|
|
10798
|
+
};
|
|
10799
|
+
res: {
|
|
10800
|
+
/**
|
|
10801
|
+
* forked workspace branch created
|
|
10802
|
+
*/
|
|
10803
|
+
201: Array<(string)>;
|
|
10804
|
+
};
|
|
10805
|
+
};
|
|
10806
|
+
};
|
|
10807
|
+
'/w/{workspace}/workspaces/create_fork': {
|
|
9258
10808
|
post: {
|
|
9259
10809
|
req: {
|
|
9260
10810
|
/**
|
|
9261
10811
|
* new forked workspace
|
|
9262
10812
|
*/
|
|
9263
10813
|
requestBody: CreateWorkspaceFork;
|
|
10814
|
+
workspace: string;
|
|
9264
10815
|
};
|
|
9265
10816
|
res: {
|
|
9266
10817
|
/**
|
|
@@ -9519,6 +11070,40 @@ export type $OpenApiTs = {
|
|
|
9519
11070
|
};
|
|
9520
11071
|
};
|
|
9521
11072
|
};
|
|
11073
|
+
'/w/{workspace}/workspaces/compare/{target_workspace_id}': {
|
|
11074
|
+
get: {
|
|
11075
|
+
req: {
|
|
11076
|
+
/**
|
|
11077
|
+
* The ID of the workspace to compare with
|
|
11078
|
+
*/
|
|
11079
|
+
targetWorkspaceId: string;
|
|
11080
|
+
workspace: string;
|
|
11081
|
+
};
|
|
11082
|
+
res: {
|
|
11083
|
+
/**
|
|
11084
|
+
* Workspace comparison results
|
|
11085
|
+
*/
|
|
11086
|
+
200: WorkspaceComparison;
|
|
11087
|
+
};
|
|
11088
|
+
};
|
|
11089
|
+
};
|
|
11090
|
+
'/w/{workspace}/workspaces/reset_diff_tally/{fork_workspace_id}': {
|
|
11091
|
+
post: {
|
|
11092
|
+
req: {
|
|
11093
|
+
/**
|
|
11094
|
+
* The ID of the workspace to compare with
|
|
11095
|
+
*/
|
|
11096
|
+
forkWorkspaceId: string;
|
|
11097
|
+
workspace: string;
|
|
11098
|
+
};
|
|
11099
|
+
res: {
|
|
11100
|
+
/**
|
|
11101
|
+
* status
|
|
11102
|
+
*/
|
|
11103
|
+
200: unknown;
|
|
11104
|
+
};
|
|
11105
|
+
};
|
|
11106
|
+
};
|
|
9522
11107
|
'/w/{workspace}/workspaces/list_pending_invites': {
|
|
9523
11108
|
get: {
|
|
9524
11109
|
req: {
|
|
@@ -9546,9 +11131,12 @@ export type $OpenApiTs = {
|
|
|
9546
11131
|
slack_name?: string;
|
|
9547
11132
|
slack_team_id?: string;
|
|
9548
11133
|
slack_command_script?: string;
|
|
11134
|
+
slack_oauth_client_id?: string;
|
|
11135
|
+
slack_oauth_client_secret?: string;
|
|
9549
11136
|
teams_team_id?: string;
|
|
9550
11137
|
teams_command_script?: string;
|
|
9551
11138
|
teams_team_name?: string;
|
|
11139
|
+
teams_team_guid?: string;
|
|
9552
11140
|
auto_invite_domain?: string;
|
|
9553
11141
|
auto_invite_operator?: boolean;
|
|
9554
11142
|
auto_add?: boolean;
|
|
@@ -9566,6 +11154,7 @@ export type $OpenApiTs = {
|
|
|
9566
11154
|
error_handler_muted_on_cancel: boolean;
|
|
9567
11155
|
large_file_storage?: LargeFileStorage;
|
|
9568
11156
|
ducklake?: DucklakeSettings;
|
|
11157
|
+
datatable?: DataTableSettings;
|
|
9569
11158
|
git_sync?: WorkspaceGitSyncSettings;
|
|
9570
11159
|
deploy_ui?: WorkspaceDeployUISettings;
|
|
9571
11160
|
default_app?: string;
|
|
@@ -9675,6 +11264,40 @@ export type $OpenApiTs = {
|
|
|
9675
11264
|
};
|
|
9676
11265
|
};
|
|
9677
11266
|
};
|
|
11267
|
+
'/w/{workspace}/workspaces/get_dependents/{imported_path}': {
|
|
11268
|
+
get: {
|
|
11269
|
+
req: {
|
|
11270
|
+
/**
|
|
11271
|
+
* The imported path to get dependents for
|
|
11272
|
+
*/
|
|
11273
|
+
importedPath: string;
|
|
11274
|
+
workspace: string;
|
|
11275
|
+
};
|
|
11276
|
+
res: {
|
|
11277
|
+
/**
|
|
11278
|
+
* list of dependents
|
|
11279
|
+
*/
|
|
11280
|
+
200: Array<DependencyDependent>;
|
|
11281
|
+
};
|
|
11282
|
+
};
|
|
11283
|
+
};
|
|
11284
|
+
'/w/{workspace}/workspaces/get_dependents_amounts': {
|
|
11285
|
+
post: {
|
|
11286
|
+
req: {
|
|
11287
|
+
/**
|
|
11288
|
+
* List of imported paths to get dependents counts for
|
|
11289
|
+
*/
|
|
11290
|
+
requestBody: Array<(string)>;
|
|
11291
|
+
workspace: string;
|
|
11292
|
+
};
|
|
11293
|
+
res: {
|
|
11294
|
+
/**
|
|
11295
|
+
* list of dependents amounts
|
|
11296
|
+
*/
|
|
11297
|
+
200: Array<DependentsAmount>;
|
|
11298
|
+
};
|
|
11299
|
+
};
|
|
11300
|
+
};
|
|
9678
11301
|
'/w/{workspace}/workspaces/get_dependency_map': {
|
|
9679
11302
|
get: {
|
|
9680
11303
|
req: {
|
|
@@ -9707,6 +11330,54 @@ export type $OpenApiTs = {
|
|
|
9707
11330
|
};
|
|
9708
11331
|
};
|
|
9709
11332
|
};
|
|
11333
|
+
'/w/{workspace}/workspaces/slack_oauth_config': {
|
|
11334
|
+
get: {
|
|
11335
|
+
req: {
|
|
11336
|
+
workspace: string;
|
|
11337
|
+
};
|
|
11338
|
+
res: {
|
|
11339
|
+
/**
|
|
11340
|
+
* slack oauth config
|
|
11341
|
+
*/
|
|
11342
|
+
200: {
|
|
11343
|
+
slack_oauth_client_id?: string | null;
|
|
11344
|
+
/**
|
|
11345
|
+
* Masked with *** if set
|
|
11346
|
+
*/
|
|
11347
|
+
slack_oauth_client_secret?: string | null;
|
|
11348
|
+
};
|
|
11349
|
+
};
|
|
11350
|
+
};
|
|
11351
|
+
post: {
|
|
11352
|
+
req: {
|
|
11353
|
+
/**
|
|
11354
|
+
* Slack OAuth Configuration
|
|
11355
|
+
*/
|
|
11356
|
+
requestBody: {
|
|
11357
|
+
slack_oauth_client_id: string;
|
|
11358
|
+
slack_oauth_client_secret: string;
|
|
11359
|
+
};
|
|
11360
|
+
workspace: string;
|
|
11361
|
+
};
|
|
11362
|
+
res: {
|
|
11363
|
+
/**
|
|
11364
|
+
* status
|
|
11365
|
+
*/
|
|
11366
|
+
200: string;
|
|
11367
|
+
};
|
|
11368
|
+
};
|
|
11369
|
+
delete: {
|
|
11370
|
+
req: {
|
|
11371
|
+
workspace: string;
|
|
11372
|
+
};
|
|
11373
|
+
res: {
|
|
11374
|
+
/**
|
|
11375
|
+
* status
|
|
11376
|
+
*/
|
|
11377
|
+
200: string;
|
|
11378
|
+
};
|
|
11379
|
+
};
|
|
11380
|
+
};
|
|
9710
11381
|
'/w/{workspace}/workspaces/edit_teams_command': {
|
|
9711
11382
|
post: {
|
|
9712
11383
|
req: {
|
|
@@ -9730,7 +11401,11 @@ export type $OpenApiTs = {
|
|
|
9730
11401
|
get: {
|
|
9731
11402
|
req: {
|
|
9732
11403
|
/**
|
|
9733
|
-
*
|
|
11404
|
+
* Pagination cursor URL from previous response. Pass this to fetch the next page of results.
|
|
11405
|
+
*/
|
|
11406
|
+
nextLink?: string;
|
|
11407
|
+
/**
|
|
11408
|
+
* Search teams by name. If omitted, returns first page of all teams.
|
|
9734
11409
|
*/
|
|
9735
11410
|
search?: string;
|
|
9736
11411
|
workspace: string;
|
|
@@ -9739,20 +11414,30 @@ export type $OpenApiTs = {
|
|
|
9739
11414
|
/**
|
|
9740
11415
|
* status
|
|
9741
11416
|
*/
|
|
9742
|
-
200:
|
|
9743
|
-
|
|
9744
|
-
|
|
9745
|
-
|
|
11417
|
+
200: {
|
|
11418
|
+
teams?: Array<{
|
|
11419
|
+
team_name?: string;
|
|
11420
|
+
team_id?: string;
|
|
11421
|
+
}>;
|
|
11422
|
+
/**
|
|
11423
|
+
* Total number of teams across all pages
|
|
11424
|
+
*/
|
|
11425
|
+
total_count?: number;
|
|
11426
|
+
/**
|
|
11427
|
+
* Number of teams per page (configurable via TEAMS_PER_PAGE env var)
|
|
11428
|
+
*/
|
|
11429
|
+
per_page?: number;
|
|
11430
|
+
/**
|
|
11431
|
+
* URL to fetch next page of results. Null if no more pages.
|
|
11432
|
+
*/
|
|
11433
|
+
next_link?: string | null;
|
|
11434
|
+
};
|
|
9746
11435
|
};
|
|
9747
11436
|
};
|
|
9748
11437
|
};
|
|
9749
11438
|
'/w/{workspace}/workspaces/available_teams_channels': {
|
|
9750
11439
|
get: {
|
|
9751
11440
|
req: {
|
|
9752
|
-
/**
|
|
9753
|
-
* Search channels by name
|
|
9754
|
-
*/
|
|
9755
|
-
search?: string;
|
|
9756
11441
|
/**
|
|
9757
11442
|
* Microsoft Teams team ID
|
|
9758
11443
|
*/
|
|
@@ -9763,10 +11448,13 @@ export type $OpenApiTs = {
|
|
|
9763
11448
|
/**
|
|
9764
11449
|
* List of channels for the specified team
|
|
9765
11450
|
*/
|
|
9766
|
-
200:
|
|
9767
|
-
|
|
9768
|
-
|
|
9769
|
-
|
|
11451
|
+
200: {
|
|
11452
|
+
channels?: Array<{
|
|
11453
|
+
channel_name?: string;
|
|
11454
|
+
channel_id?: string;
|
|
11455
|
+
}>;
|
|
11456
|
+
total_count?: number;
|
|
11457
|
+
};
|
|
9770
11458
|
};
|
|
9771
11459
|
};
|
|
9772
11460
|
};
|
|
@@ -9997,6 +11685,19 @@ export type $OpenApiTs = {
|
|
|
9997
11685
|
};
|
|
9998
11686
|
};
|
|
9999
11687
|
};
|
|
11688
|
+
'/w/{workspace}/workspaces/list_datatables': {
|
|
11689
|
+
get: {
|
|
11690
|
+
req: {
|
|
11691
|
+
workspace: string;
|
|
11692
|
+
};
|
|
11693
|
+
res: {
|
|
11694
|
+
/**
|
|
11695
|
+
* status
|
|
11696
|
+
*/
|
|
11697
|
+
200: Array<(string)>;
|
|
11698
|
+
};
|
|
11699
|
+
};
|
|
11700
|
+
};
|
|
10000
11701
|
'/w/{workspace}/workspaces/edit_ducklake_config': {
|
|
10001
11702
|
post: {
|
|
10002
11703
|
req: {
|
|
@@ -10016,6 +11717,25 @@ export type $OpenApiTs = {
|
|
|
10016
11717
|
};
|
|
10017
11718
|
};
|
|
10018
11719
|
};
|
|
11720
|
+
'/w/{workspace}/workspaces/edit_datatable_config': {
|
|
11721
|
+
post: {
|
|
11722
|
+
req: {
|
|
11723
|
+
/**
|
|
11724
|
+
* DataTable settings
|
|
11725
|
+
*/
|
|
11726
|
+
requestBody: {
|
|
11727
|
+
settings: DataTableSettings;
|
|
11728
|
+
};
|
|
11729
|
+
workspace: string;
|
|
11730
|
+
};
|
|
11731
|
+
res: {
|
|
11732
|
+
/**
|
|
11733
|
+
* status
|
|
11734
|
+
*/
|
|
11735
|
+
200: unknown;
|
|
11736
|
+
};
|
|
11737
|
+
};
|
|
11738
|
+
};
|
|
10019
11739
|
'/w/{workspace}/workspaces/edit_git_sync_config': {
|
|
10020
11740
|
post: {
|
|
10021
11741
|
req: {
|
|
@@ -10263,31 +11983,46 @@ export type $OpenApiTs = {
|
|
|
10263
11983
|
};
|
|
10264
11984
|
};
|
|
10265
11985
|
};
|
|
10266
|
-
'/settings/
|
|
11986
|
+
'/settings/refresh_custom_instance_user_pwd': {
|
|
11987
|
+
post: {
|
|
11988
|
+
res: {
|
|
11989
|
+
/**
|
|
11990
|
+
* Success
|
|
11991
|
+
*/
|
|
11992
|
+
200: {
|
|
11993
|
+
[key: string]: unknown;
|
|
11994
|
+
};
|
|
11995
|
+
};
|
|
11996
|
+
};
|
|
11997
|
+
};
|
|
11998
|
+
'/settings/list_custom_instance_pg_databases': {
|
|
10267
11999
|
post: {
|
|
10268
12000
|
res: {
|
|
10269
12001
|
/**
|
|
10270
|
-
* Statuses of all
|
|
12002
|
+
* Statuses of all custom instance dbs
|
|
10271
12003
|
*/
|
|
10272
12004
|
200: {
|
|
10273
|
-
[key: string]:
|
|
12005
|
+
[key: string]: CustomInstanceDb;
|
|
10274
12006
|
};
|
|
10275
12007
|
};
|
|
10276
12008
|
};
|
|
10277
12009
|
};
|
|
10278
|
-
'/settings/
|
|
12010
|
+
'/settings/setup_custom_instance_pg_database/{name}': {
|
|
10279
12011
|
post: {
|
|
10280
12012
|
req: {
|
|
10281
12013
|
/**
|
|
10282
12014
|
* The name of the database to create
|
|
10283
12015
|
*/
|
|
10284
12016
|
name: string;
|
|
12017
|
+
requestBody: {
|
|
12018
|
+
tag?: CustomInstanceDbTag;
|
|
12019
|
+
};
|
|
10285
12020
|
};
|
|
10286
12021
|
res: {
|
|
10287
12022
|
/**
|
|
10288
12023
|
* status
|
|
10289
12024
|
*/
|
|
10290
|
-
200:
|
|
12025
|
+
200: CustomInstanceDb;
|
|
10291
12026
|
};
|
|
10292
12027
|
};
|
|
10293
12028
|
};
|
|
@@ -10644,6 +12379,7 @@ export type $OpenApiTs = {
|
|
|
10644
12379
|
post: {
|
|
10645
12380
|
req: {
|
|
10646
12381
|
audience: string;
|
|
12382
|
+
expiresIn?: number;
|
|
10647
12383
|
workspace: string;
|
|
10648
12384
|
};
|
|
10649
12385
|
res: {
|
|
@@ -11255,6 +12991,26 @@ export type $OpenApiTs = {
|
|
|
11255
12991
|
};
|
|
11256
12992
|
};
|
|
11257
12993
|
};
|
|
12994
|
+
'/w/{workspace}/resources/git_commit_hash/{path}': {
|
|
12995
|
+
get: {
|
|
12996
|
+
req: {
|
|
12997
|
+
gitSshIdentity?: string;
|
|
12998
|
+
path: string;
|
|
12999
|
+
workspace: string;
|
|
13000
|
+
};
|
|
13001
|
+
res: {
|
|
13002
|
+
/**
|
|
13003
|
+
* git commit hash
|
|
13004
|
+
*/
|
|
13005
|
+
200: {
|
|
13006
|
+
/**
|
|
13007
|
+
* Latest commit hash from git ls-remote
|
|
13008
|
+
*/
|
|
13009
|
+
commit_hash: string;
|
|
13010
|
+
};
|
|
13011
|
+
};
|
|
13012
|
+
};
|
|
13013
|
+
};
|
|
11258
13014
|
'/w/{workspace}/resources/exists/{path}': {
|
|
11259
13015
|
get: {
|
|
11260
13016
|
req: {
|
|
@@ -11318,6 +13074,26 @@ export type $OpenApiTs = {
|
|
|
11318
13074
|
};
|
|
11319
13075
|
};
|
|
11320
13076
|
};
|
|
13077
|
+
'/w/{workspace}/resources/mcp_tools/{path}': {
|
|
13078
|
+
get: {
|
|
13079
|
+
req: {
|
|
13080
|
+
path: string;
|
|
13081
|
+
workspace: string;
|
|
13082
|
+
};
|
|
13083
|
+
res: {
|
|
13084
|
+
/**
|
|
13085
|
+
* list of MCP tools
|
|
13086
|
+
*/
|
|
13087
|
+
200: Array<{
|
|
13088
|
+
name: string;
|
|
13089
|
+
description?: string;
|
|
13090
|
+
parameters: {
|
|
13091
|
+
[key: string]: unknown;
|
|
13092
|
+
};
|
|
13093
|
+
}>;
|
|
13094
|
+
};
|
|
13095
|
+
};
|
|
13096
|
+
};
|
|
11321
13097
|
'/w/{workspace}/resources/list_names/{name}': {
|
|
11322
13098
|
get: {
|
|
11323
13099
|
req: {
|
|
@@ -11610,6 +13386,12 @@ export type $OpenApiTs = {
|
|
|
11610
13386
|
*
|
|
11611
13387
|
*/
|
|
11612
13388
|
withDeploymentMsg?: boolean;
|
|
13389
|
+
/**
|
|
13390
|
+
* (default false)
|
|
13391
|
+
* If true, the description field will be omitted from the response.
|
|
13392
|
+
*
|
|
13393
|
+
*/
|
|
13394
|
+
withoutDescription?: boolean;
|
|
11613
13395
|
workspace: string;
|
|
11614
13396
|
};
|
|
11615
13397
|
res: {
|
|
@@ -11667,10 +13449,9 @@ export type $OpenApiTs = {
|
|
|
11667
13449
|
};
|
|
11668
13450
|
};
|
|
11669
13451
|
};
|
|
11670
|
-
'/w/{workspace}/flows/get/v/{version}
|
|
13452
|
+
'/w/{workspace}/flows/get/v/{version}': {
|
|
11671
13453
|
get: {
|
|
11672
13454
|
req: {
|
|
11673
|
-
path: string;
|
|
11674
13455
|
version: number;
|
|
11675
13456
|
workspace: string;
|
|
11676
13457
|
};
|
|
@@ -11682,10 +13463,9 @@ export type $OpenApiTs = {
|
|
|
11682
13463
|
};
|
|
11683
13464
|
};
|
|
11684
13465
|
};
|
|
11685
|
-
'/w/{workspace}/flows/history_update/v/{version}
|
|
13466
|
+
'/w/{workspace}/flows/history_update/v/{version}': {
|
|
11686
13467
|
post: {
|
|
11687
13468
|
req: {
|
|
11688
|
-
path: string;
|
|
11689
13469
|
/**
|
|
11690
13470
|
* Flow deployment message
|
|
11691
13471
|
*/
|
|
@@ -11730,6 +13510,7 @@ export type $OpenApiTs = {
|
|
|
11730
13510
|
*/
|
|
11731
13511
|
200: {
|
|
11732
13512
|
lock_error_logs?: string;
|
|
13513
|
+
job_id?: string;
|
|
11733
13514
|
};
|
|
11734
13515
|
};
|
|
11735
13516
|
};
|
|
@@ -12386,6 +14167,12 @@ export type $OpenApiTs = {
|
|
|
12386
14167
|
[key: string]: unknown;
|
|
12387
14168
|
};
|
|
12388
14169
|
force_viewer_allow_user_resources?: Array<(string)>;
|
|
14170
|
+
/**
|
|
14171
|
+
* Runnable query parameters
|
|
14172
|
+
*/
|
|
14173
|
+
run_query_params?: {
|
|
14174
|
+
[key: string]: unknown;
|
|
14175
|
+
};
|
|
12389
14176
|
};
|
|
12390
14177
|
workspace: string;
|
|
12391
14178
|
};
|
|
@@ -12471,6 +14258,21 @@ export type $OpenApiTs = {
|
|
|
12471
14258
|
};
|
|
12472
14259
|
};
|
|
12473
14260
|
};
|
|
14261
|
+
'/scripts/hub/pick/{path}': {
|
|
14262
|
+
get: {
|
|
14263
|
+
req: {
|
|
14264
|
+
path: string;
|
|
14265
|
+
};
|
|
14266
|
+
res: {
|
|
14267
|
+
/**
|
|
14268
|
+
* script pick recorded
|
|
14269
|
+
*/
|
|
14270
|
+
200: {
|
|
14271
|
+
success: boolean;
|
|
14272
|
+
};
|
|
14273
|
+
};
|
|
14274
|
+
};
|
|
14275
|
+
};
|
|
12474
14276
|
'/scripts/hub/top': {
|
|
12475
14277
|
get: {
|
|
12476
14278
|
req: {
|
|
@@ -12658,6 +14460,12 @@ export type $OpenApiTs = {
|
|
|
12658
14460
|
*
|
|
12659
14461
|
*/
|
|
12660
14462
|
withDeploymentMsg?: boolean;
|
|
14463
|
+
/**
|
|
14464
|
+
* (default false)
|
|
14465
|
+
* If true, the description field will be omitted from the response.
|
|
14466
|
+
*
|
|
14467
|
+
*/
|
|
14468
|
+
withoutDescription?: boolean;
|
|
12661
14469
|
workspace: string;
|
|
12662
14470
|
};
|
|
12663
14471
|
res: {
|
|
@@ -13003,6 +14811,7 @@ export type $OpenApiTs = {
|
|
|
13003
14811
|
200: {
|
|
13004
14812
|
lock?: string;
|
|
13005
14813
|
lock_error_logs?: string;
|
|
14814
|
+
job_id?: string;
|
|
13006
14815
|
};
|
|
13007
14816
|
};
|
|
13008
14817
|
};
|
|
@@ -13156,6 +14965,81 @@ export type $OpenApiTs = {
|
|
|
13156
14965
|
};
|
|
13157
14966
|
};
|
|
13158
14967
|
};
|
|
14968
|
+
'/w/{workspace}/workspace_dependencies/create': {
|
|
14969
|
+
post: {
|
|
14970
|
+
req: {
|
|
14971
|
+
/**
|
|
14972
|
+
* New workspace dependencies
|
|
14973
|
+
*/
|
|
14974
|
+
requestBody: NewWorkspaceDependencies;
|
|
14975
|
+
workspace: string;
|
|
14976
|
+
};
|
|
14977
|
+
res: {
|
|
14978
|
+
/**
|
|
14979
|
+
* workspace dependencies created
|
|
14980
|
+
*/
|
|
14981
|
+
201: string;
|
|
14982
|
+
};
|
|
14983
|
+
};
|
|
14984
|
+
};
|
|
14985
|
+
'/w/{workspace}/workspace_dependencies/archive/{language}': {
|
|
14986
|
+
post: {
|
|
14987
|
+
req: {
|
|
14988
|
+
language: ScriptLang;
|
|
14989
|
+
name?: string;
|
|
14990
|
+
workspace: string;
|
|
14991
|
+
};
|
|
14992
|
+
res: {
|
|
14993
|
+
/**
|
|
14994
|
+
* result
|
|
14995
|
+
*/
|
|
14996
|
+
200: unknown;
|
|
14997
|
+
};
|
|
14998
|
+
};
|
|
14999
|
+
};
|
|
15000
|
+
'/w/{workspace}/workspace_dependencies/delete/{language}': {
|
|
15001
|
+
post: {
|
|
15002
|
+
req: {
|
|
15003
|
+
language: ScriptLang;
|
|
15004
|
+
name?: string;
|
|
15005
|
+
workspace: string;
|
|
15006
|
+
};
|
|
15007
|
+
res: {
|
|
15008
|
+
/**
|
|
15009
|
+
* result
|
|
15010
|
+
*/
|
|
15011
|
+
200: unknown;
|
|
15012
|
+
};
|
|
15013
|
+
};
|
|
15014
|
+
};
|
|
15015
|
+
'/w/{workspace}/workspace_dependencies/list': {
|
|
15016
|
+
get: {
|
|
15017
|
+
req: {
|
|
15018
|
+
workspace: string;
|
|
15019
|
+
};
|
|
15020
|
+
res: {
|
|
15021
|
+
/**
|
|
15022
|
+
* All workspace dependencies
|
|
15023
|
+
*/
|
|
15024
|
+
200: Array<WorkspaceDependencies>;
|
|
15025
|
+
};
|
|
15026
|
+
};
|
|
15027
|
+
};
|
|
15028
|
+
'/w/{workspace}/workspace_dependencies/get_latest/{language}': {
|
|
15029
|
+
get: {
|
|
15030
|
+
req: {
|
|
15031
|
+
language: ScriptLang;
|
|
15032
|
+
name?: string;
|
|
15033
|
+
workspace: string;
|
|
15034
|
+
};
|
|
15035
|
+
res: {
|
|
15036
|
+
/**
|
|
15037
|
+
* Latest workspace dependencies
|
|
15038
|
+
*/
|
|
15039
|
+
200: WorkspaceDependencies;
|
|
15040
|
+
};
|
|
15041
|
+
};
|
|
15042
|
+
};
|
|
13159
15043
|
'/w/{workspace}/jobs/list_selected_job_groups': {
|
|
13160
15044
|
post: {
|
|
13161
15045
|
req: {
|
|
@@ -13266,15 +15150,193 @@ export type $OpenApiTs = {
|
|
|
13266
15150
|
/**
|
|
13267
15151
|
* script args
|
|
13268
15152
|
*/
|
|
13269
|
-
requestBody: ScriptArgs;
|
|
15153
|
+
requestBody: ScriptArgs;
|
|
15154
|
+
/**
|
|
15155
|
+
* skip the preprocessor
|
|
15156
|
+
*/
|
|
15157
|
+
skipPreprocessor?: boolean;
|
|
15158
|
+
/**
|
|
15159
|
+
* Override the tag to use
|
|
15160
|
+
*/
|
|
15161
|
+
tag?: string;
|
|
15162
|
+
workspace: string;
|
|
15163
|
+
};
|
|
15164
|
+
res: {
|
|
15165
|
+
/**
|
|
15166
|
+
* job result
|
|
15167
|
+
*/
|
|
15168
|
+
200: unknown;
|
|
15169
|
+
};
|
|
15170
|
+
};
|
|
15171
|
+
get: {
|
|
15172
|
+
req: {
|
|
15173
|
+
/**
|
|
15174
|
+
* Override the cache time to live (in seconds). Can not be used to disable caching, only override with a new cache ttl
|
|
15175
|
+
*/
|
|
15176
|
+
cacheTtl?: string;
|
|
15177
|
+
/**
|
|
15178
|
+
* List of headers's keys (separated with ',') whove value are added to the args
|
|
15179
|
+
* Header's key lowercased and '-'' replaced to '_' such that 'Content-Type' becomes the 'content_type' arg key
|
|
15180
|
+
*
|
|
15181
|
+
*/
|
|
15182
|
+
includeHeader?: string;
|
|
15183
|
+
/**
|
|
15184
|
+
* The job id to assign to the created job. if missing, job is chosen randomly using the ULID scheme. If a job id already exists in the queue or as a completed job, the request to create one will fail (Bad Request)
|
|
15185
|
+
*/
|
|
15186
|
+
jobId?: string;
|
|
15187
|
+
/**
|
|
15188
|
+
* The parent job that is at the origin and responsible for the execution of this script if any
|
|
15189
|
+
*/
|
|
15190
|
+
parentJob?: string;
|
|
15191
|
+
path: string;
|
|
15192
|
+
/**
|
|
15193
|
+
* The base64 encoded payload that has been encoded as a JSON. e.g how to encode such payload encodeURIComponent
|
|
15194
|
+
* `encodeURIComponent(btoa(JSON.stringify({a: 2})))`
|
|
15195
|
+
*
|
|
15196
|
+
*/
|
|
15197
|
+
payload?: string;
|
|
15198
|
+
/**
|
|
15199
|
+
* The maximum size of the queue for which the request would get rejected if that job would push it above that limit
|
|
15200
|
+
*
|
|
15201
|
+
*/
|
|
15202
|
+
queueLimit?: string;
|
|
15203
|
+
/**
|
|
15204
|
+
* skip the preprocessor
|
|
15205
|
+
*/
|
|
15206
|
+
skipPreprocessor?: boolean;
|
|
15207
|
+
/**
|
|
15208
|
+
* Override the tag to use
|
|
15209
|
+
*/
|
|
15210
|
+
tag?: string;
|
|
15211
|
+
workspace: string;
|
|
15212
|
+
};
|
|
15213
|
+
res: {
|
|
15214
|
+
/**
|
|
15215
|
+
* job result
|
|
15216
|
+
*/
|
|
15217
|
+
200: unknown;
|
|
15218
|
+
};
|
|
15219
|
+
};
|
|
15220
|
+
};
|
|
15221
|
+
'/w/{workspace}/jobs/run_wait_result/f/{path}': {
|
|
15222
|
+
post: {
|
|
15223
|
+
req: {
|
|
15224
|
+
/**
|
|
15225
|
+
* List of headers's keys (separated with ',') whove value are added to the args
|
|
15226
|
+
* Header's key lowercased and '-'' replaced to '_' such that 'Content-Type' becomes the 'content_type' arg key
|
|
15227
|
+
*
|
|
15228
|
+
*/
|
|
15229
|
+
includeHeader?: string;
|
|
15230
|
+
/**
|
|
15231
|
+
* The job id to assign to the created job. if missing, job is chosen randomly using the ULID scheme. If a job id already exists in the queue or as a completed job, the request to create one will fail (Bad Request)
|
|
15232
|
+
*/
|
|
15233
|
+
jobId?: string;
|
|
15234
|
+
/**
|
|
15235
|
+
* memory ID for chat-enabled flows
|
|
15236
|
+
*/
|
|
15237
|
+
memoryId?: string;
|
|
15238
|
+
path: string;
|
|
15239
|
+
/**
|
|
15240
|
+
* The maximum size of the queue for which the request would get rejected if that job would push it above that limit
|
|
15241
|
+
*
|
|
15242
|
+
*/
|
|
15243
|
+
queueLimit?: string;
|
|
15244
|
+
/**
|
|
15245
|
+
* script args
|
|
15246
|
+
*/
|
|
15247
|
+
requestBody: ScriptArgs;
|
|
15248
|
+
/**
|
|
15249
|
+
* skip the preprocessor
|
|
15250
|
+
*/
|
|
15251
|
+
skipPreprocessor?: boolean;
|
|
15252
|
+
workspace: string;
|
|
15253
|
+
};
|
|
15254
|
+
res: {
|
|
15255
|
+
/**
|
|
15256
|
+
* job result
|
|
15257
|
+
*/
|
|
15258
|
+
200: unknown;
|
|
15259
|
+
};
|
|
15260
|
+
};
|
|
15261
|
+
};
|
|
15262
|
+
'/w/{workspace}/jobs/run_wait_result/fv/{version}': {
|
|
15263
|
+
post: {
|
|
15264
|
+
req: {
|
|
15265
|
+
/**
|
|
15266
|
+
* List of headers's keys (separated with ',') whove value are added to the args
|
|
15267
|
+
* Header's key lowercased and '-'' replaced to '_' such that 'Content-Type' becomes the 'content_type' arg key
|
|
15268
|
+
*
|
|
15269
|
+
*/
|
|
15270
|
+
includeHeader?: string;
|
|
15271
|
+
/**
|
|
15272
|
+
* The job id to assign to the created job. if missing, job is chosen randomly using the ULID scheme. If a job id already exists in the queue or as a completed job, the request to create one will fail (Bad Request)
|
|
15273
|
+
*/
|
|
15274
|
+
jobId?: string;
|
|
15275
|
+
/**
|
|
15276
|
+
* memory ID for chat-enabled flows
|
|
15277
|
+
*/
|
|
15278
|
+
memoryId?: string;
|
|
15279
|
+
/**
|
|
15280
|
+
* The maximum size of the queue for which the request would get rejected if that job would push it above that limit
|
|
15281
|
+
*
|
|
15282
|
+
*/
|
|
15283
|
+
queueLimit?: string;
|
|
15284
|
+
/**
|
|
15285
|
+
* script args
|
|
15286
|
+
*/
|
|
15287
|
+
requestBody: ScriptArgs;
|
|
15288
|
+
/**
|
|
15289
|
+
* skip the preprocessor
|
|
15290
|
+
*/
|
|
15291
|
+
skipPreprocessor?: boolean;
|
|
15292
|
+
/**
|
|
15293
|
+
* flow version ID
|
|
15294
|
+
*/
|
|
15295
|
+
version: number;
|
|
15296
|
+
workspace: string;
|
|
15297
|
+
};
|
|
15298
|
+
res: {
|
|
15299
|
+
/**
|
|
15300
|
+
* job result
|
|
15301
|
+
*/
|
|
15302
|
+
200: unknown;
|
|
15303
|
+
};
|
|
15304
|
+
};
|
|
15305
|
+
get: {
|
|
15306
|
+
req: {
|
|
15307
|
+
/**
|
|
15308
|
+
* List of headers's keys (separated with ',') whove value are added to the args
|
|
15309
|
+
* Header's key lowercased and '-'' replaced to '_' such that 'Content-Type' becomes the 'content_type' arg key
|
|
15310
|
+
*
|
|
15311
|
+
*/
|
|
15312
|
+
includeHeader?: string;
|
|
15313
|
+
/**
|
|
15314
|
+
* The job id to assign to the created job. if missing, job is chosen randomly using the ULID scheme. If a job id already exists in the queue or as a completed job, the request to create one will fail (Bad Request)
|
|
15315
|
+
*/
|
|
15316
|
+
jobId?: string;
|
|
15317
|
+
/**
|
|
15318
|
+
* memory ID for chat-enabled flows
|
|
15319
|
+
*/
|
|
15320
|
+
memoryId?: string;
|
|
15321
|
+
/**
|
|
15322
|
+
* The base64 encoded payload that has been encoded as a JSON. e.g how to encode such payload encodeURIComponent
|
|
15323
|
+
* `encodeURIComponent(btoa(JSON.stringify({a: 2})))`
|
|
15324
|
+
*
|
|
15325
|
+
*/
|
|
15326
|
+
payload?: string;
|
|
15327
|
+
/**
|
|
15328
|
+
* The maximum size of the queue for which the request would get rejected if that job would push it above that limit
|
|
15329
|
+
*
|
|
15330
|
+
*/
|
|
15331
|
+
queueLimit?: string;
|
|
13270
15332
|
/**
|
|
13271
15333
|
* skip the preprocessor
|
|
13272
15334
|
*/
|
|
13273
15335
|
skipPreprocessor?: boolean;
|
|
13274
15336
|
/**
|
|
13275
|
-
*
|
|
15337
|
+
* flow version ID
|
|
13276
15338
|
*/
|
|
13277
|
-
|
|
15339
|
+
version: number;
|
|
13278
15340
|
workspace: string;
|
|
13279
15341
|
};
|
|
13280
15342
|
res: {
|
|
@@ -13284,12 +15346,10 @@ export type $OpenApiTs = {
|
|
|
13284
15346
|
200: unknown;
|
|
13285
15347
|
};
|
|
13286
15348
|
};
|
|
13287
|
-
|
|
15349
|
+
};
|
|
15350
|
+
'/w/{workspace}/jobs/run_and_stream/f/{path}': {
|
|
15351
|
+
post: {
|
|
13288
15352
|
req: {
|
|
13289
|
-
/**
|
|
13290
|
-
* Override the cache time to live (in seconds). Can not be used to disable caching, only override with a new cache ttl
|
|
13291
|
-
*/
|
|
13292
|
-
cacheTtl?: string;
|
|
13293
15353
|
/**
|
|
13294
15354
|
* List of headers's keys (separated with ',') whove value are added to the args
|
|
13295
15355
|
* Header's key lowercased and '-'' replaced to '_' such that 'Content-Type' becomes the 'content_type' arg key
|
|
@@ -13301,41 +15361,37 @@ export type $OpenApiTs = {
|
|
|
13301
15361
|
*/
|
|
13302
15362
|
jobId?: string;
|
|
13303
15363
|
/**
|
|
13304
|
-
*
|
|
15364
|
+
* memory ID for chat-enabled flows
|
|
13305
15365
|
*/
|
|
13306
|
-
|
|
15366
|
+
memoryId?: string;
|
|
13307
15367
|
path: string;
|
|
13308
15368
|
/**
|
|
13309
|
-
*
|
|
13310
|
-
* `encodeURIComponent(btoa(JSON.stringify({a: 2})))`
|
|
13311
|
-
*
|
|
15369
|
+
* delay between polling for job updates in milliseconds
|
|
13312
15370
|
*/
|
|
13313
|
-
|
|
15371
|
+
pollDelayMs?: number;
|
|
13314
15372
|
/**
|
|
13315
15373
|
* The maximum size of the queue for which the request would get rejected if that job would push it above that limit
|
|
13316
15374
|
*
|
|
13317
15375
|
*/
|
|
13318
15376
|
queueLimit?: string;
|
|
13319
15377
|
/**
|
|
13320
|
-
*
|
|
15378
|
+
* flow args
|
|
13321
15379
|
*/
|
|
13322
|
-
|
|
15380
|
+
requestBody: ScriptArgs;
|
|
13323
15381
|
/**
|
|
13324
|
-
*
|
|
15382
|
+
* skip the preprocessor
|
|
13325
15383
|
*/
|
|
13326
|
-
|
|
15384
|
+
skipPreprocessor?: boolean;
|
|
13327
15385
|
workspace: string;
|
|
13328
15386
|
};
|
|
13329
15387
|
res: {
|
|
13330
15388
|
/**
|
|
13331
|
-
* job
|
|
15389
|
+
* server-sent events stream of job updates
|
|
13332
15390
|
*/
|
|
13333
|
-
200:
|
|
15391
|
+
200: string;
|
|
13334
15392
|
};
|
|
13335
15393
|
};
|
|
13336
|
-
|
|
13337
|
-
'/w/{workspace}/jobs/run_wait_result/f/{path}': {
|
|
13338
|
-
post: {
|
|
15394
|
+
get: {
|
|
13339
15395
|
req: {
|
|
13340
15396
|
/**
|
|
13341
15397
|
* List of headers's keys (separated with ',') whove value are added to the args
|
|
@@ -13353,14 +15409,20 @@ export type $OpenApiTs = {
|
|
|
13353
15409
|
memoryId?: string;
|
|
13354
15410
|
path: string;
|
|
13355
15411
|
/**
|
|
13356
|
-
* The
|
|
15412
|
+
* The base64 encoded payload that has been encoded as a JSON. e.g how to encode such payload encodeURIComponent
|
|
15413
|
+
* `encodeURIComponent(btoa(JSON.stringify({a: 2})))`
|
|
13357
15414
|
*
|
|
13358
15415
|
*/
|
|
13359
|
-
|
|
15416
|
+
payload?: string;
|
|
13360
15417
|
/**
|
|
13361
|
-
*
|
|
15418
|
+
* delay between polling for job updates in milliseconds
|
|
13362
15419
|
*/
|
|
13363
|
-
|
|
15420
|
+
pollDelayMs?: number;
|
|
15421
|
+
/**
|
|
15422
|
+
* The maximum size of the queue for which the request would get rejected if that job would push it above that limit
|
|
15423
|
+
*
|
|
15424
|
+
*/
|
|
15425
|
+
queueLimit?: string;
|
|
13364
15426
|
/**
|
|
13365
15427
|
* skip the preprocessor
|
|
13366
15428
|
*/
|
|
@@ -13369,13 +15431,13 @@ export type $OpenApiTs = {
|
|
|
13369
15431
|
};
|
|
13370
15432
|
res: {
|
|
13371
15433
|
/**
|
|
13372
|
-
* job
|
|
15434
|
+
* server-sent events stream of job updates
|
|
13373
15435
|
*/
|
|
13374
|
-
200:
|
|
15436
|
+
200: string;
|
|
13375
15437
|
};
|
|
13376
15438
|
};
|
|
13377
15439
|
};
|
|
13378
|
-
'/w/{workspace}/jobs/run_and_stream/
|
|
15440
|
+
'/w/{workspace}/jobs/run_and_stream/fv/{version}': {
|
|
13379
15441
|
post: {
|
|
13380
15442
|
req: {
|
|
13381
15443
|
/**
|
|
@@ -13392,7 +15454,6 @@ export type $OpenApiTs = {
|
|
|
13392
15454
|
* memory ID for chat-enabled flows
|
|
13393
15455
|
*/
|
|
13394
15456
|
memoryId?: string;
|
|
13395
|
-
path: string;
|
|
13396
15457
|
/**
|
|
13397
15458
|
* delay between polling for job updates in milliseconds
|
|
13398
15459
|
*/
|
|
@@ -13410,6 +15471,10 @@ export type $OpenApiTs = {
|
|
|
13410
15471
|
* skip the preprocessor
|
|
13411
15472
|
*/
|
|
13412
15473
|
skipPreprocessor?: boolean;
|
|
15474
|
+
/**
|
|
15475
|
+
* flow version ID
|
|
15476
|
+
*/
|
|
15477
|
+
version: number;
|
|
13413
15478
|
workspace: string;
|
|
13414
15479
|
};
|
|
13415
15480
|
res: {
|
|
@@ -13435,7 +15500,6 @@ export type $OpenApiTs = {
|
|
|
13435
15500
|
* memory ID for chat-enabled flows
|
|
13436
15501
|
*/
|
|
13437
15502
|
memoryId?: string;
|
|
13438
|
-
path: string;
|
|
13439
15503
|
/**
|
|
13440
15504
|
* The base64 encoded payload that has been encoded as a JSON. e.g how to encode such payload encodeURIComponent
|
|
13441
15505
|
* `encodeURIComponent(btoa(JSON.stringify({a: 2})))`
|
|
@@ -13455,6 +15519,10 @@ export type $OpenApiTs = {
|
|
|
13455
15519
|
* skip the preprocessor
|
|
13456
15520
|
*/
|
|
13457
15521
|
skipPreprocessor?: boolean;
|
|
15522
|
+
/**
|
|
15523
|
+
* flow version ID
|
|
15524
|
+
*/
|
|
15525
|
+
version: number;
|
|
13458
15526
|
workspace: string;
|
|
13459
15527
|
};
|
|
13460
15528
|
res: {
|
|
@@ -13748,6 +15816,65 @@ export type $OpenApiTs = {
|
|
|
13748
15816
|
};
|
|
13749
15817
|
};
|
|
13750
15818
|
};
|
|
15819
|
+
'/w/{workspace}/jobs/run/fv/{version}': {
|
|
15820
|
+
post: {
|
|
15821
|
+
req: {
|
|
15822
|
+
/**
|
|
15823
|
+
* List of headers's keys (separated with ',') whove value are added to the args
|
|
15824
|
+
* Header's key lowercased and '-'' replaced to '_' such that 'Content-Type' becomes the 'content_type' arg key
|
|
15825
|
+
*
|
|
15826
|
+
*/
|
|
15827
|
+
includeHeader?: string;
|
|
15828
|
+
/**
|
|
15829
|
+
* make the run invisible to the the flow owner (default false)
|
|
15830
|
+
*/
|
|
15831
|
+
invisibleToOwner?: boolean;
|
|
15832
|
+
/**
|
|
15833
|
+
* The job id to assign to the created job. if missing, job is chosen randomly using the ULID scheme. If a job id already exists in the queue or as a completed job, the request to create one will fail (Bad Request)
|
|
15834
|
+
*/
|
|
15835
|
+
jobId?: string;
|
|
15836
|
+
/**
|
|
15837
|
+
* memory ID for chat-enabled flows
|
|
15838
|
+
*/
|
|
15839
|
+
memoryId?: string;
|
|
15840
|
+
/**
|
|
15841
|
+
* The parent job that is at the origin and responsible for the execution of this script if any
|
|
15842
|
+
*/
|
|
15843
|
+
parentJob?: string;
|
|
15844
|
+
/**
|
|
15845
|
+
* flow args
|
|
15846
|
+
*/
|
|
15847
|
+
requestBody: ScriptArgs;
|
|
15848
|
+
/**
|
|
15849
|
+
* when to schedule this job (leave empty for immediate run)
|
|
15850
|
+
*/
|
|
15851
|
+
scheduledFor?: string;
|
|
15852
|
+
/**
|
|
15853
|
+
* schedule the script to execute in the number of seconds starting now
|
|
15854
|
+
*/
|
|
15855
|
+
scheduledInSecs?: number;
|
|
15856
|
+
/**
|
|
15857
|
+
* skip the preprocessor
|
|
15858
|
+
*/
|
|
15859
|
+
skipPreprocessor?: boolean;
|
|
15860
|
+
/**
|
|
15861
|
+
* Override the tag to use
|
|
15862
|
+
*/
|
|
15863
|
+
tag?: string;
|
|
15864
|
+
/**
|
|
15865
|
+
* flow version ID
|
|
15866
|
+
*/
|
|
15867
|
+
version: number;
|
|
15868
|
+
workspace: string;
|
|
15869
|
+
};
|
|
15870
|
+
res: {
|
|
15871
|
+
/**
|
|
15872
|
+
* job created
|
|
15873
|
+
*/
|
|
15874
|
+
201: string;
|
|
15875
|
+
};
|
|
15876
|
+
};
|
|
15877
|
+
};
|
|
13751
15878
|
'/w/{workspace}/jobs/run/batch_rerun_jobs': {
|
|
13752
15879
|
post: {
|
|
13753
15880
|
req: {
|
|
@@ -13783,13 +15910,9 @@ export type $OpenApiTs = {
|
|
|
13783
15910
|
};
|
|
13784
15911
|
};
|
|
13785
15912
|
};
|
|
13786
|
-
'/w/{workspace}/jobs/restart/f/{id}
|
|
15913
|
+
'/w/{workspace}/jobs/restart/f/{id}': {
|
|
13787
15914
|
post: {
|
|
13788
15915
|
req: {
|
|
13789
|
-
/**
|
|
13790
|
-
* for branchall or loop, the iteration at which the flow should restart
|
|
13791
|
-
*/
|
|
13792
|
-
branchOrIterationN: number;
|
|
13793
15916
|
id: string;
|
|
13794
15917
|
/**
|
|
13795
15918
|
* List of headers's keys (separated with ',') whove value are added to the args
|
|
@@ -13810,9 +15933,22 @@ export type $OpenApiTs = {
|
|
|
13810
15933
|
*/
|
|
13811
15934
|
parentJob?: string;
|
|
13812
15935
|
/**
|
|
13813
|
-
* flow
|
|
15936
|
+
* restart flow parameters
|
|
13814
15937
|
*/
|
|
13815
|
-
requestBody:
|
|
15938
|
+
requestBody: {
|
|
15939
|
+
/**
|
|
15940
|
+
* step id to restart the flow from
|
|
15941
|
+
*/
|
|
15942
|
+
step_id: string;
|
|
15943
|
+
/**
|
|
15944
|
+
* for branchall or loop, the iteration at which the flow should restart (optional)
|
|
15945
|
+
*/
|
|
15946
|
+
branch_or_iteration_n?: number;
|
|
15947
|
+
/**
|
|
15948
|
+
* specific flow version to use for restart (optional, uses current version if not specified)
|
|
15949
|
+
*/
|
|
15950
|
+
flow_version?: number;
|
|
15951
|
+
};
|
|
13816
15952
|
/**
|
|
13817
15953
|
* when to schedule this job (leave empty for immediate run)
|
|
13818
15954
|
*/
|
|
@@ -13821,10 +15957,6 @@ export type $OpenApiTs = {
|
|
|
13821
15957
|
* schedule the script to execute in the number of seconds starting now
|
|
13822
15958
|
*/
|
|
13823
15959
|
scheduledInSecs?: number;
|
|
13824
|
-
/**
|
|
13825
|
-
* step id to restart the flow from
|
|
13826
|
-
*/
|
|
13827
|
-
stepId: string;
|
|
13828
15960
|
/**
|
|
13829
15961
|
* Override the tag to use
|
|
13830
15962
|
*/
|
|
@@ -13928,6 +16060,23 @@ export type $OpenApiTs = {
|
|
|
13928
16060
|
};
|
|
13929
16061
|
};
|
|
13930
16062
|
};
|
|
16063
|
+
'/w/{workspace}/jobs/run_inline/preview': {
|
|
16064
|
+
post: {
|
|
16065
|
+
req: {
|
|
16066
|
+
/**
|
|
16067
|
+
* preview
|
|
16068
|
+
*/
|
|
16069
|
+
requestBody: PreviewInline;
|
|
16070
|
+
workspace: string;
|
|
16071
|
+
};
|
|
16072
|
+
res: {
|
|
16073
|
+
/**
|
|
16074
|
+
* script result
|
|
16075
|
+
*/
|
|
16076
|
+
200: unknown;
|
|
16077
|
+
};
|
|
16078
|
+
};
|
|
16079
|
+
};
|
|
13931
16080
|
'/w/{workspace}/jobs/run_wait_result/preview': {
|
|
13932
16081
|
post: {
|
|
13933
16082
|
req: {
|
|
@@ -14003,6 +16152,10 @@ export type $OpenApiTs = {
|
|
|
14003
16152
|
* The job id to assign to the created job. if missing, job is chosen randomly using the ULID scheme. If a job id already exists in the queue or as a completed job, the request to create one will fail (Bad Request)
|
|
14004
16153
|
*/
|
|
14005
16154
|
jobId?: string;
|
|
16155
|
+
/**
|
|
16156
|
+
* memory ID for chat-enabled flows
|
|
16157
|
+
*/
|
|
16158
|
+
memoryId?: string;
|
|
14006
16159
|
/**
|
|
14007
16160
|
* preview
|
|
14008
16161
|
*/
|
|
@@ -14020,6 +16173,10 @@ export type $OpenApiTs = {
|
|
|
14020
16173
|
'/w/{workspace}/jobs/run_wait_result/preview_flow': {
|
|
14021
16174
|
post: {
|
|
14022
16175
|
req: {
|
|
16176
|
+
/**
|
|
16177
|
+
* memory ID for chat-enabled flows
|
|
16178
|
+
*/
|
|
16179
|
+
memoryId?: string;
|
|
14023
16180
|
/**
|
|
14024
16181
|
* preview
|
|
14025
16182
|
*/
|
|
@@ -14142,6 +16299,14 @@ export type $OpenApiTs = {
|
|
|
14142
16299
|
* filter on jobs with a given tag/worker group
|
|
14143
16300
|
*/
|
|
14144
16301
|
tag?: string;
|
|
16302
|
+
/**
|
|
16303
|
+
* trigger kind (schedule, http, websocket...)
|
|
16304
|
+
*/
|
|
16305
|
+
triggerKind?: JobTriggerKind;
|
|
16306
|
+
/**
|
|
16307
|
+
* mask to filter by trigger path
|
|
16308
|
+
*/
|
|
16309
|
+
triggerPath?: string;
|
|
14145
16310
|
/**
|
|
14146
16311
|
* worker this job was ran on
|
|
14147
16312
|
*/
|
|
@@ -14220,29 +16385,33 @@ export type $OpenApiTs = {
|
|
|
14220
16385
|
*/
|
|
14221
16386
|
args?: string;
|
|
14222
16387
|
/**
|
|
14223
|
-
* filter on
|
|
16388
|
+
* filter on started after (exclusive) timestamp
|
|
14224
16389
|
*/
|
|
14225
|
-
|
|
16390
|
+
completedAfter?: string;
|
|
14226
16391
|
/**
|
|
14227
|
-
* filter on
|
|
16392
|
+
* filter on started before (inclusive) timestamp
|
|
14228
16393
|
*/
|
|
14229
|
-
|
|
16394
|
+
completedBefore?: string;
|
|
14230
16395
|
/**
|
|
14231
|
-
*
|
|
16396
|
+
* filter on created after (exclusive) timestamp
|
|
14232
16397
|
*/
|
|
14233
|
-
|
|
16398
|
+
createdAfter?: string;
|
|
16399
|
+
/**
|
|
16400
|
+
* filter on jobs created after X for jobs in the queue only
|
|
16401
|
+
*/
|
|
16402
|
+
createdAfterQueue?: string;
|
|
14234
16403
|
/**
|
|
14235
|
-
* filter on
|
|
16404
|
+
* filter on created before (inclusive) timestamp
|
|
14236
16405
|
*/
|
|
14237
|
-
|
|
16406
|
+
createdBefore?: string;
|
|
14238
16407
|
/**
|
|
14239
|
-
* filter on
|
|
16408
|
+
* filter on jobs created before X for jobs in the queue only
|
|
14240
16409
|
*/
|
|
14241
|
-
|
|
16410
|
+
createdBeforeQueue?: string;
|
|
14242
16411
|
/**
|
|
14243
|
-
*
|
|
16412
|
+
* mask to filter exact matching user creator
|
|
14244
16413
|
*/
|
|
14245
|
-
|
|
16414
|
+
createdBy?: string;
|
|
14246
16415
|
/**
|
|
14247
16416
|
* has null parent
|
|
14248
16417
|
*/
|
|
@@ -14566,6 +16735,90 @@ export type $OpenApiTs = {
|
|
|
14566
16735
|
};
|
|
14567
16736
|
};
|
|
14568
16737
|
};
|
|
16738
|
+
'/w/{workspace}/jobs/completed/export': {
|
|
16739
|
+
get: {
|
|
16740
|
+
req: {
|
|
16741
|
+
/**
|
|
16742
|
+
* which page to return (start at 1, default 1)
|
|
16743
|
+
*/
|
|
16744
|
+
page?: number;
|
|
16745
|
+
/**
|
|
16746
|
+
* number of items to return for a given page (default 30, max 100)
|
|
16747
|
+
*/
|
|
16748
|
+
perPage?: number;
|
|
16749
|
+
workspace: string;
|
|
16750
|
+
};
|
|
16751
|
+
res: {
|
|
16752
|
+
/**
|
|
16753
|
+
* All completed jobs exported
|
|
16754
|
+
*/
|
|
16755
|
+
200: Array<ExportableCompletedJob>;
|
|
16756
|
+
};
|
|
16757
|
+
};
|
|
16758
|
+
};
|
|
16759
|
+
'/w/{workspace}/jobs/completed/import': {
|
|
16760
|
+
post: {
|
|
16761
|
+
req: {
|
|
16762
|
+
requestBody: Array<ExportableCompletedJob>;
|
|
16763
|
+
workspace: string;
|
|
16764
|
+
};
|
|
16765
|
+
res: {
|
|
16766
|
+
/**
|
|
16767
|
+
* Successfully imported completed jobs
|
|
16768
|
+
*/
|
|
16769
|
+
200: string;
|
|
16770
|
+
};
|
|
16771
|
+
};
|
|
16772
|
+
};
|
|
16773
|
+
'/w/{workspace}/jobs/queue/export': {
|
|
16774
|
+
get: {
|
|
16775
|
+
req: {
|
|
16776
|
+
/**
|
|
16777
|
+
* which page to return (start at 1, default 1)
|
|
16778
|
+
*/
|
|
16779
|
+
page?: number;
|
|
16780
|
+
/**
|
|
16781
|
+
* number of items to return for a given page (default 30, max 100)
|
|
16782
|
+
*/
|
|
16783
|
+
perPage?: number;
|
|
16784
|
+
workspace: string;
|
|
16785
|
+
};
|
|
16786
|
+
res: {
|
|
16787
|
+
/**
|
|
16788
|
+
* All queued jobs exported
|
|
16789
|
+
*/
|
|
16790
|
+
200: Array<ExportableQueuedJob>;
|
|
16791
|
+
};
|
|
16792
|
+
};
|
|
16793
|
+
};
|
|
16794
|
+
'/w/{workspace}/jobs/queue/import': {
|
|
16795
|
+
post: {
|
|
16796
|
+
req: {
|
|
16797
|
+
requestBody: Array<ExportableQueuedJob>;
|
|
16798
|
+
workspace: string;
|
|
16799
|
+
};
|
|
16800
|
+
res: {
|
|
16801
|
+
/**
|
|
16802
|
+
* Successfully imported queued jobs
|
|
16803
|
+
*/
|
|
16804
|
+
200: string;
|
|
16805
|
+
};
|
|
16806
|
+
};
|
|
16807
|
+
};
|
|
16808
|
+
'/w/{workspace}/jobs/delete': {
|
|
16809
|
+
post: {
|
|
16810
|
+
req: {
|
|
16811
|
+
requestBody: Array<(string)>;
|
|
16812
|
+
workspace: string;
|
|
16813
|
+
};
|
|
16814
|
+
res: {
|
|
16815
|
+
/**
|
|
16816
|
+
* Successfully deleted jobs
|
|
16817
|
+
*/
|
|
16818
|
+
200: string;
|
|
16819
|
+
};
|
|
16820
|
+
};
|
|
16821
|
+
};
|
|
14569
16822
|
'/w/{workspace}/jobs/list': {
|
|
14570
16823
|
get: {
|
|
14571
16824
|
req: {
|
|
@@ -14580,31 +16833,35 @@ export type $OpenApiTs = {
|
|
|
14580
16833
|
/**
|
|
14581
16834
|
* filter on jobs containing those args as a json subset (@> in postgres)
|
|
14582
16835
|
*/
|
|
14583
|
-
args?: string;
|
|
16836
|
+
args?: string;
|
|
16837
|
+
/**
|
|
16838
|
+
* filter on started after (exclusive) timestamp
|
|
16839
|
+
*/
|
|
16840
|
+
completedAfter?: string;
|
|
16841
|
+
/**
|
|
16842
|
+
* filter on started before (inclusive) timestamp
|
|
16843
|
+
*/
|
|
16844
|
+
completedBefore?: string;
|
|
14584
16845
|
/**
|
|
14585
16846
|
* filter on created after (exclusive) timestamp
|
|
14586
16847
|
*/
|
|
14587
16848
|
createdAfter?: string;
|
|
14588
16849
|
/**
|
|
14589
|
-
* filter on created
|
|
14590
|
-
*/
|
|
14591
|
-
createdBefore?: string;
|
|
14592
|
-
/**
|
|
14593
|
-
* mask to filter exact matching user creator
|
|
16850
|
+
* filter on jobs created after X for jobs in the queue only
|
|
14594
16851
|
*/
|
|
14595
|
-
|
|
16852
|
+
createdAfterQueue?: string;
|
|
14596
16853
|
/**
|
|
14597
|
-
* filter on
|
|
16854
|
+
* filter on created before (inclusive) timestamp
|
|
14598
16855
|
*/
|
|
14599
|
-
|
|
16856
|
+
createdBefore?: string;
|
|
14600
16857
|
/**
|
|
14601
|
-
* filter on
|
|
16858
|
+
* filter on jobs created before X for jobs in the queue only
|
|
14602
16859
|
*/
|
|
14603
|
-
|
|
16860
|
+
createdBeforeQueue?: string;
|
|
14604
16861
|
/**
|
|
14605
|
-
*
|
|
16862
|
+
* mask to filter exact matching user creator
|
|
14606
16863
|
*/
|
|
14607
|
-
|
|
16864
|
+
createdBy?: string;
|
|
14608
16865
|
/**
|
|
14609
16866
|
* has null parent
|
|
14610
16867
|
*/
|
|
@@ -14629,10 +16886,6 @@ export type $OpenApiTs = {
|
|
|
14629
16886
|
* mask to filter exact matching job's label (job labels are completed jobs with as a result an object containing a string in the array at key 'wm_labels')
|
|
14630
16887
|
*/
|
|
14631
16888
|
label?: string;
|
|
14632
|
-
/**
|
|
14633
|
-
* which page to return (start at 1, default 1)
|
|
14634
|
-
*/
|
|
14635
|
-
page?: number;
|
|
14636
16889
|
/**
|
|
14637
16890
|
* The parent job that is at the origin and responsible for the execution of this script if any
|
|
14638
16891
|
*/
|
|
@@ -14689,6 +16942,10 @@ export type $OpenApiTs = {
|
|
|
14689
16942
|
* filter on jobs with a given tag/worker group
|
|
14690
16943
|
*/
|
|
14691
16944
|
tag?: string;
|
|
16945
|
+
/**
|
|
16946
|
+
* trigger kind (schedule, http, websocket...)
|
|
16947
|
+
*/
|
|
16948
|
+
triggerKind?: JobTriggerKind;
|
|
14692
16949
|
/**
|
|
14693
16950
|
* worker this job was ran on
|
|
14694
16951
|
*/
|
|
@@ -15304,23 +17561,27 @@ export type $OpenApiTs = {
|
|
|
15304
17561
|
* filter on jobs containing those args as a json subset (@> in postgres)
|
|
15305
17562
|
*/
|
|
15306
17563
|
args?: string;
|
|
15307
|
-
concurrencyKey?: string;
|
|
15308
17564
|
/**
|
|
15309
|
-
*
|
|
17565
|
+
* filter on started after (exclusive) timestamp
|
|
15310
17566
|
*/
|
|
15311
|
-
|
|
17567
|
+
completedAfter?: string;
|
|
17568
|
+
/**
|
|
17569
|
+
* filter on started before (inclusive) timestamp
|
|
17570
|
+
*/
|
|
17571
|
+
completedBefore?: string;
|
|
17572
|
+
concurrencyKey?: string;
|
|
15312
17573
|
/**
|
|
15313
|
-
* filter on
|
|
17574
|
+
* filter on jobs created after X for jobs in the queue only
|
|
15314
17575
|
*/
|
|
15315
|
-
|
|
17576
|
+
createdAfterQueue?: string;
|
|
15316
17577
|
/**
|
|
15317
|
-
* filter on
|
|
17578
|
+
* filter on jobs created before X for jobs in the queue only
|
|
15318
17579
|
*/
|
|
15319
|
-
|
|
17580
|
+
createdBeforeQueue?: string;
|
|
15320
17581
|
/**
|
|
15321
|
-
*
|
|
17582
|
+
* mask to filter exact matching user creator
|
|
15322
17583
|
*/
|
|
15323
|
-
|
|
17584
|
+
createdBy?: string;
|
|
15324
17585
|
/**
|
|
15325
17586
|
* has null parent
|
|
15326
17587
|
*/
|
|
@@ -15402,6 +17663,10 @@ export type $OpenApiTs = {
|
|
|
15402
17663
|
* filter on jobs with a given tag/worker group
|
|
15403
17664
|
*/
|
|
15404
17665
|
tag?: string;
|
|
17666
|
+
/**
|
|
17667
|
+
* trigger kind (schedule, http, websocket...)
|
|
17668
|
+
*/
|
|
17669
|
+
triggerKind?: JobTriggerKind;
|
|
15405
17670
|
workspace: string;
|
|
15406
17671
|
};
|
|
15407
17672
|
res: {
|
|
@@ -15612,6 +17877,66 @@ export type $OpenApiTs = {
|
|
|
15612
17877
|
};
|
|
15613
17878
|
};
|
|
15614
17879
|
};
|
|
17880
|
+
'/w/{workspace}/trigger/{trigger_kind}/resume_suspended_trigger_jobs/{trigger_path}': {
|
|
17881
|
+
post: {
|
|
17882
|
+
req: {
|
|
17883
|
+
/**
|
|
17884
|
+
* Optional list of job IDs to reassign
|
|
17885
|
+
*/
|
|
17886
|
+
requestBody?: {
|
|
17887
|
+
/**
|
|
17888
|
+
* Optional list of specific job UUIDs to reassign. If not provided, all suspended jobs for the trigger will be reassigned.
|
|
17889
|
+
*/
|
|
17890
|
+
job_ids?: Array<(string)>;
|
|
17891
|
+
};
|
|
17892
|
+
/**
|
|
17893
|
+
* The kind of trigger
|
|
17894
|
+
*/
|
|
17895
|
+
triggerKind: JobTriggerKind;
|
|
17896
|
+
/**
|
|
17897
|
+
* The path of the trigger (can contain forward slashes)
|
|
17898
|
+
*/
|
|
17899
|
+
triggerPath: string;
|
|
17900
|
+
workspace: string;
|
|
17901
|
+
};
|
|
17902
|
+
res: {
|
|
17903
|
+
/**
|
|
17904
|
+
* confirmation message
|
|
17905
|
+
*/
|
|
17906
|
+
200: string;
|
|
17907
|
+
};
|
|
17908
|
+
};
|
|
17909
|
+
};
|
|
17910
|
+
'/w/{workspace}/trigger/{trigger_kind}/cancel_suspended_trigger_jobs/{trigger_path}': {
|
|
17911
|
+
post: {
|
|
17912
|
+
req: {
|
|
17913
|
+
/**
|
|
17914
|
+
* Optional list of job IDs to cancel
|
|
17915
|
+
*/
|
|
17916
|
+
requestBody?: {
|
|
17917
|
+
/**
|
|
17918
|
+
* Optional list of specific job UUIDs to cancel. If not provided, all suspended jobs for the trigger will be canceled.
|
|
17919
|
+
*/
|
|
17920
|
+
job_ids?: Array<(string)>;
|
|
17921
|
+
};
|
|
17922
|
+
/**
|
|
17923
|
+
* The kind of trigger
|
|
17924
|
+
*/
|
|
17925
|
+
triggerKind: JobTriggerKind;
|
|
17926
|
+
/**
|
|
17927
|
+
* The path of the trigger (can contain forward slashes)
|
|
17928
|
+
*/
|
|
17929
|
+
triggerPath: string;
|
|
17930
|
+
workspace: string;
|
|
17931
|
+
};
|
|
17932
|
+
res: {
|
|
17933
|
+
/**
|
|
17934
|
+
* confirmation message
|
|
17935
|
+
*/
|
|
17936
|
+
200: string;
|
|
17937
|
+
};
|
|
17938
|
+
};
|
|
17939
|
+
};
|
|
15615
17940
|
'/schedules/preview': {
|
|
15616
17941
|
post: {
|
|
15617
17942
|
req: {
|
|
@@ -15991,6 +18316,23 @@ export type $OpenApiTs = {
|
|
|
15991
18316
|
};
|
|
15992
18317
|
};
|
|
15993
18318
|
};
|
|
18319
|
+
'/w/{workspace}/http_triggers/setmode/{path}': {
|
|
18320
|
+
post: {
|
|
18321
|
+
req: {
|
|
18322
|
+
path: string;
|
|
18323
|
+
requestBody: {
|
|
18324
|
+
mode: TriggerMode;
|
|
18325
|
+
};
|
|
18326
|
+
workspace: string;
|
|
18327
|
+
};
|
|
18328
|
+
res: {
|
|
18329
|
+
/**
|
|
18330
|
+
* http trigger enable/disable
|
|
18331
|
+
*/
|
|
18332
|
+
200: string;
|
|
18333
|
+
};
|
|
18334
|
+
};
|
|
18335
|
+
};
|
|
15994
18336
|
'/w/{workspace}/websocket_triggers/create': {
|
|
15995
18337
|
post: {
|
|
15996
18338
|
req: {
|
|
@@ -16095,7 +18437,7 @@ export type $OpenApiTs = {
|
|
|
16095
18437
|
};
|
|
16096
18438
|
};
|
|
16097
18439
|
};
|
|
16098
|
-
'/w/{workspace}/websocket_triggers/
|
|
18440
|
+
'/w/{workspace}/websocket_triggers/setmode/{path}': {
|
|
16099
18441
|
post: {
|
|
16100
18442
|
req: {
|
|
16101
18443
|
path: string;
|
|
@@ -16103,7 +18445,7 @@ export type $OpenApiTs = {
|
|
|
16103
18445
|
* updated websocket trigger enable
|
|
16104
18446
|
*/
|
|
16105
18447
|
requestBody: {
|
|
16106
|
-
|
|
18448
|
+
mode: TriggerMode;
|
|
16107
18449
|
};
|
|
16108
18450
|
workspace: string;
|
|
16109
18451
|
};
|
|
@@ -16240,7 +18582,7 @@ export type $OpenApiTs = {
|
|
|
16240
18582
|
};
|
|
16241
18583
|
};
|
|
16242
18584
|
};
|
|
16243
|
-
'/w/{workspace}/kafka_triggers/
|
|
18585
|
+
'/w/{workspace}/kafka_triggers/setmode/{path}': {
|
|
16244
18586
|
post: {
|
|
16245
18587
|
req: {
|
|
16246
18588
|
path: string;
|
|
@@ -16248,7 +18590,7 @@ export type $OpenApiTs = {
|
|
|
16248
18590
|
* updated kafka trigger enable
|
|
16249
18591
|
*/
|
|
16250
18592
|
requestBody: {
|
|
16251
|
-
|
|
18593
|
+
mode: TriggerMode;
|
|
16252
18594
|
};
|
|
16253
18595
|
workspace: string;
|
|
16254
18596
|
};
|
|
@@ -16385,7 +18727,7 @@ export type $OpenApiTs = {
|
|
|
16385
18727
|
};
|
|
16386
18728
|
};
|
|
16387
18729
|
};
|
|
16388
|
-
'/w/{workspace}/nats_triggers/
|
|
18730
|
+
'/w/{workspace}/nats_triggers/setmode/{path}': {
|
|
16389
18731
|
post: {
|
|
16390
18732
|
req: {
|
|
16391
18733
|
path: string;
|
|
@@ -16393,7 +18735,7 @@ export type $OpenApiTs = {
|
|
|
16393
18735
|
* updated nats trigger enable
|
|
16394
18736
|
*/
|
|
16395
18737
|
requestBody: {
|
|
16396
|
-
|
|
18738
|
+
mode: TriggerMode;
|
|
16397
18739
|
};
|
|
16398
18740
|
workspace: string;
|
|
16399
18741
|
};
|
|
@@ -16530,7 +18872,7 @@ export type $OpenApiTs = {
|
|
|
16530
18872
|
};
|
|
16531
18873
|
};
|
|
16532
18874
|
};
|
|
16533
|
-
'/w/{workspace}/sqs_triggers/
|
|
18875
|
+
'/w/{workspace}/sqs_triggers/setmode/{path}': {
|
|
16534
18876
|
post: {
|
|
16535
18877
|
req: {
|
|
16536
18878
|
path: string;
|
|
@@ -16538,7 +18880,7 @@ export type $OpenApiTs = {
|
|
|
16538
18880
|
* updated sqs trigger enable
|
|
16539
18881
|
*/
|
|
16540
18882
|
requestBody: {
|
|
16541
|
-
|
|
18883
|
+
mode: TriggerMode;
|
|
16542
18884
|
};
|
|
16543
18885
|
workspace: string;
|
|
16544
18886
|
};
|
|
@@ -16675,7 +19017,7 @@ export type $OpenApiTs = {
|
|
|
16675
19017
|
};
|
|
16676
19018
|
};
|
|
16677
19019
|
};
|
|
16678
|
-
'/w/{workspace}/mqtt_triggers/
|
|
19020
|
+
'/w/{workspace}/mqtt_triggers/setmode/{path}': {
|
|
16679
19021
|
post: {
|
|
16680
19022
|
req: {
|
|
16681
19023
|
path: string;
|
|
@@ -16683,7 +19025,7 @@ export type $OpenApiTs = {
|
|
|
16683
19025
|
* updated mqtt trigger enable
|
|
16684
19026
|
*/
|
|
16685
19027
|
requestBody: {
|
|
16686
|
-
|
|
19028
|
+
mode: TriggerMode;
|
|
16687
19029
|
};
|
|
16688
19030
|
workspace: string;
|
|
16689
19031
|
};
|
|
@@ -16820,7 +19162,7 @@ export type $OpenApiTs = {
|
|
|
16820
19162
|
};
|
|
16821
19163
|
};
|
|
16822
19164
|
};
|
|
16823
|
-
'/w/{workspace}/gcp_triggers/
|
|
19165
|
+
'/w/{workspace}/gcp_triggers/setmode/{path}': {
|
|
16824
19166
|
post: {
|
|
16825
19167
|
req: {
|
|
16826
19168
|
path: string;
|
|
@@ -16828,7 +19170,7 @@ export type $OpenApiTs = {
|
|
|
16828
19170
|
* updated gcp trigger enable
|
|
16829
19171
|
*/
|
|
16830
19172
|
requestBody: {
|
|
16831
|
-
|
|
19173
|
+
mode: TriggerMode;
|
|
16832
19174
|
};
|
|
16833
19175
|
workspace: string;
|
|
16834
19176
|
};
|
|
@@ -17218,7 +19560,7 @@ export type $OpenApiTs = {
|
|
|
17218
19560
|
};
|
|
17219
19561
|
};
|
|
17220
19562
|
};
|
|
17221
|
-
'/w/{workspace}/postgres_triggers/
|
|
19563
|
+
'/w/{workspace}/postgres_triggers/setmode/{path}': {
|
|
17222
19564
|
post: {
|
|
17223
19565
|
req: {
|
|
17224
19566
|
path: string;
|
|
@@ -17226,7 +19568,7 @@ export type $OpenApiTs = {
|
|
|
17226
19568
|
* updated postgres trigger enable
|
|
17227
19569
|
*/
|
|
17228
19570
|
requestBody: {
|
|
17229
|
-
|
|
19571
|
+
mode: TriggerMode;
|
|
17230
19572
|
};
|
|
17231
19573
|
workspace: string;
|
|
17232
19574
|
};
|
|
@@ -17382,6 +19724,23 @@ export type $OpenApiTs = {
|
|
|
17382
19724
|
};
|
|
17383
19725
|
};
|
|
17384
19726
|
};
|
|
19727
|
+
'/w/{workspace}/email_triggers/setmode/{path}': {
|
|
19728
|
+
post: {
|
|
19729
|
+
req: {
|
|
19730
|
+
path: string;
|
|
19731
|
+
requestBody: {
|
|
19732
|
+
mode: TriggerMode;
|
|
19733
|
+
};
|
|
19734
|
+
workspace: string;
|
|
19735
|
+
};
|
|
19736
|
+
res: {
|
|
19737
|
+
/**
|
|
19738
|
+
* email trigger enable/disable
|
|
19739
|
+
*/
|
|
19740
|
+
200: string;
|
|
19741
|
+
};
|
|
19742
|
+
};
|
|
19743
|
+
};
|
|
17385
19744
|
'/groups/list': {
|
|
17386
19745
|
get: {
|
|
17387
19746
|
res: {
|
|
@@ -17676,6 +20035,34 @@ export type $OpenApiTs = {
|
|
|
17676
20035
|
};
|
|
17677
20036
|
};
|
|
17678
20037
|
};
|
|
20038
|
+
'/w/{workspace}/groups_history/get/{name}': {
|
|
20039
|
+
get: {
|
|
20040
|
+
req: {
|
|
20041
|
+
name: string;
|
|
20042
|
+
/**
|
|
20043
|
+
* which page to return (start at 1, default 1)
|
|
20044
|
+
*/
|
|
20045
|
+
page?: number;
|
|
20046
|
+
/**
|
|
20047
|
+
* number of items to return for a given page (default 30, max 100)
|
|
20048
|
+
*/
|
|
20049
|
+
perPage?: number;
|
|
20050
|
+
workspace: string;
|
|
20051
|
+
};
|
|
20052
|
+
res: {
|
|
20053
|
+
/**
|
|
20054
|
+
* group permission history
|
|
20055
|
+
*/
|
|
20056
|
+
200: Array<{
|
|
20057
|
+
id?: number;
|
|
20058
|
+
changed_by?: string;
|
|
20059
|
+
changed_at?: string;
|
|
20060
|
+
change_type?: string;
|
|
20061
|
+
member_affected?: string | null;
|
|
20062
|
+
}>;
|
|
20063
|
+
};
|
|
20064
|
+
};
|
|
20065
|
+
};
|
|
17679
20066
|
'/w/{workspace}/folders/list': {
|
|
17680
20067
|
get: {
|
|
17681
20068
|
req: {
|
|
@@ -17862,6 +20249,34 @@ export type $OpenApiTs = {
|
|
|
17862
20249
|
};
|
|
17863
20250
|
};
|
|
17864
20251
|
};
|
|
20252
|
+
'/w/{workspace}/folders_history/get/{name}': {
|
|
20253
|
+
get: {
|
|
20254
|
+
req: {
|
|
20255
|
+
name: string;
|
|
20256
|
+
/**
|
|
20257
|
+
* which page to return (start at 1, default 1)
|
|
20258
|
+
*/
|
|
20259
|
+
page?: number;
|
|
20260
|
+
/**
|
|
20261
|
+
* number of items to return for a given page (default 30, max 100)
|
|
20262
|
+
*/
|
|
20263
|
+
perPage?: number;
|
|
20264
|
+
workspace: string;
|
|
20265
|
+
};
|
|
20266
|
+
res: {
|
|
20267
|
+
/**
|
|
20268
|
+
* folder permission history
|
|
20269
|
+
*/
|
|
20270
|
+
200: Array<{
|
|
20271
|
+
id?: number;
|
|
20272
|
+
changed_by?: string;
|
|
20273
|
+
changed_at?: string;
|
|
20274
|
+
change_type?: string;
|
|
20275
|
+
affected?: string | null;
|
|
20276
|
+
}>;
|
|
20277
|
+
};
|
|
20278
|
+
};
|
|
20279
|
+
};
|
|
17865
20280
|
'/configs/list_worker_groups': {
|
|
17866
20281
|
get: {
|
|
17867
20282
|
res: {
|
|
@@ -18070,6 +20485,16 @@ export type $OpenApiTs = {
|
|
|
18070
20485
|
};
|
|
18071
20486
|
};
|
|
18072
20487
|
};
|
|
20488
|
+
'/agent_workers/get_min_version': {
|
|
20489
|
+
get: {
|
|
20490
|
+
res: {
|
|
20491
|
+
/**
|
|
20492
|
+
* minimum worker version
|
|
20493
|
+
*/
|
|
20494
|
+
200: string;
|
|
20495
|
+
};
|
|
20496
|
+
};
|
|
20497
|
+
};
|
|
18073
20498
|
'/w/{workspace}/acls/get/{kind}/{path}': {
|
|
18074
20499
|
get: {
|
|
18075
20500
|
req: {
|
|
@@ -18603,6 +21028,89 @@ export type $OpenApiTs = {
|
|
|
18603
21028
|
};
|
|
18604
21029
|
};
|
|
18605
21030
|
};
|
|
21031
|
+
'/w/{workspace}/job_helpers/list_git_repo_files': {
|
|
21032
|
+
get: {
|
|
21033
|
+
req: {
|
|
21034
|
+
marker?: string;
|
|
21035
|
+
maxKeys: number;
|
|
21036
|
+
prefix?: string;
|
|
21037
|
+
storage?: string;
|
|
21038
|
+
workspace: string;
|
|
21039
|
+
};
|
|
21040
|
+
res: {
|
|
21041
|
+
/**
|
|
21042
|
+
* List of file keys
|
|
21043
|
+
*/
|
|
21044
|
+
200: {
|
|
21045
|
+
next_marker?: string;
|
|
21046
|
+
windmill_large_files: Array<WindmillLargeFile>;
|
|
21047
|
+
restricted_access?: boolean;
|
|
21048
|
+
};
|
|
21049
|
+
};
|
|
21050
|
+
};
|
|
21051
|
+
};
|
|
21052
|
+
'/w/{workspace}/job_helpers/load_git_repo_file_preview': {
|
|
21053
|
+
get: {
|
|
21054
|
+
req: {
|
|
21055
|
+
csvHasHeader?: boolean;
|
|
21056
|
+
csvSeparator?: string;
|
|
21057
|
+
fileKey: string;
|
|
21058
|
+
fileMimeType?: string;
|
|
21059
|
+
fileSizeInBytes?: number;
|
|
21060
|
+
readBytesFrom?: number;
|
|
21061
|
+
readBytesLength?: number;
|
|
21062
|
+
storage?: string;
|
|
21063
|
+
workspace: string;
|
|
21064
|
+
};
|
|
21065
|
+
res: {
|
|
21066
|
+
/**
|
|
21067
|
+
* FilePreview
|
|
21068
|
+
*/
|
|
21069
|
+
200: WindmillFilePreview;
|
|
21070
|
+
};
|
|
21071
|
+
};
|
|
21072
|
+
};
|
|
21073
|
+
'/w/{workspace}/job_helpers/load_git_repo_file_metadata': {
|
|
21074
|
+
get: {
|
|
21075
|
+
req: {
|
|
21076
|
+
fileKey: string;
|
|
21077
|
+
storage?: string;
|
|
21078
|
+
workspace: string;
|
|
21079
|
+
};
|
|
21080
|
+
res: {
|
|
21081
|
+
/**
|
|
21082
|
+
* FileMetadata
|
|
21083
|
+
*/
|
|
21084
|
+
200: WindmillFileMetadata;
|
|
21085
|
+
};
|
|
21086
|
+
};
|
|
21087
|
+
};
|
|
21088
|
+
'/w/{workspace}/job_helpers/check_s3_folder_exists': {
|
|
21089
|
+
get: {
|
|
21090
|
+
req: {
|
|
21091
|
+
/**
|
|
21092
|
+
* S3 file key to check (e.g., gitrepos/{workspace_id}/u/user/resource/{commit_hash})
|
|
21093
|
+
*/
|
|
21094
|
+
fileKey: string;
|
|
21095
|
+
workspace: string;
|
|
21096
|
+
};
|
|
21097
|
+
res: {
|
|
21098
|
+
/**
|
|
21099
|
+
* S3 folder existence check result
|
|
21100
|
+
*/
|
|
21101
|
+
200: {
|
|
21102
|
+
/**
|
|
21103
|
+
* Whether the path exists
|
|
21104
|
+
*/
|
|
21105
|
+
exists: boolean;
|
|
21106
|
+
/**
|
|
21107
|
+
* Whether the path is a folder (true) or file (false)
|
|
21108
|
+
*/
|
|
21109
|
+
is_folder: boolean;
|
|
21110
|
+
};
|
|
21111
|
+
};
|
|
21112
|
+
};
|
|
21113
|
+
};
|
|
18606
21114
|
'/w/{workspace}/job_helpers/load_parquet_preview/{path}': {
|
|
18607
21115
|
get: {
|
|
18608
21116
|
req: {
|
|
@@ -18722,6 +21230,32 @@ export type $OpenApiTs = {
|
|
|
18722
21230
|
};
|
|
18723
21231
|
};
|
|
18724
21232
|
};
|
|
21233
|
+
'/w/{workspace}/job_helpers/upload_git_repo_file_to_instance_storage': {
|
|
21234
|
+
post: {
|
|
21235
|
+
req: {
|
|
21236
|
+
contentDisposition?: string;
|
|
21237
|
+
contentType?: string;
|
|
21238
|
+
fileExtension?: string;
|
|
21239
|
+
fileKey?: string;
|
|
21240
|
+
/**
|
|
21241
|
+
* File content
|
|
21242
|
+
*/
|
|
21243
|
+
requestBody: (Blob | File);
|
|
21244
|
+
resourceType?: string;
|
|
21245
|
+
s3ResourcePath?: string;
|
|
21246
|
+
storage?: string;
|
|
21247
|
+
workspace: string;
|
|
21248
|
+
};
|
|
21249
|
+
res: {
|
|
21250
|
+
/**
|
|
21251
|
+
* File upload status
|
|
21252
|
+
*/
|
|
21253
|
+
200: {
|
|
21254
|
+
file_key: string;
|
|
21255
|
+
};
|
|
21256
|
+
};
|
|
21257
|
+
};
|
|
21258
|
+
};
|
|
18725
21259
|
'/w/{workspace}/job_helpers/download_s3_file': {
|
|
18726
21260
|
get: {
|
|
18727
21261
|
req: {
|