@emilgroup/insurance-sdk-node 1.104.1-beta.107 → 1.104.1-beta.110
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +0 -2
- package/README.md +2 -2
- package/api/booking-funnel-versions-api.ts +8 -4
- package/api/booking-funnels-api.ts +24 -12
- package/api/commission-agreement-items-api.ts +20 -10
- package/api/commission-agreement-products-api.ts +20 -10
- package/api/commission-agreement-versions-api.ts +16 -8
- package/api/commission-agreements-api.ts +20 -10
- package/api/commission-recipients-api.ts +20 -10
- package/api/emil-functions-api.ts +44 -22
- package/api/health-check-api.ts +6 -10
- package/api/insured-object-types-api.ts +4 -2
- package/api/insured-objects-api.ts +16 -8
- package/api/lead-statuses-api.ts +20 -10
- package/api/lead-versions-api.ts +8 -4
- package/api/leads-api.ts +40 -20
- package/api/named-ranges-api.ts +24 -12
- package/api/partner-links-api.ts +24 -12
- package/api/partner-roles-api.ts +20 -10
- package/api/policies-api.ts +68 -34
- package/api/premium-calculation-api.ts +4 -2
- package/api/premium-formulas-api.ts +24 -12
- package/api/product-configs-api.ts +24 -12
- package/api/product-factors-api.ts +28 -14
- package/api/product-fields-api.ts +28 -14
- package/api/product-versions-api.ts +8 -4
- package/api/products-api.ts +24 -12
- package/api/status-transition-rules-api.ts +24 -12
- package/dist/api/booking-funnel-versions-api.js +11 -7
- package/dist/api/booking-funnels-api.js +39 -23
- package/dist/api/commission-agreement-items-api.js +29 -18
- package/dist/api/commission-agreement-products-api.js +29 -18
- package/dist/api/commission-agreement-versions-api.js +22 -14
- package/dist/api/commission-agreements-api.js +29 -18
- package/dist/api/commission-recipients-api.js +32 -19
- package/dist/api/emil-functions-api.js +74 -43
- package/dist/api/health-check-api.d.ts +7 -8
- package/dist/api/health-check-api.js +4 -4
- package/dist/api/insured-object-types-api.js +4 -3
- package/dist/api/insured-objects-api.js +22 -14
- package/dist/api/lead-statuses-api.js +32 -19
- package/dist/api/lead-versions-api.js +11 -7
- package/dist/api/leads-api.js +64 -38
- package/dist/api/named-ranges-api.js +36 -22
- package/dist/api/partner-links-api.js +36 -22
- package/dist/api/partner-roles-api.js +32 -19
- package/dist/api/policies-api.js +101 -62
- package/dist/api/premium-calculation-api.js +7 -4
- package/dist/api/premium-formulas-api.js +39 -23
- package/dist/api/product-configs-api.js +39 -23
- package/dist/api/product-factors-api.js +37 -24
- package/dist/api/product-fields-api.js +43 -26
- package/dist/api/product-versions-api.js +11 -7
- package/dist/api/products-api.js +33 -21
- package/dist/api/status-transition-rules-api.js +36 -22
- package/dist/models/index.d.ts +0 -2
- package/dist/models/index.js +0 -2
- package/models/index.ts +0 -2
- package/package.json +1 -1
- package/dist/models/inline-response200.d.ts +0 -54
- package/dist/models/inline-response200.js +0 -15
- package/dist/models/inline-response503.d.ts +0 -54
- package/dist/models/inline-response503.js +0 -15
- package/models/inline-response200.ts +0 -48
- package/models/inline-response503.ts +0 -48
package/dist/api/policies-api.js
CHANGED
|
@@ -108,7 +108,7 @@ var PoliciesApiAxiosParamCreator = function (configuration) {
|
|
|
108
108
|
activatePolicy: function (policyCode, activatePolicyRequestDto, 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 PoliciesApiAxiosParamCreator = 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);
|
|
@@ -161,7 +164,7 @@ var PoliciesApiAxiosParamCreator = function (configuration) {
|
|
|
161
164
|
createDraftPolicy: function (policyCode, createDraftPolicyRequestDto, authorization, options) {
|
|
162
165
|
if (options === void 0) { options = {}; }
|
|
163
166
|
return __awaiter(_this, void 0, void 0, function () {
|
|
164
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
167
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
165
168
|
return __generator(this, function (_a) {
|
|
166
169
|
switch (_a.label) {
|
|
167
170
|
case 0:
|
|
@@ -181,13 +184,16 @@ var PoliciesApiAxiosParamCreator = function (configuration) {
|
|
|
181
184
|
localVarQueryParameter = {};
|
|
182
185
|
// authentication bearer required
|
|
183
186
|
// http bearer authentication required
|
|
184
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
187
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
188
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
189
|
+
];
|
|
185
190
|
case 1:
|
|
186
191
|
// authentication bearer required
|
|
187
192
|
// http bearer authentication required
|
|
188
193
|
_a.sent();
|
|
189
|
-
|
|
190
|
-
|
|
194
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
195
|
+
if (authorizationValue) {
|
|
196
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
191
197
|
}
|
|
192
198
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
193
199
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -213,7 +219,7 @@ var PoliciesApiAxiosParamCreator = function (configuration) {
|
|
|
213
219
|
createPolicy: function (createPolicyRequestDto, authorization, options) {
|
|
214
220
|
if (options === void 0) { options = {}; }
|
|
215
221
|
return __awaiter(_this, void 0, void 0, function () {
|
|
216
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
222
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
217
223
|
return __generator(this, function (_a) {
|
|
218
224
|
switch (_a.label) {
|
|
219
225
|
case 0:
|
|
@@ -230,13 +236,16 @@ var PoliciesApiAxiosParamCreator = function (configuration) {
|
|
|
230
236
|
localVarQueryParameter = {};
|
|
231
237
|
// authentication bearer required
|
|
232
238
|
// http bearer authentication required
|
|
233
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
239
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
240
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
241
|
+
];
|
|
234
242
|
case 1:
|
|
235
243
|
// authentication bearer required
|
|
236
244
|
// http bearer authentication required
|
|
237
245
|
_a.sent();
|
|
238
|
-
|
|
239
|
-
|
|
246
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
247
|
+
if (authorizationValue) {
|
|
248
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
240
249
|
}
|
|
241
250
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
242
251
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -262,7 +271,7 @@ var PoliciesApiAxiosParamCreator = function (configuration) {
|
|
|
262
271
|
deleteDraftPolicy: function (policyCode, authorization, options) {
|
|
263
272
|
if (options === void 0) { options = {}; }
|
|
264
273
|
return __awaiter(_this, void 0, void 0, function () {
|
|
265
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
274
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
266
275
|
return __generator(this, function (_a) {
|
|
267
276
|
switch (_a.label) {
|
|
268
277
|
case 0:
|
|
@@ -280,13 +289,16 @@ var PoliciesApiAxiosParamCreator = function (configuration) {
|
|
|
280
289
|
localVarQueryParameter = {};
|
|
281
290
|
// authentication bearer required
|
|
282
291
|
// http bearer authentication required
|
|
283
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
292
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
293
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
294
|
+
];
|
|
284
295
|
case 1:
|
|
285
296
|
// authentication bearer required
|
|
286
297
|
// http bearer authentication required
|
|
287
298
|
_a.sent();
|
|
288
|
-
|
|
289
|
-
|
|
299
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
300
|
+
if (authorizationValue) {
|
|
301
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
290
302
|
}
|
|
291
303
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
292
304
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -311,7 +323,7 @@ var PoliciesApiAxiosParamCreator = function (configuration) {
|
|
|
311
323
|
getDraftPolicy: function (policyCode, authorization, expand, options) {
|
|
312
324
|
if (options === void 0) { options = {}; }
|
|
313
325
|
return __awaiter(_this, void 0, void 0, function () {
|
|
314
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
326
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
315
327
|
return __generator(this, function (_a) {
|
|
316
328
|
switch (_a.label) {
|
|
317
329
|
case 0:
|
|
@@ -337,8 +349,9 @@ var PoliciesApiAxiosParamCreator = function (configuration) {
|
|
|
337
349
|
if (expand !== undefined) {
|
|
338
350
|
localVarQueryParameter['expand'] = expand;
|
|
339
351
|
}
|
|
340
|
-
|
|
341
|
-
|
|
352
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
353
|
+
if (authorizationValue) {
|
|
354
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
342
355
|
}
|
|
343
356
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
344
357
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -363,7 +376,7 @@ var PoliciesApiAxiosParamCreator = function (configuration) {
|
|
|
363
376
|
getPolicy: function (code, authorization, expand, options) {
|
|
364
377
|
if (options === void 0) { options = {}; }
|
|
365
378
|
return __awaiter(_this, void 0, void 0, function () {
|
|
366
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
379
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
367
380
|
return __generator(this, function (_a) {
|
|
368
381
|
switch (_a.label) {
|
|
369
382
|
case 0:
|
|
@@ -389,8 +402,9 @@ var PoliciesApiAxiosParamCreator = function (configuration) {
|
|
|
389
402
|
if (expand !== undefined) {
|
|
390
403
|
localVarQueryParameter['expand'] = expand;
|
|
391
404
|
}
|
|
392
|
-
|
|
393
|
-
|
|
405
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
406
|
+
if (authorizationValue) {
|
|
407
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
394
408
|
}
|
|
395
409
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
396
410
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -416,7 +430,7 @@ var PoliciesApiAxiosParamCreator = function (configuration) {
|
|
|
416
430
|
getPolicyDataByDate: function (code, authorization, timesliceDate, expand, options) {
|
|
417
431
|
if (options === void 0) { options = {}; }
|
|
418
432
|
return __awaiter(_this, void 0, void 0, function () {
|
|
419
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
433
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
420
434
|
return __generator(this, function (_a) {
|
|
421
435
|
switch (_a.label) {
|
|
422
436
|
case 0:
|
|
@@ -445,8 +459,9 @@ var PoliciesApiAxiosParamCreator = function (configuration) {
|
|
|
445
459
|
if (expand !== undefined) {
|
|
446
460
|
localVarQueryParameter['expand'] = expand;
|
|
447
461
|
}
|
|
448
|
-
|
|
449
|
-
|
|
462
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
463
|
+
if (authorizationValue) {
|
|
464
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
450
465
|
}
|
|
451
466
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
452
467
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -476,7 +491,7 @@ var PoliciesApiAxiosParamCreator = function (configuration) {
|
|
|
476
491
|
listPolicies: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
477
492
|
if (options === void 0) { options = {}; }
|
|
478
493
|
return __awaiter(_this, void 0, void 0, function () {
|
|
479
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
494
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
480
495
|
return __generator(this, function (_a) {
|
|
481
496
|
switch (_a.label) {
|
|
482
497
|
case 0:
|
|
@@ -517,8 +532,9 @@ var PoliciesApiAxiosParamCreator = function (configuration) {
|
|
|
517
532
|
if (filters !== undefined) {
|
|
518
533
|
localVarQueryParameter['filters'] = filters;
|
|
519
534
|
}
|
|
520
|
-
|
|
521
|
-
|
|
535
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
536
|
+
if (authorizationValue) {
|
|
537
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
522
538
|
}
|
|
523
539
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
524
540
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -548,7 +564,7 @@ var PoliciesApiAxiosParamCreator = function (configuration) {
|
|
|
548
564
|
listPolicyObjects: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
549
565
|
if (options === void 0) { options = {}; }
|
|
550
566
|
return __awaiter(_this, void 0, void 0, function () {
|
|
551
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
567
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
552
568
|
return __generator(this, function (_a) {
|
|
553
569
|
switch (_a.label) {
|
|
554
570
|
case 0:
|
|
@@ -589,8 +605,9 @@ var PoliciesApiAxiosParamCreator = function (configuration) {
|
|
|
589
605
|
if (filters !== undefined) {
|
|
590
606
|
localVarQueryParameter['filters'] = filters;
|
|
591
607
|
}
|
|
592
|
-
|
|
593
|
-
|
|
608
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
609
|
+
if (authorizationValue) {
|
|
610
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
594
611
|
}
|
|
595
612
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
596
613
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -621,7 +638,7 @@ var PoliciesApiAxiosParamCreator = function (configuration) {
|
|
|
621
638
|
listPolicyVersions: function (policyCode, authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
622
639
|
if (options === void 0) { options = {}; }
|
|
623
640
|
return __awaiter(_this, void 0, void 0, function () {
|
|
624
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
641
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
625
642
|
return __generator(this, function (_a) {
|
|
626
643
|
switch (_a.label) {
|
|
627
644
|
case 0:
|
|
@@ -665,8 +682,9 @@ var PoliciesApiAxiosParamCreator = function (configuration) {
|
|
|
665
682
|
if (filters !== undefined) {
|
|
666
683
|
localVarQueryParameter['filters'] = filters;
|
|
667
684
|
}
|
|
668
|
-
|
|
669
|
-
|
|
685
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
686
|
+
if (authorizationValue) {
|
|
687
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
670
688
|
}
|
|
671
689
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
672
690
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -691,7 +709,7 @@ var PoliciesApiAxiosParamCreator = function (configuration) {
|
|
|
691
709
|
patchDraftPolicy: function (policyCode, patchDraftPolicyRequestDto, authorization, options) {
|
|
692
710
|
if (options === void 0) { options = {}; }
|
|
693
711
|
return __awaiter(_this, void 0, void 0, function () {
|
|
694
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
712
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
695
713
|
return __generator(this, function (_a) {
|
|
696
714
|
switch (_a.label) {
|
|
697
715
|
case 0:
|
|
@@ -711,13 +729,16 @@ var PoliciesApiAxiosParamCreator = function (configuration) {
|
|
|
711
729
|
localVarQueryParameter = {};
|
|
712
730
|
// authentication bearer required
|
|
713
731
|
// http bearer authentication required
|
|
714
|
-
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
|
+
];
|
|
715
735
|
case 1:
|
|
716
736
|
// authentication bearer required
|
|
717
737
|
// http bearer authentication required
|
|
718
738
|
_a.sent();
|
|
719
|
-
|
|
720
|
-
|
|
739
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
740
|
+
if (authorizationValue) {
|
|
741
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
721
742
|
}
|
|
722
743
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
723
744
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -744,7 +765,7 @@ var PoliciesApiAxiosParamCreator = function (configuration) {
|
|
|
744
765
|
patchPolicy: function (code, patchPolicyRequestDto, authorization, options) {
|
|
745
766
|
if (options === void 0) { options = {}; }
|
|
746
767
|
return __awaiter(_this, void 0, void 0, function () {
|
|
747
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
768
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
748
769
|
return __generator(this, function (_a) {
|
|
749
770
|
switch (_a.label) {
|
|
750
771
|
case 0:
|
|
@@ -764,13 +785,16 @@ var PoliciesApiAxiosParamCreator = function (configuration) {
|
|
|
764
785
|
localVarQueryParameter = {};
|
|
765
786
|
// authentication bearer required
|
|
766
787
|
// http bearer authentication required
|
|
767
|
-
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
|
+
];
|
|
768
791
|
case 1:
|
|
769
792
|
// authentication bearer required
|
|
770
793
|
// http bearer authentication required
|
|
771
794
|
_a.sent();
|
|
772
|
-
|
|
773
|
-
|
|
795
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
796
|
+
if (authorizationValue) {
|
|
797
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
774
798
|
}
|
|
775
799
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
776
800
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -797,7 +821,7 @@ var PoliciesApiAxiosParamCreator = function (configuration) {
|
|
|
797
821
|
restorePolicyVersion: function (policyCode, restorePolicyVersionRequestDto, authorization, options) {
|
|
798
822
|
if (options === void 0) { options = {}; }
|
|
799
823
|
return __awaiter(_this, void 0, void 0, function () {
|
|
800
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
824
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
801
825
|
return __generator(this, function (_a) {
|
|
802
826
|
switch (_a.label) {
|
|
803
827
|
case 0:
|
|
@@ -817,13 +841,16 @@ var PoliciesApiAxiosParamCreator = function (configuration) {
|
|
|
817
841
|
localVarQueryParameter = {};
|
|
818
842
|
// authentication bearer required
|
|
819
843
|
// http bearer authentication required
|
|
820
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
844
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
845
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
846
|
+
];
|
|
821
847
|
case 1:
|
|
822
848
|
// authentication bearer required
|
|
823
849
|
// http bearer authentication required
|
|
824
850
|
_a.sent();
|
|
825
|
-
|
|
826
|
-
|
|
851
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
852
|
+
if (authorizationValue) {
|
|
853
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
827
854
|
}
|
|
828
855
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
829
856
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -850,7 +877,7 @@ var PoliciesApiAxiosParamCreator = function (configuration) {
|
|
|
850
877
|
suspendPolicy: function (policyCode, suspendPolicyRequestDto, authorization, options) {
|
|
851
878
|
if (options === void 0) { options = {}; }
|
|
852
879
|
return __awaiter(_this, void 0, void 0, function () {
|
|
853
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
880
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
854
881
|
return __generator(this, function (_a) {
|
|
855
882
|
switch (_a.label) {
|
|
856
883
|
case 0:
|
|
@@ -870,13 +897,16 @@ var PoliciesApiAxiosParamCreator = function (configuration) {
|
|
|
870
897
|
localVarQueryParameter = {};
|
|
871
898
|
// authentication bearer required
|
|
872
899
|
// http bearer authentication required
|
|
873
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
900
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
901
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
902
|
+
];
|
|
874
903
|
case 1:
|
|
875
904
|
// authentication bearer required
|
|
876
905
|
// http bearer authentication required
|
|
877
906
|
_a.sent();
|
|
878
|
-
|
|
879
|
-
|
|
907
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
908
|
+
if (authorizationValue) {
|
|
909
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
880
910
|
}
|
|
881
911
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
882
912
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -903,7 +933,7 @@ var PoliciesApiAxiosParamCreator = function (configuration) {
|
|
|
903
933
|
terminatePolicy: function (policyCode, terminatePolicyRequestDto, authorization, options) {
|
|
904
934
|
if (options === void 0) { options = {}; }
|
|
905
935
|
return __awaiter(_this, void 0, void 0, function () {
|
|
906
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
936
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
907
937
|
return __generator(this, function (_a) {
|
|
908
938
|
switch (_a.label) {
|
|
909
939
|
case 0:
|
|
@@ -923,13 +953,16 @@ var PoliciesApiAxiosParamCreator = function (configuration) {
|
|
|
923
953
|
localVarQueryParameter = {};
|
|
924
954
|
// authentication bearer required
|
|
925
955
|
// http bearer authentication required
|
|
926
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
956
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
957
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
958
|
+
];
|
|
927
959
|
case 1:
|
|
928
960
|
// authentication bearer required
|
|
929
961
|
// http bearer authentication required
|
|
930
962
|
_a.sent();
|
|
931
|
-
|
|
932
|
-
|
|
963
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
964
|
+
if (authorizationValue) {
|
|
965
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
933
966
|
}
|
|
934
967
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
935
968
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -956,7 +989,7 @@ var PoliciesApiAxiosParamCreator = function (configuration) {
|
|
|
956
989
|
updatePolicy: function (code, updatePolicyRequestDto, authorization, options) {
|
|
957
990
|
if (options === void 0) { options = {}; }
|
|
958
991
|
return __awaiter(_this, void 0, void 0, function () {
|
|
959
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
992
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
960
993
|
return __generator(this, function (_a) {
|
|
961
994
|
switch (_a.label) {
|
|
962
995
|
case 0:
|
|
@@ -976,13 +1009,16 @@ var PoliciesApiAxiosParamCreator = function (configuration) {
|
|
|
976
1009
|
localVarQueryParameter = {};
|
|
977
1010
|
// authentication bearer required
|
|
978
1011
|
// http bearer authentication required
|
|
979
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
1012
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
1013
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
1014
|
+
];
|
|
980
1015
|
case 1:
|
|
981
1016
|
// authentication bearer required
|
|
982
1017
|
// http bearer authentication required
|
|
983
1018
|
_a.sent();
|
|
984
|
-
|
|
985
|
-
|
|
1019
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
1020
|
+
if (authorizationValue) {
|
|
1021
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
986
1022
|
}
|
|
987
1023
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
988
1024
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -1009,7 +1045,7 @@ var PoliciesApiAxiosParamCreator = function (configuration) {
|
|
|
1009
1045
|
withdrawPolicy: function (policyCode, body, authorization, options) {
|
|
1010
1046
|
if (options === void 0) { options = {}; }
|
|
1011
1047
|
return __awaiter(_this, void 0, void 0, function () {
|
|
1012
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
1048
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
1013
1049
|
return __generator(this, function (_a) {
|
|
1014
1050
|
switch (_a.label) {
|
|
1015
1051
|
case 0:
|
|
@@ -1029,13 +1065,16 @@ var PoliciesApiAxiosParamCreator = function (configuration) {
|
|
|
1029
1065
|
localVarQueryParameter = {};
|
|
1030
1066
|
// authentication bearer required
|
|
1031
1067
|
// http bearer authentication required
|
|
1032
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
1068
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
1069
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
1070
|
+
];
|
|
1033
1071
|
case 1:
|
|
1034
1072
|
// authentication bearer required
|
|
1035
1073
|
// http bearer authentication required
|
|
1036
1074
|
_a.sent();
|
|
1037
|
-
|
|
1038
|
-
|
|
1075
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
1076
|
+
if (authorizationValue) {
|
|
1077
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
1039
1078
|
}
|
|
1040
1079
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1041
1080
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -107,7 +107,7 @@ var PremiumCalculationApiAxiosParamCreator = function (configuration) {
|
|
|
107
107
|
calculatePremium: function (calculatePremiumRequestDto, authorization, options) {
|
|
108
108
|
if (options === void 0) { options = {}; }
|
|
109
109
|
return __awaiter(_this, void 0, void 0, function () {
|
|
110
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
110
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
111
111
|
return __generator(this, function (_a) {
|
|
112
112
|
switch (_a.label) {
|
|
113
113
|
case 0:
|
|
@@ -124,13 +124,16 @@ var PremiumCalculationApiAxiosParamCreator = function (configuration) {
|
|
|
124
124
|
localVarQueryParameter = {};
|
|
125
125
|
// authentication bearer required
|
|
126
126
|
// http bearer authentication required
|
|
127
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
127
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
128
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
129
|
+
];
|
|
128
130
|
case 1:
|
|
129
131
|
// authentication bearer required
|
|
130
132
|
// http bearer authentication required
|
|
131
133
|
_a.sent();
|
|
132
|
-
|
|
133
|
-
|
|
134
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
135
|
+
if (authorizationValue) {
|
|
136
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
134
137
|
}
|
|
135
138
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
136
139
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|