@emilgroup/insurance-sdk 1.107.1-beta.11 → 1.107.1-beta.111
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 +167 -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/base.ts +174 -41
- package/common.ts +3 -2
- package/configuration.ts +20 -0
- package/dist/api/booking-funnel-versions-api.d.ts +2 -2
- package/dist/api/booking-funnel-versions-api.js +11 -7
- package/dist/api/booking-funnels-api.d.ts +6 -6
- package/dist/api/booking-funnels-api.js +39 -23
- package/dist/api/commission-agreement-items-api.d.ts +5 -5
- package/dist/api/commission-agreement-items-api.js +29 -18
- package/dist/api/commission-agreement-products-api.d.ts +5 -5
- package/dist/api/commission-agreement-products-api.js +29 -18
- package/dist/api/commission-agreement-versions-api.d.ts +4 -4
- package/dist/api/commission-agreement-versions-api.js +22 -14
- package/dist/api/commission-agreements-api.d.ts +5 -5
- package/dist/api/commission-agreements-api.js +29 -18
- package/dist/api/commission-recipients-api.d.ts +5 -5
- package/dist/api/commission-recipients-api.js +32 -19
- package/dist/api/emil-functions-api.d.ts +11 -11
- 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.d.ts +1 -1
- package/dist/api/insured-object-types-api.js +4 -3
- package/dist/api/insured-objects-api.d.ts +4 -4
- package/dist/api/insured-objects-api.js +22 -14
- package/dist/api/lead-statuses-api.d.ts +5 -5
- package/dist/api/lead-statuses-api.js +32 -19
- package/dist/api/lead-versions-api.d.ts +2 -2
- package/dist/api/lead-versions-api.js +11 -7
- package/dist/api/leads-api.d.ts +14 -14
- package/dist/api/leads-api.js +67 -41
- package/dist/api/named-ranges-api.d.ts +6 -6
- package/dist/api/named-ranges-api.js +36 -22
- package/dist/api/partner-links-api.d.ts +6 -6
- package/dist/api/partner-links-api.js +36 -22
- package/dist/api/partner-roles-api.d.ts +5 -5
- package/dist/api/partner-roles-api.js +32 -19
- package/dist/api/policies-api.d.ts +49 -49
- 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 +227 -0
- package/dist/api/premium-formulas-api.d.ts +6 -6
- package/dist/api/premium-formulas-api.js +39 -23
- package/dist/api/product-configs-api.d.ts +6 -6
- package/dist/api/product-configs-api.js +39 -23
- package/dist/api/product-factors-api.d.ts +7 -7
- package/dist/api/product-factors-api.js +37 -24
- package/dist/api/product-fields-api.d.ts +7 -7
- package/dist/api/product-fields-api.js +43 -26
- package/dist/api/product-versions-api.d.ts +2 -2
- package/dist/api/product-versions-api.js +11 -7
- package/dist/api/products-api.d.ts +6 -6
- package/dist/api/products-api.js +33 -21
- package/dist/api/status-transition-rules-api.d.ts +6 -6
- 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/base.d.ts +24 -0
- package/dist/base.js +178 -59
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -0
- package/dist/configuration.d.ts +17 -0
- package/dist/configuration.js +2 -0
- package/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 +2 -2
- 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/.openapi-generator/FILES
CHANGED
|
@@ -21,6 +21,7 @@ api/named-ranges-api.ts
|
|
|
21
21
|
api/partner-links-api.ts
|
|
22
22
|
api/partner-roles-api.ts
|
|
23
23
|
api/policies-api.ts
|
|
24
|
+
api/premium-calculation-api.ts
|
|
24
25
|
api/premium-formulas-api.ts
|
|
25
26
|
api/product-configs-api.ts
|
|
26
27
|
api/product-factors-api.ts
|
|
@@ -42,8 +43,10 @@ models/billing-address-dto.ts
|
|
|
42
43
|
models/booking-funnel-class.ts
|
|
43
44
|
models/calculate-custom-premium-request-dto.ts
|
|
44
45
|
models/calculate-premium-request-dto.ts
|
|
46
|
+
models/calculate-premium-response-class.ts
|
|
45
47
|
models/calculate-product-fields-request-dto.ts
|
|
46
48
|
models/calculated-policy-object-class.ts
|
|
49
|
+
models/calculated-policy-objects-class.ts
|
|
47
50
|
models/calculation-errors-class.ts
|
|
48
51
|
models/calculation-item-errors-class.ts
|
|
49
52
|
models/calculation-message-class.ts
|
|
@@ -158,8 +161,6 @@ models/grouped-product-factor-value-class.ts
|
|
|
158
161
|
models/grouped-product-factors-response-class.ts
|
|
159
162
|
models/grpc-mandate-dto.ts
|
|
160
163
|
models/index.ts
|
|
161
|
-
models/inline-response200.ts
|
|
162
|
-
models/inline-response503.ts
|
|
163
164
|
models/insured-object-class.ts
|
|
164
165
|
models/insured-object-type-class.ts
|
|
165
166
|
models/invoice-item-class.ts
|
|
@@ -232,6 +233,8 @@ models/product-factor-value-for-version-class.ts
|
|
|
232
233
|
models/product-field-class.ts
|
|
233
234
|
models/product-field-type-class.ts
|
|
234
235
|
models/product-version-class.ts
|
|
236
|
+
models/regulation-subtype-class.ts
|
|
237
|
+
models/regulation-subtypes-class.ts
|
|
235
238
|
models/rest-calculate-product-tariff-quote-request-dto.ts
|
|
236
239
|
models/rest-calculate-product-tariff-quote-response-class.ts
|
|
237
240
|
models/rest-clone-lead-account-request-dto.ts
|
package/README.md
CHANGED
|
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
|
|
|
17
17
|
Navigate to the folder of your consuming project and run one of the following commands:
|
|
18
18
|
|
|
19
19
|
```
|
|
20
|
-
npm install @emilgroup/insurance-sdk@1.107.1-beta.
|
|
20
|
+
npm install @emilgroup/insurance-sdk@1.107.1-beta.111 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/insurance-sdk@1.107.1-beta.
|
|
24
|
+
yarn add @emilgroup/insurance-sdk@1.107.1-beta.111
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `PoliciesApi`.
|
|
@@ -60,8 +60,10 @@ export const BookingFunnelVersionsApiAxiosParamCreator = function (configuration
|
|
|
60
60
|
// http bearer authentication required
|
|
61
61
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
62
62
|
|
|
63
|
-
|
|
64
|
-
|
|
63
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
64
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
65
|
+
if (authorizationValue) {
|
|
66
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
65
67
|
}
|
|
66
68
|
|
|
67
69
|
|
|
@@ -140,8 +142,10 @@ export const BookingFunnelVersionsApiAxiosParamCreator = function (configuration
|
|
|
140
142
|
localVarQueryParameter['filters'] = filters;
|
|
141
143
|
}
|
|
142
144
|
|
|
143
|
-
|
|
144
|
-
|
|
145
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
146
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
147
|
+
if (authorizationValue) {
|
|
148
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
145
149
|
}
|
|
146
150
|
|
|
147
151
|
|
|
@@ -73,8 +73,10 @@ export const BookingFunnelsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
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 BookingFunnelsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
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
|
|
|
@@ -166,8 +170,10 @@ export const BookingFunnelsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
166
170
|
// http bearer authentication required
|
|
167
171
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
168
172
|
|
|
169
|
-
|
|
170
|
-
|
|
173
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
174
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
175
|
+
if (authorizationValue) {
|
|
176
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
171
177
|
}
|
|
172
178
|
|
|
173
179
|
|
|
@@ -242,8 +248,10 @@ export const BookingFunnelsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
242
248
|
localVarQueryParameter['filters'] = filters;
|
|
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
|
|
|
@@ -289,8 +297,10 @@ export const BookingFunnelsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
289
297
|
// http bearer authentication required
|
|
290
298
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
291
299
|
|
|
292
|
-
|
|
293
|
-
|
|
300
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
301
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
302
|
+
if (authorizationValue) {
|
|
303
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
294
304
|
}
|
|
295
305
|
|
|
296
306
|
|
|
@@ -340,8 +350,10 @@ export const BookingFunnelsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
340
350
|
// http bearer authentication required
|
|
341
351
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
342
352
|
|
|
343
|
-
|
|
344
|
-
|
|
353
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
354
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
355
|
+
if (authorizationValue) {
|
|
356
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
345
357
|
}
|
|
346
358
|
|
|
347
359
|
|
|
@@ -73,8 +73,10 @@ export const CommissionAgreementItemsApiAxiosParamCreator = function (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 CommissionAgreementItemsApiAxiosParamCreator = function (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
|
|
|
@@ -173,8 +177,10 @@ export const CommissionAgreementItemsApiAxiosParamCreator = function (configurat
|
|
|
173
177
|
localVarQueryParameter['expand'] = expand;
|
|
174
178
|
}
|
|
175
179
|
|
|
176
|
-
|
|
177
|
-
|
|
180
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
181
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
182
|
+
if (authorizationValue) {
|
|
183
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
178
184
|
}
|
|
179
185
|
|
|
180
186
|
|
|
@@ -249,8 +255,10 @@ export const CommissionAgreementItemsApiAxiosParamCreator = function (configurat
|
|
|
249
255
|
localVarQueryParameter['filters'] = filters;
|
|
250
256
|
}
|
|
251
257
|
|
|
252
|
-
|
|
253
|
-
|
|
258
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
259
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
260
|
+
if (authorizationValue) {
|
|
261
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
254
262
|
}
|
|
255
263
|
|
|
256
264
|
|
|
@@ -297,8 +305,10 @@ export const CommissionAgreementItemsApiAxiosParamCreator = function (configurat
|
|
|
297
305
|
// http bearer authentication required
|
|
298
306
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
299
307
|
|
|
300
|
-
|
|
301
|
-
|
|
308
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
309
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
310
|
+
if (authorizationValue) {
|
|
311
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
302
312
|
}
|
|
303
313
|
|
|
304
314
|
|
|
@@ -73,8 +73,10 @@ export const CommissionAgreementProductsApiAxiosParamCreator = function (configu
|
|
|
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 CommissionAgreementProductsApiAxiosParamCreator = function (configu
|
|
|
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
|
|
|
@@ -171,8 +175,10 @@ export const CommissionAgreementProductsApiAxiosParamCreator = function (configu
|
|
|
171
175
|
localVarQueryParameter['expand'] = expand;
|
|
172
176
|
}
|
|
173
177
|
|
|
174
|
-
|
|
175
|
-
|
|
178
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
179
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
180
|
+
if (authorizationValue) {
|
|
181
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
176
182
|
}
|
|
177
183
|
|
|
178
184
|
|
|
@@ -247,8 +253,10 @@ export const CommissionAgreementProductsApiAxiosParamCreator = function (configu
|
|
|
247
253
|
localVarQueryParameter['filters'] = filters;
|
|
248
254
|
}
|
|
249
255
|
|
|
250
|
-
|
|
251
|
-
|
|
256
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
257
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
258
|
+
if (authorizationValue) {
|
|
259
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
252
260
|
}
|
|
253
261
|
|
|
254
262
|
|
|
@@ -295,8 +303,10 @@ export const CommissionAgreementProductsApiAxiosParamCreator = function (configu
|
|
|
295
303
|
// http bearer authentication required
|
|
296
304
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
297
305
|
|
|
298
|
-
|
|
299
|
-
|
|
306
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
307
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
308
|
+
if (authorizationValue) {
|
|
309
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
300
310
|
}
|
|
301
311
|
|
|
302
312
|
|
|
@@ -69,8 +69,10 @@ export const CommissionAgreementVersionsApiAxiosParamCreator = function (configu
|
|
|
69
69
|
// http bearer authentication required
|
|
70
70
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
71
71
|
|
|
72
|
-
|
|
73
|
-
|
|
72
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
73
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
74
|
+
if (authorizationValue) {
|
|
75
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
74
76
|
}
|
|
75
77
|
|
|
76
78
|
|
|
@@ -117,8 +119,10 @@ export const CommissionAgreementVersionsApiAxiosParamCreator = function (configu
|
|
|
117
119
|
// http bearer authentication required
|
|
118
120
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
119
121
|
|
|
120
|
-
|
|
121
|
-
|
|
122
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
123
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
124
|
+
if (authorizationValue) {
|
|
125
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
122
126
|
}
|
|
123
127
|
|
|
124
128
|
|
|
@@ -169,8 +173,10 @@ export const CommissionAgreementVersionsApiAxiosParamCreator = function (configu
|
|
|
169
173
|
localVarQueryParameter['expand'] = expand;
|
|
170
174
|
}
|
|
171
175
|
|
|
172
|
-
|
|
173
|
-
|
|
176
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
177
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
178
|
+
if (authorizationValue) {
|
|
179
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
174
180
|
}
|
|
175
181
|
|
|
176
182
|
|
|
@@ -245,8 +251,10 @@ export const CommissionAgreementVersionsApiAxiosParamCreator = function (configu
|
|
|
245
251
|
localVarQueryParameter['filters'] = filters;
|
|
246
252
|
}
|
|
247
253
|
|
|
248
|
-
|
|
249
|
-
|
|
254
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
255
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
256
|
+
if (authorizationValue) {
|
|
257
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
250
258
|
}
|
|
251
259
|
|
|
252
260
|
|
|
@@ -69,8 +69,10 @@ export const CommissionAgreementsApiAxiosParamCreator = function (configuration?
|
|
|
69
69
|
// http bearer authentication required
|
|
70
70
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
71
71
|
|
|
72
|
-
|
|
73
|
-
|
|
72
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
73
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
74
|
+
if (authorizationValue) {
|
|
75
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
74
76
|
}
|
|
75
77
|
|
|
76
78
|
|
|
@@ -117,8 +119,10 @@ export const CommissionAgreementsApiAxiosParamCreator = function (configuration?
|
|
|
117
119
|
// http bearer authentication required
|
|
118
120
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
119
121
|
|
|
120
|
-
|
|
121
|
-
|
|
122
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
123
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
124
|
+
if (authorizationValue) {
|
|
125
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
122
126
|
}
|
|
123
127
|
|
|
124
128
|
|
|
@@ -167,8 +171,10 @@ export const CommissionAgreementsApiAxiosParamCreator = function (configuration?
|
|
|
167
171
|
localVarQueryParameter['expand'] = expand;
|
|
168
172
|
}
|
|
169
173
|
|
|
170
|
-
|
|
171
|
-
|
|
174
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
175
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
176
|
+
if (authorizationValue) {
|
|
177
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
172
178
|
}
|
|
173
179
|
|
|
174
180
|
|
|
@@ -243,8 +249,10 @@ export const CommissionAgreementsApiAxiosParamCreator = function (configuration?
|
|
|
243
249
|
localVarQueryParameter['filters'] = filters;
|
|
244
250
|
}
|
|
245
251
|
|
|
246
|
-
|
|
247
|
-
|
|
252
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
253
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
254
|
+
if (authorizationValue) {
|
|
255
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
248
256
|
}
|
|
249
257
|
|
|
250
258
|
|
|
@@ -291,8 +299,10 @@ export const CommissionAgreementsApiAxiosParamCreator = function (configuration?
|
|
|
291
299
|
// http bearer authentication required
|
|
292
300
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
293
301
|
|
|
294
|
-
|
|
295
|
-
|
|
302
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
303
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
304
|
+
if (authorizationValue) {
|
|
305
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
296
306
|
}
|
|
297
307
|
|
|
298
308
|
|
|
@@ -73,8 +73,10 @@ export const CommissionRecipientsApiAxiosParamCreator = function (configuration?
|
|
|
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 CommissionRecipientsApiAxiosParamCreator = function (configuration?
|
|
|
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
|
|
|
@@ -166,8 +170,10 @@ export const CommissionRecipientsApiAxiosParamCreator = function (configuration?
|
|
|
166
170
|
// http bearer authentication required
|
|
167
171
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
168
172
|
|
|
169
|
-
|
|
170
|
-
|
|
173
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
174
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
175
|
+
if (authorizationValue) {
|
|
176
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
171
177
|
}
|
|
172
178
|
|
|
173
179
|
|
|
@@ -242,8 +248,10 @@ export const CommissionRecipientsApiAxiosParamCreator = function (configuration?
|
|
|
242
248
|
localVarQueryParameter['filters'] = filters;
|
|
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
|
|
|
@@ -290,8 +298,10 @@ export const CommissionRecipientsApiAxiosParamCreator = function (configuration?
|
|
|
290
298
|
// http bearer authentication required
|
|
291
299
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
292
300
|
|
|
293
|
-
|
|
294
|
-
|
|
301
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
302
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
303
|
+
if (authorizationValue) {
|
|
304
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
295
305
|
}
|
|
296
306
|
|
|
297
307
|
|