@emilgroup/insurance-sdk-node 1.21.0 → 1.22.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 +1 -0
- package/README.md +2 -2
- package/api/products-api.ts +122 -4
- package/dist/api/products-api.d.ts +68 -4
- package/dist/api/products-api.js +103 -3
- package/dist/models/create-named-range-request-dto.d.ts +8 -1
- package/dist/models/create-named-request-s3-data-class.d.ts +30 -0
- package/dist/models/create-named-request-s3-data-class.js +15 -0
- package/dist/models/create-policy-request-dto.d.ts +6 -0
- package/dist/models/get-product-request-dto.d.ts +10 -4
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/dist/models/policy-object-dto.d.ts +2 -2
- package/dist/models/shared-lead-policy-object-dto.d.ts +2 -2
- package/models/create-named-range-request-dto.ts +8 -1
- package/models/create-named-request-s3-data-class.ts +36 -0
- package/models/create-policy-request-dto.ts +6 -0
- package/models/get-product-request-dto.ts +10 -4
- package/models/index.ts +1 -0
- package/models/policy-object-dto.ts +2 -2
- package/models/shared-lead-policy-object-dto.ts +2 -2
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -36,6 +36,7 @@ models/create-lead-status-request-dto.ts
|
|
|
36
36
|
models/create-lead-status-response-class.ts
|
|
37
37
|
models/create-named-range-request-dto.ts
|
|
38
38
|
models/create-named-range-response-class.ts
|
|
39
|
+
models/create-named-request-s3-data-class.ts
|
|
39
40
|
models/create-payment-method-request-dto.ts
|
|
40
41
|
models/create-policy-request-dto.ts
|
|
41
42
|
models/create-policy-response-class.ts
|
package/README.md
CHANGED
|
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
|
|
|
17
17
|
Navigate to the folder of your consuming project and run one of the following commands:
|
|
18
18
|
|
|
19
19
|
```
|
|
20
|
-
npm install @emilgroup/insurance-sdk-node@1.
|
|
20
|
+
npm install @emilgroup/insurance-sdk-node@1.22.0 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/insurance-sdk-node@1.
|
|
24
|
+
yarn add @emilgroup/insurance-sdk-node@1.22.0
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `PoliciesApi`.
|
package/api/products-api.ts
CHANGED
|
@@ -140,7 +140,7 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
140
140
|
* Retrieves the details of the product that was previously created. Supply the unique product code that was returned when you created it and Emil Api will return the corresponding product information.
|
|
141
141
|
* @summary Retrieve the product
|
|
142
142
|
* @param {string} code Unique identifier for the object.
|
|
143
|
-
* @param {number} id
|
|
143
|
+
* @param {number} id Unique identifier referencing the product.
|
|
144
144
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
145
145
|
* @param {string} [expand] Fields to expand response by
|
|
146
146
|
* @param {*} [options] Override http request option.
|
|
@@ -184,6 +184,59 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
184
184
|
|
|
185
185
|
|
|
186
186
|
|
|
187
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
188
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
189
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
190
|
+
|
|
191
|
+
return {
|
|
192
|
+
url: toPathString(localVarUrlObj),
|
|
193
|
+
options: localVarRequestOptions,
|
|
194
|
+
};
|
|
195
|
+
},
|
|
196
|
+
/**
|
|
197
|
+
* Retrieves the details of the product that was previously created. Supply the unique product code that was returned when you created it and Emil Api will return the corresponding product information.
|
|
198
|
+
* @summary Retrieve the product
|
|
199
|
+
* @param {number} id Unique identifier referencing the product.
|
|
200
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
201
|
+
* @param {string} [expand] Fields to expand response by
|
|
202
|
+
* @param {*} [options] Override http request option.
|
|
203
|
+
* @throws {RequiredError}
|
|
204
|
+
*/
|
|
205
|
+
getProductByIdentifier: async (id: number, authorization?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
206
|
+
// verify required parameter 'id' is not null or undefined
|
|
207
|
+
assertParamExists('getProductByIdentifier', 'id', id)
|
|
208
|
+
const localVarPath = `/insuranceservice/v1/products/get-by-identifier`;
|
|
209
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
210
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
211
|
+
let baseOptions;
|
|
212
|
+
let baseAccessToken;
|
|
213
|
+
if (configuration) {
|
|
214
|
+
baseOptions = configuration.baseOptions;
|
|
215
|
+
baseAccessToken = configuration.accessToken;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
219
|
+
const localVarHeaderParameter = {} as any;
|
|
220
|
+
const localVarQueryParameter = {} as any;
|
|
221
|
+
|
|
222
|
+
// authentication bearer required
|
|
223
|
+
// http bearer authentication required
|
|
224
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
225
|
+
|
|
226
|
+
if (id !== undefined) {
|
|
227
|
+
localVarQueryParameter['id'] = id;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
if (expand !== undefined) {
|
|
231
|
+
localVarQueryParameter['expand'] = expand;
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
235
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
|
|
239
|
+
|
|
187
240
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
188
241
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
189
242
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -353,7 +406,7 @@ export const ProductsApiFp = function(configuration?: Configuration) {
|
|
|
353
406
|
* Retrieves the details of the product that was previously created. Supply the unique product code that was returned when you created it and Emil Api will return the corresponding product information.
|
|
354
407
|
* @summary Retrieve the product
|
|
355
408
|
* @param {string} code Unique identifier for the object.
|
|
356
|
-
* @param {number} id
|
|
409
|
+
* @param {number} id Unique identifier referencing the product.
|
|
357
410
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
358
411
|
* @param {string} [expand] Fields to expand response by
|
|
359
412
|
* @param {*} [options] Override http request option.
|
|
@@ -363,6 +416,19 @@ export const ProductsApiFp = function(configuration?: Configuration) {
|
|
|
363
416
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getProductByCode(code, id, authorization, expand, options);
|
|
364
417
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
365
418
|
},
|
|
419
|
+
/**
|
|
420
|
+
* Retrieves the details of the product that was previously created. Supply the unique product code that was returned when you created it and Emil Api will return the corresponding product information.
|
|
421
|
+
* @summary Retrieve the product
|
|
422
|
+
* @param {number} id Unique identifier referencing the product.
|
|
423
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
424
|
+
* @param {string} [expand] Fields to expand response by
|
|
425
|
+
* @param {*} [options] Override http request option.
|
|
426
|
+
* @throws {RequiredError}
|
|
427
|
+
*/
|
|
428
|
+
async getProductByIdentifier(id: number, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetProductResponseClass>> {
|
|
429
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getProductByIdentifier(id, authorization, expand, options);
|
|
430
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
431
|
+
},
|
|
366
432
|
/**
|
|
367
433
|
* Returns a list of products you have previously created. The products are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
368
434
|
* @summary List products
|
|
@@ -429,7 +495,7 @@ export const ProductsApiFactory = function (configuration?: Configuration, baseP
|
|
|
429
495
|
* Retrieves the details of the product that was previously created. Supply the unique product code that was returned when you created it and Emil Api will return the corresponding product information.
|
|
430
496
|
* @summary Retrieve the product
|
|
431
497
|
* @param {string} code Unique identifier for the object.
|
|
432
|
-
* @param {number} id
|
|
498
|
+
* @param {number} id Unique identifier referencing the product.
|
|
433
499
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
434
500
|
* @param {string} [expand] Fields to expand response by
|
|
435
501
|
* @param {*} [options] Override http request option.
|
|
@@ -438,6 +504,18 @@ export const ProductsApiFactory = function (configuration?: Configuration, baseP
|
|
|
438
504
|
getProductByCode(code: string, id: number, authorization?: string, expand?: string, options?: any): AxiosPromise<GetProductResponseClass> {
|
|
439
505
|
return localVarFp.getProductByCode(code, id, authorization, expand, options).then((request) => request(axios, basePath));
|
|
440
506
|
},
|
|
507
|
+
/**
|
|
508
|
+
* Retrieves the details of the product that was previously created. Supply the unique product code that was returned when you created it and Emil Api will return the corresponding product information.
|
|
509
|
+
* @summary Retrieve the product
|
|
510
|
+
* @param {number} id Unique identifier referencing the product.
|
|
511
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
512
|
+
* @param {string} [expand] Fields to expand response by
|
|
513
|
+
* @param {*} [options] Override http request option.
|
|
514
|
+
* @throws {RequiredError}
|
|
515
|
+
*/
|
|
516
|
+
getProductByIdentifier(id: number, authorization?: string, expand?: string, options?: any): AxiosPromise<GetProductResponseClass> {
|
|
517
|
+
return localVarFp.getProductByIdentifier(id, authorization, expand, options).then((request) => request(axios, basePath));
|
|
518
|
+
},
|
|
441
519
|
/**
|
|
442
520
|
* Returns a list of products you have previously created. The products are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
443
521
|
* @summary List products
|
|
@@ -525,7 +603,7 @@ export interface ProductsApiGetProductByCodeRequest {
|
|
|
525
603
|
readonly code: string
|
|
526
604
|
|
|
527
605
|
/**
|
|
528
|
-
*
|
|
606
|
+
* Unique identifier referencing the product.
|
|
529
607
|
* @type {number}
|
|
530
608
|
* @memberof ProductsApiGetProductByCode
|
|
531
609
|
*/
|
|
@@ -546,6 +624,34 @@ export interface ProductsApiGetProductByCodeRequest {
|
|
|
546
624
|
readonly expand?: string
|
|
547
625
|
}
|
|
548
626
|
|
|
627
|
+
/**
|
|
628
|
+
* Request parameters for getProductByIdentifier operation in ProductsApi.
|
|
629
|
+
* @export
|
|
630
|
+
* @interface ProductsApiGetProductByIdentifierRequest
|
|
631
|
+
*/
|
|
632
|
+
export interface ProductsApiGetProductByIdentifierRequest {
|
|
633
|
+
/**
|
|
634
|
+
* Unique identifier referencing the product.
|
|
635
|
+
* @type {number}
|
|
636
|
+
* @memberof ProductsApiGetProductByIdentifier
|
|
637
|
+
*/
|
|
638
|
+
readonly id: number
|
|
639
|
+
|
|
640
|
+
/**
|
|
641
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
642
|
+
* @type {string}
|
|
643
|
+
* @memberof ProductsApiGetProductByIdentifier
|
|
644
|
+
*/
|
|
645
|
+
readonly authorization?: string
|
|
646
|
+
|
|
647
|
+
/**
|
|
648
|
+
* Fields to expand response by
|
|
649
|
+
* @type {string}
|
|
650
|
+
* @memberof ProductsApiGetProductByIdentifier
|
|
651
|
+
*/
|
|
652
|
+
readonly expand?: string
|
|
653
|
+
}
|
|
654
|
+
|
|
549
655
|
/**
|
|
550
656
|
* Request parameters for listProducts operation in ProductsApi.
|
|
551
657
|
* @export
|
|
@@ -673,6 +779,18 @@ export class ProductsApi extends BaseAPI {
|
|
|
673
779
|
return ProductsApiFp(this.configuration).getProductByCode(requestParameters.code, requestParameters.id, requestParameters.authorization, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
|
|
674
780
|
}
|
|
675
781
|
|
|
782
|
+
/**
|
|
783
|
+
* Retrieves the details of the product that was previously created. Supply the unique product code that was returned when you created it and Emil Api will return the corresponding product information.
|
|
784
|
+
* @summary Retrieve the product
|
|
785
|
+
* @param {ProductsApiGetProductByIdentifierRequest} requestParameters Request parameters.
|
|
786
|
+
* @param {*} [options] Override http request option.
|
|
787
|
+
* @throws {RequiredError}
|
|
788
|
+
* @memberof ProductsApi
|
|
789
|
+
*/
|
|
790
|
+
public getProductByIdentifier(requestParameters: ProductsApiGetProductByIdentifierRequest, options?: AxiosRequestConfig) {
|
|
791
|
+
return ProductsApiFp(this.configuration).getProductByIdentifier(requestParameters.id, requestParameters.authorization, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
|
|
792
|
+
}
|
|
793
|
+
|
|
676
794
|
/**
|
|
677
795
|
* Returns a list of products you have previously created. The products are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
678
796
|
* @summary List products
|
|
@@ -46,13 +46,23 @@ export declare const ProductsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
46
46
|
* Retrieves the details of the product that was previously created. Supply the unique product code that was returned when you created it and Emil Api will return the corresponding product information.
|
|
47
47
|
* @summary Retrieve the product
|
|
48
48
|
* @param {string} code Unique identifier for the object.
|
|
49
|
-
* @param {number} id
|
|
49
|
+
* @param {number} id Unique identifier referencing the product.
|
|
50
50
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
51
51
|
* @param {string} [expand] Fields to expand response by
|
|
52
52
|
* @param {*} [options] Override http request option.
|
|
53
53
|
* @throws {RequiredError}
|
|
54
54
|
*/
|
|
55
55
|
getProductByCode: (code: string, id: number, authorization?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
56
|
+
/**
|
|
57
|
+
* Retrieves the details of the product that was previously created. Supply the unique product code that was returned when you created it and Emil Api will return the corresponding product information.
|
|
58
|
+
* @summary Retrieve the product
|
|
59
|
+
* @param {number} id Unique identifier referencing the product.
|
|
60
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
61
|
+
* @param {string} [expand] Fields to expand response by
|
|
62
|
+
* @param {*} [options] Override http request option.
|
|
63
|
+
* @throws {RequiredError}
|
|
64
|
+
*/
|
|
65
|
+
getProductByIdentifier: (id: number, authorization?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
56
66
|
/**
|
|
57
67
|
* Returns a list of products you have previously created. The products are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
58
68
|
* @summary List products
|
|
@@ -105,13 +115,23 @@ export declare const ProductsApiFp: (configuration?: Configuration) => {
|
|
|
105
115
|
* Retrieves the details of the product that was previously created. Supply the unique product code that was returned when you created it and Emil Api will return the corresponding product information.
|
|
106
116
|
* @summary Retrieve the product
|
|
107
117
|
* @param {string} code Unique identifier for the object.
|
|
108
|
-
* @param {number} id
|
|
118
|
+
* @param {number} id Unique identifier referencing the product.
|
|
109
119
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
110
120
|
* @param {string} [expand] Fields to expand response by
|
|
111
121
|
* @param {*} [options] Override http request option.
|
|
112
122
|
* @throws {RequiredError}
|
|
113
123
|
*/
|
|
114
124
|
getProductByCode(code: string, id: number, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetProductResponseClass>>;
|
|
125
|
+
/**
|
|
126
|
+
* Retrieves the details of the product that was previously created. Supply the unique product code that was returned when you created it and Emil Api will return the corresponding product information.
|
|
127
|
+
* @summary Retrieve the product
|
|
128
|
+
* @param {number} id Unique identifier referencing the product.
|
|
129
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
130
|
+
* @param {string} [expand] Fields to expand response by
|
|
131
|
+
* @param {*} [options] Override http request option.
|
|
132
|
+
* @throws {RequiredError}
|
|
133
|
+
*/
|
|
134
|
+
getProductByIdentifier(id: number, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetProductResponseClass>>;
|
|
115
135
|
/**
|
|
116
136
|
* Returns a list of products you have previously created. The products are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
117
137
|
* @summary List products
|
|
@@ -164,13 +184,23 @@ export declare const ProductsApiFactory: (configuration?: Configuration, basePat
|
|
|
164
184
|
* Retrieves the details of the product that was previously created. Supply the unique product code that was returned when you created it and Emil Api will return the corresponding product information.
|
|
165
185
|
* @summary Retrieve the product
|
|
166
186
|
* @param {string} code Unique identifier for the object.
|
|
167
|
-
* @param {number} id
|
|
187
|
+
* @param {number} id Unique identifier referencing the product.
|
|
168
188
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
169
189
|
* @param {string} [expand] Fields to expand response by
|
|
170
190
|
* @param {*} [options] Override http request option.
|
|
171
191
|
* @throws {RequiredError}
|
|
172
192
|
*/
|
|
173
193
|
getProductByCode(code: string, id: number, authorization?: string, expand?: string, options?: any): AxiosPromise<GetProductResponseClass>;
|
|
194
|
+
/**
|
|
195
|
+
* Retrieves the details of the product that was previously created. Supply the unique product code that was returned when you created it and Emil Api will return the corresponding product information.
|
|
196
|
+
* @summary Retrieve the product
|
|
197
|
+
* @param {number} id Unique identifier referencing the product.
|
|
198
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
199
|
+
* @param {string} [expand] Fields to expand response by
|
|
200
|
+
* @param {*} [options] Override http request option.
|
|
201
|
+
* @throws {RequiredError}
|
|
202
|
+
*/
|
|
203
|
+
getProductByIdentifier(id: number, authorization?: string, expand?: string, options?: any): AxiosPromise<GetProductResponseClass>;
|
|
174
204
|
/**
|
|
175
205
|
* Returns a list of products you have previously created. The products are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
176
206
|
* @summary List products
|
|
@@ -247,7 +277,7 @@ export interface ProductsApiGetProductByCodeRequest {
|
|
|
247
277
|
*/
|
|
248
278
|
readonly code: string;
|
|
249
279
|
/**
|
|
250
|
-
*
|
|
280
|
+
* Unique identifier referencing the product.
|
|
251
281
|
* @type {number}
|
|
252
282
|
* @memberof ProductsApiGetProductByCode
|
|
253
283
|
*/
|
|
@@ -265,6 +295,31 @@ export interface ProductsApiGetProductByCodeRequest {
|
|
|
265
295
|
*/
|
|
266
296
|
readonly expand?: string;
|
|
267
297
|
}
|
|
298
|
+
/**
|
|
299
|
+
* Request parameters for getProductByIdentifier operation in ProductsApi.
|
|
300
|
+
* @export
|
|
301
|
+
* @interface ProductsApiGetProductByIdentifierRequest
|
|
302
|
+
*/
|
|
303
|
+
export interface ProductsApiGetProductByIdentifierRequest {
|
|
304
|
+
/**
|
|
305
|
+
* Unique identifier referencing the product.
|
|
306
|
+
* @type {number}
|
|
307
|
+
* @memberof ProductsApiGetProductByIdentifier
|
|
308
|
+
*/
|
|
309
|
+
readonly id: number;
|
|
310
|
+
/**
|
|
311
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
312
|
+
* @type {string}
|
|
313
|
+
* @memberof ProductsApiGetProductByIdentifier
|
|
314
|
+
*/
|
|
315
|
+
readonly authorization?: string;
|
|
316
|
+
/**
|
|
317
|
+
* Fields to expand response by
|
|
318
|
+
* @type {string}
|
|
319
|
+
* @memberof ProductsApiGetProductByIdentifier
|
|
320
|
+
*/
|
|
321
|
+
readonly expand?: string;
|
|
322
|
+
}
|
|
268
323
|
/**
|
|
269
324
|
* Request parameters for listProducts operation in ProductsApi.
|
|
270
325
|
* @export
|
|
@@ -373,6 +428,15 @@ export declare class ProductsApi extends BaseAPI {
|
|
|
373
428
|
* @memberof ProductsApi
|
|
374
429
|
*/
|
|
375
430
|
getProductByCode(requestParameters: ProductsApiGetProductByCodeRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetProductResponseClass, any>>;
|
|
431
|
+
/**
|
|
432
|
+
* Retrieves the details of the product that was previously created. Supply the unique product code that was returned when you created it and Emil Api will return the corresponding product information.
|
|
433
|
+
* @summary Retrieve the product
|
|
434
|
+
* @param {ProductsApiGetProductByIdentifierRequest} requestParameters Request parameters.
|
|
435
|
+
* @param {*} [options] Override http request option.
|
|
436
|
+
* @throws {RequiredError}
|
|
437
|
+
* @memberof ProductsApi
|
|
438
|
+
*/
|
|
439
|
+
getProductByIdentifier(requestParameters: ProductsApiGetProductByIdentifierRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetProductResponseClass, any>>;
|
|
376
440
|
/**
|
|
377
441
|
* Returns a list of products you have previously created. The products are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
378
442
|
* @summary List products
|
package/dist/api/products-api.js
CHANGED
|
@@ -197,7 +197,7 @@ var ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
197
197
|
* Retrieves the details of the product that was previously created. Supply the unique product code that was returned when you created it and Emil Api will return the corresponding product information.
|
|
198
198
|
* @summary Retrieve the product
|
|
199
199
|
* @param {string} code Unique identifier for the object.
|
|
200
|
-
* @param {number} id
|
|
200
|
+
* @param {number} id Unique identifier referencing the product.
|
|
201
201
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
202
202
|
* @param {string} [expand] Fields to expand response by
|
|
203
203
|
* @param {*} [options] Override http request option.
|
|
@@ -251,6 +251,60 @@ var ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
251
251
|
});
|
|
252
252
|
});
|
|
253
253
|
},
|
|
254
|
+
/**
|
|
255
|
+
* Retrieves the details of the product that was previously created. Supply the unique product code that was returned when you created it and Emil Api will return the corresponding product information.
|
|
256
|
+
* @summary Retrieve the product
|
|
257
|
+
* @param {number} id Unique identifier referencing the product.
|
|
258
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
259
|
+
* @param {string} [expand] Fields to expand response by
|
|
260
|
+
* @param {*} [options] Override http request option.
|
|
261
|
+
* @throws {RequiredError}
|
|
262
|
+
*/
|
|
263
|
+
getProductByIdentifier: function (id, authorization, expand, options) {
|
|
264
|
+
if (options === void 0) { options = {}; }
|
|
265
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
266
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
267
|
+
return __generator(this, function (_a) {
|
|
268
|
+
switch (_a.label) {
|
|
269
|
+
case 0:
|
|
270
|
+
// verify required parameter 'id' is not null or undefined
|
|
271
|
+
(0, common_1.assertParamExists)('getProductByIdentifier', 'id', id);
|
|
272
|
+
localVarPath = "/insuranceservice/v1/products/get-by-identifier";
|
|
273
|
+
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
274
|
+
if (configuration) {
|
|
275
|
+
baseOptions = configuration.baseOptions;
|
|
276
|
+
baseAccessToken = configuration.accessToken;
|
|
277
|
+
}
|
|
278
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
279
|
+
localVarHeaderParameter = {};
|
|
280
|
+
localVarQueryParameter = {};
|
|
281
|
+
// authentication bearer required
|
|
282
|
+
// http bearer authentication required
|
|
283
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
284
|
+
case 1:
|
|
285
|
+
// authentication bearer required
|
|
286
|
+
// http bearer authentication required
|
|
287
|
+
_a.sent();
|
|
288
|
+
if (id !== undefined) {
|
|
289
|
+
localVarQueryParameter['id'] = id;
|
|
290
|
+
}
|
|
291
|
+
if (expand !== undefined) {
|
|
292
|
+
localVarQueryParameter['expand'] = expand;
|
|
293
|
+
}
|
|
294
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
295
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
296
|
+
}
|
|
297
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
298
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
299
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
300
|
+
return [2 /*return*/, {
|
|
301
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
302
|
+
options: localVarRequestOptions,
|
|
303
|
+
}];
|
|
304
|
+
}
|
|
305
|
+
});
|
|
306
|
+
});
|
|
307
|
+
},
|
|
254
308
|
/**
|
|
255
309
|
* Returns a list of products you have previously created. The products are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
256
310
|
* @summary List products
|
|
@@ -428,7 +482,7 @@ var ProductsApiFp = function (configuration) {
|
|
|
428
482
|
* Retrieves the details of the product that was previously created. Supply the unique product code that was returned when you created it and Emil Api will return the corresponding product information.
|
|
429
483
|
* @summary Retrieve the product
|
|
430
484
|
* @param {string} code Unique identifier for the object.
|
|
431
|
-
* @param {number} id
|
|
485
|
+
* @param {number} id Unique identifier referencing the product.
|
|
432
486
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
433
487
|
* @param {string} [expand] Fields to expand response by
|
|
434
488
|
* @param {*} [options] Override http request option.
|
|
@@ -447,6 +501,28 @@ var ProductsApiFp = function (configuration) {
|
|
|
447
501
|
});
|
|
448
502
|
});
|
|
449
503
|
},
|
|
504
|
+
/**
|
|
505
|
+
* Retrieves the details of the product that was previously created. Supply the unique product code that was returned when you created it and Emil Api will return the corresponding product information.
|
|
506
|
+
* @summary Retrieve the product
|
|
507
|
+
* @param {number} id Unique identifier referencing the product.
|
|
508
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
509
|
+
* @param {string} [expand] Fields to expand response by
|
|
510
|
+
* @param {*} [options] Override http request option.
|
|
511
|
+
* @throws {RequiredError}
|
|
512
|
+
*/
|
|
513
|
+
getProductByIdentifier: function (id, authorization, expand, options) {
|
|
514
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
515
|
+
var localVarAxiosArgs;
|
|
516
|
+
return __generator(this, function (_a) {
|
|
517
|
+
switch (_a.label) {
|
|
518
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getProductByIdentifier(id, authorization, expand, options)];
|
|
519
|
+
case 1:
|
|
520
|
+
localVarAxiosArgs = _a.sent();
|
|
521
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
522
|
+
}
|
|
523
|
+
});
|
|
524
|
+
});
|
|
525
|
+
},
|
|
450
526
|
/**
|
|
451
527
|
* Returns a list of products you have previously created. The products are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
452
528
|
* @summary List products
|
|
@@ -531,7 +607,7 @@ var ProductsApiFactory = function (configuration, basePath, axios) {
|
|
|
531
607
|
* Retrieves the details of the product that was previously created. Supply the unique product code that was returned when you created it and Emil Api will return the corresponding product information.
|
|
532
608
|
* @summary Retrieve the product
|
|
533
609
|
* @param {string} code Unique identifier for the object.
|
|
534
|
-
* @param {number} id
|
|
610
|
+
* @param {number} id Unique identifier referencing the product.
|
|
535
611
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
536
612
|
* @param {string} [expand] Fields to expand response by
|
|
537
613
|
* @param {*} [options] Override http request option.
|
|
@@ -540,6 +616,18 @@ var ProductsApiFactory = function (configuration, basePath, axios) {
|
|
|
540
616
|
getProductByCode: function (code, id, authorization, expand, options) {
|
|
541
617
|
return localVarFp.getProductByCode(code, id, authorization, expand, options).then(function (request) { return request(axios, basePath); });
|
|
542
618
|
},
|
|
619
|
+
/**
|
|
620
|
+
* Retrieves the details of the product that was previously created. Supply the unique product code that was returned when you created it and Emil Api will return the corresponding product information.
|
|
621
|
+
* @summary Retrieve the product
|
|
622
|
+
* @param {number} id Unique identifier referencing the product.
|
|
623
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
624
|
+
* @param {string} [expand] Fields to expand response by
|
|
625
|
+
* @param {*} [options] Override http request option.
|
|
626
|
+
* @throws {RequiredError}
|
|
627
|
+
*/
|
|
628
|
+
getProductByIdentifier: function (id, authorization, expand, options) {
|
|
629
|
+
return localVarFp.getProductByIdentifier(id, authorization, expand, options).then(function (request) { return request(axios, basePath); });
|
|
630
|
+
},
|
|
543
631
|
/**
|
|
544
632
|
* Returns a list of products you have previously created. The products are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
545
633
|
* @summary List products
|
|
@@ -618,6 +706,18 @@ var ProductsApi = /** @class */ (function (_super) {
|
|
|
618
706
|
var _this = this;
|
|
619
707
|
return (0, exports.ProductsApiFp)(this.configuration).getProductByCode(requestParameters.code, requestParameters.id, requestParameters.authorization, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
620
708
|
};
|
|
709
|
+
/**
|
|
710
|
+
* Retrieves the details of the product that was previously created. Supply the unique product code that was returned when you created it and Emil Api will return the corresponding product information.
|
|
711
|
+
* @summary Retrieve the product
|
|
712
|
+
* @param {ProductsApiGetProductByIdentifierRequest} requestParameters Request parameters.
|
|
713
|
+
* @param {*} [options] Override http request option.
|
|
714
|
+
* @throws {RequiredError}
|
|
715
|
+
* @memberof ProductsApi
|
|
716
|
+
*/
|
|
717
|
+
ProductsApi.prototype.getProductByIdentifier = function (requestParameters, options) {
|
|
718
|
+
var _this = this;
|
|
719
|
+
return (0, exports.ProductsApiFp)(this.configuration).getProductByIdentifier(requestParameters.id, requestParameters.authorization, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
720
|
+
};
|
|
621
721
|
/**
|
|
622
722
|
* Returns a list of products you have previously created. The products are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
623
723
|
* @summary List products
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { CreateNamedRequestS3DataClass } from './create-named-request-s3-data-class';
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
14
15
|
* @export
|
|
@@ -38,5 +39,11 @@ export interface CreateNamedRangeRequestDto {
|
|
|
38
39
|
* @type {string}
|
|
39
40
|
* @memberof CreateNamedRangeRequestDto
|
|
40
41
|
*/
|
|
41
|
-
'base64Data'
|
|
42
|
+
'base64Data'?: string;
|
|
43
|
+
/**
|
|
44
|
+
* S3 bucket where the uploaded document is saved in.
|
|
45
|
+
* @type {CreateNamedRequestS3DataClass}
|
|
46
|
+
* @memberof CreateNamedRangeRequestDto
|
|
47
|
+
*/
|
|
48
|
+
's3Data'?: CreateNamedRequestS3DataClass;
|
|
42
49
|
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL InsuranceService
|
|
3
|
+
* The EMIL InsuranceService API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface CreateNamedRequestS3DataClass
|
|
16
|
+
*/
|
|
17
|
+
export interface CreateNamedRequestS3DataClass {
|
|
18
|
+
/**
|
|
19
|
+
* S3 bucket where the uploaded document is saved in.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CreateNamedRequestS3DataClass
|
|
22
|
+
*/
|
|
23
|
+
'uploadedDocumentS3Bucket': string;
|
|
24
|
+
/**
|
|
25
|
+
* S3 key of the uploaded document.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CreateNamedRequestS3DataClass
|
|
28
|
+
*/
|
|
29
|
+
'uploadedDocumentS3Key': string;
|
|
30
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL InsuranceService
|
|
6
|
+
* The EMIL InsuranceService API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -16,17 +16,23 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface GetProductRequestDto {
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* Unique identifier referencing the product.
|
|
20
20
|
* @type {number}
|
|
21
21
|
* @memberof GetProductRequestDto
|
|
22
22
|
*/
|
|
23
23
|
'id': number;
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {
|
|
25
|
+
* Unique identifier of the product that this object belongs to.
|
|
26
|
+
* @type {object}
|
|
27
|
+
* @memberof GetProductRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'code': object;
|
|
30
|
+
/**
|
|
31
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
32
|
+
* @type {object}
|
|
27
33
|
* @memberof GetProductRequestDto
|
|
28
34
|
*/
|
|
29
|
-
'
|
|
35
|
+
'slug': object;
|
|
30
36
|
/**
|
|
31
37
|
* Fields to expand response by
|
|
32
38
|
* @type {string}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -14,6 +14,7 @@ export * from './create-lead-status-request-dto';
|
|
|
14
14
|
export * from './create-lead-status-response-class';
|
|
15
15
|
export * from './create-named-range-request-dto';
|
|
16
16
|
export * from './create-named-range-response-class';
|
|
17
|
+
export * from './create-named-request-s3-data-class';
|
|
17
18
|
export * from './create-payment-method-request-dto';
|
|
18
19
|
export * from './create-policy-request-dto';
|
|
19
20
|
export * from './create-policy-response-class';
|
package/dist/models/index.js
CHANGED
|
@@ -30,6 +30,7 @@ __exportStar(require("./create-lead-status-request-dto"), exports);
|
|
|
30
30
|
__exportStar(require("./create-lead-status-response-class"), exports);
|
|
31
31
|
__exportStar(require("./create-named-range-request-dto"), exports);
|
|
32
32
|
__exportStar(require("./create-named-range-response-class"), exports);
|
|
33
|
+
__exportStar(require("./create-named-request-s3-data-class"), exports);
|
|
33
34
|
__exportStar(require("./create-payment-method-request-dto"), exports);
|
|
34
35
|
__exportStar(require("./create-policy-request-dto"), exports);
|
|
35
36
|
__exportStar(require("./create-policy-response-class"), exports);
|
|
@@ -17,10 +17,10 @@
|
|
|
17
17
|
export interface PolicyObjectDto {
|
|
18
18
|
/**
|
|
19
19
|
* The id of the insured object to be used in the policy. The insured object id will be validated if the \'validate\' flag is set to true.
|
|
20
|
-
* @type {
|
|
20
|
+
* @type {number}
|
|
21
21
|
* @memberof PolicyObjectDto
|
|
22
22
|
*/
|
|
23
|
-
'insuredObjectId'?:
|
|
23
|
+
'insuredObjectId'?: number;
|
|
24
24
|
/**
|
|
25
25
|
* Insured object name. Human readable identifier of insured object. Can be used instead of insuredObjectId
|
|
26
26
|
* @type {string}
|
|
@@ -17,10 +17,10 @@
|
|
|
17
17
|
export interface SharedLeadPolicyObjectDto {
|
|
18
18
|
/**
|
|
19
19
|
* The id of the insured object to be used in the policy. The insured object id will be validated if the \'validate\' flag is set to true.
|
|
20
|
-
* @type {
|
|
20
|
+
* @type {number}
|
|
21
21
|
* @memberof SharedLeadPolicyObjectDto
|
|
22
22
|
*/
|
|
23
|
-
'insuredObjectId'?:
|
|
23
|
+
'insuredObjectId'?: number;
|
|
24
24
|
/**
|
|
25
25
|
* Insured object name. Human readable identifier of insured object. Can be used instead of insuredObjectId
|
|
26
26
|
* @type {string}
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
|
|
16
|
+
import { CreateNamedRequestS3DataClass } from './create-named-request-s3-data-class';
|
|
16
17
|
|
|
17
18
|
/**
|
|
18
19
|
*
|
|
@@ -43,6 +44,12 @@ export interface CreateNamedRangeRequestDto {
|
|
|
43
44
|
* @type {string}
|
|
44
45
|
* @memberof CreateNamedRangeRequestDto
|
|
45
46
|
*/
|
|
46
|
-
'base64Data'
|
|
47
|
+
'base64Data'?: string;
|
|
48
|
+
/**
|
|
49
|
+
* S3 bucket where the uploaded document is saved in.
|
|
50
|
+
* @type {CreateNamedRequestS3DataClass}
|
|
51
|
+
* @memberof CreateNamedRangeRequestDto
|
|
52
|
+
*/
|
|
53
|
+
's3Data'?: CreateNamedRequestS3DataClass;
|
|
47
54
|
}
|
|
48
55
|
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL InsuranceService
|
|
5
|
+
* The EMIL InsuranceService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface CreateNamedRequestS3DataClass
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateNamedRequestS3DataClass {
|
|
23
|
+
/**
|
|
24
|
+
* S3 bucket where the uploaded document is saved in.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof CreateNamedRequestS3DataClass
|
|
27
|
+
*/
|
|
28
|
+
'uploadedDocumentS3Bucket': string;
|
|
29
|
+
/**
|
|
30
|
+
* S3 key of the uploaded document.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof CreateNamedRequestS3DataClass
|
|
33
|
+
*/
|
|
34
|
+
'uploadedDocumentS3Key': string;
|
|
35
|
+
}
|
|
36
|
+
|
|
@@ -21,17 +21,23 @@
|
|
|
21
21
|
*/
|
|
22
22
|
export interface GetProductRequestDto {
|
|
23
23
|
/**
|
|
24
|
-
*
|
|
24
|
+
* Unique identifier referencing the product.
|
|
25
25
|
* @type {number}
|
|
26
26
|
* @memberof GetProductRequestDto
|
|
27
27
|
*/
|
|
28
28
|
'id': number;
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
31
|
-
* @type {
|
|
30
|
+
* Unique identifier of the product that this object belongs to.
|
|
31
|
+
* @type {object}
|
|
32
|
+
* @memberof GetProductRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'code': object;
|
|
35
|
+
/**
|
|
36
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
37
|
+
* @type {object}
|
|
32
38
|
* @memberof GetProductRequestDto
|
|
33
39
|
*/
|
|
34
|
-
'
|
|
40
|
+
'slug': object;
|
|
35
41
|
/**
|
|
36
42
|
* Fields to expand response by
|
|
37
43
|
* @type {string}
|
package/models/index.ts
CHANGED
|
@@ -14,6 +14,7 @@ export * from './create-lead-status-request-dto';
|
|
|
14
14
|
export * from './create-lead-status-response-class';
|
|
15
15
|
export * from './create-named-range-request-dto';
|
|
16
16
|
export * from './create-named-range-response-class';
|
|
17
|
+
export * from './create-named-request-s3-data-class';
|
|
17
18
|
export * from './create-payment-method-request-dto';
|
|
18
19
|
export * from './create-policy-request-dto';
|
|
19
20
|
export * from './create-policy-response-class';
|
|
@@ -22,10 +22,10 @@
|
|
|
22
22
|
export interface PolicyObjectDto {
|
|
23
23
|
/**
|
|
24
24
|
* The id of the insured object to be used in the policy. The insured object id will be validated if the \'validate\' flag is set to true.
|
|
25
|
-
* @type {
|
|
25
|
+
* @type {number}
|
|
26
26
|
* @memberof PolicyObjectDto
|
|
27
27
|
*/
|
|
28
|
-
'insuredObjectId'?:
|
|
28
|
+
'insuredObjectId'?: number;
|
|
29
29
|
/**
|
|
30
30
|
* Insured object name. Human readable identifier of insured object. Can be used instead of insuredObjectId
|
|
31
31
|
* @type {string}
|
|
@@ -22,10 +22,10 @@
|
|
|
22
22
|
export interface SharedLeadPolicyObjectDto {
|
|
23
23
|
/**
|
|
24
24
|
* The id of the insured object to be used in the policy. The insured object id will be validated if the \'validate\' flag is set to true.
|
|
25
|
-
* @type {
|
|
25
|
+
* @type {number}
|
|
26
26
|
* @memberof SharedLeadPolicyObjectDto
|
|
27
27
|
*/
|
|
28
|
-
'insuredObjectId'?:
|
|
28
|
+
'insuredObjectId'?: number;
|
|
29
29
|
/**
|
|
30
30
|
* Insured object name. Human readable identifier of insured object. Can be used instead of insuredObjectId
|
|
31
31
|
* @type {string}
|