@emilgroup/insurance-sdk-node 1.46.0 → 1.47.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.
Files changed (38) hide show
  1. package/.openapi-generator/FILES +2 -0
  2. package/README.md +2 -2
  3. package/api/insured-object-types-api.ts +20 -6
  4. package/api/insured-objects-api.ts +20 -6
  5. package/api/named-ranges-api.ts +20 -6
  6. package/api/policies-api.ts +245 -16
  7. package/api/premium-formulas-api.ts +20 -6
  8. package/api/product-factors-api.ts +20 -6
  9. package/api/product-fields-api.ts +40 -12
  10. package/api/products-api.ts +20 -6
  11. package/dist/api/insured-object-types-api.d.ts +12 -3
  12. package/dist/api/insured-object-types-api.js +12 -6
  13. package/dist/api/insured-objects-api.d.ts +12 -3
  14. package/dist/api/insured-objects-api.js +12 -6
  15. package/dist/api/named-ranges-api.d.ts +12 -3
  16. package/dist/api/named-ranges-api.js +12 -6
  17. package/dist/api/policies-api.d.ts +147 -10
  18. package/dist/api/policies-api.js +161 -15
  19. package/dist/api/premium-formulas-api.d.ts +12 -3
  20. package/dist/api/premium-formulas-api.js +12 -6
  21. package/dist/api/product-factors-api.d.ts +12 -3
  22. package/dist/api/product-factors-api.js +12 -6
  23. package/dist/api/product-fields-api.d.ts +24 -6
  24. package/dist/api/product-fields-api.js +24 -12
  25. package/dist/api/products-api.d.ts +12 -3
  26. package/dist/api/products-api.js +12 -6
  27. package/dist/models/index.d.ts +2 -0
  28. package/dist/models/index.js +2 -0
  29. package/dist/models/list-policy-version-response-class.d.ts +43 -0
  30. package/dist/models/list-policy-version-response-class.js +15 -0
  31. package/dist/models/list-policy-versions-request-dto.d.ts +66 -0
  32. package/dist/models/list-policy-versions-request-dto.js +15 -0
  33. package/dist/models/list-request-dto.d.ts +6 -0
  34. package/models/index.ts +2 -0
  35. package/models/list-policy-version-response-class.ts +49 -0
  36. package/models/list-policy-versions-request-dto.ts +72 -0
  37. package/models/list-request-dto.ts +6 -0
  38. package/package.json +1 -1
@@ -251,10 +251,11 @@ var PremiumFormulasApiAxiosParamCreator = function (configuration) {
251
251
  * @param {string} [search] Search query.
252
252
  * @param {string} [order] Ordering criteria.
253
253
  * @param {string} [expand] Extra fields to fetch.
254
+ * @param {string} [filters]
254
255
  * @param {*} [options] Override http request option.
255
256
  * @throws {RequiredError}
256
257
  */
257
- listPremiumFormulas: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
258
+ listPremiumFormulas: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
258
259
  if (options === void 0) { options = {}; }
259
260
  return __awaiter(_this, void 0, void 0, function () {
260
261
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -295,6 +296,9 @@ var PremiumFormulasApiAxiosParamCreator = function (configuration) {
295
296
  if (expand !== undefined) {
296
297
  localVarQueryParameter['expand'] = expand;
297
298
  }
299
+ if (filters !== undefined) {
300
+ localVarQueryParameter['filters'] = filters;
301
+ }
298
302
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
299
303
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
300
304
  }
@@ -494,15 +498,16 @@ var PremiumFormulasApiFp = function (configuration) {
494
498
  * @param {string} [search] Search query.
495
499
  * @param {string} [order] Ordering criteria.
496
500
  * @param {string} [expand] Extra fields to fetch.
501
+ * @param {string} [filters]
497
502
  * @param {*} [options] Override http request option.
498
503
  * @throws {RequiredError}
499
504
  */
500
- listPremiumFormulas: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
505
+ listPremiumFormulas: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
501
506
  return __awaiter(this, void 0, void 0, function () {
502
507
  var localVarAxiosArgs;
503
508
  return __generator(this, function (_a) {
504
509
  switch (_a.label) {
505
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.listPremiumFormulas(authorization, pageSize, pageToken, filter, search, order, expand, options)];
510
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listPremiumFormulas(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
506
511
  case 1:
507
512
  localVarAxiosArgs = _a.sent();
508
513
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -606,11 +611,12 @@ var PremiumFormulasApiFactory = function (configuration, basePath, axios) {
606
611
  * @param {string} [search] Search query.
607
612
  * @param {string} [order] Ordering criteria.
608
613
  * @param {string} [expand] Extra fields to fetch.
614
+ * @param {string} [filters]
609
615
  * @param {*} [options] Override http request option.
610
616
  * @throws {RequiredError}
611
617
  */
612
- listPremiumFormulas: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
613
- return localVarFp.listPremiumFormulas(authorization, pageSize, pageToken, filter, search, order, expand, options).then(function (request) { return request(axios, basePath); });
618
+ listPremiumFormulas: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
619
+ return localVarFp.listPremiumFormulas(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
614
620
  },
615
621
  /**
616
622
  * Swaps premium formulas order.
@@ -696,7 +702,7 @@ var PremiumFormulasApi = /** @class */ (function (_super) {
696
702
  PremiumFormulasApi.prototype.listPremiumFormulas = function (requestParameters, options) {
697
703
  var _this = this;
698
704
  if (requestParameters === void 0) { requestParameters = {}; }
699
- return (0, exports.PremiumFormulasApiFp)(this.configuration).listPremiumFormulas(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
705
+ return (0, exports.PremiumFormulasApiFp)(this.configuration).listPremiumFormulas(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); });
700
706
  };
701
707
  /**
702
708
  * Swaps premium formulas order.
@@ -67,10 +67,11 @@ export declare const ProductFactorsApiAxiosParamCreator: (configuration?: Config
67
67
  * @param {string} [search] Search query.
68
68
  * @param {string} [order] Ordering criteria.
69
69
  * @param {string} [expand] Extra fields to fetch.
70
+ * @param {string} [filters]
70
71
  * @param {*} [options] Override http request option.
71
72
  * @throws {RequiredError}
72
73
  */
73
- listProductFactors: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
74
+ listProductFactors: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
74
75
  /**
75
76
  * Upload a CSV file containing product factors necessary for a product. The columns must be in the following order: group,label,key,name,value. It is advised to validate the file first.
76
77
  * @summary Upload product factors
@@ -140,10 +141,11 @@ export declare const ProductFactorsApiFp: (configuration?: Configuration) => {
140
141
  * @param {string} [search] Search query.
141
142
  * @param {string} [order] Ordering criteria.
142
143
  * @param {string} [expand] Extra fields to fetch.
144
+ * @param {string} [filters]
143
145
  * @param {*} [options] Override http request option.
144
146
  * @throws {RequiredError}
145
147
  */
146
- listProductFactors(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListProductFactorsResponseClass>>;
148
+ listProductFactors(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListProductFactorsResponseClass>>;
147
149
  /**
148
150
  * Upload a CSV file containing product factors necessary for a product. The columns must be in the following order: group,label,key,name,value. It is advised to validate the file first.
149
151
  * @summary Upload product factors
@@ -213,10 +215,11 @@ export declare const ProductFactorsApiFactory: (configuration?: Configuration, b
213
215
  * @param {string} [search] Search query.
214
216
  * @param {string} [order] Ordering criteria.
215
217
  * @param {string} [expand] Extra fields to fetch.
218
+ * @param {string} [filters]
216
219
  * @param {*} [options] Override http request option.
217
220
  * @throws {RequiredError}
218
221
  */
219
- listProductFactors(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListProductFactorsResponseClass>;
222
+ listProductFactors(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListProductFactorsResponseClass>;
220
223
  /**
221
224
  * Upload a CSV file containing product factors necessary for a product. The columns must be in the following order: group,label,key,name,value. It is advised to validate the file first.
222
225
  * @summary Upload product factors
@@ -384,6 +387,12 @@ export interface ProductFactorsApiListProductFactorsRequest {
384
387
  * @memberof ProductFactorsApiListProductFactors
385
388
  */
386
389
  readonly expand?: string;
390
+ /**
391
+ *
392
+ * @type {string}
393
+ * @memberof ProductFactorsApiListProductFactors
394
+ */
395
+ readonly filters?: string;
387
396
  }
388
397
  /**
389
398
  * Request parameters for storeProductFactors operation in ProductFactorsApi.
@@ -292,10 +292,11 @@ var ProductFactorsApiAxiosParamCreator = function (configuration) {
292
292
  * @param {string} [search] Search query.
293
293
  * @param {string} [order] Ordering criteria.
294
294
  * @param {string} [expand] Extra fields to fetch.
295
+ * @param {string} [filters]
295
296
  * @param {*} [options] Override http request option.
296
297
  * @throws {RequiredError}
297
298
  */
298
- listProductFactors: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
299
+ listProductFactors: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
299
300
  if (options === void 0) { options = {}; }
300
301
  return __awaiter(_this, void 0, void 0, function () {
301
302
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -336,6 +337,9 @@ var ProductFactorsApiAxiosParamCreator = function (configuration) {
336
337
  if (expand !== undefined) {
337
338
  localVarQueryParameter['expand'] = expand;
338
339
  }
340
+ if (filters !== undefined) {
341
+ localVarQueryParameter['filters'] = filters;
342
+ }
339
343
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
340
344
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
341
345
  }
@@ -546,15 +550,16 @@ var ProductFactorsApiFp = function (configuration) {
546
550
  * @param {string} [search] Search query.
547
551
  * @param {string} [order] Ordering criteria.
548
552
  * @param {string} [expand] Extra fields to fetch.
553
+ * @param {string} [filters]
549
554
  * @param {*} [options] Override http request option.
550
555
  * @throws {RequiredError}
551
556
  */
552
- listProductFactors: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
557
+ listProductFactors: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
553
558
  return __awaiter(this, void 0, void 0, function () {
554
559
  var localVarAxiosArgs;
555
560
  return __generator(this, function (_a) {
556
561
  switch (_a.label) {
557
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.listProductFactors(authorization, pageSize, pageToken, filter, search, order, expand, options)];
562
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listProductFactors(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
558
563
  case 1:
559
564
  localVarAxiosArgs = _a.sent();
560
565
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -665,11 +670,12 @@ var ProductFactorsApiFactory = function (configuration, basePath, axios) {
665
670
  * @param {string} [search] Search query.
666
671
  * @param {string} [order] Ordering criteria.
667
672
  * @param {string} [expand] Extra fields to fetch.
673
+ * @param {string} [filters]
668
674
  * @param {*} [options] Override http request option.
669
675
  * @throws {RequiredError}
670
676
  */
671
- listProductFactors: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
672
- return localVarFp.listProductFactors(authorization, pageSize, pageToken, filter, search, order, expand, options).then(function (request) { return request(axios, basePath); });
677
+ listProductFactors: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
678
+ return localVarFp.listProductFactors(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
673
679
  },
674
680
  /**
675
681
  * Upload a CSV file containing product factors necessary for a product. The columns must be in the following order: group,label,key,name,value. It is advised to validate the file first.
@@ -755,7 +761,7 @@ var ProductFactorsApi = /** @class */ (function (_super) {
755
761
  ProductFactorsApi.prototype.listProductFactors = function (requestParameters, options) {
756
762
  var _this = this;
757
763
  if (requestParameters === void 0) { requestParameters = {}; }
758
- return (0, exports.ProductFactorsApiFp)(this.configuration).listProductFactors(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
764
+ return (0, exports.ProductFactorsApiFp)(this.configuration).listProductFactors(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); });
759
765
  };
760
766
  /**
761
767
  * Upload a CSV file containing product factors necessary for a product. The columns must be in the following order: group,label,key,name,value. It is advised to validate the file first.
@@ -62,10 +62,11 @@ export declare const ProductFieldsApiAxiosParamCreator: (configuration?: Configu
62
62
  * @param {string} [search] Search query.
63
63
  * @param {string} [order] Ordering criteria.
64
64
  * @param {string} [expand] Extra fields to fetch.
65
+ * @param {string} [filters]
65
66
  * @param {*} [options] Override http request option.
66
67
  * @throws {RequiredError}
67
68
  */
68
- listProductFieldTypes: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
69
+ listProductFieldTypes: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
69
70
  /**
70
71
  * 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.
71
72
  * @summary List product fields
@@ -76,10 +77,11 @@ export declare const ProductFieldsApiAxiosParamCreator: (configuration?: Configu
76
77
  * @param {string} [search] Search query.
77
78
  * @param {string} [order] Ordering criteria.
78
79
  * @param {string} [expand] Extra fields to fetch.
80
+ * @param {string} [filters]
79
81
  * @param {*} [options] Override http request option.
80
82
  * @throws {RequiredError}
81
83
  */
82
- listProductFields: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
84
+ listProductFields: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
83
85
  /**
84
86
  * Updates the specified product by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
85
87
  * @summary Update the product
@@ -133,10 +135,11 @@ export declare const ProductFieldsApiFp: (configuration?: Configuration) => {
133
135
  * @param {string} [search] Search query.
134
136
  * @param {string} [order] Ordering criteria.
135
137
  * @param {string} [expand] Extra fields to fetch.
138
+ * @param {string} [filters]
136
139
  * @param {*} [options] Override http request option.
137
140
  * @throws {RequiredError}
138
141
  */
139
- listProductFieldTypes(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListProductFieldTypesResponseClass>>;
142
+ 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>>;
140
143
  /**
141
144
  * 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.
142
145
  * @summary List product fields
@@ -147,10 +150,11 @@ export declare const ProductFieldsApiFp: (configuration?: Configuration) => {
147
150
  * @param {string} [search] Search query.
148
151
  * @param {string} [order] Ordering criteria.
149
152
  * @param {string} [expand] Extra fields to fetch.
153
+ * @param {string} [filters]
150
154
  * @param {*} [options] Override http request option.
151
155
  * @throws {RequiredError}
152
156
  */
153
- listProductFields(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListProductFieldsResponseClass>>;
157
+ 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>>;
154
158
  /**
155
159
  * Updates the specified product by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
156
160
  * @summary Update the product
@@ -204,10 +208,11 @@ export declare const ProductFieldsApiFactory: (configuration?: Configuration, ba
204
208
  * @param {string} [search] Search query.
205
209
  * @param {string} [order] Ordering criteria.
206
210
  * @param {string} [expand] Extra fields to fetch.
211
+ * @param {string} [filters]
207
212
  * @param {*} [options] Override http request option.
208
213
  * @throws {RequiredError}
209
214
  */
210
- listProductFieldTypes(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListProductFieldTypesResponseClass>;
215
+ listProductFieldTypes(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListProductFieldTypesResponseClass>;
211
216
  /**
212
217
  * 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.
213
218
  * @summary List product fields
@@ -218,10 +223,11 @@ export declare const ProductFieldsApiFactory: (configuration?: Configuration, ba
218
223
  * @param {string} [search] Search query.
219
224
  * @param {string} [order] Ordering criteria.
220
225
  * @param {string} [expand] Extra fields to fetch.
226
+ * @param {string} [filters]
221
227
  * @param {*} [options] Override http request option.
222
228
  * @throws {RequiredError}
223
229
  */
224
- listProductFields(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListProductFieldsResponseClass>;
230
+ listProductFields(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListProductFieldsResponseClass>;
225
231
  /**
226
232
  * Updates the specified product by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
227
233
  * @summary Update the product
@@ -338,6 +344,12 @@ export interface ProductFieldsApiListProductFieldTypesRequest {
338
344
  * @memberof ProductFieldsApiListProductFieldTypes
339
345
  */
340
346
  readonly expand?: string;
347
+ /**
348
+ *
349
+ * @type {string}
350
+ * @memberof ProductFieldsApiListProductFieldTypes
351
+ */
352
+ readonly filters?: string;
341
353
  }
342
354
  /**
343
355
  * Request parameters for listProductFields operation in ProductFieldsApi.
@@ -387,6 +399,12 @@ export interface ProductFieldsApiListProductFieldsRequest {
387
399
  * @memberof ProductFieldsApiListProductFields
388
400
  */
389
401
  readonly expand?: string;
402
+ /**
403
+ *
404
+ * @type {string}
405
+ * @memberof ProductFieldsApiListProductFields
406
+ */
407
+ readonly filters?: string;
390
408
  }
391
409
  /**
392
410
  * Request parameters for updateProductField operation in ProductFieldsApi.
@@ -251,10 +251,11 @@ var ProductFieldsApiAxiosParamCreator = function (configuration) {
251
251
  * @param {string} [search] Search query.
252
252
  * @param {string} [order] Ordering criteria.
253
253
  * @param {string} [expand] Extra fields to fetch.
254
+ * @param {string} [filters]
254
255
  * @param {*} [options] Override http request option.
255
256
  * @throws {RequiredError}
256
257
  */
257
- listProductFieldTypes: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
258
+ listProductFieldTypes: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
258
259
  if (options === void 0) { options = {}; }
259
260
  return __awaiter(_this, void 0, void 0, function () {
260
261
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -295,6 +296,9 @@ var ProductFieldsApiAxiosParamCreator = function (configuration) {
295
296
  if (expand !== undefined) {
296
297
  localVarQueryParameter['expand'] = expand;
297
298
  }
299
+ if (filters !== undefined) {
300
+ localVarQueryParameter['filters'] = filters;
301
+ }
298
302
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
299
303
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
300
304
  }
@@ -319,10 +323,11 @@ var ProductFieldsApiAxiosParamCreator = function (configuration) {
319
323
  * @param {string} [search] Search query.
320
324
  * @param {string} [order] Ordering criteria.
321
325
  * @param {string} [expand] Extra fields to fetch.
326
+ * @param {string} [filters]
322
327
  * @param {*} [options] Override http request option.
323
328
  * @throws {RequiredError}
324
329
  */
325
- listProductFields: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
330
+ listProductFields: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
326
331
  if (options === void 0) { options = {}; }
327
332
  return __awaiter(_this, void 0, void 0, function () {
328
333
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -363,6 +368,9 @@ var ProductFieldsApiAxiosParamCreator = function (configuration) {
363
368
  if (expand !== undefined) {
364
369
  localVarQueryParameter['expand'] = expand;
365
370
  }
371
+ if (filters !== undefined) {
372
+ localVarQueryParameter['filters'] = filters;
373
+ }
366
374
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
367
375
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
368
376
  }
@@ -513,15 +521,16 @@ var ProductFieldsApiFp = function (configuration) {
513
521
  * @param {string} [search] Search query.
514
522
  * @param {string} [order] Ordering criteria.
515
523
  * @param {string} [expand] Extra fields to fetch.
524
+ * @param {string} [filters]
516
525
  * @param {*} [options] Override http request option.
517
526
  * @throws {RequiredError}
518
527
  */
519
- listProductFieldTypes: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
528
+ listProductFieldTypes: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
520
529
  return __awaiter(this, void 0, void 0, function () {
521
530
  var localVarAxiosArgs;
522
531
  return __generator(this, function (_a) {
523
532
  switch (_a.label) {
524
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.listProductFieldTypes(authorization, pageSize, pageToken, filter, search, order, expand, options)];
533
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listProductFieldTypes(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
525
534
  case 1:
526
535
  localVarAxiosArgs = _a.sent();
527
536
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -539,15 +548,16 @@ var ProductFieldsApiFp = function (configuration) {
539
548
  * @param {string} [search] Search query.
540
549
  * @param {string} [order] Ordering criteria.
541
550
  * @param {string} [expand] Extra fields to fetch.
551
+ * @param {string} [filters]
542
552
  * @param {*} [options] Override http request option.
543
553
  * @throws {RequiredError}
544
554
  */
545
- listProductFields: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
555
+ listProductFields: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
546
556
  return __awaiter(this, void 0, void 0, function () {
547
557
  var localVarAxiosArgs;
548
558
  return __generator(this, function (_a) {
549
559
  switch (_a.label) {
550
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.listProductFields(authorization, pageSize, pageToken, filter, search, order, expand, options)];
560
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listProductFields(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
551
561
  case 1:
552
562
  localVarAxiosArgs = _a.sent();
553
563
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -630,11 +640,12 @@ var ProductFieldsApiFactory = function (configuration, basePath, axios) {
630
640
  * @param {string} [search] Search query.
631
641
  * @param {string} [order] Ordering criteria.
632
642
  * @param {string} [expand] Extra fields to fetch.
643
+ * @param {string} [filters]
633
644
  * @param {*} [options] Override http request option.
634
645
  * @throws {RequiredError}
635
646
  */
636
- listProductFieldTypes: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
637
- return localVarFp.listProductFieldTypes(authorization, pageSize, pageToken, filter, search, order, expand, options).then(function (request) { return request(axios, basePath); });
647
+ listProductFieldTypes: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
648
+ return localVarFp.listProductFieldTypes(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
638
649
  },
639
650
  /**
640
651
  * 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.
@@ -646,11 +657,12 @@ var ProductFieldsApiFactory = function (configuration, basePath, axios) {
646
657
  * @param {string} [search] Search query.
647
658
  * @param {string} [order] Ordering criteria.
648
659
  * @param {string} [expand] Extra fields to fetch.
660
+ * @param {string} [filters]
649
661
  * @param {*} [options] Override http request option.
650
662
  * @throws {RequiredError}
651
663
  */
652
- listProductFields: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
653
- return localVarFp.listProductFields(authorization, pageSize, pageToken, filter, search, order, expand, options).then(function (request) { return request(axios, basePath); });
664
+ listProductFields: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
665
+ return localVarFp.listProductFields(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
654
666
  },
655
667
  /**
656
668
  * Updates the specified product by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
@@ -725,7 +737,7 @@ var ProductFieldsApi = /** @class */ (function (_super) {
725
737
  ProductFieldsApi.prototype.listProductFieldTypes = function (requestParameters, options) {
726
738
  var _this = this;
727
739
  if (requestParameters === void 0) { requestParameters = {}; }
728
- return (0, exports.ProductFieldsApiFp)(this.configuration).listProductFieldTypes(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
740
+ 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); });
729
741
  };
730
742
  /**
731
743
  * 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.
@@ -738,7 +750,7 @@ var ProductFieldsApi = /** @class */ (function (_super) {
738
750
  ProductFieldsApi.prototype.listProductFields = function (requestParameters, options) {
739
751
  var _this = this;
740
752
  if (requestParameters === void 0) { requestParameters = {}; }
741
- return (0, exports.ProductFieldsApiFp)(this.configuration).listProductFields(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
753
+ 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); });
742
754
  };
743
755
  /**
744
756
  * Updates the specified product by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
@@ -76,10 +76,11 @@ export declare const ProductsApiAxiosParamCreator: (configuration?: Configuratio
76
76
  * @param {string} [search] Search query.
77
77
  * @param {string} [order] Ordering criteria.
78
78
  * @param {string} [expand] You can expand product versions and insured object types list in this endpoint. By default, versions &amp; insuredObjectTypes will be an empty array.
79
+ * @param {string} [filters]
79
80
  * @param {*} [options] Override http request option.
80
81
  * @throws {RequiredError}
81
82
  */
82
- listProducts: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
83
+ listProducts: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
83
84
  /**
84
85
  * Updates the specified product by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
85
86
  * @summary Update the product
@@ -148,10 +149,11 @@ export declare const ProductsApiFp: (configuration?: Configuration) => {
148
149
  * @param {string} [search] Search query.
149
150
  * @param {string} [order] Ordering criteria.
150
151
  * @param {string} [expand] You can expand product versions and insured object types list in this endpoint. By default, versions &amp; insuredObjectTypes will be an empty array.
152
+ * @param {string} [filters]
151
153
  * @param {*} [options] Override http request option.
152
154
  * @throws {RequiredError}
153
155
  */
154
- listProducts(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListProductsResponseClass>>;
156
+ listProducts(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListProductsResponseClass>>;
155
157
  /**
156
158
  * Updates the specified product by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
157
159
  * @summary Update the product
@@ -220,10 +222,11 @@ export declare const ProductsApiFactory: (configuration?: Configuration, basePat
220
222
  * @param {string} [search] Search query.
221
223
  * @param {string} [order] Ordering criteria.
222
224
  * @param {string} [expand] You can expand product versions and insured object types list in this endpoint. By default, versions &amp; insuredObjectTypes will be an empty array.
225
+ * @param {string} [filters]
223
226
  * @param {*} [options] Override http request option.
224
227
  * @throws {RequiredError}
225
228
  */
226
- listProducts(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListProductsResponseClass>;
229
+ listProducts(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListProductsResponseClass>;
227
230
  /**
228
231
  * Updates the specified product by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
229
232
  * @summary Update the product
@@ -395,6 +398,12 @@ export interface ProductsApiListProductsRequest {
395
398
  * @memberof ProductsApiListProducts
396
399
  */
397
400
  readonly expand?: string;
401
+ /**
402
+ *
403
+ * @type {string}
404
+ * @memberof ProductsApiListProducts
405
+ */
406
+ readonly filters?: string;
398
407
  }
399
408
  /**
400
409
  * Request parameters for updateProduct operation in ProductsApi.
@@ -333,10 +333,11 @@ var ProductsApiAxiosParamCreator = function (configuration) {
333
333
  * @param {string} [search] Search query.
334
334
  * @param {string} [order] Ordering criteria.
335
335
  * @param {string} [expand] You can expand product versions and insured object types list in this endpoint. By default, versions &amp; insuredObjectTypes will be an empty array.
336
+ * @param {string} [filters]
336
337
  * @param {*} [options] Override http request option.
337
338
  * @throws {RequiredError}
338
339
  */
339
- listProducts: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
340
+ listProducts: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
340
341
  if (options === void 0) { options = {}; }
341
342
  return __awaiter(_this, void 0, void 0, function () {
342
343
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -377,6 +378,9 @@ var ProductsApiAxiosParamCreator = function (configuration) {
377
378
  if (expand !== undefined) {
378
379
  localVarQueryParameter['expand'] = expand;
379
380
  }
381
+ if (filters !== undefined) {
382
+ localVarQueryParameter['filters'] = filters;
383
+ }
380
384
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
381
385
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
382
386
  }
@@ -554,15 +558,16 @@ var ProductsApiFp = function (configuration) {
554
558
  * @param {string} [search] Search query.
555
559
  * @param {string} [order] Ordering criteria.
556
560
  * @param {string} [expand] You can expand product versions and insured object types list in this endpoint. By default, versions &amp; insuredObjectTypes will be an empty array.
561
+ * @param {string} [filters]
557
562
  * @param {*} [options] Override http request option.
558
563
  * @throws {RequiredError}
559
564
  */
560
- listProducts: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
565
+ listProducts: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
561
566
  return __awaiter(this, void 0, void 0, function () {
562
567
  var localVarAxiosArgs;
563
568
  return __generator(this, function (_a) {
564
569
  switch (_a.label) {
565
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.listProducts(authorization, pageSize, pageToken, filter, search, order, expand, options)];
570
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listProducts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
566
571
  case 1:
567
572
  localVarAxiosArgs = _a.sent();
568
573
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -662,11 +667,12 @@ var ProductsApiFactory = function (configuration, basePath, axios) {
662
667
  * @param {string} [search] Search query.
663
668
  * @param {string} [order] Ordering criteria.
664
669
  * @param {string} [expand] You can expand product versions and insured object types list in this endpoint. By default, versions &amp; insuredObjectTypes will be an empty array.
670
+ * @param {string} [filters]
665
671
  * @param {*} [options] Override http request option.
666
672
  * @throws {RequiredError}
667
673
  */
668
- listProducts: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
669
- return localVarFp.listProducts(authorization, pageSize, pageToken, filter, search, order, expand, options).then(function (request) { return request(axios, basePath); });
674
+ listProducts: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
675
+ return localVarFp.listProducts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
670
676
  },
671
677
  /**
672
678
  * Updates the specified product by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
@@ -753,7 +759,7 @@ var ProductsApi = /** @class */ (function (_super) {
753
759
  ProductsApi.prototype.listProducts = function (requestParameters, options) {
754
760
  var _this = this;
755
761
  if (requestParameters === void 0) { requestParameters = {}; }
756
- return (0, exports.ProductsApiFp)(this.configuration).listProducts(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
762
+ return (0, exports.ProductsApiFp)(this.configuration).listProducts(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); });
757
763
  };
758
764
  /**
759
765
  * Updates the specified product by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
@@ -86,6 +86,8 @@ export * from './list-leads-response-class';
86
86
  export * from './list-named-ranges-response-class';
87
87
  export * from './list-policies-response-class';
88
88
  export * from './list-policy-objects-response-class';
89
+ export * from './list-policy-version-response-class';
90
+ export * from './list-policy-versions-request-dto';
89
91
  export * from './list-premium-formulas-response-class';
90
92
  export * from './list-product-factors-response-class';
91
93
  export * from './list-product-field-types-response-class';
@@ -102,6 +102,8 @@ __exportStar(require("./list-leads-response-class"), exports);
102
102
  __exportStar(require("./list-named-ranges-response-class"), exports);
103
103
  __exportStar(require("./list-policies-response-class"), exports);
104
104
  __exportStar(require("./list-policy-objects-response-class"), exports);
105
+ __exportStar(require("./list-policy-version-response-class"), exports);
106
+ __exportStar(require("./list-policy-versions-request-dto"), exports);
105
107
  __exportStar(require("./list-premium-formulas-response-class"), exports);
106
108
  __exportStar(require("./list-product-factors-response-class"), exports);
107
109
  __exportStar(require("./list-product-field-types-response-class"), exports);
@@ -0,0 +1,43 @@
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 { PolicyVersionClass } from './policy-version-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ListPolicyVersionResponseClass
17
+ */
18
+ export interface ListPolicyVersionResponseClass {
19
+ /**
20
+ * Policy versions
21
+ * @type {Array<PolicyVersionClass>}
22
+ * @memberof ListPolicyVersionResponseClass
23
+ */
24
+ 'items': Array<PolicyVersionClass>;
25
+ /**
26
+ * Next page token.
27
+ * @type {string}
28
+ * @memberof ListPolicyVersionResponseClass
29
+ */
30
+ 'nextPageToken': string;
31
+ /**
32
+ * Items per page.
33
+ * @type {number}
34
+ * @memberof ListPolicyVersionResponseClass
35
+ */
36
+ 'itemsPerPage': number;
37
+ /**
38
+ * Total amount of items.
39
+ * @type {number}
40
+ * @memberof ListPolicyVersionResponseClass
41
+ */
42
+ 'totalItems': number;
43
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL InsuranceService
6
+ * The EMIL InsuranceService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });