@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/.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-node@1.104.1-beta.
|
|
20
|
+
npm install @emilgroup/insurance-sdk-node@1.104.1-beta.110 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/insurance-sdk-node@1.104.1-beta.
|
|
24
|
+
yarn add @emilgroup/insurance-sdk-node@1.104.1-beta.110
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `PoliciesApi`.
|
|
@@ -64,8 +64,10 @@ export const BookingFunnelVersionsApiAxiosParamCreator = function (configuration
|
|
|
64
64
|
// http bearer authentication required
|
|
65
65
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
66
66
|
|
|
67
|
-
|
|
68
|
-
|
|
67
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
68
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
69
|
+
if (authorizationValue) {
|
|
70
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
69
71
|
}
|
|
70
72
|
|
|
71
73
|
|
|
@@ -144,8 +146,10 @@ export const BookingFunnelVersionsApiAxiosParamCreator = function (configuration
|
|
|
144
146
|
localVarQueryParameter['filters'] = filters;
|
|
145
147
|
}
|
|
146
148
|
|
|
147
|
-
|
|
148
|
-
|
|
149
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
150
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
151
|
+
if (authorizationValue) {
|
|
152
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
149
153
|
}
|
|
150
154
|
|
|
151
155
|
|
|
@@ -77,8 +77,10 @@ export const BookingFunnelsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
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 BookingFunnelsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
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
|
|
|
@@ -170,8 +174,10 @@ export const BookingFunnelsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
170
174
|
// http bearer authentication required
|
|
171
175
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
172
176
|
|
|
173
|
-
|
|
174
|
-
|
|
177
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
178
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
179
|
+
if (authorizationValue) {
|
|
180
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
175
181
|
}
|
|
176
182
|
|
|
177
183
|
|
|
@@ -246,8 +252,10 @@ export const BookingFunnelsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
246
252
|
localVarQueryParameter['filters'] = filters;
|
|
247
253
|
}
|
|
248
254
|
|
|
249
|
-
|
|
250
|
-
|
|
255
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
256
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
257
|
+
if (authorizationValue) {
|
|
258
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
251
259
|
}
|
|
252
260
|
|
|
253
261
|
|
|
@@ -293,8 +301,10 @@ export const BookingFunnelsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
293
301
|
// http bearer authentication required
|
|
294
302
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
295
303
|
|
|
296
|
-
|
|
297
|
-
|
|
304
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
305
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
306
|
+
if (authorizationValue) {
|
|
307
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
298
308
|
}
|
|
299
309
|
|
|
300
310
|
|
|
@@ -344,8 +354,10 @@ export const BookingFunnelsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
344
354
|
// http bearer authentication required
|
|
345
355
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
346
356
|
|
|
347
|
-
|
|
348
|
-
|
|
357
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
358
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
359
|
+
if (authorizationValue) {
|
|
360
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
349
361
|
}
|
|
350
362
|
|
|
351
363
|
|
|
@@ -77,8 +77,10 @@ export const CommissionAgreementItemsApiAxiosParamCreator = function (configurat
|
|
|
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 CommissionAgreementItemsApiAxiosParamCreator = function (configurat
|
|
|
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
|
|
|
@@ -177,8 +181,10 @@ export const CommissionAgreementItemsApiAxiosParamCreator = function (configurat
|
|
|
177
181
|
localVarQueryParameter['expand'] = expand;
|
|
178
182
|
}
|
|
179
183
|
|
|
180
|
-
|
|
181
|
-
|
|
184
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
185
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
186
|
+
if (authorizationValue) {
|
|
187
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
182
188
|
}
|
|
183
189
|
|
|
184
190
|
|
|
@@ -253,8 +259,10 @@ export const CommissionAgreementItemsApiAxiosParamCreator = function (configurat
|
|
|
253
259
|
localVarQueryParameter['filters'] = filters;
|
|
254
260
|
}
|
|
255
261
|
|
|
256
|
-
|
|
257
|
-
|
|
262
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
263
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
264
|
+
if (authorizationValue) {
|
|
265
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
258
266
|
}
|
|
259
267
|
|
|
260
268
|
|
|
@@ -301,8 +309,10 @@ export const CommissionAgreementItemsApiAxiosParamCreator = function (configurat
|
|
|
301
309
|
// http bearer authentication required
|
|
302
310
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
303
311
|
|
|
304
|
-
|
|
305
|
-
|
|
312
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
313
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
314
|
+
if (authorizationValue) {
|
|
315
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
306
316
|
}
|
|
307
317
|
|
|
308
318
|
|
|
@@ -77,8 +77,10 @@ export const CommissionAgreementProductsApiAxiosParamCreator = function (configu
|
|
|
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 CommissionAgreementProductsApiAxiosParamCreator = function (configu
|
|
|
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 CommissionAgreementProductsApiAxiosParamCreator = function (configu
|
|
|
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 CommissionAgreementProductsApiAxiosParamCreator = function (configu
|
|
|
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 CommissionAgreementProductsApiAxiosParamCreator = function (configu
|
|
|
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
|
|
|
@@ -73,8 +73,10 @@ export const CommissionAgreementVersionsApiAxiosParamCreator = 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 CommissionAgreementVersionsApiAxiosParamCreator = 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
|
|
|
@@ -173,8 +177,10 @@ export const CommissionAgreementVersionsApiAxiosParamCreator = function (configu
|
|
|
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 CommissionAgreementVersionsApiAxiosParamCreator = function (configu
|
|
|
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
|
|
|
@@ -73,8 +73,10 @@ export const CommissionAgreementsApiAxiosParamCreator = 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 CommissionAgreementsApiAxiosParamCreator = 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
|
|
|
@@ -171,8 +175,10 @@ export const CommissionAgreementsApiAxiosParamCreator = function (configuration?
|
|
|
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 CommissionAgreementsApiAxiosParamCreator = function (configuration?
|
|
|
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 CommissionAgreementsApiAxiosParamCreator = function (configuration?
|
|
|
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
|
|
|
@@ -77,8 +77,10 @@ export const CommissionRecipientsApiAxiosParamCreator = 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 CommissionRecipientsApiAxiosParamCreator = 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
|
|
|
@@ -170,8 +174,10 @@ export const CommissionRecipientsApiAxiosParamCreator = function (configuration?
|
|
|
170
174
|
// http bearer authentication required
|
|
171
175
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
172
176
|
|
|
173
|
-
|
|
174
|
-
|
|
177
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
178
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
179
|
+
if (authorizationValue) {
|
|
180
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
175
181
|
}
|
|
176
182
|
|
|
177
183
|
|
|
@@ -246,8 +252,10 @@ export const CommissionRecipientsApiAxiosParamCreator = function (configuration?
|
|
|
246
252
|
localVarQueryParameter['filters'] = filters;
|
|
247
253
|
}
|
|
248
254
|
|
|
249
|
-
|
|
250
|
-
|
|
255
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
256
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
257
|
+
if (authorizationValue) {
|
|
258
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
251
259
|
}
|
|
252
260
|
|
|
253
261
|
|
|
@@ -294,8 +302,10 @@ export const CommissionRecipientsApiAxiosParamCreator = function (configuration?
|
|
|
294
302
|
// http bearer authentication required
|
|
295
303
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
296
304
|
|
|
297
|
-
|
|
298
|
-
|
|
305
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
306
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
307
|
+
if (authorizationValue) {
|
|
308
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
299
309
|
}
|
|
300
310
|
|
|
301
311
|
|