@embedworkflow/sdk 1.0.0 → 1.1.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.
Files changed (63) hide show
  1. package/dist/api/action-types-api.d.ts +33 -31
  2. package/dist/api/action-types-api.js +13 -13
  3. package/dist/api/app-connections-api.d.ts +26 -25
  4. package/dist/api/app-connections-api.js +25 -25
  5. package/dist/api/installed-apps-api.d.ts +13 -13
  6. package/dist/api/triggers-api.d.ts +14 -12
  7. package/dist/api/users-api.d.ts +13 -12
  8. package/dist/api/workflows-api.d.ts +27 -26
  9. package/dist/esm/api/action-types-api.d.ts +33 -31
  10. package/dist/esm/api/action-types-api.js +13 -13
  11. package/dist/esm/api/app-connections-api.d.ts +26 -25
  12. package/dist/esm/api/app-connections-api.js +25 -25
  13. package/dist/esm/api/installed-apps-api.d.ts +13 -13
  14. package/dist/esm/api/triggers-api.d.ts +14 -12
  15. package/dist/esm/api/users-api.d.ts +13 -12
  16. package/dist/esm/api/workflows-api.d.ts +27 -26
  17. package/dist/esm/models/create-action-type-request-form-draft-inner.d.ts +75 -0
  18. package/dist/esm/models/create-action-type-request-form-draft-inner.js +25 -0
  19. package/dist/esm/models/create-action-type-request-icon-draft.d.ts +36 -0
  20. package/dist/esm/models/create-action-type-request-icon-draft.js +14 -0
  21. package/dist/esm/models/create-action-type-request.d.ts +105 -0
  22. package/dist/esm/models/create-action-type-request.js +14 -0
  23. package/dist/esm/models/create-action-type422-response.d.ts +36 -0
  24. package/dist/esm/models/create-action-type422-response.js +14 -0
  25. package/dist/esm/models/create-app-connection-request.d.ts +42 -0
  26. package/dist/esm/models/create-app-connection-request.js +14 -0
  27. package/dist/esm/models/create-workflow201-response.d.ts +215 -0
  28. package/dist/esm/models/create-workflow201-response.js +17 -0
  29. package/dist/esm/models/delete-action-type200-response.d.ts +24 -0
  30. package/dist/esm/models/delete-action-type200-response.js +14 -0
  31. package/dist/esm/models/import-configuration201-response.d.ts +6 -0
  32. package/dist/esm/models/index.d.ts +10 -8
  33. package/dist/esm/models/index.js +10 -8
  34. package/dist/esm/models/install-app201-response.d.ts +122 -0
  35. package/dist/esm/models/install-app201-response.js +14 -0
  36. package/dist/esm/models/list-workflows200-response-collection-inner.d.ts +183 -0
  37. package/dist/esm/models/list-workflows200-response-collection-inner.js +17 -0
  38. package/dist/esm/models/list-workflows200-response.d.ts +32 -0
  39. package/dist/esm/models/list-workflows200-response.js +14 -0
  40. package/dist/models/create-action-type-request-form-draft-inner.d.ts +75 -0
  41. package/dist/models/create-action-type-request-form-draft-inner.js +28 -0
  42. package/dist/models/create-action-type-request-icon-draft.d.ts +36 -0
  43. package/dist/models/create-action-type-request-icon-draft.js +15 -0
  44. package/dist/models/create-action-type-request.d.ts +105 -0
  45. package/dist/models/create-action-type-request.js +15 -0
  46. package/dist/models/create-action-type422-response.d.ts +36 -0
  47. package/dist/models/create-action-type422-response.js +15 -0
  48. package/dist/models/create-app-connection-request.d.ts +42 -0
  49. package/dist/models/create-app-connection-request.js +15 -0
  50. package/dist/models/create-workflow201-response.d.ts +215 -0
  51. package/dist/models/create-workflow201-response.js +20 -0
  52. package/dist/models/delete-action-type200-response.d.ts +24 -0
  53. package/dist/models/delete-action-type200-response.js +15 -0
  54. package/dist/models/import-configuration201-response.d.ts +6 -0
  55. package/dist/models/index.d.ts +10 -8
  56. package/dist/models/index.js +10 -8
  57. package/dist/models/install-app201-response.d.ts +122 -0
  58. package/dist/models/install-app201-response.js +15 -0
  59. package/dist/models/list-workflows200-response-collection-inner.d.ts +183 -0
  60. package/dist/models/list-workflows200-response-collection-inner.js +20 -0
  61. package/dist/models/list-workflows200-response.d.ts +32 -0
  62. package/dist/models/list-workflows200-response.js +15 -0
  63. package/package.json +1 -1
@@ -12,15 +12,16 @@
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 { CloneWorkflow201Response } from '../models';
15
+ import { CreateWorkflow201Response } from '../models';
16
16
  import { CreateWorkflowRequest } from '../models';
17
17
  import { DeleteWorkflow200Response } from '../models';
18
18
  import { DiscardWorkflowDraftRequest } from '../models';
19
19
  import { ExecuteWorkflow201Response } from '../models';
20
20
  import { ExecuteWorkflowRequest } from '../models';
21
21
  import { ListWorkflowVersions200Response } from '../models';
22
+ import { ListWorkflows200Response } from '../models';
23
+ import { ListWorkflows200ResponseCollectionInner } from '../models';
22
24
  import { PublishWorkflowRequest } from '../models';
23
- import { RetrieveWorkflow200Response } from '../models';
24
25
  import { TriggerWorkflowRequest } from '../models';
25
26
  import { UpdateWorkflowRequest } from '../models';
26
27
  /**
@@ -147,7 +148,7 @@ export declare const WorkflowsApiFp: (configuration?: Configuration) => {
147
148
  * @param {*} [options] Override http request option.
148
149
  * @throws {RequiredError}
149
150
  */
150
- cloneWorkflow(id: string, discardWorkflowDraftRequest?: DiscardWorkflowDraftRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CloneWorkflow201Response>>;
151
+ cloneWorkflow(id: string, discardWorkflowDraftRequest?: DiscardWorkflowDraftRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListWorkflows200ResponseCollectionInner>>;
151
152
  /**
152
153
  *
153
154
  * @summary Create workflow
@@ -155,7 +156,7 @@ export declare const WorkflowsApiFp: (configuration?: Configuration) => {
155
156
  * @param {*} [options] Override http request option.
156
157
  * @throws {RequiredError}
157
158
  */
158
- createWorkflow(createWorkflowRequest?: CreateWorkflowRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
159
+ createWorkflow(createWorkflowRequest?: CreateWorkflowRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateWorkflow201Response>>;
159
160
  /**
160
161
  *
161
162
  * @summary Delete workflow
@@ -174,7 +175,7 @@ export declare const WorkflowsApiFp: (configuration?: Configuration) => {
174
175
  * @param {*} [options] Override http request option.
175
176
  * @throws {RequiredError}
176
177
  */
177
- discardWorkflowDraft(id: string, discardWorkflowDraftRequest?: DiscardWorkflowDraftRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RetrieveWorkflow200Response>>;
178
+ discardWorkflowDraft(id: string, discardWorkflowDraftRequest?: DiscardWorkflowDraftRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateWorkflow201Response>>;
178
179
  /**
179
180
  *
180
181
  * @summary Execute workflow
@@ -206,7 +207,7 @@ export declare const WorkflowsApiFp: (configuration?: Configuration) => {
206
207
  * @param {*} [options] Override http request option.
207
208
  * @throws {RequiredError}
208
209
  */
209
- listWorkflows(startingAfter?: string, endingBefore?: string, limit?: number, expand?: Array<string>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
210
+ listWorkflows(startingAfter?: string, endingBefore?: string, limit?: number, expand?: Array<string>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListWorkflows200Response>>;
210
211
  /**
211
212
  *
212
213
  * @summary Publish workflow
@@ -215,7 +216,7 @@ export declare const WorkflowsApiFp: (configuration?: Configuration) => {
215
216
  * @param {*} [options] Override http request option.
216
217
  * @throws {RequiredError}
217
218
  */
218
- publishWorkflow(id: string, publishWorkflowRequest?: PublishWorkflowRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RetrieveWorkflow200Response>>;
219
+ publishWorkflow(id: string, publishWorkflowRequest?: PublishWorkflowRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateWorkflow201Response>>;
219
220
  /**
220
221
  *
221
222
  * @summary Retrieve workflow
@@ -226,7 +227,7 @@ export declare const WorkflowsApiFp: (configuration?: Configuration) => {
226
227
  * @param {*} [options] Override http request option.
227
228
  * @throws {RequiredError}
228
229
  */
229
- retrieveWorkflow(id: string, idType?: string, userKey?: string, expand?: Array<string>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RetrieveWorkflow200Response>>;
230
+ retrieveWorkflow(id: string, idType?: string, userKey?: string, expand?: Array<string>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateWorkflow201Response>>;
230
231
  /**
231
232
  *
232
233
  * @summary Trigger workflow
@@ -258,7 +259,7 @@ export declare const WorkflowsApiFactory: (configuration?: Configuration, basePa
258
259
  * @param {*} [options] Override http request option.
259
260
  * @throws {RequiredError}
260
261
  */
261
- cloneWorkflow(id: string, discardWorkflowDraftRequest?: DiscardWorkflowDraftRequest, options?: any): AxiosPromise<CloneWorkflow201Response>;
262
+ cloneWorkflow(id: string, discardWorkflowDraftRequest?: DiscardWorkflowDraftRequest, options?: any): AxiosPromise<ListWorkflows200ResponseCollectionInner>;
262
263
  /**
263
264
  *
264
265
  * @summary Create workflow
@@ -266,7 +267,7 @@ export declare const WorkflowsApiFactory: (configuration?: Configuration, basePa
266
267
  * @param {*} [options] Override http request option.
267
268
  * @throws {RequiredError}
268
269
  */
269
- createWorkflow(createWorkflowRequest?: CreateWorkflowRequest, options?: any): AxiosPromise<void>;
270
+ createWorkflow(createWorkflowRequest?: CreateWorkflowRequest, options?: any): AxiosPromise<CreateWorkflow201Response>;
270
271
  /**
271
272
  *
272
273
  * @summary Delete workflow
@@ -285,7 +286,7 @@ export declare const WorkflowsApiFactory: (configuration?: Configuration, basePa
285
286
  * @param {*} [options] Override http request option.
286
287
  * @throws {RequiredError}
287
288
  */
288
- discardWorkflowDraft(id: string, discardWorkflowDraftRequest?: DiscardWorkflowDraftRequest, options?: any): AxiosPromise<RetrieveWorkflow200Response>;
289
+ discardWorkflowDraft(id: string, discardWorkflowDraftRequest?: DiscardWorkflowDraftRequest, options?: any): AxiosPromise<CreateWorkflow201Response>;
289
290
  /**
290
291
  *
291
292
  * @summary Execute workflow
@@ -317,7 +318,7 @@ export declare const WorkflowsApiFactory: (configuration?: Configuration, basePa
317
318
  * @param {*} [options] Override http request option.
318
319
  * @throws {RequiredError}
319
320
  */
320
- listWorkflows(startingAfter?: string, endingBefore?: string, limit?: number, expand?: Array<string>, options?: any): AxiosPromise<void>;
321
+ listWorkflows(startingAfter?: string, endingBefore?: string, limit?: number, expand?: Array<string>, options?: any): AxiosPromise<ListWorkflows200Response>;
321
322
  /**
322
323
  *
323
324
  * @summary Publish workflow
@@ -326,7 +327,7 @@ export declare const WorkflowsApiFactory: (configuration?: Configuration, basePa
326
327
  * @param {*} [options] Override http request option.
327
328
  * @throws {RequiredError}
328
329
  */
329
- publishWorkflow(id: string, publishWorkflowRequest?: PublishWorkflowRequest, options?: any): AxiosPromise<RetrieveWorkflow200Response>;
330
+ publishWorkflow(id: string, publishWorkflowRequest?: PublishWorkflowRequest, options?: any): AxiosPromise<CreateWorkflow201Response>;
330
331
  /**
331
332
  *
332
333
  * @summary Retrieve workflow
@@ -337,7 +338,7 @@ export declare const WorkflowsApiFactory: (configuration?: Configuration, basePa
337
338
  * @param {*} [options] Override http request option.
338
339
  * @throws {RequiredError}
339
340
  */
340
- retrieveWorkflow(id: string, idType?: string, userKey?: string, expand?: Array<string>, options?: any): AxiosPromise<RetrieveWorkflow200Response>;
341
+ retrieveWorkflow(id: string, idType?: string, userKey?: string, expand?: Array<string>, options?: any): AxiosPromise<CreateWorkflow201Response>;
341
342
  /**
342
343
  *
343
344
  * @summary Trigger workflow
@@ -371,7 +372,7 @@ export interface WorkflowsApiInterface {
371
372
  * @throws {RequiredError}
372
373
  * @memberof WorkflowsApiInterface
373
374
  */
374
- cloneWorkflow(id: string, discardWorkflowDraftRequest?: DiscardWorkflowDraftRequest, options?: RawAxiosRequestConfig): AxiosPromise<CloneWorkflow201Response>;
375
+ cloneWorkflow(id: string, discardWorkflowDraftRequest?: DiscardWorkflowDraftRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListWorkflows200ResponseCollectionInner>;
375
376
  /**
376
377
  *
377
378
  * @summary Create workflow
@@ -380,7 +381,7 @@ export interface WorkflowsApiInterface {
380
381
  * @throws {RequiredError}
381
382
  * @memberof WorkflowsApiInterface
382
383
  */
383
- createWorkflow(createWorkflowRequest?: CreateWorkflowRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
384
+ createWorkflow(createWorkflowRequest?: CreateWorkflowRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateWorkflow201Response>;
384
385
  /**
385
386
  *
386
387
  * @summary Delete workflow
@@ -401,7 +402,7 @@ export interface WorkflowsApiInterface {
401
402
  * @throws {RequiredError}
402
403
  * @memberof WorkflowsApiInterface
403
404
  */
404
- discardWorkflowDraft(id: string, discardWorkflowDraftRequest?: DiscardWorkflowDraftRequest, options?: RawAxiosRequestConfig): AxiosPromise<RetrieveWorkflow200Response>;
405
+ discardWorkflowDraft(id: string, discardWorkflowDraftRequest?: DiscardWorkflowDraftRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateWorkflow201Response>;
405
406
  /**
406
407
  *
407
408
  * @summary Execute workflow
@@ -436,7 +437,7 @@ export interface WorkflowsApiInterface {
436
437
  * @throws {RequiredError}
437
438
  * @memberof WorkflowsApiInterface
438
439
  */
439
- listWorkflows(startingAfter?: string, endingBefore?: string, limit?: number, expand?: Array<string>, options?: RawAxiosRequestConfig): AxiosPromise<void>;
440
+ listWorkflows(startingAfter?: string, endingBefore?: string, limit?: number, expand?: Array<string>, options?: RawAxiosRequestConfig): AxiosPromise<ListWorkflows200Response>;
440
441
  /**
441
442
  *
442
443
  * @summary Publish workflow
@@ -446,7 +447,7 @@ export interface WorkflowsApiInterface {
446
447
  * @throws {RequiredError}
447
448
  * @memberof WorkflowsApiInterface
448
449
  */
449
- publishWorkflow(id: string, publishWorkflowRequest?: PublishWorkflowRequest, options?: RawAxiosRequestConfig): AxiosPromise<RetrieveWorkflow200Response>;
450
+ publishWorkflow(id: string, publishWorkflowRequest?: PublishWorkflowRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateWorkflow201Response>;
450
451
  /**
451
452
  *
452
453
  * @summary Retrieve workflow
@@ -458,7 +459,7 @@ export interface WorkflowsApiInterface {
458
459
  * @throws {RequiredError}
459
460
  * @memberof WorkflowsApiInterface
460
461
  */
461
- retrieveWorkflow(id: string, idType?: string, userKey?: string, expand?: Array<string>, options?: RawAxiosRequestConfig): AxiosPromise<RetrieveWorkflow200Response>;
462
+ retrieveWorkflow(id: string, idType?: string, userKey?: string, expand?: Array<string>, options?: RawAxiosRequestConfig): AxiosPromise<CreateWorkflow201Response>;
462
463
  /**
463
464
  *
464
465
  * @summary Trigger workflow
@@ -495,7 +496,7 @@ export declare class WorkflowsApi extends BaseAPI implements WorkflowsApiInterfa
495
496
  * @throws {RequiredError}
496
497
  * @memberof WorkflowsApi
497
498
  */
498
- cloneWorkflow(id: string, discardWorkflowDraftRequest?: DiscardWorkflowDraftRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CloneWorkflow201Response, any>>;
499
+ cloneWorkflow(id: string, discardWorkflowDraftRequest?: DiscardWorkflowDraftRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListWorkflows200ResponseCollectionInner, any>>;
499
500
  /**
500
501
  *
501
502
  * @summary Create workflow
@@ -504,7 +505,7 @@ export declare class WorkflowsApi extends BaseAPI implements WorkflowsApiInterfa
504
505
  * @throws {RequiredError}
505
506
  * @memberof WorkflowsApi
506
507
  */
507
- createWorkflow(createWorkflowRequest?: CreateWorkflowRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
508
+ createWorkflow(createWorkflowRequest?: CreateWorkflowRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateWorkflow201Response, any>>;
508
509
  /**
509
510
  *
510
511
  * @summary Delete workflow
@@ -525,7 +526,7 @@ export declare class WorkflowsApi extends BaseAPI implements WorkflowsApiInterfa
525
526
  * @throws {RequiredError}
526
527
  * @memberof WorkflowsApi
527
528
  */
528
- discardWorkflowDraft(id: string, discardWorkflowDraftRequest?: DiscardWorkflowDraftRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RetrieveWorkflow200Response, any>>;
529
+ discardWorkflowDraft(id: string, discardWorkflowDraftRequest?: DiscardWorkflowDraftRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateWorkflow201Response, any>>;
529
530
  /**
530
531
  *
531
532
  * @summary Execute workflow
@@ -560,7 +561,7 @@ export declare class WorkflowsApi extends BaseAPI implements WorkflowsApiInterfa
560
561
  * @throws {RequiredError}
561
562
  * @memberof WorkflowsApi
562
563
  */
563
- listWorkflows(startingAfter?: string, endingBefore?: string, limit?: number, expand?: Array<string>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
564
+ listWorkflows(startingAfter?: string, endingBefore?: string, limit?: number, expand?: Array<string>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListWorkflows200Response, any>>;
564
565
  /**
565
566
  *
566
567
  * @summary Publish workflow
@@ -570,7 +571,7 @@ export declare class WorkflowsApi extends BaseAPI implements WorkflowsApiInterfa
570
571
  * @throws {RequiredError}
571
572
  * @memberof WorkflowsApi
572
573
  */
573
- publishWorkflow(id: string, publishWorkflowRequest?: PublishWorkflowRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RetrieveWorkflow200Response, any>>;
574
+ publishWorkflow(id: string, publishWorkflowRequest?: PublishWorkflowRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateWorkflow201Response, any>>;
574
575
  /**
575
576
  *
576
577
  * @summary Retrieve workflow
@@ -582,7 +583,7 @@ export declare class WorkflowsApi extends BaseAPI implements WorkflowsApiInterfa
582
583
  * @throws {RequiredError}
583
584
  * @memberof WorkflowsApi
584
585
  */
585
- retrieveWorkflow(id: string, idType?: string, userKey?: string, expand?: Array<string>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RetrieveWorkflow200Response, any>>;
586
+ retrieveWorkflow(id: string, idType?: string, userKey?: string, expand?: Array<string>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateWorkflow201Response, any>>;
586
587
  /**
587
588
  *
588
589
  * @summary Trigger workflow
@@ -12,8 +12,10 @@
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 { ApiV1ActionTypesPostRequest } from '../models';
15
+ import { CreateActionTypeRequest } from '../models';
16
+ import { DeleteActionType200Response } from '../models';
16
17
  import { ListActionTypes200Response } from '../models';
18
+ import { ListActionTypes200ResponseCollectionInner } from '../models';
17
19
  import { UpdateActionTypeRequest } from '../models';
18
20
  /**
19
21
  * ActionTypesApi - axios parameter creator
@@ -23,11 +25,11 @@ export declare const ActionTypesApiAxiosParamCreator: (configuration?: Configura
23
25
  /**
24
26
  *
25
27
  * @summary Create action type
26
- * @param {ApiV1ActionTypesPostRequest} [apiV1ActionTypesPostRequest]
28
+ * @param {CreateActionTypeRequest} [createActionTypeRequest]
27
29
  * @param {*} [options] Override http request option.
28
30
  * @throws {RequiredError}
29
31
  */
30
- apiV1ActionTypesPost: (apiV1ActionTypesPostRequest?: ApiV1ActionTypesPostRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
32
+ createActionType: (createActionTypeRequest?: CreateActionTypeRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
31
33
  /**
32
34
  *
33
35
  * @summary Delete action type
@@ -88,11 +90,11 @@ export declare const ActionTypesApiFp: (configuration?: Configuration) => {
88
90
  /**
89
91
  *
90
92
  * @summary Create action type
91
- * @param {ApiV1ActionTypesPostRequest} [apiV1ActionTypesPostRequest]
93
+ * @param {CreateActionTypeRequest} [createActionTypeRequest]
92
94
  * @param {*} [options] Override http request option.
93
95
  * @throws {RequiredError}
94
96
  */
95
- apiV1ActionTypesPost(apiV1ActionTypesPostRequest?: ApiV1ActionTypesPostRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
97
+ createActionType(createActionTypeRequest?: CreateActionTypeRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListActionTypes200ResponseCollectionInner>>;
96
98
  /**
97
99
  *
98
100
  * @summary Delete action type
@@ -100,7 +102,7 @@ export declare const ActionTypesApiFp: (configuration?: Configuration) => {
100
102
  * @param {*} [options] Override http request option.
101
103
  * @throws {RequiredError}
102
104
  */
103
- deleteActionType(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
105
+ deleteActionType(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteActionType200Response>>;
104
106
  /**
105
107
  *
106
108
  * @summary Discard action type draft
@@ -108,7 +110,7 @@ export declare const ActionTypesApiFp: (configuration?: Configuration) => {
108
110
  * @param {*} [options] Override http request option.
109
111
  * @throws {RequiredError}
110
112
  */
111
- discardActionTypeDraft(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
113
+ discardActionTypeDraft(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListActionTypes200ResponseCollectionInner>>;
112
114
  /**
113
115
  *
114
116
  * @summary List action types
@@ -126,7 +128,7 @@ export declare const ActionTypesApiFp: (configuration?: Configuration) => {
126
128
  * @param {*} [options] Override http request option.
127
129
  * @throws {RequiredError}
128
130
  */
129
- publishActionType(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
131
+ publishActionType(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListActionTypes200ResponseCollectionInner>>;
130
132
  /**
131
133
  *
132
134
  * @summary Retrieve action type
@@ -134,7 +136,7 @@ export declare const ActionTypesApiFp: (configuration?: Configuration) => {
134
136
  * @param {*} [options] Override http request option.
135
137
  * @throws {RequiredError}
136
138
  */
137
- retrieveActionType(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
139
+ retrieveActionType(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListActionTypes200ResponseCollectionInner>>;
138
140
  /**
139
141
  *
140
142
  * @summary Update action type
@@ -143,7 +145,7 @@ export declare const ActionTypesApiFp: (configuration?: Configuration) => {
143
145
  * @param {*} [options] Override http request option.
144
146
  * @throws {RequiredError}
145
147
  */
146
- updateActionType(id: string, updateActionTypeRequest?: UpdateActionTypeRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
148
+ updateActionType(id: string, updateActionTypeRequest?: UpdateActionTypeRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListActionTypes200ResponseCollectionInner>>;
147
149
  };
148
150
  /**
149
151
  * ActionTypesApi - factory interface
@@ -153,11 +155,11 @@ export declare const ActionTypesApiFactory: (configuration?: Configuration, base
153
155
  /**
154
156
  *
155
157
  * @summary Create action type
156
- * @param {ApiV1ActionTypesPostRequest} [apiV1ActionTypesPostRequest]
158
+ * @param {CreateActionTypeRequest} [createActionTypeRequest]
157
159
  * @param {*} [options] Override http request option.
158
160
  * @throws {RequiredError}
159
161
  */
160
- apiV1ActionTypesPost(apiV1ActionTypesPostRequest?: ApiV1ActionTypesPostRequest, options?: any): AxiosPromise<void>;
162
+ createActionType(createActionTypeRequest?: CreateActionTypeRequest, options?: any): AxiosPromise<ListActionTypes200ResponseCollectionInner>;
161
163
  /**
162
164
  *
163
165
  * @summary Delete action type
@@ -165,7 +167,7 @@ export declare const ActionTypesApiFactory: (configuration?: Configuration, base
165
167
  * @param {*} [options] Override http request option.
166
168
  * @throws {RequiredError}
167
169
  */
168
- deleteActionType(id: string, options?: any): AxiosPromise<void>;
170
+ deleteActionType(id: string, options?: any): AxiosPromise<DeleteActionType200Response>;
169
171
  /**
170
172
  *
171
173
  * @summary Discard action type draft
@@ -173,7 +175,7 @@ export declare const ActionTypesApiFactory: (configuration?: Configuration, base
173
175
  * @param {*} [options] Override http request option.
174
176
  * @throws {RequiredError}
175
177
  */
176
- discardActionTypeDraft(id: string, options?: any): AxiosPromise<void>;
178
+ discardActionTypeDraft(id: string, options?: any): AxiosPromise<ListActionTypes200ResponseCollectionInner>;
177
179
  /**
178
180
  *
179
181
  * @summary List action types
@@ -191,7 +193,7 @@ export declare const ActionTypesApiFactory: (configuration?: Configuration, base
191
193
  * @param {*} [options] Override http request option.
192
194
  * @throws {RequiredError}
193
195
  */
194
- publishActionType(id: string, options?: any): AxiosPromise<void>;
196
+ publishActionType(id: string, options?: any): AxiosPromise<ListActionTypes200ResponseCollectionInner>;
195
197
  /**
196
198
  *
197
199
  * @summary Retrieve action type
@@ -199,7 +201,7 @@ export declare const ActionTypesApiFactory: (configuration?: Configuration, base
199
201
  * @param {*} [options] Override http request option.
200
202
  * @throws {RequiredError}
201
203
  */
202
- retrieveActionType(id: string, options?: any): AxiosPromise<void>;
204
+ retrieveActionType(id: string, options?: any): AxiosPromise<ListActionTypes200ResponseCollectionInner>;
203
205
  /**
204
206
  *
205
207
  * @summary Update action type
@@ -208,7 +210,7 @@ export declare const ActionTypesApiFactory: (configuration?: Configuration, base
208
210
  * @param {*} [options] Override http request option.
209
211
  * @throws {RequiredError}
210
212
  */
211
- updateActionType(id: string, updateActionTypeRequest?: UpdateActionTypeRequest, options?: any): AxiosPromise<void>;
213
+ updateActionType(id: string, updateActionTypeRequest?: UpdateActionTypeRequest, options?: any): AxiosPromise<ListActionTypes200ResponseCollectionInner>;
212
214
  };
213
215
  /**
214
216
  * ActionTypesApi - interface
@@ -219,12 +221,12 @@ export interface ActionTypesApiInterface {
219
221
  /**
220
222
  *
221
223
  * @summary Create action type
222
- * @param {ApiV1ActionTypesPostRequest} [apiV1ActionTypesPostRequest]
224
+ * @param {CreateActionTypeRequest} [createActionTypeRequest]
223
225
  * @param {*} [options] Override http request option.
224
226
  * @throws {RequiredError}
225
227
  * @memberof ActionTypesApiInterface
226
228
  */
227
- apiV1ActionTypesPost(apiV1ActionTypesPostRequest?: ApiV1ActionTypesPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
229
+ createActionType(createActionTypeRequest?: CreateActionTypeRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListActionTypes200ResponseCollectionInner>;
228
230
  /**
229
231
  *
230
232
  * @summary Delete action type
@@ -233,7 +235,7 @@ export interface ActionTypesApiInterface {
233
235
  * @throws {RequiredError}
234
236
  * @memberof ActionTypesApiInterface
235
237
  */
236
- deleteActionType(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
238
+ deleteActionType(id: string, options?: RawAxiosRequestConfig): AxiosPromise<DeleteActionType200Response>;
237
239
  /**
238
240
  *
239
241
  * @summary Discard action type draft
@@ -242,7 +244,7 @@ export interface ActionTypesApiInterface {
242
244
  * @throws {RequiredError}
243
245
  * @memberof ActionTypesApiInterface
244
246
  */
245
- discardActionTypeDraft(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
247
+ discardActionTypeDraft(id: string, options?: RawAxiosRequestConfig): AxiosPromise<ListActionTypes200ResponseCollectionInner>;
246
248
  /**
247
249
  *
248
250
  * @summary List action types
@@ -262,7 +264,7 @@ export interface ActionTypesApiInterface {
262
264
  * @throws {RequiredError}
263
265
  * @memberof ActionTypesApiInterface
264
266
  */
265
- publishActionType(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
267
+ publishActionType(id: string, options?: RawAxiosRequestConfig): AxiosPromise<ListActionTypes200ResponseCollectionInner>;
266
268
  /**
267
269
  *
268
270
  * @summary Retrieve action type
@@ -271,7 +273,7 @@ export interface ActionTypesApiInterface {
271
273
  * @throws {RequiredError}
272
274
  * @memberof ActionTypesApiInterface
273
275
  */
274
- retrieveActionType(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
276
+ retrieveActionType(id: string, options?: RawAxiosRequestConfig): AxiosPromise<ListActionTypes200ResponseCollectionInner>;
275
277
  /**
276
278
  *
277
279
  * @summary Update action type
@@ -281,7 +283,7 @@ export interface ActionTypesApiInterface {
281
283
  * @throws {RequiredError}
282
284
  * @memberof ActionTypesApiInterface
283
285
  */
284
- updateActionType(id: string, updateActionTypeRequest?: UpdateActionTypeRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
286
+ updateActionType(id: string, updateActionTypeRequest?: UpdateActionTypeRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListActionTypes200ResponseCollectionInner>;
285
287
  }
286
288
  /**
287
289
  * ActionTypesApi - object-oriented interface
@@ -293,12 +295,12 @@ export declare class ActionTypesApi extends BaseAPI implements ActionTypesApiInt
293
295
  /**
294
296
  *
295
297
  * @summary Create action type
296
- * @param {ApiV1ActionTypesPostRequest} [apiV1ActionTypesPostRequest]
298
+ * @param {CreateActionTypeRequest} [createActionTypeRequest]
297
299
  * @param {*} [options] Override http request option.
298
300
  * @throws {RequiredError}
299
301
  * @memberof ActionTypesApi
300
302
  */
301
- apiV1ActionTypesPost(apiV1ActionTypesPostRequest?: ApiV1ActionTypesPostRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
303
+ createActionType(createActionTypeRequest?: CreateActionTypeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListActionTypes200ResponseCollectionInner, any>>;
302
304
  /**
303
305
  *
304
306
  * @summary Delete action type
@@ -307,7 +309,7 @@ export declare class ActionTypesApi extends BaseAPI implements ActionTypesApiInt
307
309
  * @throws {RequiredError}
308
310
  * @memberof ActionTypesApi
309
311
  */
310
- deleteActionType(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
312
+ deleteActionType(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteActionType200Response, any>>;
311
313
  /**
312
314
  *
313
315
  * @summary Discard action type draft
@@ -316,7 +318,7 @@ export declare class ActionTypesApi extends BaseAPI implements ActionTypesApiInt
316
318
  * @throws {RequiredError}
317
319
  * @memberof ActionTypesApi
318
320
  */
319
- discardActionTypeDraft(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
321
+ discardActionTypeDraft(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListActionTypes200ResponseCollectionInner, any>>;
320
322
  /**
321
323
  *
322
324
  * @summary List action types
@@ -336,7 +338,7 @@ export declare class ActionTypesApi extends BaseAPI implements ActionTypesApiInt
336
338
  * @throws {RequiredError}
337
339
  * @memberof ActionTypesApi
338
340
  */
339
- publishActionType(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
341
+ publishActionType(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListActionTypes200ResponseCollectionInner, any>>;
340
342
  /**
341
343
  *
342
344
  * @summary Retrieve action type
@@ -345,7 +347,7 @@ export declare class ActionTypesApi extends BaseAPI implements ActionTypesApiInt
345
347
  * @throws {RequiredError}
346
348
  * @memberof ActionTypesApi
347
349
  */
348
- retrieveActionType(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
350
+ retrieveActionType(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListActionTypes200ResponseCollectionInner, any>>;
349
351
  /**
350
352
  *
351
353
  * @summary Update action type
@@ -355,5 +357,5 @@ export declare class ActionTypesApi extends BaseAPI implements ActionTypesApiInt
355
357
  * @throws {RequiredError}
356
358
  * @memberof ActionTypesApi
357
359
  */
358
- updateActionType(id: string, updateActionTypeRequest?: UpdateActionTypeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
360
+ updateActionType(id: string, updateActionTypeRequest?: UpdateActionTypeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListActionTypes200ResponseCollectionInner, any>>;
359
361
  }
@@ -35,11 +35,11 @@ export const ActionTypesApiAxiosParamCreator = function (configuration) {
35
35
  /**
36
36
  *
37
37
  * @summary Create action type
38
- * @param {ApiV1ActionTypesPostRequest} [apiV1ActionTypesPostRequest]
38
+ * @param {CreateActionTypeRequest} [createActionTypeRequest]
39
39
  * @param {*} [options] Override http request option.
40
40
  * @throws {RequiredError}
41
41
  */
42
- apiV1ActionTypesPost: (apiV1ActionTypesPostRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
42
+ createActionType: (createActionTypeRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
43
43
  const localVarPath = `/api/v1/action_types`;
44
44
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
45
45
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -57,7 +57,7 @@ export const ActionTypesApiAxiosParamCreator = function (configuration) {
57
57
  setSearchParams(localVarUrlObj, localVarQueryParameter);
58
58
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
59
59
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
60
- localVarRequestOptions.data = serializeDataIfNeeded(apiV1ActionTypesPostRequest, localVarRequestOptions, configuration);
60
+ localVarRequestOptions.data = serializeDataIfNeeded(createActionTypeRequest, localVarRequestOptions, configuration);
61
61
  return {
62
62
  url: toPathString(localVarUrlObj),
63
63
  options: localVarRequestOptions,
@@ -278,16 +278,16 @@ export const ActionTypesApiFp = function (configuration) {
278
278
  /**
279
279
  *
280
280
  * @summary Create action type
281
- * @param {ApiV1ActionTypesPostRequest} [apiV1ActionTypesPostRequest]
281
+ * @param {CreateActionTypeRequest} [createActionTypeRequest]
282
282
  * @param {*} [options] Override http request option.
283
283
  * @throws {RequiredError}
284
284
  */
285
- apiV1ActionTypesPost(apiV1ActionTypesPostRequest, options) {
285
+ createActionType(createActionTypeRequest, options) {
286
286
  var _a, _b, _c;
287
287
  return __awaiter(this, void 0, void 0, function* () {
288
- const localVarAxiosArgs = yield localVarAxiosParamCreator.apiV1ActionTypesPost(apiV1ActionTypesPostRequest, options);
288
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.createActionType(createActionTypeRequest, options);
289
289
  const index = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
290
- const operationBasePath = (_c = (_b = operationServerMap['ActionTypesApi.apiV1ActionTypesPost']) === null || _b === void 0 ? void 0 : _b[index]) === null || _c === void 0 ? void 0 : _c.url;
290
+ const operationBasePath = (_c = (_b = operationServerMap['ActionTypesApi.createActionType']) === null || _b === void 0 ? void 0 : _b[index]) === null || _c === void 0 ? void 0 : _c.url;
291
291
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
292
292
  });
293
293
  },
@@ -402,12 +402,12 @@ export const ActionTypesApiFactory = function (configuration, basePath, axios) {
402
402
  /**
403
403
  *
404
404
  * @summary Create action type
405
- * @param {ApiV1ActionTypesPostRequest} [apiV1ActionTypesPostRequest]
405
+ * @param {CreateActionTypeRequest} [createActionTypeRequest]
406
406
  * @param {*} [options] Override http request option.
407
407
  * @throws {RequiredError}
408
408
  */
409
- apiV1ActionTypesPost(apiV1ActionTypesPostRequest, options) {
410
- return localVarFp.apiV1ActionTypesPost(apiV1ActionTypesPostRequest, options).then((request) => request(axios, basePath));
409
+ createActionType(createActionTypeRequest, options) {
410
+ return localVarFp.createActionType(createActionTypeRequest, options).then((request) => request(axios, basePath));
411
411
  },
412
412
  /**
413
413
  *
@@ -484,13 +484,13 @@ export class ActionTypesApi extends BaseAPI {
484
484
  /**
485
485
  *
486
486
  * @summary Create action type
487
- * @param {ApiV1ActionTypesPostRequest} [apiV1ActionTypesPostRequest]
487
+ * @param {CreateActionTypeRequest} [createActionTypeRequest]
488
488
  * @param {*} [options] Override http request option.
489
489
  * @throws {RequiredError}
490
490
  * @memberof ActionTypesApi
491
491
  */
492
- apiV1ActionTypesPost(apiV1ActionTypesPostRequest, options) {
493
- return ActionTypesApiFp(this.configuration).apiV1ActionTypesPost(apiV1ActionTypesPostRequest, options).then((request) => request(this.axios, this.basePath));
492
+ createActionType(createActionTypeRequest, options) {
493
+ return ActionTypesApiFp(this.configuration).createActionType(createActionTypeRequest, options).then((request) => request(this.axios, this.basePath));
494
494
  }
495
495
  /**
496
496
  *