@emilgroup/insurance-sdk 1.97.1-beta.8 → 1.98.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +0 -2
- package/README.md +2 -2
- package/api/product-versions-api.ts +0 -188
- package/dist/api/product-versions-api.d.ts +0 -110
- package/dist/api/product-versions-api.js +0 -129
- package/dist/models/claim-config-class.d.ts +0 -7
- package/dist/models/index.d.ts +0 -2
- package/dist/models/index.js +0 -2
- package/models/claim-config-class.ts +0 -7
- package/models/index.ts +0 -2
- package/package.json +1 -1
- package/dist/models/list-product-versions-response-class.d.ts +0 -31
- package/dist/models/list-product-versions-response-class.js +0 -15
- package/dist/models/warning-class.d.ts +0 -41
- package/dist/models/warning-class.js +0 -20
- package/models/list-product-versions-response-class.ts +0 -37
- package/models/warning-class.ts +0 -50
package/.openapi-generator/FILES
CHANGED
|
@@ -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
|
|
@@ -323,7 +322,6 @@ models/update-status-transition-rule-response-class.ts
|
|
|
323
322
|
models/uploaded-document-dto.ts
|
|
324
323
|
models/validate-product-factors-request-dto.ts
|
|
325
324
|
models/waiting-period-class.ts
|
|
326
|
-
models/warning-class.ts
|
|
327
325
|
models/withdraw-policy-response-class.ts
|
|
328
326
|
package.json
|
|
329
327
|
tsconfig.json
|
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@1.
|
|
20
|
+
npm install @emilgroup/insurance-sdk@1.98.0 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/insurance-sdk@1.
|
|
24
|
+
yarn add @emilgroup/insurance-sdk@1.98.0
|
|
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';
|
|
@@ -87,82 +85,6 @@ export const ProductVersionsApiAxiosParamCreator = function (configuration?: Con
|
|
|
87
85
|
|
|
88
86
|
|
|
89
87
|
|
|
90
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
91
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
92
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
93
|
-
|
|
94
|
-
return {
|
|
95
|
-
url: toPathString(localVarUrlObj),
|
|
96
|
-
options: localVarRequestOptions,
|
|
97
|
-
};
|
|
98
|
-
},
|
|
99
|
-
/**
|
|
100
|
-
* 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\"
|
|
101
|
-
* @summary List product versions
|
|
102
|
-
* @param {string} [authorization] Bearer Token
|
|
103
|
-
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
104
|
-
* @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.
|
|
105
|
-
* @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>
|
|
106
|
-
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
107
|
-
* @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>
|
|
108
|
-
* @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>
|
|
109
|
-
* @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>
|
|
110
|
-
* @param {*} [options] Override http request option.
|
|
111
|
-
* @throws {RequiredError}
|
|
112
|
-
*/
|
|
113
|
-
listProductVersions: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
114
|
-
const localVarPath = `/insuranceservice/v1/product-versions`;
|
|
115
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
116
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
117
|
-
let baseOptions;
|
|
118
|
-
let baseAccessToken;
|
|
119
|
-
if (configuration) {
|
|
120
|
-
baseOptions = configuration.baseOptions;
|
|
121
|
-
baseAccessToken = configuration.accessToken;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
125
|
-
const localVarHeaderParameter = {} as any;
|
|
126
|
-
const localVarQueryParameter = {} as any;
|
|
127
|
-
|
|
128
|
-
// authentication bearer required
|
|
129
|
-
// http bearer authentication required
|
|
130
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
131
|
-
|
|
132
|
-
if (pageSize !== undefined) {
|
|
133
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
if (pageToken !== undefined) {
|
|
137
|
-
localVarQueryParameter['pageToken'] = pageToken;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
if (filter !== undefined) {
|
|
141
|
-
localVarQueryParameter['filter'] = filter;
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
if (search !== undefined) {
|
|
145
|
-
localVarQueryParameter['search'] = search;
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
if (order !== undefined) {
|
|
149
|
-
localVarQueryParameter['order'] = order;
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
if (expand !== undefined) {
|
|
153
|
-
localVarQueryParameter['expand'] = expand;
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
if (filters !== undefined) {
|
|
157
|
-
localVarQueryParameter['filters'] = filters;
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
161
|
-
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
88
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
167
89
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
168
90
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -248,24 +170,6 @@ export const ProductVersionsApiFp = function(configuration?: Configuration) {
|
|
|
248
170
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getProductVersion(id, id2, authorization, filter, expand, options);
|
|
249
171
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
250
172
|
},
|
|
251
|
-
/**
|
|
252
|
-
* 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\"
|
|
253
|
-
* @summary List product versions
|
|
254
|
-
* @param {string} [authorization] Bearer Token
|
|
255
|
-
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
256
|
-
* @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.
|
|
257
|
-
* @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>
|
|
258
|
-
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
259
|
-
* @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>
|
|
260
|
-
* @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>
|
|
261
|
-
* @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>
|
|
262
|
-
* @param {*} [options] Override http request option.
|
|
263
|
-
* @throws {RequiredError}
|
|
264
|
-
*/
|
|
265
|
-
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>> {
|
|
266
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listProductVersions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
267
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
268
|
-
},
|
|
269
173
|
/**
|
|
270
174
|
* 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\"
|
|
271
175
|
* @summary Update the product version
|
|
@@ -303,23 +207,6 @@ export const ProductVersionsApiFactory = function (configuration?: Configuration
|
|
|
303
207
|
getProductVersion(id: string, id2: number, authorization?: string, filter?: string, expand?: string, options?: any): AxiosPromise<GetProductVersionResponseClass> {
|
|
304
208
|
return localVarFp.getProductVersion(id, id2, authorization, filter, expand, options).then((request) => request(axios, basePath));
|
|
305
209
|
},
|
|
306
|
-
/**
|
|
307
|
-
* 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\"
|
|
308
|
-
* @summary List product versions
|
|
309
|
-
* @param {string} [authorization] Bearer Token
|
|
310
|
-
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
311
|
-
* @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.
|
|
312
|
-
* @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>
|
|
313
|
-
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
314
|
-
* @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>
|
|
315
|
-
* @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>
|
|
316
|
-
* @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>
|
|
317
|
-
* @param {*} [options] Override http request option.
|
|
318
|
-
* @throws {RequiredError}
|
|
319
|
-
*/
|
|
320
|
-
listProductVersions(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListProductVersionsResponseClass> {
|
|
321
|
-
return localVarFp.listProductVersions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
322
|
-
},
|
|
323
210
|
/**
|
|
324
211
|
* 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\"
|
|
325
212
|
* @summary Update the product version
|
|
@@ -377,69 +264,6 @@ export interface ProductVersionsApiGetProductVersionRequest {
|
|
|
377
264
|
readonly expand?: string
|
|
378
265
|
}
|
|
379
266
|
|
|
380
|
-
/**
|
|
381
|
-
* Request parameters for listProductVersions operation in ProductVersionsApi.
|
|
382
|
-
* @export
|
|
383
|
-
* @interface ProductVersionsApiListProductVersionsRequest
|
|
384
|
-
*/
|
|
385
|
-
export interface ProductVersionsApiListProductVersionsRequest {
|
|
386
|
-
/**
|
|
387
|
-
* Bearer Token
|
|
388
|
-
* @type {string}
|
|
389
|
-
* @memberof ProductVersionsApiListProductVersions
|
|
390
|
-
*/
|
|
391
|
-
readonly authorization?: string
|
|
392
|
-
|
|
393
|
-
/**
|
|
394
|
-
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
395
|
-
* @type {number}
|
|
396
|
-
* @memberof ProductVersionsApiListProductVersions
|
|
397
|
-
*/
|
|
398
|
-
readonly pageSize?: number
|
|
399
|
-
|
|
400
|
-
/**
|
|
401
|
-
* 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.
|
|
402
|
-
* @type {string}
|
|
403
|
-
* @memberof ProductVersionsApiListProductVersions
|
|
404
|
-
*/
|
|
405
|
-
readonly pageToken?: string
|
|
406
|
-
|
|
407
|
-
/**
|
|
408
|
-
* 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>
|
|
409
|
-
* @type {string}
|
|
410
|
-
* @memberof ProductVersionsApiListProductVersions
|
|
411
|
-
*/
|
|
412
|
-
readonly filter?: string
|
|
413
|
-
|
|
414
|
-
/**
|
|
415
|
-
* To search the list by any field, pass search=xxx to fetch the result.
|
|
416
|
-
* @type {string}
|
|
417
|
-
* @memberof ProductVersionsApiListProductVersions
|
|
418
|
-
*/
|
|
419
|
-
readonly search?: string
|
|
420
|
-
|
|
421
|
-
/**
|
|
422
|
-
* 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>
|
|
423
|
-
* @type {string}
|
|
424
|
-
* @memberof ProductVersionsApiListProductVersions
|
|
425
|
-
*/
|
|
426
|
-
readonly order?: string
|
|
427
|
-
|
|
428
|
-
/**
|
|
429
|
-
* 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>
|
|
430
|
-
* @type {string}
|
|
431
|
-
* @memberof ProductVersionsApiListProductVersions
|
|
432
|
-
*/
|
|
433
|
-
readonly expand?: string
|
|
434
|
-
|
|
435
|
-
/**
|
|
436
|
-
* 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>
|
|
437
|
-
* @type {string}
|
|
438
|
-
* @memberof ProductVersionsApiListProductVersions
|
|
439
|
-
*/
|
|
440
|
-
readonly filters?: string
|
|
441
|
-
}
|
|
442
|
-
|
|
443
267
|
/**
|
|
444
268
|
* Request parameters for updateProductVersion operation in ProductVersionsApi.
|
|
445
269
|
* @export
|
|
@@ -487,18 +311,6 @@ export class ProductVersionsApi extends BaseAPI {
|
|
|
487
311
|
return ProductVersionsApiFp(this.configuration).getProductVersion(requestParameters.id, requestParameters.id2, requestParameters.authorization, requestParameters.filter, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
|
|
488
312
|
}
|
|
489
313
|
|
|
490
|
-
/**
|
|
491
|
-
* 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\"
|
|
492
|
-
* @summary List product versions
|
|
493
|
-
* @param {ProductVersionsApiListProductVersionsRequest} requestParameters Request parameters.
|
|
494
|
-
* @param {*} [options] Override http request option.
|
|
495
|
-
* @throws {RequiredError}
|
|
496
|
-
* @memberof ProductVersionsApi
|
|
497
|
-
*/
|
|
498
|
-
public listProductVersions(requestParameters: ProductVersionsApiListProductVersionsRequest = {}, options?: AxiosRequestConfig) {
|
|
499
|
-
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));
|
|
500
|
-
}
|
|
501
|
-
|
|
502
314
|
/**
|
|
503
315
|
* 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\"
|
|
504
316
|
* @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=1, your subsequent call can include pageToken=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.<br/> <br/> <i>Allowed values: id, code, productId, description, status</i>
|
|
43
|
-
* @param {string} [search] To search the list by any field, pass search=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.<br/> <br/> <i>Allowed values: id, productId, description, status</i>
|
|
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.<br/> <br/> <i>Allowed values: product<i>
|
|
46
|
-
* @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>
|
|
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=1, your subsequent call can include pageToken=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.<br/> <br/> <i>Allowed values: id, code, productId, description, status</i>
|
|
86
|
-
* @param {string} [search] To search the list by any field, pass search=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.<br/> <br/> <i>Allowed values: id, productId, description, status</i>
|
|
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.<br/> <br/> <i>Allowed values: product<i>
|
|
89
|
-
* @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>
|
|
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=1, your subsequent call can include pageToken=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.<br/> <br/> <i>Allowed values: id, code, productId, description, status</i>
|
|
129
|
-
* @param {string} [search] To search the list by any field, pass search=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.<br/> <br/> <i>Allowed values: id, productId, description, status</i>
|
|
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.<br/> <br/> <i>Allowed values: product<i>
|
|
132
|
-
* @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>
|
|
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=1, your subsequent call can include pageToken=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.<br/> <br/> <i>Allowed values: id, code, productId, description, status</i>
|
|
211
|
-
* @type {string}
|
|
212
|
-
* @memberof ProductVersionsApiListProductVersions
|
|
213
|
-
*/
|
|
214
|
-
readonly filter?: string;
|
|
215
|
-
/**
|
|
216
|
-
* To search the list by any field, pass search=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.<br/> <br/> <i>Allowed values: id, productId, description, status</i>
|
|
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.<br/> <br/> <i>Allowed values: product<i>
|
|
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.<br/> <br/> <i>Allowed values: id, code, productId, description, status</i>
|
|
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
|
|
@@ -154,78 +154,6 @@ var ProductVersionsApiAxiosParamCreator = function (configuration) {
|
|
|
154
154
|
});
|
|
155
155
|
});
|
|
156
156
|
},
|
|
157
|
-
/**
|
|
158
|
-
* 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\"
|
|
159
|
-
* @summary List product versions
|
|
160
|
-
* @param {string} [authorization] Bearer Token
|
|
161
|
-
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
162
|
-
* @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.
|
|
163
|
-
* @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>
|
|
164
|
-
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
165
|
-
* @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>
|
|
166
|
-
* @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>
|
|
167
|
-
* @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>
|
|
168
|
-
* @param {*} [options] Override http request option.
|
|
169
|
-
* @throws {RequiredError}
|
|
170
|
-
*/
|
|
171
|
-
listProductVersions: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
172
|
-
if (options === void 0) { options = {}; }
|
|
173
|
-
return __awaiter(_this, void 0, void 0, function () {
|
|
174
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
175
|
-
return __generator(this, function (_a) {
|
|
176
|
-
switch (_a.label) {
|
|
177
|
-
case 0:
|
|
178
|
-
localVarPath = "/insuranceservice/v1/product-versions";
|
|
179
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
180
|
-
if (configuration) {
|
|
181
|
-
baseOptions = configuration.baseOptions;
|
|
182
|
-
baseAccessToken = configuration.accessToken;
|
|
183
|
-
}
|
|
184
|
-
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
185
|
-
localVarHeaderParameter = {};
|
|
186
|
-
localVarQueryParameter = {};
|
|
187
|
-
// authentication bearer required
|
|
188
|
-
// http bearer authentication required
|
|
189
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
190
|
-
case 1:
|
|
191
|
-
// authentication bearer required
|
|
192
|
-
// http bearer authentication required
|
|
193
|
-
_a.sent();
|
|
194
|
-
if (pageSize !== undefined) {
|
|
195
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
196
|
-
}
|
|
197
|
-
if (pageToken !== undefined) {
|
|
198
|
-
localVarQueryParameter['pageToken'] = pageToken;
|
|
199
|
-
}
|
|
200
|
-
if (filter !== undefined) {
|
|
201
|
-
localVarQueryParameter['filter'] = filter;
|
|
202
|
-
}
|
|
203
|
-
if (search !== undefined) {
|
|
204
|
-
localVarQueryParameter['search'] = search;
|
|
205
|
-
}
|
|
206
|
-
if (order !== undefined) {
|
|
207
|
-
localVarQueryParameter['order'] = order;
|
|
208
|
-
}
|
|
209
|
-
if (expand !== undefined) {
|
|
210
|
-
localVarQueryParameter['expand'] = expand;
|
|
211
|
-
}
|
|
212
|
-
if (filters !== undefined) {
|
|
213
|
-
localVarQueryParameter['filters'] = filters;
|
|
214
|
-
}
|
|
215
|
-
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
216
|
-
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
217
|
-
}
|
|
218
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
219
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
220
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
221
|
-
return [2 /*return*/, {
|
|
222
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
223
|
-
options: localVarRequestOptions,
|
|
224
|
-
}];
|
|
225
|
-
}
|
|
226
|
-
});
|
|
227
|
-
});
|
|
228
|
-
},
|
|
229
157
|
/**
|
|
230
158
|
* 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\"
|
|
231
159
|
* @summary Update the product version
|
|
@@ -313,33 +241,6 @@ var ProductVersionsApiFp = function (configuration) {
|
|
|
313
241
|
});
|
|
314
242
|
});
|
|
315
243
|
},
|
|
316
|
-
/**
|
|
317
|
-
* 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\"
|
|
318
|
-
* @summary List product versions
|
|
319
|
-
* @param {string} [authorization] Bearer Token
|
|
320
|
-
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
321
|
-
* @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.
|
|
322
|
-
* @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>
|
|
323
|
-
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
324
|
-
* @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>
|
|
325
|
-
* @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>
|
|
326
|
-
* @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>
|
|
327
|
-
* @param {*} [options] Override http request option.
|
|
328
|
-
* @throws {RequiredError}
|
|
329
|
-
*/
|
|
330
|
-
listProductVersions: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
331
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
332
|
-
var localVarAxiosArgs;
|
|
333
|
-
return __generator(this, function (_a) {
|
|
334
|
-
switch (_a.label) {
|
|
335
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listProductVersions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
|
|
336
|
-
case 1:
|
|
337
|
-
localVarAxiosArgs = _a.sent();
|
|
338
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
339
|
-
}
|
|
340
|
-
});
|
|
341
|
-
});
|
|
342
|
-
},
|
|
343
244
|
/**
|
|
344
245
|
* 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\"
|
|
345
246
|
* @summary Update the product version
|
|
@@ -386,23 +287,6 @@ var ProductVersionsApiFactory = function (configuration, basePath, axios) {
|
|
|
386
287
|
getProductVersion: function (id, id2, authorization, filter, expand, options) {
|
|
387
288
|
return localVarFp.getProductVersion(id, id2, authorization, filter, expand, options).then(function (request) { return request(axios, basePath); });
|
|
388
289
|
},
|
|
389
|
-
/**
|
|
390
|
-
* 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\"
|
|
391
|
-
* @summary List product versions
|
|
392
|
-
* @param {string} [authorization] Bearer Token
|
|
393
|
-
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
394
|
-
* @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.
|
|
395
|
-
* @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>
|
|
396
|
-
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
397
|
-
* @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>
|
|
398
|
-
* @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>
|
|
399
|
-
* @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>
|
|
400
|
-
* @param {*} [options] Override http request option.
|
|
401
|
-
* @throws {RequiredError}
|
|
402
|
-
*/
|
|
403
|
-
listProductVersions: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
404
|
-
return localVarFp.listProductVersions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
405
|
-
},
|
|
406
290
|
/**
|
|
407
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\"
|
|
408
292
|
* @summary Update the product version
|
|
@@ -441,19 +325,6 @@ var ProductVersionsApi = /** @class */ (function (_super) {
|
|
|
441
325
|
var _this = this;
|
|
442
326
|
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); });
|
|
443
327
|
};
|
|
444
|
-
/**
|
|
445
|
-
* 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\"
|
|
446
|
-
* @summary List product versions
|
|
447
|
-
* @param {ProductVersionsApiListProductVersionsRequest} requestParameters Request parameters.
|
|
448
|
-
* @param {*} [options] Override http request option.
|
|
449
|
-
* @throws {RequiredError}
|
|
450
|
-
* @memberof ProductVersionsApi
|
|
451
|
-
*/
|
|
452
|
-
ProductVersionsApi.prototype.listProductVersions = function (requestParameters, options) {
|
|
453
|
-
var _this = this;
|
|
454
|
-
if (requestParameters === void 0) { requestParameters = {}; }
|
|
455
|
-
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); });
|
|
456
|
-
};
|
|
457
328
|
/**
|
|
458
329
|
* 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\"
|
|
459
330
|
* @summary Update the product version
|
|
@@ -11,7 +11,6 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { ClaimPositionFieldsClass } from './claim-position-fields-class';
|
|
13
13
|
import { GeneralSettingClass } from './general-setting-class';
|
|
14
|
-
import { WarningClass } from './warning-class';
|
|
15
14
|
/**
|
|
16
15
|
*
|
|
17
16
|
* @export
|
|
@@ -24,12 +23,6 @@ export interface ClaimConfigClass {
|
|
|
24
23
|
* @memberof ClaimConfigClass
|
|
25
24
|
*/
|
|
26
25
|
'generalSetting': GeneralSettingClass;
|
|
27
|
-
/**
|
|
28
|
-
* List of claim warning messages
|
|
29
|
-
* @type {Array<WarningClass>}
|
|
30
|
-
* @memberof ClaimConfigClass
|
|
31
|
-
*/
|
|
32
|
-
'warnings': Array<WarningClass>;
|
|
33
26
|
/**
|
|
34
27
|
* Fields configuration displayed in claim position table
|
|
35
28
|
* @type {ClaimPositionFieldsClass}
|
package/dist/models/index.d.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';
|
|
@@ -287,5 +286,4 @@ export * from './update-status-transition-rule-response-class';
|
|
|
287
286
|
export * from './uploaded-document-dto';
|
|
288
287
|
export * from './validate-product-factors-request-dto';
|
|
289
288
|
export * from './waiting-period-class';
|
|
290
|
-
export * from './warning-class';
|
|
291
289
|
export * from './withdraw-policy-response-class';
|
package/dist/models/index.js
CHANGED
|
@@ -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);
|
|
@@ -303,5 +302,4 @@ __exportStar(require("./update-status-transition-rule-response-class"), exports)
|
|
|
303
302
|
__exportStar(require("./uploaded-document-dto"), exports);
|
|
304
303
|
__exportStar(require("./validate-product-factors-request-dto"), exports);
|
|
305
304
|
__exportStar(require("./waiting-period-class"), exports);
|
|
306
|
-
__exportStar(require("./warning-class"), exports);
|
|
307
305
|
__exportStar(require("./withdraw-policy-response-class"), exports);
|
|
@@ -15,7 +15,6 @@
|
|
|
15
15
|
|
|
16
16
|
import { ClaimPositionFieldsClass } from './claim-position-fields-class';
|
|
17
17
|
import { GeneralSettingClass } from './general-setting-class';
|
|
18
|
-
import { WarningClass } from './warning-class';
|
|
19
18
|
|
|
20
19
|
/**
|
|
21
20
|
*
|
|
@@ -29,12 +28,6 @@ export interface ClaimConfigClass {
|
|
|
29
28
|
* @memberof ClaimConfigClass
|
|
30
29
|
*/
|
|
31
30
|
'generalSetting': GeneralSettingClass;
|
|
32
|
-
/**
|
|
33
|
-
* List of claim warning messages
|
|
34
|
-
* @type {Array<WarningClass>}
|
|
35
|
-
* @memberof ClaimConfigClass
|
|
36
|
-
*/
|
|
37
|
-
'warnings': Array<WarningClass>;
|
|
38
31
|
/**
|
|
39
32
|
* Fields configuration displayed in claim position table
|
|
40
33
|
* @type {ClaimPositionFieldsClass}
|
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';
|
|
@@ -287,5 +286,4 @@ export * from './update-status-transition-rule-response-class';
|
|
|
287
286
|
export * from './uploaded-document-dto';
|
|
288
287
|
export * from './validate-product-factors-request-dto';
|
|
289
288
|
export * from './waiting-period-class';
|
|
290
|
-
export * from './warning-class';
|
|
291
289
|
export * from './withdraw-policy-response-class';
|
package/package.json
CHANGED
|
@@ -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,41 +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
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface WarningClass
|
|
16
|
-
*/
|
|
17
|
-
export interface WarningClass {
|
|
18
|
-
/**
|
|
19
|
-
* Unique identifier key for warning
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof WarningClass
|
|
22
|
-
*/
|
|
23
|
-
'key': string;
|
|
24
|
-
/**
|
|
25
|
-
* Type of warning
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof WarningClass
|
|
28
|
-
*/
|
|
29
|
-
'type': WarningClassTypeEnum;
|
|
30
|
-
/**
|
|
31
|
-
* Text message to display as warning
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof WarningClass
|
|
34
|
-
*/
|
|
35
|
-
'message': string;
|
|
36
|
-
}
|
|
37
|
-
export declare const WarningClassTypeEnum: {
|
|
38
|
-
readonly Warning: "WARNING";
|
|
39
|
-
readonly Blocker: "BLOCKER";
|
|
40
|
-
};
|
|
41
|
-
export type WarningClassTypeEnum = typeof WarningClassTypeEnum[keyof typeof WarningClassTypeEnum];
|
|
@@ -1,20 +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 });
|
|
16
|
-
exports.WarningClassTypeEnum = void 0;
|
|
17
|
-
exports.WarningClassTypeEnum = {
|
|
18
|
-
Warning: 'WARNING',
|
|
19
|
-
Blocker: 'BLOCKER'
|
|
20
|
-
};
|
|
@@ -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
|
-
|
package/models/warning-class.ts
DELETED
|
@@ -1,50 +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
|
-
|
|
17
|
-
/**
|
|
18
|
-
*
|
|
19
|
-
* @export
|
|
20
|
-
* @interface WarningClass
|
|
21
|
-
*/
|
|
22
|
-
export interface WarningClass {
|
|
23
|
-
/**
|
|
24
|
-
* Unique identifier key for warning
|
|
25
|
-
* @type {string}
|
|
26
|
-
* @memberof WarningClass
|
|
27
|
-
*/
|
|
28
|
-
'key': string;
|
|
29
|
-
/**
|
|
30
|
-
* Type of warning
|
|
31
|
-
* @type {string}
|
|
32
|
-
* @memberof WarningClass
|
|
33
|
-
*/
|
|
34
|
-
'type': WarningClassTypeEnum;
|
|
35
|
-
/**
|
|
36
|
-
* Text message to display as warning
|
|
37
|
-
* @type {string}
|
|
38
|
-
* @memberof WarningClass
|
|
39
|
-
*/
|
|
40
|
-
'message': string;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
export const WarningClassTypeEnum = {
|
|
44
|
-
Warning: 'WARNING',
|
|
45
|
-
Blocker: 'BLOCKER'
|
|
46
|
-
} as const;
|
|
47
|
-
|
|
48
|
-
export type WarningClassTypeEnum = typeof WarningClassTypeEnum[keyof typeof WarningClassTypeEnum];
|
|
49
|
-
|
|
50
|
-
|