@emilgroup/task-sdk-node 1.0.1-beta.15 → 1.0.1-beta.17

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.
@@ -97,7 +97,7 @@ var StatusesApiAxiosParamCreator = function (configuration) {
97
97
  var _this = this;
98
98
  return {
99
99
  /**
100
- * This will create a status.
100
+ * This will create a status. **Required Permissions** \"task-management.tasks.create\"
101
101
  * @summary Create the status
102
102
  * @param {CreateStatusRequestDto} createStatusRequestDto
103
103
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -146,7 +146,7 @@ var StatusesApiAxiosParamCreator = function (configuration) {
146
146
  });
147
147
  },
148
148
  /**
149
- * This will delete status.
149
+ * This will delete status. **Required Permissions** \"task-management.tasks.delete\"
150
150
  * @summary Delete the status
151
151
  * @param {string} code Unique identifier for the object.
152
152
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -194,7 +194,7 @@ var StatusesApiAxiosParamCreator = function (configuration) {
194
194
  });
195
195
  },
196
196
  /**
197
- * Get status by code.
197
+ * Get status by code. **Required Permissions** \"task-management.tasks.view\"
198
198
  * @summary Retrieve the status
199
199
  * @param {string} code
200
200
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -246,7 +246,7 @@ var StatusesApiAxiosParamCreator = function (configuration) {
246
246
  });
247
247
  },
248
248
  /**
249
- * Retrieves a list of statuses.
249
+ * Retrieves a list of statuses. **Required Permissions** \"task-management.tasks.view\"
250
250
  * @summary List statuses
251
251
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
252
252
  * @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, slug, name, createdAt, updatedAt</i>
@@ -310,7 +310,7 @@ var StatusesApiAxiosParamCreator = function (configuration) {
310
310
  });
311
311
  },
312
312
  /**
313
- * This will partially update a status by code with the provided fields.
313
+ * This will partially update a status by code with the provided fields. **Required Permissions** \"task-management.tasks.update\"
314
314
  * @summary Update the status
315
315
  * @param {string} code
316
316
  * @param {PatchStatusRequestDto} patchStatusRequestDto
@@ -373,7 +373,7 @@ var StatusesApiFp = function (configuration) {
373
373
  var localVarAxiosParamCreator = (0, exports.StatusesApiAxiosParamCreator)(configuration);
374
374
  return {
375
375
  /**
376
- * This will create a status.
376
+ * This will create a status. **Required Permissions** \"task-management.tasks.create\"
377
377
  * @summary Create the status
378
378
  * @param {CreateStatusRequestDto} createStatusRequestDto
379
379
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -394,7 +394,7 @@ var StatusesApiFp = function (configuration) {
394
394
  });
395
395
  },
396
396
  /**
397
- * This will delete status.
397
+ * This will delete status. **Required Permissions** \"task-management.tasks.delete\"
398
398
  * @summary Delete the status
399
399
  * @param {string} code Unique identifier for the object.
400
400
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -415,7 +415,7 @@ var StatusesApiFp = function (configuration) {
415
415
  });
416
416
  },
417
417
  /**
418
- * Get status by code.
418
+ * Get status by code. **Required Permissions** \"task-management.tasks.view\"
419
419
  * @summary Retrieve the status
420
420
  * @param {string} code
421
421
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -437,7 +437,7 @@ var StatusesApiFp = function (configuration) {
437
437
  });
438
438
  },
439
439
  /**
440
- * Retrieves a list of statuses.
440
+ * Retrieves a list of statuses. **Required Permissions** \"task-management.tasks.view\"
441
441
  * @summary List statuses
442
442
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
443
443
  * @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, slug, name, createdAt, updatedAt</i>
@@ -462,7 +462,7 @@ var StatusesApiFp = function (configuration) {
462
462
  });
463
463
  },
464
464
  /**
465
- * This will partially update a status by code with the provided fields.
465
+ * This will partially update a status by code with the provided fields. **Required Permissions** \"task-management.tasks.update\"
466
466
  * @summary Update the status
467
467
  * @param {string} code
468
468
  * @param {PatchStatusRequestDto} patchStatusRequestDto
@@ -494,7 +494,7 @@ var StatusesApiFactory = function (configuration, basePath, axios) {
494
494
  var localVarFp = (0, exports.StatusesApiFp)(configuration);
495
495
  return {
496
496
  /**
497
- * This will create a status.
497
+ * This will create a status. **Required Permissions** \"task-management.tasks.create\"
498
498
  * @summary Create the status
499
499
  * @param {CreateStatusRequestDto} createStatusRequestDto
500
500
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -505,7 +505,7 @@ var StatusesApiFactory = function (configuration, basePath, axios) {
505
505
  return localVarFp.createStatus(createStatusRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
506
506
  },
507
507
  /**
508
- * This will delete status.
508
+ * This will delete status. **Required Permissions** \"task-management.tasks.delete\"
509
509
  * @summary Delete the status
510
510
  * @param {string} code Unique identifier for the object.
511
511
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -516,7 +516,7 @@ var StatusesApiFactory = function (configuration, basePath, axios) {
516
516
  return localVarFp.deleteStatus(code, authorization, options).then(function (request) { return request(axios, basePath); });
517
517
  },
518
518
  /**
519
- * Get status by code.
519
+ * Get status by code. **Required Permissions** \"task-management.tasks.view\"
520
520
  * @summary Retrieve the status
521
521
  * @param {string} code
522
522
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -528,7 +528,7 @@ var StatusesApiFactory = function (configuration, basePath, axios) {
528
528
  return localVarFp.getStatus(code, authorization, expand, options).then(function (request) { return request(axios, basePath); });
529
529
  },
530
530
  /**
531
- * Retrieves a list of statuses.
531
+ * Retrieves a list of statuses. **Required Permissions** \"task-management.tasks.view\"
532
532
  * @summary List statuses
533
533
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
534
534
  * @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, slug, name, createdAt, updatedAt</i>
@@ -543,7 +543,7 @@ var StatusesApiFactory = function (configuration, basePath, axios) {
543
543
  return localVarFp.listStatuses(authorization, filter, filters, search, order, expand, options).then(function (request) { return request(axios, basePath); });
544
544
  },
545
545
  /**
546
- * This will partially update a status by code with the provided fields.
546
+ * This will partially update a status by code with the provided fields. **Required Permissions** \"task-management.tasks.update\"
547
547
  * @summary Update the status
548
548
  * @param {string} code
549
549
  * @param {PatchStatusRequestDto} patchStatusRequestDto
@@ -569,7 +569,7 @@ var StatusesApi = /** @class */ (function (_super) {
569
569
  return _super !== null && _super.apply(this, arguments) || this;
570
570
  }
571
571
  /**
572
- * This will create a status.
572
+ * This will create a status. **Required Permissions** \"task-management.tasks.create\"
573
573
  * @summary Create the status
574
574
  * @param {StatusesApiCreateStatusRequest} requestParameters Request parameters.
575
575
  * @param {*} [options] Override http request option.
@@ -581,7 +581,7 @@ var StatusesApi = /** @class */ (function (_super) {
581
581
  return (0, exports.StatusesApiFp)(this.configuration).createStatus(requestParameters.createStatusRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
582
582
  };
583
583
  /**
584
- * This will delete status.
584
+ * This will delete status. **Required Permissions** \"task-management.tasks.delete\"
585
585
  * @summary Delete the status
586
586
  * @param {StatusesApiDeleteStatusRequest} requestParameters Request parameters.
587
587
  * @param {*} [options] Override http request option.
@@ -593,7 +593,7 @@ var StatusesApi = /** @class */ (function (_super) {
593
593
  return (0, exports.StatusesApiFp)(this.configuration).deleteStatus(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
594
594
  };
595
595
  /**
596
- * Get status by code.
596
+ * Get status by code. **Required Permissions** \"task-management.tasks.view\"
597
597
  * @summary Retrieve the status
598
598
  * @param {StatusesApiGetStatusRequest} requestParameters Request parameters.
599
599
  * @param {*} [options] Override http request option.
@@ -605,7 +605,7 @@ var StatusesApi = /** @class */ (function (_super) {
605
605
  return (0, exports.StatusesApiFp)(this.configuration).getStatus(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
606
606
  };
607
607
  /**
608
- * Retrieves a list of statuses.
608
+ * Retrieves a list of statuses. **Required Permissions** \"task-management.tasks.view\"
609
609
  * @summary List statuses
610
610
  * @param {StatusesApiListStatusesRequest} requestParameters Request parameters.
611
611
  * @param {*} [options] Override http request option.
@@ -618,7 +618,7 @@ var StatusesApi = /** @class */ (function (_super) {
618
618
  return (0, exports.StatusesApiFp)(this.configuration).listStatuses(requestParameters.authorization, requestParameters.filter, requestParameters.filters, requestParameters.search, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
619
619
  };
620
620
  /**
621
- * This will partially update a status by code with the provided fields.
621
+ * This will partially update a status by code with the provided fields. **Required Permissions** \"task-management.tasks.update\"
622
622
  * @summary Update the status
623
623
  * @param {StatusesApiPatchStatusRequest} requestParameters Request parameters.
624
624
  * @param {*} [options] Override http request option.
@@ -24,7 +24,7 @@ import { PatchTaskResponseClass } from '../models';
24
24
  */
25
25
  export declare const TasksApiAxiosParamCreator: (configuration?: Configuration) => {
26
26
  /**
27
- * This will create task.
27
+ * This will create a task. **Required Permissions** \"task-management.tasks.create\"
28
28
  * @summary Create the task
29
29
  * @param {CreateTaskRequestDto} createTaskRequestDto
30
30
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -33,7 +33,7 @@ export declare const TasksApiAxiosParamCreator: (configuration?: Configuration)
33
33
  */
34
34
  createTask: (createTaskRequestDto: CreateTaskRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
35
35
  /**
36
- * This will delete a task by code.
36
+ * This will delete a task by code. **Required Permissions** \"task-management.tasks.delete\"
37
37
  * @summary Delete the task
38
38
  * @param {string} code Unique identifier for the object.
39
39
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -42,7 +42,7 @@ export declare const TasksApiAxiosParamCreator: (configuration?: Configuration)
42
42
  */
43
43
  deleteTask: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
44
44
  /**
45
- * This will get a task by code.
45
+ * This will get a task by code. **Required Permissions** \"task-management.tasks.view\"
46
46
  * @summary Retrieve the task
47
47
  * @param {string} code
48
48
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -52,7 +52,7 @@ export declare const TasksApiAxiosParamCreator: (configuration?: Configuration)
52
52
  */
53
53
  getTask: (code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
54
54
  /**
55
- * Retrieves a list of tasks.
55
+ * Retrieves a list of tasks. **Required Permissions** \"task-management.tasks.view\"
56
56
  * @summary List tasks
57
57
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
58
58
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -67,7 +67,7 @@ export declare const TasksApiAxiosParamCreator: (configuration?: Configuration)
67
67
  */
68
68
  listTasks: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
69
69
  /**
70
- * This will partially update a task by code with the provided fields.
70
+ * This will partially update a task by code with the provided fields. **Required Permissions** \"task-management.tasks.update\"
71
71
  * @summary Update the task
72
72
  * @param {string} code
73
73
  * @param {PatchTaskRequestDto} patchTaskRequestDto
@@ -83,7 +83,7 @@ export declare const TasksApiAxiosParamCreator: (configuration?: Configuration)
83
83
  */
84
84
  export declare const TasksApiFp: (configuration?: Configuration) => {
85
85
  /**
86
- * This will create task.
86
+ * This will create a task. **Required Permissions** \"task-management.tasks.create\"
87
87
  * @summary Create the task
88
88
  * @param {CreateTaskRequestDto} createTaskRequestDto
89
89
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -92,7 +92,7 @@ export declare const TasksApiFp: (configuration?: Configuration) => {
92
92
  */
93
93
  createTask(createTaskRequestDto: CreateTaskRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateTaskResponseClass>>;
94
94
  /**
95
- * This will delete a task by code.
95
+ * This will delete a task by code. **Required Permissions** \"task-management.tasks.delete\"
96
96
  * @summary Delete the task
97
97
  * @param {string} code Unique identifier for the object.
98
98
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -101,7 +101,7 @@ export declare const TasksApiFp: (configuration?: Configuration) => {
101
101
  */
102
102
  deleteTask(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
103
103
  /**
104
- * This will get a task by code.
104
+ * This will get a task by code. **Required Permissions** \"task-management.tasks.view\"
105
105
  * @summary Retrieve the task
106
106
  * @param {string} code
107
107
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -111,7 +111,7 @@ export declare const TasksApiFp: (configuration?: Configuration) => {
111
111
  */
112
112
  getTask(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetTaskResponseClass>>;
113
113
  /**
114
- * Retrieves a list of tasks.
114
+ * Retrieves a list of tasks. **Required Permissions** \"task-management.tasks.view\"
115
115
  * @summary List tasks
116
116
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
117
117
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -126,7 +126,7 @@ export declare const TasksApiFp: (configuration?: Configuration) => {
126
126
  */
127
127
  listTasks(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListTasksResponseClass>>;
128
128
  /**
129
- * This will partially update a task by code with the provided fields.
129
+ * This will partially update a task by code with the provided fields. **Required Permissions** \"task-management.tasks.update\"
130
130
  * @summary Update the task
131
131
  * @param {string} code
132
132
  * @param {PatchTaskRequestDto} patchTaskRequestDto
@@ -142,7 +142,7 @@ export declare const TasksApiFp: (configuration?: Configuration) => {
142
142
  */
143
143
  export declare const TasksApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
144
144
  /**
145
- * This will create task.
145
+ * This will create a task. **Required Permissions** \"task-management.tasks.create\"
146
146
  * @summary Create the task
147
147
  * @param {CreateTaskRequestDto} createTaskRequestDto
148
148
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -151,7 +151,7 @@ export declare const TasksApiFactory: (configuration?: Configuration, basePath?:
151
151
  */
152
152
  createTask(createTaskRequestDto: CreateTaskRequestDto, authorization?: string, options?: any): AxiosPromise<CreateTaskResponseClass>;
153
153
  /**
154
- * This will delete a task by code.
154
+ * This will delete a task by code. **Required Permissions** \"task-management.tasks.delete\"
155
155
  * @summary Delete the task
156
156
  * @param {string} code Unique identifier for the object.
157
157
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -160,7 +160,7 @@ export declare const TasksApiFactory: (configuration?: Configuration, basePath?:
160
160
  */
161
161
  deleteTask(code: string, authorization?: string, options?: any): AxiosPromise<void>;
162
162
  /**
163
- * This will get a task by code.
163
+ * This will get a task by code. **Required Permissions** \"task-management.tasks.view\"
164
164
  * @summary Retrieve the task
165
165
  * @param {string} code
166
166
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -170,7 +170,7 @@ export declare const TasksApiFactory: (configuration?: Configuration, basePath?:
170
170
  */
171
171
  getTask(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<GetTaskResponseClass>;
172
172
  /**
173
- * Retrieves a list of tasks.
173
+ * Retrieves a list of tasks. **Required Permissions** \"task-management.tasks.view\"
174
174
  * @summary List tasks
175
175
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
176
176
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -185,7 +185,7 @@ export declare const TasksApiFactory: (configuration?: Configuration, basePath?:
185
185
  */
186
186
  listTasks(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListTasksResponseClass>;
187
187
  /**
188
- * This will partially update a task by code with the provided fields.
188
+ * This will partially update a task by code with the provided fields. **Required Permissions** \"task-management.tasks.update\"
189
189
  * @summary Update the task
190
190
  * @param {string} code
191
191
  * @param {PatchTaskRequestDto} patchTaskRequestDto
@@ -346,7 +346,7 @@ export interface TasksApiPatchTaskRequest {
346
346
  */
347
347
  export declare class TasksApi extends BaseAPI {
348
348
  /**
349
- * This will create task.
349
+ * This will create a task. **Required Permissions** \"task-management.tasks.create\"
350
350
  * @summary Create the task
351
351
  * @param {TasksApiCreateTaskRequest} requestParameters Request parameters.
352
352
  * @param {*} [options] Override http request option.
@@ -355,7 +355,7 @@ export declare class TasksApi extends BaseAPI {
355
355
  */
356
356
  createTask(requestParameters: TasksApiCreateTaskRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateTaskResponseClass, any, {}>>;
357
357
  /**
358
- * This will delete a task by code.
358
+ * This will delete a task by code. **Required Permissions** \"task-management.tasks.delete\"
359
359
  * @summary Delete the task
360
360
  * @param {TasksApiDeleteTaskRequest} requestParameters Request parameters.
361
361
  * @param {*} [options] Override http request option.
@@ -364,7 +364,7 @@ export declare class TasksApi extends BaseAPI {
364
364
  */
365
365
  deleteTask(requestParameters: TasksApiDeleteTaskRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
366
366
  /**
367
- * This will get a task by code.
367
+ * This will get a task by code. **Required Permissions** \"task-management.tasks.view\"
368
368
  * @summary Retrieve the task
369
369
  * @param {TasksApiGetTaskRequest} requestParameters Request parameters.
370
370
  * @param {*} [options] Override http request option.
@@ -373,7 +373,7 @@ export declare class TasksApi extends BaseAPI {
373
373
  */
374
374
  getTask(requestParameters: TasksApiGetTaskRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetTaskResponseClass, any, {}>>;
375
375
  /**
376
- * Retrieves a list of tasks.
376
+ * Retrieves a list of tasks. **Required Permissions** \"task-management.tasks.view\"
377
377
  * @summary List tasks
378
378
  * @param {TasksApiListTasksRequest} requestParameters Request parameters.
379
379
  * @param {*} [options] Override http request option.
@@ -382,7 +382,7 @@ export declare class TasksApi extends BaseAPI {
382
382
  */
383
383
  listTasks(requestParameters?: TasksApiListTasksRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListTasksResponseClass, any, {}>>;
384
384
  /**
385
- * This will partially update a task by code with the provided fields.
385
+ * This will partially update a task by code with the provided fields. **Required Permissions** \"task-management.tasks.update\"
386
386
  * @summary Update the task
387
387
  * @param {TasksApiPatchTaskRequest} requestParameters Request parameters.
388
388
  * @param {*} [options] Override http request option.
@@ -97,7 +97,7 @@ var TasksApiAxiosParamCreator = function (configuration) {
97
97
  var _this = this;
98
98
  return {
99
99
  /**
100
- * This will create task.
100
+ * This will create a task. **Required Permissions** \"task-management.tasks.create\"
101
101
  * @summary Create the task
102
102
  * @param {CreateTaskRequestDto} createTaskRequestDto
103
103
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -146,7 +146,7 @@ var TasksApiAxiosParamCreator = function (configuration) {
146
146
  });
147
147
  },
148
148
  /**
149
- * This will delete a task by code.
149
+ * This will delete a task by code. **Required Permissions** \"task-management.tasks.delete\"
150
150
  * @summary Delete the task
151
151
  * @param {string} code Unique identifier for the object.
152
152
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -194,7 +194,7 @@ var TasksApiAxiosParamCreator = function (configuration) {
194
194
  });
195
195
  },
196
196
  /**
197
- * This will get a task by code.
197
+ * This will get a task by code. **Required Permissions** \"task-management.tasks.view\"
198
198
  * @summary Retrieve the task
199
199
  * @param {string} code
200
200
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -246,7 +246,7 @@ var TasksApiAxiosParamCreator = function (configuration) {
246
246
  });
247
247
  },
248
248
  /**
249
- * Retrieves a list of tasks.
249
+ * Retrieves a list of tasks. **Required Permissions** \"task-management.tasks.view\"
250
250
  * @summary List tasks
251
251
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
252
252
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -318,7 +318,7 @@ var TasksApiAxiosParamCreator = function (configuration) {
318
318
  });
319
319
  },
320
320
  /**
321
- * This will partially update a task by code with the provided fields.
321
+ * This will partially update a task by code with the provided fields. **Required Permissions** \"task-management.tasks.update\"
322
322
  * @summary Update the task
323
323
  * @param {string} code
324
324
  * @param {PatchTaskRequestDto} patchTaskRequestDto
@@ -381,7 +381,7 @@ var TasksApiFp = function (configuration) {
381
381
  var localVarAxiosParamCreator = (0, exports.TasksApiAxiosParamCreator)(configuration);
382
382
  return {
383
383
  /**
384
- * This will create task.
384
+ * This will create a task. **Required Permissions** \"task-management.tasks.create\"
385
385
  * @summary Create the task
386
386
  * @param {CreateTaskRequestDto} createTaskRequestDto
387
387
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -402,7 +402,7 @@ var TasksApiFp = function (configuration) {
402
402
  });
403
403
  },
404
404
  /**
405
- * This will delete a task by code.
405
+ * This will delete a task by code. **Required Permissions** \"task-management.tasks.delete\"
406
406
  * @summary Delete the task
407
407
  * @param {string} code Unique identifier for the object.
408
408
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -423,7 +423,7 @@ var TasksApiFp = function (configuration) {
423
423
  });
424
424
  },
425
425
  /**
426
- * This will get a task by code.
426
+ * This will get a task by code. **Required Permissions** \"task-management.tasks.view\"
427
427
  * @summary Retrieve the task
428
428
  * @param {string} code
429
429
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -445,7 +445,7 @@ var TasksApiFp = function (configuration) {
445
445
  });
446
446
  },
447
447
  /**
448
- * Retrieves a list of tasks.
448
+ * Retrieves a list of tasks. **Required Permissions** \"task-management.tasks.view\"
449
449
  * @summary List tasks
450
450
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
451
451
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -472,7 +472,7 @@ var TasksApiFp = function (configuration) {
472
472
  });
473
473
  },
474
474
  /**
475
- * This will partially update a task by code with the provided fields.
475
+ * This will partially update a task by code with the provided fields. **Required Permissions** \"task-management.tasks.update\"
476
476
  * @summary Update the task
477
477
  * @param {string} code
478
478
  * @param {PatchTaskRequestDto} patchTaskRequestDto
@@ -504,7 +504,7 @@ var TasksApiFactory = function (configuration, basePath, axios) {
504
504
  var localVarFp = (0, exports.TasksApiFp)(configuration);
505
505
  return {
506
506
  /**
507
- * This will create task.
507
+ * This will create a task. **Required Permissions** \"task-management.tasks.create\"
508
508
  * @summary Create the task
509
509
  * @param {CreateTaskRequestDto} createTaskRequestDto
510
510
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -515,7 +515,7 @@ var TasksApiFactory = function (configuration, basePath, axios) {
515
515
  return localVarFp.createTask(createTaskRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
516
516
  },
517
517
  /**
518
- * This will delete a task by code.
518
+ * This will delete a task by code. **Required Permissions** \"task-management.tasks.delete\"
519
519
  * @summary Delete the task
520
520
  * @param {string} code Unique identifier for the object.
521
521
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -526,7 +526,7 @@ var TasksApiFactory = function (configuration, basePath, axios) {
526
526
  return localVarFp.deleteTask(code, authorization, options).then(function (request) { return request(axios, basePath); });
527
527
  },
528
528
  /**
529
- * This will get a task by code.
529
+ * This will get a task by code. **Required Permissions** \"task-management.tasks.view\"
530
530
  * @summary Retrieve the task
531
531
  * @param {string} code
532
532
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -538,7 +538,7 @@ var TasksApiFactory = function (configuration, basePath, axios) {
538
538
  return localVarFp.getTask(code, authorization, expand, options).then(function (request) { return request(axios, basePath); });
539
539
  },
540
540
  /**
541
- * Retrieves a list of tasks.
541
+ * Retrieves a list of tasks. **Required Permissions** \"task-management.tasks.view\"
542
542
  * @summary List tasks
543
543
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
544
544
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -555,7 +555,7 @@ var TasksApiFactory = function (configuration, basePath, axios) {
555
555
  return localVarFp.listTasks(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
556
556
  },
557
557
  /**
558
- * This will partially update a task by code with the provided fields.
558
+ * This will partially update a task by code with the provided fields. **Required Permissions** \"task-management.tasks.update\"
559
559
  * @summary Update the task
560
560
  * @param {string} code
561
561
  * @param {PatchTaskRequestDto} patchTaskRequestDto
@@ -581,7 +581,7 @@ var TasksApi = /** @class */ (function (_super) {
581
581
  return _super !== null && _super.apply(this, arguments) || this;
582
582
  }
583
583
  /**
584
- * This will create task.
584
+ * This will create a task. **Required Permissions** \"task-management.tasks.create\"
585
585
  * @summary Create the task
586
586
  * @param {TasksApiCreateTaskRequest} requestParameters Request parameters.
587
587
  * @param {*} [options] Override http request option.
@@ -593,7 +593,7 @@ var TasksApi = /** @class */ (function (_super) {
593
593
  return (0, exports.TasksApiFp)(this.configuration).createTask(requestParameters.createTaskRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
594
594
  };
595
595
  /**
596
- * This will delete a task by code.
596
+ * This will delete a task by code. **Required Permissions** \"task-management.tasks.delete\"
597
597
  * @summary Delete the task
598
598
  * @param {TasksApiDeleteTaskRequest} requestParameters Request parameters.
599
599
  * @param {*} [options] Override http request option.
@@ -605,7 +605,7 @@ var TasksApi = /** @class */ (function (_super) {
605
605
  return (0, exports.TasksApiFp)(this.configuration).deleteTask(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
606
606
  };
607
607
  /**
608
- * This will get a task by code.
608
+ * This will get a task by code. **Required Permissions** \"task-management.tasks.view\"
609
609
  * @summary Retrieve the task
610
610
  * @param {TasksApiGetTaskRequest} requestParameters Request parameters.
611
611
  * @param {*} [options] Override http request option.
@@ -617,7 +617,7 @@ var TasksApi = /** @class */ (function (_super) {
617
617
  return (0, exports.TasksApiFp)(this.configuration).getTask(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
618
618
  };
619
619
  /**
620
- * Retrieves a list of tasks.
620
+ * Retrieves a list of tasks. **Required Permissions** \"task-management.tasks.view\"
621
621
  * @summary List tasks
622
622
  * @param {TasksApiListTasksRequest} requestParameters Request parameters.
623
623
  * @param {*} [options] Override http request option.
@@ -630,7 +630,7 @@ var TasksApi = /** @class */ (function (_super) {
630
630
  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); });
631
631
  };
632
632
  /**
633
- * This will partially update a task by code with the provided fields.
633
+ * This will partially update a task by code with the provided fields. **Required Permissions** \"task-management.tasks.update\"
634
634
  * @summary Update the task
635
635
  * @param {TasksApiPatchTaskRequest} requestParameters Request parameters.
636
636
  * @param {*} [options] Override http request option.
@@ -50,7 +50,7 @@ export interface PatchTaskRequestDto {
50
50
  * @type {Array<string>}
51
51
  * @memberof PatchTaskRequestDto
52
52
  */
53
- 'categorySlugs': Array<string>;
53
+ 'categorySlugs'?: Array<string>;
54
54
  /**
55
55
  * Task status slug
56
56
  * @type {string}
@@ -55,7 +55,7 @@ export interface PatchTaskRequestDto {
55
55
  * @type {Array<string>}
56
56
  * @memberof PatchTaskRequestDto
57
57
  */
58
- 'categorySlugs': Array<string>;
58
+ 'categorySlugs'?: Array<string>;
59
59
  /**
60
60
  * Task status slug
61
61
  * @type {string}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/task-sdk-node",
3
- "version": "1.0.1-beta.15",
3
+ "version": "1.0.1-beta.17",
4
4
  "description": "OpenAPI client for @emilgroup/task-sdk-node",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [