windmill-components 1.542.5 → 1.555.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package/aiStore.d.ts +13 -0
- package/package/aiStore.js +70 -0
- package/package/common.d.ts +6 -2
- package/package/components/AIAgentLogViewer.svelte +1 -1
- package/package/components/AIProviderPicker.svelte +25 -8
- package/package/components/ArgEnum.svelte +17 -7
- package/package/components/ArgEnum.svelte.d.ts +1 -0
- package/package/components/ArgInput.svelte +257 -188
- package/package/components/ArgInput.svelte.d.ts +4 -1
- package/package/components/ArrayTypeNarrowing.svelte +38 -32
- package/package/components/AutoscalingEvents.svelte +21 -5
- package/package/components/AutoscalingEvents.svelte.d.ts +4 -18
- package/package/components/ChannelSelector.svelte +92 -18
- package/package/components/ChannelSelector.svelte.d.ts +2 -0
- package/package/components/ConnectionSection.svelte +12 -1
- package/package/components/DateTimeInput.svelte +8 -6
- package/package/components/DeployButton.svelte +1 -1
- package/package/components/Dev.svelte +24 -9
- package/package/components/Dev.svelte.d.ts +23 -1
- package/package/components/DisplayResult.svelte +36 -23
- package/package/components/DropdownV2.svelte +8 -2
- package/package/components/DropdownV2.svelte.d.ts +1 -0
- package/package/components/DynamicInput.svelte +10 -10
- package/package/components/EditableSchemaForm.svelte +28 -13
- package/package/components/Editor.svelte +2 -1
- package/package/components/EditorSettings.svelte +5 -5
- package/package/components/EditorSettings.svelte.d.ts +4 -18
- package/package/components/ErrorOrRecoveryHandler.svelte +14 -20
- package/package/components/FakeMonacoPlaceHolder.svelte +4 -2
- package/package/components/FakeMonacoPlaceHolder.svelte.d.ts +1 -0
- package/package/components/FieldHeader.svelte +5 -7
- package/package/components/FirstStepInputs.svelte +1 -1
- package/package/components/FlowHistoryJobPicker.svelte +3 -0
- package/package/components/FlowHistoryJobPicker.svelte.d.ts +1 -0
- package/package/components/FlowJobResult.svelte +5 -5
- package/package/components/FlowLogRow.svelte +2 -2
- package/package/components/FlowLogViewer.svelte +228 -57
- package/package/components/FlowLogViewer.svelte.d.ts +16 -5
- package/package/components/FlowLogViewerWrapper.svelte +56 -3
- package/package/components/FlowLogViewerWrapper.svelte.d.ts +4 -3
- package/package/components/FlowLoopIterationPreview.svelte +4 -4
- package/package/components/FlowLoopIterationPreview.svelte.d.ts +1 -1
- package/package/components/FlowMetadata.svelte +3 -4
- package/package/components/FlowMetadata.svelte.d.ts +4 -18
- package/package/components/FlowPlugConnect.svelte +8 -2
- package/package/components/FlowPlugConnect.svelte.d.ts +1 -0
- package/package/components/FlowPreviewContent.svelte +121 -94
- package/package/components/FlowPreviewContent.svelte.d.ts +3 -3
- package/package/components/FlowStatusViewer.svelte +63 -59
- package/package/components/FlowStatusViewer.svelte.d.ts +2 -2
- package/package/components/FlowStatusViewerInner.svelte +186 -94
- package/package/components/FlowStatusViewerInner.svelte.d.ts +10 -3
- package/package/components/FlowTimeline.svelte +110 -131
- package/package/components/FlowTimeline.svelte.d.ts +13 -4
- package/package/components/FlowTimelineBar.svelte +227 -0
- package/package/components/FlowTimelineBar.svelte.d.ts +24 -0
- package/package/components/FolderEditor.svelte +6 -7
- package/package/components/GroupEditor.svelte +148 -141
- package/package/components/GroupEditor.svelte.d.ts +5 -4
- package/package/components/InputTransformForm.svelte +193 -71
- package/package/components/InputTransformForm.svelte.d.ts +3 -0
- package/package/components/InputTransformSchemaForm.svelte +10 -5
- package/package/components/InputTransformSchemaForm.svelte.d.ts +2 -0
- package/package/components/InstanceSetting.svelte +34 -51
- package/package/components/InstanceSettings.svelte +12 -21
- package/package/components/JobArgs.svelte +15 -16
- package/package/components/JobArgs.svelte.d.ts +4 -18
- package/package/components/JobLoader.svelte +23 -42
- package/package/components/JobLoader.svelte.d.ts +2 -0
- package/package/components/JobStatus.svelte +1 -1
- package/package/components/JobStatus.svelte.d.ts +4 -18
- package/package/components/JsonEditor.svelte +18 -9
- package/package/components/JsonEditor.svelte.d.ts +1 -1
- package/package/components/JsonInputs.svelte +1 -1
- package/package/components/ModulePreviewForm.svelte +23 -19
- package/package/components/ModulePreviewResultViewer.svelte +1 -7
- package/package/components/NextcloudSetting.svelte +6 -1
- package/package/components/NumberTypeNarrowing.svelte +32 -16
- package/package/components/ObjectStoreConfigSettings.svelte +27 -19
- package/package/components/Password.svelte +7 -11
- package/package/components/Password.svelte.d.ts +5 -20
- package/package/components/PasswordArgInput.svelte +35 -15
- package/package/components/PasswordArgInput.svelte.d.ts +4 -18
- package/package/components/Path.svelte +2 -8
- package/package/components/Path.svelte.d.ts +1 -1
- package/package/components/QueuePosition.svelte +6 -2
- package/package/components/ResourceEditor.svelte +3 -10
- package/package/components/ResourcePicker.svelte +85 -72
- package/package/components/ResourcePicker.svelte.d.ts +2 -0
- package/package/components/RunChart.svelte +1 -1
- package/package/components/RunForm.svelte +16 -21
- package/package/components/S3ArrayHelperButton.svelte +18 -0
- package/package/components/S3ArrayHelperButton.svelte.d.ts +9 -0
- package/package/components/S3FilePicker.svelte +1 -1
- package/package/components/SchemaForm.svelte +18 -10
- package/package/components/SchemaForm.svelte.d.ts +7 -1
- package/package/components/SchemaFormWithArgPicker.svelte +1 -1
- package/package/components/ScriptBuilder.svelte +2 -2
- package/package/components/ScriptEditor.svelte +9 -9
- package/package/components/ScriptEditor.svelte.d.ts +1 -1
- package/package/components/ShareModal.svelte +4 -4
- package/package/components/SimpleEditor.svelte +6 -2
- package/package/components/SimpleEditor.svelte.d.ts +3 -0
- package/package/components/StringTypeNarrowing.svelte +44 -25
- package/package/components/StringTypeNarrowing.svelte.d.ts +1 -1
- package/package/components/SuperadminSettingsInner.svelte +3 -3
- package/package/components/TeamSelector.svelte +83 -37
- package/package/components/TeamSelector.svelte.d.ts +0 -1
- package/package/components/TemplateEditor.svelte +18 -9
- package/package/components/Toast.svelte +2 -7
- package/package/components/Toast.svelte.d.ts +4 -18
- package/package/components/Toggle.svelte +17 -7
- package/package/components/ToggleHubWorkspaceQuick.svelte +3 -3
- package/package/components/WorkerGroup.svelte +2 -14
- package/package/components/apps/components/buttons/AppButton.svelte +66 -38
- package/package/components/apps/components/display/dbtable/InsertRow.svelte +32 -2
- package/package/components/apps/components/display/dbtable/queries/insert.js +2 -1
- package/package/components/apps/components/display/dbtable/utils.d.ts +8 -8
- package/package/components/apps/components/display/table/AppAggridInfiniteTable.svelte +13 -4
- package/package/components/apps/components/display/table/SyncColumnDefs.svelte +2 -2
- package/package/components/apps/components/display/table/utils.js +14 -4
- package/package/components/apps/components/helpers/RefreshButton.svelte +5 -1
- package/package/components/apps/components/helpers/RunnableComponent.svelte +3 -5
- package/package/components/apps/components/helpers/RunnableWrapper.svelte.d.ts +1 -0
- package/package/components/apps/components/inputs/currency/CurrencyInput.svelte +2 -1
- package/package/components/apps/components/layout/AppTabs.svelte +116 -71
- package/package/components/apps/components/layout/AppTabs.svelte.d.ts +1 -0
- package/package/components/apps/editor/AppEditorHeader.svelte +33 -271
- package/package/components/apps/editor/AppEditorHeaderDeploy.svelte +233 -0
- package/package/components/apps/editor/AppEditorHeaderDeploy.svelte.d.ts +18 -0
- package/package/components/apps/editor/AppEditorHeaderDeployInitialDraft.svelte +47 -0
- package/package/components/apps/editor/AppEditorHeaderDeployInitialDraft.svelte.d.ts +8 -0
- package/package/components/apps/editor/GridEditor.svelte +7 -2
- package/package/components/apps/editor/appDeploy.svelte.d.ts +1 -0
- package/package/components/apps/editor/appDeploy.svelte.js +6 -0
- package/package/components/apps/editor/appUtils.d.ts +1 -0
- package/package/components/apps/editor/appUtils.js +30 -1
- package/package/components/apps/editor/component/ComponentInner.svelte +1 -0
- package/package/components/apps/editor/component/ComponentNavigation.svelte +3 -1
- package/package/components/apps/editor/component/components.d.ts +19 -4
- package/package/components/apps/editor/component/components.js +23 -3
- package/package/components/apps/editor/contextPanel/ComponentOutputViewer.svelte +1 -1
- package/package/components/apps/editor/inlineScriptsPanel/EmptyInlineScript.svelte +6 -4
- package/package/components/apps/editor/inlineScriptsPanel/InlineScriptEditor.svelte.d.ts +1 -1
- package/package/components/apps/editor/inlineScriptsPanel/InlineScriptEditorDrawer.svelte.d.ts +1 -1
- package/package/components/apps/editor/inlineScriptsPanel/InlineScriptRunnableByPath.svelte.d.ts +1 -1
- package/package/components/apps/editor/settingsPanel/ComponentPanel.svelte +2 -0
- package/package/components/apps/editor/settingsPanel/GridTab.svelte +19 -1
- package/package/components/apps/editor/settingsPanel/GridTab.svelte.d.ts +3 -1
- package/package/components/apps/editor/settingsPanel/GridTabHidden.svelte +52 -0
- package/package/components/apps/editor/settingsPanel/GridTabHidden.svelte.d.ts +9 -0
- package/package/components/apps/editor/settingsPanel/InputsSpecEditor.svelte +58 -8
- package/package/components/auditLogs/AuditLogsFilters.svelte +7 -1
- package/package/components/auditLogs/AuditLogsTable.svelte +17 -7
- package/package/components/auditLogs/AuditLogsTable.svelte.d.ts +1 -0
- package/package/components/common/CloseButton.svelte +2 -2
- package/package/components/common/CloseButton.svelte.d.ts +1 -0
- package/package/components/common/ResizeTransitionWrapper.svelte +39 -0
- package/package/components/common/ResizeTransitionWrapper.svelte.d.ts +12 -0
- package/package/components/common/badge/CountBadge.svelte +29 -0
- package/package/components/common/badge/CountBadge.svelte.d.ts +8 -0
- package/package/components/common/button/Button.svelte +1 -0
- package/package/components/common/button/ConnectionButton.svelte +6 -1
- package/package/components/common/button/ConnectionButton.svelte.d.ts +2 -0
- package/package/components/common/button/RefreshButton.svelte +8 -4
- package/package/components/common/button/RefreshButton.svelte.d.ts +3 -0
- package/package/components/common/calendarPicker/CalendarPicker.svelte +1 -1
- package/package/components/common/fileInput/FileInput.svelte +7 -6
- package/package/components/common/fileUpload/S3ArgInput.svelte +11 -9
- package/package/components/common/fileUpload/S3ArgInput.svelte.d.ts +1 -0
- package/package/components/common/layout/List.svelte +3 -7
- package/package/components/common/layout/List.svelte.d.ts +7 -29
- package/package/components/common/popup/PopupV2.svelte +14 -25
- package/package/components/common/popup/PopupV2.svelte.d.ts +4 -2
- package/package/components/common/table/ScriptRow.svelte +22 -2
- package/package/components/common/toggleButton-v2/ToggleButton.svelte +17 -26
- package/package/components/common/toggleButton-v2/ToggleButton.svelte.d.ts +16 -30
- package/package/components/common/toggleButton-v2/ToggleButtonGroup.svelte +1 -1
- package/package/components/common/toggleButton-v2/ToggleButtonMore.svelte +3 -3
- package/package/components/common/toggleButton-v2/ToggleButtonMore.svelte.d.ts +1 -0
- package/package/components/copilot/CodeCompletionStatus.svelte +2 -1
- package/package/components/copilot/CronGen.svelte +1 -1
- package/package/components/copilot/FlowCopilotInputsModal.svelte +26 -23
- package/package/components/copilot/FlowInlineScriptAIButton.svelte +2 -2
- package/package/components/copilot/IteratorGen.svelte +30 -25
- package/package/components/copilot/IteratorGen.svelte.d.ts +8 -7
- package/package/components/copilot/MetadataGen.svelte +4 -3
- package/package/components/copilot/PredicateGen.svelte +15 -12
- package/package/components/copilot/PredicateGen.svelte.d.ts +5 -4
- package/package/components/copilot/RegexGen.svelte +1 -1
- package/package/components/copilot/ScriptFix.svelte +1 -1
- package/package/components/copilot/ScriptGen.svelte +2 -1
- package/package/components/copilot/StepGenQuick.svelte +15 -16
- package/package/components/copilot/StepGenQuick.svelte.d.ts +14 -13
- package/package/components/copilot/StepInputGen.svelte +50 -36
- package/package/components/copilot/StepInputGen.svelte.d.ts +13 -10
- package/package/components/copilot/StepInputsGen.svelte +18 -19
- package/package/components/copilot/StepInputsGen.svelte.d.ts +4 -18
- package/package/components/copilot/autocomplete/Autocompletor.js +1 -1
- package/package/components/copilot/autocomplete/request.js +1 -1
- package/package/components/copilot/chat/AIChat.svelte +2 -1
- package/package/components/copilot/chat/AIChatManager.svelte.js +5 -3
- package/package/components/copilot/chat/AiChatLayout.svelte +2 -1
- package/package/components/copilot/chat/ProviderModelSelector.svelte +11 -10
- package/package/components/copilot/chat/ProviderModelSelector.svelte.d.ts +2 -17
- package/package/components/copilot/chat/flow/FlowAIButton.svelte +1 -1
- package/package/components/copilot/chat/flow/FlowAIChat.svelte +4 -2
- package/package/components/copilot/chat/script/core.d.ts +4 -4
- package/package/components/copilot/chat/script/core.js +95 -35
- package/package/components/copilot/chat/shared.js +2 -1
- package/package/components/copilot/lib.d.ts +1 -0
- package/package/components/copilot/lib.js +7 -3
- package/package/components/custom_ui.d.ts +1 -0
- package/package/components/details/DetailPageLayout.svelte +3 -2
- package/package/components/details/DetailPageLayout.svelte.d.ts +1 -0
- package/package/components/flows/CreateActionsFlow.svelte +1 -1
- package/package/components/flows/FlowChatInterface.svelte +404 -0
- package/package/components/flows/FlowChatInterface.svelte.d.ts +19 -0
- package/package/components/flows/FlowChatMessage.svelte +41 -0
- package/package/components/flows/FlowChatMessage.svelte.d.ts +9 -0
- package/package/components/flows/FlowConversationsSidebar.svelte +213 -0
- package/package/components/flows/FlowConversationsSidebar.svelte.d.ts +15 -0
- package/package/components/flows/FlowEditor.svelte.d.ts +1 -1
- package/package/components/flows/FlowModuleIcon.svelte +10 -10
- package/package/components/flows/FlowProgressBar.svelte +16 -16
- package/package/components/flows/FlowProgressBar.svelte.d.ts +7 -22
- package/package/components/flows/common/FlowCard.svelte +10 -2
- package/package/components/flows/common/FlowCard.svelte.d.ts +1 -0
- package/package/components/flows/common/FlowCardHeader.svelte +2 -1
- package/package/components/flows/common/FlowCardHeader.svelte.d.ts +1 -0
- package/package/components/flows/content/DynamicInputHelpBox.svelte +4 -4
- package/package/components/flows/content/FlowEditorPanel.svelte.d.ts +1 -1
- package/package/components/flows/content/FlowInput.svelte +381 -259
- package/package/components/flows/content/FlowInput.svelte.d.ts +1 -1
- package/package/components/flows/content/FlowInputsQuick.svelte +56 -34
- package/package/components/flows/content/FlowInputsQuick.svelte.d.ts +3 -2
- package/package/components/flows/content/FlowModuleComponent.svelte +29 -11
- package/package/components/flows/flowInfers.d.ts +60 -0
- package/package/components/flows/flowInfers.js +72 -40
- package/package/components/flows/{flowStore.d.ts → flowStore.svelte.d.ts} +5 -1
- package/package/components/flows/header/FlowPreviewButtons.svelte +1 -1
- package/package/components/flows/map/FlowErrorHandlerItem.svelte +4 -2
- package/package/components/flows/map/FlowErrorHandlerItem.svelte.d.ts +1 -0
- package/package/components/flows/map/FlowJobsMenu.svelte +3 -3
- package/package/components/flows/map/FlowJobsMenu.svelte.d.ts +1 -1
- package/package/components/flows/map/FlowModuleSchemaItem.svelte +1 -1
- package/package/components/flows/map/FlowModuleSchemaMap.svelte +5 -2
- package/package/components/flows/map/FlowStickyNode.svelte +2 -2
- package/package/components/flows/map/FlowStickyNode.svelte.d.ts +1 -0
- package/package/components/flows/map/InsertModuleButton.svelte +8 -15
- package/package/components/flows/map/InsertModuleButton.svelte.d.ts +4 -4
- package/package/components/flows/map/InsertModuleInner.svelte +19 -20
- package/package/components/flows/map/InsertModuleInner.svelte.d.ts +2 -2
- package/package/components/flows/map/MapItem.svelte +1 -1
- package/package/components/flows/map/VirtualItem.svelte +1 -2
- package/package/components/flows/pickers/PickHubScriptQuick.svelte +43 -52
- package/package/components/flows/pickers/PickHubScriptQuick.svelte.d.ts +2 -1
- package/package/components/flows/pickers/WorkspaceScriptPickerQuick.svelte +41 -26
- package/package/components/flows/pickers/WorkspaceScriptPickerQuick.svelte.d.ts +1 -0
- package/package/components/flows/propPicker/OutputPicker.svelte +2 -0
- package/package/components/flows/propPicker/PropPickerWrapper.svelte +1 -15
- package/package/components/git_sync/DetectionFlow.svelte +33 -44
- package/package/components/git_sync/DetectionFlow.svelte.d.ts +1 -0
- package/package/components/git_sync/GitSyncContext.svelte.d.ts +22 -0
- package/package/components/git_sync/GitSyncContext.svelte.js +145 -5
- package/package/components/git_sync/GitSyncModeDisplay.svelte +14 -0
- package/package/components/git_sync/GitSyncModeDisplay.svelte.d.ts +9 -0
- package/package/components/git_sync/GitSyncRepositoryCard.svelte +365 -253
- package/package/components/git_sync/GitSyncRepositoryCard.svelte.d.ts +10 -1
- package/package/components/git_sync/GitSyncSection.svelte +134 -14
- package/package/components/git_sync/PullWorkspaceModal.svelte +24 -32
- package/package/components/git_sync/PushWorkspaceModal.svelte +24 -32
- package/package/components/graph/FlowGraphV2.svelte +2 -1
- package/package/components/graph/FlowGraphV2.svelte.d.ts +1 -0
- package/package/components/graph/graphBuilder.svelte.d.ts +2 -0
- package/package/components/graph/graphBuilder.svelte.js +1 -0
- package/package/components/graph/model.d.ts +5 -5
- package/package/components/graph/renderers/edges/BaseEdge.svelte +1 -0
- package/package/components/graph/renderers/edges/EmptyEdge.svelte +3 -10
- package/package/components/graph/renderers/edges/EmptyEdge.svelte.d.ts +4 -18
- package/package/components/graph/renderers/nodes/AIToolNode.svelte +2 -2
- package/package/components/graph/renderers/nodes/InputNode.svelte +13 -2
- package/package/components/graph/renderers/nodes/NewAIToolNode.svelte +5 -10
- package/package/components/graph/renderers/triggers/TriggersBadge.svelte +2 -27
- package/package/components/home/ItemsList.svelte +1 -1
- package/package/components/instanceSettings.js +17 -0
- package/package/components/jobs/JobProgressBar.svelte +27 -21
- package/package/components/jobs/JobProgressBar.svelte.d.ts +9 -24
- package/package/components/meltComponents/MenuSingleItem.svelte +3 -8
- package/package/components/meltComponents/MenuSingleItem.svelte.d.ts +0 -3
- package/package/components/meltComponents/Popover.svelte +3 -2
- package/package/components/meltComponents/Popover.svelte.d.ts +1 -0
- package/package/components/meltComponents/Tooltip.svelte +1 -1
- package/package/components/progressBar/ProgressBar.svelte +39 -53
- package/package/components/progressBar/ProgressBar.svelte.d.ts +11 -26
- package/package/components/raw_apps/FileEditorIcon.svelte +1 -1
- package/package/components/raw_apps/FileEditorIcon.svelte.d.ts +4 -18
- package/package/components/raw_apps/RawAppBackgroundRunner.svelte +2 -8
- package/package/components/raw_apps/RawAppBackgroundRunner.svelte.d.ts +4 -18
- package/package/components/raw_apps/RawAppEditor.svelte +6 -7
- package/package/components/raw_apps/RawAppEditorHeader.svelte +48 -301
- package/package/components/raw_apps/RawAppEditorHeader.svelte.d.ts +18 -19
- package/package/components/raw_apps/RawAppInlineScriptEditor.svelte +10 -16
- package/package/components/raw_apps/RawAppInlineScriptEditor.svelte.d.ts +13 -13
- package/package/components/raw_apps/RawAppInlineScriptPanelList.svelte +8 -11
- package/package/components/raw_apps/RawAppInlineScriptPanelList.svelte.d.ts +1 -2
- package/package/components/raw_apps/RawAppInlineScriptRunnable.svelte +0 -1
- package/package/components/raw_apps/RawAppInlineScriptsPanel.svelte +7 -13
- package/package/components/raw_apps/RawAppInlineScriptsPanel.svelte.d.ts +8 -8
- package/package/components/raw_apps/RawAppPreview.svelte +3 -7
- package/package/components/raw_apps/RawAppPreview.svelte.d.ts +5 -19
- package/package/components/raw_apps/utils.d.ts +1 -1
- package/package/components/raw_apps/utils.js +3 -3
- package/package/components/runs/JobsLoader.svelte +1 -1
- package/package/components/runs/NoWorkerWithTagWarning.svelte +3 -3
- package/package/components/runs/NoWorkerWithTagWarning.svelte.d.ts +1 -1
- package/package/components/runs/RunOption.svelte +2 -2
- package/package/components/runs/RunsFilter.svelte +15 -12
- package/package/components/runs/RunsFilter.svelte.d.ts +1 -1
- package/package/components/schema/AddPropertyV2.svelte +7 -4
- package/package/components/schema/EditableSchemaDrawer.svelte +19 -18
- package/package/components/schema/FlowPropertyEditor.svelte +9 -2
- package/package/components/schema/FlowPropertyEditor.svelte.d.ts +1 -1
- package/package/components/schema/PropertyEditor.svelte +22 -26
- package/package/components/schema/PropertyEditor.svelte.d.ts +1 -1
- package/package/components/schema/SchemaFormDND.svelte +3 -2
- package/package/components/schema/SchemaFormDND.svelte.d.ts +1 -0
- package/package/components/select/DraggableTags.svelte +2 -2
- package/package/components/select/MultiSelect.svelte +15 -9
- package/package/components/select/MultiSelect.svelte.d.ts +1 -0
- package/package/components/select/Select.svelte +12 -5
- package/package/components/select/Select.svelte.d.ts +11 -0
- package/package/components/select/SelectDropdown.svelte +98 -46
- package/package/components/select/SelectDropdown.svelte.d.ts +10 -0
- package/package/components/select/utils.svelte.js +2 -0
- package/package/components/settings/CreateToken.svelte +76 -49
- package/package/components/settings/WorkspaceUserSettings.svelte +111 -17
- package/package/components/sidebar/CriticalAlertTable.svelte +2 -1
- package/package/components/sidebar/Linkify.svelte +14 -0
- package/package/components/sidebar/Linkify.svelte.d.ts +5 -0
- package/package/components/sidebar/MenuLink.svelte +2 -1
- package/package/components/sidebar/MenuLink.svelte.d.ts +1 -0
- package/package/components/sidebar/SidebarContent.svelte +27 -27
- package/package/components/sidebar/WorkspaceMenu.svelte +8 -3
- package/package/components/table/Cell.svelte +7 -14
- package/package/components/table/Cell.svelte.d.ts +13 -35
- package/package/components/table/tableUtils.js +1 -1
- package/package/components/text_input/TextInput.svelte +30 -0
- package/package/components/text_input/TextInput.svelte.d.ts +17 -0
- package/package/components/triggers/AddTriggersButton.svelte +1 -0
- package/package/components/triggers/TriggersEditor.svelte +11 -1
- package/package/components/triggers/gcp/GcpTriggerEditorConfigSection.svelte +1 -1
- package/package/components/triggers/gcp/GcpTriggerEditorConfigSection.svelte.d.ts +2 -1
- package/package/components/triggers/gcp/GcpTriggerEditorInner.svelte +28 -5
- package/package/components/triggers/gcp/utils.js +1 -0
- package/package/components/triggers/schedules/ScheduleEditorInner.svelte +1 -0
- package/package/components/triggers/triggers.svelte.d.ts +1 -1
- package/package/components/triggers/triggers.svelte.js +8 -4
- package/package/components/triggers/webhook/WebhooksConfigSection.svelte +143 -63
- package/package/components/triggers/websocket/WebsocketTriggerEditorInner.svelte +22 -0
- package/package/components/triggers/websocket/utils.js +1 -0
- package/package/components/tutorials/FlowBuilderTutorialErrorHandler.svelte +2 -2
- package/package/components/tutorials/FlowBuilderTutorialForLoop.svelte +3 -0
- package/package/components/tutorials/FlowBuilderTutorialSimpleFlow.svelte +49 -17
- package/package/components/tutorials/Tutorial.svelte +9 -0
- package/package/components/tutorials/Tutorial.svelte.d.ts +1 -0
- package/package/components/tutorials/app/AppTutorial.svelte +41 -57
- package/package/components/tutorials/app/BackgroundRunnablesTutorial.svelte +3 -5
- package/package/components/tutorials/app/ConnectionTutorial.svelte +2 -2
- package/package/components/tutorials/utils.js +2 -154
- package/package/components/vscode.js +16 -8
- package/package/components/workspaceSettings/AISettings.svelte +12 -5
- package/package/components/workspaceSettings/AISettings.svelte.d.ts +2 -1
- package/package/components/workspaceSettings/CreateWorkspace.svelte +2 -2
- package/package/components/workspaceSettings/DucklakeSettings.svelte +64 -7
- package/package/components/workspaceSettings/ModelTokenLimits.svelte +165 -0
- package/package/components/workspaceSettings/ModelTokenLimits.svelte.d.ts +8 -0
- package/package/components/workspaceSettings/StorageSettings.svelte +147 -77
- package/package/editorUtils.d.ts +1 -1
- package/package/gen/core/OpenAPI.js +1 -1
- package/package/gen/schemas.gen.d.ts +223 -17
- package/package/gen/schemas.gen.js +226 -17
- package/package/gen/services.gen.d.ts +221 -27
- package/package/gen/services.gen.js +440 -48
- package/package/gen/types.gen.d.ts +1067 -218
- package/package/hubPaths.json +2 -1
- package/package/script_helpers.js +5 -5
- package/package/services/JobManager.js +14 -9
- package/package/stores.d.ts +4 -12
- package/package/stores.js +5 -65
- package/package/timelineCompute.svelte.d.ts +21 -0
- package/package/timelineCompute.svelte.js +113 -0
- package/package/toast.js +2 -1
- package/package/utils.d.ts +16 -8
- package/package/utils.js +65 -12
- package/package/workspace_settings.d.ts +13 -8
- package/package/workspace_settings.js +46 -11
- package/package.json +4 -4
- /package/package/components/flows/{flowStore.js → flowStore.svelte.js} +0 -0
|
@@ -374,6 +374,24 @@ export class UserService {
|
|
|
374
374
|
}
|
|
375
375
|
});
|
|
376
376
|
}
|
|
377
|
+
/**
|
|
378
|
+
* convert manual user to group user (require admin privilege)
|
|
379
|
+
* @param data The data for the request.
|
|
380
|
+
* @param data.workspace
|
|
381
|
+
* @param data.username
|
|
382
|
+
* @returns string convert user to group user
|
|
383
|
+
* @throws ApiError
|
|
384
|
+
*/
|
|
385
|
+
static convertUserToGroup(data) {
|
|
386
|
+
return __request(OpenAPI, {
|
|
387
|
+
method: 'POST',
|
|
388
|
+
url: '/w/{workspace}/users/convert_to_group/{username}',
|
|
389
|
+
path: {
|
|
390
|
+
workspace: data.workspace,
|
|
391
|
+
username: data.username
|
|
392
|
+
}
|
|
393
|
+
});
|
|
394
|
+
}
|
|
377
395
|
/**
|
|
378
396
|
* get current user email (if logged in)
|
|
379
397
|
* @returns string user email
|
|
@@ -793,6 +811,24 @@ export class AdminService {
|
|
|
793
811
|
}
|
|
794
812
|
});
|
|
795
813
|
}
|
|
814
|
+
/**
|
|
815
|
+
* convert manual user to group user (require admin privilege)
|
|
816
|
+
* @param data The data for the request.
|
|
817
|
+
* @param data.workspace
|
|
818
|
+
* @param data.username
|
|
819
|
+
* @returns string convert user to group user
|
|
820
|
+
* @throws ApiError
|
|
821
|
+
*/
|
|
822
|
+
static convertUserToGroup(data) {
|
|
823
|
+
return __request(OpenAPI, {
|
|
824
|
+
method: 'POST',
|
|
825
|
+
url: '/w/{workspace}/users/convert_to_group/{username}',
|
|
826
|
+
path: {
|
|
827
|
+
workspace: data.workspace,
|
|
828
|
+
username: data.username
|
|
829
|
+
}
|
|
830
|
+
});
|
|
831
|
+
}
|
|
796
832
|
}
|
|
797
833
|
export class GitSyncService {
|
|
798
834
|
/**
|
|
@@ -1348,6 +1384,38 @@ export class WorkspaceService {
|
|
|
1348
1384
|
mediaType: 'application/json'
|
|
1349
1385
|
});
|
|
1350
1386
|
}
|
|
1387
|
+
/**
|
|
1388
|
+
* rebuild dependency map
|
|
1389
|
+
* @param data The data for the request.
|
|
1390
|
+
* @param data.workspace
|
|
1391
|
+
* @returns string status
|
|
1392
|
+
* @throws ApiError
|
|
1393
|
+
*/
|
|
1394
|
+
static rebuildDependencyMap(data) {
|
|
1395
|
+
return __request(OpenAPI, {
|
|
1396
|
+
method: 'POST',
|
|
1397
|
+
url: '/w/{workspace}/workspaces/rebuild_dependency_map',
|
|
1398
|
+
path: {
|
|
1399
|
+
workspace: data.workspace
|
|
1400
|
+
}
|
|
1401
|
+
});
|
|
1402
|
+
}
|
|
1403
|
+
/**
|
|
1404
|
+
* get dependency map
|
|
1405
|
+
* @param data The data for the request.
|
|
1406
|
+
* @param data.workspace
|
|
1407
|
+
* @returns DependencyMap dmap
|
|
1408
|
+
* @throws ApiError
|
|
1409
|
+
*/
|
|
1410
|
+
static getDependencyMap(data) {
|
|
1411
|
+
return __request(OpenAPI, {
|
|
1412
|
+
method: 'GET',
|
|
1413
|
+
url: '/w/{workspace}/workspaces/get_dependency_map',
|
|
1414
|
+
path: {
|
|
1415
|
+
workspace: data.workspace
|
|
1416
|
+
}
|
|
1417
|
+
});
|
|
1418
|
+
}
|
|
1351
1419
|
/**
|
|
1352
1420
|
* edit slack command
|
|
1353
1421
|
* @param data The data for the request.
|
|
@@ -1390,6 +1458,7 @@ export class WorkspaceService {
|
|
|
1390
1458
|
* list available teams ids
|
|
1391
1459
|
* @param data The data for the request.
|
|
1392
1460
|
* @param data.workspace
|
|
1461
|
+
* @param data.search Search teams by name
|
|
1393
1462
|
* @returns unknown status
|
|
1394
1463
|
* @throws ApiError
|
|
1395
1464
|
*/
|
|
@@ -1399,14 +1468,19 @@ export class WorkspaceService {
|
|
|
1399
1468
|
url: '/w/{workspace}/workspaces/available_teams_ids',
|
|
1400
1469
|
path: {
|
|
1401
1470
|
workspace: data.workspace
|
|
1471
|
+
},
|
|
1472
|
+
query: {
|
|
1473
|
+
search: data.search
|
|
1402
1474
|
}
|
|
1403
1475
|
});
|
|
1404
1476
|
}
|
|
1405
1477
|
/**
|
|
1406
|
-
* list available
|
|
1478
|
+
* list available channels for a specific team
|
|
1407
1479
|
* @param data The data for the request.
|
|
1408
1480
|
* @param data.workspace
|
|
1409
|
-
* @
|
|
1481
|
+
* @param data.teamId Microsoft Teams team ID
|
|
1482
|
+
* @param data.search Search channels by name
|
|
1483
|
+
* @returns unknown List of channels for the specified team
|
|
1410
1484
|
* @throws ApiError
|
|
1411
1485
|
*/
|
|
1412
1486
|
static listAvailableTeamsChannels(data) {
|
|
@@ -1415,6 +1489,10 @@ export class WorkspaceService {
|
|
|
1415
1489
|
url: '/w/{workspace}/workspaces/available_teams_channels',
|
|
1416
1490
|
path: {
|
|
1417
1491
|
workspace: data.workspace
|
|
1492
|
+
},
|
|
1493
|
+
query: {
|
|
1494
|
+
team_id: data.teamId,
|
|
1495
|
+
search: data.search
|
|
1418
1496
|
}
|
|
1419
1497
|
});
|
|
1420
1498
|
}
|
|
@@ -2717,17 +2795,6 @@ export class OauthService {
|
|
|
2717
2795
|
}
|
|
2718
2796
|
}
|
|
2719
2797
|
export class TeamsService {
|
|
2720
|
-
/**
|
|
2721
|
-
* synchronize Microsoft Teams information (teams/channels)
|
|
2722
|
-
* @returns TeamInfo Teams information successfully synchronized
|
|
2723
|
-
* @throws ApiError
|
|
2724
|
-
*/
|
|
2725
|
-
static syncTeams() {
|
|
2726
|
-
return __request(OpenAPI, {
|
|
2727
|
-
method: 'POST',
|
|
2728
|
-
url: '/teams/sync'
|
|
2729
|
-
});
|
|
2730
|
-
}
|
|
2731
2798
|
/**
|
|
2732
2799
|
* send update to Microsoft Teams activity
|
|
2733
2800
|
* Respond to a Microsoft Teams activity after a workspace command is run
|
|
@@ -3948,6 +4015,24 @@ export class AppService {
|
|
|
3948
4015
|
}
|
|
3949
4016
|
});
|
|
3950
4017
|
}
|
|
4018
|
+
/**
|
|
4019
|
+
* get public secret of latest version of an app bundle
|
|
4020
|
+
* @param data The data for the request.
|
|
4021
|
+
* @param data.workspace
|
|
4022
|
+
* @param data.path
|
|
4023
|
+
* @returns string app secret
|
|
4024
|
+
* @throws ApiError
|
|
4025
|
+
*/
|
|
4026
|
+
static getPublicSecretOfLatestVersionOfApp(data) {
|
|
4027
|
+
return __request(OpenAPI, {
|
|
4028
|
+
method: 'GET',
|
|
4029
|
+
url: '/w/{workspace}/apps/secret_of_latest_version/{path}',
|
|
4030
|
+
path: {
|
|
4031
|
+
workspace: data.workspace,
|
|
4032
|
+
path: data.path
|
|
4033
|
+
}
|
|
4034
|
+
});
|
|
4035
|
+
}
|
|
3951
4036
|
/**
|
|
3952
4037
|
* get app by version
|
|
3953
4038
|
* @param data The data for the request.
|
|
@@ -4947,45 +5032,50 @@ export class JobService {
|
|
|
4947
5032
|
});
|
|
4948
5033
|
}
|
|
4949
5034
|
/**
|
|
4950
|
-
* run script by path
|
|
5035
|
+
* run script by path
|
|
4951
5036
|
* @param data The data for the request.
|
|
4952
5037
|
* @param data.workspace
|
|
4953
5038
|
* @param data.path
|
|
4954
5039
|
* @param data.requestBody script args
|
|
4955
5040
|
* @param data.parentJob The parent job that is at the origin and responsible for the execution of this script if any
|
|
5041
|
+
* @param data.tag Override the tag to use
|
|
5042
|
+
* @param data.cacheTtl Override the cache time to live (in seconds). Can not be used to disable caching, only override with a new cache ttl
|
|
4956
5043
|
* @param data.jobId The job id to assign to the created job. if missing, job is chosen randomly using the ULID scheme. If a job id already exists in the queue or as a completed job, the request to create one will fail (Bad Request)
|
|
4957
5044
|
* @param data.includeHeader List of headers's keys (separated with ',') whove value are added to the args
|
|
4958
5045
|
* Header's key lowercased and '-'' replaced to '_' such that 'Content-Type' becomes the 'content_type' arg key
|
|
4959
5046
|
*
|
|
4960
5047
|
* @param data.queueLimit The maximum size of the queue for which the request would get rejected if that job would push it above that limit
|
|
4961
5048
|
*
|
|
5049
|
+
* @param data.skipPreprocessor skip the preprocessor
|
|
4962
5050
|
* @returns unknown job result
|
|
4963
5051
|
* @throws ApiError
|
|
4964
5052
|
*/
|
|
4965
|
-
static
|
|
5053
|
+
static runWaitResultScriptByPath(data) {
|
|
4966
5054
|
return __request(OpenAPI, {
|
|
4967
5055
|
method: 'POST',
|
|
4968
|
-
url: '/w/{workspace}/jobs/
|
|
5056
|
+
url: '/w/{workspace}/jobs/run_wait_result/p/{path}',
|
|
4969
5057
|
path: {
|
|
4970
5058
|
workspace: data.workspace,
|
|
4971
5059
|
path: data.path
|
|
4972
5060
|
},
|
|
4973
5061
|
query: {
|
|
4974
5062
|
parent_job: data.parentJob,
|
|
5063
|
+
tag: data.tag,
|
|
5064
|
+
cache_ttl: data.cacheTtl,
|
|
4975
5065
|
job_id: data.jobId,
|
|
4976
5066
|
include_header: data.includeHeader,
|
|
4977
|
-
queue_limit: data.queueLimit
|
|
5067
|
+
queue_limit: data.queueLimit,
|
|
5068
|
+
skip_preprocessor: data.skipPreprocessor
|
|
4978
5069
|
},
|
|
4979
5070
|
body: data.requestBody,
|
|
4980
5071
|
mediaType: 'application/json'
|
|
4981
5072
|
});
|
|
4982
5073
|
}
|
|
4983
5074
|
/**
|
|
4984
|
-
* run script by path
|
|
5075
|
+
* run script by path with get
|
|
4985
5076
|
* @param data The data for the request.
|
|
4986
5077
|
* @param data.workspace
|
|
4987
5078
|
* @param data.path
|
|
4988
|
-
* @param data.requestBody script args
|
|
4989
5079
|
* @param data.parentJob The parent job that is at the origin and responsible for the execution of this script if any
|
|
4990
5080
|
* @param data.tag Override the tag to use
|
|
4991
5081
|
* @param data.cacheTtl Override the cache time to live (in seconds). Can not be used to disable caching, only override with a new cache ttl
|
|
@@ -4995,12 +5085,16 @@ export class JobService {
|
|
|
4995
5085
|
*
|
|
4996
5086
|
* @param data.queueLimit The maximum size of the queue for which the request would get rejected if that job would push it above that limit
|
|
4997
5087
|
*
|
|
5088
|
+
* @param data.payload The base64 encoded payload that has been encoded as a JSON. e.g how to encode such payload encodeURIComponent
|
|
5089
|
+
* `encodeURIComponent(btoa(JSON.stringify({a: 2})))`
|
|
5090
|
+
*
|
|
5091
|
+
* @param data.skipPreprocessor skip the preprocessor
|
|
4998
5092
|
* @returns unknown job result
|
|
4999
5093
|
* @throws ApiError
|
|
5000
5094
|
*/
|
|
5001
|
-
static
|
|
5095
|
+
static runWaitResultScriptByPathGet(data) {
|
|
5002
5096
|
return __request(OpenAPI, {
|
|
5003
|
-
method: '
|
|
5097
|
+
method: 'GET',
|
|
5004
5098
|
url: '/w/{workspace}/jobs/run_wait_result/p/{path}',
|
|
5005
5099
|
path: {
|
|
5006
5100
|
workspace: data.workspace,
|
|
@@ -5012,21 +5106,91 @@ export class JobService {
|
|
|
5012
5106
|
cache_ttl: data.cacheTtl,
|
|
5013
5107
|
job_id: data.jobId,
|
|
5014
5108
|
include_header: data.includeHeader,
|
|
5015
|
-
queue_limit: data.queueLimit
|
|
5109
|
+
queue_limit: data.queueLimit,
|
|
5110
|
+
payload: data.payload,
|
|
5111
|
+
skip_preprocessor: data.skipPreprocessor
|
|
5112
|
+
}
|
|
5113
|
+
});
|
|
5114
|
+
}
|
|
5115
|
+
/**
|
|
5116
|
+
* run flow by path and wait until completion
|
|
5117
|
+
* @param data The data for the request.
|
|
5118
|
+
* @param data.workspace
|
|
5119
|
+
* @param data.path
|
|
5120
|
+
* @param data.requestBody script args
|
|
5121
|
+
* @param data.includeHeader List of headers's keys (separated with ',') whove value are added to the args
|
|
5122
|
+
* Header's key lowercased and '-'' replaced to '_' such that 'Content-Type' becomes the 'content_type' arg key
|
|
5123
|
+
*
|
|
5124
|
+
* @param data.queueLimit The maximum size of the queue for which the request would get rejected if that job would push it above that limit
|
|
5125
|
+
*
|
|
5126
|
+
* @param data.jobId The job id to assign to the created job. if missing, job is chosen randomly using the ULID scheme. If a job id already exists in the queue or as a completed job, the request to create one will fail (Bad Request)
|
|
5127
|
+
* @param data.skipPreprocessor skip the preprocessor
|
|
5128
|
+
* @param data.memoryId memory ID for chat-enabled flows
|
|
5129
|
+
* @returns unknown job result
|
|
5130
|
+
* @throws ApiError
|
|
5131
|
+
*/
|
|
5132
|
+
static runWaitResultFlowByPath(data) {
|
|
5133
|
+
return __request(OpenAPI, {
|
|
5134
|
+
method: 'POST',
|
|
5135
|
+
url: '/w/{workspace}/jobs/run_wait_result/f/{path}',
|
|
5136
|
+
path: {
|
|
5137
|
+
workspace: data.workspace,
|
|
5138
|
+
path: data.path
|
|
5139
|
+
},
|
|
5140
|
+
query: {
|
|
5141
|
+
include_header: data.includeHeader,
|
|
5142
|
+
queue_limit: data.queueLimit,
|
|
5143
|
+
job_id: data.jobId,
|
|
5144
|
+
skip_preprocessor: data.skipPreprocessor,
|
|
5145
|
+
memory_id: data.memoryId
|
|
5016
5146
|
},
|
|
5017
5147
|
body: data.requestBody,
|
|
5018
5148
|
mediaType: 'application/json'
|
|
5019
5149
|
});
|
|
5020
5150
|
}
|
|
5021
5151
|
/**
|
|
5022
|
-
* run
|
|
5152
|
+
* run flow by path and stream updates via SSE
|
|
5023
5153
|
* @param data The data for the request.
|
|
5024
5154
|
* @param data.workspace
|
|
5025
5155
|
* @param data.path
|
|
5026
|
-
* @param data.
|
|
5027
|
-
* @param data.
|
|
5028
|
-
*
|
|
5156
|
+
* @param data.requestBody flow args
|
|
5157
|
+
* @param data.includeHeader List of headers's keys (separated with ',') whove value are added to the args
|
|
5158
|
+
* Header's key lowercased and '-'' replaced to '_' such that 'Content-Type' becomes the 'content_type' arg key
|
|
5159
|
+
*
|
|
5160
|
+
* @param data.queueLimit The maximum size of the queue for which the request would get rejected if that job would push it above that limit
|
|
5161
|
+
*
|
|
5029
5162
|
* @param data.jobId The job id to assign to the created job. if missing, job is chosen randomly using the ULID scheme. If a job id already exists in the queue or as a completed job, the request to create one will fail (Bad Request)
|
|
5163
|
+
* @param data.skipPreprocessor skip the preprocessor
|
|
5164
|
+
* @param data.memoryId memory ID for chat-enabled flows
|
|
5165
|
+
* @param data.pollDelayMs delay between polling for job updates in milliseconds
|
|
5166
|
+
* @returns string server-sent events stream of job updates
|
|
5167
|
+
* @throws ApiError
|
|
5168
|
+
*/
|
|
5169
|
+
static runAndStreamFlowByPath(data) {
|
|
5170
|
+
return __request(OpenAPI, {
|
|
5171
|
+
method: 'POST',
|
|
5172
|
+
url: '/w/{workspace}/jobs/run_and_stream/f/{path}',
|
|
5173
|
+
path: {
|
|
5174
|
+
workspace: data.workspace,
|
|
5175
|
+
path: data.path
|
|
5176
|
+
},
|
|
5177
|
+
query: {
|
|
5178
|
+
include_header: data.includeHeader,
|
|
5179
|
+
queue_limit: data.queueLimit,
|
|
5180
|
+
job_id: data.jobId,
|
|
5181
|
+
skip_preprocessor: data.skipPreprocessor,
|
|
5182
|
+
memory_id: data.memoryId,
|
|
5183
|
+
poll_delay_ms: data.pollDelayMs
|
|
5184
|
+
},
|
|
5185
|
+
body: data.requestBody,
|
|
5186
|
+
mediaType: 'application/json'
|
|
5187
|
+
});
|
|
5188
|
+
}
|
|
5189
|
+
/**
|
|
5190
|
+
* run flow by path with GET and stream updates via SSE
|
|
5191
|
+
* @param data The data for the request.
|
|
5192
|
+
* @param data.workspace
|
|
5193
|
+
* @param data.path
|
|
5030
5194
|
* @param data.includeHeader List of headers's keys (separated with ',') whove value are added to the args
|
|
5031
5195
|
* Header's key lowercased and '-'' replaced to '_' such that 'Content-Type' becomes the 'content_type' arg key
|
|
5032
5196
|
*
|
|
@@ -5035,92 +5199,202 @@ export class JobService {
|
|
|
5035
5199
|
* @param data.payload The base64 encoded payload that has been encoded as a JSON. e.g how to encode such payload encodeURIComponent
|
|
5036
5200
|
* `encodeURIComponent(btoa(JSON.stringify({a: 2})))`
|
|
5037
5201
|
*
|
|
5038
|
-
* @
|
|
5202
|
+
* @param data.jobId The job id to assign to the created job. if missing, job is chosen randomly using the ULID scheme. If a job id already exists in the queue or as a completed job, the request to create one will fail (Bad Request)
|
|
5203
|
+
* @param data.skipPreprocessor skip the preprocessor
|
|
5204
|
+
* @param data.memoryId memory ID for chat-enabled flows
|
|
5205
|
+
* @param data.pollDelayMs delay between polling for job updates in milliseconds
|
|
5206
|
+
* @returns string server-sent events stream of job updates
|
|
5039
5207
|
* @throws ApiError
|
|
5040
5208
|
*/
|
|
5041
|
-
static
|
|
5209
|
+
static runAndStreamFlowByPathGet(data) {
|
|
5042
5210
|
return __request(OpenAPI, {
|
|
5043
5211
|
method: 'GET',
|
|
5044
|
-
url: '/w/{workspace}/jobs/
|
|
5212
|
+
url: '/w/{workspace}/jobs/run_and_stream/f/{path}',
|
|
5045
5213
|
path: {
|
|
5046
5214
|
workspace: data.workspace,
|
|
5047
5215
|
path: data.path
|
|
5048
5216
|
},
|
|
5049
5217
|
query: {
|
|
5050
|
-
parent_job: data.parentJob,
|
|
5051
|
-
tag: data.tag,
|
|
5052
|
-
cache_ttl: data.cacheTtl,
|
|
5053
|
-
job_id: data.jobId,
|
|
5054
5218
|
include_header: data.includeHeader,
|
|
5055
5219
|
queue_limit: data.queueLimit,
|
|
5056
|
-
payload: data.payload
|
|
5220
|
+
payload: data.payload,
|
|
5221
|
+
job_id: data.jobId,
|
|
5222
|
+
skip_preprocessor: data.skipPreprocessor,
|
|
5223
|
+
memory_id: data.memoryId,
|
|
5224
|
+
poll_delay_ms: data.pollDelayMs
|
|
5057
5225
|
}
|
|
5058
5226
|
});
|
|
5059
5227
|
}
|
|
5060
5228
|
/**
|
|
5061
|
-
* run
|
|
5229
|
+
* run script by path and stream updates via SSE
|
|
5062
5230
|
* @param data The data for the request.
|
|
5063
5231
|
* @param data.workspace
|
|
5064
5232
|
* @param data.path
|
|
5065
5233
|
* @param data.requestBody script args
|
|
5234
|
+
* @param data.parentJob The parent job that is at the origin and responsible for the execution of this script if any
|
|
5235
|
+
* @param data.tag Override the tag to use
|
|
5236
|
+
* @param data.cacheTtl Override the cache time to live (in seconds). Can not be used to disable caching, only override with a new cache ttl
|
|
5237
|
+
* @param data.jobId The job id to assign to the created job. if missing, job is chosen randomly using the ULID scheme. If a job id already exists in the queue or as a completed job, the request to create one will fail (Bad Request)
|
|
5066
5238
|
* @param data.includeHeader List of headers's keys (separated with ',') whove value are added to the args
|
|
5067
5239
|
* Header's key lowercased and '-'' replaced to '_' such that 'Content-Type' becomes the 'content_type' arg key
|
|
5068
5240
|
*
|
|
5069
5241
|
* @param data.queueLimit The maximum size of the queue for which the request would get rejected if that job would push it above that limit
|
|
5070
5242
|
*
|
|
5071
|
-
* @param data.
|
|
5072
|
-
* @
|
|
5243
|
+
* @param data.skipPreprocessor skip the preprocessor
|
|
5244
|
+
* @param data.pollDelayMs delay between polling for job updates in milliseconds
|
|
5245
|
+
* @returns string server-sent events stream of job updates
|
|
5073
5246
|
* @throws ApiError
|
|
5074
5247
|
*/
|
|
5075
|
-
static
|
|
5248
|
+
static runAndStreamScriptByPath(data) {
|
|
5076
5249
|
return __request(OpenAPI, {
|
|
5077
5250
|
method: 'POST',
|
|
5078
|
-
url: '/w/{workspace}/jobs/
|
|
5251
|
+
url: '/w/{workspace}/jobs/run_and_stream/p/{path}',
|
|
5079
5252
|
path: {
|
|
5080
5253
|
workspace: data.workspace,
|
|
5081
5254
|
path: data.path
|
|
5082
5255
|
},
|
|
5083
5256
|
query: {
|
|
5257
|
+
parent_job: data.parentJob,
|
|
5258
|
+
tag: data.tag,
|
|
5259
|
+
cache_ttl: data.cacheTtl,
|
|
5260
|
+
job_id: data.jobId,
|
|
5084
5261
|
include_header: data.includeHeader,
|
|
5085
5262
|
queue_limit: data.queueLimit,
|
|
5086
|
-
|
|
5263
|
+
skip_preprocessor: data.skipPreprocessor,
|
|
5264
|
+
poll_delay_ms: data.pollDelayMs
|
|
5087
5265
|
},
|
|
5088
5266
|
body: data.requestBody,
|
|
5089
5267
|
mediaType: 'application/json'
|
|
5090
5268
|
});
|
|
5091
5269
|
}
|
|
5092
5270
|
/**
|
|
5093
|
-
* run
|
|
5271
|
+
* run script by path with GET and stream updates via SSE
|
|
5094
5272
|
* @param data The data for the request.
|
|
5095
5273
|
* @param data.workspace
|
|
5096
5274
|
* @param data.path
|
|
5097
|
-
* @param data.
|
|
5275
|
+
* @param data.parentJob The parent job that is at the origin and responsible for the execution of this script if any
|
|
5276
|
+
* @param data.tag Override the tag to use
|
|
5277
|
+
* @param data.cacheTtl Override the cache time to live (in seconds). Can not be used to disable caching, only override with a new cache ttl
|
|
5278
|
+
* @param data.jobId The job id to assign to the created job. if missing, job is chosen randomly using the ULID scheme. If a job id already exists in the queue or as a completed job, the request to create one will fail (Bad Request)
|
|
5098
5279
|
* @param data.includeHeader List of headers's keys (separated with ',') whove value are added to the args
|
|
5099
5280
|
* Header's key lowercased and '-'' replaced to '_' such that 'Content-Type' becomes the 'content_type' arg key
|
|
5100
5281
|
*
|
|
5101
5282
|
* @param data.queueLimit The maximum size of the queue for which the request would get rejected if that job would push it above that limit
|
|
5102
5283
|
*
|
|
5284
|
+
* @param data.payload The base64 encoded payload that has been encoded as a JSON. e.g how to encode such payload encodeURIComponent
|
|
5285
|
+
* `encodeURIComponent(btoa(JSON.stringify({a: 2})))`
|
|
5286
|
+
*
|
|
5287
|
+
* @param data.skipPreprocessor skip the preprocessor
|
|
5288
|
+
* @param data.pollDelayMs delay between polling for job updates in milliseconds
|
|
5289
|
+
* @returns string server-sent events stream of job updates
|
|
5290
|
+
* @throws ApiError
|
|
5291
|
+
*/
|
|
5292
|
+
static runAndStreamScriptByPathGet(data) {
|
|
5293
|
+
return __request(OpenAPI, {
|
|
5294
|
+
method: 'GET',
|
|
5295
|
+
url: '/w/{workspace}/jobs/run_and_stream/p/{path}',
|
|
5296
|
+
path: {
|
|
5297
|
+
workspace: data.workspace,
|
|
5298
|
+
path: data.path
|
|
5299
|
+
},
|
|
5300
|
+
query: {
|
|
5301
|
+
parent_job: data.parentJob,
|
|
5302
|
+
tag: data.tag,
|
|
5303
|
+
cache_ttl: data.cacheTtl,
|
|
5304
|
+
job_id: data.jobId,
|
|
5305
|
+
include_header: data.includeHeader,
|
|
5306
|
+
queue_limit: data.queueLimit,
|
|
5307
|
+
payload: data.payload,
|
|
5308
|
+
skip_preprocessor: data.skipPreprocessor,
|
|
5309
|
+
poll_delay_ms: data.pollDelayMs
|
|
5310
|
+
}
|
|
5311
|
+
});
|
|
5312
|
+
}
|
|
5313
|
+
/**
|
|
5314
|
+
* run script by hash and stream updates via SSE
|
|
5315
|
+
* @param data The data for the request.
|
|
5316
|
+
* @param data.workspace
|
|
5317
|
+
* @param data.hash
|
|
5318
|
+
* @param data.requestBody script args
|
|
5319
|
+
* @param data.parentJob The parent job that is at the origin and responsible for the execution of this script if any
|
|
5320
|
+
* @param data.tag Override the tag to use
|
|
5321
|
+
* @param data.cacheTtl Override the cache time to live (in seconds). Can not be used to disable caching, only override with a new cache ttl
|
|
5103
5322
|
* @param data.jobId The job id to assign to the created job. if missing, job is chosen randomly using the ULID scheme. If a job id already exists in the queue or as a completed job, the request to create one will fail (Bad Request)
|
|
5104
|
-
* @
|
|
5323
|
+
* @param data.includeHeader List of headers's keys (separated with ',') whove value are added to the args
|
|
5324
|
+
* Header's key lowercased and '-'' replaced to '_' such that 'Content-Type' becomes the 'content_type' arg key
|
|
5325
|
+
*
|
|
5326
|
+
* @param data.queueLimit The maximum size of the queue for which the request would get rejected if that job would push it above that limit
|
|
5327
|
+
*
|
|
5328
|
+
* @param data.skipPreprocessor skip the preprocessor
|
|
5329
|
+
* @param data.pollDelayMs delay between polling for job updates in milliseconds
|
|
5330
|
+
* @returns string server-sent events stream of job updates
|
|
5105
5331
|
* @throws ApiError
|
|
5106
5332
|
*/
|
|
5107
|
-
static
|
|
5333
|
+
static runAndStreamScriptByHash(data) {
|
|
5108
5334
|
return __request(OpenAPI, {
|
|
5109
5335
|
method: 'POST',
|
|
5110
|
-
url: '/w/{workspace}/jobs/
|
|
5336
|
+
url: '/w/{workspace}/jobs/run_and_stream/h/{hash}',
|
|
5111
5337
|
path: {
|
|
5112
5338
|
workspace: data.workspace,
|
|
5113
|
-
|
|
5339
|
+
hash: data.hash
|
|
5114
5340
|
},
|
|
5115
5341
|
query: {
|
|
5342
|
+
parent_job: data.parentJob,
|
|
5343
|
+
tag: data.tag,
|
|
5344
|
+
cache_ttl: data.cacheTtl,
|
|
5345
|
+
job_id: data.jobId,
|
|
5116
5346
|
include_header: data.includeHeader,
|
|
5117
5347
|
queue_limit: data.queueLimit,
|
|
5118
|
-
|
|
5348
|
+
skip_preprocessor: data.skipPreprocessor,
|
|
5349
|
+
poll_delay_ms: data.pollDelayMs
|
|
5119
5350
|
},
|
|
5120
5351
|
body: data.requestBody,
|
|
5121
5352
|
mediaType: 'application/json'
|
|
5122
5353
|
});
|
|
5123
5354
|
}
|
|
5355
|
+
/**
|
|
5356
|
+
* run script by hash with GET and stream updates via SSE
|
|
5357
|
+
* @param data The data for the request.
|
|
5358
|
+
* @param data.workspace
|
|
5359
|
+
* @param data.hash
|
|
5360
|
+
* @param data.parentJob The parent job that is at the origin and responsible for the execution of this script if any
|
|
5361
|
+
* @param data.tag Override the tag to use
|
|
5362
|
+
* @param data.cacheTtl Override the cache time to live (in seconds). Can not be used to disable caching, only override with a new cache ttl
|
|
5363
|
+
* @param data.jobId The job id to assign to the created job. if missing, job is chosen randomly using the ULID scheme. If a job id already exists in the queue or as a completed job, the request to create one will fail (Bad Request)
|
|
5364
|
+
* @param data.includeHeader List of headers's keys (separated with ',') whove value are added to the args
|
|
5365
|
+
* Header's key lowercased and '-'' replaced to '_' such that 'Content-Type' becomes the 'content_type' arg key
|
|
5366
|
+
*
|
|
5367
|
+
* @param data.queueLimit The maximum size of the queue for which the request would get rejected if that job would push it above that limit
|
|
5368
|
+
*
|
|
5369
|
+
* @param data.payload The base64 encoded payload that has been encoded as a JSON. e.g how to encode such payload encodeURIComponent
|
|
5370
|
+
* `encodeURIComponent(btoa(JSON.stringify({a: 2})))`
|
|
5371
|
+
*
|
|
5372
|
+
* @param data.skipPreprocessor skip the preprocessor
|
|
5373
|
+
* @param data.pollDelayMs delay between polling for job updates in milliseconds
|
|
5374
|
+
* @returns string server-sent events stream of job updates
|
|
5375
|
+
* @throws ApiError
|
|
5376
|
+
*/
|
|
5377
|
+
static runAndStreamScriptByHashGet(data) {
|
|
5378
|
+
return __request(OpenAPI, {
|
|
5379
|
+
method: 'GET',
|
|
5380
|
+
url: '/w/{workspace}/jobs/run_and_stream/h/{hash}',
|
|
5381
|
+
path: {
|
|
5382
|
+
workspace: data.workspace,
|
|
5383
|
+
hash: data.hash
|
|
5384
|
+
},
|
|
5385
|
+
query: {
|
|
5386
|
+
parent_job: data.parentJob,
|
|
5387
|
+
tag: data.tag,
|
|
5388
|
+
cache_ttl: data.cacheTtl,
|
|
5389
|
+
job_id: data.jobId,
|
|
5390
|
+
include_header: data.includeHeader,
|
|
5391
|
+
queue_limit: data.queueLimit,
|
|
5392
|
+
payload: data.payload,
|
|
5393
|
+
skip_preprocessor: data.skipPreprocessor,
|
|
5394
|
+
poll_delay_ms: data.pollDelayMs
|
|
5395
|
+
}
|
|
5396
|
+
});
|
|
5397
|
+
}
|
|
5124
5398
|
/**
|
|
5125
5399
|
* get job result by id
|
|
5126
5400
|
* @param data The data for the request.
|
|
@@ -5157,6 +5431,7 @@ export class JobService {
|
|
|
5157
5431
|
* Header's key lowercased and '-'' replaced to '_' such that 'Content-Type' becomes the 'content_type' arg key
|
|
5158
5432
|
*
|
|
5159
5433
|
* @param data.invisibleToOwner make the run invisible to the the flow owner (default false)
|
|
5434
|
+
* @param data.memoryId memory ID for chat-enabled flows
|
|
5160
5435
|
* @returns string job created
|
|
5161
5436
|
* @throws ApiError
|
|
5162
5437
|
*/
|
|
@@ -5176,7 +5451,8 @@ export class JobService {
|
|
|
5176
5451
|
tag: data.tag,
|
|
5177
5452
|
job_id: data.jobId,
|
|
5178
5453
|
include_header: data.includeHeader,
|
|
5179
|
-
invisible_to_owner: data.invisibleToOwner
|
|
5454
|
+
invisible_to_owner: data.invisibleToOwner,
|
|
5455
|
+
memory_id: data.memoryId
|
|
5180
5456
|
},
|
|
5181
5457
|
body: data.requestBody,
|
|
5182
5458
|
mediaType: 'application/json'
|
|
@@ -5425,6 +5701,25 @@ export class JobService {
|
|
|
5425
5701
|
mediaType: 'application/json'
|
|
5426
5702
|
});
|
|
5427
5703
|
}
|
|
5704
|
+
/**
|
|
5705
|
+
* run dynamic select helper function
|
|
5706
|
+
* @param data The data for the request.
|
|
5707
|
+
* @param data.workspace
|
|
5708
|
+
* @param data.requestBody dynamic select request
|
|
5709
|
+
* @returns string dynamic select job created
|
|
5710
|
+
* @throws ApiError
|
|
5711
|
+
*/
|
|
5712
|
+
static runDynamicSelect(data) {
|
|
5713
|
+
return __request(OpenAPI, {
|
|
5714
|
+
method: 'POST',
|
|
5715
|
+
url: '/w/{workspace}/jobs/run/dynamic_select',
|
|
5716
|
+
path: {
|
|
5717
|
+
workspace: data.workspace
|
|
5718
|
+
},
|
|
5719
|
+
body: data.requestBody,
|
|
5720
|
+
mediaType: 'application/json'
|
|
5721
|
+
});
|
|
5722
|
+
}
|
|
5428
5723
|
/**
|
|
5429
5724
|
* list all queued jobs
|
|
5430
5725
|
* @param data The data for the request.
|
|
@@ -5698,6 +5993,7 @@ export class JobService {
|
|
|
5698
5993
|
* @param data The data for the request.
|
|
5699
5994
|
* @param data.workspace
|
|
5700
5995
|
* @param data.requestBody uuids of the jobs to cancel
|
|
5996
|
+
* @param data.forceCancel
|
|
5701
5997
|
* @returns string uuids of canceled jobs
|
|
5702
5998
|
* @throws ApiError
|
|
5703
5999
|
*/
|
|
@@ -5708,6 +6004,9 @@ export class JobService {
|
|
|
5708
6004
|
path: {
|
|
5709
6005
|
workspace: data.workspace
|
|
5710
6006
|
},
|
|
6007
|
+
query: {
|
|
6008
|
+
force_cancel: data.forceCancel
|
|
6009
|
+
},
|
|
5711
6010
|
body: data.requestBody,
|
|
5712
6011
|
mediaType: 'application/json'
|
|
5713
6012
|
});
|
|
@@ -5985,6 +6284,25 @@ export class JobService {
|
|
|
5985
6284
|
}
|
|
5986
6285
|
});
|
|
5987
6286
|
}
|
|
6287
|
+
/**
|
|
6288
|
+
* get started at by ids
|
|
6289
|
+
* @param data The data for the request.
|
|
6290
|
+
* @param data.workspace
|
|
6291
|
+
* @param data.requestBody ids
|
|
6292
|
+
* @returns string started at by ids
|
|
6293
|
+
* @throws ApiError
|
|
6294
|
+
*/
|
|
6295
|
+
static getStartedAtByIds(data) {
|
|
6296
|
+
return __request(OpenAPI, {
|
|
6297
|
+
method: 'POST',
|
|
6298
|
+
url: '/w/{workspace}/jobs_u/queue/get_started_at_by_ids',
|
|
6299
|
+
path: {
|
|
6300
|
+
workspace: data.workspace
|
|
6301
|
+
},
|
|
6302
|
+
body: data.requestBody,
|
|
6303
|
+
mediaType: 'application/json'
|
|
6304
|
+
});
|
|
6305
|
+
}
|
|
5988
6306
|
/**
|
|
5989
6307
|
* get job updates
|
|
5990
6308
|
* @param data The data for the request.
|
|
@@ -6665,6 +6983,74 @@ export class JobService {
|
|
|
6665
6983
|
});
|
|
6666
6984
|
}
|
|
6667
6985
|
}
|
|
6986
|
+
export class FlowConversationService {
|
|
6987
|
+
/**
|
|
6988
|
+
* list flow conversations
|
|
6989
|
+
* @param data The data for the request.
|
|
6990
|
+
* @param data.workspace
|
|
6991
|
+
* @param data.page which page to return (start at 1, default 1)
|
|
6992
|
+
* @param data.perPage number of items to return for a given page (default 30, max 100)
|
|
6993
|
+
* @param data.flowPath filter conversations by flow path
|
|
6994
|
+
* @returns FlowConversation flow conversations list
|
|
6995
|
+
* @throws ApiError
|
|
6996
|
+
*/
|
|
6997
|
+
static listFlowConversations(data) {
|
|
6998
|
+
return __request(OpenAPI, {
|
|
6999
|
+
method: 'GET',
|
|
7000
|
+
url: '/w/{workspace}/flow_conversations/list',
|
|
7001
|
+
path: {
|
|
7002
|
+
workspace: data.workspace
|
|
7003
|
+
},
|
|
7004
|
+
query: {
|
|
7005
|
+
page: data.page,
|
|
7006
|
+
per_page: data.perPage,
|
|
7007
|
+
flow_path: data.flowPath
|
|
7008
|
+
}
|
|
7009
|
+
});
|
|
7010
|
+
}
|
|
7011
|
+
/**
|
|
7012
|
+
* delete flow conversation
|
|
7013
|
+
* @param data The data for the request.
|
|
7014
|
+
* @param data.workspace
|
|
7015
|
+
* @param data.conversationId conversation id
|
|
7016
|
+
* @returns string flow conversation deleted
|
|
7017
|
+
* @throws ApiError
|
|
7018
|
+
*/
|
|
7019
|
+
static deleteFlowConversation(data) {
|
|
7020
|
+
return __request(OpenAPI, {
|
|
7021
|
+
method: 'DELETE',
|
|
7022
|
+
url: '/w/{workspace}/flow_conversations/delete/{conversation_id}',
|
|
7023
|
+
path: {
|
|
7024
|
+
workspace: data.workspace,
|
|
7025
|
+
conversation_id: data.conversationId
|
|
7026
|
+
}
|
|
7027
|
+
});
|
|
7028
|
+
}
|
|
7029
|
+
/**
|
|
7030
|
+
* list conversation messages
|
|
7031
|
+
* @param data The data for the request.
|
|
7032
|
+
* @param data.workspace
|
|
7033
|
+
* @param data.conversationId conversation id
|
|
7034
|
+
* @param data.page which page to return (start at 1, default 1)
|
|
7035
|
+
* @param data.perPage number of items to return for a given page (default 30, max 100)
|
|
7036
|
+
* @returns FlowConversationMessage conversation messages
|
|
7037
|
+
* @throws ApiError
|
|
7038
|
+
*/
|
|
7039
|
+
static listConversationMessages(data) {
|
|
7040
|
+
return __request(OpenAPI, {
|
|
7041
|
+
method: 'GET',
|
|
7042
|
+
url: '/w/{workspace}/flow_conversations/{conversation_id}/messages',
|
|
7043
|
+
path: {
|
|
7044
|
+
workspace: data.workspace,
|
|
7045
|
+
conversation_id: data.conversationId
|
|
7046
|
+
},
|
|
7047
|
+
query: {
|
|
7048
|
+
page: data.page,
|
|
7049
|
+
per_page: data.perPage
|
|
7050
|
+
}
|
|
7051
|
+
});
|
|
7052
|
+
}
|
|
7053
|
+
}
|
|
6668
7054
|
export class RawAppService {
|
|
6669
7055
|
/**
|
|
6670
7056
|
* list all raw apps
|
|
@@ -9380,6 +9766,8 @@ export class ConfigService {
|
|
|
9380
9766
|
* List autoscaling events
|
|
9381
9767
|
* @param data The data for the request.
|
|
9382
9768
|
* @param data.workerGroup
|
|
9769
|
+
* @param data.page which page to return (start at 1, default 1)
|
|
9770
|
+
* @param data.perPage number of items to return for a given page (default 30, max 100)
|
|
9383
9771
|
* @returns AutoscalingEvent List of autoscaling events
|
|
9384
9772
|
* @throws ApiError
|
|
9385
9773
|
*/
|
|
@@ -9389,6 +9777,10 @@ export class ConfigService {
|
|
|
9389
9777
|
url: '/configs/list_autoscaling_events/{worker_group}',
|
|
9390
9778
|
path: {
|
|
9391
9779
|
worker_group: data.workerGroup
|
|
9780
|
+
},
|
|
9781
|
+
query: {
|
|
9782
|
+
page: data.page,
|
|
9783
|
+
per_page: data.perPage
|
|
9392
9784
|
}
|
|
9393
9785
|
});
|
|
9394
9786
|
}
|