@emilgroup/insurance-sdk-node 1.7.4 → 1.9.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.
@@ -43,8 +43,8 @@ export declare const LeadsApiAxiosParamCreator: (configuration?: Configuration)
43
43
  */
44
44
  getLead: (code: string, expand: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
45
45
  /**
46
- * Returns a list of lead you have previously created. The lead are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
47
- * @summary List lead
46
+ * Returns a list of leads you have previously created. The leads are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
47
+ * @summary List leads
48
48
  * @param {string} [authorization] Bearer Token
49
49
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
50
50
  * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
@@ -92,8 +92,8 @@ export declare const LeadsApiFp: (configuration?: Configuration) => {
92
92
  */
93
93
  getLead(code: string, expand: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetLeadResponseClass>>;
94
94
  /**
95
- * Returns a list of lead you have previously created. The lead are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
96
- * @summary List lead
95
+ * Returns a list of leads you have previously created. The leads are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
96
+ * @summary List leads
97
97
  * @param {string} [authorization] Bearer Token
98
98
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
99
99
  * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
@@ -141,8 +141,8 @@ export declare const LeadsApiFactory: (configuration?: Configuration, basePath?:
141
141
  */
142
142
  getLead(code: string, expand: string, authorization?: string, options?: any): AxiosPromise<GetLeadResponseClass>;
143
143
  /**
144
- * Returns a list of lead you have previously created. The lead are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
145
- * @summary List lead
144
+ * Returns a list of leads you have previously created. The leads are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
145
+ * @summary List leads
146
146
  * @param {string} [authorization] Bearer Token
147
147
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
148
148
  * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
@@ -309,8 +309,8 @@ export declare class LeadsApi extends BaseAPI {
309
309
  */
310
310
  getLead(requestParameters: LeadsApiGetLeadRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetLeadResponseClass, any>>;
311
311
  /**
312
- * Returns a list of lead you have previously created. The lead are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
313
- * @summary List lead
312
+ * Returns a list of leads you have previously created. The leads are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
313
+ * @summary List leads
314
314
  * @param {LeadsApiListLeadsRequest} requestParameters Request parameters.
315
315
  * @param {*} [options] Override http request option.
316
316
  * @throws {RequiredError}
@@ -200,8 +200,8 @@ var LeadsApiAxiosParamCreator = function (configuration) {
200
200
  });
201
201
  },
202
202
  /**
203
- * Returns a list of lead you have previously created. The lead are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
204
- * @summary List lead
203
+ * Returns a list of leads you have previously created. The leads are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
204
+ * @summary List leads
205
205
  * @param {string} [authorization] Bearer Token
206
206
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
207
207
  * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
@@ -374,8 +374,8 @@ var LeadsApiFp = function (configuration) {
374
374
  });
375
375
  },
376
376
  /**
377
- * Returns a list of lead you have previously created. The lead are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
378
- * @summary List lead
377
+ * Returns a list of leads you have previously created. The leads are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
378
+ * @summary List leads
379
379
  * @param {string} [authorization] Bearer Token
380
380
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
381
381
  * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
@@ -455,8 +455,8 @@ var LeadsApiFactory = function (configuration, basePath, axios) {
455
455
  return localVarFp.getLead(code, expand, authorization, options).then(function (request) { return request(axios, basePath); });
456
456
  },
457
457
  /**
458
- * Returns a list of lead you have previously created. The lead are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
459
- * @summary List lead
458
+ * Returns a list of leads you have previously created. The leads are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
459
+ * @summary List leads
460
460
  * @param {string} [authorization] Bearer Token
461
461
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
462
462
  * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
@@ -521,8 +521,8 @@ var LeadsApi = /** @class */ (function (_super) {
521
521
  return (0, exports.LeadsApiFp)(this.configuration).getLead(requestParameters.code, requestParameters.expand, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
522
522
  };
523
523
  /**
524
- * Returns a list of lead you have previously created. The lead are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
525
- * @summary List lead
524
+ * Returns a list of leads you have previously created. The leads are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
525
+ * @summary List leads
526
526
  * @param {LeadsApiListLeadsRequest} requestParameters Request parameters.
527
527
  * @param {*} [options] Override http request option.
528
528
  * @throws {RequiredError}
@@ -48,7 +48,7 @@ export declare const ProductFactorsApiAxiosParamCreator: (configuration?: Config
48
48
  getProductFactorValue: (productVersionId: number, label: string, key: string, name: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
49
49
  /**
50
50
  * Returns product factors without values (values=none), or with values if their number less or equal to 200 (values=short), or with all values (values=all - this may take several seconds).
51
- * @summary Returns all product factors for the product version.
51
+ * @summary List product factors for version
52
52
  * @param {number} productVersionId Unique identifier referencing the product Version.
53
53
  * @param {string} values Which values to return for every factor (None or Short for short value lists only or All).
54
54
  * @param {string} [authorization] Bearer Token
@@ -121,7 +121,7 @@ export declare const ProductFactorsApiFp: (configuration?: Configuration) => {
121
121
  getProductFactorValue(productVersionId: number, label: string, key: string, name: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetProductFactorValueResponseClass>>;
122
122
  /**
123
123
  * Returns product factors without values (values=none), or with values if their number less or equal to 200 (values=short), or with all values (values=all - this may take several seconds).
124
- * @summary Returns all product factors for the product version.
124
+ * @summary List product factors for version
125
125
  * @param {number} productVersionId Unique identifier referencing the product Version.
126
126
  * @param {string} values Which values to return for every factor (None or Short for short value lists only or All).
127
127
  * @param {string} [authorization] Bearer Token
@@ -194,7 +194,7 @@ export declare const ProductFactorsApiFactory: (configuration?: Configuration, b
194
194
  getProductFactorValue(productVersionId: number, label: string, key: string, name: string, authorization?: string, options?: any): AxiosPromise<GetProductFactorValueResponseClass>;
195
195
  /**
196
196
  * Returns product factors without values (values=none), or with values if their number less or equal to 200 (values=short), or with all values (values=all - this may take several seconds).
197
- * @summary Returns all product factors for the product version.
197
+ * @summary List product factors for version
198
198
  * @param {number} productVersionId Unique identifier referencing the product Version.
199
199
  * @param {string} values Which values to return for every factor (None or Short for short value lists only or All).
200
200
  * @param {string} [authorization] Bearer Token
@@ -456,7 +456,7 @@ export declare class ProductFactorsApi extends BaseAPI {
456
456
  getProductFactorValue(requestParameters: ProductFactorsApiGetProductFactorValueRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetProductFactorValueResponseClass, any>>;
457
457
  /**
458
458
  * Returns product factors without values (values=none), or with values if their number less or equal to 200 (values=short), or with all values (values=all - this may take several seconds).
459
- * @summary Returns all product factors for the product version.
459
+ * @summary List product factors for version
460
460
  * @param {ProductFactorsApiGetProductFactorsForVersionRequest} requestParameters Request parameters.
461
461
  * @param {*} [options] Override http request option.
462
462
  * @throws {RequiredError}
@@ -224,7 +224,7 @@ var ProductFactorsApiAxiosParamCreator = function (configuration) {
224
224
  },
225
225
  /**
226
226
  * Returns product factors without values (values=none), or with values if their number less or equal to 200 (values=short), or with all values (values=all - this may take several seconds).
227
- * @summary Returns all product factors for the product version.
227
+ * @summary List product factors for version
228
228
  * @param {number} productVersionId Unique identifier referencing the product Version.
229
229
  * @param {string} values Which values to return for every factor (None or Short for short value lists only or All).
230
230
  * @param {string} [authorization] Bearer Token
@@ -515,7 +515,7 @@ var ProductFactorsApiFp = function (configuration) {
515
515
  },
516
516
  /**
517
517
  * Returns product factors without values (values=none), or with values if their number less or equal to 200 (values=short), or with all values (values=all - this may take several seconds).
518
- * @summary Returns all product factors for the product version.
518
+ * @summary List product factors for version
519
519
  * @param {number} productVersionId Unique identifier referencing the product Version.
520
520
  * @param {string} values Which values to return for every factor (None or Short for short value lists only or All).
521
521
  * @param {string} [authorization] Bearer Token
@@ -644,7 +644,7 @@ var ProductFactorsApiFactory = function (configuration, basePath, axios) {
644
644
  },
645
645
  /**
646
646
  * Returns product factors without values (values=none), or with values if their number less or equal to 200 (values=short), or with all values (values=all - this may take several seconds).
647
- * @summary Returns all product factors for the product version.
647
+ * @summary List product factors for version
648
648
  * @param {number} productVersionId Unique identifier referencing the product Version.
649
649
  * @param {string} values Which values to return for every factor (None or Short for short value lists only or All).
650
650
  * @param {string} [authorization] Bearer Token
@@ -734,7 +734,7 @@ var ProductFactorsApi = /** @class */ (function (_super) {
734
734
  };
735
735
  /**
736
736
  * Returns product factors without values (values=none), or with values if their number less or equal to 200 (values=short), or with all values (values=all - this may take several seconds).
737
- * @summary Returns all product factors for the product version.
737
+ * @summary List product factors for version
738
738
  * @param {ProductFactorsApiGetProductFactorsForVersionRequest} requestParameters Request parameters.
739
739
  * @param {*} [options] Override http request option.
740
740
  * @throws {RequiredError}
@@ -12,8 +12,6 @@
12
12
  import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
13
13
  import { Configuration } from '../configuration';
14
14
  import { RequestArgs, BaseAPI } from '../base';
15
- import { CloneProductVersionRequestDto } from '../models';
16
- import { CloneProductVersionResponseClass } from '../models';
17
15
  import { GetProductVersionResponseClass } from '../models';
18
16
  import { UpdateProductVersionRequestDto } from '../models';
19
17
  import { UpdateProductVersionResponseClass } from '../models';
@@ -22,14 +20,6 @@ import { UpdateProductVersionResponseClass } from '../models';
22
20
  * @export
23
21
  */
24
22
  export declare const ProductVersionsApiAxiosParamCreator: (configuration?: Configuration) => {
25
- /**
26
- *
27
- * @param {CloneProductVersionRequestDto} cloneProductVersionRequestDto
28
- * @param {string} [authorization] Bearer Token
29
- * @param {*} [options] Override http request option.
30
- * @throws {RequiredError}
31
- */
32
- cloneProductVersion: (cloneProductVersionRequestDto: CloneProductVersionRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
33
23
  /**
34
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.
35
25
  * @summary Retrieve the product version
@@ -56,14 +46,6 @@ export declare const ProductVersionsApiAxiosParamCreator: (configuration?: Confi
56
46
  * @export
57
47
  */
58
48
  export declare const ProductVersionsApiFp: (configuration?: Configuration) => {
59
- /**
60
- *
61
- * @param {CloneProductVersionRequestDto} cloneProductVersionRequestDto
62
- * @param {string} [authorization] Bearer Token
63
- * @param {*} [options] Override http request option.
64
- * @throws {RequiredError}
65
- */
66
- cloneProductVersion(cloneProductVersionRequestDto: CloneProductVersionRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CloneProductVersionResponseClass>>;
67
49
  /**
68
50
  * 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.
69
51
  * @summary Retrieve the product version
@@ -90,14 +72,6 @@ export declare const ProductVersionsApiFp: (configuration?: Configuration) => {
90
72
  * @export
91
73
  */
92
74
  export declare const ProductVersionsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
93
- /**
94
- *
95
- * @param {CloneProductVersionRequestDto} cloneProductVersionRequestDto
96
- * @param {string} [authorization] Bearer Token
97
- * @param {*} [options] Override http request option.
98
- * @throws {RequiredError}
99
- */
100
- cloneProductVersion(cloneProductVersionRequestDto: CloneProductVersionRequestDto, authorization?: string, options?: any): AxiosPromise<CloneProductVersionResponseClass>;
101
75
  /**
102
76
  * 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.
103
77
  * @summary Retrieve the product version
@@ -119,25 +93,6 @@ export declare const ProductVersionsApiFactory: (configuration?: Configuration,
119
93
  */
120
94
  updateProductVersion(id: number, updateProductVersionRequestDto: UpdateProductVersionRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateProductVersionResponseClass>;
121
95
  };
122
- /**
123
- * Request parameters for cloneProductVersion operation in ProductVersionsApi.
124
- * @export
125
- * @interface ProductVersionsApiCloneProductVersionRequest
126
- */
127
- export interface ProductVersionsApiCloneProductVersionRequest {
128
- /**
129
- *
130
- * @type {CloneProductVersionRequestDto}
131
- * @memberof ProductVersionsApiCloneProductVersion
132
- */
133
- readonly cloneProductVersionRequestDto: CloneProductVersionRequestDto;
134
- /**
135
- * Bearer Token
136
- * @type {string}
137
- * @memberof ProductVersionsApiCloneProductVersion
138
- */
139
- readonly authorization?: string;
140
- }
141
96
  /**
142
97
  * Request parameters for getProductVersion operation in ProductVersionsApi.
143
98
  * @export
@@ -195,14 +150,6 @@ export interface ProductVersionsApiUpdateProductVersionRequest {
195
150
  * @extends {BaseAPI}
196
151
  */
197
152
  export declare class ProductVersionsApi extends BaseAPI {
198
- /**
199
- *
200
- * @param {ProductVersionsApiCloneProductVersionRequest} requestParameters Request parameters.
201
- * @param {*} [options] Override http request option.
202
- * @throws {RequiredError}
203
- * @memberof ProductVersionsApi
204
- */
205
- cloneProductVersion(requestParameters: ProductVersionsApiCloneProductVersionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CloneProductVersionResponseClass, any>>;
206
153
  /**
207
154
  * 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.
208
155
  * @summary Retrieve the product version
@@ -96,54 +96,6 @@ var FormData = require('form-data');
96
96
  var ProductVersionsApiAxiosParamCreator = function (configuration) {
97
97
  var _this = this;
98
98
  return {
99
- /**
100
- *
101
- * @param {CloneProductVersionRequestDto} cloneProductVersionRequestDto
102
- * @param {string} [authorization] Bearer Token
103
- * @param {*} [options] Override http request option.
104
- * @throws {RequiredError}
105
- */
106
- cloneProductVersion: function (cloneProductVersionRequestDto, authorization, options) {
107
- if (options === void 0) { options = {}; }
108
- return __awaiter(_this, void 0, void 0, function () {
109
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
110
- return __generator(this, function (_a) {
111
- switch (_a.label) {
112
- case 0:
113
- // verify required parameter 'cloneProductVersionRequestDto' is not null or undefined
114
- (0, common_1.assertParamExists)('cloneProductVersion', 'cloneProductVersionRequestDto', cloneProductVersionRequestDto);
115
- localVarPath = "/insuranceservice/v1/product-versions/clone";
116
- localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
117
- if (configuration) {
118
- baseOptions = configuration.baseOptions;
119
- baseAccessToken = configuration.accessToken;
120
- }
121
- localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
122
- localVarHeaderParameter = {};
123
- localVarQueryParameter = {};
124
- // authentication bearer required
125
- // http bearer authentication required
126
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
127
- case 1:
128
- // authentication bearer required
129
- // http bearer authentication required
130
- _a.sent();
131
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
132
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
133
- }
134
- localVarHeaderParameter['Content-Type'] = 'application/json';
135
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
136
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
137
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
138
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(cloneProductVersionRequestDto, localVarRequestOptions, configuration);
139
- return [2 /*return*/, {
140
- url: (0, common_1.toPathString)(localVarUrlObj),
141
- options: localVarRequestOptions,
142
- }];
143
- }
144
- });
145
- });
146
- },
147
99
  /**
148
100
  * 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.
149
101
  * @summary Retrieve the product version
@@ -261,26 +213,6 @@ exports.ProductVersionsApiAxiosParamCreator = ProductVersionsApiAxiosParamCreato
261
213
  var ProductVersionsApiFp = function (configuration) {
262
214
  var localVarAxiosParamCreator = (0, exports.ProductVersionsApiAxiosParamCreator)(configuration);
263
215
  return {
264
- /**
265
- *
266
- * @param {CloneProductVersionRequestDto} cloneProductVersionRequestDto
267
- * @param {string} [authorization] Bearer Token
268
- * @param {*} [options] Override http request option.
269
- * @throws {RequiredError}
270
- */
271
- cloneProductVersion: function (cloneProductVersionRequestDto, authorization, options) {
272
- return __awaiter(this, void 0, void 0, function () {
273
- var localVarAxiosArgs;
274
- return __generator(this, function (_a) {
275
- switch (_a.label) {
276
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.cloneProductVersion(cloneProductVersionRequestDto, authorization, options)];
277
- case 1:
278
- localVarAxiosArgs = _a.sent();
279
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
280
- }
281
- });
282
- });
283
- },
284
216
  /**
285
217
  * 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.
286
218
  * @summary Retrieve the product version
@@ -335,16 +267,6 @@ exports.ProductVersionsApiFp = ProductVersionsApiFp;
335
267
  var ProductVersionsApiFactory = function (configuration, basePath, axios) {
336
268
  var localVarFp = (0, exports.ProductVersionsApiFp)(configuration);
337
269
  return {
338
- /**
339
- *
340
- * @param {CloneProductVersionRequestDto} cloneProductVersionRequestDto
341
- * @param {string} [authorization] Bearer Token
342
- * @param {*} [options] Override http request option.
343
- * @throws {RequiredError}
344
- */
345
- cloneProductVersion: function (cloneProductVersionRequestDto, authorization, options) {
346
- return localVarFp.cloneProductVersion(cloneProductVersionRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
347
- },
348
270
  /**
349
271
  * 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.
350
272
  * @summary Retrieve the product version
@@ -383,17 +305,6 @@ var ProductVersionsApi = /** @class */ (function (_super) {
383
305
  function ProductVersionsApi() {
384
306
  return _super !== null && _super.apply(this, arguments) || this;
385
307
  }
386
- /**
387
- *
388
- * @param {ProductVersionsApiCloneProductVersionRequest} requestParameters Request parameters.
389
- * @param {*} [options] Override http request option.
390
- * @throws {RequiredError}
391
- * @memberof ProductVersionsApi
392
- */
393
- ProductVersionsApi.prototype.cloneProductVersion = function (requestParameters, options) {
394
- var _this = this;
395
- return (0, exports.ProductVersionsApiFp)(this.configuration).cloneProductVersion(requestParameters.cloneProductVersionRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
396
- };
397
308
  /**
398
309
  * 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.
399
310
  * @summary Retrieve the product version
package/dist/base.d.ts CHANGED
@@ -59,7 +59,7 @@ export declare class BaseAPI {
59
59
  private readEnvVariables;
60
60
  selectEnvironment(env: Environment): void;
61
61
  authorize(username: string, password: string): Promise<void>;
62
- refreshToken(): Promise<string>;
62
+ refreshTokenIntenal(): Promise<string>;
63
63
  private extractRefreshToken;
64
64
  getConfiguration(): Configuration;
65
65
  private attachInterceptor;
package/dist/base.js CHANGED
@@ -270,7 +270,7 @@ var BaseAPI = /** @class */ (function () {
270
270
  });
271
271
  });
272
272
  };
273
- BaseAPI.prototype.refreshToken = function () {
273
+ BaseAPI.prototype.refreshTokenIntenal = function () {
274
274
  return __awaiter(this, void 0, void 0, function () {
275
275
  var _a, username, refreshToken, options, accessToken;
276
276
  return __generator(this, function (_b) {
@@ -324,7 +324,7 @@ var BaseAPI = /** @class */ (function () {
324
324
  _a.label = 1;
325
325
  case 1:
326
326
  _a.trys.push([1, 3, , 4]);
327
- return [4 /*yield*/, this.refreshToken()];
327
+ return [4 /*yield*/, this.refreshTokenIntenal()];
328
328
  case 2:
329
329
  tokenString = _a.sent();
330
330
  accessToken = "Bearer ".concat(tokenString);
@@ -351,7 +351,7 @@ var BaseAPI = /** @class */ (function () {
351
351
  _a.label = 6;
352
352
  case 6:
353
353
  _a.trys.push([6, 8, , 9]);
354
- return [4 /*yield*/, this.refreshToken()];
354
+ return [4 /*yield*/, this.refreshTokenIntenal()];
355
355
  case 7:
356
356
  tokenString = _a.sent();
357
357
  accessToken = "Bearer ".concat(tokenString);
@@ -69,6 +69,18 @@ export interface CreateProductFieldRequestDto {
69
69
  * @memberof CreateProductFieldRequestDto
70
70
  */
71
71
  'isUnique': boolean;
72
+ /**
73
+ * Should the field be hidden on customer portal?
74
+ * @type {boolean}
75
+ * @memberof CreateProductFieldRequestDto
76
+ */
77
+ 'isHiddenCustomerPortal': boolean;
78
+ /**
79
+ * Should the field be editable on customer portal?
80
+ * @type {boolean}
81
+ * @memberof CreateProductFieldRequestDto
82
+ */
83
+ 'isEditableCustomerPortal': boolean;
72
84
  /**
73
85
  * Default value of the field. For the field type date-time, it should be { \"templated\" : \"{{today}}\" }
74
86
  * @type {object}
@@ -1,7 +1,6 @@
1
1
  export * from './calculate-custom-premium-request-dto';
2
2
  export * from './calculate-premium-request-dto';
3
3
  export * from './clone-product-version-request-dto';
4
- export * from './clone-product-version-response-class';
5
4
  export * from './create-account-request-dto';
6
5
  export * from './create-bank-account-request-dto';
7
6
  export * from './create-custom-application-request-dto';
@@ -17,7 +17,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./calculate-custom-premium-request-dto"), exports);
18
18
  __exportStar(require("./calculate-premium-request-dto"), exports);
19
19
  __exportStar(require("./clone-product-version-request-dto"), exports);
20
- __exportStar(require("./clone-product-version-response-class"), exports);
21
20
  __exportStar(require("./create-account-request-dto"), exports);
22
21
  __exportStar(require("./create-bank-account-request-dto"), exports);
23
22
  __exportStar(require("./create-custom-application-request-dto"), exports);
@@ -69,6 +69,18 @@ export interface ProductFieldClass {
69
69
  * @memberof ProductFieldClass
70
70
  */
71
71
  'isHidden': boolean;
72
+ /**
73
+ * Is field hidden on the customer portal?
74
+ * @type {boolean}
75
+ * @memberof ProductFieldClass
76
+ */
77
+ 'isHiddenCustomerPortal': boolean;
78
+ /**
79
+ * Is field editable on the customer portal?
80
+ * @type {boolean}
81
+ * @memberof ProductFieldClass
82
+ */
83
+ 'isEditableCustomerPortal': boolean;
72
84
  /**
73
85
  * Is this a system field? - System fields can neither be deleted nor modified
74
86
  * @type {boolean}
@@ -69,6 +69,18 @@ export interface SharedProductFieldClass {
69
69
  * @memberof SharedProductFieldClass
70
70
  */
71
71
  'isHidden': boolean;
72
+ /**
73
+ * Is field hidden on the customer portal?
74
+ * @type {boolean}
75
+ * @memberof SharedProductFieldClass
76
+ */
77
+ 'isHiddenCustomerPortal': boolean;
78
+ /**
79
+ * Is field editable on the customer portal?
80
+ * @type {boolean}
81
+ * @memberof SharedProductFieldClass
82
+ */
83
+ 'isEditableCustomerPortal': boolean;
72
84
  /**
73
85
  * Is this a system field? - System fields can neither be deleted nor modified
74
86
  * @type {boolean}
@@ -69,6 +69,18 @@ export interface UpdateProductFieldRequestDto {
69
69
  * @memberof UpdateProductFieldRequestDto
70
70
  */
71
71
  'isHidden': boolean;
72
+ /**
73
+ * Should the field be hidden on customer portal?
74
+ * @type {boolean}
75
+ * @memberof UpdateProductFieldRequestDto
76
+ */
77
+ 'isHiddenCustomerPortal': boolean;
78
+ /**
79
+ * Should the field be editable on customer portal?
80
+ * @type {boolean}
81
+ * @memberof UpdateProductFieldRequestDto
82
+ */
83
+ 'isEditableCustomerPortal': boolean;
72
84
  /**
73
85
  * Should the field value be unique across policies?
74
86
  * @type {boolean}
@@ -74,6 +74,18 @@ export interface CreateProductFieldRequestDto {
74
74
  * @memberof CreateProductFieldRequestDto
75
75
  */
76
76
  'isUnique': boolean;
77
+ /**
78
+ * Should the field be hidden on customer portal?
79
+ * @type {boolean}
80
+ * @memberof CreateProductFieldRequestDto
81
+ */
82
+ 'isHiddenCustomerPortal': boolean;
83
+ /**
84
+ * Should the field be editable on customer portal?
85
+ * @type {boolean}
86
+ * @memberof CreateProductFieldRequestDto
87
+ */
88
+ 'isEditableCustomerPortal': boolean;
77
89
  /**
78
90
  * Default value of the field. For the field type date-time, it should be { \"templated\" : \"{{today}}\" }
79
91
  * @type {object}
package/models/index.ts CHANGED
@@ -1,7 +1,6 @@
1
1
  export * from './calculate-custom-premium-request-dto';
2
2
  export * from './calculate-premium-request-dto';
3
3
  export * from './clone-product-version-request-dto';
4
- export * from './clone-product-version-response-class';
5
4
  export * from './create-account-request-dto';
6
5
  export * from './create-bank-account-request-dto';
7
6
  export * from './create-custom-application-request-dto';
@@ -74,6 +74,18 @@ export interface ProductFieldClass {
74
74
  * @memberof ProductFieldClass
75
75
  */
76
76
  'isHidden': boolean;
77
+ /**
78
+ * Is field hidden on the customer portal?
79
+ * @type {boolean}
80
+ * @memberof ProductFieldClass
81
+ */
82
+ 'isHiddenCustomerPortal': boolean;
83
+ /**
84
+ * Is field editable on the customer portal?
85
+ * @type {boolean}
86
+ * @memberof ProductFieldClass
87
+ */
88
+ 'isEditableCustomerPortal': boolean;
77
89
  /**
78
90
  * Is this a system field? - System fields can neither be deleted nor modified
79
91
  * @type {boolean}
@@ -74,6 +74,18 @@ export interface SharedProductFieldClass {
74
74
  * @memberof SharedProductFieldClass
75
75
  */
76
76
  'isHidden': boolean;
77
+ /**
78
+ * Is field hidden on the customer portal?
79
+ * @type {boolean}
80
+ * @memberof SharedProductFieldClass
81
+ */
82
+ 'isHiddenCustomerPortal': boolean;
83
+ /**
84
+ * Is field editable on the customer portal?
85
+ * @type {boolean}
86
+ * @memberof SharedProductFieldClass
87
+ */
88
+ 'isEditableCustomerPortal': boolean;
77
89
  /**
78
90
  * Is this a system field? - System fields can neither be deleted nor modified
79
91
  * @type {boolean}
@@ -74,6 +74,18 @@ export interface UpdateProductFieldRequestDto {
74
74
  * @memberof UpdateProductFieldRequestDto
75
75
  */
76
76
  'isHidden': boolean;
77
+ /**
78
+ * Should the field be hidden on customer portal?
79
+ * @type {boolean}
80
+ * @memberof UpdateProductFieldRequestDto
81
+ */
82
+ 'isHiddenCustomerPortal': boolean;
83
+ /**
84
+ * Should the field be editable on customer portal?
85
+ * @type {boolean}
86
+ * @memberof UpdateProductFieldRequestDto
87
+ */
88
+ 'isEditableCustomerPortal': boolean;
77
89
  /**
78
90
  * Should the field value be unique across policies?
79
91
  * @type {boolean}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/insurance-sdk-node",
3
- "version": "1.7.4",
3
+ "version": "1.9.0",
4
4
  "description": "OpenAPI client for @emilgroup/insurance-sdk-node",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [
@@ -1,25 +0,0 @@
1
- /**
2
- * EMIL InsuranceService
3
- * The EMIL InsuranceService API description
4
- *
5
- * The version of the OpenAPI document: 1.0
6
- * Contact: kontakt@emil.de
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import { ProductVersionClass } from './product-version-class';
13
- /**
14
- *
15
- * @export
16
- * @interface CloneProductVersionResponseClass
17
- */
18
- export interface CloneProductVersionResponseClass {
19
- /**
20
- * Product version
21
- * @type {ProductVersionClass}
22
- * @memberof CloneProductVersionResponseClass
23
- */
24
- 'productVersion': ProductVersionClass;
25
- }