@emilgroup/task-sdk-node 1.7.1-beta.3 → 1.7.1-beta.30

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.
Files changed (45) hide show
  1. package/.openapi-generator/FILES +8 -0
  2. package/README.md +2 -2
  3. package/api/filters-api.ts +131 -24
  4. package/api/task-client-api.ts +257 -8
  5. package/api/tasks-api.ts +257 -8
  6. package/dist/api/filters-api.d.ts +81 -24
  7. package/dist/api/filters-api.js +112 -19
  8. package/dist/api/task-client-api.d.ts +148 -8
  9. package/dist/api/task-client-api.js +209 -6
  10. package/dist/api/tasks-api.d.ts +148 -8
  11. package/dist/api/tasks-api.js +209 -6
  12. package/dist/models/add-secondary-link-response-class.d.ts +25 -0
  13. package/dist/models/add-secondary-link-response-class.js +15 -0
  14. package/dist/models/create-task-request-dto.d.ts +13 -0
  15. package/dist/models/dry-run-filter-clause-class.d.ts +42 -0
  16. package/dist/models/dry-run-filter-clause-class.js +15 -0
  17. package/dist/models/dry-run-filter-request-dto.d.ts +30 -0
  18. package/dist/models/dry-run-filter-request-dto.js +15 -0
  19. package/dist/models/dry-run-filter-response-class.d.ts +37 -0
  20. package/dist/models/dry-run-filter-response-class.js +15 -0
  21. package/dist/models/entity-ref-class.d.ts +34 -0
  22. package/dist/models/entity-ref-class.js +19 -0
  23. package/dist/models/entity-ref-dto.d.ts +34 -0
  24. package/dist/models/entity-ref-dto.js +19 -0
  25. package/dist/models/index.d.ts +8 -0
  26. package/dist/models/index.js +8 -0
  27. package/dist/models/patch-task-request-dto.d.ts +12 -0
  28. package/dist/models/remove-secondary-link-response-class.d.ts +25 -0
  29. package/dist/models/remove-secondary-link-response-class.js +15 -0
  30. package/dist/models/secondary-link-class.d.ts +31 -0
  31. package/dist/models/secondary-link-class.js +15 -0
  32. package/dist/models/task-class.d.ts +7 -0
  33. package/models/add-secondary-link-response-class.ts +31 -0
  34. package/models/create-task-request-dto.ts +13 -0
  35. package/models/dry-run-filter-clause-class.ts +48 -0
  36. package/models/dry-run-filter-request-dto.ts +36 -0
  37. package/models/dry-run-filter-response-class.ts +43 -0
  38. package/models/entity-ref-class.ts +43 -0
  39. package/models/entity-ref-dto.ts +43 -0
  40. package/models/index.ts +8 -0
  41. package/models/patch-task-request-dto.ts +12 -0
  42. package/models/remove-secondary-link-response-class.ts +31 -0
  43. package/models/secondary-link-class.ts +37 -0
  44. package/models/task-class.ts +7 -0
  45. package/package.json +1 -1
@@ -96,6 +96,59 @@ var FormData = require('form-data');
96
96
  var TaskClientApiAxiosParamCreator = function (configuration) {
97
97
  var _this = this;
98
98
  return {
99
+ /**
100
+ * Adds a secondary link from a task to a record in another service, for example an email thread. The record must exist. Adding a record that is already linked returns the task unchanged. **Required Permissions** \"task-management.tasks.update\"
101
+ * @summary Create the task secondary link
102
+ * @param {string} code
103
+ * @param {EntityRefDto} entityRefDto
104
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
105
+ * @param {*} [options] Override http request option.
106
+ * @throws {RequiredError}
107
+ */
108
+ addSecondaryLink: function (code, entityRefDto, authorization, options) {
109
+ if (options === void 0) { options = {}; }
110
+ return __awaiter(_this, void 0, void 0, function () {
111
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
112
+ return __generator(this, function (_a) {
113
+ switch (_a.label) {
114
+ case 0:
115
+ // verify required parameter 'code' is not null or undefined
116
+ (0, common_1.assertParamExists)('addSecondaryLink', 'code', code);
117
+ // verify required parameter 'entityRefDto' is not null or undefined
118
+ (0, common_1.assertParamExists)('addSecondaryLink', 'entityRefDto', entityRefDto);
119
+ localVarPath = "/taskservice/v1/tasks/{code}/secondary-links"
120
+ .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
121
+ localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
122
+ if (configuration) {
123
+ baseOptions = configuration.baseOptions;
124
+ baseAccessToken = configuration.accessToken;
125
+ }
126
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
127
+ localVarHeaderParameter = {};
128
+ localVarQueryParameter = {};
129
+ // authentication bearer required
130
+ // http bearer authentication required
131
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
132
+ case 1:
133
+ // authentication bearer required
134
+ // http bearer authentication required
135
+ _a.sent();
136
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
137
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
138
+ }
139
+ localVarHeaderParameter['Content-Type'] = 'application/json';
140
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
141
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
142
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
143
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(entityRefDto, localVarRequestOptions, configuration);
144
+ return [2 /*return*/, {
145
+ url: (0, common_1.toPathString)(localVarUrlObj),
146
+ options: localVarRequestOptions,
147
+ }];
148
+ }
149
+ });
150
+ });
151
+ },
99
152
  /**
100
153
  * This will create a category. **Required Permissions** \"task-management.tasks.create\"
101
154
  * @summary Create the category
@@ -782,11 +835,11 @@ var TaskClientApiAxiosParamCreator = function (configuration) {
782
835
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
783
836
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
784
837
  * @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.
785
- * @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, entityType, entityCode, entityNumber, userGroupCode, dueDate, createdAt, updatedAt, status.slug, categories.slug</i>
838
+ * @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, entityType, entityCode, entityNumber, userGroupCode, dueDate, createdAt, updatedAt, status.slug, categories.slug, secondaryLinks.type, secondaryLinks.code</i>
786
839
  * @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>
787
840
  * @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, entityType, entityCode, status, priority</i>
788
841
  * @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>
789
- * @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, entityType, entityCode, entityNumber, userGroupCode, dueDate, createdAt, updatedAt, status.slug, categories.slug</i>
842
+ * @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, entityType, entityCode, entityNumber, userGroupCode, dueDate, createdAt, updatedAt, status.slug, categories.slug, secondaryLinks.type, secondaryLinks.code</i>
790
843
  * @param {*} [options] Override http request option.
791
844
  * @throws {RequiredError}
792
845
  */
@@ -1007,6 +1060,62 @@ var TaskClientApiAxiosParamCreator = function (configuration) {
1007
1060
  });
1008
1061
  });
1009
1062
  },
1063
+ /**
1064
+ * Removes a secondary link between a task and a record in another service. The task and the record are kept. Removing a link that does not exist returns the task unchanged. **Required Permissions** \"task-management.tasks.update\"
1065
+ * @summary Delete the task secondary link
1066
+ * @param {string} code
1067
+ * @param {string} linkType
1068
+ * @param {string} linkCode
1069
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1070
+ * @param {*} [options] Override http request option.
1071
+ * @throws {RequiredError}
1072
+ */
1073
+ removeSecondaryLink: function (code, linkType, linkCode, authorization, options) {
1074
+ if (options === void 0) { options = {}; }
1075
+ return __awaiter(_this, void 0, void 0, function () {
1076
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
1077
+ return __generator(this, function (_a) {
1078
+ switch (_a.label) {
1079
+ case 0:
1080
+ // verify required parameter 'code' is not null or undefined
1081
+ (0, common_1.assertParamExists)('removeSecondaryLink', 'code', code);
1082
+ // verify required parameter 'linkType' is not null or undefined
1083
+ (0, common_1.assertParamExists)('removeSecondaryLink', 'linkType', linkType);
1084
+ // verify required parameter 'linkCode' is not null or undefined
1085
+ (0, common_1.assertParamExists)('removeSecondaryLink', 'linkCode', linkCode);
1086
+ localVarPath = "/taskservice/v1/tasks/{code}/secondary-links/{linkType}/{linkCode}"
1087
+ .replace("{".concat("code", "}"), encodeURIComponent(String(code)))
1088
+ .replace("{".concat("linkType", "}"), encodeURIComponent(String(linkType)))
1089
+ .replace("{".concat("linkCode", "}"), encodeURIComponent(String(linkCode)));
1090
+ localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
1091
+ if (configuration) {
1092
+ baseOptions = configuration.baseOptions;
1093
+ baseAccessToken = configuration.accessToken;
1094
+ }
1095
+ localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
1096
+ localVarHeaderParameter = {};
1097
+ localVarQueryParameter = {};
1098
+ // authentication bearer required
1099
+ // http bearer authentication required
1100
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
1101
+ case 1:
1102
+ // authentication bearer required
1103
+ // http bearer authentication required
1104
+ _a.sent();
1105
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
1106
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
1107
+ }
1108
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1109
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1110
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1111
+ return [2 /*return*/, {
1112
+ url: (0, common_1.toPathString)(localVarUrlObj),
1113
+ options: localVarRequestOptions,
1114
+ }];
1115
+ }
1116
+ });
1117
+ });
1118
+ },
1010
1119
  };
1011
1120
  };
1012
1121
  exports.TaskClientApiAxiosParamCreator = TaskClientApiAxiosParamCreator;
@@ -1017,6 +1126,28 @@ exports.TaskClientApiAxiosParamCreator = TaskClientApiAxiosParamCreator;
1017
1126
  var TaskClientApiFp = function (configuration) {
1018
1127
  var localVarAxiosParamCreator = (0, exports.TaskClientApiAxiosParamCreator)(configuration);
1019
1128
  return {
1129
+ /**
1130
+ * Adds a secondary link from a task to a record in another service, for example an email thread. The record must exist. Adding a record that is already linked returns the task unchanged. **Required Permissions** \"task-management.tasks.update\"
1131
+ * @summary Create the task secondary link
1132
+ * @param {string} code
1133
+ * @param {EntityRefDto} entityRefDto
1134
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1135
+ * @param {*} [options] Override http request option.
1136
+ * @throws {RequiredError}
1137
+ */
1138
+ addSecondaryLink: function (code, entityRefDto, authorization, options) {
1139
+ return __awaiter(this, void 0, void 0, function () {
1140
+ var localVarAxiosArgs;
1141
+ return __generator(this, function (_a) {
1142
+ switch (_a.label) {
1143
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.addSecondaryLink(code, entityRefDto, authorization, options)];
1144
+ case 1:
1145
+ localVarAxiosArgs = _a.sent();
1146
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
1147
+ }
1148
+ });
1149
+ });
1150
+ },
1020
1151
  /**
1021
1152
  * This will create a category. **Required Permissions** \"task-management.tasks.create\"
1022
1153
  * @summary Create the category
@@ -1309,11 +1440,11 @@ var TaskClientApiFp = function (configuration) {
1309
1440
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1310
1441
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
1311
1442
  * @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.
1312
- * @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, entityType, entityCode, entityNumber, userGroupCode, dueDate, createdAt, updatedAt, status.slug, categories.slug</i>
1443
+ * @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, entityType, entityCode, entityNumber, userGroupCode, dueDate, createdAt, updatedAt, status.slug, categories.slug, secondaryLinks.type, secondaryLinks.code</i>
1313
1444
  * @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>
1314
1445
  * @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, entityType, entityCode, status, priority</i>
1315
1446
  * @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>
1316
- * @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, entityType, entityCode, entityNumber, userGroupCode, dueDate, createdAt, updatedAt, status.slug, categories.slug</i>
1447
+ * @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, entityType, entityCode, entityNumber, userGroupCode, dueDate, createdAt, updatedAt, status.slug, categories.slug, secondaryLinks.type, secondaryLinks.code</i>
1317
1448
  * @param {*} [options] Override http request option.
1318
1449
  * @throws {RequiredError}
1319
1450
  */
@@ -1396,6 +1527,29 @@ var TaskClientApiFp = function (configuration) {
1396
1527
  });
1397
1528
  });
1398
1529
  },
1530
+ /**
1531
+ * Removes a secondary link between a task and a record in another service. The task and the record are kept. Removing a link that does not exist returns the task unchanged. **Required Permissions** \"task-management.tasks.update\"
1532
+ * @summary Delete the task secondary link
1533
+ * @param {string} code
1534
+ * @param {string} linkType
1535
+ * @param {string} linkCode
1536
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1537
+ * @param {*} [options] Override http request option.
1538
+ * @throws {RequiredError}
1539
+ */
1540
+ removeSecondaryLink: function (code, linkType, linkCode, authorization, options) {
1541
+ return __awaiter(this, void 0, void 0, function () {
1542
+ var localVarAxiosArgs;
1543
+ return __generator(this, function (_a) {
1544
+ switch (_a.label) {
1545
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.removeSecondaryLink(code, linkType, linkCode, authorization, options)];
1546
+ case 1:
1547
+ localVarAxiosArgs = _a.sent();
1548
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
1549
+ }
1550
+ });
1551
+ });
1552
+ },
1399
1553
  };
1400
1554
  };
1401
1555
  exports.TaskClientApiFp = TaskClientApiFp;
@@ -1406,6 +1560,18 @@ exports.TaskClientApiFp = TaskClientApiFp;
1406
1560
  var TaskClientApiFactory = function (configuration, basePath, axios) {
1407
1561
  var localVarFp = (0, exports.TaskClientApiFp)(configuration);
1408
1562
  return {
1563
+ /**
1564
+ * Adds a secondary link from a task to a record in another service, for example an email thread. The record must exist. Adding a record that is already linked returns the task unchanged. **Required Permissions** \"task-management.tasks.update\"
1565
+ * @summary Create the task secondary link
1566
+ * @param {string} code
1567
+ * @param {EntityRefDto} entityRefDto
1568
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1569
+ * @param {*} [options] Override http request option.
1570
+ * @throws {RequiredError}
1571
+ */
1572
+ addSecondaryLink: function (code, entityRefDto, authorization, options) {
1573
+ return localVarFp.addSecondaryLink(code, entityRefDto, authorization, options).then(function (request) { return request(axios, basePath); });
1574
+ },
1409
1575
  /**
1410
1576
  * This will create a category. **Required Permissions** \"task-management.tasks.create\"
1411
1577
  * @summary Create the category
@@ -1568,11 +1734,11 @@ var TaskClientApiFactory = function (configuration, basePath, axios) {
1568
1734
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1569
1735
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
1570
1736
  * @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.
1571
- * @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, entityType, entityCode, entityNumber, userGroupCode, dueDate, createdAt, updatedAt, status.slug, categories.slug</i>
1737
+ * @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, entityType, entityCode, entityNumber, userGroupCode, dueDate, createdAt, updatedAt, status.slug, categories.slug, secondaryLinks.type, secondaryLinks.code</i>
1572
1738
  * @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>
1573
1739
  * @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, entityType, entityCode, status, priority</i>
1574
1740
  * @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>
1575
- * @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, entityType, entityCode, entityNumber, userGroupCode, dueDate, createdAt, updatedAt, status.slug, categories.slug</i>
1741
+ * @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, entityType, entityCode, entityNumber, userGroupCode, dueDate, createdAt, updatedAt, status.slug, categories.slug, secondaryLinks.type, secondaryLinks.code</i>
1576
1742
  * @param {*} [options] Override http request option.
1577
1743
  * @throws {RequiredError}
1578
1744
  */
@@ -1615,6 +1781,19 @@ var TaskClientApiFactory = function (configuration, basePath, axios) {
1615
1781
  patchTask: function (code, patchTaskRequestDto, authorization, options) {
1616
1782
  return localVarFp.patchTask(code, patchTaskRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
1617
1783
  },
1784
+ /**
1785
+ * Removes a secondary link between a task and a record in another service. The task and the record are kept. Removing a link that does not exist returns the task unchanged. **Required Permissions** \"task-management.tasks.update\"
1786
+ * @summary Delete the task secondary link
1787
+ * @param {string} code
1788
+ * @param {string} linkType
1789
+ * @param {string} linkCode
1790
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1791
+ * @param {*} [options] Override http request option.
1792
+ * @throws {RequiredError}
1793
+ */
1794
+ removeSecondaryLink: function (code, linkType, linkCode, authorization, options) {
1795
+ return localVarFp.removeSecondaryLink(code, linkType, linkCode, authorization, options).then(function (request) { return request(axios, basePath); });
1796
+ },
1618
1797
  };
1619
1798
  };
1620
1799
  exports.TaskClientApiFactory = TaskClientApiFactory;
@@ -1629,6 +1808,18 @@ var TaskClientApi = /** @class */ (function (_super) {
1629
1808
  function TaskClientApi() {
1630
1809
  return _super !== null && _super.apply(this, arguments) || this;
1631
1810
  }
1811
+ /**
1812
+ * Adds a secondary link from a task to a record in another service, for example an email thread. The record must exist. Adding a record that is already linked returns the task unchanged. **Required Permissions** \"task-management.tasks.update\"
1813
+ * @summary Create the task secondary link
1814
+ * @param {TaskClientApiAddSecondaryLinkRequest} requestParameters Request parameters.
1815
+ * @param {*} [options] Override http request option.
1816
+ * @throws {RequiredError}
1817
+ * @memberof TaskClientApi
1818
+ */
1819
+ TaskClientApi.prototype.addSecondaryLink = function (requestParameters, options) {
1820
+ var _this = this;
1821
+ return (0, exports.TaskClientApiFp)(this.configuration).addSecondaryLink(requestParameters.code, requestParameters.entityRefDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1822
+ };
1632
1823
  /**
1633
1824
  * This will create a category. **Required Permissions** \"task-management.tasks.create\"
1634
1825
  * @summary Create the category
@@ -1837,6 +2028,18 @@ var TaskClientApi = /** @class */ (function (_super) {
1837
2028
  var _this = this;
1838
2029
  return (0, exports.TaskClientApiFp)(this.configuration).patchTask(requestParameters.code, requestParameters.patchTaskRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1839
2030
  };
2031
+ /**
2032
+ * Removes a secondary link between a task and a record in another service. The task and the record are kept. Removing a link that does not exist returns the task unchanged. **Required Permissions** \"task-management.tasks.update\"
2033
+ * @summary Delete the task secondary link
2034
+ * @param {TaskClientApiRemoveSecondaryLinkRequest} requestParameters Request parameters.
2035
+ * @param {*} [options] Override http request option.
2036
+ * @throws {RequiredError}
2037
+ * @memberof TaskClientApi
2038
+ */
2039
+ TaskClientApi.prototype.removeSecondaryLink = function (requestParameters, options) {
2040
+ var _this = this;
2041
+ return (0, exports.TaskClientApiFp)(this.configuration).removeSecondaryLink(requestParameters.code, requestParameters.linkType, requestParameters.linkCode, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
2042
+ };
1840
2043
  return TaskClientApi;
1841
2044
  }(base_1.BaseAPI));
1842
2045
  exports.TaskClientApi = TaskClientApi;
@@ -12,17 +12,30 @@
12
12
  import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
13
13
  import { Configuration } from '../configuration';
14
14
  import { RequestArgs, BaseAPI } from '../base';
15
+ import { AddSecondaryLinkResponseClass } from '../models';
15
16
  import { CreateTaskRequestDto } from '../models';
16
17
  import { CreateTaskResponseClass } from '../models';
18
+ import { EntityRefDto } from '../models';
17
19
  import { GetTaskResponseClass } from '../models';
18
20
  import { ListTasksResponseClass } from '../models';
19
21
  import { PatchTaskRequestDto } from '../models';
20
22
  import { PatchTaskResponseClass } from '../models';
23
+ import { RemoveSecondaryLinkResponseClass } from '../models';
21
24
  /**
22
25
  * TasksApi - axios parameter creator
23
26
  * @export
24
27
  */
25
28
  export declare const TasksApiAxiosParamCreator: (configuration?: Configuration) => {
29
+ /**
30
+ * Adds a secondary link from a task to a record in another service, for example an email thread. The record must exist. Adding a record that is already linked returns the task unchanged. **Required Permissions** \"task-management.tasks.update\"
31
+ * @summary Create the task secondary link
32
+ * @param {string} code
33
+ * @param {EntityRefDto} entityRefDto
34
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
35
+ * @param {*} [options] Override http request option.
36
+ * @throws {RequiredError}
37
+ */
38
+ addSecondaryLink: (code: string, entityRefDto: EntityRefDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
26
39
  /**
27
40
  * This will create a task. **Required Permissions** \"task-management.tasks.create\"
28
41
  * @summary Create the task
@@ -57,11 +70,11 @@ export declare const TasksApiAxiosParamCreator: (configuration?: Configuration)
57
70
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
58
71
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
59
72
  * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
60
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, statusId, priority, assignee, reporter, entityType, entityCode, entityNumber, userGroupCode, dueDate, createdAt, updatedAt, status.slug, categories.slug&lt;/i&gt;
73
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, statusId, priority, assignee, reporter, entityType, entityCode, entityNumber, userGroupCode, dueDate, createdAt, updatedAt, status.slug, categories.slug, secondaryLinks.type, secondaryLinks.code&lt;/i&gt;
61
74
  * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: subject, description&lt;/i&gt;
62
75
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, updatedAt, assignee, reporter, dueDate, entityType, entityCode, status, priority&lt;/i&gt;
63
76
  * @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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: categories, status&lt;i&gt;
64
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, statusId, priority, assignee, reporter, entityType, entityCode, entityNumber, userGroupCode, dueDate, createdAt, updatedAt, status.slug, categories.slug&lt;/i&gt;
77
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, statusId, priority, assignee, reporter, entityType, entityCode, entityNumber, userGroupCode, dueDate, createdAt, updatedAt, status.slug, categories.slug, secondaryLinks.type, secondaryLinks.code&lt;/i&gt;
65
78
  * @param {*} [options] Override http request option.
66
79
  * @throws {RequiredError}
67
80
  */
@@ -76,12 +89,33 @@ export declare const TasksApiAxiosParamCreator: (configuration?: Configuration)
76
89
  * @throws {RequiredError}
77
90
  */
78
91
  patchTask: (code: string, patchTaskRequestDto: PatchTaskRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
92
+ /**
93
+ * Removes a secondary link between a task and a record in another service. The task and the record are kept. Removing a link that does not exist returns the task unchanged. **Required Permissions** \"task-management.tasks.update\"
94
+ * @summary Delete the task secondary link
95
+ * @param {string} code
96
+ * @param {string} linkType
97
+ * @param {string} linkCode
98
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
99
+ * @param {*} [options] Override http request option.
100
+ * @throws {RequiredError}
101
+ */
102
+ removeSecondaryLink: (code: string, linkType: string, linkCode: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
79
103
  };
80
104
  /**
81
105
  * TasksApi - functional programming interface
82
106
  * @export
83
107
  */
84
108
  export declare const TasksApiFp: (configuration?: Configuration) => {
109
+ /**
110
+ * Adds a secondary link from a task to a record in another service, for example an email thread. The record must exist. Adding a record that is already linked returns the task unchanged. **Required Permissions** \"task-management.tasks.update\"
111
+ * @summary Create the task secondary link
112
+ * @param {string} code
113
+ * @param {EntityRefDto} entityRefDto
114
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
115
+ * @param {*} [options] Override http request option.
116
+ * @throws {RequiredError}
117
+ */
118
+ addSecondaryLink(code: string, entityRefDto: EntityRefDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AddSecondaryLinkResponseClass>>;
85
119
  /**
86
120
  * This will create a task. **Required Permissions** \"task-management.tasks.create\"
87
121
  * @summary Create the task
@@ -116,11 +150,11 @@ export declare const TasksApiFp: (configuration?: Configuration) => {
116
150
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
117
151
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
118
152
  * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
119
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, statusId, priority, assignee, reporter, entityType, entityCode, entityNumber, userGroupCode, dueDate, createdAt, updatedAt, status.slug, categories.slug&lt;/i&gt;
153
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, statusId, priority, assignee, reporter, entityType, entityCode, entityNumber, userGroupCode, dueDate, createdAt, updatedAt, status.slug, categories.slug, secondaryLinks.type, secondaryLinks.code&lt;/i&gt;
120
154
  * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: subject, description&lt;/i&gt;
121
155
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, updatedAt, assignee, reporter, dueDate, entityType, entityCode, status, priority&lt;/i&gt;
122
156
  * @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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: categories, status&lt;i&gt;
123
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, statusId, priority, assignee, reporter, entityType, entityCode, entityNumber, userGroupCode, dueDate, createdAt, updatedAt, status.slug, categories.slug&lt;/i&gt;
157
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, statusId, priority, assignee, reporter, entityType, entityCode, entityNumber, userGroupCode, dueDate, createdAt, updatedAt, status.slug, categories.slug, secondaryLinks.type, secondaryLinks.code&lt;/i&gt;
124
158
  * @param {*} [options] Override http request option.
125
159
  * @throws {RequiredError}
126
160
  */
@@ -135,12 +169,33 @@ export declare const TasksApiFp: (configuration?: Configuration) => {
135
169
  * @throws {RequiredError}
136
170
  */
137
171
  patchTask(code: string, patchTaskRequestDto: PatchTaskRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PatchTaskResponseClass>>;
172
+ /**
173
+ * Removes a secondary link between a task and a record in another service. The task and the record are kept. Removing a link that does not exist returns the task unchanged. **Required Permissions** \"task-management.tasks.update\"
174
+ * @summary Delete the task secondary link
175
+ * @param {string} code
176
+ * @param {string} linkType
177
+ * @param {string} linkCode
178
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
179
+ * @param {*} [options] Override http request option.
180
+ * @throws {RequiredError}
181
+ */
182
+ removeSecondaryLink(code: string, linkType: string, linkCode: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RemoveSecondaryLinkResponseClass>>;
138
183
  };
139
184
  /**
140
185
  * TasksApi - factory interface
141
186
  * @export
142
187
  */
143
188
  export declare const TasksApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
189
+ /**
190
+ * Adds a secondary link from a task to a record in another service, for example an email thread. The record must exist. Adding a record that is already linked returns the task unchanged. **Required Permissions** \"task-management.tasks.update\"
191
+ * @summary Create the task secondary link
192
+ * @param {string} code
193
+ * @param {EntityRefDto} entityRefDto
194
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
195
+ * @param {*} [options] Override http request option.
196
+ * @throws {RequiredError}
197
+ */
198
+ addSecondaryLink(code: string, entityRefDto: EntityRefDto, authorization?: string, options?: any): AxiosPromise<AddSecondaryLinkResponseClass>;
144
199
  /**
145
200
  * This will create a task. **Required Permissions** \"task-management.tasks.create\"
146
201
  * @summary Create the task
@@ -175,11 +230,11 @@ export declare const TasksApiFactory: (configuration?: Configuration, basePath?:
175
230
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
176
231
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
177
232
  * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
178
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, statusId, priority, assignee, reporter, entityType, entityCode, entityNumber, userGroupCode, dueDate, createdAt, updatedAt, status.slug, categories.slug&lt;/i&gt;
233
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, statusId, priority, assignee, reporter, entityType, entityCode, entityNumber, userGroupCode, dueDate, createdAt, updatedAt, status.slug, categories.slug, secondaryLinks.type, secondaryLinks.code&lt;/i&gt;
179
234
  * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: subject, description&lt;/i&gt;
180
235
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, updatedAt, assignee, reporter, dueDate, entityType, entityCode, status, priority&lt;/i&gt;
181
236
  * @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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: categories, status&lt;i&gt;
182
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, statusId, priority, assignee, reporter, entityType, entityCode, entityNumber, userGroupCode, dueDate, createdAt, updatedAt, status.slug, categories.slug&lt;/i&gt;
237
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, statusId, priority, assignee, reporter, entityType, entityCode, entityNumber, userGroupCode, dueDate, createdAt, updatedAt, status.slug, categories.slug, secondaryLinks.type, secondaryLinks.code&lt;/i&gt;
183
238
  * @param {*} [options] Override http request option.
184
239
  * @throws {RequiredError}
185
240
  */
@@ -194,7 +249,43 @@ export declare const TasksApiFactory: (configuration?: Configuration, basePath?:
194
249
  * @throws {RequiredError}
195
250
  */
196
251
  patchTask(code: string, patchTaskRequestDto: PatchTaskRequestDto, authorization?: string, options?: any): AxiosPromise<PatchTaskResponseClass>;
252
+ /**
253
+ * Removes a secondary link between a task and a record in another service. The task and the record are kept. Removing a link that does not exist returns the task unchanged. **Required Permissions** \"task-management.tasks.update\"
254
+ * @summary Delete the task secondary link
255
+ * @param {string} code
256
+ * @param {string} linkType
257
+ * @param {string} linkCode
258
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
259
+ * @param {*} [options] Override http request option.
260
+ * @throws {RequiredError}
261
+ */
262
+ removeSecondaryLink(code: string, linkType: string, linkCode: string, authorization?: string, options?: any): AxiosPromise<RemoveSecondaryLinkResponseClass>;
197
263
  };
264
+ /**
265
+ * Request parameters for addSecondaryLink operation in TasksApi.
266
+ * @export
267
+ * @interface TasksApiAddSecondaryLinkRequest
268
+ */
269
+ export interface TasksApiAddSecondaryLinkRequest {
270
+ /**
271
+ *
272
+ * @type {string}
273
+ * @memberof TasksApiAddSecondaryLink
274
+ */
275
+ readonly code: string;
276
+ /**
277
+ *
278
+ * @type {EntityRefDto}
279
+ * @memberof TasksApiAddSecondaryLink
280
+ */
281
+ readonly entityRefDto: EntityRefDto;
282
+ /**
283
+ * Bearer Token: provided by the login endpoint under the name accessToken.
284
+ * @type {string}
285
+ * @memberof TasksApiAddSecondaryLink
286
+ */
287
+ readonly authorization?: string;
288
+ }
198
289
  /**
199
290
  * Request parameters for createTask operation in TasksApi.
200
291
  * @export
@@ -283,7 +374,7 @@ export interface TasksApiListTasksRequest {
283
374
  */
284
375
  readonly pageToken?: string;
285
376
  /**
286
- * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, statusId, priority, assignee, reporter, entityType, entityCode, entityNumber, userGroupCode, dueDate, createdAt, updatedAt, status.slug, categories.slug&lt;/i&gt;
377
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, statusId, priority, assignee, reporter, entityType, entityCode, entityNumber, userGroupCode, dueDate, createdAt, updatedAt, status.slug, categories.slug, secondaryLinks.type, secondaryLinks.code&lt;/i&gt;
287
378
  * @type {string}
288
379
  * @memberof TasksApiListTasks
289
380
  */
@@ -307,7 +398,7 @@ export interface TasksApiListTasksRequest {
307
398
  */
308
399
  readonly expand?: string;
309
400
  /**
310
- * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, statusId, priority, assignee, reporter, entityType, entityCode, entityNumber, userGroupCode, dueDate, createdAt, updatedAt, status.slug, categories.slug&lt;/i&gt;
401
+ * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, statusId, priority, assignee, reporter, entityType, entityCode, entityNumber, userGroupCode, dueDate, createdAt, updatedAt, status.slug, categories.slug, secondaryLinks.type, secondaryLinks.code&lt;/i&gt;
311
402
  * @type {string}
312
403
  * @memberof TasksApiListTasks
313
404
  */
@@ -338,6 +429,37 @@ export interface TasksApiPatchTaskRequest {
338
429
  */
339
430
  readonly authorization?: string;
340
431
  }
432
+ /**
433
+ * Request parameters for removeSecondaryLink operation in TasksApi.
434
+ * @export
435
+ * @interface TasksApiRemoveSecondaryLinkRequest
436
+ */
437
+ export interface TasksApiRemoveSecondaryLinkRequest {
438
+ /**
439
+ *
440
+ * @type {string}
441
+ * @memberof TasksApiRemoveSecondaryLink
442
+ */
443
+ readonly code: string;
444
+ /**
445
+ *
446
+ * @type {string}
447
+ * @memberof TasksApiRemoveSecondaryLink
448
+ */
449
+ readonly linkType: string;
450
+ /**
451
+ *
452
+ * @type {string}
453
+ * @memberof TasksApiRemoveSecondaryLink
454
+ */
455
+ readonly linkCode: string;
456
+ /**
457
+ * Bearer Token: provided by the login endpoint under the name accessToken.
458
+ * @type {string}
459
+ * @memberof TasksApiRemoveSecondaryLink
460
+ */
461
+ readonly authorization?: string;
462
+ }
341
463
  /**
342
464
  * TasksApi - object-oriented interface
343
465
  * @export
@@ -345,6 +467,15 @@ export interface TasksApiPatchTaskRequest {
345
467
  * @extends {BaseAPI}
346
468
  */
347
469
  export declare class TasksApi extends BaseAPI {
470
+ /**
471
+ * Adds a secondary link from a task to a record in another service, for example an email thread. The record must exist. Adding a record that is already linked returns the task unchanged. **Required Permissions** \"task-management.tasks.update\"
472
+ * @summary Create the task secondary link
473
+ * @param {TasksApiAddSecondaryLinkRequest} requestParameters Request parameters.
474
+ * @param {*} [options] Override http request option.
475
+ * @throws {RequiredError}
476
+ * @memberof TasksApi
477
+ */
478
+ addSecondaryLink(requestParameters: TasksApiAddSecondaryLinkRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<AddSecondaryLinkResponseClass, any, {}>>;
348
479
  /**
349
480
  * This will create a task. **Required Permissions** \"task-management.tasks.create\"
350
481
  * @summary Create the task
@@ -390,4 +521,13 @@ export declare class TasksApi extends BaseAPI {
390
521
  * @memberof TasksApi
391
522
  */
392
523
  patchTask(requestParameters: TasksApiPatchTaskRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PatchTaskResponseClass, any, {}>>;
524
+ /**
525
+ * Removes a secondary link between a task and a record in another service. The task and the record are kept. Removing a link that does not exist returns the task unchanged. **Required Permissions** \"task-management.tasks.update\"
526
+ * @summary Delete the task secondary link
527
+ * @param {TasksApiRemoveSecondaryLinkRequest} requestParameters Request parameters.
528
+ * @param {*} [options] Override http request option.
529
+ * @throws {RequiredError}
530
+ * @memberof TasksApi
531
+ */
532
+ removeSecondaryLink(requestParameters: TasksApiRemoveSecondaryLinkRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<RemoveSecondaryLinkResponseClass, any, {}>>;
393
533
  }