@embedworkflow/sdk 1.1.0 → 1.2.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/.github/workflows/push-tag.yaml +34 -0
- package/.openapi-generator/FILES +87 -0
- package/.openapi-generator/VERSION +1 -0
- package/.openapi-generator-ignore +23 -0
- package/README.md +2 -2
- package/api/accounts-api.ts +540 -0
- package/api/action-types-api.ts +697 -0
- package/api/actions-api.ts +786 -0
- package/api/app-connections-api.ts +556 -0
- package/api/available-apps-api.ts +239 -0
- package/api/data-fields-api.ts +404 -0
- package/api/events-api.ts +172 -0
- package/api/executions-api.ts +361 -0
- package/api/installed-apps-api.ts +410 -0
- package/api/payments-api.ts +172 -0
- package/api/triggers-api.ts +437 -0
- package/api/users-api.ts +531 -0
- package/api/workflows-api.ts +1302 -0
- package/api.ts +30 -0
- package/base.ts +86 -0
- package/common.ts +150 -0
- package/configuration.ts +110 -0
- package/dist/api/accounts-api.d.ts +124 -3
- package/dist/api/accounts-api.js +182 -1
- package/dist/api/action-types-api.d.ts +16 -11
- package/dist/api/action-types-api.js +14 -7
- package/dist/api/actions-api.d.ts +6 -6
- package/dist/api/app-connections-api.d.ts +5 -5
- package/dist/api/available-apps-api.d.ts +2 -2
- package/dist/api/data-fields-api.d.ts +46 -2
- package/dist/api/data-fields-api.js +68 -0
- package/dist/api/events-api.d.ts +1 -1
- package/dist/api/executions-api.d.ts +3 -3
- package/dist/api/installed-apps-api.d.ts +4 -4
- package/dist/api/payments-api.d.ts +1 -1
- package/dist/api/triggers-api.d.ts +14 -14
- package/dist/api/triggers-api.js +12 -12
- package/dist/api/users-api.d.ts +14 -9
- package/dist/api/users-api.js +14 -7
- package/dist/api/workflows-api.d.ts +96 -15
- package/dist/api/workflows-api.js +125 -8
- package/dist/common.d.ts +1 -1
- package/dist/esm/api/accounts-api.d.ts +124 -3
- package/dist/esm/api/accounts-api.js +181 -0
- package/dist/esm/api/action-types-api.d.ts +16 -11
- package/dist/esm/api/action-types-api.js +14 -7
- package/dist/esm/api/actions-api.d.ts +6 -6
- package/dist/esm/api/app-connections-api.d.ts +5 -5
- package/dist/esm/api/available-apps-api.d.ts +2 -2
- package/dist/esm/api/data-fields-api.d.ts +46 -2
- package/dist/esm/api/data-fields-api.js +69 -1
- package/dist/esm/api/events-api.d.ts +1 -1
- package/dist/esm/api/executions-api.d.ts +3 -3
- package/dist/esm/api/installed-apps-api.d.ts +4 -4
- package/dist/esm/api/payments-api.d.ts +1 -1
- package/dist/esm/api/triggers-api.d.ts +14 -14
- package/dist/esm/api/triggers-api.js +12 -12
- package/dist/esm/api/users-api.d.ts +14 -9
- package/dist/esm/api/users-api.js +14 -7
- package/dist/esm/api/workflows-api.d.ts +96 -15
- package/dist/esm/api/workflows-api.js +124 -7
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/models/catch-hook-request.d.ts +25 -0
- package/dist/esm/models/create-action-type-request-form-draft-inner.d.ts +6 -0
- package/dist/esm/models/create-action-type-request.d.ts +12 -0
- package/dist/esm/models/create-workflow201-response.d.ts +58 -11
- package/dist/esm/models/create-workflow201-response.js +4 -0
- package/dist/esm/models/evaluate-expression-request.d.ts +32 -0
- package/dist/esm/models/evaluate-expression200-response.d.ts +24 -0
- package/dist/esm/models/export-configuration200-response-configuration.d.ts +16 -0
- package/dist/esm/models/export-configuration200-response.d.ts +25 -0
- package/dist/esm/models/index.d.ts +9 -0
- package/dist/esm/models/index.js +9 -0
- package/dist/esm/models/list-action-types200-response-collection-inner.d.ts +58 -0
- package/dist/esm/models/list-action-types200-response-collection-inner.js +9 -0
- package/dist/esm/models/list-data-fields200-response-collection-inner.d.ts +18 -0
- package/dist/esm/models/list-triggers200-response-collection-inner.d.ts +18 -0
- package/dist/esm/models/list-users200-response-collection-inner.d.ts +6 -6
- package/dist/esm/models/list-workflows200-response-collection-inner.d.ts +29 -5
- package/dist/esm/models/retrieve-account-usage200-response.d.ts +60 -0
- package/dist/esm/models/retrieve-account-usage200-response.js +14 -0
- package/dist/esm/models/retrieve-account200-response.d.ts +19 -1
- package/dist/esm/models/{api-v1-action-types-post-request-icon-draft.d.ts → update-account-request-action-type-categories-inner-icon.d.ts} +10 -10
- package/dist/esm/models/update-account-request-action-type-categories-inner-icon.js +14 -0
- package/dist/esm/models/update-account-request-action-type-categories-inner.d.ts +43 -0
- package/dist/esm/models/update-account-request-action-type-categories-inner.js +14 -0
- package/dist/esm/models/update-account-request.d.ts +13 -0
- package/dist/esm/models/update-action-type-request.d.ts +12 -0
- package/dist/esm/models/update-trigger-request.d.ts +30 -0
- package/dist/esm/models/update-trigger-request.js +14 -0
- package/dist/esm/models/update-workflow-request.d.ts +7 -1
- package/dist/esm/models/upsert-user-request.d.ts +6 -0
- package/dist/models/catch-hook-request.d.ts +25 -0
- package/dist/models/create-action-type-request-form-draft-inner.d.ts +6 -0
- package/dist/models/create-action-type-request.d.ts +12 -0
- package/dist/models/create-workflow201-response.d.ts +58 -11
- package/dist/models/create-workflow201-response.js +5 -1
- package/dist/models/evaluate-expression-request.d.ts +32 -0
- package/dist/models/evaluate-expression200-response.d.ts +24 -0
- package/dist/models/export-configuration200-response-configuration.d.ts +16 -0
- package/dist/models/export-configuration200-response.d.ts +25 -0
- package/dist/models/index.d.ts +9 -0
- package/dist/models/index.js +9 -0
- package/dist/models/list-action-types200-response-collection-inner.d.ts +58 -0
- package/dist/models/list-action-types200-response-collection-inner.js +10 -1
- package/dist/models/list-data-fields200-response-collection-inner.d.ts +18 -0
- package/dist/models/list-triggers200-response-collection-inner.d.ts +18 -0
- package/dist/models/list-users200-response-collection-inner.d.ts +6 -6
- package/dist/models/list-workflows200-response-collection-inner.d.ts +29 -5
- package/dist/models/retrieve-account-usage200-response.d.ts +60 -0
- package/dist/models/retrieve-account-usage200-response.js +15 -0
- package/dist/models/retrieve-account200-response.d.ts +19 -1
- package/dist/{esm/models/retrieve-action-type404-response.d.ts → models/update-account-request-action-type-categories-inner-icon.d.ts} +12 -12
- package/dist/models/update-account-request-action-type-categories-inner-icon.js +15 -0
- package/dist/models/update-account-request-action-type-categories-inner.d.ts +43 -0
- package/dist/models/update-account-request-action-type-categories-inner.js +15 -0
- package/dist/models/update-account-request.d.ts +13 -0
- package/dist/models/update-action-type-request.d.ts +12 -0
- package/dist/models/update-trigger-request.d.ts +30 -0
- package/dist/models/update-trigger-request.js +15 -0
- package/dist/models/update-workflow-request.d.ts +7 -1
- package/dist/models/upsert-user-request.d.ts +6 -0
- package/git_push.sh +57 -0
- package/index.ts +111 -0
- package/models/catch-hook-request.ts +32 -0
- package/models/create-action-type-request-form-draft-inner.ts +88 -0
- package/{dist/models/api-v1-action-types-post-request-icon-draft.d.ts → models/create-action-type-request-icon-draft.ts} +12 -6
- package/{dist/models/api-v1-action-types-post-request.d.ts → models/create-action-type-request.ts} +49 -25
- package/{dist/models/retrieve-action-type404-response.d.ts → models/create-action-type422-response.ts} +13 -7
- package/{dist/esm/models/api-v1-app-connections-post-request.d.ts → models/create-app-connection-request.ts} +14 -8
- package/models/create-user-token-request.ts +38 -0
- package/models/create-user-token200-response.ts +30 -0
- package/models/create-workflow-request-template-draft-nodes-inner.ts +138 -0
- package/models/create-workflow-request-template-draft.ts +39 -0
- package/models/create-workflow-request.ts +75 -0
- package/{dist/esm/models/retrieve-workflow200-response.d.ts → models/create-workflow201-response.ts} +111 -60
- package/models/delete-action-type200-response.ts +30 -0
- package/{dist/esm/models/api-v1-action-types-post-request-form-draft-inner.js → models/delete-workflow200-response-one-of.ts} +18 -13
- package/models/delete-workflow200-response-one-of1.ts +30 -0
- package/models/delete-workflow200-response.ts +30 -0
- package/models/discard-workflow-draft-request.ts +36 -0
- package/models/evaluate-expression-request.ts +36 -0
- package/models/evaluate-expression200-response.ts +30 -0
- package/models/execute-workflow-request.ts +50 -0
- package/models/execute-workflow201-response.ts +126 -0
- package/models/export-configuration200-response-configuration.ts +23 -0
- package/models/export-configuration200-response.ts +33 -0
- package/models/import-configuration-request-schema.ts +24 -0
- package/models/import-configuration-request.ts +50 -0
- package/models/import-configuration201-response.ts +60 -0
- package/models/index.ts +70 -0
- package/models/install-app-request.ts +36 -0
- package/{dist/models/retrieve-installed-app200-response.d.ts → models/install-app201-response.ts} +28 -24
- package/models/list-action-types200-response-collection-inner.ts +325 -0
- package/models/list-action-types200-response-meta.ts +42 -0
- package/models/list-action-types200-response.ts +42 -0
- package/models/list-actions200-response-collection-inner.ts +150 -0
- package/models/list-actions200-response.ts +42 -0
- package/models/list-app-connections200-response-collection-inner.ts +72 -0
- package/models/list-app-connections200-response.ts +42 -0
- package/models/list-available-apps200-response-collection-inner.ts +72 -0
- package/models/list-available-apps200-response.ts +42 -0
- package/{dist/esm/models/clone-workflow201-response.js → models/list-data-fields-type-parameter.ts} +11 -5
- package/models/list-data-fields200-response-collection-inner.ts +108 -0
- package/models/list-data-fields200-response.ts +42 -0
- package/models/list-events200-response-collection-inner.ts +84 -0
- package/models/list-events200-response.ts +42 -0
- package/{dist/esm/models/retrieve-installed-app200-response.d.ts → models/list-installed-apps200-response-collection-inner.ts} +26 -28
- package/models/list-installed-apps200-response.ts +42 -0
- package/models/list-triggers200-response-collection-inner.ts +126 -0
- package/models/list-triggers200-response.ts +42 -0
- package/models/list-users200-response-collection-inner.ts +90 -0
- package/models/list-users200-response.ts +42 -0
- package/models/list-workflow-executions200-response.ts +42 -0
- package/models/list-workflow-versions200-response-collection-inner.ts +66 -0
- package/models/list-workflow-versions200-response.ts +42 -0
- package/{dist/models/retrieve-workflow200-response.d.ts → models/list-workflows200-response-collection-inner.ts} +76 -79
- package/models/list-workflows200-response.ts +42 -0
- package/models/publish-workflow-request.ts +30 -0
- package/models/retrieve-account-usage200-response.ts +66 -0
- package/models/retrieve-account200-response.ts +114 -0
- package/models/retrieve-available-app200-response.ts +78 -0
- package/models/retrieve-execution200-response.ts +138 -0
- package/models/retry-action-request.ts +38 -0
- package/models/stop-executions-request.ts +38 -0
- package/models/trigger-workflow-request.ts +54 -0
- package/models/update-account-request-action-type-categories-inner-icon.ts +42 -0
- package/models/update-account-request-action-type-categories-inner.ts +51 -0
- package/models/update-account-request-user-data-schema-inner.ts +54 -0
- package/models/update-account-request.ts +96 -0
- package/models/update-action-type-request.ts +48 -0
- package/models/update-installed-app-request.ts +30 -0
- package/models/update-trigger-request.ts +36 -0
- package/models/update-workflow-request.ts +93 -0
- package/models/upsert-user-request.ts +54 -0
- package/package.json +4 -6
- package/tsconfig.esm.json +7 -0
- package/tsconfig.json +18 -0
- package/dist/esm/models/api-v1-action-types-post-request-form-draft-inner.d.ts +0 -75
- package/dist/esm/models/api-v1-action-types-post-request.d.ts +0 -105
- package/dist/esm/models/clone-workflow201-response.d.ts +0 -183
- package/dist/esm/models/retrieve-workflow200-response.js +0 -17
- package/dist/models/api-v1-action-types-post-request-form-draft-inner.d.ts +0 -75
- package/dist/models/api-v1-action-types-post-request-form-draft-inner.js +0 -28
- package/dist/models/api-v1-app-connections-post-request.d.ts +0 -42
- package/dist/models/clone-workflow201-response.d.ts +0 -183
- package/dist/models/clone-workflow201-response.js +0 -20
- package/dist/models/retrieve-workflow200-response.js +0 -20
- /package/dist/esm/models/{api-v1-action-types-post-request-icon-draft.js → catch-hook-request.js} +0 -0
- /package/dist/esm/models/{api-v1-action-types-post-request.js → evaluate-expression-request.js} +0 -0
- /package/dist/esm/models/{api-v1-app-connections-post-request.js → evaluate-expression200-response.js} +0 -0
- /package/dist/esm/models/{retrieve-action-type404-response.js → export-configuration200-response-configuration.js} +0 -0
- /package/dist/esm/models/{retrieve-installed-app200-response.js → export-configuration200-response.js} +0 -0
- /package/dist/models/{api-v1-action-types-post-request-icon-draft.js → catch-hook-request.js} +0 -0
- /package/dist/models/{api-v1-action-types-post-request.js → evaluate-expression-request.js} +0 -0
- /package/dist/models/{api-v1-app-connections-post-request.js → evaluate-expression200-response.js} +0 -0
- /package/dist/models/{retrieve-action-type404-response.js → export-configuration200-response-configuration.js} +0 -0
- /package/dist/models/{retrieve-installed-app200-response.js → export-configuration200-response.js} +0 -0
|
@@ -353,7 +353,7 @@ export declare class ActionsApi extends BaseAPI implements ActionsApiInterface {
|
|
|
353
353
|
* @throws {RequiredError}
|
|
354
354
|
* @memberof ActionsApi
|
|
355
355
|
*/
|
|
356
|
-
listActions(startingAfter?: string, endingBefore?: string, limit?: number, status?: string, executionId?: string, workflowId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListActions200Response, any>>;
|
|
356
|
+
listActions(startingAfter?: string, endingBefore?: string, limit?: number, status?: string, executionId?: string, workflowId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListActions200Response, any, {}>>;
|
|
357
357
|
/**
|
|
358
358
|
*
|
|
359
359
|
* @summary List completed actions
|
|
@@ -367,7 +367,7 @@ export declare class ActionsApi extends BaseAPI implements ActionsApiInterface {
|
|
|
367
367
|
* @throws {RequiredError}
|
|
368
368
|
* @memberof ActionsApi
|
|
369
369
|
*/
|
|
370
|
-
listCompletedActions(status: string, startingAfter?: string, endingBefore?: string, limit?: number, executionId?: string, workflowId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListActions200Response, any>>;
|
|
370
|
+
listCompletedActions(status: string, startingAfter?: string, endingBefore?: string, limit?: number, executionId?: string, workflowId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListActions200Response, any, {}>>;
|
|
371
371
|
/**
|
|
372
372
|
*
|
|
373
373
|
* @summary List failed actions
|
|
@@ -381,7 +381,7 @@ export declare class ActionsApi extends BaseAPI implements ActionsApiInterface {
|
|
|
381
381
|
* @throws {RequiredError}
|
|
382
382
|
* @memberof ActionsApi
|
|
383
383
|
*/
|
|
384
|
-
listFailedActions(status: string, startingAfter?: string, endingBefore?: string, limit?: number, executionId?: string, workflowId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListActions200Response, any>>;
|
|
384
|
+
listFailedActions(status: string, startingAfter?: string, endingBefore?: string, limit?: number, executionId?: string, workflowId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListActions200Response, any, {}>>;
|
|
385
385
|
/**
|
|
386
386
|
*
|
|
387
387
|
* @summary List scheduled actions
|
|
@@ -395,7 +395,7 @@ export declare class ActionsApi extends BaseAPI implements ActionsApiInterface {
|
|
|
395
395
|
* @throws {RequiredError}
|
|
396
396
|
* @memberof ActionsApi
|
|
397
397
|
*/
|
|
398
|
-
listScheduledActions(status: string, startingAfter?: string, endingBefore?: string, limit?: number, executionId?: string, workflowId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListActions200Response, any>>;
|
|
398
|
+
listScheduledActions(status: string, startingAfter?: string, endingBefore?: string, limit?: number, executionId?: string, workflowId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListActions200Response, any, {}>>;
|
|
399
399
|
/**
|
|
400
400
|
*
|
|
401
401
|
* @summary List workflow actions
|
|
@@ -407,7 +407,7 @@ export declare class ActionsApi extends BaseAPI implements ActionsApiInterface {
|
|
|
407
407
|
* @throws {RequiredError}
|
|
408
408
|
* @memberof ActionsApi
|
|
409
409
|
*/
|
|
410
|
-
listWorkflowActions(workflowId: string, startingAfter?: string, endingBefore?: string, limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListActions200Response, any>>;
|
|
410
|
+
listWorkflowActions(workflowId: string, startingAfter?: string, endingBefore?: string, limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListActions200Response, any, {}>>;
|
|
411
411
|
/**
|
|
412
412
|
*
|
|
413
413
|
* @summary Retry action
|
|
@@ -417,5 +417,5 @@ export declare class ActionsApi extends BaseAPI implements ActionsApiInterface {
|
|
|
417
417
|
* @throws {RequiredError}
|
|
418
418
|
* @memberof ActionsApi
|
|
419
419
|
*/
|
|
420
|
-
retryAction(hashid: string, retryActionRequest?: RetryActionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
|
|
420
|
+
retryAction(hashid: string, retryActionRequest?: RetryActionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any, {}>>;
|
|
421
421
|
}
|
|
@@ -249,7 +249,7 @@ export declare class AppConnectionsApi extends BaseAPI implements AppConnections
|
|
|
249
249
|
* @throws {RequiredError}
|
|
250
250
|
* @memberof AppConnectionsApi
|
|
251
251
|
*/
|
|
252
|
-
createAppConnection(createAppConnectionRequest?: CreateAppConnectionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListAppConnections200ResponseCollectionInner, any>>;
|
|
252
|
+
createAppConnection(createAppConnectionRequest?: CreateAppConnectionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListAppConnections200ResponseCollectionInner, any, {}>>;
|
|
253
253
|
/**
|
|
254
254
|
*
|
|
255
255
|
* @summary Delete app connection
|
|
@@ -259,7 +259,7 @@ export declare class AppConnectionsApi extends BaseAPI implements AppConnections
|
|
|
259
259
|
* @throws {RequiredError}
|
|
260
260
|
* @memberof AppConnectionsApi
|
|
261
261
|
*/
|
|
262
|
-
deleteAppConnection(id: string, userKey?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteActionType200Response, any>>;
|
|
262
|
+
deleteAppConnection(id: string, userKey?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteActionType200Response, any, {}>>;
|
|
263
263
|
/**
|
|
264
264
|
*
|
|
265
265
|
* @summary List app connections
|
|
@@ -272,7 +272,7 @@ export declare class AppConnectionsApi extends BaseAPI implements AppConnections
|
|
|
272
272
|
* @throws {RequiredError}
|
|
273
273
|
* @memberof AppConnectionsApi
|
|
274
274
|
*/
|
|
275
|
-
listAppConnections(startingAfter?: string, endingBefore?: string, limit?: number, userKey?: string, appType?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListAppConnections200Response, any>>;
|
|
275
|
+
listAppConnections(startingAfter?: string, endingBefore?: string, limit?: number, userKey?: string, appType?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListAppConnections200Response, any, {}>>;
|
|
276
276
|
/**
|
|
277
277
|
*
|
|
278
278
|
* @summary Retrieve app connection
|
|
@@ -282,7 +282,7 @@ export declare class AppConnectionsApi extends BaseAPI implements AppConnections
|
|
|
282
282
|
* @throws {RequiredError}
|
|
283
283
|
* @memberof AppConnectionsApi
|
|
284
284
|
*/
|
|
285
|
-
retrieveAppConnection(id: string, userKey?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListAppConnections200ResponseCollectionInner, any>>;
|
|
285
|
+
retrieveAppConnection(id: string, userKey?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListAppConnections200ResponseCollectionInner, any, {}>>;
|
|
286
286
|
/**
|
|
287
287
|
*
|
|
288
288
|
* @summary Update app connection
|
|
@@ -292,5 +292,5 @@ export declare class AppConnectionsApi extends BaseAPI implements AppConnections
|
|
|
292
292
|
* @throws {RequiredError}
|
|
293
293
|
* @memberof AppConnectionsApi
|
|
294
294
|
*/
|
|
295
|
-
updateAppConnection(id: string, createAppConnectionRequest?: CreateAppConnectionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListAppConnections200ResponseCollectionInner, any>>;
|
|
295
|
+
updateAppConnection(id: string, createAppConnectionRequest?: CreateAppConnectionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListAppConnections200ResponseCollectionInner, any, {}>>;
|
|
296
296
|
}
|
|
@@ -120,7 +120,7 @@ export declare class AvailableAppsApi extends BaseAPI implements AvailableAppsAp
|
|
|
120
120
|
* @throws {RequiredError}
|
|
121
121
|
* @memberof AvailableAppsApi
|
|
122
122
|
*/
|
|
123
|
-
listAvailableApps(excludeInstalled?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListAvailableApps200Response, any>>;
|
|
123
|
+
listAvailableApps(excludeInstalled?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListAvailableApps200Response, any, {}>>;
|
|
124
124
|
/**
|
|
125
125
|
*
|
|
126
126
|
* @summary Retrieve available app
|
|
@@ -129,5 +129,5 @@ export declare class AvailableAppsApi extends BaseAPI implements AvailableAppsAp
|
|
|
129
129
|
* @throws {RequiredError}
|
|
130
130
|
* @memberof AvailableAppsApi
|
|
131
131
|
*/
|
|
132
|
-
retrieveAvailableApp(appIdentifier: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RetrieveAvailableApp200Response, any>>;
|
|
132
|
+
retrieveAvailableApp(appIdentifier: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RetrieveAvailableApp200Response, any, {}>>;
|
|
133
133
|
}
|
|
@@ -12,6 +12,8 @@
|
|
|
12
12
|
import type { Configuration } from '../configuration';
|
|
13
13
|
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
14
|
import { RequestArgs, BaseAPI } from '../base';
|
|
15
|
+
import { EvaluateExpression200Response } from '../models';
|
|
16
|
+
import { EvaluateExpressionRequest } from '../models';
|
|
15
17
|
import { ListDataFields200Response } from '../models';
|
|
16
18
|
import { ListDataFieldsTypeParameter } from '../models';
|
|
17
19
|
/**
|
|
@@ -19,6 +21,14 @@ import { ListDataFieldsTypeParameter } from '../models';
|
|
|
19
21
|
* @export
|
|
20
22
|
*/
|
|
21
23
|
export declare const DataFieldsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @summary Evaluate expression
|
|
27
|
+
* @param {EvaluateExpressionRequest} [evaluateExpressionRequest]
|
|
28
|
+
* @param {*} [options] Override http request option.
|
|
29
|
+
* @throws {RequiredError}
|
|
30
|
+
*/
|
|
31
|
+
evaluateExpression: (evaluateExpressionRequest?: EvaluateExpressionRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
22
32
|
/**
|
|
23
33
|
*
|
|
24
34
|
* @summary List data fields
|
|
@@ -49,6 +59,14 @@ export declare const DataFieldsApiAxiosParamCreator: (configuration?: Configurat
|
|
|
49
59
|
* @export
|
|
50
60
|
*/
|
|
51
61
|
export declare const DataFieldsApiFp: (configuration?: Configuration) => {
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @summary Evaluate expression
|
|
65
|
+
* @param {EvaluateExpressionRequest} [evaluateExpressionRequest]
|
|
66
|
+
* @param {*} [options] Override http request option.
|
|
67
|
+
* @throws {RequiredError}
|
|
68
|
+
*/
|
|
69
|
+
evaluateExpression(evaluateExpressionRequest?: EvaluateExpressionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EvaluateExpression200Response>>;
|
|
52
70
|
/**
|
|
53
71
|
*
|
|
54
72
|
* @summary List data fields
|
|
@@ -79,6 +97,14 @@ export declare const DataFieldsApiFp: (configuration?: Configuration) => {
|
|
|
79
97
|
* @export
|
|
80
98
|
*/
|
|
81
99
|
export declare const DataFieldsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
100
|
+
/**
|
|
101
|
+
*
|
|
102
|
+
* @summary Evaluate expression
|
|
103
|
+
* @param {EvaluateExpressionRequest} [evaluateExpressionRequest]
|
|
104
|
+
* @param {*} [options] Override http request option.
|
|
105
|
+
* @throws {RequiredError}
|
|
106
|
+
*/
|
|
107
|
+
evaluateExpression(evaluateExpressionRequest?: EvaluateExpressionRequest, options?: any): AxiosPromise<EvaluateExpression200Response>;
|
|
82
108
|
/**
|
|
83
109
|
*
|
|
84
110
|
* @summary List data fields
|
|
@@ -110,6 +136,15 @@ export declare const DataFieldsApiFactory: (configuration?: Configuration, baseP
|
|
|
110
136
|
* @interface DataFieldsApi
|
|
111
137
|
*/
|
|
112
138
|
export interface DataFieldsApiInterface {
|
|
139
|
+
/**
|
|
140
|
+
*
|
|
141
|
+
* @summary Evaluate expression
|
|
142
|
+
* @param {EvaluateExpressionRequest} [evaluateExpressionRequest]
|
|
143
|
+
* @param {*} [options] Override http request option.
|
|
144
|
+
* @throws {RequiredError}
|
|
145
|
+
* @memberof DataFieldsApiInterface
|
|
146
|
+
*/
|
|
147
|
+
evaluateExpression(evaluateExpressionRequest?: EvaluateExpressionRequest, options?: RawAxiosRequestConfig): AxiosPromise<EvaluateExpression200Response>;
|
|
113
148
|
/**
|
|
114
149
|
*
|
|
115
150
|
* @summary List data fields
|
|
@@ -144,6 +179,15 @@ export interface DataFieldsApiInterface {
|
|
|
144
179
|
* @extends {BaseAPI}
|
|
145
180
|
*/
|
|
146
181
|
export declare class DataFieldsApi extends BaseAPI implements DataFieldsApiInterface {
|
|
182
|
+
/**
|
|
183
|
+
*
|
|
184
|
+
* @summary Evaluate expression
|
|
185
|
+
* @param {EvaluateExpressionRequest} [evaluateExpressionRequest]
|
|
186
|
+
* @param {*} [options] Override http request option.
|
|
187
|
+
* @throws {RequiredError}
|
|
188
|
+
* @memberof DataFieldsApi
|
|
189
|
+
*/
|
|
190
|
+
evaluateExpression(evaluateExpressionRequest?: EvaluateExpressionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EvaluateExpression200Response, any, {}>>;
|
|
147
191
|
/**
|
|
148
192
|
*
|
|
149
193
|
* @summary List data fields
|
|
@@ -154,7 +198,7 @@ export declare class DataFieldsApi extends BaseAPI implements DataFieldsApiInter
|
|
|
154
198
|
* @throws {RequiredError}
|
|
155
199
|
* @memberof DataFieldsApi
|
|
156
200
|
*/
|
|
157
|
-
listDataFields(userKey?: string, eventTrigger?: string, type?: ListDataFieldsTypeParameter, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListDataFields200Response, any>>;
|
|
201
|
+
listDataFields(userKey?: string, eventTrigger?: string, type?: ListDataFieldsTypeParameter, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListDataFields200Response, any, {}>>;
|
|
158
202
|
/**
|
|
159
203
|
*
|
|
160
204
|
* @summary List workflow data fields
|
|
@@ -169,5 +213,5 @@ export declare class DataFieldsApi extends BaseAPI implements DataFieldsApiInter
|
|
|
169
213
|
* @throws {RequiredError}
|
|
170
214
|
* @memberof DataFieldsApi
|
|
171
215
|
*/
|
|
172
|
-
listWorkflowDataFields(id: string, nodeId?: string, parentNodeId?: string, userKey?: string, eventTrigger?: string, actionEventTrigger?: string, type?: ListDataFieldsTypeParameter, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListDataFields200Response, any>>;
|
|
216
|
+
listWorkflowDataFields(id: string, nodeId?: string, parentNodeId?: string, userKey?: string, eventTrigger?: string, actionEventTrigger?: string, type?: ListDataFieldsTypeParameter, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListDataFields200Response, any, {}>>;
|
|
173
217
|
}
|
|
@@ -23,7 +23,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
23
23
|
import globalAxios from 'axios';
|
|
24
24
|
// Some imports not used depending on template conditions
|
|
25
25
|
// @ts-ignore
|
|
26
|
-
import { DUMMY_BASE_URL, assertParamExists, setBearerAuthToObject, setSearchParams, toPathString, createRequestFunction } from '../common';
|
|
26
|
+
import { DUMMY_BASE_URL, assertParamExists, setBearerAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
|
|
27
27
|
// @ts-ignore
|
|
28
28
|
import { BASE_PATH, BaseAPI, operationServerMap } from '../base';
|
|
29
29
|
/**
|
|
@@ -32,6 +32,37 @@ import { BASE_PATH, BaseAPI, operationServerMap } from '../base';
|
|
|
32
32
|
*/
|
|
33
33
|
export const DataFieldsApiAxiosParamCreator = function (configuration) {
|
|
34
34
|
return {
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @summary Evaluate expression
|
|
38
|
+
* @param {EvaluateExpressionRequest} [evaluateExpressionRequest]
|
|
39
|
+
* @param {*} [options] Override http request option.
|
|
40
|
+
* @throws {RequiredError}
|
|
41
|
+
*/
|
|
42
|
+
evaluateExpression: (evaluateExpressionRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
43
|
+
const localVarPath = `/api/v1/data_fields/evaluate`;
|
|
44
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
45
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
46
|
+
let baseOptions;
|
|
47
|
+
if (configuration) {
|
|
48
|
+
baseOptions = configuration.baseOptions;
|
|
49
|
+
}
|
|
50
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
51
|
+
const localVarHeaderParameter = {};
|
|
52
|
+
const localVarQueryParameter = {};
|
|
53
|
+
// authentication bearer required
|
|
54
|
+
// http bearer authentication required
|
|
55
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
56
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
57
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
58
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
59
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
60
|
+
localVarRequestOptions.data = serializeDataIfNeeded(evaluateExpressionRequest, localVarRequestOptions, configuration);
|
|
61
|
+
return {
|
|
62
|
+
url: toPathString(localVarUrlObj),
|
|
63
|
+
options: localVarRequestOptions,
|
|
64
|
+
};
|
|
65
|
+
}),
|
|
35
66
|
/**
|
|
36
67
|
*
|
|
37
68
|
* @summary List data fields
|
|
@@ -141,6 +172,22 @@ export const DataFieldsApiAxiosParamCreator = function (configuration) {
|
|
|
141
172
|
export const DataFieldsApiFp = function (configuration) {
|
|
142
173
|
const localVarAxiosParamCreator = DataFieldsApiAxiosParamCreator(configuration);
|
|
143
174
|
return {
|
|
175
|
+
/**
|
|
176
|
+
*
|
|
177
|
+
* @summary Evaluate expression
|
|
178
|
+
* @param {EvaluateExpressionRequest} [evaluateExpressionRequest]
|
|
179
|
+
* @param {*} [options] Override http request option.
|
|
180
|
+
* @throws {RequiredError}
|
|
181
|
+
*/
|
|
182
|
+
evaluateExpression(evaluateExpressionRequest, options) {
|
|
183
|
+
var _a, _b, _c;
|
|
184
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
185
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.evaluateExpression(evaluateExpressionRequest, options);
|
|
186
|
+
const index = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
187
|
+
const operationBasePath = (_c = (_b = operationServerMap['DataFieldsApi.evaluateExpression']) === null || _b === void 0 ? void 0 : _b[index]) === null || _c === void 0 ? void 0 : _c.url;
|
|
188
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
189
|
+
});
|
|
190
|
+
},
|
|
144
191
|
/**
|
|
145
192
|
*
|
|
146
193
|
* @summary List data fields
|
|
@@ -190,6 +237,16 @@ export const DataFieldsApiFp = function (configuration) {
|
|
|
190
237
|
export const DataFieldsApiFactory = function (configuration, basePath, axios) {
|
|
191
238
|
const localVarFp = DataFieldsApiFp(configuration);
|
|
192
239
|
return {
|
|
240
|
+
/**
|
|
241
|
+
*
|
|
242
|
+
* @summary Evaluate expression
|
|
243
|
+
* @param {EvaluateExpressionRequest} [evaluateExpressionRequest]
|
|
244
|
+
* @param {*} [options] Override http request option.
|
|
245
|
+
* @throws {RequiredError}
|
|
246
|
+
*/
|
|
247
|
+
evaluateExpression(evaluateExpressionRequest, options) {
|
|
248
|
+
return localVarFp.evaluateExpression(evaluateExpressionRequest, options).then((request) => request(axios, basePath));
|
|
249
|
+
},
|
|
193
250
|
/**
|
|
194
251
|
*
|
|
195
252
|
* @summary List data fields
|
|
@@ -227,6 +284,17 @@ export const DataFieldsApiFactory = function (configuration, basePath, axios) {
|
|
|
227
284
|
* @extends {BaseAPI}
|
|
228
285
|
*/
|
|
229
286
|
export class DataFieldsApi extends BaseAPI {
|
|
287
|
+
/**
|
|
288
|
+
*
|
|
289
|
+
* @summary Evaluate expression
|
|
290
|
+
* @param {EvaluateExpressionRequest} [evaluateExpressionRequest]
|
|
291
|
+
* @param {*} [options] Override http request option.
|
|
292
|
+
* @throws {RequiredError}
|
|
293
|
+
* @memberof DataFieldsApi
|
|
294
|
+
*/
|
|
295
|
+
evaluateExpression(evaluateExpressionRequest, options) {
|
|
296
|
+
return DataFieldsApiFp(this.configuration).evaluateExpression(evaluateExpressionRequest, options).then((request) => request(this.axios, this.basePath));
|
|
297
|
+
}
|
|
230
298
|
/**
|
|
231
299
|
*
|
|
232
300
|
* @summary List data fields
|
|
@@ -96,5 +96,5 @@ export declare class EventsApi extends BaseAPI implements EventsApiInterface {
|
|
|
96
96
|
* @throws {RequiredError}
|
|
97
97
|
* @memberof EventsApi
|
|
98
98
|
*/
|
|
99
|
-
listEvents(startingAfter?: string, endingBefore?: string, limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListEvents200Response, any>>;
|
|
99
|
+
listEvents(startingAfter?: string, endingBefore?: string, limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListEvents200Response, any, {}>>;
|
|
100
100
|
}
|
|
@@ -173,7 +173,7 @@ export declare class ExecutionsApi extends BaseAPI implements ExecutionsApiInter
|
|
|
173
173
|
* @throws {RequiredError}
|
|
174
174
|
* @memberof ExecutionsApi
|
|
175
175
|
*/
|
|
176
|
-
listWorkflowExecutions(workflowId: string, startingAfter?: string, endingBefore?: string, limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListWorkflowExecutions200Response, any>>;
|
|
176
|
+
listWorkflowExecutions(workflowId: string, startingAfter?: string, endingBefore?: string, limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListWorkflowExecutions200Response, any, {}>>;
|
|
177
177
|
/**
|
|
178
178
|
*
|
|
179
179
|
* @summary Retrieve execution
|
|
@@ -183,7 +183,7 @@ export declare class ExecutionsApi extends BaseAPI implements ExecutionsApiInter
|
|
|
183
183
|
* @throws {RequiredError}
|
|
184
184
|
* @memberof ExecutionsApi
|
|
185
185
|
*/
|
|
186
|
-
retrieveExecution(id: string, idType?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RetrieveExecution200Response, any>>;
|
|
186
|
+
retrieveExecution(id: string, idType?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RetrieveExecution200Response, any, {}>>;
|
|
187
187
|
/**
|
|
188
188
|
*
|
|
189
189
|
* @summary Stop executions
|
|
@@ -192,5 +192,5 @@ export declare class ExecutionsApi extends BaseAPI implements ExecutionsApiInter
|
|
|
192
192
|
* @throws {RequiredError}
|
|
193
193
|
* @memberof ExecutionsApi
|
|
194
194
|
*/
|
|
195
|
-
stopExecutions(stopExecutionsRequest?: StopExecutionsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
|
|
195
|
+
stopExecutions(stopExecutionsRequest?: StopExecutionsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any, {}>>;
|
|
196
196
|
}
|
|
@@ -188,7 +188,7 @@ export declare class InstalledAppsApi extends BaseAPI implements InstalledAppsAp
|
|
|
188
188
|
* @throws {RequiredError}
|
|
189
189
|
* @memberof InstalledAppsApi
|
|
190
190
|
*/
|
|
191
|
-
installApp(installAppRequest?: InstallAppRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<InstallApp201Response, any>>;
|
|
191
|
+
installApp(installAppRequest?: InstallAppRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<InstallApp201Response, any, {}>>;
|
|
192
192
|
/**
|
|
193
193
|
*
|
|
194
194
|
* @summary List installed apps
|
|
@@ -196,7 +196,7 @@ export declare class InstalledAppsApi extends BaseAPI implements InstalledAppsAp
|
|
|
196
196
|
* @throws {RequiredError}
|
|
197
197
|
* @memberof InstalledAppsApi
|
|
198
198
|
*/
|
|
199
|
-
listInstalledApps(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListInstalledApps200Response, any>>;
|
|
199
|
+
listInstalledApps(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListInstalledApps200Response, any, {}>>;
|
|
200
200
|
/**
|
|
201
201
|
*
|
|
202
202
|
* @summary Retrieve installed app
|
|
@@ -205,7 +205,7 @@ export declare class InstalledAppsApi extends BaseAPI implements InstalledAppsAp
|
|
|
205
205
|
* @throws {RequiredError}
|
|
206
206
|
* @memberof InstalledAppsApi
|
|
207
207
|
*/
|
|
208
|
-
retrieveInstalledApp(appIdentifier: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<InstallApp201Response, any>>;
|
|
208
|
+
retrieveInstalledApp(appIdentifier: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<InstallApp201Response, any, {}>>;
|
|
209
209
|
/**
|
|
210
210
|
*
|
|
211
211
|
* @summary Update installed app
|
|
@@ -215,5 +215,5 @@ export declare class InstalledAppsApi extends BaseAPI implements InstalledAppsAp
|
|
|
215
215
|
* @throws {RequiredError}
|
|
216
216
|
* @memberof InstalledAppsApi
|
|
217
217
|
*/
|
|
218
|
-
updateInstalledApp(appIdentifier: string, updateInstalledAppRequest?: UpdateInstalledAppRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<InstallApp201Response, any>>;
|
|
218
|
+
updateInstalledApp(appIdentifier: string, updateInstalledAppRequest?: UpdateInstalledAppRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<InstallApp201Response, any, {}>>;
|
|
219
219
|
}
|
|
@@ -96,5 +96,5 @@ export declare class PaymentsApi extends BaseAPI implements PaymentsApiInterface
|
|
|
96
96
|
* @throws {RequiredError}
|
|
97
97
|
* @memberof PaymentsApi
|
|
98
98
|
*/
|
|
99
|
-
listPayments(startingAfter?: string, endingBefore?: string, limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListEvents200Response, any>>;
|
|
99
|
+
listPayments(startingAfter?: string, endingBefore?: string, limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListEvents200Response, any, {}>>;
|
|
100
100
|
}
|
|
@@ -15,7 +15,7 @@ import { RequestArgs, BaseAPI } from '../base';
|
|
|
15
15
|
import { DeleteActionType200Response } from '../models';
|
|
16
16
|
import { ListTriggers200Response } from '../models';
|
|
17
17
|
import { ListTriggers200ResponseCollectionInner } from '../models';
|
|
18
|
-
import {
|
|
18
|
+
import { UpdateTriggerRequest } from '../models';
|
|
19
19
|
/**
|
|
20
20
|
* TriggersApi - axios parameter creator
|
|
21
21
|
* @export
|
|
@@ -51,11 +51,11 @@ export declare const TriggersApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
51
51
|
*
|
|
52
52
|
* @summary Update trigger
|
|
53
53
|
* @param {string} id System-generated unique identifier
|
|
54
|
-
* @param {
|
|
54
|
+
* @param {UpdateTriggerRequest} [updateTriggerRequest]
|
|
55
55
|
* @param {*} [options] Override http request option.
|
|
56
56
|
* @throws {RequiredError}
|
|
57
57
|
*/
|
|
58
|
-
updateTrigger: (id: string,
|
|
58
|
+
updateTrigger: (id: string, updateTriggerRequest?: UpdateTriggerRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
59
59
|
};
|
|
60
60
|
/**
|
|
61
61
|
* TriggersApi - functional programming interface
|
|
@@ -92,11 +92,11 @@ export declare const TriggersApiFp: (configuration?: Configuration) => {
|
|
|
92
92
|
*
|
|
93
93
|
* @summary Update trigger
|
|
94
94
|
* @param {string} id System-generated unique identifier
|
|
95
|
-
* @param {
|
|
95
|
+
* @param {UpdateTriggerRequest} [updateTriggerRequest]
|
|
96
96
|
* @param {*} [options] Override http request option.
|
|
97
97
|
* @throws {RequiredError}
|
|
98
98
|
*/
|
|
99
|
-
updateTrigger(id: string,
|
|
99
|
+
updateTrigger(id: string, updateTriggerRequest?: UpdateTriggerRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListTriggers200ResponseCollectionInner>>;
|
|
100
100
|
};
|
|
101
101
|
/**
|
|
102
102
|
* TriggersApi - factory interface
|
|
@@ -133,11 +133,11 @@ export declare const TriggersApiFactory: (configuration?: Configuration, basePat
|
|
|
133
133
|
*
|
|
134
134
|
* @summary Update trigger
|
|
135
135
|
* @param {string} id System-generated unique identifier
|
|
136
|
-
* @param {
|
|
136
|
+
* @param {UpdateTriggerRequest} [updateTriggerRequest]
|
|
137
137
|
* @param {*} [options] Override http request option.
|
|
138
138
|
* @throws {RequiredError}
|
|
139
139
|
*/
|
|
140
|
-
updateTrigger(id: string,
|
|
140
|
+
updateTrigger(id: string, updateTriggerRequest?: UpdateTriggerRequest, options?: any): AxiosPromise<ListTriggers200ResponseCollectionInner>;
|
|
141
141
|
};
|
|
142
142
|
/**
|
|
143
143
|
* TriggersApi - interface
|
|
@@ -178,12 +178,12 @@ export interface TriggersApiInterface {
|
|
|
178
178
|
*
|
|
179
179
|
* @summary Update trigger
|
|
180
180
|
* @param {string} id System-generated unique identifier
|
|
181
|
-
* @param {
|
|
181
|
+
* @param {UpdateTriggerRequest} [updateTriggerRequest]
|
|
182
182
|
* @param {*} [options] Override http request option.
|
|
183
183
|
* @throws {RequiredError}
|
|
184
184
|
* @memberof TriggersApiInterface
|
|
185
185
|
*/
|
|
186
|
-
updateTrigger(id: string,
|
|
186
|
+
updateTrigger(id: string, updateTriggerRequest?: UpdateTriggerRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListTriggers200ResponseCollectionInner>;
|
|
187
187
|
}
|
|
188
188
|
/**
|
|
189
189
|
* TriggersApi - object-oriented interface
|
|
@@ -200,7 +200,7 @@ export declare class TriggersApi extends BaseAPI implements TriggersApiInterface
|
|
|
200
200
|
* @throws {RequiredError}
|
|
201
201
|
* @memberof TriggersApi
|
|
202
202
|
*/
|
|
203
|
-
deleteTrigger(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteActionType200Response, any>>;
|
|
203
|
+
deleteTrigger(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteActionType200Response, any, {}>>;
|
|
204
204
|
/**
|
|
205
205
|
*
|
|
206
206
|
* @summary List triggers
|
|
@@ -211,7 +211,7 @@ export declare class TriggersApi extends BaseAPI implements TriggersApiInterface
|
|
|
211
211
|
* @throws {RequiredError}
|
|
212
212
|
* @memberof TriggersApi
|
|
213
213
|
*/
|
|
214
|
-
listTriggers(startingAfter?: string, endingBefore?: string, limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListTriggers200Response, any>>;
|
|
214
|
+
listTriggers(startingAfter?: string, endingBefore?: string, limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListTriggers200Response, any, {}>>;
|
|
215
215
|
/**
|
|
216
216
|
*
|
|
217
217
|
* @summary Retrieve trigger
|
|
@@ -220,15 +220,15 @@ export declare class TriggersApi extends BaseAPI implements TriggersApiInterface
|
|
|
220
220
|
* @throws {RequiredError}
|
|
221
221
|
* @memberof TriggersApi
|
|
222
222
|
*/
|
|
223
|
-
retrieveTrigger(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListTriggers200ResponseCollectionInner, any>>;
|
|
223
|
+
retrieveTrigger(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListTriggers200ResponseCollectionInner, any, {}>>;
|
|
224
224
|
/**
|
|
225
225
|
*
|
|
226
226
|
* @summary Update trigger
|
|
227
227
|
* @param {string} id System-generated unique identifier
|
|
228
|
-
* @param {
|
|
228
|
+
* @param {UpdateTriggerRequest} [updateTriggerRequest]
|
|
229
229
|
* @param {*} [options] Override http request option.
|
|
230
230
|
* @throws {RequiredError}
|
|
231
231
|
* @memberof TriggersApi
|
|
232
232
|
*/
|
|
233
|
-
updateTrigger(id: string,
|
|
233
|
+
updateTrigger(id: string, updateTriggerRequest?: UpdateTriggerRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListTriggers200ResponseCollectionInner, any, {}>>;
|
|
234
234
|
}
|
|
@@ -140,11 +140,11 @@ export const TriggersApiAxiosParamCreator = function (configuration) {
|
|
|
140
140
|
*
|
|
141
141
|
* @summary Update trigger
|
|
142
142
|
* @param {string} id System-generated unique identifier
|
|
143
|
-
* @param {
|
|
143
|
+
* @param {UpdateTriggerRequest} [updateTriggerRequest]
|
|
144
144
|
* @param {*} [options] Override http request option.
|
|
145
145
|
* @throws {RequiredError}
|
|
146
146
|
*/
|
|
147
|
-
updateTrigger: (id,
|
|
147
|
+
updateTrigger: (id, updateTriggerRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
148
148
|
// verify required parameter 'id' is not null or undefined
|
|
149
149
|
assertParamExists('updateTrigger', 'id', id);
|
|
150
150
|
const localVarPath = `/api/v1/triggers/{id}`
|
|
@@ -165,7 +165,7 @@ export const TriggersApiAxiosParamCreator = function (configuration) {
|
|
|
165
165
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
166
166
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
167
167
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
168
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
168
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateTriggerRequest, localVarRequestOptions, configuration);
|
|
169
169
|
return {
|
|
170
170
|
url: toPathString(localVarUrlObj),
|
|
171
171
|
options: localVarRequestOptions,
|
|
@@ -234,14 +234,14 @@ export const TriggersApiFp = function (configuration) {
|
|
|
234
234
|
*
|
|
235
235
|
* @summary Update trigger
|
|
236
236
|
* @param {string} id System-generated unique identifier
|
|
237
|
-
* @param {
|
|
237
|
+
* @param {UpdateTriggerRequest} [updateTriggerRequest]
|
|
238
238
|
* @param {*} [options] Override http request option.
|
|
239
239
|
* @throws {RequiredError}
|
|
240
240
|
*/
|
|
241
|
-
updateTrigger(id,
|
|
241
|
+
updateTrigger(id, updateTriggerRequest, options) {
|
|
242
242
|
var _a, _b, _c;
|
|
243
243
|
return __awaiter(this, void 0, void 0, function* () {
|
|
244
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateTrigger(id,
|
|
244
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateTrigger(id, updateTriggerRequest, options);
|
|
245
245
|
const index = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
246
246
|
const operationBasePath = (_c = (_b = operationServerMap['TriggersApi.updateTrigger']) === null || _b === void 0 ? void 0 : _b[index]) === null || _c === void 0 ? void 0 : _c.url;
|
|
247
247
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
@@ -292,12 +292,12 @@ export const TriggersApiFactory = function (configuration, basePath, axios) {
|
|
|
292
292
|
*
|
|
293
293
|
* @summary Update trigger
|
|
294
294
|
* @param {string} id System-generated unique identifier
|
|
295
|
-
* @param {
|
|
295
|
+
* @param {UpdateTriggerRequest} [updateTriggerRequest]
|
|
296
296
|
* @param {*} [options] Override http request option.
|
|
297
297
|
* @throws {RequiredError}
|
|
298
298
|
*/
|
|
299
|
-
updateTrigger(id,
|
|
300
|
-
return localVarFp.updateTrigger(id,
|
|
299
|
+
updateTrigger(id, updateTriggerRequest, options) {
|
|
300
|
+
return localVarFp.updateTrigger(id, updateTriggerRequest, options).then((request) => request(axios, basePath));
|
|
301
301
|
},
|
|
302
302
|
};
|
|
303
303
|
};
|
|
@@ -347,12 +347,12 @@ export class TriggersApi extends BaseAPI {
|
|
|
347
347
|
*
|
|
348
348
|
* @summary Update trigger
|
|
349
349
|
* @param {string} id System-generated unique identifier
|
|
350
|
-
* @param {
|
|
350
|
+
* @param {UpdateTriggerRequest} [updateTriggerRequest]
|
|
351
351
|
* @param {*} [options] Override http request option.
|
|
352
352
|
* @throws {RequiredError}
|
|
353
353
|
* @memberof TriggersApi
|
|
354
354
|
*/
|
|
355
|
-
updateTrigger(id,
|
|
356
|
-
return TriggersApiFp(this.configuration).updateTrigger(id,
|
|
355
|
+
updateTrigger(id, updateTriggerRequest, options) {
|
|
356
|
+
return TriggersApiFp(this.configuration).updateTrigger(id, updateTriggerRequest, options).then((request) => request(this.axios, this.basePath));
|
|
357
357
|
}
|
|
358
358
|
}
|