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