@emilgroup/task-sdk-node 1.7.1-beta.4 → 1.7.1-beta.40
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/.openapi-generator/FILES +8 -0
- package/README.md +2 -2
- package/api/assignees-api.ts +4 -2
- package/api/categories-api.ts +20 -10
- package/api/filters-api.ts +153 -34
- package/api/hub-spot-api.ts +4 -2
- package/api/reminders-api.ts +28 -14
- package/api/statuses-api.ts +20 -10
- package/api/task-client-api.ts +329 -42
- package/api/tasks-api.ts +281 -18
- package/dist/api/assignees-api.js +4 -3
- package/dist/api/categories-api.js +29 -18
- package/dist/api/filters-api.d.ts +81 -24
- package/dist/api/filters-api.js +147 -38
- package/dist/api/hub-spot-api.js +7 -4
- package/dist/api/reminders-api.js +40 -25
- package/dist/api/statuses-api.js +29 -18
- package/dist/api/task-client-api.d.ts +148 -8
- package/dist/api/task-client-api.js +313 -67
- package/dist/api/tasks-api.d.ts +148 -8
- package/dist/api/tasks-api.js +244 -24
- package/dist/models/add-secondary-link-response-class.d.ts +25 -0
- package/dist/models/add-secondary-link-response-class.js +15 -0
- package/dist/models/create-task-request-dto.d.ts +13 -0
- package/dist/models/dry-run-filter-clause-class.d.ts +42 -0
- package/dist/models/dry-run-filter-clause-class.js +15 -0
- package/dist/models/dry-run-filter-request-dto.d.ts +30 -0
- package/dist/models/dry-run-filter-request-dto.js +15 -0
- package/dist/models/dry-run-filter-response-class.d.ts +37 -0
- package/dist/models/dry-run-filter-response-class.js +15 -0
- package/dist/models/entity-ref-class.d.ts +34 -0
- package/dist/models/entity-ref-class.js +19 -0
- package/dist/models/entity-ref-dto.d.ts +34 -0
- package/dist/models/entity-ref-dto.js +19 -0
- package/dist/models/index.d.ts +8 -0
- package/dist/models/index.js +8 -0
- package/dist/models/patch-task-request-dto.d.ts +12 -0
- package/dist/models/remove-secondary-link-response-class.d.ts +25 -0
- package/dist/models/remove-secondary-link-response-class.js +15 -0
- package/dist/models/secondary-link-class.d.ts +31 -0
- package/dist/models/secondary-link-class.js +15 -0
- package/dist/models/task-class.d.ts +7 -0
- package/models/add-secondary-link-response-class.ts +31 -0
- package/models/create-task-request-dto.ts +13 -0
- package/models/dry-run-filter-clause-class.ts +48 -0
- package/models/dry-run-filter-request-dto.ts +36 -0
- package/models/dry-run-filter-response-class.ts +43 -0
- package/models/entity-ref-class.ts +43 -0
- package/models/entity-ref-dto.ts +43 -0
- package/models/index.ts +8 -0
- package/models/patch-task-request-dto.ts +12 -0
- package/models/remove-secondary-link-response-class.ts +31 -0
- package/models/secondary-link-class.ts +37 -0
- package/models/task-class.ts +7 -0
- package/package.json +1 -1
|
@@ -107,7 +107,7 @@ var RemindersApiAxiosParamCreator = function (configuration) {
|
|
|
107
107
|
createReminder: function (createReminderRequestDto, authorization, options) {
|
|
108
108
|
if (options === void 0) { options = {}; }
|
|
109
109
|
return __awaiter(_this, void 0, void 0, function () {
|
|
110
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
110
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
111
111
|
return __generator(this, function (_a) {
|
|
112
112
|
switch (_a.label) {
|
|
113
113
|
case 0:
|
|
@@ -124,13 +124,16 @@ var RemindersApiAxiosParamCreator = function (configuration) {
|
|
|
124
124
|
localVarQueryParameter = {};
|
|
125
125
|
// authentication bearer required
|
|
126
126
|
// http bearer authentication required
|
|
127
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
127
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
128
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
129
|
+
];
|
|
128
130
|
case 1:
|
|
129
131
|
// authentication bearer required
|
|
130
132
|
// http bearer authentication required
|
|
131
133
|
_a.sent();
|
|
132
|
-
|
|
133
|
-
|
|
134
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
135
|
+
if (authorizationValue) {
|
|
136
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
134
137
|
}
|
|
135
138
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
136
139
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -156,7 +159,7 @@ var RemindersApiAxiosParamCreator = function (configuration) {
|
|
|
156
159
|
deleteReminder: function (code, authorization, options) {
|
|
157
160
|
if (options === void 0) { options = {}; }
|
|
158
161
|
return __awaiter(_this, void 0, void 0, function () {
|
|
159
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
162
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
160
163
|
return __generator(this, function (_a) {
|
|
161
164
|
switch (_a.label) {
|
|
162
165
|
case 0:
|
|
@@ -174,13 +177,16 @@ var RemindersApiAxiosParamCreator = function (configuration) {
|
|
|
174
177
|
localVarQueryParameter = {};
|
|
175
178
|
// authentication bearer required
|
|
176
179
|
// http bearer authentication required
|
|
177
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
180
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
181
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
182
|
+
];
|
|
178
183
|
case 1:
|
|
179
184
|
// authentication bearer required
|
|
180
185
|
// http bearer authentication required
|
|
181
186
|
_a.sent();
|
|
182
|
-
|
|
183
|
-
|
|
187
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
188
|
+
if (authorizationValue) {
|
|
189
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
184
190
|
}
|
|
185
191
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
186
192
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -205,7 +211,7 @@ var RemindersApiAxiosParamCreator = function (configuration) {
|
|
|
205
211
|
getReminder: function (code, expand, authorization, options) {
|
|
206
212
|
if (options === void 0) { options = {}; }
|
|
207
213
|
return __awaiter(_this, void 0, void 0, function () {
|
|
208
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
214
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
209
215
|
return __generator(this, function (_a) {
|
|
210
216
|
switch (_a.label) {
|
|
211
217
|
case 0:
|
|
@@ -233,8 +239,9 @@ var RemindersApiAxiosParamCreator = function (configuration) {
|
|
|
233
239
|
if (expand !== undefined) {
|
|
234
240
|
localVarQueryParameter['expand'] = expand;
|
|
235
241
|
}
|
|
236
|
-
|
|
237
|
-
|
|
242
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
243
|
+
if (authorizationValue) {
|
|
244
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
238
245
|
}
|
|
239
246
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
240
247
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -258,7 +265,7 @@ var RemindersApiAxiosParamCreator = function (configuration) {
|
|
|
258
265
|
getReminderCounts: function (authorization, filters, options) {
|
|
259
266
|
if (options === void 0) { options = {}; }
|
|
260
267
|
return __awaiter(_this, void 0, void 0, function () {
|
|
261
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
268
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
262
269
|
return __generator(this, function (_a) {
|
|
263
270
|
switch (_a.label) {
|
|
264
271
|
case 0:
|
|
@@ -281,8 +288,9 @@ var RemindersApiAxiosParamCreator = function (configuration) {
|
|
|
281
288
|
if (filters !== undefined) {
|
|
282
289
|
localVarQueryParameter['filters'] = filters;
|
|
283
290
|
}
|
|
284
|
-
|
|
285
|
-
|
|
291
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
292
|
+
if (authorizationValue) {
|
|
293
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
286
294
|
}
|
|
287
295
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
288
296
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -312,7 +320,7 @@ var RemindersApiAxiosParamCreator = function (configuration) {
|
|
|
312
320
|
listReminders: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
313
321
|
if (options === void 0) { options = {}; }
|
|
314
322
|
return __awaiter(_this, void 0, void 0, function () {
|
|
315
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
323
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
316
324
|
return __generator(this, function (_a) {
|
|
317
325
|
switch (_a.label) {
|
|
318
326
|
case 0:
|
|
@@ -353,8 +361,9 @@ var RemindersApiAxiosParamCreator = function (configuration) {
|
|
|
353
361
|
if (filters !== undefined) {
|
|
354
362
|
localVarQueryParameter['filters'] = filters;
|
|
355
363
|
}
|
|
356
|
-
|
|
357
|
-
|
|
364
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
365
|
+
if (authorizationValue) {
|
|
366
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
358
367
|
}
|
|
359
368
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
360
369
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -378,7 +387,7 @@ var RemindersApiAxiosParamCreator = function (configuration) {
|
|
|
378
387
|
markReminderDone: function (code, authorization, options) {
|
|
379
388
|
if (options === void 0) { options = {}; }
|
|
380
389
|
return __awaiter(_this, void 0, void 0, function () {
|
|
381
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
390
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
382
391
|
return __generator(this, function (_a) {
|
|
383
392
|
switch (_a.label) {
|
|
384
393
|
case 0:
|
|
@@ -396,13 +405,16 @@ var RemindersApiAxiosParamCreator = function (configuration) {
|
|
|
396
405
|
localVarQueryParameter = {};
|
|
397
406
|
// authentication bearer required
|
|
398
407
|
// http bearer authentication required
|
|
399
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
408
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
409
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
410
|
+
];
|
|
400
411
|
case 1:
|
|
401
412
|
// authentication bearer required
|
|
402
413
|
// http bearer authentication required
|
|
403
414
|
_a.sent();
|
|
404
|
-
|
|
405
|
-
|
|
415
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
416
|
+
if (authorizationValue) {
|
|
417
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
406
418
|
}
|
|
407
419
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
408
420
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -426,7 +438,7 @@ var RemindersApiAxiosParamCreator = function (configuration) {
|
|
|
426
438
|
patchReminder: function (patchReminderRequestDto, authorization, options) {
|
|
427
439
|
if (options === void 0) { options = {}; }
|
|
428
440
|
return __awaiter(_this, void 0, void 0, function () {
|
|
429
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
441
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
430
442
|
return __generator(this, function (_a) {
|
|
431
443
|
switch (_a.label) {
|
|
432
444
|
case 0:
|
|
@@ -443,13 +455,16 @@ var RemindersApiAxiosParamCreator = function (configuration) {
|
|
|
443
455
|
localVarQueryParameter = {};
|
|
444
456
|
// authentication bearer required
|
|
445
457
|
// http bearer authentication required
|
|
446
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
458
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
459
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
460
|
+
];
|
|
447
461
|
case 1:
|
|
448
462
|
// authentication bearer required
|
|
449
463
|
// http bearer authentication required
|
|
450
464
|
_a.sent();
|
|
451
|
-
|
|
452
|
-
|
|
465
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
466
|
+
if (authorizationValue) {
|
|
467
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
453
468
|
}
|
|
454
469
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
455
470
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
package/dist/api/statuses-api.js
CHANGED
|
@@ -107,7 +107,7 @@ var StatusesApiAxiosParamCreator = function (configuration) {
|
|
|
107
107
|
createStatus: function (createStatusRequestDto, authorization, options) {
|
|
108
108
|
if (options === void 0) { options = {}; }
|
|
109
109
|
return __awaiter(_this, void 0, void 0, function () {
|
|
110
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
110
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
111
111
|
return __generator(this, function (_a) {
|
|
112
112
|
switch (_a.label) {
|
|
113
113
|
case 0:
|
|
@@ -124,13 +124,16 @@ var StatusesApiAxiosParamCreator = function (configuration) {
|
|
|
124
124
|
localVarQueryParameter = {};
|
|
125
125
|
// authentication bearer required
|
|
126
126
|
// http bearer authentication required
|
|
127
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
127
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
128
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
129
|
+
];
|
|
128
130
|
case 1:
|
|
129
131
|
// authentication bearer required
|
|
130
132
|
// http bearer authentication required
|
|
131
133
|
_a.sent();
|
|
132
|
-
|
|
133
|
-
|
|
134
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
135
|
+
if (authorizationValue) {
|
|
136
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
134
137
|
}
|
|
135
138
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
136
139
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -156,7 +159,7 @@ var StatusesApiAxiosParamCreator = function (configuration) {
|
|
|
156
159
|
deleteStatus: function (code, authorization, options) {
|
|
157
160
|
if (options === void 0) { options = {}; }
|
|
158
161
|
return __awaiter(_this, void 0, void 0, function () {
|
|
159
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
162
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
160
163
|
return __generator(this, function (_a) {
|
|
161
164
|
switch (_a.label) {
|
|
162
165
|
case 0:
|
|
@@ -174,13 +177,16 @@ var StatusesApiAxiosParamCreator = function (configuration) {
|
|
|
174
177
|
localVarQueryParameter = {};
|
|
175
178
|
// authentication bearer required
|
|
176
179
|
// http bearer authentication required
|
|
177
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
180
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
181
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
182
|
+
];
|
|
178
183
|
case 1:
|
|
179
184
|
// authentication bearer required
|
|
180
185
|
// http bearer authentication required
|
|
181
186
|
_a.sent();
|
|
182
|
-
|
|
183
|
-
|
|
187
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
188
|
+
if (authorizationValue) {
|
|
189
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
184
190
|
}
|
|
185
191
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
186
192
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -205,7 +211,7 @@ var StatusesApiAxiosParamCreator = function (configuration) {
|
|
|
205
211
|
getStatus: function (code, authorization, expand, options) {
|
|
206
212
|
if (options === void 0) { options = {}; }
|
|
207
213
|
return __awaiter(_this, void 0, void 0, function () {
|
|
208
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
214
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
209
215
|
return __generator(this, function (_a) {
|
|
210
216
|
switch (_a.label) {
|
|
211
217
|
case 0:
|
|
@@ -231,8 +237,9 @@ var StatusesApiAxiosParamCreator = function (configuration) {
|
|
|
231
237
|
if (expand !== undefined) {
|
|
232
238
|
localVarQueryParameter['expand'] = expand;
|
|
233
239
|
}
|
|
234
|
-
|
|
235
|
-
|
|
240
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
241
|
+
if (authorizationValue) {
|
|
242
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
236
243
|
}
|
|
237
244
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
238
245
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -260,7 +267,7 @@ var StatusesApiAxiosParamCreator = function (configuration) {
|
|
|
260
267
|
listStatuses: function (authorization, filter, filters, search, order, expand, options) {
|
|
261
268
|
if (options === void 0) { options = {}; }
|
|
262
269
|
return __awaiter(_this, void 0, void 0, function () {
|
|
263
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
270
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
264
271
|
return __generator(this, function (_a) {
|
|
265
272
|
switch (_a.label) {
|
|
266
273
|
case 0:
|
|
@@ -295,8 +302,9 @@ var StatusesApiAxiosParamCreator = function (configuration) {
|
|
|
295
302
|
if (expand !== undefined) {
|
|
296
303
|
localVarQueryParameter['expand'] = expand;
|
|
297
304
|
}
|
|
298
|
-
|
|
299
|
-
|
|
305
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
306
|
+
if (authorizationValue) {
|
|
307
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
300
308
|
}
|
|
301
309
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
302
310
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -321,7 +329,7 @@ var StatusesApiAxiosParamCreator = function (configuration) {
|
|
|
321
329
|
patchStatus: function (code, patchStatusRequestDto, authorization, options) {
|
|
322
330
|
if (options === void 0) { options = {}; }
|
|
323
331
|
return __awaiter(_this, void 0, void 0, function () {
|
|
324
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
332
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
325
333
|
return __generator(this, function (_a) {
|
|
326
334
|
switch (_a.label) {
|
|
327
335
|
case 0:
|
|
@@ -341,13 +349,16 @@ var StatusesApiAxiosParamCreator = function (configuration) {
|
|
|
341
349
|
localVarQueryParameter = {};
|
|
342
350
|
// authentication bearer required
|
|
343
351
|
// http bearer authentication required
|
|
344
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
352
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
353
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
354
|
+
];
|
|
345
355
|
case 1:
|
|
346
356
|
// authentication bearer required
|
|
347
357
|
// http bearer authentication required
|
|
348
358
|
_a.sent();
|
|
349
|
-
|
|
350
|
-
|
|
359
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
360
|
+
if (authorizationValue) {
|
|
361
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
351
362
|
}
|
|
352
363
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
353
364
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -12,6 +12,7 @@
|
|
|
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 { CreateCategoryRequestDto } from '../models';
|
|
16
17
|
import { CreateCategoryResponseClass } from '../models';
|
|
17
18
|
import { CreateHubSpotTicketRequestDto } from '../models';
|
|
@@ -20,6 +21,7 @@ import { CreateStatusRequestDto } from '../models';
|
|
|
20
21
|
import { CreateStatusResponseClass } from '../models';
|
|
21
22
|
import { CreateTaskRequestDto } from '../models';
|
|
22
23
|
import { CreateTaskResponseClass } from '../models';
|
|
24
|
+
import { EntityRefDto } from '../models';
|
|
23
25
|
import { GetCategoryResponseClass } from '../models';
|
|
24
26
|
import { GetStatusResponseClass } from '../models';
|
|
25
27
|
import { GetTaskResponseClass } from '../models';
|
|
@@ -33,11 +35,22 @@ import { PatchStatusRequestDto } from '../models';
|
|
|
33
35
|
import { PatchStatusResponseClass } from '../models';
|
|
34
36
|
import { PatchTaskRequestDto } from '../models';
|
|
35
37
|
import { PatchTaskResponseClass } from '../models';
|
|
38
|
+
import { RemoveSecondaryLinkResponseClass } from '../models';
|
|
36
39
|
/**
|
|
37
40
|
* TaskClientApi - axios parameter creator
|
|
38
41
|
* @export
|
|
39
42
|
*/
|
|
40
43
|
export declare const TaskClientApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
44
|
+
/**
|
|
45
|
+
* 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\"
|
|
46
|
+
* @summary Create the task secondary link
|
|
47
|
+
* @param {string} code
|
|
48
|
+
* @param {EntityRefDto} entityRefDto
|
|
49
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
50
|
+
* @param {*} [options] Override http request option.
|
|
51
|
+
* @throws {RequiredError}
|
|
52
|
+
*/
|
|
53
|
+
addSecondaryLink: (code: string, entityRefDto: EntityRefDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
41
54
|
/**
|
|
42
55
|
* This will create a category. **Required Permissions** \"task-management.tasks.create\"
|
|
43
56
|
* @summary Create the category
|
|
@@ -174,11 +187,11 @@ export declare const TaskClientApiAxiosParamCreator: (configuration?: Configurat
|
|
|
174
187
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
175
188
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
176
189
|
* @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.
|
|
177
|
-
* @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>
|
|
190
|
+
* @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>
|
|
178
191
|
* @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>
|
|
179
192
|
* @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>
|
|
180
193
|
* @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>
|
|
181
|
-
* @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>
|
|
194
|
+
* @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>
|
|
182
195
|
* @param {*} [options] Override http request option.
|
|
183
196
|
* @throws {RequiredError}
|
|
184
197
|
*/
|
|
@@ -213,12 +226,33 @@ export declare const TaskClientApiAxiosParamCreator: (configuration?: Configurat
|
|
|
213
226
|
* @throws {RequiredError}
|
|
214
227
|
*/
|
|
215
228
|
patchTask: (code: string, patchTaskRequestDto: PatchTaskRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
229
|
+
/**
|
|
230
|
+
* 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\"
|
|
231
|
+
* @summary Delete the task secondary link
|
|
232
|
+
* @param {string} code
|
|
233
|
+
* @param {string} linkType
|
|
234
|
+
* @param {string} linkCode
|
|
235
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
236
|
+
* @param {*} [options] Override http request option.
|
|
237
|
+
* @throws {RequiredError}
|
|
238
|
+
*/
|
|
239
|
+
removeSecondaryLink: (code: string, linkType: string, linkCode: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
216
240
|
};
|
|
217
241
|
/**
|
|
218
242
|
* TaskClientApi - functional programming interface
|
|
219
243
|
* @export
|
|
220
244
|
*/
|
|
221
245
|
export declare const TaskClientApiFp: (configuration?: Configuration) => {
|
|
246
|
+
/**
|
|
247
|
+
* 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\"
|
|
248
|
+
* @summary Create the task secondary link
|
|
249
|
+
* @param {string} code
|
|
250
|
+
* @param {EntityRefDto} entityRefDto
|
|
251
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
252
|
+
* @param {*} [options] Override http request option.
|
|
253
|
+
* @throws {RequiredError}
|
|
254
|
+
*/
|
|
255
|
+
addSecondaryLink(code: string, entityRefDto: EntityRefDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AddSecondaryLinkResponseClass>>;
|
|
222
256
|
/**
|
|
223
257
|
* This will create a category. **Required Permissions** \"task-management.tasks.create\"
|
|
224
258
|
* @summary Create the category
|
|
@@ -355,11 +389,11 @@ export declare const TaskClientApiFp: (configuration?: Configuration) => {
|
|
|
355
389
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
356
390
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
357
391
|
* @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.
|
|
358
|
-
* @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>
|
|
392
|
+
* @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>
|
|
359
393
|
* @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>
|
|
360
394
|
* @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>
|
|
361
395
|
* @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>
|
|
362
|
-
* @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>
|
|
396
|
+
* @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>
|
|
363
397
|
* @param {*} [options] Override http request option.
|
|
364
398
|
* @throws {RequiredError}
|
|
365
399
|
*/
|
|
@@ -394,12 +428,33 @@ export declare const TaskClientApiFp: (configuration?: Configuration) => {
|
|
|
394
428
|
* @throws {RequiredError}
|
|
395
429
|
*/
|
|
396
430
|
patchTask(code: string, patchTaskRequestDto: PatchTaskRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PatchTaskResponseClass>>;
|
|
431
|
+
/**
|
|
432
|
+
* 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\"
|
|
433
|
+
* @summary Delete the task secondary link
|
|
434
|
+
* @param {string} code
|
|
435
|
+
* @param {string} linkType
|
|
436
|
+
* @param {string} linkCode
|
|
437
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
438
|
+
* @param {*} [options] Override http request option.
|
|
439
|
+
* @throws {RequiredError}
|
|
440
|
+
*/
|
|
441
|
+
removeSecondaryLink(code: string, linkType: string, linkCode: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RemoveSecondaryLinkResponseClass>>;
|
|
397
442
|
};
|
|
398
443
|
/**
|
|
399
444
|
* TaskClientApi - factory interface
|
|
400
445
|
* @export
|
|
401
446
|
*/
|
|
402
447
|
export declare const TaskClientApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
448
|
+
/**
|
|
449
|
+
* 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\"
|
|
450
|
+
* @summary Create the task secondary link
|
|
451
|
+
* @param {string} code
|
|
452
|
+
* @param {EntityRefDto} entityRefDto
|
|
453
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
454
|
+
* @param {*} [options] Override http request option.
|
|
455
|
+
* @throws {RequiredError}
|
|
456
|
+
*/
|
|
457
|
+
addSecondaryLink(code: string, entityRefDto: EntityRefDto, authorization?: string, options?: any): AxiosPromise<AddSecondaryLinkResponseClass>;
|
|
403
458
|
/**
|
|
404
459
|
* This will create a category. **Required Permissions** \"task-management.tasks.create\"
|
|
405
460
|
* @summary Create the category
|
|
@@ -536,11 +591,11 @@ export declare const TaskClientApiFactory: (configuration?: Configuration, baseP
|
|
|
536
591
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
537
592
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
538
593
|
* @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.
|
|
539
|
-
* @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>
|
|
594
|
+
* @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>
|
|
540
595
|
* @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>
|
|
541
596
|
* @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>
|
|
542
597
|
* @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>
|
|
543
|
-
* @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>
|
|
598
|
+
* @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>
|
|
544
599
|
* @param {*} [options] Override http request option.
|
|
545
600
|
* @throws {RequiredError}
|
|
546
601
|
*/
|
|
@@ -575,7 +630,43 @@ export declare const TaskClientApiFactory: (configuration?: Configuration, baseP
|
|
|
575
630
|
* @throws {RequiredError}
|
|
576
631
|
*/
|
|
577
632
|
patchTask(code: string, patchTaskRequestDto: PatchTaskRequestDto, authorization?: string, options?: any): AxiosPromise<PatchTaskResponseClass>;
|
|
633
|
+
/**
|
|
634
|
+
* 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\"
|
|
635
|
+
* @summary Delete the task secondary link
|
|
636
|
+
* @param {string} code
|
|
637
|
+
* @param {string} linkType
|
|
638
|
+
* @param {string} linkCode
|
|
639
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
640
|
+
* @param {*} [options] Override http request option.
|
|
641
|
+
* @throws {RequiredError}
|
|
642
|
+
*/
|
|
643
|
+
removeSecondaryLink(code: string, linkType: string, linkCode: string, authorization?: string, options?: any): AxiosPromise<RemoveSecondaryLinkResponseClass>;
|
|
578
644
|
};
|
|
645
|
+
/**
|
|
646
|
+
* Request parameters for addSecondaryLink operation in TaskClientApi.
|
|
647
|
+
* @export
|
|
648
|
+
* @interface TaskClientApiAddSecondaryLinkRequest
|
|
649
|
+
*/
|
|
650
|
+
export interface TaskClientApiAddSecondaryLinkRequest {
|
|
651
|
+
/**
|
|
652
|
+
*
|
|
653
|
+
* @type {string}
|
|
654
|
+
* @memberof TaskClientApiAddSecondaryLink
|
|
655
|
+
*/
|
|
656
|
+
readonly code: string;
|
|
657
|
+
/**
|
|
658
|
+
*
|
|
659
|
+
* @type {EntityRefDto}
|
|
660
|
+
* @memberof TaskClientApiAddSecondaryLink
|
|
661
|
+
*/
|
|
662
|
+
readonly entityRefDto: EntityRefDto;
|
|
663
|
+
/**
|
|
664
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
665
|
+
* @type {string}
|
|
666
|
+
* @memberof TaskClientApiAddSecondaryLink
|
|
667
|
+
*/
|
|
668
|
+
readonly authorization?: string;
|
|
669
|
+
}
|
|
579
670
|
/**
|
|
580
671
|
* Request parameters for createCategory operation in TaskClientApi.
|
|
581
672
|
* @export
|
|
@@ -926,7 +1017,7 @@ export interface TaskClientApiListTasksRequest {
|
|
|
926
1017
|
*/
|
|
927
1018
|
readonly pageToken?: string;
|
|
928
1019
|
/**
|
|
929
|
-
* 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>
|
|
1020
|
+
* 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>
|
|
930
1021
|
* @type {string}
|
|
931
1022
|
* @memberof TaskClientApiListTasks
|
|
932
1023
|
*/
|
|
@@ -950,7 +1041,7 @@ export interface TaskClientApiListTasksRequest {
|
|
|
950
1041
|
*/
|
|
951
1042
|
readonly expand?: string;
|
|
952
1043
|
/**
|
|
953
|
-
* 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>
|
|
1044
|
+
* 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>
|
|
954
1045
|
* @type {string}
|
|
955
1046
|
* @memberof TaskClientApiListTasks
|
|
956
1047
|
*/
|
|
@@ -1031,6 +1122,37 @@ export interface TaskClientApiPatchTaskRequest {
|
|
|
1031
1122
|
*/
|
|
1032
1123
|
readonly authorization?: string;
|
|
1033
1124
|
}
|
|
1125
|
+
/**
|
|
1126
|
+
* Request parameters for removeSecondaryLink operation in TaskClientApi.
|
|
1127
|
+
* @export
|
|
1128
|
+
* @interface TaskClientApiRemoveSecondaryLinkRequest
|
|
1129
|
+
*/
|
|
1130
|
+
export interface TaskClientApiRemoveSecondaryLinkRequest {
|
|
1131
|
+
/**
|
|
1132
|
+
*
|
|
1133
|
+
* @type {string}
|
|
1134
|
+
* @memberof TaskClientApiRemoveSecondaryLink
|
|
1135
|
+
*/
|
|
1136
|
+
readonly code: string;
|
|
1137
|
+
/**
|
|
1138
|
+
*
|
|
1139
|
+
* @type {string}
|
|
1140
|
+
* @memberof TaskClientApiRemoveSecondaryLink
|
|
1141
|
+
*/
|
|
1142
|
+
readonly linkType: string;
|
|
1143
|
+
/**
|
|
1144
|
+
*
|
|
1145
|
+
* @type {string}
|
|
1146
|
+
* @memberof TaskClientApiRemoveSecondaryLink
|
|
1147
|
+
*/
|
|
1148
|
+
readonly linkCode: string;
|
|
1149
|
+
/**
|
|
1150
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1151
|
+
* @type {string}
|
|
1152
|
+
* @memberof TaskClientApiRemoveSecondaryLink
|
|
1153
|
+
*/
|
|
1154
|
+
readonly authorization?: string;
|
|
1155
|
+
}
|
|
1034
1156
|
/**
|
|
1035
1157
|
* TaskClientApi - object-oriented interface
|
|
1036
1158
|
* @export
|
|
@@ -1038,6 +1160,15 @@ export interface TaskClientApiPatchTaskRequest {
|
|
|
1038
1160
|
* @extends {BaseAPI}
|
|
1039
1161
|
*/
|
|
1040
1162
|
export declare class TaskClientApi extends BaseAPI {
|
|
1163
|
+
/**
|
|
1164
|
+
* 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\"
|
|
1165
|
+
* @summary Create the task secondary link
|
|
1166
|
+
* @param {TaskClientApiAddSecondaryLinkRequest} requestParameters Request parameters.
|
|
1167
|
+
* @param {*} [options] Override http request option.
|
|
1168
|
+
* @throws {RequiredError}
|
|
1169
|
+
* @memberof TaskClientApi
|
|
1170
|
+
*/
|
|
1171
|
+
addSecondaryLink(requestParameters: TaskClientApiAddSecondaryLinkRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<AddSecondaryLinkResponseClass, any, {}>>;
|
|
1041
1172
|
/**
|
|
1042
1173
|
* This will create a category. **Required Permissions** \"task-management.tasks.create\"
|
|
1043
1174
|
* @summary Create the category
|
|
@@ -1191,4 +1322,13 @@ export declare class TaskClientApi extends BaseAPI {
|
|
|
1191
1322
|
* @memberof TaskClientApi
|
|
1192
1323
|
*/
|
|
1193
1324
|
patchTask(requestParameters: TaskClientApiPatchTaskRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PatchTaskResponseClass, any, {}>>;
|
|
1325
|
+
/**
|
|
1326
|
+
* 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\"
|
|
1327
|
+
* @summary Delete the task secondary link
|
|
1328
|
+
* @param {TaskClientApiRemoveSecondaryLinkRequest} requestParameters Request parameters.
|
|
1329
|
+
* @param {*} [options] Override http request option.
|
|
1330
|
+
* @throws {RequiredError}
|
|
1331
|
+
* @memberof TaskClientApi
|
|
1332
|
+
*/
|
|
1333
|
+
removeSecondaryLink(requestParameters: TaskClientApiRemoveSecondaryLinkRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<RemoveSecondaryLinkResponseClass, any, {}>>;
|
|
1194
1334
|
}
|