@emilgroup/insurance-sdk-node 1.49.0 → 1.49.2-beta.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 +30 -8
- package/README.md +2 -2
- package/api/booking-funnel-versions-api.ts +8 -8
- package/api/booking-funnels-api.ts +12 -12
- package/api/emil-functions-api.ts +1314 -0
- package/api/insured-object-types-api.ts +4 -4
- package/api/insured-objects-api.ts +8 -8
- package/api/lead-statuses-api.ts +104 -20
- package/api/lead-versions-api.ts +8 -8
- package/api/leads-api.ts +8 -8
- package/api/named-ranges-api.ts +8 -8
- package/api/partner-links-api.ts +800 -0
- package/api/{policy-partner-roles-api.ts → partner-roles-api.ts} +180 -180
- package/api/policies-api.ts +116 -118
- package/api/premium-formulas-api.ts +8 -8
- package/api/product-factors-api.ts +8 -8
- package/api/product-fields-api.ts +119 -12
- package/api/product-versions-api.ts +4 -4
- package/api/products-api.ts +20 -20
- package/api/status-transition-rules-api.ts +8 -8
- package/api.ts +6 -2
- package/dist/api/booking-funnel-versions-api.d.ts +8 -8
- package/dist/api/booking-funnel-versions-api.js +8 -8
- package/dist/api/booking-funnels-api.d.ts +12 -12
- package/dist/api/booking-funnels-api.js +12 -12
- package/dist/api/emil-functions-api.d.ts +727 -0
- package/dist/api/emil-functions-api.js +1202 -0
- package/dist/api/insured-object-types-api.d.ts +4 -4
- package/dist/api/insured-object-types-api.js +4 -4
- package/dist/api/insured-objects-api.d.ts +8 -8
- package/dist/api/insured-objects-api.js +8 -8
- package/dist/api/lead-statuses-api.d.ts +71 -17
- package/dist/api/lead-statuses-api.js +53 -17
- package/dist/api/lead-versions-api.d.ts +8 -8
- package/dist/api/lead-versions-api.js +8 -8
- package/dist/api/leads-api.d.ts +8 -8
- package/dist/api/leads-api.js +8 -8
- package/dist/api/named-ranges-api.d.ts +8 -8
- package/dist/api/named-ranges-api.js +8 -8
- package/dist/api/partner-links-api.d.ts +450 -0
- package/dist/api/partner-links-api.js +738 -0
- package/dist/api/partner-roles-api.d.ts +385 -0
- package/dist/api/{policy-partner-roles-api.js → partner-roles-api.js} +136 -136
- package/dist/api/policies-api.d.ts +112 -112
- package/dist/api/policies-api.js +66 -67
- package/dist/api/premium-formulas-api.d.ts +8 -8
- package/dist/api/premium-formulas-api.js +8 -8
- package/dist/api/product-factors-api.d.ts +8 -8
- package/dist/api/product-factors-api.js +8 -8
- package/dist/api/product-fields-api.d.ts +69 -12
- package/dist/api/product-fields-api.js +105 -12
- package/dist/api/product-versions-api.d.ts +4 -4
- package/dist/api/product-versions-api.js +4 -4
- package/dist/api/products-api.d.ts +20 -20
- package/dist/api/products-api.js +18 -18
- package/dist/api/status-transition-rules-api.d.ts +8 -8
- package/dist/api/status-transition-rules-api.js +8 -8
- package/dist/api.d.ts +3 -1
- package/dist/api.js +3 -1
- package/dist/models/booking-funnel-class.d.ts +1 -1
- package/dist/models/create-account-request-dto.d.ts +1 -1
- package/dist/models/create-account-request-dto.js +1 -1
- package/dist/models/create-booking-funnel-request-dto.d.ts +1 -1
- package/dist/models/create-emil-function-request-dto.d.ts +42 -0
- package/dist/models/create-emil-function-secret-request-dto.d.ts +36 -0
- package/dist/models/create-lead-request-dto.d.ts +12 -0
- package/dist/models/{update-policy-partner-role-request-dto.d.ts → create-partner-role-request-dto.d.ts} +6 -6
- package/dist/models/{get-policy-partner-role-response-class.d.ts → create-partner-role-response-class.d.ts} +7 -7
- package/dist/models/create-product-field-request-dto.d.ts +7 -1
- package/dist/models/create-product-request-dto.d.ts +1 -1
- package/dist/models/emil-function-class.d.ts +60 -0
- package/dist/models/{create-policy-partner-role-response-class.d.ts → emil-function-secret-class.d.ts} +12 -7
- package/dist/models/execute-emil-function-request-dto.d.ts +24 -0
- package/dist/models/get-emil-function-secret-response-class.d.ts +24 -0
- package/dist/models/get-emil-function-secret-response-class.js +15 -0
- package/dist/models/{update-policy-partner-role-response-class.d.ts → get-partner-link-response-class.d.ts} +7 -7
- package/dist/models/get-partner-link-response-class.js +15 -0
- package/dist/models/get-partner-role-response-class.d.ts +25 -0
- package/dist/models/get-partner-role-response-class.js +15 -0
- package/dist/models/get-product-request-dto.d.ts +1 -1
- package/dist/models/index.d.ts +27 -7
- package/dist/models/index.js +27 -7
- package/dist/models/insured-object-type-class.d.ts +1 -1
- package/dist/models/lead-class.d.ts +8 -1
- package/dist/models/lead-status-class.d.ts +1 -1
- package/dist/models/link-partner-request-dto.d.ts +54 -0
- package/dist/models/link-partner-request-dto.js +15 -0
- package/dist/models/link-partner-response-class.d.ts +25 -0
- package/dist/models/link-partner-response-class.js +15 -0
- package/dist/models/list-emil-function-secrets-response-class.d.ts +25 -0
- package/dist/models/list-emil-function-secrets-response-class.js +15 -0
- package/dist/models/{list-policy-partner-roles-response-class.d.ts → list-emil-functions-response-class.d.ts} +8 -8
- package/dist/models/list-emil-functions-response-class.js +15 -0
- package/dist/models/list-partner-links-response-class.d.ts +31 -0
- package/dist/models/list-partner-links-response-class.js +15 -0
- package/dist/models/list-partner-roles-response-class.d.ts +31 -0
- package/dist/models/list-partner-roles-response-class.js +15 -0
- package/dist/models/partner-class.d.ts +60 -0
- package/dist/models/partner-class.js +15 -0
- package/dist/models/partner-link-class.d.ts +86 -0
- package/dist/models/partner-link-class.js +15 -0
- package/dist/models/{policy-partner-role-class.d.ts → partner-role-class.d.ts} +10 -10
- package/dist/models/partner-role-class.js +15 -0
- package/dist/models/patch-draft-policy-request-dto.d.ts +1 -1
- package/dist/models/policy-class.d.ts +7 -0
- package/dist/models/product-class.d.ts +1 -1
- package/dist/models/product-field-class.d.ts +6 -0
- package/dist/models/shared-product-field-class.d.ts +6 -0
- package/dist/models/status-transition-rule-class.d.ts +1 -1
- package/dist/models/swap-product-fields-order-request-dto.d.ts +30 -0
- package/dist/models/swap-product-fields-order-request-dto.js +15 -0
- package/dist/models/unlink-partner-response-class.d.ts +25 -0
- package/dist/models/unlink-partner-response-class.js +15 -0
- package/dist/models/update-emil-function-request-dto.d.ts +42 -0
- package/dist/models/update-emil-function-request-dto.js +15 -0
- package/dist/models/update-emil-function-secret-request-dto.d.ts +30 -0
- package/dist/models/update-emil-function-secret-request-dto.js +15 -0
- package/dist/models/update-partner-link-request-dto.d.ts +30 -0
- package/dist/models/update-partner-link-request-dto.js +15 -0
- package/dist/models/update-partner-link-response-class.d.ts +25 -0
- package/dist/models/update-partner-link-response-class.js +15 -0
- package/dist/models/{create-policy-partner-role-request-dto.d.ts → update-partner-role-request-dto.d.ts} +6 -6
- package/dist/models/update-partner-role-request-dto.js +15 -0
- package/dist/models/update-partner-role-response-class.d.ts +25 -0
- package/dist/models/update-partner-role-response-class.js +15 -0
- package/dist/models/update-product-field-request-dto.d.ts +7 -1
- package/dist/models/update-product-request-dto.d.ts +1 -1
- package/models/booking-funnel-class.ts +1 -1
- package/models/create-account-request-dto.ts +1 -1
- package/models/create-booking-funnel-request-dto.ts +1 -1
- package/models/create-emil-function-request-dto.ts +48 -0
- package/models/create-emil-function-secret-request-dto.ts +42 -0
- package/models/create-lead-request-dto.ts +12 -0
- package/models/{update-policy-partner-role-request-dto.ts → create-partner-role-request-dto.ts} +6 -6
- package/models/{get-policy-partner-role-response-class.ts → create-partner-role-response-class.ts} +7 -7
- package/models/create-product-field-request-dto.ts +7 -1
- package/models/create-product-request-dto.ts +1 -1
- package/models/emil-function-class.ts +66 -0
- package/models/{update-policy-partner-role-response-class.ts → emil-function-secret-class.ts} +12 -7
- package/models/execute-emil-function-request-dto.ts +30 -0
- package/models/get-emil-function-secret-response-class.ts +30 -0
- package/models/{create-policy-partner-role-response-class.ts → get-partner-link-response-class.ts} +7 -7
- package/models/get-partner-role-response-class.ts +31 -0
- package/models/get-product-request-dto.ts +1 -1
- package/models/index.ts +27 -7
- package/models/insured-object-type-class.ts +1 -1
- package/models/lead-class.ts +8 -1
- package/models/lead-status-class.ts +1 -1
- package/models/link-partner-request-dto.ts +60 -0
- package/models/link-partner-response-class.ts +31 -0
- package/models/list-emil-function-secrets-response-class.ts +31 -0
- package/models/{list-policy-partner-roles-response-class.ts → list-emil-functions-response-class.ts} +8 -8
- package/models/list-partner-links-response-class.ts +37 -0
- package/models/list-partner-roles-response-class.ts +37 -0
- package/models/partner-class.ts +66 -0
- package/models/partner-link-class.ts +92 -0
- package/models/{policy-partner-role-class.ts → partner-role-class.ts} +10 -10
- package/models/patch-draft-policy-request-dto.ts +1 -1
- package/models/policy-class.ts +7 -0
- package/models/product-class.ts +1 -1
- package/models/product-field-class.ts +6 -0
- package/models/shared-product-field-class.ts +6 -0
- package/models/status-transition-rule-class.ts +1 -1
- package/models/swap-product-fields-order-request-dto.ts +36 -0
- package/models/unlink-partner-response-class.ts +31 -0
- package/models/update-emil-function-request-dto.ts +48 -0
- package/models/update-emil-function-secret-request-dto.ts +36 -0
- package/models/update-partner-link-request-dto.ts +36 -0
- package/models/update-partner-link-response-class.ts +31 -0
- package/models/{create-policy-partner-role-request-dto.ts → update-partner-role-request-dto.ts} +6 -6
- package/models/update-partner-role-response-class.ts +31 -0
- package/models/update-product-field-request-dto.ts +7 -1
- package/models/update-product-request-dto.ts +1 -1
- package/package.json +1 -1
- package/dist/api/policy-partner-roles-api.d.ts +0 -385
- /package/dist/models/{create-policy-partner-role-request-dto.js → create-emil-function-request-dto.js} +0 -0
- /package/dist/models/{create-policy-partner-role-response-class.js → create-emil-function-secret-request-dto.js} +0 -0
- /package/dist/models/{get-policy-partner-role-response-class.js → create-partner-role-request-dto.js} +0 -0
- /package/dist/models/{list-policy-partner-roles-response-class.js → create-partner-role-response-class.js} +0 -0
- /package/dist/models/{policy-partner-role-class.js → emil-function-class.js} +0 -0
- /package/dist/models/{update-policy-partner-role-request-dto.js → emil-function-secret-class.js} +0 -0
- /package/dist/models/{update-policy-partner-role-response-class.js → execute-emil-function-request-dto.js} +0 -0
|
@@ -24,7 +24,7 @@ import { StoreProductFactorsResponseClass } from '../models';
|
|
|
24
24
|
*/
|
|
25
25
|
export declare const ProductFactorsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
26
26
|
/**
|
|
27
|
-
* Retrieves the details of the product factor that was previously created.
|
|
27
|
+
* Retrieves the details of the product factor that was previously created. Supply the unique product factor id that was returned when you created it and Emil Api will return the corresponding product factor information.
|
|
28
28
|
* @summary Retrieve the product factor
|
|
29
29
|
* @param {number} id
|
|
30
30
|
* @param {number} id2 Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
@@ -58,7 +58,7 @@ export declare const ProductFactorsApiAxiosParamCreator: (configuration?: Config
|
|
|
58
58
|
*/
|
|
59
59
|
getProductFactorsForVersion: (productVersionId: number, values: string, authorization?: string, forPublic?: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
60
60
|
/**
|
|
61
|
-
* Returns a list of product factors you have previously created.
|
|
61
|
+
* Returns a list of product factors you have previously created. The product factors are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
62
62
|
* @summary List product factors
|
|
63
63
|
* @param {string} [authorization] Bearer Token
|
|
64
64
|
* @param {number} [pageSize] Page size.
|
|
@@ -98,7 +98,7 @@ export declare const ProductFactorsApiAxiosParamCreator: (configuration?: Config
|
|
|
98
98
|
*/
|
|
99
99
|
export declare const ProductFactorsApiFp: (configuration?: Configuration) => {
|
|
100
100
|
/**
|
|
101
|
-
* Retrieves the details of the product factor that was previously created.
|
|
101
|
+
* Retrieves the details of the product factor that was previously created. Supply the unique product factor id that was returned when you created it and Emil Api will return the corresponding product factor information.
|
|
102
102
|
* @summary Retrieve the product factor
|
|
103
103
|
* @param {number} id
|
|
104
104
|
* @param {number} id2 Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
@@ -132,7 +132,7 @@ export declare const ProductFactorsApiFp: (configuration?: Configuration) => {
|
|
|
132
132
|
*/
|
|
133
133
|
getProductFactorsForVersion(productVersionId: number, values: string, authorization?: string, forPublic?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetProductFactorsForVersionResponseClass>>;
|
|
134
134
|
/**
|
|
135
|
-
* Returns a list of product factors you have previously created.
|
|
135
|
+
* Returns a list of product factors you have previously created. The product factors are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
136
136
|
* @summary List product factors
|
|
137
137
|
* @param {string} [authorization] Bearer Token
|
|
138
138
|
* @param {number} [pageSize] Page size.
|
|
@@ -172,7 +172,7 @@ export declare const ProductFactorsApiFp: (configuration?: Configuration) => {
|
|
|
172
172
|
*/
|
|
173
173
|
export declare const ProductFactorsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
174
174
|
/**
|
|
175
|
-
* Retrieves the details of the product factor that was previously created.
|
|
175
|
+
* Retrieves the details of the product factor that was previously created. Supply the unique product factor id that was returned when you created it and Emil Api will return the corresponding product factor information.
|
|
176
176
|
* @summary Retrieve the product factor
|
|
177
177
|
* @param {number} id
|
|
178
178
|
* @param {number} id2 Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
@@ -206,7 +206,7 @@ export declare const ProductFactorsApiFactory: (configuration?: Configuration, b
|
|
|
206
206
|
*/
|
|
207
207
|
getProductFactorsForVersion(productVersionId: number, values: string, authorization?: string, forPublic?: boolean, options?: any): AxiosPromise<GetProductFactorsForVersionResponseClass>;
|
|
208
208
|
/**
|
|
209
|
-
* Returns a list of product factors you have previously created.
|
|
209
|
+
* Returns a list of product factors you have previously created. The product factors are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
210
210
|
* @summary List product factors
|
|
211
211
|
* @param {string} [authorization] Bearer Token
|
|
212
212
|
* @param {number} [pageSize] Page size.
|
|
@@ -446,7 +446,7 @@ export interface ProductFactorsApiValidateProductFactorsRequest {
|
|
|
446
446
|
*/
|
|
447
447
|
export declare class ProductFactorsApi extends BaseAPI {
|
|
448
448
|
/**
|
|
449
|
-
* Retrieves the details of the product factor that was previously created.
|
|
449
|
+
* Retrieves the details of the product factor that was previously created. Supply the unique product factor id that was returned when you created it and Emil Api will return the corresponding product factor information.
|
|
450
450
|
* @summary Retrieve the product factor
|
|
451
451
|
* @param {ProductFactorsApiGetProductFactorRequest} requestParameters Request parameters.
|
|
452
452
|
* @param {*} [options] Override http request option.
|
|
@@ -473,7 +473,7 @@ export declare class ProductFactorsApi extends BaseAPI {
|
|
|
473
473
|
*/
|
|
474
474
|
getProductFactorsForVersion(requestParameters: ProductFactorsApiGetProductFactorsForVersionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetProductFactorsForVersionResponseClass, any>>;
|
|
475
475
|
/**
|
|
476
|
-
* Returns a list of product factors you have previously created.
|
|
476
|
+
* Returns a list of product factors you have previously created. The product factors are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
477
477
|
* @summary List product factors
|
|
478
478
|
* @param {ProductFactorsApiListProductFactorsRequest} requestParameters Request parameters.
|
|
479
479
|
* @param {*} [options] Override http request option.
|
|
@@ -97,7 +97,7 @@ var ProductFactorsApiAxiosParamCreator = function (configuration) {
|
|
|
97
97
|
var _this = this;
|
|
98
98
|
return {
|
|
99
99
|
/**
|
|
100
|
-
* Retrieves the details of the product factor that was previously created.
|
|
100
|
+
* Retrieves the details of the product factor that was previously created. Supply the unique product factor id that was returned when you created it and Emil Api will return the corresponding product factor information.
|
|
101
101
|
* @summary Retrieve the product factor
|
|
102
102
|
* @param {number} id
|
|
103
103
|
* @param {number} id2 Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
@@ -283,7 +283,7 @@ var ProductFactorsApiAxiosParamCreator = function (configuration) {
|
|
|
283
283
|
});
|
|
284
284
|
},
|
|
285
285
|
/**
|
|
286
|
-
* Returns a list of product factors you have previously created.
|
|
286
|
+
* Returns a list of product factors you have previously created. The product factors are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
287
287
|
* @summary List product factors
|
|
288
288
|
* @param {string} [authorization] Bearer Token
|
|
289
289
|
* @param {number} [pageSize] Page size.
|
|
@@ -471,7 +471,7 @@ var ProductFactorsApiFp = function (configuration) {
|
|
|
471
471
|
var localVarAxiosParamCreator = (0, exports.ProductFactorsApiAxiosParamCreator)(configuration);
|
|
472
472
|
return {
|
|
473
473
|
/**
|
|
474
|
-
* Retrieves the details of the product factor that was previously created.
|
|
474
|
+
* Retrieves the details of the product factor that was previously created. Supply the unique product factor id that was returned when you created it and Emil Api will return the corresponding product factor information.
|
|
475
475
|
* @summary Retrieve the product factor
|
|
476
476
|
* @param {number} id
|
|
477
477
|
* @param {number} id2 Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
@@ -541,7 +541,7 @@ var ProductFactorsApiFp = function (configuration) {
|
|
|
541
541
|
});
|
|
542
542
|
},
|
|
543
543
|
/**
|
|
544
|
-
* Returns a list of product factors you have previously created.
|
|
544
|
+
* Returns a list of product factors you have previously created. The product factors are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
545
545
|
* @summary List product factors
|
|
546
546
|
* @param {string} [authorization] Bearer Token
|
|
547
547
|
* @param {number} [pageSize] Page size.
|
|
@@ -621,7 +621,7 @@ var ProductFactorsApiFactory = function (configuration, basePath, axios) {
|
|
|
621
621
|
var localVarFp = (0, exports.ProductFactorsApiFp)(configuration);
|
|
622
622
|
return {
|
|
623
623
|
/**
|
|
624
|
-
* Retrieves the details of the product factor that was previously created.
|
|
624
|
+
* Retrieves the details of the product factor that was previously created. Supply the unique product factor id that was returned when you created it and Emil Api will return the corresponding product factor information.
|
|
625
625
|
* @summary Retrieve the product factor
|
|
626
626
|
* @param {number} id
|
|
627
627
|
* @param {number} id2 Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
@@ -661,7 +661,7 @@ var ProductFactorsApiFactory = function (configuration, basePath, axios) {
|
|
|
661
661
|
return localVarFp.getProductFactorsForVersion(productVersionId, values, authorization, forPublic, options).then(function (request) { return request(axios, basePath); });
|
|
662
662
|
},
|
|
663
663
|
/**
|
|
664
|
-
* Returns a list of product factors you have previously created.
|
|
664
|
+
* Returns a list of product factors you have previously created. The product factors are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
665
665
|
* @summary List product factors
|
|
666
666
|
* @param {string} [authorization] Bearer Token
|
|
667
667
|
* @param {number} [pageSize] Page size.
|
|
@@ -715,7 +715,7 @@ var ProductFactorsApi = /** @class */ (function (_super) {
|
|
|
715
715
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
716
716
|
}
|
|
717
717
|
/**
|
|
718
|
-
* Retrieves the details of the product factor that was previously created.
|
|
718
|
+
* Retrieves the details of the product factor that was previously created. Supply the unique product factor id that was returned when you created it and Emil Api will return the corresponding product factor information.
|
|
719
719
|
* @summary Retrieve the product factor
|
|
720
720
|
* @param {ProductFactorsApiGetProductFactorRequest} requestParameters Request parameters.
|
|
721
721
|
* @param {*} [options] Override http request option.
|
|
@@ -751,7 +751,7 @@ var ProductFactorsApi = /** @class */ (function (_super) {
|
|
|
751
751
|
return (0, exports.ProductFactorsApiFp)(this.configuration).getProductFactorsForVersion(requestParameters.productVersionId, requestParameters.values, requestParameters.authorization, requestParameters.forPublic, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
752
752
|
};
|
|
753
753
|
/**
|
|
754
|
-
* Returns a list of product factors you have previously created.
|
|
754
|
+
* Returns a list of product factors you have previously created. The product factors are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
755
755
|
* @summary List product factors
|
|
756
756
|
* @param {ProductFactorsApiListProductFactorsRequest} requestParameters Request parameters.
|
|
757
757
|
* @param {*} [options] Override http request option.
|
|
@@ -15,9 +15,11 @@ import { RequestArgs, BaseAPI } from '../base';
|
|
|
15
15
|
import { CreateProductFieldRequestDto } from '../models';
|
|
16
16
|
import { CreateProductFieldResponseClass } from '../models';
|
|
17
17
|
import { DeleteResponseClass } from '../models';
|
|
18
|
+
import { EmptyResponseClass } from '../models';
|
|
18
19
|
import { GetProductFieldResponseClass } from '../models';
|
|
19
20
|
import { ListProductFieldTypesResponseClass } from '../models';
|
|
20
21
|
import { ListProductFieldsResponseClass } from '../models';
|
|
22
|
+
import { SwapProductFieldsOrderRequestDto } from '../models';
|
|
21
23
|
import { UpdateProductFieldRequestDto } from '../models';
|
|
22
24
|
import { UpdateProductFieldResponseClass } from '../models';
|
|
23
25
|
/**
|
|
@@ -44,7 +46,7 @@ export declare const ProductFieldsApiAxiosParamCreator: (configuration?: Configu
|
|
|
44
46
|
*/
|
|
45
47
|
deleteProductField: (id: number, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
46
48
|
/**
|
|
47
|
-
* Retrieves the details of the product field that was previously created.
|
|
49
|
+
* Retrieves the details of the product field that was previously created. Supply the unique product field id that was returned when you created it and Emil Api will return the corresponding product field information.
|
|
48
50
|
* @summary Retrieve the product field
|
|
49
51
|
* @param {number} id
|
|
50
52
|
* @param {string} [authorization] Bearer Token
|
|
@@ -53,7 +55,7 @@ export declare const ProductFieldsApiAxiosParamCreator: (configuration?: Configu
|
|
|
53
55
|
*/
|
|
54
56
|
getProductField: (id: number, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
55
57
|
/**
|
|
56
|
-
* Returns a list of product field types you have previously created.
|
|
58
|
+
* Returns a list of product field types you have previously created. The product field types are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
57
59
|
* @summary List product field types
|
|
58
60
|
* @param {string} [authorization] Bearer Token
|
|
59
61
|
* @param {number} [pageSize] Page size.
|
|
@@ -68,7 +70,7 @@ export declare const ProductFieldsApiAxiosParamCreator: (configuration?: Configu
|
|
|
68
70
|
*/
|
|
69
71
|
listProductFieldTypes: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
70
72
|
/**
|
|
71
|
-
* Returns a list of product fields you have previously created.
|
|
73
|
+
* Returns a list of product fields you have previously created. The product fields are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
72
74
|
* @summary List product fields
|
|
73
75
|
* @param {string} [authorization] Bearer Token
|
|
74
76
|
* @param {number} [pageSize] Page size.
|
|
@@ -82,6 +84,15 @@ export declare const ProductFieldsApiAxiosParamCreator: (configuration?: Configu
|
|
|
82
84
|
* @throws {RequiredError}
|
|
83
85
|
*/
|
|
84
86
|
listProductFields: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
87
|
+
/**
|
|
88
|
+
* Order of the product field is mostly used for display for both the product and policy.This function will swap the order of two product fields, resulting in the two fields swapping their place in the list, be it on product or policy page.
|
|
89
|
+
* @summary Swaps product fields order
|
|
90
|
+
* @param {SwapProductFieldsOrderRequestDto} swapProductFieldsOrderRequestDto
|
|
91
|
+
* @param {string} [authorization] Bearer Token
|
|
92
|
+
* @param {*} [options] Override http request option.
|
|
93
|
+
* @throws {RequiredError}
|
|
94
|
+
*/
|
|
95
|
+
swapProductFieldsOrder: (swapProductFieldsOrderRequestDto: SwapProductFieldsOrderRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
85
96
|
/**
|
|
86
97
|
* Updates the specified product by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
87
98
|
* @summary Update the product
|
|
@@ -117,7 +128,7 @@ export declare const ProductFieldsApiFp: (configuration?: Configuration) => {
|
|
|
117
128
|
*/
|
|
118
129
|
deleteProductField(id: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteResponseClass>>;
|
|
119
130
|
/**
|
|
120
|
-
* Retrieves the details of the product field that was previously created.
|
|
131
|
+
* Retrieves the details of the product field that was previously created. Supply the unique product field id that was returned when you created it and Emil Api will return the corresponding product field information.
|
|
121
132
|
* @summary Retrieve the product field
|
|
122
133
|
* @param {number} id
|
|
123
134
|
* @param {string} [authorization] Bearer Token
|
|
@@ -126,7 +137,7 @@ export declare const ProductFieldsApiFp: (configuration?: Configuration) => {
|
|
|
126
137
|
*/
|
|
127
138
|
getProductField(id: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetProductFieldResponseClass>>;
|
|
128
139
|
/**
|
|
129
|
-
* Returns a list of product field types you have previously created.
|
|
140
|
+
* Returns a list of product field types you have previously created. The product field types are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
130
141
|
* @summary List product field types
|
|
131
142
|
* @param {string} [authorization] Bearer Token
|
|
132
143
|
* @param {number} [pageSize] Page size.
|
|
@@ -141,7 +152,7 @@ export declare const ProductFieldsApiFp: (configuration?: Configuration) => {
|
|
|
141
152
|
*/
|
|
142
153
|
listProductFieldTypes(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListProductFieldTypesResponseClass>>;
|
|
143
154
|
/**
|
|
144
|
-
* Returns a list of product fields you have previously created.
|
|
155
|
+
* Returns a list of product fields you have previously created. The product fields are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
145
156
|
* @summary List product fields
|
|
146
157
|
* @param {string} [authorization] Bearer Token
|
|
147
158
|
* @param {number} [pageSize] Page size.
|
|
@@ -155,6 +166,15 @@ export declare const ProductFieldsApiFp: (configuration?: Configuration) => {
|
|
|
155
166
|
* @throws {RequiredError}
|
|
156
167
|
*/
|
|
157
168
|
listProductFields(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListProductFieldsResponseClass>>;
|
|
169
|
+
/**
|
|
170
|
+
* Order of the product field is mostly used for display for both the product and policy.This function will swap the order of two product fields, resulting in the two fields swapping their place in the list, be it on product or policy page.
|
|
171
|
+
* @summary Swaps product fields order
|
|
172
|
+
* @param {SwapProductFieldsOrderRequestDto} swapProductFieldsOrderRequestDto
|
|
173
|
+
* @param {string} [authorization] Bearer Token
|
|
174
|
+
* @param {*} [options] Override http request option.
|
|
175
|
+
* @throws {RequiredError}
|
|
176
|
+
*/
|
|
177
|
+
swapProductFieldsOrder(swapProductFieldsOrderRequestDto: SwapProductFieldsOrderRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EmptyResponseClass>>;
|
|
158
178
|
/**
|
|
159
179
|
* Updates the specified product by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
160
180
|
* @summary Update the product
|
|
@@ -190,7 +210,7 @@ export declare const ProductFieldsApiFactory: (configuration?: Configuration, ba
|
|
|
190
210
|
*/
|
|
191
211
|
deleteProductField(id: number, authorization?: string, options?: any): AxiosPromise<DeleteResponseClass>;
|
|
192
212
|
/**
|
|
193
|
-
* Retrieves the details of the product field that was previously created.
|
|
213
|
+
* Retrieves the details of the product field that was previously created. Supply the unique product field id that was returned when you created it and Emil Api will return the corresponding product field information.
|
|
194
214
|
* @summary Retrieve the product field
|
|
195
215
|
* @param {number} id
|
|
196
216
|
* @param {string} [authorization] Bearer Token
|
|
@@ -199,7 +219,7 @@ export declare const ProductFieldsApiFactory: (configuration?: Configuration, ba
|
|
|
199
219
|
*/
|
|
200
220
|
getProductField(id: number, authorization?: string, options?: any): AxiosPromise<GetProductFieldResponseClass>;
|
|
201
221
|
/**
|
|
202
|
-
* Returns a list of product field types you have previously created.
|
|
222
|
+
* Returns a list of product field types you have previously created. The product field types are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
203
223
|
* @summary List product field types
|
|
204
224
|
* @param {string} [authorization] Bearer Token
|
|
205
225
|
* @param {number} [pageSize] Page size.
|
|
@@ -214,7 +234,7 @@ export declare const ProductFieldsApiFactory: (configuration?: Configuration, ba
|
|
|
214
234
|
*/
|
|
215
235
|
listProductFieldTypes(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListProductFieldTypesResponseClass>;
|
|
216
236
|
/**
|
|
217
|
-
* Returns a list of product fields you have previously created.
|
|
237
|
+
* Returns a list of product fields you have previously created. The product fields are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
218
238
|
* @summary List product fields
|
|
219
239
|
* @param {string} [authorization] Bearer Token
|
|
220
240
|
* @param {number} [pageSize] Page size.
|
|
@@ -228,6 +248,15 @@ export declare const ProductFieldsApiFactory: (configuration?: Configuration, ba
|
|
|
228
248
|
* @throws {RequiredError}
|
|
229
249
|
*/
|
|
230
250
|
listProductFields(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListProductFieldsResponseClass>;
|
|
251
|
+
/**
|
|
252
|
+
* Order of the product field is mostly used for display for both the product and policy.This function will swap the order of two product fields, resulting in the two fields swapping their place in the list, be it on product or policy page.
|
|
253
|
+
* @summary Swaps product fields order
|
|
254
|
+
* @param {SwapProductFieldsOrderRequestDto} swapProductFieldsOrderRequestDto
|
|
255
|
+
* @param {string} [authorization] Bearer Token
|
|
256
|
+
* @param {*} [options] Override http request option.
|
|
257
|
+
* @throws {RequiredError}
|
|
258
|
+
*/
|
|
259
|
+
swapProductFieldsOrder(swapProductFieldsOrderRequestDto: SwapProductFieldsOrderRequestDto, authorization?: string, options?: any): AxiosPromise<EmptyResponseClass>;
|
|
231
260
|
/**
|
|
232
261
|
* Updates the specified product by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
233
262
|
* @summary Update the product
|
|
@@ -406,6 +435,25 @@ export interface ProductFieldsApiListProductFieldsRequest {
|
|
|
406
435
|
*/
|
|
407
436
|
readonly filters?: string;
|
|
408
437
|
}
|
|
438
|
+
/**
|
|
439
|
+
* Request parameters for swapProductFieldsOrder operation in ProductFieldsApi.
|
|
440
|
+
* @export
|
|
441
|
+
* @interface ProductFieldsApiSwapProductFieldsOrderRequest
|
|
442
|
+
*/
|
|
443
|
+
export interface ProductFieldsApiSwapProductFieldsOrderRequest {
|
|
444
|
+
/**
|
|
445
|
+
*
|
|
446
|
+
* @type {SwapProductFieldsOrderRequestDto}
|
|
447
|
+
* @memberof ProductFieldsApiSwapProductFieldsOrder
|
|
448
|
+
*/
|
|
449
|
+
readonly swapProductFieldsOrderRequestDto: SwapProductFieldsOrderRequestDto;
|
|
450
|
+
/**
|
|
451
|
+
* Bearer Token
|
|
452
|
+
* @type {string}
|
|
453
|
+
* @memberof ProductFieldsApiSwapProductFieldsOrder
|
|
454
|
+
*/
|
|
455
|
+
readonly authorization?: string;
|
|
456
|
+
}
|
|
409
457
|
/**
|
|
410
458
|
* Request parameters for updateProductField operation in ProductFieldsApi.
|
|
411
459
|
* @export
|
|
@@ -457,7 +505,7 @@ export declare class ProductFieldsApi extends BaseAPI {
|
|
|
457
505
|
*/
|
|
458
506
|
deleteProductField(requestParameters: ProductFieldsApiDeleteProductFieldRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteResponseClass, any>>;
|
|
459
507
|
/**
|
|
460
|
-
* Retrieves the details of the product field that was previously created.
|
|
508
|
+
* Retrieves the details of the product field that was previously created. Supply the unique product field id that was returned when you created it and Emil Api will return the corresponding product field information.
|
|
461
509
|
* @summary Retrieve the product field
|
|
462
510
|
* @param {ProductFieldsApiGetProductFieldRequest} requestParameters Request parameters.
|
|
463
511
|
* @param {*} [options] Override http request option.
|
|
@@ -466,7 +514,7 @@ export declare class ProductFieldsApi extends BaseAPI {
|
|
|
466
514
|
*/
|
|
467
515
|
getProductField(requestParameters: ProductFieldsApiGetProductFieldRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetProductFieldResponseClass, any>>;
|
|
468
516
|
/**
|
|
469
|
-
* Returns a list of product field types you have previously created.
|
|
517
|
+
* Returns a list of product field types you have previously created. The product field types are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
470
518
|
* @summary List product field types
|
|
471
519
|
* @param {ProductFieldsApiListProductFieldTypesRequest} requestParameters Request parameters.
|
|
472
520
|
* @param {*} [options] Override http request option.
|
|
@@ -475,7 +523,7 @@ export declare class ProductFieldsApi extends BaseAPI {
|
|
|
475
523
|
*/
|
|
476
524
|
listProductFieldTypes(requestParameters?: ProductFieldsApiListProductFieldTypesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListProductFieldTypesResponseClass, any>>;
|
|
477
525
|
/**
|
|
478
|
-
* Returns a list of product fields you have previously created.
|
|
526
|
+
* Returns a list of product fields you have previously created. The product fields are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
479
527
|
* @summary List product fields
|
|
480
528
|
* @param {ProductFieldsApiListProductFieldsRequest} requestParameters Request parameters.
|
|
481
529
|
* @param {*} [options] Override http request option.
|
|
@@ -483,6 +531,15 @@ export declare class ProductFieldsApi extends BaseAPI {
|
|
|
483
531
|
* @memberof ProductFieldsApi
|
|
484
532
|
*/
|
|
485
533
|
listProductFields(requestParameters?: ProductFieldsApiListProductFieldsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListProductFieldsResponseClass, any>>;
|
|
534
|
+
/**
|
|
535
|
+
* Order of the product field is mostly used for display for both the product and policy.This function will swap the order of two product fields, resulting in the two fields swapping their place in the list, be it on product or policy page.
|
|
536
|
+
* @summary Swaps product fields order
|
|
537
|
+
* @param {ProductFieldsApiSwapProductFieldsOrderRequest} requestParameters Request parameters.
|
|
538
|
+
* @param {*} [options] Override http request option.
|
|
539
|
+
* @throws {RequiredError}
|
|
540
|
+
* @memberof ProductFieldsApi
|
|
541
|
+
*/
|
|
542
|
+
swapProductFieldsOrder(requestParameters: ProductFieldsApiSwapProductFieldsOrderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<EmptyResponseClass, any>>;
|
|
486
543
|
/**
|
|
487
544
|
* Updates the specified product by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
488
545
|
* @summary Update the product
|
|
@@ -194,7 +194,7 @@ var ProductFieldsApiAxiosParamCreator = function (configuration) {
|
|
|
194
194
|
});
|
|
195
195
|
},
|
|
196
196
|
/**
|
|
197
|
-
* Retrieves the details of the product field that was previously created.
|
|
197
|
+
* Retrieves the details of the product field that was previously created. Supply the unique product field id that was returned when you created it and Emil Api will return the corresponding product field information.
|
|
198
198
|
* @summary Retrieve the product field
|
|
199
199
|
* @param {number} id
|
|
200
200
|
* @param {string} [authorization] Bearer Token
|
|
@@ -242,7 +242,7 @@ var ProductFieldsApiAxiosParamCreator = function (configuration) {
|
|
|
242
242
|
});
|
|
243
243
|
},
|
|
244
244
|
/**
|
|
245
|
-
* Returns a list of product field types you have previously created.
|
|
245
|
+
* Returns a list of product field types you have previously created. The product field types are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
246
246
|
* @summary List product field types
|
|
247
247
|
* @param {string} [authorization] Bearer Token
|
|
248
248
|
* @param {number} [pageSize] Page size.
|
|
@@ -314,7 +314,7 @@ var ProductFieldsApiAxiosParamCreator = function (configuration) {
|
|
|
314
314
|
});
|
|
315
315
|
},
|
|
316
316
|
/**
|
|
317
|
-
* Returns a list of product fields you have previously created.
|
|
317
|
+
* Returns a list of product fields you have previously created. The product fields are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
318
318
|
* @summary List product fields
|
|
319
319
|
* @param {string} [authorization] Bearer Token
|
|
320
320
|
* @param {number} [pageSize] Page size.
|
|
@@ -385,6 +385,55 @@ var ProductFieldsApiAxiosParamCreator = function (configuration) {
|
|
|
385
385
|
});
|
|
386
386
|
});
|
|
387
387
|
},
|
|
388
|
+
/**
|
|
389
|
+
* Order of the product field is mostly used for display for both the product and policy.This function will swap the order of two product fields, resulting in the two fields swapping their place in the list, be it on product or policy page.
|
|
390
|
+
* @summary Swaps product fields order
|
|
391
|
+
* @param {SwapProductFieldsOrderRequestDto} swapProductFieldsOrderRequestDto
|
|
392
|
+
* @param {string} [authorization] Bearer Token
|
|
393
|
+
* @param {*} [options] Override http request option.
|
|
394
|
+
* @throws {RequiredError}
|
|
395
|
+
*/
|
|
396
|
+
swapProductFieldsOrder: function (swapProductFieldsOrderRequestDto, authorization, options) {
|
|
397
|
+
if (options === void 0) { options = {}; }
|
|
398
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
399
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
400
|
+
return __generator(this, function (_a) {
|
|
401
|
+
switch (_a.label) {
|
|
402
|
+
case 0:
|
|
403
|
+
// verify required parameter 'swapProductFieldsOrderRequestDto' is not null or undefined
|
|
404
|
+
(0, common_1.assertParamExists)('swapProductFieldsOrder', 'swapProductFieldsOrderRequestDto', swapProductFieldsOrderRequestDto);
|
|
405
|
+
localVarPath = "/insuranceservice/v1/product-fields/reorder";
|
|
406
|
+
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
407
|
+
if (configuration) {
|
|
408
|
+
baseOptions = configuration.baseOptions;
|
|
409
|
+
baseAccessToken = configuration.accessToken;
|
|
410
|
+
}
|
|
411
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
412
|
+
localVarHeaderParameter = {};
|
|
413
|
+
localVarQueryParameter = {};
|
|
414
|
+
// authentication bearer required
|
|
415
|
+
// http bearer authentication required
|
|
416
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
417
|
+
case 1:
|
|
418
|
+
// authentication bearer required
|
|
419
|
+
// http bearer authentication required
|
|
420
|
+
_a.sent();
|
|
421
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
422
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
423
|
+
}
|
|
424
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
425
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
426
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
427
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
428
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(swapProductFieldsOrderRequestDto, localVarRequestOptions, configuration);
|
|
429
|
+
return [2 /*return*/, {
|
|
430
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
431
|
+
options: localVarRequestOptions,
|
|
432
|
+
}];
|
|
433
|
+
}
|
|
434
|
+
});
|
|
435
|
+
});
|
|
436
|
+
},
|
|
388
437
|
/**
|
|
389
438
|
* Updates the specified product by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
390
439
|
* @summary Update the product
|
|
@@ -491,7 +540,7 @@ var ProductFieldsApiFp = function (configuration) {
|
|
|
491
540
|
});
|
|
492
541
|
},
|
|
493
542
|
/**
|
|
494
|
-
* Retrieves the details of the product field that was previously created.
|
|
543
|
+
* Retrieves the details of the product field that was previously created. Supply the unique product field id that was returned when you created it and Emil Api will return the corresponding product field information.
|
|
495
544
|
* @summary Retrieve the product field
|
|
496
545
|
* @param {number} id
|
|
497
546
|
* @param {string} [authorization] Bearer Token
|
|
@@ -512,7 +561,7 @@ var ProductFieldsApiFp = function (configuration) {
|
|
|
512
561
|
});
|
|
513
562
|
},
|
|
514
563
|
/**
|
|
515
|
-
* Returns a list of product field types you have previously created.
|
|
564
|
+
* Returns a list of product field types you have previously created. The product field types are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
516
565
|
* @summary List product field types
|
|
517
566
|
* @param {string} [authorization] Bearer Token
|
|
518
567
|
* @param {number} [pageSize] Page size.
|
|
@@ -539,7 +588,7 @@ var ProductFieldsApiFp = function (configuration) {
|
|
|
539
588
|
});
|
|
540
589
|
},
|
|
541
590
|
/**
|
|
542
|
-
* Returns a list of product fields you have previously created.
|
|
591
|
+
* Returns a list of product fields you have previously created. The product fields are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
543
592
|
* @summary List product fields
|
|
544
593
|
* @param {string} [authorization] Bearer Token
|
|
545
594
|
* @param {number} [pageSize] Page size.
|
|
@@ -565,6 +614,27 @@ var ProductFieldsApiFp = function (configuration) {
|
|
|
565
614
|
});
|
|
566
615
|
});
|
|
567
616
|
},
|
|
617
|
+
/**
|
|
618
|
+
* Order of the product field is mostly used for display for both the product and policy.This function will swap the order of two product fields, resulting in the two fields swapping their place in the list, be it on product or policy page.
|
|
619
|
+
* @summary Swaps product fields order
|
|
620
|
+
* @param {SwapProductFieldsOrderRequestDto} swapProductFieldsOrderRequestDto
|
|
621
|
+
* @param {string} [authorization] Bearer Token
|
|
622
|
+
* @param {*} [options] Override http request option.
|
|
623
|
+
* @throws {RequiredError}
|
|
624
|
+
*/
|
|
625
|
+
swapProductFieldsOrder: function (swapProductFieldsOrderRequestDto, authorization, options) {
|
|
626
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
627
|
+
var localVarAxiosArgs;
|
|
628
|
+
return __generator(this, function (_a) {
|
|
629
|
+
switch (_a.label) {
|
|
630
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.swapProductFieldsOrder(swapProductFieldsOrderRequestDto, authorization, options)];
|
|
631
|
+
case 1:
|
|
632
|
+
localVarAxiosArgs = _a.sent();
|
|
633
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
634
|
+
}
|
|
635
|
+
});
|
|
636
|
+
});
|
|
637
|
+
},
|
|
568
638
|
/**
|
|
569
639
|
* Updates the specified product by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
570
640
|
* @summary Update the product
|
|
@@ -620,7 +690,7 @@ var ProductFieldsApiFactory = function (configuration, basePath, axios) {
|
|
|
620
690
|
return localVarFp.deleteProductField(id, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
621
691
|
},
|
|
622
692
|
/**
|
|
623
|
-
* Retrieves the details of the product field that was previously created.
|
|
693
|
+
* Retrieves the details of the product field that was previously created. Supply the unique product field id that was returned when you created it and Emil Api will return the corresponding product field information.
|
|
624
694
|
* @summary Retrieve the product field
|
|
625
695
|
* @param {number} id
|
|
626
696
|
* @param {string} [authorization] Bearer Token
|
|
@@ -631,7 +701,7 @@ var ProductFieldsApiFactory = function (configuration, basePath, axios) {
|
|
|
631
701
|
return localVarFp.getProductField(id, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
632
702
|
},
|
|
633
703
|
/**
|
|
634
|
-
* Returns a list of product field types you have previously created.
|
|
704
|
+
* Returns a list of product field types you have previously created. The product field types are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
635
705
|
* @summary List product field types
|
|
636
706
|
* @param {string} [authorization] Bearer Token
|
|
637
707
|
* @param {number} [pageSize] Page size.
|
|
@@ -648,7 +718,7 @@ var ProductFieldsApiFactory = function (configuration, basePath, axios) {
|
|
|
648
718
|
return localVarFp.listProductFieldTypes(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
649
719
|
},
|
|
650
720
|
/**
|
|
651
|
-
* Returns a list of product fields you have previously created.
|
|
721
|
+
* Returns a list of product fields you have previously created. The product fields are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
652
722
|
* @summary List product fields
|
|
653
723
|
* @param {string} [authorization] Bearer Token
|
|
654
724
|
* @param {number} [pageSize] Page size.
|
|
@@ -664,6 +734,17 @@ var ProductFieldsApiFactory = function (configuration, basePath, axios) {
|
|
|
664
734
|
listProductFields: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
665
735
|
return localVarFp.listProductFields(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
666
736
|
},
|
|
737
|
+
/**
|
|
738
|
+
* Order of the product field is mostly used for display for both the product and policy.This function will swap the order of two product fields, resulting in the two fields swapping their place in the list, be it on product or policy page.
|
|
739
|
+
* @summary Swaps product fields order
|
|
740
|
+
* @param {SwapProductFieldsOrderRequestDto} swapProductFieldsOrderRequestDto
|
|
741
|
+
* @param {string} [authorization] Bearer Token
|
|
742
|
+
* @param {*} [options] Override http request option.
|
|
743
|
+
* @throws {RequiredError}
|
|
744
|
+
*/
|
|
745
|
+
swapProductFieldsOrder: function (swapProductFieldsOrderRequestDto, authorization, options) {
|
|
746
|
+
return localVarFp.swapProductFieldsOrder(swapProductFieldsOrderRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
747
|
+
},
|
|
667
748
|
/**
|
|
668
749
|
* Updates the specified product by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
669
750
|
* @summary Update the product
|
|
@@ -715,7 +796,7 @@ var ProductFieldsApi = /** @class */ (function (_super) {
|
|
|
715
796
|
return (0, exports.ProductFieldsApiFp)(this.configuration).deleteProductField(requestParameters.id, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
716
797
|
};
|
|
717
798
|
/**
|
|
718
|
-
* Retrieves the details of the product field that was previously created.
|
|
799
|
+
* Retrieves the details of the product field that was previously created. Supply the unique product field id that was returned when you created it and Emil Api will return the corresponding product field information.
|
|
719
800
|
* @summary Retrieve the product field
|
|
720
801
|
* @param {ProductFieldsApiGetProductFieldRequest} requestParameters Request parameters.
|
|
721
802
|
* @param {*} [options] Override http request option.
|
|
@@ -727,7 +808,7 @@ var ProductFieldsApi = /** @class */ (function (_super) {
|
|
|
727
808
|
return (0, exports.ProductFieldsApiFp)(this.configuration).getProductField(requestParameters.id, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
728
809
|
};
|
|
729
810
|
/**
|
|
730
|
-
* Returns a list of product field types you have previously created.
|
|
811
|
+
* Returns a list of product field types you have previously created. The product field types are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
731
812
|
* @summary List product field types
|
|
732
813
|
* @param {ProductFieldsApiListProductFieldTypesRequest} requestParameters Request parameters.
|
|
733
814
|
* @param {*} [options] Override http request option.
|
|
@@ -740,7 +821,7 @@ var ProductFieldsApi = /** @class */ (function (_super) {
|
|
|
740
821
|
return (0, exports.ProductFieldsApiFp)(this.configuration).listProductFieldTypes(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
741
822
|
};
|
|
742
823
|
/**
|
|
743
|
-
* Returns a list of product fields you have previously created.
|
|
824
|
+
* Returns a list of product fields you have previously created. The product fields are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
744
825
|
* @summary List product fields
|
|
745
826
|
* @param {ProductFieldsApiListProductFieldsRequest} requestParameters Request parameters.
|
|
746
827
|
* @param {*} [options] Override http request option.
|
|
@@ -752,6 +833,18 @@ var ProductFieldsApi = /** @class */ (function (_super) {
|
|
|
752
833
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
753
834
|
return (0, exports.ProductFieldsApiFp)(this.configuration).listProductFields(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
754
835
|
};
|
|
836
|
+
/**
|
|
837
|
+
* Order of the product field is mostly used for display for both the product and policy.This function will swap the order of two product fields, resulting in the two fields swapping their place in the list, be it on product or policy page.
|
|
838
|
+
* @summary Swaps product fields order
|
|
839
|
+
* @param {ProductFieldsApiSwapProductFieldsOrderRequest} requestParameters Request parameters.
|
|
840
|
+
* @param {*} [options] Override http request option.
|
|
841
|
+
* @throws {RequiredError}
|
|
842
|
+
* @memberof ProductFieldsApi
|
|
843
|
+
*/
|
|
844
|
+
ProductFieldsApi.prototype.swapProductFieldsOrder = function (requestParameters, options) {
|
|
845
|
+
var _this = this;
|
|
846
|
+
return (0, exports.ProductFieldsApiFp)(this.configuration).swapProductFieldsOrder(requestParameters.swapProductFieldsOrderRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
847
|
+
};
|
|
755
848
|
/**
|
|
756
849
|
* Updates the specified product by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
757
850
|
* @summary Update the product
|
|
@@ -21,7 +21,7 @@ import { UpdateProductVersionResponseClass } from '../models';
|
|
|
21
21
|
*/
|
|
22
22
|
export declare const ProductVersionsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
23
23
|
/**
|
|
24
|
-
* Retrieves the details of the product version that was previously created.
|
|
24
|
+
* Retrieves the details of the product version that was previously created. Supply the unique product version id that was returned when you created it and Emil Api will return the corresponding product version information.
|
|
25
25
|
* @summary Retrieve the product version
|
|
26
26
|
* @param {string} id
|
|
27
27
|
* @param {number} id2 Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
@@ -49,7 +49,7 @@ export declare const ProductVersionsApiAxiosParamCreator: (configuration?: Confi
|
|
|
49
49
|
*/
|
|
50
50
|
export declare const ProductVersionsApiFp: (configuration?: Configuration) => {
|
|
51
51
|
/**
|
|
52
|
-
* Retrieves the details of the product version that was previously created.
|
|
52
|
+
* Retrieves the details of the product version that was previously created. Supply the unique product version id that was returned when you created it and Emil Api will return the corresponding product version information.
|
|
53
53
|
* @summary Retrieve the product version
|
|
54
54
|
* @param {string} id
|
|
55
55
|
* @param {number} id2 Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
@@ -77,7 +77,7 @@ export declare const ProductVersionsApiFp: (configuration?: Configuration) => {
|
|
|
77
77
|
*/
|
|
78
78
|
export declare const ProductVersionsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
79
79
|
/**
|
|
80
|
-
* Retrieves the details of the product version that was previously created.
|
|
80
|
+
* Retrieves the details of the product version that was previously created. Supply the unique product version id that was returned when you created it and Emil Api will return the corresponding product version information.
|
|
81
81
|
* @summary Retrieve the product version
|
|
82
82
|
* @param {string} id
|
|
83
83
|
* @param {number} id2 Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
@@ -169,7 +169,7 @@ export interface ProductVersionsApiUpdateProductVersionRequest {
|
|
|
169
169
|
*/
|
|
170
170
|
export declare class ProductVersionsApi extends BaseAPI {
|
|
171
171
|
/**
|
|
172
|
-
* Retrieves the details of the product version that was previously created.
|
|
172
|
+
* Retrieves the details of the product version that was previously created. Supply the unique product version id that was returned when you created it and Emil Api will return the corresponding product version information.
|
|
173
173
|
* @summary Retrieve the product version
|
|
174
174
|
* @param {ProductVersionsApiGetProductVersionRequest} requestParameters Request parameters.
|
|
175
175
|
* @param {*} [options] Override http request option.
|