@emilgroup/task-sdk 1.0.1-beta.14 → 1.0.1-beta.16

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.
@@ -93,7 +93,7 @@ var TasksApiAxiosParamCreator = function (configuration) {
93
93
  var _this = this;
94
94
  return {
95
95
  /**
96
- * This will create task.
96
+ * This will create a task. **Required Permissions** \"task-management.tasks.create\"
97
97
  * @summary Create the task
98
98
  * @param {CreateTaskRequestDto} createTaskRequestDto
99
99
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -142,7 +142,7 @@ var TasksApiAxiosParamCreator = function (configuration) {
142
142
  });
143
143
  },
144
144
  /**
145
- * This will delete a task by code.
145
+ * This will delete a task by code. **Required Permissions** \"task-management.tasks.delete\"
146
146
  * @summary Delete the task
147
147
  * @param {string} code Unique identifier for the object.
148
148
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -190,7 +190,7 @@ var TasksApiAxiosParamCreator = function (configuration) {
190
190
  });
191
191
  },
192
192
  /**
193
- * This will get a task by code.
193
+ * This will get a task by code. **Required Permissions** \"task-management.tasks.view\"
194
194
  * @summary Retrieve the task
195
195
  * @param {string} code
196
196
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -242,14 +242,14 @@ var TasksApiAxiosParamCreator = function (configuration) {
242
242
  });
243
243
  },
244
244
  /**
245
- * Retrieves a list of tasks.
245
+ * Retrieves a list of tasks. **Required Permissions** \"task-management.tasks.view\"
246
246
  * @summary List tasks
247
247
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
248
248
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
249
249
  * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
250
250
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, statusId, priority, assignee, reporter, dueDate, createdAt, updatedAt, status.slug, categories.slug</i>
251
251
  * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: subject, description</i>
252
- * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt, assignee, reporter, dueDate</i>
252
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt, assignee, reporter, dueDate, status, priority</i>
253
253
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: categories, status<i>
254
254
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, statusId, priority, assignee, reporter, dueDate, createdAt, updatedAt, status.slug, categories.slug</i>
255
255
  * @param {*} [options] Override http request option.
@@ -314,7 +314,7 @@ var TasksApiAxiosParamCreator = function (configuration) {
314
314
  });
315
315
  },
316
316
  /**
317
- * This will partially update a task by code with the provided fields.
317
+ * This will partially update a task by code with the provided fields. **Required Permissions** \"task-management.tasks.update\"
318
318
  * @summary Update the task
319
319
  * @param {string} code
320
320
  * @param {PatchTaskRequestDto} patchTaskRequestDto
@@ -377,7 +377,7 @@ var TasksApiFp = function (configuration) {
377
377
  var localVarAxiosParamCreator = (0, exports.TasksApiAxiosParamCreator)(configuration);
378
378
  return {
379
379
  /**
380
- * This will create task.
380
+ * This will create a task. **Required Permissions** \"task-management.tasks.create\"
381
381
  * @summary Create the task
382
382
  * @param {CreateTaskRequestDto} createTaskRequestDto
383
383
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -398,7 +398,7 @@ var TasksApiFp = function (configuration) {
398
398
  });
399
399
  },
400
400
  /**
401
- * This will delete a task by code.
401
+ * This will delete a task by code. **Required Permissions** \"task-management.tasks.delete\"
402
402
  * @summary Delete the task
403
403
  * @param {string} code Unique identifier for the object.
404
404
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -419,7 +419,7 @@ var TasksApiFp = function (configuration) {
419
419
  });
420
420
  },
421
421
  /**
422
- * This will get a task by code.
422
+ * This will get a task by code. **Required Permissions** \"task-management.tasks.view\"
423
423
  * @summary Retrieve the task
424
424
  * @param {string} code
425
425
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -441,14 +441,14 @@ var TasksApiFp = function (configuration) {
441
441
  });
442
442
  },
443
443
  /**
444
- * Retrieves a list of tasks.
444
+ * Retrieves a list of tasks. **Required Permissions** \"task-management.tasks.view\"
445
445
  * @summary List tasks
446
446
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
447
447
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
448
448
  * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
449
449
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, statusId, priority, assignee, reporter, dueDate, createdAt, updatedAt, status.slug, categories.slug</i>
450
450
  * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: subject, description</i>
451
- * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt, assignee, reporter, dueDate</i>
451
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt, assignee, reporter, dueDate, status, priority</i>
452
452
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: categories, status<i>
453
453
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, statusId, priority, assignee, reporter, dueDate, createdAt, updatedAt, status.slug, categories.slug</i>
454
454
  * @param {*} [options] Override http request option.
@@ -468,7 +468,7 @@ var TasksApiFp = function (configuration) {
468
468
  });
469
469
  },
470
470
  /**
471
- * This will partially update a task by code with the provided fields.
471
+ * This will partially update a task by code with the provided fields. **Required Permissions** \"task-management.tasks.update\"
472
472
  * @summary Update the task
473
473
  * @param {string} code
474
474
  * @param {PatchTaskRequestDto} patchTaskRequestDto
@@ -500,7 +500,7 @@ var TasksApiFactory = function (configuration, basePath, axios) {
500
500
  var localVarFp = (0, exports.TasksApiFp)(configuration);
501
501
  return {
502
502
  /**
503
- * This will create task.
503
+ * This will create a task. **Required Permissions** \"task-management.tasks.create\"
504
504
  * @summary Create the task
505
505
  * @param {CreateTaskRequestDto} createTaskRequestDto
506
506
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -511,7 +511,7 @@ var TasksApiFactory = function (configuration, basePath, axios) {
511
511
  return localVarFp.createTask(createTaskRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
512
512
  },
513
513
  /**
514
- * This will delete a task by code.
514
+ * This will delete a task by code. **Required Permissions** \"task-management.tasks.delete\"
515
515
  * @summary Delete the task
516
516
  * @param {string} code Unique identifier for the object.
517
517
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -522,7 +522,7 @@ var TasksApiFactory = function (configuration, basePath, axios) {
522
522
  return localVarFp.deleteTask(code, authorization, options).then(function (request) { return request(axios, basePath); });
523
523
  },
524
524
  /**
525
- * This will get a task by code.
525
+ * This will get a task by code. **Required Permissions** \"task-management.tasks.view\"
526
526
  * @summary Retrieve the task
527
527
  * @param {string} code
528
528
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -534,14 +534,14 @@ var TasksApiFactory = function (configuration, basePath, axios) {
534
534
  return localVarFp.getTask(code, authorization, expand, options).then(function (request) { return request(axios, basePath); });
535
535
  },
536
536
  /**
537
- * Retrieves a list of tasks.
537
+ * Retrieves a list of tasks. **Required Permissions** \"task-management.tasks.view\"
538
538
  * @summary List tasks
539
539
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
540
540
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
541
541
  * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
542
542
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, statusId, priority, assignee, reporter, dueDate, createdAt, updatedAt, status.slug, categories.slug</i>
543
543
  * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: subject, description</i>
544
- * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt, assignee, reporter, dueDate</i>
544
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt, assignee, reporter, dueDate, status, priority</i>
545
545
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: categories, status<i>
546
546
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, statusId, priority, assignee, reporter, dueDate, createdAt, updatedAt, status.slug, categories.slug</i>
547
547
  * @param {*} [options] Override http request option.
@@ -551,7 +551,7 @@ var TasksApiFactory = function (configuration, basePath, axios) {
551
551
  return localVarFp.listTasks(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
552
552
  },
553
553
  /**
554
- * This will partially update a task by code with the provided fields.
554
+ * This will partially update a task by code with the provided fields. **Required Permissions** \"task-management.tasks.update\"
555
555
  * @summary Update the task
556
556
  * @param {string} code
557
557
  * @param {PatchTaskRequestDto} patchTaskRequestDto
@@ -577,7 +577,7 @@ var TasksApi = /** @class */ (function (_super) {
577
577
  return _super !== null && _super.apply(this, arguments) || this;
578
578
  }
579
579
  /**
580
- * This will create task.
580
+ * This will create a task. **Required Permissions** \"task-management.tasks.create\"
581
581
  * @summary Create the task
582
582
  * @param {TasksApiCreateTaskRequest} requestParameters Request parameters.
583
583
  * @param {*} [options] Override http request option.
@@ -589,7 +589,7 @@ var TasksApi = /** @class */ (function (_super) {
589
589
  return (0, exports.TasksApiFp)(this.configuration).createTask(requestParameters.createTaskRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
590
590
  };
591
591
  /**
592
- * This will delete a task by code.
592
+ * This will delete a task by code. **Required Permissions** \"task-management.tasks.delete\"
593
593
  * @summary Delete the task
594
594
  * @param {TasksApiDeleteTaskRequest} requestParameters Request parameters.
595
595
  * @param {*} [options] Override http request option.
@@ -601,7 +601,7 @@ var TasksApi = /** @class */ (function (_super) {
601
601
  return (0, exports.TasksApiFp)(this.configuration).deleteTask(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
602
602
  };
603
603
  /**
604
- * This will get a task by code.
604
+ * This will get a task by code. **Required Permissions** \"task-management.tasks.view\"
605
605
  * @summary Retrieve the task
606
606
  * @param {TasksApiGetTaskRequest} requestParameters Request parameters.
607
607
  * @param {*} [options] Override http request option.
@@ -613,7 +613,7 @@ var TasksApi = /** @class */ (function (_super) {
613
613
  return (0, exports.TasksApiFp)(this.configuration).getTask(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
614
614
  };
615
615
  /**
616
- * Retrieves a list of tasks.
616
+ * Retrieves a list of tasks. **Required Permissions** \"task-management.tasks.view\"
617
617
  * @summary List tasks
618
618
  * @param {TasksApiListTasksRequest} requestParameters Request parameters.
619
619
  * @param {*} [options] Override http request option.
@@ -626,7 +626,7 @@ var TasksApi = /** @class */ (function (_super) {
626
626
  return (0, exports.TasksApiFp)(this.configuration).listTasks(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
627
627
  };
628
628
  /**
629
- * This will partially update a task by code with the provided fields.
629
+ * This will partially update a task by code with the provided fields. **Required Permissions** \"task-management.tasks.update\"
630
630
  * @summary Update the task
631
631
  * @param {TasksApiPatchTaskRequest} requestParameters Request parameters.
632
632
  * @param {*} [options] Override http request option.
@@ -27,4 +27,10 @@ export interface CreateStatusRequestDto {
27
27
  * @memberof CreateStatusRequestDto
28
28
  */
29
29
  'slug'?: string;
30
+ /**
31
+ * Sort order for workflow display (must be unique per tenant). Lower values appear first.
32
+ * @type {number}
33
+ * @memberof CreateStatusRequestDto
34
+ */
35
+ 'sortOrder': number;
30
36
  }
@@ -33,4 +33,10 @@ export interface PatchStatusRequestDto {
33
33
  * @memberof PatchStatusRequestDto
34
34
  */
35
35
  'slug'?: string;
36
+ /**
37
+ * Sort order for workflow display (must be unique per tenant). Lower values appear first.
38
+ * @type {number}
39
+ * @memberof PatchStatusRequestDto
40
+ */
41
+ 'sortOrder'?: number;
36
42
  }
@@ -63,4 +63,10 @@ export interface StatusClass {
63
63
  * @memberof StatusClass
64
64
  */
65
65
  'slug': string;
66
+ /**
67
+ * Sort order for workflow display (unique per tenant)
68
+ * @type {number}
69
+ * @memberof StatusClass
70
+ */
71
+ 'sortOrder': number;
66
72
  }
@@ -32,5 +32,11 @@ export interface CreateStatusRequestDto {
32
32
  * @memberof CreateStatusRequestDto
33
33
  */
34
34
  'slug'?: string;
35
+ /**
36
+ * Sort order for workflow display (must be unique per tenant). Lower values appear first.
37
+ * @type {number}
38
+ * @memberof CreateStatusRequestDto
39
+ */
40
+ 'sortOrder': number;
35
41
  }
36
42
 
@@ -38,5 +38,11 @@ export interface PatchStatusRequestDto {
38
38
  * @memberof PatchStatusRequestDto
39
39
  */
40
40
  'slug'?: string;
41
+ /**
42
+ * Sort order for workflow display (must be unique per tenant). Lower values appear first.
43
+ * @type {number}
44
+ * @memberof PatchStatusRequestDto
45
+ */
46
+ 'sortOrder'?: number;
41
47
  }
42
48
 
@@ -68,5 +68,11 @@ export interface StatusClass {
68
68
  * @memberof StatusClass
69
69
  */
70
70
  'slug': string;
71
+ /**
72
+ * Sort order for workflow display (unique per tenant)
73
+ * @type {number}
74
+ * @memberof StatusClass
75
+ */
76
+ 'sortOrder': number;
71
77
  }
72
78
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/task-sdk",
3
- "version": "1.0.1-beta.14",
3
+ "version": "1.0.1-beta.16",
4
4
  "description": "OpenAPI client for @emilgroup/task-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [