@emilgroup/action-sdk 1.8.1-beta.10 → 1.8.1-beta.13
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/action-client-api.ts +48 -24
- package/api/actions-api.ts +36 -18
- package/api/executions-api.ts +12 -6
- package/base.ts +174 -41
- package/common.ts +3 -2
- package/configuration.ts +20 -0
- package/dist/api/action-client-api.d.ts +12 -12
- package/dist/api/action-client-api.js +63 -41
- package/dist/api/actions-api.d.ts +9 -9
- package/dist/api/actions-api.js +48 -31
- package/dist/api/executions-api.d.ts +3 -3
- package/dist/api/executions-api.js +15 -10
- package/dist/api/health-api.d.ts +1 -1
- package/dist/base.d.ts +24 -0
- package/dist/base.js +178 -59
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -0
- package/dist/configuration.d.ts +17 -0
- package/dist/configuration.js +2 -0
- package/package.json +2 -2
|
@@ -103,7 +103,7 @@ var ActionClientApiAxiosParamCreator = function (configuration) {
|
|
|
103
103
|
createAction: function (createActionRequestDto, authorization, options) {
|
|
104
104
|
if (options === void 0) { options = {}; }
|
|
105
105
|
return __awaiter(_this, void 0, void 0, function () {
|
|
106
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
106
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
107
107
|
return __generator(this, function (_a) {
|
|
108
108
|
switch (_a.label) {
|
|
109
109
|
case 0:
|
|
@@ -120,13 +120,16 @@ var ActionClientApiAxiosParamCreator = function (configuration) {
|
|
|
120
120
|
localVarQueryParameter = {};
|
|
121
121
|
// authentication bearer required
|
|
122
122
|
// http bearer authentication required
|
|
123
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
123
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
124
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
125
|
+
];
|
|
124
126
|
case 1:
|
|
125
127
|
// authentication bearer required
|
|
126
128
|
// http bearer authentication required
|
|
127
129
|
_a.sent();
|
|
128
|
-
|
|
129
|
-
|
|
130
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
131
|
+
if (authorizationValue) {
|
|
132
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
130
133
|
}
|
|
131
134
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
132
135
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -152,7 +155,7 @@ var ActionClientApiAxiosParamCreator = function (configuration) {
|
|
|
152
155
|
deleteAction: function (code, authorization, options) {
|
|
153
156
|
if (options === void 0) { options = {}; }
|
|
154
157
|
return __awaiter(_this, void 0, void 0, function () {
|
|
155
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
158
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
156
159
|
return __generator(this, function (_a) {
|
|
157
160
|
switch (_a.label) {
|
|
158
161
|
case 0:
|
|
@@ -170,13 +173,16 @@ var ActionClientApiAxiosParamCreator = function (configuration) {
|
|
|
170
173
|
localVarQueryParameter = {};
|
|
171
174
|
// authentication bearer required
|
|
172
175
|
// http bearer authentication required
|
|
173
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
176
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
177
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
178
|
+
];
|
|
174
179
|
case 1:
|
|
175
180
|
// authentication bearer required
|
|
176
181
|
// http bearer authentication required
|
|
177
182
|
_a.sent();
|
|
178
|
-
|
|
179
|
-
|
|
183
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
184
|
+
if (authorizationValue) {
|
|
185
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
180
186
|
}
|
|
181
187
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
182
188
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -200,7 +206,7 @@ var ActionClientApiAxiosParamCreator = function (configuration) {
|
|
|
200
206
|
deleteActionVersion: function (versionCode, authorization, options) {
|
|
201
207
|
if (options === void 0) { options = {}; }
|
|
202
208
|
return __awaiter(_this, void 0, void 0, function () {
|
|
203
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
209
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
204
210
|
return __generator(this, function (_a) {
|
|
205
211
|
switch (_a.label) {
|
|
206
212
|
case 0:
|
|
@@ -218,13 +224,16 @@ var ActionClientApiAxiosParamCreator = function (configuration) {
|
|
|
218
224
|
localVarQueryParameter = {};
|
|
219
225
|
// authentication bearer required
|
|
220
226
|
// http bearer authentication required
|
|
221
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
227
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
228
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
229
|
+
];
|
|
222
230
|
case 1:
|
|
223
231
|
// authentication bearer required
|
|
224
232
|
// http bearer authentication required
|
|
225
233
|
_a.sent();
|
|
226
|
-
|
|
227
|
-
|
|
234
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
235
|
+
if (authorizationValue) {
|
|
236
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
228
237
|
}
|
|
229
238
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
230
239
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -249,7 +258,7 @@ var ActionClientApiAxiosParamCreator = function (configuration) {
|
|
|
249
258
|
getAction: function (code, authorization, expand, options) {
|
|
250
259
|
if (options === void 0) { options = {}; }
|
|
251
260
|
return __awaiter(_this, void 0, void 0, function () {
|
|
252
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
261
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
253
262
|
return __generator(this, function (_a) {
|
|
254
263
|
switch (_a.label) {
|
|
255
264
|
case 0:
|
|
@@ -275,8 +284,9 @@ var ActionClientApiAxiosParamCreator = function (configuration) {
|
|
|
275
284
|
if (expand !== undefined) {
|
|
276
285
|
localVarQueryParameter['expand'] = expand;
|
|
277
286
|
}
|
|
278
|
-
|
|
279
|
-
|
|
287
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
288
|
+
if (authorizationValue) {
|
|
289
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
280
290
|
}
|
|
281
291
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
282
292
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -301,7 +311,7 @@ var ActionClientApiAxiosParamCreator = function (configuration) {
|
|
|
301
311
|
getActionExecutionStatus: function (authorization, executionCode, correlationId, options) {
|
|
302
312
|
if (options === void 0) { options = {}; }
|
|
303
313
|
return __awaiter(_this, void 0, void 0, function () {
|
|
304
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
314
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
305
315
|
return __generator(this, function (_a) {
|
|
306
316
|
switch (_a.label) {
|
|
307
317
|
case 0:
|
|
@@ -327,8 +337,9 @@ var ActionClientApiAxiosParamCreator = function (configuration) {
|
|
|
327
337
|
if (correlationId !== undefined) {
|
|
328
338
|
localVarQueryParameter['correlationId'] = correlationId;
|
|
329
339
|
}
|
|
330
|
-
|
|
331
|
-
|
|
340
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
341
|
+
if (authorizationValue) {
|
|
342
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
332
343
|
}
|
|
333
344
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
334
345
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -353,7 +364,7 @@ var ActionClientApiAxiosParamCreator = function (configuration) {
|
|
|
353
364
|
getActionVersion: function (versionCode, authorization, expand, options) {
|
|
354
365
|
if (options === void 0) { options = {}; }
|
|
355
366
|
return __awaiter(_this, void 0, void 0, function () {
|
|
356
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
367
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
357
368
|
return __generator(this, function (_a) {
|
|
358
369
|
switch (_a.label) {
|
|
359
370
|
case 0:
|
|
@@ -379,8 +390,9 @@ var ActionClientApiAxiosParamCreator = function (configuration) {
|
|
|
379
390
|
if (expand !== undefined) {
|
|
380
391
|
localVarQueryParameter['expand'] = expand;
|
|
381
392
|
}
|
|
382
|
-
|
|
383
|
-
|
|
393
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
394
|
+
if (authorizationValue) {
|
|
395
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
384
396
|
}
|
|
385
397
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
386
398
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -410,7 +422,7 @@ var ActionClientApiAxiosParamCreator = function (configuration) {
|
|
|
410
422
|
listActionExecutions: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
411
423
|
if (options === void 0) { options = {}; }
|
|
412
424
|
return __awaiter(_this, void 0, void 0, function () {
|
|
413
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
425
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
414
426
|
return __generator(this, function (_a) {
|
|
415
427
|
switch (_a.label) {
|
|
416
428
|
case 0:
|
|
@@ -451,8 +463,9 @@ var ActionClientApiAxiosParamCreator = function (configuration) {
|
|
|
451
463
|
if (filters !== undefined) {
|
|
452
464
|
localVarQueryParameter['filters'] = filters;
|
|
453
465
|
}
|
|
454
|
-
|
|
455
|
-
|
|
466
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
467
|
+
if (authorizationValue) {
|
|
468
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
456
469
|
}
|
|
457
470
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
458
471
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -483,7 +496,7 @@ var ActionClientApiAxiosParamCreator = function (configuration) {
|
|
|
483
496
|
listActionVersions: function (code, authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
484
497
|
if (options === void 0) { options = {}; }
|
|
485
498
|
return __awaiter(_this, void 0, void 0, function () {
|
|
486
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
499
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
487
500
|
return __generator(this, function (_a) {
|
|
488
501
|
switch (_a.label) {
|
|
489
502
|
case 0:
|
|
@@ -527,8 +540,9 @@ var ActionClientApiAxiosParamCreator = function (configuration) {
|
|
|
527
540
|
if (filters !== undefined) {
|
|
528
541
|
localVarQueryParameter['filters'] = filters;
|
|
529
542
|
}
|
|
530
|
-
|
|
531
|
-
|
|
543
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
544
|
+
if (authorizationValue) {
|
|
545
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
532
546
|
}
|
|
533
547
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
534
548
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -558,7 +572,7 @@ var ActionClientApiAxiosParamCreator = function (configuration) {
|
|
|
558
572
|
listActions: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
559
573
|
if (options === void 0) { options = {}; }
|
|
560
574
|
return __awaiter(_this, void 0, void 0, function () {
|
|
561
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
575
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
562
576
|
return __generator(this, function (_a) {
|
|
563
577
|
switch (_a.label) {
|
|
564
578
|
case 0:
|
|
@@ -599,8 +613,9 @@ var ActionClientApiAxiosParamCreator = function (configuration) {
|
|
|
599
613
|
if (filters !== undefined) {
|
|
600
614
|
localVarQueryParameter['filters'] = filters;
|
|
601
615
|
}
|
|
602
|
-
|
|
603
|
-
|
|
616
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
617
|
+
if (authorizationValue) {
|
|
618
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
604
619
|
}
|
|
605
620
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
606
621
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -630,7 +645,7 @@ var ActionClientApiAxiosParamCreator = function (configuration) {
|
|
|
630
645
|
listAllActionVersions: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
631
646
|
if (options === void 0) { options = {}; }
|
|
632
647
|
return __awaiter(_this, void 0, void 0, function () {
|
|
633
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
648
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
634
649
|
return __generator(this, function (_a) {
|
|
635
650
|
switch (_a.label) {
|
|
636
651
|
case 0:
|
|
@@ -671,8 +686,9 @@ var ActionClientApiAxiosParamCreator = function (configuration) {
|
|
|
671
686
|
if (filters !== undefined) {
|
|
672
687
|
localVarQueryParameter['filters'] = filters;
|
|
673
688
|
}
|
|
674
|
-
|
|
675
|
-
|
|
689
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
690
|
+
if (authorizationValue) {
|
|
691
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
676
692
|
}
|
|
677
693
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
678
694
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -696,7 +712,7 @@ var ActionClientApiAxiosParamCreator = function (configuration) {
|
|
|
696
712
|
triggerAction: function (triggerActionRequestDto, authorization, options) {
|
|
697
713
|
if (options === void 0) { options = {}; }
|
|
698
714
|
return __awaiter(_this, void 0, void 0, function () {
|
|
699
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
715
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
700
716
|
return __generator(this, function (_a) {
|
|
701
717
|
switch (_a.label) {
|
|
702
718
|
case 0:
|
|
@@ -713,13 +729,16 @@ var ActionClientApiAxiosParamCreator = function (configuration) {
|
|
|
713
729
|
localVarQueryParameter = {};
|
|
714
730
|
// authentication bearer required
|
|
715
731
|
// http bearer authentication required
|
|
716
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
732
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
733
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
734
|
+
];
|
|
717
735
|
case 1:
|
|
718
736
|
// authentication bearer required
|
|
719
737
|
// http bearer authentication required
|
|
720
738
|
_a.sent();
|
|
721
|
-
|
|
722
|
-
|
|
739
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
740
|
+
if (authorizationValue) {
|
|
741
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
723
742
|
}
|
|
724
743
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
725
744
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -746,7 +765,7 @@ var ActionClientApiAxiosParamCreator = function (configuration) {
|
|
|
746
765
|
updateAction: function (code, updateActionRequestDto, authorization, options) {
|
|
747
766
|
if (options === void 0) { options = {}; }
|
|
748
767
|
return __awaiter(_this, void 0, void 0, function () {
|
|
749
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
768
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
750
769
|
return __generator(this, function (_a) {
|
|
751
770
|
switch (_a.label) {
|
|
752
771
|
case 0:
|
|
@@ -766,13 +785,16 @@ var ActionClientApiAxiosParamCreator = function (configuration) {
|
|
|
766
785
|
localVarQueryParameter = {};
|
|
767
786
|
// authentication bearer required
|
|
768
787
|
// http bearer authentication required
|
|
769
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
788
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
789
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
790
|
+
];
|
|
770
791
|
case 1:
|
|
771
792
|
// authentication bearer required
|
|
772
793
|
// http bearer authentication required
|
|
773
794
|
_a.sent();
|
|
774
|
-
|
|
775
|
-
|
|
795
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
796
|
+
if (authorizationValue) {
|
|
797
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
776
798
|
}
|
|
777
799
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
778
800
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -665,7 +665,7 @@ export declare class ActionsApi extends BaseAPI {
|
|
|
665
665
|
* @throws {RequiredError}
|
|
666
666
|
* @memberof ActionsApi
|
|
667
667
|
*/
|
|
668
|
-
createAction(requestParameters: ActionsApiCreateActionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateActionResponseClass, any, {}>>;
|
|
668
|
+
createAction(requestParameters: ActionsApiCreateActionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateActionResponseClass, any, {}, any>>;
|
|
669
669
|
/**
|
|
670
670
|
* Deletes an action configuration by its code **Required Permissions** \"action-management.actions.delete\"
|
|
671
671
|
* @summary Delete the action
|
|
@@ -674,7 +674,7 @@ export declare class ActionsApi extends BaseAPI {
|
|
|
674
674
|
* @throws {RequiredError}
|
|
675
675
|
* @memberof ActionsApi
|
|
676
676
|
*/
|
|
677
|
-
deleteAction(requestParameters: ActionsApiDeleteActionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
677
|
+
deleteAction(requestParameters: ActionsApiDeleteActionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
678
678
|
/**
|
|
679
679
|
* Deletes a specific action version by its version code **Required Permissions** \"action-management.actions.delete\"
|
|
680
680
|
* @summary Delete the action version
|
|
@@ -683,7 +683,7 @@ export declare class ActionsApi extends BaseAPI {
|
|
|
683
683
|
* @throws {RequiredError}
|
|
684
684
|
* @memberof ActionsApi
|
|
685
685
|
*/
|
|
686
|
-
deleteActionVersion(requestParameters: ActionsApiDeleteActionVersionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
686
|
+
deleteActionVersion(requestParameters: ActionsApiDeleteActionVersionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
687
687
|
/**
|
|
688
688
|
* Retrieves an action configuration by its code **Required Permissions** \"action-management.actions.view\"
|
|
689
689
|
* @summary Retrieve the action
|
|
@@ -692,7 +692,7 @@ export declare class ActionsApi extends BaseAPI {
|
|
|
692
692
|
* @throws {RequiredError}
|
|
693
693
|
* @memberof ActionsApi
|
|
694
694
|
*/
|
|
695
|
-
getAction(requestParameters: ActionsApiGetActionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetActionResponseClass, any, {}>>;
|
|
695
|
+
getAction(requestParameters: ActionsApiGetActionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetActionResponseClass, any, {}, any>>;
|
|
696
696
|
/**
|
|
697
697
|
* Gets a specific action version by its version code **Required Permissions** \"action-management.actions.view\"
|
|
698
698
|
* @summary Retrieve the action version
|
|
@@ -701,7 +701,7 @@ export declare class ActionsApi extends BaseAPI {
|
|
|
701
701
|
* @throws {RequiredError}
|
|
702
702
|
* @memberof ActionsApi
|
|
703
703
|
*/
|
|
704
|
-
getActionVersion(requestParameters: ActionsApiGetActionVersionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetActionVersionResponseClass, any, {}>>;
|
|
704
|
+
getActionVersion(requestParameters: ActionsApiGetActionVersionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetActionVersionResponseClass, any, {}, any>>;
|
|
705
705
|
/**
|
|
706
706
|
* Lists all versions for an action by code **Required Permissions** \"action-management.actions.view\"
|
|
707
707
|
* @summary List action versions
|
|
@@ -710,7 +710,7 @@ export declare class ActionsApi extends BaseAPI {
|
|
|
710
710
|
* @throws {RequiredError}
|
|
711
711
|
* @memberof ActionsApi
|
|
712
712
|
*/
|
|
713
|
-
listActionVersions(requestParameters: ActionsApiListActionVersionsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListActionVersionsResponseClass, any, {}>>;
|
|
713
|
+
listActionVersions(requestParameters: ActionsApiListActionVersionsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListActionVersionsResponseClass, any, {}, any>>;
|
|
714
714
|
/**
|
|
715
715
|
* Lists all action configurations with optional filters **Required Permissions** \"action-management.actions.view\"
|
|
716
716
|
* @summary List actions
|
|
@@ -719,7 +719,7 @@ export declare class ActionsApi extends BaseAPI {
|
|
|
719
719
|
* @throws {RequiredError}
|
|
720
720
|
* @memberof ActionsApi
|
|
721
721
|
*/
|
|
722
|
-
listActions(requestParameters?: ActionsApiListActionsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListActionsResponseClass, any, {}>>;
|
|
722
|
+
listActions(requestParameters?: ActionsApiListActionsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListActionsResponseClass, any, {}, any>>;
|
|
723
723
|
/**
|
|
724
724
|
* Lists all action versions. Use filters e.g. isActive==true, entityType==LEAD, name, slug. No parent action code required. **Required Permissions** \"action-management.actions.view\"
|
|
725
725
|
* @summary List action versions
|
|
@@ -728,7 +728,7 @@ export declare class ActionsApi extends BaseAPI {
|
|
|
728
728
|
* @throws {RequiredError}
|
|
729
729
|
* @memberof ActionsApi
|
|
730
730
|
*/
|
|
731
|
-
listAllActionVersions(requestParameters?: ActionsApiListAllActionVersionsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListActionVersionsResponseClass, any, {}>>;
|
|
731
|
+
listAllActionVersions(requestParameters?: ActionsApiListAllActionVersionsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListActionVersionsResponseClass, any, {}, any>>;
|
|
732
732
|
/**
|
|
733
733
|
* Updates an existing action configuration (patch semantics) **Required Permissions** \"action-management.actions.update\"
|
|
734
734
|
* @summary Update the action
|
|
@@ -737,5 +737,5 @@ export declare class ActionsApi extends BaseAPI {
|
|
|
737
737
|
* @throws {RequiredError}
|
|
738
738
|
* @memberof ActionsApi
|
|
739
739
|
*/
|
|
740
|
-
updateAction(requestParameters: ActionsApiUpdateActionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateActionResponseClass, any, {}>>;
|
|
740
|
+
updateAction(requestParameters: ActionsApiUpdateActionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateActionResponseClass, any, {}, any>>;
|
|
741
741
|
}
|
package/dist/api/actions-api.js
CHANGED
|
@@ -103,7 +103,7 @@ var ActionsApiAxiosParamCreator = function (configuration) {
|
|
|
103
103
|
createAction: function (createActionRequestDto, authorization, options) {
|
|
104
104
|
if (options === void 0) { options = {}; }
|
|
105
105
|
return __awaiter(_this, void 0, void 0, function () {
|
|
106
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
106
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
107
107
|
return __generator(this, function (_a) {
|
|
108
108
|
switch (_a.label) {
|
|
109
109
|
case 0:
|
|
@@ -120,13 +120,16 @@ var ActionsApiAxiosParamCreator = function (configuration) {
|
|
|
120
120
|
localVarQueryParameter = {};
|
|
121
121
|
// authentication bearer required
|
|
122
122
|
// http bearer authentication required
|
|
123
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
123
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
124
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
125
|
+
];
|
|
124
126
|
case 1:
|
|
125
127
|
// authentication bearer required
|
|
126
128
|
// http bearer authentication required
|
|
127
129
|
_a.sent();
|
|
128
|
-
|
|
129
|
-
|
|
130
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
131
|
+
if (authorizationValue) {
|
|
132
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
130
133
|
}
|
|
131
134
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
132
135
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -152,7 +155,7 @@ var ActionsApiAxiosParamCreator = function (configuration) {
|
|
|
152
155
|
deleteAction: function (code, authorization, options) {
|
|
153
156
|
if (options === void 0) { options = {}; }
|
|
154
157
|
return __awaiter(_this, void 0, void 0, function () {
|
|
155
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
158
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
156
159
|
return __generator(this, function (_a) {
|
|
157
160
|
switch (_a.label) {
|
|
158
161
|
case 0:
|
|
@@ -170,13 +173,16 @@ var ActionsApiAxiosParamCreator = function (configuration) {
|
|
|
170
173
|
localVarQueryParameter = {};
|
|
171
174
|
// authentication bearer required
|
|
172
175
|
// http bearer authentication required
|
|
173
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
176
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
177
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
178
|
+
];
|
|
174
179
|
case 1:
|
|
175
180
|
// authentication bearer required
|
|
176
181
|
// http bearer authentication required
|
|
177
182
|
_a.sent();
|
|
178
|
-
|
|
179
|
-
|
|
183
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
184
|
+
if (authorizationValue) {
|
|
185
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
180
186
|
}
|
|
181
187
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
182
188
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -200,7 +206,7 @@ var ActionsApiAxiosParamCreator = function (configuration) {
|
|
|
200
206
|
deleteActionVersion: function (versionCode, authorization, options) {
|
|
201
207
|
if (options === void 0) { options = {}; }
|
|
202
208
|
return __awaiter(_this, void 0, void 0, function () {
|
|
203
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
209
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
204
210
|
return __generator(this, function (_a) {
|
|
205
211
|
switch (_a.label) {
|
|
206
212
|
case 0:
|
|
@@ -218,13 +224,16 @@ var ActionsApiAxiosParamCreator = function (configuration) {
|
|
|
218
224
|
localVarQueryParameter = {};
|
|
219
225
|
// authentication bearer required
|
|
220
226
|
// http bearer authentication required
|
|
221
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
227
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
228
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
229
|
+
];
|
|
222
230
|
case 1:
|
|
223
231
|
// authentication bearer required
|
|
224
232
|
// http bearer authentication required
|
|
225
233
|
_a.sent();
|
|
226
|
-
|
|
227
|
-
|
|
234
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
235
|
+
if (authorizationValue) {
|
|
236
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
228
237
|
}
|
|
229
238
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
230
239
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -249,7 +258,7 @@ var ActionsApiAxiosParamCreator = function (configuration) {
|
|
|
249
258
|
getAction: function (code, authorization, expand, options) {
|
|
250
259
|
if (options === void 0) { options = {}; }
|
|
251
260
|
return __awaiter(_this, void 0, void 0, function () {
|
|
252
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
261
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
253
262
|
return __generator(this, function (_a) {
|
|
254
263
|
switch (_a.label) {
|
|
255
264
|
case 0:
|
|
@@ -275,8 +284,9 @@ var ActionsApiAxiosParamCreator = function (configuration) {
|
|
|
275
284
|
if (expand !== undefined) {
|
|
276
285
|
localVarQueryParameter['expand'] = expand;
|
|
277
286
|
}
|
|
278
|
-
|
|
279
|
-
|
|
287
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
288
|
+
if (authorizationValue) {
|
|
289
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
280
290
|
}
|
|
281
291
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
282
292
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -301,7 +311,7 @@ var ActionsApiAxiosParamCreator = function (configuration) {
|
|
|
301
311
|
getActionVersion: function (versionCode, authorization, expand, options) {
|
|
302
312
|
if (options === void 0) { options = {}; }
|
|
303
313
|
return __awaiter(_this, void 0, void 0, function () {
|
|
304
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
314
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
305
315
|
return __generator(this, function (_a) {
|
|
306
316
|
switch (_a.label) {
|
|
307
317
|
case 0:
|
|
@@ -327,8 +337,9 @@ var ActionsApiAxiosParamCreator = function (configuration) {
|
|
|
327
337
|
if (expand !== undefined) {
|
|
328
338
|
localVarQueryParameter['expand'] = expand;
|
|
329
339
|
}
|
|
330
|
-
|
|
331
|
-
|
|
340
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
341
|
+
if (authorizationValue) {
|
|
342
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
332
343
|
}
|
|
333
344
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
334
345
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -359,7 +370,7 @@ var ActionsApiAxiosParamCreator = function (configuration) {
|
|
|
359
370
|
listActionVersions: function (code, authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
360
371
|
if (options === void 0) { options = {}; }
|
|
361
372
|
return __awaiter(_this, void 0, void 0, function () {
|
|
362
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
373
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
363
374
|
return __generator(this, function (_a) {
|
|
364
375
|
switch (_a.label) {
|
|
365
376
|
case 0:
|
|
@@ -403,8 +414,9 @@ var ActionsApiAxiosParamCreator = function (configuration) {
|
|
|
403
414
|
if (filters !== undefined) {
|
|
404
415
|
localVarQueryParameter['filters'] = filters;
|
|
405
416
|
}
|
|
406
|
-
|
|
407
|
-
|
|
417
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
418
|
+
if (authorizationValue) {
|
|
419
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
408
420
|
}
|
|
409
421
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
410
422
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -434,7 +446,7 @@ var ActionsApiAxiosParamCreator = function (configuration) {
|
|
|
434
446
|
listActions: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
435
447
|
if (options === void 0) { options = {}; }
|
|
436
448
|
return __awaiter(_this, void 0, void 0, function () {
|
|
437
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
449
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
438
450
|
return __generator(this, function (_a) {
|
|
439
451
|
switch (_a.label) {
|
|
440
452
|
case 0:
|
|
@@ -475,8 +487,9 @@ var ActionsApiAxiosParamCreator = function (configuration) {
|
|
|
475
487
|
if (filters !== undefined) {
|
|
476
488
|
localVarQueryParameter['filters'] = filters;
|
|
477
489
|
}
|
|
478
|
-
|
|
479
|
-
|
|
490
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
491
|
+
if (authorizationValue) {
|
|
492
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
480
493
|
}
|
|
481
494
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
482
495
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -506,7 +519,7 @@ var ActionsApiAxiosParamCreator = function (configuration) {
|
|
|
506
519
|
listAllActionVersions: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
507
520
|
if (options === void 0) { options = {}; }
|
|
508
521
|
return __awaiter(_this, void 0, void 0, function () {
|
|
509
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
522
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
510
523
|
return __generator(this, function (_a) {
|
|
511
524
|
switch (_a.label) {
|
|
512
525
|
case 0:
|
|
@@ -547,8 +560,9 @@ var ActionsApiAxiosParamCreator = function (configuration) {
|
|
|
547
560
|
if (filters !== undefined) {
|
|
548
561
|
localVarQueryParameter['filters'] = filters;
|
|
549
562
|
}
|
|
550
|
-
|
|
551
|
-
|
|
563
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
564
|
+
if (authorizationValue) {
|
|
565
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
552
566
|
}
|
|
553
567
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
554
568
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -573,7 +587,7 @@ var ActionsApiAxiosParamCreator = function (configuration) {
|
|
|
573
587
|
updateAction: function (code, updateActionRequestDto, authorization, options) {
|
|
574
588
|
if (options === void 0) { options = {}; }
|
|
575
589
|
return __awaiter(_this, void 0, void 0, function () {
|
|
576
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
590
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
577
591
|
return __generator(this, function (_a) {
|
|
578
592
|
switch (_a.label) {
|
|
579
593
|
case 0:
|
|
@@ -593,13 +607,16 @@ var ActionsApiAxiosParamCreator = function (configuration) {
|
|
|
593
607
|
localVarQueryParameter = {};
|
|
594
608
|
// authentication bearer required
|
|
595
609
|
// http bearer authentication required
|
|
596
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
610
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
611
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
612
|
+
];
|
|
597
613
|
case 1:
|
|
598
614
|
// authentication bearer required
|
|
599
615
|
// http bearer authentication required
|
|
600
616
|
_a.sent();
|
|
601
|
-
|
|
602
|
-
|
|
617
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
618
|
+
if (authorizationValue) {
|
|
619
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
603
620
|
}
|
|
604
621
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
605
622
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|