windmill-components 1.52.0 → 1.55.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/components/ApiConnectForm.svelte +42 -7
- package/components/ApiConnectForm.svelte.d.ts +2 -1
- package/components/AppConnect.svelte +19 -11
- package/components/ArgInfo.svelte +6 -2
- package/components/ArgInput.svelte +9 -3
- package/components/ArgInput.svelte.d.ts +1 -0
- package/components/CenteredPage.svelte +1 -1
- package/components/CenteredPage.svelte.d.ts +6 -2
- package/components/CronInput.svelte +1 -1
- package/components/DisplayResult.svelte +39 -2
- package/components/Dropdown.svelte +73 -100
- package/components/Dropdown.svelte.d.ts +1 -3
- package/components/Editor.svelte +16 -5
- package/components/EditorBar.svelte +69 -63
- package/components/EditorBar.svelte.d.ts +1 -0
- package/components/FlowBuilder.svelte +74 -68
- package/components/FlowGraphViewer.svelte +136 -34
- package/components/FlowGraphViewer.svelte.d.ts +1 -0
- package/components/FlowJobResult.svelte +6 -1
- package/components/FlowJobResult.svelte.d.ts +2 -0
- package/components/FlowMetadata.svelte +4 -2
- package/components/FlowPreviewContent.svelte +10 -23
- package/components/FlowPreviewContent.svelte.d.ts +3 -0
- package/components/FlowStatusViewer.svelte +155 -30
- package/components/FlowStatusViewer.svelte.d.ts +4 -2
- package/components/FlowViewer.svelte +3 -3
- package/components/FlowViewer.svelte.d.ts +1 -0
- package/components/HighlightCode.svelte +1 -1
- package/components/HighlightCode.svelte.d.ts +1 -0
- package/components/IconedPath.svelte +16 -6
- package/components/IconedPath.svelte.d.ts +2 -0
- package/components/IconedResourceType.svelte +5 -2
- package/components/InputTransformForm.svelte +92 -73
- package/components/InviteGlobalUser.svelte +2 -2
- package/components/InviteGlobalUser.svelte.d.ts +1 -1
- package/components/InviteUser.svelte +20 -6
- package/components/InviteUser.svelte.d.ts +1 -1
- package/components/ItemPicker.svelte +38 -27
- package/components/ItemPicker.svelte.d.ts +2 -1
- package/components/JobStatus.svelte +19 -13
- package/components/LogViewer.svelte +11 -3
- package/components/LogViewer.svelte.d.ts +1 -0
- package/components/ModuleStatus.svelte +38 -0
- package/components/ModuleStatus.svelte.d.ts +18 -0
- package/components/ObjectResourceInput.svelte +8 -52
- package/components/ObjectResourceInput.svelte.d.ts +0 -1
- package/components/Path.svelte +2 -2
- package/components/Path.svelte.d.ts +1 -1
- package/components/Popover.svelte +7 -1
- package/components/Popover.svelte.d.ts +3 -1
- package/components/ResourceEditor.svelte +57 -29
- package/components/ResourcePicker.svelte +12 -2
- package/components/SchemaEditor.svelte +2 -1
- package/components/SchemaForm.svelte +2 -1
- package/components/SchemaForm.svelte.d.ts +1 -0
- package/components/SchemaModal.svelte +11 -10
- package/components/ScriptBuilder.svelte +207 -192
- package/components/ScriptBuilder.svelte.d.ts +1 -1
- package/components/ScriptEditor.svelte +49 -45
- package/components/ScriptEditor.svelte.d.ts +1 -0
- package/components/ScriptPicker.svelte.d.ts +1 -1
- package/components/ScriptSchema.svelte +11 -30
- package/components/ScriptSchema.svelte.d.ts +0 -1
- package/components/SharedBadge.svelte +2 -3
- package/components/SimpleEditor.svelte +6 -7
- package/components/SimpleEditor.svelte.d.ts +1 -0
- package/components/Star.svelte +2 -2
- package/components/SuperadminSettings.svelte +9 -38
- package/components/TableSimple.svelte +1 -1
- package/components/TestJobLoader.svelte +20 -8
- package/components/ToggleHubWorkspace.svelte +16 -0
- package/components/ToggleHubWorkspace.svelte.d.ts +16 -0
- package/components/Tooltip.svelte.d.ts +1 -1
- package/components/VariableEditor.svelte +22 -9
- package/components/apps/CreateApp.svelte +5 -2
- package/components/apps/CreateApp.svelte.d.ts +1 -1
- package/components/apps/components/DisplayComponent.svelte +7 -14
- package/components/apps/components/DisplayComponent.svelte.d.ts +3 -2
- package/components/apps/components/buttons/AppButton.svelte +34 -27
- package/components/apps/components/buttons/AppButton.svelte.d.ts +6 -6
- package/components/apps/components/dataDisplay/AppBarChart.svelte +33 -9
- package/components/apps/components/dataDisplay/AppBarChart.svelte.d.ts +3 -5
- package/components/apps/components/dataDisplay/AppPieChart.svelte +33 -12
- package/components/apps/components/dataDisplay/AppPieChart.svelte.d.ts +3 -5
- package/components/apps/components/dataDisplay/AppTable.svelte +27 -30
- package/components/apps/components/dataDisplay/AppTable.svelte.d.ts +4 -8
- package/components/apps/components/dataDisplay/AppText.svelte +16 -9
- package/components/apps/components/dataDisplay/AppText.svelte.d.ts +3 -2
- package/components/apps/components/dataDisplay/app.md +49 -0
- package/components/apps/components/form/AppForm.svelte +50 -0
- package/components/apps/components/form/AppForm.svelte.d.ts +25 -0
- package/components/apps/components/helpers/AlignWrapper.svelte +2 -1
- package/components/apps/components/helpers/AlignWrapper.svelte.d.ts +1 -0
- package/components/apps/components/helpers/DebouncedInput.svelte +9 -1
- package/components/apps/components/helpers/DebouncedInput.svelte.d.ts +2 -1
- package/components/apps/components/helpers/InputValue.svelte +15 -6
- package/components/apps/components/helpers/InputValue.svelte.d.ts +2 -2
- package/components/apps/components/helpers/NonRunnableComponent.svelte +20 -0
- package/components/apps/components/helpers/NonRunnableComponent.svelte.d.ts +21 -0
- package/components/apps/components/helpers/RunnableComponent.svelte +36 -30
- package/components/apps/components/helpers/RunnableComponent.svelte.d.ts +6 -7
- package/components/apps/components/helpers/RunnableWrapper.svelte +32 -0
- package/components/apps/components/helpers/RunnableWrapper.svelte.d.ts +26 -0
- package/components/apps/components/numberInputs/AppNumberInput.svelte +36 -0
- package/components/apps/components/numberInputs/AppNumberInput.svelte.d.ts +20 -0
- package/components/apps/components/selectInputs/AppCheckbox.svelte +4 -2
- package/components/apps/components/selectInputs/AppCheckbox.svelte.d.ts +2 -2
- package/components/apps/components/textInputs/AppTextInput.svelte +21 -0
- package/components/apps/components/textInputs/AppTextInput.svelte.d.ts +20 -0
- package/components/apps/editor/AppEditor.svelte +66 -55
- package/components/apps/editor/AppEditorHeader.svelte +4 -4
- package/components/apps/editor/AppPreview.svelte +42 -0
- package/components/apps/editor/AppPreview.svelte.d.ts +17 -0
- package/components/apps/editor/ComponentEditor.svelte +41 -20
- package/components/apps/editor/ComponentEditor.svelte.d.ts +2 -0
- package/components/apps/editor/ComponentHeader.svelte +28 -0
- package/components/apps/editor/ComponentHeader.svelte.d.ts +20 -0
- package/components/apps/editor/GridEditor.svelte +54 -5
- package/components/apps/editor/GridEditor.svelte.d.ts +1 -1
- package/components/apps/editor/RecomputeAllComponents.svelte +28 -0
- package/components/apps/editor/RecomputeAllComponents.svelte.d.ts +14 -0
- package/components/apps/editor/componentsPanel/ComponentList.svelte +94 -26
- package/components/apps/editor/componentsPanel/ComponentList.svelte.d.ts +1 -1
- package/components/apps/editor/componentsPanel/componentDefaultProps.d.ts +2 -6
- package/components/apps/editor/componentsPanel/componentDefaultProps.js +1 -5
- package/components/apps/editor/componentsPanel/componentStaticValues.d.ts +2 -0
- package/components/apps/editor/componentsPanel/componentStaticValues.js +3 -1
- package/components/apps/editor/componentsPanel/data.js +191 -76
- package/components/apps/editor/contextPanel/ContextPanel.svelte +56 -48
- package/components/apps/editor/settingsPanel/ArrayStaticInputEditor.svelte +67 -0
- package/components/apps/editor/settingsPanel/ArrayStaticInputEditor.svelte.d.ts +55 -0
- package/components/apps/editor/settingsPanel/ComponentPanel.svelte +154 -129
- package/components/apps/editor/settingsPanel/ConnectedInputEditor.svelte +70 -0
- package/components/apps/editor/settingsPanel/ConnectedInputEditor.svelte.d.ts +17 -0
- package/components/apps/editor/settingsPanel/InputsSpecEditor.svelte +6 -6
- package/components/apps/editor/settingsPanel/InputsSpecEditor.svelte.d.ts +2 -2
- package/components/apps/editor/settingsPanel/InputsSpecsEditor.svelte +55 -87
- package/components/apps/editor/settingsPanel/InputsSpecsEditor.svelte.d.ts +3 -4
- package/components/apps/editor/settingsPanel/PickFlow.svelte +3 -2
- package/components/apps/editor/settingsPanel/PickFlow.svelte.d.ts +1 -1
- package/components/apps/editor/settingsPanel/PickInlineScript.svelte +3 -3
- package/components/apps/editor/settingsPanel/Recompute.svelte +46 -0
- package/components/apps/editor/settingsPanel/Recompute.svelte.d.ts +17 -0
- package/components/apps/editor/settingsPanel/StaticInputEditor.svelte +31 -14
- package/components/apps/editor/settingsPanel/StaticInputEditor.svelte.d.ts +3 -3
- package/components/apps/editor/settingsPanel/SubTypeEditor.svelte +17 -0
- package/components/apps/editor/settingsPanel/SubTypeEditor.svelte.d.ts +19 -0
- package/components/apps/editor/settingsPanel/TableActionLabel.svelte +10 -0
- package/components/apps/editor/settingsPanel/TableActionLabel.svelte.d.ts +17 -0
- package/components/apps/editor/settingsPanel/TableActions.svelte +13 -9
- package/components/apps/editor/settingsPanel/UserInputEditor.svelte.d.ts +1 -1
- package/components/apps/editor/settingsPanel/common/PanelSection.svelte +3 -2
- package/components/apps/editor/settingsPanel/common/PanelSection.svelte.d.ts +1 -0
- package/components/apps/editor/settingsPanel/mainInput/InlineScriptList.svelte +53 -0
- package/components/apps/editor/settingsPanel/mainInput/InlineScriptList.svelte.d.ts +21 -0
- package/components/apps/editor/settingsPanel/mainInput/RunnableSelector.svelte +98 -0
- package/components/apps/editor/settingsPanel/mainInput/RunnableSelector.svelte.d.ts +18 -0
- package/components/apps/editor/settingsPanel/mainInput/WorkspaceFlowList.svelte +81 -0
- package/components/apps/editor/settingsPanel/mainInput/WorkspaceFlowList.svelte.d.ts +20 -0
- package/components/apps/editor/settingsPanel/mainInput/WorkspaceScriptList.svelte +81 -0
- package/components/apps/editor/settingsPanel/mainInput/WorkspaceScriptList.svelte.d.ts +20 -0
- package/components/apps/inputType.d.ts +62 -0
- package/components/apps/inputType.js +1 -0
- package/components/apps/rx.d.ts +4 -4
- package/components/apps/rx.js +16 -4
- package/components/apps/types.d.ts +20 -54
- package/components/apps/utils.d.ts +11 -34
- package/components/apps/utils.js +54 -18
- package/components/common/alert/Alert.svelte +2 -1
- package/components/common/alert/Alert.svelte.d.ts +1 -0
- package/components/common/button/Button.svelte +1 -1
- package/components/common/confirmationModal/UnsavedConfirmationModal.svelte.d.ts +1 -1
- package/components/common/drawer/DrawerContent.svelte +23 -22
- package/components/common/drawer/DrawerContent.svelte.d.ts +1 -3
- package/components/common/kbd/Kbd.svelte.d.ts +2 -2
- package/components/common/languageIcons/LanguageIcon.svelte +4 -2
- package/components/common/languageIcons/LanguageIcon.svelte.d.ts +1 -1
- package/components/common/menu/Menu.svelte +0 -1
- package/components/common/menu/MenuItem.svelte.d.ts +6 -2
- package/components/common/popup/Popup.svelte +0 -11
- package/components/common/table/AppRow.svelte +42 -26
- package/components/common/table/AppRow.svelte.d.ts +1 -1
- package/components/common/table/FlowRow.svelte +54 -49
- package/components/common/table/LanguageBadge.svelte +1 -1
- package/components/common/table/Row.svelte +27 -16
- package/components/common/table/Row.svelte.d.ts +2 -1
- package/components/common/table/RowIcon.svelte +13 -8
- package/components/common/table/ScriptRow.svelte +65 -57
- package/components/common/table/Table.svelte.d.ts +6 -2
- package/components/flows/CreateActionsFlow.svelte +14 -41
- package/components/flows/CreateActionsFlow.svelte.d.ts +1 -1
- package/components/flows/common/FlowCardHeader.svelte +7 -8
- package/components/flows/content/BranchPredicateEditor.svelte +30 -0
- package/components/flows/content/BranchPredicateEditor.svelte.d.ts +23 -0
- package/components/flows/content/CapturePayload.svelte +12 -8
- package/components/flows/content/DynamicInputHelpBox.svelte.d.ts +1 -1
- package/components/flows/content/FlowBranchAllWrapper.svelte +2 -2
- package/components/flows/content/FlowBranchOneWrapper.svelte +4 -36
- package/components/flows/content/FlowBranchesAllWrapper.svelte +91 -0
- package/components/flows/content/FlowBranchesAllWrapper.svelte.d.ts +18 -0
- package/components/flows/content/FlowBranchesOneWrapper.svelte +88 -0
- package/components/flows/content/FlowBranchesOneWrapper.svelte.d.ts +18 -0
- package/components/flows/content/FlowFailureModule.svelte.d.ts +1 -1
- package/components/flows/content/FlowInput.svelte +1 -2
- package/components/flows/content/FlowInput.svelte.d.ts +1 -1
- package/components/flows/content/FlowInputs.svelte +28 -26
- package/components/flows/content/FlowInputsFlow.svelte +101 -0
- package/components/flows/content/FlowInputsFlow.svelte.d.ts +20 -0
- package/components/flows/content/FlowLoop.svelte +10 -3
- package/components/flows/content/FlowModuleComponent.svelte +46 -35
- package/components/flows/content/FlowModuleEarlyStop.svelte +4 -3
- package/components/flows/content/FlowModuleHeader.svelte +22 -21
- package/components/flows/content/FlowModuleHeader.svelte.d.ts +1 -0
- package/components/flows/content/FlowModuleSleep.svelte +69 -0
- package/components/flows/content/FlowModuleSleep.svelte.d.ts +18 -0
- package/components/flows/content/FlowModuleSuspend.svelte +5 -63
- package/components/flows/content/FlowModuleSuspend.svelte.d.ts +0 -1
- package/components/flows/content/FlowModuleWrapper.svelte +59 -35
- package/components/flows/content/FlowPathViewer.svelte +20 -0
- package/components/flows/content/FlowPathViewer.svelte.d.ts +17 -0
- package/components/flows/content/FlowSchedules.svelte.d.ts +1 -1
- package/components/flows/content/FlowSettings.svelte +8 -12
- package/components/flows/flowState.js +2 -2
- package/components/flows/flowStateUtils.d.ts +7 -3
- package/components/flows/flowStateUtils.js +29 -8
- package/components/flows/header/FlowImportExportMenu.svelte.d.ts +1 -1
- package/components/flows/header/FlowPreviewButtons.svelte +6 -2
- package/components/flows/header/FlowPreviewButtons.svelte.d.ts +1 -1
- package/components/flows/map/FlowErrorHandlerItem.svelte +5 -5
- package/components/flows/map/FlowErrorHandlerItem.svelte.d.ts +1 -1
- package/components/flows/map/FlowInputsItem.svelte.d.ts +1 -1
- package/components/flows/map/FlowModuleSchemaItem.svelte +30 -11
- package/components/flows/map/FlowModuleSchemaMap.svelte +26 -20
- package/components/flows/map/FlowModuleSchemaMap.svelte.d.ts +1 -1
- package/components/flows/map/FlowSettingsItem.svelte +1 -1
- package/components/flows/map/FlowSettingsItem.svelte.d.ts +1 -1
- package/components/flows/map/InsertModuleButton.svelte +20 -4
- package/components/flows/map/InsertModuleButton.svelte.d.ts +1 -1
- package/components/flows/map/MapItem.svelte +11 -5
- package/components/flows/pickers/FlowScriptPicker.svelte.d.ts +1 -1
- package/components/flows/pickers/PickHubFlow.svelte +72 -0
- package/components/flows/pickers/PickHubFlow.svelte.d.ts +20 -0
- package/components/flows/pickers/PickHubScript.svelte +65 -56
- package/components/flows/pickers/PickHubScript.svelte.d.ts +3 -1
- package/components/flows/pickers/PickScript.svelte +2 -2
- package/components/flows/pickers/WorkspaceScriptPicker.svelte +79 -19
- package/components/flows/pickers/WorkspaceScriptPicker.svelte.d.ts +5 -1
- package/components/flows/previousResults.d.ts +1 -0
- package/components/flows/previousResults.js +2 -1
- package/components/flows/propPicker/PropPickerWrapper.svelte +9 -1
- package/components/flows/utils.d.ts +0 -1
- package/components/flows/utils.js +6 -6
- package/components/graph/FlowGraph.svelte +120 -54
- package/components/graph/FlowGraph.svelte.d.ts +3 -2
- package/components/graph/model.d.ts +11 -0
- package/components/home/ItemsList.svelte +265 -0
- package/components/home/ItemsList.svelte.d.ts +16 -0
- package/components/home/ListFilters.svelte +37 -0
- package/components/home/ListFilters.svelte.d.ts +18 -0
- package/components/home/NoItemFound.svelte +6 -0
- package/components/home/NoItemFound.svelte.d.ts +23 -0
- package/components/icons/DatadogIcon.svelte +48 -0
- package/components/icons/DatadogIcon.svelte.d.ts +17 -0
- package/components/icons/FunkwhaleIcon.svelte +90 -0
- package/components/icons/FunkwhaleIcon.svelte.d.ts +17 -0
- package/components/icons/GdocsIcon.svelte +9 -0
- package/components/icons/GdocsIcon.svelte.d.ts +17 -0
- package/components/icons/HubspotIcon.svelte +9 -0
- package/components/icons/HubspotIcon.svelte.d.ts +17 -0
- package/components/icons/LinkedinIcon.svelte +9 -0
- package/components/icons/LinkedinIcon.svelte.d.ts +17 -0
- package/components/icons/Mail.svelte +9 -53
- package/components/icons/Mysql.svelte +8 -8
- package/components/icons/NextcloudIcon.svelte +9 -0
- package/components/icons/NextcloudIcon.svelte.d.ts +17 -0
- package/components/icons/QRCodeIcon.svelte +5 -0
- package/components/icons/QRCodeIcon.svelte.d.ts +16 -0
- package/components/icons/SendflakeIcon.svelte +15 -0
- package/components/icons/SendflakeIcon.svelte.d.ts +17 -0
- package/components/icons/StripeIcon.svelte +9 -0
- package/components/icons/StripeIcon.svelte.d.ts +17 -0
- package/components/icons/TelegramIcon.svelte +9 -0
- package/components/icons/TelegramIcon.svelte.d.ts +17 -0
- package/components/icons/WindmillIcon.svelte +3 -3
- package/components/icons/index.d.ts +23 -1
- package/components/icons/index.js +23 -1
- package/components/jobs/JobDetail.svelte +2 -2
- package/components/preview/FlowPreviewStatus.svelte +12 -23
- package/components/propertyPicker/PropPicker.svelte +16 -0
- package/components/propertyPicker/PropPickerResult.svelte +2 -3
- package/components/propertyPicker/WarningMessage.svelte.d.ts +6 -2
- package/components/scriptEditor/LogPanel.svelte +11 -4
- package/components/scripts/CreateActionsScript.svelte +13 -59
- package/components/scripts/CreateActionsScript.svelte.d.ts +1 -1
- package/components/sidebar/FavoriteMenu.svelte +52 -0
- package/components/sidebar/FavoriteMenu.svelte.d.ts +21 -0
- package/components/sidebar/SidebarContent.svelte +10 -19
- package/components/sidebar/SidebarContent.svelte.d.ts +0 -4
- package/components/sidebar/UserMenu.svelte +21 -4
- package/components/sidebar/WorkspaceMenu.svelte +6 -7
- package/editorUtils.d.ts +2 -0
- package/editorUtils.js +3 -1
- package/gen/core/OpenAPI.js +1 -1
- package/gen/index.d.ts +1 -0
- package/gen/models/CompletedJob.d.ts +1 -0
- package/gen/models/CreateWorkspace.d.ts +0 -1
- package/gen/models/EditWorkspaceUser.d.ts +2 -0
- package/gen/models/FlowModuleValue.d.ts +2 -1
- package/gen/models/FlowStatus.d.ts +3 -1
- package/gen/models/FlowStatusModule.d.ts +1 -1
- package/gen/models/FlowStatusModule.js +1 -1
- package/gen/models/Identity.d.ts +1 -0
- package/gen/models/ListableResource.d.ts +1 -0
- package/gen/models/ListableVariable.d.ts +1 -0
- package/gen/models/PathFlow.d.ts +6 -0
- package/gen/models/PathFlow.js +4 -0
- package/gen/models/PathScript.d.ts +1 -0
- package/gen/models/QueuedJob.d.ts +1 -0
- package/gen/models/Schedule.d.ts +2 -0
- package/gen/models/Usage.d.ts +1 -3
- package/gen/models/WorkspaceInvite.d.ts +1 -0
- package/gen/services/AppService.d.ts +7 -1
- package/gen/services/AppService.js +2 -1
- package/gen/services/JobService.d.ts +35 -5
- package/gen/services/JobService.js +14 -5
- package/gen/services/OauthService.d.ts +1 -1
- package/gen/services/ResourceService.d.ts +6 -2
- package/gen/services/ResourceService.js +2 -1
- package/gen/services/UserService.d.ts +6 -0
- package/gen/services/UserService.js +11 -0
- package/gen/services/WorkspaceService.d.ts +35 -0
- package/gen/services/WorkspaceService.js +41 -0
- package/package.json +56 -17
- package/script_helpers.d.ts +2 -1
- package/script_helpers.js +20 -3
- package/scripts.d.ts +1 -0
- package/scripts.js +8 -1
- package/stores.d.ts +11 -2
- package/stores.js +24 -6
- package/utils.d.ts +3 -1
- package/utils.js +11 -4
- package/components/ButtonAndDropdown.svelte +0 -25
- package/components/ButtonAndDropdown.svelte.d.ts +0 -23
- package/components/apps/components/index.d.ts +0 -22
- package/components/apps/components/index.js +0 -42
- package/components/apps/editor/settingsPanel/DynamicInputEditor.svelte +0 -64
- package/components/apps/editor/settingsPanel/DynamicInputEditor.svelte.d.ts +0 -17
- package/components/flows/content/FlowBranchesWrapper.svelte +0 -140
- package/components/flows/content/FlowBranchesWrapper.svelte.d.ts +0 -19
|
@@ -2,6 +2,7 @@ import type { BranchAll } from './BranchAll';
|
|
|
2
2
|
import type { BranchOne } from './BranchOne';
|
|
3
3
|
import type { ForloopFlow } from './ForloopFlow';
|
|
4
4
|
import type { Identity } from './Identity';
|
|
5
|
+
import type { PathFlow } from './PathFlow';
|
|
5
6
|
import type { PathScript } from './PathScript';
|
|
6
7
|
import type { RawScript } from './RawScript';
|
|
7
|
-
export type FlowModuleValue = (RawScript | PathScript | ForloopFlow | BranchOne | BranchAll | Identity);
|
|
8
|
+
export type FlowModuleValue = (RawScript | PathScript | PathFlow | ForloopFlow | BranchOne | BranchAll | Identity);
|
|
@@ -2,7 +2,9 @@ import type { FlowStatusModule } from './FlowStatusModule';
|
|
|
2
2
|
export type FlowStatus = {
|
|
3
3
|
step: number;
|
|
4
4
|
modules: Array<FlowStatusModule>;
|
|
5
|
-
failure_module: FlowStatusModule
|
|
5
|
+
failure_module: (FlowStatusModule & {
|
|
6
|
+
parent_module?: string;
|
|
7
|
+
});
|
|
6
8
|
retry?: {
|
|
7
9
|
fail_count?: number;
|
|
8
10
|
failed_jobs?: Array<string>;
|
|
@@ -25,7 +25,7 @@ export type FlowStatusModule = {
|
|
|
25
25
|
export declare namespace FlowStatusModule {
|
|
26
26
|
enum type {
|
|
27
27
|
WAITING_FOR_PRIOR_STEPS = "WaitingForPriorSteps",
|
|
28
|
-
|
|
28
|
+
WAITING_FOR_EVENTS = "WaitingForEvents",
|
|
29
29
|
WAITING_FOR_EXECUTOR = "WaitingForExecutor",
|
|
30
30
|
IN_PROGRESS = "InProgress",
|
|
31
31
|
SUCCESS = "Success",
|
|
@@ -6,7 +6,7 @@ export var FlowStatusModule;
|
|
|
6
6
|
let type;
|
|
7
7
|
(function (type) {
|
|
8
8
|
type["WAITING_FOR_PRIOR_STEPS"] = "WaitingForPriorSteps";
|
|
9
|
-
type["
|
|
9
|
+
type["WAITING_FOR_EVENTS"] = "WaitingForEvents";
|
|
10
10
|
type["WAITING_FOR_EXECUTOR"] = "WaitingForExecutor";
|
|
11
11
|
type["IN_PROGRESS"] = "InProgress";
|
|
12
12
|
type["SUCCESS"] = "Success";
|
package/gen/models/Identity.d.ts
CHANGED
package/gen/models/Schedule.d.ts
CHANGED
package/gen/models/Usage.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ export declare class AppService {
|
|
|
8
8
|
* @returns ListableApp All available apps
|
|
9
9
|
* @throws ApiError
|
|
10
10
|
*/
|
|
11
|
-
static listApps({ workspace, page, perPage, orderDesc, createdBy, pathStart, pathExact, }: {
|
|
11
|
+
static listApps({ workspace, page, perPage, orderDesc, createdBy, pathStart, pathExact, starredOnly, }: {
|
|
12
12
|
workspace: string;
|
|
13
13
|
/**
|
|
14
14
|
* which page to return (start at 1, default 1)
|
|
@@ -34,6 +34,12 @@ export declare class AppService {
|
|
|
34
34
|
* mask to filter exact matching path
|
|
35
35
|
*/
|
|
36
36
|
pathExact?: string;
|
|
37
|
+
/**
|
|
38
|
+
* (default false)
|
|
39
|
+
* show only the starred items
|
|
40
|
+
*
|
|
41
|
+
*/
|
|
42
|
+
starredOnly?: boolean;
|
|
37
43
|
}): CancelablePromise<Array<ListableApp>>;
|
|
38
44
|
/**
|
|
39
45
|
* does an app exisst at path
|
|
@@ -6,7 +6,7 @@ export class AppService {
|
|
|
6
6
|
* @returns ListableApp All available apps
|
|
7
7
|
* @throws ApiError
|
|
8
8
|
*/
|
|
9
|
-
static listApps({ workspace, page, perPage, orderDesc, createdBy, pathStart, pathExact, }) {
|
|
9
|
+
static listApps({ workspace, page, perPage, orderDesc, createdBy, pathStart, pathExact, starredOnly, }) {
|
|
10
10
|
return __request(OpenAPI, {
|
|
11
11
|
method: 'GET',
|
|
12
12
|
url: '/w/{workspace}/apps/list',
|
|
@@ -20,6 +20,7 @@ export class AppService {
|
|
|
20
20
|
'created_by': createdBy,
|
|
21
21
|
'path_start': pathStart,
|
|
22
22
|
'path_exact': pathExact,
|
|
23
|
+
'starred_only': starredOnly,
|
|
23
24
|
},
|
|
24
25
|
});
|
|
25
26
|
}
|
|
@@ -36,7 +36,7 @@ export declare class JobService {
|
|
|
36
36
|
* @returns any job result
|
|
37
37
|
* @throws ApiError
|
|
38
38
|
*/
|
|
39
|
-
static runWaitResultScriptByPath({ workspace, path, requestBody, scheduledFor, scheduledInSecs, parentJob, }: {
|
|
39
|
+
static runWaitResultScriptByPath({ workspace, path, requestBody, scheduledFor, scheduledInSecs, parentJob, includeHeader, }: {
|
|
40
40
|
workspace: string;
|
|
41
41
|
path: string;
|
|
42
42
|
/**
|
|
@@ -55,6 +55,12 @@ export declare class JobService {
|
|
|
55
55
|
* The parent job that is at the origin and responsible for the execution of this script if any
|
|
56
56
|
*/
|
|
57
57
|
parentJob?: string;
|
|
58
|
+
/**
|
|
59
|
+
* List of headers's keys (separated with ',') whove value are added to the args
|
|
60
|
+
* Header's key lowercased and '-'' replaced to '_' such that 'Content-Type' becomes the 'content_type' arg key
|
|
61
|
+
*
|
|
62
|
+
*/
|
|
63
|
+
includeHeader?: string;
|
|
58
64
|
}): CancelablePromise<any>;
|
|
59
65
|
/**
|
|
60
66
|
* get job result by id
|
|
@@ -75,7 +81,7 @@ export declare class JobService {
|
|
|
75
81
|
* @returns string job created
|
|
76
82
|
* @throws ApiError
|
|
77
83
|
*/
|
|
78
|
-
static runFlowByPath({ workspace, path, requestBody, scheduledFor, scheduledInSecs, parentJob, }: {
|
|
84
|
+
static runFlowByPath({ workspace, path, requestBody, scheduledFor, scheduledInSecs, parentJob, includeHeader, }: {
|
|
79
85
|
workspace: string;
|
|
80
86
|
path: string;
|
|
81
87
|
/**
|
|
@@ -94,13 +100,19 @@ export declare class JobService {
|
|
|
94
100
|
* The parent job that is at the origin and responsible for the execution of this script if any
|
|
95
101
|
*/
|
|
96
102
|
parentJob?: string;
|
|
103
|
+
/**
|
|
104
|
+
* List of headers's keys (separated with ',') whove value are added to the args
|
|
105
|
+
* Header's key lowercased and '-'' replaced to '_' such that 'Content-Type' becomes the 'content_type' arg key
|
|
106
|
+
*
|
|
107
|
+
*/
|
|
108
|
+
includeHeader?: string;
|
|
97
109
|
}): CancelablePromise<string>;
|
|
98
110
|
/**
|
|
99
111
|
* run script by hash
|
|
100
112
|
* @returns string job created
|
|
101
113
|
* @throws ApiError
|
|
102
114
|
*/
|
|
103
|
-
static runScriptByHash({ workspace, hash, requestBody, scheduledFor, scheduledInSecs, parentJob, }: {
|
|
115
|
+
static runScriptByHash({ workspace, hash, requestBody, scheduledFor, scheduledInSecs, parentJob, includeHeader, }: {
|
|
104
116
|
workspace: string;
|
|
105
117
|
hash: string;
|
|
106
118
|
/**
|
|
@@ -119,30 +131,48 @@ export declare class JobService {
|
|
|
119
131
|
* The parent job that is at the origin and responsible for the execution of this script if any
|
|
120
132
|
*/
|
|
121
133
|
parentJob?: string;
|
|
134
|
+
/**
|
|
135
|
+
* List of headers's keys (separated with ',') whove value are added to the args
|
|
136
|
+
* Header's key lowercased and '-'' replaced to '_' such that 'Content-Type' becomes the 'content_type' arg key
|
|
137
|
+
*
|
|
138
|
+
*/
|
|
139
|
+
includeHeader?: string;
|
|
122
140
|
}): CancelablePromise<string>;
|
|
123
141
|
/**
|
|
124
142
|
* run script preview
|
|
125
143
|
* @returns string job created
|
|
126
144
|
* @throws ApiError
|
|
127
145
|
*/
|
|
128
|
-
static runScriptPreview({ workspace, requestBody, }: {
|
|
146
|
+
static runScriptPreview({ workspace, requestBody, includeHeader, }: {
|
|
129
147
|
workspace: string;
|
|
130
148
|
/**
|
|
131
149
|
* preview
|
|
132
150
|
*/
|
|
133
151
|
requestBody: Preview;
|
|
152
|
+
/**
|
|
153
|
+
* List of headers's keys (separated with ',') whove value are added to the args
|
|
154
|
+
* Header's key lowercased and '-'' replaced to '_' such that 'Content-Type' becomes the 'content_type' arg key
|
|
155
|
+
*
|
|
156
|
+
*/
|
|
157
|
+
includeHeader?: string;
|
|
134
158
|
}): CancelablePromise<string>;
|
|
135
159
|
/**
|
|
136
160
|
* run flow preview
|
|
137
161
|
* @returns string job created
|
|
138
162
|
* @throws ApiError
|
|
139
163
|
*/
|
|
140
|
-
static runFlowPreview({ workspace, requestBody, }: {
|
|
164
|
+
static runFlowPreview({ workspace, requestBody, includeHeader, }: {
|
|
141
165
|
workspace: string;
|
|
142
166
|
/**
|
|
143
167
|
* preview
|
|
144
168
|
*/
|
|
145
169
|
requestBody: FlowPreview;
|
|
170
|
+
/**
|
|
171
|
+
* List of headers's keys (separated with ',') whove value are added to the args
|
|
172
|
+
* Header's key lowercased and '-'' replaced to '_' such that 'Content-Type' becomes the 'content_type' arg key
|
|
173
|
+
*
|
|
174
|
+
*/
|
|
175
|
+
includeHeader?: string;
|
|
146
176
|
}): CancelablePromise<string>;
|
|
147
177
|
/**
|
|
148
178
|
* list all available queued jobs
|
|
@@ -28,7 +28,7 @@ export class JobService {
|
|
|
28
28
|
* @returns any job result
|
|
29
29
|
* @throws ApiError
|
|
30
30
|
*/
|
|
31
|
-
static runWaitResultScriptByPath({ workspace, path, requestBody, scheduledFor, scheduledInSecs, parentJob, }) {
|
|
31
|
+
static runWaitResultScriptByPath({ workspace, path, requestBody, scheduledFor, scheduledInSecs, parentJob, includeHeader, }) {
|
|
32
32
|
return __request(OpenAPI, {
|
|
33
33
|
method: 'POST',
|
|
34
34
|
url: '/w/{workspace}/jobs/run_wait_result/p/{path}',
|
|
@@ -40,6 +40,7 @@ export class JobService {
|
|
|
40
40
|
'scheduled_for': scheduledFor,
|
|
41
41
|
'scheduled_in_secs': scheduledInSecs,
|
|
42
42
|
'parent_job': parentJob,
|
|
43
|
+
'include_header': includeHeader,
|
|
43
44
|
},
|
|
44
45
|
body: requestBody,
|
|
45
46
|
mediaType: 'application/json',
|
|
@@ -69,7 +70,7 @@ export class JobService {
|
|
|
69
70
|
* @returns string job created
|
|
70
71
|
* @throws ApiError
|
|
71
72
|
*/
|
|
72
|
-
static runFlowByPath({ workspace, path, requestBody, scheduledFor, scheduledInSecs, parentJob, }) {
|
|
73
|
+
static runFlowByPath({ workspace, path, requestBody, scheduledFor, scheduledInSecs, parentJob, includeHeader, }) {
|
|
73
74
|
return __request(OpenAPI, {
|
|
74
75
|
method: 'POST',
|
|
75
76
|
url: '/w/{workspace}/jobs/run/f/{path}',
|
|
@@ -81,6 +82,7 @@ export class JobService {
|
|
|
81
82
|
'scheduled_for': scheduledFor,
|
|
82
83
|
'scheduled_in_secs': scheduledInSecs,
|
|
83
84
|
'parent_job': parentJob,
|
|
85
|
+
'include_header': includeHeader,
|
|
84
86
|
},
|
|
85
87
|
body: requestBody,
|
|
86
88
|
mediaType: 'application/json',
|
|
@@ -91,7 +93,7 @@ export class JobService {
|
|
|
91
93
|
* @returns string job created
|
|
92
94
|
* @throws ApiError
|
|
93
95
|
*/
|
|
94
|
-
static runScriptByHash({ workspace, hash, requestBody, scheduledFor, scheduledInSecs, parentJob, }) {
|
|
96
|
+
static runScriptByHash({ workspace, hash, requestBody, scheduledFor, scheduledInSecs, parentJob, includeHeader, }) {
|
|
95
97
|
return __request(OpenAPI, {
|
|
96
98
|
method: 'POST',
|
|
97
99
|
url: '/w/{workspace}/jobs/run/h/{hash}',
|
|
@@ -103,6 +105,7 @@ export class JobService {
|
|
|
103
105
|
'scheduled_for': scheduledFor,
|
|
104
106
|
'scheduled_in_secs': scheduledInSecs,
|
|
105
107
|
'parent_job': parentJob,
|
|
108
|
+
'include_header': includeHeader,
|
|
106
109
|
},
|
|
107
110
|
body: requestBody,
|
|
108
111
|
mediaType: 'application/json',
|
|
@@ -113,13 +116,16 @@ export class JobService {
|
|
|
113
116
|
* @returns string job created
|
|
114
117
|
* @throws ApiError
|
|
115
118
|
*/
|
|
116
|
-
static runScriptPreview({ workspace, requestBody, }) {
|
|
119
|
+
static runScriptPreview({ workspace, requestBody, includeHeader, }) {
|
|
117
120
|
return __request(OpenAPI, {
|
|
118
121
|
method: 'POST',
|
|
119
122
|
url: '/w/{workspace}/jobs/run/preview',
|
|
120
123
|
path: {
|
|
121
124
|
'workspace': workspace,
|
|
122
125
|
},
|
|
126
|
+
query: {
|
|
127
|
+
'include_header': includeHeader,
|
|
128
|
+
},
|
|
123
129
|
body: requestBody,
|
|
124
130
|
mediaType: 'application/json',
|
|
125
131
|
});
|
|
@@ -129,13 +135,16 @@ export class JobService {
|
|
|
129
135
|
* @returns string job created
|
|
130
136
|
* @throws ApiError
|
|
131
137
|
*/
|
|
132
|
-
static runFlowPreview({ workspace, requestBody, }) {
|
|
138
|
+
static runFlowPreview({ workspace, requestBody, includeHeader, }) {
|
|
133
139
|
return __request(OpenAPI, {
|
|
134
140
|
method: 'POST',
|
|
135
141
|
url: '/w/{workspace}/jobs/run/preview_flow',
|
|
136
142
|
path: {
|
|
137
143
|
'workspace': workspace,
|
|
138
144
|
},
|
|
145
|
+
query: {
|
|
146
|
+
'include_header': includeHeader,
|
|
147
|
+
},
|
|
139
148
|
body: requestBody,
|
|
140
149
|
mediaType: 'application/json',
|
|
141
150
|
});
|
|
@@ -72,7 +72,7 @@ export declare class ResourceService {
|
|
|
72
72
|
* @returns ListableResource resource list
|
|
73
73
|
* @throws ApiError
|
|
74
74
|
*/
|
|
75
|
-
static listResource({ workspace, page, perPage, resourceType, }: {
|
|
75
|
+
static listResource({ workspace, page, perPage, resourceType, resourceTypeExclude, }: {
|
|
76
76
|
workspace: string;
|
|
77
77
|
/**
|
|
78
78
|
* which page to return (start at 1, default 1)
|
|
@@ -83,9 +83,13 @@ export declare class ResourceService {
|
|
|
83
83
|
*/
|
|
84
84
|
perPage?: number;
|
|
85
85
|
/**
|
|
86
|
-
*
|
|
86
|
+
* resource_types to list from, separated by ',',
|
|
87
87
|
*/
|
|
88
88
|
resourceType?: string;
|
|
89
|
+
/**
|
|
90
|
+
* resource_types to not list from, separated by ',',
|
|
91
|
+
*/
|
|
92
|
+
resourceTypeExclude?: string;
|
|
89
93
|
}): CancelablePromise<Array<ListableResource>>;
|
|
90
94
|
/**
|
|
91
95
|
* create resource_type
|
|
@@ -99,7 +99,7 @@ export class ResourceService {
|
|
|
99
99
|
* @returns ListableResource resource list
|
|
100
100
|
* @throws ApiError
|
|
101
101
|
*/
|
|
102
|
-
static listResource({ workspace, page, perPage, resourceType, }) {
|
|
102
|
+
static listResource({ workspace, page, perPage, resourceType, resourceTypeExclude, }) {
|
|
103
103
|
return __request(OpenAPI, {
|
|
104
104
|
method: 'GET',
|
|
105
105
|
url: '/w/{workspace}/resources/list',
|
|
@@ -110,6 +110,7 @@ export class ResourceService {
|
|
|
110
110
|
'page': page,
|
|
111
111
|
'per_page': perPage,
|
|
112
112
|
'resource_type': resourceType,
|
|
113
|
+
'resource_type_exclude': resourceTypeExclude,
|
|
113
114
|
},
|
|
114
115
|
});
|
|
115
116
|
}
|
|
@@ -118,6 +118,12 @@ export declare class UserService {
|
|
|
118
118
|
* @throws ApiError
|
|
119
119
|
*/
|
|
120
120
|
static getCurrentEmail(): CancelablePromise<string>;
|
|
121
|
+
/**
|
|
122
|
+
* get current usage outside of premium workspaces
|
|
123
|
+
* @returns number free usage
|
|
124
|
+
* @throws ApiError
|
|
125
|
+
*/
|
|
126
|
+
static getUsage(): CancelablePromise<number>;
|
|
121
127
|
/**
|
|
122
128
|
* get current global whoami (if logged in)
|
|
123
129
|
* @returns GlobalUserInfo user email
|
|
@@ -141,6 +141,17 @@ export class UserService {
|
|
|
141
141
|
url: '/users/email',
|
|
142
142
|
});
|
|
143
143
|
}
|
|
144
|
+
/**
|
|
145
|
+
* get current usage outside of premium workspaces
|
|
146
|
+
* @returns number free usage
|
|
147
|
+
* @throws ApiError
|
|
148
|
+
*/
|
|
149
|
+
static getUsage() {
|
|
150
|
+
return __request(OpenAPI, {
|
|
151
|
+
method: 'GET',
|
|
152
|
+
url: '/users/usage',
|
|
153
|
+
});
|
|
154
|
+
}
|
|
144
155
|
/**
|
|
145
156
|
* get current global whoami (if logged in)
|
|
146
157
|
* @returns GlobalUserInfo user email
|
|
@@ -10,6 +10,12 @@ export declare class WorkspaceService {
|
|
|
10
10
|
* @throws ApiError
|
|
11
11
|
*/
|
|
12
12
|
static listWorkspaces(): CancelablePromise<Array<Workspace>>;
|
|
13
|
+
/**
|
|
14
|
+
* is domain allowed for auto invi
|
|
15
|
+
* @returns boolean domain allowed or not
|
|
16
|
+
* @throws ApiError
|
|
17
|
+
*/
|
|
18
|
+
static isDomainAllowed(): CancelablePromise<boolean>;
|
|
13
19
|
/**
|
|
14
20
|
* list all workspaces visible to me with user info
|
|
15
21
|
* @returns UserWorkspaceList workspace with associated username
|
|
@@ -79,6 +85,7 @@ export declare class WorkspaceService {
|
|
|
79
85
|
requestBody: {
|
|
80
86
|
email: string;
|
|
81
87
|
is_admin: boolean;
|
|
88
|
+
operator: boolean;
|
|
82
89
|
};
|
|
83
90
|
}): CancelablePromise<string>;
|
|
84
91
|
/**
|
|
@@ -94,6 +101,7 @@ export declare class WorkspaceService {
|
|
|
94
101
|
requestBody: {
|
|
95
102
|
email: string;
|
|
96
103
|
is_admin: boolean;
|
|
104
|
+
operator: boolean;
|
|
97
105
|
};
|
|
98
106
|
}): CancelablePromise<string>;
|
|
99
107
|
/**
|
|
@@ -124,6 +132,19 @@ export declare class WorkspaceService {
|
|
|
124
132
|
slack_name?: string;
|
|
125
133
|
slack_team_id?: string;
|
|
126
134
|
slack_command_script?: string;
|
|
135
|
+
auto_invite_domain?: string;
|
|
136
|
+
auto_invite_operator?: boolean;
|
|
137
|
+
}>;
|
|
138
|
+
/**
|
|
139
|
+
* get premium info
|
|
140
|
+
* @returns any status
|
|
141
|
+
* @throws ApiError
|
|
142
|
+
*/
|
|
143
|
+
static getPremiumInfo({ workspace, }: {
|
|
144
|
+
workspace: string;
|
|
145
|
+
}): CancelablePromise<{
|
|
146
|
+
premium: boolean;
|
|
147
|
+
usage?: number;
|
|
127
148
|
}>;
|
|
128
149
|
/**
|
|
129
150
|
* edit slack command
|
|
@@ -139,4 +160,18 @@ export declare class WorkspaceService {
|
|
|
139
160
|
slack_command_script?: string;
|
|
140
161
|
};
|
|
141
162
|
}): CancelablePromise<string>;
|
|
163
|
+
/**
|
|
164
|
+
* edit auto invite
|
|
165
|
+
* @returns string status
|
|
166
|
+
* @throws ApiError
|
|
167
|
+
*/
|
|
168
|
+
static editAutoInvite({ workspace, requestBody, }: {
|
|
169
|
+
workspace: string;
|
|
170
|
+
/**
|
|
171
|
+
* WorkspaceInvite
|
|
172
|
+
*/
|
|
173
|
+
requestBody: {
|
|
174
|
+
operator?: boolean;
|
|
175
|
+
};
|
|
176
|
+
}): CancelablePromise<string>;
|
|
142
177
|
}
|
|
@@ -12,6 +12,17 @@ export class WorkspaceService {
|
|
|
12
12
|
url: '/workspaces/list',
|
|
13
13
|
});
|
|
14
14
|
}
|
|
15
|
+
/**
|
|
16
|
+
* is domain allowed for auto invi
|
|
17
|
+
* @returns boolean domain allowed or not
|
|
18
|
+
* @throws ApiError
|
|
19
|
+
*/
|
|
20
|
+
static isDomainAllowed() {
|
|
21
|
+
return __request(OpenAPI, {
|
|
22
|
+
method: 'GET',
|
|
23
|
+
url: '/workspaces/allowed_domain_auto_invite',
|
|
24
|
+
});
|
|
25
|
+
}
|
|
15
26
|
/**
|
|
16
27
|
* list all workspaces visible to me with user info
|
|
17
28
|
* @returns UserWorkspaceList workspace with associated username
|
|
@@ -151,6 +162,20 @@ export class WorkspaceService {
|
|
|
151
162
|
},
|
|
152
163
|
});
|
|
153
164
|
}
|
|
165
|
+
/**
|
|
166
|
+
* get premium info
|
|
167
|
+
* @returns any status
|
|
168
|
+
* @throws ApiError
|
|
169
|
+
*/
|
|
170
|
+
static getPremiumInfo({ workspace, }) {
|
|
171
|
+
return __request(OpenAPI, {
|
|
172
|
+
method: 'GET',
|
|
173
|
+
url: '/w/{workspace}/workspaces/premium_info',
|
|
174
|
+
path: {
|
|
175
|
+
'workspace': workspace,
|
|
176
|
+
},
|
|
177
|
+
});
|
|
178
|
+
}
|
|
154
179
|
/**
|
|
155
180
|
* edit slack command
|
|
156
181
|
* @returns string status
|
|
@@ -167,4 +192,20 @@ export class WorkspaceService {
|
|
|
167
192
|
mediaType: 'application/json',
|
|
168
193
|
});
|
|
169
194
|
}
|
|
195
|
+
/**
|
|
196
|
+
* edit auto invite
|
|
197
|
+
* @returns string status
|
|
198
|
+
* @throws ApiError
|
|
199
|
+
*/
|
|
200
|
+
static editAutoInvite({ workspace, requestBody, }) {
|
|
201
|
+
return __request(OpenAPI, {
|
|
202
|
+
method: 'POST',
|
|
203
|
+
url: '/w/{workspace}/workspaces/edit_auto_invite',
|
|
204
|
+
path: {
|
|
205
|
+
'workspace': workspace,
|
|
206
|
+
},
|
|
207
|
+
body: requestBody,
|
|
208
|
+
mediaType: 'application/json',
|
|
209
|
+
});
|
|
210
|
+
}
|
|
170
211
|
}
|