@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/dist/api/tasks-api.js
CHANGED
|
@@ -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,14 +246,14 @@ 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.
|
|
253
253
|
* @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.
|
|
254
254
|
* @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>
|
|
255
255
|
* @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>
|
|
256
|
-
* @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>
|
|
256
|
+
* @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>
|
|
257
257
|
* @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>
|
|
258
258
|
* @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>
|
|
259
259
|
* @param {*} [options] Override http request option.
|
|
@@ -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,14 +445,14 @@ 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.
|
|
452
452
|
* @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.
|
|
453
453
|
* @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>
|
|
454
454
|
* @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>
|
|
455
|
-
* @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>
|
|
455
|
+
* @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>
|
|
456
456
|
* @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>
|
|
457
457
|
* @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>
|
|
458
458
|
* @param {*} [options] Override http request option.
|
|
@@ -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,14 +538,14 @@ 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.
|
|
545
545
|
* @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.
|
|
546
546
|
* @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>
|
|
547
547
|
* @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>
|
|
548
|
-
* @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>
|
|
548
|
+
* @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>
|
|
549
549
|
* @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>
|
|
550
550
|
* @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>
|
|
551
551
|
* @param {*} [options] Override http request option.
|
|
@@ -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.
|
|
@@ -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
|
}
|
|
@@ -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
|
|
package/models/status-class.ts
CHANGED