@emilgroup/insurance-sdk-node 1.95.1-beta.0 → 1.95.1-beta.8

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.
@@ -36,6 +36,7 @@ index.ts
36
36
  models/activate-policy-request-dto.ts
37
37
  models/activate-policy-response-class.ts
38
38
  models/amount-with-limit-class.ts
39
+ models/approval-limit-class.ts
39
40
  models/bank-transfer-dto.ts
40
41
  models/billing-address-dto.ts
41
42
  models/booking-funnel-class.ts
@@ -197,6 +198,7 @@ models/list-premium-formulas-response-class.ts
197
198
  models/list-product-factors-response-class.ts
198
199
  models/list-product-field-types-response-class.ts
199
200
  models/list-product-fields-response-class.ts
201
+ models/list-product-versions-response-class.ts
200
202
  models/list-products-response-class.ts
201
203
  models/list-request-dto.ts
202
204
  models/list-status-transition-rules-response-class.ts
package/README.md CHANGED
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
17
17
  Navigate to the folder of your consuming project and run one of the following commands:
18
18
 
19
19
  ```
20
- npm install @emilgroup/insurance-sdk-node@1.95.1-beta.0 --save
20
+ npm install @emilgroup/insurance-sdk-node@1.95.1-beta.8 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/insurance-sdk-node@1.95.1-beta.0
24
+ yarn add @emilgroup/insurance-sdk-node@1.95.1-beta.8
25
25
  ```
26
26
 
27
27
  And then you can import `PoliciesApi`.
@@ -23,6 +23,8 @@ import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } fr
23
23
  // @ts-ignore
24
24
  import { GetProductVersionResponseClass } from '../models';
25
25
  // @ts-ignore
26
+ import { ListProductVersionsResponseClass } from '../models';
27
+ // @ts-ignore
26
28
  import { UpdateProductVersionRequestDto } from '../models';
27
29
  // @ts-ignore
28
30
  import { UpdateProductVersionResponseClass } from '../models';
@@ -89,6 +91,82 @@ export const ProductVersionsApiAxiosParamCreator = function (configuration?: Con
89
91
 
90
92
 
91
93
 
94
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
95
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
96
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
97
+
98
+ return {
99
+ url: toPathString(localVarUrlObj),
100
+ options: localVarRequestOptions,
101
+ };
102
+ },
103
+ /**
104
+ * Returns a list of product versions you have previously created. The product versions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"policy-management.products.view\"
105
+ * @summary List product versions
106
+ * @param {string} [authorization] Bearer Token
107
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
108
+ * @param {string} [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=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
109
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, productId, description, status</i>
110
+ * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
111
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, productId, description, status</i>
112
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: product<i>
113
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, productId, description, status</i>
114
+ * @param {*} [options] Override http request option.
115
+ * @throws {RequiredError}
116
+ */
117
+ listProductVersions: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
118
+ const localVarPath = `/insuranceservice/v1/product-versions`;
119
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
120
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
121
+ let baseOptions;
122
+ let baseAccessToken;
123
+ if (configuration) {
124
+ baseOptions = configuration.baseOptions;
125
+ baseAccessToken = configuration.accessToken;
126
+ }
127
+
128
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
129
+ const localVarHeaderParameter = {} as any;
130
+ const localVarQueryParameter = {} as any;
131
+
132
+ // authentication bearer required
133
+ // http bearer authentication required
134
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
135
+
136
+ if (pageSize !== undefined) {
137
+ localVarQueryParameter['pageSize'] = pageSize;
138
+ }
139
+
140
+ if (pageToken !== undefined) {
141
+ localVarQueryParameter['pageToken'] = pageToken;
142
+ }
143
+
144
+ if (filter !== undefined) {
145
+ localVarQueryParameter['filter'] = filter;
146
+ }
147
+
148
+ if (search !== undefined) {
149
+ localVarQueryParameter['search'] = search;
150
+ }
151
+
152
+ if (order !== undefined) {
153
+ localVarQueryParameter['order'] = order;
154
+ }
155
+
156
+ if (expand !== undefined) {
157
+ localVarQueryParameter['expand'] = expand;
158
+ }
159
+
160
+ if (filters !== undefined) {
161
+ localVarQueryParameter['filters'] = filters;
162
+ }
163
+
164
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
165
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
166
+ }
167
+
168
+
169
+
92
170
  setSearchParams(localVarUrlObj, localVarQueryParameter);
93
171
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
94
172
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -174,6 +252,24 @@ export const ProductVersionsApiFp = function(configuration?: Configuration) {
174
252
  const localVarAxiosArgs = await localVarAxiosParamCreator.getProductVersion(id, id2, authorization, filter, expand, options);
175
253
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
176
254
  },
255
+ /**
256
+ * Returns a list of product versions you have previously created. The product versions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"policy-management.products.view\"
257
+ * @summary List product versions
258
+ * @param {string} [authorization] Bearer Token
259
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
260
+ * @param {string} [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.
261
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, productId, description, status&lt;/i&gt;
262
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
263
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, productId, description, status&lt;/i&gt;
264
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: product&lt;i&gt;
265
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, productId, description, status&lt;/i&gt;
266
+ * @param {*} [options] Override http request option.
267
+ * @throws {RequiredError}
268
+ */
269
+ async listProductVersions(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListProductVersionsResponseClass>> {
270
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listProductVersions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
271
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
272
+ },
177
273
  /**
178
274
  * Updates the specified product version by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"policy-management.products.update\"
179
275
  * @summary Update the product version
@@ -211,6 +307,23 @@ export const ProductVersionsApiFactory = function (configuration?: Configuration
211
307
  getProductVersion(id: string, id2: number, authorization?: string, filter?: string, expand?: string, options?: any): AxiosPromise<GetProductVersionResponseClass> {
212
308
  return localVarFp.getProductVersion(id, id2, authorization, filter, expand, options).then((request) => request(axios, basePath));
213
309
  },
310
+ /**
311
+ * Returns a list of product versions you have previously created. The product versions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"policy-management.products.view\"
312
+ * @summary List product versions
313
+ * @param {string} [authorization] Bearer Token
314
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
315
+ * @param {string} [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.
316
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, productId, description, status&lt;/i&gt;
317
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
318
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, productId, description, status&lt;/i&gt;
319
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: product&lt;i&gt;
320
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, productId, description, status&lt;/i&gt;
321
+ * @param {*} [options] Override http request option.
322
+ * @throws {RequiredError}
323
+ */
324
+ listProductVersions(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListProductVersionsResponseClass> {
325
+ return localVarFp.listProductVersions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
326
+ },
214
327
  /**
215
328
  * Updates the specified product version by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"policy-management.products.update\"
216
329
  * @summary Update the product version
@@ -268,6 +381,69 @@ export interface ProductVersionsApiGetProductVersionRequest {
268
381
  readonly expand?: string
269
382
  }
270
383
 
384
+ /**
385
+ * Request parameters for listProductVersions operation in ProductVersionsApi.
386
+ * @export
387
+ * @interface ProductVersionsApiListProductVersionsRequest
388
+ */
389
+ export interface ProductVersionsApiListProductVersionsRequest {
390
+ /**
391
+ * Bearer Token
392
+ * @type {string}
393
+ * @memberof ProductVersionsApiListProductVersions
394
+ */
395
+ readonly authorization?: string
396
+
397
+ /**
398
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
399
+ * @type {number}
400
+ * @memberof ProductVersionsApiListProductVersions
401
+ */
402
+ readonly pageSize?: number
403
+
404
+ /**
405
+ * 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.
406
+ * @type {string}
407
+ * @memberof ProductVersionsApiListProductVersions
408
+ */
409
+ readonly pageToken?: string
410
+
411
+ /**
412
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, productId, description, status&lt;/i&gt;
413
+ * @type {string}
414
+ * @memberof ProductVersionsApiListProductVersions
415
+ */
416
+ readonly filter?: string
417
+
418
+ /**
419
+ * To search the list by any field, pass search&#x3D;xxx to fetch the result.
420
+ * @type {string}
421
+ * @memberof ProductVersionsApiListProductVersions
422
+ */
423
+ readonly search?: string
424
+
425
+ /**
426
+ * Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, productId, description, status&lt;/i&gt;
427
+ * @type {string}
428
+ * @memberof ProductVersionsApiListProductVersions
429
+ */
430
+ readonly order?: string
431
+
432
+ /**
433
+ * Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: product&lt;i&gt;
434
+ * @type {string}
435
+ * @memberof ProductVersionsApiListProductVersions
436
+ */
437
+ readonly expand?: string
438
+
439
+ /**
440
+ * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, productId, description, status&lt;/i&gt;
441
+ * @type {string}
442
+ * @memberof ProductVersionsApiListProductVersions
443
+ */
444
+ readonly filters?: string
445
+ }
446
+
271
447
  /**
272
448
  * Request parameters for updateProductVersion operation in ProductVersionsApi.
273
449
  * @export
@@ -315,6 +491,18 @@ export class ProductVersionsApi extends BaseAPI {
315
491
  return ProductVersionsApiFp(this.configuration).getProductVersion(requestParameters.id, requestParameters.id2, requestParameters.authorization, requestParameters.filter, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
316
492
  }
317
493
 
494
+ /**
495
+ * Returns a list of product versions you have previously created. The product versions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"policy-management.products.view\"
496
+ * @summary List product versions
497
+ * @param {ProductVersionsApiListProductVersionsRequest} requestParameters Request parameters.
498
+ * @param {*} [options] Override http request option.
499
+ * @throws {RequiredError}
500
+ * @memberof ProductVersionsApi
501
+ */
502
+ public listProductVersions(requestParameters: ProductVersionsApiListProductVersionsRequest = {}, options?: AxiosRequestConfig) {
503
+ return ProductVersionsApiFp(this.configuration).listProductVersions(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
504
+ }
505
+
318
506
  /**
319
507
  * Updates the specified product version by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"policy-management.products.update\"
320
508
  * @summary Update the product version
@@ -13,6 +13,7 @@ import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
13
13
  import { Configuration } from '../configuration';
14
14
  import { RequestArgs, BaseAPI } from '../base';
15
15
  import { GetProductVersionResponseClass } from '../models';
16
+ import { ListProductVersionsResponseClass } from '../models';
16
17
  import { UpdateProductVersionRequestDto } from '../models';
17
18
  import { UpdateProductVersionResponseClass } from '../models';
18
19
  /**
@@ -32,6 +33,21 @@ export declare const ProductVersionsApiAxiosParamCreator: (configuration?: Confi
32
33
  * @throws {RequiredError}
33
34
  */
34
35
  getProductVersion: (id: string, id2: number, authorization?: string, filter?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
36
+ /**
37
+ * Returns a list of product versions you have previously created. The product versions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"policy-management.products.view\"
38
+ * @summary List product versions
39
+ * @param {string} [authorization] Bearer Token
40
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
41
+ * @param {string} [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.
42
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, productId, description, status&lt;/i&gt;
43
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
44
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, productId, description, status&lt;/i&gt;
45
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: product&lt;i&gt;
46
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, productId, description, status&lt;/i&gt;
47
+ * @param {*} [options] Override http request option.
48
+ * @throws {RequiredError}
49
+ */
50
+ listProductVersions: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
35
51
  /**
36
52
  * Updates the specified product version by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"policy-management.products.update\"
37
53
  * @summary Update the product version
@@ -60,6 +76,21 @@ export declare const ProductVersionsApiFp: (configuration?: Configuration) => {
60
76
  * @throws {RequiredError}
61
77
  */
62
78
  getProductVersion(id: string, id2: number, authorization?: string, filter?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetProductVersionResponseClass>>;
79
+ /**
80
+ * Returns a list of product versions you have previously created. The product versions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"policy-management.products.view\"
81
+ * @summary List product versions
82
+ * @param {string} [authorization] Bearer Token
83
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
84
+ * @param {string} [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.
85
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, productId, description, status&lt;/i&gt;
86
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
87
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, productId, description, status&lt;/i&gt;
88
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: product&lt;i&gt;
89
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, productId, description, status&lt;/i&gt;
90
+ * @param {*} [options] Override http request option.
91
+ * @throws {RequiredError}
92
+ */
93
+ listProductVersions(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListProductVersionsResponseClass>>;
63
94
  /**
64
95
  * Updates the specified product version by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"policy-management.products.update\"
65
96
  * @summary Update the product version
@@ -88,6 +119,21 @@ export declare const ProductVersionsApiFactory: (configuration?: Configuration,
88
119
  * @throws {RequiredError}
89
120
  */
90
121
  getProductVersion(id: string, id2: number, authorization?: string, filter?: string, expand?: string, options?: any): AxiosPromise<GetProductVersionResponseClass>;
122
+ /**
123
+ * Returns a list of product versions you have previously created. The product versions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"policy-management.products.view\"
124
+ * @summary List product versions
125
+ * @param {string} [authorization] Bearer Token
126
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
127
+ * @param {string} [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.
128
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, productId, description, status&lt;/i&gt;
129
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
130
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, productId, description, status&lt;/i&gt;
131
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: product&lt;i&gt;
132
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, productId, description, status&lt;/i&gt;
133
+ * @param {*} [options] Override http request option.
134
+ * @throws {RequiredError}
135
+ */
136
+ listProductVersions(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListProductVersionsResponseClass>;
91
137
  /**
92
138
  * Updates the specified product version by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"policy-management.products.update\"
93
139
  * @summary Update the product version
@@ -136,6 +182,61 @@ export interface ProductVersionsApiGetProductVersionRequest {
136
182
  */
137
183
  readonly expand?: string;
138
184
  }
185
+ /**
186
+ * Request parameters for listProductVersions operation in ProductVersionsApi.
187
+ * @export
188
+ * @interface ProductVersionsApiListProductVersionsRequest
189
+ */
190
+ export interface ProductVersionsApiListProductVersionsRequest {
191
+ /**
192
+ * Bearer Token
193
+ * @type {string}
194
+ * @memberof ProductVersionsApiListProductVersions
195
+ */
196
+ readonly authorization?: string;
197
+ /**
198
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
199
+ * @type {number}
200
+ * @memberof ProductVersionsApiListProductVersions
201
+ */
202
+ readonly pageSize?: number;
203
+ /**
204
+ * 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.
205
+ * @type {string}
206
+ * @memberof ProductVersionsApiListProductVersions
207
+ */
208
+ readonly pageToken?: string;
209
+ /**
210
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, productId, description, status&lt;/i&gt;
211
+ * @type {string}
212
+ * @memberof ProductVersionsApiListProductVersions
213
+ */
214
+ readonly filter?: string;
215
+ /**
216
+ * To search the list by any field, pass search&#x3D;xxx to fetch the result.
217
+ * @type {string}
218
+ * @memberof ProductVersionsApiListProductVersions
219
+ */
220
+ readonly search?: string;
221
+ /**
222
+ * Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, productId, description, status&lt;/i&gt;
223
+ * @type {string}
224
+ * @memberof ProductVersionsApiListProductVersions
225
+ */
226
+ readonly order?: string;
227
+ /**
228
+ * Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: product&lt;i&gt;
229
+ * @type {string}
230
+ * @memberof ProductVersionsApiListProductVersions
231
+ */
232
+ readonly expand?: string;
233
+ /**
234
+ * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, productId, description, status&lt;/i&gt;
235
+ * @type {string}
236
+ * @memberof ProductVersionsApiListProductVersions
237
+ */
238
+ readonly filters?: string;
239
+ }
139
240
  /**
140
241
  * Request parameters for updateProductVersion operation in ProductVersionsApi.
141
242
  * @export
@@ -177,6 +278,15 @@ export declare class ProductVersionsApi extends BaseAPI {
177
278
  * @memberof ProductVersionsApi
178
279
  */
179
280
  getProductVersion(requestParameters: ProductVersionsApiGetProductVersionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetProductVersionResponseClass, any, {}>>;
281
+ /**
282
+ * Returns a list of product versions you have previously created. The product versions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"policy-management.products.view\"
283
+ * @summary List product versions
284
+ * @param {ProductVersionsApiListProductVersionsRequest} requestParameters Request parameters.
285
+ * @param {*} [options] Override http request option.
286
+ * @throws {RequiredError}
287
+ * @memberof ProductVersionsApi
288
+ */
289
+ listProductVersions(requestParameters?: ProductVersionsApiListProductVersionsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListProductVersionsResponseClass, any, {}>>;
180
290
  /**
181
291
  * Updates the specified product version by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"policy-management.products.update\"
182
292
  * @summary Update the product version
@@ -158,6 +158,78 @@ var ProductVersionsApiAxiosParamCreator = function (configuration) {
158
158
  });
159
159
  });
160
160
  },
161
+ /**
162
+ * Returns a list of product versions you have previously created. The product versions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"policy-management.products.view\"
163
+ * @summary List product versions
164
+ * @param {string} [authorization] Bearer Token
165
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
166
+ * @param {string} [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.
167
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, productId, description, status&lt;/i&gt;
168
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
169
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, productId, description, status&lt;/i&gt;
170
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: product&lt;i&gt;
171
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, productId, description, status&lt;/i&gt;
172
+ * @param {*} [options] Override http request option.
173
+ * @throws {RequiredError}
174
+ */
175
+ listProductVersions: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
176
+ if (options === void 0) { options = {}; }
177
+ return __awaiter(_this, void 0, void 0, function () {
178
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
179
+ return __generator(this, function (_a) {
180
+ switch (_a.label) {
181
+ case 0:
182
+ localVarPath = "/insuranceservice/v1/product-versions";
183
+ localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
184
+ if (configuration) {
185
+ baseOptions = configuration.baseOptions;
186
+ baseAccessToken = configuration.accessToken;
187
+ }
188
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
189
+ localVarHeaderParameter = {};
190
+ localVarQueryParameter = {};
191
+ // authentication bearer required
192
+ // http bearer authentication required
193
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
194
+ case 1:
195
+ // authentication bearer required
196
+ // http bearer authentication required
197
+ _a.sent();
198
+ if (pageSize !== undefined) {
199
+ localVarQueryParameter['pageSize'] = pageSize;
200
+ }
201
+ if (pageToken !== undefined) {
202
+ localVarQueryParameter['pageToken'] = pageToken;
203
+ }
204
+ if (filter !== undefined) {
205
+ localVarQueryParameter['filter'] = filter;
206
+ }
207
+ if (search !== undefined) {
208
+ localVarQueryParameter['search'] = search;
209
+ }
210
+ if (order !== undefined) {
211
+ localVarQueryParameter['order'] = order;
212
+ }
213
+ if (expand !== undefined) {
214
+ localVarQueryParameter['expand'] = expand;
215
+ }
216
+ if (filters !== undefined) {
217
+ localVarQueryParameter['filters'] = filters;
218
+ }
219
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
220
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
221
+ }
222
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
223
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
224
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
225
+ return [2 /*return*/, {
226
+ url: (0, common_1.toPathString)(localVarUrlObj),
227
+ options: localVarRequestOptions,
228
+ }];
229
+ }
230
+ });
231
+ });
232
+ },
161
233
  /**
162
234
  * Updates the specified product version by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"policy-management.products.update\"
163
235
  * @summary Update the product version
@@ -245,6 +317,33 @@ var ProductVersionsApiFp = function (configuration) {
245
317
  });
246
318
  });
247
319
  },
320
+ /**
321
+ * Returns a list of product versions you have previously created. The product versions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"policy-management.products.view\"
322
+ * @summary List product versions
323
+ * @param {string} [authorization] Bearer Token
324
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
325
+ * @param {string} [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.
326
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, productId, description, status&lt;/i&gt;
327
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
328
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, productId, description, status&lt;/i&gt;
329
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: product&lt;i&gt;
330
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, productId, description, status&lt;/i&gt;
331
+ * @param {*} [options] Override http request option.
332
+ * @throws {RequiredError}
333
+ */
334
+ listProductVersions: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
335
+ return __awaiter(this, void 0, void 0, function () {
336
+ var localVarAxiosArgs;
337
+ return __generator(this, function (_a) {
338
+ switch (_a.label) {
339
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listProductVersions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
340
+ case 1:
341
+ localVarAxiosArgs = _a.sent();
342
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
343
+ }
344
+ });
345
+ });
346
+ },
248
347
  /**
249
348
  * Updates the specified product version by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"policy-management.products.update\"
250
349
  * @summary Update the product version
@@ -291,6 +390,23 @@ var ProductVersionsApiFactory = function (configuration, basePath, axios) {
291
390
  getProductVersion: function (id, id2, authorization, filter, expand, options) {
292
391
  return localVarFp.getProductVersion(id, id2, authorization, filter, expand, options).then(function (request) { return request(axios, basePath); });
293
392
  },
393
+ /**
394
+ * Returns a list of product versions you have previously created. The product versions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"policy-management.products.view\"
395
+ * @summary List product versions
396
+ * @param {string} [authorization] Bearer Token
397
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
398
+ * @param {string} [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.
399
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, productId, description, status&lt;/i&gt;
400
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
401
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, productId, description, status&lt;/i&gt;
402
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: product&lt;i&gt;
403
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, productId, description, status&lt;/i&gt;
404
+ * @param {*} [options] Override http request option.
405
+ * @throws {RequiredError}
406
+ */
407
+ listProductVersions: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
408
+ return localVarFp.listProductVersions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
409
+ },
294
410
  /**
295
411
  * Updates the specified product version by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"policy-management.products.update\"
296
412
  * @summary Update the product version
@@ -329,6 +445,19 @@ var ProductVersionsApi = /** @class */ (function (_super) {
329
445
  var _this = this;
330
446
  return (0, exports.ProductVersionsApiFp)(this.configuration).getProductVersion(requestParameters.id, requestParameters.id2, requestParameters.authorization, requestParameters.filter, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
331
447
  };
448
+ /**
449
+ * Returns a list of product versions you have previously created. The product versions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"policy-management.products.view\"
450
+ * @summary List product versions
451
+ * @param {ProductVersionsApiListProductVersionsRequest} requestParameters Request parameters.
452
+ * @param {*} [options] Override http request option.
453
+ * @throws {RequiredError}
454
+ * @memberof ProductVersionsApi
455
+ */
456
+ ProductVersionsApi.prototype.listProductVersions = function (requestParameters, options) {
457
+ var _this = this;
458
+ if (requestParameters === void 0) { requestParameters = {}; }
459
+ return (0, exports.ProductVersionsApiFp)(this.configuration).listProductVersions(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); });
460
+ };
332
461
  /**
333
462
  * Updates the specified product version by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"policy-management.products.update\"
334
463
  * @summary Update the product version
@@ -0,0 +1,30 @@
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
+ /**
13
+ *
14
+ * @export
15
+ * @interface ApprovalLimitClass
16
+ */
17
+ export interface ApprovalLimitClass {
18
+ /**
19
+ * Unique identifier code of the approver role
20
+ * @type {string}
21
+ * @memberof ApprovalLimitClass
22
+ */
23
+ 'roleCode': string;
24
+ /**
25
+ * Maximum approval amount for the role within the tariff
26
+ * @type {number}
27
+ * @memberof ApprovalLimitClass
28
+ */
29
+ 'amount': number;
30
+ }
@@ -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 });
@@ -59,6 +59,7 @@ export declare const CreateProductRequestDtoInsuredObjectTypesEnum: {
59
59
  readonly Accident: "accident";
60
60
  readonly Travel: "travel";
61
61
  readonly Device: "device";
62
+ readonly Coverage: "coverage";
62
63
  };
63
64
  export type CreateProductRequestDtoInsuredObjectTypesEnum = typeof CreateProductRequestDtoInsuredObjectTypesEnum[keyof typeof CreateProductRequestDtoInsuredObjectTypesEnum];
64
65
  export declare const CreateProductRequestDtoDefaultLanguageEnum: {
@@ -26,7 +26,8 @@ exports.CreateProductRequestDtoInsuredObjectTypesEnum = {
26
26
  LegalProtection: 'legalProtection',
27
27
  Accident: 'accident',
28
28
  Travel: 'travel',
29
- Device: 'device'
29
+ Device: 'device',
30
+ Coverage: 'coverage'
30
31
  };
31
32
  exports.CreateProductRequestDtoDefaultLanguageEnum = {
32
33
  German: 'German',
@@ -1,6 +1,7 @@
1
1
  export * from './activate-policy-request-dto';
2
2
  export * from './activate-policy-response-class';
3
3
  export * from './amount-with-limit-class';
4
+ export * from './approval-limit-class';
4
5
  export * from './bank-transfer-dto';
5
6
  export * from './billing-address-dto';
6
7
  export * from './booking-funnel-class';
@@ -161,6 +162,7 @@ export * from './list-premium-formulas-response-class';
161
162
  export * from './list-product-factors-response-class';
162
163
  export * from './list-product-field-types-response-class';
163
164
  export * from './list-product-fields-response-class';
165
+ export * from './list-product-versions-response-class';
164
166
  export * from './list-products-response-class';
165
167
  export * from './list-request-dto';
166
168
  export * from './list-status-transition-rules-response-class';
@@ -17,6 +17,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./activate-policy-request-dto"), exports);
18
18
  __exportStar(require("./activate-policy-response-class"), exports);
19
19
  __exportStar(require("./amount-with-limit-class"), exports);
20
+ __exportStar(require("./approval-limit-class"), exports);
20
21
  __exportStar(require("./bank-transfer-dto"), exports);
21
22
  __exportStar(require("./billing-address-dto"), exports);
22
23
  __exportStar(require("./booking-funnel-class"), exports);
@@ -177,6 +178,7 @@ __exportStar(require("./list-premium-formulas-response-class"), exports);
177
178
  __exportStar(require("./list-product-factors-response-class"), exports);
178
179
  __exportStar(require("./list-product-field-types-response-class"), exports);
179
180
  __exportStar(require("./list-product-fields-response-class"), exports);
181
+ __exportStar(require("./list-product-versions-response-class"), exports);
180
182
  __exportStar(require("./list-products-response-class"), exports);
181
183
  __exportStar(require("./list-request-dto"), exports);
182
184
  __exportStar(require("./list-status-transition-rules-response-class"), exports);
@@ -0,0 +1,31 @@
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 ListProductVersionsResponseClass
17
+ */
18
+ export interface ListProductVersionsResponseClass {
19
+ /**
20
+ * List of product versions.
21
+ * @type {Array<ProductVersionClass>}
22
+ * @memberof ListProductVersionsResponseClass
23
+ */
24
+ 'items': Array<ProductVersionClass>;
25
+ /**
26
+ * Next page token.
27
+ * @type {string}
28
+ * @memberof ListProductVersionsResponseClass
29
+ */
30
+ 'nextPageToken': string;
31
+ }
@@ -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 });
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { ApprovalLimitClass } from './approval-limit-class';
12
13
  import { CategoryClass } from './category-class';
13
14
  import { DeductibleClass } from './deductible-class';
14
15
  import { SharedProductFieldOverrideClass } from './shared-product-field-override-class';
@@ -70,4 +71,10 @@ export interface SharedTariffVariationClass {
70
71
  * @memberof SharedTariffVariationClass
71
72
  */
72
73
  'waitingPeriod': WaitingPeriodClass;
74
+ /**
75
+ * Approval limits by role within the tariff variation
76
+ * @type {Array<ApprovalLimitClass>}
77
+ * @memberof SharedTariffVariationClass
78
+ */
79
+ 'approvalLimits': Array<ApprovalLimitClass>;
73
80
  }
@@ -0,0 +1,36 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL InsuranceService
5
+ * The EMIL InsuranceService API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface ApprovalLimitClass
21
+ */
22
+ export interface ApprovalLimitClass {
23
+ /**
24
+ * Unique identifier code of the approver role
25
+ * @type {string}
26
+ * @memberof ApprovalLimitClass
27
+ */
28
+ 'roleCode': string;
29
+ /**
30
+ * Maximum approval amount for the role within the tariff
31
+ * @type {number}
32
+ * @memberof ApprovalLimitClass
33
+ */
34
+ 'amount': number;
35
+ }
36
+
@@ -64,7 +64,8 @@ export const CreateProductRequestDtoInsuredObjectTypesEnum = {
64
64
  LegalProtection: 'legalProtection',
65
65
  Accident: 'accident',
66
66
  Travel: 'travel',
67
- Device: 'device'
67
+ Device: 'device',
68
+ Coverage: 'coverage'
68
69
  } as const;
69
70
 
70
71
  export type CreateProductRequestDtoInsuredObjectTypesEnum = typeof CreateProductRequestDtoInsuredObjectTypesEnum[keyof typeof CreateProductRequestDtoInsuredObjectTypesEnum];
package/models/index.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from './activate-policy-request-dto';
2
2
  export * from './activate-policy-response-class';
3
3
  export * from './amount-with-limit-class';
4
+ export * from './approval-limit-class';
4
5
  export * from './bank-transfer-dto';
5
6
  export * from './billing-address-dto';
6
7
  export * from './booking-funnel-class';
@@ -161,6 +162,7 @@ export * from './list-premium-formulas-response-class';
161
162
  export * from './list-product-factors-response-class';
162
163
  export * from './list-product-field-types-response-class';
163
164
  export * from './list-product-fields-response-class';
165
+ export * from './list-product-versions-response-class';
164
166
  export * from './list-products-response-class';
165
167
  export * from './list-request-dto';
166
168
  export * from './list-status-transition-rules-response-class';
@@ -0,0 +1,37 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL InsuranceService
5
+ * The EMIL InsuranceService API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ import { ProductVersionClass } from './product-version-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface ListProductVersionsResponseClass
22
+ */
23
+ export interface ListProductVersionsResponseClass {
24
+ /**
25
+ * List of product versions.
26
+ * @type {Array<ProductVersionClass>}
27
+ * @memberof ListProductVersionsResponseClass
28
+ */
29
+ 'items': Array<ProductVersionClass>;
30
+ /**
31
+ * Next page token.
32
+ * @type {string}
33
+ * @memberof ListProductVersionsResponseClass
34
+ */
35
+ 'nextPageToken': string;
36
+ }
37
+
@@ -13,6 +13,7 @@
13
13
  */
14
14
 
15
15
 
16
+ import { ApprovalLimitClass } from './approval-limit-class';
16
17
  import { CategoryClass } from './category-class';
17
18
  import { DeductibleClass } from './deductible-class';
18
19
  import { SharedProductFieldOverrideClass } from './shared-product-field-override-class';
@@ -75,5 +76,11 @@ export interface SharedTariffVariationClass {
75
76
  * @memberof SharedTariffVariationClass
76
77
  */
77
78
  'waitingPeriod': WaitingPeriodClass;
79
+ /**
80
+ * Approval limits by role within the tariff variation
81
+ * @type {Array<ApprovalLimitClass>}
82
+ * @memberof SharedTariffVariationClass
83
+ */
84
+ 'approvalLimits': Array<ApprovalLimitClass>;
78
85
  }
79
86
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/insurance-sdk-node",
3
- "version": "1.95.1-beta.0",
3
+ "version": "1.95.1-beta.8",
4
4
  "description": "OpenAPI client for @emilgroup/insurance-sdk-node",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [