@emilgroup/insurance-sdk-node 1.96.1-beta.0 → 1.96.1-beta.2

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.
@@ -198,7 +198,6 @@ models/list-premium-formulas-response-class.ts
198
198
  models/list-product-factors-response-class.ts
199
199
  models/list-product-field-types-response-class.ts
200
200
  models/list-product-fields-response-class.ts
201
- models/list-product-versions-response-class.ts
202
201
  models/list-products-response-class.ts
203
202
  models/list-request-dto.ts
204
203
  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.96.1-beta.0 --save
20
+ npm install @emilgroup/insurance-sdk-node@1.96.1-beta.2 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/insurance-sdk-node@1.96.1-beta.0
24
+ yarn add @emilgroup/insurance-sdk-node@1.96.1-beta.2
25
25
  ```
26
26
 
27
27
  And then you can import `PoliciesApi`.
@@ -23,8 +23,6 @@ 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
28
26
  import { UpdateProductVersionRequestDto } from '../models';
29
27
  // @ts-ignore
30
28
  import { UpdateProductVersionResponseClass } from '../models';
@@ -91,82 +89,6 @@ export const ProductVersionsApiAxiosParamCreator = function (configuration?: Con
91
89
 
92
90
 
93
91
 
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
-
170
92
  setSearchParams(localVarUrlObj, localVarQueryParameter);
171
93
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
172
94
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -252,24 +174,6 @@ export const ProductVersionsApiFp = function(configuration?: Configuration) {
252
174
  const localVarAxiosArgs = await localVarAxiosParamCreator.getProductVersion(id, id2, authorization, filter, expand, options);
253
175
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
254
176
  },
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
- },
273
177
  /**
274
178
  * 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\"
275
179
  * @summary Update the product version
@@ -307,23 +211,6 @@ export const ProductVersionsApiFactory = function (configuration?: Configuration
307
211
  getProductVersion(id: string, id2: number, authorization?: string, filter?: string, expand?: string, options?: any): AxiosPromise<GetProductVersionResponseClass> {
308
212
  return localVarFp.getProductVersion(id, id2, authorization, filter, expand, options).then((request) => request(axios, basePath));
309
213
  },
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
- },
327
214
  /**
328
215
  * 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\"
329
216
  * @summary Update the product version
@@ -381,69 +268,6 @@ export interface ProductVersionsApiGetProductVersionRequest {
381
268
  readonly expand?: string
382
269
  }
383
270
 
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
-
447
271
  /**
448
272
  * Request parameters for updateProductVersion operation in ProductVersionsApi.
449
273
  * @export
@@ -491,18 +315,6 @@ export class ProductVersionsApi extends BaseAPI {
491
315
  return ProductVersionsApiFp(this.configuration).getProductVersion(requestParameters.id, requestParameters.id2, requestParameters.authorization, requestParameters.filter, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
492
316
  }
493
317
 
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
-
506
318
  /**
507
319
  * 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\"
508
320
  * @summary Update the product version
@@ -13,7 +13,6 @@ 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';
17
16
  import { UpdateProductVersionRequestDto } from '../models';
18
17
  import { UpdateProductVersionResponseClass } from '../models';
19
18
  /**
@@ -33,21 +32,6 @@ export declare const ProductVersionsApiAxiosParamCreator: (configuration?: Confi
33
32
  * @throws {RequiredError}
34
33
  */
35
34
  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>;
51
35
  /**
52
36
  * 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\"
53
37
  * @summary Update the product version
@@ -76,21 +60,6 @@ export declare const ProductVersionsApiFp: (configuration?: Configuration) => {
76
60
  * @throws {RequiredError}
77
61
  */
78
62
  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>>;
94
63
  /**
95
64
  * 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\"
96
65
  * @summary Update the product version
@@ -119,21 +88,6 @@ export declare const ProductVersionsApiFactory: (configuration?: Configuration,
119
88
  * @throws {RequiredError}
120
89
  */
121
90
  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>;
137
91
  /**
138
92
  * 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\"
139
93
  * @summary Update the product version
@@ -182,61 +136,6 @@ export interface ProductVersionsApiGetProductVersionRequest {
182
136
  */
183
137
  readonly expand?: string;
184
138
  }
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
- }
240
139
  /**
241
140
  * Request parameters for updateProductVersion operation in ProductVersionsApi.
242
141
  * @export
@@ -278,15 +177,6 @@ export declare class ProductVersionsApi extends BaseAPI {
278
177
  * @memberof ProductVersionsApi
279
178
  */
280
179
  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, {}>>;
290
180
  /**
291
181
  * 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\"
292
182
  * @summary Update the product version
@@ -158,78 +158,6 @@ 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
- },
233
161
  /**
234
162
  * 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\"
235
163
  * @summary Update the product version
@@ -317,33 +245,6 @@ var ProductVersionsApiFp = function (configuration) {
317
245
  });
318
246
  });
319
247
  },
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
- },
347
248
  /**
348
249
  * 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\"
349
250
  * @summary Update the product version
@@ -390,23 +291,6 @@ var ProductVersionsApiFactory = function (configuration, basePath, axios) {
390
291
  getProductVersion: function (id, id2, authorization, filter, expand, options) {
391
292
  return localVarFp.getProductVersion(id, id2, authorization, filter, expand, options).then(function (request) { return request(axios, basePath); });
392
293
  },
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
- },
410
294
  /**
411
295
  * 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\"
412
296
  * @summary Update the product version
@@ -445,19 +329,6 @@ var ProductVersionsApi = /** @class */ (function (_super) {
445
329
  var _this = this;
446
330
  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); });
447
331
  };
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
- };
461
332
  /**
462
333
  * 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\"
463
334
  * @summary Update the product version
@@ -162,7 +162,6 @@ export * from './list-premium-formulas-response-class';
162
162
  export * from './list-product-factors-response-class';
163
163
  export * from './list-product-field-types-response-class';
164
164
  export * from './list-product-fields-response-class';
165
- export * from './list-product-versions-response-class';
166
165
  export * from './list-products-response-class';
167
166
  export * from './list-request-dto';
168
167
  export * from './list-status-transition-rules-response-class';
@@ -178,7 +178,6 @@ __exportStar(require("./list-premium-formulas-response-class"), exports);
178
178
  __exportStar(require("./list-product-factors-response-class"), exports);
179
179
  __exportStar(require("./list-product-field-types-response-class"), exports);
180
180
  __exportStar(require("./list-product-fields-response-class"), exports);
181
- __exportStar(require("./list-product-versions-response-class"), exports);
182
181
  __exportStar(require("./list-products-response-class"), exports);
183
182
  __exportStar(require("./list-request-dto"), exports);
184
183
  __exportStar(require("./list-status-transition-rules-response-class"), exports);
package/models/index.ts CHANGED
@@ -162,7 +162,6 @@ export * from './list-premium-formulas-response-class';
162
162
  export * from './list-product-factors-response-class';
163
163
  export * from './list-product-field-types-response-class';
164
164
  export * from './list-product-fields-response-class';
165
- export * from './list-product-versions-response-class';
166
165
  export * from './list-products-response-class';
167
166
  export * from './list-request-dto';
168
167
  export * from './list-status-transition-rules-response-class';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/insurance-sdk-node",
3
- "version": "1.96.1-beta.0",
3
+ "version": "1.96.1-beta.2",
4
4
  "description": "OpenAPI client for @emilgroup/insurance-sdk-node",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [
@@ -1,31 +0,0 @@
1
- /**
2
- * EMIL InsuranceService
3
- * The EMIL InsuranceService API description
4
- *
5
- * The version of the OpenAPI document: 1.0
6
- * Contact: kontakt@emil.de
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import { ProductVersionClass } from './product-version-class';
13
- /**
14
- *
15
- * @export
16
- * @interface 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
- }
@@ -1,15 +0,0 @@
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 });
@@ -1,37 +0,0 @@
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
-