@emilgroup/insurance-sdk 1.6.0 → 1.7.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 +2 -1
- package/README.md +2 -2
- package/api/policies-api.ts +8 -8
- package/api/product-versions-api.ts +103 -0
- package/dist/api/policies-api.d.ts +8 -8
- package/dist/api/policies-api.js +7 -7
- package/dist/api/product-versions-api.d.ts +53 -0
- package/dist/api/product-versions-api.js +89 -0
- package/dist/models/clone-product-version-request-dto.d.ts +36 -0
- package/dist/models/clone-product-version-response-class.d.ts +25 -0
- package/dist/models/clone-product-version-response-class.js +15 -0
- package/dist/models/create-dummy-policy-request-dto.d.ts +6 -0
- package/dist/models/create-insured-object-response-class.d.ts +3 -3
- package/dist/models/create-lead-request-dto.d.ts +6 -0
- package/dist/models/index.d.ts +2 -1
- package/dist/models/index.js +2 -1
- package/dist/models/policy-class.d.ts +3 -3
- package/dist/models/update-lead-request-dto.d.ts +6 -0
- package/dist/models/update-policy-request-dto.d.ts +4 -4
- package/dist/models/update-policy-request-dto.js +4 -4
- package/models/clone-product-version-request-dto.ts +42 -0
- package/models/clone-product-version-response-class.ts +31 -0
- package/models/create-dummy-policy-request-dto.ts +6 -0
- package/models/create-insured-object-response-class.ts +3 -3
- package/models/create-lead-request-dto.ts +6 -0
- package/models/index.ts +2 -1
- package/models/policy-class.ts +3 -3
- package/models/update-lead-request-dto.ts +6 -0
- package/models/update-policy-request-dto.ts +4 -4
- package/package.json +2 -1
- package/dist/models/omit-type-class.d.ts +0 -60
- package/models/omit-type-class.ts +0 -66
- /package/dist/models/{omit-type-class.js → clone-product-version-request-dto.js} +0 -0
package/.openapi-generator/FILES
CHANGED
|
@@ -19,6 +19,8 @@ git_push.sh
|
|
|
19
19
|
index.ts
|
|
20
20
|
models/calculate-custom-premium-request-dto.ts
|
|
21
21
|
models/calculate-premium-request-dto.ts
|
|
22
|
+
models/clone-product-version-request-dto.ts
|
|
23
|
+
models/clone-product-version-response-class.ts
|
|
22
24
|
models/create-account-request-dto.ts
|
|
23
25
|
models/create-bank-account-request-dto.ts
|
|
24
26
|
models/create-custom-application-request-dto.ts
|
|
@@ -74,7 +76,6 @@ models/list-product-field-types-response-class.ts
|
|
|
74
76
|
models/list-product-fields-response-class.ts
|
|
75
77
|
models/list-products-response-class.ts
|
|
76
78
|
models/list-request-dto.ts
|
|
77
|
-
models/omit-type-class.ts
|
|
78
79
|
models/policy-class.ts
|
|
79
80
|
models/policy-object-class.ts
|
|
80
81
|
models/policy-object-dto.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@1.
|
|
20
|
+
npm install @emilgroup/insurance-sdk@1.7.0 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/insurance-sdk@1.
|
|
24
|
+
yarn add @emilgroup/insurance-sdk@1.7.0
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `PoliciesApi`.
|
package/api/policies-api.ts
CHANGED
|
@@ -147,7 +147,7 @@ export const PoliciesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
147
147
|
},
|
|
148
148
|
/**
|
|
149
149
|
* This endpoint will return the current version of the policy. It is possible to filter the response by a specific date and the system will return the valid data that was (or will be) at the provided date.
|
|
150
|
-
* @summary Retrieve
|
|
150
|
+
* @summary Retrieve current policy version
|
|
151
151
|
* @param {string} code Unique identifier for the object.
|
|
152
152
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
153
153
|
* @param {string} [timesliceDate] This date is used to filter data of the policy, to select the appropriate timeslice. If no date is specified, the system returns all the timeslices available.
|
|
@@ -201,7 +201,7 @@ export const PoliciesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
201
201
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
202
202
|
* @param {number} [pageSize] Page size.
|
|
203
203
|
* @param {string} [pageToken] Page token.
|
|
204
|
-
* @param {string} [filter]
|
|
204
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time. Parameters: **code**, **policyNumber**, **accountCode**, **statuses**, **productName**, **productType**, **policyData**, **createdAt**, **policyStartDate**.
|
|
205
205
|
* @param {string} [search] Search query.
|
|
206
206
|
* @param {string} [order] Ordering criteria.
|
|
207
207
|
* @param {string} [expand] You can expand policy versions list in this endpoint. By default, versions will be an empty array.
|
|
@@ -501,7 +501,7 @@ export const PoliciesApiFp = function(configuration?: Configuration) {
|
|
|
501
501
|
},
|
|
502
502
|
/**
|
|
503
503
|
* This endpoint will return the current version of the policy. It is possible to filter the response by a specific date and the system will return the valid data that was (or will be) at the provided date.
|
|
504
|
-
* @summary Retrieve
|
|
504
|
+
* @summary Retrieve current policy version
|
|
505
505
|
* @param {string} code Unique identifier for the object.
|
|
506
506
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
507
507
|
* @param {string} [timesliceDate] This date is used to filter data of the policy, to select the appropriate timeslice. If no date is specified, the system returns all the timeslices available.
|
|
@@ -518,7 +518,7 @@ export const PoliciesApiFp = function(configuration?: Configuration) {
|
|
|
518
518
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
519
519
|
* @param {number} [pageSize] Page size.
|
|
520
520
|
* @param {string} [pageToken] Page token.
|
|
521
|
-
* @param {string} [filter]
|
|
521
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time. Parameters: **code**, **policyNumber**, **accountCode**, **statuses**, **productName**, **productType**, **policyData**, **createdAt**, **policyStartDate**.
|
|
522
522
|
* @param {string} [search] Search query.
|
|
523
523
|
* @param {string} [order] Ordering criteria.
|
|
524
524
|
* @param {string} [expand] You can expand policy versions list in this endpoint. By default, versions will be an empty array.
|
|
@@ -615,7 +615,7 @@ export const PoliciesApiFactory = function (configuration?: Configuration, baseP
|
|
|
615
615
|
},
|
|
616
616
|
/**
|
|
617
617
|
* This endpoint will return the current version of the policy. It is possible to filter the response by a specific date and the system will return the valid data that was (or will be) at the provided date.
|
|
618
|
-
* @summary Retrieve
|
|
618
|
+
* @summary Retrieve current policy version
|
|
619
619
|
* @param {string} code Unique identifier for the object.
|
|
620
620
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
621
621
|
* @param {string} [timesliceDate] This date is used to filter data of the policy, to select the appropriate timeslice. If no date is specified, the system returns all the timeslices available.
|
|
@@ -631,7 +631,7 @@ export const PoliciesApiFactory = function (configuration?: Configuration, baseP
|
|
|
631
631
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
632
632
|
* @param {number} [pageSize] Page size.
|
|
633
633
|
* @param {string} [pageToken] Page token.
|
|
634
|
-
* @param {string} [filter]
|
|
634
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time. Parameters: **code**, **policyNumber**, **accountCode**, **statuses**, **productName**, **productType**, **policyData**, **createdAt**, **policyStartDate**.
|
|
635
635
|
* @param {string} [search] Search query.
|
|
636
636
|
* @param {string} [order] Ordering criteria.
|
|
637
637
|
* @param {string} [expand] You can expand policy versions list in this endpoint. By default, versions will be an empty array.
|
|
@@ -796,7 +796,7 @@ export interface PoliciesApiListPoliciesRequest {
|
|
|
796
796
|
readonly pageToken?: string
|
|
797
797
|
|
|
798
798
|
/**
|
|
799
|
-
*
|
|
799
|
+
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time. Parameters: **code**, **policyNumber**, **accountCode**, **statuses**, **productName**, **productType**, **policyData**, **createdAt**, **policyStartDate**.
|
|
800
800
|
* @type {string}
|
|
801
801
|
* @memberof PoliciesApiListPolicies
|
|
802
802
|
*/
|
|
@@ -962,7 +962,7 @@ export class PoliciesApi extends BaseAPI {
|
|
|
962
962
|
|
|
963
963
|
/**
|
|
964
964
|
* This endpoint will return the current version of the policy. It is possible to filter the response by a specific date and the system will return the valid data that was (or will be) at the provided date.
|
|
965
|
-
* @summary Retrieve
|
|
965
|
+
* @summary Retrieve current policy version
|
|
966
966
|
* @param {PoliciesApiGetPolicyDataByDateRequest} requestParameters Request parameters.
|
|
967
967
|
* @param {*} [options] Override http request option.
|
|
968
968
|
* @throws {RequiredError}
|
|
@@ -21,6 +21,10 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
|
|
|
21
21
|
// @ts-ignore
|
|
22
22
|
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
|
|
23
23
|
// @ts-ignore
|
|
24
|
+
import { CloneProductVersionRequestDto } from '../models';
|
|
25
|
+
// @ts-ignore
|
|
26
|
+
import { CloneProductVersionResponseClass } from '../models';
|
|
27
|
+
// @ts-ignore
|
|
24
28
|
import { GetProductVersionResponseClass } from '../models';
|
|
25
29
|
// @ts-ignore
|
|
26
30
|
import { UpdateProductVersionRequestDto } from '../models';
|
|
@@ -32,6 +36,52 @@ import { UpdateProductVersionResponseClass } from '../models';
|
|
|
32
36
|
*/
|
|
33
37
|
export const ProductVersionsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
34
38
|
return {
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* @param {CloneProductVersionRequestDto} cloneProductVersionRequestDto
|
|
42
|
+
* @param {string} [authorization] Bearer Token
|
|
43
|
+
* @param {*} [options] Override http request option.
|
|
44
|
+
* @throws {RequiredError}
|
|
45
|
+
*/
|
|
46
|
+
cloneProductVersion: async (cloneProductVersionRequestDto: CloneProductVersionRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
47
|
+
// verify required parameter 'cloneProductVersionRequestDto' is not null or undefined
|
|
48
|
+
assertParamExists('cloneProductVersion', 'cloneProductVersionRequestDto', cloneProductVersionRequestDto)
|
|
49
|
+
const localVarPath = `/insuranceservice/v1/product-versions/clone`;
|
|
50
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
51
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
52
|
+
let baseOptions;
|
|
53
|
+
let baseAccessToken;
|
|
54
|
+
if (configuration) {
|
|
55
|
+
baseOptions = configuration.baseOptions;
|
|
56
|
+
baseAccessToken = configuration.accessToken;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
60
|
+
const localVarHeaderParameter = {} as any;
|
|
61
|
+
const localVarQueryParameter = {} as any;
|
|
62
|
+
|
|
63
|
+
// authentication bearer required
|
|
64
|
+
// http bearer authentication required
|
|
65
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
66
|
+
|
|
67
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
68
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
74
|
+
|
|
75
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
76
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
77
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
78
|
+
localVarRequestOptions.data = serializeDataIfNeeded(cloneProductVersionRequestDto, localVarRequestOptions, configuration)
|
|
79
|
+
|
|
80
|
+
return {
|
|
81
|
+
url: toPathString(localVarUrlObj),
|
|
82
|
+
options: localVarRequestOptions,
|
|
83
|
+
};
|
|
84
|
+
},
|
|
35
85
|
/**
|
|
36
86
|
* Retrieves the details of the product version that was previously created. Supply the unique product version id that was returned when you created it and Emil Api will return the corresponding product version information.
|
|
37
87
|
* @summary Retrieve the product version
|
|
@@ -145,6 +195,17 @@ export const ProductVersionsApiAxiosParamCreator = function (configuration?: Con
|
|
|
145
195
|
export const ProductVersionsApiFp = function(configuration?: Configuration) {
|
|
146
196
|
const localVarAxiosParamCreator = ProductVersionsApiAxiosParamCreator(configuration)
|
|
147
197
|
return {
|
|
198
|
+
/**
|
|
199
|
+
*
|
|
200
|
+
* @param {CloneProductVersionRequestDto} cloneProductVersionRequestDto
|
|
201
|
+
* @param {string} [authorization] Bearer Token
|
|
202
|
+
* @param {*} [options] Override http request option.
|
|
203
|
+
* @throws {RequiredError}
|
|
204
|
+
*/
|
|
205
|
+
async cloneProductVersion(cloneProductVersionRequestDto: CloneProductVersionRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CloneProductVersionResponseClass>> {
|
|
206
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.cloneProductVersion(cloneProductVersionRequestDto, authorization, options);
|
|
207
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
208
|
+
},
|
|
148
209
|
/**
|
|
149
210
|
* Retrieves the details of the product version that was previously created. Supply the unique product version id that was returned when you created it and Emil Api will return the corresponding product version information.
|
|
150
211
|
* @summary Retrieve the product version
|
|
@@ -181,6 +242,16 @@ export const ProductVersionsApiFp = function(configuration?: Configuration) {
|
|
|
181
242
|
export const ProductVersionsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
182
243
|
const localVarFp = ProductVersionsApiFp(configuration)
|
|
183
244
|
return {
|
|
245
|
+
/**
|
|
246
|
+
*
|
|
247
|
+
* @param {CloneProductVersionRequestDto} cloneProductVersionRequestDto
|
|
248
|
+
* @param {string} [authorization] Bearer Token
|
|
249
|
+
* @param {*} [options] Override http request option.
|
|
250
|
+
* @throws {RequiredError}
|
|
251
|
+
*/
|
|
252
|
+
cloneProductVersion(cloneProductVersionRequestDto: CloneProductVersionRequestDto, authorization?: string, options?: any): AxiosPromise<CloneProductVersionResponseClass> {
|
|
253
|
+
return localVarFp.cloneProductVersion(cloneProductVersionRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
254
|
+
},
|
|
184
255
|
/**
|
|
185
256
|
* Retrieves the details of the product version that was previously created. Supply the unique product version id that was returned when you created it and Emil Api will return the corresponding product version information.
|
|
186
257
|
* @summary Retrieve the product version
|
|
@@ -208,6 +279,27 @@ export const ProductVersionsApiFactory = function (configuration?: Configuration
|
|
|
208
279
|
};
|
|
209
280
|
};
|
|
210
281
|
|
|
282
|
+
/**
|
|
283
|
+
* Request parameters for cloneProductVersion operation in ProductVersionsApi.
|
|
284
|
+
* @export
|
|
285
|
+
* @interface ProductVersionsApiCloneProductVersionRequest
|
|
286
|
+
*/
|
|
287
|
+
export interface ProductVersionsApiCloneProductVersionRequest {
|
|
288
|
+
/**
|
|
289
|
+
*
|
|
290
|
+
* @type {CloneProductVersionRequestDto}
|
|
291
|
+
* @memberof ProductVersionsApiCloneProductVersion
|
|
292
|
+
*/
|
|
293
|
+
readonly cloneProductVersionRequestDto: CloneProductVersionRequestDto
|
|
294
|
+
|
|
295
|
+
/**
|
|
296
|
+
* Bearer Token
|
|
297
|
+
* @type {string}
|
|
298
|
+
* @memberof ProductVersionsApiCloneProductVersion
|
|
299
|
+
*/
|
|
300
|
+
readonly authorization?: string
|
|
301
|
+
}
|
|
302
|
+
|
|
211
303
|
/**
|
|
212
304
|
* Request parameters for getProductVersion operation in ProductVersionsApi.
|
|
213
305
|
* @export
|
|
@@ -271,6 +363,17 @@ export interface ProductVersionsApiUpdateProductVersionRequest {
|
|
|
271
363
|
* @extends {BaseAPI}
|
|
272
364
|
*/
|
|
273
365
|
export class ProductVersionsApi extends BaseAPI {
|
|
366
|
+
/**
|
|
367
|
+
*
|
|
368
|
+
* @param {ProductVersionsApiCloneProductVersionRequest} requestParameters Request parameters.
|
|
369
|
+
* @param {*} [options] Override http request option.
|
|
370
|
+
* @throws {RequiredError}
|
|
371
|
+
* @memberof ProductVersionsApi
|
|
372
|
+
*/
|
|
373
|
+
public cloneProductVersion(requestParameters: ProductVersionsApiCloneProductVersionRequest, options?: AxiosRequestConfig) {
|
|
374
|
+
return ProductVersionsApiFp(this.configuration).cloneProductVersion(requestParameters.cloneProductVersionRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
375
|
+
}
|
|
376
|
+
|
|
274
377
|
/**
|
|
275
378
|
* Retrieves the details of the product version that was previously created. Supply the unique product version id that was returned when you created it and Emil Api will return the corresponding product version information.
|
|
276
379
|
* @summary Retrieve the product version
|
|
@@ -49,7 +49,7 @@ export declare const PoliciesApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
49
49
|
getPolicy: (code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
50
50
|
/**
|
|
51
51
|
* This endpoint will return the current version of the policy. It is possible to filter the response by a specific date and the system will return the valid data that was (or will be) at the provided date.
|
|
52
|
-
* @summary Retrieve
|
|
52
|
+
* @summary Retrieve current policy version
|
|
53
53
|
* @param {string} code Unique identifier for the object.
|
|
54
54
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
55
55
|
* @param {string} [timesliceDate] This date is used to filter data of the policy, to select the appropriate timeslice. If no date is specified, the system returns all the timeslices available.
|
|
@@ -63,7 +63,7 @@ export declare const PoliciesApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
63
63
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
64
64
|
* @param {number} [pageSize] Page size.
|
|
65
65
|
* @param {string} [pageToken] Page token.
|
|
66
|
-
* @param {string} [filter]
|
|
66
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time. Parameters: **code**, **policyNumber**, **accountCode**, **statuses**, **productName**, **productType**, **policyData**, **createdAt**, **policyStartDate**.
|
|
67
67
|
* @param {string} [search] Search query.
|
|
68
68
|
* @param {string} [order] Ordering criteria.
|
|
69
69
|
* @param {string} [expand] You can expand policy versions list in this endpoint. By default, versions will be an empty array.
|
|
@@ -137,7 +137,7 @@ export declare const PoliciesApiFp: (configuration?: Configuration) => {
|
|
|
137
137
|
getPolicy(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPolicyResponseClass>>;
|
|
138
138
|
/**
|
|
139
139
|
* This endpoint will return the current version of the policy. It is possible to filter the response by a specific date and the system will return the valid data that was (or will be) at the provided date.
|
|
140
|
-
* @summary Retrieve
|
|
140
|
+
* @summary Retrieve current policy version
|
|
141
141
|
* @param {string} code Unique identifier for the object.
|
|
142
142
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
143
143
|
* @param {string} [timesliceDate] This date is used to filter data of the policy, to select the appropriate timeslice. If no date is specified, the system returns all the timeslices available.
|
|
@@ -151,7 +151,7 @@ export declare const PoliciesApiFp: (configuration?: Configuration) => {
|
|
|
151
151
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
152
152
|
* @param {number} [pageSize] Page size.
|
|
153
153
|
* @param {string} [pageToken] Page token.
|
|
154
|
-
* @param {string} [filter]
|
|
154
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time. Parameters: **code**, **policyNumber**, **accountCode**, **statuses**, **productName**, **productType**, **policyData**, **createdAt**, **policyStartDate**.
|
|
155
155
|
* @param {string} [search] Search query.
|
|
156
156
|
* @param {string} [order] Ordering criteria.
|
|
157
157
|
* @param {string} [expand] You can expand policy versions list in this endpoint. By default, versions will be an empty array.
|
|
@@ -225,7 +225,7 @@ export declare const PoliciesApiFactory: (configuration?: Configuration, basePat
|
|
|
225
225
|
getPolicy(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<GetPolicyResponseClass>;
|
|
226
226
|
/**
|
|
227
227
|
* This endpoint will return the current version of the policy. It is possible to filter the response by a specific date and the system will return the valid data that was (or will be) at the provided date.
|
|
228
|
-
* @summary Retrieve
|
|
228
|
+
* @summary Retrieve current policy version
|
|
229
229
|
* @param {string} code Unique identifier for the object.
|
|
230
230
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
231
231
|
* @param {string} [timesliceDate] This date is used to filter data of the policy, to select the appropriate timeslice. If no date is specified, the system returns all the timeslices available.
|
|
@@ -239,7 +239,7 @@ export declare const PoliciesApiFactory: (configuration?: Configuration, basePat
|
|
|
239
239
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
240
240
|
* @param {number} [pageSize] Page size.
|
|
241
241
|
* @param {string} [pageToken] Page token.
|
|
242
|
-
* @param {string} [filter]
|
|
242
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time. Parameters: **code**, **policyNumber**, **accountCode**, **statuses**, **productName**, **productType**, **policyData**, **createdAt**, **policyStartDate**.
|
|
243
243
|
* @param {string} [search] Search query.
|
|
244
244
|
* @param {string} [order] Ordering criteria.
|
|
245
245
|
* @param {string} [expand] You can expand policy versions list in this endpoint. By default, versions will be an empty array.
|
|
@@ -381,7 +381,7 @@ export interface PoliciesApiListPoliciesRequest {
|
|
|
381
381
|
*/
|
|
382
382
|
readonly pageToken?: string;
|
|
383
383
|
/**
|
|
384
|
-
*
|
|
384
|
+
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time. Parameters: **code**, **policyNumber**, **accountCode**, **statuses**, **productName**, **productType**, **policyData**, **createdAt**, **policyStartDate**.
|
|
385
385
|
* @type {string}
|
|
386
386
|
* @memberof PoliciesApiListPolicies
|
|
387
387
|
*/
|
|
@@ -526,7 +526,7 @@ export declare class PoliciesApi extends BaseAPI {
|
|
|
526
526
|
getPolicy(requestParameters: PoliciesApiGetPolicyRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPolicyResponseClass, any>>;
|
|
527
527
|
/**
|
|
528
528
|
* This endpoint will return the current version of the policy. It is possible to filter the response by a specific date and the system will return the valid data that was (or will be) at the provided date.
|
|
529
|
-
* @summary Retrieve
|
|
529
|
+
* @summary Retrieve current policy version
|
|
530
530
|
* @param {PoliciesApiGetPolicyDataByDateRequest} requestParameters Request parameters.
|
|
531
531
|
* @param {*} [options] Override http request option.
|
|
532
532
|
* @throws {RequiredError}
|
package/dist/api/policies-api.js
CHANGED
|
@@ -195,7 +195,7 @@ var PoliciesApiAxiosParamCreator = function (configuration) {
|
|
|
195
195
|
},
|
|
196
196
|
/**
|
|
197
197
|
* This endpoint will return the current version of the policy. It is possible to filter the response by a specific date and the system will return the valid data that was (or will be) at the provided date.
|
|
198
|
-
* @summary Retrieve
|
|
198
|
+
* @summary Retrieve current policy version
|
|
199
199
|
* @param {string} code Unique identifier for the object.
|
|
200
200
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
201
201
|
* @param {string} [timesliceDate] This date is used to filter data of the policy, to select the appropriate timeslice. If no date is specified, the system returns all the timeslices available.
|
|
@@ -251,7 +251,7 @@ var PoliciesApiAxiosParamCreator = function (configuration) {
|
|
|
251
251
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
252
252
|
* @param {number} [pageSize] Page size.
|
|
253
253
|
* @param {string} [pageToken] Page token.
|
|
254
|
-
* @param {string} [filter]
|
|
254
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time. Parameters: **code**, **policyNumber**, **accountCode**, **statuses**, **productName**, **productType**, **policyData**, **createdAt**, **policyStartDate**.
|
|
255
255
|
* @param {string} [search] Search query.
|
|
256
256
|
* @param {string} [order] Ordering criteria.
|
|
257
257
|
* @param {string} [expand] You can expand policy versions list in this endpoint. By default, versions will be an empty array.
|
|
@@ -575,7 +575,7 @@ var PoliciesApiFp = function (configuration) {
|
|
|
575
575
|
},
|
|
576
576
|
/**
|
|
577
577
|
* This endpoint will return the current version of the policy. It is possible to filter the response by a specific date and the system will return the valid data that was (or will be) at the provided date.
|
|
578
|
-
* @summary Retrieve
|
|
578
|
+
* @summary Retrieve current policy version
|
|
579
579
|
* @param {string} code Unique identifier for the object.
|
|
580
580
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
581
581
|
* @param {string} [timesliceDate] This date is used to filter data of the policy, to select the appropriate timeslice. If no date is specified, the system returns all the timeslices available.
|
|
@@ -601,7 +601,7 @@ var PoliciesApiFp = function (configuration) {
|
|
|
601
601
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
602
602
|
* @param {number} [pageSize] Page size.
|
|
603
603
|
* @param {string} [pageToken] Page token.
|
|
604
|
-
* @param {string} [filter]
|
|
604
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time. Parameters: **code**, **policyNumber**, **accountCode**, **statuses**, **productName**, **productType**, **policyData**, **createdAt**, **policyStartDate**.
|
|
605
605
|
* @param {string} [search] Search query.
|
|
606
606
|
* @param {string} [order] Ordering criteria.
|
|
607
607
|
* @param {string} [expand] You can expand policy versions list in this endpoint. By default, versions will be an empty array.
|
|
@@ -743,7 +743,7 @@ var PoliciesApiFactory = function (configuration, basePath, axios) {
|
|
|
743
743
|
},
|
|
744
744
|
/**
|
|
745
745
|
* This endpoint will return the current version of the policy. It is possible to filter the response by a specific date and the system will return the valid data that was (or will be) at the provided date.
|
|
746
|
-
* @summary Retrieve
|
|
746
|
+
* @summary Retrieve current policy version
|
|
747
747
|
* @param {string} code Unique identifier for the object.
|
|
748
748
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
749
749
|
* @param {string} [timesliceDate] This date is used to filter data of the policy, to select the appropriate timeslice. If no date is specified, the system returns all the timeslices available.
|
|
@@ -759,7 +759,7 @@ var PoliciesApiFactory = function (configuration, basePath, axios) {
|
|
|
759
759
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
760
760
|
* @param {number} [pageSize] Page size.
|
|
761
761
|
* @param {string} [pageToken] Page token.
|
|
762
|
-
* @param {string} [filter]
|
|
762
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time. Parameters: **code**, **policyNumber**, **accountCode**, **statuses**, **productName**, **productType**, **policyData**, **createdAt**, **policyStartDate**.
|
|
763
763
|
* @param {string} [search] Search query.
|
|
764
764
|
* @param {string} [order] Ordering criteria.
|
|
765
765
|
* @param {string} [expand] You can expand policy versions list in this endpoint. By default, versions will be an empty array.
|
|
@@ -856,7 +856,7 @@ var PoliciesApi = /** @class */ (function (_super) {
|
|
|
856
856
|
};
|
|
857
857
|
/**
|
|
858
858
|
* This endpoint will return the current version of the policy. It is possible to filter the response by a specific date and the system will return the valid data that was (or will be) at the provided date.
|
|
859
|
-
* @summary Retrieve
|
|
859
|
+
* @summary Retrieve current policy version
|
|
860
860
|
* @param {PoliciesApiGetPolicyDataByDateRequest} requestParameters Request parameters.
|
|
861
861
|
* @param {*} [options] Override http request option.
|
|
862
862
|
* @throws {RequiredError}
|
|
@@ -12,6 +12,8 @@
|
|
|
12
12
|
import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
13
13
|
import { Configuration } from '../configuration';
|
|
14
14
|
import { RequestArgs, BaseAPI } from '../base';
|
|
15
|
+
import { CloneProductVersionRequestDto } from '../models';
|
|
16
|
+
import { CloneProductVersionResponseClass } from '../models';
|
|
15
17
|
import { GetProductVersionResponseClass } from '../models';
|
|
16
18
|
import { UpdateProductVersionRequestDto } from '../models';
|
|
17
19
|
import { UpdateProductVersionResponseClass } from '../models';
|
|
@@ -20,6 +22,14 @@ import { UpdateProductVersionResponseClass } from '../models';
|
|
|
20
22
|
* @export
|
|
21
23
|
*/
|
|
22
24
|
export declare const ProductVersionsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @param {CloneProductVersionRequestDto} cloneProductVersionRequestDto
|
|
28
|
+
* @param {string} [authorization] Bearer Token
|
|
29
|
+
* @param {*} [options] Override http request option.
|
|
30
|
+
* @throws {RequiredError}
|
|
31
|
+
*/
|
|
32
|
+
cloneProductVersion: (cloneProductVersionRequestDto: CloneProductVersionRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
23
33
|
/**
|
|
24
34
|
* Retrieves the details of the product version that was previously created. Supply the unique product version id that was returned when you created it and Emil Api will return the corresponding product version information.
|
|
25
35
|
* @summary Retrieve the product version
|
|
@@ -46,6 +56,14 @@ export declare const ProductVersionsApiAxiosParamCreator: (configuration?: Confi
|
|
|
46
56
|
* @export
|
|
47
57
|
*/
|
|
48
58
|
export declare const ProductVersionsApiFp: (configuration?: Configuration) => {
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @param {CloneProductVersionRequestDto} cloneProductVersionRequestDto
|
|
62
|
+
* @param {string} [authorization] Bearer Token
|
|
63
|
+
* @param {*} [options] Override http request option.
|
|
64
|
+
* @throws {RequiredError}
|
|
65
|
+
*/
|
|
66
|
+
cloneProductVersion(cloneProductVersionRequestDto: CloneProductVersionRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CloneProductVersionResponseClass>>;
|
|
49
67
|
/**
|
|
50
68
|
* Retrieves the details of the product version that was previously created. Supply the unique product version id that was returned when you created it and Emil Api will return the corresponding product version information.
|
|
51
69
|
* @summary Retrieve the product version
|
|
@@ -72,6 +90,14 @@ export declare const ProductVersionsApiFp: (configuration?: Configuration) => {
|
|
|
72
90
|
* @export
|
|
73
91
|
*/
|
|
74
92
|
export declare const ProductVersionsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
93
|
+
/**
|
|
94
|
+
*
|
|
95
|
+
* @param {CloneProductVersionRequestDto} cloneProductVersionRequestDto
|
|
96
|
+
* @param {string} [authorization] Bearer Token
|
|
97
|
+
* @param {*} [options] Override http request option.
|
|
98
|
+
* @throws {RequiredError}
|
|
99
|
+
*/
|
|
100
|
+
cloneProductVersion(cloneProductVersionRequestDto: CloneProductVersionRequestDto, authorization?: string, options?: any): AxiosPromise<CloneProductVersionResponseClass>;
|
|
75
101
|
/**
|
|
76
102
|
* Retrieves the details of the product version that was previously created. Supply the unique product version id that was returned when you created it and Emil Api will return the corresponding product version information.
|
|
77
103
|
* @summary Retrieve the product version
|
|
@@ -93,6 +119,25 @@ export declare const ProductVersionsApiFactory: (configuration?: Configuration,
|
|
|
93
119
|
*/
|
|
94
120
|
updateProductVersion(id: number, updateProductVersionRequestDto: UpdateProductVersionRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateProductVersionResponseClass>;
|
|
95
121
|
};
|
|
122
|
+
/**
|
|
123
|
+
* Request parameters for cloneProductVersion operation in ProductVersionsApi.
|
|
124
|
+
* @export
|
|
125
|
+
* @interface ProductVersionsApiCloneProductVersionRequest
|
|
126
|
+
*/
|
|
127
|
+
export interface ProductVersionsApiCloneProductVersionRequest {
|
|
128
|
+
/**
|
|
129
|
+
*
|
|
130
|
+
* @type {CloneProductVersionRequestDto}
|
|
131
|
+
* @memberof ProductVersionsApiCloneProductVersion
|
|
132
|
+
*/
|
|
133
|
+
readonly cloneProductVersionRequestDto: CloneProductVersionRequestDto;
|
|
134
|
+
/**
|
|
135
|
+
* Bearer Token
|
|
136
|
+
* @type {string}
|
|
137
|
+
* @memberof ProductVersionsApiCloneProductVersion
|
|
138
|
+
*/
|
|
139
|
+
readonly authorization?: string;
|
|
140
|
+
}
|
|
96
141
|
/**
|
|
97
142
|
* Request parameters for getProductVersion operation in ProductVersionsApi.
|
|
98
143
|
* @export
|
|
@@ -150,6 +195,14 @@ export interface ProductVersionsApiUpdateProductVersionRequest {
|
|
|
150
195
|
* @extends {BaseAPI}
|
|
151
196
|
*/
|
|
152
197
|
export declare class ProductVersionsApi extends BaseAPI {
|
|
198
|
+
/**
|
|
199
|
+
*
|
|
200
|
+
* @param {ProductVersionsApiCloneProductVersionRequest} requestParameters Request parameters.
|
|
201
|
+
* @param {*} [options] Override http request option.
|
|
202
|
+
* @throws {RequiredError}
|
|
203
|
+
* @memberof ProductVersionsApi
|
|
204
|
+
*/
|
|
205
|
+
cloneProductVersion(requestParameters: ProductVersionsApiCloneProductVersionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CloneProductVersionResponseClass, any>>;
|
|
153
206
|
/**
|
|
154
207
|
* Retrieves the details of the product version that was previously created. Supply the unique product version id that was returned when you created it and Emil Api will return the corresponding product version information.
|
|
155
208
|
* @summary Retrieve the product version
|
|
@@ -92,6 +92,54 @@ var base_1 = require("../base");
|
|
|
92
92
|
var ProductVersionsApiAxiosParamCreator = function (configuration) {
|
|
93
93
|
var _this = this;
|
|
94
94
|
return {
|
|
95
|
+
/**
|
|
96
|
+
*
|
|
97
|
+
* @param {CloneProductVersionRequestDto} cloneProductVersionRequestDto
|
|
98
|
+
* @param {string} [authorization] Bearer Token
|
|
99
|
+
* @param {*} [options] Override http request option.
|
|
100
|
+
* @throws {RequiredError}
|
|
101
|
+
*/
|
|
102
|
+
cloneProductVersion: function (cloneProductVersionRequestDto, authorization, options) {
|
|
103
|
+
if (options === void 0) { options = {}; }
|
|
104
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
105
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
106
|
+
return __generator(this, function (_a) {
|
|
107
|
+
switch (_a.label) {
|
|
108
|
+
case 0:
|
|
109
|
+
// verify required parameter 'cloneProductVersionRequestDto' is not null or undefined
|
|
110
|
+
(0, common_1.assertParamExists)('cloneProductVersion', 'cloneProductVersionRequestDto', cloneProductVersionRequestDto);
|
|
111
|
+
localVarPath = "/insuranceservice/v1/product-versions/clone";
|
|
112
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
113
|
+
if (configuration) {
|
|
114
|
+
baseOptions = configuration.baseOptions;
|
|
115
|
+
baseAccessToken = configuration.accessToken;
|
|
116
|
+
}
|
|
117
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
118
|
+
localVarHeaderParameter = {};
|
|
119
|
+
localVarQueryParameter = {};
|
|
120
|
+
// authentication bearer required
|
|
121
|
+
// http bearer authentication required
|
|
122
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
123
|
+
case 1:
|
|
124
|
+
// authentication bearer required
|
|
125
|
+
// http bearer authentication required
|
|
126
|
+
_a.sent();
|
|
127
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
128
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
129
|
+
}
|
|
130
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
131
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
132
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
133
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
134
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(cloneProductVersionRequestDto, localVarRequestOptions, configuration);
|
|
135
|
+
return [2 /*return*/, {
|
|
136
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
137
|
+
options: localVarRequestOptions,
|
|
138
|
+
}];
|
|
139
|
+
}
|
|
140
|
+
});
|
|
141
|
+
});
|
|
142
|
+
},
|
|
95
143
|
/**
|
|
96
144
|
* Retrieves the details of the product version that was previously created. Supply the unique product version id that was returned when you created it and Emil Api will return the corresponding product version information.
|
|
97
145
|
* @summary Retrieve the product version
|
|
@@ -209,6 +257,26 @@ exports.ProductVersionsApiAxiosParamCreator = ProductVersionsApiAxiosParamCreato
|
|
|
209
257
|
var ProductVersionsApiFp = function (configuration) {
|
|
210
258
|
var localVarAxiosParamCreator = (0, exports.ProductVersionsApiAxiosParamCreator)(configuration);
|
|
211
259
|
return {
|
|
260
|
+
/**
|
|
261
|
+
*
|
|
262
|
+
* @param {CloneProductVersionRequestDto} cloneProductVersionRequestDto
|
|
263
|
+
* @param {string} [authorization] Bearer Token
|
|
264
|
+
* @param {*} [options] Override http request option.
|
|
265
|
+
* @throws {RequiredError}
|
|
266
|
+
*/
|
|
267
|
+
cloneProductVersion: function (cloneProductVersionRequestDto, authorization, options) {
|
|
268
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
269
|
+
var localVarAxiosArgs;
|
|
270
|
+
return __generator(this, function (_a) {
|
|
271
|
+
switch (_a.label) {
|
|
272
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.cloneProductVersion(cloneProductVersionRequestDto, authorization, options)];
|
|
273
|
+
case 1:
|
|
274
|
+
localVarAxiosArgs = _a.sent();
|
|
275
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
276
|
+
}
|
|
277
|
+
});
|
|
278
|
+
});
|
|
279
|
+
},
|
|
212
280
|
/**
|
|
213
281
|
* Retrieves the details of the product version that was previously created. Supply the unique product version id that was returned when you created it and Emil Api will return the corresponding product version information.
|
|
214
282
|
* @summary Retrieve the product version
|
|
@@ -263,6 +331,16 @@ exports.ProductVersionsApiFp = ProductVersionsApiFp;
|
|
|
263
331
|
var ProductVersionsApiFactory = function (configuration, basePath, axios) {
|
|
264
332
|
var localVarFp = (0, exports.ProductVersionsApiFp)(configuration);
|
|
265
333
|
return {
|
|
334
|
+
/**
|
|
335
|
+
*
|
|
336
|
+
* @param {CloneProductVersionRequestDto} cloneProductVersionRequestDto
|
|
337
|
+
* @param {string} [authorization] Bearer Token
|
|
338
|
+
* @param {*} [options] Override http request option.
|
|
339
|
+
* @throws {RequiredError}
|
|
340
|
+
*/
|
|
341
|
+
cloneProductVersion: function (cloneProductVersionRequestDto, authorization, options) {
|
|
342
|
+
return localVarFp.cloneProductVersion(cloneProductVersionRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
343
|
+
},
|
|
266
344
|
/**
|
|
267
345
|
* Retrieves the details of the product version that was previously created. Supply the unique product version id that was returned when you created it and Emil Api will return the corresponding product version information.
|
|
268
346
|
* @summary Retrieve the product version
|
|
@@ -301,6 +379,17 @@ var ProductVersionsApi = /** @class */ (function (_super) {
|
|
|
301
379
|
function ProductVersionsApi() {
|
|
302
380
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
303
381
|
}
|
|
382
|
+
/**
|
|
383
|
+
*
|
|
384
|
+
* @param {ProductVersionsApiCloneProductVersionRequest} requestParameters Request parameters.
|
|
385
|
+
* @param {*} [options] Override http request option.
|
|
386
|
+
* @throws {RequiredError}
|
|
387
|
+
* @memberof ProductVersionsApi
|
|
388
|
+
*/
|
|
389
|
+
ProductVersionsApi.prototype.cloneProductVersion = function (requestParameters, options) {
|
|
390
|
+
var _this = this;
|
|
391
|
+
return (0, exports.ProductVersionsApiFp)(this.configuration).cloneProductVersion(requestParameters.cloneProductVersionRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
392
|
+
};
|
|
304
393
|
/**
|
|
305
394
|
* Retrieves the details of the product version that was previously created. Supply the unique product version id that was returned when you created it and Emil Api will return the corresponding product version information.
|
|
306
395
|
* @summary Retrieve the product version
|
|
@@ -0,0 +1,36 @@
|
|
|
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 CloneProductVersionRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface CloneProductVersionRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
* Unique identifier referencing the product.
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof CloneProductVersionRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'productId': number;
|
|
24
|
+
/**
|
|
25
|
+
* Unique identifier referencing the product version.
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof CloneProductVersionRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'productVersionId': number;
|
|
30
|
+
/**
|
|
31
|
+
* product version description
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof CloneProductVersionRequestDto
|
|
34
|
+
*/
|
|
35
|
+
'description': string;
|
|
36
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL InsuranceService
|
|
3
|
+
* The EMIL InsuranceService API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { ProductVersionClass } from './product-version-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CloneProductVersionResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface CloneProductVersionResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* Product version
|
|
21
|
+
* @type {ProductVersionClass}
|
|
22
|
+
* @memberof CloneProductVersionResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'productVersion': ProductVersionClass;
|
|
25
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL InsuranceService
|
|
6
|
+
* The EMIL InsuranceService API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -35,4 +35,10 @@ export interface CreateDummyPolicyRequestDto {
|
|
|
35
35
|
* @memberof CreateDummyPolicyRequestDto
|
|
36
36
|
*/
|
|
37
37
|
'premiumOverride'?: Array<PremiumOverrideRequestDto>;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {number}
|
|
41
|
+
* @memberof CreateDummyPolicyRequestDto
|
|
42
|
+
*/
|
|
43
|
+
'productVersionId'?: number;
|
|
38
44
|
}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import {
|
|
12
|
+
import { InsuredObjectClass } from './insured-object-class';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -18,8 +18,8 @@ import { OmitTypeClass } from './omit-type-class';
|
|
|
18
18
|
export interface CreateInsuredObjectResponseClass {
|
|
19
19
|
/**
|
|
20
20
|
* Insured object.
|
|
21
|
-
* @type {
|
|
21
|
+
* @type {InsuredObjectClass}
|
|
22
22
|
* @memberof CreateInsuredObjectResponseClass
|
|
23
23
|
*/
|
|
24
|
-
'insuredObject':
|
|
24
|
+
'insuredObject': InsuredObjectClass;
|
|
25
25
|
}
|
|
@@ -26,6 +26,12 @@ export interface CreateLeadRequestDto {
|
|
|
26
26
|
* @memberof CreateLeadRequestDto
|
|
27
27
|
*/
|
|
28
28
|
'code'?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Unique identifier referencing the product version.
|
|
31
|
+
* @type {number}
|
|
32
|
+
* @memberof CreateLeadRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'productVersionId'?: number;
|
|
29
35
|
/**
|
|
30
36
|
* Bank account details.
|
|
31
37
|
* @type {CreateBankAccountRequestDto}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export * from './calculate-custom-premium-request-dto';
|
|
2
2
|
export * from './calculate-premium-request-dto';
|
|
3
|
+
export * from './clone-product-version-request-dto';
|
|
4
|
+
export * from './clone-product-version-response-class';
|
|
3
5
|
export * from './create-account-request-dto';
|
|
4
6
|
export * from './create-bank-account-request-dto';
|
|
5
7
|
export * from './create-custom-application-request-dto';
|
|
@@ -54,7 +56,6 @@ export * from './list-product-field-types-response-class';
|
|
|
54
56
|
export * from './list-product-fields-response-class';
|
|
55
57
|
export * from './list-products-response-class';
|
|
56
58
|
export * from './list-request-dto';
|
|
57
|
-
export * from './omit-type-class';
|
|
58
59
|
export * from './policy-class';
|
|
59
60
|
export * from './policy-object-class';
|
|
60
61
|
export * from './policy-object-dto';
|
package/dist/models/index.js
CHANGED
|
@@ -16,6 +16,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./calculate-custom-premium-request-dto"), exports);
|
|
18
18
|
__exportStar(require("./calculate-premium-request-dto"), exports);
|
|
19
|
+
__exportStar(require("./clone-product-version-request-dto"), exports);
|
|
20
|
+
__exportStar(require("./clone-product-version-response-class"), exports);
|
|
19
21
|
__exportStar(require("./create-account-request-dto"), exports);
|
|
20
22
|
__exportStar(require("./create-bank-account-request-dto"), exports);
|
|
21
23
|
__exportStar(require("./create-custom-application-request-dto"), exports);
|
|
@@ -70,7 +72,6 @@ __exportStar(require("./list-product-field-types-response-class"), exports);
|
|
|
70
72
|
__exportStar(require("./list-product-fields-response-class"), exports);
|
|
71
73
|
__exportStar(require("./list-products-response-class"), exports);
|
|
72
74
|
__exportStar(require("./list-request-dto"), exports);
|
|
73
|
-
__exportStar(require("./omit-type-class"), exports);
|
|
74
75
|
__exportStar(require("./policy-class"), exports);
|
|
75
76
|
__exportStar(require("./policy-object-class"), exports);
|
|
76
77
|
__exportStar(require("./policy-object-dto"), exports);
|
|
@@ -60,11 +60,11 @@ export interface PolicyClass {
|
|
|
60
60
|
*/
|
|
61
61
|
'accountCode': string;
|
|
62
62
|
/**
|
|
63
|
-
* Policy status. This property shows different
|
|
64
|
-
* @type {
|
|
63
|
+
* Policy status. This property shows different statuses depending on the status of a policy: ACTIVE, WITHDRAW, TERMINATED, SUSPENDED.
|
|
64
|
+
* @type {string}
|
|
65
65
|
* @memberof PolicyClass
|
|
66
66
|
*/
|
|
67
|
-
'status':
|
|
67
|
+
'status': string;
|
|
68
68
|
/**
|
|
69
69
|
* Policy holder name.
|
|
70
70
|
* @type {string}
|
|
@@ -20,6 +20,12 @@ import { UploadedDocumentDto } from './uploaded-document-dto';
|
|
|
20
20
|
* @interface UpdateLeadRequestDto
|
|
21
21
|
*/
|
|
22
22
|
export interface UpdateLeadRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* Unique identifier referencing the product version.
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof UpdateLeadRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'productVersionId'?: number;
|
|
23
29
|
/**
|
|
24
30
|
* Custom data.
|
|
25
31
|
* @type {object}
|
|
@@ -55,9 +55,9 @@ export interface UpdatePolicyRequestDto {
|
|
|
55
55
|
'leadCode'?: string;
|
|
56
56
|
}
|
|
57
57
|
export declare const UpdatePolicyRequestDtoStatusEnum: {
|
|
58
|
-
readonly Active: "
|
|
59
|
-
readonly
|
|
60
|
-
readonly Terminated: "
|
|
61
|
-
readonly Suspended: "
|
|
58
|
+
readonly Active: "ACTIVE";
|
|
59
|
+
readonly Withdraw: "WITHDRAW";
|
|
60
|
+
readonly Terminated: "TERMINATED";
|
|
61
|
+
readonly Suspended: "SUSPENDED";
|
|
62
62
|
};
|
|
63
63
|
export type UpdatePolicyRequestDtoStatusEnum = typeof UpdatePolicyRequestDtoStatusEnum[keyof typeof UpdatePolicyRequestDtoStatusEnum];
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.UpdatePolicyRequestDtoStatusEnum = void 0;
|
|
17
17
|
exports.UpdatePolicyRequestDtoStatusEnum = {
|
|
18
|
-
Active: '
|
|
19
|
-
|
|
20
|
-
Terminated: '
|
|
21
|
-
Suspended: '
|
|
18
|
+
Active: 'ACTIVE',
|
|
19
|
+
Withdraw: 'WITHDRAW',
|
|
20
|
+
Terminated: 'TERMINATED',
|
|
21
|
+
Suspended: 'SUSPENDED'
|
|
22
22
|
};
|
|
@@ -0,0 +1,42 @@
|
|
|
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 CloneProductVersionRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface CloneProductVersionRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* Unique identifier referencing the product.
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof CloneProductVersionRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'productId': number;
|
|
29
|
+
/**
|
|
30
|
+
* Unique identifier referencing the product version.
|
|
31
|
+
* @type {number}
|
|
32
|
+
* @memberof CloneProductVersionRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'productVersionId': number;
|
|
35
|
+
/**
|
|
36
|
+
* product version description
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof CloneProductVersionRequestDto
|
|
39
|
+
*/
|
|
40
|
+
'description': string;
|
|
41
|
+
}
|
|
42
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
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 CloneProductVersionResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface CloneProductVersionResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* Product version
|
|
26
|
+
* @type {ProductVersionClass}
|
|
27
|
+
* @memberof CloneProductVersionResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'productVersion': ProductVersionClass;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -40,5 +40,11 @@ export interface CreateDummyPolicyRequestDto {
|
|
|
40
40
|
* @memberof CreateDummyPolicyRequestDto
|
|
41
41
|
*/
|
|
42
42
|
'premiumOverride'?: Array<PremiumOverrideRequestDto>;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {number}
|
|
46
|
+
* @memberof CreateDummyPolicyRequestDto
|
|
47
|
+
*/
|
|
48
|
+
'productVersionId'?: number;
|
|
43
49
|
}
|
|
44
50
|
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
import {
|
|
16
|
+
import { InsuredObjectClass } from './insured-object-class';
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
19
|
*
|
|
@@ -23,9 +23,9 @@ import { OmitTypeClass } from './omit-type-class';
|
|
|
23
23
|
export interface CreateInsuredObjectResponseClass {
|
|
24
24
|
/**
|
|
25
25
|
* Insured object.
|
|
26
|
-
* @type {
|
|
26
|
+
* @type {InsuredObjectClass}
|
|
27
27
|
* @memberof CreateInsuredObjectResponseClass
|
|
28
28
|
*/
|
|
29
|
-
'insuredObject':
|
|
29
|
+
'insuredObject': InsuredObjectClass;
|
|
30
30
|
}
|
|
31
31
|
|
|
@@ -31,6 +31,12 @@ export interface CreateLeadRequestDto {
|
|
|
31
31
|
* @memberof CreateLeadRequestDto
|
|
32
32
|
*/
|
|
33
33
|
'code'?: string;
|
|
34
|
+
/**
|
|
35
|
+
* Unique identifier referencing the product version.
|
|
36
|
+
* @type {number}
|
|
37
|
+
* @memberof CreateLeadRequestDto
|
|
38
|
+
*/
|
|
39
|
+
'productVersionId'?: number;
|
|
34
40
|
/**
|
|
35
41
|
* Bank account details.
|
|
36
42
|
* @type {CreateBankAccountRequestDto}
|
package/models/index.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export * from './calculate-custom-premium-request-dto';
|
|
2
2
|
export * from './calculate-premium-request-dto';
|
|
3
|
+
export * from './clone-product-version-request-dto';
|
|
4
|
+
export * from './clone-product-version-response-class';
|
|
3
5
|
export * from './create-account-request-dto';
|
|
4
6
|
export * from './create-bank-account-request-dto';
|
|
5
7
|
export * from './create-custom-application-request-dto';
|
|
@@ -54,7 +56,6 @@ export * from './list-product-field-types-response-class';
|
|
|
54
56
|
export * from './list-product-fields-response-class';
|
|
55
57
|
export * from './list-products-response-class';
|
|
56
58
|
export * from './list-request-dto';
|
|
57
|
-
export * from './omit-type-class';
|
|
58
59
|
export * from './policy-class';
|
|
59
60
|
export * from './policy-object-class';
|
|
60
61
|
export * from './policy-object-dto';
|
package/models/policy-class.ts
CHANGED
|
@@ -65,11 +65,11 @@ export interface PolicyClass {
|
|
|
65
65
|
*/
|
|
66
66
|
'accountCode': string;
|
|
67
67
|
/**
|
|
68
|
-
* Policy status. This property shows different
|
|
69
|
-
* @type {
|
|
68
|
+
* Policy status. This property shows different statuses depending on the status of a policy: ACTIVE, WITHDRAW, TERMINATED, SUSPENDED.
|
|
69
|
+
* @type {string}
|
|
70
70
|
* @memberof PolicyClass
|
|
71
71
|
*/
|
|
72
|
-
'status':
|
|
72
|
+
'status': string;
|
|
73
73
|
/**
|
|
74
74
|
* Policy holder name.
|
|
75
75
|
* @type {string}
|
|
@@ -25,6 +25,12 @@ import { UploadedDocumentDto } from './uploaded-document-dto';
|
|
|
25
25
|
* @interface UpdateLeadRequestDto
|
|
26
26
|
*/
|
|
27
27
|
export interface UpdateLeadRequestDto {
|
|
28
|
+
/**
|
|
29
|
+
* Unique identifier referencing the product version.
|
|
30
|
+
* @type {number}
|
|
31
|
+
* @memberof UpdateLeadRequestDto
|
|
32
|
+
*/
|
|
33
|
+
'productVersionId'?: number;
|
|
28
34
|
/**
|
|
29
35
|
* Custom data.
|
|
30
36
|
* @type {object}
|
|
@@ -61,10 +61,10 @@ export interface UpdatePolicyRequestDto {
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
export const UpdatePolicyRequestDtoStatusEnum = {
|
|
64
|
-
Active: '
|
|
65
|
-
|
|
66
|
-
Terminated: '
|
|
67
|
-
Suspended: '
|
|
64
|
+
Active: 'ACTIVE',
|
|
65
|
+
Withdraw: 'WITHDRAW',
|
|
66
|
+
Terminated: 'TERMINATED',
|
|
67
|
+
Suspended: 'SUSPENDED'
|
|
68
68
|
} as const;
|
|
69
69
|
|
|
70
70
|
export type UpdatePolicyRequestDtoStatusEnum = typeof UpdatePolicyRequestDtoStatusEnum[keyof typeof UpdatePolicyRequestDtoStatusEnum];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@emilgroup/insurance-sdk",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.7.0",
|
|
4
4
|
"description": "OpenAPI client for @emilgroup/insurance-sdk",
|
|
5
5
|
"author": "OpenAPI-Generator Contributors",
|
|
6
6
|
"keywords": [
|
|
@@ -21,6 +21,7 @@
|
|
|
21
21
|
"axios": "^0.27.2"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
|
+
|
|
24
25
|
"typescript": "^4.0"
|
|
25
26
|
}
|
|
26
27
|
}
|
|
@@ -1,60 +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 OmitTypeClass
|
|
16
|
-
*/
|
|
17
|
-
export interface OmitTypeClass {
|
|
18
|
-
/**
|
|
19
|
-
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof OmitTypeClass
|
|
22
|
-
*/
|
|
23
|
-
'id': number;
|
|
24
|
-
/**
|
|
25
|
-
* Unique identifier referencing the Product version.
|
|
26
|
-
* @type {number}
|
|
27
|
-
* @memberof OmitTypeClass
|
|
28
|
-
*/
|
|
29
|
-
'productVersionId': number;
|
|
30
|
-
/**
|
|
31
|
-
* Insured object name.
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof OmitTypeClass
|
|
34
|
-
*/
|
|
35
|
-
'name': string;
|
|
36
|
-
/**
|
|
37
|
-
* Insured object label.
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof OmitTypeClass
|
|
40
|
-
*/
|
|
41
|
-
'label'?: string;
|
|
42
|
-
/**
|
|
43
|
-
* Unique identifier referencing the Insured object type.
|
|
44
|
-
* @type {number}
|
|
45
|
-
* @memberof OmitTypeClass
|
|
46
|
-
*/
|
|
47
|
-
'insuredObjectTypeId': number;
|
|
48
|
-
/**
|
|
49
|
-
* Time at which the object was created.
|
|
50
|
-
* @type {string}
|
|
51
|
-
* @memberof OmitTypeClass
|
|
52
|
-
*/
|
|
53
|
-
'createdAt': string;
|
|
54
|
-
/**
|
|
55
|
-
* Time at which the object was updated.
|
|
56
|
-
* @type {string}
|
|
57
|
-
* @memberof OmitTypeClass
|
|
58
|
-
*/
|
|
59
|
-
'updatedAt': string;
|
|
60
|
-
}
|
|
@@ -1,66 +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 OmitTypeClass
|
|
21
|
-
*/
|
|
22
|
-
export interface OmitTypeClass {
|
|
23
|
-
/**
|
|
24
|
-
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
25
|
-
* @type {number}
|
|
26
|
-
* @memberof OmitTypeClass
|
|
27
|
-
*/
|
|
28
|
-
'id': number;
|
|
29
|
-
/**
|
|
30
|
-
* Unique identifier referencing the Product version.
|
|
31
|
-
* @type {number}
|
|
32
|
-
* @memberof OmitTypeClass
|
|
33
|
-
*/
|
|
34
|
-
'productVersionId': number;
|
|
35
|
-
/**
|
|
36
|
-
* Insured object name.
|
|
37
|
-
* @type {string}
|
|
38
|
-
* @memberof OmitTypeClass
|
|
39
|
-
*/
|
|
40
|
-
'name': string;
|
|
41
|
-
/**
|
|
42
|
-
* Insured object label.
|
|
43
|
-
* @type {string}
|
|
44
|
-
* @memberof OmitTypeClass
|
|
45
|
-
*/
|
|
46
|
-
'label'?: string;
|
|
47
|
-
/**
|
|
48
|
-
* Unique identifier referencing the Insured object type.
|
|
49
|
-
* @type {number}
|
|
50
|
-
* @memberof OmitTypeClass
|
|
51
|
-
*/
|
|
52
|
-
'insuredObjectTypeId': number;
|
|
53
|
-
/**
|
|
54
|
-
* Time at which the object was created.
|
|
55
|
-
* @type {string}
|
|
56
|
-
* @memberof OmitTypeClass
|
|
57
|
-
*/
|
|
58
|
-
'createdAt': string;
|
|
59
|
-
/**
|
|
60
|
-
* Time at which the object was updated.
|
|
61
|
-
* @type {string}
|
|
62
|
-
* @memberof OmitTypeClass
|
|
63
|
-
*/
|
|
64
|
-
'updatedAt': string;
|
|
65
|
-
}
|
|
66
|
-
|
|
File without changes
|