windmill-components 1.37.0 → 1.46.2
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/common.d.ts +1 -0
- package/components/AppConnect.svelte +45 -49
- package/components/ArgInfo.svelte +37 -15
- package/components/ArgInput.svelte +33 -34
- package/components/ArgInput.svelte.d.ts +3 -1
- package/components/ButtonAndDropdown.svelte +1 -1
- package/components/CenteredPage.svelte +2 -2
- package/components/CronInput.svelte +24 -20
- package/components/CronInput.svelte.d.ts +1 -0
- package/components/DisplayResult.svelte +2 -2
- package/components/Dropdown.svelte +10 -13
- package/components/Dropdown.svelte.d.ts +4 -1
- package/components/Editor.svelte +27 -3
- package/components/Editor.svelte.d.ts +3 -1
- package/components/EditorBar.svelte +77 -30
- package/components/EditorBar.svelte.d.ts +3 -1
- package/components/FieldHeader.svelte +6 -5
- package/components/FlowBuilder.svelte +52 -55
- package/components/FlowBuilder.svelte.d.ts +2 -0
- package/components/FlowJobResult.svelte +11 -18
- package/components/FlowJobResult.svelte.d.ts +2 -2
- package/components/FlowMetadata.svelte +65 -0
- package/components/FlowMetadata.svelte.d.ts +17 -0
- package/components/FlowModulesViewer.svelte +18 -4
- package/components/FlowPreviewContent.svelte +88 -50
- package/components/FlowPreviewContent.svelte.d.ts +1 -0
- package/components/FlowStatusViewer.svelte +123 -61
- package/components/FlowStatusViewer.svelte.d.ts +8 -3
- package/components/FlowViewer.svelte +84 -9
- package/components/FlowViewer.svelte.d.ts +1 -0
- package/components/GroupModal.svelte +43 -44
- package/components/GroupModal.svelte.d.ts +2 -2
- package/components/HighlightCode.svelte +4 -1
- package/components/HighlightCode.svelte.d.ts +1 -1
- package/components/IconedResourceType.svelte +6 -4
- package/components/IconedResourceType.svelte.d.ts +1 -0
- package/components/InputTransformForm.svelte +38 -27
- package/components/InputTransformsViewer.svelte +2 -1
- package/components/InviteGlobalUser.svelte +6 -10
- package/components/InviteGlobalUser.svelte.d.ts +1 -4
- package/components/InviteUser.svelte +4 -8
- package/components/InviteUser.svelte.d.ts +1 -4
- package/components/ItemPicker.svelte +50 -43
- package/components/ItemPicker.svelte.d.ts +2 -2
- package/components/JobArgs.svelte +33 -0
- package/components/JobArgs.svelte.d.ts +16 -0
- package/components/JobStatus.svelte +21 -17
- package/components/LogViewer.svelte +11 -6
- package/components/Modal.svelte +5 -5
- package/components/Modal.svelte.d.ts +4 -4
- package/components/ModulePreview.svelte +47 -63
- package/components/ModulePreview.svelte.d.ts +0 -1
- package/components/PageHeader.svelte +6 -6
- package/components/Password.svelte +1 -1
- package/components/Path.svelte +28 -7
- package/components/Path.svelte.d.ts +3 -3
- package/components/Popover.svelte +61 -0
- package/components/Popover.svelte.d.ts +17 -0
- package/components/Required.svelte +4 -4
- package/components/Required.svelte.d.ts +1 -0
- package/components/ResourceEditor.svelte +105 -116
- package/components/ResourceEditor.svelte.d.ts +0 -1
- package/components/ResourcePicker.svelte +9 -6
- package/components/ResourceTypePicker.svelte +3 -1
- package/components/RunChart.svelte +102 -0
- package/components/RunChart.svelte.d.ts +20 -0
- package/components/RunForm.svelte +58 -40
- package/components/RunForm.svelte.d.ts +13 -0
- package/components/SchemaEditor.svelte +5 -5
- package/components/SchemaEditorProperty.svelte +1 -1
- package/components/SchemaForm.svelte +3 -1
- package/components/SchemaForm.svelte.d.ts +1 -0
- package/components/SchemaModal.svelte +113 -105
- package/components/SchemaModal.svelte.d.ts +4 -4
- package/components/SchemaViewer.svelte +7 -4
- package/components/ScriptBuilder.svelte +143 -163
- package/components/ScriptBuilder.svelte.d.ts +1 -0
- package/components/ScriptEditor.svelte +117 -114
- package/components/ScriptEditor.svelte.d.ts +1 -0
- package/components/ScriptPicker.svelte +16 -24
- package/components/ScriptSchema.svelte +33 -32
- package/components/ShareModal.svelte +74 -68
- package/components/ShareModal.svelte.d.ts +2 -2
- package/components/SimpleEditor.svelte +4 -2
- package/components/SuperadminSettings.svelte +134 -0
- package/components/SuperadminSettings.svelte.d.ts +19 -0
- package/components/TableCustom.svelte +1 -1
- package/components/TableSimple.svelte +1 -1
- package/components/TestJobLoader.svelte +14 -6
- package/components/TestJobLoader.svelte.d.ts +4 -2
- package/components/Toggle.svelte +5 -3
- package/components/Toggle.svelte.d.ts +2 -0
- package/components/Tooltip.svelte +9 -64
- package/components/UserSettings.svelte +241 -0
- package/components/UserSettings.svelte.d.ts +19 -0
- package/components/VariableEditor.svelte +80 -74
- package/components/common/actionRow/ActionRow.svelte +5 -4
- package/components/common/alert/Alert.svelte +1 -1
- package/components/common/alert/Alert.svelte.d.ts +1 -0
- package/components/common/badge/Badge.svelte +2 -2
- package/components/common/breadcrumb/Breadcrumb.svelte +24 -0
- package/components/common/breadcrumb/Breadcrumb.svelte.d.ts +22 -0
- package/components/common/button/Button.svelte +20 -8
- package/components/common/button/Button.svelte.d.ts +1 -0
- package/components/common/button/model.d.ts +1 -1
- package/components/common/confirmationModal/ConfirmationModal.svelte +1 -0
- package/components/common/drawer/Drawer.svelte +38 -7
- package/components/common/drawer/Drawer.svelte.d.ts +6 -0
- package/components/common/drawer/DrawerContent.svelte +21 -7
- package/components/common/drawer/DrawerContent.svelte.d.ts +4 -0
- package/components/common/index.d.ts +1 -0
- package/components/common/index.js +1 -0
- package/components/common/kbd/Kbd.svelte +1 -1
- package/components/common/languageIcons/Bash.svelte +18 -0
- package/components/common/languageIcons/Bash.svelte.d.ts +27 -0
- package/components/common/languageIcons/Go.svelte +34 -0
- package/components/common/languageIcons/Go.svelte.d.ts +27 -0
- package/components/common/languageIcons/LanguageIcon.svelte +19 -0
- package/components/common/languageIcons/LanguageIcon.svelte.d.ts +21 -0
- package/components/common/languageIcons/Python.svelte +51 -0
- package/components/common/languageIcons/Python.svelte.d.ts +27 -0
- package/components/common/languageIcons/TypeScript.svelte +31 -0
- package/components/common/languageIcons/TypeScript.svelte.d.ts +27 -0
- package/components/common/languageIcons/index.d.ts +5 -0
- package/components/common/languageIcons/index.js +5 -0
- package/components/common/menu/Menu.svelte +15 -19
- package/components/common/skeleton/Skeleton.svelte +1 -2
- package/components/common/skeleton/Skeleton.svelte.d.ts +0 -1
- package/components/common/skeleton/SkeletonElement.svelte +1 -1
- package/components/common/tabs/TabContent.svelte +2 -1
- package/components/common/tabs/TabContent.svelte.d.ts +1 -0
- package/components/common/tabs/Tabs.svelte +8 -6
- package/components/common/tabs/Tabs.svelte.d.ts +1 -0
- package/components/flows/FlowEditor.svelte +11 -20
- package/components/flows/FlowProgressBar.svelte +55 -0
- package/components/flows/FlowProgressBar.svelte.d.ts +21 -0
- package/components/flows/common/FlowCardHeader.svelte +5 -6
- package/components/flows/content/CapturePayload.svelte +112 -0
- package/components/flows/content/CapturePayload.svelte.d.ts +17 -0
- package/components/flows/content/DynamicInputHelpBox.svelte +6 -10
- package/components/flows/content/FlowBranchAllWrapper.svelte +21 -0
- package/components/flows/content/FlowBranchAllWrapper.svelte.d.ts +21 -0
- package/components/flows/content/FlowBranchOneWrapper.svelte +49 -0
- package/components/flows/content/FlowBranchOneWrapper.svelte.d.ts +23 -0
- package/components/flows/content/FlowBranchesWrapper.svelte +140 -0
- package/components/flows/content/FlowBranchesWrapper.svelte.d.ts +19 -0
- package/components/flows/content/FlowEditorPanel.svelte +8 -6
- package/components/flows/content/FlowFailureModule.svelte +4 -6
- package/components/flows/content/FlowInput.svelte +31 -5
- package/components/flows/content/FlowInputs.svelte +119 -50
- package/components/flows/content/FlowInputs.svelte.d.ts +5 -4
- package/components/flows/content/FlowLoop.svelte +85 -142
- package/components/flows/content/FlowLoop.svelte.d.ts +2 -1
- package/components/flows/content/FlowModuleComponent.svelte +231 -0
- package/components/flows/content/FlowModuleComponent.svelte.d.ts +20 -0
- package/components/flows/content/FlowModuleEarlyStop.svelte +45 -48
- package/components/flows/content/FlowModuleEarlyStop.svelte.d.ts +1 -0
- package/components/flows/content/FlowModuleHeader.svelte +11 -40
- package/components/flows/content/FlowModuleHeader.svelte.d.ts +0 -1
- package/components/flows/content/FlowModuleScript.svelte +7 -12
- package/components/flows/content/FlowModuleScript.svelte.d.ts +1 -2
- package/components/flows/content/FlowModuleSuspend.svelte +31 -15
- package/components/flows/content/FlowModuleSuspend.svelte.d.ts +1 -0
- package/components/flows/content/FlowModuleWrapper.svelte +138 -38
- package/components/flows/content/FlowModuleWrapper.svelte.d.ts +6 -1
- package/components/flows/content/FlowRetries.svelte +13 -2
- package/components/flows/content/FlowRetries.svelte.d.ts +1 -0
- package/components/flows/content/FlowSchedules.svelte +0 -2
- package/components/flows/content/FlowSettings.svelte +103 -72
- package/components/flows/flowState.d.ts +8 -8
- package/components/flows/flowState.js +32 -17
- package/components/flows/flowStateUtils.d.ts +21 -38
- package/components/flows/flowStateUtils.js +86 -158
- package/components/flows/flowStore.d.ts +3 -2
- package/components/flows/flowStore.js +60 -7
- package/components/flows/header/FlowImportExportMenu.svelte +12 -22
- package/components/flows/header/FlowPreviewButtons.svelte +11 -11
- package/components/flows/map/FlowBranchAllMap.svelte +90 -0
- package/components/flows/map/FlowBranchAllMap.svelte.d.ts +17 -0
- package/components/flows/map/FlowBranchOneMap.svelte +116 -0
- package/components/flows/map/FlowBranchOneMap.svelte.d.ts +17 -0
- package/components/flows/map/FlowErrorHandlerItem.svelte +14 -11
- package/components/flows/map/FlowInputsItem.svelte +19 -0
- package/components/flows/map/FlowInputsItem.svelte.d.ts +14 -0
- package/components/flows/map/FlowModuleSchemaItem.svelte +53 -36
- package/components/flows/map/FlowModuleSchemaItem.svelte.d.ts +5 -5
- package/components/flows/map/FlowModuleSchemaMap.svelte +73 -144
- package/components/flows/map/FlowModuleSchemaMap.svelte.d.ts +2 -3
- package/components/flows/map/FlowSettingsItem.svelte +29 -0
- package/components/flows/map/FlowSettingsItem.svelte.d.ts +14 -0
- package/components/flows/map/InsertModuleButton.svelte +11 -0
- package/components/flows/map/InsertModuleButton.svelte.d.ts +16 -0
- package/components/flows/map/MapItem.svelte +105 -0
- package/components/flows/map/MapItem.svelte.d.ts +22 -0
- package/components/flows/pickers/FlowScriptPicker.svelte +14 -4
- package/components/flows/pickers/FlowScriptPicker.svelte.d.ts +1 -1
- package/components/flows/pickers/PickHubScript.svelte +5 -4
- package/components/flows/pickers/PickHubScript.svelte.d.ts +1 -0
- package/components/flows/pickers/PickScript.svelte +6 -5
- package/components/flows/pickers/PickScript.svelte.d.ts +1 -0
- package/components/flows/previousResults.d.ts +14 -0
- package/components/flows/previousResults.js +118 -0
- package/components/flows/propPicker/PropPickerWrapper.svelte +22 -15
- package/components/flows/propPicker/PropPickerWrapper.svelte.d.ts +6 -2
- package/components/flows/utils.d.ts +8 -5
- package/components/flows/utils.js +86 -56
- package/components/graph/FlowGraph.svelte +259 -0
- package/components/graph/FlowGraph.svelte.d.ts +20 -0
- package/components/graph/index.d.ts +3 -0
- package/components/graph/index.js +3 -0
- package/components/graph/model.d.ts +20 -0
- package/components/graph/model.js +9 -0
- package/components/graph/util.d.ts +9 -0
- package/components/graph/util.js +14 -0
- package/components/icons/WindmillIcon.svelte +85 -52
- package/components/icons/WindmillIcon.svelte.d.ts +2 -0
- package/components/jobs/JobDetail.svelte +40 -30
- package/components/landing/FlowGettingStarted.svelte +4 -3
- package/components/landing/FlowLandingBox.svelte +23 -53
- package/components/landing/RessourceGettingStarted.svelte +1 -1
- package/components/landing/ScriptBox.svelte +25 -27
- package/components/landing/ScriptGettingStarted.svelte +4 -3
- package/components/preview/FlowPreviewStatus.svelte +1 -1
- package/components/progressBar/ProgressBar.svelte +89 -0
- package/components/{ProgressBar.svelte.d.ts → progressBar/ProgressBar.svelte.d.ts} +5 -2
- package/components/progressBar/ProgressBarGeneralPart.svelte +22 -0
- package/components/progressBar/ProgressBarGeneralPart.svelte.d.ts +19 -0
- package/components/progressBar/ProgressBarLoopAccessor.svelte +14 -0
- package/components/progressBar/ProgressBarLoopAccessor.svelte.d.ts +19 -0
- package/components/progressBar/ProgressBarLoopPart.svelte +34 -0
- package/components/progressBar/ProgressBarLoopPart.svelte.d.ts +19 -0
- package/components/progressBar/index.d.ts +2 -0
- package/components/progressBar/index.js +2 -0
- package/components/progressBar/model.d.ts +32 -0
- package/components/progressBar/model.js +14 -0
- package/components/propertyPicker/ObjectViewer.svelte +18 -13
- package/components/propertyPicker/ObjectViewer.svelte.d.ts +1 -0
- package/components/propertyPicker/PropPicker.svelte +90 -44
- package/components/propertyPicker/PropPicker.svelte.d.ts +4 -1
- package/components/propertyPicker/PropPickerResult.svelte +12 -0
- package/components/propertyPicker/PropPickerResult.svelte.d.ts +18 -0
- package/components/propertyPicker/utils.d.ts +1 -1
- package/components/propertyPicker/utils.js +4 -1
- package/components/{script_editor → scriptEditor}/LogPanel.svelte +30 -20
- package/components/{script_editor → scriptEditor}/LogPanel.svelte.d.ts +0 -0
- package/components/scripts/CreateActions.svelte +2 -2
- package/components/sidebar/SidebarContent.svelte +1 -1
- package/components/sidebar/UserMenu.svelte +17 -1
- package/components/sidebar/UserMenu.svelte.d.ts +3 -0
- package/components/sidebar/WorkspaceMenu.svelte +16 -14
- package/components/splitPanes/SplitPanesWrapper.svelte +34 -0
- package/components/splitPanes/SplitPanesWrapper.svelte.d.ts +20 -0
- package/editorUtils.js +2 -0
- package/gen/core/OpenAPI.js +1 -1
- package/gen/index.d.ts +8 -1
- package/gen/index.js +5 -0
- package/gen/models/AppWithLastVersion.d.ts +21 -0
- package/gen/models/AppWithLastVersion.js +12 -0
- package/gen/models/BranchAll.d.ts +10 -0
- package/gen/models/{Branches.js → BranchAll.js} +0 -0
- package/gen/models/{Branches.d.ts → BranchOne.d.ts} +3 -5
- package/gen/models/BranchOne.js +4 -0
- package/gen/models/CompletedJob.d.ts +4 -2
- package/gen/models/CompletedJob.js +2 -0
- package/gen/models/FlowModule.d.ts +2 -1
- package/gen/models/FlowModuleValue.d.ts +4 -2
- package/gen/models/FlowStatusModule.d.ts +11 -2
- package/gen/models/ForloopFlow.d.ts +1 -0
- package/gen/models/Identity.d.ts +3 -0
- package/gen/models/Identity.js +4 -0
- package/gen/models/ListableApp.d.ts +16 -0
- package/gen/models/ListableApp.js +12 -0
- package/gen/models/ListableVariable.d.ts +1 -1
- package/gen/models/PathScript.d.ts +2 -0
- package/gen/models/Policy.d.ts +12 -0
- package/gen/models/Policy.js +12 -0
- package/gen/models/Preview.d.ts +2 -1
- package/gen/models/Preview.js +1 -0
- package/gen/models/QueuedJob.d.ts +4 -2
- package/gen/models/QueuedJob.js +2 -0
- package/gen/models/RawScript.d.ts +4 -1
- package/gen/models/RawScript.js +1 -0
- package/gen/models/Script.d.ts +4 -2
- package/gen/models/Script.js +2 -0
- package/gen/services/AppService.d.ts +31 -0
- package/gen/services/AppService.js +49 -0
- package/gen/services/CaptureService.d.ts +30 -0
- package/gen/services/CaptureService.js +52 -0
- package/gen/services/FlowService.d.ts +90 -0
- package/gen/services/FlowService.js +72 -0
- package/gen/services/JobService.d.ts +57 -8
- package/gen/services/JobService.js +78 -10
- package/gen/services/OauthService.d.ts +6 -15
- package/gen/services/OauthService.js +6 -19
- package/gen/services/ResourceService.d.ts +10 -1
- package/gen/services/ResourceService.js +16 -1
- package/gen/services/ScriptService.d.ts +28 -3
- package/gen/services/ScriptService.js +27 -0
- package/gen/services/UserService.d.ts +14 -6
- package/gen/services/UserService.js +25 -11
- package/infer.d.ts +1 -1
- package/infer.js +35 -18
- package/logout.d.ts +1 -1
- package/logout.js +7 -9
- package/package.json +74 -68
- package/script_helpers.d.ts +5 -3
- package/script_helpers.js +42 -12
- package/scripts.js +9 -4
- package/utils.d.ts +8 -9
- package/utils.js +42 -81
- package/components/AutosizedTextarea.svelte +0 -34
- package/components/AutosizedTextarea.svelte.d.ts +0 -19
- package/components/ProgressBar.svelte +0 -31
- package/components/ProgressBarPart.svelte +0 -20
- package/components/ProgressBarPart.svelte.d.ts +0 -20
- package/components/Switch.svelte +0 -61
- package/components/Switch.svelte.d.ts +0 -31
- package/components/flows/content/CopyFirstStepSchema.svelte +0 -13
- package/components/flows/content/CopyFirstStepSchema.svelte.d.ts +0 -14
- package/components/flows/content/FlowLoopWrapper.svelte +0 -9
- package/components/flows/content/FlowLoopWrapper.svelte.d.ts +0 -14
- package/components/flows/content/FlowModule.svelte +0 -217
- package/components/flows/content/FlowModule.svelte.d.ts +0 -29
- package/gen/schemas/$AuditLog.d.ts +0 -32
- package/gen/schemas/$AuditLog.js +0 -35
- package/gen/schemas/$CompletedJob.d.ts +0 -98
- package/gen/schemas/$CompletedJob.js +0 -103
- package/gen/schemas/$ContextualVariable.d.ts +0 -16
- package/gen/schemas/$ContextualVariable.js +0 -19
- package/gen/schemas/$CreateResource.d.ts +0 -22
- package/gen/schemas/$CreateResource.js +0 -25
- package/gen/schemas/$CreateVariable.d.ts +0 -26
- package/gen/schemas/$CreateVariable.js +0 -29
- package/gen/schemas/$CreateWorkspace.d.ts +0 -20
- package/gen/schemas/$CreateWorkspace.js +0 -23
- package/gen/schemas/$EditResource.d.ts +0 -13
- package/gen/schemas/$EditResource.js +0 -16
- package/gen/schemas/$EditResourceType.d.ts +0 -10
- package/gen/schemas/$EditResourceType.js +0 -13
- package/gen/schemas/$EditSchedule.d.ts +0 -20
- package/gen/schemas/$EditSchedule.js +0 -23
- package/gen/schemas/$EditVariable.d.ts +0 -16
- package/gen/schemas/$EditVariable.js +0 -19
- package/gen/schemas/$EditWorkspaceUser.d.ts +0 -7
- package/gen/schemas/$EditWorkspaceUser.js +0 -10
- package/gen/schemas/$Flow.d.ts +0 -23
- package/gen/schemas/$Flow.js +0 -26
- package/gen/schemas/$FlowMetadata.d.ts +0 -31
- package/gen/schemas/$FlowMetadata.js +0 -34
- package/gen/schemas/$FlowPreview.d.ts +0 -80
- package/gen/schemas/$FlowPreview.js +0 -83
- package/gen/schemas/$GlobalUserInfo.d.ts +0 -26
- package/gen/schemas/$GlobalUserInfo.js +0 -29
- package/gen/schemas/$Group.d.ts +0 -23
- package/gen/schemas/$Group.js +0 -26
- package/gen/schemas/$Job.d.ts +0 -17
- package/gen/schemas/$Job.js +0 -20
- package/gen/schemas/$ListableVariable.d.ts +0 -35
- package/gen/schemas/$ListableVariable.js +0 -38
- package/gen/schemas/$Login.d.ts +0 -12
- package/gen/schemas/$Login.js +0 -15
- package/gen/schemas/$MainArgSignature.d.ts +0 -50
- package/gen/schemas/$MainArgSignature.js +0 -53
- package/gen/schemas/$NewSchedule.d.ts +0 -30
- package/gen/schemas/$NewSchedule.js +0 -33
- package/gen/schemas/$NewToken.d.ts +0 -11
- package/gen/schemas/$NewToken.js +0 -14
- package/gen/schemas/$NewUser.d.ts +0 -16
- package/gen/schemas/$NewUser.js +0 -19
- package/gen/schemas/$Preview.d.ts +0 -19
- package/gen/schemas/$Preview.js +0 -22
- package/gen/schemas/$QueuedJob.d.ts +0 -139
- package/gen/schemas/$QueuedJob.js +0 -144
- package/gen/schemas/$Resource.d.ts +0 -31
- package/gen/schemas/$Resource.js +0 -34
- package/gen/schemas/$ResourceType.d.ts +0 -17
- package/gen/schemas/$ResourceType.js +0 -20
- package/gen/schemas/$Schedule.d.ts +0 -47
- package/gen/schemas/$Schedule.js +0 -50
- package/gen/schemas/$Script.d.ts +0 -77
- package/gen/schemas/$Script.js +0 -80
- package/gen/schemas/$ScriptArgs.d.ts +0 -6
- package/gen/schemas/$ScriptArgs.js +0 -9
- package/gen/schemas/$SlackToken.d.ts +0 -24
- package/gen/schemas/$SlackToken.js +0 -27
- package/gen/schemas/$TokenResponse.d.ts +0 -23
- package/gen/schemas/$TokenResponse.js +0 -26
- package/gen/schemas/$TruncatedToken.d.ts +0 -25
- package/gen/schemas/$TruncatedToken.js +0 -28
- package/gen/schemas/$Usage.d.ts +0 -13
- package/gen/schemas/$Usage.js +0 -16
- package/gen/schemas/$User.d.ts +0 -42
- package/gen/schemas/$User.js +0 -45
- package/gen/schemas/$UserWorkspaceList.d.ts +0 -28
- package/gen/schemas/$UserWorkspaceList.js +0 -31
- package/gen/schemas/$WorkerPing.d.ts +0 -31
- package/gen/schemas/$WorkerPing.js +0 -34
- package/gen/schemas/$Workspace.d.ts +0 -19
- package/gen/schemas/$Workspace.js +0 -22
- package/gen/schemas/$WorkspaceInvite.d.ts +0 -16
- package/gen/schemas/$WorkspaceInvite.js +0 -19
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type { AppWithLastVersion } from '../models/AppWithLastVersion';
|
|
2
|
+
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
3
|
+
export declare class AppService {
|
|
4
|
+
/**
|
|
5
|
+
* get app by path
|
|
6
|
+
* @returns AppWithLastVersion app details
|
|
7
|
+
* @throws ApiError
|
|
8
|
+
*/
|
|
9
|
+
static getAppByPath({ workspace, path, }: {
|
|
10
|
+
workspace: string;
|
|
11
|
+
path: string;
|
|
12
|
+
}): CancelablePromise<AppWithLastVersion>;
|
|
13
|
+
/**
|
|
14
|
+
* get app by version
|
|
15
|
+
* @returns AppWithLastVersion app details
|
|
16
|
+
* @throws ApiError
|
|
17
|
+
*/
|
|
18
|
+
static getAppByPath1({ workspace, id, }: {
|
|
19
|
+
workspace: string;
|
|
20
|
+
id: number;
|
|
21
|
+
}): CancelablePromise<AppWithLastVersion>;
|
|
22
|
+
/**
|
|
23
|
+
* delete app
|
|
24
|
+
* @returns string app deleted
|
|
25
|
+
* @throws ApiError
|
|
26
|
+
*/
|
|
27
|
+
static deleteApp({ workspace, path, }: {
|
|
28
|
+
workspace: string;
|
|
29
|
+
path: string;
|
|
30
|
+
}): CancelablePromise<string>;
|
|
31
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { OpenAPI } from '../core/OpenAPI';
|
|
2
|
+
import { request as __request } from '../core/request';
|
|
3
|
+
export class AppService {
|
|
4
|
+
/**
|
|
5
|
+
* get app by path
|
|
6
|
+
* @returns AppWithLastVersion app details
|
|
7
|
+
* @throws ApiError
|
|
8
|
+
*/
|
|
9
|
+
static getAppByPath({ workspace, path, }) {
|
|
10
|
+
return __request(OpenAPI, {
|
|
11
|
+
method: 'GET',
|
|
12
|
+
url: '/w/{workspace}/apps/get/p/{path}',
|
|
13
|
+
path: {
|
|
14
|
+
'workspace': workspace,
|
|
15
|
+
'path': path,
|
|
16
|
+
},
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* get app by version
|
|
21
|
+
* @returns AppWithLastVersion app details
|
|
22
|
+
* @throws ApiError
|
|
23
|
+
*/
|
|
24
|
+
static getAppByPath1({ workspace, id, }) {
|
|
25
|
+
return __request(OpenAPI, {
|
|
26
|
+
method: 'GET',
|
|
27
|
+
url: '/w/{workspace}/apps/get/v/{id}',
|
|
28
|
+
path: {
|
|
29
|
+
'workspace': workspace,
|
|
30
|
+
'id': id,
|
|
31
|
+
},
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* delete app
|
|
36
|
+
* @returns string app deleted
|
|
37
|
+
* @throws ApiError
|
|
38
|
+
*/
|
|
39
|
+
static deleteApp({ workspace, path, }) {
|
|
40
|
+
return __request(OpenAPI, {
|
|
41
|
+
method: 'DELETE',
|
|
42
|
+
url: '/w/{workspace}/apps/delete/{path}',
|
|
43
|
+
path: {
|
|
44
|
+
'workspace': workspace,
|
|
45
|
+
'path': path,
|
|
46
|
+
},
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
2
|
+
export declare class CaptureService {
|
|
3
|
+
/**
|
|
4
|
+
* create flow preview capture
|
|
5
|
+
* @returns any flow preview capture created
|
|
6
|
+
* @throws ApiError
|
|
7
|
+
*/
|
|
8
|
+
static createCapture({ workspace, path, }: {
|
|
9
|
+
workspace: string;
|
|
10
|
+
path: string;
|
|
11
|
+
}): CancelablePromise<any>;
|
|
12
|
+
/**
|
|
13
|
+
* update flow preview capture
|
|
14
|
+
* @returns void
|
|
15
|
+
* @throws ApiError
|
|
16
|
+
*/
|
|
17
|
+
static updateCapture({ workspace, path, }: {
|
|
18
|
+
workspace: string;
|
|
19
|
+
path: string;
|
|
20
|
+
}): CancelablePromise<void>;
|
|
21
|
+
/**
|
|
22
|
+
* get flow preview capture
|
|
23
|
+
* @returns any captured flow preview
|
|
24
|
+
* @throws ApiError
|
|
25
|
+
*/
|
|
26
|
+
static getCapture({ workspace, path, }: {
|
|
27
|
+
workspace: string;
|
|
28
|
+
path: string;
|
|
29
|
+
}): CancelablePromise<any>;
|
|
30
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { OpenAPI } from '../core/OpenAPI';
|
|
2
|
+
import { request as __request } from '../core/request';
|
|
3
|
+
export class CaptureService {
|
|
4
|
+
/**
|
|
5
|
+
* create flow preview capture
|
|
6
|
+
* @returns any flow preview capture created
|
|
7
|
+
* @throws ApiError
|
|
8
|
+
*/
|
|
9
|
+
static createCapture({ workspace, path, }) {
|
|
10
|
+
return __request(OpenAPI, {
|
|
11
|
+
method: 'PUT',
|
|
12
|
+
url: '/w/{workspace}/capture/{path}',
|
|
13
|
+
path: {
|
|
14
|
+
'workspace': workspace,
|
|
15
|
+
'path': path,
|
|
16
|
+
},
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* update flow preview capture
|
|
21
|
+
* @returns void
|
|
22
|
+
* @throws ApiError
|
|
23
|
+
*/
|
|
24
|
+
static updateCapture({ workspace, path, }) {
|
|
25
|
+
return __request(OpenAPI, {
|
|
26
|
+
method: 'POST',
|
|
27
|
+
url: '/w/{workspace}/capture/{path}',
|
|
28
|
+
path: {
|
|
29
|
+
'workspace': workspace,
|
|
30
|
+
'path': path,
|
|
31
|
+
},
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* get flow preview capture
|
|
36
|
+
* @returns any captured flow preview
|
|
37
|
+
* @throws ApiError
|
|
38
|
+
*/
|
|
39
|
+
static getCapture({ workspace, path, }) {
|
|
40
|
+
return __request(OpenAPI, {
|
|
41
|
+
method: 'GET',
|
|
42
|
+
url: '/w/{workspace}/capture/{path}',
|
|
43
|
+
path: {
|
|
44
|
+
'workspace': workspace,
|
|
45
|
+
'path': path,
|
|
46
|
+
},
|
|
47
|
+
errors: {
|
|
48
|
+
404: `capture does not exist for this flow`,
|
|
49
|
+
},
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import type { Flow } from '../models/Flow';
|
|
2
|
+
import type { ListableApp } from '../models/ListableApp';
|
|
2
3
|
import type { OpenFlow } from '../models/OpenFlow';
|
|
3
4
|
import type { OpenFlowWPath } from '../models/OpenFlowWPath';
|
|
5
|
+
import type { Policy } from '../models/Policy';
|
|
4
6
|
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
5
7
|
export declare class FlowService {
|
|
6
8
|
/**
|
|
@@ -120,4 +122,92 @@ export declare class FlowService {
|
|
|
120
122
|
workspace: string;
|
|
121
123
|
path: string;
|
|
122
124
|
}): CancelablePromise<string>;
|
|
125
|
+
/**
|
|
126
|
+
* list all available apps
|
|
127
|
+
* @returns ListableApp All available apps
|
|
128
|
+
* @throws ApiError
|
|
129
|
+
*/
|
|
130
|
+
static listApps({ workspace, page, perPage, orderDesc, createdBy, pathStart, pathExact, }: {
|
|
131
|
+
workspace: string;
|
|
132
|
+
/**
|
|
133
|
+
* which page to return (start at 1, default 1)
|
|
134
|
+
*/
|
|
135
|
+
page?: number;
|
|
136
|
+
/**
|
|
137
|
+
* number of items to return for a given page (default 30, max 100)
|
|
138
|
+
*/
|
|
139
|
+
perPage?: number;
|
|
140
|
+
/**
|
|
141
|
+
* order by desc order (default true)
|
|
142
|
+
*/
|
|
143
|
+
orderDesc?: boolean;
|
|
144
|
+
/**
|
|
145
|
+
* mask to filter exact matching user creator
|
|
146
|
+
*/
|
|
147
|
+
createdBy?: string;
|
|
148
|
+
/**
|
|
149
|
+
* mask to filter matching starting path
|
|
150
|
+
*/
|
|
151
|
+
pathStart?: string;
|
|
152
|
+
/**
|
|
153
|
+
* mask to filter exact matching path
|
|
154
|
+
*/
|
|
155
|
+
pathExact?: string;
|
|
156
|
+
}): CancelablePromise<Array<ListableApp>>;
|
|
157
|
+
/**
|
|
158
|
+
* create app
|
|
159
|
+
* @returns string app created
|
|
160
|
+
* @throws ApiError
|
|
161
|
+
*/
|
|
162
|
+
static listApps1({ workspace, requestBody, }: {
|
|
163
|
+
workspace: string;
|
|
164
|
+
/**
|
|
165
|
+
* new app
|
|
166
|
+
*/
|
|
167
|
+
requestBody: {
|
|
168
|
+
path: string;
|
|
169
|
+
value: any;
|
|
170
|
+
summary: string;
|
|
171
|
+
policy: Policy;
|
|
172
|
+
};
|
|
173
|
+
}): CancelablePromise<string>;
|
|
174
|
+
/**
|
|
175
|
+
* update app
|
|
176
|
+
* @returns string app updated
|
|
177
|
+
* @throws ApiError
|
|
178
|
+
*/
|
|
179
|
+
static updateApp({ workspace, path, requestBody, }: {
|
|
180
|
+
workspace: string;
|
|
181
|
+
path: string;
|
|
182
|
+
/**
|
|
183
|
+
* update app
|
|
184
|
+
*/
|
|
185
|
+
requestBody: {
|
|
186
|
+
path?: string;
|
|
187
|
+
summary?: string;
|
|
188
|
+
value?: any;
|
|
189
|
+
policy?: Policy;
|
|
190
|
+
};
|
|
191
|
+
}): CancelablePromise<string>;
|
|
192
|
+
/**
|
|
193
|
+
* update app
|
|
194
|
+
* @returns string job uuid
|
|
195
|
+
* @throws ApiError
|
|
196
|
+
*/
|
|
197
|
+
static updateApp1({ workspace, path, requestBody, }: {
|
|
198
|
+
workspace: string;
|
|
199
|
+
path: string;
|
|
200
|
+
/**
|
|
201
|
+
* update app
|
|
202
|
+
*/
|
|
203
|
+
requestBody: {
|
|
204
|
+
path?: string;
|
|
205
|
+
args: any;
|
|
206
|
+
raw_code?: {
|
|
207
|
+
content: string;
|
|
208
|
+
language: string;
|
|
209
|
+
path?: string;
|
|
210
|
+
};
|
|
211
|
+
};
|
|
212
|
+
}): CancelablePromise<string>;
|
|
123
213
|
}
|
|
@@ -127,4 +127,76 @@ export class FlowService {
|
|
|
127
127
|
},
|
|
128
128
|
});
|
|
129
129
|
}
|
|
130
|
+
/**
|
|
131
|
+
* list all available apps
|
|
132
|
+
* @returns ListableApp All available apps
|
|
133
|
+
* @throws ApiError
|
|
134
|
+
*/
|
|
135
|
+
static listApps({ workspace, page, perPage, orderDesc, createdBy, pathStart, pathExact, }) {
|
|
136
|
+
return __request(OpenAPI, {
|
|
137
|
+
method: 'GET',
|
|
138
|
+
url: '/w/{workspace}/apps/list',
|
|
139
|
+
path: {
|
|
140
|
+
'workspace': workspace,
|
|
141
|
+
},
|
|
142
|
+
query: {
|
|
143
|
+
'page': page,
|
|
144
|
+
'per_page': perPage,
|
|
145
|
+
'order_desc': orderDesc,
|
|
146
|
+
'created_by': createdBy,
|
|
147
|
+
'path_start': pathStart,
|
|
148
|
+
'path_exact': pathExact,
|
|
149
|
+
},
|
|
150
|
+
});
|
|
151
|
+
}
|
|
152
|
+
/**
|
|
153
|
+
* create app
|
|
154
|
+
* @returns string app created
|
|
155
|
+
* @throws ApiError
|
|
156
|
+
*/
|
|
157
|
+
static listApps1({ workspace, requestBody, }) {
|
|
158
|
+
return __request(OpenAPI, {
|
|
159
|
+
method: 'POST',
|
|
160
|
+
url: '/w/{workspace}/apps/create',
|
|
161
|
+
path: {
|
|
162
|
+
'workspace': workspace,
|
|
163
|
+
},
|
|
164
|
+
body: requestBody,
|
|
165
|
+
mediaType: 'application/json',
|
|
166
|
+
});
|
|
167
|
+
}
|
|
168
|
+
/**
|
|
169
|
+
* update app
|
|
170
|
+
* @returns string app updated
|
|
171
|
+
* @throws ApiError
|
|
172
|
+
*/
|
|
173
|
+
static updateApp({ workspace, path, requestBody, }) {
|
|
174
|
+
return __request(OpenAPI, {
|
|
175
|
+
method: 'POST',
|
|
176
|
+
url: '/w/{workspace}/apps/update/{path}',
|
|
177
|
+
path: {
|
|
178
|
+
'workspace': workspace,
|
|
179
|
+
'path': path,
|
|
180
|
+
},
|
|
181
|
+
body: requestBody,
|
|
182
|
+
mediaType: 'application/json',
|
|
183
|
+
});
|
|
184
|
+
}
|
|
185
|
+
/**
|
|
186
|
+
* update app
|
|
187
|
+
* @returns string job uuid
|
|
188
|
+
* @throws ApiError
|
|
189
|
+
*/
|
|
190
|
+
static updateApp1({ workspace, path, requestBody, }) {
|
|
191
|
+
return __request(OpenAPI, {
|
|
192
|
+
method: 'POST',
|
|
193
|
+
url: '/w/{workspace}/apps/execute_component/{path}',
|
|
194
|
+
path: {
|
|
195
|
+
'workspace': workspace,
|
|
196
|
+
'path': path,
|
|
197
|
+
},
|
|
198
|
+
body: requestBody,
|
|
199
|
+
mediaType: 'application/json',
|
|
200
|
+
});
|
|
201
|
+
}
|
|
130
202
|
}
|
|
@@ -56,6 +56,20 @@ export declare class JobService {
|
|
|
56
56
|
*/
|
|
57
57
|
parentJob?: string;
|
|
58
58
|
}): CancelablePromise<any>;
|
|
59
|
+
/**
|
|
60
|
+
* get job result by id
|
|
61
|
+
* @returns any job result
|
|
62
|
+
* @throws ApiError
|
|
63
|
+
*/
|
|
64
|
+
static resultById({ workspace, flowJobId, nodeId, skipDirect, }: {
|
|
65
|
+
workspace: string;
|
|
66
|
+
flowJobId: string;
|
|
67
|
+
nodeId: string;
|
|
68
|
+
/**
|
|
69
|
+
* Skip checking that the node is part of the given flow.
|
|
70
|
+
*/
|
|
71
|
+
skipDirect?: boolean;
|
|
72
|
+
}): CancelablePromise<any>;
|
|
59
73
|
/**
|
|
60
74
|
* run flow by path
|
|
61
75
|
* @returns string job created
|
|
@@ -343,48 +357,83 @@ export declare class JobService {
|
|
|
343
357
|
reason?: string;
|
|
344
358
|
};
|
|
345
359
|
}): CancelablePromise<string>;
|
|
360
|
+
/**
|
|
361
|
+
* create an HMac signature given a job id and a resume id
|
|
362
|
+
* @returns string job signature
|
|
363
|
+
* @throws ApiError
|
|
364
|
+
*/
|
|
365
|
+
static createJobSignature({ workspace, id, resumeId, approver, }: {
|
|
366
|
+
workspace: string;
|
|
367
|
+
id: string;
|
|
368
|
+
resumeId: number;
|
|
369
|
+
approver?: string;
|
|
370
|
+
}): CancelablePromise<string>;
|
|
346
371
|
/**
|
|
347
372
|
* resume a job for a suspended flow
|
|
348
373
|
* @returns string job resumed
|
|
349
374
|
* @throws ApiError
|
|
350
375
|
*/
|
|
351
|
-
static
|
|
376
|
+
static resumeSuspendedJobGet({ workspace, id, resumeId, signature, approver, }: {
|
|
352
377
|
workspace: string;
|
|
353
378
|
id: string;
|
|
354
379
|
resumeId: number;
|
|
355
380
|
signature: string;
|
|
356
|
-
|
|
381
|
+
approver?: string;
|
|
357
382
|
}): CancelablePromise<string>;
|
|
358
383
|
/**
|
|
359
384
|
* resume a job for a suspended flow
|
|
360
385
|
* @returns string job resumed
|
|
361
386
|
* @throws ApiError
|
|
362
387
|
*/
|
|
363
|
-
static
|
|
388
|
+
static resumeSuspendedJobPost({ workspace, id, resumeId, signature, requestBody, approver, }: {
|
|
364
389
|
workspace: string;
|
|
365
390
|
id: string;
|
|
366
|
-
|
|
391
|
+
resumeId: number;
|
|
392
|
+
signature: string;
|
|
393
|
+
requestBody: any;
|
|
394
|
+
approver?: string;
|
|
367
395
|
}): CancelablePromise<string>;
|
|
368
396
|
/**
|
|
369
397
|
* cancel a job for a suspended flow
|
|
370
398
|
* @returns string job resumed
|
|
371
399
|
* @throws ApiError
|
|
372
400
|
*/
|
|
373
|
-
static
|
|
401
|
+
static cancelSuspendedJobGet({ workspace, id, resumeId, signature, approver, }: {
|
|
374
402
|
workspace: string;
|
|
375
403
|
id: string;
|
|
376
404
|
resumeId: number;
|
|
377
405
|
signature: string;
|
|
378
|
-
|
|
406
|
+
approver?: string;
|
|
379
407
|
}): CancelablePromise<string>;
|
|
380
408
|
/**
|
|
381
409
|
* cancel a job for a suspended flow
|
|
382
410
|
* @returns string job resumed
|
|
383
411
|
* @throws ApiError
|
|
384
412
|
*/
|
|
385
|
-
static
|
|
413
|
+
static cancelSuspendedJobPost({ workspace, id, resumeId, signature, requestBody, approver, }: {
|
|
386
414
|
workspace: string;
|
|
387
415
|
id: string;
|
|
388
|
-
|
|
416
|
+
resumeId: number;
|
|
417
|
+
signature: string;
|
|
418
|
+
requestBody: any;
|
|
419
|
+
approver?: string;
|
|
389
420
|
}): CancelablePromise<string>;
|
|
421
|
+
/**
|
|
422
|
+
* get parent flow job of suspended job
|
|
423
|
+
* @returns any parent flow details
|
|
424
|
+
* @throws ApiError
|
|
425
|
+
*/
|
|
426
|
+
static getSuspendedJobFlow({ workspace, id, resumeId, signature, approver, }: {
|
|
427
|
+
workspace: string;
|
|
428
|
+
id: string;
|
|
429
|
+
resumeId: number;
|
|
430
|
+
signature: string;
|
|
431
|
+
approver?: string;
|
|
432
|
+
}): CancelablePromise<{
|
|
433
|
+
job: Job;
|
|
434
|
+
approvers: Array<{
|
|
435
|
+
resume_id: number;
|
|
436
|
+
approver: string;
|
|
437
|
+
}>;
|
|
438
|
+
}>;
|
|
390
439
|
}
|
|
@@ -45,6 +45,25 @@ export class JobService {
|
|
|
45
45
|
mediaType: 'application/json',
|
|
46
46
|
});
|
|
47
47
|
}
|
|
48
|
+
/**
|
|
49
|
+
* get job result by id
|
|
50
|
+
* @returns any job result
|
|
51
|
+
* @throws ApiError
|
|
52
|
+
*/
|
|
53
|
+
static resultById({ workspace, flowJobId, nodeId, skipDirect, }) {
|
|
54
|
+
return __request(OpenAPI, {
|
|
55
|
+
method: 'GET',
|
|
56
|
+
url: '/w/{workspace}/jobs/result_by_id/{flow_job_id}/{node_id}',
|
|
57
|
+
path: {
|
|
58
|
+
'workspace': workspace,
|
|
59
|
+
'flow_job_id': flowJobId,
|
|
60
|
+
'node_id': nodeId,
|
|
61
|
+
},
|
|
62
|
+
query: {
|
|
63
|
+
'skip_direct': skipDirect,
|
|
64
|
+
},
|
|
65
|
+
});
|
|
66
|
+
}
|
|
48
67
|
/**
|
|
49
68
|
* run flow by path
|
|
50
69
|
* @returns string job created
|
|
@@ -283,15 +302,34 @@ export class JobService {
|
|
|
283
302
|
mediaType: 'application/json',
|
|
284
303
|
});
|
|
285
304
|
}
|
|
305
|
+
/**
|
|
306
|
+
* create an HMac signature given a job id and a resume id
|
|
307
|
+
* @returns string job signature
|
|
308
|
+
* @throws ApiError
|
|
309
|
+
*/
|
|
310
|
+
static createJobSignature({ workspace, id, resumeId, approver, }) {
|
|
311
|
+
return __request(OpenAPI, {
|
|
312
|
+
method: 'GET',
|
|
313
|
+
url: '/w/{workspace}/jobs/job_signature/{id}/{resume_id}',
|
|
314
|
+
path: {
|
|
315
|
+
'workspace': workspace,
|
|
316
|
+
'id': id,
|
|
317
|
+
'resume_id': resumeId,
|
|
318
|
+
},
|
|
319
|
+
query: {
|
|
320
|
+
'approver': approver,
|
|
321
|
+
},
|
|
322
|
+
});
|
|
323
|
+
}
|
|
286
324
|
/**
|
|
287
325
|
* resume a job for a suspended flow
|
|
288
326
|
* @returns string job resumed
|
|
289
327
|
* @throws ApiError
|
|
290
328
|
*/
|
|
291
|
-
static
|
|
329
|
+
static resumeSuspendedJobGet({ workspace, id, resumeId, signature, approver, }) {
|
|
292
330
|
return __request(OpenAPI, {
|
|
293
331
|
method: 'GET',
|
|
294
|
-
url: '/w/{workspace}/jobs/resume/{
|
|
332
|
+
url: '/w/{workspace}/jobs/resume/{id}/{resume_id}/{signature}',
|
|
295
333
|
path: {
|
|
296
334
|
'workspace': workspace,
|
|
297
335
|
'id': id,
|
|
@@ -299,7 +337,7 @@ export class JobService {
|
|
|
299
337
|
'signature': signature,
|
|
300
338
|
},
|
|
301
339
|
query: {
|
|
302
|
-
'
|
|
340
|
+
'approver': approver,
|
|
303
341
|
},
|
|
304
342
|
});
|
|
305
343
|
}
|
|
@@ -308,13 +346,18 @@ export class JobService {
|
|
|
308
346
|
* @returns string job resumed
|
|
309
347
|
* @throws ApiError
|
|
310
348
|
*/
|
|
311
|
-
static
|
|
349
|
+
static resumeSuspendedJobPost({ workspace, id, resumeId, signature, requestBody, approver, }) {
|
|
312
350
|
return __request(OpenAPI, {
|
|
313
351
|
method: 'POST',
|
|
314
|
-
url: '/w/{workspace}/jobs/resume/{
|
|
352
|
+
url: '/w/{workspace}/jobs/resume/{id}/{resume_id}/{signature}',
|
|
315
353
|
path: {
|
|
316
354
|
'workspace': workspace,
|
|
317
355
|
'id': id,
|
|
356
|
+
'resume_id': resumeId,
|
|
357
|
+
'signature': signature,
|
|
358
|
+
},
|
|
359
|
+
query: {
|
|
360
|
+
'approver': approver,
|
|
318
361
|
},
|
|
319
362
|
body: requestBody,
|
|
320
363
|
mediaType: 'application/json',
|
|
@@ -325,10 +368,10 @@ export class JobService {
|
|
|
325
368
|
* @returns string job resumed
|
|
326
369
|
* @throws ApiError
|
|
327
370
|
*/
|
|
328
|
-
static
|
|
371
|
+
static cancelSuspendedJobGet({ workspace, id, resumeId, signature, approver, }) {
|
|
329
372
|
return __request(OpenAPI, {
|
|
330
373
|
method: 'GET',
|
|
331
|
-
url: '/w/{workspace}/jobs/cancel/{
|
|
374
|
+
url: '/w/{workspace}/jobs/cancel/{id}/{resume_id}/{signature}',
|
|
332
375
|
path: {
|
|
333
376
|
'workspace': workspace,
|
|
334
377
|
'id': id,
|
|
@@ -336,7 +379,7 @@ export class JobService {
|
|
|
336
379
|
'signature': signature,
|
|
337
380
|
},
|
|
338
381
|
query: {
|
|
339
|
-
'
|
|
382
|
+
'approver': approver,
|
|
340
383
|
},
|
|
341
384
|
});
|
|
342
385
|
}
|
|
@@ -345,16 +388,41 @@ export class JobService {
|
|
|
345
388
|
* @returns string job resumed
|
|
346
389
|
* @throws ApiError
|
|
347
390
|
*/
|
|
348
|
-
static
|
|
391
|
+
static cancelSuspendedJobPost({ workspace, id, resumeId, signature, requestBody, approver, }) {
|
|
349
392
|
return __request(OpenAPI, {
|
|
350
393
|
method: 'POST',
|
|
351
|
-
url: '/w/{workspace}/jobs/cancel/{
|
|
394
|
+
url: '/w/{workspace}/jobs/cancel/{id}/{resume_id}/{signature}',
|
|
352
395
|
path: {
|
|
353
396
|
'workspace': workspace,
|
|
354
397
|
'id': id,
|
|
398
|
+
'resume_id': resumeId,
|
|
399
|
+
'signature': signature,
|
|
400
|
+
},
|
|
401
|
+
query: {
|
|
402
|
+
'approver': approver,
|
|
355
403
|
},
|
|
356
404
|
body: requestBody,
|
|
357
405
|
mediaType: 'application/json',
|
|
358
406
|
});
|
|
359
407
|
}
|
|
408
|
+
/**
|
|
409
|
+
* get parent flow job of suspended job
|
|
410
|
+
* @returns any parent flow details
|
|
411
|
+
* @throws ApiError
|
|
412
|
+
*/
|
|
413
|
+
static getSuspendedJobFlow({ workspace, id, resumeId, signature, approver, }) {
|
|
414
|
+
return __request(OpenAPI, {
|
|
415
|
+
method: 'GET',
|
|
416
|
+
url: '/w/{workspace}/jobs/get_flow/{id}/{resume_id}/{signature}',
|
|
417
|
+
path: {
|
|
418
|
+
'workspace': workspace,
|
|
419
|
+
'id': id,
|
|
420
|
+
'resume_id': resumeId,
|
|
421
|
+
'signature': signature,
|
|
422
|
+
},
|
|
423
|
+
query: {
|
|
424
|
+
'approver': approver,
|
|
425
|
+
},
|
|
426
|
+
});
|
|
427
|
+
}
|
|
360
428
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import type { SlackToken } from '../models/SlackToken';
|
|
2
1
|
import type { TokenResponse } from '../models/TokenResponse';
|
|
3
2
|
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
4
3
|
export declare class OauthService {
|
|
5
4
|
/**
|
|
6
5
|
* connect slack callback
|
|
7
|
-
* @returns
|
|
6
|
+
* @returns string slack token
|
|
8
7
|
* @throws ApiError
|
|
9
8
|
*/
|
|
10
|
-
static connectSlackCallback({ requestBody, }: {
|
|
9
|
+
static connectSlackCallback({ workspace, requestBody, }: {
|
|
10
|
+
workspace: string;
|
|
11
11
|
/**
|
|
12
12
|
* code endpoint
|
|
13
13
|
*/
|
|
@@ -15,7 +15,7 @@ export declare class OauthService {
|
|
|
15
15
|
code: string;
|
|
16
16
|
state: string;
|
|
17
17
|
};
|
|
18
|
-
}): CancelablePromise<
|
|
18
|
+
}): CancelablePromise<string>;
|
|
19
19
|
/**
|
|
20
20
|
* connect callback
|
|
21
21
|
* @returns TokenResponse oauth token
|
|
@@ -55,7 +55,7 @@ export declare class OauthService {
|
|
|
55
55
|
*/
|
|
56
56
|
static refreshToken({ workspace, id, requestBody, }: {
|
|
57
57
|
workspace: string;
|
|
58
|
-
id:
|
|
58
|
+
id: number;
|
|
59
59
|
/**
|
|
60
60
|
* variable path
|
|
61
61
|
*/
|
|
@@ -70,7 +70,7 @@ export declare class OauthService {
|
|
|
70
70
|
*/
|
|
71
71
|
static disconnectAccount({ workspace, id, }: {
|
|
72
72
|
workspace: string;
|
|
73
|
-
id:
|
|
73
|
+
id: number;
|
|
74
74
|
}): CancelablePromise<string>;
|
|
75
75
|
/**
|
|
76
76
|
* disconnect slack
|
|
@@ -80,15 +80,6 @@ export declare class OauthService {
|
|
|
80
80
|
static disconnectSlack({ workspace, }: {
|
|
81
81
|
workspace: string;
|
|
82
82
|
}): CancelablePromise<string>;
|
|
83
|
-
/**
|
|
84
|
-
* set workspace's slack
|
|
85
|
-
* @returns string workspace slack is set
|
|
86
|
-
* @throws ApiError
|
|
87
|
-
*/
|
|
88
|
-
static setWorkspaceSlack({ workspace, requestBody, }: {
|
|
89
|
-
workspace: string;
|
|
90
|
-
requestBody: SlackToken;
|
|
91
|
-
}): CancelablePromise<string>;
|
|
92
83
|
/**
|
|
93
84
|
* list oauth logins
|
|
94
85
|
* @returns string list of oauth login clients
|