@emilgroup/insurance-sdk-node 1.48.1-beta.2 → 1.49.0
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 +8 -21
- package/README.md +2 -2
- package/api/booking-funnels-api.ts +4 -4
- package/api/default-api.ts +4 -8
- package/api/insured-object-types-api.ts +4 -4
- package/api/insured-objects-api.ts +6 -9
- package/api/lead-statuses-api.ts +12 -96
- package/api/named-ranges-api.ts +4 -4
- package/api/policies-api.ts +180 -167
- package/api/policy-partner-roles-api.ts +683 -0
- package/api/premium-formulas-api.ts +4 -4
- package/api/product-factors-api.ts +4 -4
- package/api/product-fields-api.ts +8 -8
- package/api/products-api.ts +12 -12
- package/api.ts +2 -4
- package/dist/api/booking-funnels-api.d.ts +4 -4
- package/dist/api/booking-funnels-api.js +4 -4
- package/dist/api/default-api.d.ts +4 -8
- package/dist/api/default-api.js +4 -8
- package/dist/api/insured-object-types-api.d.ts +4 -4
- package/dist/api/insured-object-types-api.js +3 -3
- package/dist/api/insured-objects-api.d.ts +4 -4
- package/dist/api/insured-objects-api.js +5 -7
- package/dist/api/lead-statuses-api.d.ts +9 -63
- package/dist/api/lead-statuses-api.js +9 -45
- package/dist/api/named-ranges-api.d.ts +4 -4
- package/dist/api/named-ranges-api.js +3 -3
- package/dist/api/policies-api.d.ts +140 -131
- package/dist/api/policies-api.js +120 -114
- package/dist/api/policy-partner-roles-api.d.ts +385 -0
- package/dist/api/{partner-roles-api.js → policy-partner-roles-api.js} +139 -139
- package/dist/api/premium-formulas-api.d.ts +4 -4
- package/dist/api/premium-formulas-api.js +3 -3
- package/dist/api/product-factors-api.d.ts +4 -4
- package/dist/api/product-factors-api.js +3 -3
- package/dist/api/product-fields-api.d.ts +8 -8
- package/dist/api/product-fields-api.js +6 -6
- package/dist/api/products-api.d.ts +12 -12
- package/dist/api/products-api.js +9 -9
- package/dist/api.d.ts +1 -2
- package/dist/api.js +1 -2
- package/dist/models/booking-funnel-class.d.ts +1 -1
- package/dist/models/create-booking-funnel-request-dto.d.ts +1 -1
- package/dist/models/{update-partner-role-request-dto.d.ts → create-policy-partner-role-request-dto.d.ts} +6 -6
- package/dist/models/{emil-function-secret-class.d.ts → create-policy-partner-role-response-class.d.ts} +7 -12
- package/dist/models/create-product-request-dto.d.ts +1 -1
- package/dist/models/{create-partner-role-response-class.d.ts → get-policy-partner-role-response-class.d.ts} +7 -7
- package/dist/models/get-product-request-dto.d.ts +1 -1
- package/dist/models/index.d.ts +7 -19
- package/dist/models/index.js +7 -19
- package/dist/models/insured-object-type-class.d.ts +1 -1
- package/dist/models/invoice-item-class.d.ts +0 -12
- package/dist/models/lead-class.d.ts +1 -8
- package/dist/models/lead-status-class.d.ts +1 -1
- package/dist/models/{list-emil-functions-response-class.d.ts → list-policy-partner-roles-response-class.d.ts} +8 -8
- package/dist/models/list-policy-versions-request-dto.d.ts +1 -1
- package/dist/models/list-request-dto.d.ts +1 -1
- package/dist/models/patch-draft-policy-request-dto.d.ts +1 -1
- package/dist/models/policy-class.d.ts +0 -7
- package/dist/models/{partner-role-class.d.ts → policy-partner-role-class.d.ts} +10 -10
- package/dist/models/product-class.d.ts +1 -1
- package/dist/models/shared-update-named-range-request-dto.d.ts +1 -1
- package/dist/models/status-transition-rule-class.d.ts +1 -1
- package/dist/models/update-named-range-request-dto.d.ts +1 -1
- package/dist/models/{create-partner-role-request-dto.d.ts → update-policy-partner-role-request-dto.d.ts} +6 -6
- package/dist/models/{execute-emil-function-request-dto.d.ts → update-policy-partner-role-response-class.d.ts} +7 -6
- package/dist/models/update-product-request-dto.d.ts +1 -1
- package/models/booking-funnel-class.ts +1 -1
- package/models/create-booking-funnel-request-dto.ts +1 -1
- package/models/{update-partner-role-request-dto.ts → create-policy-partner-role-request-dto.ts} +6 -6
- package/models/{emil-function-secret-class.ts → create-policy-partner-role-response-class.ts} +7 -12
- package/models/create-product-request-dto.ts +1 -1
- package/models/{create-partner-role-response-class.ts → get-policy-partner-role-response-class.ts} +7 -7
- package/models/get-product-request-dto.ts +1 -1
- package/models/index.ts +7 -19
- package/models/insured-object-type-class.ts +1 -1
- package/models/invoice-item-class.ts +0 -12
- package/models/lead-class.ts +1 -8
- package/models/lead-status-class.ts +1 -1
- package/models/{list-emil-functions-response-class.ts → list-policy-partner-roles-response-class.ts} +8 -8
- package/models/list-policy-versions-request-dto.ts +1 -1
- package/models/list-request-dto.ts +1 -1
- package/models/patch-draft-policy-request-dto.ts +1 -1
- package/models/policy-class.ts +0 -7
- package/models/{partner-role-class.ts → policy-partner-role-class.ts} +10 -10
- package/models/product-class.ts +1 -1
- package/models/shared-update-named-range-request-dto.ts +1 -1
- package/models/status-transition-rule-class.ts +1 -1
- package/models/update-named-range-request-dto.ts +1 -1
- package/models/{create-partner-role-request-dto.ts → update-policy-partner-role-request-dto.ts} +6 -6
- package/models/{execute-emil-function-request-dto.ts → update-policy-partner-role-response-class.ts} +7 -6
- package/models/update-product-request-dto.ts +1 -1
- package/package.json +1 -1
- package/api/emil-functions-api.ts +0 -1314
- package/api/partner-roles-api.ts +0 -683
- package/dist/api/emil-functions-api.d.ts +0 -727
- package/dist/api/emil-functions-api.js +0 -1202
- package/dist/api/partner-roles-api.d.ts +0 -385
- package/dist/models/create-emil-function-request-dto.d.ts +0 -42
- package/dist/models/create-emil-function-secret-request-dto.d.ts +0 -36
- package/dist/models/emil-function-class.d.ts +0 -60
- package/dist/models/get-emil-function-secret-response-class.d.ts +0 -24
- package/dist/models/get-emil-function-secret-response-class.js +0 -15
- package/dist/models/get-partner-role-response-class.d.ts +0 -25
- package/dist/models/get-partner-role-response-class.js +0 -15
- package/dist/models/list-emil-function-secrets-response-class.d.ts +0 -25
- package/dist/models/list-emil-function-secrets-response-class.js +0 -15
- package/dist/models/list-emil-functions-response-class.js +0 -15
- package/dist/models/list-partner-roles-response-class.d.ts +0 -31
- package/dist/models/list-partner-roles-response-class.js +0 -15
- package/dist/models/partner-class.d.ts +0 -60
- package/dist/models/partner-class.js +0 -15
- package/dist/models/partner-link-class.d.ts +0 -86
- package/dist/models/partner-link-class.js +0 -15
- package/dist/models/partner-role-class.js +0 -15
- package/dist/models/update-emil-function-request-dto.d.ts +0 -42
- package/dist/models/update-emil-function-request-dto.js +0 -15
- package/dist/models/update-emil-function-secret-request-dto.d.ts +0 -30
- package/dist/models/update-emil-function-secret-request-dto.js +0 -15
- package/dist/models/update-partner-role-request-dto.js +0 -15
- package/dist/models/update-partner-role-response-class.d.ts +0 -25
- package/dist/models/update-partner-role-response-class.js +0 -15
- package/models/create-emil-function-request-dto.ts +0 -48
- package/models/create-emil-function-secret-request-dto.ts +0 -42
- package/models/emil-function-class.ts +0 -66
- package/models/get-emil-function-secret-response-class.ts +0 -30
- package/models/get-partner-role-response-class.ts +0 -31
- package/models/list-emil-function-secrets-response-class.ts +0 -31
- package/models/list-partner-roles-response-class.ts +0 -37
- package/models/partner-class.ts +0 -66
- package/models/partner-link-class.ts +0 -92
- package/models/update-emil-function-request-dto.ts +0 -48
- package/models/update-emil-function-secret-request-dto.ts +0 -36
- package/models/update-partner-role-response-class.ts +0 -31
- /package/dist/models/{create-emil-function-request-dto.js → create-policy-partner-role-request-dto.js} +0 -0
- /package/dist/models/{create-emil-function-secret-request-dto.js → create-policy-partner-role-response-class.js} +0 -0
- /package/dist/models/{create-partner-role-request-dto.js → get-policy-partner-role-response-class.js} +0 -0
- /package/dist/models/{create-partner-role-response-class.js → list-policy-partner-roles-response-class.js} +0 -0
- /package/dist/models/{emil-function-class.js → policy-partner-role-class.js} +0 -0
- /package/dist/models/{emil-function-secret-class.js → update-policy-partner-role-request-dto.js} +0 -0
- /package/dist/models/{execute-emil-function-request-dto.js → update-policy-partner-role-response-class.js} +0 -0
|
@@ -195,7 +195,7 @@ export const PremiumFormulasApiAxiosParamCreator = function (configuration?: Con
|
|
|
195
195
|
* @param {string} [search] Search query.
|
|
196
196
|
* @param {string} [order] Ordering criteria.
|
|
197
197
|
* @param {string} [expand] Extra fields to fetch.
|
|
198
|
-
* @param {string} [filters]
|
|
198
|
+
* @param {string} [filters]
|
|
199
199
|
* @param {*} [options] Override http request option.
|
|
200
200
|
* @throws {RequiredError}
|
|
201
201
|
*/
|
|
@@ -415,7 +415,7 @@ export const PremiumFormulasApiFp = function(configuration?: Configuration) {
|
|
|
415
415
|
* @param {string} [search] Search query.
|
|
416
416
|
* @param {string} [order] Ordering criteria.
|
|
417
417
|
* @param {string} [expand] Extra fields to fetch.
|
|
418
|
-
* @param {string} [filters]
|
|
418
|
+
* @param {string} [filters]
|
|
419
419
|
* @param {*} [options] Override http request option.
|
|
420
420
|
* @throws {RequiredError}
|
|
421
421
|
*/
|
|
@@ -501,7 +501,7 @@ export const PremiumFormulasApiFactory = function (configuration?: Configuration
|
|
|
501
501
|
* @param {string} [search] Search query.
|
|
502
502
|
* @param {string} [order] Ordering criteria.
|
|
503
503
|
* @param {string} [expand] Extra fields to fetch.
|
|
504
|
-
* @param {string} [filters]
|
|
504
|
+
* @param {string} [filters]
|
|
505
505
|
* @param {*} [options] Override http request option.
|
|
506
506
|
* @throws {RequiredError}
|
|
507
507
|
*/
|
|
@@ -653,7 +653,7 @@ export interface PremiumFormulasApiListPremiumFormulasRequest {
|
|
|
653
653
|
readonly expand?: string
|
|
654
654
|
|
|
655
655
|
/**
|
|
656
|
-
*
|
|
656
|
+
*
|
|
657
657
|
* @type {string}
|
|
658
658
|
* @memberof PremiumFormulasApiListPremiumFormulas
|
|
659
659
|
*/
|
|
@@ -238,7 +238,7 @@ export const ProductFactorsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
238
238
|
* @param {string} [search] Search query.
|
|
239
239
|
* @param {string} [order] Ordering criteria.
|
|
240
240
|
* @param {string} [expand] Extra fields to fetch.
|
|
241
|
-
* @param {string} [filters]
|
|
241
|
+
* @param {string} [filters]
|
|
242
242
|
* @param {*} [options] Override http request option.
|
|
243
243
|
* @throws {RequiredError}
|
|
244
244
|
*/
|
|
@@ -474,7 +474,7 @@ export const ProductFactorsApiFp = function(configuration?: Configuration) {
|
|
|
474
474
|
* @param {string} [search] Search query.
|
|
475
475
|
* @param {string} [order] Ordering criteria.
|
|
476
476
|
* @param {string} [expand] Extra fields to fetch.
|
|
477
|
-
* @param {string} [filters]
|
|
477
|
+
* @param {string} [filters]
|
|
478
478
|
* @param {*} [options] Override http request option.
|
|
479
479
|
* @throws {RequiredError}
|
|
480
480
|
*/
|
|
@@ -567,7 +567,7 @@ export const ProductFactorsApiFactory = function (configuration?: Configuration,
|
|
|
567
567
|
* @param {string} [search] Search query.
|
|
568
568
|
* @param {string} [order] Ordering criteria.
|
|
569
569
|
* @param {string} [expand] Extra fields to fetch.
|
|
570
|
-
* @param {string} [filters]
|
|
570
|
+
* @param {string} [filters]
|
|
571
571
|
* @param {*} [options] Override http request option.
|
|
572
572
|
* @throws {RequiredError}
|
|
573
573
|
*/
|
|
@@ -768,7 +768,7 @@ export interface ProductFactorsApiListProductFactorsRequest {
|
|
|
768
768
|
readonly expand?: string
|
|
769
769
|
|
|
770
770
|
/**
|
|
771
|
-
*
|
|
771
|
+
*
|
|
772
772
|
* @type {string}
|
|
773
773
|
* @memberof ProductFactorsApiListProductFactors
|
|
774
774
|
*/
|
|
@@ -193,7 +193,7 @@ export const ProductFieldsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
193
193
|
* @param {string} [search] Search query.
|
|
194
194
|
* @param {string} [order] Ordering criteria.
|
|
195
195
|
* @param {string} [expand] Extra fields to fetch.
|
|
196
|
-
* @param {string} [filters]
|
|
196
|
+
* @param {string} [filters]
|
|
197
197
|
* @param {*} [options] Override http request option.
|
|
198
198
|
* @throws {RequiredError}
|
|
199
199
|
*/
|
|
@@ -269,7 +269,7 @@ export const ProductFieldsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
269
269
|
* @param {string} [search] Search query.
|
|
270
270
|
* @param {string} [order] Ordering criteria.
|
|
271
271
|
* @param {string} [expand] Extra fields to fetch.
|
|
272
|
-
* @param {string} [filters]
|
|
272
|
+
* @param {string} [filters]
|
|
273
273
|
* @param {*} [options] Override http request option.
|
|
274
274
|
* @throws {RequiredError}
|
|
275
275
|
*/
|
|
@@ -442,7 +442,7 @@ export const ProductFieldsApiFp = function(configuration?: Configuration) {
|
|
|
442
442
|
* @param {string} [search] Search query.
|
|
443
443
|
* @param {string} [order] Ordering criteria.
|
|
444
444
|
* @param {string} [expand] Extra fields to fetch.
|
|
445
|
-
* @param {string} [filters]
|
|
445
|
+
* @param {string} [filters]
|
|
446
446
|
* @param {*} [options] Override http request option.
|
|
447
447
|
* @throws {RequiredError}
|
|
448
448
|
*/
|
|
@@ -460,7 +460,7 @@ export const ProductFieldsApiFp = function(configuration?: Configuration) {
|
|
|
460
460
|
* @param {string} [search] Search query.
|
|
461
461
|
* @param {string} [order] Ordering criteria.
|
|
462
462
|
* @param {string} [expand] Extra fields to fetch.
|
|
463
|
-
* @param {string} [filters]
|
|
463
|
+
* @param {string} [filters]
|
|
464
464
|
* @param {*} [options] Override http request option.
|
|
465
465
|
* @throws {RequiredError}
|
|
466
466
|
*/
|
|
@@ -534,7 +534,7 @@ export const ProductFieldsApiFactory = function (configuration?: Configuration,
|
|
|
534
534
|
* @param {string} [search] Search query.
|
|
535
535
|
* @param {string} [order] Ordering criteria.
|
|
536
536
|
* @param {string} [expand] Extra fields to fetch.
|
|
537
|
-
* @param {string} [filters]
|
|
537
|
+
* @param {string} [filters]
|
|
538
538
|
* @param {*} [options] Override http request option.
|
|
539
539
|
* @throws {RequiredError}
|
|
540
540
|
*/
|
|
@@ -551,7 +551,7 @@ export const ProductFieldsApiFactory = function (configuration?: Configuration,
|
|
|
551
551
|
* @param {string} [search] Search query.
|
|
552
552
|
* @param {string} [order] Ordering criteria.
|
|
553
553
|
* @param {string} [expand] Extra fields to fetch.
|
|
554
|
-
* @param {string} [filters]
|
|
554
|
+
* @param {string} [filters]
|
|
555
555
|
* @param {*} [options] Override http request option.
|
|
556
556
|
* @throws {RequiredError}
|
|
557
557
|
*/
|
|
@@ -692,7 +692,7 @@ export interface ProductFieldsApiListProductFieldTypesRequest {
|
|
|
692
692
|
readonly expand?: string
|
|
693
693
|
|
|
694
694
|
/**
|
|
695
|
-
*
|
|
695
|
+
*
|
|
696
696
|
* @type {string}
|
|
697
697
|
* @memberof ProductFieldsApiListProductFieldTypes
|
|
698
698
|
*/
|
|
@@ -755,7 +755,7 @@ export interface ProductFieldsApiListProductFieldsRequest {
|
|
|
755
755
|
readonly expand?: string
|
|
756
756
|
|
|
757
757
|
/**
|
|
758
|
-
*
|
|
758
|
+
*
|
|
759
759
|
* @type {string}
|
|
760
760
|
* @memberof ProductFieldsApiListProductFields
|
|
761
761
|
*/
|
package/api/products-api.ts
CHANGED
|
@@ -141,7 +141,7 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
141
141
|
* @summary Retrieve the product
|
|
142
142
|
* @param {string} code Unique identifier for the object.
|
|
143
143
|
* @param {number} id Unique identifier referencing the product.
|
|
144
|
-
* @param {string} slug A slug is a human-readable, unique identifier, used to identify a resource
|
|
144
|
+
* @param {string} slug A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
145
145
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
146
146
|
* @param {string} [expand] Fields to expand response by
|
|
147
147
|
* @param {*} [options] Override http request option.
|
|
@@ -205,7 +205,7 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
205
205
|
* @summary Retrieve the product
|
|
206
206
|
* @param {number} id Unique identifier referencing the product.
|
|
207
207
|
* @param {string} code Unique identifier of the product that this object belongs to.
|
|
208
|
-
* @param {string} slug A slug is a human-readable, unique identifier, used to identify a resource
|
|
208
|
+
* @param {string} slug A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
209
209
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
210
210
|
* @param {string} [expand] Fields to expand response by
|
|
211
211
|
* @param {*} [options] Override http request option.
|
|
@@ -277,7 +277,7 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
277
277
|
* @param {string} [search] Search query.
|
|
278
278
|
* @param {string} [order] Ordering criteria.
|
|
279
279
|
* @param {string} [expand] You can expand product versions and insured object types list in this endpoint. By default, versions & insuredObjectTypes will be an empty array.
|
|
280
|
-
* @param {string} [filters]
|
|
280
|
+
* @param {string} [filters]
|
|
281
281
|
* @param {*} [options] Override http request option.
|
|
282
282
|
* @throws {RequiredError}
|
|
283
283
|
*/
|
|
@@ -433,7 +433,7 @@ export const ProductsApiFp = function(configuration?: Configuration) {
|
|
|
433
433
|
* @summary Retrieve the product
|
|
434
434
|
* @param {string} code Unique identifier for the object.
|
|
435
435
|
* @param {number} id Unique identifier referencing the product.
|
|
436
|
-
* @param {string} slug A slug is a human-readable, unique identifier, used to identify a resource
|
|
436
|
+
* @param {string} slug A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
437
437
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
438
438
|
* @param {string} [expand] Fields to expand response by
|
|
439
439
|
* @param {*} [options] Override http request option.
|
|
@@ -448,7 +448,7 @@ export const ProductsApiFp = function(configuration?: Configuration) {
|
|
|
448
448
|
* @summary Retrieve the product
|
|
449
449
|
* @param {number} id Unique identifier referencing the product.
|
|
450
450
|
* @param {string} code Unique identifier of the product that this object belongs to.
|
|
451
|
-
* @param {string} slug A slug is a human-readable, unique identifier, used to identify a resource
|
|
451
|
+
* @param {string} slug A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
452
452
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
453
453
|
* @param {string} [expand] Fields to expand response by
|
|
454
454
|
* @param {*} [options] Override http request option.
|
|
@@ -468,7 +468,7 @@ export const ProductsApiFp = function(configuration?: Configuration) {
|
|
|
468
468
|
* @param {string} [search] Search query.
|
|
469
469
|
* @param {string} [order] Ordering criteria.
|
|
470
470
|
* @param {string} [expand] You can expand product versions and insured object types list in this endpoint. By default, versions & insuredObjectTypes will be an empty array.
|
|
471
|
-
* @param {string} [filters]
|
|
471
|
+
* @param {string} [filters]
|
|
472
472
|
* @param {*} [options] Override http request option.
|
|
473
473
|
* @throws {RequiredError}
|
|
474
474
|
*/
|
|
@@ -526,7 +526,7 @@ export const ProductsApiFactory = function (configuration?: Configuration, baseP
|
|
|
526
526
|
* @summary Retrieve the product
|
|
527
527
|
* @param {string} code Unique identifier for the object.
|
|
528
528
|
* @param {number} id Unique identifier referencing the product.
|
|
529
|
-
* @param {string} slug A slug is a human-readable, unique identifier, used to identify a resource
|
|
529
|
+
* @param {string} slug A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
530
530
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
531
531
|
* @param {string} [expand] Fields to expand response by
|
|
532
532
|
* @param {*} [options] Override http request option.
|
|
@@ -540,7 +540,7 @@ export const ProductsApiFactory = function (configuration?: Configuration, baseP
|
|
|
540
540
|
* @summary Retrieve the product
|
|
541
541
|
* @param {number} id Unique identifier referencing the product.
|
|
542
542
|
* @param {string} code Unique identifier of the product that this object belongs to.
|
|
543
|
-
* @param {string} slug A slug is a human-readable, unique identifier, used to identify a resource
|
|
543
|
+
* @param {string} slug A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
544
544
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
545
545
|
* @param {string} [expand] Fields to expand response by
|
|
546
546
|
* @param {*} [options] Override http request option.
|
|
@@ -559,7 +559,7 @@ export const ProductsApiFactory = function (configuration?: Configuration, baseP
|
|
|
559
559
|
* @param {string} [search] Search query.
|
|
560
560
|
* @param {string} [order] Ordering criteria.
|
|
561
561
|
* @param {string} [expand] You can expand product versions and insured object types list in this endpoint. By default, versions & insuredObjectTypes will be an empty array.
|
|
562
|
-
* @param {string} [filters]
|
|
562
|
+
* @param {string} [filters]
|
|
563
563
|
* @param {*} [options] Override http request option.
|
|
564
564
|
* @throws {RequiredError}
|
|
565
565
|
*/
|
|
@@ -644,7 +644,7 @@ export interface ProductsApiGetProductByCodeRequest {
|
|
|
644
644
|
readonly id: number
|
|
645
645
|
|
|
646
646
|
/**
|
|
647
|
-
* A slug is a human-readable, unique identifier, used to identify a resource
|
|
647
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
648
648
|
* @type {string}
|
|
649
649
|
* @memberof ProductsApiGetProductByCode
|
|
650
650
|
*/
|
|
@@ -686,7 +686,7 @@ export interface ProductsApiGetProductByIdentifierRequest {
|
|
|
686
686
|
readonly code: string
|
|
687
687
|
|
|
688
688
|
/**
|
|
689
|
-
* A slug is a human-readable, unique identifier, used to identify a resource
|
|
689
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
690
690
|
* @type {string}
|
|
691
691
|
* @memberof ProductsApiGetProductByIdentifier
|
|
692
692
|
*/
|
|
@@ -763,7 +763,7 @@ export interface ProductsApiListProductsRequest {
|
|
|
763
763
|
readonly expand?: string
|
|
764
764
|
|
|
765
765
|
/**
|
|
766
|
-
*
|
|
766
|
+
*
|
|
767
767
|
* @type {string}
|
|
768
768
|
* @memberof ProductsApiListProducts
|
|
769
769
|
*/
|
package/api.ts
CHANGED
|
@@ -27,15 +27,14 @@ import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } fr
|
|
|
27
27
|
import { BookingFunnelVersionsApi } from './api';
|
|
28
28
|
import { BookingFunnelsApi } from './api';
|
|
29
29
|
import { DefaultApi } from './api';
|
|
30
|
-
import { EmilFunctionsApi } from './api';
|
|
31
30
|
import { InsuredObjectTypesApi } from './api';
|
|
32
31
|
import { InsuredObjectsApi } from './api';
|
|
33
32
|
import { LeadStatusesApi } from './api';
|
|
34
33
|
import { LeadVersionsApi } from './api';
|
|
35
34
|
import { LeadsApi } from './api';
|
|
36
35
|
import { NamedRangesApi } from './api';
|
|
37
|
-
import { PartnerRolesApi } from './api';
|
|
38
36
|
import { PoliciesApi } from './api';
|
|
37
|
+
import { PolicyPartnerRolesApi } from './api';
|
|
39
38
|
import { PremiumFormulasApi } from './api';
|
|
40
39
|
import { ProductFactorsApi } from './api';
|
|
41
40
|
import { ProductFieldsApi } from './api';
|
|
@@ -47,15 +46,14 @@ import { StatusTransitionRulesApi } from './api';
|
|
|
47
46
|
export * from './api/booking-funnel-versions-api';
|
|
48
47
|
export * from './api/booking-funnels-api';
|
|
49
48
|
export * from './api/default-api';
|
|
50
|
-
export * from './api/emil-functions-api';
|
|
51
49
|
export * from './api/insured-object-types-api';
|
|
52
50
|
export * from './api/insured-objects-api';
|
|
53
51
|
export * from './api/lead-statuses-api';
|
|
54
52
|
export * from './api/lead-versions-api';
|
|
55
53
|
export * from './api/leads-api';
|
|
56
54
|
export * from './api/named-ranges-api';
|
|
57
|
-
export * from './api/partner-roles-api';
|
|
58
55
|
export * from './api/policies-api';
|
|
56
|
+
export * from './api/policy-partner-roles-api';
|
|
59
57
|
export * from './api/premium-formulas-api';
|
|
60
58
|
export * from './api/product-factors-api';
|
|
61
59
|
export * from './api/product-fields-api';
|
|
@@ -32,7 +32,7 @@ export declare const BookingFunnelsApiAxiosParamCreator: (configuration?: Config
|
|
|
32
32
|
*/
|
|
33
33
|
createBookingFunnel: (createBookingFunnelRequestDto: CreateBookingFunnelRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
34
34
|
/**
|
|
35
|
-
* Permanently deletes the booking funnel. Supply the unique code that was returned when you
|
|
35
|
+
* Permanently deletes the booking funnel. Supply the unique code that was returned when you created the booking funnel and this will delete it.
|
|
36
36
|
* @summary Delete the booking funnel
|
|
37
37
|
* @param {string} code
|
|
38
38
|
* @param {string} [authorization] Bearer Token
|
|
@@ -99,7 +99,7 @@ export declare const BookingFunnelsApiFp: (configuration?: Configuration) => {
|
|
|
99
99
|
*/
|
|
100
100
|
createBookingFunnel(createBookingFunnelRequestDto: CreateBookingFunnelRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
101
101
|
/**
|
|
102
|
-
* Permanently deletes the booking funnel. Supply the unique code that was returned when you
|
|
102
|
+
* Permanently deletes the booking funnel. Supply the unique code that was returned when you created the booking funnel and this will delete it.
|
|
103
103
|
* @summary Delete the booking funnel
|
|
104
104
|
* @param {string} code
|
|
105
105
|
* @param {string} [authorization] Bearer Token
|
|
@@ -166,7 +166,7 @@ export declare const BookingFunnelsApiFactory: (configuration?: Configuration, b
|
|
|
166
166
|
*/
|
|
167
167
|
createBookingFunnel(createBookingFunnelRequestDto: CreateBookingFunnelRequestDto, authorization?: string, options?: any): AxiosPromise<object>;
|
|
168
168
|
/**
|
|
169
|
-
* Permanently deletes the booking funnel. Supply the unique code that was returned when you
|
|
169
|
+
* Permanently deletes the booking funnel. Supply the unique code that was returned when you created the booking funnel and this will delete it.
|
|
170
170
|
* @summary Delete the booking funnel
|
|
171
171
|
* @param {string} code
|
|
172
172
|
* @param {string} [authorization] Bearer Token
|
|
@@ -397,7 +397,7 @@ export declare class BookingFunnelsApi extends BaseAPI {
|
|
|
397
397
|
*/
|
|
398
398
|
createBookingFunnel(requestParameters: BookingFunnelsApiCreateBookingFunnelRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
|
|
399
399
|
/**
|
|
400
|
-
* Permanently deletes the booking funnel. Supply the unique code that was returned when you
|
|
400
|
+
* Permanently deletes the booking funnel. Supply the unique code that was returned when you created the booking funnel and this will delete it.
|
|
401
401
|
* @summary Delete the booking funnel
|
|
402
402
|
* @param {BookingFunnelsApiDeleteBookingFunnelRequest} requestParameters Request parameters.
|
|
403
403
|
* @param {*} [options] Override http request option.
|
|
@@ -146,7 +146,7 @@ var BookingFunnelsApiAxiosParamCreator = function (configuration) {
|
|
|
146
146
|
});
|
|
147
147
|
},
|
|
148
148
|
/**
|
|
149
|
-
* Permanently deletes the booking funnel. Supply the unique code that was returned when you
|
|
149
|
+
* Permanently deletes the booking funnel. Supply the unique code that was returned when you created the booking funnel and this will delete it.
|
|
150
150
|
* @summary Delete the booking funnel
|
|
151
151
|
* @param {string} code
|
|
152
152
|
* @param {string} [authorization] Bearer Token
|
|
@@ -450,7 +450,7 @@ var BookingFunnelsApiFp = function (configuration) {
|
|
|
450
450
|
});
|
|
451
451
|
},
|
|
452
452
|
/**
|
|
453
|
-
* Permanently deletes the booking funnel. Supply the unique code that was returned when you
|
|
453
|
+
* Permanently deletes the booking funnel. Supply the unique code that was returned when you created the booking funnel and this will delete it.
|
|
454
454
|
* @summary Delete the booking funnel
|
|
455
455
|
* @param {string} code
|
|
456
456
|
* @param {string} [authorization] Bearer Token
|
|
@@ -583,7 +583,7 @@ var BookingFunnelsApiFactory = function (configuration, basePath, axios) {
|
|
|
583
583
|
return localVarFp.createBookingFunnel(createBookingFunnelRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
584
584
|
},
|
|
585
585
|
/**
|
|
586
|
-
* Permanently deletes the booking funnel. Supply the unique code that was returned when you
|
|
586
|
+
* Permanently deletes the booking funnel. Supply the unique code that was returned when you created the booking funnel and this will delete it.
|
|
587
587
|
* @summary Delete the booking funnel
|
|
588
588
|
* @param {string} code
|
|
589
589
|
* @param {string} [authorization] Bearer Token
|
|
@@ -671,7 +671,7 @@ var BookingFunnelsApi = /** @class */ (function (_super) {
|
|
|
671
671
|
return (0, exports.BookingFunnelsApiFp)(this.configuration).createBookingFunnel(requestParameters.createBookingFunnelRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
672
672
|
};
|
|
673
673
|
/**
|
|
674
|
-
* Permanently deletes the booking funnel. Supply the unique code that was returned when you
|
|
674
|
+
* Permanently deletes the booking funnel. Supply the unique code that was returned when you created the booking funnel and this will delete it.
|
|
675
675
|
* @summary Delete the booking funnel
|
|
676
676
|
* @param {BookingFunnelsApiDeleteBookingFunnelRequest} requestParameters Request parameters.
|
|
677
677
|
* @param {*} [options] Override http request option.
|
|
@@ -19,8 +19,7 @@ import { InlineResponse200 } from '../models';
|
|
|
19
19
|
*/
|
|
20
20
|
export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
21
21
|
/**
|
|
22
|
-
*
|
|
23
|
-
* @summary Checks the health of the service.
|
|
22
|
+
*
|
|
24
23
|
* @param {*} [options] Override http request option.
|
|
25
24
|
* @throws {RequiredError}
|
|
26
25
|
*/
|
|
@@ -32,8 +31,7 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
32
31
|
*/
|
|
33
32
|
export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
34
33
|
/**
|
|
35
|
-
*
|
|
36
|
-
* @summary Checks the health of the service.
|
|
34
|
+
*
|
|
37
35
|
* @param {*} [options] Override http request option.
|
|
38
36
|
* @throws {RequiredError}
|
|
39
37
|
*/
|
|
@@ -45,8 +43,7 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
45
43
|
*/
|
|
46
44
|
export declare const DefaultApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
47
45
|
/**
|
|
48
|
-
*
|
|
49
|
-
* @summary Checks the health of the service.
|
|
46
|
+
*
|
|
50
47
|
* @param {*} [options] Override http request option.
|
|
51
48
|
* @throws {RequiredError}
|
|
52
49
|
*/
|
|
@@ -60,8 +57,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
60
57
|
*/
|
|
61
58
|
export declare class DefaultApi extends BaseAPI {
|
|
62
59
|
/**
|
|
63
|
-
*
|
|
64
|
-
* @summary Checks the health of the service.
|
|
60
|
+
*
|
|
65
61
|
* @param {*} [options] Override http request option.
|
|
66
62
|
* @throws {RequiredError}
|
|
67
63
|
* @memberof DefaultApi
|
package/dist/api/default-api.js
CHANGED
|
@@ -97,8 +97,7 @@ var DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
97
97
|
var _this = this;
|
|
98
98
|
return {
|
|
99
99
|
/**
|
|
100
|
-
*
|
|
101
|
-
* @summary Checks the health of the service.
|
|
100
|
+
*
|
|
102
101
|
* @param {*} [options] Override http request option.
|
|
103
102
|
* @throws {RequiredError}
|
|
104
103
|
*/
|
|
@@ -137,8 +136,7 @@ var DefaultApiFp = function (configuration) {
|
|
|
137
136
|
var localVarAxiosParamCreator = (0, exports.DefaultApiAxiosParamCreator)(configuration);
|
|
138
137
|
return {
|
|
139
138
|
/**
|
|
140
|
-
*
|
|
141
|
-
* @summary Checks the health of the service.
|
|
139
|
+
*
|
|
142
140
|
* @param {*} [options] Override http request option.
|
|
143
141
|
* @throws {RequiredError}
|
|
144
142
|
*/
|
|
@@ -166,8 +164,7 @@ var DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
166
164
|
var localVarFp = (0, exports.DefaultApiFp)(configuration);
|
|
167
165
|
return {
|
|
168
166
|
/**
|
|
169
|
-
*
|
|
170
|
-
* @summary Checks the health of the service.
|
|
167
|
+
*
|
|
171
168
|
* @param {*} [options] Override http request option.
|
|
172
169
|
* @throws {RequiredError}
|
|
173
170
|
*/
|
|
@@ -189,8 +186,7 @@ var DefaultApi = /** @class */ (function (_super) {
|
|
|
189
186
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
190
187
|
}
|
|
191
188
|
/**
|
|
192
|
-
*
|
|
193
|
-
* @summary Checks the health of the service.
|
|
189
|
+
*
|
|
194
190
|
* @param {*} [options] Override http request option.
|
|
195
191
|
* @throws {RequiredError}
|
|
196
192
|
* @memberof DefaultApi
|
|
@@ -28,7 +28,7 @@ export declare const InsuredObjectTypesApiAxiosParamCreator: (configuration?: Co
|
|
|
28
28
|
* @param {string} [search] Search query.
|
|
29
29
|
* @param {string} [order] Ordering criteria.
|
|
30
30
|
* @param {string} [expand] Extra fields to fetch.
|
|
31
|
-
* @param {string} [filters]
|
|
31
|
+
* @param {string} [filters]
|
|
32
32
|
* @param {*} [options] Override http request option.
|
|
33
33
|
* @throws {RequiredError}
|
|
34
34
|
*/
|
|
@@ -49,7 +49,7 @@ export declare const InsuredObjectTypesApiFp: (configuration?: Configuration) =>
|
|
|
49
49
|
* @param {string} [search] Search query.
|
|
50
50
|
* @param {string} [order] Ordering criteria.
|
|
51
51
|
* @param {string} [expand] Extra fields to fetch.
|
|
52
|
-
* @param {string} [filters]
|
|
52
|
+
* @param {string} [filters]
|
|
53
53
|
* @param {*} [options] Override http request option.
|
|
54
54
|
* @throws {RequiredError}
|
|
55
55
|
*/
|
|
@@ -70,7 +70,7 @@ export declare const InsuredObjectTypesApiFactory: (configuration?: Configuratio
|
|
|
70
70
|
* @param {string} [search] Search query.
|
|
71
71
|
* @param {string} [order] Ordering criteria.
|
|
72
72
|
* @param {string} [expand] Extra fields to fetch.
|
|
73
|
-
* @param {string} [filters]
|
|
73
|
+
* @param {string} [filters]
|
|
74
74
|
* @param {*} [options] Override http request option.
|
|
75
75
|
* @throws {RequiredError}
|
|
76
76
|
*/
|
|
@@ -125,7 +125,7 @@ export interface InsuredObjectTypesApiListInsuredObjectTypesRequest {
|
|
|
125
125
|
*/
|
|
126
126
|
readonly expand?: string;
|
|
127
127
|
/**
|
|
128
|
-
*
|
|
128
|
+
*
|
|
129
129
|
* @type {string}
|
|
130
130
|
* @memberof InsuredObjectTypesApiListInsuredObjectTypes
|
|
131
131
|
*/
|
|
@@ -106,7 +106,7 @@ var InsuredObjectTypesApiAxiosParamCreator = function (configuration) {
|
|
|
106
106
|
* @param {string} [search] Search query.
|
|
107
107
|
* @param {string} [order] Ordering criteria.
|
|
108
108
|
* @param {string} [expand] Extra fields to fetch.
|
|
109
|
-
* @param {string} [filters]
|
|
109
|
+
* @param {string} [filters]
|
|
110
110
|
* @param {*} [options] Override http request option.
|
|
111
111
|
* @throws {RequiredError}
|
|
112
112
|
*/
|
|
@@ -188,7 +188,7 @@ var InsuredObjectTypesApiFp = function (configuration) {
|
|
|
188
188
|
* @param {string} [search] Search query.
|
|
189
189
|
* @param {string} [order] Ordering criteria.
|
|
190
190
|
* @param {string} [expand] Extra fields to fetch.
|
|
191
|
-
* @param {string} [filters]
|
|
191
|
+
* @param {string} [filters]
|
|
192
192
|
* @param {*} [options] Override http request option.
|
|
193
193
|
* @throws {RequiredError}
|
|
194
194
|
*/
|
|
@@ -225,7 +225,7 @@ var InsuredObjectTypesApiFactory = function (configuration, basePath, axios) {
|
|
|
225
225
|
* @param {string} [search] Search query.
|
|
226
226
|
* @param {string} [order] Ordering criteria.
|
|
227
227
|
* @param {string} [expand] Extra fields to fetch.
|
|
228
|
-
* @param {string} [filters]
|
|
228
|
+
* @param {string} [filters]
|
|
229
229
|
* @param {*} [options] Override http request option.
|
|
230
230
|
* @throws {RequiredError}
|
|
231
231
|
*/
|
|
@@ -59,7 +59,7 @@ export declare const InsuredObjectsApiAxiosParamCreator: (configuration?: Config
|
|
|
59
59
|
* @param {string} [search] Search query.
|
|
60
60
|
* @param {string} [order] Ordering criteria.
|
|
61
61
|
* @param {string} [expand] Extra fields to fetch.
|
|
62
|
-
* @param {string} [filters]
|
|
62
|
+
* @param {string} [filters]
|
|
63
63
|
* @param {*} [options] Override http request option.
|
|
64
64
|
* @throws {RequiredError}
|
|
65
65
|
*/
|
|
@@ -108,7 +108,7 @@ export declare const InsuredObjectsApiFp: (configuration?: Configuration) => {
|
|
|
108
108
|
* @param {string} [search] Search query.
|
|
109
109
|
* @param {string} [order] Ordering criteria.
|
|
110
110
|
* @param {string} [expand] Extra fields to fetch.
|
|
111
|
-
* @param {string} [filters]
|
|
111
|
+
* @param {string} [filters]
|
|
112
112
|
* @param {*} [options] Override http request option.
|
|
113
113
|
* @throws {RequiredError}
|
|
114
114
|
*/
|
|
@@ -157,7 +157,7 @@ export declare const InsuredObjectsApiFactory: (configuration?: Configuration, b
|
|
|
157
157
|
* @param {string} [search] Search query.
|
|
158
158
|
* @param {string} [order] Ordering criteria.
|
|
159
159
|
* @param {string} [expand] Extra fields to fetch.
|
|
160
|
-
* @param {string} [filters]
|
|
160
|
+
* @param {string} [filters]
|
|
161
161
|
* @param {*} [options] Override http request option.
|
|
162
162
|
* @throws {RequiredError}
|
|
163
163
|
*/
|
|
@@ -275,7 +275,7 @@ export interface InsuredObjectsApiListInsuredObjectsRequest {
|
|
|
275
275
|
*/
|
|
276
276
|
readonly expand?: string;
|
|
277
277
|
/**
|
|
278
|
-
*
|
|
278
|
+
*
|
|
279
279
|
* @type {string}
|
|
280
280
|
* @memberof InsuredObjectsApiListInsuredObjects
|
|
281
281
|
*/
|
|
@@ -212,7 +212,8 @@ var InsuredObjectsApiAxiosParamCreator = function (configuration) {
|
|
|
212
212
|
// verify required parameter 'id' is not null or undefined
|
|
213
213
|
(0, common_1.assertParamExists)('getInsuredObject', 'id', id);
|
|
214
214
|
localVarPath = "/insuranceservice/v1/insured-objects/{id}"
|
|
215
|
-
.replace("{".concat("id", "}"), encodeURIComponent(String(id)))
|
|
215
|
+
.replace("{".concat("id", "}"), encodeURIComponent(String(id)))
|
|
216
|
+
.replace("{".concat("expand", "}"), encodeURIComponent(String(expand)));
|
|
216
217
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
217
218
|
if (configuration) {
|
|
218
219
|
baseOptions = configuration.baseOptions;
|
|
@@ -228,9 +229,6 @@ var InsuredObjectsApiAxiosParamCreator = function (configuration) {
|
|
|
228
229
|
// authentication bearer required
|
|
229
230
|
// http bearer authentication required
|
|
230
231
|
_a.sent();
|
|
231
|
-
if (expand !== undefined) {
|
|
232
|
-
localVarQueryParameter['expand'] = expand;
|
|
233
|
-
}
|
|
234
232
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
235
233
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
236
234
|
}
|
|
@@ -255,7 +253,7 @@ var InsuredObjectsApiAxiosParamCreator = function (configuration) {
|
|
|
255
253
|
* @param {string} [search] Search query.
|
|
256
254
|
* @param {string} [order] Ordering criteria.
|
|
257
255
|
* @param {string} [expand] Extra fields to fetch.
|
|
258
|
-
* @param {string} [filters]
|
|
256
|
+
* @param {string} [filters]
|
|
259
257
|
* @param {*} [options] Override http request option.
|
|
260
258
|
* @throws {RequiredError}
|
|
261
259
|
*/
|
|
@@ -401,7 +399,7 @@ var InsuredObjectsApiFp = function (configuration) {
|
|
|
401
399
|
* @param {string} [search] Search query.
|
|
402
400
|
* @param {string} [order] Ordering criteria.
|
|
403
401
|
* @param {string} [expand] Extra fields to fetch.
|
|
404
|
-
* @param {string} [filters]
|
|
402
|
+
* @param {string} [filters]
|
|
405
403
|
* @param {*} [options] Override http request option.
|
|
406
404
|
* @throws {RequiredError}
|
|
407
405
|
*/
|
|
@@ -472,7 +470,7 @@ var InsuredObjectsApiFactory = function (configuration, basePath, axios) {
|
|
|
472
470
|
* @param {string} [search] Search query.
|
|
473
471
|
* @param {string} [order] Ordering criteria.
|
|
474
472
|
* @param {string} [expand] Extra fields to fetch.
|
|
475
|
-
* @param {string} [filters]
|
|
473
|
+
* @param {string} [filters]
|
|
476
474
|
* @param {*} [options] Override http request option.
|
|
477
475
|
* @throws {RequiredError}
|
|
478
476
|
*/
|