@emilgroup/task-sdk-node 1.7.1-beta.37 → 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/README.md +2 -2
- package/api/assignees-api.ts +4 -2
- package/api/categories-api.ts +20 -10
- package/api/filters-api.ts +24 -12
- 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 +76 -38
- package/api/tasks-api.ts +28 -14
- package/dist/api/assignees-api.js +4 -3
- package/dist/api/categories-api.js +29 -18
- package/dist/api/filters-api.js +39 -23
- 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.js +112 -69
- package/dist/api/tasks-api.js +43 -26
- package/package.json +1 -1
|
@@ -108,7 +108,7 @@ var TaskClientApiAxiosParamCreator = function (configuration) {
|
|
|
108
108
|
addSecondaryLink: function (code, entityRefDto, authorization, options) {
|
|
109
109
|
if (options === void 0) { options = {}; }
|
|
110
110
|
return __awaiter(_this, void 0, void 0, function () {
|
|
111
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
111
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
112
112
|
return __generator(this, function (_a) {
|
|
113
113
|
switch (_a.label) {
|
|
114
114
|
case 0:
|
|
@@ -128,13 +128,16 @@ var TaskClientApiAxiosParamCreator = function (configuration) {
|
|
|
128
128
|
localVarQueryParameter = {};
|
|
129
129
|
// authentication bearer required
|
|
130
130
|
// http bearer authentication required
|
|
131
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
131
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
132
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
133
|
+
];
|
|
132
134
|
case 1:
|
|
133
135
|
// authentication bearer required
|
|
134
136
|
// http bearer authentication required
|
|
135
137
|
_a.sent();
|
|
136
|
-
|
|
137
|
-
|
|
138
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
139
|
+
if (authorizationValue) {
|
|
140
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
138
141
|
}
|
|
139
142
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
140
143
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -160,7 +163,7 @@ var TaskClientApiAxiosParamCreator = function (configuration) {
|
|
|
160
163
|
createCategory: function (createCategoryRequestDto, authorization, options) {
|
|
161
164
|
if (options === void 0) { options = {}; }
|
|
162
165
|
return __awaiter(_this, void 0, void 0, function () {
|
|
163
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
166
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
164
167
|
return __generator(this, function (_a) {
|
|
165
168
|
switch (_a.label) {
|
|
166
169
|
case 0:
|
|
@@ -177,13 +180,16 @@ var TaskClientApiAxiosParamCreator = function (configuration) {
|
|
|
177
180
|
localVarQueryParameter = {};
|
|
178
181
|
// authentication bearer required
|
|
179
182
|
// http bearer authentication required
|
|
180
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
183
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
184
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
185
|
+
];
|
|
181
186
|
case 1:
|
|
182
187
|
// authentication bearer required
|
|
183
188
|
// http bearer authentication required
|
|
184
189
|
_a.sent();
|
|
185
|
-
|
|
186
|
-
|
|
190
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
191
|
+
if (authorizationValue) {
|
|
192
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
187
193
|
}
|
|
188
194
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
189
195
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -209,7 +215,7 @@ var TaskClientApiAxiosParamCreator = function (configuration) {
|
|
|
209
215
|
createHubSpotTicket: function (createHubSpotTicketRequestDto, authorization, options) {
|
|
210
216
|
if (options === void 0) { options = {}; }
|
|
211
217
|
return __awaiter(_this, void 0, void 0, function () {
|
|
212
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
218
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
213
219
|
return __generator(this, function (_a) {
|
|
214
220
|
switch (_a.label) {
|
|
215
221
|
case 0:
|
|
@@ -226,13 +232,16 @@ var TaskClientApiAxiosParamCreator = function (configuration) {
|
|
|
226
232
|
localVarQueryParameter = {};
|
|
227
233
|
// authentication bearer required
|
|
228
234
|
// http bearer authentication required
|
|
229
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
235
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
236
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
237
|
+
];
|
|
230
238
|
case 1:
|
|
231
239
|
// authentication bearer required
|
|
232
240
|
// http bearer authentication required
|
|
233
241
|
_a.sent();
|
|
234
|
-
|
|
235
|
-
|
|
242
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
243
|
+
if (authorizationValue) {
|
|
244
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
236
245
|
}
|
|
237
246
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
238
247
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -258,7 +267,7 @@ var TaskClientApiAxiosParamCreator = function (configuration) {
|
|
|
258
267
|
createStatus: function (createStatusRequestDto, authorization, options) {
|
|
259
268
|
if (options === void 0) { options = {}; }
|
|
260
269
|
return __awaiter(_this, void 0, void 0, function () {
|
|
261
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
270
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
262
271
|
return __generator(this, function (_a) {
|
|
263
272
|
switch (_a.label) {
|
|
264
273
|
case 0:
|
|
@@ -275,13 +284,16 @@ var TaskClientApiAxiosParamCreator = function (configuration) {
|
|
|
275
284
|
localVarQueryParameter = {};
|
|
276
285
|
// authentication bearer required
|
|
277
286
|
// http bearer authentication required
|
|
278
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
287
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
288
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
289
|
+
];
|
|
279
290
|
case 1:
|
|
280
291
|
// authentication bearer required
|
|
281
292
|
// http bearer authentication required
|
|
282
293
|
_a.sent();
|
|
283
|
-
|
|
284
|
-
|
|
294
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
295
|
+
if (authorizationValue) {
|
|
296
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
285
297
|
}
|
|
286
298
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
287
299
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -307,7 +319,7 @@ var TaskClientApiAxiosParamCreator = function (configuration) {
|
|
|
307
319
|
createTask: function (createTaskRequestDto, authorization, options) {
|
|
308
320
|
if (options === void 0) { options = {}; }
|
|
309
321
|
return __awaiter(_this, void 0, void 0, function () {
|
|
310
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
322
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
311
323
|
return __generator(this, function (_a) {
|
|
312
324
|
switch (_a.label) {
|
|
313
325
|
case 0:
|
|
@@ -324,13 +336,16 @@ var TaskClientApiAxiosParamCreator = function (configuration) {
|
|
|
324
336
|
localVarQueryParameter = {};
|
|
325
337
|
// authentication bearer required
|
|
326
338
|
// http bearer authentication required
|
|
327
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
339
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
340
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
341
|
+
];
|
|
328
342
|
case 1:
|
|
329
343
|
// authentication bearer required
|
|
330
344
|
// http bearer authentication required
|
|
331
345
|
_a.sent();
|
|
332
|
-
|
|
333
|
-
|
|
346
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
347
|
+
if (authorizationValue) {
|
|
348
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
334
349
|
}
|
|
335
350
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
336
351
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -356,7 +371,7 @@ var TaskClientApiAxiosParamCreator = function (configuration) {
|
|
|
356
371
|
deleteCategory: function (code, authorization, options) {
|
|
357
372
|
if (options === void 0) { options = {}; }
|
|
358
373
|
return __awaiter(_this, void 0, void 0, function () {
|
|
359
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
374
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
360
375
|
return __generator(this, function (_a) {
|
|
361
376
|
switch (_a.label) {
|
|
362
377
|
case 0:
|
|
@@ -374,13 +389,16 @@ var TaskClientApiAxiosParamCreator = function (configuration) {
|
|
|
374
389
|
localVarQueryParameter = {};
|
|
375
390
|
// authentication bearer required
|
|
376
391
|
// http bearer authentication required
|
|
377
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
392
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
393
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
394
|
+
];
|
|
378
395
|
case 1:
|
|
379
396
|
// authentication bearer required
|
|
380
397
|
// http bearer authentication required
|
|
381
398
|
_a.sent();
|
|
382
|
-
|
|
383
|
-
|
|
399
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
400
|
+
if (authorizationValue) {
|
|
401
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
384
402
|
}
|
|
385
403
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
386
404
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -404,7 +422,7 @@ var TaskClientApiAxiosParamCreator = function (configuration) {
|
|
|
404
422
|
deleteStatus: function (code, authorization, options) {
|
|
405
423
|
if (options === void 0) { options = {}; }
|
|
406
424
|
return __awaiter(_this, void 0, void 0, function () {
|
|
407
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
425
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
408
426
|
return __generator(this, function (_a) {
|
|
409
427
|
switch (_a.label) {
|
|
410
428
|
case 0:
|
|
@@ -422,13 +440,16 @@ var TaskClientApiAxiosParamCreator = function (configuration) {
|
|
|
422
440
|
localVarQueryParameter = {};
|
|
423
441
|
// authentication bearer required
|
|
424
442
|
// http bearer authentication required
|
|
425
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
443
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
444
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
445
|
+
];
|
|
426
446
|
case 1:
|
|
427
447
|
// authentication bearer required
|
|
428
448
|
// http bearer authentication required
|
|
429
449
|
_a.sent();
|
|
430
|
-
|
|
431
|
-
|
|
450
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
451
|
+
if (authorizationValue) {
|
|
452
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
432
453
|
}
|
|
433
454
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
434
455
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -452,7 +473,7 @@ var TaskClientApiAxiosParamCreator = function (configuration) {
|
|
|
452
473
|
deleteTask: function (code, authorization, options) {
|
|
453
474
|
if (options === void 0) { options = {}; }
|
|
454
475
|
return __awaiter(_this, void 0, void 0, function () {
|
|
455
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
476
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
456
477
|
return __generator(this, function (_a) {
|
|
457
478
|
switch (_a.label) {
|
|
458
479
|
case 0:
|
|
@@ -470,13 +491,16 @@ var TaskClientApiAxiosParamCreator = function (configuration) {
|
|
|
470
491
|
localVarQueryParameter = {};
|
|
471
492
|
// authentication bearer required
|
|
472
493
|
// http bearer authentication required
|
|
473
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
494
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
495
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
496
|
+
];
|
|
474
497
|
case 1:
|
|
475
498
|
// authentication bearer required
|
|
476
499
|
// http bearer authentication required
|
|
477
500
|
_a.sent();
|
|
478
|
-
|
|
479
|
-
|
|
501
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
502
|
+
if (authorizationValue) {
|
|
503
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
480
504
|
}
|
|
481
505
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
482
506
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -501,7 +525,7 @@ var TaskClientApiAxiosParamCreator = function (configuration) {
|
|
|
501
525
|
getCategory: function (code, authorization, expand, options) {
|
|
502
526
|
if (options === void 0) { options = {}; }
|
|
503
527
|
return __awaiter(_this, void 0, void 0, function () {
|
|
504
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
528
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
505
529
|
return __generator(this, function (_a) {
|
|
506
530
|
switch (_a.label) {
|
|
507
531
|
case 0:
|
|
@@ -527,8 +551,9 @@ var TaskClientApiAxiosParamCreator = function (configuration) {
|
|
|
527
551
|
if (expand !== undefined) {
|
|
528
552
|
localVarQueryParameter['expand'] = expand;
|
|
529
553
|
}
|
|
530
|
-
|
|
531
|
-
|
|
554
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
555
|
+
if (authorizationValue) {
|
|
556
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
532
557
|
}
|
|
533
558
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
534
559
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -553,7 +578,7 @@ var TaskClientApiAxiosParamCreator = function (configuration) {
|
|
|
553
578
|
getStatus: function (code, authorization, expand, options) {
|
|
554
579
|
if (options === void 0) { options = {}; }
|
|
555
580
|
return __awaiter(_this, void 0, void 0, function () {
|
|
556
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
581
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
557
582
|
return __generator(this, function (_a) {
|
|
558
583
|
switch (_a.label) {
|
|
559
584
|
case 0:
|
|
@@ -579,8 +604,9 @@ var TaskClientApiAxiosParamCreator = function (configuration) {
|
|
|
579
604
|
if (expand !== undefined) {
|
|
580
605
|
localVarQueryParameter['expand'] = expand;
|
|
581
606
|
}
|
|
582
|
-
|
|
583
|
-
|
|
607
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
608
|
+
if (authorizationValue) {
|
|
609
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
584
610
|
}
|
|
585
611
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
586
612
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -605,7 +631,7 @@ var TaskClientApiAxiosParamCreator = function (configuration) {
|
|
|
605
631
|
getTask: function (code, authorization, expand, options) {
|
|
606
632
|
if (options === void 0) { options = {}; }
|
|
607
633
|
return __awaiter(_this, void 0, void 0, function () {
|
|
608
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
634
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
609
635
|
return __generator(this, function (_a) {
|
|
610
636
|
switch (_a.label) {
|
|
611
637
|
case 0:
|
|
@@ -631,8 +657,9 @@ var TaskClientApiAxiosParamCreator = function (configuration) {
|
|
|
631
657
|
if (expand !== undefined) {
|
|
632
658
|
localVarQueryParameter['expand'] = expand;
|
|
633
659
|
}
|
|
634
|
-
|
|
635
|
-
|
|
660
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
661
|
+
if (authorizationValue) {
|
|
662
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
636
663
|
}
|
|
637
664
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
638
665
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -656,7 +683,7 @@ var TaskClientApiAxiosParamCreator = function (configuration) {
|
|
|
656
683
|
listAssignees: function (authorization, expand, options) {
|
|
657
684
|
if (options === void 0) { options = {}; }
|
|
658
685
|
return __awaiter(_this, void 0, void 0, function () {
|
|
659
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
686
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
660
687
|
return __generator(this, function (_a) {
|
|
661
688
|
switch (_a.label) {
|
|
662
689
|
case 0:
|
|
@@ -679,8 +706,9 @@ var TaskClientApiAxiosParamCreator = function (configuration) {
|
|
|
679
706
|
if (expand !== undefined) {
|
|
680
707
|
localVarQueryParameter['expand'] = expand;
|
|
681
708
|
}
|
|
682
|
-
|
|
683
|
-
|
|
709
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
710
|
+
if (authorizationValue) {
|
|
711
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
684
712
|
}
|
|
685
713
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
686
714
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -710,7 +738,7 @@ var TaskClientApiAxiosParamCreator = function (configuration) {
|
|
|
710
738
|
listCategories: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
711
739
|
if (options === void 0) { options = {}; }
|
|
712
740
|
return __awaiter(_this, void 0, void 0, function () {
|
|
713
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
741
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
714
742
|
return __generator(this, function (_a) {
|
|
715
743
|
switch (_a.label) {
|
|
716
744
|
case 0:
|
|
@@ -751,8 +779,9 @@ var TaskClientApiAxiosParamCreator = function (configuration) {
|
|
|
751
779
|
if (filters !== undefined) {
|
|
752
780
|
localVarQueryParameter['filters'] = filters;
|
|
753
781
|
}
|
|
754
|
-
|
|
755
|
-
|
|
782
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
783
|
+
if (authorizationValue) {
|
|
784
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
756
785
|
}
|
|
757
786
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
758
787
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -780,7 +809,7 @@ var TaskClientApiAxiosParamCreator = function (configuration) {
|
|
|
780
809
|
listStatuses: function (authorization, filter, filters, search, order, expand, options) {
|
|
781
810
|
if (options === void 0) { options = {}; }
|
|
782
811
|
return __awaiter(_this, void 0, void 0, function () {
|
|
783
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
812
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
784
813
|
return __generator(this, function (_a) {
|
|
785
814
|
switch (_a.label) {
|
|
786
815
|
case 0:
|
|
@@ -815,8 +844,9 @@ var TaskClientApiAxiosParamCreator = function (configuration) {
|
|
|
815
844
|
if (expand !== undefined) {
|
|
816
845
|
localVarQueryParameter['expand'] = expand;
|
|
817
846
|
}
|
|
818
|
-
|
|
819
|
-
|
|
847
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
848
|
+
if (authorizationValue) {
|
|
849
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
820
850
|
}
|
|
821
851
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
822
852
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -846,7 +876,7 @@ var TaskClientApiAxiosParamCreator = function (configuration) {
|
|
|
846
876
|
listTasks: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
847
877
|
if (options === void 0) { options = {}; }
|
|
848
878
|
return __awaiter(_this, void 0, void 0, function () {
|
|
849
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
879
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
850
880
|
return __generator(this, function (_a) {
|
|
851
881
|
switch (_a.label) {
|
|
852
882
|
case 0:
|
|
@@ -887,8 +917,9 @@ var TaskClientApiAxiosParamCreator = function (configuration) {
|
|
|
887
917
|
if (filters !== undefined) {
|
|
888
918
|
localVarQueryParameter['filters'] = filters;
|
|
889
919
|
}
|
|
890
|
-
|
|
891
|
-
|
|
920
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
921
|
+
if (authorizationValue) {
|
|
922
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
892
923
|
}
|
|
893
924
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
894
925
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -913,7 +944,7 @@ var TaskClientApiAxiosParamCreator = function (configuration) {
|
|
|
913
944
|
patchCategory: function (code, patchCategoryRequestDto, authorization, options) {
|
|
914
945
|
if (options === void 0) { options = {}; }
|
|
915
946
|
return __awaiter(_this, void 0, void 0, function () {
|
|
916
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
947
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
917
948
|
return __generator(this, function (_a) {
|
|
918
949
|
switch (_a.label) {
|
|
919
950
|
case 0:
|
|
@@ -933,13 +964,16 @@ var TaskClientApiAxiosParamCreator = function (configuration) {
|
|
|
933
964
|
localVarQueryParameter = {};
|
|
934
965
|
// authentication bearer required
|
|
935
966
|
// http bearer authentication required
|
|
936
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
967
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
968
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
969
|
+
];
|
|
937
970
|
case 1:
|
|
938
971
|
// authentication bearer required
|
|
939
972
|
// http bearer authentication required
|
|
940
973
|
_a.sent();
|
|
941
|
-
|
|
942
|
-
|
|
974
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
975
|
+
if (authorizationValue) {
|
|
976
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
943
977
|
}
|
|
944
978
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
945
979
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -966,7 +1000,7 @@ var TaskClientApiAxiosParamCreator = function (configuration) {
|
|
|
966
1000
|
patchStatus: function (code, patchStatusRequestDto, authorization, options) {
|
|
967
1001
|
if (options === void 0) { options = {}; }
|
|
968
1002
|
return __awaiter(_this, void 0, void 0, function () {
|
|
969
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
1003
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
970
1004
|
return __generator(this, function (_a) {
|
|
971
1005
|
switch (_a.label) {
|
|
972
1006
|
case 0:
|
|
@@ -986,13 +1020,16 @@ var TaskClientApiAxiosParamCreator = function (configuration) {
|
|
|
986
1020
|
localVarQueryParameter = {};
|
|
987
1021
|
// authentication bearer required
|
|
988
1022
|
// http bearer authentication required
|
|
989
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
1023
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
1024
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
1025
|
+
];
|
|
990
1026
|
case 1:
|
|
991
1027
|
// authentication bearer required
|
|
992
1028
|
// http bearer authentication required
|
|
993
1029
|
_a.sent();
|
|
994
|
-
|
|
995
|
-
|
|
1030
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
1031
|
+
if (authorizationValue) {
|
|
1032
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
996
1033
|
}
|
|
997
1034
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
998
1035
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -1019,7 +1056,7 @@ var TaskClientApiAxiosParamCreator = function (configuration) {
|
|
|
1019
1056
|
patchTask: function (code, patchTaskRequestDto, authorization, options) {
|
|
1020
1057
|
if (options === void 0) { options = {}; }
|
|
1021
1058
|
return __awaiter(_this, void 0, void 0, function () {
|
|
1022
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
1059
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
1023
1060
|
return __generator(this, function (_a) {
|
|
1024
1061
|
switch (_a.label) {
|
|
1025
1062
|
case 0:
|
|
@@ -1039,13 +1076,16 @@ var TaskClientApiAxiosParamCreator = function (configuration) {
|
|
|
1039
1076
|
localVarQueryParameter = {};
|
|
1040
1077
|
// authentication bearer required
|
|
1041
1078
|
// http bearer authentication required
|
|
1042
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
1079
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
1080
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
1081
|
+
];
|
|
1043
1082
|
case 1:
|
|
1044
1083
|
// authentication bearer required
|
|
1045
1084
|
// http bearer authentication required
|
|
1046
1085
|
_a.sent();
|
|
1047
|
-
|
|
1048
|
-
|
|
1086
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
1087
|
+
if (authorizationValue) {
|
|
1088
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
1049
1089
|
}
|
|
1050
1090
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1051
1091
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -1073,7 +1113,7 @@ var TaskClientApiAxiosParamCreator = function (configuration) {
|
|
|
1073
1113
|
removeSecondaryLink: function (code, linkType, linkCode, authorization, options) {
|
|
1074
1114
|
if (options === void 0) { options = {}; }
|
|
1075
1115
|
return __awaiter(_this, void 0, void 0, function () {
|
|
1076
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
1116
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
1077
1117
|
return __generator(this, function (_a) {
|
|
1078
1118
|
switch (_a.label) {
|
|
1079
1119
|
case 0:
|
|
@@ -1097,13 +1137,16 @@ var TaskClientApiAxiosParamCreator = function (configuration) {
|
|
|
1097
1137
|
localVarQueryParameter = {};
|
|
1098
1138
|
// authentication bearer required
|
|
1099
1139
|
// http bearer authentication required
|
|
1100
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
1140
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
1141
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
1142
|
+
];
|
|
1101
1143
|
case 1:
|
|
1102
1144
|
// authentication bearer required
|
|
1103
1145
|
// http bearer authentication required
|
|
1104
1146
|
_a.sent();
|
|
1105
|
-
|
|
1106
|
-
|
|
1147
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
1148
|
+
if (authorizationValue) {
|
|
1149
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
1107
1150
|
}
|
|
1108
1151
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1109
1152
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|