@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
|
@@ -107,7 +107,7 @@ var NamedRangesApiAxiosParamCreator = function (configuration) {
|
|
|
107
107
|
createNamedRange: function (createNamedRangeRequestDto, 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 NamedRangesApiAxiosParamCreator = function (configuration) {
|
|
|
124
124
|
localVarQueryParameter = {};
|
|
125
125
|
// authentication bearer required
|
|
126
126
|
// http bearer authentication required
|
|
127
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
127
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
128
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
129
|
+
];
|
|
128
130
|
case 1:
|
|
129
131
|
// authentication bearer required
|
|
130
132
|
// http bearer authentication required
|
|
131
133
|
_a.sent();
|
|
132
|
-
|
|
133
|
-
|
|
134
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
135
|
+
if (authorizationValue) {
|
|
136
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
134
137
|
}
|
|
135
138
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
136
139
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -156,7 +159,7 @@ var NamedRangesApiAxiosParamCreator = function (configuration) {
|
|
|
156
159
|
deleteNamedRange: function (id, authorization, options) {
|
|
157
160
|
if (options === void 0) { options = {}; }
|
|
158
161
|
return __awaiter(_this, void 0, void 0, function () {
|
|
159
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
162
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
160
163
|
return __generator(this, function (_a) {
|
|
161
164
|
switch (_a.label) {
|
|
162
165
|
case 0:
|
|
@@ -174,13 +177,16 @@ var NamedRangesApiAxiosParamCreator = function (configuration) {
|
|
|
174
177
|
localVarQueryParameter = {};
|
|
175
178
|
// authentication bearer required
|
|
176
179
|
// http bearer authentication required
|
|
177
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
180
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
181
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
182
|
+
];
|
|
178
183
|
case 1:
|
|
179
184
|
// authentication bearer required
|
|
180
185
|
// http bearer authentication required
|
|
181
186
|
_a.sent();
|
|
182
|
-
|
|
183
|
-
|
|
187
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
188
|
+
if (authorizationValue) {
|
|
189
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
184
190
|
}
|
|
185
191
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
186
192
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -209,7 +215,7 @@ var NamedRangesApiAxiosParamCreator = function (configuration) {
|
|
|
209
215
|
filterNamedRanges: function (code, authorization, pageSize, pageToken, filters, search, order, options) {
|
|
210
216
|
if (options === void 0) { options = {}; }
|
|
211
217
|
return __awaiter(_this, void 0, void 0, function () {
|
|
212
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
218
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
213
219
|
return __generator(this, function (_a) {
|
|
214
220
|
switch (_a.label) {
|
|
215
221
|
case 0:
|
|
@@ -247,8 +253,9 @@ var NamedRangesApiAxiosParamCreator = function (configuration) {
|
|
|
247
253
|
if (order !== undefined) {
|
|
248
254
|
localVarQueryParameter['order'] = order;
|
|
249
255
|
}
|
|
250
|
-
|
|
251
|
-
|
|
256
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
257
|
+
if (authorizationValue) {
|
|
258
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
252
259
|
}
|
|
253
260
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
254
261
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -272,7 +279,7 @@ var NamedRangesApiAxiosParamCreator = function (configuration) {
|
|
|
272
279
|
getNamedRange: function (id, authorization, options) {
|
|
273
280
|
if (options === void 0) { options = {}; }
|
|
274
281
|
return __awaiter(_this, void 0, void 0, function () {
|
|
275
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
282
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
276
283
|
return __generator(this, function (_a) {
|
|
277
284
|
switch (_a.label) {
|
|
278
285
|
case 0:
|
|
@@ -290,13 +297,16 @@ var NamedRangesApiAxiosParamCreator = function (configuration) {
|
|
|
290
297
|
localVarQueryParameter = {};
|
|
291
298
|
// authentication bearer required
|
|
292
299
|
// http bearer authentication required
|
|
293
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
300
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
301
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
302
|
+
];
|
|
294
303
|
case 1:
|
|
295
304
|
// authentication bearer required
|
|
296
305
|
// http bearer authentication required
|
|
297
306
|
_a.sent();
|
|
298
|
-
|
|
299
|
-
|
|
307
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
308
|
+
if (authorizationValue) {
|
|
309
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
300
310
|
}
|
|
301
311
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
302
312
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -326,7 +336,7 @@ var NamedRangesApiAxiosParamCreator = function (configuration) {
|
|
|
326
336
|
listNamedRanges: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
327
337
|
if (options === void 0) { options = {}; }
|
|
328
338
|
return __awaiter(_this, void 0, void 0, function () {
|
|
329
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
339
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
330
340
|
return __generator(this, function (_a) {
|
|
331
341
|
switch (_a.label) {
|
|
332
342
|
case 0:
|
|
@@ -367,8 +377,9 @@ var NamedRangesApiAxiosParamCreator = function (configuration) {
|
|
|
367
377
|
if (filters !== undefined) {
|
|
368
378
|
localVarQueryParameter['filters'] = filters;
|
|
369
379
|
}
|
|
370
|
-
|
|
371
|
-
|
|
380
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
381
|
+
if (authorizationValue) {
|
|
382
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
372
383
|
}
|
|
373
384
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
374
385
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -393,7 +404,7 @@ var NamedRangesApiAxiosParamCreator = function (configuration) {
|
|
|
393
404
|
updateNamedRange: function (id, updateNamedRangeRequestDto, authorization, options) {
|
|
394
405
|
if (options === void 0) { options = {}; }
|
|
395
406
|
return __awaiter(_this, void 0, void 0, function () {
|
|
396
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
407
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
397
408
|
return __generator(this, function (_a) {
|
|
398
409
|
switch (_a.label) {
|
|
399
410
|
case 0:
|
|
@@ -413,13 +424,16 @@ var NamedRangesApiAxiosParamCreator = function (configuration) {
|
|
|
413
424
|
localVarQueryParameter = {};
|
|
414
425
|
// authentication bearer required
|
|
415
426
|
// http bearer authentication required
|
|
416
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
427
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
428
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
429
|
+
];
|
|
417
430
|
case 1:
|
|
418
431
|
// authentication bearer required
|
|
419
432
|
// http bearer authentication required
|
|
420
433
|
_a.sent();
|
|
421
|
-
|
|
422
|
-
|
|
434
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
435
|
+
if (authorizationValue) {
|
|
436
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
423
437
|
}
|
|
424
438
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
425
439
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -107,7 +107,7 @@ var PartnerLinksApiAxiosParamCreator = function (configuration) {
|
|
|
107
107
|
deletePartnerLink: function (id, 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:
|
|
@@ -125,13 +125,16 @@ var PartnerLinksApiAxiosParamCreator = function (configuration) {
|
|
|
125
125
|
localVarQueryParameter = {};
|
|
126
126
|
// authentication bearer required
|
|
127
127
|
// http bearer authentication required
|
|
128
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
128
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
129
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
130
|
+
];
|
|
129
131
|
case 1:
|
|
130
132
|
// authentication bearer required
|
|
131
133
|
// http bearer authentication required
|
|
132
134
|
_a.sent();
|
|
133
|
-
|
|
134
|
-
|
|
135
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
136
|
+
if (authorizationValue) {
|
|
137
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
135
138
|
}
|
|
136
139
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
137
140
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -156,7 +159,7 @@ var PartnerLinksApiAxiosParamCreator = function (configuration) {
|
|
|
156
159
|
getPartnerLink: function (id, authorization, expand, options) {
|
|
157
160
|
if (options === void 0) { options = {}; }
|
|
158
161
|
return __awaiter(_this, void 0, void 0, function () {
|
|
159
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
162
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
160
163
|
return __generator(this, function (_a) {
|
|
161
164
|
switch (_a.label) {
|
|
162
165
|
case 0:
|
|
@@ -182,8 +185,9 @@ var PartnerLinksApiAxiosParamCreator = function (configuration) {
|
|
|
182
185
|
if (expand !== undefined) {
|
|
183
186
|
localVarQueryParameter['expand'] = expand;
|
|
184
187
|
}
|
|
185
|
-
|
|
186
|
-
|
|
188
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
189
|
+
if (authorizationValue) {
|
|
190
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
187
191
|
}
|
|
188
192
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
189
193
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -207,7 +211,7 @@ var PartnerLinksApiAxiosParamCreator = function (configuration) {
|
|
|
207
211
|
linkPartner: function (linkPartnerRequestDto, authorization, options) {
|
|
208
212
|
if (options === void 0) { options = {}; }
|
|
209
213
|
return __awaiter(_this, void 0, void 0, function () {
|
|
210
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
214
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
211
215
|
return __generator(this, function (_a) {
|
|
212
216
|
switch (_a.label) {
|
|
213
217
|
case 0:
|
|
@@ -224,13 +228,16 @@ var PartnerLinksApiAxiosParamCreator = function (configuration) {
|
|
|
224
228
|
localVarQueryParameter = {};
|
|
225
229
|
// authentication bearer required
|
|
226
230
|
// http bearer authentication required
|
|
227
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
231
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
232
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
233
|
+
];
|
|
228
234
|
case 1:
|
|
229
235
|
// authentication bearer required
|
|
230
236
|
// http bearer authentication required
|
|
231
237
|
_a.sent();
|
|
232
|
-
|
|
233
|
-
|
|
238
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
239
|
+
if (authorizationValue) {
|
|
240
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
234
241
|
}
|
|
235
242
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
236
243
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -262,7 +269,7 @@ var PartnerLinksApiAxiosParamCreator = function (configuration) {
|
|
|
262
269
|
listPartnerLinks: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
263
270
|
if (options === void 0) { options = {}; }
|
|
264
271
|
return __awaiter(_this, void 0, void 0, function () {
|
|
265
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
272
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
266
273
|
return __generator(this, function (_a) {
|
|
267
274
|
switch (_a.label) {
|
|
268
275
|
case 0:
|
|
@@ -303,8 +310,9 @@ var PartnerLinksApiAxiosParamCreator = function (configuration) {
|
|
|
303
310
|
if (filters !== undefined) {
|
|
304
311
|
localVarQueryParameter['filters'] = filters;
|
|
305
312
|
}
|
|
306
|
-
|
|
307
|
-
|
|
313
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
314
|
+
if (authorizationValue) {
|
|
315
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
308
316
|
}
|
|
309
317
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
310
318
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -328,7 +336,7 @@ var PartnerLinksApiAxiosParamCreator = function (configuration) {
|
|
|
328
336
|
unlinkPartner: function (id, authorization, options) {
|
|
329
337
|
if (options === void 0) { options = {}; }
|
|
330
338
|
return __awaiter(_this, void 0, void 0, function () {
|
|
331
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
339
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
332
340
|
return __generator(this, function (_a) {
|
|
333
341
|
switch (_a.label) {
|
|
334
342
|
case 0:
|
|
@@ -346,13 +354,16 @@ var PartnerLinksApiAxiosParamCreator = function (configuration) {
|
|
|
346
354
|
localVarQueryParameter = {};
|
|
347
355
|
// authentication bearer required
|
|
348
356
|
// http bearer authentication required
|
|
349
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
357
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
358
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
359
|
+
];
|
|
350
360
|
case 1:
|
|
351
361
|
// authentication bearer required
|
|
352
362
|
// http bearer authentication required
|
|
353
363
|
_a.sent();
|
|
354
|
-
|
|
355
|
-
|
|
364
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
365
|
+
if (authorizationValue) {
|
|
366
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
356
367
|
}
|
|
357
368
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
358
369
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -377,7 +388,7 @@ var PartnerLinksApiAxiosParamCreator = function (configuration) {
|
|
|
377
388
|
updatePartnerLink: function (id, updatePartnerLinkRequestDto, authorization, options) {
|
|
378
389
|
if (options === void 0) { options = {}; }
|
|
379
390
|
return __awaiter(_this, void 0, void 0, function () {
|
|
380
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
391
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
381
392
|
return __generator(this, function (_a) {
|
|
382
393
|
switch (_a.label) {
|
|
383
394
|
case 0:
|
|
@@ -397,13 +408,16 @@ var PartnerLinksApiAxiosParamCreator = function (configuration) {
|
|
|
397
408
|
localVarQueryParameter = {};
|
|
398
409
|
// authentication bearer required
|
|
399
410
|
// http bearer authentication required
|
|
400
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
411
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
412
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
413
|
+
];
|
|
401
414
|
case 1:
|
|
402
415
|
// authentication bearer required
|
|
403
416
|
// http bearer authentication required
|
|
404
417
|
_a.sent();
|
|
405
|
-
|
|
406
|
-
|
|
418
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
419
|
+
if (authorizationValue) {
|
|
420
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
407
421
|
}
|
|
408
422
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
409
423
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -107,7 +107,7 @@ var PartnerRolesApiAxiosParamCreator = function (configuration) {
|
|
|
107
107
|
createPartnerRole: function (createPartnerRoleRequestDto, 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 PartnerRolesApiAxiosParamCreator = function (configuration) {
|
|
|
124
124
|
localVarQueryParameter = {};
|
|
125
125
|
// authentication bearer required
|
|
126
126
|
// http bearer authentication required
|
|
127
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
127
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
128
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
129
|
+
];
|
|
128
130
|
case 1:
|
|
129
131
|
// authentication bearer required
|
|
130
132
|
// http bearer authentication required
|
|
131
133
|
_a.sent();
|
|
132
|
-
|
|
133
|
-
|
|
134
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
135
|
+
if (authorizationValue) {
|
|
136
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
134
137
|
}
|
|
135
138
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
136
139
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -156,7 +159,7 @@ var PartnerRolesApiAxiosParamCreator = function (configuration) {
|
|
|
156
159
|
deletePartnerRole: function (code, authorization, options) {
|
|
157
160
|
if (options === void 0) { options = {}; }
|
|
158
161
|
return __awaiter(_this, void 0, void 0, function () {
|
|
159
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
162
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
160
163
|
return __generator(this, function (_a) {
|
|
161
164
|
switch (_a.label) {
|
|
162
165
|
case 0:
|
|
@@ -174,13 +177,16 @@ var PartnerRolesApiAxiosParamCreator = function (configuration) {
|
|
|
174
177
|
localVarQueryParameter = {};
|
|
175
178
|
// authentication bearer required
|
|
176
179
|
// http bearer authentication required
|
|
177
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
180
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
181
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
182
|
+
];
|
|
178
183
|
case 1:
|
|
179
184
|
// authentication bearer required
|
|
180
185
|
// http bearer authentication required
|
|
181
186
|
_a.sent();
|
|
182
|
-
|
|
183
|
-
|
|
187
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
188
|
+
if (authorizationValue) {
|
|
189
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
184
190
|
}
|
|
185
191
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
186
192
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -204,7 +210,7 @@ var PartnerRolesApiAxiosParamCreator = function (configuration) {
|
|
|
204
210
|
getPartnerRole: function (code, authorization, options) {
|
|
205
211
|
if (options === void 0) { options = {}; }
|
|
206
212
|
return __awaiter(_this, void 0, void 0, function () {
|
|
207
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
213
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
208
214
|
return __generator(this, function (_a) {
|
|
209
215
|
switch (_a.label) {
|
|
210
216
|
case 0:
|
|
@@ -222,13 +228,16 @@ var PartnerRolesApiAxiosParamCreator = function (configuration) {
|
|
|
222
228
|
localVarQueryParameter = {};
|
|
223
229
|
// authentication bearer required
|
|
224
230
|
// http bearer authentication required
|
|
225
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
231
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
232
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
233
|
+
];
|
|
226
234
|
case 1:
|
|
227
235
|
// authentication bearer required
|
|
228
236
|
// http bearer authentication required
|
|
229
237
|
_a.sent();
|
|
230
|
-
|
|
231
|
-
|
|
238
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
239
|
+
if (authorizationValue) {
|
|
240
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
232
241
|
}
|
|
233
242
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
234
243
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -258,7 +267,7 @@ var PartnerRolesApiAxiosParamCreator = function (configuration) {
|
|
|
258
267
|
listPartnerRole: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
259
268
|
if (options === void 0) { options = {}; }
|
|
260
269
|
return __awaiter(_this, void 0, void 0, function () {
|
|
261
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
270
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
262
271
|
return __generator(this, function (_a) {
|
|
263
272
|
switch (_a.label) {
|
|
264
273
|
case 0:
|
|
@@ -299,8 +308,9 @@ var PartnerRolesApiAxiosParamCreator = function (configuration) {
|
|
|
299
308
|
if (filters !== undefined) {
|
|
300
309
|
localVarQueryParameter['filters'] = filters;
|
|
301
310
|
}
|
|
302
|
-
|
|
303
|
-
|
|
311
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
312
|
+
if (authorizationValue) {
|
|
313
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
304
314
|
}
|
|
305
315
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
306
316
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -325,7 +335,7 @@ var PartnerRolesApiAxiosParamCreator = function (configuration) {
|
|
|
325
335
|
updatePartnerRole: function (code, updatePartnerRoleRequestDto, authorization, options) {
|
|
326
336
|
if (options === void 0) { options = {}; }
|
|
327
337
|
return __awaiter(_this, void 0, void 0, function () {
|
|
328
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
338
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
329
339
|
return __generator(this, function (_a) {
|
|
330
340
|
switch (_a.label) {
|
|
331
341
|
case 0:
|
|
@@ -345,13 +355,16 @@ var PartnerRolesApiAxiosParamCreator = function (configuration) {
|
|
|
345
355
|
localVarQueryParameter = {};
|
|
346
356
|
// authentication bearer required
|
|
347
357
|
// http bearer authentication required
|
|
348
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
358
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
359
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
360
|
+
];
|
|
349
361
|
case 1:
|
|
350
362
|
// authentication bearer required
|
|
351
363
|
// http bearer authentication required
|
|
352
364
|
_a.sent();
|
|
353
|
-
|
|
354
|
-
|
|
365
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
366
|
+
if (authorizationValue) {
|
|
367
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
355
368
|
}
|
|
356
369
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
357
370
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|