@emilgroup/task-sdk-node 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.
- package/README.md +2 -2
- package/api/assignees-api.ts +4 -4
- package/api/categories-api.ts +20 -20
- package/api/hub-spot-api.ts +4 -4
- package/api/statuses-api.ts +20 -20
- package/api/tasks-api.ts +24 -24
- package/dist/api/assignees-api.d.ts +4 -4
- package/dist/api/assignees-api.js +4 -4
- package/dist/api/categories-api.d.ts +20 -20
- package/dist/api/categories-api.js +20 -20
- package/dist/api/hub-spot-api.d.ts +4 -4
- package/dist/api/hub-spot-api.js +4 -4
- package/dist/api/statuses-api.d.ts +20 -20
- package/dist/api/statuses-api.js +20 -20
- package/dist/api/tasks-api.d.ts +24 -24
- package/dist/api/tasks-api.js +23 -23
- package/dist/models/create-status-request-dto.d.ts +6 -0
- package/dist/models/patch-status-request-dto.d.ts +6 -0
- package/dist/models/status-class.d.ts +6 -0
- package/models/create-status-request-dto.ts +6 -0
- package/models/patch-status-request-dto.ts +6 -0
- package/models/status-class.ts +6 -0
- package/package.json +1 -1
package/api/tasks-api.ts
CHANGED
|
@@ -43,7 +43,7 @@ const FormData = require('form-data');
|
|
|
43
43
|
export const TasksApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
44
44
|
return {
|
|
45
45
|
/**
|
|
46
|
-
* This will create task.
|
|
46
|
+
* This will create a task. **Required Permissions** \"task-management.tasks.create\"
|
|
47
47
|
* @summary Create the task
|
|
48
48
|
* @param {CreateTaskRequestDto} createTaskRequestDto
|
|
49
49
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -90,7 +90,7 @@ export const TasksApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
90
90
|
};
|
|
91
91
|
},
|
|
92
92
|
/**
|
|
93
|
-
* This will delete a task by code.
|
|
93
|
+
* This will delete a task by code. **Required Permissions** \"task-management.tasks.delete\"
|
|
94
94
|
* @summary Delete the task
|
|
95
95
|
* @param {string} code Unique identifier for the object.
|
|
96
96
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -135,7 +135,7 @@ export const TasksApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
135
135
|
};
|
|
136
136
|
},
|
|
137
137
|
/**
|
|
138
|
-
* This will get a task by code.
|
|
138
|
+
* This will get a task by code. **Required Permissions** \"task-management.tasks.view\"
|
|
139
139
|
* @summary Retrieve the task
|
|
140
140
|
* @param {string} code
|
|
141
141
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -185,14 +185,14 @@ export const TasksApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
185
185
|
};
|
|
186
186
|
},
|
|
187
187
|
/**
|
|
188
|
-
* Retrieves a list of tasks.
|
|
188
|
+
* Retrieves a list of tasks. **Required Permissions** \"task-management.tasks.view\"
|
|
189
189
|
* @summary List tasks
|
|
190
190
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
191
191
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
192
192
|
* @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.
|
|
193
193
|
* @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>
|
|
194
194
|
* @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>
|
|
195
|
-
* @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>
|
|
195
|
+
* @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>
|
|
196
196
|
* @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>
|
|
197
197
|
* @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>
|
|
198
198
|
* @param {*} [options] Override http request option.
|
|
@@ -261,7 +261,7 @@ export const TasksApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
261
261
|
};
|
|
262
262
|
},
|
|
263
263
|
/**
|
|
264
|
-
* This will partially update a task by code with the provided fields.
|
|
264
|
+
* This will partially update a task by code with the provided fields. **Required Permissions** \"task-management.tasks.update\"
|
|
265
265
|
* @summary Update the task
|
|
266
266
|
* @param {string} code
|
|
267
267
|
* @param {PatchTaskRequestDto} patchTaskRequestDto
|
|
@@ -322,7 +322,7 @@ export const TasksApiFp = function(configuration?: Configuration) {
|
|
|
322
322
|
const localVarAxiosParamCreator = TasksApiAxiosParamCreator(configuration)
|
|
323
323
|
return {
|
|
324
324
|
/**
|
|
325
|
-
* This will create task.
|
|
325
|
+
* This will create a task. **Required Permissions** \"task-management.tasks.create\"
|
|
326
326
|
* @summary Create the task
|
|
327
327
|
* @param {CreateTaskRequestDto} createTaskRequestDto
|
|
328
328
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -334,7 +334,7 @@ export const TasksApiFp = function(configuration?: Configuration) {
|
|
|
334
334
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
335
335
|
},
|
|
336
336
|
/**
|
|
337
|
-
* This will delete a task by code.
|
|
337
|
+
* This will delete a task by code. **Required Permissions** \"task-management.tasks.delete\"
|
|
338
338
|
* @summary Delete the task
|
|
339
339
|
* @param {string} code Unique identifier for the object.
|
|
340
340
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -346,7 +346,7 @@ export const TasksApiFp = function(configuration?: Configuration) {
|
|
|
346
346
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
347
347
|
},
|
|
348
348
|
/**
|
|
349
|
-
* This will get a task by code.
|
|
349
|
+
* This will get a task by code. **Required Permissions** \"task-management.tasks.view\"
|
|
350
350
|
* @summary Retrieve the task
|
|
351
351
|
* @param {string} code
|
|
352
352
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -359,14 +359,14 @@ export const TasksApiFp = function(configuration?: Configuration) {
|
|
|
359
359
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
360
360
|
},
|
|
361
361
|
/**
|
|
362
|
-
* Retrieves a list of tasks.
|
|
362
|
+
* Retrieves a list of tasks. **Required Permissions** \"task-management.tasks.view\"
|
|
363
363
|
* @summary List tasks
|
|
364
364
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
365
365
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
366
366
|
* @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.
|
|
367
367
|
* @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>
|
|
368
368
|
* @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>
|
|
369
|
-
* @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>
|
|
369
|
+
* @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>
|
|
370
370
|
* @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>
|
|
371
371
|
* @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>
|
|
372
372
|
* @param {*} [options] Override http request option.
|
|
@@ -377,7 +377,7 @@ export const TasksApiFp = function(configuration?: Configuration) {
|
|
|
377
377
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
378
378
|
},
|
|
379
379
|
/**
|
|
380
|
-
* This will partially update a task by code with the provided fields.
|
|
380
|
+
* This will partially update a task by code with the provided fields. **Required Permissions** \"task-management.tasks.update\"
|
|
381
381
|
* @summary Update the task
|
|
382
382
|
* @param {string} code
|
|
383
383
|
* @param {PatchTaskRequestDto} patchTaskRequestDto
|
|
@@ -400,7 +400,7 @@ export const TasksApiFactory = function (configuration?: Configuration, basePath
|
|
|
400
400
|
const localVarFp = TasksApiFp(configuration)
|
|
401
401
|
return {
|
|
402
402
|
/**
|
|
403
|
-
* This will create task.
|
|
403
|
+
* This will create a task. **Required Permissions** \"task-management.tasks.create\"
|
|
404
404
|
* @summary Create the task
|
|
405
405
|
* @param {CreateTaskRequestDto} createTaskRequestDto
|
|
406
406
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -411,7 +411,7 @@ export const TasksApiFactory = function (configuration?: Configuration, basePath
|
|
|
411
411
|
return localVarFp.createTask(createTaskRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
412
412
|
},
|
|
413
413
|
/**
|
|
414
|
-
* This will delete a task by code.
|
|
414
|
+
* This will delete a task by code. **Required Permissions** \"task-management.tasks.delete\"
|
|
415
415
|
* @summary Delete the task
|
|
416
416
|
* @param {string} code Unique identifier for the object.
|
|
417
417
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -422,7 +422,7 @@ export const TasksApiFactory = function (configuration?: Configuration, basePath
|
|
|
422
422
|
return localVarFp.deleteTask(code, authorization, options).then((request) => request(axios, basePath));
|
|
423
423
|
},
|
|
424
424
|
/**
|
|
425
|
-
* This will get a task by code.
|
|
425
|
+
* This will get a task by code. **Required Permissions** \"task-management.tasks.view\"
|
|
426
426
|
* @summary Retrieve the task
|
|
427
427
|
* @param {string} code
|
|
428
428
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -434,14 +434,14 @@ export const TasksApiFactory = function (configuration?: Configuration, basePath
|
|
|
434
434
|
return localVarFp.getTask(code, authorization, expand, options).then((request) => request(axios, basePath));
|
|
435
435
|
},
|
|
436
436
|
/**
|
|
437
|
-
* Retrieves a list of tasks.
|
|
437
|
+
* Retrieves a list of tasks. **Required Permissions** \"task-management.tasks.view\"
|
|
438
438
|
* @summary List tasks
|
|
439
439
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
440
440
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
441
441
|
* @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.
|
|
442
442
|
* @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>
|
|
443
443
|
* @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>
|
|
444
|
-
* @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>
|
|
444
|
+
* @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>
|
|
445
445
|
* @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>
|
|
446
446
|
* @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>
|
|
447
447
|
* @param {*} [options] Override http request option.
|
|
@@ -451,7 +451,7 @@ export const TasksApiFactory = function (configuration?: Configuration, basePath
|
|
|
451
451
|
return localVarFp.listTasks(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
452
452
|
},
|
|
453
453
|
/**
|
|
454
|
-
* This will partially update a task by code with the provided fields.
|
|
454
|
+
* This will partially update a task by code with the provided fields. **Required Permissions** \"task-management.tasks.update\"
|
|
455
455
|
* @summary Update the task
|
|
456
456
|
* @param {string} code
|
|
457
457
|
* @param {PatchTaskRequestDto} patchTaskRequestDto
|
|
@@ -577,7 +577,7 @@ export interface TasksApiListTasksRequest {
|
|
|
577
577
|
readonly search?: string
|
|
578
578
|
|
|
579
579
|
/**
|
|
580
|
-
* 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>
|
|
580
|
+
* 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>
|
|
581
581
|
* @type {string}
|
|
582
582
|
* @memberof TasksApiListTasks
|
|
583
583
|
*/
|
|
@@ -634,7 +634,7 @@ export interface TasksApiPatchTaskRequest {
|
|
|
634
634
|
*/
|
|
635
635
|
export class TasksApi extends BaseAPI {
|
|
636
636
|
/**
|
|
637
|
-
* This will create task.
|
|
637
|
+
* This will create a task. **Required Permissions** \"task-management.tasks.create\"
|
|
638
638
|
* @summary Create the task
|
|
639
639
|
* @param {TasksApiCreateTaskRequest} requestParameters Request parameters.
|
|
640
640
|
* @param {*} [options] Override http request option.
|
|
@@ -646,7 +646,7 @@ export class TasksApi extends BaseAPI {
|
|
|
646
646
|
}
|
|
647
647
|
|
|
648
648
|
/**
|
|
649
|
-
* This will delete a task by code.
|
|
649
|
+
* This will delete a task by code. **Required Permissions** \"task-management.tasks.delete\"
|
|
650
650
|
* @summary Delete the task
|
|
651
651
|
* @param {TasksApiDeleteTaskRequest} requestParameters Request parameters.
|
|
652
652
|
* @param {*} [options] Override http request option.
|
|
@@ -658,7 +658,7 @@ export class TasksApi extends BaseAPI {
|
|
|
658
658
|
}
|
|
659
659
|
|
|
660
660
|
/**
|
|
661
|
-
* This will get a task by code.
|
|
661
|
+
* This will get a task by code. **Required Permissions** \"task-management.tasks.view\"
|
|
662
662
|
* @summary Retrieve the task
|
|
663
663
|
* @param {TasksApiGetTaskRequest} requestParameters Request parameters.
|
|
664
664
|
* @param {*} [options] Override http request option.
|
|
@@ -670,7 +670,7 @@ export class TasksApi extends BaseAPI {
|
|
|
670
670
|
}
|
|
671
671
|
|
|
672
672
|
/**
|
|
673
|
-
* Retrieves a list of tasks.
|
|
673
|
+
* Retrieves a list of tasks. **Required Permissions** \"task-management.tasks.view\"
|
|
674
674
|
* @summary List tasks
|
|
675
675
|
* @param {TasksApiListTasksRequest} requestParameters Request parameters.
|
|
676
676
|
* @param {*} [options] Override http request option.
|
|
@@ -682,7 +682,7 @@ export class TasksApi extends BaseAPI {
|
|
|
682
682
|
}
|
|
683
683
|
|
|
684
684
|
/**
|
|
685
|
-
* This will partially update a task by code with the provided fields.
|
|
685
|
+
* This will partially update a task by code with the provided fields. **Required Permissions** \"task-management.tasks.update\"
|
|
686
686
|
* @summary Update the task
|
|
687
687
|
* @param {TasksApiPatchTaskRequest} requestParameters Request parameters.
|
|
688
688
|
* @param {*} [options] Override http request option.
|
|
@@ -19,7 +19,7 @@ import { ListAssigneesResponseClass } from '../models';
|
|
|
19
19
|
*/
|
|
20
20
|
export declare const AssigneesApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
21
21
|
/**
|
|
22
|
-
* Retrieves a list of distinct assignees from tasks.
|
|
22
|
+
* Retrieves a list of distinct assignees from tasks. **Required Permissions** \"task-management.tasks.view\"
|
|
23
23
|
* @summary List assignees
|
|
24
24
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
25
25
|
* @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/>
|
|
@@ -34,7 +34,7 @@ export declare const AssigneesApiAxiosParamCreator: (configuration?: Configurati
|
|
|
34
34
|
*/
|
|
35
35
|
export declare const AssigneesApiFp: (configuration?: Configuration) => {
|
|
36
36
|
/**
|
|
37
|
-
* Retrieves a list of distinct assignees from tasks.
|
|
37
|
+
* Retrieves a list of distinct assignees from tasks. **Required Permissions** \"task-management.tasks.view\"
|
|
38
38
|
* @summary List assignees
|
|
39
39
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
40
40
|
* @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/>
|
|
@@ -49,7 +49,7 @@ export declare const AssigneesApiFp: (configuration?: Configuration) => {
|
|
|
49
49
|
*/
|
|
50
50
|
export declare const AssigneesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
51
51
|
/**
|
|
52
|
-
* Retrieves a list of distinct assignees from tasks.
|
|
52
|
+
* Retrieves a list of distinct assignees from tasks. **Required Permissions** \"task-management.tasks.view\"
|
|
53
53
|
* @summary List assignees
|
|
54
54
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
55
55
|
* @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/>
|
|
@@ -85,7 +85,7 @@ export interface AssigneesApiListAssigneesRequest {
|
|
|
85
85
|
*/
|
|
86
86
|
export declare class AssigneesApi extends BaseAPI {
|
|
87
87
|
/**
|
|
88
|
-
* Retrieves a list of distinct assignees from tasks.
|
|
88
|
+
* Retrieves a list of distinct assignees from tasks. **Required Permissions** \"task-management.tasks.view\"
|
|
89
89
|
* @summary List assignees
|
|
90
90
|
* @param {AssigneesApiListAssigneesRequest} requestParameters Request parameters.
|
|
91
91
|
* @param {*} [options] Override http request option.
|
|
@@ -97,7 +97,7 @@ var AssigneesApiAxiosParamCreator = function (configuration) {
|
|
|
97
97
|
var _this = this;
|
|
98
98
|
return {
|
|
99
99
|
/**
|
|
100
|
-
* Retrieves a list of distinct assignees from tasks.
|
|
100
|
+
* Retrieves a list of distinct assignees from tasks. **Required Permissions** \"task-management.tasks.view\"
|
|
101
101
|
* @summary List assignees
|
|
102
102
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
103
103
|
* @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/>
|
|
@@ -155,7 +155,7 @@ var AssigneesApiFp = function (configuration) {
|
|
|
155
155
|
var localVarAxiosParamCreator = (0, exports.AssigneesApiAxiosParamCreator)(configuration);
|
|
156
156
|
return {
|
|
157
157
|
/**
|
|
158
|
-
* Retrieves a list of distinct assignees from tasks.
|
|
158
|
+
* Retrieves a list of distinct assignees from tasks. **Required Permissions** \"task-management.tasks.view\"
|
|
159
159
|
* @summary List assignees
|
|
160
160
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
161
161
|
* @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/>
|
|
@@ -186,7 +186,7 @@ var AssigneesApiFactory = function (configuration, basePath, axios) {
|
|
|
186
186
|
var localVarFp = (0, exports.AssigneesApiFp)(configuration);
|
|
187
187
|
return {
|
|
188
188
|
/**
|
|
189
|
-
* Retrieves a list of distinct assignees from tasks.
|
|
189
|
+
* Retrieves a list of distinct assignees from tasks. **Required Permissions** \"task-management.tasks.view\"
|
|
190
190
|
* @summary List assignees
|
|
191
191
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
192
192
|
* @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/>
|
|
@@ -211,7 +211,7 @@ var AssigneesApi = /** @class */ (function (_super) {
|
|
|
211
211
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
212
212
|
}
|
|
213
213
|
/**
|
|
214
|
-
* Retrieves a list of distinct assignees from tasks.
|
|
214
|
+
* Retrieves a list of distinct assignees from tasks. **Required Permissions** \"task-management.tasks.view\"
|
|
215
215
|
* @summary List assignees
|
|
216
216
|
* @param {AssigneesApiListAssigneesRequest} requestParameters Request parameters.
|
|
217
217
|
* @param {*} [options] Override http request option.
|
|
@@ -24,7 +24,7 @@ import { PatchCategoryResponseClass } from '../models';
|
|
|
24
24
|
*/
|
|
25
25
|
export declare const CategoriesApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
26
26
|
/**
|
|
27
|
-
* This will create a category.
|
|
27
|
+
* This will create a category. **Required Permissions** \"task-management.tasks.create\"
|
|
28
28
|
* @summary Create the category
|
|
29
29
|
* @param {CreateCategoryRequestDto} createCategoryRequestDto
|
|
30
30
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -33,7 +33,7 @@ export declare const CategoriesApiAxiosParamCreator: (configuration?: Configurat
|
|
|
33
33
|
*/
|
|
34
34
|
createCategory: (createCategoryRequestDto: CreateCategoryRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
35
35
|
/**
|
|
36
|
-
* This will delete a task category by code.
|
|
36
|
+
* This will delete a task category by code. **Required Permissions** \"task-management.tasks.delete\"
|
|
37
37
|
* @summary Delete the category
|
|
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 CategoriesApiAxiosParamCreator: (configuration?: Configurat
|
|
|
42
42
|
*/
|
|
43
43
|
deleteCategory: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
44
44
|
/**
|
|
45
|
-
* Get category by code.
|
|
45
|
+
* Get category by code. **Required Permissions** \"task-management.tasks.view\"
|
|
46
46
|
* @summary Retrieve the category
|
|
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 CategoriesApiAxiosParamCreator: (configuration?: Configurat
|
|
|
52
52
|
*/
|
|
53
53
|
getCategory: (code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
54
54
|
/**
|
|
55
|
-
* Retrieves a list of categories.
|
|
55
|
+
* Retrieves a list of categories. **Required Permissions** \"task-management.tasks.view\"
|
|
56
56
|
* @summary List categories
|
|
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 CategoriesApiAxiosParamCreator: (configuration?: Configurat
|
|
|
67
67
|
*/
|
|
68
68
|
listCategories: (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 category by code with the provided fields.
|
|
70
|
+
* This will partially update a category by code with the provided fields. **Required Permissions** \"task-management.tasks.update\"
|
|
71
71
|
* @summary Update the category
|
|
72
72
|
* @param {string} code
|
|
73
73
|
* @param {PatchCategoryRequestDto} patchCategoryRequestDto
|
|
@@ -83,7 +83,7 @@ export declare const CategoriesApiAxiosParamCreator: (configuration?: Configurat
|
|
|
83
83
|
*/
|
|
84
84
|
export declare const CategoriesApiFp: (configuration?: Configuration) => {
|
|
85
85
|
/**
|
|
86
|
-
* This will create a category.
|
|
86
|
+
* This will create a category. **Required Permissions** \"task-management.tasks.create\"
|
|
87
87
|
* @summary Create the category
|
|
88
88
|
* @param {CreateCategoryRequestDto} createCategoryRequestDto
|
|
89
89
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -92,7 +92,7 @@ export declare const CategoriesApiFp: (configuration?: Configuration) => {
|
|
|
92
92
|
*/
|
|
93
93
|
createCategory(createCategoryRequestDto: CreateCategoryRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateCategoryResponseClass>>;
|
|
94
94
|
/**
|
|
95
|
-
* This will delete a task category by code.
|
|
95
|
+
* This will delete a task category by code. **Required Permissions** \"task-management.tasks.delete\"
|
|
96
96
|
* @summary Delete the category
|
|
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 CategoriesApiFp: (configuration?: Configuration) => {
|
|
|
101
101
|
*/
|
|
102
102
|
deleteCategory(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
103
103
|
/**
|
|
104
|
-
* Get category by code.
|
|
104
|
+
* Get category by code. **Required Permissions** \"task-management.tasks.view\"
|
|
105
105
|
* @summary Retrieve the category
|
|
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 CategoriesApiFp: (configuration?: Configuration) => {
|
|
|
111
111
|
*/
|
|
112
112
|
getCategory(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetCategoryResponseClass>>;
|
|
113
113
|
/**
|
|
114
|
-
* Retrieves a list of categories.
|
|
114
|
+
* Retrieves a list of categories. **Required Permissions** \"task-management.tasks.view\"
|
|
115
115
|
* @summary List categories
|
|
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 CategoriesApiFp: (configuration?: Configuration) => {
|
|
|
126
126
|
*/
|
|
127
127
|
listCategories(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListCategoriesResponseClass>>;
|
|
128
128
|
/**
|
|
129
|
-
* This will partially update a category by code with the provided fields.
|
|
129
|
+
* This will partially update a category by code with the provided fields. **Required Permissions** \"task-management.tasks.update\"
|
|
130
130
|
* @summary Update the category
|
|
131
131
|
* @param {string} code
|
|
132
132
|
* @param {PatchCategoryRequestDto} patchCategoryRequestDto
|
|
@@ -142,7 +142,7 @@ export declare const CategoriesApiFp: (configuration?: Configuration) => {
|
|
|
142
142
|
*/
|
|
143
143
|
export declare const CategoriesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
144
144
|
/**
|
|
145
|
-
* This will create a category.
|
|
145
|
+
* This will create a category. **Required Permissions** \"task-management.tasks.create\"
|
|
146
146
|
* @summary Create the category
|
|
147
147
|
* @param {CreateCategoryRequestDto} createCategoryRequestDto
|
|
148
148
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -151,7 +151,7 @@ export declare const CategoriesApiFactory: (configuration?: Configuration, baseP
|
|
|
151
151
|
*/
|
|
152
152
|
createCategory(createCategoryRequestDto: CreateCategoryRequestDto, authorization?: string, options?: any): AxiosPromise<CreateCategoryResponseClass>;
|
|
153
153
|
/**
|
|
154
|
-
* This will delete a task category by code.
|
|
154
|
+
* This will delete a task category by code. **Required Permissions** \"task-management.tasks.delete\"
|
|
155
155
|
* @summary Delete the category
|
|
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 CategoriesApiFactory: (configuration?: Configuration, baseP
|
|
|
160
160
|
*/
|
|
161
161
|
deleteCategory(code: string, authorization?: string, options?: any): AxiosPromise<void>;
|
|
162
162
|
/**
|
|
163
|
-
* Get category by code.
|
|
163
|
+
* Get category by code. **Required Permissions** \"task-management.tasks.view\"
|
|
164
164
|
* @summary Retrieve the category
|
|
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 CategoriesApiFactory: (configuration?: Configuration, baseP
|
|
|
170
170
|
*/
|
|
171
171
|
getCategory(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<GetCategoryResponseClass>;
|
|
172
172
|
/**
|
|
173
|
-
* Retrieves a list of categories.
|
|
173
|
+
* Retrieves a list of categories. **Required Permissions** \"task-management.tasks.view\"
|
|
174
174
|
* @summary List categories
|
|
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 CategoriesApiFactory: (configuration?: Configuration, baseP
|
|
|
185
185
|
*/
|
|
186
186
|
listCategories(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListCategoriesResponseClass>;
|
|
187
187
|
/**
|
|
188
|
-
* This will partially update a category by code with the provided fields.
|
|
188
|
+
* This will partially update a category by code with the provided fields. **Required Permissions** \"task-management.tasks.update\"
|
|
189
189
|
* @summary Update the category
|
|
190
190
|
* @param {string} code
|
|
191
191
|
* @param {PatchCategoryRequestDto} patchCategoryRequestDto
|
|
@@ -346,7 +346,7 @@ export interface CategoriesApiPatchCategoryRequest {
|
|
|
346
346
|
*/
|
|
347
347
|
export declare class CategoriesApi extends BaseAPI {
|
|
348
348
|
/**
|
|
349
|
-
* This will create a category.
|
|
349
|
+
* This will create a category. **Required Permissions** \"task-management.tasks.create\"
|
|
350
350
|
* @summary Create the category
|
|
351
351
|
* @param {CategoriesApiCreateCategoryRequest} requestParameters Request parameters.
|
|
352
352
|
* @param {*} [options] Override http request option.
|
|
@@ -355,7 +355,7 @@ export declare class CategoriesApi extends BaseAPI {
|
|
|
355
355
|
*/
|
|
356
356
|
createCategory(requestParameters: CategoriesApiCreateCategoryRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateCategoryResponseClass, any, {}>>;
|
|
357
357
|
/**
|
|
358
|
-
* This will delete a task category by code.
|
|
358
|
+
* This will delete a task category by code. **Required Permissions** \"task-management.tasks.delete\"
|
|
359
359
|
* @summary Delete the category
|
|
360
360
|
* @param {CategoriesApiDeleteCategoryRequest} requestParameters Request parameters.
|
|
361
361
|
* @param {*} [options] Override http request option.
|
|
@@ -364,7 +364,7 @@ export declare class CategoriesApi extends BaseAPI {
|
|
|
364
364
|
*/
|
|
365
365
|
deleteCategory(requestParameters: CategoriesApiDeleteCategoryRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
366
366
|
/**
|
|
367
|
-
* Get category by code.
|
|
367
|
+
* Get category by code. **Required Permissions** \"task-management.tasks.view\"
|
|
368
368
|
* @summary Retrieve the category
|
|
369
369
|
* @param {CategoriesApiGetCategoryRequest} requestParameters Request parameters.
|
|
370
370
|
* @param {*} [options] Override http request option.
|
|
@@ -373,7 +373,7 @@ export declare class CategoriesApi extends BaseAPI {
|
|
|
373
373
|
*/
|
|
374
374
|
getCategory(requestParameters: CategoriesApiGetCategoryRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetCategoryResponseClass, any, {}>>;
|
|
375
375
|
/**
|
|
376
|
-
* Retrieves a list of categories.
|
|
376
|
+
* Retrieves a list of categories. **Required Permissions** \"task-management.tasks.view\"
|
|
377
377
|
* @summary List categories
|
|
378
378
|
* @param {CategoriesApiListCategoriesRequest} requestParameters Request parameters.
|
|
379
379
|
* @param {*} [options] Override http request option.
|
|
@@ -382,7 +382,7 @@ export declare class CategoriesApi extends BaseAPI {
|
|
|
382
382
|
*/
|
|
383
383
|
listCategories(requestParameters?: CategoriesApiListCategoriesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListCategoriesResponseClass, any, {}>>;
|
|
384
384
|
/**
|
|
385
|
-
* This will partially update a category by code with the provided fields.
|
|
385
|
+
* This will partially update a category by code with the provided fields. **Required Permissions** \"task-management.tasks.update\"
|
|
386
386
|
* @summary Update the category
|
|
387
387
|
* @param {CategoriesApiPatchCategoryRequest} requestParameters Request parameters.
|
|
388
388
|
* @param {*} [options] Override http request option.
|
|
@@ -97,7 +97,7 @@ var CategoriesApiAxiosParamCreator = function (configuration) {
|
|
|
97
97
|
var _this = this;
|
|
98
98
|
return {
|
|
99
99
|
/**
|
|
100
|
-
* This will create a category.
|
|
100
|
+
* This will create a category. **Required Permissions** \"task-management.tasks.create\"
|
|
101
101
|
* @summary Create the category
|
|
102
102
|
* @param {CreateCategoryRequestDto} createCategoryRequestDto
|
|
103
103
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -146,7 +146,7 @@ var CategoriesApiAxiosParamCreator = function (configuration) {
|
|
|
146
146
|
});
|
|
147
147
|
},
|
|
148
148
|
/**
|
|
149
|
-
* This will delete a task category by code.
|
|
149
|
+
* This will delete a task category by code. **Required Permissions** \"task-management.tasks.delete\"
|
|
150
150
|
* @summary Delete the category
|
|
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 CategoriesApiAxiosParamCreator = function (configuration) {
|
|
|
194
194
|
});
|
|
195
195
|
},
|
|
196
196
|
/**
|
|
197
|
-
* Get category by code.
|
|
197
|
+
* Get category by code. **Required Permissions** \"task-management.tasks.view\"
|
|
198
198
|
* @summary Retrieve the category
|
|
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 CategoriesApiAxiosParamCreator = function (configuration) {
|
|
|
246
246
|
});
|
|
247
247
|
},
|
|
248
248
|
/**
|
|
249
|
-
* Retrieves a list of categories.
|
|
249
|
+
* Retrieves a list of categories. **Required Permissions** \"task-management.tasks.view\"
|
|
250
250
|
* @summary List categories
|
|
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 CategoriesApiAxiosParamCreator = function (configuration) {
|
|
|
318
318
|
});
|
|
319
319
|
},
|
|
320
320
|
/**
|
|
321
|
-
* This will partially update a category by code with the provided fields.
|
|
321
|
+
* This will partially update a category by code with the provided fields. **Required Permissions** \"task-management.tasks.update\"
|
|
322
322
|
* @summary Update the category
|
|
323
323
|
* @param {string} code
|
|
324
324
|
* @param {PatchCategoryRequestDto} patchCategoryRequestDto
|
|
@@ -381,7 +381,7 @@ var CategoriesApiFp = function (configuration) {
|
|
|
381
381
|
var localVarAxiosParamCreator = (0, exports.CategoriesApiAxiosParamCreator)(configuration);
|
|
382
382
|
return {
|
|
383
383
|
/**
|
|
384
|
-
* This will create a category.
|
|
384
|
+
* This will create a category. **Required Permissions** \"task-management.tasks.create\"
|
|
385
385
|
* @summary Create the category
|
|
386
386
|
* @param {CreateCategoryRequestDto} createCategoryRequestDto
|
|
387
387
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -402,7 +402,7 @@ var CategoriesApiFp = function (configuration) {
|
|
|
402
402
|
});
|
|
403
403
|
},
|
|
404
404
|
/**
|
|
405
|
-
* This will delete a task category by code.
|
|
405
|
+
* This will delete a task category by code. **Required Permissions** \"task-management.tasks.delete\"
|
|
406
406
|
* @summary Delete the category
|
|
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 CategoriesApiFp = function (configuration) {
|
|
|
423
423
|
});
|
|
424
424
|
},
|
|
425
425
|
/**
|
|
426
|
-
* Get category by code.
|
|
426
|
+
* Get category by code. **Required Permissions** \"task-management.tasks.view\"
|
|
427
427
|
* @summary Retrieve the category
|
|
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 CategoriesApiFp = function (configuration) {
|
|
|
445
445
|
});
|
|
446
446
|
},
|
|
447
447
|
/**
|
|
448
|
-
* Retrieves a list of categories.
|
|
448
|
+
* Retrieves a list of categories. **Required Permissions** \"task-management.tasks.view\"
|
|
449
449
|
* @summary List categories
|
|
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 CategoriesApiFp = function (configuration) {
|
|
|
472
472
|
});
|
|
473
473
|
},
|
|
474
474
|
/**
|
|
475
|
-
* This will partially update a category by code with the provided fields.
|
|
475
|
+
* This will partially update a category by code with the provided fields. **Required Permissions** \"task-management.tasks.update\"
|
|
476
476
|
* @summary Update the category
|
|
477
477
|
* @param {string} code
|
|
478
478
|
* @param {PatchCategoryRequestDto} patchCategoryRequestDto
|
|
@@ -504,7 +504,7 @@ var CategoriesApiFactory = function (configuration, basePath, axios) {
|
|
|
504
504
|
var localVarFp = (0, exports.CategoriesApiFp)(configuration);
|
|
505
505
|
return {
|
|
506
506
|
/**
|
|
507
|
-
* This will create a category.
|
|
507
|
+
* This will create a category. **Required Permissions** \"task-management.tasks.create\"
|
|
508
508
|
* @summary Create the category
|
|
509
509
|
* @param {CreateCategoryRequestDto} createCategoryRequestDto
|
|
510
510
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -515,7 +515,7 @@ var CategoriesApiFactory = function (configuration, basePath, axios) {
|
|
|
515
515
|
return localVarFp.createCategory(createCategoryRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
516
516
|
},
|
|
517
517
|
/**
|
|
518
|
-
* This will delete a task category by code.
|
|
518
|
+
* This will delete a task category by code. **Required Permissions** \"task-management.tasks.delete\"
|
|
519
519
|
* @summary Delete the category
|
|
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 CategoriesApiFactory = function (configuration, basePath, axios) {
|
|
|
526
526
|
return localVarFp.deleteCategory(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
527
527
|
},
|
|
528
528
|
/**
|
|
529
|
-
* Get category by code.
|
|
529
|
+
* Get category by code. **Required Permissions** \"task-management.tasks.view\"
|
|
530
530
|
* @summary Retrieve the category
|
|
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 CategoriesApiFactory = function (configuration, basePath, axios) {
|
|
|
538
538
|
return localVarFp.getCategory(code, authorization, expand, options).then(function (request) { return request(axios, basePath); });
|
|
539
539
|
},
|
|
540
540
|
/**
|
|
541
|
-
* Retrieves a list of categories.
|
|
541
|
+
* Retrieves a list of categories. **Required Permissions** \"task-management.tasks.view\"
|
|
542
542
|
* @summary List categories
|
|
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 CategoriesApiFactory = function (configuration, basePath, axios) {
|
|
|
555
555
|
return localVarFp.listCategories(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 category by code with the provided fields.
|
|
558
|
+
* This will partially update a category by code with the provided fields. **Required Permissions** \"task-management.tasks.update\"
|
|
559
559
|
* @summary Update the category
|
|
560
560
|
* @param {string} code
|
|
561
561
|
* @param {PatchCategoryRequestDto} patchCategoryRequestDto
|
|
@@ -581,7 +581,7 @@ var CategoriesApi = /** @class */ (function (_super) {
|
|
|
581
581
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
582
582
|
}
|
|
583
583
|
/**
|
|
584
|
-
* This will create a category.
|
|
584
|
+
* This will create a category. **Required Permissions** \"task-management.tasks.create\"
|
|
585
585
|
* @summary Create the category
|
|
586
586
|
* @param {CategoriesApiCreateCategoryRequest} requestParameters Request parameters.
|
|
587
587
|
* @param {*} [options] Override http request option.
|
|
@@ -593,7 +593,7 @@ var CategoriesApi = /** @class */ (function (_super) {
|
|
|
593
593
|
return (0, exports.CategoriesApiFp)(this.configuration).createCategory(requestParameters.createCategoryRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
594
594
|
};
|
|
595
595
|
/**
|
|
596
|
-
* This will delete a task category by code.
|
|
596
|
+
* This will delete a task category by code. **Required Permissions** \"task-management.tasks.delete\"
|
|
597
597
|
* @summary Delete the category
|
|
598
598
|
* @param {CategoriesApiDeleteCategoryRequest} requestParameters Request parameters.
|
|
599
599
|
* @param {*} [options] Override http request option.
|
|
@@ -605,7 +605,7 @@ var CategoriesApi = /** @class */ (function (_super) {
|
|
|
605
605
|
return (0, exports.CategoriesApiFp)(this.configuration).deleteCategory(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
606
606
|
};
|
|
607
607
|
/**
|
|
608
|
-
* Get category by code.
|
|
608
|
+
* Get category by code. **Required Permissions** \"task-management.tasks.view\"
|
|
609
609
|
* @summary Retrieve the category
|
|
610
610
|
* @param {CategoriesApiGetCategoryRequest} requestParameters Request parameters.
|
|
611
611
|
* @param {*} [options] Override http request option.
|
|
@@ -617,7 +617,7 @@ var CategoriesApi = /** @class */ (function (_super) {
|
|
|
617
617
|
return (0, exports.CategoriesApiFp)(this.configuration).getCategory(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 categories.
|
|
620
|
+
* Retrieves a list of categories. **Required Permissions** \"task-management.tasks.view\"
|
|
621
621
|
* @summary List categories
|
|
622
622
|
* @param {CategoriesApiListCategoriesRequest} requestParameters Request parameters.
|
|
623
623
|
* @param {*} [options] Override http request option.
|
|
@@ -630,7 +630,7 @@ var CategoriesApi = /** @class */ (function (_super) {
|
|
|
630
630
|
return (0, exports.CategoriesApiFp)(this.configuration).listCategories(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 category by code with the provided fields.
|
|
633
|
+
* This will partially update a category by code with the provided fields. **Required Permissions** \"task-management.tasks.update\"
|
|
634
634
|
* @summary Update the category
|
|
635
635
|
* @param {CategoriesApiPatchCategoryRequest} requestParameters Request parameters.
|
|
636
636
|
* @param {*} [options] Override http request option.
|