@embedworkflow/sdk 1.0.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/README.md +45 -0
- package/dist/api/accounts-api.d.ts +172 -0
- package/dist/api/accounts-api.js +267 -0
- package/dist/api/action-types-api.d.ts +359 -0
- package/dist/api/action-types-api.js +571 -0
- package/dist/api/actions-api.d.ts +421 -0
- package/dist/api/actions-api.js +650 -0
- package/dist/api/app-connections-api.d.ts +295 -0
- package/dist/api/app-connections-api.js +461 -0
- package/dist/api/available-apps-api.d.ts +133 -0
- package/dist/api/available-apps-api.js +207 -0
- package/dist/api/data-fields-api.d.ts +173 -0
- package/dist/api/data-fields-api.js +267 -0
- package/dist/api/events-api.d.ts +100 -0
- package/dist/api/events-api.js +152 -0
- package/dist/api/executions-api.d.ts +196 -0
- package/dist/api/executions-api.js +303 -0
- package/dist/api/installed-apps-api.d.ts +219 -0
- package/dist/api/installed-apps-api.js +343 -0
- package/dist/api/payments-api.d.ts +100 -0
- package/dist/api/payments-api.js +152 -0
- package/dist/api/triggers-api.d.ts +232 -0
- package/dist/api/triggers-api.js +365 -0
- package/dist/api/users-api.d.ts +276 -0
- package/dist/api/users-api.js +433 -0
- package/dist/api/workflows-api.d.ts +605 -0
- package/dist/api/workflows-api.js +940 -0
- package/dist/api.d.ts +24 -0
- package/dist/api.js +42 -0
- package/dist/base.d.ts +66 -0
- package/dist/base.js +65 -0
- package/dist/common.d.ts +65 -0
- package/dist/common.js +161 -0
- package/dist/configuration.d.ts +91 -0
- package/dist/configuration.js +43 -0
- package/dist/esm/api/accounts-api.d.ts +172 -0
- package/dist/esm/api/accounts-api.js +260 -0
- package/dist/esm/api/action-types-api.d.ts +359 -0
- package/dist/esm/api/action-types-api.js +564 -0
- package/dist/esm/api/actions-api.d.ts +421 -0
- package/dist/esm/api/actions-api.js +643 -0
- package/dist/esm/api/app-connections-api.d.ts +295 -0
- package/dist/esm/api/app-connections-api.js +454 -0
- package/dist/esm/api/available-apps-api.d.ts +133 -0
- package/dist/esm/api/available-apps-api.js +200 -0
- package/dist/esm/api/data-fields-api.d.ts +173 -0
- package/dist/esm/api/data-fields-api.js +260 -0
- package/dist/esm/api/events-api.d.ts +100 -0
- package/dist/esm/api/events-api.js +145 -0
- package/dist/esm/api/executions-api.d.ts +196 -0
- package/dist/esm/api/executions-api.js +296 -0
- package/dist/esm/api/installed-apps-api.d.ts +219 -0
- package/dist/esm/api/installed-apps-api.js +336 -0
- package/dist/esm/api/payments-api.d.ts +100 -0
- package/dist/esm/api/payments-api.js +145 -0
- package/dist/esm/api/triggers-api.d.ts +232 -0
- package/dist/esm/api/triggers-api.js +358 -0
- package/dist/esm/api/users-api.d.ts +276 -0
- package/dist/esm/api/users-api.js +426 -0
- package/dist/esm/api/workflows-api.d.ts +605 -0
- package/dist/esm/api/workflows-api.js +933 -0
- package/dist/esm/api.d.ts +24 -0
- package/dist/esm/api.js +26 -0
- package/dist/esm/base.d.ts +66 -0
- package/dist/esm/base.js +60 -0
- package/dist/esm/common.d.ts +65 -0
- package/dist/esm/common.js +149 -0
- package/dist/esm/configuration.d.ts +91 -0
- package/dist/esm/configuration.js +39 -0
- package/dist/esm/index.d.ts +79 -0
- package/dist/esm/index.js +88 -0
- package/dist/esm/models/api-v1-action-types-post-request-form-draft-inner.d.ts +75 -0
- package/dist/esm/models/api-v1-action-types-post-request-form-draft-inner.js +25 -0
- package/dist/esm/models/api-v1-action-types-post-request-icon-draft.d.ts +36 -0
- package/dist/esm/models/api-v1-action-types-post-request-icon-draft.js +14 -0
- package/dist/esm/models/api-v1-action-types-post-request.d.ts +105 -0
- package/dist/esm/models/api-v1-action-types-post-request.js +14 -0
- package/dist/esm/models/api-v1-app-connections-post-request.d.ts +42 -0
- package/dist/esm/models/api-v1-app-connections-post-request.js +14 -0
- package/dist/esm/models/clone-workflow201-response.d.ts +183 -0
- package/dist/esm/models/clone-workflow201-response.js +17 -0
- package/dist/esm/models/create-user-token-request.d.ts +31 -0
- package/dist/esm/models/create-user-token-request.js +14 -0
- package/dist/esm/models/create-user-token200-response.d.ts +24 -0
- package/dist/esm/models/create-user-token200-response.js +14 -0
- package/dist/esm/models/create-workflow-request-template-draft-nodes-inner.d.ts +132 -0
- package/dist/esm/models/create-workflow-request-template-draft-nodes-inner.js +25 -0
- package/dist/esm/models/create-workflow-request-template-draft.d.ts +31 -0
- package/dist/esm/models/create-workflow-request-template-draft.js +14 -0
- package/dist/esm/models/create-workflow-request.d.ts +67 -0
- package/dist/esm/models/create-workflow-request.js +14 -0
- package/dist/esm/models/delete-workflow200-response-one-of.d.ts +24 -0
- package/dist/esm/models/delete-workflow200-response-one-of.js +14 -0
- package/dist/esm/models/delete-workflow200-response-one-of1.d.ts +24 -0
- package/dist/esm/models/delete-workflow200-response-one-of1.js +14 -0
- package/dist/esm/models/delete-workflow200-response.d.ts +19 -0
- package/dist/esm/models/delete-workflow200-response.js +14 -0
- package/dist/esm/models/discard-workflow-draft-request.d.ts +30 -0
- package/dist/esm/models/discard-workflow-draft-request.js +14 -0
- package/dist/esm/models/execute-workflow-request.d.ts +43 -0
- package/dist/esm/models/execute-workflow-request.js +17 -0
- package/dist/esm/models/execute-workflow201-response.d.ts +122 -0
- package/dist/esm/models/execute-workflow201-response.js +14 -0
- package/dist/esm/models/import-configuration-request-schema.d.ts +19 -0
- package/dist/esm/models/import-configuration-request-schema.js +14 -0
- package/dist/esm/models/import-configuration-request.d.ts +38 -0
- package/dist/esm/models/import-configuration-request.js +18 -0
- package/dist/esm/models/import-configuration201-response.d.ts +48 -0
- package/dist/esm/models/import-configuration201-response.js +14 -0
- package/dist/esm/models/index.d.ts +59 -0
- package/dist/esm/models/index.js +59 -0
- package/dist/esm/models/install-app-request.d.ts +30 -0
- package/dist/esm/models/install-app-request.js +14 -0
- package/dist/esm/models/list-action-types200-response-collection-inner.d.ts +260 -0
- package/dist/esm/models/list-action-types200-response-collection-inner.js +27 -0
- package/dist/esm/models/list-action-types200-response-meta.d.ts +36 -0
- package/dist/esm/models/list-action-types200-response-meta.js +14 -0
- package/dist/esm/models/list-action-types200-response.d.ts +32 -0
- package/dist/esm/models/list-action-types200-response.js +14 -0
- package/dist/esm/models/list-actions200-response-collection-inner.d.ts +144 -0
- package/dist/esm/models/list-actions200-response-collection-inner.js +14 -0
- package/dist/esm/models/list-actions200-response.d.ts +32 -0
- package/dist/esm/models/list-actions200-response.js +14 -0
- package/dist/esm/models/list-app-connections200-response-collection-inner.d.ts +66 -0
- package/dist/esm/models/list-app-connections200-response-collection-inner.js +14 -0
- package/dist/esm/models/list-app-connections200-response.d.ts +32 -0
- package/dist/esm/models/list-app-connections200-response.js +14 -0
- package/dist/esm/models/list-available-apps200-response-collection-inner.d.ts +66 -0
- package/dist/esm/models/list-available-apps200-response-collection-inner.js +14 -0
- package/dist/esm/models/list-available-apps200-response.d.ts +32 -0
- package/dist/esm/models/list-available-apps200-response.js +14 -0
- package/dist/esm/models/list-data-fields-type-parameter.d.ts +16 -0
- package/dist/esm/models/list-data-fields-type-parameter.js +14 -0
- package/dist/esm/models/list-data-fields200-response-collection-inner.d.ts +84 -0
- package/dist/esm/models/list-data-fields200-response-collection-inner.js +14 -0
- package/dist/esm/models/list-data-fields200-response.d.ts +32 -0
- package/dist/esm/models/list-data-fields200-response.js +14 -0
- package/dist/esm/models/list-events200-response-collection-inner.d.ts +78 -0
- package/dist/esm/models/list-events200-response-collection-inner.js +14 -0
- package/dist/esm/models/list-events200-response.d.ts +32 -0
- package/dist/esm/models/list-events200-response.js +14 -0
- package/dist/esm/models/list-installed-apps200-response-collection-inner.d.ts +114 -0
- package/dist/esm/models/list-installed-apps200-response-collection-inner.js +14 -0
- package/dist/esm/models/list-installed-apps200-response.d.ts +32 -0
- package/dist/esm/models/list-installed-apps200-response.js +14 -0
- package/dist/esm/models/list-triggers200-response-collection-inner.d.ts +102 -0
- package/dist/esm/models/list-triggers200-response-collection-inner.js +14 -0
- package/dist/esm/models/list-triggers200-response.d.ts +32 -0
- package/dist/esm/models/list-triggers200-response.js +14 -0
- package/dist/esm/models/list-users200-response-collection-inner.d.ts +84 -0
- package/dist/esm/models/list-users200-response-collection-inner.js +14 -0
- package/dist/esm/models/list-users200-response.d.ts +32 -0
- package/dist/esm/models/list-users200-response.js +14 -0
- package/dist/esm/models/list-workflow-executions200-response.d.ts +32 -0
- package/dist/esm/models/list-workflow-executions200-response.js +14 -0
- package/dist/esm/models/list-workflow-versions200-response-collection-inner.d.ts +60 -0
- package/dist/esm/models/list-workflow-versions200-response-collection-inner.js +14 -0
- package/dist/esm/models/list-workflow-versions200-response.d.ts +32 -0
- package/dist/esm/models/list-workflow-versions200-response.js +14 -0
- package/dist/esm/models/publish-workflow-request.d.ts +24 -0
- package/dist/esm/models/publish-workflow-request.js +14 -0
- package/dist/esm/models/retrieve-account200-response.d.ts +92 -0
- package/dist/esm/models/retrieve-account200-response.js +14 -0
- package/dist/esm/models/retrieve-action-type404-response.d.ts +36 -0
- package/dist/esm/models/retrieve-action-type404-response.js +14 -0
- package/dist/esm/models/retrieve-available-app200-response.d.ts +74 -0
- package/dist/esm/models/retrieve-available-app200-response.js +14 -0
- package/dist/esm/models/retrieve-execution200-response.d.ts +136 -0
- package/dist/esm/models/retrieve-execution200-response.js +14 -0
- package/dist/esm/models/retrieve-installed-app200-response.d.ts +122 -0
- package/dist/esm/models/retrieve-installed-app200-response.js +14 -0
- package/dist/esm/models/retrieve-workflow200-response.d.ts +215 -0
- package/dist/esm/models/retrieve-workflow200-response.js +17 -0
- package/dist/esm/models/retry-action-request.d.ts +31 -0
- package/dist/esm/models/retry-action-request.js +14 -0
- package/dist/esm/models/stop-executions-request.d.ts +31 -0
- package/dist/esm/models/stop-executions-request.js +14 -0
- package/dist/esm/models/trigger-workflow-request.d.ts +50 -0
- package/dist/esm/models/trigger-workflow-request.js +14 -0
- package/dist/esm/models/update-account-request-user-data-schema-inner.d.ts +48 -0
- package/dist/esm/models/update-account-request-user-data-schema-inner.js +14 -0
- package/dist/esm/models/update-account-request.d.ts +75 -0
- package/dist/esm/models/update-account-request.js +14 -0
- package/dist/esm/models/update-action-type-request.d.ts +30 -0
- package/dist/esm/models/update-action-type-request.js +14 -0
- package/dist/esm/models/update-installed-app-request.d.ts +24 -0
- package/dist/esm/models/update-installed-app-request.js +14 -0
- package/dist/esm/models/update-workflow-request.d.ts +79 -0
- package/dist/esm/models/update-workflow-request.js +14 -0
- package/dist/esm/models/upsert-user-request.d.ts +44 -0
- package/dist/esm/models/upsert-user-request.js +14 -0
- package/dist/index.d.ts +79 -0
- package/dist/index.js +106 -0
- package/dist/models/api-v1-action-types-post-request-form-draft-inner.d.ts +75 -0
- package/dist/models/api-v1-action-types-post-request-form-draft-inner.js +28 -0
- package/dist/models/api-v1-action-types-post-request-icon-draft.d.ts +36 -0
- package/dist/models/api-v1-action-types-post-request-icon-draft.js +15 -0
- package/dist/models/api-v1-action-types-post-request.d.ts +105 -0
- package/dist/models/api-v1-action-types-post-request.js +15 -0
- package/dist/models/api-v1-app-connections-post-request.d.ts +42 -0
- package/dist/models/api-v1-app-connections-post-request.js +15 -0
- package/dist/models/clone-workflow201-response.d.ts +183 -0
- package/dist/models/clone-workflow201-response.js +20 -0
- package/dist/models/create-user-token-request.d.ts +31 -0
- package/dist/models/create-user-token-request.js +15 -0
- package/dist/models/create-user-token200-response.d.ts +24 -0
- package/dist/models/create-user-token200-response.js +15 -0
- package/dist/models/create-workflow-request-template-draft-nodes-inner.d.ts +132 -0
- package/dist/models/create-workflow-request-template-draft-nodes-inner.js +28 -0
- package/dist/models/create-workflow-request-template-draft.d.ts +31 -0
- package/dist/models/create-workflow-request-template-draft.js +15 -0
- package/dist/models/create-workflow-request.d.ts +67 -0
- package/dist/models/create-workflow-request.js +15 -0
- package/dist/models/delete-workflow200-response-one-of.d.ts +24 -0
- package/dist/models/delete-workflow200-response-one-of.js +15 -0
- package/dist/models/delete-workflow200-response-one-of1.d.ts +24 -0
- package/dist/models/delete-workflow200-response-one-of1.js +15 -0
- package/dist/models/delete-workflow200-response.d.ts +19 -0
- package/dist/models/delete-workflow200-response.js +15 -0
- package/dist/models/discard-workflow-draft-request.d.ts +30 -0
- package/dist/models/discard-workflow-draft-request.js +15 -0
- package/dist/models/execute-workflow-request.d.ts +43 -0
- package/dist/models/execute-workflow-request.js +20 -0
- package/dist/models/execute-workflow201-response.d.ts +122 -0
- package/dist/models/execute-workflow201-response.js +15 -0
- package/dist/models/import-configuration-request-schema.d.ts +19 -0
- package/dist/models/import-configuration-request-schema.js +15 -0
- package/dist/models/import-configuration-request.d.ts +38 -0
- package/dist/models/import-configuration-request.js +21 -0
- package/dist/models/import-configuration201-response.d.ts +48 -0
- package/dist/models/import-configuration201-response.js +15 -0
- package/dist/models/index.d.ts +59 -0
- package/dist/models/index.js +75 -0
- package/dist/models/install-app-request.d.ts +30 -0
- package/dist/models/install-app-request.js +15 -0
- package/dist/models/list-action-types200-response-collection-inner.d.ts +260 -0
- package/dist/models/list-action-types200-response-collection-inner.js +30 -0
- package/dist/models/list-action-types200-response-meta.d.ts +36 -0
- package/dist/models/list-action-types200-response-meta.js +15 -0
- package/dist/models/list-action-types200-response.d.ts +32 -0
- package/dist/models/list-action-types200-response.js +15 -0
- package/dist/models/list-actions200-response-collection-inner.d.ts +144 -0
- package/dist/models/list-actions200-response-collection-inner.js +15 -0
- package/dist/models/list-actions200-response.d.ts +32 -0
- package/dist/models/list-actions200-response.js +15 -0
- package/dist/models/list-app-connections200-response-collection-inner.d.ts +66 -0
- package/dist/models/list-app-connections200-response-collection-inner.js +15 -0
- package/dist/models/list-app-connections200-response.d.ts +32 -0
- package/dist/models/list-app-connections200-response.js +15 -0
- package/dist/models/list-available-apps200-response-collection-inner.d.ts +66 -0
- package/dist/models/list-available-apps200-response-collection-inner.js +15 -0
- package/dist/models/list-available-apps200-response.d.ts +32 -0
- package/dist/models/list-available-apps200-response.js +15 -0
- package/dist/models/list-data-fields-type-parameter.d.ts +16 -0
- package/dist/models/list-data-fields-type-parameter.js +15 -0
- package/dist/models/list-data-fields200-response-collection-inner.d.ts +84 -0
- package/dist/models/list-data-fields200-response-collection-inner.js +15 -0
- package/dist/models/list-data-fields200-response.d.ts +32 -0
- package/dist/models/list-data-fields200-response.js +15 -0
- package/dist/models/list-events200-response-collection-inner.d.ts +78 -0
- package/dist/models/list-events200-response-collection-inner.js +15 -0
- package/dist/models/list-events200-response.d.ts +32 -0
- package/dist/models/list-events200-response.js +15 -0
- package/dist/models/list-installed-apps200-response-collection-inner.d.ts +114 -0
- package/dist/models/list-installed-apps200-response-collection-inner.js +15 -0
- package/dist/models/list-installed-apps200-response.d.ts +32 -0
- package/dist/models/list-installed-apps200-response.js +15 -0
- package/dist/models/list-triggers200-response-collection-inner.d.ts +102 -0
- package/dist/models/list-triggers200-response-collection-inner.js +15 -0
- package/dist/models/list-triggers200-response.d.ts +32 -0
- package/dist/models/list-triggers200-response.js +15 -0
- package/dist/models/list-users200-response-collection-inner.d.ts +84 -0
- package/dist/models/list-users200-response-collection-inner.js +15 -0
- package/dist/models/list-users200-response.d.ts +32 -0
- package/dist/models/list-users200-response.js +15 -0
- package/dist/models/list-workflow-executions200-response.d.ts +32 -0
- package/dist/models/list-workflow-executions200-response.js +15 -0
- package/dist/models/list-workflow-versions200-response-collection-inner.d.ts +60 -0
- package/dist/models/list-workflow-versions200-response-collection-inner.js +15 -0
- package/dist/models/list-workflow-versions200-response.d.ts +32 -0
- package/dist/models/list-workflow-versions200-response.js +15 -0
- package/dist/models/publish-workflow-request.d.ts +24 -0
- package/dist/models/publish-workflow-request.js +15 -0
- package/dist/models/retrieve-account200-response.d.ts +92 -0
- package/dist/models/retrieve-account200-response.js +15 -0
- package/dist/models/retrieve-action-type404-response.d.ts +36 -0
- package/dist/models/retrieve-action-type404-response.js +15 -0
- package/dist/models/retrieve-available-app200-response.d.ts +74 -0
- package/dist/models/retrieve-available-app200-response.js +15 -0
- package/dist/models/retrieve-execution200-response.d.ts +136 -0
- package/dist/models/retrieve-execution200-response.js +15 -0
- package/dist/models/retrieve-installed-app200-response.d.ts +122 -0
- package/dist/models/retrieve-installed-app200-response.js +15 -0
- package/dist/models/retrieve-workflow200-response.d.ts +215 -0
- package/dist/models/retrieve-workflow200-response.js +20 -0
- package/dist/models/retry-action-request.d.ts +31 -0
- package/dist/models/retry-action-request.js +15 -0
- package/dist/models/stop-executions-request.d.ts +31 -0
- package/dist/models/stop-executions-request.js +15 -0
- package/dist/models/trigger-workflow-request.d.ts +50 -0
- package/dist/models/trigger-workflow-request.js +15 -0
- package/dist/models/update-account-request-user-data-schema-inner.d.ts +48 -0
- package/dist/models/update-account-request-user-data-schema-inner.js +15 -0
- package/dist/models/update-account-request.d.ts +75 -0
- package/dist/models/update-account-request.js +15 -0
- package/dist/models/update-action-type-request.d.ts +30 -0
- package/dist/models/update-action-type-request.js +15 -0
- package/dist/models/update-installed-app-request.d.ts +24 -0
- package/dist/models/update-installed-app-request.js +15 -0
- package/dist/models/update-workflow-request.d.ts +79 -0
- package/dist/models/update-workflow-request.js +15 -0
- package/dist/models/upsert-user-request.d.ts +44 -0
- package/dist/models/upsert-user-request.js +15 -0
- package/package.json +38 -0
|
@@ -0,0 +1,605 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* API V1
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { Configuration } from '../configuration';
|
|
13
|
+
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
|
+
import { RequestArgs, BaseAPI } from '../base';
|
|
15
|
+
import { CloneWorkflow201Response } from '../models';
|
|
16
|
+
import { CreateWorkflowRequest } from '../models';
|
|
17
|
+
import { DeleteWorkflow200Response } from '../models';
|
|
18
|
+
import { DiscardWorkflowDraftRequest } from '../models';
|
|
19
|
+
import { ExecuteWorkflow201Response } from '../models';
|
|
20
|
+
import { ExecuteWorkflowRequest } from '../models';
|
|
21
|
+
import { ListWorkflowVersions200Response } from '../models';
|
|
22
|
+
import { PublishWorkflowRequest } from '../models';
|
|
23
|
+
import { RetrieveWorkflow200Response } from '../models';
|
|
24
|
+
import { TriggerWorkflowRequest } from '../models';
|
|
25
|
+
import { UpdateWorkflowRequest } from '../models';
|
|
26
|
+
/**
|
|
27
|
+
* WorkflowsApi - axios parameter creator
|
|
28
|
+
* @export
|
|
29
|
+
*/
|
|
30
|
+
export declare const WorkflowsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @summary Clone workflow
|
|
34
|
+
* @param {string} id System-generated unique identifier
|
|
35
|
+
* @param {DiscardWorkflowDraftRequest} [discardWorkflowDraftRequest]
|
|
36
|
+
* @param {*} [options] Override http request option.
|
|
37
|
+
* @throws {RequiredError}
|
|
38
|
+
*/
|
|
39
|
+
cloneWorkflow: (id: string, discardWorkflowDraftRequest?: DiscardWorkflowDraftRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @summary Create workflow
|
|
43
|
+
* @param {CreateWorkflowRequest} [createWorkflowRequest]
|
|
44
|
+
* @param {*} [options] Override http request option.
|
|
45
|
+
* @throws {RequiredError}
|
|
46
|
+
*/
|
|
47
|
+
createWorkflow: (createWorkflowRequest?: CreateWorkflowRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @summary Delete workflow
|
|
51
|
+
* @param {string} id System-generated unique identifier
|
|
52
|
+
* @param {string} [idType] Type of identifier used in the URL
|
|
53
|
+
* @param {string} [userKey] Unique user identifier
|
|
54
|
+
* @param {*} [options] Override http request option.
|
|
55
|
+
* @throws {RequiredError}
|
|
56
|
+
*/
|
|
57
|
+
deleteWorkflow: (id: string, idType?: string, userKey?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @summary Discard workflow draft
|
|
61
|
+
* @param {string} id System-generated unique identifier
|
|
62
|
+
* @param {DiscardWorkflowDraftRequest} [discardWorkflowDraftRequest]
|
|
63
|
+
* @param {*} [options] Override http request option.
|
|
64
|
+
* @throws {RequiredError}
|
|
65
|
+
*/
|
|
66
|
+
discardWorkflowDraft: (id: string, discardWorkflowDraftRequest?: DiscardWorkflowDraftRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @summary Execute workflow
|
|
70
|
+
* @param {string} id System-generated unique identifier
|
|
71
|
+
* @param {ExecuteWorkflowRequest} [executeWorkflowRequest]
|
|
72
|
+
* @param {*} [options] Override http request option.
|
|
73
|
+
* @throws {RequiredError}
|
|
74
|
+
*/
|
|
75
|
+
executeWorkflow: (id: string, executeWorkflowRequest?: ExecuteWorkflowRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
76
|
+
/**
|
|
77
|
+
*
|
|
78
|
+
* @summary List workflow versions
|
|
79
|
+
* @param {string} workflowId Filter results by workflow id
|
|
80
|
+
* @param {string} [startingAfter] Cursor for pagination - return results after this ID
|
|
81
|
+
* @param {string} [endingBefore] Cursor for pagination - return results before this ID
|
|
82
|
+
* @param {number} [limit] Number of items to return (max 100)
|
|
83
|
+
* @param {string} [userKey] Unique user identifier
|
|
84
|
+
* @param {*} [options] Override http request option.
|
|
85
|
+
* @throws {RequiredError}
|
|
86
|
+
*/
|
|
87
|
+
listWorkflowVersions: (workflowId: string, startingAfter?: string, endingBefore?: string, limit?: number, userKey?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
88
|
+
/**
|
|
89
|
+
*
|
|
90
|
+
* @summary List workflows
|
|
91
|
+
* @param {string} [startingAfter] Cursor for pagination - return results after this ID
|
|
92
|
+
* @param {string} [endingBefore] Cursor for pagination - return results before this ID
|
|
93
|
+
* @param {number} [limit] Number of items to return (max 100)
|
|
94
|
+
* @param {Array<string>} [expand] Expand related objects
|
|
95
|
+
* @param {*} [options] Override http request option.
|
|
96
|
+
* @throws {RequiredError}
|
|
97
|
+
*/
|
|
98
|
+
listWorkflows: (startingAfter?: string, endingBefore?: string, limit?: number, expand?: Array<string>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
99
|
+
/**
|
|
100
|
+
*
|
|
101
|
+
* @summary Publish workflow
|
|
102
|
+
* @param {string} id System-generated unique identifier
|
|
103
|
+
* @param {PublishWorkflowRequest} [publishWorkflowRequest]
|
|
104
|
+
* @param {*} [options] Override http request option.
|
|
105
|
+
* @throws {RequiredError}
|
|
106
|
+
*/
|
|
107
|
+
publishWorkflow: (id: string, publishWorkflowRequest?: PublishWorkflowRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
108
|
+
/**
|
|
109
|
+
*
|
|
110
|
+
* @summary Retrieve workflow
|
|
111
|
+
* @param {string} id System-generated unique identifier
|
|
112
|
+
* @param {string} [idType] Type of identifier used in the URL
|
|
113
|
+
* @param {string} [userKey] Unique user identifier
|
|
114
|
+
* @param {Array<string>} [expand] Expand related objects
|
|
115
|
+
* @param {*} [options] Override http request option.
|
|
116
|
+
* @throws {RequiredError}
|
|
117
|
+
*/
|
|
118
|
+
retrieveWorkflow: (id: string, idType?: string, userKey?: string, expand?: Array<string>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
119
|
+
/**
|
|
120
|
+
*
|
|
121
|
+
* @summary Trigger workflow
|
|
122
|
+
* @param {TriggerWorkflowRequest} [triggerWorkflowRequest]
|
|
123
|
+
* @param {*} [options] Override http request option.
|
|
124
|
+
* @throws {RequiredError}
|
|
125
|
+
*/
|
|
126
|
+
triggerWorkflow: (triggerWorkflowRequest?: TriggerWorkflowRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
127
|
+
/**
|
|
128
|
+
*
|
|
129
|
+
* @summary Update workflow
|
|
130
|
+
* @param {string} id System-generated unique identifier
|
|
131
|
+
* @param {UpdateWorkflowRequest} [updateWorkflowRequest]
|
|
132
|
+
* @param {*} [options] Override http request option.
|
|
133
|
+
* @throws {RequiredError}
|
|
134
|
+
*/
|
|
135
|
+
updateWorkflow: (id: string, updateWorkflowRequest?: UpdateWorkflowRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
136
|
+
};
|
|
137
|
+
/**
|
|
138
|
+
* WorkflowsApi - functional programming interface
|
|
139
|
+
* @export
|
|
140
|
+
*/
|
|
141
|
+
export declare const WorkflowsApiFp: (configuration?: Configuration) => {
|
|
142
|
+
/**
|
|
143
|
+
*
|
|
144
|
+
* @summary Clone workflow
|
|
145
|
+
* @param {string} id System-generated unique identifier
|
|
146
|
+
* @param {DiscardWorkflowDraftRequest} [discardWorkflowDraftRequest]
|
|
147
|
+
* @param {*} [options] Override http request option.
|
|
148
|
+
* @throws {RequiredError}
|
|
149
|
+
*/
|
|
150
|
+
cloneWorkflow(id: string, discardWorkflowDraftRequest?: DiscardWorkflowDraftRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CloneWorkflow201Response>>;
|
|
151
|
+
/**
|
|
152
|
+
*
|
|
153
|
+
* @summary Create workflow
|
|
154
|
+
* @param {CreateWorkflowRequest} [createWorkflowRequest]
|
|
155
|
+
* @param {*} [options] Override http request option.
|
|
156
|
+
* @throws {RequiredError}
|
|
157
|
+
*/
|
|
158
|
+
createWorkflow(createWorkflowRequest?: CreateWorkflowRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
159
|
+
/**
|
|
160
|
+
*
|
|
161
|
+
* @summary Delete workflow
|
|
162
|
+
* @param {string} id System-generated unique identifier
|
|
163
|
+
* @param {string} [idType] Type of identifier used in the URL
|
|
164
|
+
* @param {string} [userKey] Unique user identifier
|
|
165
|
+
* @param {*} [options] Override http request option.
|
|
166
|
+
* @throws {RequiredError}
|
|
167
|
+
*/
|
|
168
|
+
deleteWorkflow(id: string, idType?: string, userKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteWorkflow200Response>>;
|
|
169
|
+
/**
|
|
170
|
+
*
|
|
171
|
+
* @summary Discard workflow draft
|
|
172
|
+
* @param {string} id System-generated unique identifier
|
|
173
|
+
* @param {DiscardWorkflowDraftRequest} [discardWorkflowDraftRequest]
|
|
174
|
+
* @param {*} [options] Override http request option.
|
|
175
|
+
* @throws {RequiredError}
|
|
176
|
+
*/
|
|
177
|
+
discardWorkflowDraft(id: string, discardWorkflowDraftRequest?: DiscardWorkflowDraftRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RetrieveWorkflow200Response>>;
|
|
178
|
+
/**
|
|
179
|
+
*
|
|
180
|
+
* @summary Execute workflow
|
|
181
|
+
* @param {string} id System-generated unique identifier
|
|
182
|
+
* @param {ExecuteWorkflowRequest} [executeWorkflowRequest]
|
|
183
|
+
* @param {*} [options] Override http request option.
|
|
184
|
+
* @throws {RequiredError}
|
|
185
|
+
*/
|
|
186
|
+
executeWorkflow(id: string, executeWorkflowRequest?: ExecuteWorkflowRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ExecuteWorkflow201Response>>;
|
|
187
|
+
/**
|
|
188
|
+
*
|
|
189
|
+
* @summary List workflow versions
|
|
190
|
+
* @param {string} workflowId Filter results by workflow id
|
|
191
|
+
* @param {string} [startingAfter] Cursor for pagination - return results after this ID
|
|
192
|
+
* @param {string} [endingBefore] Cursor for pagination - return results before this ID
|
|
193
|
+
* @param {number} [limit] Number of items to return (max 100)
|
|
194
|
+
* @param {string} [userKey] Unique user identifier
|
|
195
|
+
* @param {*} [options] Override http request option.
|
|
196
|
+
* @throws {RequiredError}
|
|
197
|
+
*/
|
|
198
|
+
listWorkflowVersions(workflowId: string, startingAfter?: string, endingBefore?: string, limit?: number, userKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListWorkflowVersions200Response>>;
|
|
199
|
+
/**
|
|
200
|
+
*
|
|
201
|
+
* @summary List workflows
|
|
202
|
+
* @param {string} [startingAfter] Cursor for pagination - return results after this ID
|
|
203
|
+
* @param {string} [endingBefore] Cursor for pagination - return results before this ID
|
|
204
|
+
* @param {number} [limit] Number of items to return (max 100)
|
|
205
|
+
* @param {Array<string>} [expand] Expand related objects
|
|
206
|
+
* @param {*} [options] Override http request option.
|
|
207
|
+
* @throws {RequiredError}
|
|
208
|
+
*/
|
|
209
|
+
listWorkflows(startingAfter?: string, endingBefore?: string, limit?: number, expand?: Array<string>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
210
|
+
/**
|
|
211
|
+
*
|
|
212
|
+
* @summary Publish workflow
|
|
213
|
+
* @param {string} id System-generated unique identifier
|
|
214
|
+
* @param {PublishWorkflowRequest} [publishWorkflowRequest]
|
|
215
|
+
* @param {*} [options] Override http request option.
|
|
216
|
+
* @throws {RequiredError}
|
|
217
|
+
*/
|
|
218
|
+
publishWorkflow(id: string, publishWorkflowRequest?: PublishWorkflowRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RetrieveWorkflow200Response>>;
|
|
219
|
+
/**
|
|
220
|
+
*
|
|
221
|
+
* @summary Retrieve workflow
|
|
222
|
+
* @param {string} id System-generated unique identifier
|
|
223
|
+
* @param {string} [idType] Type of identifier used in the URL
|
|
224
|
+
* @param {string} [userKey] Unique user identifier
|
|
225
|
+
* @param {Array<string>} [expand] Expand related objects
|
|
226
|
+
* @param {*} [options] Override http request option.
|
|
227
|
+
* @throws {RequiredError}
|
|
228
|
+
*/
|
|
229
|
+
retrieveWorkflow(id: string, idType?: string, userKey?: string, expand?: Array<string>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RetrieveWorkflow200Response>>;
|
|
230
|
+
/**
|
|
231
|
+
*
|
|
232
|
+
* @summary Trigger workflow
|
|
233
|
+
* @param {TriggerWorkflowRequest} [triggerWorkflowRequest]
|
|
234
|
+
* @param {*} [options] Override http request option.
|
|
235
|
+
* @throws {RequiredError}
|
|
236
|
+
*/
|
|
237
|
+
triggerWorkflow(triggerWorkflowRequest?: TriggerWorkflowRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
238
|
+
/**
|
|
239
|
+
*
|
|
240
|
+
* @summary Update workflow
|
|
241
|
+
* @param {string} id System-generated unique identifier
|
|
242
|
+
* @param {UpdateWorkflowRequest} [updateWorkflowRequest]
|
|
243
|
+
* @param {*} [options] Override http request option.
|
|
244
|
+
* @throws {RequiredError}
|
|
245
|
+
*/
|
|
246
|
+
updateWorkflow(id: string, updateWorkflowRequest?: UpdateWorkflowRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
247
|
+
};
|
|
248
|
+
/**
|
|
249
|
+
* WorkflowsApi - factory interface
|
|
250
|
+
* @export
|
|
251
|
+
*/
|
|
252
|
+
export declare const WorkflowsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
253
|
+
/**
|
|
254
|
+
*
|
|
255
|
+
* @summary Clone workflow
|
|
256
|
+
* @param {string} id System-generated unique identifier
|
|
257
|
+
* @param {DiscardWorkflowDraftRequest} [discardWorkflowDraftRequest]
|
|
258
|
+
* @param {*} [options] Override http request option.
|
|
259
|
+
* @throws {RequiredError}
|
|
260
|
+
*/
|
|
261
|
+
cloneWorkflow(id: string, discardWorkflowDraftRequest?: DiscardWorkflowDraftRequest, options?: any): AxiosPromise<CloneWorkflow201Response>;
|
|
262
|
+
/**
|
|
263
|
+
*
|
|
264
|
+
* @summary Create workflow
|
|
265
|
+
* @param {CreateWorkflowRequest} [createWorkflowRequest]
|
|
266
|
+
* @param {*} [options] Override http request option.
|
|
267
|
+
* @throws {RequiredError}
|
|
268
|
+
*/
|
|
269
|
+
createWorkflow(createWorkflowRequest?: CreateWorkflowRequest, options?: any): AxiosPromise<void>;
|
|
270
|
+
/**
|
|
271
|
+
*
|
|
272
|
+
* @summary Delete workflow
|
|
273
|
+
* @param {string} id System-generated unique identifier
|
|
274
|
+
* @param {string} [idType] Type of identifier used in the URL
|
|
275
|
+
* @param {string} [userKey] Unique user identifier
|
|
276
|
+
* @param {*} [options] Override http request option.
|
|
277
|
+
* @throws {RequiredError}
|
|
278
|
+
*/
|
|
279
|
+
deleteWorkflow(id: string, idType?: string, userKey?: string, options?: any): AxiosPromise<DeleteWorkflow200Response>;
|
|
280
|
+
/**
|
|
281
|
+
*
|
|
282
|
+
* @summary Discard workflow draft
|
|
283
|
+
* @param {string} id System-generated unique identifier
|
|
284
|
+
* @param {DiscardWorkflowDraftRequest} [discardWorkflowDraftRequest]
|
|
285
|
+
* @param {*} [options] Override http request option.
|
|
286
|
+
* @throws {RequiredError}
|
|
287
|
+
*/
|
|
288
|
+
discardWorkflowDraft(id: string, discardWorkflowDraftRequest?: DiscardWorkflowDraftRequest, options?: any): AxiosPromise<RetrieveWorkflow200Response>;
|
|
289
|
+
/**
|
|
290
|
+
*
|
|
291
|
+
* @summary Execute workflow
|
|
292
|
+
* @param {string} id System-generated unique identifier
|
|
293
|
+
* @param {ExecuteWorkflowRequest} [executeWorkflowRequest]
|
|
294
|
+
* @param {*} [options] Override http request option.
|
|
295
|
+
* @throws {RequiredError}
|
|
296
|
+
*/
|
|
297
|
+
executeWorkflow(id: string, executeWorkflowRequest?: ExecuteWorkflowRequest, options?: any): AxiosPromise<ExecuteWorkflow201Response>;
|
|
298
|
+
/**
|
|
299
|
+
*
|
|
300
|
+
* @summary List workflow versions
|
|
301
|
+
* @param {string} workflowId Filter results by workflow id
|
|
302
|
+
* @param {string} [startingAfter] Cursor for pagination - return results after this ID
|
|
303
|
+
* @param {string} [endingBefore] Cursor for pagination - return results before this ID
|
|
304
|
+
* @param {number} [limit] Number of items to return (max 100)
|
|
305
|
+
* @param {string} [userKey] Unique user identifier
|
|
306
|
+
* @param {*} [options] Override http request option.
|
|
307
|
+
* @throws {RequiredError}
|
|
308
|
+
*/
|
|
309
|
+
listWorkflowVersions(workflowId: string, startingAfter?: string, endingBefore?: string, limit?: number, userKey?: string, options?: any): AxiosPromise<ListWorkflowVersions200Response>;
|
|
310
|
+
/**
|
|
311
|
+
*
|
|
312
|
+
* @summary List workflows
|
|
313
|
+
* @param {string} [startingAfter] Cursor for pagination - return results after this ID
|
|
314
|
+
* @param {string} [endingBefore] Cursor for pagination - return results before this ID
|
|
315
|
+
* @param {number} [limit] Number of items to return (max 100)
|
|
316
|
+
* @param {Array<string>} [expand] Expand related objects
|
|
317
|
+
* @param {*} [options] Override http request option.
|
|
318
|
+
* @throws {RequiredError}
|
|
319
|
+
*/
|
|
320
|
+
listWorkflows(startingAfter?: string, endingBefore?: string, limit?: number, expand?: Array<string>, options?: any): AxiosPromise<void>;
|
|
321
|
+
/**
|
|
322
|
+
*
|
|
323
|
+
* @summary Publish workflow
|
|
324
|
+
* @param {string} id System-generated unique identifier
|
|
325
|
+
* @param {PublishWorkflowRequest} [publishWorkflowRequest]
|
|
326
|
+
* @param {*} [options] Override http request option.
|
|
327
|
+
* @throws {RequiredError}
|
|
328
|
+
*/
|
|
329
|
+
publishWorkflow(id: string, publishWorkflowRequest?: PublishWorkflowRequest, options?: any): AxiosPromise<RetrieveWorkflow200Response>;
|
|
330
|
+
/**
|
|
331
|
+
*
|
|
332
|
+
* @summary Retrieve workflow
|
|
333
|
+
* @param {string} id System-generated unique identifier
|
|
334
|
+
* @param {string} [idType] Type of identifier used in the URL
|
|
335
|
+
* @param {string} [userKey] Unique user identifier
|
|
336
|
+
* @param {Array<string>} [expand] Expand related objects
|
|
337
|
+
* @param {*} [options] Override http request option.
|
|
338
|
+
* @throws {RequiredError}
|
|
339
|
+
*/
|
|
340
|
+
retrieveWorkflow(id: string, idType?: string, userKey?: string, expand?: Array<string>, options?: any): AxiosPromise<RetrieveWorkflow200Response>;
|
|
341
|
+
/**
|
|
342
|
+
*
|
|
343
|
+
* @summary Trigger workflow
|
|
344
|
+
* @param {TriggerWorkflowRequest} [triggerWorkflowRequest]
|
|
345
|
+
* @param {*} [options] Override http request option.
|
|
346
|
+
* @throws {RequiredError}
|
|
347
|
+
*/
|
|
348
|
+
triggerWorkflow(triggerWorkflowRequest?: TriggerWorkflowRequest, options?: any): AxiosPromise<object>;
|
|
349
|
+
/**
|
|
350
|
+
*
|
|
351
|
+
* @summary Update workflow
|
|
352
|
+
* @param {string} id System-generated unique identifier
|
|
353
|
+
* @param {UpdateWorkflowRequest} [updateWorkflowRequest]
|
|
354
|
+
* @param {*} [options] Override http request option.
|
|
355
|
+
* @throws {RequiredError}
|
|
356
|
+
*/
|
|
357
|
+
updateWorkflow(id: string, updateWorkflowRequest?: UpdateWorkflowRequest, options?: any): AxiosPromise<void>;
|
|
358
|
+
};
|
|
359
|
+
/**
|
|
360
|
+
* WorkflowsApi - interface
|
|
361
|
+
* @export
|
|
362
|
+
* @interface WorkflowsApi
|
|
363
|
+
*/
|
|
364
|
+
export interface WorkflowsApiInterface {
|
|
365
|
+
/**
|
|
366
|
+
*
|
|
367
|
+
* @summary Clone workflow
|
|
368
|
+
* @param {string} id System-generated unique identifier
|
|
369
|
+
* @param {DiscardWorkflowDraftRequest} [discardWorkflowDraftRequest]
|
|
370
|
+
* @param {*} [options] Override http request option.
|
|
371
|
+
* @throws {RequiredError}
|
|
372
|
+
* @memberof WorkflowsApiInterface
|
|
373
|
+
*/
|
|
374
|
+
cloneWorkflow(id: string, discardWorkflowDraftRequest?: DiscardWorkflowDraftRequest, options?: RawAxiosRequestConfig): AxiosPromise<CloneWorkflow201Response>;
|
|
375
|
+
/**
|
|
376
|
+
*
|
|
377
|
+
* @summary Create workflow
|
|
378
|
+
* @param {CreateWorkflowRequest} [createWorkflowRequest]
|
|
379
|
+
* @param {*} [options] Override http request option.
|
|
380
|
+
* @throws {RequiredError}
|
|
381
|
+
* @memberof WorkflowsApiInterface
|
|
382
|
+
*/
|
|
383
|
+
createWorkflow(createWorkflowRequest?: CreateWorkflowRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
384
|
+
/**
|
|
385
|
+
*
|
|
386
|
+
* @summary Delete workflow
|
|
387
|
+
* @param {string} id System-generated unique identifier
|
|
388
|
+
* @param {string} [idType] Type of identifier used in the URL
|
|
389
|
+
* @param {string} [userKey] Unique user identifier
|
|
390
|
+
* @param {*} [options] Override http request option.
|
|
391
|
+
* @throws {RequiredError}
|
|
392
|
+
* @memberof WorkflowsApiInterface
|
|
393
|
+
*/
|
|
394
|
+
deleteWorkflow(id: string, idType?: string, userKey?: string, options?: RawAxiosRequestConfig): AxiosPromise<DeleteWorkflow200Response>;
|
|
395
|
+
/**
|
|
396
|
+
*
|
|
397
|
+
* @summary Discard workflow draft
|
|
398
|
+
* @param {string} id System-generated unique identifier
|
|
399
|
+
* @param {DiscardWorkflowDraftRequest} [discardWorkflowDraftRequest]
|
|
400
|
+
* @param {*} [options] Override http request option.
|
|
401
|
+
* @throws {RequiredError}
|
|
402
|
+
* @memberof WorkflowsApiInterface
|
|
403
|
+
*/
|
|
404
|
+
discardWorkflowDraft(id: string, discardWorkflowDraftRequest?: DiscardWorkflowDraftRequest, options?: RawAxiosRequestConfig): AxiosPromise<RetrieveWorkflow200Response>;
|
|
405
|
+
/**
|
|
406
|
+
*
|
|
407
|
+
* @summary Execute workflow
|
|
408
|
+
* @param {string} id System-generated unique identifier
|
|
409
|
+
* @param {ExecuteWorkflowRequest} [executeWorkflowRequest]
|
|
410
|
+
* @param {*} [options] Override http request option.
|
|
411
|
+
* @throws {RequiredError}
|
|
412
|
+
* @memberof WorkflowsApiInterface
|
|
413
|
+
*/
|
|
414
|
+
executeWorkflow(id: string, executeWorkflowRequest?: ExecuteWorkflowRequest, options?: RawAxiosRequestConfig): AxiosPromise<ExecuteWorkflow201Response>;
|
|
415
|
+
/**
|
|
416
|
+
*
|
|
417
|
+
* @summary List workflow versions
|
|
418
|
+
* @param {string} workflowId Filter results by workflow id
|
|
419
|
+
* @param {string} [startingAfter] Cursor for pagination - return results after this ID
|
|
420
|
+
* @param {string} [endingBefore] Cursor for pagination - return results before this ID
|
|
421
|
+
* @param {number} [limit] Number of items to return (max 100)
|
|
422
|
+
* @param {string} [userKey] Unique user identifier
|
|
423
|
+
* @param {*} [options] Override http request option.
|
|
424
|
+
* @throws {RequiredError}
|
|
425
|
+
* @memberof WorkflowsApiInterface
|
|
426
|
+
*/
|
|
427
|
+
listWorkflowVersions(workflowId: string, startingAfter?: string, endingBefore?: string, limit?: number, userKey?: string, options?: RawAxiosRequestConfig): AxiosPromise<ListWorkflowVersions200Response>;
|
|
428
|
+
/**
|
|
429
|
+
*
|
|
430
|
+
* @summary List workflows
|
|
431
|
+
* @param {string} [startingAfter] Cursor for pagination - return results after this ID
|
|
432
|
+
* @param {string} [endingBefore] Cursor for pagination - return results before this ID
|
|
433
|
+
* @param {number} [limit] Number of items to return (max 100)
|
|
434
|
+
* @param {Array<string>} [expand] Expand related objects
|
|
435
|
+
* @param {*} [options] Override http request option.
|
|
436
|
+
* @throws {RequiredError}
|
|
437
|
+
* @memberof WorkflowsApiInterface
|
|
438
|
+
*/
|
|
439
|
+
listWorkflows(startingAfter?: string, endingBefore?: string, limit?: number, expand?: Array<string>, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
440
|
+
/**
|
|
441
|
+
*
|
|
442
|
+
* @summary Publish workflow
|
|
443
|
+
* @param {string} id System-generated unique identifier
|
|
444
|
+
* @param {PublishWorkflowRequest} [publishWorkflowRequest]
|
|
445
|
+
* @param {*} [options] Override http request option.
|
|
446
|
+
* @throws {RequiredError}
|
|
447
|
+
* @memberof WorkflowsApiInterface
|
|
448
|
+
*/
|
|
449
|
+
publishWorkflow(id: string, publishWorkflowRequest?: PublishWorkflowRequest, options?: RawAxiosRequestConfig): AxiosPromise<RetrieveWorkflow200Response>;
|
|
450
|
+
/**
|
|
451
|
+
*
|
|
452
|
+
* @summary Retrieve workflow
|
|
453
|
+
* @param {string} id System-generated unique identifier
|
|
454
|
+
* @param {string} [idType] Type of identifier used in the URL
|
|
455
|
+
* @param {string} [userKey] Unique user identifier
|
|
456
|
+
* @param {Array<string>} [expand] Expand related objects
|
|
457
|
+
* @param {*} [options] Override http request option.
|
|
458
|
+
* @throws {RequiredError}
|
|
459
|
+
* @memberof WorkflowsApiInterface
|
|
460
|
+
*/
|
|
461
|
+
retrieveWorkflow(id: string, idType?: string, userKey?: string, expand?: Array<string>, options?: RawAxiosRequestConfig): AxiosPromise<RetrieveWorkflow200Response>;
|
|
462
|
+
/**
|
|
463
|
+
*
|
|
464
|
+
* @summary Trigger workflow
|
|
465
|
+
* @param {TriggerWorkflowRequest} [triggerWorkflowRequest]
|
|
466
|
+
* @param {*} [options] Override http request option.
|
|
467
|
+
* @throws {RequiredError}
|
|
468
|
+
* @memberof WorkflowsApiInterface
|
|
469
|
+
*/
|
|
470
|
+
triggerWorkflow(triggerWorkflowRequest?: TriggerWorkflowRequest, options?: RawAxiosRequestConfig): AxiosPromise<object>;
|
|
471
|
+
/**
|
|
472
|
+
*
|
|
473
|
+
* @summary Update workflow
|
|
474
|
+
* @param {string} id System-generated unique identifier
|
|
475
|
+
* @param {UpdateWorkflowRequest} [updateWorkflowRequest]
|
|
476
|
+
* @param {*} [options] Override http request option.
|
|
477
|
+
* @throws {RequiredError}
|
|
478
|
+
* @memberof WorkflowsApiInterface
|
|
479
|
+
*/
|
|
480
|
+
updateWorkflow(id: string, updateWorkflowRequest?: UpdateWorkflowRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
481
|
+
}
|
|
482
|
+
/**
|
|
483
|
+
* WorkflowsApi - object-oriented interface
|
|
484
|
+
* @export
|
|
485
|
+
* @class WorkflowsApi
|
|
486
|
+
* @extends {BaseAPI}
|
|
487
|
+
*/
|
|
488
|
+
export declare class WorkflowsApi extends BaseAPI implements WorkflowsApiInterface {
|
|
489
|
+
/**
|
|
490
|
+
*
|
|
491
|
+
* @summary Clone workflow
|
|
492
|
+
* @param {string} id System-generated unique identifier
|
|
493
|
+
* @param {DiscardWorkflowDraftRequest} [discardWorkflowDraftRequest]
|
|
494
|
+
* @param {*} [options] Override http request option.
|
|
495
|
+
* @throws {RequiredError}
|
|
496
|
+
* @memberof WorkflowsApi
|
|
497
|
+
*/
|
|
498
|
+
cloneWorkflow(id: string, discardWorkflowDraftRequest?: DiscardWorkflowDraftRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CloneWorkflow201Response, any>>;
|
|
499
|
+
/**
|
|
500
|
+
*
|
|
501
|
+
* @summary Create workflow
|
|
502
|
+
* @param {CreateWorkflowRequest} [createWorkflowRequest]
|
|
503
|
+
* @param {*} [options] Override http request option.
|
|
504
|
+
* @throws {RequiredError}
|
|
505
|
+
* @memberof WorkflowsApi
|
|
506
|
+
*/
|
|
507
|
+
createWorkflow(createWorkflowRequest?: CreateWorkflowRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
508
|
+
/**
|
|
509
|
+
*
|
|
510
|
+
* @summary Delete workflow
|
|
511
|
+
* @param {string} id System-generated unique identifier
|
|
512
|
+
* @param {string} [idType] Type of identifier used in the URL
|
|
513
|
+
* @param {string} [userKey] Unique user identifier
|
|
514
|
+
* @param {*} [options] Override http request option.
|
|
515
|
+
* @throws {RequiredError}
|
|
516
|
+
* @memberof WorkflowsApi
|
|
517
|
+
*/
|
|
518
|
+
deleteWorkflow(id: string, idType?: string, userKey?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteWorkflow200Response, any>>;
|
|
519
|
+
/**
|
|
520
|
+
*
|
|
521
|
+
* @summary Discard workflow draft
|
|
522
|
+
* @param {string} id System-generated unique identifier
|
|
523
|
+
* @param {DiscardWorkflowDraftRequest} [discardWorkflowDraftRequest]
|
|
524
|
+
* @param {*} [options] Override http request option.
|
|
525
|
+
* @throws {RequiredError}
|
|
526
|
+
* @memberof WorkflowsApi
|
|
527
|
+
*/
|
|
528
|
+
discardWorkflowDraft(id: string, discardWorkflowDraftRequest?: DiscardWorkflowDraftRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RetrieveWorkflow200Response, any>>;
|
|
529
|
+
/**
|
|
530
|
+
*
|
|
531
|
+
* @summary Execute workflow
|
|
532
|
+
* @param {string} id System-generated unique identifier
|
|
533
|
+
* @param {ExecuteWorkflowRequest} [executeWorkflowRequest]
|
|
534
|
+
* @param {*} [options] Override http request option.
|
|
535
|
+
* @throws {RequiredError}
|
|
536
|
+
* @memberof WorkflowsApi
|
|
537
|
+
*/
|
|
538
|
+
executeWorkflow(id: string, executeWorkflowRequest?: ExecuteWorkflowRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ExecuteWorkflow201Response, any>>;
|
|
539
|
+
/**
|
|
540
|
+
*
|
|
541
|
+
* @summary List workflow versions
|
|
542
|
+
* @param {string} workflowId Filter results by workflow id
|
|
543
|
+
* @param {string} [startingAfter] Cursor for pagination - return results after this ID
|
|
544
|
+
* @param {string} [endingBefore] Cursor for pagination - return results before this ID
|
|
545
|
+
* @param {number} [limit] Number of items to return (max 100)
|
|
546
|
+
* @param {string} [userKey] Unique user identifier
|
|
547
|
+
* @param {*} [options] Override http request option.
|
|
548
|
+
* @throws {RequiredError}
|
|
549
|
+
* @memberof WorkflowsApi
|
|
550
|
+
*/
|
|
551
|
+
listWorkflowVersions(workflowId: string, startingAfter?: string, endingBefore?: string, limit?: number, userKey?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListWorkflowVersions200Response, any>>;
|
|
552
|
+
/**
|
|
553
|
+
*
|
|
554
|
+
* @summary List workflows
|
|
555
|
+
* @param {string} [startingAfter] Cursor for pagination - return results after this ID
|
|
556
|
+
* @param {string} [endingBefore] Cursor for pagination - return results before this ID
|
|
557
|
+
* @param {number} [limit] Number of items to return (max 100)
|
|
558
|
+
* @param {Array<string>} [expand] Expand related objects
|
|
559
|
+
* @param {*} [options] Override http request option.
|
|
560
|
+
* @throws {RequiredError}
|
|
561
|
+
* @memberof WorkflowsApi
|
|
562
|
+
*/
|
|
563
|
+
listWorkflows(startingAfter?: string, endingBefore?: string, limit?: number, expand?: Array<string>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
564
|
+
/**
|
|
565
|
+
*
|
|
566
|
+
* @summary Publish workflow
|
|
567
|
+
* @param {string} id System-generated unique identifier
|
|
568
|
+
* @param {PublishWorkflowRequest} [publishWorkflowRequest]
|
|
569
|
+
* @param {*} [options] Override http request option.
|
|
570
|
+
* @throws {RequiredError}
|
|
571
|
+
* @memberof WorkflowsApi
|
|
572
|
+
*/
|
|
573
|
+
publishWorkflow(id: string, publishWorkflowRequest?: PublishWorkflowRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RetrieveWorkflow200Response, any>>;
|
|
574
|
+
/**
|
|
575
|
+
*
|
|
576
|
+
* @summary Retrieve workflow
|
|
577
|
+
* @param {string} id System-generated unique identifier
|
|
578
|
+
* @param {string} [idType] Type of identifier used in the URL
|
|
579
|
+
* @param {string} [userKey] Unique user identifier
|
|
580
|
+
* @param {Array<string>} [expand] Expand related objects
|
|
581
|
+
* @param {*} [options] Override http request option.
|
|
582
|
+
* @throws {RequiredError}
|
|
583
|
+
* @memberof WorkflowsApi
|
|
584
|
+
*/
|
|
585
|
+
retrieveWorkflow(id: string, idType?: string, userKey?: string, expand?: Array<string>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RetrieveWorkflow200Response, any>>;
|
|
586
|
+
/**
|
|
587
|
+
*
|
|
588
|
+
* @summary Trigger workflow
|
|
589
|
+
* @param {TriggerWorkflowRequest} [triggerWorkflowRequest]
|
|
590
|
+
* @param {*} [options] Override http request option.
|
|
591
|
+
* @throws {RequiredError}
|
|
592
|
+
* @memberof WorkflowsApi
|
|
593
|
+
*/
|
|
594
|
+
triggerWorkflow(triggerWorkflowRequest?: TriggerWorkflowRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
|
|
595
|
+
/**
|
|
596
|
+
*
|
|
597
|
+
* @summary Update workflow
|
|
598
|
+
* @param {string} id System-generated unique identifier
|
|
599
|
+
* @param {UpdateWorkflowRequest} [updateWorkflowRequest]
|
|
600
|
+
* @param {*} [options] Override http request option.
|
|
601
|
+
* @throws {RequiredError}
|
|
602
|
+
* @memberof WorkflowsApi
|
|
603
|
+
*/
|
|
604
|
+
updateWorkflow(id: string, updateWorkflowRequest?: UpdateWorkflowRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
605
|
+
}
|