windmill-components 1.623.1 → 1.642.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/dist/sharedUtils/assets/tokens/colorTokensConfig.d.ts +2 -0
- package/dist/sharedUtils/base.d.ts +1 -0
- package/dist/sharedUtils/cloud.d.ts +1 -0
- package/dist/sharedUtils/common.d.ts +111 -0
- package/dist/sharedUtils/components/apps/components/display/dbtable/queries/count.d.ts +5 -0
- package/dist/sharedUtils/components/apps/components/display/dbtable/queries/delete.d.ts +5 -0
- package/dist/sharedUtils/components/apps/components/display/dbtable/queries/insert.d.ts +5 -0
- package/dist/sharedUtils/components/apps/components/display/dbtable/queries/select.d.ts +13 -0
- package/dist/sharedUtils/components/apps/components/display/dbtable/queries/update.d.ts +11 -0
- package/dist/sharedUtils/components/apps/components/display/dbtable/utils.d.ts +95 -0
- package/dist/sharedUtils/components/apps/editor/appPolicy.d.ts +6 -0
- package/dist/sharedUtils/components/apps/editor/appUtilsCore.d.ts +7 -0
- package/dist/sharedUtils/components/apps/editor/appUtilsS3.d.ts +33 -0
- package/dist/sharedUtils/components/apps/editor/commonAppUtils.d.ts +10 -0
- package/dist/sharedUtils/components/apps/editor/component/components.d.ts +5371 -0
- package/dist/sharedUtils/components/apps/editor/component/default-codes.d.ts +3 -0
- package/dist/sharedUtils/components/apps/editor/component/index.d.ts +3 -0
- package/dist/sharedUtils/components/apps/editor/component/sets.d.ts +7 -0
- package/dist/sharedUtils/components/apps/editor/componentsPanel/componentDefaultProps.d.ts +3 -0
- package/dist/sharedUtils/components/apps/gridUtils.d.ts +14 -0
- package/dist/sharedUtils/components/apps/inputType.d.ts +178 -0
- package/dist/sharedUtils/components/apps/rx.d.ts +29 -0
- package/dist/sharedUtils/components/apps/sharedTypes.d.ts +21 -0
- package/dist/sharedUtils/components/apps/types.d.ts +274 -0
- package/dist/sharedUtils/components/assets/lib.d.ts +25 -0
- package/dist/sharedUtils/components/common/alert/model.d.ts +2 -0
- package/dist/sharedUtils/components/common/badge/model.d.ts +8 -0
- package/dist/sharedUtils/components/common/button/model.d.ts +45 -0
- package/dist/sharedUtils/components/common/fileInput/model.d.ts +1 -0
- package/dist/sharedUtils/components/common/index.d.ts +24 -0
- package/dist/sharedUtils/components/common/skeleton/model.d.ts +21 -0
- package/dist/sharedUtils/components/dbTypes.d.ts +14 -0
- package/dist/sharedUtils/components/diff_drawer.d.ts +26 -0
- package/dist/sharedUtils/components/ducklake.d.ts +1 -0
- package/dist/sharedUtils/components/flows/scheduleUtils.d.ts +7 -0
- package/dist/sharedUtils/components/icons/index.d.ts +101 -0
- package/dist/sharedUtils/components/random_positive_adjetive.d.ts +1 -0
- package/dist/sharedUtils/components/raw_apps/rawAppPolicy.d.ts +10 -0
- package/dist/sharedUtils/components/raw_apps/utils.d.ts +15 -0
- package/dist/sharedUtils/components/triggers/email/utils.d.ts +4 -0
- package/dist/sharedUtils/components/triggers/gcp/utils.d.ts +2 -0
- package/dist/sharedUtils/components/triggers/http/utils.d.ts +11 -0
- package/dist/sharedUtils/components/triggers/kafka/utils.d.ts +2 -0
- package/dist/sharedUtils/components/triggers/mqtt/utils.d.ts +2 -0
- package/dist/sharedUtils/components/triggers/nats/utils.d.ts +2 -0
- package/dist/sharedUtils/components/triggers/postgres/utils.d.ts +8 -0
- package/dist/sharedUtils/components/triggers/sqs/utils.d.ts +2 -0
- package/dist/sharedUtils/components/triggers/triggers.svelte.d.ts +32 -0
- package/dist/sharedUtils/components/triggers/utils.d.ts +80 -0
- package/dist/sharedUtils/components/triggers/websocket/utils.d.ts +2 -0
- package/dist/sharedUtils/components/triggers.d.ts +20 -0
- package/dist/sharedUtils/gen/core/ApiError.d.ts +10 -0
- package/dist/sharedUtils/gen/core/ApiRequestOptions.d.ts +13 -0
- package/dist/sharedUtils/gen/core/ApiResult.d.ts +7 -0
- package/dist/sharedUtils/gen/core/CancelablePromise.d.ts +26 -0
- package/dist/sharedUtils/gen/core/OpenAPI.d.ts +27 -0
- package/dist/sharedUtils/gen/core/request.d.ts +29 -0
- package/dist/sharedUtils/gen/index.d.ts +6 -0
- package/dist/sharedUtils/gen/schemas.gen.d.ts +7036 -0
- package/dist/sharedUtils/gen/services.gen.d.ts +6047 -0
- package/dist/sharedUtils/gen/types.gen.d.ts +21881 -0
- package/dist/sharedUtils/history.svelte.d.ts +9 -0
- package/dist/sharedUtils/hub.d.ts +49 -0
- package/dist/sharedUtils/jsr.json +6 -0
- package/dist/sharedUtils/lib.d.ts +5 -0
- package/dist/sharedUtils/lib.es.js +1588 -0
- package/dist/sharedUtils/package.json +12 -0
- package/dist/sharedUtils/schema.d.ts +3 -0
- package/dist/sharedUtils/stores.d.ts +97 -0
- package/dist/sharedUtils/svelte5Utils.svelte.d.ts +80 -0
- package/dist/sharedUtils/toast.d.ts +8 -0
- package/dist/sharedUtils/utils.d.ts +265 -0
- package/package/assets/app.css +32 -13
- package/package/assets/tokens/tokens.json +11 -1
- package/package/ata/apis.js +78 -5
- package/package/cancelable-promise-utils.js +4 -2
- package/package/components/AIAgentLogViewer.svelte +2 -2
- package/package/components/AIAgentLogViewer.svelte.d.ts +1 -0
- package/package/components/AIProviderPicker.svelte +20 -80
- package/package/components/AIProviderPicker.svelte.d.ts +2 -7
- package/package/components/AddUser.svelte +3 -3
- package/package/components/ApiConnectForm.svelte +13 -1
- package/package/components/AppConnectDrawer.svelte +1 -0
- package/package/components/AppConnectInner.svelte +1 -0
- package/package/components/AppConnectInner.svelte.d.ts +1 -1
- package/package/components/ArgInput.svelte +15 -5
- package/package/components/ArgInput.svelte.d.ts +3 -4
- package/package/components/Auth0Setting.svelte +6 -2
- package/package/components/AuthSettings.svelte +71 -40
- package/package/components/AuthSettings.svelte.d.ts +3 -1
- package/package/components/AutheliaSetting.svelte +3 -2
- package/package/components/AuthentikSetting.svelte +3 -2
- package/package/components/AutoscalingConfigEditor.svelte +2 -1
- package/package/components/AutoscalingConfigEditor.svelte.d.ts +1 -0
- package/package/components/BedrockCredentialsCheck.svelte +241 -0
- package/package/components/BedrockCredentialsCheck.svelte.d.ts +3 -0
- package/package/components/CenteredModal.svelte +42 -24
- package/package/components/CenteredModal.svelte.d.ts +8 -27
- package/package/components/CenteredPage.svelte +6 -2
- package/package/components/CenteredPage.svelte.d.ts +3 -0
- package/package/components/ChangeInstanceUsernameInner.svelte +1 -1
- package/package/components/CompareWorkspaces.svelte +103 -73
- package/package/components/ConcurrentJobsChart.svelte +4 -3
- package/package/components/ConcurrentJobsChart.svelte.d.ts +2 -2
- package/package/components/ConnectionSection.svelte +69 -73
- package/package/components/CustomPopover.svelte +20 -23
- package/package/components/CustomPopover.svelte.d.ts +14 -39
- package/package/components/CustomSso.svelte +7 -7
- package/package/components/DBManager.svelte +147 -44
- package/package/components/DBManager.svelte.d.ts +15 -2
- package/package/components/DBManagerContent.svelte +30 -63
- package/package/components/DBManagerContent.svelte.d.ts +39 -4
- package/package/components/DBManagerDrawer.svelte +9 -9
- package/package/components/DBTable.svelte +1 -1
- package/package/components/DBTable.svelte.d.ts +3 -1
- package/package/components/DBTableEditor.svelte +234 -178
- package/package/components/DBTableEditor.svelte.d.ts +22 -3
- package/package/components/DatatablePicker.svelte +29 -0
- package/package/components/DatatablePicker.svelte.d.ts +13 -0
- package/package/components/DateInput.svelte +29 -35
- package/package/components/DateInput.svelte.d.ts +10 -11
- package/package/components/DateTimeInput.svelte +3 -3
- package/package/components/DedicatedWorkersSelector.svelte +566 -0
- package/package/components/DedicatedWorkersSelector.svelte.d.ts +8 -0
- package/package/components/DeployToSetting.svelte +183 -123
- package/package/components/DeployToSetting.svelte.d.ts +19 -28
- package/package/components/DeployWorkspace.svelte +111 -72
- package/package/components/DeployWorkspace.svelte.d.ts +2 -1
- package/package/components/DeployWorkspaceDrawer.svelte +18 -7
- package/package/components/DeployWorkspaceDrawer.svelte.d.ts +3 -20
- package/package/components/Description.svelte +5 -2
- package/package/components/Dev.svelte +37 -2
- package/package/components/DiffDrawer.svelte +8 -29
- package/package/components/DiffEditor.svelte +39 -8
- package/package/components/DiffEditor.svelte.d.ts +2 -6
- package/package/components/DisplayResult.svelte +34 -26
- package/package/components/DropdownMenu.svelte +39 -0
- package/package/components/DropdownMenu.svelte.d.ts +14 -0
- package/package/components/DropdownSubmenuItem.svelte +68 -0
- package/package/components/DropdownSubmenuItem.svelte.d.ts +10 -0
- package/package/components/DropdownV2.svelte +5 -4
- package/package/components/DropdownV2.svelte.d.ts +1 -0
- package/package/components/DropdownV2Inner.svelte +42 -34
- package/package/components/DropdownV2Inner.svelte.d.ts +2 -1
- package/package/components/DucklakePicker.svelte +2 -5
- package/package/components/EEOnly.svelte +4 -14
- package/package/components/EEOnly.svelte.d.ts +0 -1
- package/package/components/Editor.svelte +72 -27
- package/package/components/Editor.svelte.d.ts +4 -0
- package/package/components/EditorBar.svelte +3 -5
- package/package/components/ErrorOrRecoveryHandler.svelte +62 -53
- package/package/components/ErrorOrRecoveryHandler.svelte.d.ts +1 -0
- package/package/components/ExploreAssetButton.svelte +1 -2
- package/package/components/FakeMonacoPlaceHolder.svelte +1 -1
- package/package/components/FileExplorer.svelte +249 -0
- package/package/components/FileExplorer.svelte.d.ts +21 -0
- package/package/components/FilesetEditor.svelte +103 -0
- package/package/components/FilesetEditor.svelte.d.ts +6 -0
- package/package/components/FilterSearchbar.svelte +628 -0
- package/package/components/FilterSearchbar.svelte.d.ts +86 -0
- package/package/components/FlowBuilder.svelte +140 -90
- package/package/components/FlowDiffViewer.svelte +37 -0
- package/package/components/FlowDiffViewer.svelte.d.ts +7 -0
- package/package/components/FlowGraphViewer.svelte +5 -2
- package/package/components/FlowGraphViewer.svelte.d.ts +2 -0
- package/package/components/FlowGraphViewerStep.svelte +49 -33
- package/package/components/FlowHistoryJobPicker.svelte +2 -1
- package/package/components/FlowJobResult.svelte +31 -23
- package/package/components/FlowJobResult.svelte.d.ts +0 -1
- package/package/components/FlowLogRow.svelte +1 -1
- package/package/components/FlowLogViewer.svelte +8 -3
- package/package/components/FlowLoopIterationPreview.svelte.d.ts +1 -1
- package/package/components/FlowPreviewContent.svelte +67 -50
- package/package/components/FlowPreviewContent.svelte.d.ts +5 -1
- package/package/components/FlowRestartButton.svelte +48 -49
- package/package/components/FlowRestartButton.svelte.d.ts +5 -0
- package/package/components/FlowStatusViewer.svelte +2 -3
- package/package/components/FlowStatusViewer.svelte.d.ts +1 -0
- package/package/components/FlowStatusViewerInner.svelte +411 -308
- package/package/components/FlowStatusViewerInner.svelte.d.ts +3 -3
- package/package/components/FlowStatusWaitingForEvents.svelte +34 -29
- package/package/components/FlowStatusWaitingForEvents.svelte.d.ts +4 -18
- package/package/components/FlowViewer.svelte +103 -2
- package/package/components/FlowViewer.svelte.d.ts +9 -3
- package/package/components/FolderPicker.svelte +195 -65
- package/package/components/FolderPicker.svelte.d.ts +2 -0
- package/package/components/ForkWorkspaceBanner.svelte +32 -13
- package/package/components/GraphqlSchemaViewer.svelte +8 -1
- package/package/components/HistoricInputs.svelte +24 -27
- package/package/components/HistoricInputs.svelte.d.ts +2 -2
- package/package/components/IconedResourceType.svelte +8 -2
- package/package/components/IconedResourceType.svelte.d.ts +2 -0
- package/package/components/InfiniteList.svelte +27 -20
- package/package/components/InfiniteList.svelte.d.ts +2 -0
- package/package/components/InputError.svelte +9 -0
- package/package/components/InputError.svelte.d.ts +6 -0
- package/package/components/InputTransformForm.svelte +46 -39
- package/package/components/InputTransformForm.svelte.d.ts +1 -0
- package/package/components/InputTransformSchemaForm.svelte +2 -1
- package/package/components/InputTransformSchemaForm.svelte.d.ts +1 -0
- package/package/components/InputTransformsViewer.svelte +37 -20
- package/package/components/InstanceNameEditor.svelte +3 -1
- package/package/components/InstanceSetting.svelte +187 -373
- package/package/components/InstanceSetting.svelte.d.ts +1 -0
- package/package/components/InstanceSettings.svelte +804 -193
- package/package/components/InstanceSettings.svelte.d.ts +17 -2
- package/package/components/IntegerInput.svelte +58 -0
- package/package/components/IntegerInput.svelte.d.ts +14 -0
- package/package/components/InviteGlobalUser.svelte +25 -25
- package/package/components/InviteGlobalUser.svelte.d.ts +4 -2
- package/package/components/InviteUser.svelte +16 -42
- package/package/components/InviteUser.svelte.d.ts +4 -18
- package/package/components/JobArgs.svelte +14 -10
- package/package/components/JobLoader.svelte +6 -4
- package/package/components/JobLoader.svelte.d.ts +3 -3
- package/package/components/JobOtelTraces.svelte +287 -0
- package/package/components/JobOtelTraces.svelte.d.ts +6 -0
- package/package/components/JobStatus.svelte +29 -26
- package/package/components/JobStatus.svelte.d.ts +1 -0
- package/package/components/JsonInputs.svelte +6 -8
- package/package/components/JsonInputs.svelte.d.ts +7 -8
- package/package/components/KanidmSetting.svelte +3 -2
- package/package/components/KeycloakSetting.svelte +3 -2
- package/package/components/LogViewer.svelte +91 -33
- package/package/components/Login.svelte +36 -3
- package/package/components/ManualPopover.svelte +5 -6
- package/package/components/ManualPopover.svelte.d.ts +9 -35
- package/package/components/MemoryFootprintViewer.svelte +2 -6
- package/package/components/ModulePreview.svelte +23 -21
- package/package/components/ModulePreview.svelte.d.ts +1 -0
- package/package/components/ModuleStatus.svelte +5 -5
- package/package/components/ModuleTest.svelte +3 -3
- package/package/components/MoveDrawer.svelte +47 -76
- package/package/components/MoveDrawer.svelte.d.ts +4 -6
- package/package/components/NextcloudSetting.svelte +4 -3
- package/package/components/NoDirectDeployAlert.svelte +31 -0
- package/package/components/NoDirectDeployAlert.svelte.d.ts +6 -0
- package/package/components/NumberTypeNarrowing.svelte +65 -67
- package/package/components/NumberTypeNarrowing.svelte.d.ts +2 -1
- package/package/components/OAuthSetting.svelte +7 -14
- package/package/components/ObjectStoreConfigSettings.svelte +150 -55
- package/package/components/ObjectStoreConfigSettings.svelte.d.ts +34 -44
- package/package/components/OktaSetting.svelte +3 -2
- package/package/components/PageHeader.svelte +1 -1
- package/package/components/ParentWorkspaceProtectionAlert.svelte +48 -0
- package/package/components/ParentWorkspaceProtectionAlert.svelte.d.ts +7 -0
- package/package/components/Path.svelte +41 -29
- package/package/components/Path.svelte.d.ts +4 -1
- package/package/components/PocketIdSetting.svelte +83 -0
- package/package/components/PocketIdSetting.svelte.d.ts +6 -0
- package/package/components/ResourceEditor.svelte +13 -7
- package/package/components/ResourcePicker.svelte +6 -5
- package/package/components/ResourcePicker.svelte.d.ts +1 -0
- package/package/components/RightClickPopover.svelte +37 -0
- package/package/components/RightClickPopover.svelte.d.ts +11 -0
- package/package/components/RunButton.svelte +5 -15
- package/package/components/RunButton.svelte.d.ts +7 -19
- package/package/components/RunChart.svelte +9 -24
- package/package/components/RunChart.svelte.d.ts +2 -5
- package/package/components/RunForm.svelte +9 -17
- package/package/components/RunForm.svelte.d.ts +0 -1
- package/package/components/RunFormAdvancedPopup.svelte +1 -1
- package/package/components/RunsPage.svelte +489 -926
- package/package/components/RunsPage.svelte.d.ts +5 -5
- package/package/components/S3FilePicker.svelte +7 -11
- package/package/components/S3FilePickerInner.svelte +2 -3
- package/package/components/S3FilePickerInner.svelte.d.ts +2 -2
- package/package/components/SaveButton.svelte +78 -0
- package/package/components/SaveButton.svelte.d.ts +12 -0
- package/package/components/SaveInputsButton.svelte +1 -1
- package/package/components/SavedInputsPicker.svelte +1 -1
- package/package/components/SavedInputsV2.svelte +36 -39
- package/package/components/SchemaForm.svelte +26 -19
- package/package/components/SchemaFormWithArgPicker.svelte +34 -29
- package/package/components/SchemaFormWithArgPicker.svelte.d.ts +12 -21
- package/package/components/SchemaViewer.svelte +56 -53
- package/package/components/ScriptBuilder.svelte +13 -13
- package/package/components/ScriptEditor.svelte +574 -98
- package/package/components/Section.svelte +5 -3
- package/package/components/ServiceLogsInner.svelte +21 -82
- package/package/components/ShareModal.svelte.d.ts +1 -1
- package/package/components/SimpleEditor.svelte +46 -2
- package/package/components/Star.svelte +13 -31
- package/package/components/Star.svelte.d.ts +8 -21
- package/package/components/StringTypeNarrowing.svelte +1 -0
- package/package/components/StringTypeNarrowing.svelte.d.ts +1 -1
- package/package/components/SummaryPathDisplay.svelte +177 -0
- package/package/components/SummaryPathDisplay.svelte.d.ts +10 -0
- package/package/components/SuperadminSettings.svelte +185 -4
- package/package/components/SuperadminSettings.svelte.d.ts +4 -1
- package/package/components/SuperadminSettingsInner.svelte +307 -192
- package/package/components/SuperadminSettingsInner.svelte.d.ts +12 -1
- package/package/components/TaggedTextInput.svelte +449 -0
- package/package/components/TaggedTextInput.svelte.d.ts +28 -0
- package/package/components/TemplateEditor.svelte +54 -29
- package/package/components/TemplateEditor.svelte.d.ts +13 -102
- package/package/components/TimeAgo.svelte +49 -7
- package/package/components/TimeAgo.svelte.d.ts +1 -0
- package/package/components/Toast.svelte +72 -50
- package/package/components/Toast.svelte.d.ts +2 -2
- package/package/components/Tooltip.svelte +2 -2
- package/package/components/Tooltip.svelte.d.ts +2 -0
- package/package/components/TooltipInner.svelte +6 -1
- package/package/components/TooltipInner.svelte.d.ts +1 -0
- package/package/components/Uptodate.svelte +3 -2
- package/package/components/UserSettings.svelte +3 -3
- package/package/components/UserSettings.svelte.d.ts +1 -0
- package/package/components/WorkerGroup.svelte +353 -210
- package/package/components/WorkerGroup.svelte.d.ts +3 -0
- package/package/components/WorkerTagPicker.svelte +1 -1
- package/package/components/WorkerTagSelect.svelte +5 -2
- package/package/components/WorkspaceDependenciesEditor.svelte +33 -17
- package/package/components/WorkspaceTutorials.svelte +5 -0
- package/package/components/ZitadelSetting.svelte +3 -2
- package/package/components/aiProviderStorage.d.ts +5 -0
- package/package/components/aiProviderStorage.js +50 -0
- package/package/components/apps/components/buttons/AppButton.svelte +21 -6
- package/package/components/apps/components/buttons/AppForm.svelte +2 -1
- package/package/components/apps/components/buttons/AppFormButton.svelte +2 -1
- package/package/components/apps/components/display/InsertRowDrawerButton.svelte +1 -1
- package/package/components/apps/components/display/dbtable/AppDbExplorer.svelte +24 -16
- package/package/components/apps/components/display/dbtable/dbFeatures.d.ts +9 -0
- package/package/components/apps/components/display/dbtable/dbFeatures.js +32 -0
- package/package/components/apps/components/display/dbtable/metadata.d.ts +4 -3
- package/package/components/apps/components/display/dbtable/metadata.js +178 -148
- package/package/components/apps/components/display/dbtable/queries/alterTable.d.ts +46 -0
- package/package/components/apps/components/display/dbtable/queries/alterTable.js +322 -0
- package/package/components/apps/components/display/dbtable/queries/alterTable.test.d.ts +1 -0
- package/package/components/apps/components/display/dbtable/queries/alterTable.test.js +867 -0
- package/package/components/apps/components/display/dbtable/queries/count.js +3 -1
- package/package/components/apps/components/display/dbtable/queries/createTable.d.ts +2 -24
- package/package/components/apps/components/display/dbtable/queries/createTable.js +13 -25
- package/package/components/apps/components/display/dbtable/queries/dbQueriesUtils.d.ts +9 -0
- package/package/components/apps/components/display/dbtable/queries/dbQueriesUtils.js +45 -0
- package/package/components/apps/components/display/dbtable/queries/delete.js +3 -1
- package/package/components/apps/components/display/dbtable/queries/insert.js +3 -1
- package/package/components/apps/components/display/dbtable/queries/relationalKeys.d.ts +45 -0
- package/package/components/apps/components/display/dbtable/queries/relationalKeys.js +401 -0
- package/package/components/apps/components/display/dbtable/queries/select.d.ts +2 -0
- package/package/components/apps/components/display/dbtable/queries/select.js +52 -7
- package/package/components/apps/components/display/dbtable/queries/update.js +3 -1
- package/package/components/apps/components/display/dbtable/tableEditor.d.ts +35 -0
- package/package/components/apps/components/display/dbtable/tableEditor.js +67 -0
- package/package/components/apps/components/display/dbtable/utils.d.ts +2 -0
- package/package/components/apps/components/display/dbtable/utils.js +61 -36
- package/package/components/apps/components/display/table/AppAggridExplorerTable.svelte +6 -0
- package/package/components/apps/components/display/table/AppAggridInfiniteTable.svelte +1 -0
- package/package/components/apps/components/display/table/AppAggridTable.svelte +15 -0
- package/package/components/apps/components/display/table/AppAggridTableActions.svelte +16 -10
- package/package/components/apps/components/display/table/AppAggridTableActions.svelte.d.ts +2 -1
- package/package/components/apps/components/display/table/theme/windmill-theme.css +8 -7
- package/package/components/apps/components/helpers/HiddenComponent.svelte +1 -1
- package/package/components/apps/components/helpers/InputValue.svelte +1 -1
- package/package/components/apps/components/helpers/ResolveConfig.svelte +1 -1
- package/package/components/apps/components/helpers/RunnableComponent.svelte +3 -2
- package/package/components/apps/components/helpers/RunnableComponent.svelte.d.ts +1 -1
- package/package/components/apps/components/helpers/RunnableWrapper.svelte +2 -2
- package/package/components/apps/components/helpers/eval.js +5 -2
- package/package/components/apps/components/inputs/AppMultiSelectV2.svelte +2 -4
- package/package/components/apps/components/layout/AppModal.svelte +2 -1
- package/package/components/apps/components/layout/AppModal.svelte.d.ts +1 -0
- package/package/components/apps/editor/AppEditorHeader.svelte +8 -1
- package/package/components/apps/editor/AppEditorHeaderDeploy.svelte +32 -29
- package/package/components/apps/editor/AppEditorHeaderDeploy.svelte.d.ts +2 -2
- package/package/components/apps/editor/AppEditorHeaderDeployInitialDraft.svelte +4 -4
- package/package/components/apps/editor/AppEditorHeaderDeployInitialDraft.svelte.d.ts +3 -3
- package/package/components/apps/editor/PublicApp.svelte +49 -30
- package/package/components/apps/editor/PublicApp.svelte.d.ts +1 -0
- package/package/components/apps/editor/appPolicy.js +5 -4
- package/package/components/apps/editor/appUtils.d.ts +1 -1
- package/package/components/apps/editor/component/components.d.ts +11 -0
- package/package/components/apps/editor/component/components.js +19 -2
- package/package/components/apps/editor/componentsPanel/CssProperty.svelte +3 -1
- package/package/components/apps/editor/inlineScriptsPanel/CacheTtlPopup.svelte +1 -1
- package/package/components/apps/editor/inlineScriptsPanel/InlineScriptRunnableByPath.svelte +77 -7
- package/package/components/apps/editor/inlineScriptsPanel/InlineScriptRunnableByPath.svelte.d.ts +2 -2
- package/package/components/apps/editor/inlineScriptsPanel/utils.d.ts +2 -2
- package/package/components/apps/editor/inlineScriptsPanel/utils.js +10 -1
- package/package/components/apps/editor/settingsPanel/ArrayStaticInputEditor.svelte +1 -1
- package/package/components/apps/editor/settingsPanel/OneOfInputSpecsEditor.svelte +1 -1
- package/package/components/apps/editor/settingsPanel/StylePanel.svelte +66 -29
- package/package/components/apps/editor/settingsPanel/StylePanel.svelte.d.ts +2 -17
- package/package/components/apps/editor/settingsPanel/inputEditor/StaticInputEditor.svelte +10 -0
- package/package/components/apps/inputType.d.ts +8 -3
- package/package/components/assets/AssetButtons.svelte +3 -7
- package/package/components/assets/AssetButtons.svelte.d.ts +2 -4
- package/package/components/assets/AssetColumnBadges.svelte +35 -0
- package/package/components/assets/AssetColumnBadges.svelte.d.ts +10 -0
- package/package/components/assets/AssetsDropdownButton.svelte +9 -7
- package/package/components/assets/AssetsUsageDrawer.svelte +100 -27
- package/package/components/assets/AssetsUsageDrawer.svelte.d.ts +5 -6
- package/package/components/assets/JobAssetsViewer.svelte +4 -6
- package/package/components/assets/assetsFilter.d.ts +50 -0
- package/package/components/assets/assetsFilter.js +43 -0
- package/package/components/assets/lib.d.ts +6 -4
- package/package/components/assets/lib.js +11 -2
- package/package/components/auditLogs/AuditLogsFilters.svelte +39 -18
- package/package/components/auditLogs/AuditLogsFilters.svelte.d.ts +1 -1
- package/package/components/common/CloseButton.svelte +2 -1
- package/package/components/common/CloseButton.svelte.d.ts +1 -0
- package/package/components/common/InlineCalendarInput.svelte +580 -0
- package/package/components/common/InlineCalendarInput.svelte.d.ts +31 -0
- package/package/components/common/alert/Alert.svelte +2 -8
- package/package/components/common/alert/model.d.ts +1 -0
- package/package/components/common/alert/model.js +7 -0
- package/package/components/common/badge/Badge.svelte +7 -3
- package/package/components/common/badge/Badge.svelte.d.ts +1 -0
- package/package/components/common/badge/CountBadge.svelte +4 -3
- package/package/components/common/badge/CountBadge.svelte.d.ts +1 -0
- package/package/components/common/breadcrumb/Breadcrumb.svelte +10 -14
- package/package/components/common/breadcrumb/Breadcrumb.svelte.d.ts +8 -23
- package/package/components/common/button/Button.svelte +1 -1
- package/package/components/common/button/model.js +1 -1
- package/package/components/common/calendarPicker/CalendarPicker.svelte.d.ts +1 -1
- package/package/components/common/confirmationModal/ConfirmationModal.svelte +2 -1
- package/package/components/common/confirmationModal/ConfirmationModal.svelte.d.ts +1 -0
- package/package/components/common/drawer/Drawer.svelte +4 -1
- package/package/components/common/drawer/DrawerContent.svelte +7 -4
- package/package/components/common/drawer/DrawerContent.svelte.d.ts +1 -0
- package/package/components/common/languageIcons/TypeScript.svelte +5 -3
- package/package/components/common/languageIcons/TypeScript.svelte.d.ts +1 -0
- package/package/components/common/modal/Modal.svelte +3 -3
- package/package/components/common/modal/Modal2.svelte +1 -0
- package/package/components/common/seconds/SecondsInput.svelte +158 -67
- package/package/components/common/seconds/SecondsInput.svelte.d.ts +9 -21
- package/package/components/common/sidebar/SidebarNavigation.svelte +50 -0
- package/package/components/common/sidebar/SidebarNavigation.svelte.d.ts +25 -0
- package/package/components/common/table/AppRow.svelte +7 -7
- package/package/components/common/table/AppRow.svelte.d.ts +2 -2
- package/package/components/common/table/FlowRow.svelte +12 -12
- package/package/components/common/table/FlowRow.svelte.d.ts +2 -2
- package/package/components/common/table/RawAppRow.svelte +5 -79
- package/package/components/common/table/RawAppRow.svelte.d.ts +2 -23
- package/package/components/common/table/Row.svelte +11 -21
- package/package/components/common/table/Row.svelte.d.ts +3 -21
- package/package/components/common/table/RowIcon.svelte +6 -2
- package/package/components/common/table/RowIcon.svelte.d.ts +1 -1
- package/package/components/common/table/ScriptRow.svelte +8 -8
- package/package/components/common/table/ScriptRow.svelte.d.ts +2 -2
- package/package/components/common/toggleButton-v2/ToggleButtonGroup.svelte +1 -1
- package/package/components/common/toggleButton-v2/ToggleButtonGroup.svelte.d.ts +1 -1
- package/package/components/copilot/TestAIKey.svelte +1 -1
- package/package/components/copilot/autocomplete/Autocompletor.d.ts +1 -1
- package/package/components/copilot/autocomplete/Autocompletor.js +7 -6
- package/package/components/copilot/autocomplete/request.js +13 -9
- package/package/components/copilot/chat/AIButtonStyle.d.ts +1 -1
- package/package/components/copilot/chat/AIButtonStyle.js +2 -1
- package/package/components/copilot/chat/AIChat.svelte +3 -1
- package/package/components/copilot/chat/AIChatDisplay.svelte +89 -4
- package/package/components/copilot/chat/AIChatInput.svelte +291 -5
- package/package/components/copilot/chat/AIChatManager.svelte.js +122 -18
- package/package/components/copilot/chat/AiChatLayout.svelte +15 -30
- package/package/components/copilot/chat/AppAvailableContextList.svelte +263 -0
- package/package/components/copilot/chat/AppAvailableContextList.svelte.d.ts +13 -0
- package/package/components/copilot/chat/AvailableContextList.svelte +215 -12
- package/package/components/copilot/chat/AvailableContextList.svelte.d.ts +1 -0
- package/package/components/copilot/chat/ContextElementBadge.svelte +44 -0
- package/package/components/copilot/chat/ContextTextarea.svelte +15 -2
- package/package/components/copilot/chat/DatatableCreationPolicy.svelte +32 -33
- package/package/components/copilot/chat/ProviderModelSelector.svelte +1 -1
- package/package/components/copilot/chat/__tests__/app/appEvalHelpers.js +3 -0
- package/package/components/copilot/chat/__tests__/app/variants/streamlined.js +1 -1
- package/package/components/copilot/chat/__tests__/flow/flowEvalHelpers.js +4 -0
- package/package/components/copilot/chat/__tests__/flow/variants/minimal-single-tool.js +4 -2
- package/package/components/copilot/chat/app/core.d.ts +56 -15
- package/package/components/copilot/chat/app/core.js +148 -108
- package/package/components/copilot/chat/context.js +9 -2
- package/package/components/copilot/chat/flow/FlowAIChat.svelte +22 -0
- package/package/components/copilot/chat/flow/core.d.ts +3 -1
- package/package/components/copilot/chat/flow/core.js +221 -62
- package/package/components/copilot/chat/flow/openFlow.json +1 -1
- package/package/components/copilot/chat/flow/openFlowZod.d.ts +3 -2
- package/package/components/copilot/chat/flow/openFlowZod.js +16 -6
- package/package/components/copilot/chat/navigator/core.d.ts +2 -2
- package/package/components/copilot/chat/navigator/core.js +11 -2
- package/package/components/copilot/chat/script/core.d.ts +4 -1
- package/package/components/copilot/chat/script/core.js +46 -6
- package/package/components/copilot/chat/shared.d.ts +63 -1
- package/package/components/copilot/chat/shared.js +251 -1
- package/package/components/copilot/lib.d.ts +1 -1
- package/package/components/copilot/lib.js +44 -9
- package/package/components/copilot/utils.d.ts +5 -0
- package/package/components/copilot/utils.js +8 -0
- package/package/components/custom_ui.d.ts +2 -0
- package/package/components/dbOps.d.ts +18 -4
- package/package/components/dbOps.js +25 -3
- package/package/components/debug/DebugConsole.svelte +277 -0
- package/package/components/debug/DebugConsole.svelte.d.ts +13 -0
- package/package/components/debug/DebugPanel.svelte +97 -0
- package/package/components/debug/DebugPanel.svelte.d.ts +11 -0
- package/package/components/debug/DebugToolbar.svelte +148 -0
- package/package/components/debug/DebugToolbar.svelte.d.ts +17 -0
- package/package/components/debug/DebugVariableViewer.svelte +115 -0
- package/package/components/debug/DebugVariableViewer.svelte.d.ts +11 -0
- package/package/components/debug/MonacoDebugger.svelte +384 -0
- package/package/components/debug/MonacoDebugger.svelte.d.ts +15 -0
- package/package/components/debug/dapClient.d.ts +192 -0
- package/package/components/debug/dapClient.js +426 -0
- package/package/components/debug/debugUtils.d.ts +30 -0
- package/package/components/debug/debugUtils.js +131 -0
- package/package/components/debug/index.d.ts +75 -0
- package/package/components/debug/index.js +82 -0
- package/package/components/dedicated_worker.d.ts +7 -0
- package/package/components/dedicated_worker.js +36 -0
- package/package/components/details/DetailPageHeader.svelte +11 -12
- package/package/components/details/DetailPageHeader.svelte.d.ts +3 -1
- package/package/components/details/DetailPageLayout.svelte +11 -2
- package/package/components/details/DetailPageLayout.svelte.d.ts +1 -0
- package/package/components/details/createAppFromScript.d.ts +136 -16
- package/package/components/details/createAppFromScript.js +13 -12
- package/package/components/diffEditorTypes.d.ts +6 -0
- package/package/components/diffEditorTypes.js +1 -0
- package/package/components/flows/CreateActionsApp.svelte +32 -80
- package/package/components/flows/CreateActionsFlow.svelte +28 -28
- package/package/components/flows/DebounceLimit.svelte.d.ts +1 -1
- package/package/components/flows/FlowAssetsHandler.svelte +1 -4
- package/package/components/flows/FlowHistoryInner.svelte +15 -4
- package/package/components/flows/FlowProgressBar.svelte +37 -1
- package/package/components/flows/FlowProgressBar.svelte.d.ts +3 -0
- package/package/components/flows/agentToolUtils.d.ts +18 -0
- package/package/components/flows/agentToolUtils.js +47 -0
- package/package/components/flows/common/FlowCardHeader.svelte +8 -9
- package/package/components/flows/content/AgentToolWrapper.svelte +1 -1
- package/package/components/flows/content/FlowEditorDrawer.svelte +124 -0
- package/package/components/{schema/SchemaPicker.svelte.d.ts → flows/content/FlowEditorDrawer.svelte.d.ts} +8 -13
- package/package/components/flows/content/FlowEnvironmentVariables.svelte +3 -2
- package/package/components/flows/content/FlowInput.svelte +211 -37
- package/package/components/flows/content/FlowLoop.svelte +3 -4
- package/package/components/flows/content/FlowModuleCache.svelte +1 -3
- package/package/components/flows/content/FlowModuleComponent.svelte +571 -69
- package/package/components/flows/content/FlowModuleEarlyStop.svelte +8 -10
- package/package/components/flows/content/FlowModuleHeader.svelte +7 -4
- package/package/components/flows/content/FlowModuleSleep.svelte +1 -1
- package/package/components/flows/content/FlowModuleWorkerTagSelect.svelte +1 -1
- package/package/components/flows/content/FlowResult.svelte +77 -25
- package/package/components/flows/content/FlowRetries.svelte +1 -1
- package/package/components/flows/content/FlowSettings.svelte +4 -7
- package/package/components/flows/content/McpOAuthConnect.svelte +217 -0
- package/package/components/flows/content/McpOAuthConnect.svelte.d.ts +7 -0
- package/package/components/flows/content/McpToolEditor.svelte +50 -37
- package/package/components/flows/content/McpToolEditor.svelte.d.ts +0 -1
- package/package/components/flows/conversations/FlowChat.svelte +16 -2
- package/package/components/flows/conversations/FlowChat.svelte.d.ts +2 -1
- package/package/components/flows/conversations/FlowChatInterface.svelte +103 -6
- package/package/components/flows/conversations/FlowChatInterface.svelte.d.ts +2 -0
- package/package/components/flows/conversations/FlowChatManager.svelte.js +53 -21
- package/package/components/flows/conversations/FlowConversationsSidebar.svelte +79 -77
- package/package/components/flows/flowState.js +6 -0
- package/package/components/flows/flowStateUtils.svelte.js +4 -1
- package/package/components/flows/flowStore.svelte.d.ts +1 -1
- package/package/components/flows/flowStore.svelte.js +4 -2
- package/package/components/flows/header/FlowImportExportMenu.svelte +1 -1
- package/package/components/flows/header/FlowPreviewButtons.svelte +2 -1
- package/package/components/flows/header/FlowYamlEditor.svelte +2 -2
- package/package/components/flows/map/FlowModuleSchemaMap.svelte +12 -6
- package/package/components/flows/map/FlowModuleSchemaMap.svelte.d.ts +2 -2
- package/package/components/flows/map/InsertModuleInner.svelte +7 -0
- package/package/components/flows/map/InsertModuleInner.svelte.d.ts +1 -0
- package/package/components/flows/missingInputWarnings.js +7 -0
- package/package/components/flows/pickers/PickHubScriptQuick.svelte +4 -4
- package/package/components/flows/propPicker/OutputPicker.svelte +1 -1
- package/package/components/flows/propPicker/OutputPickerInner.svelte.d.ts +1 -1
- package/package/components/flows/propPicker/PropPickerWrapper.svelte +9 -10
- package/package/components/flows/propPicker/PropPickerWrapper.svelte.d.ts +3 -3
- package/package/components/flows/scheduleUtils.js +2 -2
- package/package/components/flows/types.d.ts +3 -3
- package/package/components/flows/utils.svelte.js +5 -1
- package/package/components/git_sync/GitSyncRepositoryCard.svelte +33 -23
- package/package/components/git_sync/GitSyncSection.svelte +24 -27
- package/package/components/graph/FlowGraphV2.svelte +8 -2
- package/package/components/graph/graphBuilder.svelte.d.ts +3 -1
- package/package/components/graph/model.d.ts +1 -1
- package/package/components/graph/renderers/nodes/AIToolNode.svelte +3 -1
- package/package/components/graph/renderers/nodes/AssetNode.svelte +25 -13
- package/package/components/graph/renderers/nodes/AssetsOverflowedNode.svelte +1 -1
- package/package/components/graph/renderers/nodes/NewAIToolNode.svelte +8 -0
- package/package/components/graph/renderers/triggers/TriggersBadge.svelte +44 -24
- package/package/components/home/Item.svelte +9 -15
- package/package/components/home/Item.svelte.d.ts +8 -7
- package/package/components/home/ItemsList.svelte +11 -16
- package/package/components/home/ItemsList.svelte.d.ts +1 -0
- package/package/components/home/TutorialBanner.svelte +34 -18
- package/package/components/home/treeViewUtils.js +1 -1
- package/package/components/icons/CssIcon.svelte +20 -0
- package/package/components/icons/CssIcon.svelte.d.ts +7 -25
- package/package/components/icons/GoogleCalendarIcon.svelte +41 -0
- package/package/components/icons/GoogleCalendarIcon.svelte.d.ts +7 -0
- package/package/components/icons/GoogleDriveIcon.svelte +30 -0
- package/package/components/icons/GoogleDriveIcon.svelte.d.ts +7 -0
- package/package/components/icons/GoogleIcon.svelte +15 -6
- package/package/components/icons/GoogleIcon.svelte.d.ts +5 -2
- package/package/components/icons/HtmlIcon.svelte +20 -0
- package/package/components/icons/HtmlIcon.svelte.d.ts +8 -0
- package/package/components/icons/JavaScriptIcon.svelte +10 -2
- package/package/components/icons/JavaScriptIcon.svelte.d.ts +1 -0
- package/package/components/icons/JsonIcon.svelte +8 -2
- package/package/components/icons/JsonIcon.svelte.d.ts +1 -0
- package/package/components/icons/LessIcon.svelte +16 -0
- package/package/components/icons/LessIcon.svelte.d.ts +8 -0
- package/package/components/icons/MSSqlServerIcon.svelte +111 -47
- package/package/components/icons/MarkdownIcon.svelte +20 -0
- package/package/components/icons/MarkdownIcon.svelte.d.ts +8 -0
- package/package/components/icons/NextcloudIcon.svelte +3 -2
- package/package/components/icons/NextcloudIcon.svelte.d.ts +2 -0
- package/package/components/icons/PocketIdIcon.svelte +9 -0
- package/package/components/icons/PocketIdIcon.svelte.d.ts +9 -0
- package/package/components/icons/ReactIcon.svelte +10 -2
- package/package/components/icons/ReactIcon.svelte.d.ts +1 -0
- package/package/components/icons/SassIcon.svelte +28 -0
- package/package/components/icons/SassIcon.svelte.d.ts +8 -0
- package/package/components/icons/SvelteIcon.svelte +10 -2
- package/package/components/icons/SvelteIcon.svelte.d.ts +1 -0
- package/package/components/icons/VueIcon.svelte +10 -2
- package/package/components/icons/VueIcon.svelte.d.ts +1 -0
- package/package/components/icons/YamlIcon.svelte +20 -0
- package/package/components/icons/YamlIcon.svelte.d.ts +8 -0
- package/package/components/icons/index.js +3 -1
- package/package/components/instanceSettings/IndexerJobIndexSettings.svelte +94 -0
- package/package/components/instanceSettings/IndexerJobIndexSettings.svelte.d.ts +9 -0
- package/package/components/instanceSettings/IndexerLogIndexSettings.svelte +67 -0
- package/package/components/instanceSettings/IndexerLogIndexSettings.svelte.d.ts +9 -0
- package/package/components/instanceSettings/IndexerMemorySettings.svelte +109 -0
- package/package/components/instanceSettings/IndexerMemorySettings.svelte.d.ts +9 -0
- package/package/components/instanceSettings/SecretBackendConfig.svelte +513 -0
- package/package/components/instanceSettings/SecretBackendConfig.svelte.d.ts +8 -0
- package/package/components/instanceSettings/SettingCard.svelte +47 -0
- package/package/components/instanceSettings/SettingCard.svelte.d.ts +19 -0
- package/package/components/instanceSettings/SettingsSearchInput.svelte +66 -0
- package/package/components/instanceSettings/SettingsSearchInput.svelte.d.ts +9 -0
- package/package/components/instanceSettings.d.ts +54 -1
- package/package/components/instanceSettings.js +444 -68
- package/package/components/jobs/JobPreview.svelte +46 -39
- package/package/components/jobs/JobPreview.svelte.d.ts +1 -0
- package/package/components/meltComponents/MenuItem.svelte +1 -0
- package/package/components/meltComponents/Popover.svelte +10 -1
- package/package/components/meltComponents/Popover.svelte.d.ts +2 -0
- package/package/components/meltComponents/Tooltip.svelte +2 -1
- package/package/components/meltComponents/Tooltip.svelte.d.ts +1 -0
- package/package/components/monacoLanguagesOptions.js +16 -15
- package/package/components/moveRenameManager.d.ts +21 -0
- package/package/components/moveRenameManager.js +61 -0
- package/package/components/progressBar/ProgressBar.svelte +69 -27
- package/package/components/progressBar/ProgressBar.svelte.d.ts +7 -0
- package/package/components/prop_picker.d.ts +0 -3
- package/package/components/propertyPicker/PropPicker.svelte +47 -48
- package/package/components/propertyPicker/PropPicker.svelte.d.ts +12 -9
- package/package/components/raw_apps/DefaultDatabaseSelector.svelte +9 -5
- package/package/components/raw_apps/FileEditorIcon.svelte +12 -7
- package/package/components/raw_apps/FileEditorIcon.svelte.d.ts +2 -0
- package/package/components/raw_apps/FileTreeNode.svelte +120 -83
- package/package/components/raw_apps/RawAppBackgroundRunner.svelte +91 -10
- package/package/components/raw_apps/RawAppDataTableDrawer.svelte +1 -3
- package/package/components/raw_apps/RawAppDataTableList.svelte +12 -9
- package/package/components/raw_apps/RawAppEditor.svelte +237 -83
- package/package/components/raw_apps/RawAppEditor.svelte.d.ts +4 -4
- package/package/components/raw_apps/RawAppEditorHeader.svelte +105 -22
- package/package/components/raw_apps/RawAppEditorHeader.svelte.d.ts +1 -1
- package/package/components/raw_apps/RawAppHistoryList.svelte +264 -80
- package/package/components/raw_apps/RawAppHistoryList.svelte.d.ts +1 -0
- package/package/components/raw_apps/RawAppHistoryManager.svelte.d.ts +15 -1
- package/package/components/raw_apps/RawAppHistoryManager.svelte.js +46 -12
- package/package/components/raw_apps/RawAppInlineScriptEditor.svelte +549 -47
- package/package/components/raw_apps/RawAppInlineScriptEditor.svelte.d.ts +32 -7
- package/package/components/raw_apps/RawAppInlineScriptPanelList.svelte +66 -19
- package/package/components/raw_apps/RawAppInlineScriptPanelList.svelte.d.ts +1 -0
- package/package/components/raw_apps/RawAppInlineScriptRunnable.svelte +141 -10
- package/package/components/raw_apps/RawAppInlineScriptRunnable.svelte.d.ts +8 -0
- package/package/components/raw_apps/RawAppInlineScriptsPanel.svelte +2 -1
- package/package/components/raw_apps/RawAppInlineScriptsPanel.svelte.d.ts +9 -2
- package/package/components/raw_apps/RawAppInputsSpecEditor.svelte +47 -3
- package/package/components/raw_apps/RawAppInputsSpecEditor.svelte.d.ts +2 -2
- package/package/components/raw_apps/RawAppModules.svelte +13 -7
- package/package/components/raw_apps/RawAppPreview.svelte +48 -6
- package/package/components/raw_apps/RawAppSidebar.svelte +52 -235
- package/package/components/raw_apps/RawAppSidebar.svelte.d.ts +2 -1
- package/package/components/raw_apps/RunnableRow.svelte +95 -0
- package/package/components/raw_apps/RunnableRow.svelte.d.ts +15 -0
- package/package/components/raw_apps/datatableUtils.svelte.js +1 -1
- package/package/components/raw_apps/utils.d.ts +1 -1
- package/package/components/raw_apps/utils.js +76 -18
- package/package/components/resources/resourcesFilter.d.ts +70 -0
- package/package/components/resources/resourcesFilter.js +61 -0
- package/package/components/runs/BatchReRunOptionsPane.svelte +130 -121
- package/package/components/runs/BatchReRunOptionsPane.svelte.d.ts +3 -2
- package/package/components/runs/FlowExecutionStatus.svelte +30 -0
- package/package/components/runs/FlowExecutionStatus.svelte.d.ts +15 -0
- package/package/components/runs/JobDetailFieldConfig.d.ts +47 -0
- package/package/components/runs/JobDetailFieldConfig.js +433 -0
- package/package/components/runs/JobDetailHeader.svelte +551 -0
- package/package/components/runs/JobDetailHeader.svelte.d.ts +17 -0
- package/package/components/runs/JobRunsPreview.svelte +174 -218
- package/package/components/runs/JobRunsPreview.svelte.d.ts +0 -1
- package/package/components/runs/JobStatusIcon.svelte +47 -0
- package/package/components/runs/JobStatusIcon.svelte.d.ts +9 -0
- package/package/components/runs/NoWorkerWithTagWarning.svelte +5 -1
- package/package/components/runs/RunBadges.svelte +39 -34
- package/package/components/runs/RunBadges.svelte.d.ts +2 -1
- package/package/components/runs/RunRow.svelte +24 -64
- package/package/components/runs/RunRow.svelte.d.ts +1 -2
- package/package/components/runs/RunsQueue.svelte.d.ts +1 -1
- package/package/components/runs/RunsTable.svelte +312 -131
- package/package/components/runs/RunsTable.svelte.d.ts +4 -3
- package/package/components/runs/TimeframeSelect.svelte +189 -0
- package/package/components/runs/TimeframeSelect.svelte.d.ts +44 -0
- package/package/components/runs/runsFilter.d.ts +201 -0
- package/package/components/runs/runsFilter.js +182 -0
- package/package/components/runs/useJobsLoader.svelte.d.ts +32 -0
- package/package/components/runs/useJobsLoader.svelte.js +504 -0
- package/package/components/schedules/schedulesFilter.d.ts +65 -0
- package/package/components/schedules/schedulesFilter.js +60 -0
- package/package/components/schema/EditableSchemaWrapper.svelte +45 -24
- package/package/components/schema/EditableSchemaWrapper.svelte.d.ts +1 -1
- package/package/components/schema/FlowPropertyEditor.svelte.d.ts +1 -1
- package/package/components/schema/PropertyEditor.svelte +1 -0
- package/package/components/schema/RunningJobSchemaPicker.svelte +1 -1
- package/package/components/schema/editable_schema_wrapper.d.ts +1 -0
- package/package/components/scriptEditor/LogPanel.svelte +17 -2
- package/package/components/scriptEditor/LogPanel.svelte.d.ts +2 -0
- package/package/components/scripts/CreateActionsScript.svelte +0 -1
- package/package/components/search/GlobalSearchModal.svelte +1 -8
- package/package/components/select/GenericDropdown.svelte +113 -0
- package/package/components/select/GenericDropdown.svelte.d.ts +37 -0
- package/package/components/select/MultiSelect.svelte +1 -1
- package/package/components/select/Select.svelte +17 -4
- package/package/components/select/Select.svelte.d.ts +2 -1
- package/package/components/select/SelectDropdown.svelte +76 -143
- package/package/components/select/SelectDropdown.svelte.d.ts +4 -1
- package/package/components/settings/AIPromptsModal.svelte +88 -0
- package/package/components/settings/AIPromptsModal.svelte.d.ts +11 -0
- package/package/components/settings/ChangeWorkspaceColor.svelte +11 -11
- package/package/components/settings/ChangeWorkspaceId.svelte +20 -17
- package/package/components/settings/ChangeWorkspaceName.svelte +13 -14
- package/package/components/settings/CreateToken.svelte +4 -4
- package/package/components/settings/PremiumInfo.svelte +268 -128
- package/package/components/settings/SettingsPageHeader.svelte +22 -0
- package/package/components/settings/SettingsPageHeader.svelte.d.ts +10 -0
- package/package/components/settings/UserAIPromptsSettings.svelte +56 -15
- package/package/components/settings/WorkspaceOperatorSettings.svelte +68 -85
- package/package/components/settings/WorkspaceUserSettings.svelte +543 -427
- package/package/components/sidebar/CriticalAlertModalInner.svelte +28 -22
- package/package/components/sidebar/CriticalAlertModalInner.svelte.d.ts +5 -20
- package/package/components/sidebar/DarkModeToggle.svelte +2 -2
- package/package/components/sidebar/FavoriteMenu.svelte +101 -20
- package/package/components/sidebar/FavoriteMenu.svelte.d.ts +29 -1
- package/package/components/sidebar/MenuButton.svelte +60 -27
- package/package/components/sidebar/MenuButton.svelte.d.ts +4 -0
- package/package/components/sidebar/MenuLink.svelte +4 -3
- package/package/components/sidebar/MultiplayerMenu.svelte +4 -4
- package/package/components/sidebar/OperatorMenu.svelte +66 -89
- package/package/components/sidebar/OperatorMenu.svelte.d.ts +6 -1
- package/package/components/sidebar/SidebarContent.svelte +42 -9
- package/package/components/sidebar/UserMenu.svelte +3 -3
- package/package/components/sidebar/WorkspaceMenu.svelte +37 -86
- package/package/components/sqlTypeService.js +4 -3
- package/package/components/table/AutoDataTable.svelte +2 -2
- package/package/components/table/DataTable.svelte +8 -3
- package/package/components/table/DataTable.svelte.d.ts +2 -0
- package/package/components/text_input/TextInput.svelte +3 -0
- package/package/components/text_input/TextInput.svelte.d.ts +2 -0
- package/package/components/toast.js +1 -2
- package/package/components/triggers/AddTriggersButton.svelte +28 -4
- package/package/components/triggers/TriggerFilters.svelte +71 -0
- package/package/components/triggers/TriggerFilters.svelte.d.ts +10 -0
- package/package/components/triggers/TriggersEditor.svelte +34 -10
- package/package/components/triggers/TriggersWrapper.svelte +24 -0
- package/package/components/triggers/http/RouteEditorInner.svelte +1 -1
- package/package/components/triggers/kafka/KafkaTriggerEditorInner.svelte +7 -0
- package/package/components/triggers/kafka/utils.js +1 -0
- package/package/components/triggers/native/NativeTriggerEditor.svelte +384 -0
- package/package/components/triggers/native/NativeTriggerEditor.svelte.d.ts +26 -0
- package/package/components/triggers/native/NativeTriggerTable.svelte +171 -0
- package/package/components/triggers/native/NativeTriggerTable.svelte.d.ts +16 -0
- package/package/components/triggers/native/NativeTriggersPanel.svelte +40 -0
- package/package/components/triggers/native/NativeTriggersPanel.svelte.d.ts +15 -0
- package/package/components/triggers/native/services/google/GoogleCalendarPicker.svelte +112 -0
- package/package/components/triggers/native/services/google/GoogleCalendarPicker.svelte.d.ts +8 -0
- package/package/components/triggers/native/services/google/GoogleDrivePicker.svelte +323 -0
- package/package/components/triggers/native/services/google/GoogleDrivePicker.svelte.d.ts +8 -0
- package/package/components/triggers/native/services/google/GoogleTriggerForm.svelte +116 -0
- package/package/components/triggers/native/services/google/GoogleTriggerForm.svelte.d.ts +12 -0
- package/package/components/triggers/native/services/nextcloud/NextcloudTriggerForm.svelte +104 -0
- package/package/components/triggers/native/services/nextcloud/NextcloudTriggerForm.svelte.d.ts +18 -0
- package/package/components/triggers/native/utils.d.ts +73 -0
- package/package/components/triggers/native/utils.js +166 -0
- package/package/components/triggers/schedules/ScheduleEditorInner.svelte +3 -3
- package/package/components/triggers/triggers.svelte.d.ts +2 -1
- package/package/components/triggers/triggers.svelte.js +44 -8
- package/package/components/triggers/utils.js +46 -7
- package/package/components/triggers/websocket/WebsocketEditorConfigSection.svelte +1 -1
- package/package/components/triggers/websocket/WebsocketTriggerEditorInner.svelte +3 -81
- package/package/components/triggers.d.ts +1 -1
- package/package/components/tutorials/FlowBuilderLiveTutorial.svelte +6 -35
- package/package/components/tutorials/RunsTutorial.svelte +399 -0
- package/package/components/{flows/propPicker/FlowPropPicker.svelte.d.ts → tutorials/RunsTutorial.svelte.d.ts} +11 -8
- package/package/components/tutorials/TroubleshootFlowTutorial.svelte +5 -20
- package/package/components/tutorials/utils.d.ts +16 -0
- package/package/components/tutorials/utils.js +96 -0
- package/package/components/tutorials/workspace/WorkspaceOnboardingOperatorTutorial.svelte +133 -0
- package/package/components/{SavedInputs.svelte.d.ts → tutorials/workspace/WorkspaceOnboardingOperatorTutorial.svelte.d.ts} +8 -11
- package/package/components/variables/variablesFilter.d.ts +56 -0
- package/package/components/variables/variablesFilter.js +51 -0
- package/package/components/vscode.js +6 -6
- package/package/components/waitJob.d.ts +1 -1
- package/package/components/waitJob.js +3 -2
- package/package/components/worker_group.d.ts +2 -0
- package/package/components/worker_group.js +15 -0
- package/package/components/workspace/WorkspaceCard.svelte +184 -0
- package/package/components/workspace/WorkspaceCard.svelte.d.ts +24 -0
- package/package/components/workspace/WorkspaceIcon.svelte +21 -0
- package/package/components/workspace/WorkspaceIcon.svelte.d.ts +9 -0
- package/package/components/workspace/WorkspaceTreeView.svelte +331 -0
- package/package/components/workspace/WorkspaceTreeView.svelte.d.ts +15 -0
- package/package/components/workspaceSettings/AISettings.svelte +149 -116
- package/package/components/workspaceSettings/AISettings.svelte.d.ts +2 -0
- package/package/components/workspaceSettings/CreateWorkspace.svelte +30 -16
- package/package/components/workspaceSettings/CustomInstanceDbSelect.svelte +1 -0
- package/package/components/workspaceSettings/CustomInstanceDbWizardModal.svelte +3 -1
- package/package/components/workspaceSettings/CustomInstanceDbWizardModal.svelte.d.ts +1 -2
- package/package/components/workspaceSettings/DataTableSettings.svelte +29 -17
- package/package/components/workspaceSettings/DataTableSettings.svelte.d.ts +1 -0
- package/package/components/workspaceSettings/DucklakeSettings.svelte +75 -41
- package/package/components/workspaceSettings/DucklakeSettings.svelte.d.ts +3 -1
- package/package/components/workspaceSettings/GitSyncFilterSettings.svelte +24 -66
- package/package/components/workspaceSettings/ModelTokenLimits.svelte +18 -26
- package/package/components/workspaceSettings/OAuthClientConfig.svelte +151 -0
- package/package/components/workspaceSettings/OAuthClientConfig.svelte.d.ts +21 -0
- package/package/components/workspaceSettings/RulesetEditor.svelte +280 -0
- package/package/components/workspaceSettings/RulesetEditor.svelte.d.ts +9 -0
- package/package/components/workspaceSettings/SettingsFooter.svelte +35 -0
- package/package/components/workspaceSettings/SettingsFooter.svelte.d.ts +12 -0
- package/package/components/workspaceSettings/StorageSettings.svelte +322 -264
- package/package/components/workspaceSettings/StorageSettings.svelte.d.ts +2 -0
- package/package/components/workspaceSettings/WorkspaceDependenciesSettings.svelte +66 -27
- package/package/components/workspaceSettings/WorkspaceIntegrations.svelte +466 -0
- package/package/components/workspaceSettings/WorkspaceIntegrations.svelte.d.ts +3 -0
- package/package/components/workspaceSettings/WorkspaceRulesets.svelte +183 -0
- package/package/components/workspaceSettings/WorkspaceRulesets.svelte.d.ts +3 -0
- package/package/consts.js +4 -3
- package/package/editorLangUtils.d.ts +1 -1
- package/package/gen/core/OpenAPI.js +1 -1
- package/package/gen/schemas.gen.d.ts +1654 -215
- package/package/gen/schemas.gen.js +1987 -494
- package/package/gen/services.gen.d.ts +511 -59
- package/package/gen/services.gen.js +1064 -170
- package/package/gen/types.gen.d.ts +3687 -728
- package/package/hub.d.ts +1 -0
- package/package/hub.js +9 -2
- package/package/hubPaths.json +4 -2
- package/package/infer.d.ts +2 -0
- package/package/infer.js +2 -0
- package/package/logout.d.ts +0 -2
- package/package/logout.js +2 -23
- package/package/logoutKit.d.ts +2 -0
- package/package/logoutKit.js +26 -0
- package/package/mcpEndpointTools.d.ts +3 -0
- package/package/mcpEndpointTools.js +574 -147
- package/package/monaco_workers/graphql.worker.bundle.js +121 -121
- package/package/navigation.d.ts +1 -1
- package/package/rawAppWmillTs.d.ts +11 -0
- package/package/rawAppWmillTs.js +42 -4
- package/package/refreshUser.d.ts +5 -1
- package/package/refreshUser.js +20 -30
- package/package/scripts.d.ts +1 -1
- package/package/scripts.js +1 -1
- package/package/storeUtils.js +10 -0
- package/package/stores.d.ts +1 -1
- package/package/stores.js +4 -2
- package/package/svelte5Utils.svelte.d.ts +108 -1
- package/package/svelte5Utils.svelte.js +351 -2
- package/package/svelte5UtilsKit.svelte.d.ts +13 -0
- package/package/svelte5UtilsKit.svelte.js +106 -0
- package/package/system_prompts/prompts.d.ts +5 -5
- package/package/system_prompts/prompts.js +94 -21
- package/package/toast.d.ts +5 -1
- package/package/toast.js +14 -5
- package/package/tutorialUtils.js +0 -4
- package/package/tutorials/config.js +31 -3
- package/package/tutorials/roleUtils.d.ts +1 -1
- package/package/tutorials/roleUtils.js +6 -2
- package/package/utils.js +376 -8
- package/package/utils_deployable.d.ts +25 -25
- package/package/utils_deployable.js +2 -1
- package/package/validators/workspaceSettings.d.ts +12 -0
- package/package/validators/workspaceSettings.js +72 -0
- package/package/workspaceProtectionRules.svelte.d.ts +73 -0
- package/package/workspaceProtectionRules.svelte.js +176 -0
- package/package.json +8 -5
- package/package/components/DropdownSelect.svelte +0 -26
- package/package/components/DropdownSelect.svelte.d.ts +0 -11
- package/package/components/FlowPreviewResult.svelte +0 -88
- package/package/components/FlowPreviewResult.svelte.d.ts +0 -20
- package/package/components/SavedInputs.svelte +0 -416
- package/package/components/copilot/chat/context.d.ts +0 -62
- package/package/components/flows/propPicker/FlowPropPicker.svelte +0 -72
- package/package/components/runs/JobsLoader.svelte +0 -468
- package/package/components/runs/JobsLoader.svelte.d.ts +0 -49
- package/package/components/runs/ManuelDatePicker.svelte +0 -96
- package/package/components/runs/ManuelDatePicker.svelte.d.ts +0 -35
- package/package/components/runs/RunsBatchActionsDropdown.svelte +0 -82
- package/package/components/runs/RunsBatchActionsDropdown.svelte.d.ts +0 -15
- package/package/components/runs/RunsFilter.svelte +0 -954
- package/package/components/runs/RunsFilter.svelte.d.ts +0 -49
- package/package/components/schema/SchemaPicker.svelte +0 -92
|
@@ -17,6 +17,10 @@ export const $OpenFlow = {
|
|
|
17
17
|
schema: {
|
|
18
18
|
type: 'object',
|
|
19
19
|
description: "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')"
|
|
20
|
+
},
|
|
21
|
+
on_behalf_of_email: {
|
|
22
|
+
type: 'string',
|
|
23
|
+
description: 'The flow will be run with the permissions of the user with this email.'
|
|
20
24
|
}
|
|
21
25
|
},
|
|
22
26
|
required: ['summary', 'value']
|
|
@@ -327,13 +331,17 @@ export const $InputTransform = {
|
|
|
327
331
|
},
|
|
328
332
|
{
|
|
329
333
|
'$ref': '#/components/schemas/JavascriptTransform'
|
|
334
|
+
},
|
|
335
|
+
{
|
|
336
|
+
'$ref': '#/components/schemas/AiTransform'
|
|
330
337
|
}
|
|
331
338
|
],
|
|
332
339
|
discriminator: {
|
|
333
340
|
propertyName: 'type',
|
|
334
341
|
mapping: {
|
|
335
342
|
static: '#/components/schemas/StaticTransform',
|
|
336
|
-
javascript: '#/components/schemas/JavascriptTransform'
|
|
343
|
+
javascript: '#/components/schemas/JavascriptTransform',
|
|
344
|
+
ai: '#/components/schemas/AiTransform'
|
|
337
345
|
}
|
|
338
346
|
}
|
|
339
347
|
};
|
|
@@ -366,6 +374,108 @@ export const $JavascriptTransform = {
|
|
|
366
374
|
},
|
|
367
375
|
required: ['expr', 'type']
|
|
368
376
|
};
|
|
377
|
+
export const $AiTransform = {
|
|
378
|
+
type: 'object',
|
|
379
|
+
description: 'Value resolved by the AI runtime for this input. The AI engine decides how to satisfy the parameter.',
|
|
380
|
+
properties: {
|
|
381
|
+
type: {
|
|
382
|
+
type: 'string',
|
|
383
|
+
enum: ['ai']
|
|
384
|
+
}
|
|
385
|
+
},
|
|
386
|
+
required: ['type']
|
|
387
|
+
};
|
|
388
|
+
export const $ProviderConfig = {
|
|
389
|
+
type: 'object',
|
|
390
|
+
description: 'Complete AI provider configuration with resource reference and model selection',
|
|
391
|
+
properties: {
|
|
392
|
+
kind: {
|
|
393
|
+
type: 'string',
|
|
394
|
+
description: 'Supported AI provider types',
|
|
395
|
+
enum: ['openai', 'azure_openai', 'anthropic', 'mistral', 'deepseek', 'googleai', 'groq', 'openrouter', 'togetherai', 'customai', 'aws_bedrock']
|
|
396
|
+
},
|
|
397
|
+
resource: {
|
|
398
|
+
type: 'string',
|
|
399
|
+
description: "Resource reference in format '$res:{resource_path}' pointing to provider credentials"
|
|
400
|
+
},
|
|
401
|
+
model: {
|
|
402
|
+
type: 'string',
|
|
403
|
+
description: "Model identifier (e.g., 'gpt-4', 'claude-3-opus-20240229', 'gemini-pro')"
|
|
404
|
+
}
|
|
405
|
+
},
|
|
406
|
+
required: ['kind', 'resource', 'model']
|
|
407
|
+
};
|
|
408
|
+
export const $MemoryConfig = {
|
|
409
|
+
description: 'Conversation memory configuration',
|
|
410
|
+
oneOf: [
|
|
411
|
+
{
|
|
412
|
+
type: 'object',
|
|
413
|
+
description: 'No conversation memory/context',
|
|
414
|
+
properties: {
|
|
415
|
+
kind: {
|
|
416
|
+
type: 'string',
|
|
417
|
+
enum: ['off']
|
|
418
|
+
}
|
|
419
|
+
},
|
|
420
|
+
required: ['kind']
|
|
421
|
+
},
|
|
422
|
+
{
|
|
423
|
+
type: 'object',
|
|
424
|
+
description: 'Automatic context management',
|
|
425
|
+
properties: {
|
|
426
|
+
kind: {
|
|
427
|
+
type: 'string',
|
|
428
|
+
enum: ['auto']
|
|
429
|
+
},
|
|
430
|
+
context_length: {
|
|
431
|
+
type: 'integer',
|
|
432
|
+
description: 'Maximum number of messages to retain in context'
|
|
433
|
+
},
|
|
434
|
+
memory_id: {
|
|
435
|
+
type: 'string',
|
|
436
|
+
description: 'Identifier for persistent memory across agent invocations'
|
|
437
|
+
}
|
|
438
|
+
},
|
|
439
|
+
required: ['kind']
|
|
440
|
+
},
|
|
441
|
+
{
|
|
442
|
+
type: 'object',
|
|
443
|
+
description: 'Explicit message history',
|
|
444
|
+
properties: {
|
|
445
|
+
kind: {
|
|
446
|
+
type: 'string',
|
|
447
|
+
enum: ['manual']
|
|
448
|
+
},
|
|
449
|
+
messages: {
|
|
450
|
+
type: 'array',
|
|
451
|
+
items: {
|
|
452
|
+
type: 'object',
|
|
453
|
+
description: 'A single message in conversation history',
|
|
454
|
+
properties: {
|
|
455
|
+
role: {
|
|
456
|
+
type: 'string',
|
|
457
|
+
enum: ['user', 'assistant', 'system']
|
|
458
|
+
},
|
|
459
|
+
content: {
|
|
460
|
+
type: 'string'
|
|
461
|
+
}
|
|
462
|
+
},
|
|
463
|
+
required: ['role', 'content']
|
|
464
|
+
}
|
|
465
|
+
}
|
|
466
|
+
},
|
|
467
|
+
required: ['kind', 'messages']
|
|
468
|
+
}
|
|
469
|
+
],
|
|
470
|
+
discriminator: {
|
|
471
|
+
propertyName: 'kind',
|
|
472
|
+
mapping: {
|
|
473
|
+
off: '#/components/schemas/MemoryOff',
|
|
474
|
+
auto: '#/components/schemas/MemoryAuto',
|
|
475
|
+
manual: '#/components/schemas/MemoryManual'
|
|
476
|
+
}
|
|
477
|
+
}
|
|
478
|
+
};
|
|
369
479
|
export const $FlowModuleValue = {
|
|
370
480
|
description: 'The actual implementation of a flow step. Can be a script (inline or referenced), subflow, loop, branch, or special module type',
|
|
371
481
|
oneOf: [
|
|
@@ -430,7 +540,7 @@ export const $RawScript = {
|
|
|
430
540
|
language: {
|
|
431
541
|
type: 'string',
|
|
432
542
|
description: 'Programming language for this script',
|
|
433
|
-
enum: ['deno', 'bun', 'python3', 'go', 'bash', 'powershell', 'postgresql', 'mysql', 'bigquery', 'snowflake', 'mssql', 'oracledb', 'graphql', 'nativets', 'php']
|
|
543
|
+
enum: ['deno', 'bun', 'python3', 'go', 'bash', 'powershell', 'postgresql', 'mysql', 'bigquery', 'snowflake', 'mssql', 'oracledb', 'graphql', 'nativets', 'php', 'rust', 'ansible', 'csharp', 'nu', 'java', 'ruby', 'duckdb']
|
|
434
544
|
},
|
|
435
545
|
path: {
|
|
436
546
|
type: 'string',
|
|
@@ -482,11 +592,13 @@ export const $RawScript = {
|
|
|
482
592
|
},
|
|
483
593
|
access_type: {
|
|
484
594
|
type: 'string',
|
|
595
|
+
nullable: true,
|
|
485
596
|
description: 'Access level for this asset',
|
|
486
597
|
enum: ['r', 'w', 'rw']
|
|
487
598
|
},
|
|
488
599
|
alt_access_type: {
|
|
489
600
|
type: 'string',
|
|
601
|
+
nullable: true,
|
|
490
602
|
description: 'Alternative access level',
|
|
491
603
|
enum: ['r', 'w', 'rw']
|
|
492
604
|
}
|
|
@@ -714,34 +826,151 @@ export const $AiAgent = {
|
|
|
714
826
|
description: 'Input parameters for the AI agent mapped to their values',
|
|
715
827
|
properties: {
|
|
716
828
|
provider: {
|
|
717
|
-
|
|
829
|
+
description: 'Provider configuration - can be static (ProviderConfig), JavaScript expression, or AI-determined',
|
|
830
|
+
oneOf: [
|
|
831
|
+
{
|
|
832
|
+
type: 'object',
|
|
833
|
+
description: 'Static provider configuration passed directly to the AI agent',
|
|
834
|
+
properties: {
|
|
835
|
+
value: {
|
|
836
|
+
'$ref': '#/components/schemas/ProviderConfig'
|
|
837
|
+
},
|
|
838
|
+
type: {
|
|
839
|
+
type: 'string',
|
|
840
|
+
enum: ['static']
|
|
841
|
+
}
|
|
842
|
+
},
|
|
843
|
+
required: ['type', 'value']
|
|
844
|
+
},
|
|
845
|
+
{
|
|
846
|
+
'$ref': '#/components/schemas/JavascriptTransform'
|
|
847
|
+
},
|
|
848
|
+
{
|
|
849
|
+
'$ref': '#/components/schemas/AiTransform'
|
|
850
|
+
}
|
|
851
|
+
],
|
|
852
|
+
discriminator: {
|
|
853
|
+
propertyName: 'type',
|
|
854
|
+
mapping: {
|
|
855
|
+
static: '#/components/schemas/StaticProviderTransform',
|
|
856
|
+
javascript: '#/components/schemas/JavascriptTransform',
|
|
857
|
+
ai: '#/components/schemas/AiTransform'
|
|
858
|
+
}
|
|
859
|
+
}
|
|
718
860
|
},
|
|
719
861
|
output_type: {
|
|
720
|
-
|
|
862
|
+
allOf: [
|
|
863
|
+
{
|
|
864
|
+
'$ref': '#/components/schemas/InputTransform'
|
|
865
|
+
}
|
|
866
|
+
],
|
|
867
|
+
description: `Output format type.
|
|
868
|
+
Valid values: 'text' (default) - plain text response, 'image' - image generation
|
|
869
|
+
`
|
|
721
870
|
},
|
|
722
871
|
user_message: {
|
|
723
|
-
|
|
872
|
+
allOf: [
|
|
873
|
+
{
|
|
874
|
+
'$ref': '#/components/schemas/InputTransform'
|
|
875
|
+
}
|
|
876
|
+
],
|
|
877
|
+
description: "The user's prompt/message to the AI agent. Supports variable interpolation with flow.input syntax."
|
|
724
878
|
},
|
|
725
879
|
system_prompt: {
|
|
726
|
-
|
|
880
|
+
allOf: [
|
|
881
|
+
{
|
|
882
|
+
'$ref': '#/components/schemas/InputTransform'
|
|
883
|
+
}
|
|
884
|
+
],
|
|
885
|
+
description: "System instructions that guide the AI's behavior, persona, and response style. Optional."
|
|
727
886
|
},
|
|
728
887
|
streaming: {
|
|
729
|
-
|
|
888
|
+
allOf: [
|
|
889
|
+
{
|
|
890
|
+
'$ref': '#/components/schemas/InputTransform'
|
|
891
|
+
}
|
|
892
|
+
],
|
|
893
|
+
description: `Boolean. If true, stream the AI response incrementally.
|
|
894
|
+
Streaming events include: token_delta, tool_call, tool_call_arguments, tool_execution, tool_result
|
|
895
|
+
`
|
|
730
896
|
},
|
|
731
897
|
memory: {
|
|
732
|
-
|
|
898
|
+
description: 'Memory configuration - can be static (MemoryConfig), JavaScript expression, or AI-determined',
|
|
899
|
+
oneOf: [
|
|
900
|
+
{
|
|
901
|
+
type: 'object',
|
|
902
|
+
description: 'Static memory configuration passed directly to the AI agent',
|
|
903
|
+
properties: {
|
|
904
|
+
value: {
|
|
905
|
+
'$ref': '#/components/schemas/MemoryConfig'
|
|
906
|
+
},
|
|
907
|
+
type: {
|
|
908
|
+
type: 'string',
|
|
909
|
+
enum: ['static']
|
|
910
|
+
}
|
|
911
|
+
},
|
|
912
|
+
required: ['type', 'value']
|
|
913
|
+
},
|
|
914
|
+
{
|
|
915
|
+
'$ref': '#/components/schemas/JavascriptTransform'
|
|
916
|
+
},
|
|
917
|
+
{
|
|
918
|
+
'$ref': '#/components/schemas/AiTransform'
|
|
919
|
+
}
|
|
920
|
+
],
|
|
921
|
+
discriminator: {
|
|
922
|
+
propertyName: 'type',
|
|
923
|
+
mapping: {
|
|
924
|
+
static: '#/components/schemas/StaticMemoryTransform',
|
|
925
|
+
javascript: '#/components/schemas/JavascriptTransform',
|
|
926
|
+
ai: '#/components/schemas/AiTransform'
|
|
927
|
+
}
|
|
928
|
+
}
|
|
733
929
|
},
|
|
734
930
|
output_schema: {
|
|
735
|
-
|
|
931
|
+
allOf: [
|
|
932
|
+
{
|
|
933
|
+
'$ref': '#/components/schemas/InputTransform'
|
|
934
|
+
}
|
|
935
|
+
],
|
|
936
|
+
description: `JSON Schema object defining structured output format. Used when you need the AI to return data in a specific shape.
|
|
937
|
+
Supports standard JSON Schema properties: type, properties, required, items, enum, pattern, minLength, maxLength, minimum, maximum, etc.
|
|
938
|
+
Example: { type: 'object', properties: { name: { type: 'string' }, age: { type: 'integer' } }, required: ['name'] }
|
|
939
|
+
`
|
|
736
940
|
},
|
|
737
941
|
user_images: {
|
|
738
|
-
|
|
942
|
+
allOf: [
|
|
943
|
+
{
|
|
944
|
+
'$ref': '#/components/schemas/InputTransform'
|
|
945
|
+
}
|
|
946
|
+
],
|
|
947
|
+
description: `Array of image references for vision-capable models.
|
|
948
|
+
Format: Array<{ bucket: string, key: string }> - S3 object references
|
|
949
|
+
Example: [{ bucket: 'my-bucket', key: 'images/photo.jpg' }]
|
|
950
|
+
`
|
|
739
951
|
},
|
|
740
952
|
max_completion_tokens: {
|
|
741
|
-
|
|
953
|
+
allOf: [
|
|
954
|
+
{
|
|
955
|
+
'$ref': '#/components/schemas/InputTransform'
|
|
956
|
+
}
|
|
957
|
+
],
|
|
958
|
+
description: `Integer. Maximum number of tokens the AI will generate in its response.
|
|
959
|
+
Range: 1 to 4,294,967,295. Typical values: 256-4096 for most use cases.
|
|
960
|
+
`
|
|
742
961
|
},
|
|
743
962
|
temperature: {
|
|
744
|
-
|
|
963
|
+
allOf: [
|
|
964
|
+
{
|
|
965
|
+
'$ref': '#/components/schemas/InputTransform'
|
|
966
|
+
}
|
|
967
|
+
],
|
|
968
|
+
description: `Float. Controls randomness/creativity of responses.
|
|
969
|
+
Range: 0.0 to 2.0 (provider-dependent)
|
|
970
|
+
- 0.0 = deterministic, focused responses
|
|
971
|
+
- 0.7 = balanced (common default)
|
|
972
|
+
- 1.0+ = more creative/random
|
|
973
|
+
`
|
|
745
974
|
}
|
|
746
975
|
},
|
|
747
976
|
required: ['provider', 'user_message', 'output_type']
|
|
@@ -1178,169 +1407,583 @@ export const $FlowNote = {
|
|
|
1178
1407
|
},
|
|
1179
1408
|
required: ['id', 'text', 'color', 'type']
|
|
1180
1409
|
};
|
|
1181
|
-
export const $
|
|
1410
|
+
export const $HealthStatusResponse = {
|
|
1182
1411
|
type: 'object',
|
|
1183
|
-
|
|
1412
|
+
description: 'Health status response (cached with 5s TTL)',
|
|
1413
|
+
required: ['status', 'checked_at', 'database_healthy', 'workers_alive'],
|
|
1184
1414
|
properties: {
|
|
1185
|
-
|
|
1186
|
-
type: 'string',
|
|
1187
|
-
format: 'uuid',
|
|
1188
|
-
description: 'Unique identifier for the conversation'
|
|
1189
|
-
},
|
|
1190
|
-
workspace_id: {
|
|
1191
|
-
type: 'string',
|
|
1192
|
-
description: 'The workspace ID where the conversation belongs'
|
|
1193
|
-
},
|
|
1194
|
-
flow_path: {
|
|
1195
|
-
type: 'string',
|
|
1196
|
-
description: 'Path of the flow this conversation is for'
|
|
1197
|
-
},
|
|
1198
|
-
title: {
|
|
1415
|
+
status: {
|
|
1199
1416
|
type: 'string',
|
|
1200
|
-
|
|
1201
|
-
|
|
1417
|
+
enum: ['healthy', 'degraded', 'unhealthy'],
|
|
1418
|
+
description: 'Overall health status'
|
|
1202
1419
|
},
|
|
1203
|
-
|
|
1420
|
+
checked_at: {
|
|
1204
1421
|
type: 'string',
|
|
1205
1422
|
format: 'date-time',
|
|
1206
|
-
description: '
|
|
1423
|
+
description: 'Timestamp when the health check was actually performed (not cache return time)'
|
|
1207
1424
|
},
|
|
1208
|
-
|
|
1209
|
-
type: '
|
|
1210
|
-
|
|
1211
|
-
description: 'When the conversation was last updated'
|
|
1425
|
+
database_healthy: {
|
|
1426
|
+
type: 'boolean',
|
|
1427
|
+
description: 'Whether the database is reachable'
|
|
1212
1428
|
},
|
|
1213
|
-
|
|
1214
|
-
type: '
|
|
1215
|
-
|
|
1429
|
+
workers_alive: {
|
|
1430
|
+
type: 'integer',
|
|
1431
|
+
format: 'int64',
|
|
1432
|
+
description: 'Number of workers that pinged within last 5 minutes'
|
|
1216
1433
|
}
|
|
1217
1434
|
}
|
|
1218
1435
|
};
|
|
1219
|
-
export const $
|
|
1436
|
+
export const $DetailedHealthResponse = {
|
|
1220
1437
|
type: 'object',
|
|
1221
|
-
|
|
1438
|
+
description: 'Detailed health status response (always fresh, no caching)',
|
|
1439
|
+
required: ['status', 'checked_at', 'version', 'checks'],
|
|
1222
1440
|
properties: {
|
|
1223
|
-
|
|
1224
|
-
type: 'string',
|
|
1225
|
-
format: 'uuid',
|
|
1226
|
-
description: 'Unique identifier for the message'
|
|
1227
|
-
},
|
|
1228
|
-
conversation_id: {
|
|
1229
|
-
type: 'string',
|
|
1230
|
-
format: 'uuid',
|
|
1231
|
-
description: 'The conversation this message belongs to'
|
|
1232
|
-
},
|
|
1233
|
-
message_type: {
|
|
1234
|
-
type: 'string',
|
|
1235
|
-
enum: ['user', 'assistant', 'system', 'tool'],
|
|
1236
|
-
description: 'Type of the message'
|
|
1237
|
-
},
|
|
1238
|
-
content: {
|
|
1239
|
-
type: 'string',
|
|
1240
|
-
description: 'The message content'
|
|
1241
|
-
},
|
|
1242
|
-
job_id: {
|
|
1441
|
+
status: {
|
|
1243
1442
|
type: 'string',
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
description: 'Associated job ID if this message came from a flow run'
|
|
1443
|
+
enum: ['healthy', 'degraded', 'unhealthy'],
|
|
1444
|
+
description: 'Overall health status'
|
|
1247
1445
|
},
|
|
1248
|
-
|
|
1446
|
+
checked_at: {
|
|
1249
1447
|
type: 'string',
|
|
1250
1448
|
format: 'date-time',
|
|
1251
|
-
description: '
|
|
1449
|
+
description: 'Timestamp when the health check was performed'
|
|
1252
1450
|
},
|
|
1253
|
-
|
|
1451
|
+
version: {
|
|
1254
1452
|
type: 'string',
|
|
1255
|
-
description: '
|
|
1453
|
+
description: 'Server version (e.g., "EE 1.615.3")'
|
|
1256
1454
|
},
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
description: 'Whether the message is a success'
|
|
1455
|
+
checks: {
|
|
1456
|
+
'$ref': '#/components/schemas/HealthChecks'
|
|
1260
1457
|
}
|
|
1261
1458
|
}
|
|
1262
1459
|
};
|
|
1263
|
-
export const $
|
|
1460
|
+
export const $HealthChecks = {
|
|
1264
1461
|
type: 'object',
|
|
1265
|
-
|
|
1462
|
+
description: 'Detailed health checks',
|
|
1463
|
+
required: ['database', 'readiness'],
|
|
1266
1464
|
properties: {
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
description: 'The tool name/operation ID'
|
|
1270
|
-
},
|
|
1271
|
-
description: {
|
|
1272
|
-
type: 'string',
|
|
1273
|
-
description: 'Short description of the tool'
|
|
1274
|
-
},
|
|
1275
|
-
instructions: {
|
|
1276
|
-
type: 'string',
|
|
1277
|
-
description: 'Detailed instructions for using the tool'
|
|
1278
|
-
},
|
|
1279
|
-
path: {
|
|
1280
|
-
type: 'string',
|
|
1281
|
-
description: 'API endpoint path'
|
|
1282
|
-
},
|
|
1283
|
-
method: {
|
|
1284
|
-
type: 'string',
|
|
1285
|
-
description: 'HTTP method (GET, POST, etc.)'
|
|
1465
|
+
database: {
|
|
1466
|
+
'$ref': '#/components/schemas/DatabaseHealth'
|
|
1286
1467
|
},
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
description: '
|
|
1468
|
+
workers: {
|
|
1469
|
+
'$ref': '#/components/schemas/WorkersHealth',
|
|
1470
|
+
description: 'Worker status (null if database is unreachable)',
|
|
1290
1471
|
nullable: true
|
|
1291
1472
|
},
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
description: '
|
|
1473
|
+
queue: {
|
|
1474
|
+
'$ref': '#/components/schemas/QueueHealth',
|
|
1475
|
+
description: 'Queue status (null if database is unreachable)',
|
|
1295
1476
|
nullable: true
|
|
1296
1477
|
},
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
description: 'JSON schema for request body',
|
|
1300
|
-
nullable: true
|
|
1478
|
+
readiness: {
|
|
1479
|
+
'$ref': '#/components/schemas/ReadinessHealth'
|
|
1301
1480
|
}
|
|
1302
1481
|
}
|
|
1303
1482
|
};
|
|
1304
|
-
export const $
|
|
1305
|
-
type: '
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1483
|
+
export const $DatabaseHealth = {
|
|
1484
|
+
type: 'object',
|
|
1485
|
+
description: 'Database health status',
|
|
1486
|
+
required: ['healthy', 'latency_ms', 'pool'],
|
|
1487
|
+
properties: {
|
|
1488
|
+
healthy: {
|
|
1489
|
+
type: 'boolean',
|
|
1490
|
+
description: 'Whether the database is reachable'
|
|
1491
|
+
},
|
|
1492
|
+
latency_ms: {
|
|
1493
|
+
type: 'integer',
|
|
1494
|
+
format: 'int64',
|
|
1495
|
+
description: 'Database query latency in milliseconds'
|
|
1496
|
+
},
|
|
1497
|
+
pool: {
|
|
1498
|
+
'$ref': '#/components/schemas/PoolStats'
|
|
1499
|
+
}
|
|
1500
|
+
}
|
|
1311
1501
|
};
|
|
1312
|
-
export const $
|
|
1502
|
+
export const $PoolStats = {
|
|
1313
1503
|
type: 'object',
|
|
1504
|
+
description: 'Database connection pool statistics',
|
|
1505
|
+
required: ['size', 'idle', 'max_connections'],
|
|
1314
1506
|
properties: {
|
|
1315
|
-
|
|
1316
|
-
type: '
|
|
1507
|
+
size: {
|
|
1508
|
+
type: 'integer',
|
|
1509
|
+
description: 'Current number of connections in the pool'
|
|
1317
1510
|
},
|
|
1318
|
-
|
|
1319
|
-
|
|
1511
|
+
idle: {
|
|
1512
|
+
type: 'integer',
|
|
1513
|
+
description: 'Number of idle connections'
|
|
1514
|
+
},
|
|
1515
|
+
max_connections: {
|
|
1516
|
+
type: 'integer',
|
|
1517
|
+
description: 'Maximum number of connections allowed'
|
|
1320
1518
|
}
|
|
1321
|
-
}
|
|
1322
|
-
required: ['model', 'provider']
|
|
1519
|
+
}
|
|
1323
1520
|
};
|
|
1324
|
-
export const $
|
|
1521
|
+
export const $WorkersHealth = {
|
|
1325
1522
|
type: 'object',
|
|
1523
|
+
description: 'Workers health status',
|
|
1524
|
+
required: ['healthy', 'active_count', 'worker_groups', 'min_version', 'versions'],
|
|
1326
1525
|
properties: {
|
|
1327
|
-
|
|
1328
|
-
type: '
|
|
1526
|
+
healthy: {
|
|
1527
|
+
type: 'boolean',
|
|
1528
|
+
description: 'Whether any workers are active'
|
|
1329
1529
|
},
|
|
1330
|
-
|
|
1530
|
+
active_count: {
|
|
1531
|
+
type: 'integer',
|
|
1532
|
+
format: 'int64',
|
|
1533
|
+
description: 'Number of active workers (pinged in last 5 minutes)'
|
|
1534
|
+
},
|
|
1535
|
+
worker_groups: {
|
|
1331
1536
|
type: 'array',
|
|
1332
1537
|
items: {
|
|
1333
1538
|
type: 'string'
|
|
1334
|
-
}
|
|
1539
|
+
},
|
|
1540
|
+
description: 'List of active worker groups'
|
|
1541
|
+
},
|
|
1542
|
+
min_version: {
|
|
1543
|
+
type: 'string',
|
|
1544
|
+
description: 'Minimum required worker version'
|
|
1545
|
+
},
|
|
1546
|
+
versions: {
|
|
1547
|
+
type: 'array',
|
|
1548
|
+
items: {
|
|
1549
|
+
type: 'string'
|
|
1550
|
+
},
|
|
1551
|
+
description: 'List of active worker versions'
|
|
1335
1552
|
}
|
|
1336
|
-
}
|
|
1337
|
-
required: ['resource_path', 'models']
|
|
1553
|
+
}
|
|
1338
1554
|
};
|
|
1339
|
-
export const $
|
|
1555
|
+
export const $QueueHealth = {
|
|
1340
1556
|
type: 'object',
|
|
1557
|
+
description: 'Job queue status',
|
|
1558
|
+
required: ['pending_jobs', 'running_jobs'],
|
|
1341
1559
|
properties: {
|
|
1342
|
-
|
|
1343
|
-
type: '
|
|
1560
|
+
pending_jobs: {
|
|
1561
|
+
type: 'integer',
|
|
1562
|
+
format: 'int64',
|
|
1563
|
+
description: 'Number of pending jobs in the queue'
|
|
1564
|
+
},
|
|
1565
|
+
running_jobs: {
|
|
1566
|
+
type: 'integer',
|
|
1567
|
+
format: 'int64',
|
|
1568
|
+
description: 'Number of currently running jobs'
|
|
1569
|
+
}
|
|
1570
|
+
}
|
|
1571
|
+
};
|
|
1572
|
+
export const $ReadinessHealth = {
|
|
1573
|
+
type: 'object',
|
|
1574
|
+
description: 'Server readiness status',
|
|
1575
|
+
required: ['healthy'],
|
|
1576
|
+
properties: {
|
|
1577
|
+
healthy: {
|
|
1578
|
+
type: 'boolean',
|
|
1579
|
+
description: 'Whether the server is ready to accept requests'
|
|
1580
|
+
}
|
|
1581
|
+
}
|
|
1582
|
+
};
|
|
1583
|
+
export const $AutoInviteConfig = {
|
|
1584
|
+
type: 'object',
|
|
1585
|
+
description: 'Configuration for auto-inviting users to the workspace',
|
|
1586
|
+
properties: {
|
|
1587
|
+
enabled: {
|
|
1588
|
+
type: 'boolean',
|
|
1589
|
+
default: false
|
|
1590
|
+
},
|
|
1591
|
+
domain: {
|
|
1592
|
+
type: 'string'
|
|
1593
|
+
},
|
|
1594
|
+
operator: {
|
|
1595
|
+
type: 'boolean',
|
|
1596
|
+
default: false,
|
|
1597
|
+
description: 'If true, auto-invited users are added as operators. If false, they are added as developers.'
|
|
1598
|
+
},
|
|
1599
|
+
mode: {
|
|
1600
|
+
type: 'string',
|
|
1601
|
+
enum: ['invite', 'add'],
|
|
1602
|
+
default: 'invite'
|
|
1603
|
+
},
|
|
1604
|
+
instance_groups: {
|
|
1605
|
+
type: 'array',
|
|
1606
|
+
items: {
|
|
1607
|
+
type: 'string'
|
|
1608
|
+
}
|
|
1609
|
+
},
|
|
1610
|
+
instance_groups_roles: {
|
|
1611
|
+
type: 'object',
|
|
1612
|
+
additionalProperties: {
|
|
1613
|
+
type: 'string'
|
|
1614
|
+
}
|
|
1615
|
+
}
|
|
1616
|
+
}
|
|
1617
|
+
};
|
|
1618
|
+
export const $ErrorHandlerConfig = {
|
|
1619
|
+
type: 'object',
|
|
1620
|
+
description: 'Configuration for the workspace error handler',
|
|
1621
|
+
properties: {
|
|
1622
|
+
path: {
|
|
1623
|
+
type: 'string',
|
|
1624
|
+
description: 'Path to the error handler script or flow'
|
|
1625
|
+
},
|
|
1626
|
+
extra_args: {
|
|
1627
|
+
'$ref': '#/components/schemas/ScriptArgs'
|
|
1628
|
+
},
|
|
1629
|
+
muted_on_cancel: {
|
|
1630
|
+
type: 'boolean',
|
|
1631
|
+
default: false
|
|
1632
|
+
},
|
|
1633
|
+
muted_on_user_path: {
|
|
1634
|
+
type: 'boolean',
|
|
1635
|
+
default: false
|
|
1636
|
+
}
|
|
1637
|
+
}
|
|
1638
|
+
};
|
|
1639
|
+
export const $SuccessHandlerConfig = {
|
|
1640
|
+
type: 'object',
|
|
1641
|
+
description: 'Configuration for the workspace success handler',
|
|
1642
|
+
properties: {
|
|
1643
|
+
path: {
|
|
1644
|
+
type: 'string',
|
|
1645
|
+
description: 'Path to the success handler script or flow'
|
|
1646
|
+
},
|
|
1647
|
+
extra_args: {
|
|
1648
|
+
'$ref': '#/components/schemas/ScriptArgs'
|
|
1649
|
+
}
|
|
1650
|
+
}
|
|
1651
|
+
};
|
|
1652
|
+
export const $EditErrorHandler = {
|
|
1653
|
+
description: 'Request body for editing the workspace error handler. Accepts both new grouped format and legacy flat format for backward compatibility.',
|
|
1654
|
+
oneOf: [
|
|
1655
|
+
{
|
|
1656
|
+
'$ref': '#/components/schemas/EditErrorHandlerNew'
|
|
1657
|
+
},
|
|
1658
|
+
{
|
|
1659
|
+
'$ref': '#/components/schemas/EditErrorHandlerLegacy'
|
|
1660
|
+
}
|
|
1661
|
+
]
|
|
1662
|
+
};
|
|
1663
|
+
export const $EditErrorHandlerNew = {
|
|
1664
|
+
type: 'object',
|
|
1665
|
+
description: 'New grouped format for editing error handler',
|
|
1666
|
+
properties: {
|
|
1667
|
+
path: {
|
|
1668
|
+
type: 'string',
|
|
1669
|
+
description: 'Path to the error handler script or flow'
|
|
1670
|
+
},
|
|
1671
|
+
extra_args: {
|
|
1672
|
+
'$ref': '#/components/schemas/ScriptArgs'
|
|
1673
|
+
},
|
|
1674
|
+
muted_on_cancel: {
|
|
1675
|
+
type: 'boolean',
|
|
1676
|
+
default: false
|
|
1677
|
+
},
|
|
1678
|
+
muted_on_user_path: {
|
|
1679
|
+
type: 'boolean',
|
|
1680
|
+
default: false
|
|
1681
|
+
}
|
|
1682
|
+
}
|
|
1683
|
+
};
|
|
1684
|
+
export const $EditErrorHandlerLegacy = {
|
|
1685
|
+
type: 'object',
|
|
1686
|
+
description: 'Legacy flat format for editing error handler (deprecated, use new format)',
|
|
1687
|
+
properties: {
|
|
1688
|
+
error_handler: {
|
|
1689
|
+
type: 'string',
|
|
1690
|
+
description: 'Path to the error handler script or flow'
|
|
1691
|
+
},
|
|
1692
|
+
error_handler_extra_args: {
|
|
1693
|
+
'$ref': '#/components/schemas/ScriptArgs'
|
|
1694
|
+
},
|
|
1695
|
+
error_handler_muted_on_cancel: {
|
|
1696
|
+
type: 'boolean',
|
|
1697
|
+
default: false
|
|
1698
|
+
}
|
|
1699
|
+
}
|
|
1700
|
+
};
|
|
1701
|
+
export const $EditSuccessHandler = {
|
|
1702
|
+
description: 'Request body for editing the workspace success handler. Accepts both new grouped format and legacy flat format for backward compatibility.',
|
|
1703
|
+
oneOf: [
|
|
1704
|
+
{
|
|
1705
|
+
'$ref': '#/components/schemas/EditSuccessHandlerNew'
|
|
1706
|
+
},
|
|
1707
|
+
{
|
|
1708
|
+
'$ref': '#/components/schemas/EditSuccessHandlerLegacy'
|
|
1709
|
+
}
|
|
1710
|
+
]
|
|
1711
|
+
};
|
|
1712
|
+
export const $EditSuccessHandlerNew = {
|
|
1713
|
+
type: 'object',
|
|
1714
|
+
description: 'New grouped format for editing success handler',
|
|
1715
|
+
properties: {
|
|
1716
|
+
path: {
|
|
1717
|
+
type: 'string',
|
|
1718
|
+
description: 'Path to the success handler script or flow'
|
|
1719
|
+
},
|
|
1720
|
+
extra_args: {
|
|
1721
|
+
'$ref': '#/components/schemas/ScriptArgs'
|
|
1722
|
+
}
|
|
1723
|
+
}
|
|
1724
|
+
};
|
|
1725
|
+
export const $EditSuccessHandlerLegacy = {
|
|
1726
|
+
type: 'object',
|
|
1727
|
+
description: 'Legacy flat format for editing success handler (deprecated, use new format)',
|
|
1728
|
+
properties: {
|
|
1729
|
+
success_handler: {
|
|
1730
|
+
type: 'string',
|
|
1731
|
+
description: 'Path to the success handler script or flow'
|
|
1732
|
+
},
|
|
1733
|
+
success_handler_extra_args: {
|
|
1734
|
+
'$ref': '#/components/schemas/ScriptArgs'
|
|
1735
|
+
}
|
|
1736
|
+
}
|
|
1737
|
+
};
|
|
1738
|
+
export const $VaultSettings = {
|
|
1739
|
+
type: 'object',
|
|
1740
|
+
required: ['address', 'mount_path'],
|
|
1741
|
+
properties: {
|
|
1742
|
+
address: {
|
|
1743
|
+
type: 'string',
|
|
1744
|
+
description: 'HashiCorp Vault server address (e.g., https://vault.company.com:8200)'
|
|
1745
|
+
},
|
|
1746
|
+
mount_path: {
|
|
1747
|
+
type: 'string',
|
|
1748
|
+
description: 'KV v2 secrets engine mount path (e.g., windmill)'
|
|
1749
|
+
},
|
|
1750
|
+
jwt_role: {
|
|
1751
|
+
type: 'string',
|
|
1752
|
+
description: 'Vault JWT auth role name for Windmill (optional, if not provided token auth is used)'
|
|
1753
|
+
},
|
|
1754
|
+
namespace: {
|
|
1755
|
+
type: 'string',
|
|
1756
|
+
description: 'Vault Enterprise namespace (optional)'
|
|
1757
|
+
},
|
|
1758
|
+
token: {
|
|
1759
|
+
type: 'string',
|
|
1760
|
+
description: 'Static Vault token for testing/development (optional, if provided this is used instead of JWT authentication)'
|
|
1761
|
+
}
|
|
1762
|
+
}
|
|
1763
|
+
};
|
|
1764
|
+
export const $SecretMigrationFailure = {
|
|
1765
|
+
type: 'object',
|
|
1766
|
+
required: ['workspace_id', 'path', 'error'],
|
|
1767
|
+
properties: {
|
|
1768
|
+
workspace_id: {
|
|
1769
|
+
type: 'string',
|
|
1770
|
+
description: 'Workspace ID where the secret is located'
|
|
1771
|
+
},
|
|
1772
|
+
path: {
|
|
1773
|
+
type: 'string',
|
|
1774
|
+
description: 'Path of the secret that failed to migrate'
|
|
1775
|
+
},
|
|
1776
|
+
error: {
|
|
1777
|
+
type: 'string',
|
|
1778
|
+
description: 'Error message'
|
|
1779
|
+
}
|
|
1780
|
+
}
|
|
1781
|
+
};
|
|
1782
|
+
export const $SecretMigrationReport = {
|
|
1783
|
+
type: 'object',
|
|
1784
|
+
required: ['total_secrets', 'migrated_count', 'failed_count', 'failures'],
|
|
1785
|
+
properties: {
|
|
1786
|
+
total_secrets: {
|
|
1787
|
+
type: 'integer',
|
|
1788
|
+
format: 'int64',
|
|
1789
|
+
description: 'Total number of secrets found'
|
|
1790
|
+
},
|
|
1791
|
+
migrated_count: {
|
|
1792
|
+
type: 'integer',
|
|
1793
|
+
format: 'int64',
|
|
1794
|
+
description: 'Number of secrets successfully migrated'
|
|
1795
|
+
},
|
|
1796
|
+
failed_count: {
|
|
1797
|
+
type: 'integer',
|
|
1798
|
+
format: 'int64',
|
|
1799
|
+
description: 'Number of secrets that failed to migrate'
|
|
1800
|
+
},
|
|
1801
|
+
failures: {
|
|
1802
|
+
type: 'array',
|
|
1803
|
+
items: {
|
|
1804
|
+
'$ref': '#/components/schemas/SecretMigrationFailure'
|
|
1805
|
+
},
|
|
1806
|
+
description: 'Details of any failures encountered during migration'
|
|
1807
|
+
}
|
|
1808
|
+
}
|
|
1809
|
+
};
|
|
1810
|
+
export const $JwksResponse = {
|
|
1811
|
+
type: 'object',
|
|
1812
|
+
required: ['keys'],
|
|
1813
|
+
properties: {
|
|
1814
|
+
keys: {
|
|
1815
|
+
type: 'array',
|
|
1816
|
+
items: {
|
|
1817
|
+
type: 'object',
|
|
1818
|
+
additionalProperties: true
|
|
1819
|
+
},
|
|
1820
|
+
description: 'Array of JSON Web Keys for JWT verification'
|
|
1821
|
+
}
|
|
1822
|
+
}
|
|
1823
|
+
};
|
|
1824
|
+
export const $FlowConversation = {
|
|
1825
|
+
type: 'object',
|
|
1826
|
+
required: ['id', 'workspace_id', 'flow_path', 'created_at', 'updated_at', 'created_by'],
|
|
1827
|
+
properties: {
|
|
1828
|
+
id: {
|
|
1829
|
+
type: 'string',
|
|
1830
|
+
format: 'uuid',
|
|
1831
|
+
description: 'Unique identifier for the conversation'
|
|
1832
|
+
},
|
|
1833
|
+
workspace_id: {
|
|
1834
|
+
type: 'string',
|
|
1835
|
+
description: 'The workspace ID where the conversation belongs'
|
|
1836
|
+
},
|
|
1837
|
+
flow_path: {
|
|
1838
|
+
type: 'string',
|
|
1839
|
+
description: 'Path of the flow this conversation is for'
|
|
1840
|
+
},
|
|
1841
|
+
title: {
|
|
1842
|
+
type: 'string',
|
|
1843
|
+
description: 'Optional title for the conversation',
|
|
1844
|
+
nullable: true
|
|
1845
|
+
},
|
|
1846
|
+
created_at: {
|
|
1847
|
+
type: 'string',
|
|
1848
|
+
format: 'date-time',
|
|
1849
|
+
description: 'When the conversation was created'
|
|
1850
|
+
},
|
|
1851
|
+
updated_at: {
|
|
1852
|
+
type: 'string',
|
|
1853
|
+
format: 'date-time',
|
|
1854
|
+
description: 'When the conversation was last updated'
|
|
1855
|
+
},
|
|
1856
|
+
created_by: {
|
|
1857
|
+
type: 'string',
|
|
1858
|
+
description: 'Username who created the conversation'
|
|
1859
|
+
}
|
|
1860
|
+
}
|
|
1861
|
+
};
|
|
1862
|
+
export const $FlowConversationMessage = {
|
|
1863
|
+
type: 'object',
|
|
1864
|
+
required: ['id', 'conversation_id', 'message_type', 'content', 'created_at'],
|
|
1865
|
+
properties: {
|
|
1866
|
+
id: {
|
|
1867
|
+
type: 'string',
|
|
1868
|
+
format: 'uuid',
|
|
1869
|
+
description: 'Unique identifier for the message'
|
|
1870
|
+
},
|
|
1871
|
+
conversation_id: {
|
|
1872
|
+
type: 'string',
|
|
1873
|
+
format: 'uuid',
|
|
1874
|
+
description: 'The conversation this message belongs to'
|
|
1875
|
+
},
|
|
1876
|
+
message_type: {
|
|
1877
|
+
type: 'string',
|
|
1878
|
+
enum: ['user', 'assistant', 'system', 'tool'],
|
|
1879
|
+
description: 'Type of the message'
|
|
1880
|
+
},
|
|
1881
|
+
content: {
|
|
1882
|
+
type: 'string',
|
|
1883
|
+
description: 'The message content'
|
|
1884
|
+
},
|
|
1885
|
+
job_id: {
|
|
1886
|
+
type: 'string',
|
|
1887
|
+
format: 'uuid',
|
|
1888
|
+
nullable: true,
|
|
1889
|
+
description: 'Associated job ID if this message came from a flow run'
|
|
1890
|
+
},
|
|
1891
|
+
created_at: {
|
|
1892
|
+
type: 'string',
|
|
1893
|
+
format: 'date-time',
|
|
1894
|
+
description: 'When the message was created'
|
|
1895
|
+
},
|
|
1896
|
+
step_name: {
|
|
1897
|
+
type: 'string',
|
|
1898
|
+
description: 'The step name that produced that message'
|
|
1899
|
+
},
|
|
1900
|
+
success: {
|
|
1901
|
+
type: 'boolean',
|
|
1902
|
+
description: 'Whether the message is a success'
|
|
1903
|
+
}
|
|
1904
|
+
}
|
|
1905
|
+
};
|
|
1906
|
+
export const $EndpointTool = {
|
|
1907
|
+
type: 'object',
|
|
1908
|
+
required: ['name', 'description', 'instructions', 'path', 'method'],
|
|
1909
|
+
properties: {
|
|
1910
|
+
name: {
|
|
1911
|
+
type: 'string',
|
|
1912
|
+
description: 'The tool name/operation ID'
|
|
1913
|
+
},
|
|
1914
|
+
description: {
|
|
1915
|
+
type: 'string',
|
|
1916
|
+
description: 'Short description of the tool'
|
|
1917
|
+
},
|
|
1918
|
+
instructions: {
|
|
1919
|
+
type: 'string',
|
|
1920
|
+
description: 'Detailed instructions for using the tool'
|
|
1921
|
+
},
|
|
1922
|
+
path: {
|
|
1923
|
+
type: 'string',
|
|
1924
|
+
description: 'API endpoint path'
|
|
1925
|
+
},
|
|
1926
|
+
method: {
|
|
1927
|
+
type: 'string',
|
|
1928
|
+
description: 'HTTP method (GET, POST, etc.)'
|
|
1929
|
+
},
|
|
1930
|
+
path_params_schema: {
|
|
1931
|
+
type: 'object',
|
|
1932
|
+
description: 'JSON schema for path parameters',
|
|
1933
|
+
nullable: true
|
|
1934
|
+
},
|
|
1935
|
+
query_params_schema: {
|
|
1936
|
+
type: 'object',
|
|
1937
|
+
description: 'JSON schema for query parameters',
|
|
1938
|
+
nullable: true
|
|
1939
|
+
},
|
|
1940
|
+
body_schema: {
|
|
1941
|
+
type: 'object',
|
|
1942
|
+
description: 'JSON schema for request body',
|
|
1943
|
+
nullable: true
|
|
1944
|
+
}
|
|
1945
|
+
}
|
|
1946
|
+
};
|
|
1947
|
+
export const $AIProvider = {
|
|
1948
|
+
type: 'string',
|
|
1949
|
+
enum: ['openai', 'azure_openai', 'anthropic', 'mistral', 'deepseek', 'googleai', 'groq', 'openrouter', 'togetherai', 'aws_bedrock', 'customai']
|
|
1950
|
+
};
|
|
1951
|
+
export const $GitSyncObjectType = {
|
|
1952
|
+
type: 'string',
|
|
1953
|
+
enum: ['script', 'flow', 'app', 'folder', 'resource', 'variable', 'secret', 'resourcetype', 'schedule', 'user', 'group', 'trigger', 'settings', 'key']
|
|
1954
|
+
};
|
|
1955
|
+
export const $AIProviderModel = {
|
|
1956
|
+
type: 'object',
|
|
1957
|
+
properties: {
|
|
1958
|
+
model: {
|
|
1959
|
+
type: 'string'
|
|
1960
|
+
},
|
|
1961
|
+
provider: {
|
|
1962
|
+
'$ref': '#/components/schemas/AIProvider'
|
|
1963
|
+
}
|
|
1964
|
+
},
|
|
1965
|
+
required: ['model', 'provider']
|
|
1966
|
+
};
|
|
1967
|
+
export const $AIProviderConfig = {
|
|
1968
|
+
type: 'object',
|
|
1969
|
+
properties: {
|
|
1970
|
+
resource_path: {
|
|
1971
|
+
type: 'string'
|
|
1972
|
+
},
|
|
1973
|
+
models: {
|
|
1974
|
+
type: 'array',
|
|
1975
|
+
items: {
|
|
1976
|
+
type: 'string'
|
|
1977
|
+
}
|
|
1978
|
+
}
|
|
1979
|
+
},
|
|
1980
|
+
required: ['resource_path', 'models']
|
|
1981
|
+
};
|
|
1982
|
+
export const $AIConfig = {
|
|
1983
|
+
type: 'object',
|
|
1984
|
+
properties: {
|
|
1985
|
+
providers: {
|
|
1986
|
+
type: 'object',
|
|
1344
1987
|
additionalProperties: {
|
|
1345
1988
|
'$ref': '#/components/schemas/AIProviderConfig'
|
|
1346
1989
|
}
|
|
@@ -1781,7 +2424,7 @@ export const $ScriptHistory = {
|
|
|
1781
2424
|
export const $ScriptArgs = {
|
|
1782
2425
|
type: 'object',
|
|
1783
2426
|
description: 'The arguments to pass to the script or flow',
|
|
1784
|
-
additionalProperties:
|
|
2427
|
+
additionalProperties: true
|
|
1785
2428
|
};
|
|
1786
2429
|
export const $Input = {
|
|
1787
2430
|
type: 'object',
|
|
@@ -2551,6 +3194,15 @@ export const $Login = {
|
|
|
2551
3194
|
},
|
|
2552
3195
|
required: ['email', 'password']
|
|
2553
3196
|
};
|
|
3197
|
+
export const $PasswordResetResponse = {
|
|
3198
|
+
type: 'object',
|
|
3199
|
+
properties: {
|
|
3200
|
+
message: {
|
|
3201
|
+
type: 'string'
|
|
3202
|
+
}
|
|
3203
|
+
},
|
|
3204
|
+
required: ['message']
|
|
3205
|
+
};
|
|
2554
3206
|
export const $EditWorkspaceUser = {
|
|
2555
3207
|
type: 'object',
|
|
2556
3208
|
properties: {
|
|
@@ -2936,7 +3588,7 @@ export const $MainArgSignature = {
|
|
|
2936
3588
|
};
|
|
2937
3589
|
export const $ScriptLang = {
|
|
2938
3590
|
type: 'string',
|
|
2939
|
-
enum: ['python3', 'deno', 'go', 'bash', 'powershell', 'postgresql', 'mysql', 'bigquery', 'snowflake', 'mssql', 'oracledb', 'graphql', 'nativets', 'bun', 'php', 'rust', 'ansible', 'csharp', 'nu', 'java', 'ruby', 'duckdb']
|
|
3591
|
+
enum: ['python3', 'deno', 'go', 'bash', 'powershell', 'postgresql', 'mysql', 'bigquery', 'snowflake', 'mssql', 'oracledb', 'graphql', 'nativets', 'bun', 'php', 'rust', 'ansible', 'csharp', 'nu', 'java', 'ruby', 'duckdb', 'bunnative']
|
|
2940
3592
|
};
|
|
2941
3593
|
export const $Preview = {
|
|
2942
3594
|
type: 'object',
|
|
@@ -3186,100 +3838,142 @@ export const $Schedule = {
|
|
|
3186
3838
|
type: 'object',
|
|
3187
3839
|
properties: {
|
|
3188
3840
|
path: {
|
|
3189
|
-
type: 'string'
|
|
3841
|
+
type: 'string',
|
|
3842
|
+
description: 'The unique path identifier for this schedule'
|
|
3190
3843
|
},
|
|
3191
3844
|
edited_by: {
|
|
3192
|
-
type: 'string'
|
|
3845
|
+
type: 'string',
|
|
3846
|
+
description: 'Username of the last person who edited this schedule'
|
|
3193
3847
|
},
|
|
3194
3848
|
edited_at: {
|
|
3195
3849
|
type: 'string',
|
|
3196
|
-
format: 'date-time'
|
|
3850
|
+
format: 'date-time',
|
|
3851
|
+
description: 'Timestamp of the last edit'
|
|
3197
3852
|
},
|
|
3198
3853
|
schedule: {
|
|
3199
|
-
type: 'string'
|
|
3854
|
+
type: 'string',
|
|
3855
|
+
description: "Cron expression with 6 fields (seconds, minutes, hours, day of month, month, day of week). Example '0 0 12 * * *' for daily at noon"
|
|
3200
3856
|
},
|
|
3201
3857
|
timezone: {
|
|
3202
|
-
type: 'string'
|
|
3858
|
+
type: 'string',
|
|
3859
|
+
description: "IANA timezone for the schedule (e.g., 'UTC', 'Europe/Paris', 'America/New_York')"
|
|
3203
3860
|
},
|
|
3204
3861
|
enabled: {
|
|
3205
|
-
type: 'boolean'
|
|
3862
|
+
type: 'boolean',
|
|
3863
|
+
description: 'Whether the schedule is currently active and will trigger jobs'
|
|
3206
3864
|
},
|
|
3207
3865
|
script_path: {
|
|
3208
|
-
type: 'string'
|
|
3866
|
+
type: 'string',
|
|
3867
|
+
description: 'Path to the script or flow to execute when triggered'
|
|
3209
3868
|
},
|
|
3210
3869
|
is_flow: {
|
|
3211
|
-
type: 'boolean'
|
|
3870
|
+
type: 'boolean',
|
|
3871
|
+
description: 'True if script_path points to a flow, false if it points to a script'
|
|
3212
3872
|
},
|
|
3213
3873
|
args: {
|
|
3214
|
-
'$ref': '#/components/schemas/ScriptArgs'
|
|
3874
|
+
'$ref': '#/components/schemas/ScriptArgs',
|
|
3875
|
+
nullable: true
|
|
3215
3876
|
},
|
|
3216
3877
|
extra_perms: {
|
|
3217
3878
|
type: 'object',
|
|
3218
3879
|
additionalProperties: {
|
|
3219
3880
|
type: 'boolean'
|
|
3220
|
-
}
|
|
3881
|
+
},
|
|
3882
|
+
description: 'Additional permissions for this schedule'
|
|
3221
3883
|
},
|
|
3222
3884
|
email: {
|
|
3223
|
-
type: 'string'
|
|
3885
|
+
type: 'string',
|
|
3886
|
+
description: 'Email of the user who owns this schedule, used for permissioned_as'
|
|
3224
3887
|
},
|
|
3225
3888
|
error: {
|
|
3226
|
-
type: 'string'
|
|
3889
|
+
type: 'string',
|
|
3890
|
+
nullable: true,
|
|
3891
|
+
description: 'Last error message if the schedule failed to trigger'
|
|
3227
3892
|
},
|
|
3228
3893
|
on_failure: {
|
|
3229
|
-
type: 'string'
|
|
3894
|
+
type: 'string',
|
|
3895
|
+
nullable: true,
|
|
3896
|
+
description: 'Path to a script or flow to run when the scheduled job fails'
|
|
3230
3897
|
},
|
|
3231
3898
|
on_failure_times: {
|
|
3232
|
-
type: 'number'
|
|
3899
|
+
type: 'number',
|
|
3900
|
+
nullable: true,
|
|
3901
|
+
description: 'Number of consecutive failures before the on_failure handler is triggered (default 1)'
|
|
3233
3902
|
},
|
|
3234
3903
|
on_failure_exact: {
|
|
3235
|
-
type: 'boolean'
|
|
3904
|
+
type: 'boolean',
|
|
3905
|
+
nullable: true,
|
|
3906
|
+
description: 'If true, trigger on_failure handler only on exactly N failures, not on every failure after N'
|
|
3236
3907
|
},
|
|
3237
3908
|
on_failure_extra_args: {
|
|
3238
|
-
'$ref': '#/components/schemas/ScriptArgs'
|
|
3909
|
+
'$ref': '#/components/schemas/ScriptArgs',
|
|
3910
|
+
nullable: true
|
|
3239
3911
|
},
|
|
3240
3912
|
on_recovery: {
|
|
3241
|
-
type: 'string'
|
|
3913
|
+
type: 'string',
|
|
3914
|
+
nullable: true,
|
|
3915
|
+
description: 'Path to a script or flow to run when the schedule recovers after failures'
|
|
3242
3916
|
},
|
|
3243
3917
|
on_recovery_times: {
|
|
3244
|
-
type: 'number'
|
|
3918
|
+
type: 'number',
|
|
3919
|
+
nullable: true,
|
|
3920
|
+
description: 'Number of consecutive successes before the on_recovery handler is triggered (default 1)'
|
|
3245
3921
|
},
|
|
3246
3922
|
on_recovery_extra_args: {
|
|
3247
|
-
'$ref': '#/components/schemas/ScriptArgs'
|
|
3923
|
+
'$ref': '#/components/schemas/ScriptArgs',
|
|
3924
|
+
nullable: true
|
|
3248
3925
|
},
|
|
3249
3926
|
on_success: {
|
|
3250
|
-
type: 'string'
|
|
3927
|
+
type: 'string',
|
|
3928
|
+
nullable: true,
|
|
3929
|
+
description: 'Path to a script or flow to run after each successful execution'
|
|
3251
3930
|
},
|
|
3252
3931
|
on_success_extra_args: {
|
|
3253
|
-
'$ref': '#/components/schemas/ScriptArgs'
|
|
3932
|
+
'$ref': '#/components/schemas/ScriptArgs',
|
|
3933
|
+
nullable: true
|
|
3254
3934
|
},
|
|
3255
3935
|
ws_error_handler_muted: {
|
|
3256
|
-
type: 'boolean'
|
|
3936
|
+
type: 'boolean',
|
|
3937
|
+
description: "If true, the workspace-level error handler will not be triggered for this schedule's failures"
|
|
3257
3938
|
},
|
|
3258
3939
|
retry: {
|
|
3259
|
-
'$ref': '#/components/schemas/Retry'
|
|
3940
|
+
'$ref': '#/components/schemas/Retry',
|
|
3941
|
+
nullable: true
|
|
3260
3942
|
},
|
|
3261
3943
|
summary: {
|
|
3262
|
-
type: 'string'
|
|
3944
|
+
type: 'string',
|
|
3945
|
+
nullable: true,
|
|
3946
|
+
description: 'Short summary describing the purpose of this schedule'
|
|
3263
3947
|
},
|
|
3264
3948
|
description: {
|
|
3265
|
-
type: 'string'
|
|
3949
|
+
type: 'string',
|
|
3950
|
+
nullable: true,
|
|
3951
|
+
description: 'Detailed description of what this schedule does'
|
|
3266
3952
|
},
|
|
3267
3953
|
no_flow_overlap: {
|
|
3268
|
-
type: 'boolean'
|
|
3954
|
+
type: 'boolean',
|
|
3955
|
+
description: "If true, skip this schedule's execution if the previous run is still in progress (prevents concurrent runs)"
|
|
3269
3956
|
},
|
|
3270
3957
|
tag: {
|
|
3271
|
-
type: 'string'
|
|
3958
|
+
type: 'string',
|
|
3959
|
+
nullable: true,
|
|
3960
|
+
description: 'Worker tag to route jobs to specific worker groups'
|
|
3272
3961
|
},
|
|
3273
3962
|
paused_until: {
|
|
3274
3963
|
type: 'string',
|
|
3275
|
-
format: 'date-time'
|
|
3964
|
+
format: 'date-time',
|
|
3965
|
+
nullable: true,
|
|
3966
|
+
description: 'ISO 8601 datetime until which the schedule is paused. Schedule resumes automatically after this time'
|
|
3276
3967
|
},
|
|
3277
3968
|
cron_version: {
|
|
3278
|
-
type: 'string'
|
|
3969
|
+
type: 'string',
|
|
3970
|
+
nullable: true,
|
|
3971
|
+
description: "Cron parser version. Use 'v2' for extended syntax with additional features"
|
|
3279
3972
|
},
|
|
3280
3973
|
dynamic_skip: {
|
|
3281
3974
|
type: 'string',
|
|
3282
|
-
|
|
3975
|
+
nullable: true,
|
|
3976
|
+
description: 'Path to a script that validates scheduled datetimes. Receives scheduled_for datetime and returns boolean to skip (true) or run (false)'
|
|
3283
3977
|
}
|
|
3284
3978
|
},
|
|
3285
3979
|
required: ['path', 'edited_by', 'edited_at', 'schedule', 'script_path', 'timezone', 'extra_perms', 'is_flow', 'enabled', 'email']
|
|
@@ -3323,104 +4017,116 @@ export const $NewSchedule = {
|
|
|
3323
4017
|
properties: {
|
|
3324
4018
|
path: {
|
|
3325
4019
|
type: 'string',
|
|
3326
|
-
description: 'The path
|
|
4020
|
+
description: 'The unique path identifier for this schedule'
|
|
3327
4021
|
},
|
|
3328
4022
|
schedule: {
|
|
3329
4023
|
type: 'string',
|
|
3330
|
-
description:
|
|
4024
|
+
description: "Cron expression with 6 fields (seconds, minutes, hours, day of month, month, day of week). Example '0 0 12 * * *' for daily at noon"
|
|
3331
4025
|
},
|
|
3332
4026
|
timezone: {
|
|
3333
4027
|
type: 'string',
|
|
3334
|
-
description:
|
|
4028
|
+
description: "IANA timezone for the schedule (e.g., 'UTC', 'Europe/Paris', 'America/New_York')"
|
|
3335
4029
|
},
|
|
3336
4030
|
script_path: {
|
|
3337
4031
|
type: 'string',
|
|
3338
|
-
description: '
|
|
4032
|
+
description: 'Path to the script or flow to execute when triggered'
|
|
3339
4033
|
},
|
|
3340
4034
|
is_flow: {
|
|
3341
4035
|
type: 'boolean',
|
|
3342
|
-
description: '
|
|
4036
|
+
description: 'True if script_path points to a flow, false if it points to a script'
|
|
3343
4037
|
},
|
|
3344
4038
|
args: {
|
|
3345
|
-
|
|
3346
|
-
|
|
4039
|
+
nullable: true,
|
|
4040
|
+
'$ref': '#/components/schemas/ScriptArgs'
|
|
3347
4041
|
},
|
|
3348
4042
|
enabled: {
|
|
3349
4043
|
type: 'boolean',
|
|
3350
|
-
description: 'Whether the schedule is
|
|
4044
|
+
description: 'Whether the schedule is currently active and will trigger jobs'
|
|
3351
4045
|
},
|
|
3352
4046
|
on_failure: {
|
|
3353
4047
|
type: 'string',
|
|
3354
|
-
|
|
4048
|
+
nullable: true,
|
|
4049
|
+
description: 'Path to a script or flow to run when the scheduled job fails'
|
|
3355
4050
|
},
|
|
3356
4051
|
on_failure_times: {
|
|
3357
4052
|
type: 'number',
|
|
3358
|
-
|
|
4053
|
+
nullable: true,
|
|
4054
|
+
description: 'Number of consecutive failures before the on_failure handler is triggered (default 1)'
|
|
3359
4055
|
},
|
|
3360
4056
|
on_failure_exact: {
|
|
3361
4057
|
type: 'boolean',
|
|
3362
|
-
|
|
4058
|
+
nullable: true,
|
|
4059
|
+
description: 'If true, trigger on_failure handler only on exactly N failures, not on every failure after N'
|
|
3363
4060
|
},
|
|
3364
4061
|
on_failure_extra_args: {
|
|
3365
|
-
|
|
3366
|
-
|
|
4062
|
+
nullable: true,
|
|
4063
|
+
'$ref': '#/components/schemas/ScriptArgs'
|
|
3367
4064
|
},
|
|
3368
4065
|
on_recovery: {
|
|
3369
4066
|
type: 'string',
|
|
3370
|
-
|
|
4067
|
+
nullable: true,
|
|
4068
|
+
description: 'Path to a script or flow to run when the schedule recovers after failures'
|
|
3371
4069
|
},
|
|
3372
4070
|
on_recovery_times: {
|
|
3373
4071
|
type: 'number',
|
|
3374
|
-
|
|
4072
|
+
nullable: true,
|
|
4073
|
+
description: 'Number of consecutive successes before the on_recovery handler is triggered (default 1)'
|
|
3375
4074
|
},
|
|
3376
4075
|
on_recovery_extra_args: {
|
|
3377
|
-
|
|
3378
|
-
|
|
4076
|
+
nullable: true,
|
|
4077
|
+
'$ref': '#/components/schemas/ScriptArgs'
|
|
3379
4078
|
},
|
|
3380
4079
|
on_success: {
|
|
3381
4080
|
type: 'string',
|
|
3382
|
-
|
|
4081
|
+
nullable: true,
|
|
4082
|
+
description: 'Path to a script or flow to run after each successful execution'
|
|
3383
4083
|
},
|
|
3384
4084
|
on_success_extra_args: {
|
|
3385
|
-
|
|
3386
|
-
|
|
4085
|
+
nullable: true,
|
|
4086
|
+
'$ref': '#/components/schemas/ScriptArgs'
|
|
3387
4087
|
},
|
|
3388
4088
|
ws_error_handler_muted: {
|
|
3389
4089
|
type: 'boolean',
|
|
3390
|
-
description:
|
|
4090
|
+
description: "If true, the workspace-level error handler will not be triggered for this schedule's failures"
|
|
3391
4091
|
},
|
|
3392
4092
|
retry: {
|
|
3393
|
-
|
|
3394
|
-
|
|
4093
|
+
nullable: true,
|
|
4094
|
+
'$ref': '#/components/schemas/Retry'
|
|
3395
4095
|
},
|
|
3396
4096
|
no_flow_overlap: {
|
|
3397
4097
|
type: 'boolean',
|
|
3398
|
-
description:
|
|
4098
|
+
description: "If true, skip this schedule's execution if the previous run is still in progress (prevents concurrent runs)"
|
|
3399
4099
|
},
|
|
3400
4100
|
summary: {
|
|
3401
4101
|
type: 'string',
|
|
3402
|
-
|
|
4102
|
+
nullable: true,
|
|
4103
|
+
description: 'Short summary describing the purpose of this schedule'
|
|
3403
4104
|
},
|
|
3404
4105
|
description: {
|
|
3405
4106
|
type: 'string',
|
|
3406
|
-
|
|
4107
|
+
nullable: true,
|
|
4108
|
+
description: 'Detailed description of what this schedule does'
|
|
3407
4109
|
},
|
|
3408
4110
|
tag: {
|
|
3409
4111
|
type: 'string',
|
|
3410
|
-
|
|
4112
|
+
nullable: true,
|
|
4113
|
+
description: 'Worker tag to route jobs to specific worker groups'
|
|
3411
4114
|
},
|
|
3412
4115
|
paused_until: {
|
|
3413
4116
|
type: 'string',
|
|
3414
|
-
|
|
3415
|
-
format: 'date-time'
|
|
4117
|
+
nullable: true,
|
|
4118
|
+
format: 'date-time',
|
|
4119
|
+
description: 'ISO 8601 datetime until which the schedule is paused. Schedule resumes automatically after this time'
|
|
3416
4120
|
},
|
|
3417
4121
|
cron_version: {
|
|
3418
4122
|
type: 'string',
|
|
3419
|
-
|
|
4123
|
+
nullable: true,
|
|
4124
|
+
description: "Cron parser version. Use 'v2' for extended syntax with additional features"
|
|
3420
4125
|
},
|
|
3421
4126
|
dynamic_skip: {
|
|
3422
4127
|
type: 'string',
|
|
3423
|
-
|
|
4128
|
+
nullable: true,
|
|
4129
|
+
description: 'Path to a script that validates scheduled datetimes. Receives scheduled_for datetime and returns boolean to skip (true) or run (false)'
|
|
3424
4130
|
}
|
|
3425
4131
|
},
|
|
3426
4132
|
required: ['path', 'schedule', 'timezone', 'script_path', 'is_flow', 'args']
|
|
@@ -3430,88 +4136,100 @@ export const $EditSchedule = {
|
|
|
3430
4136
|
properties: {
|
|
3431
4137
|
schedule: {
|
|
3432
4138
|
type: 'string',
|
|
3433
|
-
description:
|
|
4139
|
+
description: "Cron expression with 6 fields (seconds, minutes, hours, day of month, month, day of week). Example '0 0 12 * * *' for daily at noon"
|
|
3434
4140
|
},
|
|
3435
4141
|
timezone: {
|
|
3436
4142
|
type: 'string',
|
|
3437
|
-
description:
|
|
4143
|
+
description: "IANA timezone for the schedule (e.g., 'UTC', 'Europe/Paris', 'America/New_York')"
|
|
3438
4144
|
},
|
|
3439
4145
|
args: {
|
|
3440
|
-
|
|
3441
|
-
|
|
4146
|
+
nullable: true,
|
|
4147
|
+
'$ref': '#/components/schemas/ScriptArgs'
|
|
3442
4148
|
},
|
|
3443
4149
|
on_failure: {
|
|
3444
4150
|
type: 'string',
|
|
3445
|
-
|
|
4151
|
+
nullable: true,
|
|
4152
|
+
description: 'Path to a script or flow to run when the scheduled job fails'
|
|
3446
4153
|
},
|
|
3447
4154
|
on_failure_times: {
|
|
3448
4155
|
type: 'number',
|
|
3449
|
-
|
|
4156
|
+
nullable: true,
|
|
4157
|
+
description: 'Number of consecutive failures before the on_failure handler is triggered (default 1)'
|
|
3450
4158
|
},
|
|
3451
4159
|
on_failure_exact: {
|
|
3452
4160
|
type: 'boolean',
|
|
3453
|
-
|
|
4161
|
+
nullable: true,
|
|
4162
|
+
description: 'If true, trigger on_failure handler only on exactly N failures, not on every failure after N'
|
|
3454
4163
|
},
|
|
3455
4164
|
on_failure_extra_args: {
|
|
3456
|
-
|
|
3457
|
-
|
|
4165
|
+
nullable: true,
|
|
4166
|
+
'$ref': '#/components/schemas/ScriptArgs'
|
|
3458
4167
|
},
|
|
3459
4168
|
on_recovery: {
|
|
3460
4169
|
type: 'string',
|
|
3461
|
-
|
|
4170
|
+
nullable: true,
|
|
4171
|
+
description: 'Path to a script or flow to run when the schedule recovers after failures'
|
|
3462
4172
|
},
|
|
3463
4173
|
on_recovery_times: {
|
|
3464
4174
|
type: 'number',
|
|
3465
|
-
|
|
4175
|
+
nullable: true,
|
|
4176
|
+
description: 'Number of consecutive successes before the on_recovery handler is triggered (default 1)'
|
|
3466
4177
|
},
|
|
3467
4178
|
on_recovery_extra_args: {
|
|
3468
|
-
|
|
3469
|
-
|
|
4179
|
+
nullable: true,
|
|
4180
|
+
'$ref': '#/components/schemas/ScriptArgs'
|
|
3470
4181
|
},
|
|
3471
4182
|
on_success: {
|
|
3472
4183
|
type: 'string',
|
|
3473
|
-
|
|
4184
|
+
nullable: true,
|
|
4185
|
+
description: 'Path to a script or flow to run after each successful execution'
|
|
3474
4186
|
},
|
|
3475
4187
|
on_success_extra_args: {
|
|
3476
|
-
|
|
3477
|
-
|
|
4188
|
+
nullable: true,
|
|
4189
|
+
'$ref': '#/components/schemas/ScriptArgs'
|
|
3478
4190
|
},
|
|
3479
4191
|
ws_error_handler_muted: {
|
|
3480
4192
|
type: 'boolean',
|
|
3481
|
-
description:
|
|
4193
|
+
description: "If true, the workspace-level error handler will not be triggered for this schedule's failures"
|
|
3482
4194
|
},
|
|
3483
4195
|
retry: {
|
|
3484
|
-
|
|
3485
|
-
|
|
4196
|
+
nullable: true,
|
|
4197
|
+
'$ref': '#/components/schemas/Retry'
|
|
3486
4198
|
},
|
|
3487
4199
|
no_flow_overlap: {
|
|
3488
4200
|
type: 'boolean',
|
|
3489
|
-
description:
|
|
4201
|
+
description: "If true, skip this schedule's execution if the previous run is still in progress (prevents concurrent runs)"
|
|
3490
4202
|
},
|
|
3491
4203
|
summary: {
|
|
3492
4204
|
type: 'string',
|
|
3493
|
-
|
|
4205
|
+
nullable: true,
|
|
4206
|
+
description: 'Short summary describing the purpose of this schedule'
|
|
3494
4207
|
},
|
|
3495
4208
|
description: {
|
|
3496
4209
|
type: 'string',
|
|
3497
|
-
|
|
4210
|
+
nullable: true,
|
|
4211
|
+
description: 'Detailed description of what this schedule does'
|
|
3498
4212
|
},
|
|
3499
4213
|
tag: {
|
|
3500
4214
|
type: 'string',
|
|
3501
|
-
|
|
4215
|
+
nullable: true,
|
|
4216
|
+
description: 'Worker tag to route jobs to specific worker groups'
|
|
3502
4217
|
},
|
|
3503
4218
|
paused_until: {
|
|
3504
4219
|
type: 'string',
|
|
3505
|
-
|
|
3506
|
-
format: 'date-time'
|
|
4220
|
+
nullable: true,
|
|
4221
|
+
format: 'date-time',
|
|
4222
|
+
description: 'ISO 8601 datetime until which the schedule is paused. Schedule resumes automatically after this time'
|
|
3507
4223
|
},
|
|
3508
4224
|
cron_version: {
|
|
3509
4225
|
type: 'string',
|
|
3510
|
-
|
|
4226
|
+
nullable: true,
|
|
4227
|
+
description: "Cron parser version. Use 'v2' for extended syntax with additional features"
|
|
3511
4228
|
},
|
|
3512
4229
|
dynamic_skip: {
|
|
3513
4230
|
type: 'string',
|
|
3514
|
-
|
|
4231
|
+
nullable: true,
|
|
4232
|
+
description: 'Path to a script that validates scheduled datetimes. Receives scheduled_for datetime and returns boolean to skip (true) or run (false)'
|
|
3515
4233
|
}
|
|
3516
4234
|
},
|
|
3517
4235
|
required: ['schedule', 'timezone', 'args']
|
|
@@ -3519,7 +4237,7 @@ export const $EditSchedule = {
|
|
|
3519
4237
|
export const $JobTriggerKind = {
|
|
3520
4238
|
description: 'job trigger kind (schedule, http, websocket...)',
|
|
3521
4239
|
type: 'string',
|
|
3522
|
-
enum: ['webhook', 'default_email', 'email', 'schedule', 'http', 'websocket', 'postgres', 'kafka', 'nats', 'mqtt', 'sqs', 'gcp']
|
|
4240
|
+
enum: ['webhook', 'default_email', 'email', 'schedule', 'http', 'websocket', 'postgres', 'kafka', 'nats', 'mqtt', 'sqs', 'gcp', 'google']
|
|
3523
4241
|
};
|
|
3524
4242
|
export const $TriggerMode = {
|
|
3525
4243
|
description: 'job trigger mode',
|
|
@@ -3530,35 +4248,44 @@ export const $TriggerExtraProperty = {
|
|
|
3530
4248
|
type: 'object',
|
|
3531
4249
|
properties: {
|
|
3532
4250
|
path: {
|
|
3533
|
-
type: 'string'
|
|
4251
|
+
type: 'string',
|
|
4252
|
+
description: 'The unique path identifier for this trigger'
|
|
3534
4253
|
},
|
|
3535
4254
|
script_path: {
|
|
3536
|
-
type: 'string'
|
|
4255
|
+
type: 'string',
|
|
4256
|
+
description: 'Path to the script or flow to execute when triggered'
|
|
3537
4257
|
},
|
|
3538
4258
|
email: {
|
|
3539
|
-
type: 'string'
|
|
4259
|
+
type: 'string',
|
|
4260
|
+
description: 'Email of the user who owns this trigger, used for permissioned_as'
|
|
3540
4261
|
},
|
|
3541
4262
|
extra_perms: {
|
|
3542
4263
|
type: 'object',
|
|
4264
|
+
description: 'Additional permissions for this trigger',
|
|
3543
4265
|
additionalProperties: {
|
|
3544
4266
|
type: 'boolean'
|
|
3545
4267
|
}
|
|
3546
4268
|
},
|
|
3547
4269
|
workspace_id: {
|
|
3548
|
-
type: 'string'
|
|
4270
|
+
type: 'string',
|
|
4271
|
+
description: 'The workspace this trigger belongs to'
|
|
3549
4272
|
},
|
|
3550
4273
|
edited_by: {
|
|
3551
|
-
type: 'string'
|
|
4274
|
+
type: 'string',
|
|
4275
|
+
description: 'Username of the last person who edited this trigger'
|
|
3552
4276
|
},
|
|
3553
4277
|
edited_at: {
|
|
3554
4278
|
type: 'string',
|
|
3555
|
-
format: 'date-time'
|
|
4279
|
+
format: 'date-time',
|
|
4280
|
+
description: 'Timestamp of the last edit'
|
|
3556
4281
|
},
|
|
3557
4282
|
is_flow: {
|
|
3558
|
-
type: 'boolean'
|
|
4283
|
+
type: 'boolean',
|
|
4284
|
+
description: 'True if script_path points to a flow, false if it points to a script'
|
|
3559
4285
|
},
|
|
3560
4286
|
mode: {
|
|
3561
|
-
'$ref': '#/components/schemas/TriggerMode'
|
|
4287
|
+
'$ref': '#/components/schemas/TriggerMode',
|
|
4288
|
+
description: 'Trigger mode (enabled/disabled)'
|
|
3562
4289
|
}
|
|
3563
4290
|
},
|
|
3564
4291
|
required: ['path', 'script_path', 'email', 'extra_perms', 'workspace_id', 'edited_by', 'edited_at', 'is_flow', 'mode']
|
|
@@ -3699,61 +4426,83 @@ export const $HttpTrigger = {
|
|
|
3699
4426
|
type: 'object',
|
|
3700
4427
|
properties: {
|
|
3701
4428
|
route_path: {
|
|
3702
|
-
type: 'string'
|
|
4429
|
+
type: 'string',
|
|
4430
|
+
description: "The URL route path that will trigger this endpoint (e.g., 'api/myendpoint'). Must NOT start with a /."
|
|
3703
4431
|
},
|
|
3704
4432
|
static_asset_config: {
|
|
3705
4433
|
type: 'object',
|
|
4434
|
+
nullable: true,
|
|
4435
|
+
description: 'Configuration for serving static assets (s3 bucket, storage path, filename)',
|
|
3706
4436
|
properties: {
|
|
3707
4437
|
s3: {
|
|
3708
|
-
type: 'string'
|
|
4438
|
+
type: 'string',
|
|
4439
|
+
description: 'S3 bucket path for static assets'
|
|
3709
4440
|
},
|
|
3710
4441
|
storage: {
|
|
3711
|
-
type: 'string'
|
|
4442
|
+
type: 'string',
|
|
4443
|
+
description: 'Storage path for static assets'
|
|
3712
4444
|
},
|
|
3713
4445
|
filename: {
|
|
3714
|
-
type: 'string'
|
|
4446
|
+
type: 'string',
|
|
4447
|
+
description: 'Filename for the static asset'
|
|
3715
4448
|
}
|
|
3716
4449
|
},
|
|
3717
4450
|
required: ['s3']
|
|
3718
4451
|
},
|
|
3719
4452
|
http_method: {
|
|
3720
|
-
'$ref': '#/components/schemas/HttpMethod'
|
|
4453
|
+
'$ref': '#/components/schemas/HttpMethod',
|
|
4454
|
+
description: 'HTTP method (get, post, put, delete, patch) that triggers this endpoint'
|
|
3721
4455
|
},
|
|
3722
4456
|
authentication_resource_path: {
|
|
3723
|
-
type: 'string'
|
|
4457
|
+
type: 'string',
|
|
4458
|
+
nullable: true,
|
|
4459
|
+
description: 'Path to the resource containing authentication configuration (for api_key, basic_http, custom_script, signature methods)'
|
|
3724
4460
|
},
|
|
3725
4461
|
summary: {
|
|
3726
|
-
type: 'string'
|
|
4462
|
+
type: 'string',
|
|
4463
|
+
nullable: true,
|
|
4464
|
+
description: 'Short summary describing the purpose of this trigger'
|
|
3727
4465
|
},
|
|
3728
4466
|
description: {
|
|
3729
|
-
type: 'string'
|
|
4467
|
+
type: 'string',
|
|
4468
|
+
nullable: true,
|
|
4469
|
+
description: 'Detailed description of what this trigger does'
|
|
3730
4470
|
},
|
|
3731
4471
|
request_type: {
|
|
3732
|
-
'$ref': '#/components/schemas/HttpRequestType'
|
|
4472
|
+
'$ref': '#/components/schemas/HttpRequestType',
|
|
4473
|
+
description: "How the request is handled - 'sync' waits for result, 'async' returns job ID immediately, 'sync_sse' streams results via Server-Sent Events"
|
|
3733
4474
|
},
|
|
3734
4475
|
authentication_method: {
|
|
3735
|
-
'$ref': '#/components/schemas/AuthenticationMethod'
|
|
4476
|
+
'$ref': '#/components/schemas/AuthenticationMethod',
|
|
4477
|
+
description: "How requests are authenticated - 'none' (public), 'windmill' (Windmill token), 'api_key', 'basic_http', 'custom_script', 'signature'"
|
|
3736
4478
|
},
|
|
3737
4479
|
is_static_website: {
|
|
3738
|
-
type: 'boolean'
|
|
4480
|
+
type: 'boolean',
|
|
4481
|
+
description: 'If true, serves static files from S3/storage instead of running a script'
|
|
3739
4482
|
},
|
|
3740
4483
|
workspaced_route: {
|
|
3741
|
-
type: 'boolean'
|
|
4484
|
+
type: 'boolean',
|
|
4485
|
+
description: 'If true, the route includes the workspace ID in the path'
|
|
3742
4486
|
},
|
|
3743
4487
|
wrap_body: {
|
|
3744
|
-
type: 'boolean'
|
|
4488
|
+
type: 'boolean',
|
|
4489
|
+
description: "If true, wraps the request body in a 'body' parameter"
|
|
3745
4490
|
},
|
|
3746
4491
|
raw_string: {
|
|
3747
|
-
type: 'boolean'
|
|
4492
|
+
type: 'boolean',
|
|
4493
|
+
description: 'If true, passes the request body as a raw string instead of parsing as JSON'
|
|
3748
4494
|
},
|
|
3749
4495
|
error_handler_path: {
|
|
3750
|
-
type: 'string'
|
|
4496
|
+
type: 'string',
|
|
4497
|
+
description: 'Path to a script or flow to run when the triggered job fails'
|
|
3751
4498
|
},
|
|
3752
4499
|
error_handler_args: {
|
|
3753
|
-
'$ref': '#/components/schemas/ScriptArgs'
|
|
4500
|
+
'$ref': '#/components/schemas/ScriptArgs',
|
|
4501
|
+
description: 'Arguments to pass to the error handler'
|
|
3754
4502
|
},
|
|
3755
4503
|
retry: {
|
|
3756
|
-
'$ref': '#/components/schemas/Retry'
|
|
4504
|
+
'$ref': '#/components/schemas/Retry',
|
|
4505
|
+
description: 'Retry configuration for failed executions'
|
|
3757
4506
|
}
|
|
3758
4507
|
},
|
|
3759
4508
|
required: ['route_path', 'request_type', 'authentication_method', 'http_method', 'is_static_website', 'workspaced_route', 'wrap_body', 'raw_string']
|
|
@@ -3762,77 +4511,102 @@ export const $NewHttpTrigger = {
|
|
|
3762
4511
|
type: 'object',
|
|
3763
4512
|
properties: {
|
|
3764
4513
|
path: {
|
|
3765
|
-
type: 'string'
|
|
4514
|
+
type: 'string',
|
|
4515
|
+
description: 'The unique path identifier for this trigger'
|
|
3766
4516
|
},
|
|
3767
4517
|
script_path: {
|
|
3768
|
-
type: 'string'
|
|
4518
|
+
type: 'string',
|
|
4519
|
+
description: 'Path to the script or flow to execute when triggered'
|
|
3769
4520
|
},
|
|
3770
4521
|
route_path: {
|
|
3771
|
-
type: 'string'
|
|
4522
|
+
type: 'string',
|
|
4523
|
+
description: "The URL route path that will trigger this endpoint (e.g., 'api/myendpoint'). Must NOT start with a /."
|
|
3772
4524
|
},
|
|
3773
4525
|
workspaced_route: {
|
|
3774
|
-
type: 'boolean'
|
|
4526
|
+
type: 'boolean',
|
|
4527
|
+
description: 'If true, the route includes the workspace ID in the path'
|
|
3775
4528
|
},
|
|
3776
4529
|
summary: {
|
|
3777
|
-
type: 'string'
|
|
4530
|
+
type: 'string',
|
|
4531
|
+
nullable: true,
|
|
4532
|
+
description: 'Short summary describing the purpose of this trigger'
|
|
3778
4533
|
},
|
|
3779
4534
|
description: {
|
|
3780
|
-
type: 'string'
|
|
4535
|
+
type: 'string',
|
|
4536
|
+
nullable: true,
|
|
4537
|
+
description: 'Detailed description of what this trigger does'
|
|
3781
4538
|
},
|
|
3782
4539
|
static_asset_config: {
|
|
3783
4540
|
type: 'object',
|
|
4541
|
+
nullable: true,
|
|
4542
|
+
description: 'Configuration for serving static assets (s3 bucket, storage path, filename)',
|
|
3784
4543
|
properties: {
|
|
3785
4544
|
s3: {
|
|
3786
|
-
type: 'string'
|
|
4545
|
+
type: 'string',
|
|
4546
|
+
description: 'S3 bucket path for static assets'
|
|
3787
4547
|
},
|
|
3788
4548
|
storage: {
|
|
3789
|
-
type: 'string'
|
|
4549
|
+
type: 'string',
|
|
4550
|
+
description: 'Storage path for static assets'
|
|
3790
4551
|
},
|
|
3791
4552
|
filename: {
|
|
3792
|
-
type: 'string'
|
|
4553
|
+
type: 'string',
|
|
4554
|
+
description: 'Filename for the static asset'
|
|
3793
4555
|
}
|
|
3794
4556
|
},
|
|
3795
4557
|
required: ['s3']
|
|
3796
4558
|
},
|
|
3797
4559
|
is_flow: {
|
|
3798
|
-
type: 'boolean'
|
|
4560
|
+
type: 'boolean',
|
|
4561
|
+
description: 'True if script_path points to a flow, false if it points to a script'
|
|
3799
4562
|
},
|
|
3800
4563
|
http_method: {
|
|
3801
|
-
'$ref': '#/components/schemas/HttpMethod'
|
|
4564
|
+
'$ref': '#/components/schemas/HttpMethod',
|
|
4565
|
+
description: 'HTTP method (get, post, put, delete, patch) that triggers this endpoint'
|
|
3802
4566
|
},
|
|
3803
4567
|
authentication_resource_path: {
|
|
3804
|
-
type: 'string'
|
|
4568
|
+
type: 'string',
|
|
4569
|
+
nullable: true,
|
|
4570
|
+
description: 'Path to the resource containing authentication configuration (for api_key, basic_http, custom_script, signature methods)'
|
|
3805
4571
|
},
|
|
3806
4572
|
is_async: {
|
|
3807
4573
|
type: 'boolean',
|
|
3808
4574
|
description: 'Deprecated, use request_type instead'
|
|
3809
4575
|
},
|
|
3810
4576
|
request_type: {
|
|
3811
|
-
'$ref': '#/components/schemas/HttpRequestType'
|
|
4577
|
+
'$ref': '#/components/schemas/HttpRequestType',
|
|
4578
|
+
description: "How the request is handled - 'sync' waits for result, 'async' returns job ID immediately, 'sync_sse' streams results via Server-Sent Events"
|
|
3812
4579
|
},
|
|
3813
4580
|
authentication_method: {
|
|
3814
|
-
'$ref': '#/components/schemas/AuthenticationMethod'
|
|
4581
|
+
'$ref': '#/components/schemas/AuthenticationMethod',
|
|
4582
|
+
description: "How requests are authenticated - 'none' (public), 'windmill' (Windmill token), 'api_key', 'basic_http', 'custom_script', 'signature'"
|
|
3815
4583
|
},
|
|
3816
4584
|
is_static_website: {
|
|
3817
|
-
type: 'boolean'
|
|
4585
|
+
type: 'boolean',
|
|
4586
|
+
description: 'If true, serves static files from S3/storage instead of running a script'
|
|
3818
4587
|
},
|
|
3819
4588
|
wrap_body: {
|
|
3820
|
-
type: 'boolean'
|
|
4589
|
+
type: 'boolean',
|
|
4590
|
+
description: "If true, wraps the request body in a 'body' parameter"
|
|
3821
4591
|
},
|
|
3822
4592
|
mode: {
|
|
3823
4593
|
'$ref': '#/components/schemas/TriggerMode'
|
|
3824
4594
|
},
|
|
3825
4595
|
raw_string: {
|
|
3826
|
-
type: 'boolean'
|
|
4596
|
+
type: 'boolean',
|
|
4597
|
+
description: 'If true, passes the request body as a raw string instead of parsing as JSON'
|
|
3827
4598
|
},
|
|
3828
4599
|
error_handler_path: {
|
|
3829
|
-
type: 'string'
|
|
4600
|
+
type: 'string',
|
|
4601
|
+
description: 'Path to a script or flow to run when the triggered job fails'
|
|
3830
4602
|
},
|
|
3831
4603
|
error_handler_args: {
|
|
3832
|
-
'$ref': '#/components/schemas/ScriptArgs'
|
|
4604
|
+
'$ref': '#/components/schemas/ScriptArgs',
|
|
4605
|
+
description: 'Arguments to pass to the error handler'
|
|
3833
4606
|
},
|
|
3834
4607
|
retry: {
|
|
3835
|
-
'$ref': '#/components/schemas/Retry'
|
|
4608
|
+
'$ref': '#/components/schemas/Retry',
|
|
4609
|
+
description: 'Retry configuration for failed executions'
|
|
3836
4610
|
}
|
|
3837
4611
|
},
|
|
3838
4612
|
required: ['path', 'script_path', 'route_path', 'is_flow', 'authentication_method', 'http_method', 'is_static_website']
|
|
@@ -3841,74 +4615,99 @@ export const $EditHttpTrigger = {
|
|
|
3841
4615
|
type: 'object',
|
|
3842
4616
|
properties: {
|
|
3843
4617
|
path: {
|
|
3844
|
-
type: 'string'
|
|
4618
|
+
type: 'string',
|
|
4619
|
+
description: 'The unique path identifier for this trigger'
|
|
3845
4620
|
},
|
|
3846
4621
|
script_path: {
|
|
3847
|
-
type: 'string'
|
|
4622
|
+
type: 'string',
|
|
4623
|
+
description: 'Path to the script or flow to execute when triggered'
|
|
3848
4624
|
},
|
|
3849
4625
|
route_path: {
|
|
3850
|
-
type: 'string'
|
|
4626
|
+
type: 'string',
|
|
4627
|
+
description: "The URL route path that will trigger this endpoint (e.g., 'api/myendpoint'). Must NOT start with a /."
|
|
3851
4628
|
},
|
|
3852
4629
|
summary: {
|
|
3853
|
-
type: 'string'
|
|
4630
|
+
type: 'string',
|
|
4631
|
+
nullable: true,
|
|
4632
|
+
description: 'Short summary describing the purpose of this trigger'
|
|
3854
4633
|
},
|
|
3855
4634
|
description: {
|
|
3856
|
-
type: 'string'
|
|
4635
|
+
type: 'string',
|
|
4636
|
+
nullable: true,
|
|
4637
|
+
description: 'Detailed description of what this trigger does'
|
|
3857
4638
|
},
|
|
3858
4639
|
workspaced_route: {
|
|
3859
|
-
type: 'boolean'
|
|
4640
|
+
type: 'boolean',
|
|
4641
|
+
description: 'If true, the route includes the workspace ID in the path'
|
|
3860
4642
|
},
|
|
3861
4643
|
static_asset_config: {
|
|
3862
4644
|
type: 'object',
|
|
4645
|
+
nullable: true,
|
|
4646
|
+
description: 'Configuration for serving static assets (s3 bucket, storage path, filename)',
|
|
3863
4647
|
properties: {
|
|
3864
4648
|
s3: {
|
|
3865
|
-
type: 'string'
|
|
4649
|
+
type: 'string',
|
|
4650
|
+
description: 'S3 bucket path for static assets'
|
|
3866
4651
|
},
|
|
3867
4652
|
storage: {
|
|
3868
|
-
type: 'string'
|
|
4653
|
+
type: 'string',
|
|
4654
|
+
description: 'Storage path for static assets'
|
|
3869
4655
|
},
|
|
3870
4656
|
filename: {
|
|
3871
|
-
type: 'string'
|
|
4657
|
+
type: 'string',
|
|
4658
|
+
description: 'Filename for the static asset'
|
|
3872
4659
|
}
|
|
3873
4660
|
},
|
|
3874
4661
|
required: ['s3']
|
|
3875
4662
|
},
|
|
3876
4663
|
authentication_resource_path: {
|
|
3877
|
-
type: 'string'
|
|
4664
|
+
type: 'string',
|
|
4665
|
+
nullable: true,
|
|
4666
|
+
description: 'Path to the resource containing authentication configuration (for api_key, basic_http, custom_script, signature methods)'
|
|
3878
4667
|
},
|
|
3879
4668
|
is_flow: {
|
|
3880
|
-
type: 'boolean'
|
|
4669
|
+
type: 'boolean',
|
|
4670
|
+
description: 'True if script_path points to a flow, false if it points to a script'
|
|
3881
4671
|
},
|
|
3882
4672
|
http_method: {
|
|
3883
|
-
'$ref': '#/components/schemas/HttpMethod'
|
|
4673
|
+
'$ref': '#/components/schemas/HttpMethod',
|
|
4674
|
+
description: 'HTTP method (get, post, put, delete, patch) that triggers this endpoint'
|
|
3884
4675
|
},
|
|
3885
4676
|
is_async: {
|
|
3886
4677
|
type: 'boolean',
|
|
3887
4678
|
description: 'Deprecated, use request_type instead'
|
|
3888
4679
|
},
|
|
3889
4680
|
request_type: {
|
|
3890
|
-
'$ref': '#/components/schemas/HttpRequestType'
|
|
4681
|
+
'$ref': '#/components/schemas/HttpRequestType',
|
|
4682
|
+
description: "How the request is handled - 'sync' waits for result, 'async' returns job ID immediately, 'sync_sse' streams results via Server-Sent Events"
|
|
3891
4683
|
},
|
|
3892
4684
|
authentication_method: {
|
|
3893
|
-
'$ref': '#/components/schemas/AuthenticationMethod'
|
|
4685
|
+
'$ref': '#/components/schemas/AuthenticationMethod',
|
|
4686
|
+
description: "How requests are authenticated - 'none' (public), 'windmill' (Windmill token), 'api_key', 'basic_http', 'custom_script', 'signature'"
|
|
3894
4687
|
},
|
|
3895
4688
|
is_static_website: {
|
|
3896
|
-
type: 'boolean'
|
|
4689
|
+
type: 'boolean',
|
|
4690
|
+
description: 'If true, serves static files from S3/storage instead of running a script'
|
|
3897
4691
|
},
|
|
3898
4692
|
wrap_body: {
|
|
3899
|
-
type: 'boolean'
|
|
4693
|
+
type: 'boolean',
|
|
4694
|
+
description: "If true, wraps the request body in a 'body' parameter"
|
|
3900
4695
|
},
|
|
3901
4696
|
raw_string: {
|
|
3902
|
-
type: 'boolean'
|
|
4697
|
+
type: 'boolean',
|
|
4698
|
+
description: 'If true, passes the request body as a raw string instead of parsing as JSON'
|
|
3903
4699
|
},
|
|
3904
4700
|
error_handler_path: {
|
|
3905
|
-
type: 'string'
|
|
4701
|
+
type: 'string',
|
|
4702
|
+
description: 'Path to a script or flow to run when the triggered job fails'
|
|
3906
4703
|
},
|
|
3907
4704
|
error_handler_args: {
|
|
3908
|
-
'$ref': '#/components/schemas/ScriptArgs'
|
|
4705
|
+
'$ref': '#/components/schemas/ScriptArgs',
|
|
4706
|
+
description: 'Arguments to pass to the error handler'
|
|
3909
4707
|
},
|
|
3910
4708
|
retry: {
|
|
3911
|
-
'$ref': '#/components/schemas/Retry'
|
|
4709
|
+
'$ref': '#/components/schemas/Retry',
|
|
4710
|
+
description: 'Retry configuration for failed executions'
|
|
3912
4711
|
}
|
|
3913
4712
|
},
|
|
3914
4713
|
required: ['path', 'script_path', 'is_flow', 'kind', 'authentication_method', 'http_method', 'is_static_website']
|
|
@@ -3959,6 +4758,12 @@ export const $TriggersCount = {
|
|
|
3959
4758
|
},
|
|
3960
4759
|
sqs_count: {
|
|
3961
4760
|
type: 'number'
|
|
4761
|
+
},
|
|
4762
|
+
nextcloud_count: {
|
|
4763
|
+
type: 'number'
|
|
4764
|
+
},
|
|
4765
|
+
google_count: {
|
|
4766
|
+
type: 'number'
|
|
3962
4767
|
}
|
|
3963
4768
|
}
|
|
3964
4769
|
};
|
|
@@ -3971,20 +4776,25 @@ export const $WebsocketTrigger = {
|
|
|
3971
4776
|
type: 'object',
|
|
3972
4777
|
properties: {
|
|
3973
4778
|
url: {
|
|
3974
|
-
type: 'string'
|
|
4779
|
+
type: 'string',
|
|
4780
|
+
description: 'The WebSocket URL to connect to (can be a static URL or computed by a runnable)'
|
|
3975
4781
|
},
|
|
3976
4782
|
server_id: {
|
|
3977
|
-
type: 'string'
|
|
4783
|
+
type: 'string',
|
|
4784
|
+
description: 'ID of the server currently handling this trigger (internal)'
|
|
3978
4785
|
},
|
|
3979
4786
|
last_server_ping: {
|
|
3980
4787
|
type: 'string',
|
|
3981
|
-
format: 'date-time'
|
|
4788
|
+
format: 'date-time',
|
|
4789
|
+
description: 'Timestamp of last server heartbeat (internal)'
|
|
3982
4790
|
},
|
|
3983
4791
|
error: {
|
|
3984
|
-
type: 'string'
|
|
4792
|
+
type: 'string',
|
|
4793
|
+
description: 'Last error message if the trigger failed'
|
|
3985
4794
|
},
|
|
3986
4795
|
filters: {
|
|
3987
4796
|
type: 'array',
|
|
4797
|
+
description: 'Array of key-value filters to match incoming messages (only matching messages trigger the script)',
|
|
3988
4798
|
items: {
|
|
3989
4799
|
type: 'object',
|
|
3990
4800
|
properties: {
|
|
@@ -3998,26 +4808,35 @@ export const $WebsocketTrigger = {
|
|
|
3998
4808
|
},
|
|
3999
4809
|
initial_messages: {
|
|
4000
4810
|
type: 'array',
|
|
4811
|
+
nullable: true,
|
|
4812
|
+
description: 'Messages to send immediately after connecting (can be raw strings or computed by runnables)',
|
|
4001
4813
|
items: {
|
|
4002
4814
|
'$ref': '#/components/schemas/WebsocketTriggerInitialMessage'
|
|
4003
4815
|
}
|
|
4004
4816
|
},
|
|
4005
4817
|
url_runnable_args: {
|
|
4006
|
-
|
|
4818
|
+
description: 'Arguments to pass to the script/flow that computes the WebSocket URL',
|
|
4819
|
+
'$ref': '#/components/schemas/ScriptArgs',
|
|
4820
|
+
nullable: true
|
|
4007
4821
|
},
|
|
4008
4822
|
can_return_message: {
|
|
4009
|
-
type: 'boolean'
|
|
4823
|
+
type: 'boolean',
|
|
4824
|
+
description: 'If true, the script can return a message to send back through the WebSocket'
|
|
4010
4825
|
},
|
|
4011
4826
|
can_return_error_result: {
|
|
4012
|
-
type: 'boolean'
|
|
4827
|
+
type: 'boolean',
|
|
4828
|
+
description: 'If true, error results are sent back through the WebSocket'
|
|
4013
4829
|
},
|
|
4014
4830
|
error_handler_path: {
|
|
4015
|
-
type: 'string'
|
|
4831
|
+
type: 'string',
|
|
4832
|
+
description: 'Path to a script or flow to run when the triggered job fails'
|
|
4016
4833
|
},
|
|
4017
4834
|
error_handler_args: {
|
|
4835
|
+
description: 'Arguments to pass to the error handler',
|
|
4018
4836
|
'$ref': '#/components/schemas/ScriptArgs'
|
|
4019
4837
|
},
|
|
4020
4838
|
retry: {
|
|
4839
|
+
description: 'Retry configuration for failed executions',
|
|
4021
4840
|
'$ref': '#/components/schemas/Retry'
|
|
4022
4841
|
}
|
|
4023
4842
|
},
|
|
@@ -4027,22 +4846,27 @@ export const $NewWebsocketTrigger = {
|
|
|
4027
4846
|
type: 'object',
|
|
4028
4847
|
properties: {
|
|
4029
4848
|
path: {
|
|
4030
|
-
type: 'string'
|
|
4849
|
+
type: 'string',
|
|
4850
|
+
description: 'The unique path identifier for this trigger'
|
|
4031
4851
|
},
|
|
4032
4852
|
script_path: {
|
|
4033
|
-
type: 'string'
|
|
4853
|
+
type: 'string',
|
|
4854
|
+
description: 'Path to the script or flow to execute when a message is received'
|
|
4034
4855
|
},
|
|
4035
4856
|
is_flow: {
|
|
4036
|
-
type: 'boolean'
|
|
4857
|
+
type: 'boolean',
|
|
4858
|
+
description: 'True if script_path points to a flow, false if it points to a script'
|
|
4037
4859
|
},
|
|
4038
4860
|
url: {
|
|
4039
|
-
type: 'string'
|
|
4861
|
+
type: 'string',
|
|
4862
|
+
description: 'The WebSocket URL to connect to (can be a static URL or computed by a runnable)'
|
|
4040
4863
|
},
|
|
4041
4864
|
mode: {
|
|
4042
4865
|
'$ref': '#/components/schemas/TriggerMode'
|
|
4043
4866
|
},
|
|
4044
4867
|
filters: {
|
|
4045
4868
|
type: 'array',
|
|
4869
|
+
description: 'Array of key-value filters to match incoming messages (only matching messages trigger the script)',
|
|
4046
4870
|
items: {
|
|
4047
4871
|
type: 'object',
|
|
4048
4872
|
properties: {
|
|
@@ -4056,26 +4880,35 @@ export const $NewWebsocketTrigger = {
|
|
|
4056
4880
|
},
|
|
4057
4881
|
initial_messages: {
|
|
4058
4882
|
type: 'array',
|
|
4883
|
+
nullable: true,
|
|
4884
|
+
description: 'Messages to send immediately after connecting (can be raw strings or computed by runnables)',
|
|
4059
4885
|
items: {
|
|
4060
4886
|
'$ref': '#/components/schemas/WebsocketTriggerInitialMessage'
|
|
4061
4887
|
}
|
|
4062
4888
|
},
|
|
4063
4889
|
url_runnable_args: {
|
|
4890
|
+
description: 'Arguments to pass to the script/flow that computes the WebSocket URL',
|
|
4891
|
+
nullable: true,
|
|
4064
4892
|
'$ref': '#/components/schemas/ScriptArgs'
|
|
4065
4893
|
},
|
|
4066
4894
|
can_return_message: {
|
|
4067
|
-
type: 'boolean'
|
|
4895
|
+
type: 'boolean',
|
|
4896
|
+
description: 'If true, the script can return a message to send back through the WebSocket'
|
|
4068
4897
|
},
|
|
4069
4898
|
can_return_error_result: {
|
|
4070
|
-
type: 'boolean'
|
|
4899
|
+
type: 'boolean',
|
|
4900
|
+
description: 'If true, error results are sent back through the WebSocket'
|
|
4071
4901
|
},
|
|
4072
4902
|
error_handler_path: {
|
|
4073
|
-
type: 'string'
|
|
4903
|
+
type: 'string',
|
|
4904
|
+
description: 'Path to a script or flow to run when the triggered job fails'
|
|
4074
4905
|
},
|
|
4075
4906
|
error_handler_args: {
|
|
4907
|
+
description: 'Arguments to pass to the error handler',
|
|
4076
4908
|
'$ref': '#/components/schemas/ScriptArgs'
|
|
4077
4909
|
},
|
|
4078
4910
|
retry: {
|
|
4911
|
+
description: 'Retry configuration for failed executions',
|
|
4079
4912
|
'$ref': '#/components/schemas/Retry'
|
|
4080
4913
|
}
|
|
4081
4914
|
},
|
|
@@ -4085,19 +4918,24 @@ export const $EditWebsocketTrigger = {
|
|
|
4085
4918
|
type: 'object',
|
|
4086
4919
|
properties: {
|
|
4087
4920
|
url: {
|
|
4088
|
-
type: 'string'
|
|
4921
|
+
type: 'string',
|
|
4922
|
+
description: 'The WebSocket URL to connect to (can be a static URL or computed by a runnable)'
|
|
4089
4923
|
},
|
|
4090
4924
|
path: {
|
|
4091
|
-
type: 'string'
|
|
4925
|
+
type: 'string',
|
|
4926
|
+
description: 'The unique path identifier for this trigger'
|
|
4092
4927
|
},
|
|
4093
4928
|
script_path: {
|
|
4094
|
-
type: 'string'
|
|
4929
|
+
type: 'string',
|
|
4930
|
+
description: 'Path to the script or flow to execute when a message is received'
|
|
4095
4931
|
},
|
|
4096
4932
|
is_flow: {
|
|
4097
|
-
type: 'boolean'
|
|
4933
|
+
type: 'boolean',
|
|
4934
|
+
description: 'True if script_path points to a flow, false if it points to a script'
|
|
4098
4935
|
},
|
|
4099
4936
|
filters: {
|
|
4100
4937
|
type: 'array',
|
|
4938
|
+
description: 'Array of key-value filters to match incoming messages (only matching messages trigger the script)',
|
|
4101
4939
|
items: {
|
|
4102
4940
|
type: 'object',
|
|
4103
4941
|
properties: {
|
|
@@ -4111,26 +4949,35 @@ export const $EditWebsocketTrigger = {
|
|
|
4111
4949
|
},
|
|
4112
4950
|
initial_messages: {
|
|
4113
4951
|
type: 'array',
|
|
4952
|
+
nullable: true,
|
|
4953
|
+
description: 'Messages to send immediately after connecting (can be raw strings or computed by runnables)',
|
|
4114
4954
|
items: {
|
|
4115
4955
|
'$ref': '#/components/schemas/WebsocketTriggerInitialMessage'
|
|
4116
4956
|
}
|
|
4117
4957
|
},
|
|
4118
4958
|
url_runnable_args: {
|
|
4959
|
+
description: 'Arguments to pass to the script/flow that computes the WebSocket URL',
|
|
4960
|
+
nullable: true,
|
|
4119
4961
|
'$ref': '#/components/schemas/ScriptArgs'
|
|
4120
4962
|
},
|
|
4121
4963
|
can_return_message: {
|
|
4122
|
-
type: 'boolean'
|
|
4964
|
+
type: 'boolean',
|
|
4965
|
+
description: 'If true, the script can return a message to send back through the WebSocket'
|
|
4123
4966
|
},
|
|
4124
4967
|
can_return_error_result: {
|
|
4125
|
-
type: 'boolean'
|
|
4968
|
+
type: 'boolean',
|
|
4969
|
+
description: 'If true, error results are sent back through the WebSocket'
|
|
4126
4970
|
},
|
|
4127
4971
|
error_handler_path: {
|
|
4128
|
-
type: 'string'
|
|
4972
|
+
type: 'string',
|
|
4973
|
+
description: 'Path to a script or flow to run when the triggered job fails'
|
|
4129
4974
|
},
|
|
4130
4975
|
error_handler_args: {
|
|
4976
|
+
description: 'Arguments to pass to the error handler',
|
|
4131
4977
|
'$ref': '#/components/schemas/ScriptArgs'
|
|
4132
4978
|
},
|
|
4133
4979
|
retry: {
|
|
4980
|
+
description: 'Retry configuration for failed executions',
|
|
4134
4981
|
'$ref': '#/components/schemas/Retry'
|
|
4135
4982
|
}
|
|
4136
4983
|
},
|
|
@@ -4221,44 +5068,60 @@ export const $MqttTrigger = {
|
|
|
4221
5068
|
type: 'object',
|
|
4222
5069
|
properties: {
|
|
4223
5070
|
mqtt_resource_path: {
|
|
4224
|
-
type: 'string'
|
|
5071
|
+
type: 'string',
|
|
5072
|
+
description: 'Path to the MQTT resource containing broker connection configuration'
|
|
4225
5073
|
},
|
|
4226
5074
|
subscribe_topics: {
|
|
4227
5075
|
type: 'array',
|
|
4228
5076
|
items: {
|
|
4229
5077
|
'$ref': '#/components/schemas/MqttSubscribeTopic'
|
|
4230
|
-
}
|
|
5078
|
+
},
|
|
5079
|
+
description: 'Array of MQTT topics to subscribe to, each with topic name and QoS level'
|
|
4231
5080
|
},
|
|
4232
5081
|
v3_config: {
|
|
4233
|
-
'$ref': '#/components/schemas/MqttV3Config'
|
|
5082
|
+
'$ref': '#/components/schemas/MqttV3Config',
|
|
5083
|
+
nullable: true,
|
|
5084
|
+
description: 'MQTT v3 specific configuration (clean_session)'
|
|
4234
5085
|
},
|
|
4235
5086
|
v5_config: {
|
|
4236
|
-
'$ref': '#/components/schemas/MqttV5Config'
|
|
5087
|
+
'$ref': '#/components/schemas/MqttV5Config',
|
|
5088
|
+
nullable: true,
|
|
5089
|
+
description: 'MQTT v5 specific configuration (clean_start, topic_alias_maximum, session_expiry_interval)'
|
|
4237
5090
|
},
|
|
4238
5091
|
client_id: {
|
|
4239
|
-
type: 'string'
|
|
5092
|
+
type: 'string',
|
|
5093
|
+
nullable: true,
|
|
5094
|
+
description: 'MQTT client ID for this connection'
|
|
4240
5095
|
},
|
|
4241
5096
|
client_version: {
|
|
4242
|
-
'$ref': '#/components/schemas/MqttClientVersion'
|
|
5097
|
+
'$ref': '#/components/schemas/MqttClientVersion',
|
|
5098
|
+
nullable: true,
|
|
5099
|
+
description: "MQTT protocol version ('v3' or 'v5')"
|
|
4243
5100
|
},
|
|
4244
5101
|
server_id: {
|
|
4245
|
-
type: 'string'
|
|
5102
|
+
type: 'string',
|
|
5103
|
+
description: 'ID of the server currently handling this trigger (internal)'
|
|
4246
5104
|
},
|
|
4247
5105
|
last_server_ping: {
|
|
4248
5106
|
type: 'string',
|
|
4249
|
-
format: 'date-time'
|
|
5107
|
+
format: 'date-time',
|
|
5108
|
+
description: 'Timestamp of last server heartbeat (internal)'
|
|
4250
5109
|
},
|
|
4251
5110
|
error: {
|
|
4252
|
-
type: 'string'
|
|
5111
|
+
type: 'string',
|
|
5112
|
+
description: 'Last error message if the trigger failed'
|
|
4253
5113
|
},
|
|
4254
5114
|
error_handler_path: {
|
|
4255
|
-
type: 'string'
|
|
5115
|
+
type: 'string',
|
|
5116
|
+
description: 'Path to a script or flow to run when the triggered job fails'
|
|
4256
5117
|
},
|
|
4257
5118
|
error_handler_args: {
|
|
4258
|
-
'$ref': '#/components/schemas/ScriptArgs'
|
|
5119
|
+
'$ref': '#/components/schemas/ScriptArgs',
|
|
5120
|
+
description: 'Arguments to pass to the error handler'
|
|
4259
5121
|
},
|
|
4260
5122
|
retry: {
|
|
4261
|
-
'$ref': '#/components/schemas/Retry'
|
|
5123
|
+
'$ref': '#/components/schemas/Retry',
|
|
5124
|
+
description: 'Retry configuration for failed executions'
|
|
4262
5125
|
}
|
|
4263
5126
|
},
|
|
4264
5127
|
required: ['subscribe_topics', 'mqtt_resource_path']
|
|
@@ -4267,46 +5130,62 @@ export const $NewMqttTrigger = {
|
|
|
4267
5130
|
type: 'object',
|
|
4268
5131
|
properties: {
|
|
4269
5132
|
mqtt_resource_path: {
|
|
4270
|
-
type: 'string'
|
|
5133
|
+
type: 'string',
|
|
5134
|
+
description: 'Path to the MQTT resource containing broker connection configuration'
|
|
4271
5135
|
},
|
|
4272
5136
|
subscribe_topics: {
|
|
4273
5137
|
type: 'array',
|
|
4274
5138
|
items: {
|
|
4275
5139
|
'$ref': '#/components/schemas/MqttSubscribeTopic'
|
|
4276
|
-
}
|
|
5140
|
+
},
|
|
5141
|
+
description: 'Array of MQTT topics to subscribe to, each with topic name and QoS level'
|
|
4277
5142
|
},
|
|
4278
5143
|
client_id: {
|
|
4279
|
-
type: 'string'
|
|
5144
|
+
type: 'string',
|
|
5145
|
+
nullable: true,
|
|
5146
|
+
description: 'MQTT client ID for this connection'
|
|
4280
5147
|
},
|
|
4281
5148
|
v3_config: {
|
|
4282
|
-
|
|
5149
|
+
nullable: true,
|
|
5150
|
+
'$ref': '#/components/schemas/MqttV3Config',
|
|
5151
|
+
description: 'MQTT v3 specific configuration (clean_session)'
|
|
4283
5152
|
},
|
|
4284
5153
|
v5_config: {
|
|
4285
|
-
|
|
5154
|
+
nullable: true,
|
|
5155
|
+
'$ref': '#/components/schemas/MqttV5Config',
|
|
5156
|
+
description: 'MQTT v5 specific configuration (clean_start, topic_alias_maximum, session_expiry_interval)'
|
|
4286
5157
|
},
|
|
4287
5158
|
client_version: {
|
|
4288
|
-
|
|
5159
|
+
nullable: true,
|
|
5160
|
+
'$ref': '#/components/schemas/MqttClientVersion',
|
|
5161
|
+
description: "MQTT protocol version ('v3' or 'v5')"
|
|
4289
5162
|
},
|
|
4290
5163
|
path: {
|
|
4291
|
-
type: 'string'
|
|
5164
|
+
type: 'string',
|
|
5165
|
+
description: 'The unique path identifier for this trigger'
|
|
4292
5166
|
},
|
|
4293
5167
|
script_path: {
|
|
4294
|
-
type: 'string'
|
|
5168
|
+
type: 'string',
|
|
5169
|
+
description: 'Path to the script or flow to execute when a message is received'
|
|
4295
5170
|
},
|
|
4296
5171
|
is_flow: {
|
|
4297
|
-
type: 'boolean'
|
|
5172
|
+
type: 'boolean',
|
|
5173
|
+
description: 'True if script_path points to a flow, false if it points to a script'
|
|
4298
5174
|
},
|
|
4299
5175
|
mode: {
|
|
4300
5176
|
'$ref': '#/components/schemas/TriggerMode'
|
|
4301
5177
|
},
|
|
4302
5178
|
error_handler_path: {
|
|
4303
|
-
type: 'string'
|
|
5179
|
+
type: 'string',
|
|
5180
|
+
description: 'Path to a script or flow to run when the triggered job fails'
|
|
4304
5181
|
},
|
|
4305
5182
|
error_handler_args: {
|
|
4306
|
-
'$ref': '#/components/schemas/ScriptArgs'
|
|
5183
|
+
'$ref': '#/components/schemas/ScriptArgs',
|
|
5184
|
+
description: 'Arguments to pass to the error handler'
|
|
4307
5185
|
},
|
|
4308
5186
|
retry: {
|
|
4309
|
-
'$ref': '#/components/schemas/Retry'
|
|
5187
|
+
'$ref': '#/components/schemas/Retry',
|
|
5188
|
+
description: 'Retry configuration for failed executions'
|
|
4310
5189
|
}
|
|
4311
5190
|
},
|
|
4312
5191
|
required: ['path', 'script_path', 'is_flow', 'subscribe_topics', 'mqtt_resource_path']
|
|
@@ -4315,62 +5194,82 @@ export const $EditMqttTrigger = {
|
|
|
4315
5194
|
type: 'object',
|
|
4316
5195
|
properties: {
|
|
4317
5196
|
mqtt_resource_path: {
|
|
4318
|
-
type: 'string'
|
|
5197
|
+
type: 'string',
|
|
5198
|
+
description: 'Path to the MQTT resource containing broker connection configuration'
|
|
4319
5199
|
},
|
|
4320
5200
|
subscribe_topics: {
|
|
4321
5201
|
type: 'array',
|
|
4322
5202
|
items: {
|
|
4323
5203
|
'$ref': '#/components/schemas/MqttSubscribeTopic'
|
|
4324
|
-
}
|
|
5204
|
+
},
|
|
5205
|
+
description: 'Array of MQTT topics to subscribe to, each with topic name and QoS level'
|
|
4325
5206
|
},
|
|
4326
5207
|
client_id: {
|
|
4327
|
-
type: 'string'
|
|
5208
|
+
type: 'string',
|
|
5209
|
+
nullable: true,
|
|
5210
|
+
description: 'MQTT client ID for this connection'
|
|
4328
5211
|
},
|
|
4329
5212
|
v3_config: {
|
|
4330
|
-
|
|
5213
|
+
nullable: true,
|
|
5214
|
+
'$ref': '#/components/schemas/MqttV3Config',
|
|
5215
|
+
description: 'MQTT v3 specific configuration (clean_session)'
|
|
4331
5216
|
},
|
|
4332
5217
|
v5_config: {
|
|
4333
|
-
|
|
5218
|
+
nullable: true,
|
|
5219
|
+
'$ref': '#/components/schemas/MqttV5Config',
|
|
5220
|
+
description: 'MQTT v5 specific configuration (clean_start, topic_alias_maximum, session_expiry_interval)'
|
|
4334
5221
|
},
|
|
4335
5222
|
client_version: {
|
|
4336
|
-
|
|
5223
|
+
nullable: true,
|
|
5224
|
+
'$ref': '#/components/schemas/MqttClientVersion',
|
|
5225
|
+
description: "MQTT protocol version ('v3' or 'v5')"
|
|
4337
5226
|
},
|
|
4338
5227
|
path: {
|
|
4339
|
-
type: 'string'
|
|
5228
|
+
type: 'string',
|
|
5229
|
+
description: 'The unique path identifier for this trigger'
|
|
4340
5230
|
},
|
|
4341
5231
|
script_path: {
|
|
4342
|
-
type: 'string'
|
|
5232
|
+
type: 'string',
|
|
5233
|
+
description: 'Path to the script or flow to execute when a message is received'
|
|
4343
5234
|
},
|
|
4344
5235
|
is_flow: {
|
|
4345
|
-
type: 'boolean'
|
|
5236
|
+
type: 'boolean',
|
|
5237
|
+
description: 'True if script_path points to a flow, false if it points to a script'
|
|
4346
5238
|
},
|
|
4347
5239
|
mode: {
|
|
4348
5240
|
'$ref': '#/components/schemas/TriggerMode'
|
|
4349
5241
|
},
|
|
4350
5242
|
error_handler_path: {
|
|
4351
|
-
type: 'string'
|
|
5243
|
+
type: 'string',
|
|
5244
|
+
description: 'Path to a script or flow to run when the triggered job fails'
|
|
4352
5245
|
},
|
|
4353
5246
|
error_handler_args: {
|
|
4354
|
-
'$ref': '#/components/schemas/ScriptArgs'
|
|
5247
|
+
'$ref': '#/components/schemas/ScriptArgs',
|
|
5248
|
+
description: 'Arguments to pass to the error handler'
|
|
4355
5249
|
},
|
|
4356
5250
|
retry: {
|
|
4357
|
-
'$ref': '#/components/schemas/Retry'
|
|
5251
|
+
'$ref': '#/components/schemas/Retry',
|
|
5252
|
+
description: 'Retry configuration for failed executions'
|
|
4358
5253
|
}
|
|
4359
5254
|
},
|
|
4360
5255
|
required: ['path', 'script_path', 'is_flow', 'enabled', 'subscribe_topics', 'mqtt_resource_path']
|
|
4361
5256
|
};
|
|
4362
5257
|
export const $DeliveryType = {
|
|
4363
5258
|
type: 'string',
|
|
4364
|
-
enum: ['push', 'pull']
|
|
5259
|
+
enum: ['push', 'pull'],
|
|
5260
|
+
description: "Delivery mode for messages. 'push' for HTTP push delivery where messages are sent to a webhook endpoint, 'pull' for polling where the trigger actively fetches messages."
|
|
4365
5261
|
};
|
|
4366
5262
|
export const $PushConfig = {
|
|
4367
5263
|
type: 'object',
|
|
5264
|
+
description: 'Configuration for push delivery mode.',
|
|
4368
5265
|
properties: {
|
|
4369
5266
|
audience: {
|
|
4370
|
-
type: 'string'
|
|
5267
|
+
type: 'string',
|
|
5268
|
+
description: 'The audience claim for OIDC tokens used in push authentication.'
|
|
4371
5269
|
},
|
|
4372
5270
|
authenticate: {
|
|
4373
|
-
type: 'boolean'
|
|
5271
|
+
type: 'boolean',
|
|
5272
|
+
description: 'If true, push messages will include OIDC authentication tokens.'
|
|
4374
5273
|
}
|
|
4375
5274
|
},
|
|
4376
5275
|
required: ['authenticate', 'base_endpoint']
|
|
@@ -4382,43 +5281,54 @@ export const $GcpTrigger = {
|
|
|
4382
5281
|
}
|
|
4383
5282
|
],
|
|
4384
5283
|
type: 'object',
|
|
5284
|
+
description: 'A Google Cloud Pub/Sub trigger that executes a script or flow when messages are received.',
|
|
4385
5285
|
properties: {
|
|
4386
5286
|
gcp_resource_path: {
|
|
4387
|
-
type: 'string'
|
|
5287
|
+
type: 'string',
|
|
5288
|
+
description: 'Path to the GCP resource containing service account credentials for authentication.'
|
|
4388
5289
|
},
|
|
4389
5290
|
topic_id: {
|
|
4390
|
-
type: 'string'
|
|
5291
|
+
type: 'string',
|
|
5292
|
+
description: 'Google Cloud Pub/Sub topic ID to subscribe to.'
|
|
4391
5293
|
},
|
|
4392
5294
|
subscription_id: {
|
|
4393
|
-
type: 'string'
|
|
5295
|
+
type: 'string',
|
|
5296
|
+
description: 'Google Cloud Pub/Sub subscription ID.'
|
|
4394
5297
|
},
|
|
4395
5298
|
server_id: {
|
|
4396
|
-
type: 'string'
|
|
5299
|
+
type: 'string',
|
|
5300
|
+
description: 'ID of the server currently handling this trigger (internal use).'
|
|
4397
5301
|
},
|
|
4398
5302
|
delivery_type: {
|
|
4399
5303
|
'$ref': '#/components/schemas/DeliveryType'
|
|
4400
5304
|
},
|
|
4401
5305
|
delivery_config: {
|
|
4402
|
-
'$ref': '#/components/schemas/PushConfig'
|
|
5306
|
+
'$ref': '#/components/schemas/PushConfig',
|
|
5307
|
+
nullable: true
|
|
4403
5308
|
},
|
|
4404
5309
|
subscription_mode: {
|
|
4405
5310
|
'$ref': '#/components/schemas/SubscriptionMode'
|
|
4406
5311
|
},
|
|
4407
5312
|
last_server_ping: {
|
|
4408
5313
|
type: 'string',
|
|
4409
|
-
format: 'date-time'
|
|
5314
|
+
format: 'date-time',
|
|
5315
|
+
description: 'Timestamp of last server heartbeat (internal use).'
|
|
4410
5316
|
},
|
|
4411
5317
|
error: {
|
|
4412
|
-
type: 'string'
|
|
5318
|
+
type: 'string',
|
|
5319
|
+
description: 'Last error message if the trigger failed.'
|
|
4413
5320
|
},
|
|
4414
5321
|
error_handler_path: {
|
|
4415
|
-
type: 'string'
|
|
5322
|
+
type: 'string',
|
|
5323
|
+
description: 'Path to a script or flow to run when the triggered job fails.'
|
|
4416
5324
|
},
|
|
4417
5325
|
error_handler_args: {
|
|
4418
|
-
'$ref': '#/components/schemas/ScriptArgs'
|
|
5326
|
+
'$ref': '#/components/schemas/ScriptArgs',
|
|
5327
|
+
description: 'Arguments to pass to the error handler.'
|
|
4419
5328
|
},
|
|
4420
5329
|
retry: {
|
|
4421
|
-
'$ref': '#/components/schemas/Retry'
|
|
5330
|
+
'$ref': '#/components/schemas/Retry',
|
|
5331
|
+
description: 'Retry configuration for failed executions.'
|
|
4422
5332
|
}
|
|
4423
5333
|
},
|
|
4424
5334
|
required: ['gcp_resource_path', 'topic_id', 'subscription_id', 'delivery_type', 'subscription_mode']
|
|
@@ -4430,42 +5340,52 @@ export const $SubscriptionMode = {
|
|
|
4430
5340
|
};
|
|
4431
5341
|
export const $GcpTriggerData = {
|
|
4432
5342
|
type: 'object',
|
|
5343
|
+
description: 'Data for creating or updating a Google Cloud Pub/Sub trigger.',
|
|
4433
5344
|
properties: {
|
|
4434
5345
|
gcp_resource_path: {
|
|
4435
|
-
type: 'string'
|
|
5346
|
+
type: 'string',
|
|
5347
|
+
description: 'Path to the GCP resource containing service account credentials for authentication.'
|
|
4436
5348
|
},
|
|
4437
5349
|
subscription_mode: {
|
|
4438
5350
|
'$ref': '#/components/schemas/SubscriptionMode'
|
|
4439
5351
|
},
|
|
4440
5352
|
topic_id: {
|
|
4441
|
-
type: 'string'
|
|
5353
|
+
type: 'string',
|
|
5354
|
+
description: 'Google Cloud Pub/Sub topic ID to subscribe to.'
|
|
4442
5355
|
},
|
|
4443
5356
|
subscription_id: {
|
|
4444
|
-
type: 'string'
|
|
5357
|
+
type: 'string',
|
|
5358
|
+
description: 'Google Cloud Pub/Sub subscription ID.'
|
|
4445
5359
|
},
|
|
4446
5360
|
base_endpoint: {
|
|
4447
|
-
type: 'string'
|
|
5361
|
+
type: 'string',
|
|
5362
|
+
description: 'Base URL for push delivery endpoint.'
|
|
4448
5363
|
},
|
|
4449
5364
|
delivery_type: {
|
|
4450
5365
|
'$ref': '#/components/schemas/DeliveryType'
|
|
4451
5366
|
},
|
|
4452
5367
|
delivery_config: {
|
|
5368
|
+
nullable: true,
|
|
4453
5369
|
'$ref': '#/components/schemas/PushConfig'
|
|
4454
5370
|
},
|
|
4455
5371
|
path: {
|
|
4456
|
-
type: 'string'
|
|
5372
|
+
type: 'string',
|
|
5373
|
+
description: 'The unique path identifier for this trigger.'
|
|
4457
5374
|
},
|
|
4458
5375
|
script_path: {
|
|
4459
|
-
type: 'string'
|
|
5376
|
+
type: 'string',
|
|
5377
|
+
description: 'Path to the script or flow to execute when a message is received.'
|
|
4460
5378
|
},
|
|
4461
5379
|
is_flow: {
|
|
4462
|
-
type: 'boolean'
|
|
5380
|
+
type: 'boolean',
|
|
5381
|
+
description: 'True if script_path points to a flow, false if it points to a script.'
|
|
4463
5382
|
},
|
|
4464
5383
|
mode: {
|
|
4465
5384
|
'$ref': '#/components/schemas/TriggerMode'
|
|
4466
5385
|
},
|
|
4467
5386
|
auto_acknowledge_msg: {
|
|
4468
|
-
type: 'boolean'
|
|
5387
|
+
type: 'boolean',
|
|
5388
|
+
description: 'If true, automatically acknowledge messages after processing.'
|
|
4469
5389
|
},
|
|
4470
5390
|
ack_deadline: {
|
|
4471
5391
|
type: 'integer',
|
|
@@ -4475,13 +5395,16 @@ export const $GcpTriggerData = {
|
|
|
4475
5395
|
description: "Time in seconds within which the message must be acknowledged. If not provided, defaults to the subscription's acknowledgment deadline (600 seconds)."
|
|
4476
5396
|
},
|
|
4477
5397
|
error_handler_path: {
|
|
4478
|
-
type: 'string'
|
|
5398
|
+
type: 'string',
|
|
5399
|
+
description: 'Path to a script or flow to run when the triggered job fails.'
|
|
4479
5400
|
},
|
|
4480
5401
|
error_handler_args: {
|
|
4481
|
-
'$ref': '#/components/schemas/ScriptArgs'
|
|
5402
|
+
'$ref': '#/components/schemas/ScriptArgs',
|
|
5403
|
+
description: 'Arguments to pass to the error handler.'
|
|
4482
5404
|
},
|
|
4483
5405
|
retry: {
|
|
4484
|
-
'$ref': '#/components/schemas/Retry'
|
|
5406
|
+
'$ref': '#/components/schemas/Retry',
|
|
5407
|
+
description: 'Retry configuration for failed executions.'
|
|
4485
5408
|
}
|
|
4486
5409
|
},
|
|
4487
5410
|
required: ['path', 'script_path', 'is_flow', 'gcp_resource_path', 'topic_id', 'subscription_mode']
|
|
@@ -4517,38 +5440,49 @@ export const $SqsTrigger = {
|
|
|
4517
5440
|
type: 'object',
|
|
4518
5441
|
properties: {
|
|
4519
5442
|
queue_url: {
|
|
4520
|
-
type: 'string'
|
|
5443
|
+
type: 'string',
|
|
5444
|
+
description: 'The full URL of the AWS SQS queue to poll for messages'
|
|
4521
5445
|
},
|
|
4522
5446
|
aws_auth_resource_type: {
|
|
4523
|
-
'$ref': '#/components/schemas/AwsAuthResourceType'
|
|
5447
|
+
'$ref': '#/components/schemas/AwsAuthResourceType',
|
|
5448
|
+
description: "Authentication type - 'credentials' for access key/secret, 'oidc' for OpenID Connect"
|
|
4524
5449
|
},
|
|
4525
5450
|
aws_resource_path: {
|
|
4526
|
-
type: 'string'
|
|
5451
|
+
type: 'string',
|
|
5452
|
+
description: 'Path to the AWS resource containing credentials or OIDC configuration'
|
|
4527
5453
|
},
|
|
4528
5454
|
message_attributes: {
|
|
4529
5455
|
type: 'array',
|
|
5456
|
+
nullable: true,
|
|
4530
5457
|
items: {
|
|
4531
5458
|
type: 'string'
|
|
4532
|
-
}
|
|
5459
|
+
},
|
|
5460
|
+
description: 'Array of SQS message attribute names to include with each message'
|
|
4533
5461
|
},
|
|
4534
5462
|
server_id: {
|
|
4535
|
-
type: 'string'
|
|
5463
|
+
type: 'string',
|
|
5464
|
+
description: 'ID of the server currently handling this trigger (internal)'
|
|
4536
5465
|
},
|
|
4537
5466
|
last_server_ping: {
|
|
4538
5467
|
type: 'string',
|
|
4539
|
-
format: 'date-time'
|
|
5468
|
+
format: 'date-time',
|
|
5469
|
+
description: 'Timestamp of last server heartbeat (internal)'
|
|
4540
5470
|
},
|
|
4541
5471
|
error: {
|
|
4542
|
-
type: 'string'
|
|
5472
|
+
type: 'string',
|
|
5473
|
+
description: 'Last error message if the trigger failed'
|
|
4543
5474
|
},
|
|
4544
5475
|
error_handler_path: {
|
|
4545
|
-
type: 'string'
|
|
5476
|
+
type: 'string',
|
|
5477
|
+
description: 'Path to a script or flow to run when the triggered job fails'
|
|
4546
5478
|
},
|
|
4547
5479
|
error_handler_args: {
|
|
4548
|
-
'$ref': '#/components/schemas/ScriptArgs'
|
|
5480
|
+
'$ref': '#/components/schemas/ScriptArgs',
|
|
5481
|
+
description: 'Arguments to pass to the error handler'
|
|
4549
5482
|
},
|
|
4550
5483
|
retry: {
|
|
4551
|
-
'$ref': '#/components/schemas/Retry'
|
|
5484
|
+
'$ref': '#/components/schemas/Retry',
|
|
5485
|
+
description: 'Retry configuration for failed executions'
|
|
4552
5486
|
}
|
|
4553
5487
|
},
|
|
4554
5488
|
required: ['queue_url', 'aws_resource_path', 'aws_auth_resource_type']
|
|
@@ -4611,40 +5545,51 @@ export const $NewSqsTrigger = {
|
|
|
4611
5545
|
type: 'object',
|
|
4612
5546
|
properties: {
|
|
4613
5547
|
queue_url: {
|
|
4614
|
-
type: 'string'
|
|
5548
|
+
type: 'string',
|
|
5549
|
+
description: 'The full URL of the AWS SQS queue to poll for messages'
|
|
4615
5550
|
},
|
|
4616
5551
|
aws_auth_resource_type: {
|
|
4617
|
-
'$ref': '#/components/schemas/AwsAuthResourceType'
|
|
5552
|
+
'$ref': '#/components/schemas/AwsAuthResourceType',
|
|
5553
|
+
description: "Authentication type - 'credentials' for access key/secret, 'oidc' for OpenID Connect"
|
|
4618
5554
|
},
|
|
4619
5555
|
aws_resource_path: {
|
|
4620
|
-
type: 'string'
|
|
5556
|
+
type: 'string',
|
|
5557
|
+
description: 'Path to the AWS resource containing credentials or OIDC configuration'
|
|
4621
5558
|
},
|
|
4622
5559
|
message_attributes: {
|
|
4623
5560
|
type: 'array',
|
|
5561
|
+
nullable: true,
|
|
4624
5562
|
items: {
|
|
4625
5563
|
type: 'string'
|
|
4626
|
-
}
|
|
5564
|
+
},
|
|
5565
|
+
description: 'Array of SQS message attribute names to include with each message'
|
|
4627
5566
|
},
|
|
4628
5567
|
path: {
|
|
4629
|
-
type: 'string'
|
|
5568
|
+
type: 'string',
|
|
5569
|
+
description: 'The unique path identifier for this trigger'
|
|
4630
5570
|
},
|
|
4631
5571
|
script_path: {
|
|
4632
|
-
type: 'string'
|
|
5572
|
+
type: 'string',
|
|
5573
|
+
description: 'Path to the script or flow to execute when a message is received'
|
|
4633
5574
|
},
|
|
4634
5575
|
is_flow: {
|
|
4635
|
-
type: 'boolean'
|
|
5576
|
+
type: 'boolean',
|
|
5577
|
+
description: 'True if script_path points to a flow, false if it points to a script'
|
|
4636
5578
|
},
|
|
4637
5579
|
mode: {
|
|
4638
5580
|
'$ref': '#/components/schemas/TriggerMode'
|
|
4639
5581
|
},
|
|
4640
5582
|
error_handler_path: {
|
|
4641
|
-
type: 'string'
|
|
5583
|
+
type: 'string',
|
|
5584
|
+
description: 'Path to a script or flow to run when the triggered job fails'
|
|
4642
5585
|
},
|
|
4643
5586
|
error_handler_args: {
|
|
4644
|
-
'$ref': '#/components/schemas/ScriptArgs'
|
|
5587
|
+
'$ref': '#/components/schemas/ScriptArgs',
|
|
5588
|
+
description: 'Arguments to pass to the error handler'
|
|
4645
5589
|
},
|
|
4646
5590
|
retry: {
|
|
4647
|
-
'$ref': '#/components/schemas/Retry'
|
|
5591
|
+
'$ref': '#/components/schemas/Retry',
|
|
5592
|
+
description: 'Retry configuration for failed executions'
|
|
4648
5593
|
}
|
|
4649
5594
|
},
|
|
4650
5595
|
required: ['queue_url', 'aws_resource_path', 'path', 'script_path', 'is_flow', 'aws_auth_resource_type']
|
|
@@ -4653,40 +5598,51 @@ export const $EditSqsTrigger = {
|
|
|
4653
5598
|
type: 'object',
|
|
4654
5599
|
properties: {
|
|
4655
5600
|
queue_url: {
|
|
4656
|
-
type: 'string'
|
|
5601
|
+
type: 'string',
|
|
5602
|
+
description: 'The full URL of the AWS SQS queue to poll for messages'
|
|
4657
5603
|
},
|
|
4658
5604
|
aws_auth_resource_type: {
|
|
4659
|
-
'$ref': '#/components/schemas/AwsAuthResourceType'
|
|
5605
|
+
'$ref': '#/components/schemas/AwsAuthResourceType',
|
|
5606
|
+
description: "Authentication type - 'credentials' for access key/secret, 'oidc' for OpenID Connect"
|
|
4660
5607
|
},
|
|
4661
5608
|
aws_resource_path: {
|
|
4662
|
-
type: 'string'
|
|
5609
|
+
type: 'string',
|
|
5610
|
+
description: 'Path to the AWS resource containing credentials or OIDC configuration'
|
|
4663
5611
|
},
|
|
4664
5612
|
message_attributes: {
|
|
4665
5613
|
type: 'array',
|
|
5614
|
+
nullable: true,
|
|
4666
5615
|
items: {
|
|
4667
5616
|
type: 'string'
|
|
4668
|
-
}
|
|
5617
|
+
},
|
|
5618
|
+
description: 'Array of SQS message attribute names to include with each message'
|
|
4669
5619
|
},
|
|
4670
5620
|
path: {
|
|
4671
|
-
type: 'string'
|
|
5621
|
+
type: 'string',
|
|
5622
|
+
description: 'The unique path identifier for this trigger'
|
|
4672
5623
|
},
|
|
4673
5624
|
script_path: {
|
|
4674
|
-
type: 'string'
|
|
5625
|
+
type: 'string',
|
|
5626
|
+
description: 'Path to the script or flow to execute when a message is received'
|
|
4675
5627
|
},
|
|
4676
5628
|
is_flow: {
|
|
4677
|
-
type: 'boolean'
|
|
5629
|
+
type: 'boolean',
|
|
5630
|
+
description: 'True if script_path points to a flow, false if it points to a script'
|
|
4678
5631
|
},
|
|
4679
5632
|
mode: {
|
|
4680
5633
|
'$ref': '#/components/schemas/TriggerMode'
|
|
4681
5634
|
},
|
|
4682
5635
|
error_handler_path: {
|
|
4683
|
-
type: 'string'
|
|
5636
|
+
type: 'string',
|
|
5637
|
+
description: 'Path to a script or flow to run when the triggered job fails'
|
|
4684
5638
|
},
|
|
4685
5639
|
error_handler_args: {
|
|
4686
|
-
'$ref': '#/components/schemas/ScriptArgs'
|
|
5640
|
+
'$ref': '#/components/schemas/ScriptArgs',
|
|
5641
|
+
description: 'Arguments to pass to the error handler'
|
|
4687
5642
|
},
|
|
4688
5643
|
retry: {
|
|
4689
|
-
'$ref': '#/components/schemas/Retry'
|
|
5644
|
+
'$ref': '#/components/schemas/Retry',
|
|
5645
|
+
description: 'Retry configuration for failed executions'
|
|
4690
5646
|
}
|
|
4691
5647
|
},
|
|
4692
5648
|
required: ['queue_url', 'aws_resource_path', 'path', 'script_path', 'is_flow', 'enabled', 'aws_auth_resource_type']
|
|
@@ -4792,32 +5748,41 @@ export const $PostgresTrigger = {
|
|
|
4792
5748
|
type: 'object',
|
|
4793
5749
|
properties: {
|
|
4794
5750
|
postgres_resource_path: {
|
|
4795
|
-
type: 'string'
|
|
5751
|
+
type: 'string',
|
|
5752
|
+
description: 'Path to the PostgreSQL resource containing connection configuration'
|
|
4796
5753
|
},
|
|
4797
5754
|
publication_name: {
|
|
4798
|
-
type: 'string'
|
|
5755
|
+
type: 'string',
|
|
5756
|
+
description: 'Name of the PostgreSQL publication to subscribe to for change data capture'
|
|
4799
5757
|
},
|
|
4800
5758
|
server_id: {
|
|
4801
|
-
type: 'string'
|
|
5759
|
+
type: 'string',
|
|
5760
|
+
description: 'ID of the server currently handling this trigger (internal)'
|
|
4802
5761
|
},
|
|
4803
5762
|
replication_slot_name: {
|
|
4804
|
-
type: 'string'
|
|
5763
|
+
type: 'string',
|
|
5764
|
+
description: 'Name of the PostgreSQL logical replication slot to use'
|
|
4805
5765
|
},
|
|
4806
5766
|
error: {
|
|
4807
|
-
type: 'string'
|
|
5767
|
+
type: 'string',
|
|
5768
|
+
description: 'Last error message if the trigger failed'
|
|
4808
5769
|
},
|
|
4809
5770
|
last_server_ping: {
|
|
4810
5771
|
type: 'string',
|
|
4811
|
-
format: 'date-time'
|
|
5772
|
+
format: 'date-time',
|
|
5773
|
+
description: 'Timestamp of last server heartbeat (internal)'
|
|
4812
5774
|
},
|
|
4813
5775
|
error_handler_path: {
|
|
4814
|
-
type: 'string'
|
|
5776
|
+
type: 'string',
|
|
5777
|
+
description: 'Path to a script or flow to run when the triggered job fails'
|
|
4815
5778
|
},
|
|
4816
5779
|
error_handler_args: {
|
|
4817
|
-
'$ref': '#/components/schemas/ScriptArgs'
|
|
5780
|
+
'$ref': '#/components/schemas/ScriptArgs',
|
|
5781
|
+
description: 'Arguments to pass to the error handler'
|
|
4818
5782
|
},
|
|
4819
5783
|
retry: {
|
|
4820
|
-
'$ref': '#/components/schemas/Retry'
|
|
5784
|
+
'$ref': '#/components/schemas/Retry',
|
|
5785
|
+
description: 'Retry configuration for failed executions'
|
|
4821
5786
|
}
|
|
4822
5787
|
},
|
|
4823
5788
|
required: ['postgres_resource_path', 'replication_slot_name', 'publication_name']
|
|
@@ -4826,37 +5791,47 @@ export const $NewPostgresTrigger = {
|
|
|
4826
5791
|
type: 'object',
|
|
4827
5792
|
properties: {
|
|
4828
5793
|
replication_slot_name: {
|
|
4829
|
-
type: 'string'
|
|
5794
|
+
type: 'string',
|
|
5795
|
+
description: 'Name of the PostgreSQL logical replication slot to use'
|
|
4830
5796
|
},
|
|
4831
5797
|
publication_name: {
|
|
4832
|
-
type: 'string'
|
|
5798
|
+
type: 'string',
|
|
5799
|
+
description: 'Name of the PostgreSQL publication to subscribe to for change data capture'
|
|
4833
5800
|
},
|
|
4834
5801
|
path: {
|
|
4835
|
-
type: 'string'
|
|
5802
|
+
type: 'string',
|
|
5803
|
+
description: 'The unique path identifier for this trigger'
|
|
4836
5804
|
},
|
|
4837
5805
|
script_path: {
|
|
4838
|
-
type: 'string'
|
|
5806
|
+
type: 'string',
|
|
5807
|
+
description: 'Path to the script or flow to execute when database changes are detected'
|
|
4839
5808
|
},
|
|
4840
5809
|
is_flow: {
|
|
4841
|
-
type: 'boolean'
|
|
5810
|
+
type: 'boolean',
|
|
5811
|
+
description: 'True if script_path points to a flow, false if it points to a script'
|
|
4842
5812
|
},
|
|
4843
5813
|
mode: {
|
|
4844
5814
|
'$ref': '#/components/schemas/TriggerMode'
|
|
4845
5815
|
},
|
|
4846
5816
|
postgres_resource_path: {
|
|
4847
|
-
type: 'string'
|
|
5817
|
+
type: 'string',
|
|
5818
|
+
description: 'Path to the PostgreSQL resource containing connection configuration'
|
|
4848
5819
|
},
|
|
4849
5820
|
publication: {
|
|
4850
|
-
'$ref': '#/components/schemas/PublicationData'
|
|
5821
|
+
'$ref': '#/components/schemas/PublicationData',
|
|
5822
|
+
description: 'Configuration for creating/managing the publication (tables, operations)'
|
|
4851
5823
|
},
|
|
4852
5824
|
error_handler_path: {
|
|
4853
|
-
type: 'string'
|
|
5825
|
+
type: 'string',
|
|
5826
|
+
description: 'Path to a script or flow to run when the triggered job fails'
|
|
4854
5827
|
},
|
|
4855
5828
|
error_handler_args: {
|
|
4856
|
-
'$ref': '#/components/schemas/ScriptArgs'
|
|
5829
|
+
'$ref': '#/components/schemas/ScriptArgs',
|
|
5830
|
+
description: 'Arguments to pass to the error handler'
|
|
4857
5831
|
},
|
|
4858
5832
|
retry: {
|
|
4859
|
-
'$ref': '#/components/schemas/Retry'
|
|
5833
|
+
'$ref': '#/components/schemas/Retry',
|
|
5834
|
+
description: 'Retry configuration for failed executions'
|
|
4860
5835
|
}
|
|
4861
5836
|
},
|
|
4862
5837
|
required: ['path', 'script_path', 'is_flow', 'enabled', 'postgres_resource_path']
|
|
@@ -4865,37 +5840,47 @@ export const $EditPostgresTrigger = {
|
|
|
4865
5840
|
type: 'object',
|
|
4866
5841
|
properties: {
|
|
4867
5842
|
replication_slot_name: {
|
|
4868
|
-
type: 'string'
|
|
5843
|
+
type: 'string',
|
|
5844
|
+
description: 'Name of the PostgreSQL logical replication slot to use'
|
|
4869
5845
|
},
|
|
4870
5846
|
publication_name: {
|
|
4871
|
-
type: 'string'
|
|
5847
|
+
type: 'string',
|
|
5848
|
+
description: 'Name of the PostgreSQL publication to subscribe to for change data capture'
|
|
4872
5849
|
},
|
|
4873
5850
|
path: {
|
|
4874
|
-
type: 'string'
|
|
5851
|
+
type: 'string',
|
|
5852
|
+
description: 'The unique path identifier for this trigger'
|
|
4875
5853
|
},
|
|
4876
5854
|
script_path: {
|
|
4877
|
-
type: 'string'
|
|
5855
|
+
type: 'string',
|
|
5856
|
+
description: 'Path to the script or flow to execute when database changes are detected'
|
|
4878
5857
|
},
|
|
4879
5858
|
is_flow: {
|
|
4880
|
-
type: 'boolean'
|
|
5859
|
+
type: 'boolean',
|
|
5860
|
+
description: 'True if script_path points to a flow, false if it points to a script'
|
|
4881
5861
|
},
|
|
4882
5862
|
mode: {
|
|
4883
5863
|
'$ref': '#/components/schemas/TriggerMode'
|
|
4884
5864
|
},
|
|
4885
5865
|
postgres_resource_path: {
|
|
4886
|
-
type: 'string'
|
|
5866
|
+
type: 'string',
|
|
5867
|
+
description: 'Path to the PostgreSQL resource containing connection configuration'
|
|
4887
5868
|
},
|
|
4888
5869
|
publication: {
|
|
4889
|
-
'$ref': '#/components/schemas/PublicationData'
|
|
5870
|
+
'$ref': '#/components/schemas/PublicationData',
|
|
5871
|
+
description: 'Configuration for creating/managing the publication (tables, operations)'
|
|
4890
5872
|
},
|
|
4891
5873
|
error_handler_path: {
|
|
4892
|
-
type: 'string'
|
|
5874
|
+
type: 'string',
|
|
5875
|
+
description: 'Path to a script or flow to run when the triggered job fails'
|
|
4893
5876
|
},
|
|
4894
5877
|
error_handler_args: {
|
|
4895
|
-
'$ref': '#/components/schemas/ScriptArgs'
|
|
5878
|
+
'$ref': '#/components/schemas/ScriptArgs',
|
|
5879
|
+
description: 'Arguments to pass to the error handler'
|
|
4896
5880
|
},
|
|
4897
5881
|
retry: {
|
|
4898
|
-
'$ref': '#/components/schemas/Retry'
|
|
5882
|
+
'$ref': '#/components/schemas/Retry',
|
|
5883
|
+
description: 'Retry configuration for failed executions'
|
|
4899
5884
|
}
|
|
4900
5885
|
},
|
|
4901
5886
|
required: ['path', 'script_path', 'is_flow', 'enabled', 'postgres_resource_path', 'publication_name', 'replication_slot_name']
|
|
@@ -4909,113 +5894,179 @@ export const $KafkaTrigger = {
|
|
|
4909
5894
|
type: 'object',
|
|
4910
5895
|
properties: {
|
|
4911
5896
|
kafka_resource_path: {
|
|
4912
|
-
type: 'string'
|
|
5897
|
+
type: 'string',
|
|
5898
|
+
description: 'Path to the Kafka resource containing connection configuration'
|
|
4913
5899
|
},
|
|
4914
5900
|
group_id: {
|
|
4915
|
-
type: 'string'
|
|
5901
|
+
type: 'string',
|
|
5902
|
+
description: 'Kafka consumer group ID for this trigger'
|
|
4916
5903
|
},
|
|
4917
5904
|
topics: {
|
|
4918
5905
|
type: 'array',
|
|
4919
5906
|
items: {
|
|
4920
5907
|
type: 'string'
|
|
5908
|
+
},
|
|
5909
|
+
description: 'Array of Kafka topic names to subscribe to'
|
|
5910
|
+
},
|
|
5911
|
+
filters: {
|
|
5912
|
+
type: 'array',
|
|
5913
|
+
items: {
|
|
5914
|
+
type: 'object',
|
|
5915
|
+
properties: {
|
|
5916
|
+
key: {
|
|
5917
|
+
type: 'string'
|
|
5918
|
+
},
|
|
5919
|
+
value: {}
|
|
5920
|
+
},
|
|
5921
|
+
required: ['key', 'value']
|
|
4921
5922
|
}
|
|
4922
5923
|
},
|
|
4923
5924
|
server_id: {
|
|
4924
|
-
type: 'string'
|
|
5925
|
+
type: 'string',
|
|
5926
|
+
description: 'ID of the server currently handling this trigger (internal)'
|
|
4925
5927
|
},
|
|
4926
5928
|
last_server_ping: {
|
|
4927
5929
|
type: 'string',
|
|
4928
|
-
format: 'date-time'
|
|
5930
|
+
format: 'date-time',
|
|
5931
|
+
description: 'Timestamp of last server heartbeat (internal)'
|
|
4929
5932
|
},
|
|
4930
5933
|
error: {
|
|
4931
|
-
type: 'string'
|
|
5934
|
+
type: 'string',
|
|
5935
|
+
description: 'Last error message if the trigger failed'
|
|
4932
5936
|
},
|
|
4933
5937
|
error_handler_path: {
|
|
4934
|
-
type: 'string'
|
|
5938
|
+
type: 'string',
|
|
5939
|
+
description: 'Path to a script or flow to run when the triggered job fails'
|
|
4935
5940
|
},
|
|
4936
5941
|
error_handler_args: {
|
|
4937
|
-
'$ref': '#/components/schemas/ScriptArgs'
|
|
5942
|
+
'$ref': '#/components/schemas/ScriptArgs',
|
|
5943
|
+
description: 'Arguments to pass to the error handler'
|
|
4938
5944
|
},
|
|
4939
5945
|
retry: {
|
|
4940
|
-
'$ref': '#/components/schemas/Retry'
|
|
5946
|
+
'$ref': '#/components/schemas/Retry',
|
|
5947
|
+
description: 'Retry configuration for failed executions'
|
|
4941
5948
|
}
|
|
4942
5949
|
},
|
|
4943
|
-
required: ['kafka_resource_path', 'group_id', 'topics']
|
|
5950
|
+
required: ['kafka_resource_path', 'group_id', 'topics', 'filters']
|
|
4944
5951
|
};
|
|
4945
5952
|
export const $NewKafkaTrigger = {
|
|
4946
5953
|
type: 'object',
|
|
4947
5954
|
properties: {
|
|
4948
5955
|
path: {
|
|
4949
|
-
type: 'string'
|
|
5956
|
+
type: 'string',
|
|
5957
|
+
description: 'The unique path identifier for this trigger'
|
|
4950
5958
|
},
|
|
4951
5959
|
script_path: {
|
|
4952
|
-
type: 'string'
|
|
5960
|
+
type: 'string',
|
|
5961
|
+
description: 'Path to the script or flow to execute when a message is received'
|
|
4953
5962
|
},
|
|
4954
5963
|
is_flow: {
|
|
4955
|
-
type: 'boolean'
|
|
5964
|
+
type: 'boolean',
|
|
5965
|
+
description: 'True if script_path points to a flow, false if it points to a script'
|
|
4956
5966
|
},
|
|
4957
5967
|
kafka_resource_path: {
|
|
4958
|
-
type: 'string'
|
|
5968
|
+
type: 'string',
|
|
5969
|
+
description: 'Path to the Kafka resource containing connection configuration'
|
|
4959
5970
|
},
|
|
4960
5971
|
group_id: {
|
|
4961
|
-
type: 'string'
|
|
5972
|
+
type: 'string',
|
|
5973
|
+
description: 'Kafka consumer group ID for this trigger'
|
|
4962
5974
|
},
|
|
4963
5975
|
topics: {
|
|
4964
5976
|
type: 'array',
|
|
4965
5977
|
items: {
|
|
4966
5978
|
type: 'string'
|
|
5979
|
+
},
|
|
5980
|
+
description: 'Array of Kafka topic names to subscribe to'
|
|
5981
|
+
},
|
|
5982
|
+
filters: {
|
|
5983
|
+
type: 'array',
|
|
5984
|
+
items: {
|
|
5985
|
+
type: 'object',
|
|
5986
|
+
properties: {
|
|
5987
|
+
key: {
|
|
5988
|
+
type: 'string'
|
|
5989
|
+
},
|
|
5990
|
+
value: {}
|
|
5991
|
+
},
|
|
5992
|
+
required: ['key', 'value']
|
|
4967
5993
|
}
|
|
4968
5994
|
},
|
|
4969
5995
|
mode: {
|
|
4970
5996
|
'$ref': '#/components/schemas/TriggerMode'
|
|
4971
5997
|
},
|
|
4972
5998
|
error_handler_path: {
|
|
4973
|
-
type: 'string'
|
|
5999
|
+
type: 'string',
|
|
6000
|
+
description: 'Path to a script or flow to run when the triggered job fails'
|
|
4974
6001
|
},
|
|
4975
6002
|
error_handler_args: {
|
|
4976
|
-
'$ref': '#/components/schemas/ScriptArgs'
|
|
6003
|
+
'$ref': '#/components/schemas/ScriptArgs',
|
|
6004
|
+
description: 'Arguments to pass to the error handler'
|
|
4977
6005
|
},
|
|
4978
6006
|
retry: {
|
|
4979
|
-
'$ref': '#/components/schemas/Retry'
|
|
6007
|
+
'$ref': '#/components/schemas/Retry',
|
|
6008
|
+
description: 'Retry configuration for failed executions'
|
|
4980
6009
|
}
|
|
4981
6010
|
},
|
|
4982
|
-
required: ['path', 'script_path', 'is_flow', 'kafka_resource_path', 'group_id', 'topics']
|
|
6011
|
+
required: ['path', 'script_path', 'is_flow', 'kafka_resource_path', 'group_id', 'topics', 'filters']
|
|
4983
6012
|
};
|
|
4984
6013
|
export const $EditKafkaTrigger = {
|
|
4985
6014
|
type: 'object',
|
|
4986
6015
|
properties: {
|
|
4987
6016
|
kafka_resource_path: {
|
|
4988
|
-
type: 'string'
|
|
6017
|
+
type: 'string',
|
|
6018
|
+
description: 'Path to the Kafka resource containing connection configuration'
|
|
4989
6019
|
},
|
|
4990
6020
|
group_id: {
|
|
4991
|
-
type: 'string'
|
|
6021
|
+
type: 'string',
|
|
6022
|
+
description: 'Kafka consumer group ID for this trigger'
|
|
4992
6023
|
},
|
|
4993
6024
|
topics: {
|
|
4994
6025
|
type: 'array',
|
|
4995
6026
|
items: {
|
|
4996
6027
|
type: 'string'
|
|
6028
|
+
},
|
|
6029
|
+
description: 'Array of Kafka topic names to subscribe to'
|
|
6030
|
+
},
|
|
6031
|
+
filters: {
|
|
6032
|
+
type: 'array',
|
|
6033
|
+
items: {
|
|
6034
|
+
type: 'object',
|
|
6035
|
+
properties: {
|
|
6036
|
+
key: {
|
|
6037
|
+
type: 'string'
|
|
6038
|
+
},
|
|
6039
|
+
value: {}
|
|
6040
|
+
},
|
|
6041
|
+
required: ['key', 'value']
|
|
4997
6042
|
}
|
|
4998
6043
|
},
|
|
4999
6044
|
path: {
|
|
5000
|
-
type: 'string'
|
|
6045
|
+
type: 'string',
|
|
6046
|
+
description: 'The unique path identifier for this trigger'
|
|
5001
6047
|
},
|
|
5002
6048
|
script_path: {
|
|
5003
|
-
type: 'string'
|
|
6049
|
+
type: 'string',
|
|
6050
|
+
description: 'Path to the script or flow to execute when a message is received'
|
|
5004
6051
|
},
|
|
5005
6052
|
is_flow: {
|
|
5006
|
-
type: 'boolean'
|
|
6053
|
+
type: 'boolean',
|
|
6054
|
+
description: 'True if script_path points to a flow, false if it points to a script'
|
|
5007
6055
|
},
|
|
5008
6056
|
error_handler_path: {
|
|
5009
|
-
type: 'string'
|
|
6057
|
+
type: 'string',
|
|
6058
|
+
description: 'Path to a script or flow to run when the triggered job fails'
|
|
5010
6059
|
},
|
|
5011
6060
|
error_handler_args: {
|
|
5012
|
-
'$ref': '#/components/schemas/ScriptArgs'
|
|
6061
|
+
'$ref': '#/components/schemas/ScriptArgs',
|
|
6062
|
+
description: 'Arguments to pass to the error handler'
|
|
5013
6063
|
},
|
|
5014
6064
|
retry: {
|
|
5015
|
-
'$ref': '#/components/schemas/Retry'
|
|
6065
|
+
'$ref': '#/components/schemas/Retry',
|
|
6066
|
+
description: 'Retry configuration for failed executions'
|
|
5016
6067
|
}
|
|
5017
6068
|
},
|
|
5018
|
-
required: ['path', 'script_path', 'kafka_resource_path', 'group_id', 'topics', 'is_flow']
|
|
6069
|
+
required: ['path', 'script_path', 'kafka_resource_path', 'group_id', 'topics', 'filters', 'is_flow']
|
|
5019
6070
|
};
|
|
5020
6071
|
export const $NatsTrigger = {
|
|
5021
6072
|
allOf: [
|
|
@@ -5026,41 +6077,54 @@ export const $NatsTrigger = {
|
|
|
5026
6077
|
type: 'object',
|
|
5027
6078
|
properties: {
|
|
5028
6079
|
nats_resource_path: {
|
|
5029
|
-
type: 'string'
|
|
6080
|
+
type: 'string',
|
|
6081
|
+
description: 'Path to the NATS resource containing connection configuration'
|
|
5030
6082
|
},
|
|
5031
6083
|
use_jetstream: {
|
|
5032
|
-
type: 'boolean'
|
|
6084
|
+
type: 'boolean',
|
|
6085
|
+
description: 'If true, uses NATS JetStream for durable message delivery'
|
|
5033
6086
|
},
|
|
5034
6087
|
stream_name: {
|
|
5035
|
-
type: 'string'
|
|
6088
|
+
type: 'string',
|
|
6089
|
+
nullable: true,
|
|
6090
|
+
description: 'JetStream stream name (required when use_jetstream is true)'
|
|
5036
6091
|
},
|
|
5037
6092
|
consumer_name: {
|
|
5038
|
-
type: 'string'
|
|
6093
|
+
type: 'string',
|
|
6094
|
+
nullable: true,
|
|
6095
|
+
description: 'JetStream consumer name (required when use_jetstream is true)'
|
|
5039
6096
|
},
|
|
5040
6097
|
subjects: {
|
|
5041
6098
|
type: 'array',
|
|
5042
6099
|
items: {
|
|
5043
6100
|
type: 'string'
|
|
5044
|
-
}
|
|
6101
|
+
},
|
|
6102
|
+
description: 'Array of NATS subjects to subscribe to'
|
|
5045
6103
|
},
|
|
5046
6104
|
server_id: {
|
|
5047
|
-
type: 'string'
|
|
6105
|
+
type: 'string',
|
|
6106
|
+
description: 'ID of the server currently handling this trigger (internal)'
|
|
5048
6107
|
},
|
|
5049
6108
|
last_server_ping: {
|
|
5050
6109
|
type: 'string',
|
|
5051
|
-
format: 'date-time'
|
|
6110
|
+
format: 'date-time',
|
|
6111
|
+
description: 'Timestamp of last server heartbeat (internal)'
|
|
5052
6112
|
},
|
|
5053
6113
|
error: {
|
|
5054
|
-
type: 'string'
|
|
6114
|
+
type: 'string',
|
|
6115
|
+
description: 'Last error message if the trigger failed'
|
|
5055
6116
|
},
|
|
5056
6117
|
error_handler_path: {
|
|
5057
|
-
type: 'string'
|
|
6118
|
+
type: 'string',
|
|
6119
|
+
description: 'Path to a script or flow to run when the triggered job fails'
|
|
5058
6120
|
},
|
|
5059
6121
|
error_handler_args: {
|
|
5060
|
-
'$ref': '#/components/schemas/ScriptArgs'
|
|
6122
|
+
'$ref': '#/components/schemas/ScriptArgs',
|
|
6123
|
+
description: 'Arguments to pass to the error handler'
|
|
5061
6124
|
},
|
|
5062
6125
|
retry: {
|
|
5063
|
-
'$ref': '#/components/schemas/Retry'
|
|
6126
|
+
'$ref': '#/components/schemas/Retry',
|
|
6127
|
+
description: 'Retry configuration for failed executions'
|
|
5064
6128
|
}
|
|
5065
6129
|
},
|
|
5066
6130
|
required: ['nats_resource_path', 'use_jetstream', 'subjects']
|
|
@@ -5069,43 +6133,56 @@ export const $NewNatsTrigger = {
|
|
|
5069
6133
|
type: 'object',
|
|
5070
6134
|
properties: {
|
|
5071
6135
|
path: {
|
|
5072
|
-
type: 'string'
|
|
6136
|
+
type: 'string',
|
|
6137
|
+
description: 'The unique path identifier for this trigger'
|
|
5073
6138
|
},
|
|
5074
6139
|
script_path: {
|
|
5075
|
-
type: 'string'
|
|
6140
|
+
type: 'string',
|
|
6141
|
+
description: 'Path to the script or flow to execute when a message is received'
|
|
5076
6142
|
},
|
|
5077
6143
|
is_flow: {
|
|
5078
|
-
type: 'boolean'
|
|
6144
|
+
type: 'boolean',
|
|
6145
|
+
description: 'True if script_path points to a flow, false if it points to a script'
|
|
5079
6146
|
},
|
|
5080
6147
|
nats_resource_path: {
|
|
5081
|
-
type: 'string'
|
|
6148
|
+
type: 'string',
|
|
6149
|
+
description: 'Path to the NATS resource containing connection configuration'
|
|
5082
6150
|
},
|
|
5083
6151
|
use_jetstream: {
|
|
5084
|
-
type: 'boolean'
|
|
6152
|
+
type: 'boolean',
|
|
6153
|
+
description: 'If true, uses NATS JetStream for durable message delivery'
|
|
5085
6154
|
},
|
|
5086
6155
|
stream_name: {
|
|
5087
|
-
type: 'string'
|
|
6156
|
+
type: 'string',
|
|
6157
|
+
nullable: true,
|
|
6158
|
+
description: 'JetStream stream name (required when use_jetstream is true)'
|
|
5088
6159
|
},
|
|
5089
6160
|
consumer_name: {
|
|
5090
|
-
type: 'string'
|
|
6161
|
+
type: 'string',
|
|
6162
|
+
nullable: true,
|
|
6163
|
+
description: 'JetStream consumer name (required when use_jetstream is true)'
|
|
5091
6164
|
},
|
|
5092
6165
|
subjects: {
|
|
5093
6166
|
type: 'array',
|
|
5094
6167
|
items: {
|
|
5095
6168
|
type: 'string'
|
|
5096
|
-
}
|
|
6169
|
+
},
|
|
6170
|
+
description: 'Array of NATS subjects to subscribe to'
|
|
5097
6171
|
},
|
|
5098
6172
|
mode: {
|
|
5099
6173
|
'$ref': '#/components/schemas/TriggerMode'
|
|
5100
6174
|
},
|
|
5101
6175
|
error_handler_path: {
|
|
5102
|
-
type: 'string'
|
|
6176
|
+
type: 'string',
|
|
6177
|
+
description: 'Path to a script or flow to run when the triggered job fails'
|
|
5103
6178
|
},
|
|
5104
6179
|
error_handler_args: {
|
|
5105
|
-
'$ref': '#/components/schemas/ScriptArgs'
|
|
6180
|
+
'$ref': '#/components/schemas/ScriptArgs',
|
|
6181
|
+
description: 'Arguments to pass to the error handler'
|
|
5106
6182
|
},
|
|
5107
6183
|
retry: {
|
|
5108
|
-
'$ref': '#/components/schemas/Retry'
|
|
6184
|
+
'$ref': '#/components/schemas/Retry',
|
|
6185
|
+
description: 'Retry configuration for failed executions'
|
|
5109
6186
|
}
|
|
5110
6187
|
},
|
|
5111
6188
|
required: ['path', 'script_path', 'is_flow', 'nats_resource_path', 'use_jetstream', 'subjects']
|
|
@@ -5114,40 +6191,53 @@ export const $EditNatsTrigger = {
|
|
|
5114
6191
|
type: 'object',
|
|
5115
6192
|
properties: {
|
|
5116
6193
|
nats_resource_path: {
|
|
5117
|
-
type: 'string'
|
|
6194
|
+
type: 'string',
|
|
6195
|
+
description: 'Path to the NATS resource containing connection configuration'
|
|
5118
6196
|
},
|
|
5119
6197
|
use_jetstream: {
|
|
5120
|
-
type: 'boolean'
|
|
6198
|
+
type: 'boolean',
|
|
6199
|
+
description: 'If true, uses NATS JetStream for durable message delivery'
|
|
5121
6200
|
},
|
|
5122
6201
|
stream_name: {
|
|
5123
|
-
type: 'string'
|
|
6202
|
+
type: 'string',
|
|
6203
|
+
nullable: true,
|
|
6204
|
+
description: 'JetStream stream name (required when use_jetstream is true)'
|
|
5124
6205
|
},
|
|
5125
6206
|
consumer_name: {
|
|
5126
|
-
type: 'string'
|
|
6207
|
+
type: 'string',
|
|
6208
|
+
nullable: true,
|
|
6209
|
+
description: 'JetStream consumer name (required when use_jetstream is true)'
|
|
5127
6210
|
},
|
|
5128
6211
|
subjects: {
|
|
5129
6212
|
type: 'array',
|
|
5130
6213
|
items: {
|
|
5131
6214
|
type: 'string'
|
|
5132
|
-
}
|
|
6215
|
+
},
|
|
6216
|
+
description: 'Array of NATS subjects to subscribe to'
|
|
5133
6217
|
},
|
|
5134
6218
|
path: {
|
|
5135
|
-
type: 'string'
|
|
6219
|
+
type: 'string',
|
|
6220
|
+
description: 'The unique path identifier for this trigger'
|
|
5136
6221
|
},
|
|
5137
6222
|
script_path: {
|
|
5138
|
-
type: 'string'
|
|
6223
|
+
type: 'string',
|
|
6224
|
+
description: 'Path to the script or flow to execute when a message is received'
|
|
5139
6225
|
},
|
|
5140
6226
|
is_flow: {
|
|
5141
|
-
type: 'boolean'
|
|
6227
|
+
type: 'boolean',
|
|
6228
|
+
description: 'True if script_path points to a flow, false if it points to a script'
|
|
5142
6229
|
},
|
|
5143
6230
|
error_handler_path: {
|
|
5144
|
-
type: 'string'
|
|
6231
|
+
type: 'string',
|
|
6232
|
+
description: 'Path to a script or flow to run when the triggered job fails'
|
|
5145
6233
|
},
|
|
5146
6234
|
error_handler_args: {
|
|
5147
|
-
'$ref': '#/components/schemas/ScriptArgs'
|
|
6235
|
+
'$ref': '#/components/schemas/ScriptArgs',
|
|
6236
|
+
description: 'Arguments to pass to the error handler'
|
|
5148
6237
|
},
|
|
5149
6238
|
retry: {
|
|
5150
|
-
'$ref': '#/components/schemas/Retry'
|
|
6239
|
+
'$ref': '#/components/schemas/Retry',
|
|
6240
|
+
description: 'Retry configuration for failed executions'
|
|
5151
6241
|
}
|
|
5152
6242
|
},
|
|
5153
6243
|
required: ['path', 'script_path', 'nats_resource_path', 'use_jetstream', 'subjects', 'is_flow']
|
|
@@ -5419,6 +6509,9 @@ export const $WorkerPing = {
|
|
|
5419
6509
|
},
|
|
5420
6510
|
job_isolation: {
|
|
5421
6511
|
type: 'string'
|
|
6512
|
+
},
|
|
6513
|
+
native_mode: {
|
|
6514
|
+
type: 'boolean'
|
|
5422
6515
|
}
|
|
5423
6516
|
},
|
|
5424
6517
|
required: ['worker', 'worker_instance', 'ping_at', 'started_at', 'ip', 'jobs_executed', 'worker_group', 'wm_version']
|
|
@@ -5982,9 +7075,7 @@ export const $AppWithLastVersion = {
|
|
|
5982
7075
|
type: 'string',
|
|
5983
7076
|
format: 'date-time'
|
|
5984
7077
|
},
|
|
5985
|
-
value: {
|
|
5986
|
-
type: 'object'
|
|
5987
|
-
},
|
|
7078
|
+
value: {},
|
|
5988
7079
|
policy: {
|
|
5989
7080
|
'$ref': '#/components/schemas/Policy'
|
|
5990
7081
|
},
|
|
@@ -6000,9 +7091,15 @@ export const $AppWithLastVersion = {
|
|
|
6000
7091
|
},
|
|
6001
7092
|
custom_path: {
|
|
6002
7093
|
type: 'string'
|
|
7094
|
+
},
|
|
7095
|
+
raw_app: {
|
|
7096
|
+
type: 'boolean'
|
|
7097
|
+
},
|
|
7098
|
+
bundle_secret: {
|
|
7099
|
+
type: 'string'
|
|
6003
7100
|
}
|
|
6004
7101
|
},
|
|
6005
|
-
required: ['id', 'workspace_id', 'path', 'summary', 'versions', 'created_by', 'created_at', 'value', 'policy', 'execution_mode', 'extra_perms']
|
|
7102
|
+
required: ['id', 'workspace_id', 'path', 'summary', 'versions', 'created_by', 'created_at', 'value', 'policy', 'execution_mode', 'extra_perms', 'raw_app']
|
|
6006
7103
|
};
|
|
6007
7104
|
export const $AppWithLastVersionWDraft = {
|
|
6008
7105
|
allOf: [
|
|
@@ -6193,6 +7290,9 @@ export const $DucklakeSettings = {
|
|
|
6193
7290
|
}
|
|
6194
7291
|
},
|
|
6195
7292
|
required: ['path']
|
|
7293
|
+
},
|
|
7294
|
+
extra_args: {
|
|
7295
|
+
type: 'string'
|
|
6196
7296
|
}
|
|
6197
7297
|
}
|
|
6198
7298
|
}
|
|
@@ -6227,6 +7327,34 @@ export const $DataTableSettings = {
|
|
|
6227
7327
|
}
|
|
6228
7328
|
}
|
|
6229
7329
|
};
|
|
7330
|
+
export const $DataTableSchema = {
|
|
7331
|
+
type: 'object',
|
|
7332
|
+
required: ['datatable_name', 'schemas'],
|
|
7333
|
+
properties: {
|
|
7334
|
+
datatable_name: {
|
|
7335
|
+
type: 'string'
|
|
7336
|
+
},
|
|
7337
|
+
schemas: {
|
|
7338
|
+
type: 'object',
|
|
7339
|
+
description: "Hierarchical schema: schema_name -> table_name -> column_name -> compact_type (e.g. 'int4', 'text?', 'int4?=0')",
|
|
7340
|
+
additionalProperties: {
|
|
7341
|
+
type: 'object',
|
|
7342
|
+
description: 'Tables in this schema',
|
|
7343
|
+
additionalProperties: {
|
|
7344
|
+
type: 'object',
|
|
7345
|
+
description: 'Columns in this table',
|
|
7346
|
+
additionalProperties: {
|
|
7347
|
+
type: 'string',
|
|
7348
|
+
description: "Compact type: 'type[?][=default]' where ? means nullable"
|
|
7349
|
+
}
|
|
7350
|
+
}
|
|
7351
|
+
}
|
|
7352
|
+
},
|
|
7353
|
+
error: {
|
|
7354
|
+
type: 'string'
|
|
7355
|
+
}
|
|
7356
|
+
}
|
|
7357
|
+
};
|
|
6230
7358
|
export const $DynamicInputData = {
|
|
6231
7359
|
type: 'object',
|
|
6232
7360
|
properties: {
|
|
@@ -6609,12 +7737,31 @@ export const $GlobalSetting = {
|
|
|
6609
7737
|
name: {
|
|
6610
7738
|
type: 'string'
|
|
6611
7739
|
},
|
|
6612
|
-
value: {
|
|
6613
|
-
type: 'object'
|
|
6614
|
-
}
|
|
7740
|
+
value: {}
|
|
6615
7741
|
},
|
|
6616
7742
|
required: ['name', 'value']
|
|
6617
7743
|
};
|
|
7744
|
+
export const $InstanceConfig = {
|
|
7745
|
+
type: 'object',
|
|
7746
|
+
description: 'Unified instance configuration combining global settings and worker group configs',
|
|
7747
|
+
properties: {
|
|
7748
|
+
global_settings: {
|
|
7749
|
+
type: 'object',
|
|
7750
|
+
description: `Global settings keyed by setting name. Known fields include base_url, license_key, retention_period_secs, smtp_settings, otel, etc. Unknown fields are preserved as-is.
|
|
7751
|
+
`,
|
|
7752
|
+
additionalProperties: true
|
|
7753
|
+
},
|
|
7754
|
+
worker_configs: {
|
|
7755
|
+
type: 'object',
|
|
7756
|
+
description: `Worker group configurations keyed by group name (e.g. "default", "gpu"). Each value contains worker_tags, init_bash, autoscaling, etc.
|
|
7757
|
+
`,
|
|
7758
|
+
additionalProperties: {
|
|
7759
|
+
type: 'object',
|
|
7760
|
+
additionalProperties: true
|
|
7761
|
+
}
|
|
7762
|
+
}
|
|
7763
|
+
}
|
|
7764
|
+
};
|
|
6618
7765
|
export const $Config = {
|
|
6619
7766
|
type: 'object',
|
|
6620
7767
|
properties: {
|
|
@@ -6848,7 +7995,7 @@ export const $WorkspaceItemDiff = {
|
|
|
6848
7995
|
properties: {
|
|
6849
7996
|
kind: {
|
|
6850
7997
|
type: 'string',
|
|
6851
|
-
enum: ['script', 'flow', 'app', 'resource', 'variable'],
|
|
7998
|
+
enum: ['script', 'flow', 'app', 'resource', 'variable', 'resource_type'],
|
|
6852
7999
|
description: 'Type of the item'
|
|
6853
8000
|
},
|
|
6854
8001
|
path: {
|
|
@@ -6879,7 +8026,7 @@ export const $WorkspaceItemDiff = {
|
|
|
6879
8026
|
};
|
|
6880
8027
|
export const $CompareSummary = {
|
|
6881
8028
|
type: 'object',
|
|
6882
|
-
required: ['total_diffs', 'total_ahead', 'total_behind', 'scripts_changed', 'flows_changed', 'apps_changed', 'resources_changed', 'variables_changed', 'conflicts'],
|
|
8029
|
+
required: ['total_diffs', 'total_ahead', 'total_behind', 'scripts_changed', 'flows_changed', 'apps_changed', 'resources_changed', 'variables_changed', 'resource_types_changed', 'folders_changed', 'conflicts'],
|
|
6883
8030
|
properties: {
|
|
6884
8031
|
total_diffs: {
|
|
6885
8032
|
type: 'integer',
|
|
@@ -6913,6 +8060,14 @@ export const $CompareSummary = {
|
|
|
6913
8060
|
type: 'integer',
|
|
6914
8061
|
description: 'Number of variables with differences'
|
|
6915
8062
|
},
|
|
8063
|
+
resource_types_changed: {
|
|
8064
|
+
type: 'integer',
|
|
8065
|
+
description: 'Number of resource types with differences'
|
|
8066
|
+
},
|
|
8067
|
+
folders_changed: {
|
|
8068
|
+
type: 'integer',
|
|
8069
|
+
description: 'Number of folders with differences'
|
|
8070
|
+
},
|
|
6916
8071
|
conflicts: {
|
|
6917
8072
|
type: 'integer',
|
|
6918
8073
|
description: 'Number of items that are both ahead and behind (conflicts)'
|
|
@@ -7071,11 +8226,12 @@ export const $TeamsChannel = {
|
|
|
7071
8226
|
};
|
|
7072
8227
|
export const $AssetUsageKind = {
|
|
7073
8228
|
type: 'string',
|
|
7074
|
-
enum: ['script', 'flow']
|
|
8229
|
+
enum: ['script', 'flow', 'job']
|
|
7075
8230
|
};
|
|
7076
8231
|
export const $AssetUsageAccessType = {
|
|
7077
8232
|
type: 'string',
|
|
7078
|
-
enum: ['r', 'w', 'rw']
|
|
8233
|
+
enum: ['r', 'w', 'rw'],
|
|
8234
|
+
nullable: true
|
|
7079
8235
|
};
|
|
7080
8236
|
export const $AssetKind = {
|
|
7081
8237
|
type: 'string',
|
|
@@ -7093,3 +8249,340 @@ export const $Asset = {
|
|
|
7093
8249
|
},
|
|
7094
8250
|
required: ['path', 'kind']
|
|
7095
8251
|
};
|
|
8252
|
+
export const $ProtectionRuleset = {
|
|
8253
|
+
type: 'object',
|
|
8254
|
+
description: 'A workspace protection rule defining restrictions and bypass permissions',
|
|
8255
|
+
required: ['name', 'rules', 'bypass_groups', 'bypass_users'],
|
|
8256
|
+
properties: {
|
|
8257
|
+
name: {
|
|
8258
|
+
type: 'string',
|
|
8259
|
+
description: 'Unique name for the protection rule',
|
|
8260
|
+
example: 'Production Protection'
|
|
8261
|
+
},
|
|
8262
|
+
workspace_id: {
|
|
8263
|
+
type: 'string'
|
|
8264
|
+
},
|
|
8265
|
+
rules: {
|
|
8266
|
+
'$ref': '#/components/schemas/ProtectionRules'
|
|
8267
|
+
},
|
|
8268
|
+
bypass_groups: {
|
|
8269
|
+
'$ref': '#/components/schemas/RuleBypasserGroups'
|
|
8270
|
+
},
|
|
8271
|
+
bypass_users: {
|
|
8272
|
+
'$ref': '#/components/schemas/RuleBypasserUsers'
|
|
8273
|
+
}
|
|
8274
|
+
}
|
|
8275
|
+
};
|
|
8276
|
+
export const $ProtectionRules = {
|
|
8277
|
+
type: 'array',
|
|
8278
|
+
description: 'Configuration of protection restrictions',
|
|
8279
|
+
items: {
|
|
8280
|
+
'$ref': '#/components/schemas/ProtectionRuleKind'
|
|
8281
|
+
}
|
|
8282
|
+
};
|
|
8283
|
+
export const $ProtectionRuleKind = {
|
|
8284
|
+
type: 'string',
|
|
8285
|
+
enum: ['DisableDirectDeployment', 'DisableWorkspaceForking']
|
|
8286
|
+
};
|
|
8287
|
+
export const $RuleBypasserGroups = {
|
|
8288
|
+
type: 'array',
|
|
8289
|
+
description: 'Groups that can bypass this ruleset',
|
|
8290
|
+
items: {
|
|
8291
|
+
type: 'string'
|
|
8292
|
+
}
|
|
8293
|
+
};
|
|
8294
|
+
export const $RuleBypasserUsers = {
|
|
8295
|
+
type: 'array',
|
|
8296
|
+
description: 'Users that can bypass this ruleset',
|
|
8297
|
+
items: {
|
|
8298
|
+
type: 'string'
|
|
8299
|
+
}
|
|
8300
|
+
};
|
|
8301
|
+
export const $NativeServiceName = {
|
|
8302
|
+
type: 'string',
|
|
8303
|
+
enum: ['nextcloud', 'google']
|
|
8304
|
+
};
|
|
8305
|
+
export const $NativeTrigger = {
|
|
8306
|
+
type: 'object',
|
|
8307
|
+
description: 'A native trigger stored in Windmill',
|
|
8308
|
+
properties: {
|
|
8309
|
+
external_id: {
|
|
8310
|
+
type: 'string',
|
|
8311
|
+
description: 'The unique identifier from the external service'
|
|
8312
|
+
},
|
|
8313
|
+
workspace_id: {
|
|
8314
|
+
type: 'string',
|
|
8315
|
+
description: 'The workspace this trigger belongs to'
|
|
8316
|
+
},
|
|
8317
|
+
service_name: {
|
|
8318
|
+
'$ref': '#/components/schemas/NativeServiceName'
|
|
8319
|
+
},
|
|
8320
|
+
script_path: {
|
|
8321
|
+
type: 'string',
|
|
8322
|
+
description: 'The path to the script or flow that will be triggered'
|
|
8323
|
+
},
|
|
8324
|
+
is_flow: {
|
|
8325
|
+
type: 'boolean',
|
|
8326
|
+
description: 'Whether the trigger targets a flow (true) or a script (false)'
|
|
8327
|
+
},
|
|
8328
|
+
service_config: {
|
|
8329
|
+
type: 'object',
|
|
8330
|
+
description: 'Configuration for the trigger including event_type and service_config',
|
|
8331
|
+
additionalProperties: true
|
|
8332
|
+
},
|
|
8333
|
+
error: {
|
|
8334
|
+
type: 'string',
|
|
8335
|
+
nullable: true,
|
|
8336
|
+
description: 'Error message if the trigger is in an error state'
|
|
8337
|
+
}
|
|
8338
|
+
},
|
|
8339
|
+
required: ['external_id', 'workspace_id', 'service_name', 'script_path', 'is_flow', 'service_config']
|
|
8340
|
+
};
|
|
8341
|
+
export const $NativeTriggerWithExternal = {
|
|
8342
|
+
type: 'object',
|
|
8343
|
+
description: 'Full trigger response containing both Windmill data and external service data',
|
|
8344
|
+
properties: {
|
|
8345
|
+
external_id: {
|
|
8346
|
+
type: 'string',
|
|
8347
|
+
description: 'The unique identifier from the external service'
|
|
8348
|
+
},
|
|
8349
|
+
workspace_id: {
|
|
8350
|
+
type: 'string',
|
|
8351
|
+
description: 'The workspace this trigger belongs to'
|
|
8352
|
+
},
|
|
8353
|
+
service_name: {
|
|
8354
|
+
'$ref': '#/components/schemas/NativeServiceName'
|
|
8355
|
+
},
|
|
8356
|
+
script_path: {
|
|
8357
|
+
type: 'string',
|
|
8358
|
+
description: 'The path to the script or flow that will be triggered'
|
|
8359
|
+
},
|
|
8360
|
+
is_flow: {
|
|
8361
|
+
type: 'boolean',
|
|
8362
|
+
description: 'Whether the trigger targets a flow (true) or a script (false)'
|
|
8363
|
+
},
|
|
8364
|
+
service_config: {
|
|
8365
|
+
type: 'object',
|
|
8366
|
+
description: 'Configuration for the trigger including event_type and service_config',
|
|
8367
|
+
additionalProperties: true
|
|
8368
|
+
},
|
|
8369
|
+
error: {
|
|
8370
|
+
type: 'string',
|
|
8371
|
+
nullable: true,
|
|
8372
|
+
description: 'Error message if the trigger is in an error state'
|
|
8373
|
+
},
|
|
8374
|
+
external_data: {
|
|
8375
|
+
type: 'object',
|
|
8376
|
+
description: 'Configuration data from the external service',
|
|
8377
|
+
additionalProperties: true
|
|
8378
|
+
}
|
|
8379
|
+
},
|
|
8380
|
+
required: ['external_id', 'workspace_id', 'service_name', 'script_path', 'is_flow', 'service_config', 'external_data']
|
|
8381
|
+
};
|
|
8382
|
+
export const $WorkspaceIntegrations = {
|
|
8383
|
+
type: 'object',
|
|
8384
|
+
properties: {
|
|
8385
|
+
service_name: {
|
|
8386
|
+
'$ref': '#/components/schemas/NativeServiceName'
|
|
8387
|
+
},
|
|
8388
|
+
oauth_data: {
|
|
8389
|
+
nullable: true,
|
|
8390
|
+
'$ref': '#/components/schemas/WorkspaceOAuthConfig'
|
|
8391
|
+
},
|
|
8392
|
+
resource_path: {
|
|
8393
|
+
type: 'string',
|
|
8394
|
+
nullable: true,
|
|
8395
|
+
description: 'Path to the resource storing the OAuth token'
|
|
8396
|
+
}
|
|
8397
|
+
},
|
|
8398
|
+
required: ['service_name']
|
|
8399
|
+
};
|
|
8400
|
+
export const $WorkspaceOAuthConfig = {
|
|
8401
|
+
type: 'object',
|
|
8402
|
+
properties: {
|
|
8403
|
+
client_id: {
|
|
8404
|
+
type: 'string',
|
|
8405
|
+
description: 'The OAuth client ID for the workspace'
|
|
8406
|
+
},
|
|
8407
|
+
client_secret: {
|
|
8408
|
+
type: 'string',
|
|
8409
|
+
description: 'The OAuth client secret for the workspace'
|
|
8410
|
+
},
|
|
8411
|
+
base_url: {
|
|
8412
|
+
type: 'string',
|
|
8413
|
+
format: 'uri',
|
|
8414
|
+
description: 'The base URL of the workspace'
|
|
8415
|
+
},
|
|
8416
|
+
redirect_uri: {
|
|
8417
|
+
type: 'string',
|
|
8418
|
+
format: 'uri',
|
|
8419
|
+
description: 'The OAuth redirect URI'
|
|
8420
|
+
}
|
|
8421
|
+
},
|
|
8422
|
+
required: ['client_id', 'client_secret', 'base_url', 'redirect_uri']
|
|
8423
|
+
};
|
|
8424
|
+
export const $WebhookEvent = {
|
|
8425
|
+
type: 'object',
|
|
8426
|
+
properties: {
|
|
8427
|
+
type: {
|
|
8428
|
+
type: 'string',
|
|
8429
|
+
enum: ['webhook']
|
|
8430
|
+
},
|
|
8431
|
+
request_type: {
|
|
8432
|
+
'$ref': '#/components/schemas/WebhookRequestType'
|
|
8433
|
+
}
|
|
8434
|
+
},
|
|
8435
|
+
required: ['type', 'request_type']
|
|
8436
|
+
};
|
|
8437
|
+
export const $WebhookRequestType = {
|
|
8438
|
+
type: 'string',
|
|
8439
|
+
description: 'The type of webhook request (define possible values here)',
|
|
8440
|
+
enum: ['async', 'sync']
|
|
8441
|
+
};
|
|
8442
|
+
export const $RedirectUri = {
|
|
8443
|
+
type: 'object',
|
|
8444
|
+
properties: {
|
|
8445
|
+
redirect_uri: {
|
|
8446
|
+
type: 'string'
|
|
8447
|
+
}
|
|
8448
|
+
},
|
|
8449
|
+
required: ['redirect_uri']
|
|
8450
|
+
};
|
|
8451
|
+
export const $NativeTriggerData = {
|
|
8452
|
+
type: 'object',
|
|
8453
|
+
description: 'Data for creating or updating a native trigger',
|
|
8454
|
+
properties: {
|
|
8455
|
+
script_path: {
|
|
8456
|
+
type: 'string',
|
|
8457
|
+
description: 'The path to the script or flow that will be triggered'
|
|
8458
|
+
},
|
|
8459
|
+
is_flow: {
|
|
8460
|
+
type: 'boolean',
|
|
8461
|
+
description: 'Whether the trigger targets a flow (true) or a script (false)'
|
|
8462
|
+
},
|
|
8463
|
+
service_config: {
|
|
8464
|
+
type: 'object',
|
|
8465
|
+
description: 'Service-specific configuration (e.g., event types, filters)',
|
|
8466
|
+
additionalProperties: true
|
|
8467
|
+
}
|
|
8468
|
+
},
|
|
8469
|
+
required: ['script_path', 'is_flow', 'service_config']
|
|
8470
|
+
};
|
|
8471
|
+
export const $CreateTriggerResponse = {
|
|
8472
|
+
type: 'object',
|
|
8473
|
+
description: 'Response returned when a native trigger is created',
|
|
8474
|
+
properties: {
|
|
8475
|
+
external_id: {
|
|
8476
|
+
type: 'string',
|
|
8477
|
+
description: 'The external ID of the created trigger from the external service'
|
|
8478
|
+
}
|
|
8479
|
+
},
|
|
8480
|
+
required: ['external_id']
|
|
8481
|
+
};
|
|
8482
|
+
export const $SyncResult = {
|
|
8483
|
+
type: 'object',
|
|
8484
|
+
properties: {
|
|
8485
|
+
already_in_sync: {
|
|
8486
|
+
type: 'boolean'
|
|
8487
|
+
},
|
|
8488
|
+
added_count: {
|
|
8489
|
+
type: 'integer'
|
|
8490
|
+
},
|
|
8491
|
+
added_triggers: {
|
|
8492
|
+
type: 'array',
|
|
8493
|
+
items: {
|
|
8494
|
+
type: 'string'
|
|
8495
|
+
}
|
|
8496
|
+
},
|
|
8497
|
+
total_external: {
|
|
8498
|
+
type: 'integer'
|
|
8499
|
+
},
|
|
8500
|
+
total_windmill: {
|
|
8501
|
+
type: 'integer'
|
|
8502
|
+
}
|
|
8503
|
+
},
|
|
8504
|
+
required: ['already_in_sync', 'added_count', 'added_triggers', 'total_external', 'total_windmill']
|
|
8505
|
+
};
|
|
8506
|
+
export const $NextCloudEventType = {
|
|
8507
|
+
type: 'object',
|
|
8508
|
+
properties: {
|
|
8509
|
+
id: {
|
|
8510
|
+
type: 'string'
|
|
8511
|
+
},
|
|
8512
|
+
name: {
|
|
8513
|
+
type: 'string'
|
|
8514
|
+
},
|
|
8515
|
+
description: {
|
|
8516
|
+
type: 'string'
|
|
8517
|
+
},
|
|
8518
|
+
category: {
|
|
8519
|
+
type: 'string'
|
|
8520
|
+
},
|
|
8521
|
+
path: {
|
|
8522
|
+
type: 'string'
|
|
8523
|
+
}
|
|
8524
|
+
},
|
|
8525
|
+
required: ['id', 'name', 'path']
|
|
8526
|
+
};
|
|
8527
|
+
export const $GoogleCalendarEntry = {
|
|
8528
|
+
type: 'object',
|
|
8529
|
+
properties: {
|
|
8530
|
+
id: {
|
|
8531
|
+
type: 'string'
|
|
8532
|
+
},
|
|
8533
|
+
summary: {
|
|
8534
|
+
type: 'string'
|
|
8535
|
+
},
|
|
8536
|
+
primary: {
|
|
8537
|
+
type: 'boolean',
|
|
8538
|
+
default: false
|
|
8539
|
+
}
|
|
8540
|
+
},
|
|
8541
|
+
required: ['id', 'summary']
|
|
8542
|
+
};
|
|
8543
|
+
export const $GoogleDriveFile = {
|
|
8544
|
+
type: 'object',
|
|
8545
|
+
properties: {
|
|
8546
|
+
id: {
|
|
8547
|
+
type: 'string'
|
|
8548
|
+
},
|
|
8549
|
+
name: {
|
|
8550
|
+
type: 'string'
|
|
8551
|
+
},
|
|
8552
|
+
mime_type: {
|
|
8553
|
+
type: 'string'
|
|
8554
|
+
},
|
|
8555
|
+
is_folder: {
|
|
8556
|
+
type: 'boolean',
|
|
8557
|
+
default: false
|
|
8558
|
+
}
|
|
8559
|
+
},
|
|
8560
|
+
required: ['id', 'name', 'mime_type']
|
|
8561
|
+
};
|
|
8562
|
+
export const $GoogleDriveFilesResponse = {
|
|
8563
|
+
type: 'object',
|
|
8564
|
+
properties: {
|
|
8565
|
+
files: {
|
|
8566
|
+
type: 'array',
|
|
8567
|
+
items: {
|
|
8568
|
+
'$ref': '#/components/schemas/GoogleDriveFile'
|
|
8569
|
+
}
|
|
8570
|
+
},
|
|
8571
|
+
next_page_token: {
|
|
8572
|
+
type: 'string'
|
|
8573
|
+
}
|
|
8574
|
+
},
|
|
8575
|
+
required: ['files']
|
|
8576
|
+
};
|
|
8577
|
+
export const $SharedDriveEntry = {
|
|
8578
|
+
type: 'object',
|
|
8579
|
+
properties: {
|
|
8580
|
+
id: {
|
|
8581
|
+
type: 'string'
|
|
8582
|
+
},
|
|
8583
|
+
name: {
|
|
8584
|
+
type: 'string'
|
|
8585
|
+
}
|
|
8586
|
+
},
|
|
8587
|
+
required: ['id', 'name']
|
|
8588
|
+
};
|