@emilgroup/insurance-sdk-node 1.104.1-beta.11 → 1.104.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 +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/common.ts +3 -2
- 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 +231 -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/common.d.ts +1 -1
- package/dist/common.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 +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/api/named-ranges-api.ts
CHANGED
|
@@ -75,8 +75,10 @@ export const NamedRangesApiAxiosParamCreator = function (configuration?: Configu
|
|
|
75
75
|
// http bearer authentication required
|
|
76
76
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
77
77
|
|
|
78
|
-
|
|
79
|
-
|
|
78
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
79
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
80
|
+
if (authorizationValue) {
|
|
81
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
80
82
|
}
|
|
81
83
|
|
|
82
84
|
|
|
@@ -123,8 +125,10 @@ export const NamedRangesApiAxiosParamCreator = function (configuration?: Configu
|
|
|
123
125
|
// http bearer authentication required
|
|
124
126
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
125
127
|
|
|
126
|
-
|
|
127
|
-
|
|
128
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
129
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
130
|
+
if (authorizationValue) {
|
|
131
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
128
132
|
}
|
|
129
133
|
|
|
130
134
|
|
|
@@ -193,8 +197,10 @@ export const NamedRangesApiAxiosParamCreator = function (configuration?: Configu
|
|
|
193
197
|
localVarQueryParameter['order'] = order;
|
|
194
198
|
}
|
|
195
199
|
|
|
196
|
-
|
|
197
|
-
|
|
200
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
201
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
202
|
+
if (authorizationValue) {
|
|
203
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
198
204
|
}
|
|
199
205
|
|
|
200
206
|
|
|
@@ -238,8 +244,10 @@ export const NamedRangesApiAxiosParamCreator = function (configuration?: Configu
|
|
|
238
244
|
// http bearer authentication required
|
|
239
245
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
240
246
|
|
|
241
|
-
|
|
242
|
-
|
|
247
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
248
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
249
|
+
if (authorizationValue) {
|
|
250
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
243
251
|
}
|
|
244
252
|
|
|
245
253
|
|
|
@@ -314,8 +322,10 @@ export const NamedRangesApiAxiosParamCreator = function (configuration?: Configu
|
|
|
314
322
|
localVarQueryParameter['filters'] = filters;
|
|
315
323
|
}
|
|
316
324
|
|
|
317
|
-
|
|
318
|
-
|
|
325
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
326
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
327
|
+
if (authorizationValue) {
|
|
328
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
319
329
|
}
|
|
320
330
|
|
|
321
331
|
|
|
@@ -362,8 +372,10 @@ export const NamedRangesApiAxiosParamCreator = function (configuration?: Configu
|
|
|
362
372
|
// http bearer authentication required
|
|
363
373
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
364
374
|
|
|
365
|
-
|
|
366
|
-
|
|
375
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
376
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
377
|
+
if (authorizationValue) {
|
|
378
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
367
379
|
}
|
|
368
380
|
|
|
369
381
|
|
package/api/partner-links-api.ts
CHANGED
|
@@ -76,8 +76,10 @@ export const PartnerLinksApiAxiosParamCreator = function (configuration?: Config
|
|
|
76
76
|
// http bearer authentication required
|
|
77
77
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
78
78
|
|
|
79
|
-
|
|
80
|
-
|
|
79
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
80
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
81
|
+
if (authorizationValue) {
|
|
82
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
81
83
|
}
|
|
82
84
|
|
|
83
85
|
|
|
@@ -126,8 +128,10 @@ export const PartnerLinksApiAxiosParamCreator = function (configuration?: Config
|
|
|
126
128
|
localVarQueryParameter['expand'] = expand;
|
|
127
129
|
}
|
|
128
130
|
|
|
129
|
-
|
|
130
|
-
|
|
131
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
132
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
133
|
+
if (authorizationValue) {
|
|
134
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
131
135
|
}
|
|
132
136
|
|
|
133
137
|
|
|
@@ -170,8 +174,10 @@ export const PartnerLinksApiAxiosParamCreator = function (configuration?: Config
|
|
|
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
|
|
|
@@ -249,8 +255,10 @@ export const PartnerLinksApiAxiosParamCreator = function (configuration?: Config
|
|
|
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
|
|
|
@@ -294,8 +302,10 @@ export const PartnerLinksApiAxiosParamCreator = function (configuration?: Config
|
|
|
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
|
|
|
@@ -342,8 +352,10 @@ export const PartnerLinksApiAxiosParamCreator = function (configuration?: Config
|
|
|
342
352
|
// http bearer authentication required
|
|
343
353
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
344
354
|
|
|
345
|
-
|
|
346
|
-
|
|
355
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
356
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
357
|
+
if (authorizationValue) {
|
|
358
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
347
359
|
}
|
|
348
360
|
|
|
349
361
|
|
package/api/partner-roles-api.ts
CHANGED
|
@@ -73,8 +73,10 @@ export const PartnerRolesApiAxiosParamCreator = function (configuration?: Config
|
|
|
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 PartnerRolesApiAxiosParamCreator = function (configuration?: Config
|
|
|
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 PartnerRolesApiAxiosParamCreator = function (configuration?: Config
|
|
|
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 PartnerRolesApiAxiosParamCreator = function (configuration?: Config
|
|
|
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 PartnerRolesApiAxiosParamCreator = function (configuration?: Config
|
|
|
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
|
|