@emilgroup/insurance-sdk-node 1.104.1-beta.11 → 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 +5 -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 +44 -24
- 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 +100 -66
- package/api/premium-calculation-api.ts +171 -0
- 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/api.ts +2 -0
- 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.d.ts +4 -4
- package/dist/api/leads-api.js +67 -41
- 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.d.ts +32 -32
- package/dist/api/policies-api.js +129 -90
- package/dist/api/premium-calculation-api.d.ts +97 -0
- package/dist/api/premium-calculation-api.js +231 -0
- 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/api.d.ts +1 -0
- package/dist/api.js +1 -0
- package/dist/models/calculate-premium-response-class.d.ts +39 -0
- package/dist/models/calculated-policy-objects-class.d.ts +25 -0
- package/dist/models/claim-config-class.d.ts +7 -0
- package/dist/models/create-draft-policy-request-dto.d.ts +1 -1
- package/dist/models/create-premium-formula-request-dto.d.ts +6 -0
- package/dist/models/create-product-request-dto.d.ts +12 -0
- package/dist/models/create-product-version-request-dto.d.ts +6 -0
- package/dist/models/get-draft-policy-request-dto.d.ts +1 -1
- package/dist/models/index.d.ts +4 -2
- package/dist/models/index.js +4 -2
- package/dist/models/partner-class.d.ts +6 -0
- package/dist/models/patch-draft-policy-request-dto.d.ts +2 -2
- package/dist/models/policy-object-dto.d.ts +1 -1
- package/dist/models/policy-premium-item-class.d.ts +1 -1
- package/dist/models/premium-formula-class.d.ts +6 -0
- package/dist/models/regulation-subtype-class.d.ts +30 -0
- package/dist/models/regulation-subtype-class.js +15 -0
- package/dist/models/regulation-subtypes-class.d.ts +37 -0
- package/dist/models/regulation-subtypes-class.js +15 -0
- package/models/calculate-premium-response-class.ts +45 -0
- package/models/calculated-policy-objects-class.ts +31 -0
- package/models/claim-config-class.ts +7 -0
- package/models/create-draft-policy-request-dto.ts +1 -1
- package/models/create-premium-formula-request-dto.ts +6 -0
- package/models/create-product-request-dto.ts +12 -0
- package/models/create-product-version-request-dto.ts +6 -0
- package/models/get-draft-policy-request-dto.ts +1 -1
- package/models/index.ts +4 -2
- package/models/partner-class.ts +6 -0
- package/models/patch-draft-policy-request-dto.ts +2 -2
- package/models/policy-object-dto.ts +1 -1
- package/models/policy-premium-item-class.ts +1 -1
- package/models/premium-formula-class.ts +6 -0
- package/models/regulation-subtype-class.ts +36 -0
- package/models/regulation-subtypes-class.ts +43 -0
- package/package.json +1 -1
- package/dist/models/inline-response200.d.ts +0 -54
- package/dist/models/inline-response503.d.ts +0 -54
- package/models/inline-response200.ts +0 -48
- package/models/inline-response503.ts +0 -48
- /package/dist/models/{inline-response200.js → calculate-premium-response-class.js} +0 -0
- /package/dist/models/{inline-response503.js → calculated-policy-objects-class.js} +0 -0
package/api/products-api.ts
CHANGED
|
@@ -73,8 +73,10 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
73
73
|
// http bearer authentication required
|
|
74
74
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
75
75
|
|
|
76
|
-
|
|
77
|
-
|
|
76
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
77
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
78
|
+
if (authorizationValue) {
|
|
79
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
78
80
|
}
|
|
79
81
|
|
|
80
82
|
|
|
@@ -121,8 +123,10 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
121
123
|
// http bearer authentication required
|
|
122
124
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
123
125
|
|
|
124
|
-
|
|
125
|
-
|
|
126
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
127
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
128
|
+
if (authorizationValue) {
|
|
129
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
126
130
|
}
|
|
127
131
|
|
|
128
132
|
|
|
@@ -181,8 +185,10 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
181
185
|
localVarQueryParameter['expand'] = expand;
|
|
182
186
|
}
|
|
183
187
|
|
|
184
|
-
|
|
185
|
-
|
|
188
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
189
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
190
|
+
if (authorizationValue) {
|
|
191
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
186
192
|
}
|
|
187
193
|
|
|
188
194
|
|
|
@@ -242,8 +248,10 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
242
248
|
localVarQueryParameter['expand'] = expand;
|
|
243
249
|
}
|
|
244
250
|
|
|
245
|
-
|
|
246
|
-
|
|
251
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
252
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
253
|
+
if (authorizationValue) {
|
|
254
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
247
255
|
}
|
|
248
256
|
|
|
249
257
|
|
|
@@ -318,8 +326,10 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
318
326
|
localVarQueryParameter['filters'] = filters;
|
|
319
327
|
}
|
|
320
328
|
|
|
321
|
-
|
|
322
|
-
|
|
329
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
330
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
331
|
+
if (authorizationValue) {
|
|
332
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
323
333
|
}
|
|
324
334
|
|
|
325
335
|
|
|
@@ -366,8 +376,10 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
366
376
|
// http bearer authentication required
|
|
367
377
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
368
378
|
|
|
369
|
-
|
|
370
|
-
|
|
379
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
380
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
381
|
+
if (authorizationValue) {
|
|
382
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
371
383
|
}
|
|
372
384
|
|
|
373
385
|
|
|
@@ -77,8 +77,10 @@ export const StatusTransitionRulesApiAxiosParamCreator = function (configuration
|
|
|
77
77
|
// http bearer authentication required
|
|
78
78
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
79
79
|
|
|
80
|
-
|
|
81
|
-
|
|
80
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
81
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
82
|
+
if (authorizationValue) {
|
|
83
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
82
84
|
}
|
|
83
85
|
|
|
84
86
|
|
|
@@ -125,8 +127,10 @@ export const StatusTransitionRulesApiAxiosParamCreator = function (configuration
|
|
|
125
127
|
// http bearer authentication required
|
|
126
128
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
127
129
|
|
|
128
|
-
|
|
129
|
-
|
|
130
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
131
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
132
|
+
if (authorizationValue) {
|
|
133
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
130
134
|
}
|
|
131
135
|
|
|
132
136
|
|
|
@@ -175,8 +179,10 @@ export const StatusTransitionRulesApiAxiosParamCreator = function (configuration
|
|
|
175
179
|
localVarQueryParameter['expand'] = expand;
|
|
176
180
|
}
|
|
177
181
|
|
|
178
|
-
|
|
179
|
-
|
|
182
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
183
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
184
|
+
if (authorizationValue) {
|
|
185
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
180
186
|
}
|
|
181
187
|
|
|
182
188
|
|
|
@@ -251,8 +257,10 @@ export const StatusTransitionRulesApiAxiosParamCreator = function (configuration
|
|
|
251
257
|
localVarQueryParameter['filters'] = filters;
|
|
252
258
|
}
|
|
253
259
|
|
|
254
|
-
|
|
255
|
-
|
|
260
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
261
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
262
|
+
if (authorizationValue) {
|
|
263
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
256
264
|
}
|
|
257
265
|
|
|
258
266
|
|
|
@@ -299,8 +307,10 @@ export const StatusTransitionRulesApiAxiosParamCreator = function (configuration
|
|
|
299
307
|
// http bearer authentication required
|
|
300
308
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
301
309
|
|
|
302
|
-
|
|
303
|
-
|
|
310
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
311
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
312
|
+
if (authorizationValue) {
|
|
313
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
304
314
|
}
|
|
305
315
|
|
|
306
316
|
|
|
@@ -350,8 +360,10 @@ export const StatusTransitionRulesApiAxiosParamCreator = function (configuration
|
|
|
350
360
|
// http bearer authentication required
|
|
351
361
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
352
362
|
|
|
353
|
-
|
|
354
|
-
|
|
363
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
364
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
365
|
+
if (authorizationValue) {
|
|
366
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
355
367
|
}
|
|
356
368
|
|
|
357
369
|
|
package/api.ts
CHANGED
|
@@ -42,6 +42,7 @@ import { NamedRangesApi } from './api';
|
|
|
42
42
|
import { PartnerLinksApi } from './api';
|
|
43
43
|
import { PartnerRolesApi } from './api';
|
|
44
44
|
import { PoliciesApi } from './api';
|
|
45
|
+
import { PremiumCalculationApi } from './api';
|
|
45
46
|
import { PremiumFormulasApi } from './api';
|
|
46
47
|
import { ProductConfigsApi } from './api';
|
|
47
48
|
import { ProductFactorsApi } from './api';
|
|
@@ -69,6 +70,7 @@ export * from './api/named-ranges-api';
|
|
|
69
70
|
export * from './api/partner-links-api';
|
|
70
71
|
export * from './api/partner-roles-api';
|
|
71
72
|
export * from './api/policies-api';
|
|
73
|
+
export * from './api/premium-calculation-api';
|
|
72
74
|
export * from './api/premium-formulas-api';
|
|
73
75
|
export * from './api/product-configs-api';
|
|
74
76
|
export * from './api/product-factors-api';
|
|
@@ -108,7 +108,7 @@ var BookingFunnelVersionsApiAxiosParamCreator = function (configuration) {
|
|
|
108
108
|
getBookingFunnelVersion: function (code, version, 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:
|
|
@@ -129,13 +129,16 @@ var BookingFunnelVersionsApiAxiosParamCreator = function (configuration) {
|
|
|
129
129
|
localVarQueryParameter = {};
|
|
130
130
|
// authentication bearer required
|
|
131
131
|
// http bearer authentication required
|
|
132
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
132
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
133
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
134
|
+
];
|
|
133
135
|
case 1:
|
|
134
136
|
// authentication bearer required
|
|
135
137
|
// http bearer authentication required
|
|
136
138
|
_a.sent();
|
|
137
|
-
|
|
138
|
-
|
|
139
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
140
|
+
if (authorizationValue) {
|
|
141
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
139
142
|
}
|
|
140
143
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
141
144
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -166,7 +169,7 @@ var BookingFunnelVersionsApiAxiosParamCreator = function (configuration) {
|
|
|
166
169
|
listBookingFunnelVersions: function (code, authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
167
170
|
if (options === void 0) { options = {}; }
|
|
168
171
|
return __awaiter(_this, void 0, void 0, function () {
|
|
169
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
172
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
170
173
|
return __generator(this, function (_a) {
|
|
171
174
|
switch (_a.label) {
|
|
172
175
|
case 0:
|
|
@@ -210,8 +213,9 @@ var BookingFunnelVersionsApiAxiosParamCreator = function (configuration) {
|
|
|
210
213
|
if (filters !== undefined) {
|
|
211
214
|
localVarQueryParameter['filters'] = filters;
|
|
212
215
|
}
|
|
213
|
-
|
|
214
|
-
|
|
216
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
217
|
+
if (authorizationValue) {
|
|
218
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
215
219
|
}
|
|
216
220
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
217
221
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -107,7 +107,7 @@ var BookingFunnelsApiAxiosParamCreator = function (configuration) {
|
|
|
107
107
|
createBookingFunnel: function (createBookingFunnelRequestDto, 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 BookingFunnelsApiAxiosParamCreator = 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 BookingFunnelsApiAxiosParamCreator = function (configuration) {
|
|
|
156
159
|
deleteBookingFunnel: 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 BookingFunnelsApiAxiosParamCreator = 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 BookingFunnelsApiAxiosParamCreator = function (configuration) {
|
|
|
204
210
|
getBookingFunnel: 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 BookingFunnelsApiAxiosParamCreator = 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 BookingFunnelsApiAxiosParamCreator = function (configuration) {
|
|
|
258
267
|
listBookingFunnels: 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 BookingFunnelsApiAxiosParamCreator = 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 : {};
|
|
@@ -324,7 +334,7 @@ var BookingFunnelsApiAxiosParamCreator = function (configuration) {
|
|
|
324
334
|
patchBookingFunnel: function (code, patchBookingFunnelRequestDto, authorization, options) {
|
|
325
335
|
if (options === void 0) { options = {}; }
|
|
326
336
|
return __awaiter(_this, void 0, void 0, function () {
|
|
327
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
337
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
328
338
|
return __generator(this, function (_a) {
|
|
329
339
|
switch (_a.label) {
|
|
330
340
|
case 0:
|
|
@@ -344,13 +354,16 @@ var BookingFunnelsApiAxiosParamCreator = function (configuration) {
|
|
|
344
354
|
localVarQueryParameter = {};
|
|
345
355
|
// authentication bearer required
|
|
346
356
|
// http bearer authentication required
|
|
347
|
-
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
|
+
];
|
|
348
360
|
case 1:
|
|
349
361
|
// authentication bearer required
|
|
350
362
|
// http bearer authentication required
|
|
351
363
|
_a.sent();
|
|
352
|
-
|
|
353
|
-
|
|
364
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
365
|
+
if (authorizationValue) {
|
|
366
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
354
367
|
}
|
|
355
368
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
356
369
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -377,7 +390,7 @@ var BookingFunnelsApiAxiosParamCreator = function (configuration) {
|
|
|
377
390
|
updateBookingFunnel: function (code, updateBookingFunnelRequestDto, authorization, options) {
|
|
378
391
|
if (options === void 0) { options = {}; }
|
|
379
392
|
return __awaiter(_this, void 0, void 0, function () {
|
|
380
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
393
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
381
394
|
return __generator(this, function (_a) {
|
|
382
395
|
switch (_a.label) {
|
|
383
396
|
case 0:
|
|
@@ -397,13 +410,16 @@ var BookingFunnelsApiAxiosParamCreator = function (configuration) {
|
|
|
397
410
|
localVarQueryParameter = {};
|
|
398
411
|
// authentication bearer required
|
|
399
412
|
// http bearer authentication required
|
|
400
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
413
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
414
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
415
|
+
];
|
|
401
416
|
case 1:
|
|
402
417
|
// authentication bearer required
|
|
403
418
|
// http bearer authentication required
|
|
404
419
|
_a.sent();
|
|
405
|
-
|
|
406
|
-
|
|
420
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
421
|
+
if (authorizationValue) {
|
|
422
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
407
423
|
}
|
|
408
424
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
409
425
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -108,7 +108,7 @@ var CommissionAgreementItemsApiAxiosParamCreator = function (configuration) {
|
|
|
108
108
|
createCommissionAgreementItem: function (code, createCommissionAgreementItemRequestDto, 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 CommissionAgreementItemsApiAxiosParamCreator = function (configuration) {
|
|
|
128
128
|
localVarQueryParameter = {};
|
|
129
129
|
// authentication bearer required
|
|
130
130
|
// http bearer authentication required
|
|
131
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
131
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
132
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
133
|
+
];
|
|
132
134
|
case 1:
|
|
133
135
|
// authentication bearer required
|
|
134
136
|
// http bearer authentication required
|
|
135
137
|
_a.sent();
|
|
136
|
-
|
|
137
|
-
|
|
138
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
139
|
+
if (authorizationValue) {
|
|
140
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
138
141
|
}
|
|
139
142
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
140
143
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -160,7 +163,7 @@ var CommissionAgreementItemsApiAxiosParamCreator = function (configuration) {
|
|
|
160
163
|
deleteCommissionAgreementItem: function (code, authorization, options) {
|
|
161
164
|
if (options === void 0) { options = {}; }
|
|
162
165
|
return __awaiter(_this, void 0, void 0, function () {
|
|
163
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
166
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
164
167
|
return __generator(this, function (_a) {
|
|
165
168
|
switch (_a.label) {
|
|
166
169
|
case 0:
|
|
@@ -178,13 +181,16 @@ var CommissionAgreementItemsApiAxiosParamCreator = function (configuration) {
|
|
|
178
181
|
localVarQueryParameter = {};
|
|
179
182
|
// authentication bearer required
|
|
180
183
|
// http bearer authentication required
|
|
181
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
184
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
185
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
186
|
+
];
|
|
182
187
|
case 1:
|
|
183
188
|
// authentication bearer required
|
|
184
189
|
// http bearer authentication required
|
|
185
190
|
_a.sent();
|
|
186
|
-
|
|
187
|
-
|
|
191
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
192
|
+
if (authorizationValue) {
|
|
193
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
188
194
|
}
|
|
189
195
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
190
196
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -209,7 +215,7 @@ var CommissionAgreementItemsApiAxiosParamCreator = function (configuration) {
|
|
|
209
215
|
getCommissionAgreementItem: function (code, expand, authorization, options) {
|
|
210
216
|
if (options === void 0) { options = {}; }
|
|
211
217
|
return __awaiter(_this, void 0, void 0, function () {
|
|
212
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
218
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
213
219
|
return __generator(this, function (_a) {
|
|
214
220
|
switch (_a.label) {
|
|
215
221
|
case 0:
|
|
@@ -237,8 +243,9 @@ var CommissionAgreementItemsApiAxiosParamCreator = function (configuration) {
|
|
|
237
243
|
if (expand !== undefined) {
|
|
238
244
|
localVarQueryParameter['expand'] = expand;
|
|
239
245
|
}
|
|
240
|
-
|
|
241
|
-
|
|
246
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
247
|
+
if (authorizationValue) {
|
|
248
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
242
249
|
}
|
|
243
250
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
244
251
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -268,7 +275,7 @@ var CommissionAgreementItemsApiAxiosParamCreator = function (configuration) {
|
|
|
268
275
|
listCommissionAgreementItems: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
269
276
|
if (options === void 0) { options = {}; }
|
|
270
277
|
return __awaiter(_this, void 0, void 0, function () {
|
|
271
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
278
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
272
279
|
return __generator(this, function (_a) {
|
|
273
280
|
switch (_a.label) {
|
|
274
281
|
case 0:
|
|
@@ -309,8 +316,9 @@ var CommissionAgreementItemsApiAxiosParamCreator = function (configuration) {
|
|
|
309
316
|
if (filters !== undefined) {
|
|
310
317
|
localVarQueryParameter['filters'] = filters;
|
|
311
318
|
}
|
|
312
|
-
|
|
313
|
-
|
|
319
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
320
|
+
if (authorizationValue) {
|
|
321
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
314
322
|
}
|
|
315
323
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
316
324
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -335,7 +343,7 @@ var CommissionAgreementItemsApiAxiosParamCreator = function (configuration) {
|
|
|
335
343
|
updateCommissionAgreementItem: function (code, updateCommissionAgreementItemRequestDto, authorization, options) {
|
|
336
344
|
if (options === void 0) { options = {}; }
|
|
337
345
|
return __awaiter(_this, void 0, void 0, function () {
|
|
338
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
346
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
339
347
|
return __generator(this, function (_a) {
|
|
340
348
|
switch (_a.label) {
|
|
341
349
|
case 0:
|
|
@@ -355,13 +363,16 @@ var CommissionAgreementItemsApiAxiosParamCreator = function (configuration) {
|
|
|
355
363
|
localVarQueryParameter = {};
|
|
356
364
|
// authentication bearer required
|
|
357
365
|
// http bearer authentication required
|
|
358
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
366
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
367
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
368
|
+
];
|
|
359
369
|
case 1:
|
|
360
370
|
// authentication bearer required
|
|
361
371
|
// http bearer authentication required
|
|
362
372
|
_a.sent();
|
|
363
|
-
|
|
364
|
-
|
|
373
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
374
|
+
if (authorizationValue) {
|
|
375
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
365
376
|
}
|
|
366
377
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
367
378
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|