@teemill/projects 1.40.0 → 1.42.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @teemill/projects@1.40.0
1
+ ## @teemill/projects@1.42.0
2
2
 
3
3
  This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). 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 @teemill/projects@1.40.0 --save
39
+ npm install @teemill/projects@1.42.0 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -51,6 +51,7 @@ All URIs are relative to *https://localhost:8080*
51
51
 
52
52
  Class | Method | HTTP request | Description
53
53
  ------------ | ------------- | ------------- | -------------
54
+ *ProjectsApi* | [**bulkUpdateTasks**](docs/ProjectsApi.md#bulkupdatetasks) | **PATCH** /v1/projects/{project}/tasks | Bulk update tasks
54
55
  *ProjectsApi* | [**createAuth**](docs/ProjectsApi.md#createauth) | **POST** /v1/projects/{project}/auth | Create auth token
55
56
  *ProjectsApi* | [**createBookmark**](docs/ProjectsApi.md#createbookmark) | **POST** /v1/projects/{project}/bookmarks | Create bookmark
56
57
  *ProjectsApi* | [**createInvite**](docs/ProjectsApi.md#createinvite) | **POST** /v1/projects/{project}/invites | Creates an invite
@@ -101,6 +102,8 @@ Class | Method | HTTP request | Description
101
102
  - [BookmarkTabs](docs/BookmarkTabs.md)
102
103
  - [BookmarkUrl](docs/BookmarkUrl.md)
103
104
  - [Bookmarks](docs/Bookmarks.md)
105
+ - [BulkUpdateTasksRequest](docs/BulkUpdateTasksRequest.md)
106
+ - [BulkUpdateTasksRequestTasksInner](docs/BulkUpdateTasksRequestTasksInner.md)
104
107
  - [CreateBookmarkRequest](docs/CreateBookmarkRequest.md)
105
108
  - [CreateInviteRequest](docs/CreateInviteRequest.md)
106
109
  - [CreateProjectRequest](docs/CreateProjectRequest.md)
package/api.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Projects API
5
5
  * Manage PodOS Projects
6
6
  *
7
- * The version of the OpenAPI document: 1.40.0
7
+ * The version of the OpenAPI document: 1.42.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -249,6 +249,40 @@ export interface Bookmarks {
249
249
  */
250
250
  'bookmarks': Array<Bookmark>;
251
251
  }
252
+ /**
253
+ *
254
+ * @export
255
+ * @interface BulkUpdateTasksRequest
256
+ */
257
+ export interface BulkUpdateTasksRequest {
258
+ /**
259
+ *
260
+ * @type {Array<BulkUpdateTasksRequestTasksInner>}
261
+ * @memberof BulkUpdateTasksRequest
262
+ */
263
+ 'tasks': Array<BulkUpdateTasksRequestTasksInner>;
264
+ }
265
+ /**
266
+ *
267
+ * @export
268
+ * @interface BulkUpdateTasksRequestTasksInner
269
+ */
270
+ export interface BulkUpdateTasksRequestTasksInner {
271
+ /**
272
+ *
273
+ * @type {string}
274
+ * @memberof BulkUpdateTasksRequestTasksInner
275
+ */
276
+ 'id': string;
277
+ /**
278
+ *
279
+ * @type {TaskStatus}
280
+ * @memberof BulkUpdateTasksRequestTasksInner
281
+ */
282
+ 'status': TaskStatus;
283
+ }
284
+
285
+
252
286
  /**
253
287
  *
254
288
  * @export
@@ -1093,7 +1127,8 @@ export const TemplateCode = {
1093
1127
  ShopHeadless: 'shop-headless',
1094
1128
  ShopCommercial: 'shop-commercial',
1095
1129
  Factory: 'factory',
1096
- Shopify: 'shopify'
1130
+ Shopify: 'shopify',
1131
+ Woocommerce: 'woocommerce'
1097
1132
  } as const;
1098
1133
 
1099
1134
  export type TemplateCode = typeof TemplateCode[keyof typeof TemplateCode];
@@ -1313,6 +1348,53 @@ export interface UpdateTaskRequest {
1313
1348
  */
1314
1349
  export const ProjectsApiAxiosParamCreator = function (configuration?: Configuration) {
1315
1350
  return {
1351
+ /**
1352
+ * Update multiple tasks in the workflow at once
1353
+ * @summary Bulk update tasks
1354
+ * @param {string} project Projects unique identifier
1355
+ * @param {BulkUpdateTasksRequest} bulkUpdateTasksRequest Update multiple tasks in the workflow
1356
+ * @param {*} [options] Override http request option.
1357
+ * @throws {RequiredError}
1358
+ */
1359
+ bulkUpdateTasks: async (project: string, bulkUpdateTasksRequest: BulkUpdateTasksRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1360
+ // verify required parameter 'project' is not null or undefined
1361
+ assertParamExists('bulkUpdateTasks', 'project', project)
1362
+ // verify required parameter 'bulkUpdateTasksRequest' is not null or undefined
1363
+ assertParamExists('bulkUpdateTasks', 'bulkUpdateTasksRequest', bulkUpdateTasksRequest)
1364
+ const localVarPath = `/v1/projects/{project}/tasks`
1365
+ .replace(`{${"project"}}`, encodeURIComponent(String(project)));
1366
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1367
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1368
+ let baseOptions;
1369
+ if (configuration) {
1370
+ baseOptions = configuration.baseOptions;
1371
+ }
1372
+
1373
+ const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
1374
+ const localVarHeaderParameter = {} as any;
1375
+ const localVarQueryParameter = {} as any;
1376
+
1377
+ // authentication session-oauth required
1378
+ // oauth required
1379
+ await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
1380
+
1381
+ // authentication api-key required
1382
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
1383
+
1384
+
1385
+
1386
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1387
+
1388
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1389
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1390
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1391
+ localVarRequestOptions.data = serializeDataIfNeeded(bulkUpdateTasksRequest, localVarRequestOptions, configuration)
1392
+
1393
+ return {
1394
+ url: toPathString(localVarUrlObj),
1395
+ options: localVarRequestOptions,
1396
+ };
1397
+ },
1316
1398
  /**
1317
1399
  * Create an auth token for the project
1318
1400
  * @summary Create auth token
@@ -2913,6 +2995,20 @@ export const ProjectsApiAxiosParamCreator = function (configuration?: Configurat
2913
2995
  export const ProjectsApiFp = function(configuration?: Configuration) {
2914
2996
  const localVarAxiosParamCreator = ProjectsApiAxiosParamCreator(configuration)
2915
2997
  return {
2998
+ /**
2999
+ * Update multiple tasks in the workflow at once
3000
+ * @summary Bulk update tasks
3001
+ * @param {string} project Projects unique identifier
3002
+ * @param {BulkUpdateTasksRequest} bulkUpdateTasksRequest Update multiple tasks in the workflow
3003
+ * @param {*} [options] Override http request option.
3004
+ * @throws {RequiredError}
3005
+ */
3006
+ async bulkUpdateTasks(project: string, bulkUpdateTasksRequest: BulkUpdateTasksRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListTasksResponse>> {
3007
+ const localVarAxiosArgs = await localVarAxiosParamCreator.bulkUpdateTasks(project, bulkUpdateTasksRequest, options);
3008
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
3009
+ const localVarOperationServerBasePath = operationServerMap['ProjectsApi.bulkUpdateTasks']?.[localVarOperationServerIndex]?.url;
3010
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3011
+ },
2916
3012
  /**
2917
3013
  * Create an auth token for the project
2918
3014
  * @summary Create auth token
@@ -3410,6 +3506,16 @@ export const ProjectsApiFp = function(configuration?: Configuration) {
3410
3506
  export const ProjectsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
3411
3507
  const localVarFp = ProjectsApiFp(configuration)
3412
3508
  return {
3509
+ /**
3510
+ * Update multiple tasks in the workflow at once
3511
+ * @summary Bulk update tasks
3512
+ * @param {ProjectsApiBulkUpdateTasksRequest} requestParameters Request parameters.
3513
+ * @param {*} [options] Override http request option.
3514
+ * @throws {RequiredError}
3515
+ */
3516
+ bulkUpdateTasks(requestParameters: ProjectsApiBulkUpdateTasksRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListTasksResponse> {
3517
+ return localVarFp.bulkUpdateTasks(requestParameters.project, requestParameters.bulkUpdateTasksRequest, options).then((request) => request(axios, basePath));
3518
+ },
3413
3519
  /**
3414
3520
  * Create an auth token for the project
3415
3521
  * @summary Create auth token
@@ -3763,6 +3869,27 @@ export const ProjectsApiFactory = function (configuration?: Configuration, baseP
3763
3869
  };
3764
3870
  };
3765
3871
 
3872
+ /**
3873
+ * Request parameters for bulkUpdateTasks operation in ProjectsApi.
3874
+ * @export
3875
+ * @interface ProjectsApiBulkUpdateTasksRequest
3876
+ */
3877
+ export interface ProjectsApiBulkUpdateTasksRequest {
3878
+ /**
3879
+ * Projects unique identifier
3880
+ * @type {string}
3881
+ * @memberof ProjectsApiBulkUpdateTasks
3882
+ */
3883
+ readonly project: string
3884
+
3885
+ /**
3886
+ * Update multiple tasks in the workflow
3887
+ * @type {BulkUpdateTasksRequest}
3888
+ * @memberof ProjectsApiBulkUpdateTasks
3889
+ */
3890
+ readonly bulkUpdateTasksRequest: BulkUpdateTasksRequest
3891
+ }
3892
+
3766
3893
  /**
3767
3894
  * Request parameters for createAuth operation in ProjectsApi.
3768
3895
  * @export
@@ -4484,6 +4611,18 @@ export interface ProjectsApiUpdateTaskRequest {
4484
4611
  * @extends {BaseAPI}
4485
4612
  */
4486
4613
  export class ProjectsApi extends BaseAPI {
4614
+ /**
4615
+ * Update multiple tasks in the workflow at once
4616
+ * @summary Bulk update tasks
4617
+ * @param {ProjectsApiBulkUpdateTasksRequest} requestParameters Request parameters.
4618
+ * @param {*} [options] Override http request option.
4619
+ * @throws {RequiredError}
4620
+ * @memberof ProjectsApi
4621
+ */
4622
+ public bulkUpdateTasks(requestParameters: ProjectsApiBulkUpdateTasksRequest, options?: RawAxiosRequestConfig) {
4623
+ return ProjectsApiFp(this.configuration).bulkUpdateTasks(requestParameters.project, requestParameters.bulkUpdateTasksRequest, options).then((request) => request(this.axios, this.basePath));
4624
+ }
4625
+
4487
4626
  /**
4488
4627
  * Create an auth token for the project
4489
4628
  * @summary Create auth token
package/base.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Projects API
5
5
  * Manage PodOS Projects
6
6
  *
7
- * The version of the OpenAPI document: 1.40.0
7
+ * The version of the OpenAPI document: 1.42.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/common.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Projects API
5
5
  * Manage PodOS Projects
6
6
  *
7
- * The version of the OpenAPI document: 1.40.0
7
+ * The version of the OpenAPI document: 1.42.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/configuration.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Projects API
5
5
  * Manage PodOS Projects
6
6
  *
7
- * The version of the OpenAPI document: 1.40.0
7
+ * The version of the OpenAPI document: 1.42.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/api.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Projects API
3
3
  * Manage PodOS Projects
4
4
  *
5
- * The version of the OpenAPI document: 1.40.0
5
+ * The version of the OpenAPI document: 1.42.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -242,6 +242,38 @@ export interface Bookmarks {
242
242
  */
243
243
  'bookmarks': Array<Bookmark>;
244
244
  }
245
+ /**
246
+ *
247
+ * @export
248
+ * @interface BulkUpdateTasksRequest
249
+ */
250
+ export interface BulkUpdateTasksRequest {
251
+ /**
252
+ *
253
+ * @type {Array<BulkUpdateTasksRequestTasksInner>}
254
+ * @memberof BulkUpdateTasksRequest
255
+ */
256
+ 'tasks': Array<BulkUpdateTasksRequestTasksInner>;
257
+ }
258
+ /**
259
+ *
260
+ * @export
261
+ * @interface BulkUpdateTasksRequestTasksInner
262
+ */
263
+ export interface BulkUpdateTasksRequestTasksInner {
264
+ /**
265
+ *
266
+ * @type {string}
267
+ * @memberof BulkUpdateTasksRequestTasksInner
268
+ */
269
+ 'id': string;
270
+ /**
271
+ *
272
+ * @type {TaskStatus}
273
+ * @memberof BulkUpdateTasksRequestTasksInner
274
+ */
275
+ 'status': TaskStatus;
276
+ }
245
277
  /**
246
278
  *
247
279
  * @export
@@ -1067,6 +1099,7 @@ export declare const TemplateCode: {
1067
1099
  readonly ShopCommercial: "shop-commercial";
1068
1100
  readonly Factory: "factory";
1069
1101
  readonly Shopify: "shopify";
1102
+ readonly Woocommerce: "woocommerce";
1070
1103
  };
1071
1104
  export type TemplateCode = typeof TemplateCode[keyof typeof TemplateCode];
1072
1105
  /**
@@ -1279,6 +1312,15 @@ export interface UpdateTaskRequest {
1279
1312
  * @export
1280
1313
  */
1281
1314
  export declare const ProjectsApiAxiosParamCreator: (configuration?: Configuration) => {
1315
+ /**
1316
+ * Update multiple tasks in the workflow at once
1317
+ * @summary Bulk update tasks
1318
+ * @param {string} project Projects unique identifier
1319
+ * @param {BulkUpdateTasksRequest} bulkUpdateTasksRequest Update multiple tasks in the workflow
1320
+ * @param {*} [options] Override http request option.
1321
+ * @throws {RequiredError}
1322
+ */
1323
+ bulkUpdateTasks: (project: string, bulkUpdateTasksRequest: BulkUpdateTasksRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1282
1324
  /**
1283
1325
  * Create an auth token for the project
1284
1326
  * @summary Create auth token
@@ -1597,6 +1639,15 @@ export declare const ProjectsApiAxiosParamCreator: (configuration?: Configuratio
1597
1639
  * @export
1598
1640
  */
1599
1641
  export declare const ProjectsApiFp: (configuration?: Configuration) => {
1642
+ /**
1643
+ * Update multiple tasks in the workflow at once
1644
+ * @summary Bulk update tasks
1645
+ * @param {string} project Projects unique identifier
1646
+ * @param {BulkUpdateTasksRequest} bulkUpdateTasksRequest Update multiple tasks in the workflow
1647
+ * @param {*} [options] Override http request option.
1648
+ * @throws {RequiredError}
1649
+ */
1650
+ bulkUpdateTasks(project: string, bulkUpdateTasksRequest: BulkUpdateTasksRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListTasksResponse>>;
1600
1651
  /**
1601
1652
  * Create an auth token for the project
1602
1653
  * @summary Create auth token
@@ -1915,6 +1966,14 @@ export declare const ProjectsApiFp: (configuration?: Configuration) => {
1915
1966
  * @export
1916
1967
  */
1917
1968
  export declare const ProjectsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
1969
+ /**
1970
+ * Update multiple tasks in the workflow at once
1971
+ * @summary Bulk update tasks
1972
+ * @param {ProjectsApiBulkUpdateTasksRequest} requestParameters Request parameters.
1973
+ * @param {*} [options] Override http request option.
1974
+ * @throws {RequiredError}
1975
+ */
1976
+ bulkUpdateTasks(requestParameters: ProjectsApiBulkUpdateTasksRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListTasksResponse>;
1918
1977
  /**
1919
1978
  * Create an auth token for the project
1920
1979
  * @summary Create auth token
@@ -2196,6 +2255,25 @@ export declare const ProjectsApiFactory: (configuration?: Configuration, basePat
2196
2255
  */
2197
2256
  updateTask(requestParameters: ProjectsApiUpdateTaskRequest, options?: RawAxiosRequestConfig): AxiosPromise<Task>;
2198
2257
  };
2258
+ /**
2259
+ * Request parameters for bulkUpdateTasks operation in ProjectsApi.
2260
+ * @export
2261
+ * @interface ProjectsApiBulkUpdateTasksRequest
2262
+ */
2263
+ export interface ProjectsApiBulkUpdateTasksRequest {
2264
+ /**
2265
+ * Projects unique identifier
2266
+ * @type {string}
2267
+ * @memberof ProjectsApiBulkUpdateTasks
2268
+ */
2269
+ readonly project: string;
2270
+ /**
2271
+ * Update multiple tasks in the workflow
2272
+ * @type {BulkUpdateTasksRequest}
2273
+ * @memberof ProjectsApiBulkUpdateTasks
2274
+ */
2275
+ readonly bulkUpdateTasksRequest: BulkUpdateTasksRequest;
2276
+ }
2199
2277
  /**
2200
2278
  * Request parameters for createAuth operation in ProjectsApi.
2201
2279
  * @export
@@ -2850,6 +2928,15 @@ export interface ProjectsApiUpdateTaskRequest {
2850
2928
  * @extends {BaseAPI}
2851
2929
  */
2852
2930
  export declare class ProjectsApi extends BaseAPI {
2931
+ /**
2932
+ * Update multiple tasks in the workflow at once
2933
+ * @summary Bulk update tasks
2934
+ * @param {ProjectsApiBulkUpdateTasksRequest} requestParameters Request parameters.
2935
+ * @param {*} [options] Override http request option.
2936
+ * @throws {RequiredError}
2937
+ * @memberof ProjectsApi
2938
+ */
2939
+ bulkUpdateTasks(requestParameters: ProjectsApiBulkUpdateTasksRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListTasksResponse, any>>;
2853
2940
  /**
2854
2941
  * Create an auth token for the project
2855
2942
  * @summary Create auth token
package/dist/api.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Projects API
6
6
  * Manage PodOS Projects
7
7
  *
8
- * The version of the OpenAPI document: 1.40.0
8
+ * The version of the OpenAPI document: 1.42.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -65,7 +65,8 @@ exports.TemplateCode = {
65
65
  ShopHeadless: 'shop-headless',
66
66
  ShopCommercial: 'shop-commercial',
67
67
  Factory: 'factory',
68
- Shopify: 'shopify'
68
+ Shopify: 'shopify',
69
+ Woocommerce: 'woocommerce'
69
70
  };
70
71
  /**
71
72
  * ProjectsApi - axios parameter creator
@@ -73,6 +74,45 @@ exports.TemplateCode = {
73
74
  */
74
75
  const ProjectsApiAxiosParamCreator = function (configuration) {
75
76
  return {
77
+ /**
78
+ * Update multiple tasks in the workflow at once
79
+ * @summary Bulk update tasks
80
+ * @param {string} project Projects unique identifier
81
+ * @param {BulkUpdateTasksRequest} bulkUpdateTasksRequest Update multiple tasks in the workflow
82
+ * @param {*} [options] Override http request option.
83
+ * @throws {RequiredError}
84
+ */
85
+ bulkUpdateTasks: (project_1, bulkUpdateTasksRequest_1, ...args_1) => __awaiter(this, [project_1, bulkUpdateTasksRequest_1, ...args_1], void 0, function* (project, bulkUpdateTasksRequest, options = {}) {
86
+ // verify required parameter 'project' is not null or undefined
87
+ (0, common_1.assertParamExists)('bulkUpdateTasks', 'project', project);
88
+ // verify required parameter 'bulkUpdateTasksRequest' is not null or undefined
89
+ (0, common_1.assertParamExists)('bulkUpdateTasks', 'bulkUpdateTasksRequest', bulkUpdateTasksRequest);
90
+ const localVarPath = `/v1/projects/{project}/tasks`
91
+ .replace(`{${"project"}}`, encodeURIComponent(String(project)));
92
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
93
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
94
+ let baseOptions;
95
+ if (configuration) {
96
+ baseOptions = configuration.baseOptions;
97
+ }
98
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
99
+ const localVarHeaderParameter = {};
100
+ const localVarQueryParameter = {};
101
+ // authentication session-oauth required
102
+ // oauth required
103
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
104
+ // authentication api-key required
105
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
106
+ localVarHeaderParameter['Content-Type'] = 'application/json';
107
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
108
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
109
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
110
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(bulkUpdateTasksRequest, localVarRequestOptions, configuration);
111
+ return {
112
+ url: (0, common_1.toPathString)(localVarUrlObj),
113
+ options: localVarRequestOptions,
114
+ };
115
+ }),
76
116
  /**
77
117
  * Create an auth token for the project
78
118
  * @summary Create auth token
@@ -1408,6 +1448,23 @@ exports.ProjectsApiAxiosParamCreator = ProjectsApiAxiosParamCreator;
1408
1448
  const ProjectsApiFp = function (configuration) {
1409
1449
  const localVarAxiosParamCreator = (0, exports.ProjectsApiAxiosParamCreator)(configuration);
1410
1450
  return {
1451
+ /**
1452
+ * Update multiple tasks in the workflow at once
1453
+ * @summary Bulk update tasks
1454
+ * @param {string} project Projects unique identifier
1455
+ * @param {BulkUpdateTasksRequest} bulkUpdateTasksRequest Update multiple tasks in the workflow
1456
+ * @param {*} [options] Override http request option.
1457
+ * @throws {RequiredError}
1458
+ */
1459
+ bulkUpdateTasks(project, bulkUpdateTasksRequest, options) {
1460
+ return __awaiter(this, void 0, void 0, function* () {
1461
+ var _a, _b, _c;
1462
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.bulkUpdateTasks(project, bulkUpdateTasksRequest, options);
1463
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1464
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ProjectsApi.bulkUpdateTasks']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1465
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1466
+ });
1467
+ },
1411
1468
  /**
1412
1469
  * Create an auth token for the project
1413
1470
  * @summary Create auth token
@@ -2010,6 +2067,16 @@ exports.ProjectsApiFp = ProjectsApiFp;
2010
2067
  const ProjectsApiFactory = function (configuration, basePath, axios) {
2011
2068
  const localVarFp = (0, exports.ProjectsApiFp)(configuration);
2012
2069
  return {
2070
+ /**
2071
+ * Update multiple tasks in the workflow at once
2072
+ * @summary Bulk update tasks
2073
+ * @param {ProjectsApiBulkUpdateTasksRequest} requestParameters Request parameters.
2074
+ * @param {*} [options] Override http request option.
2075
+ * @throws {RequiredError}
2076
+ */
2077
+ bulkUpdateTasks(requestParameters, options) {
2078
+ return localVarFp.bulkUpdateTasks(requestParameters.project, requestParameters.bulkUpdateTasksRequest, options).then((request) => request(axios, basePath));
2079
+ },
2013
2080
  /**
2014
2081
  * Create an auth token for the project
2015
2082
  * @summary Create auth token
@@ -2370,6 +2437,17 @@ exports.ProjectsApiFactory = ProjectsApiFactory;
2370
2437
  * @extends {BaseAPI}
2371
2438
  */
2372
2439
  class ProjectsApi extends base_1.BaseAPI {
2440
+ /**
2441
+ * Update multiple tasks in the workflow at once
2442
+ * @summary Bulk update tasks
2443
+ * @param {ProjectsApiBulkUpdateTasksRequest} requestParameters Request parameters.
2444
+ * @param {*} [options] Override http request option.
2445
+ * @throws {RequiredError}
2446
+ * @memberof ProjectsApi
2447
+ */
2448
+ bulkUpdateTasks(requestParameters, options) {
2449
+ return (0, exports.ProjectsApiFp)(this.configuration).bulkUpdateTasks(requestParameters.project, requestParameters.bulkUpdateTasksRequest, options).then((request) => request(this.axios, this.basePath));
2450
+ }
2373
2451
  /**
2374
2452
  * Create an auth token for the project
2375
2453
  * @summary Create auth token
package/dist/base.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Projects API
3
3
  * Manage PodOS Projects
4
4
  *
5
- * The version of the OpenAPI document: 1.40.0
5
+ * The version of the OpenAPI document: 1.42.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/base.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Projects API
6
6
  * Manage PodOS Projects
7
7
  *
8
- * The version of the OpenAPI document: 1.40.0
8
+ * The version of the OpenAPI document: 1.42.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/common.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Projects API
3
3
  * Manage PodOS Projects
4
4
  *
5
- * The version of the OpenAPI document: 1.40.0
5
+ * The version of the OpenAPI document: 1.42.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/common.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Projects API
6
6
  * Manage PodOS Projects
7
7
  *
8
- * The version of the OpenAPI document: 1.40.0
8
+ * The version of the OpenAPI document: 1.42.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Projects API
3
3
  * Manage PodOS Projects
4
4
  *
5
- * The version of the OpenAPI document: 1.40.0
5
+ * The version of the OpenAPI document: 1.42.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Projects API
6
6
  * Manage PodOS Projects
7
7
  *
8
- * The version of the OpenAPI document: 1.40.0
8
+ * The version of the OpenAPI document: 1.42.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/esm/api.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Projects API
3
3
  * Manage PodOS Projects
4
4
  *
5
- * The version of the OpenAPI document: 1.40.0
5
+ * The version of the OpenAPI document: 1.42.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -242,6 +242,38 @@ export interface Bookmarks {
242
242
  */
243
243
  'bookmarks': Array<Bookmark>;
244
244
  }
245
+ /**
246
+ *
247
+ * @export
248
+ * @interface BulkUpdateTasksRequest
249
+ */
250
+ export interface BulkUpdateTasksRequest {
251
+ /**
252
+ *
253
+ * @type {Array<BulkUpdateTasksRequestTasksInner>}
254
+ * @memberof BulkUpdateTasksRequest
255
+ */
256
+ 'tasks': Array<BulkUpdateTasksRequestTasksInner>;
257
+ }
258
+ /**
259
+ *
260
+ * @export
261
+ * @interface BulkUpdateTasksRequestTasksInner
262
+ */
263
+ export interface BulkUpdateTasksRequestTasksInner {
264
+ /**
265
+ *
266
+ * @type {string}
267
+ * @memberof BulkUpdateTasksRequestTasksInner
268
+ */
269
+ 'id': string;
270
+ /**
271
+ *
272
+ * @type {TaskStatus}
273
+ * @memberof BulkUpdateTasksRequestTasksInner
274
+ */
275
+ 'status': TaskStatus;
276
+ }
245
277
  /**
246
278
  *
247
279
  * @export
@@ -1067,6 +1099,7 @@ export declare const TemplateCode: {
1067
1099
  readonly ShopCommercial: "shop-commercial";
1068
1100
  readonly Factory: "factory";
1069
1101
  readonly Shopify: "shopify";
1102
+ readonly Woocommerce: "woocommerce";
1070
1103
  };
1071
1104
  export type TemplateCode = typeof TemplateCode[keyof typeof TemplateCode];
1072
1105
  /**
@@ -1279,6 +1312,15 @@ export interface UpdateTaskRequest {
1279
1312
  * @export
1280
1313
  */
1281
1314
  export declare const ProjectsApiAxiosParamCreator: (configuration?: Configuration) => {
1315
+ /**
1316
+ * Update multiple tasks in the workflow at once
1317
+ * @summary Bulk update tasks
1318
+ * @param {string} project Projects unique identifier
1319
+ * @param {BulkUpdateTasksRequest} bulkUpdateTasksRequest Update multiple tasks in the workflow
1320
+ * @param {*} [options] Override http request option.
1321
+ * @throws {RequiredError}
1322
+ */
1323
+ bulkUpdateTasks: (project: string, bulkUpdateTasksRequest: BulkUpdateTasksRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1282
1324
  /**
1283
1325
  * Create an auth token for the project
1284
1326
  * @summary Create auth token
@@ -1597,6 +1639,15 @@ export declare const ProjectsApiAxiosParamCreator: (configuration?: Configuratio
1597
1639
  * @export
1598
1640
  */
1599
1641
  export declare const ProjectsApiFp: (configuration?: Configuration) => {
1642
+ /**
1643
+ * Update multiple tasks in the workflow at once
1644
+ * @summary Bulk update tasks
1645
+ * @param {string} project Projects unique identifier
1646
+ * @param {BulkUpdateTasksRequest} bulkUpdateTasksRequest Update multiple tasks in the workflow
1647
+ * @param {*} [options] Override http request option.
1648
+ * @throws {RequiredError}
1649
+ */
1650
+ bulkUpdateTasks(project: string, bulkUpdateTasksRequest: BulkUpdateTasksRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListTasksResponse>>;
1600
1651
  /**
1601
1652
  * Create an auth token for the project
1602
1653
  * @summary Create auth token
@@ -1915,6 +1966,14 @@ export declare const ProjectsApiFp: (configuration?: Configuration) => {
1915
1966
  * @export
1916
1967
  */
1917
1968
  export declare const ProjectsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
1969
+ /**
1970
+ * Update multiple tasks in the workflow at once
1971
+ * @summary Bulk update tasks
1972
+ * @param {ProjectsApiBulkUpdateTasksRequest} requestParameters Request parameters.
1973
+ * @param {*} [options] Override http request option.
1974
+ * @throws {RequiredError}
1975
+ */
1976
+ bulkUpdateTasks(requestParameters: ProjectsApiBulkUpdateTasksRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListTasksResponse>;
1918
1977
  /**
1919
1978
  * Create an auth token for the project
1920
1979
  * @summary Create auth token
@@ -2196,6 +2255,25 @@ export declare const ProjectsApiFactory: (configuration?: Configuration, basePat
2196
2255
  */
2197
2256
  updateTask(requestParameters: ProjectsApiUpdateTaskRequest, options?: RawAxiosRequestConfig): AxiosPromise<Task>;
2198
2257
  };
2258
+ /**
2259
+ * Request parameters for bulkUpdateTasks operation in ProjectsApi.
2260
+ * @export
2261
+ * @interface ProjectsApiBulkUpdateTasksRequest
2262
+ */
2263
+ export interface ProjectsApiBulkUpdateTasksRequest {
2264
+ /**
2265
+ * Projects unique identifier
2266
+ * @type {string}
2267
+ * @memberof ProjectsApiBulkUpdateTasks
2268
+ */
2269
+ readonly project: string;
2270
+ /**
2271
+ * Update multiple tasks in the workflow
2272
+ * @type {BulkUpdateTasksRequest}
2273
+ * @memberof ProjectsApiBulkUpdateTasks
2274
+ */
2275
+ readonly bulkUpdateTasksRequest: BulkUpdateTasksRequest;
2276
+ }
2199
2277
  /**
2200
2278
  * Request parameters for createAuth operation in ProjectsApi.
2201
2279
  * @export
@@ -2850,6 +2928,15 @@ export interface ProjectsApiUpdateTaskRequest {
2850
2928
  * @extends {BaseAPI}
2851
2929
  */
2852
2930
  export declare class ProjectsApi extends BaseAPI {
2931
+ /**
2932
+ * Update multiple tasks in the workflow at once
2933
+ * @summary Bulk update tasks
2934
+ * @param {ProjectsApiBulkUpdateTasksRequest} requestParameters Request parameters.
2935
+ * @param {*} [options] Override http request option.
2936
+ * @throws {RequiredError}
2937
+ * @memberof ProjectsApi
2938
+ */
2939
+ bulkUpdateTasks(requestParameters: ProjectsApiBulkUpdateTasksRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListTasksResponse, any>>;
2853
2940
  /**
2854
2941
  * Create an auth token for the project
2855
2942
  * @summary Create auth token
package/dist/esm/api.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * Projects API
5
5
  * Manage PodOS Projects
6
6
  *
7
- * The version of the OpenAPI document: 1.40.0
7
+ * The version of the OpenAPI document: 1.42.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -62,7 +62,8 @@ export const TemplateCode = {
62
62
  ShopHeadless: 'shop-headless',
63
63
  ShopCommercial: 'shop-commercial',
64
64
  Factory: 'factory',
65
- Shopify: 'shopify'
65
+ Shopify: 'shopify',
66
+ Woocommerce: 'woocommerce'
66
67
  };
67
68
  /**
68
69
  * ProjectsApi - axios parameter creator
@@ -70,6 +71,45 @@ export const TemplateCode = {
70
71
  */
71
72
  export const ProjectsApiAxiosParamCreator = function (configuration) {
72
73
  return {
74
+ /**
75
+ * Update multiple tasks in the workflow at once
76
+ * @summary Bulk update tasks
77
+ * @param {string} project Projects unique identifier
78
+ * @param {BulkUpdateTasksRequest} bulkUpdateTasksRequest Update multiple tasks in the workflow
79
+ * @param {*} [options] Override http request option.
80
+ * @throws {RequiredError}
81
+ */
82
+ bulkUpdateTasks: (project_1, bulkUpdateTasksRequest_1, ...args_1) => __awaiter(this, [project_1, bulkUpdateTasksRequest_1, ...args_1], void 0, function* (project, bulkUpdateTasksRequest, options = {}) {
83
+ // verify required parameter 'project' is not null or undefined
84
+ assertParamExists('bulkUpdateTasks', 'project', project);
85
+ // verify required parameter 'bulkUpdateTasksRequest' is not null or undefined
86
+ assertParamExists('bulkUpdateTasks', 'bulkUpdateTasksRequest', bulkUpdateTasksRequest);
87
+ const localVarPath = `/v1/projects/{project}/tasks`
88
+ .replace(`{${"project"}}`, encodeURIComponent(String(project)));
89
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
90
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
91
+ let baseOptions;
92
+ if (configuration) {
93
+ baseOptions = configuration.baseOptions;
94
+ }
95
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
96
+ const localVarHeaderParameter = {};
97
+ const localVarQueryParameter = {};
98
+ // authentication session-oauth required
99
+ // oauth required
100
+ yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
101
+ // authentication api-key required
102
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
103
+ localVarHeaderParameter['Content-Type'] = 'application/json';
104
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
105
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
106
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
107
+ localVarRequestOptions.data = serializeDataIfNeeded(bulkUpdateTasksRequest, localVarRequestOptions, configuration);
108
+ return {
109
+ url: toPathString(localVarUrlObj),
110
+ options: localVarRequestOptions,
111
+ };
112
+ }),
73
113
  /**
74
114
  * Create an auth token for the project
75
115
  * @summary Create auth token
@@ -1404,6 +1444,23 @@ export const ProjectsApiAxiosParamCreator = function (configuration) {
1404
1444
  export const ProjectsApiFp = function (configuration) {
1405
1445
  const localVarAxiosParamCreator = ProjectsApiAxiosParamCreator(configuration);
1406
1446
  return {
1447
+ /**
1448
+ * Update multiple tasks in the workflow at once
1449
+ * @summary Bulk update tasks
1450
+ * @param {string} project Projects unique identifier
1451
+ * @param {BulkUpdateTasksRequest} bulkUpdateTasksRequest Update multiple tasks in the workflow
1452
+ * @param {*} [options] Override http request option.
1453
+ * @throws {RequiredError}
1454
+ */
1455
+ bulkUpdateTasks(project, bulkUpdateTasksRequest, options) {
1456
+ return __awaiter(this, void 0, void 0, function* () {
1457
+ var _a, _b, _c;
1458
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.bulkUpdateTasks(project, bulkUpdateTasksRequest, options);
1459
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1460
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ProjectsApi.bulkUpdateTasks']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1461
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1462
+ });
1463
+ },
1407
1464
  /**
1408
1465
  * Create an auth token for the project
1409
1466
  * @summary Create auth token
@@ -2005,6 +2062,16 @@ export const ProjectsApiFp = function (configuration) {
2005
2062
  export const ProjectsApiFactory = function (configuration, basePath, axios) {
2006
2063
  const localVarFp = ProjectsApiFp(configuration);
2007
2064
  return {
2065
+ /**
2066
+ * Update multiple tasks in the workflow at once
2067
+ * @summary Bulk update tasks
2068
+ * @param {ProjectsApiBulkUpdateTasksRequest} requestParameters Request parameters.
2069
+ * @param {*} [options] Override http request option.
2070
+ * @throws {RequiredError}
2071
+ */
2072
+ bulkUpdateTasks(requestParameters, options) {
2073
+ return localVarFp.bulkUpdateTasks(requestParameters.project, requestParameters.bulkUpdateTasksRequest, options).then((request) => request(axios, basePath));
2074
+ },
2008
2075
  /**
2009
2076
  * Create an auth token for the project
2010
2077
  * @summary Create auth token
@@ -2364,6 +2431,17 @@ export const ProjectsApiFactory = function (configuration, basePath, axios) {
2364
2431
  * @extends {BaseAPI}
2365
2432
  */
2366
2433
  export class ProjectsApi extends BaseAPI {
2434
+ /**
2435
+ * Update multiple tasks in the workflow at once
2436
+ * @summary Bulk update tasks
2437
+ * @param {ProjectsApiBulkUpdateTasksRequest} requestParameters Request parameters.
2438
+ * @param {*} [options] Override http request option.
2439
+ * @throws {RequiredError}
2440
+ * @memberof ProjectsApi
2441
+ */
2442
+ bulkUpdateTasks(requestParameters, options) {
2443
+ return ProjectsApiFp(this.configuration).bulkUpdateTasks(requestParameters.project, requestParameters.bulkUpdateTasksRequest, options).then((request) => request(this.axios, this.basePath));
2444
+ }
2367
2445
  /**
2368
2446
  * Create an auth token for the project
2369
2447
  * @summary Create auth token
@@ -2,7 +2,7 @@
2
2
  * Projects API
3
3
  * Manage PodOS Projects
4
4
  *
5
- * The version of the OpenAPI document: 1.40.0
5
+ * The version of the OpenAPI document: 1.42.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/esm/base.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * Projects API
5
5
  * Manage PodOS Projects
6
6
  *
7
- * The version of the OpenAPI document: 1.40.0
7
+ * The version of the OpenAPI document: 1.42.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Projects API
3
3
  * Manage PodOS Projects
4
4
  *
5
- * The version of the OpenAPI document: 1.40.0
5
+ * The version of the OpenAPI document: 1.42.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Projects API
5
5
  * Manage PodOS Projects
6
6
  *
7
- * The version of the OpenAPI document: 1.40.0
7
+ * The version of the OpenAPI document: 1.42.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Projects API
3
3
  * Manage PodOS Projects
4
4
  *
5
- * The version of the OpenAPI document: 1.40.0
5
+ * The version of the OpenAPI document: 1.42.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Projects API
5
5
  * Manage PodOS Projects
6
6
  *
7
- * The version of the OpenAPI document: 1.40.0
7
+ * The version of the OpenAPI document: 1.42.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Projects API
3
3
  * Manage PodOS Projects
4
4
  *
5
- * The version of the OpenAPI document: 1.40.0
5
+ * The version of the OpenAPI document: 1.42.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/esm/index.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * Projects API
5
5
  * Manage PodOS Projects
6
6
  *
7
- * The version of the OpenAPI document: 1.40.0
7
+ * The version of the OpenAPI document: 1.42.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/index.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Projects API
3
3
  * Manage PodOS Projects
4
4
  *
5
- * The version of the OpenAPI document: 1.40.0
5
+ * The version of the OpenAPI document: 1.42.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/index.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Projects API
6
6
  * Manage PodOS Projects
7
7
  *
8
- * The version of the OpenAPI document: 1.40.0
8
+ * The version of the OpenAPI document: 1.42.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -0,0 +1,20 @@
1
+ # BulkUpdateTasksRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **tasks** | [**Array&lt;BulkUpdateTasksRequestTasksInner&gt;**](BulkUpdateTasksRequestTasksInner.md) | | [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { BulkUpdateTasksRequest } from '@teemill/projects';
14
+
15
+ const instance: BulkUpdateTasksRequest = {
16
+ tasks,
17
+ };
18
+ ```
19
+
20
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,22 @@
1
+ # BulkUpdateTasksRequestTasksInner
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **string** | | [default to undefined]
9
+ **status** | [**TaskStatus**](TaskStatus.md) | | [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { BulkUpdateTasksRequestTasksInner } from '@teemill/projects';
15
+
16
+ const instance: BulkUpdateTasksRequestTasksInner = {
17
+ id,
18
+ status,
19
+ };
20
+ ```
21
+
22
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -4,6 +4,7 @@ All URIs are relative to *https://localhost:8080*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
7
+ |[**bulkUpdateTasks**](#bulkupdatetasks) | **PATCH** /v1/projects/{project}/tasks | Bulk update tasks|
7
8
  |[**createAuth**](#createauth) | **POST** /v1/projects/{project}/auth | Create auth token|
8
9
  |[**createBookmark**](#createbookmark) | **POST** /v1/projects/{project}/bookmarks | Create bookmark|
9
10
  |[**createInvite**](#createinvite) | **POST** /v1/projects/{project}/invites | Creates an invite|
@@ -40,6 +41,66 @@ All URIs are relative to *https://localhost:8080*
40
41
  |[**updateProject**](#updateproject) | **PATCH** /v1/projects/{project} | Update project|
41
42
  |[**updateTask**](#updatetask) | **PATCH** /v1/projects/{project}/tasks/{id} | Update Task|
42
43
 
44
+ # **bulkUpdateTasks**
45
+ > ListTasksResponse bulkUpdateTasks(bulkUpdateTasksRequest)
46
+
47
+ Update multiple tasks in the workflow at once
48
+
49
+ ### Example
50
+
51
+ ```typescript
52
+ import {
53
+ ProjectsApi,
54
+ Configuration,
55
+ BulkUpdateTasksRequest
56
+ } from '@teemill/projects';
57
+
58
+ const configuration = new Configuration();
59
+ const apiInstance = new ProjectsApi(configuration);
60
+
61
+ let project: string; //Projects unique identifier (default to undefined)
62
+ let bulkUpdateTasksRequest: BulkUpdateTasksRequest; //Update multiple tasks in the workflow
63
+
64
+ const { status, data } = await apiInstance.bulkUpdateTasks(
65
+ project,
66
+ bulkUpdateTasksRequest
67
+ );
68
+ ```
69
+
70
+ ### Parameters
71
+
72
+ |Name | Type | Description | Notes|
73
+ |------------- | ------------- | ------------- | -------------|
74
+ | **bulkUpdateTasksRequest** | **BulkUpdateTasksRequest**| Update multiple tasks in the workflow | |
75
+ | **project** | [**string**] | Projects unique identifier | defaults to undefined|
76
+
77
+
78
+ ### Return type
79
+
80
+ **ListTasksResponse**
81
+
82
+ ### Authorization
83
+
84
+ [session-oauth](../README.md#session-oauth), [api-key](../README.md#api-key)
85
+
86
+ ### HTTP request headers
87
+
88
+ - **Content-Type**: application/json
89
+ - **Accept**: application/json
90
+
91
+
92
+ ### HTTP response details
93
+ | Status code | Description | Response headers |
94
+ |-------------|-------------|------------------|
95
+ |**200** | List of tasks in the workflow | - |
96
+ |**400** | Failed validation | - |
97
+ |**401** | Not authorised to access this resource | - |
98
+ |**403** | Refuse to authorize | - |
99
+ |**404** | Resource not found | - |
100
+ |**500** | Unknown server error | - |
101
+
102
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
103
+
43
104
  # **createAuth**
44
105
  > Auth createAuth()
45
106
 
@@ -13,4 +13,6 @@
13
13
 
14
14
  * `Shopify` (value: `'shopify'`)
15
15
 
16
+ * `Woocommerce` (value: `'woocommerce'`)
17
+
16
18
  [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
package/index.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Projects API
5
5
  * Manage PodOS Projects
6
6
  *
7
- * The version of the OpenAPI document: 1.40.0
7
+ * The version of the OpenAPI document: 1.42.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teemill/projects",
3
- "version": "1.40.0",
3
+ "version": "1.42.0",
4
4
  "description": "OpenAPI client for @teemill/projects",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {