windmill-components 1.623.2 → 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/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 +2 -2
- package/package/components/ApiConnectForm.svelte +7 -1
- 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 +68 -39
- 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/CenteredModal.svelte +14 -4
- package/package/components/CenteredModal.svelte.d.ts +1 -0
- package/package/components/ChangeInstanceUsernameInner.svelte +1 -1
- package/package/components/CompareWorkspaces.svelte +29 -57
- package/package/components/ConcurrentJobsChart.svelte +1 -1
- package/package/components/ConnectionSection.svelte +69 -73
- package/package/components/CustomSso.svelte +7 -7
- package/package/components/DBManager.svelte +15 -4
- package/package/components/DBManager.svelte.d.ts +2 -0
- package/package/components/DBManagerContent.svelte +5 -0
- package/package/components/DBManagerContent.svelte.d.ts +1 -0
- package/package/components/DBManagerDrawer.svelte +2 -0
- package/package/components/DatatablePicker.svelte +29 -0
- package/package/components/DatatablePicker.svelte.d.ts +13 -0
- package/package/components/DateTimeInput.svelte +3 -3
- package/package/components/DedicatedWorkersSelector.svelte +39 -42
- package/package/components/DeployToSetting.svelte +183 -123
- package/package/components/DeployToSetting.svelte.d.ts +19 -28
- package/package/components/DeployWorkspace.svelte +6 -44
- 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 +3 -1
- package/package/components/Dev.svelte +1 -0
- package/package/components/DiffEditor.svelte +7 -6
- package/package/components/DiffEditor.svelte.d.ts +2 -6
- package/package/components/DisplayResult.svelte +2 -2
- 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 +3 -3
- 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 +2 -2
- package/package/components/Editor.svelte.d.ts +1 -0
- package/package/components/EditorBar.svelte +2 -4
- 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/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 +123 -79
- 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/FlowPreviewContent.svelte +65 -49
- package/package/components/FlowPreviewContent.svelte.d.ts +4 -0
- package/package/components/FlowRestartButton.svelte +47 -47
- package/package/components/FlowRestartButton.svelte.d.ts +2 -0
- package/package/components/FlowStatusViewer.svelte +2 -3
- package/package/components/FlowStatusViewer.svelte.d.ts +1 -0
- package/package/components/FlowStatusViewerInner.svelte +380 -297
- package/package/components/FlowStatusViewerInner.svelte.d.ts +2 -2
- package/package/components/FlowStatusWaitingForEvents.svelte +11 -10
- package/package/components/FolderPicker.svelte +195 -65
- package/package/components/FolderPicker.svelte.d.ts +2 -0
- package/package/components/HistoricInputs.svelte +3 -4
- package/package/components/IconedResourceType.svelte +8 -2
- package/package/components/IconedResourceType.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 +150 -374
- 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/JobArgs.svelte +14 -10
- package/package/components/JobLoader.svelte +6 -4
- package/package/components/JobLoader.svelte.d.ts +2 -2
- package/package/components/JobStatus.svelte +29 -26
- package/package/components/JobStatus.svelte.d.ts +1 -0
- package/package/components/KanidmSetting.svelte +3 -2
- package/package/components/KeycloakSetting.svelte +3 -2
- package/package/components/Login.svelte +9 -3
- 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 +3 -2
- 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 +6 -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 +40 -28
- package/package/components/Path.svelte.d.ts +3 -0
- package/package/components/PocketIdSetting.svelte +3 -2
- package/package/components/ResourceEditor.svelte +9 -3
- package/package/components/ResourcePicker.svelte +2 -5
- package/package/components/RightClickPopover.svelte +37 -0
- package/package/components/RightClickPopover.svelte.d.ts +11 -0
- package/package/components/RunChart.svelte +2 -21
- package/package/components/RunChart.svelte.d.ts +0 -3
- package/package/components/RunsPage.svelte +458 -560
- 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/SavedInputsV2.svelte +1 -3
- package/package/components/SchemaFormWithArgPicker.svelte +34 -30
- package/package/components/SchemaFormWithArgPicker.svelte.d.ts +12 -21
- package/package/components/SchemaViewer.svelte +56 -53
- package/package/components/ScriptBuilder.svelte +12 -12
- package/package/components/ScriptEditor.svelte +30 -28
- package/package/components/Section.svelte +2 -2
- package/package/components/ServiceLogsInner.svelte +21 -82
- package/package/components/Star.svelte +8 -22
- package/package/components/Star.svelte.d.ts +4 -4
- package/package/components/StringTypeNarrowing.svelte +1 -0
- 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/Toast.svelte +69 -51
- 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 +2 -2
- package/package/components/UserSettings.svelte.d.ts +1 -0
- package/package/components/WorkerGroup.svelte +320 -192
- package/package/components/WorkerGroup.svelte.d.ts +2 -0
- package/package/components/WorkspaceDependenciesEditor.svelte +33 -17
- 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/display/dbtable/AppDbExplorer.svelte +24 -13
- package/package/components/apps/components/display/dbtable/metadata.d.ts +1 -0
- package/package/components/apps/components/display/dbtable/metadata.js +1 -0
- package/package/components/apps/components/display/dbtable/queries/count.js +3 -1
- 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/select.js +15 -1
- package/package/components/apps/components/display/dbtable/queries/update.js +3 -1
- 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 +7 -0
- package/package/components/apps/components/display/table/AppAggridTableActions.svelte +9 -3
- package/package/components/apps/components/display/table/AppAggridTableActions.svelte.d.ts +1 -0
- package/package/components/apps/components/display/table/theme/windmill-theme.css +8 -7
- package/package/components/apps/components/helpers/eval.js +5 -2
- 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/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/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 +2 -2
- 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 +8 -6
- package/package/components/assets/AssetsUsageDrawer.svelte +16 -14
- 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 +3 -2
- package/package/components/assets/lib.js +8 -1
- package/package/components/auditLogs/AuditLogsFilters.svelte +30 -1
- 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/breadcrumb/Breadcrumb.svelte +10 -14
- package/package/components/common/breadcrumb/Breadcrumb.svelte.d.ts +8 -23
- package/package/components/common/drawer/DrawerContent.svelte +1 -1
- 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 -10
- package/package/components/common/table/AppRow.svelte.d.ts +2 -2
- package/package/components/common/table/FlowRow.svelte +12 -15
- package/package/components/common/table/FlowRow.svelte.d.ts +2 -2
- package/package/components/common/table/RawAppRow.svelte +5 -82
- package/package/components/common/table/RawAppRow.svelte.d.ts +2 -23
- package/package/components/common/table/Row.svelte +2 -2
- package/package/components/common/table/Row.svelte.d.ts +0 -2
- package/package/components/common/table/ScriptRow.svelte +8 -11
- 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/chat/AIChatInput.svelte +22 -11
- package/package/components/copilot/chat/AIChatManager.svelte.js +15 -17
- 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/ContextTextarea.svelte +15 -2
- package/package/components/copilot/chat/__tests__/app/variants/streamlined.js +1 -1
- package/package/components/copilot/chat/__tests__/flow/variants/minimal-single-tool.js +4 -2
- package/package/components/copilot/chat/app/core.js +7 -86
- package/package/components/copilot/chat/context.js +4 -1
- package/package/components/copilot/chat/flow/core.js +193 -61
- package/package/components/copilot/chat/flow/openFlow.json +1 -1
- package/package/components/copilot/chat/flow/openFlowZod.d.ts +2 -2
- package/package/components/copilot/chat/flow/openFlowZod.js +6 -8
- 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.js +4 -1
- package/package/components/copilot/chat/shared.d.ts +53 -1
- package/package/components/copilot/chat/shared.js +227 -1
- package/package/components/copilot/lib.js +42 -0
- package/package/components/dedicated_worker.d.ts +7 -0
- package/package/components/dedicated_worker.js +36 -0
- package/package/components/details/DetailPageHeader.svelte +8 -23
- package/package/components/details/DetailPageHeader.svelte.d.ts +1 -0
- package/package/components/details/DetailPageLayout.svelte +1 -1
- 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 -82
- package/package/components/flows/CreateActionsFlow.svelte +28 -28
- package/package/components/flows/FlowAssetsHandler.svelte +1 -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/FlowEnvironmentVariables.svelte +3 -2
- 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 +22 -6
- package/package/components/flows/content/FlowModuleSleep.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/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/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/PropPickerWrapper.svelte +6 -9
- 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 +1 -3
- package/package/components/flows/utils.svelte.js +5 -1
- package/package/components/git_sync/GitSyncRepositoryCard.svelte +23 -21
- package/package/components/git_sync/GitSyncSection.svelte +24 -27
- package/package/components/graph/FlowGraphV2.svelte +1 -1
- 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 +5 -2
- package/package/components/home/Item.svelte +9 -15
- package/package/components/home/Item.svelte.d.ts +8 -7
- package/package/components/home/ItemsList.svelte +4 -10
- package/package/components/home/ItemsList.svelte.d.ts +1 -0
- 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/MSSqlServerIcon.svelte +111 -47
- 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 +15 -16
- 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 +52 -0
- package/package/components/instanceSettings.js +413 -69
- 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/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 +34 -49
- package/package/components/propertyPicker/PropPicker.svelte.d.ts +12 -11
- package/package/components/raw_apps/FileTreeNode.svelte +1 -0
- package/package/components/raw_apps/RawAppBackgroundRunner.svelte +3 -2
- package/package/components/raw_apps/RawAppEditor.svelte +20 -16
- package/package/components/raw_apps/RawAppEditor.svelte.d.ts +4 -4
- package/package/components/raw_apps/RawAppEditorHeader.svelte +73 -7
- package/package/components/raw_apps/RawAppEditorHeader.svelte.d.ts +1 -1
- package/package/components/raw_apps/RawAppInlineScriptEditor.svelte.d.ts +1 -2
- package/package/components/raw_apps/RawAppInlineScriptPanelList.svelte +41 -1
- package/package/components/raw_apps/RawAppInlineScriptsPanel.svelte.d.ts +0 -1
- package/package/components/raw_apps/RawAppSidebar.svelte +32 -284
- package/package/components/raw_apps/RawAppSidebar.svelte.d.ts +1 -1
- package/package/components/raw_apps/RunnableRow.svelte +88 -34
- package/package/components/raw_apps/RunnableRow.svelte.d.ts +4 -0
- 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/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/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 +5 -7
- package/package/components/runs/useJobsLoader.svelte.js +27 -30
- package/package/components/schedules/schedulesFilter.d.ts +65 -0
- package/package/components/schedules/schedulesFilter.js +60 -0
- package/package/components/schema/EditableSchemaWrapper.svelte +43 -22
- 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/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/Select.svelte +17 -4
- package/package/components/select/Select.svelte.d.ts +2 -1
- package/package/components/select/SelectDropdown.svelte +76 -155
- package/package/components/select/SelectDropdown.svelte.d.ts +4 -1
- package/package/components/settings/ChangeWorkspaceColor.svelte +7 -8
- package/package/components/settings/ChangeWorkspaceId.svelte +4 -6
- package/package/components/settings/ChangeWorkspaceName.svelte +6 -8
- 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/WorkspaceUserSettings.svelte +13 -23
- 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 +10 -7
- package/package/components/sidebar/MenuButton.svelte.d.ts +2 -0
- package/package/components/sidebar/MenuLink.svelte +4 -3
- package/package/components/sidebar/OperatorMenu.svelte +3 -1
- package/package/components/sidebar/OperatorMenu.svelte.d.ts +6 -1
- package/package/components/sidebar/SidebarContent.svelte +3 -3
- package/package/components/sidebar/WorkspaceMenu.svelte +3 -2
- package/package/components/table/AutoDataTable.svelte +2 -2
- package/package/components/toast.js +1 -2
- package/package/components/triggers/AddTriggersButton.svelte +11 -0
- package/package/components/triggers/TriggerFilters.svelte +71 -0
- package/package/components/triggers/TriggerFilters.svelte.d.ts +10 -0
- package/package/components/triggers/TriggersEditor.svelte +31 -11
- package/package/components/triggers/TriggersWrapper.svelte +10 -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 +22 -17
- package/package/components/triggers/native/NativeTriggerTable.svelte +16 -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/utils.d.ts +0 -1
- package/package/components/triggers/native/utils.js +15 -1
- package/package/components/triggers/schedules/ScheduleEditorInner.svelte +3 -3
- package/package/components/triggers/triggers.svelte.d.ts +1 -1
- package/package/components/triggers/triggers.svelte.js +11 -3
- package/package/components/triggers/utils.js +33 -6
- 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/variables/variablesFilter.d.ts +56 -0
- package/package/components/variables/variablesFilter.js +51 -0
- 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/workspaceSettings/AISettings.svelte +36 -42
- package/package/components/workspaceSettings/AISettings.svelte.d.ts +2 -0
- package/package/components/workspaceSettings/CreateWorkspace.svelte +4 -4
- package/package/components/workspaceSettings/CustomInstanceDbWizardModal.svelte.d.ts +1 -2
- package/package/components/workspaceSettings/DataTableSettings.svelte +27 -16
- package/package/components/workspaceSettings/DataTableSettings.svelte.d.ts +1 -0
- package/package/components/workspaceSettings/DucklakeSettings.svelte +21 -15
- package/package/components/workspaceSettings/DucklakeSettings.svelte.d.ts +1 -0
- package/package/components/workspaceSettings/GitSyncFilterSettings.svelte +24 -66
- package/package/components/workspaceSettings/ModelTokenLimits.svelte +6 -10
- package/package/components/workspaceSettings/OAuthClientConfig.svelte +46 -75
- package/package/components/workspaceSettings/OAuthClientConfig.svelte.d.ts +8 -1
- 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 +48 -34
- package/package/components/workspaceSettings/StorageSettings.svelte.d.ts +1 -0
- package/package/components/workspaceSettings/WorkspaceDependenciesSettings.svelte +66 -27
- package/package/components/workspaceSettings/WorkspaceIntegrations.svelte +237 -73
- package/package/components/workspaceSettings/WorkspaceRulesets.svelte +183 -0
- package/package/components/workspaceSettings/WorkspaceRulesets.svelte.d.ts +3 -0
- package/package/editorLangUtils.d.ts +1 -1
- package/package/gen/core/OpenAPI.js +1 -1
- package/package/gen/schemas.gen.d.ts +996 -70
- package/package/gen/schemas.gen.js +1352 -378
- package/package/gen/services.gen.d.ts +156 -41
- package/package/gen/services.gen.js +319 -83
- package/package/gen/types.gen.d.ts +1896 -317
- package/package/hub.d.ts +1 -0
- package/package/hub.js +7 -0
- package/package/hubPaths.json +2 -1
- package/package/infer.d.ts +2 -0
- package/package/mcpEndpointTools.d.ts +3 -0
- package/package/mcpEndpointTools.js +574 -147
- package/package/rawAppWmillTs.js +12 -11
- package/package/scripts.d.ts +1 -1
- package/package/scripts.js +1 -1
- package/package/storeUtils.js +8 -0
- package/package/stores.d.ts +1 -1
- package/package/stores.js +4 -2
- package/package/svelte5Utils.svelte.d.ts +40 -0
- package/package/svelte5Utils.svelte.js +158 -0
- package/package/svelte5UtilsKit.svelte.d.ts +13 -3
- package/package/svelte5UtilsKit.svelte.js +96 -20
- 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/utils.js +214 -7
- 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 -84
- package/package/components/FlowPreviewResult.svelte.d.ts +0 -20
- package/package/components/copilot/chat/context.d.ts +0 -119
- package/package/components/flows/propPicker/FlowPropPicker.svelte +0 -72
- package/package/components/flows/propPicker/FlowPropPicker.svelte.d.ts +0 -23
- 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 -966
- package/package/components/runs/RunsFilter.svelte.d.ts +0 -80
|
@@ -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,6 +1407,179 @@ export const $FlowNote = {
|
|
|
1178
1407
|
},
|
|
1179
1408
|
required: ['id', 'text', 'color', 'type']
|
|
1180
1409
|
};
|
|
1410
|
+
export const $HealthStatusResponse = {
|
|
1411
|
+
type: 'object',
|
|
1412
|
+
description: 'Health status response (cached with 5s TTL)',
|
|
1413
|
+
required: ['status', 'checked_at', 'database_healthy', 'workers_alive'],
|
|
1414
|
+
properties: {
|
|
1415
|
+
status: {
|
|
1416
|
+
type: 'string',
|
|
1417
|
+
enum: ['healthy', 'degraded', 'unhealthy'],
|
|
1418
|
+
description: 'Overall health status'
|
|
1419
|
+
},
|
|
1420
|
+
checked_at: {
|
|
1421
|
+
type: 'string',
|
|
1422
|
+
format: 'date-time',
|
|
1423
|
+
description: 'Timestamp when the health check was actually performed (not cache return time)'
|
|
1424
|
+
},
|
|
1425
|
+
database_healthy: {
|
|
1426
|
+
type: 'boolean',
|
|
1427
|
+
description: 'Whether the database is reachable'
|
|
1428
|
+
},
|
|
1429
|
+
workers_alive: {
|
|
1430
|
+
type: 'integer',
|
|
1431
|
+
format: 'int64',
|
|
1432
|
+
description: 'Number of workers that pinged within last 5 minutes'
|
|
1433
|
+
}
|
|
1434
|
+
}
|
|
1435
|
+
};
|
|
1436
|
+
export const $DetailedHealthResponse = {
|
|
1437
|
+
type: 'object',
|
|
1438
|
+
description: 'Detailed health status response (always fresh, no caching)',
|
|
1439
|
+
required: ['status', 'checked_at', 'version', 'checks'],
|
|
1440
|
+
properties: {
|
|
1441
|
+
status: {
|
|
1442
|
+
type: 'string',
|
|
1443
|
+
enum: ['healthy', 'degraded', 'unhealthy'],
|
|
1444
|
+
description: 'Overall health status'
|
|
1445
|
+
},
|
|
1446
|
+
checked_at: {
|
|
1447
|
+
type: 'string',
|
|
1448
|
+
format: 'date-time',
|
|
1449
|
+
description: 'Timestamp when the health check was performed'
|
|
1450
|
+
},
|
|
1451
|
+
version: {
|
|
1452
|
+
type: 'string',
|
|
1453
|
+
description: 'Server version (e.g., "EE 1.615.3")'
|
|
1454
|
+
},
|
|
1455
|
+
checks: {
|
|
1456
|
+
'$ref': '#/components/schemas/HealthChecks'
|
|
1457
|
+
}
|
|
1458
|
+
}
|
|
1459
|
+
};
|
|
1460
|
+
export const $HealthChecks = {
|
|
1461
|
+
type: 'object',
|
|
1462
|
+
description: 'Detailed health checks',
|
|
1463
|
+
required: ['database', 'readiness'],
|
|
1464
|
+
properties: {
|
|
1465
|
+
database: {
|
|
1466
|
+
'$ref': '#/components/schemas/DatabaseHealth'
|
|
1467
|
+
},
|
|
1468
|
+
workers: {
|
|
1469
|
+
'$ref': '#/components/schemas/WorkersHealth',
|
|
1470
|
+
description: 'Worker status (null if database is unreachable)',
|
|
1471
|
+
nullable: true
|
|
1472
|
+
},
|
|
1473
|
+
queue: {
|
|
1474
|
+
'$ref': '#/components/schemas/QueueHealth',
|
|
1475
|
+
description: 'Queue status (null if database is unreachable)',
|
|
1476
|
+
nullable: true
|
|
1477
|
+
},
|
|
1478
|
+
readiness: {
|
|
1479
|
+
'$ref': '#/components/schemas/ReadinessHealth'
|
|
1480
|
+
}
|
|
1481
|
+
}
|
|
1482
|
+
};
|
|
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
|
+
}
|
|
1501
|
+
};
|
|
1502
|
+
export const $PoolStats = {
|
|
1503
|
+
type: 'object',
|
|
1504
|
+
description: 'Database connection pool statistics',
|
|
1505
|
+
required: ['size', 'idle', 'max_connections'],
|
|
1506
|
+
properties: {
|
|
1507
|
+
size: {
|
|
1508
|
+
type: 'integer',
|
|
1509
|
+
description: 'Current number of connections in the pool'
|
|
1510
|
+
},
|
|
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'
|
|
1518
|
+
}
|
|
1519
|
+
}
|
|
1520
|
+
};
|
|
1521
|
+
export const $WorkersHealth = {
|
|
1522
|
+
type: 'object',
|
|
1523
|
+
description: 'Workers health status',
|
|
1524
|
+
required: ['healthy', 'active_count', 'worker_groups', 'min_version', 'versions'],
|
|
1525
|
+
properties: {
|
|
1526
|
+
healthy: {
|
|
1527
|
+
type: 'boolean',
|
|
1528
|
+
description: 'Whether any workers are active'
|
|
1529
|
+
},
|
|
1530
|
+
active_count: {
|
|
1531
|
+
type: 'integer',
|
|
1532
|
+
format: 'int64',
|
|
1533
|
+
description: 'Number of active workers (pinged in last 5 minutes)'
|
|
1534
|
+
},
|
|
1535
|
+
worker_groups: {
|
|
1536
|
+
type: 'array',
|
|
1537
|
+
items: {
|
|
1538
|
+
type: 'string'
|
|
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'
|
|
1552
|
+
}
|
|
1553
|
+
}
|
|
1554
|
+
};
|
|
1555
|
+
export const $QueueHealth = {
|
|
1556
|
+
type: 'object',
|
|
1557
|
+
description: 'Job queue status',
|
|
1558
|
+
required: ['pending_jobs', 'running_jobs'],
|
|
1559
|
+
properties: {
|
|
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
|
+
};
|
|
1181
1583
|
export const $AutoInviteConfig = {
|
|
1182
1584
|
type: 'object',
|
|
1183
1585
|
description: 'Configuration for auto-inviting users to the workspace',
|
|
@@ -2022,7 +2424,7 @@ export const $ScriptHistory = {
|
|
|
2022
2424
|
export const $ScriptArgs = {
|
|
2023
2425
|
type: 'object',
|
|
2024
2426
|
description: 'The arguments to pass to the script or flow',
|
|
2025
|
-
additionalProperties:
|
|
2427
|
+
additionalProperties: true
|
|
2026
2428
|
};
|
|
2027
2429
|
export const $Input = {
|
|
2028
2430
|
type: 'object',
|
|
@@ -3186,7 +3588,7 @@ export const $MainArgSignature = {
|
|
|
3186
3588
|
};
|
|
3187
3589
|
export const $ScriptLang = {
|
|
3188
3590
|
type: 'string',
|
|
3189
|
-
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']
|
|
3190
3592
|
};
|
|
3191
3593
|
export const $Preview = {
|
|
3192
3594
|
type: 'object',
|
|
@@ -3436,100 +3838,142 @@ export const $Schedule = {
|
|
|
3436
3838
|
type: 'object',
|
|
3437
3839
|
properties: {
|
|
3438
3840
|
path: {
|
|
3439
|
-
type: 'string'
|
|
3841
|
+
type: 'string',
|
|
3842
|
+
description: 'The unique path identifier for this schedule'
|
|
3440
3843
|
},
|
|
3441
3844
|
edited_by: {
|
|
3442
|
-
type: 'string'
|
|
3845
|
+
type: 'string',
|
|
3846
|
+
description: 'Username of the last person who edited this schedule'
|
|
3443
3847
|
},
|
|
3444
3848
|
edited_at: {
|
|
3445
3849
|
type: 'string',
|
|
3446
|
-
format: 'date-time'
|
|
3850
|
+
format: 'date-time',
|
|
3851
|
+
description: 'Timestamp of the last edit'
|
|
3447
3852
|
},
|
|
3448
3853
|
schedule: {
|
|
3449
|
-
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"
|
|
3450
3856
|
},
|
|
3451
3857
|
timezone: {
|
|
3452
|
-
type: 'string'
|
|
3858
|
+
type: 'string',
|
|
3859
|
+
description: "IANA timezone for the schedule (e.g., 'UTC', 'Europe/Paris', 'America/New_York')"
|
|
3453
3860
|
},
|
|
3454
3861
|
enabled: {
|
|
3455
|
-
type: 'boolean'
|
|
3862
|
+
type: 'boolean',
|
|
3863
|
+
description: 'Whether the schedule is currently active and will trigger jobs'
|
|
3456
3864
|
},
|
|
3457
3865
|
script_path: {
|
|
3458
|
-
type: 'string'
|
|
3866
|
+
type: 'string',
|
|
3867
|
+
description: 'Path to the script or flow to execute when triggered'
|
|
3459
3868
|
},
|
|
3460
3869
|
is_flow: {
|
|
3461
|
-
type: 'boolean'
|
|
3870
|
+
type: 'boolean',
|
|
3871
|
+
description: 'True if script_path points to a flow, false if it points to a script'
|
|
3462
3872
|
},
|
|
3463
3873
|
args: {
|
|
3464
|
-
'$ref': '#/components/schemas/ScriptArgs'
|
|
3874
|
+
'$ref': '#/components/schemas/ScriptArgs',
|
|
3875
|
+
nullable: true
|
|
3465
3876
|
},
|
|
3466
3877
|
extra_perms: {
|
|
3467
3878
|
type: 'object',
|
|
3468
3879
|
additionalProperties: {
|
|
3469
3880
|
type: 'boolean'
|
|
3470
|
-
}
|
|
3881
|
+
},
|
|
3882
|
+
description: 'Additional permissions for this schedule'
|
|
3471
3883
|
},
|
|
3472
3884
|
email: {
|
|
3473
|
-
type: 'string'
|
|
3885
|
+
type: 'string',
|
|
3886
|
+
description: 'Email of the user who owns this schedule, used for permissioned_as'
|
|
3474
3887
|
},
|
|
3475
3888
|
error: {
|
|
3476
|
-
type: 'string'
|
|
3889
|
+
type: 'string',
|
|
3890
|
+
nullable: true,
|
|
3891
|
+
description: 'Last error message if the schedule failed to trigger'
|
|
3477
3892
|
},
|
|
3478
3893
|
on_failure: {
|
|
3479
|
-
type: 'string'
|
|
3894
|
+
type: 'string',
|
|
3895
|
+
nullable: true,
|
|
3896
|
+
description: 'Path to a script or flow to run when the scheduled job fails'
|
|
3480
3897
|
},
|
|
3481
3898
|
on_failure_times: {
|
|
3482
|
-
type: 'number'
|
|
3899
|
+
type: 'number',
|
|
3900
|
+
nullable: true,
|
|
3901
|
+
description: 'Number of consecutive failures before the on_failure handler is triggered (default 1)'
|
|
3483
3902
|
},
|
|
3484
3903
|
on_failure_exact: {
|
|
3485
|
-
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'
|
|
3486
3907
|
},
|
|
3487
3908
|
on_failure_extra_args: {
|
|
3488
|
-
'$ref': '#/components/schemas/ScriptArgs'
|
|
3909
|
+
'$ref': '#/components/schemas/ScriptArgs',
|
|
3910
|
+
nullable: true
|
|
3489
3911
|
},
|
|
3490
3912
|
on_recovery: {
|
|
3491
|
-
type: 'string'
|
|
3913
|
+
type: 'string',
|
|
3914
|
+
nullable: true,
|
|
3915
|
+
description: 'Path to a script or flow to run when the schedule recovers after failures'
|
|
3492
3916
|
},
|
|
3493
3917
|
on_recovery_times: {
|
|
3494
|
-
type: 'number'
|
|
3918
|
+
type: 'number',
|
|
3919
|
+
nullable: true,
|
|
3920
|
+
description: 'Number of consecutive successes before the on_recovery handler is triggered (default 1)'
|
|
3495
3921
|
},
|
|
3496
3922
|
on_recovery_extra_args: {
|
|
3497
|
-
'$ref': '#/components/schemas/ScriptArgs'
|
|
3923
|
+
'$ref': '#/components/schemas/ScriptArgs',
|
|
3924
|
+
nullable: true
|
|
3498
3925
|
},
|
|
3499
3926
|
on_success: {
|
|
3500
|
-
type: 'string'
|
|
3927
|
+
type: 'string',
|
|
3928
|
+
nullable: true,
|
|
3929
|
+
description: 'Path to a script or flow to run after each successful execution'
|
|
3501
3930
|
},
|
|
3502
3931
|
on_success_extra_args: {
|
|
3503
|
-
'$ref': '#/components/schemas/ScriptArgs'
|
|
3932
|
+
'$ref': '#/components/schemas/ScriptArgs',
|
|
3933
|
+
nullable: true
|
|
3504
3934
|
},
|
|
3505
3935
|
ws_error_handler_muted: {
|
|
3506
|
-
type: 'boolean'
|
|
3936
|
+
type: 'boolean',
|
|
3937
|
+
description: "If true, the workspace-level error handler will not be triggered for this schedule's failures"
|
|
3507
3938
|
},
|
|
3508
3939
|
retry: {
|
|
3509
|
-
'$ref': '#/components/schemas/Retry'
|
|
3940
|
+
'$ref': '#/components/schemas/Retry',
|
|
3941
|
+
nullable: true
|
|
3510
3942
|
},
|
|
3511
3943
|
summary: {
|
|
3512
|
-
type: 'string'
|
|
3944
|
+
type: 'string',
|
|
3945
|
+
nullable: true,
|
|
3946
|
+
description: 'Short summary describing the purpose of this schedule'
|
|
3513
3947
|
},
|
|
3514
3948
|
description: {
|
|
3515
|
-
type: 'string'
|
|
3949
|
+
type: 'string',
|
|
3950
|
+
nullable: true,
|
|
3951
|
+
description: 'Detailed description of what this schedule does'
|
|
3516
3952
|
},
|
|
3517
3953
|
no_flow_overlap: {
|
|
3518
|
-
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)"
|
|
3519
3956
|
},
|
|
3520
3957
|
tag: {
|
|
3521
|
-
type: 'string'
|
|
3958
|
+
type: 'string',
|
|
3959
|
+
nullable: true,
|
|
3960
|
+
description: 'Worker tag to route jobs to specific worker groups'
|
|
3522
3961
|
},
|
|
3523
3962
|
paused_until: {
|
|
3524
3963
|
type: 'string',
|
|
3525
|
-
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'
|
|
3526
3967
|
},
|
|
3527
3968
|
cron_version: {
|
|
3528
|
-
type: 'string'
|
|
3969
|
+
type: 'string',
|
|
3970
|
+
nullable: true,
|
|
3971
|
+
description: "Cron parser version. Use 'v2' for extended syntax with additional features"
|
|
3529
3972
|
},
|
|
3530
3973
|
dynamic_skip: {
|
|
3531
3974
|
type: 'string',
|
|
3532
|
-
|
|
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)'
|
|
3533
3977
|
}
|
|
3534
3978
|
},
|
|
3535
3979
|
required: ['path', 'edited_by', 'edited_at', 'schedule', 'script_path', 'timezone', 'extra_perms', 'is_flow', 'enabled', 'email']
|
|
@@ -3573,104 +4017,116 @@ export const $NewSchedule = {
|
|
|
3573
4017
|
properties: {
|
|
3574
4018
|
path: {
|
|
3575
4019
|
type: 'string',
|
|
3576
|
-
description: 'The path
|
|
4020
|
+
description: 'The unique path identifier for this schedule'
|
|
3577
4021
|
},
|
|
3578
4022
|
schedule: {
|
|
3579
4023
|
type: 'string',
|
|
3580
|
-
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"
|
|
3581
4025
|
},
|
|
3582
4026
|
timezone: {
|
|
3583
4027
|
type: 'string',
|
|
3584
|
-
description:
|
|
4028
|
+
description: "IANA timezone for the schedule (e.g., 'UTC', 'Europe/Paris', 'America/New_York')"
|
|
3585
4029
|
},
|
|
3586
4030
|
script_path: {
|
|
3587
4031
|
type: 'string',
|
|
3588
|
-
description: '
|
|
4032
|
+
description: 'Path to the script or flow to execute when triggered'
|
|
3589
4033
|
},
|
|
3590
4034
|
is_flow: {
|
|
3591
4035
|
type: 'boolean',
|
|
3592
|
-
description: '
|
|
4036
|
+
description: 'True if script_path points to a flow, false if it points to a script'
|
|
3593
4037
|
},
|
|
3594
4038
|
args: {
|
|
3595
|
-
|
|
3596
|
-
|
|
4039
|
+
nullable: true,
|
|
4040
|
+
'$ref': '#/components/schemas/ScriptArgs'
|
|
3597
4041
|
},
|
|
3598
4042
|
enabled: {
|
|
3599
4043
|
type: 'boolean',
|
|
3600
|
-
description: 'Whether the schedule is
|
|
4044
|
+
description: 'Whether the schedule is currently active and will trigger jobs'
|
|
3601
4045
|
},
|
|
3602
4046
|
on_failure: {
|
|
3603
4047
|
type: 'string',
|
|
3604
|
-
|
|
4048
|
+
nullable: true,
|
|
4049
|
+
description: 'Path to a script or flow to run when the scheduled job fails'
|
|
3605
4050
|
},
|
|
3606
4051
|
on_failure_times: {
|
|
3607
4052
|
type: 'number',
|
|
3608
|
-
|
|
4053
|
+
nullable: true,
|
|
4054
|
+
description: 'Number of consecutive failures before the on_failure handler is triggered (default 1)'
|
|
3609
4055
|
},
|
|
3610
4056
|
on_failure_exact: {
|
|
3611
4057
|
type: 'boolean',
|
|
3612
|
-
|
|
4058
|
+
nullable: true,
|
|
4059
|
+
description: 'If true, trigger on_failure handler only on exactly N failures, not on every failure after N'
|
|
3613
4060
|
},
|
|
3614
4061
|
on_failure_extra_args: {
|
|
3615
|
-
|
|
3616
|
-
|
|
4062
|
+
nullable: true,
|
|
4063
|
+
'$ref': '#/components/schemas/ScriptArgs'
|
|
3617
4064
|
},
|
|
3618
4065
|
on_recovery: {
|
|
3619
4066
|
type: 'string',
|
|
3620
|
-
|
|
4067
|
+
nullable: true,
|
|
4068
|
+
description: 'Path to a script or flow to run when the schedule recovers after failures'
|
|
3621
4069
|
},
|
|
3622
4070
|
on_recovery_times: {
|
|
3623
4071
|
type: 'number',
|
|
3624
|
-
|
|
4072
|
+
nullable: true,
|
|
4073
|
+
description: 'Number of consecutive successes before the on_recovery handler is triggered (default 1)'
|
|
3625
4074
|
},
|
|
3626
4075
|
on_recovery_extra_args: {
|
|
3627
|
-
|
|
3628
|
-
|
|
4076
|
+
nullable: true,
|
|
4077
|
+
'$ref': '#/components/schemas/ScriptArgs'
|
|
3629
4078
|
},
|
|
3630
4079
|
on_success: {
|
|
3631
4080
|
type: 'string',
|
|
3632
|
-
|
|
4081
|
+
nullable: true,
|
|
4082
|
+
description: 'Path to a script or flow to run after each successful execution'
|
|
3633
4083
|
},
|
|
3634
4084
|
on_success_extra_args: {
|
|
3635
|
-
|
|
3636
|
-
|
|
4085
|
+
nullable: true,
|
|
4086
|
+
'$ref': '#/components/schemas/ScriptArgs'
|
|
3637
4087
|
},
|
|
3638
4088
|
ws_error_handler_muted: {
|
|
3639
4089
|
type: 'boolean',
|
|
3640
|
-
description:
|
|
4090
|
+
description: "If true, the workspace-level error handler will not be triggered for this schedule's failures"
|
|
3641
4091
|
},
|
|
3642
4092
|
retry: {
|
|
3643
|
-
|
|
3644
|
-
|
|
4093
|
+
nullable: true,
|
|
4094
|
+
'$ref': '#/components/schemas/Retry'
|
|
3645
4095
|
},
|
|
3646
4096
|
no_flow_overlap: {
|
|
3647
4097
|
type: 'boolean',
|
|
3648
|
-
description:
|
|
4098
|
+
description: "If true, skip this schedule's execution if the previous run is still in progress (prevents concurrent runs)"
|
|
3649
4099
|
},
|
|
3650
4100
|
summary: {
|
|
3651
4101
|
type: 'string',
|
|
3652
|
-
|
|
4102
|
+
nullable: true,
|
|
4103
|
+
description: 'Short summary describing the purpose of this schedule'
|
|
3653
4104
|
},
|
|
3654
4105
|
description: {
|
|
3655
4106
|
type: 'string',
|
|
3656
|
-
|
|
4107
|
+
nullable: true,
|
|
4108
|
+
description: 'Detailed description of what this schedule does'
|
|
3657
4109
|
},
|
|
3658
4110
|
tag: {
|
|
3659
4111
|
type: 'string',
|
|
3660
|
-
|
|
4112
|
+
nullable: true,
|
|
4113
|
+
description: 'Worker tag to route jobs to specific worker groups'
|
|
3661
4114
|
},
|
|
3662
4115
|
paused_until: {
|
|
3663
4116
|
type: 'string',
|
|
3664
|
-
|
|
3665
|
-
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'
|
|
3666
4120
|
},
|
|
3667
4121
|
cron_version: {
|
|
3668
4122
|
type: 'string',
|
|
3669
|
-
|
|
4123
|
+
nullable: true,
|
|
4124
|
+
description: "Cron parser version. Use 'v2' for extended syntax with additional features"
|
|
3670
4125
|
},
|
|
3671
4126
|
dynamic_skip: {
|
|
3672
4127
|
type: 'string',
|
|
3673
|
-
|
|
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)'
|
|
3674
4130
|
}
|
|
3675
4131
|
},
|
|
3676
4132
|
required: ['path', 'schedule', 'timezone', 'script_path', 'is_flow', 'args']
|
|
@@ -3680,88 +4136,100 @@ export const $EditSchedule = {
|
|
|
3680
4136
|
properties: {
|
|
3681
4137
|
schedule: {
|
|
3682
4138
|
type: 'string',
|
|
3683
|
-
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"
|
|
3684
4140
|
},
|
|
3685
4141
|
timezone: {
|
|
3686
4142
|
type: 'string',
|
|
3687
|
-
description:
|
|
4143
|
+
description: "IANA timezone for the schedule (e.g., 'UTC', 'Europe/Paris', 'America/New_York')"
|
|
3688
4144
|
},
|
|
3689
4145
|
args: {
|
|
3690
|
-
|
|
3691
|
-
|
|
4146
|
+
nullable: true,
|
|
4147
|
+
'$ref': '#/components/schemas/ScriptArgs'
|
|
3692
4148
|
},
|
|
3693
4149
|
on_failure: {
|
|
3694
4150
|
type: 'string',
|
|
3695
|
-
|
|
4151
|
+
nullable: true,
|
|
4152
|
+
description: 'Path to a script or flow to run when the scheduled job fails'
|
|
3696
4153
|
},
|
|
3697
4154
|
on_failure_times: {
|
|
3698
4155
|
type: 'number',
|
|
3699
|
-
|
|
4156
|
+
nullable: true,
|
|
4157
|
+
description: 'Number of consecutive failures before the on_failure handler is triggered (default 1)'
|
|
3700
4158
|
},
|
|
3701
4159
|
on_failure_exact: {
|
|
3702
4160
|
type: 'boolean',
|
|
3703
|
-
|
|
4161
|
+
nullable: true,
|
|
4162
|
+
description: 'If true, trigger on_failure handler only on exactly N failures, not on every failure after N'
|
|
3704
4163
|
},
|
|
3705
4164
|
on_failure_extra_args: {
|
|
3706
|
-
|
|
3707
|
-
|
|
4165
|
+
nullable: true,
|
|
4166
|
+
'$ref': '#/components/schemas/ScriptArgs'
|
|
3708
4167
|
},
|
|
3709
4168
|
on_recovery: {
|
|
3710
4169
|
type: 'string',
|
|
3711
|
-
|
|
4170
|
+
nullable: true,
|
|
4171
|
+
description: 'Path to a script or flow to run when the schedule recovers after failures'
|
|
3712
4172
|
},
|
|
3713
4173
|
on_recovery_times: {
|
|
3714
4174
|
type: 'number',
|
|
3715
|
-
|
|
4175
|
+
nullable: true,
|
|
4176
|
+
description: 'Number of consecutive successes before the on_recovery handler is triggered (default 1)'
|
|
3716
4177
|
},
|
|
3717
4178
|
on_recovery_extra_args: {
|
|
3718
|
-
|
|
3719
|
-
|
|
4179
|
+
nullable: true,
|
|
4180
|
+
'$ref': '#/components/schemas/ScriptArgs'
|
|
3720
4181
|
},
|
|
3721
4182
|
on_success: {
|
|
3722
4183
|
type: 'string',
|
|
3723
|
-
|
|
4184
|
+
nullable: true,
|
|
4185
|
+
description: 'Path to a script or flow to run after each successful execution'
|
|
3724
4186
|
},
|
|
3725
4187
|
on_success_extra_args: {
|
|
3726
|
-
|
|
3727
|
-
|
|
4188
|
+
nullable: true,
|
|
4189
|
+
'$ref': '#/components/schemas/ScriptArgs'
|
|
3728
4190
|
},
|
|
3729
4191
|
ws_error_handler_muted: {
|
|
3730
4192
|
type: 'boolean',
|
|
3731
|
-
description:
|
|
4193
|
+
description: "If true, the workspace-level error handler will not be triggered for this schedule's failures"
|
|
3732
4194
|
},
|
|
3733
4195
|
retry: {
|
|
3734
|
-
|
|
3735
|
-
|
|
4196
|
+
nullable: true,
|
|
4197
|
+
'$ref': '#/components/schemas/Retry'
|
|
3736
4198
|
},
|
|
3737
4199
|
no_flow_overlap: {
|
|
3738
4200
|
type: 'boolean',
|
|
3739
|
-
description:
|
|
4201
|
+
description: "If true, skip this schedule's execution if the previous run is still in progress (prevents concurrent runs)"
|
|
3740
4202
|
},
|
|
3741
4203
|
summary: {
|
|
3742
4204
|
type: 'string',
|
|
3743
|
-
|
|
4205
|
+
nullable: true,
|
|
4206
|
+
description: 'Short summary describing the purpose of this schedule'
|
|
3744
4207
|
},
|
|
3745
4208
|
description: {
|
|
3746
4209
|
type: 'string',
|
|
3747
|
-
|
|
4210
|
+
nullable: true,
|
|
4211
|
+
description: 'Detailed description of what this schedule does'
|
|
3748
4212
|
},
|
|
3749
4213
|
tag: {
|
|
3750
4214
|
type: 'string',
|
|
3751
|
-
|
|
4215
|
+
nullable: true,
|
|
4216
|
+
description: 'Worker tag to route jobs to specific worker groups'
|
|
3752
4217
|
},
|
|
3753
4218
|
paused_until: {
|
|
3754
4219
|
type: 'string',
|
|
3755
|
-
|
|
3756
|
-
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'
|
|
3757
4223
|
},
|
|
3758
4224
|
cron_version: {
|
|
3759
4225
|
type: 'string',
|
|
3760
|
-
|
|
4226
|
+
nullable: true,
|
|
4227
|
+
description: "Cron parser version. Use 'v2' for extended syntax with additional features"
|
|
3761
4228
|
},
|
|
3762
4229
|
dynamic_skip: {
|
|
3763
4230
|
type: 'string',
|
|
3764
|
-
|
|
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)'
|
|
3765
4233
|
}
|
|
3766
4234
|
},
|
|
3767
4235
|
required: ['schedule', 'timezone', 'args']
|
|
@@ -3769,7 +4237,7 @@ export const $EditSchedule = {
|
|
|
3769
4237
|
export const $JobTriggerKind = {
|
|
3770
4238
|
description: 'job trigger kind (schedule, http, websocket...)',
|
|
3771
4239
|
type: 'string',
|
|
3772
|
-
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']
|
|
3773
4241
|
};
|
|
3774
4242
|
export const $TriggerMode = {
|
|
3775
4243
|
description: 'job trigger mode',
|
|
@@ -3780,35 +4248,44 @@ export const $TriggerExtraProperty = {
|
|
|
3780
4248
|
type: 'object',
|
|
3781
4249
|
properties: {
|
|
3782
4250
|
path: {
|
|
3783
|
-
type: 'string'
|
|
4251
|
+
type: 'string',
|
|
4252
|
+
description: 'The unique path identifier for this trigger'
|
|
3784
4253
|
},
|
|
3785
4254
|
script_path: {
|
|
3786
|
-
type: 'string'
|
|
4255
|
+
type: 'string',
|
|
4256
|
+
description: 'Path to the script or flow to execute when triggered'
|
|
3787
4257
|
},
|
|
3788
4258
|
email: {
|
|
3789
|
-
type: 'string'
|
|
4259
|
+
type: 'string',
|
|
4260
|
+
description: 'Email of the user who owns this trigger, used for permissioned_as'
|
|
3790
4261
|
},
|
|
3791
4262
|
extra_perms: {
|
|
3792
4263
|
type: 'object',
|
|
4264
|
+
description: 'Additional permissions for this trigger',
|
|
3793
4265
|
additionalProperties: {
|
|
3794
4266
|
type: 'boolean'
|
|
3795
4267
|
}
|
|
3796
4268
|
},
|
|
3797
4269
|
workspace_id: {
|
|
3798
|
-
type: 'string'
|
|
4270
|
+
type: 'string',
|
|
4271
|
+
description: 'The workspace this trigger belongs to'
|
|
3799
4272
|
},
|
|
3800
4273
|
edited_by: {
|
|
3801
|
-
type: 'string'
|
|
4274
|
+
type: 'string',
|
|
4275
|
+
description: 'Username of the last person who edited this trigger'
|
|
3802
4276
|
},
|
|
3803
4277
|
edited_at: {
|
|
3804
4278
|
type: 'string',
|
|
3805
|
-
format: 'date-time'
|
|
4279
|
+
format: 'date-time',
|
|
4280
|
+
description: 'Timestamp of the last edit'
|
|
3806
4281
|
},
|
|
3807
4282
|
is_flow: {
|
|
3808
|
-
type: 'boolean'
|
|
4283
|
+
type: 'boolean',
|
|
4284
|
+
description: 'True if script_path points to a flow, false if it points to a script'
|
|
3809
4285
|
},
|
|
3810
4286
|
mode: {
|
|
3811
|
-
'$ref': '#/components/schemas/TriggerMode'
|
|
4287
|
+
'$ref': '#/components/schemas/TriggerMode',
|
|
4288
|
+
description: 'Trigger mode (enabled/disabled)'
|
|
3812
4289
|
}
|
|
3813
4290
|
},
|
|
3814
4291
|
required: ['path', 'script_path', 'email', 'extra_perms', 'workspace_id', 'edited_by', 'edited_at', 'is_flow', 'mode']
|
|
@@ -3949,61 +4426,83 @@ export const $HttpTrigger = {
|
|
|
3949
4426
|
type: 'object',
|
|
3950
4427
|
properties: {
|
|
3951
4428
|
route_path: {
|
|
3952
|
-
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 /."
|
|
3953
4431
|
},
|
|
3954
4432
|
static_asset_config: {
|
|
3955
4433
|
type: 'object',
|
|
4434
|
+
nullable: true,
|
|
4435
|
+
description: 'Configuration for serving static assets (s3 bucket, storage path, filename)',
|
|
3956
4436
|
properties: {
|
|
3957
4437
|
s3: {
|
|
3958
|
-
type: 'string'
|
|
4438
|
+
type: 'string',
|
|
4439
|
+
description: 'S3 bucket path for static assets'
|
|
3959
4440
|
},
|
|
3960
4441
|
storage: {
|
|
3961
|
-
type: 'string'
|
|
4442
|
+
type: 'string',
|
|
4443
|
+
description: 'Storage path for static assets'
|
|
3962
4444
|
},
|
|
3963
4445
|
filename: {
|
|
3964
|
-
type: 'string'
|
|
4446
|
+
type: 'string',
|
|
4447
|
+
description: 'Filename for the static asset'
|
|
3965
4448
|
}
|
|
3966
4449
|
},
|
|
3967
4450
|
required: ['s3']
|
|
3968
4451
|
},
|
|
3969
4452
|
http_method: {
|
|
3970
|
-
'$ref': '#/components/schemas/HttpMethod'
|
|
4453
|
+
'$ref': '#/components/schemas/HttpMethod',
|
|
4454
|
+
description: 'HTTP method (get, post, put, delete, patch) that triggers this endpoint'
|
|
3971
4455
|
},
|
|
3972
4456
|
authentication_resource_path: {
|
|
3973
|
-
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)'
|
|
3974
4460
|
},
|
|
3975
4461
|
summary: {
|
|
3976
|
-
type: 'string'
|
|
4462
|
+
type: 'string',
|
|
4463
|
+
nullable: true,
|
|
4464
|
+
description: 'Short summary describing the purpose of this trigger'
|
|
3977
4465
|
},
|
|
3978
4466
|
description: {
|
|
3979
|
-
type: 'string'
|
|
4467
|
+
type: 'string',
|
|
4468
|
+
nullable: true,
|
|
4469
|
+
description: 'Detailed description of what this trigger does'
|
|
3980
4470
|
},
|
|
3981
4471
|
request_type: {
|
|
3982
|
-
'$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"
|
|
3983
4474
|
},
|
|
3984
4475
|
authentication_method: {
|
|
3985
|
-
'$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'"
|
|
3986
4478
|
},
|
|
3987
4479
|
is_static_website: {
|
|
3988
|
-
type: 'boolean'
|
|
4480
|
+
type: 'boolean',
|
|
4481
|
+
description: 'If true, serves static files from S3/storage instead of running a script'
|
|
3989
4482
|
},
|
|
3990
4483
|
workspaced_route: {
|
|
3991
|
-
type: 'boolean'
|
|
4484
|
+
type: 'boolean',
|
|
4485
|
+
description: 'If true, the route includes the workspace ID in the path'
|
|
3992
4486
|
},
|
|
3993
4487
|
wrap_body: {
|
|
3994
|
-
type: 'boolean'
|
|
4488
|
+
type: 'boolean',
|
|
4489
|
+
description: "If true, wraps the request body in a 'body' parameter"
|
|
3995
4490
|
},
|
|
3996
4491
|
raw_string: {
|
|
3997
|
-
type: 'boolean'
|
|
4492
|
+
type: 'boolean',
|
|
4493
|
+
description: 'If true, passes the request body as a raw string instead of parsing as JSON'
|
|
3998
4494
|
},
|
|
3999
4495
|
error_handler_path: {
|
|
4000
|
-
type: 'string'
|
|
4496
|
+
type: 'string',
|
|
4497
|
+
description: 'Path to a script or flow to run when the triggered job fails'
|
|
4001
4498
|
},
|
|
4002
4499
|
error_handler_args: {
|
|
4003
|
-
'$ref': '#/components/schemas/ScriptArgs'
|
|
4500
|
+
'$ref': '#/components/schemas/ScriptArgs',
|
|
4501
|
+
description: 'Arguments to pass to the error handler'
|
|
4004
4502
|
},
|
|
4005
4503
|
retry: {
|
|
4006
|
-
'$ref': '#/components/schemas/Retry'
|
|
4504
|
+
'$ref': '#/components/schemas/Retry',
|
|
4505
|
+
description: 'Retry configuration for failed executions'
|
|
4007
4506
|
}
|
|
4008
4507
|
},
|
|
4009
4508
|
required: ['route_path', 'request_type', 'authentication_method', 'http_method', 'is_static_website', 'workspaced_route', 'wrap_body', 'raw_string']
|
|
@@ -4012,77 +4511,102 @@ export const $NewHttpTrigger = {
|
|
|
4012
4511
|
type: 'object',
|
|
4013
4512
|
properties: {
|
|
4014
4513
|
path: {
|
|
4015
|
-
type: 'string'
|
|
4514
|
+
type: 'string',
|
|
4515
|
+
description: 'The unique path identifier for this trigger'
|
|
4016
4516
|
},
|
|
4017
4517
|
script_path: {
|
|
4018
|
-
type: 'string'
|
|
4518
|
+
type: 'string',
|
|
4519
|
+
description: 'Path to the script or flow to execute when triggered'
|
|
4019
4520
|
},
|
|
4020
4521
|
route_path: {
|
|
4021
|
-
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 /."
|
|
4022
4524
|
},
|
|
4023
4525
|
workspaced_route: {
|
|
4024
|
-
type: 'boolean'
|
|
4526
|
+
type: 'boolean',
|
|
4527
|
+
description: 'If true, the route includes the workspace ID in the path'
|
|
4025
4528
|
},
|
|
4026
4529
|
summary: {
|
|
4027
|
-
type: 'string'
|
|
4530
|
+
type: 'string',
|
|
4531
|
+
nullable: true,
|
|
4532
|
+
description: 'Short summary describing the purpose of this trigger'
|
|
4028
4533
|
},
|
|
4029
4534
|
description: {
|
|
4030
|
-
type: 'string'
|
|
4535
|
+
type: 'string',
|
|
4536
|
+
nullable: true,
|
|
4537
|
+
description: 'Detailed description of what this trigger does'
|
|
4031
4538
|
},
|
|
4032
4539
|
static_asset_config: {
|
|
4033
4540
|
type: 'object',
|
|
4541
|
+
nullable: true,
|
|
4542
|
+
description: 'Configuration for serving static assets (s3 bucket, storage path, filename)',
|
|
4034
4543
|
properties: {
|
|
4035
4544
|
s3: {
|
|
4036
|
-
type: 'string'
|
|
4545
|
+
type: 'string',
|
|
4546
|
+
description: 'S3 bucket path for static assets'
|
|
4037
4547
|
},
|
|
4038
4548
|
storage: {
|
|
4039
|
-
type: 'string'
|
|
4549
|
+
type: 'string',
|
|
4550
|
+
description: 'Storage path for static assets'
|
|
4040
4551
|
},
|
|
4041
4552
|
filename: {
|
|
4042
|
-
type: 'string'
|
|
4553
|
+
type: 'string',
|
|
4554
|
+
description: 'Filename for the static asset'
|
|
4043
4555
|
}
|
|
4044
4556
|
},
|
|
4045
4557
|
required: ['s3']
|
|
4046
4558
|
},
|
|
4047
4559
|
is_flow: {
|
|
4048
|
-
type: 'boolean'
|
|
4560
|
+
type: 'boolean',
|
|
4561
|
+
description: 'True if script_path points to a flow, false if it points to a script'
|
|
4049
4562
|
},
|
|
4050
4563
|
http_method: {
|
|
4051
|
-
'$ref': '#/components/schemas/HttpMethod'
|
|
4564
|
+
'$ref': '#/components/schemas/HttpMethod',
|
|
4565
|
+
description: 'HTTP method (get, post, put, delete, patch) that triggers this endpoint'
|
|
4052
4566
|
},
|
|
4053
4567
|
authentication_resource_path: {
|
|
4054
|
-
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)'
|
|
4055
4571
|
},
|
|
4056
4572
|
is_async: {
|
|
4057
4573
|
type: 'boolean',
|
|
4058
4574
|
description: 'Deprecated, use request_type instead'
|
|
4059
4575
|
},
|
|
4060
4576
|
request_type: {
|
|
4061
|
-
'$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"
|
|
4062
4579
|
},
|
|
4063
4580
|
authentication_method: {
|
|
4064
|
-
'$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'"
|
|
4065
4583
|
},
|
|
4066
4584
|
is_static_website: {
|
|
4067
|
-
type: 'boolean'
|
|
4585
|
+
type: 'boolean',
|
|
4586
|
+
description: 'If true, serves static files from S3/storage instead of running a script'
|
|
4068
4587
|
},
|
|
4069
4588
|
wrap_body: {
|
|
4070
|
-
type: 'boolean'
|
|
4589
|
+
type: 'boolean',
|
|
4590
|
+
description: "If true, wraps the request body in a 'body' parameter"
|
|
4071
4591
|
},
|
|
4072
4592
|
mode: {
|
|
4073
4593
|
'$ref': '#/components/schemas/TriggerMode'
|
|
4074
4594
|
},
|
|
4075
4595
|
raw_string: {
|
|
4076
|
-
type: 'boolean'
|
|
4596
|
+
type: 'boolean',
|
|
4597
|
+
description: 'If true, passes the request body as a raw string instead of parsing as JSON'
|
|
4077
4598
|
},
|
|
4078
4599
|
error_handler_path: {
|
|
4079
|
-
type: 'string'
|
|
4600
|
+
type: 'string',
|
|
4601
|
+
description: 'Path to a script or flow to run when the triggered job fails'
|
|
4080
4602
|
},
|
|
4081
4603
|
error_handler_args: {
|
|
4082
|
-
'$ref': '#/components/schemas/ScriptArgs'
|
|
4604
|
+
'$ref': '#/components/schemas/ScriptArgs',
|
|
4605
|
+
description: 'Arguments to pass to the error handler'
|
|
4083
4606
|
},
|
|
4084
4607
|
retry: {
|
|
4085
|
-
'$ref': '#/components/schemas/Retry'
|
|
4608
|
+
'$ref': '#/components/schemas/Retry',
|
|
4609
|
+
description: 'Retry configuration for failed executions'
|
|
4086
4610
|
}
|
|
4087
4611
|
},
|
|
4088
4612
|
required: ['path', 'script_path', 'route_path', 'is_flow', 'authentication_method', 'http_method', 'is_static_website']
|
|
@@ -4091,74 +4615,99 @@ export const $EditHttpTrigger = {
|
|
|
4091
4615
|
type: 'object',
|
|
4092
4616
|
properties: {
|
|
4093
4617
|
path: {
|
|
4094
|
-
type: 'string'
|
|
4618
|
+
type: 'string',
|
|
4619
|
+
description: 'The unique path identifier for this trigger'
|
|
4095
4620
|
},
|
|
4096
4621
|
script_path: {
|
|
4097
|
-
type: 'string'
|
|
4622
|
+
type: 'string',
|
|
4623
|
+
description: 'Path to the script or flow to execute when triggered'
|
|
4098
4624
|
},
|
|
4099
4625
|
route_path: {
|
|
4100
|
-
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 /."
|
|
4101
4628
|
},
|
|
4102
4629
|
summary: {
|
|
4103
|
-
type: 'string'
|
|
4630
|
+
type: 'string',
|
|
4631
|
+
nullable: true,
|
|
4632
|
+
description: 'Short summary describing the purpose of this trigger'
|
|
4104
4633
|
},
|
|
4105
4634
|
description: {
|
|
4106
|
-
type: 'string'
|
|
4635
|
+
type: 'string',
|
|
4636
|
+
nullable: true,
|
|
4637
|
+
description: 'Detailed description of what this trigger does'
|
|
4107
4638
|
},
|
|
4108
4639
|
workspaced_route: {
|
|
4109
|
-
type: 'boolean'
|
|
4640
|
+
type: 'boolean',
|
|
4641
|
+
description: 'If true, the route includes the workspace ID in the path'
|
|
4110
4642
|
},
|
|
4111
4643
|
static_asset_config: {
|
|
4112
4644
|
type: 'object',
|
|
4645
|
+
nullable: true,
|
|
4646
|
+
description: 'Configuration for serving static assets (s3 bucket, storage path, filename)',
|
|
4113
4647
|
properties: {
|
|
4114
4648
|
s3: {
|
|
4115
|
-
type: 'string'
|
|
4649
|
+
type: 'string',
|
|
4650
|
+
description: 'S3 bucket path for static assets'
|
|
4116
4651
|
},
|
|
4117
4652
|
storage: {
|
|
4118
|
-
type: 'string'
|
|
4653
|
+
type: 'string',
|
|
4654
|
+
description: 'Storage path for static assets'
|
|
4119
4655
|
},
|
|
4120
4656
|
filename: {
|
|
4121
|
-
type: 'string'
|
|
4657
|
+
type: 'string',
|
|
4658
|
+
description: 'Filename for the static asset'
|
|
4122
4659
|
}
|
|
4123
4660
|
},
|
|
4124
4661
|
required: ['s3']
|
|
4125
4662
|
},
|
|
4126
4663
|
authentication_resource_path: {
|
|
4127
|
-
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)'
|
|
4128
4667
|
},
|
|
4129
4668
|
is_flow: {
|
|
4130
|
-
type: 'boolean'
|
|
4669
|
+
type: 'boolean',
|
|
4670
|
+
description: 'True if script_path points to a flow, false if it points to a script'
|
|
4131
4671
|
},
|
|
4132
4672
|
http_method: {
|
|
4133
|
-
'$ref': '#/components/schemas/HttpMethod'
|
|
4673
|
+
'$ref': '#/components/schemas/HttpMethod',
|
|
4674
|
+
description: 'HTTP method (get, post, put, delete, patch) that triggers this endpoint'
|
|
4134
4675
|
},
|
|
4135
4676
|
is_async: {
|
|
4136
4677
|
type: 'boolean',
|
|
4137
4678
|
description: 'Deprecated, use request_type instead'
|
|
4138
4679
|
},
|
|
4139
4680
|
request_type: {
|
|
4140
|
-
'$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"
|
|
4141
4683
|
},
|
|
4142
4684
|
authentication_method: {
|
|
4143
|
-
'$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'"
|
|
4144
4687
|
},
|
|
4145
4688
|
is_static_website: {
|
|
4146
|
-
type: 'boolean'
|
|
4689
|
+
type: 'boolean',
|
|
4690
|
+
description: 'If true, serves static files from S3/storage instead of running a script'
|
|
4147
4691
|
},
|
|
4148
4692
|
wrap_body: {
|
|
4149
|
-
type: 'boolean'
|
|
4693
|
+
type: 'boolean',
|
|
4694
|
+
description: "If true, wraps the request body in a 'body' parameter"
|
|
4150
4695
|
},
|
|
4151
4696
|
raw_string: {
|
|
4152
|
-
type: 'boolean'
|
|
4697
|
+
type: 'boolean',
|
|
4698
|
+
description: 'If true, passes the request body as a raw string instead of parsing as JSON'
|
|
4153
4699
|
},
|
|
4154
4700
|
error_handler_path: {
|
|
4155
|
-
type: 'string'
|
|
4701
|
+
type: 'string',
|
|
4702
|
+
description: 'Path to a script or flow to run when the triggered job fails'
|
|
4156
4703
|
},
|
|
4157
4704
|
error_handler_args: {
|
|
4158
|
-
'$ref': '#/components/schemas/ScriptArgs'
|
|
4705
|
+
'$ref': '#/components/schemas/ScriptArgs',
|
|
4706
|
+
description: 'Arguments to pass to the error handler'
|
|
4159
4707
|
},
|
|
4160
4708
|
retry: {
|
|
4161
|
-
'$ref': '#/components/schemas/Retry'
|
|
4709
|
+
'$ref': '#/components/schemas/Retry',
|
|
4710
|
+
description: 'Retry configuration for failed executions'
|
|
4162
4711
|
}
|
|
4163
4712
|
},
|
|
4164
4713
|
required: ['path', 'script_path', 'is_flow', 'kind', 'authentication_method', 'http_method', 'is_static_website']
|
|
@@ -4212,6 +4761,9 @@ export const $TriggersCount = {
|
|
|
4212
4761
|
},
|
|
4213
4762
|
nextcloud_count: {
|
|
4214
4763
|
type: 'number'
|
|
4764
|
+
},
|
|
4765
|
+
google_count: {
|
|
4766
|
+
type: 'number'
|
|
4215
4767
|
}
|
|
4216
4768
|
}
|
|
4217
4769
|
};
|
|
@@ -4224,20 +4776,25 @@ export const $WebsocketTrigger = {
|
|
|
4224
4776
|
type: 'object',
|
|
4225
4777
|
properties: {
|
|
4226
4778
|
url: {
|
|
4227
|
-
type: 'string'
|
|
4779
|
+
type: 'string',
|
|
4780
|
+
description: 'The WebSocket URL to connect to (can be a static URL or computed by a runnable)'
|
|
4228
4781
|
},
|
|
4229
4782
|
server_id: {
|
|
4230
|
-
type: 'string'
|
|
4783
|
+
type: 'string',
|
|
4784
|
+
description: 'ID of the server currently handling this trigger (internal)'
|
|
4231
4785
|
},
|
|
4232
4786
|
last_server_ping: {
|
|
4233
4787
|
type: 'string',
|
|
4234
|
-
format: 'date-time'
|
|
4788
|
+
format: 'date-time',
|
|
4789
|
+
description: 'Timestamp of last server heartbeat (internal)'
|
|
4235
4790
|
},
|
|
4236
4791
|
error: {
|
|
4237
|
-
type: 'string'
|
|
4792
|
+
type: 'string',
|
|
4793
|
+
description: 'Last error message if the trigger failed'
|
|
4238
4794
|
},
|
|
4239
4795
|
filters: {
|
|
4240
4796
|
type: 'array',
|
|
4797
|
+
description: 'Array of key-value filters to match incoming messages (only matching messages trigger the script)',
|
|
4241
4798
|
items: {
|
|
4242
4799
|
type: 'object',
|
|
4243
4800
|
properties: {
|
|
@@ -4251,26 +4808,35 @@ export const $WebsocketTrigger = {
|
|
|
4251
4808
|
},
|
|
4252
4809
|
initial_messages: {
|
|
4253
4810
|
type: 'array',
|
|
4811
|
+
nullable: true,
|
|
4812
|
+
description: 'Messages to send immediately after connecting (can be raw strings or computed by runnables)',
|
|
4254
4813
|
items: {
|
|
4255
4814
|
'$ref': '#/components/schemas/WebsocketTriggerInitialMessage'
|
|
4256
4815
|
}
|
|
4257
4816
|
},
|
|
4258
4817
|
url_runnable_args: {
|
|
4259
|
-
|
|
4818
|
+
description: 'Arguments to pass to the script/flow that computes the WebSocket URL',
|
|
4819
|
+
'$ref': '#/components/schemas/ScriptArgs',
|
|
4820
|
+
nullable: true
|
|
4260
4821
|
},
|
|
4261
4822
|
can_return_message: {
|
|
4262
|
-
type: 'boolean'
|
|
4823
|
+
type: 'boolean',
|
|
4824
|
+
description: 'If true, the script can return a message to send back through the WebSocket'
|
|
4263
4825
|
},
|
|
4264
4826
|
can_return_error_result: {
|
|
4265
|
-
type: 'boolean'
|
|
4827
|
+
type: 'boolean',
|
|
4828
|
+
description: 'If true, error results are sent back through the WebSocket'
|
|
4266
4829
|
},
|
|
4267
4830
|
error_handler_path: {
|
|
4268
|
-
type: 'string'
|
|
4831
|
+
type: 'string',
|
|
4832
|
+
description: 'Path to a script or flow to run when the triggered job fails'
|
|
4269
4833
|
},
|
|
4270
4834
|
error_handler_args: {
|
|
4835
|
+
description: 'Arguments to pass to the error handler',
|
|
4271
4836
|
'$ref': '#/components/schemas/ScriptArgs'
|
|
4272
4837
|
},
|
|
4273
4838
|
retry: {
|
|
4839
|
+
description: 'Retry configuration for failed executions',
|
|
4274
4840
|
'$ref': '#/components/schemas/Retry'
|
|
4275
4841
|
}
|
|
4276
4842
|
},
|
|
@@ -4280,22 +4846,27 @@ export const $NewWebsocketTrigger = {
|
|
|
4280
4846
|
type: 'object',
|
|
4281
4847
|
properties: {
|
|
4282
4848
|
path: {
|
|
4283
|
-
type: 'string'
|
|
4849
|
+
type: 'string',
|
|
4850
|
+
description: 'The unique path identifier for this trigger'
|
|
4284
4851
|
},
|
|
4285
4852
|
script_path: {
|
|
4286
|
-
type: 'string'
|
|
4853
|
+
type: 'string',
|
|
4854
|
+
description: 'Path to the script or flow to execute when a message is received'
|
|
4287
4855
|
},
|
|
4288
4856
|
is_flow: {
|
|
4289
|
-
type: 'boolean'
|
|
4857
|
+
type: 'boolean',
|
|
4858
|
+
description: 'True if script_path points to a flow, false if it points to a script'
|
|
4290
4859
|
},
|
|
4291
4860
|
url: {
|
|
4292
|
-
type: 'string'
|
|
4861
|
+
type: 'string',
|
|
4862
|
+
description: 'The WebSocket URL to connect to (can be a static URL or computed by a runnable)'
|
|
4293
4863
|
},
|
|
4294
4864
|
mode: {
|
|
4295
4865
|
'$ref': '#/components/schemas/TriggerMode'
|
|
4296
4866
|
},
|
|
4297
4867
|
filters: {
|
|
4298
4868
|
type: 'array',
|
|
4869
|
+
description: 'Array of key-value filters to match incoming messages (only matching messages trigger the script)',
|
|
4299
4870
|
items: {
|
|
4300
4871
|
type: 'object',
|
|
4301
4872
|
properties: {
|
|
@@ -4309,26 +4880,35 @@ export const $NewWebsocketTrigger = {
|
|
|
4309
4880
|
},
|
|
4310
4881
|
initial_messages: {
|
|
4311
4882
|
type: 'array',
|
|
4883
|
+
nullable: true,
|
|
4884
|
+
description: 'Messages to send immediately after connecting (can be raw strings or computed by runnables)',
|
|
4312
4885
|
items: {
|
|
4313
4886
|
'$ref': '#/components/schemas/WebsocketTriggerInitialMessage'
|
|
4314
4887
|
}
|
|
4315
4888
|
},
|
|
4316
4889
|
url_runnable_args: {
|
|
4890
|
+
description: 'Arguments to pass to the script/flow that computes the WebSocket URL',
|
|
4891
|
+
nullable: true,
|
|
4317
4892
|
'$ref': '#/components/schemas/ScriptArgs'
|
|
4318
4893
|
},
|
|
4319
4894
|
can_return_message: {
|
|
4320
|
-
type: 'boolean'
|
|
4895
|
+
type: 'boolean',
|
|
4896
|
+
description: 'If true, the script can return a message to send back through the WebSocket'
|
|
4321
4897
|
},
|
|
4322
4898
|
can_return_error_result: {
|
|
4323
|
-
type: 'boolean'
|
|
4899
|
+
type: 'boolean',
|
|
4900
|
+
description: 'If true, error results are sent back through the WebSocket'
|
|
4324
4901
|
},
|
|
4325
4902
|
error_handler_path: {
|
|
4326
|
-
type: 'string'
|
|
4903
|
+
type: 'string',
|
|
4904
|
+
description: 'Path to a script or flow to run when the triggered job fails'
|
|
4327
4905
|
},
|
|
4328
4906
|
error_handler_args: {
|
|
4907
|
+
description: 'Arguments to pass to the error handler',
|
|
4329
4908
|
'$ref': '#/components/schemas/ScriptArgs'
|
|
4330
4909
|
},
|
|
4331
4910
|
retry: {
|
|
4911
|
+
description: 'Retry configuration for failed executions',
|
|
4332
4912
|
'$ref': '#/components/schemas/Retry'
|
|
4333
4913
|
}
|
|
4334
4914
|
},
|
|
@@ -4338,19 +4918,24 @@ export const $EditWebsocketTrigger = {
|
|
|
4338
4918
|
type: 'object',
|
|
4339
4919
|
properties: {
|
|
4340
4920
|
url: {
|
|
4341
|
-
type: 'string'
|
|
4921
|
+
type: 'string',
|
|
4922
|
+
description: 'The WebSocket URL to connect to (can be a static URL or computed by a runnable)'
|
|
4342
4923
|
},
|
|
4343
4924
|
path: {
|
|
4344
|
-
type: 'string'
|
|
4925
|
+
type: 'string',
|
|
4926
|
+
description: 'The unique path identifier for this trigger'
|
|
4345
4927
|
},
|
|
4346
4928
|
script_path: {
|
|
4347
|
-
type: 'string'
|
|
4929
|
+
type: 'string',
|
|
4930
|
+
description: 'Path to the script or flow to execute when a message is received'
|
|
4348
4931
|
},
|
|
4349
4932
|
is_flow: {
|
|
4350
|
-
type: 'boolean'
|
|
4933
|
+
type: 'boolean',
|
|
4934
|
+
description: 'True if script_path points to a flow, false if it points to a script'
|
|
4351
4935
|
},
|
|
4352
4936
|
filters: {
|
|
4353
4937
|
type: 'array',
|
|
4938
|
+
description: 'Array of key-value filters to match incoming messages (only matching messages trigger the script)',
|
|
4354
4939
|
items: {
|
|
4355
4940
|
type: 'object',
|
|
4356
4941
|
properties: {
|
|
@@ -4364,26 +4949,35 @@ export const $EditWebsocketTrigger = {
|
|
|
4364
4949
|
},
|
|
4365
4950
|
initial_messages: {
|
|
4366
4951
|
type: 'array',
|
|
4952
|
+
nullable: true,
|
|
4953
|
+
description: 'Messages to send immediately after connecting (can be raw strings or computed by runnables)',
|
|
4367
4954
|
items: {
|
|
4368
4955
|
'$ref': '#/components/schemas/WebsocketTriggerInitialMessage'
|
|
4369
4956
|
}
|
|
4370
4957
|
},
|
|
4371
4958
|
url_runnable_args: {
|
|
4959
|
+
description: 'Arguments to pass to the script/flow that computes the WebSocket URL',
|
|
4960
|
+
nullable: true,
|
|
4372
4961
|
'$ref': '#/components/schemas/ScriptArgs'
|
|
4373
4962
|
},
|
|
4374
4963
|
can_return_message: {
|
|
4375
|
-
type: 'boolean'
|
|
4964
|
+
type: 'boolean',
|
|
4965
|
+
description: 'If true, the script can return a message to send back through the WebSocket'
|
|
4376
4966
|
},
|
|
4377
4967
|
can_return_error_result: {
|
|
4378
|
-
type: 'boolean'
|
|
4968
|
+
type: 'boolean',
|
|
4969
|
+
description: 'If true, error results are sent back through the WebSocket'
|
|
4379
4970
|
},
|
|
4380
4971
|
error_handler_path: {
|
|
4381
|
-
type: 'string'
|
|
4972
|
+
type: 'string',
|
|
4973
|
+
description: 'Path to a script or flow to run when the triggered job fails'
|
|
4382
4974
|
},
|
|
4383
4975
|
error_handler_args: {
|
|
4976
|
+
description: 'Arguments to pass to the error handler',
|
|
4384
4977
|
'$ref': '#/components/schemas/ScriptArgs'
|
|
4385
4978
|
},
|
|
4386
4979
|
retry: {
|
|
4980
|
+
description: 'Retry configuration for failed executions',
|
|
4387
4981
|
'$ref': '#/components/schemas/Retry'
|
|
4388
4982
|
}
|
|
4389
4983
|
},
|
|
@@ -4474,44 +5068,60 @@ export const $MqttTrigger = {
|
|
|
4474
5068
|
type: 'object',
|
|
4475
5069
|
properties: {
|
|
4476
5070
|
mqtt_resource_path: {
|
|
4477
|
-
type: 'string'
|
|
5071
|
+
type: 'string',
|
|
5072
|
+
description: 'Path to the MQTT resource containing broker connection configuration'
|
|
4478
5073
|
},
|
|
4479
5074
|
subscribe_topics: {
|
|
4480
5075
|
type: 'array',
|
|
4481
5076
|
items: {
|
|
4482
5077
|
'$ref': '#/components/schemas/MqttSubscribeTopic'
|
|
4483
|
-
}
|
|
5078
|
+
},
|
|
5079
|
+
description: 'Array of MQTT topics to subscribe to, each with topic name and QoS level'
|
|
4484
5080
|
},
|
|
4485
5081
|
v3_config: {
|
|
4486
|
-
'$ref': '#/components/schemas/MqttV3Config'
|
|
5082
|
+
'$ref': '#/components/schemas/MqttV3Config',
|
|
5083
|
+
nullable: true,
|
|
5084
|
+
description: 'MQTT v3 specific configuration (clean_session)'
|
|
4487
5085
|
},
|
|
4488
5086
|
v5_config: {
|
|
4489
|
-
'$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)'
|
|
4490
5090
|
},
|
|
4491
5091
|
client_id: {
|
|
4492
|
-
type: 'string'
|
|
5092
|
+
type: 'string',
|
|
5093
|
+
nullable: true,
|
|
5094
|
+
description: 'MQTT client ID for this connection'
|
|
4493
5095
|
},
|
|
4494
5096
|
client_version: {
|
|
4495
|
-
'$ref': '#/components/schemas/MqttClientVersion'
|
|
5097
|
+
'$ref': '#/components/schemas/MqttClientVersion',
|
|
5098
|
+
nullable: true,
|
|
5099
|
+
description: "MQTT protocol version ('v3' or 'v5')"
|
|
4496
5100
|
},
|
|
4497
5101
|
server_id: {
|
|
4498
|
-
type: 'string'
|
|
5102
|
+
type: 'string',
|
|
5103
|
+
description: 'ID of the server currently handling this trigger (internal)'
|
|
4499
5104
|
},
|
|
4500
5105
|
last_server_ping: {
|
|
4501
5106
|
type: 'string',
|
|
4502
|
-
format: 'date-time'
|
|
5107
|
+
format: 'date-time',
|
|
5108
|
+
description: 'Timestamp of last server heartbeat (internal)'
|
|
4503
5109
|
},
|
|
4504
5110
|
error: {
|
|
4505
|
-
type: 'string'
|
|
5111
|
+
type: 'string',
|
|
5112
|
+
description: 'Last error message if the trigger failed'
|
|
4506
5113
|
},
|
|
4507
5114
|
error_handler_path: {
|
|
4508
|
-
type: 'string'
|
|
5115
|
+
type: 'string',
|
|
5116
|
+
description: 'Path to a script or flow to run when the triggered job fails'
|
|
4509
5117
|
},
|
|
4510
5118
|
error_handler_args: {
|
|
4511
|
-
'$ref': '#/components/schemas/ScriptArgs'
|
|
5119
|
+
'$ref': '#/components/schemas/ScriptArgs',
|
|
5120
|
+
description: 'Arguments to pass to the error handler'
|
|
4512
5121
|
},
|
|
4513
5122
|
retry: {
|
|
4514
|
-
'$ref': '#/components/schemas/Retry'
|
|
5123
|
+
'$ref': '#/components/schemas/Retry',
|
|
5124
|
+
description: 'Retry configuration for failed executions'
|
|
4515
5125
|
}
|
|
4516
5126
|
},
|
|
4517
5127
|
required: ['subscribe_topics', 'mqtt_resource_path']
|
|
@@ -4520,46 +5130,62 @@ export const $NewMqttTrigger = {
|
|
|
4520
5130
|
type: 'object',
|
|
4521
5131
|
properties: {
|
|
4522
5132
|
mqtt_resource_path: {
|
|
4523
|
-
type: 'string'
|
|
5133
|
+
type: 'string',
|
|
5134
|
+
description: 'Path to the MQTT resource containing broker connection configuration'
|
|
4524
5135
|
},
|
|
4525
5136
|
subscribe_topics: {
|
|
4526
5137
|
type: 'array',
|
|
4527
5138
|
items: {
|
|
4528
5139
|
'$ref': '#/components/schemas/MqttSubscribeTopic'
|
|
4529
|
-
}
|
|
5140
|
+
},
|
|
5141
|
+
description: 'Array of MQTT topics to subscribe to, each with topic name and QoS level'
|
|
4530
5142
|
},
|
|
4531
5143
|
client_id: {
|
|
4532
|
-
type: 'string'
|
|
5144
|
+
type: 'string',
|
|
5145
|
+
nullable: true,
|
|
5146
|
+
description: 'MQTT client ID for this connection'
|
|
4533
5147
|
},
|
|
4534
5148
|
v3_config: {
|
|
4535
|
-
|
|
5149
|
+
nullable: true,
|
|
5150
|
+
'$ref': '#/components/schemas/MqttV3Config',
|
|
5151
|
+
description: 'MQTT v3 specific configuration (clean_session)'
|
|
4536
5152
|
},
|
|
4537
5153
|
v5_config: {
|
|
4538
|
-
|
|
5154
|
+
nullable: true,
|
|
5155
|
+
'$ref': '#/components/schemas/MqttV5Config',
|
|
5156
|
+
description: 'MQTT v5 specific configuration (clean_start, topic_alias_maximum, session_expiry_interval)'
|
|
4539
5157
|
},
|
|
4540
5158
|
client_version: {
|
|
4541
|
-
|
|
5159
|
+
nullable: true,
|
|
5160
|
+
'$ref': '#/components/schemas/MqttClientVersion',
|
|
5161
|
+
description: "MQTT protocol version ('v3' or 'v5')"
|
|
4542
5162
|
},
|
|
4543
5163
|
path: {
|
|
4544
|
-
type: 'string'
|
|
5164
|
+
type: 'string',
|
|
5165
|
+
description: 'The unique path identifier for this trigger'
|
|
4545
5166
|
},
|
|
4546
5167
|
script_path: {
|
|
4547
|
-
type: 'string'
|
|
5168
|
+
type: 'string',
|
|
5169
|
+
description: 'Path to the script or flow to execute when a message is received'
|
|
4548
5170
|
},
|
|
4549
5171
|
is_flow: {
|
|
4550
|
-
type: 'boolean'
|
|
5172
|
+
type: 'boolean',
|
|
5173
|
+
description: 'True if script_path points to a flow, false if it points to a script'
|
|
4551
5174
|
},
|
|
4552
5175
|
mode: {
|
|
4553
5176
|
'$ref': '#/components/schemas/TriggerMode'
|
|
4554
5177
|
},
|
|
4555
5178
|
error_handler_path: {
|
|
4556
|
-
type: 'string'
|
|
5179
|
+
type: 'string',
|
|
5180
|
+
description: 'Path to a script or flow to run when the triggered job fails'
|
|
4557
5181
|
},
|
|
4558
5182
|
error_handler_args: {
|
|
4559
|
-
'$ref': '#/components/schemas/ScriptArgs'
|
|
5183
|
+
'$ref': '#/components/schemas/ScriptArgs',
|
|
5184
|
+
description: 'Arguments to pass to the error handler'
|
|
4560
5185
|
},
|
|
4561
5186
|
retry: {
|
|
4562
|
-
'$ref': '#/components/schemas/Retry'
|
|
5187
|
+
'$ref': '#/components/schemas/Retry',
|
|
5188
|
+
description: 'Retry configuration for failed executions'
|
|
4563
5189
|
}
|
|
4564
5190
|
},
|
|
4565
5191
|
required: ['path', 'script_path', 'is_flow', 'subscribe_topics', 'mqtt_resource_path']
|
|
@@ -4568,62 +5194,82 @@ export const $EditMqttTrigger = {
|
|
|
4568
5194
|
type: 'object',
|
|
4569
5195
|
properties: {
|
|
4570
5196
|
mqtt_resource_path: {
|
|
4571
|
-
type: 'string'
|
|
5197
|
+
type: 'string',
|
|
5198
|
+
description: 'Path to the MQTT resource containing broker connection configuration'
|
|
4572
5199
|
},
|
|
4573
5200
|
subscribe_topics: {
|
|
4574
5201
|
type: 'array',
|
|
4575
5202
|
items: {
|
|
4576
5203
|
'$ref': '#/components/schemas/MqttSubscribeTopic'
|
|
4577
|
-
}
|
|
5204
|
+
},
|
|
5205
|
+
description: 'Array of MQTT topics to subscribe to, each with topic name and QoS level'
|
|
4578
5206
|
},
|
|
4579
5207
|
client_id: {
|
|
4580
|
-
type: 'string'
|
|
5208
|
+
type: 'string',
|
|
5209
|
+
nullable: true,
|
|
5210
|
+
description: 'MQTT client ID for this connection'
|
|
4581
5211
|
},
|
|
4582
5212
|
v3_config: {
|
|
4583
|
-
|
|
5213
|
+
nullable: true,
|
|
5214
|
+
'$ref': '#/components/schemas/MqttV3Config',
|
|
5215
|
+
description: 'MQTT v3 specific configuration (clean_session)'
|
|
4584
5216
|
},
|
|
4585
5217
|
v5_config: {
|
|
4586
|
-
|
|
5218
|
+
nullable: true,
|
|
5219
|
+
'$ref': '#/components/schemas/MqttV5Config',
|
|
5220
|
+
description: 'MQTT v5 specific configuration (clean_start, topic_alias_maximum, session_expiry_interval)'
|
|
4587
5221
|
},
|
|
4588
5222
|
client_version: {
|
|
4589
|
-
|
|
5223
|
+
nullable: true,
|
|
5224
|
+
'$ref': '#/components/schemas/MqttClientVersion',
|
|
5225
|
+
description: "MQTT protocol version ('v3' or 'v5')"
|
|
4590
5226
|
},
|
|
4591
5227
|
path: {
|
|
4592
|
-
type: 'string'
|
|
5228
|
+
type: 'string',
|
|
5229
|
+
description: 'The unique path identifier for this trigger'
|
|
4593
5230
|
},
|
|
4594
5231
|
script_path: {
|
|
4595
|
-
type: 'string'
|
|
5232
|
+
type: 'string',
|
|
5233
|
+
description: 'Path to the script or flow to execute when a message is received'
|
|
4596
5234
|
},
|
|
4597
5235
|
is_flow: {
|
|
4598
|
-
type: 'boolean'
|
|
5236
|
+
type: 'boolean',
|
|
5237
|
+
description: 'True if script_path points to a flow, false if it points to a script'
|
|
4599
5238
|
},
|
|
4600
5239
|
mode: {
|
|
4601
5240
|
'$ref': '#/components/schemas/TriggerMode'
|
|
4602
5241
|
},
|
|
4603
5242
|
error_handler_path: {
|
|
4604
|
-
type: 'string'
|
|
5243
|
+
type: 'string',
|
|
5244
|
+
description: 'Path to a script or flow to run when the triggered job fails'
|
|
4605
5245
|
},
|
|
4606
5246
|
error_handler_args: {
|
|
4607
|
-
'$ref': '#/components/schemas/ScriptArgs'
|
|
5247
|
+
'$ref': '#/components/schemas/ScriptArgs',
|
|
5248
|
+
description: 'Arguments to pass to the error handler'
|
|
4608
5249
|
},
|
|
4609
5250
|
retry: {
|
|
4610
|
-
'$ref': '#/components/schemas/Retry'
|
|
5251
|
+
'$ref': '#/components/schemas/Retry',
|
|
5252
|
+
description: 'Retry configuration for failed executions'
|
|
4611
5253
|
}
|
|
4612
5254
|
},
|
|
4613
5255
|
required: ['path', 'script_path', 'is_flow', 'enabled', 'subscribe_topics', 'mqtt_resource_path']
|
|
4614
5256
|
};
|
|
4615
5257
|
export const $DeliveryType = {
|
|
4616
5258
|
type: 'string',
|
|
4617
|
-
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."
|
|
4618
5261
|
};
|
|
4619
5262
|
export const $PushConfig = {
|
|
4620
5263
|
type: 'object',
|
|
5264
|
+
description: 'Configuration for push delivery mode.',
|
|
4621
5265
|
properties: {
|
|
4622
5266
|
audience: {
|
|
4623
|
-
type: 'string'
|
|
5267
|
+
type: 'string',
|
|
5268
|
+
description: 'The audience claim for OIDC tokens used in push authentication.'
|
|
4624
5269
|
},
|
|
4625
5270
|
authenticate: {
|
|
4626
|
-
type: 'boolean'
|
|
5271
|
+
type: 'boolean',
|
|
5272
|
+
description: 'If true, push messages will include OIDC authentication tokens.'
|
|
4627
5273
|
}
|
|
4628
5274
|
},
|
|
4629
5275
|
required: ['authenticate', 'base_endpoint']
|
|
@@ -4635,43 +5281,54 @@ export const $GcpTrigger = {
|
|
|
4635
5281
|
}
|
|
4636
5282
|
],
|
|
4637
5283
|
type: 'object',
|
|
5284
|
+
description: 'A Google Cloud Pub/Sub trigger that executes a script or flow when messages are received.',
|
|
4638
5285
|
properties: {
|
|
4639
5286
|
gcp_resource_path: {
|
|
4640
|
-
type: 'string'
|
|
5287
|
+
type: 'string',
|
|
5288
|
+
description: 'Path to the GCP resource containing service account credentials for authentication.'
|
|
4641
5289
|
},
|
|
4642
5290
|
topic_id: {
|
|
4643
|
-
type: 'string'
|
|
5291
|
+
type: 'string',
|
|
5292
|
+
description: 'Google Cloud Pub/Sub topic ID to subscribe to.'
|
|
4644
5293
|
},
|
|
4645
5294
|
subscription_id: {
|
|
4646
|
-
type: 'string'
|
|
5295
|
+
type: 'string',
|
|
5296
|
+
description: 'Google Cloud Pub/Sub subscription ID.'
|
|
4647
5297
|
},
|
|
4648
5298
|
server_id: {
|
|
4649
|
-
type: 'string'
|
|
5299
|
+
type: 'string',
|
|
5300
|
+
description: 'ID of the server currently handling this trigger (internal use).'
|
|
4650
5301
|
},
|
|
4651
5302
|
delivery_type: {
|
|
4652
5303
|
'$ref': '#/components/schemas/DeliveryType'
|
|
4653
5304
|
},
|
|
4654
5305
|
delivery_config: {
|
|
4655
|
-
'$ref': '#/components/schemas/PushConfig'
|
|
5306
|
+
'$ref': '#/components/schemas/PushConfig',
|
|
5307
|
+
nullable: true
|
|
4656
5308
|
},
|
|
4657
5309
|
subscription_mode: {
|
|
4658
5310
|
'$ref': '#/components/schemas/SubscriptionMode'
|
|
4659
5311
|
},
|
|
4660
5312
|
last_server_ping: {
|
|
4661
5313
|
type: 'string',
|
|
4662
|
-
format: 'date-time'
|
|
5314
|
+
format: 'date-time',
|
|
5315
|
+
description: 'Timestamp of last server heartbeat (internal use).'
|
|
4663
5316
|
},
|
|
4664
5317
|
error: {
|
|
4665
|
-
type: 'string'
|
|
5318
|
+
type: 'string',
|
|
5319
|
+
description: 'Last error message if the trigger failed.'
|
|
4666
5320
|
},
|
|
4667
5321
|
error_handler_path: {
|
|
4668
|
-
type: 'string'
|
|
5322
|
+
type: 'string',
|
|
5323
|
+
description: 'Path to a script or flow to run when the triggered job fails.'
|
|
4669
5324
|
},
|
|
4670
5325
|
error_handler_args: {
|
|
4671
|
-
'$ref': '#/components/schemas/ScriptArgs'
|
|
5326
|
+
'$ref': '#/components/schemas/ScriptArgs',
|
|
5327
|
+
description: 'Arguments to pass to the error handler.'
|
|
4672
5328
|
},
|
|
4673
5329
|
retry: {
|
|
4674
|
-
'$ref': '#/components/schemas/Retry'
|
|
5330
|
+
'$ref': '#/components/schemas/Retry',
|
|
5331
|
+
description: 'Retry configuration for failed executions.'
|
|
4675
5332
|
}
|
|
4676
5333
|
},
|
|
4677
5334
|
required: ['gcp_resource_path', 'topic_id', 'subscription_id', 'delivery_type', 'subscription_mode']
|
|
@@ -4683,42 +5340,52 @@ export const $SubscriptionMode = {
|
|
|
4683
5340
|
};
|
|
4684
5341
|
export const $GcpTriggerData = {
|
|
4685
5342
|
type: 'object',
|
|
5343
|
+
description: 'Data for creating or updating a Google Cloud Pub/Sub trigger.',
|
|
4686
5344
|
properties: {
|
|
4687
5345
|
gcp_resource_path: {
|
|
4688
|
-
type: 'string'
|
|
5346
|
+
type: 'string',
|
|
5347
|
+
description: 'Path to the GCP resource containing service account credentials for authentication.'
|
|
4689
5348
|
},
|
|
4690
5349
|
subscription_mode: {
|
|
4691
5350
|
'$ref': '#/components/schemas/SubscriptionMode'
|
|
4692
5351
|
},
|
|
4693
5352
|
topic_id: {
|
|
4694
|
-
type: 'string'
|
|
5353
|
+
type: 'string',
|
|
5354
|
+
description: 'Google Cloud Pub/Sub topic ID to subscribe to.'
|
|
4695
5355
|
},
|
|
4696
5356
|
subscription_id: {
|
|
4697
|
-
type: 'string'
|
|
5357
|
+
type: 'string',
|
|
5358
|
+
description: 'Google Cloud Pub/Sub subscription ID.'
|
|
4698
5359
|
},
|
|
4699
5360
|
base_endpoint: {
|
|
4700
|
-
type: 'string'
|
|
5361
|
+
type: 'string',
|
|
5362
|
+
description: 'Base URL for push delivery endpoint.'
|
|
4701
5363
|
},
|
|
4702
5364
|
delivery_type: {
|
|
4703
5365
|
'$ref': '#/components/schemas/DeliveryType'
|
|
4704
5366
|
},
|
|
4705
5367
|
delivery_config: {
|
|
5368
|
+
nullable: true,
|
|
4706
5369
|
'$ref': '#/components/schemas/PushConfig'
|
|
4707
5370
|
},
|
|
4708
5371
|
path: {
|
|
4709
|
-
type: 'string'
|
|
5372
|
+
type: 'string',
|
|
5373
|
+
description: 'The unique path identifier for this trigger.'
|
|
4710
5374
|
},
|
|
4711
5375
|
script_path: {
|
|
4712
|
-
type: 'string'
|
|
5376
|
+
type: 'string',
|
|
5377
|
+
description: 'Path to the script or flow to execute when a message is received.'
|
|
4713
5378
|
},
|
|
4714
5379
|
is_flow: {
|
|
4715
|
-
type: 'boolean'
|
|
5380
|
+
type: 'boolean',
|
|
5381
|
+
description: 'True if script_path points to a flow, false if it points to a script.'
|
|
4716
5382
|
},
|
|
4717
5383
|
mode: {
|
|
4718
5384
|
'$ref': '#/components/schemas/TriggerMode'
|
|
4719
5385
|
},
|
|
4720
5386
|
auto_acknowledge_msg: {
|
|
4721
|
-
type: 'boolean'
|
|
5387
|
+
type: 'boolean',
|
|
5388
|
+
description: 'If true, automatically acknowledge messages after processing.'
|
|
4722
5389
|
},
|
|
4723
5390
|
ack_deadline: {
|
|
4724
5391
|
type: 'integer',
|
|
@@ -4728,13 +5395,16 @@ export const $GcpTriggerData = {
|
|
|
4728
5395
|
description: "Time in seconds within which the message must be acknowledged. If not provided, defaults to the subscription's acknowledgment deadline (600 seconds)."
|
|
4729
5396
|
},
|
|
4730
5397
|
error_handler_path: {
|
|
4731
|
-
type: 'string'
|
|
5398
|
+
type: 'string',
|
|
5399
|
+
description: 'Path to a script or flow to run when the triggered job fails.'
|
|
4732
5400
|
},
|
|
4733
5401
|
error_handler_args: {
|
|
4734
|
-
'$ref': '#/components/schemas/ScriptArgs'
|
|
5402
|
+
'$ref': '#/components/schemas/ScriptArgs',
|
|
5403
|
+
description: 'Arguments to pass to the error handler.'
|
|
4735
5404
|
},
|
|
4736
5405
|
retry: {
|
|
4737
|
-
'$ref': '#/components/schemas/Retry'
|
|
5406
|
+
'$ref': '#/components/schemas/Retry',
|
|
5407
|
+
description: 'Retry configuration for failed executions.'
|
|
4738
5408
|
}
|
|
4739
5409
|
},
|
|
4740
5410
|
required: ['path', 'script_path', 'is_flow', 'gcp_resource_path', 'topic_id', 'subscription_mode']
|
|
@@ -4770,38 +5440,49 @@ export const $SqsTrigger = {
|
|
|
4770
5440
|
type: 'object',
|
|
4771
5441
|
properties: {
|
|
4772
5442
|
queue_url: {
|
|
4773
|
-
type: 'string'
|
|
5443
|
+
type: 'string',
|
|
5444
|
+
description: 'The full URL of the AWS SQS queue to poll for messages'
|
|
4774
5445
|
},
|
|
4775
5446
|
aws_auth_resource_type: {
|
|
4776
|
-
'$ref': '#/components/schemas/AwsAuthResourceType'
|
|
5447
|
+
'$ref': '#/components/schemas/AwsAuthResourceType',
|
|
5448
|
+
description: "Authentication type - 'credentials' for access key/secret, 'oidc' for OpenID Connect"
|
|
4777
5449
|
},
|
|
4778
5450
|
aws_resource_path: {
|
|
4779
|
-
type: 'string'
|
|
5451
|
+
type: 'string',
|
|
5452
|
+
description: 'Path to the AWS resource containing credentials or OIDC configuration'
|
|
4780
5453
|
},
|
|
4781
5454
|
message_attributes: {
|
|
4782
5455
|
type: 'array',
|
|
5456
|
+
nullable: true,
|
|
4783
5457
|
items: {
|
|
4784
5458
|
type: 'string'
|
|
4785
|
-
}
|
|
5459
|
+
},
|
|
5460
|
+
description: 'Array of SQS message attribute names to include with each message'
|
|
4786
5461
|
},
|
|
4787
5462
|
server_id: {
|
|
4788
|
-
type: 'string'
|
|
5463
|
+
type: 'string',
|
|
5464
|
+
description: 'ID of the server currently handling this trigger (internal)'
|
|
4789
5465
|
},
|
|
4790
5466
|
last_server_ping: {
|
|
4791
5467
|
type: 'string',
|
|
4792
|
-
format: 'date-time'
|
|
5468
|
+
format: 'date-time',
|
|
5469
|
+
description: 'Timestamp of last server heartbeat (internal)'
|
|
4793
5470
|
},
|
|
4794
5471
|
error: {
|
|
4795
|
-
type: 'string'
|
|
5472
|
+
type: 'string',
|
|
5473
|
+
description: 'Last error message if the trigger failed'
|
|
4796
5474
|
},
|
|
4797
5475
|
error_handler_path: {
|
|
4798
|
-
type: 'string'
|
|
5476
|
+
type: 'string',
|
|
5477
|
+
description: 'Path to a script or flow to run when the triggered job fails'
|
|
4799
5478
|
},
|
|
4800
5479
|
error_handler_args: {
|
|
4801
|
-
'$ref': '#/components/schemas/ScriptArgs'
|
|
5480
|
+
'$ref': '#/components/schemas/ScriptArgs',
|
|
5481
|
+
description: 'Arguments to pass to the error handler'
|
|
4802
5482
|
},
|
|
4803
5483
|
retry: {
|
|
4804
|
-
'$ref': '#/components/schemas/Retry'
|
|
5484
|
+
'$ref': '#/components/schemas/Retry',
|
|
5485
|
+
description: 'Retry configuration for failed executions'
|
|
4805
5486
|
}
|
|
4806
5487
|
},
|
|
4807
5488
|
required: ['queue_url', 'aws_resource_path', 'aws_auth_resource_type']
|
|
@@ -4864,40 +5545,51 @@ export const $NewSqsTrigger = {
|
|
|
4864
5545
|
type: 'object',
|
|
4865
5546
|
properties: {
|
|
4866
5547
|
queue_url: {
|
|
4867
|
-
type: 'string'
|
|
5548
|
+
type: 'string',
|
|
5549
|
+
description: 'The full URL of the AWS SQS queue to poll for messages'
|
|
4868
5550
|
},
|
|
4869
5551
|
aws_auth_resource_type: {
|
|
4870
|
-
'$ref': '#/components/schemas/AwsAuthResourceType'
|
|
5552
|
+
'$ref': '#/components/schemas/AwsAuthResourceType',
|
|
5553
|
+
description: "Authentication type - 'credentials' for access key/secret, 'oidc' for OpenID Connect"
|
|
4871
5554
|
},
|
|
4872
5555
|
aws_resource_path: {
|
|
4873
|
-
type: 'string'
|
|
5556
|
+
type: 'string',
|
|
5557
|
+
description: 'Path to the AWS resource containing credentials or OIDC configuration'
|
|
4874
5558
|
},
|
|
4875
5559
|
message_attributes: {
|
|
4876
5560
|
type: 'array',
|
|
5561
|
+
nullable: true,
|
|
4877
5562
|
items: {
|
|
4878
5563
|
type: 'string'
|
|
4879
|
-
}
|
|
5564
|
+
},
|
|
5565
|
+
description: 'Array of SQS message attribute names to include with each message'
|
|
4880
5566
|
},
|
|
4881
5567
|
path: {
|
|
4882
|
-
type: 'string'
|
|
5568
|
+
type: 'string',
|
|
5569
|
+
description: 'The unique path identifier for this trigger'
|
|
4883
5570
|
},
|
|
4884
5571
|
script_path: {
|
|
4885
|
-
type: 'string'
|
|
5572
|
+
type: 'string',
|
|
5573
|
+
description: 'Path to the script or flow to execute when a message is received'
|
|
4886
5574
|
},
|
|
4887
5575
|
is_flow: {
|
|
4888
|
-
type: 'boolean'
|
|
5576
|
+
type: 'boolean',
|
|
5577
|
+
description: 'True if script_path points to a flow, false if it points to a script'
|
|
4889
5578
|
},
|
|
4890
5579
|
mode: {
|
|
4891
5580
|
'$ref': '#/components/schemas/TriggerMode'
|
|
4892
5581
|
},
|
|
4893
5582
|
error_handler_path: {
|
|
4894
|
-
type: 'string'
|
|
5583
|
+
type: 'string',
|
|
5584
|
+
description: 'Path to a script or flow to run when the triggered job fails'
|
|
4895
5585
|
},
|
|
4896
5586
|
error_handler_args: {
|
|
4897
|
-
'$ref': '#/components/schemas/ScriptArgs'
|
|
5587
|
+
'$ref': '#/components/schemas/ScriptArgs',
|
|
5588
|
+
description: 'Arguments to pass to the error handler'
|
|
4898
5589
|
},
|
|
4899
5590
|
retry: {
|
|
4900
|
-
'$ref': '#/components/schemas/Retry'
|
|
5591
|
+
'$ref': '#/components/schemas/Retry',
|
|
5592
|
+
description: 'Retry configuration for failed executions'
|
|
4901
5593
|
}
|
|
4902
5594
|
},
|
|
4903
5595
|
required: ['queue_url', 'aws_resource_path', 'path', 'script_path', 'is_flow', 'aws_auth_resource_type']
|
|
@@ -4906,40 +5598,51 @@ export const $EditSqsTrigger = {
|
|
|
4906
5598
|
type: 'object',
|
|
4907
5599
|
properties: {
|
|
4908
5600
|
queue_url: {
|
|
4909
|
-
type: 'string'
|
|
5601
|
+
type: 'string',
|
|
5602
|
+
description: 'The full URL of the AWS SQS queue to poll for messages'
|
|
4910
5603
|
},
|
|
4911
5604
|
aws_auth_resource_type: {
|
|
4912
|
-
'$ref': '#/components/schemas/AwsAuthResourceType'
|
|
5605
|
+
'$ref': '#/components/schemas/AwsAuthResourceType',
|
|
5606
|
+
description: "Authentication type - 'credentials' for access key/secret, 'oidc' for OpenID Connect"
|
|
4913
5607
|
},
|
|
4914
5608
|
aws_resource_path: {
|
|
4915
|
-
type: 'string'
|
|
5609
|
+
type: 'string',
|
|
5610
|
+
description: 'Path to the AWS resource containing credentials or OIDC configuration'
|
|
4916
5611
|
},
|
|
4917
5612
|
message_attributes: {
|
|
4918
5613
|
type: 'array',
|
|
5614
|
+
nullable: true,
|
|
4919
5615
|
items: {
|
|
4920
5616
|
type: 'string'
|
|
4921
|
-
}
|
|
5617
|
+
},
|
|
5618
|
+
description: 'Array of SQS message attribute names to include with each message'
|
|
4922
5619
|
},
|
|
4923
5620
|
path: {
|
|
4924
|
-
type: 'string'
|
|
5621
|
+
type: 'string',
|
|
5622
|
+
description: 'The unique path identifier for this trigger'
|
|
4925
5623
|
},
|
|
4926
5624
|
script_path: {
|
|
4927
|
-
type: 'string'
|
|
5625
|
+
type: 'string',
|
|
5626
|
+
description: 'Path to the script or flow to execute when a message is received'
|
|
4928
5627
|
},
|
|
4929
5628
|
is_flow: {
|
|
4930
|
-
type: 'boolean'
|
|
5629
|
+
type: 'boolean',
|
|
5630
|
+
description: 'True if script_path points to a flow, false if it points to a script'
|
|
4931
5631
|
},
|
|
4932
5632
|
mode: {
|
|
4933
5633
|
'$ref': '#/components/schemas/TriggerMode'
|
|
4934
5634
|
},
|
|
4935
5635
|
error_handler_path: {
|
|
4936
|
-
type: 'string'
|
|
5636
|
+
type: 'string',
|
|
5637
|
+
description: 'Path to a script or flow to run when the triggered job fails'
|
|
4937
5638
|
},
|
|
4938
5639
|
error_handler_args: {
|
|
4939
|
-
'$ref': '#/components/schemas/ScriptArgs'
|
|
5640
|
+
'$ref': '#/components/schemas/ScriptArgs',
|
|
5641
|
+
description: 'Arguments to pass to the error handler'
|
|
4940
5642
|
},
|
|
4941
5643
|
retry: {
|
|
4942
|
-
'$ref': '#/components/schemas/Retry'
|
|
5644
|
+
'$ref': '#/components/schemas/Retry',
|
|
5645
|
+
description: 'Retry configuration for failed executions'
|
|
4943
5646
|
}
|
|
4944
5647
|
},
|
|
4945
5648
|
required: ['queue_url', 'aws_resource_path', 'path', 'script_path', 'is_flow', 'enabled', 'aws_auth_resource_type']
|
|
@@ -5045,32 +5748,41 @@ export const $PostgresTrigger = {
|
|
|
5045
5748
|
type: 'object',
|
|
5046
5749
|
properties: {
|
|
5047
5750
|
postgres_resource_path: {
|
|
5048
|
-
type: 'string'
|
|
5751
|
+
type: 'string',
|
|
5752
|
+
description: 'Path to the PostgreSQL resource containing connection configuration'
|
|
5049
5753
|
},
|
|
5050
5754
|
publication_name: {
|
|
5051
|
-
type: 'string'
|
|
5755
|
+
type: 'string',
|
|
5756
|
+
description: 'Name of the PostgreSQL publication to subscribe to for change data capture'
|
|
5052
5757
|
},
|
|
5053
5758
|
server_id: {
|
|
5054
|
-
type: 'string'
|
|
5759
|
+
type: 'string',
|
|
5760
|
+
description: 'ID of the server currently handling this trigger (internal)'
|
|
5055
5761
|
},
|
|
5056
5762
|
replication_slot_name: {
|
|
5057
|
-
type: 'string'
|
|
5763
|
+
type: 'string',
|
|
5764
|
+
description: 'Name of the PostgreSQL logical replication slot to use'
|
|
5058
5765
|
},
|
|
5059
5766
|
error: {
|
|
5060
|
-
type: 'string'
|
|
5767
|
+
type: 'string',
|
|
5768
|
+
description: 'Last error message if the trigger failed'
|
|
5061
5769
|
},
|
|
5062
5770
|
last_server_ping: {
|
|
5063
5771
|
type: 'string',
|
|
5064
|
-
format: 'date-time'
|
|
5772
|
+
format: 'date-time',
|
|
5773
|
+
description: 'Timestamp of last server heartbeat (internal)'
|
|
5065
5774
|
},
|
|
5066
5775
|
error_handler_path: {
|
|
5067
|
-
type: 'string'
|
|
5776
|
+
type: 'string',
|
|
5777
|
+
description: 'Path to a script or flow to run when the triggered job fails'
|
|
5068
5778
|
},
|
|
5069
5779
|
error_handler_args: {
|
|
5070
|
-
'$ref': '#/components/schemas/ScriptArgs'
|
|
5780
|
+
'$ref': '#/components/schemas/ScriptArgs',
|
|
5781
|
+
description: 'Arguments to pass to the error handler'
|
|
5071
5782
|
},
|
|
5072
5783
|
retry: {
|
|
5073
|
-
'$ref': '#/components/schemas/Retry'
|
|
5784
|
+
'$ref': '#/components/schemas/Retry',
|
|
5785
|
+
description: 'Retry configuration for failed executions'
|
|
5074
5786
|
}
|
|
5075
5787
|
},
|
|
5076
5788
|
required: ['postgres_resource_path', 'replication_slot_name', 'publication_name']
|
|
@@ -5079,37 +5791,47 @@ export const $NewPostgresTrigger = {
|
|
|
5079
5791
|
type: 'object',
|
|
5080
5792
|
properties: {
|
|
5081
5793
|
replication_slot_name: {
|
|
5082
|
-
type: 'string'
|
|
5794
|
+
type: 'string',
|
|
5795
|
+
description: 'Name of the PostgreSQL logical replication slot to use'
|
|
5083
5796
|
},
|
|
5084
5797
|
publication_name: {
|
|
5085
|
-
type: 'string'
|
|
5798
|
+
type: 'string',
|
|
5799
|
+
description: 'Name of the PostgreSQL publication to subscribe to for change data capture'
|
|
5086
5800
|
},
|
|
5087
5801
|
path: {
|
|
5088
|
-
type: 'string'
|
|
5802
|
+
type: 'string',
|
|
5803
|
+
description: 'The unique path identifier for this trigger'
|
|
5089
5804
|
},
|
|
5090
5805
|
script_path: {
|
|
5091
|
-
type: 'string'
|
|
5806
|
+
type: 'string',
|
|
5807
|
+
description: 'Path to the script or flow to execute when database changes are detected'
|
|
5092
5808
|
},
|
|
5093
5809
|
is_flow: {
|
|
5094
|
-
type: 'boolean'
|
|
5810
|
+
type: 'boolean',
|
|
5811
|
+
description: 'True if script_path points to a flow, false if it points to a script'
|
|
5095
5812
|
},
|
|
5096
5813
|
mode: {
|
|
5097
5814
|
'$ref': '#/components/schemas/TriggerMode'
|
|
5098
5815
|
},
|
|
5099
5816
|
postgres_resource_path: {
|
|
5100
|
-
type: 'string'
|
|
5817
|
+
type: 'string',
|
|
5818
|
+
description: 'Path to the PostgreSQL resource containing connection configuration'
|
|
5101
5819
|
},
|
|
5102
5820
|
publication: {
|
|
5103
|
-
'$ref': '#/components/schemas/PublicationData'
|
|
5821
|
+
'$ref': '#/components/schemas/PublicationData',
|
|
5822
|
+
description: 'Configuration for creating/managing the publication (tables, operations)'
|
|
5104
5823
|
},
|
|
5105
5824
|
error_handler_path: {
|
|
5106
|
-
type: 'string'
|
|
5825
|
+
type: 'string',
|
|
5826
|
+
description: 'Path to a script or flow to run when the triggered job fails'
|
|
5107
5827
|
},
|
|
5108
5828
|
error_handler_args: {
|
|
5109
|
-
'$ref': '#/components/schemas/ScriptArgs'
|
|
5829
|
+
'$ref': '#/components/schemas/ScriptArgs',
|
|
5830
|
+
description: 'Arguments to pass to the error handler'
|
|
5110
5831
|
},
|
|
5111
5832
|
retry: {
|
|
5112
|
-
'$ref': '#/components/schemas/Retry'
|
|
5833
|
+
'$ref': '#/components/schemas/Retry',
|
|
5834
|
+
description: 'Retry configuration for failed executions'
|
|
5113
5835
|
}
|
|
5114
5836
|
},
|
|
5115
5837
|
required: ['path', 'script_path', 'is_flow', 'enabled', 'postgres_resource_path']
|
|
@@ -5118,37 +5840,47 @@ export const $EditPostgresTrigger = {
|
|
|
5118
5840
|
type: 'object',
|
|
5119
5841
|
properties: {
|
|
5120
5842
|
replication_slot_name: {
|
|
5121
|
-
type: 'string'
|
|
5843
|
+
type: 'string',
|
|
5844
|
+
description: 'Name of the PostgreSQL logical replication slot to use'
|
|
5122
5845
|
},
|
|
5123
5846
|
publication_name: {
|
|
5124
|
-
type: 'string'
|
|
5847
|
+
type: 'string',
|
|
5848
|
+
description: 'Name of the PostgreSQL publication to subscribe to for change data capture'
|
|
5125
5849
|
},
|
|
5126
5850
|
path: {
|
|
5127
|
-
type: 'string'
|
|
5851
|
+
type: 'string',
|
|
5852
|
+
description: 'The unique path identifier for this trigger'
|
|
5128
5853
|
},
|
|
5129
5854
|
script_path: {
|
|
5130
|
-
type: 'string'
|
|
5855
|
+
type: 'string',
|
|
5856
|
+
description: 'Path to the script or flow to execute when database changes are detected'
|
|
5131
5857
|
},
|
|
5132
5858
|
is_flow: {
|
|
5133
|
-
type: 'boolean'
|
|
5859
|
+
type: 'boolean',
|
|
5860
|
+
description: 'True if script_path points to a flow, false if it points to a script'
|
|
5134
5861
|
},
|
|
5135
5862
|
mode: {
|
|
5136
5863
|
'$ref': '#/components/schemas/TriggerMode'
|
|
5137
5864
|
},
|
|
5138
5865
|
postgres_resource_path: {
|
|
5139
|
-
type: 'string'
|
|
5866
|
+
type: 'string',
|
|
5867
|
+
description: 'Path to the PostgreSQL resource containing connection configuration'
|
|
5140
5868
|
},
|
|
5141
5869
|
publication: {
|
|
5142
|
-
'$ref': '#/components/schemas/PublicationData'
|
|
5870
|
+
'$ref': '#/components/schemas/PublicationData',
|
|
5871
|
+
description: 'Configuration for creating/managing the publication (tables, operations)'
|
|
5143
5872
|
},
|
|
5144
5873
|
error_handler_path: {
|
|
5145
|
-
type: 'string'
|
|
5874
|
+
type: 'string',
|
|
5875
|
+
description: 'Path to a script or flow to run when the triggered job fails'
|
|
5146
5876
|
},
|
|
5147
5877
|
error_handler_args: {
|
|
5148
|
-
'$ref': '#/components/schemas/ScriptArgs'
|
|
5878
|
+
'$ref': '#/components/schemas/ScriptArgs',
|
|
5879
|
+
description: 'Arguments to pass to the error handler'
|
|
5149
5880
|
},
|
|
5150
5881
|
retry: {
|
|
5151
|
-
'$ref': '#/components/schemas/Retry'
|
|
5882
|
+
'$ref': '#/components/schemas/Retry',
|
|
5883
|
+
description: 'Retry configuration for failed executions'
|
|
5152
5884
|
}
|
|
5153
5885
|
},
|
|
5154
5886
|
required: ['path', 'script_path', 'is_flow', 'enabled', 'postgres_resource_path', 'publication_name', 'replication_slot_name']
|
|
@@ -5162,113 +5894,179 @@ export const $KafkaTrigger = {
|
|
|
5162
5894
|
type: 'object',
|
|
5163
5895
|
properties: {
|
|
5164
5896
|
kafka_resource_path: {
|
|
5165
|
-
type: 'string'
|
|
5897
|
+
type: 'string',
|
|
5898
|
+
description: 'Path to the Kafka resource containing connection configuration'
|
|
5166
5899
|
},
|
|
5167
5900
|
group_id: {
|
|
5168
|
-
type: 'string'
|
|
5901
|
+
type: 'string',
|
|
5902
|
+
description: 'Kafka consumer group ID for this trigger'
|
|
5169
5903
|
},
|
|
5170
5904
|
topics: {
|
|
5171
5905
|
type: 'array',
|
|
5172
5906
|
items: {
|
|
5173
|
-
type: 'string'
|
|
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']
|
|
5174
5922
|
}
|
|
5175
5923
|
},
|
|
5176
5924
|
server_id: {
|
|
5177
|
-
type: 'string'
|
|
5925
|
+
type: 'string',
|
|
5926
|
+
description: 'ID of the server currently handling this trigger (internal)'
|
|
5178
5927
|
},
|
|
5179
5928
|
last_server_ping: {
|
|
5180
5929
|
type: 'string',
|
|
5181
|
-
format: 'date-time'
|
|
5930
|
+
format: 'date-time',
|
|
5931
|
+
description: 'Timestamp of last server heartbeat (internal)'
|
|
5182
5932
|
},
|
|
5183
5933
|
error: {
|
|
5184
|
-
type: 'string'
|
|
5934
|
+
type: 'string',
|
|
5935
|
+
description: 'Last error message if the trigger failed'
|
|
5185
5936
|
},
|
|
5186
5937
|
error_handler_path: {
|
|
5187
|
-
type: 'string'
|
|
5938
|
+
type: 'string',
|
|
5939
|
+
description: 'Path to a script or flow to run when the triggered job fails'
|
|
5188
5940
|
},
|
|
5189
5941
|
error_handler_args: {
|
|
5190
|
-
'$ref': '#/components/schemas/ScriptArgs'
|
|
5942
|
+
'$ref': '#/components/schemas/ScriptArgs',
|
|
5943
|
+
description: 'Arguments to pass to the error handler'
|
|
5191
5944
|
},
|
|
5192
5945
|
retry: {
|
|
5193
|
-
'$ref': '#/components/schemas/Retry'
|
|
5946
|
+
'$ref': '#/components/schemas/Retry',
|
|
5947
|
+
description: 'Retry configuration for failed executions'
|
|
5194
5948
|
}
|
|
5195
5949
|
},
|
|
5196
|
-
required: ['kafka_resource_path', 'group_id', 'topics']
|
|
5950
|
+
required: ['kafka_resource_path', 'group_id', 'topics', 'filters']
|
|
5197
5951
|
};
|
|
5198
5952
|
export const $NewKafkaTrigger = {
|
|
5199
5953
|
type: 'object',
|
|
5200
5954
|
properties: {
|
|
5201
5955
|
path: {
|
|
5202
|
-
type: 'string'
|
|
5956
|
+
type: 'string',
|
|
5957
|
+
description: 'The unique path identifier for this trigger'
|
|
5203
5958
|
},
|
|
5204
5959
|
script_path: {
|
|
5205
|
-
type: 'string'
|
|
5960
|
+
type: 'string',
|
|
5961
|
+
description: 'Path to the script or flow to execute when a message is received'
|
|
5206
5962
|
},
|
|
5207
5963
|
is_flow: {
|
|
5208
|
-
type: 'boolean'
|
|
5964
|
+
type: 'boolean',
|
|
5965
|
+
description: 'True if script_path points to a flow, false if it points to a script'
|
|
5209
5966
|
},
|
|
5210
5967
|
kafka_resource_path: {
|
|
5211
|
-
type: 'string'
|
|
5968
|
+
type: 'string',
|
|
5969
|
+
description: 'Path to the Kafka resource containing connection configuration'
|
|
5212
5970
|
},
|
|
5213
5971
|
group_id: {
|
|
5214
|
-
type: 'string'
|
|
5972
|
+
type: 'string',
|
|
5973
|
+
description: 'Kafka consumer group ID for this trigger'
|
|
5215
5974
|
},
|
|
5216
5975
|
topics: {
|
|
5217
5976
|
type: 'array',
|
|
5218
5977
|
items: {
|
|
5219
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']
|
|
5220
5993
|
}
|
|
5221
5994
|
},
|
|
5222
5995
|
mode: {
|
|
5223
5996
|
'$ref': '#/components/schemas/TriggerMode'
|
|
5224
5997
|
},
|
|
5225
5998
|
error_handler_path: {
|
|
5226
|
-
type: 'string'
|
|
5999
|
+
type: 'string',
|
|
6000
|
+
description: 'Path to a script or flow to run when the triggered job fails'
|
|
5227
6001
|
},
|
|
5228
6002
|
error_handler_args: {
|
|
5229
|
-
'$ref': '#/components/schemas/ScriptArgs'
|
|
6003
|
+
'$ref': '#/components/schemas/ScriptArgs',
|
|
6004
|
+
description: 'Arguments to pass to the error handler'
|
|
5230
6005
|
},
|
|
5231
6006
|
retry: {
|
|
5232
|
-
'$ref': '#/components/schemas/Retry'
|
|
6007
|
+
'$ref': '#/components/schemas/Retry',
|
|
6008
|
+
description: 'Retry configuration for failed executions'
|
|
5233
6009
|
}
|
|
5234
6010
|
},
|
|
5235
|
-
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']
|
|
5236
6012
|
};
|
|
5237
6013
|
export const $EditKafkaTrigger = {
|
|
5238
6014
|
type: 'object',
|
|
5239
6015
|
properties: {
|
|
5240
6016
|
kafka_resource_path: {
|
|
5241
|
-
type: 'string'
|
|
6017
|
+
type: 'string',
|
|
6018
|
+
description: 'Path to the Kafka resource containing connection configuration'
|
|
5242
6019
|
},
|
|
5243
6020
|
group_id: {
|
|
5244
|
-
type: 'string'
|
|
6021
|
+
type: 'string',
|
|
6022
|
+
description: 'Kafka consumer group ID for this trigger'
|
|
5245
6023
|
},
|
|
5246
6024
|
topics: {
|
|
5247
6025
|
type: 'array',
|
|
5248
6026
|
items: {
|
|
5249
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']
|
|
5250
6042
|
}
|
|
5251
6043
|
},
|
|
5252
6044
|
path: {
|
|
5253
|
-
type: 'string'
|
|
6045
|
+
type: 'string',
|
|
6046
|
+
description: 'The unique path identifier for this trigger'
|
|
5254
6047
|
},
|
|
5255
6048
|
script_path: {
|
|
5256
|
-
type: 'string'
|
|
6049
|
+
type: 'string',
|
|
6050
|
+
description: 'Path to the script or flow to execute when a message is received'
|
|
5257
6051
|
},
|
|
5258
6052
|
is_flow: {
|
|
5259
|
-
type: 'boolean'
|
|
6053
|
+
type: 'boolean',
|
|
6054
|
+
description: 'True if script_path points to a flow, false if it points to a script'
|
|
5260
6055
|
},
|
|
5261
6056
|
error_handler_path: {
|
|
5262
|
-
type: 'string'
|
|
6057
|
+
type: 'string',
|
|
6058
|
+
description: 'Path to a script or flow to run when the triggered job fails'
|
|
5263
6059
|
},
|
|
5264
6060
|
error_handler_args: {
|
|
5265
|
-
'$ref': '#/components/schemas/ScriptArgs'
|
|
6061
|
+
'$ref': '#/components/schemas/ScriptArgs',
|
|
6062
|
+
description: 'Arguments to pass to the error handler'
|
|
5266
6063
|
},
|
|
5267
6064
|
retry: {
|
|
5268
|
-
'$ref': '#/components/schemas/Retry'
|
|
6065
|
+
'$ref': '#/components/schemas/Retry',
|
|
6066
|
+
description: 'Retry configuration for failed executions'
|
|
5269
6067
|
}
|
|
5270
6068
|
},
|
|
5271
|
-
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']
|
|
5272
6070
|
};
|
|
5273
6071
|
export const $NatsTrigger = {
|
|
5274
6072
|
allOf: [
|
|
@@ -5279,41 +6077,54 @@ export const $NatsTrigger = {
|
|
|
5279
6077
|
type: 'object',
|
|
5280
6078
|
properties: {
|
|
5281
6079
|
nats_resource_path: {
|
|
5282
|
-
type: 'string'
|
|
6080
|
+
type: 'string',
|
|
6081
|
+
description: 'Path to the NATS resource containing connection configuration'
|
|
5283
6082
|
},
|
|
5284
6083
|
use_jetstream: {
|
|
5285
|
-
type: 'boolean'
|
|
6084
|
+
type: 'boolean',
|
|
6085
|
+
description: 'If true, uses NATS JetStream for durable message delivery'
|
|
5286
6086
|
},
|
|
5287
6087
|
stream_name: {
|
|
5288
|
-
type: 'string'
|
|
6088
|
+
type: 'string',
|
|
6089
|
+
nullable: true,
|
|
6090
|
+
description: 'JetStream stream name (required when use_jetstream is true)'
|
|
5289
6091
|
},
|
|
5290
6092
|
consumer_name: {
|
|
5291
|
-
type: 'string'
|
|
6093
|
+
type: 'string',
|
|
6094
|
+
nullable: true,
|
|
6095
|
+
description: 'JetStream consumer name (required when use_jetstream is true)'
|
|
5292
6096
|
},
|
|
5293
6097
|
subjects: {
|
|
5294
6098
|
type: 'array',
|
|
5295
6099
|
items: {
|
|
5296
6100
|
type: 'string'
|
|
5297
|
-
}
|
|
6101
|
+
},
|
|
6102
|
+
description: 'Array of NATS subjects to subscribe to'
|
|
5298
6103
|
},
|
|
5299
6104
|
server_id: {
|
|
5300
|
-
type: 'string'
|
|
6105
|
+
type: 'string',
|
|
6106
|
+
description: 'ID of the server currently handling this trigger (internal)'
|
|
5301
6107
|
},
|
|
5302
6108
|
last_server_ping: {
|
|
5303
6109
|
type: 'string',
|
|
5304
|
-
format: 'date-time'
|
|
6110
|
+
format: 'date-time',
|
|
6111
|
+
description: 'Timestamp of last server heartbeat (internal)'
|
|
5305
6112
|
},
|
|
5306
6113
|
error: {
|
|
5307
|
-
type: 'string'
|
|
6114
|
+
type: 'string',
|
|
6115
|
+
description: 'Last error message if the trigger failed'
|
|
5308
6116
|
},
|
|
5309
6117
|
error_handler_path: {
|
|
5310
|
-
type: 'string'
|
|
6118
|
+
type: 'string',
|
|
6119
|
+
description: 'Path to a script or flow to run when the triggered job fails'
|
|
5311
6120
|
},
|
|
5312
6121
|
error_handler_args: {
|
|
5313
|
-
'$ref': '#/components/schemas/ScriptArgs'
|
|
6122
|
+
'$ref': '#/components/schemas/ScriptArgs',
|
|
6123
|
+
description: 'Arguments to pass to the error handler'
|
|
5314
6124
|
},
|
|
5315
6125
|
retry: {
|
|
5316
|
-
'$ref': '#/components/schemas/Retry'
|
|
6126
|
+
'$ref': '#/components/schemas/Retry',
|
|
6127
|
+
description: 'Retry configuration for failed executions'
|
|
5317
6128
|
}
|
|
5318
6129
|
},
|
|
5319
6130
|
required: ['nats_resource_path', 'use_jetstream', 'subjects']
|
|
@@ -5322,43 +6133,56 @@ export const $NewNatsTrigger = {
|
|
|
5322
6133
|
type: 'object',
|
|
5323
6134
|
properties: {
|
|
5324
6135
|
path: {
|
|
5325
|
-
type: 'string'
|
|
6136
|
+
type: 'string',
|
|
6137
|
+
description: 'The unique path identifier for this trigger'
|
|
5326
6138
|
},
|
|
5327
6139
|
script_path: {
|
|
5328
|
-
type: 'string'
|
|
6140
|
+
type: 'string',
|
|
6141
|
+
description: 'Path to the script or flow to execute when a message is received'
|
|
5329
6142
|
},
|
|
5330
6143
|
is_flow: {
|
|
5331
|
-
type: 'boolean'
|
|
6144
|
+
type: 'boolean',
|
|
6145
|
+
description: 'True if script_path points to a flow, false if it points to a script'
|
|
5332
6146
|
},
|
|
5333
6147
|
nats_resource_path: {
|
|
5334
|
-
type: 'string'
|
|
6148
|
+
type: 'string',
|
|
6149
|
+
description: 'Path to the NATS resource containing connection configuration'
|
|
5335
6150
|
},
|
|
5336
6151
|
use_jetstream: {
|
|
5337
|
-
type: 'boolean'
|
|
6152
|
+
type: 'boolean',
|
|
6153
|
+
description: 'If true, uses NATS JetStream for durable message delivery'
|
|
5338
6154
|
},
|
|
5339
6155
|
stream_name: {
|
|
5340
|
-
type: 'string'
|
|
6156
|
+
type: 'string',
|
|
6157
|
+
nullable: true,
|
|
6158
|
+
description: 'JetStream stream name (required when use_jetstream is true)'
|
|
5341
6159
|
},
|
|
5342
6160
|
consumer_name: {
|
|
5343
|
-
type: 'string'
|
|
6161
|
+
type: 'string',
|
|
6162
|
+
nullable: true,
|
|
6163
|
+
description: 'JetStream consumer name (required when use_jetstream is true)'
|
|
5344
6164
|
},
|
|
5345
6165
|
subjects: {
|
|
5346
6166
|
type: 'array',
|
|
5347
6167
|
items: {
|
|
5348
6168
|
type: 'string'
|
|
5349
|
-
}
|
|
6169
|
+
},
|
|
6170
|
+
description: 'Array of NATS subjects to subscribe to'
|
|
5350
6171
|
},
|
|
5351
6172
|
mode: {
|
|
5352
6173
|
'$ref': '#/components/schemas/TriggerMode'
|
|
5353
6174
|
},
|
|
5354
6175
|
error_handler_path: {
|
|
5355
|
-
type: 'string'
|
|
6176
|
+
type: 'string',
|
|
6177
|
+
description: 'Path to a script or flow to run when the triggered job fails'
|
|
5356
6178
|
},
|
|
5357
6179
|
error_handler_args: {
|
|
5358
|
-
'$ref': '#/components/schemas/ScriptArgs'
|
|
6180
|
+
'$ref': '#/components/schemas/ScriptArgs',
|
|
6181
|
+
description: 'Arguments to pass to the error handler'
|
|
5359
6182
|
},
|
|
5360
6183
|
retry: {
|
|
5361
|
-
'$ref': '#/components/schemas/Retry'
|
|
6184
|
+
'$ref': '#/components/schemas/Retry',
|
|
6185
|
+
description: 'Retry configuration for failed executions'
|
|
5362
6186
|
}
|
|
5363
6187
|
},
|
|
5364
6188
|
required: ['path', 'script_path', 'is_flow', 'nats_resource_path', 'use_jetstream', 'subjects']
|
|
@@ -5367,40 +6191,53 @@ export const $EditNatsTrigger = {
|
|
|
5367
6191
|
type: 'object',
|
|
5368
6192
|
properties: {
|
|
5369
6193
|
nats_resource_path: {
|
|
5370
|
-
type: 'string'
|
|
6194
|
+
type: 'string',
|
|
6195
|
+
description: 'Path to the NATS resource containing connection configuration'
|
|
5371
6196
|
},
|
|
5372
6197
|
use_jetstream: {
|
|
5373
|
-
type: 'boolean'
|
|
6198
|
+
type: 'boolean',
|
|
6199
|
+
description: 'If true, uses NATS JetStream for durable message delivery'
|
|
5374
6200
|
},
|
|
5375
6201
|
stream_name: {
|
|
5376
|
-
type: 'string'
|
|
6202
|
+
type: 'string',
|
|
6203
|
+
nullable: true,
|
|
6204
|
+
description: 'JetStream stream name (required when use_jetstream is true)'
|
|
5377
6205
|
},
|
|
5378
6206
|
consumer_name: {
|
|
5379
|
-
type: 'string'
|
|
6207
|
+
type: 'string',
|
|
6208
|
+
nullable: true,
|
|
6209
|
+
description: 'JetStream consumer name (required when use_jetstream is true)'
|
|
5380
6210
|
},
|
|
5381
6211
|
subjects: {
|
|
5382
6212
|
type: 'array',
|
|
5383
6213
|
items: {
|
|
5384
6214
|
type: 'string'
|
|
5385
|
-
}
|
|
6215
|
+
},
|
|
6216
|
+
description: 'Array of NATS subjects to subscribe to'
|
|
5386
6217
|
},
|
|
5387
6218
|
path: {
|
|
5388
|
-
type: 'string'
|
|
6219
|
+
type: 'string',
|
|
6220
|
+
description: 'The unique path identifier for this trigger'
|
|
5389
6221
|
},
|
|
5390
6222
|
script_path: {
|
|
5391
|
-
type: 'string'
|
|
6223
|
+
type: 'string',
|
|
6224
|
+
description: 'Path to the script or flow to execute when a message is received'
|
|
5392
6225
|
},
|
|
5393
6226
|
is_flow: {
|
|
5394
|
-
type: 'boolean'
|
|
6227
|
+
type: 'boolean',
|
|
6228
|
+
description: 'True if script_path points to a flow, false if it points to a script'
|
|
5395
6229
|
},
|
|
5396
6230
|
error_handler_path: {
|
|
5397
|
-
type: 'string'
|
|
6231
|
+
type: 'string',
|
|
6232
|
+
description: 'Path to a script or flow to run when the triggered job fails'
|
|
5398
6233
|
},
|
|
5399
6234
|
error_handler_args: {
|
|
5400
|
-
'$ref': '#/components/schemas/ScriptArgs'
|
|
6235
|
+
'$ref': '#/components/schemas/ScriptArgs',
|
|
6236
|
+
description: 'Arguments to pass to the error handler'
|
|
5401
6237
|
},
|
|
5402
6238
|
retry: {
|
|
5403
|
-
'$ref': '#/components/schemas/Retry'
|
|
6239
|
+
'$ref': '#/components/schemas/Retry',
|
|
6240
|
+
description: 'Retry configuration for failed executions'
|
|
5404
6241
|
}
|
|
5405
6242
|
},
|
|
5406
6243
|
required: ['path', 'script_path', 'nats_resource_path', 'use_jetstream', 'subjects', 'is_flow']
|
|
@@ -5672,6 +6509,9 @@ export const $WorkerPing = {
|
|
|
5672
6509
|
},
|
|
5673
6510
|
job_isolation: {
|
|
5674
6511
|
type: 'string'
|
|
6512
|
+
},
|
|
6513
|
+
native_mode: {
|
|
6514
|
+
type: 'boolean'
|
|
5675
6515
|
}
|
|
5676
6516
|
},
|
|
5677
6517
|
required: ['worker', 'worker_instance', 'ping_at', 'started_at', 'ip', 'jobs_executed', 'worker_group', 'wm_version']
|
|
@@ -6235,9 +7075,7 @@ export const $AppWithLastVersion = {
|
|
|
6235
7075
|
type: 'string',
|
|
6236
7076
|
format: 'date-time'
|
|
6237
7077
|
},
|
|
6238
|
-
value: {
|
|
6239
|
-
type: 'object'
|
|
6240
|
-
},
|
|
7078
|
+
value: {},
|
|
6241
7079
|
policy: {
|
|
6242
7080
|
'$ref': '#/components/schemas/Policy'
|
|
6243
7081
|
},
|
|
@@ -6899,12 +7737,31 @@ export const $GlobalSetting = {
|
|
|
6899
7737
|
name: {
|
|
6900
7738
|
type: 'string'
|
|
6901
7739
|
},
|
|
6902
|
-
value: {
|
|
6903
|
-
type: 'object'
|
|
6904
|
-
}
|
|
7740
|
+
value: {}
|
|
6905
7741
|
},
|
|
6906
7742
|
required: ['name', 'value']
|
|
6907
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
|
+
};
|
|
6908
7765
|
export const $Config = {
|
|
6909
7766
|
type: 'object',
|
|
6910
7767
|
properties: {
|
|
@@ -7373,7 +8230,8 @@ export const $AssetUsageKind = {
|
|
|
7373
8230
|
};
|
|
7374
8231
|
export const $AssetUsageAccessType = {
|
|
7375
8232
|
type: 'string',
|
|
7376
|
-
enum: ['r', 'w', 'rw']
|
|
8233
|
+
enum: ['r', 'w', 'rw'],
|
|
8234
|
+
nullable: true
|
|
7377
8235
|
};
|
|
7378
8236
|
export const $AssetKind = {
|
|
7379
8237
|
type: 'string',
|
|
@@ -7391,9 +8249,58 @@ export const $Asset = {
|
|
|
7391
8249
|
},
|
|
7392
8250
|
required: ['path', 'kind']
|
|
7393
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
|
+
};
|
|
7394
8301
|
export const $NativeServiceName = {
|
|
7395
8302
|
type: 'string',
|
|
7396
|
-
enum: ['nextcloud']
|
|
8303
|
+
enum: ['nextcloud', 'google']
|
|
7397
8304
|
};
|
|
7398
8305
|
export const $NativeTrigger = {
|
|
7399
8306
|
type: 'object',
|
|
@@ -7481,6 +8388,11 @@ export const $WorkspaceIntegrations = {
|
|
|
7481
8388
|
oauth_data: {
|
|
7482
8389
|
nullable: true,
|
|
7483
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'
|
|
7484
8396
|
}
|
|
7485
8397
|
},
|
|
7486
8398
|
required: ['service_name']
|
|
@@ -7612,3 +8524,65 @@ export const $NextCloudEventType = {
|
|
|
7612
8524
|
},
|
|
7613
8525
|
required: ['id', 'name', 'path']
|
|
7614
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
|
+
};
|