ultracart_rest_api_v2_typescript 4.0.180 → 4.0.182

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 (58) hide show
  1. package/.openapi-generator/FILES +14 -0
  2. package/README.md +4 -2
  3. package/dist/apis/ConversationApi.d.ts +8 -8
  4. package/dist/apis/ConversationApi.js +4 -4
  5. package/dist/apis/OauthApi.js +2 -2
  6. package/dist/apis/StorefrontApi.js +1 -1
  7. package/dist/apis/WorkflowApi.d.ts +256 -0
  8. package/dist/apis/WorkflowApi.js +581 -0
  9. package/dist/apis/index.d.ts +1 -0
  10. package/dist/apis/index.js +1 -0
  11. package/dist/models/WorkflowAttachment.d.ts +51 -0
  12. package/dist/models/WorkflowAttachment.js +50 -0
  13. package/dist/models/WorkflowAttachmentUploadUrl.d.ts +33 -0
  14. package/dist/models/WorkflowAttachmentUploadUrl.js +44 -0
  15. package/dist/models/WorkflowAttachmentUploadUrlResponse.d.ts +55 -0
  16. package/dist/models/WorkflowAttachmentUploadUrlResponse.js +54 -0
  17. package/dist/models/WorkflowGroup.d.ts +33 -0
  18. package/dist/models/WorkflowGroup.js +44 -0
  19. package/dist/models/WorkflowGroupsResponse.d.ts +55 -0
  20. package/dist/models/WorkflowGroupsResponse.js +54 -0
  21. package/dist/models/WorkflowNote.d.ts +59 -0
  22. package/dist/models/WorkflowNote.js +54 -0
  23. package/dist/models/WorkflowTask.d.ts +187 -0
  24. package/dist/models/WorkflowTask.js +115 -0
  25. package/dist/models/WorkflowTaskHistory.d.ts +46 -0
  26. package/dist/models/WorkflowTaskHistory.js +49 -0
  27. package/dist/models/WorkflowTaskResponse.d.ts +55 -0
  28. package/dist/models/WorkflowTaskResponse.js +54 -0
  29. package/dist/models/WorkflowTasksRequest.d.ts +148 -0
  30. package/dist/models/WorkflowTasksRequest.js +100 -0
  31. package/dist/models/WorkflowTasksResponse.d.ts +55 -0
  32. package/dist/models/WorkflowTasksResponse.js +54 -0
  33. package/dist/models/WorkflowUser.d.ts +39 -0
  34. package/dist/models/WorkflowUser.js +46 -0
  35. package/dist/models/WorkflowUsersResponse.d.ts +55 -0
  36. package/dist/models/WorkflowUsersResponse.js +54 -0
  37. package/dist/models/index.d.ts +13 -0
  38. package/dist/models/index.js +13 -0
  39. package/package.json +1 -1
  40. package/src/apis/ConversationApi.ts +8 -8
  41. package/src/apis/OauthApi.ts +2 -2
  42. package/src/apis/StorefrontApi.ts +1 -1
  43. package/src/apis/WorkflowApi.ts +597 -0
  44. package/src/apis/index.ts +1 -0
  45. package/src/models/WorkflowAttachment.ts +88 -0
  46. package/src/models/WorkflowAttachmentUploadUrl.ts +64 -0
  47. package/src/models/WorkflowAttachmentUploadUrlResponse.ts +113 -0
  48. package/src/models/WorkflowGroup.ts +64 -0
  49. package/src/models/WorkflowGroupsResponse.ts +113 -0
  50. package/src/models/WorkflowNote.ts +109 -0
  51. package/src/models/WorkflowTask.ts +284 -0
  52. package/src/models/WorkflowTaskHistory.ts +87 -0
  53. package/src/models/WorkflowTaskResponse.ts +113 -0
  54. package/src/models/WorkflowTasksRequest.ts +218 -0
  55. package/src/models/WorkflowTasksResponse.ts +113 -0
  56. package/src/models/WorkflowUser.ts +72 -0
  57. package/src/models/WorkflowUsersResponse.ts +113 -0
  58. package/src/models/index.ts +13 -0
@@ -22,6 +22,7 @@ src/apis/StorefrontApi.ts
22
22
  src/apis/TaxApi.ts
23
23
  src/apis/UserApi.ts
24
24
  src/apis/WebhookApi.ts
25
+ src/apis/WorkflowApi.ts
25
26
  src/apis/index.ts
26
27
  src/index.ts
27
28
  src/models/AccountsReceivableRetryConfig.ts
@@ -805,6 +806,19 @@ src/models/WebhookSampleRequest.ts
805
806
  src/models/WebhookSampleRequestResponse.ts
806
807
  src/models/WebhooksResponse.ts
807
808
  src/models/Weight.ts
809
+ src/models/WorkflowAttachment.ts
810
+ src/models/WorkflowAttachmentUploadUrl.ts
811
+ src/models/WorkflowAttachmentUploadUrlResponse.ts
812
+ src/models/WorkflowGroup.ts
813
+ src/models/WorkflowGroupsResponse.ts
814
+ src/models/WorkflowNote.ts
815
+ src/models/WorkflowTask.ts
816
+ src/models/WorkflowTaskHistory.ts
817
+ src/models/WorkflowTaskResponse.ts
818
+ src/models/WorkflowTasksRequest.ts
819
+ src/models/WorkflowTasksResponse.ts
820
+ src/models/WorkflowUser.ts
821
+ src/models/WorkflowUsersResponse.ts
808
822
  src/models/index.ts
809
823
  src/runtime.ts
810
824
  tsconfig.json
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## ultracart_rest_api_v2_typescript@4.0.180
1
+ ## ultracart_rest_api_v2_typescript@4.0.182
2
2
 
3
3
  This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments:
4
4
 
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
36
36
  _published:_
37
37
 
38
38
  ```
39
- npm install ultracart_rest_api_v2_typescript@4.0.180 --save
39
+ npm install ultracart_rest_api_v2_typescript@4.0.182 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -54,6 +54,8 @@ Not every change is committed to every SDK.
54
54
 
55
55
  | Version | Date | Comments |
56
56
  | --: | :-: | --- |
57
+ | 4.0.182 | 10/23/2023 | workflow tasks api |
58
+ | 4.0.181 | 10/23/2023 | workflow tasks api |
57
59
  | 4.0.180 | 10/16/2023 | CartSettingsPaymentCreditCard - add collect_credit_card_verification_number_minimum |
58
60
  | 4.0.179 | 09/28/2023 | dw bi - add aggregation constant of none |
59
61
  | 4.0.178 | 09/22/2023 | dwbi - new option to control order-by of result set |
@@ -297,8 +297,8 @@ export interface ConversationApiInterface {
297
297
  */
298
298
  getConversationMessages(requestParameters: GetConversationMessagesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ConversationMessagesResponse>;
299
299
  /**
300
- * Get a presigned conersation multimedia upload URL
301
- * @summary Get a presigned conersation multimedia upload URL
300
+ * Get a presigned conversation multimedia upload URL
301
+ * @summary Get a presigned conversation multimedia upload URL
302
302
  * @param {string} extension
303
303
  * @param {*} [options] Override http request option.
304
304
  * @throws {RequiredError}
@@ -306,8 +306,8 @@ export interface ConversationApiInterface {
306
306
  */
307
307
  getConversationMultimediaUploadUrlRaw(requestParameters: GetConversationMultimediaUploadUrlRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ConversationMultimediaUploadUrlResponse>>;
308
308
  /**
309
- * Get a presigned conersation multimedia upload URL
310
- * Get a presigned conersation multimedia upload URL
309
+ * Get a presigned conversation multimedia upload URL
310
+ * Get a presigned conversation multimedia upload URL
311
311
  */
312
312
  getConversationMultimediaUploadUrl(requestParameters: GetConversationMultimediaUploadUrlRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ConversationMultimediaUploadUrlResponse>;
313
313
  /**
@@ -741,13 +741,13 @@ export declare class ConversationApi extends runtime.BaseAPI implements Conversa
741
741
  */
742
742
  getConversationMessages(requestParameters: GetConversationMessagesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ConversationMessagesResponse>;
743
743
  /**
744
- * Get a presigned conersation multimedia upload URL
745
- * Get a presigned conersation multimedia upload URL
744
+ * Get a presigned conversation multimedia upload URL
745
+ * Get a presigned conversation multimedia upload URL
746
746
  */
747
747
  getConversationMultimediaUploadUrlRaw(requestParameters: GetConversationMultimediaUploadUrlRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ConversationMultimediaUploadUrlResponse>>;
748
748
  /**
749
- * Get a presigned conersation multimedia upload URL
750
- * Get a presigned conersation multimedia upload URL
749
+ * Get a presigned conversation multimedia upload URL
750
+ * Get a presigned conversation multimedia upload URL
751
751
  */
752
752
  getConversationMultimediaUploadUrl(requestParameters: GetConversationMultimediaUploadUrlRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ConversationMultimediaUploadUrlResponse>;
753
753
  /**
@@ -882,8 +882,8 @@ var ConversationApi = /** @class */ (function (_super) {
882
882
  });
883
883
  };
884
884
  /**
885
- * Get a presigned conersation multimedia upload URL
886
- * Get a presigned conersation multimedia upload URL
885
+ * Get a presigned conversation multimedia upload URL
886
+ * Get a presigned conversation multimedia upload URL
887
887
  */
888
888
  ConversationApi.prototype.getConversationMultimediaUploadUrlRaw = function (requestParameters, initOverrides) {
889
889
  return __awaiter(this, void 0, void 0, function () {
@@ -923,8 +923,8 @@ var ConversationApi = /** @class */ (function (_super) {
923
923
  });
924
924
  };
925
925
  /**
926
- * Get a presigned conersation multimedia upload URL
927
- * Get a presigned conersation multimedia upload URL
926
+ * Get a presigned conversation multimedia upload URL
927
+ * Get a presigned conversation multimedia upload URL
928
928
  */
929
929
  ConversationApi.prototype.getConversationMultimediaUploadUrl = function (requestParameters, initOverrides) {
930
930
  return __awaiter(this, void 0, void 0, function () {
@@ -100,7 +100,7 @@ var OauthApi = /** @class */ (function (_super) {
100
100
  // oauth required
101
101
  _a = headerParameters;
102
102
  _b = "Authorization";
103
- return [4 /*yield*/, this.configuration.accessToken("ultraCartOauth", ["affiliate_read", "affiliate_write", "auto_order_read", "auto_order_write", "channel_partner_read", "channel_partner_write", "chargeback_read", "chargeback_write", "checkout_read", "checkout_write", "configuration_read", "configuration_write", "conversation_read", "conversation_write", "coupon_read", "coupon_write", "customer_read", "customer_write", "fulfillment_read", "fulfillment_write", "gift_certificate_read", "gift_certificate_write", "integration_log_read", "integration_log_write", "order_read", "order_write", "item_read", "item_write", "storefront_read", "storefront_write", "tax_read", "tax_write", "webhook_read", "webhook_write", "ultrabooks_read", "ultrabooks_write", "user_read", "user_write"])];
103
+ return [4 /*yield*/, this.configuration.accessToken("ultraCartOauth", ["affiliate_read", "affiliate_write", "auto_order_read", "auto_order_write", "channel_partner_read", "channel_partner_write", "chargeback_read", "chargeback_write", "checkout_read", "checkout_write", "configuration_read", "configuration_write", "conversation_read", "conversation_write", "coupon_read", "coupon_write", "customer_read", "customer_write", "fulfillment_read", "fulfillment_write", "gift_certificate_read", "gift_certificate_write", "integration_log_read", "integration_log_write", "order_read", "order_write", "item_read", "item_write", "storefront_read", "storefront_write", "tax_read", "tax_write", "webhook_read", "webhook_write", "ultrabooks_read", "ultrabooks_write", "user_read", "user_write", "workflow_read", "workflow_write"])];
104
104
  case 1:
105
105
  // oauth required
106
106
  _a[_b] = _c.sent();
@@ -192,7 +192,7 @@ var OauthApi = /** @class */ (function (_super) {
192
192
  // oauth required
193
193
  _a = headerParameters;
194
194
  _b = "Authorization";
195
- return [4 /*yield*/, this.configuration.accessToken("ultraCartOauth", ["affiliate_read", "affiliate_write", "auto_order_read", "auto_order_write", "channel_partner_read", "channel_partner_write", "chargeback_read", "chargeback_write", "checkout_read", "checkout_write", "configuration_read", "configuration_write", "conversation_read", "conversation_write", "coupon_read", "coupon_write", "customer_read", "customer_write", "fulfillment_read", "fulfillment_write", "gift_certificate_read", "gift_certificate_write", "integration_log_read", "integration_log_write", "order_read", "order_write", "item_read", "item_write", "storefront_read", "storefront_write", "tax_read", "tax_write", "webhook_read", "webhook_write", "ultrabooks_read", "ultrabooks_write", "user_read", "user_write"])];
195
+ return [4 /*yield*/, this.configuration.accessToken("ultraCartOauth", ["affiliate_read", "affiliate_write", "auto_order_read", "auto_order_write", "channel_partner_read", "channel_partner_write", "chargeback_read", "chargeback_write", "checkout_read", "checkout_write", "configuration_read", "configuration_write", "conversation_read", "conversation_write", "coupon_read", "coupon_write", "customer_read", "customer_write", "fulfillment_read", "fulfillment_write", "gift_certificate_read", "gift_certificate_write", "integration_log_read", "integration_log_write", "order_read", "order_write", "item_read", "item_write", "storefront_read", "storefront_write", "tax_read", "tax_write", "webhook_read", "webhook_write", "ultrabooks_read", "ultrabooks_write", "user_read", "user_write", "workflow_read", "workflow_write"])];
196
196
  case 1:
197
197
  // oauth required
198
198
  _a[_b] = _c.sent();
@@ -6722,7 +6722,7 @@ var StorefrontApi = /** @class */ (function (_super) {
6722
6722
  // oauth required
6723
6723
  _a = headerParameters;
6724
6724
  _b = "Authorization";
6725
- return [4 /*yield*/, this.configuration.accessToken("ultraCartOauth", ["affiliate_read", "affiliate_write", "auto_order_read", "auto_order_write", "channel_partner_read", "channel_partner_write", "chargeback_read", "chargeback_write", "checkout_read", "checkout_write", "configuration_read", "configuration_write", "conversation_read", "conversation_write", "coupon_read", "coupon_write", "customer_read", "customer_write", "fulfillment_read", "fulfillment_write", "gift_certificate_read", "gift_certificate_write", "integration_log_read", "integration_log_write", "order_read", "order_write", "item_read", "item_write", "storefront_read", "storefront_write", "tax_read", "tax_write", "webhook_read", "webhook_write", "ultrabooks_read", "ultrabooks_write", "user_read", "user_write"])];
6725
+ return [4 /*yield*/, this.configuration.accessToken("ultraCartOauth", ["affiliate_read", "affiliate_write", "auto_order_read", "auto_order_write", "channel_partner_read", "channel_partner_write", "chargeback_read", "chargeback_write", "checkout_read", "checkout_write", "configuration_read", "configuration_write", "conversation_read", "conversation_write", "coupon_read", "coupon_write", "customer_read", "customer_write", "fulfillment_read", "fulfillment_write", "gift_certificate_read", "gift_certificate_write", "integration_log_read", "integration_log_write", "order_read", "order_write", "item_read", "item_write", "storefront_read", "storefront_write", "tax_read", "tax_write", "webhook_read", "webhook_write", "ultrabooks_read", "ultrabooks_write", "user_read", "user_write", "workflow_read", "workflow_write"])];
6726
6726
  case 1:
6727
6727
  // oauth required
6728
6728
  _a[_b] = _c.sent();
@@ -0,0 +1,256 @@
1
+ /**
2
+ * UltraCart Rest API V2
3
+ * UltraCart REST API Version 2
4
+ *
5
+ * The version of the OpenAPI document: 2.0.0
6
+ * Contact: support@ultracart.com
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 * as runtime from '../runtime';
13
+ import { WorkflowAttachmentUploadUrlResponse, WorkflowGroupsResponse, WorkflowTask, WorkflowTaskResponse, WorkflowTasksRequest, WorkflowTasksResponse, WorkflowUsersResponse } from '../models';
14
+ export interface GetWorkflowAssignmentGroupsRequest {
15
+ limit?: number;
16
+ offset?: number;
17
+ }
18
+ export interface GetWorkflowAssignmentUsersRequest {
19
+ limit?: number;
20
+ offset?: number;
21
+ }
22
+ export interface GetWorkflowTaskRequest {
23
+ taskUuid: string;
24
+ }
25
+ export interface GetWorkflowTaskAttachmentUploadUrlRequest {
26
+ extension: string;
27
+ }
28
+ export interface GetWorkflowTaskByObjectTypeRequest {
29
+ objectType: string;
30
+ objectId: string;
31
+ }
32
+ export interface GetWorkflowTasksRequest {
33
+ workflowTasksQuery: WorkflowTasksRequest;
34
+ limit?: number;
35
+ offset?: number;
36
+ sort?: string;
37
+ }
38
+ export interface InsertWorkflowTaskRequest {
39
+ workflowTask: WorkflowTask;
40
+ }
41
+ export interface UpdateWorkflowTaskRequest {
42
+ taskUuid: string;
43
+ workflowTask: WorkflowTask;
44
+ }
45
+ /**
46
+ * WorkflowApi - interface
47
+ *
48
+ * @export
49
+ * @interface WorkflowApiInterface
50
+ */
51
+ export interface WorkflowApiInterface {
52
+ /**
53
+ * Retrieve a list of groups that workflow tasks can be assigned to
54
+ * @summary Retrieve a list of groups that workflow tasks can be assigned to
55
+ * @param {number} [limit] The maximum number of records to return on this one API call. (Max 200)
56
+ * @param {number} [offset] Pagination of the record set. Offset is a zero based index.
57
+ * @param {*} [options] Override http request option.
58
+ * @throws {RequiredError}
59
+ * @memberof WorkflowApiInterface
60
+ */
61
+ getWorkflowAssignmentGroupsRaw(requestParameters: GetWorkflowAssignmentGroupsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<WorkflowGroupsResponse>>;
62
+ /**
63
+ * Retrieve a list of groups that workflow tasks can be assigned to
64
+ * Retrieve a list of groups that workflow tasks can be assigned to
65
+ */
66
+ getWorkflowAssignmentGroups(requestParameters: GetWorkflowAssignmentGroupsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WorkflowGroupsResponse>;
67
+ /**
68
+ * Retrieve a list of users that workflow tasks can be assigned to
69
+ * @summary Retrieve a list of users that workflow tasks can be assigned to
70
+ * @param {number} [limit] The maximum number of records to return on this one API call. (Max 200)
71
+ * @param {number} [offset] Pagination of the record set. Offset is a zero based index.
72
+ * @param {*} [options] Override http request option.
73
+ * @throws {RequiredError}
74
+ * @memberof WorkflowApiInterface
75
+ */
76
+ getWorkflowAssignmentUsersRaw(requestParameters: GetWorkflowAssignmentUsersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<WorkflowUsersResponse>>;
77
+ /**
78
+ * Retrieve a list of users that workflow tasks can be assigned to
79
+ * Retrieve a list of users that workflow tasks can be assigned to
80
+ */
81
+ getWorkflowAssignmentUsers(requestParameters: GetWorkflowAssignmentUsersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WorkflowUsersResponse>;
82
+ /**
83
+ * Retrieve a workflow task
84
+ * @summary Retrieve a workflow task
85
+ * @param {string} taskUuid
86
+ * @param {*} [options] Override http request option.
87
+ * @throws {RequiredError}
88
+ * @memberof WorkflowApiInterface
89
+ */
90
+ getWorkflowTaskRaw(requestParameters: GetWorkflowTaskRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<WorkflowTaskResponse>>;
91
+ /**
92
+ * Retrieve a workflow task
93
+ * Retrieve a workflow task
94
+ */
95
+ getWorkflowTask(requestParameters: GetWorkflowTaskRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WorkflowTaskResponse>;
96
+ /**
97
+ * Get a presigned workflow task attachment upload URL
98
+ * @summary Get a presigned workflow task attachment upload URL
99
+ * @param {string} extension
100
+ * @param {*} [options] Override http request option.
101
+ * @throws {RequiredError}
102
+ * @memberof WorkflowApiInterface
103
+ */
104
+ getWorkflowTaskAttachmentUploadUrlRaw(requestParameters: GetWorkflowTaskAttachmentUploadUrlRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<WorkflowAttachmentUploadUrlResponse>>;
105
+ /**
106
+ * Get a presigned workflow task attachment upload URL
107
+ * Get a presigned workflow task attachment upload URL
108
+ */
109
+ getWorkflowTaskAttachmentUploadUrl(requestParameters: GetWorkflowTaskAttachmentUploadUrlRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WorkflowAttachmentUploadUrlResponse>;
110
+ /**
111
+ * Retrieve a workflow task by object type and id
112
+ * @summary Retrieve a workflow task by object type and id
113
+ * @param {string} objectType
114
+ * @param {string} objectId
115
+ * @param {*} [options] Override http request option.
116
+ * @throws {RequiredError}
117
+ * @memberof WorkflowApiInterface
118
+ */
119
+ getWorkflowTaskByObjectTypeRaw(requestParameters: GetWorkflowTaskByObjectTypeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<WorkflowTaskResponse>>;
120
+ /**
121
+ * Retrieve a workflow task by object type and id
122
+ * Retrieve a workflow task by object type and id
123
+ */
124
+ getWorkflowTaskByObjectType(requestParameters: GetWorkflowTaskByObjectTypeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WorkflowTaskResponse>;
125
+ /**
126
+ * Retrieves a set of workflow tasks from the account based on a query object.
127
+ * @summary Search workflow tasks
128
+ * @param {WorkflowTasksRequest} workflowTasksQuery Workflow tasks query
129
+ * @param {number} [limit] The maximum number of records to return on this one API call. (Default 100, Max 500)
130
+ * @param {number} [offset] Pagination of the record set. Offset is a zero based index.
131
+ * @param {string} [sort] The sort order of the items. See Sorting documentation for examples of using multiple values and sorting by ascending and descending.
132
+ * @param {*} [options] Override http request option.
133
+ * @throws {RequiredError}
134
+ * @memberof WorkflowApiInterface
135
+ */
136
+ getWorkflowTasksRaw(requestParameters: GetWorkflowTasksRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<WorkflowTasksResponse>>;
137
+ /**
138
+ * Retrieves a set of workflow tasks from the account based on a query object.
139
+ * Search workflow tasks
140
+ */
141
+ getWorkflowTasks(requestParameters: GetWorkflowTasksRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WorkflowTasksResponse>;
142
+ /**
143
+ * Insert a workflow task
144
+ * @summary Insert a workflow task
145
+ * @param {WorkflowTask} workflowTask workflow task
146
+ * @param {*} [options] Override http request option.
147
+ * @throws {RequiredError}
148
+ * @memberof WorkflowApiInterface
149
+ */
150
+ insertWorkflowTaskRaw(requestParameters: InsertWorkflowTaskRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<WorkflowTaskResponse>>;
151
+ /**
152
+ * Insert a workflow task
153
+ * Insert a workflow task
154
+ */
155
+ insertWorkflowTask(requestParameters: InsertWorkflowTaskRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WorkflowTaskResponse>;
156
+ /**
157
+ * Update a workflow task
158
+ * @summary Update a workflow task
159
+ * @param {string} taskUuid
160
+ * @param {WorkflowTask} workflowTask Workflow task
161
+ * @param {*} [options] Override http request option.
162
+ * @throws {RequiredError}
163
+ * @memberof WorkflowApiInterface
164
+ */
165
+ updateWorkflowTaskRaw(requestParameters: UpdateWorkflowTaskRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<WorkflowTaskResponse>>;
166
+ /**
167
+ * Update a workflow task
168
+ * Update a workflow task
169
+ */
170
+ updateWorkflowTask(requestParameters: UpdateWorkflowTaskRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WorkflowTaskResponse>;
171
+ }
172
+ /**
173
+ *
174
+ */
175
+ export declare class WorkflowApi extends runtime.BaseAPI implements WorkflowApiInterface {
176
+ /**
177
+ * Retrieve a list of groups that workflow tasks can be assigned to
178
+ * Retrieve a list of groups that workflow tasks can be assigned to
179
+ */
180
+ getWorkflowAssignmentGroupsRaw(requestParameters: GetWorkflowAssignmentGroupsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<WorkflowGroupsResponse>>;
181
+ /**
182
+ * Retrieve a list of groups that workflow tasks can be assigned to
183
+ * Retrieve a list of groups that workflow tasks can be assigned to
184
+ */
185
+ getWorkflowAssignmentGroups(requestParameters?: GetWorkflowAssignmentGroupsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WorkflowGroupsResponse>;
186
+ /**
187
+ * Retrieve a list of users that workflow tasks can be assigned to
188
+ * Retrieve a list of users that workflow tasks can be assigned to
189
+ */
190
+ getWorkflowAssignmentUsersRaw(requestParameters: GetWorkflowAssignmentUsersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<WorkflowUsersResponse>>;
191
+ /**
192
+ * Retrieve a list of users that workflow tasks can be assigned to
193
+ * Retrieve a list of users that workflow tasks can be assigned to
194
+ */
195
+ getWorkflowAssignmentUsers(requestParameters?: GetWorkflowAssignmentUsersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WorkflowUsersResponse>;
196
+ /**
197
+ * Retrieve a workflow task
198
+ * Retrieve a workflow task
199
+ */
200
+ getWorkflowTaskRaw(requestParameters: GetWorkflowTaskRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<WorkflowTaskResponse>>;
201
+ /**
202
+ * Retrieve a workflow task
203
+ * Retrieve a workflow task
204
+ */
205
+ getWorkflowTask(requestParameters: GetWorkflowTaskRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WorkflowTaskResponse>;
206
+ /**
207
+ * Get a presigned workflow task attachment upload URL
208
+ * Get a presigned workflow task attachment upload URL
209
+ */
210
+ getWorkflowTaskAttachmentUploadUrlRaw(requestParameters: GetWorkflowTaskAttachmentUploadUrlRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<WorkflowAttachmentUploadUrlResponse>>;
211
+ /**
212
+ * Get a presigned workflow task attachment upload URL
213
+ * Get a presigned workflow task attachment upload URL
214
+ */
215
+ getWorkflowTaskAttachmentUploadUrl(requestParameters: GetWorkflowTaskAttachmentUploadUrlRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WorkflowAttachmentUploadUrlResponse>;
216
+ /**
217
+ * Retrieve a workflow task by object type and id
218
+ * Retrieve a workflow task by object type and id
219
+ */
220
+ getWorkflowTaskByObjectTypeRaw(requestParameters: GetWorkflowTaskByObjectTypeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<WorkflowTaskResponse>>;
221
+ /**
222
+ * Retrieve a workflow task by object type and id
223
+ * Retrieve a workflow task by object type and id
224
+ */
225
+ getWorkflowTaskByObjectType(requestParameters: GetWorkflowTaskByObjectTypeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WorkflowTaskResponse>;
226
+ /**
227
+ * Retrieves a set of workflow tasks from the account based on a query object.
228
+ * Search workflow tasks
229
+ */
230
+ getWorkflowTasksRaw(requestParameters: GetWorkflowTasksRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<WorkflowTasksResponse>>;
231
+ /**
232
+ * Retrieves a set of workflow tasks from the account based on a query object.
233
+ * Search workflow tasks
234
+ */
235
+ getWorkflowTasks(requestParameters: GetWorkflowTasksRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WorkflowTasksResponse>;
236
+ /**
237
+ * Insert a workflow task
238
+ * Insert a workflow task
239
+ */
240
+ insertWorkflowTaskRaw(requestParameters: InsertWorkflowTaskRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<WorkflowTaskResponse>>;
241
+ /**
242
+ * Insert a workflow task
243
+ * Insert a workflow task
244
+ */
245
+ insertWorkflowTask(requestParameters: InsertWorkflowTaskRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WorkflowTaskResponse>;
246
+ /**
247
+ * Update a workflow task
248
+ * Update a workflow task
249
+ */
250
+ updateWorkflowTaskRaw(requestParameters: UpdateWorkflowTaskRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<WorkflowTaskResponse>>;
251
+ /**
252
+ * Update a workflow task
253
+ * Update a workflow task
254
+ */
255
+ updateWorkflowTask(requestParameters: UpdateWorkflowTaskRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WorkflowTaskResponse>;
256
+ }