@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
@@ -15,6 +15,7 @@ import { RequestArgs, BaseAPI } from '../base';
15
15
  import { CreateUserToken200Response } from '../models';
16
16
  import { CreateUserTokenRequest } from '../models';
17
17
  import { ListUsers200Response } from '../models';
18
+ import { ListUsers200ResponseCollectionInner } from '../models';
18
19
  import { UpsertUserRequest } from '../models';
19
20
  /**
20
21
  * UsersApi - axios parameter creator
@@ -85,7 +86,7 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
85
86
  * @param {*} [options] Override http request option.
86
87
  * @throws {RequiredError}
87
88
  */
88
- deleteUser(key: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
89
+ deleteUser(key: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListUsers200ResponseCollectionInner>>;
89
90
  /**
90
91
  *
91
92
  * @summary List users
@@ -103,7 +104,7 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
103
104
  * @param {*} [options] Override http request option.
104
105
  * @throws {RequiredError}
105
106
  */
106
- retrieveUser(key: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
107
+ retrieveUser(key: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListUsers200ResponseCollectionInner>>;
107
108
  /**
108
109
  *
109
110
  * @summary Upsert user
@@ -112,7 +113,7 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
112
113
  * @param {*} [options] Override http request option.
113
114
  * @throws {RequiredError}
114
115
  */
115
- upsertUser(key: string, upsertUserRequest?: UpsertUserRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
116
+ upsertUser(key: string, upsertUserRequest?: UpsertUserRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListUsers200ResponseCollectionInner>>;
116
117
  };
117
118
  /**
118
119
  * UsersApi - factory interface
@@ -134,7 +135,7 @@ export declare const UsersApiFactory: (configuration?: Configuration, basePath?:
134
135
  * @param {*} [options] Override http request option.
135
136
  * @throws {RequiredError}
136
137
  */
137
- deleteUser(key: string, options?: any): AxiosPromise<void>;
138
+ deleteUser(key: string, options?: any): AxiosPromise<ListUsers200ResponseCollectionInner>;
138
139
  /**
139
140
  *
140
141
  * @summary List users
@@ -152,7 +153,7 @@ export declare const UsersApiFactory: (configuration?: Configuration, basePath?:
152
153
  * @param {*} [options] Override http request option.
153
154
  * @throws {RequiredError}
154
155
  */
155
- retrieveUser(key: string, options?: any): AxiosPromise<void>;
156
+ retrieveUser(key: string, options?: any): AxiosPromise<ListUsers200ResponseCollectionInner>;
156
157
  /**
157
158
  *
158
159
  * @summary Upsert user
@@ -161,7 +162,7 @@ export declare const UsersApiFactory: (configuration?: Configuration, basePath?:
161
162
  * @param {*} [options] Override http request option.
162
163
  * @throws {RequiredError}
163
164
  */
164
- upsertUser(key: string, upsertUserRequest?: UpsertUserRequest, options?: any): AxiosPromise<void>;
165
+ upsertUser(key: string, upsertUserRequest?: UpsertUserRequest, options?: any): AxiosPromise<ListUsers200ResponseCollectionInner>;
165
166
  };
166
167
  /**
167
168
  * UsersApi - interface
@@ -186,7 +187,7 @@ export interface UsersApiInterface {
186
187
  * @throws {RequiredError}
187
188
  * @memberof UsersApiInterface
188
189
  */
189
- deleteUser(key: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
190
+ deleteUser(key: string, options?: RawAxiosRequestConfig): AxiosPromise<ListUsers200ResponseCollectionInner>;
190
191
  /**
191
192
  *
192
193
  * @summary List users
@@ -206,7 +207,7 @@ export interface UsersApiInterface {
206
207
  * @throws {RequiredError}
207
208
  * @memberof UsersApiInterface
208
209
  */
209
- retrieveUser(key: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
210
+ retrieveUser(key: string, options?: RawAxiosRequestConfig): AxiosPromise<ListUsers200ResponseCollectionInner>;
210
211
  /**
211
212
  *
212
213
  * @summary Upsert user
@@ -216,7 +217,7 @@ export interface UsersApiInterface {
216
217
  * @throws {RequiredError}
217
218
  * @memberof UsersApiInterface
218
219
  */
219
- upsertUser(key: string, upsertUserRequest?: UpsertUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
220
+ upsertUser(key: string, upsertUserRequest?: UpsertUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListUsers200ResponseCollectionInner>;
220
221
  }
221
222
  /**
222
223
  * UsersApi - object-oriented interface
@@ -242,7 +243,7 @@ export declare class UsersApi extends BaseAPI implements UsersApiInterface {
242
243
  * @throws {RequiredError}
243
244
  * @memberof UsersApi
244
245
  */
245
- deleteUser(key: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
246
+ deleteUser(key: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListUsers200ResponseCollectionInner, any>>;
246
247
  /**
247
248
  *
248
249
  * @summary List users
@@ -262,7 +263,7 @@ export declare class UsersApi extends BaseAPI implements UsersApiInterface {
262
263
  * @throws {RequiredError}
263
264
  * @memberof UsersApi
264
265
  */
265
- retrieveUser(key: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
266
+ retrieveUser(key: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListUsers200ResponseCollectionInner, any>>;
266
267
  /**
267
268
  *
268
269
  * @summary Upsert user
@@ -272,5 +273,5 @@ export declare class UsersApi extends BaseAPI implements UsersApiInterface {
272
273
  * @throws {RequiredError}
273
274
  * @memberof UsersApi
274
275
  */
275
- upsertUser(key: string, upsertUserRequest?: UpsertUserRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
276
+ upsertUser(key: string, upsertUserRequest?: UpsertUserRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListUsers200ResponseCollectionInner, any>>;
276
277
  }
@@ -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
@@ -0,0 +1,75 @@
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
+ /**
13
+ *
14
+ * @export
15
+ * @interface CreateActionTypeRequestFormDraftInner
16
+ */
17
+ export interface CreateActionTypeRequestFormDraftInner {
18
+ /**
19
+ * Unique identifier for the form field
20
+ * @type {string}
21
+ * @memberof CreateActionTypeRequestFormDraftInner
22
+ */
23
+ 'id': string;
24
+ /**
25
+ * Field name for form submission
26
+ * @type {string}
27
+ * @memberof CreateActionTypeRequestFormDraftInner
28
+ */
29
+ 'name': string;
30
+ /**
31
+ * Whether this field is required
32
+ * @type {boolean}
33
+ * @memberof CreateActionTypeRequestFormDraftInner
34
+ */
35
+ 'required'?: boolean;
36
+ /**
37
+ * Display label for the form field
38
+ * @type {string}
39
+ * @memberof CreateActionTypeRequestFormDraftInner
40
+ */
41
+ 'label'?: string;
42
+ /**
43
+ * Help text or description for the field
44
+ * @type {string}
45
+ * @memberof CreateActionTypeRequestFormDraftInner
46
+ */
47
+ 'description'?: string;
48
+ /**
49
+ * Form field type
50
+ * @type {string}
51
+ * @memberof CreateActionTypeRequestFormDraftInner
52
+ */
53
+ 'type': CreateActionTypeRequestFormDraftInnerTypeEnum;
54
+ /**
55
+ * Additional field configuration (options, validation, etc.)
56
+ * @type {{ [key: string]: any; }}
57
+ * @memberof CreateActionTypeRequestFormDraftInner
58
+ */
59
+ 'data'?: {
60
+ [key: string]: any;
61
+ };
62
+ }
63
+ export declare const CreateActionTypeRequestFormDraftInnerTypeEnum: {
64
+ readonly Text: "text";
65
+ readonly Email: "email";
66
+ readonly Password: "password";
67
+ readonly Textarea: "textarea";
68
+ readonly Select: "select";
69
+ readonly Checkbox: "checkbox";
70
+ readonly Radio: "radio";
71
+ readonly Number: "number";
72
+ readonly Date: "date";
73
+ readonly File: "file";
74
+ };
75
+ export type CreateActionTypeRequestFormDraftInnerTypeEnum = typeof CreateActionTypeRequestFormDraftInnerTypeEnum[keyof typeof CreateActionTypeRequestFormDraftInnerTypeEnum];
@@ -0,0 +1,25 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * API V1
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: v1
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ export const CreateActionTypeRequestFormDraftInnerTypeEnum = {
15
+ Text: 'text',
16
+ Email: 'email',
17
+ Password: 'password',
18
+ Textarea: 'textarea',
19
+ Select: 'select',
20
+ Checkbox: 'checkbox',
21
+ Radio: 'radio',
22
+ Number: 'number',
23
+ Date: 'date',
24
+ File: 'file'
25
+ };
@@ -0,0 +1,36 @@
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
+ /**
13
+ * Icon configuration
14
+ * @export
15
+ * @interface CreateActionTypeRequestIconDraft
16
+ */
17
+ export interface CreateActionTypeRequestIconDraft {
18
+ /**
19
+ * Icon type identifier
20
+ * @type {string}
21
+ * @memberof CreateActionTypeRequestIconDraft
22
+ */
23
+ 'type': string;
24
+ /**
25
+ * Background color for the icon
26
+ * @type {string}
27
+ * @memberof CreateActionTypeRequestIconDraft
28
+ */
29
+ 'background_color'?: string;
30
+ /**
31
+ * Custom icon URL (optional)
32
+ * @type {string}
33
+ * @memberof CreateActionTypeRequestIconDraft
34
+ */
35
+ 'url'?: string;
36
+ }
@@ -0,0 +1,14 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * API V1
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: v1
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ export {};
@@ -0,0 +1,105 @@
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 { CreateActionTypeRequestFormDraftInner } from './create-action-type-request-form-draft-inner';
13
+ import { CreateActionTypeRequestIconDraft } from './create-action-type-request-icon-draft';
14
+ import { UpdateAccountRequestUserDataSchemaInner } from './update-account-request-user-data-schema-inner';
15
+ /**
16
+ *
17
+ * @export
18
+ * @interface CreateActionTypeRequest
19
+ */
20
+ export interface CreateActionTypeRequest {
21
+ /**
22
+ * Name of resource
23
+ * @type {string}
24
+ * @memberof CreateActionTypeRequest
25
+ */
26
+ 'name': string;
27
+ /**
28
+ * Description of action type
29
+ * @type {string}
30
+ * @memberof CreateActionTypeRequest
31
+ */
32
+ 'description'?: string;
33
+ /**
34
+ * Type of action
35
+ * @type {string}
36
+ * @memberof CreateActionTypeRequest
37
+ */
38
+ 'type': string;
39
+ /**
40
+ * Enable or disable the resource.
41
+ * @type {boolean}
42
+ * @memberof CreateActionTypeRequest
43
+ */
44
+ 'on'?: boolean;
45
+ /**
46
+ * HTTP parameters as key:value pairs, one per line
47
+ * @type {string}
48
+ * @memberof CreateActionTypeRequest
49
+ */
50
+ 'params_draft'?: string;
51
+ /**
52
+ * HTTP headers as key:value pairs, one per line
53
+ * @type {string}
54
+ * @memberof CreateActionTypeRequest
55
+ */
56
+ 'headers_draft'?: string;
57
+ /**
58
+ * HTTP url
59
+ * @type {string}
60
+ * @memberof CreateActionTypeRequest
61
+ */
62
+ 'url_draft'?: string;
63
+ /**
64
+ * HTTP method
65
+ * @type {string}
66
+ * @memberof CreateActionTypeRequest
67
+ */
68
+ 'http_method_draft'?: string;
69
+ /**
70
+ * JavaScript code snippt
71
+ * @type {string}
72
+ * @memberof CreateActionTypeRequest
73
+ */
74
+ 'code_draft'?: string;
75
+ /**
76
+ * Whether or not you want to publish on create
77
+ * @type {boolean}
78
+ * @memberof CreateActionTypeRequest
79
+ */
80
+ 'publish'?: boolean;
81
+ /**
82
+ * Form field configuration
83
+ * @type {Array<CreateActionTypeRequestFormDraftInner>}
84
+ * @memberof CreateActionTypeRequest
85
+ */
86
+ 'form_draft'?: Array<CreateActionTypeRequestFormDraftInner>;
87
+ /**
88
+ * Data schema configuration
89
+ * @type {Array<UpdateAccountRequestUserDataSchemaInner>}
90
+ * @memberof CreateActionTypeRequest
91
+ */
92
+ 'response_data_schema_draft'?: Array<UpdateAccountRequestUserDataSchemaInner>;
93
+ /**
94
+ * User permission groups. Only available to users with admin role.
95
+ * @type {Array<string>}
96
+ * @memberof CreateActionTypeRequest
97
+ */
98
+ 'groups'?: Array<string>;
99
+ /**
100
+ *
101
+ * @type {CreateActionTypeRequestIconDraft}
102
+ * @memberof CreateActionTypeRequest
103
+ */
104
+ 'icon_draft'?: CreateActionTypeRequestIconDraft;
105
+ }
@@ -0,0 +1,14 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * API V1
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: v1
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ export {};
@@ -0,0 +1,36 @@
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
+ /**
13
+ *
14
+ * @export
15
+ * @interface CreateActionType422Response
16
+ */
17
+ export interface CreateActionType422Response {
18
+ /**
19
+ * Type of error
20
+ * @type {string}
21
+ * @memberof CreateActionType422Response
22
+ */
23
+ 'type': string;
24
+ /**
25
+ * Specific error code
26
+ * @type {string}
27
+ * @memberof CreateActionType422Response
28
+ */
29
+ 'code': string;
30
+ /**
31
+ * Human-readable message providing more details about the error
32
+ * @type {string}
33
+ * @memberof CreateActionType422Response
34
+ */
35
+ 'message': string;
36
+ }
@@ -0,0 +1,14 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * API V1
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: v1
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ export {};