@emilgroup/insurance-sdk-node 1.66.1-beta.0 → 1.66.1-beta.1
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/README.md +2 -2
- package/api/insured-objects-api.ts +16 -16
- package/dist/api/insured-objects-api.d.ts +16 -16
- package/dist/api/insured-objects-api.js +16 -16
- package/package.json +1 -1
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.66.1-beta.
|
|
20
|
+
npm install @emilgroup/insurance-sdk-node@1.66.1-beta.1 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/insurance-sdk-node@1.66.1-beta.
|
|
24
|
+
yarn add @emilgroup/insurance-sdk-node@1.66.1-beta.1
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `PoliciesApi`.
|
|
@@ -39,7 +39,7 @@ const FormData = require('form-data');
|
|
|
39
39
|
export const InsuredObjectsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
40
40
|
return {
|
|
41
41
|
/**
|
|
42
|
-
* Creates an insured object. **Required Permissions** \"policy-management.
|
|
42
|
+
* Creates an insured object. **Required Permissions** \"policy-management.products.create\"
|
|
43
43
|
* @summary Create the insured object
|
|
44
44
|
* @param {CreateInsuredObjectRequestDto} createInsuredObjectRequestDto
|
|
45
45
|
* @param {string} [authorization] Bearer Token
|
|
@@ -86,7 +86,7 @@ export const InsuredObjectsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
86
86
|
};
|
|
87
87
|
},
|
|
88
88
|
/**
|
|
89
|
-
* Permanently deletes the insured object. Supply the unique id that was returned when you created the insured object and this will delete it. **Required Permissions** \"policy-management.
|
|
89
|
+
* Permanently deletes the insured object. Supply the unique id that was returned when you created the insured object and this will delete it. **Required Permissions** \"policy-management.products.delete\"
|
|
90
90
|
* @summary Delete the insured object
|
|
91
91
|
* @param {number} id
|
|
92
92
|
* @param {string} [authorization] Bearer Token
|
|
@@ -131,7 +131,7 @@ export const InsuredObjectsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
131
131
|
};
|
|
132
132
|
},
|
|
133
133
|
/**
|
|
134
|
-
* Retrieves the details of the insured object that was previously created. Supply the unique insured object id that was returned when you created it and Emil Api will return the corresponding insured object information. **Required Permissions** \"policy-management.
|
|
134
|
+
* Retrieves the details of the insured object that was previously created. Supply the unique insured object id that was returned when you created it and Emil Api will return the corresponding insured object information. **Required Permissions** \"policy-management.products.view\"
|
|
135
135
|
* @summary Retrieve the insured object
|
|
136
136
|
* @param {number} id
|
|
137
137
|
* @param {string} [authorization] Bearer Token
|
|
@@ -181,7 +181,7 @@ export const InsuredObjectsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
181
181
|
};
|
|
182
182
|
},
|
|
183
183
|
/**
|
|
184
|
-
* Returns a list of insured objects you have previously created. The insured objects are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"policy-management.
|
|
184
|
+
* Returns a list of insured objects you have previously created. The insured objects are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"policy-management.products.view\"
|
|
185
185
|
* @summary List insured objects
|
|
186
186
|
* @param {string} [authorization] Bearer Token
|
|
187
187
|
* @param {number} [pageSize] Page size.
|
|
@@ -267,7 +267,7 @@ export const InsuredObjectsApiFp = function(configuration?: Configuration) {
|
|
|
267
267
|
const localVarAxiosParamCreator = InsuredObjectsApiAxiosParamCreator(configuration)
|
|
268
268
|
return {
|
|
269
269
|
/**
|
|
270
|
-
* Creates an insured object. **Required Permissions** \"policy-management.
|
|
270
|
+
* Creates an insured object. **Required Permissions** \"policy-management.products.create\"
|
|
271
271
|
* @summary Create the insured object
|
|
272
272
|
* @param {CreateInsuredObjectRequestDto} createInsuredObjectRequestDto
|
|
273
273
|
* @param {string} [authorization] Bearer Token
|
|
@@ -279,7 +279,7 @@ export const InsuredObjectsApiFp = function(configuration?: Configuration) {
|
|
|
279
279
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
280
280
|
},
|
|
281
281
|
/**
|
|
282
|
-
* Permanently deletes the insured object. Supply the unique id that was returned when you created the insured object and this will delete it. **Required Permissions** \"policy-management.
|
|
282
|
+
* Permanently deletes the insured object. Supply the unique id that was returned when you created the insured object and this will delete it. **Required Permissions** \"policy-management.products.delete\"
|
|
283
283
|
* @summary Delete the insured object
|
|
284
284
|
* @param {number} id
|
|
285
285
|
* @param {string} [authorization] Bearer Token
|
|
@@ -291,7 +291,7 @@ export const InsuredObjectsApiFp = function(configuration?: Configuration) {
|
|
|
291
291
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
292
292
|
},
|
|
293
293
|
/**
|
|
294
|
-
* Retrieves the details of the insured object that was previously created. Supply the unique insured object id that was returned when you created it and Emil Api will return the corresponding insured object information. **Required Permissions** \"policy-management.
|
|
294
|
+
* Retrieves the details of the insured object that was previously created. Supply the unique insured object id that was returned when you created it and Emil Api will return the corresponding insured object information. **Required Permissions** \"policy-management.products.view\"
|
|
295
295
|
* @summary Retrieve the insured object
|
|
296
296
|
* @param {number} id
|
|
297
297
|
* @param {string} [authorization] Bearer Token
|
|
@@ -304,7 +304,7 @@ export const InsuredObjectsApiFp = function(configuration?: Configuration) {
|
|
|
304
304
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
305
305
|
},
|
|
306
306
|
/**
|
|
307
|
-
* Returns a list of insured objects you have previously created. The insured objects are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"policy-management.
|
|
307
|
+
* Returns a list of insured objects you have previously created. The insured objects are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"policy-management.products.view\"
|
|
308
308
|
* @summary List insured objects
|
|
309
309
|
* @param {string} [authorization] Bearer Token
|
|
310
310
|
* @param {number} [pageSize] Page size.
|
|
@@ -332,7 +332,7 @@ export const InsuredObjectsApiFactory = function (configuration?: Configuration,
|
|
|
332
332
|
const localVarFp = InsuredObjectsApiFp(configuration)
|
|
333
333
|
return {
|
|
334
334
|
/**
|
|
335
|
-
* Creates an insured object. **Required Permissions** \"policy-management.
|
|
335
|
+
* Creates an insured object. **Required Permissions** \"policy-management.products.create\"
|
|
336
336
|
* @summary Create the insured object
|
|
337
337
|
* @param {CreateInsuredObjectRequestDto} createInsuredObjectRequestDto
|
|
338
338
|
* @param {string} [authorization] Bearer Token
|
|
@@ -343,7 +343,7 @@ export const InsuredObjectsApiFactory = function (configuration?: Configuration,
|
|
|
343
343
|
return localVarFp.createInsuredObject(createInsuredObjectRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
344
344
|
},
|
|
345
345
|
/**
|
|
346
|
-
* Permanently deletes the insured object. Supply the unique id that was returned when you created the insured object and this will delete it. **Required Permissions** \"policy-management.
|
|
346
|
+
* Permanently deletes the insured object. Supply the unique id that was returned when you created the insured object and this will delete it. **Required Permissions** \"policy-management.products.delete\"
|
|
347
347
|
* @summary Delete the insured object
|
|
348
348
|
* @param {number} id
|
|
349
349
|
* @param {string} [authorization] Bearer Token
|
|
@@ -354,7 +354,7 @@ export const InsuredObjectsApiFactory = function (configuration?: Configuration,
|
|
|
354
354
|
return localVarFp.deleteInsuredObject(id, authorization, options).then((request) => request(axios, basePath));
|
|
355
355
|
},
|
|
356
356
|
/**
|
|
357
|
-
* Retrieves the details of the insured object that was previously created. Supply the unique insured object id that was returned when you created it and Emil Api will return the corresponding insured object information. **Required Permissions** \"policy-management.
|
|
357
|
+
* Retrieves the details of the insured object that was previously created. Supply the unique insured object id that was returned when you created it and Emil Api will return the corresponding insured object information. **Required Permissions** \"policy-management.products.view\"
|
|
358
358
|
* @summary Retrieve the insured object
|
|
359
359
|
* @param {number} id
|
|
360
360
|
* @param {string} [authorization] Bearer Token
|
|
@@ -366,7 +366,7 @@ export const InsuredObjectsApiFactory = function (configuration?: Configuration,
|
|
|
366
366
|
return localVarFp.getInsuredObject(id, authorization, expand, options).then((request) => request(axios, basePath));
|
|
367
367
|
},
|
|
368
368
|
/**
|
|
369
|
-
* Returns a list of insured objects you have previously created. The insured objects are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"policy-management.
|
|
369
|
+
* Returns a list of insured objects you have previously created. The insured objects are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"policy-management.products.view\"
|
|
370
370
|
* @summary List insured objects
|
|
371
371
|
* @param {string} [authorization] Bearer Token
|
|
372
372
|
* @param {number} [pageSize] Page size.
|
|
@@ -526,7 +526,7 @@ export interface InsuredObjectsApiListInsuredObjectsRequest {
|
|
|
526
526
|
*/
|
|
527
527
|
export class InsuredObjectsApi extends BaseAPI {
|
|
528
528
|
/**
|
|
529
|
-
* Creates an insured object. **Required Permissions** \"policy-management.
|
|
529
|
+
* Creates an insured object. **Required Permissions** \"policy-management.products.create\"
|
|
530
530
|
* @summary Create the insured object
|
|
531
531
|
* @param {InsuredObjectsApiCreateInsuredObjectRequest} requestParameters Request parameters.
|
|
532
532
|
* @param {*} [options] Override http request option.
|
|
@@ -538,7 +538,7 @@ export class InsuredObjectsApi extends BaseAPI {
|
|
|
538
538
|
}
|
|
539
539
|
|
|
540
540
|
/**
|
|
541
|
-
* Permanently deletes the insured object. Supply the unique id that was returned when you created the insured object and this will delete it. **Required Permissions** \"policy-management.
|
|
541
|
+
* Permanently deletes the insured object. Supply the unique id that was returned when you created the insured object and this will delete it. **Required Permissions** \"policy-management.products.delete\"
|
|
542
542
|
* @summary Delete the insured object
|
|
543
543
|
* @param {InsuredObjectsApiDeleteInsuredObjectRequest} requestParameters Request parameters.
|
|
544
544
|
* @param {*} [options] Override http request option.
|
|
@@ -550,7 +550,7 @@ export class InsuredObjectsApi extends BaseAPI {
|
|
|
550
550
|
}
|
|
551
551
|
|
|
552
552
|
/**
|
|
553
|
-
* Retrieves the details of the insured object that was previously created. Supply the unique insured object id that was returned when you created it and Emil Api will return the corresponding insured object information. **Required Permissions** \"policy-management.
|
|
553
|
+
* Retrieves the details of the insured object that was previously created. Supply the unique insured object id that was returned when you created it and Emil Api will return the corresponding insured object information. **Required Permissions** \"policy-management.products.view\"
|
|
554
554
|
* @summary Retrieve the insured object
|
|
555
555
|
* @param {InsuredObjectsApiGetInsuredObjectRequest} requestParameters Request parameters.
|
|
556
556
|
* @param {*} [options] Override http request option.
|
|
@@ -562,7 +562,7 @@ export class InsuredObjectsApi extends BaseAPI {
|
|
|
562
562
|
}
|
|
563
563
|
|
|
564
564
|
/**
|
|
565
|
-
* Returns a list of insured objects you have previously created. The insured objects are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"policy-management.
|
|
565
|
+
* Returns a list of insured objects you have previously created. The insured objects are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"policy-management.products.view\"
|
|
566
566
|
* @summary List insured objects
|
|
567
567
|
* @param {InsuredObjectsApiListInsuredObjectsRequest} requestParameters Request parameters.
|
|
568
568
|
* @param {*} [options] Override http request option.
|
|
@@ -22,7 +22,7 @@ import { ListInsuredObjectsResponseClass } from '../models';
|
|
|
22
22
|
*/
|
|
23
23
|
export declare const InsuredObjectsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
24
24
|
/**
|
|
25
|
-
* Creates an insured object. **Required Permissions** \"policy-management.
|
|
25
|
+
* Creates an insured object. **Required Permissions** \"policy-management.products.create\"
|
|
26
26
|
* @summary Create the insured object
|
|
27
27
|
* @param {CreateInsuredObjectRequestDto} createInsuredObjectRequestDto
|
|
28
28
|
* @param {string} [authorization] Bearer Token
|
|
@@ -31,7 +31,7 @@ export declare const InsuredObjectsApiAxiosParamCreator: (configuration?: Config
|
|
|
31
31
|
*/
|
|
32
32
|
createInsuredObject: (createInsuredObjectRequestDto: CreateInsuredObjectRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
33
33
|
/**
|
|
34
|
-
* Permanently deletes the insured object. Supply the unique id that was returned when you created the insured object and this will delete it. **Required Permissions** \"policy-management.
|
|
34
|
+
* Permanently deletes the insured object. Supply the unique id that was returned when you created the insured object and this will delete it. **Required Permissions** \"policy-management.products.delete\"
|
|
35
35
|
* @summary Delete the insured object
|
|
36
36
|
* @param {number} id
|
|
37
37
|
* @param {string} [authorization] Bearer Token
|
|
@@ -40,7 +40,7 @@ export declare const InsuredObjectsApiAxiosParamCreator: (configuration?: Config
|
|
|
40
40
|
*/
|
|
41
41
|
deleteInsuredObject: (id: number, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
42
42
|
/**
|
|
43
|
-
* Retrieves the details of the insured object that was previously created. Supply the unique insured object id that was returned when you created it and Emil Api will return the corresponding insured object information. **Required Permissions** \"policy-management.
|
|
43
|
+
* Retrieves the details of the insured object that was previously created. Supply the unique insured object id that was returned when you created it and Emil Api will return the corresponding insured object information. **Required Permissions** \"policy-management.products.view\"
|
|
44
44
|
* @summary Retrieve the insured object
|
|
45
45
|
* @param {number} id
|
|
46
46
|
* @param {string} [authorization] Bearer Token
|
|
@@ -50,7 +50,7 @@ export declare const InsuredObjectsApiAxiosParamCreator: (configuration?: Config
|
|
|
50
50
|
*/
|
|
51
51
|
getInsuredObject: (id: number, authorization?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
52
52
|
/**
|
|
53
|
-
* Returns a list of insured objects you have previously created. The insured objects are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"policy-management.
|
|
53
|
+
* Returns a list of insured objects you have previously created. The insured objects are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"policy-management.products.view\"
|
|
54
54
|
* @summary List insured objects
|
|
55
55
|
* @param {string} [authorization] Bearer Token
|
|
56
56
|
* @param {number} [pageSize] Page size.
|
|
@@ -71,7 +71,7 @@ export declare const InsuredObjectsApiAxiosParamCreator: (configuration?: Config
|
|
|
71
71
|
*/
|
|
72
72
|
export declare const InsuredObjectsApiFp: (configuration?: Configuration) => {
|
|
73
73
|
/**
|
|
74
|
-
* Creates an insured object. **Required Permissions** \"policy-management.
|
|
74
|
+
* Creates an insured object. **Required Permissions** \"policy-management.products.create\"
|
|
75
75
|
* @summary Create the insured object
|
|
76
76
|
* @param {CreateInsuredObjectRequestDto} createInsuredObjectRequestDto
|
|
77
77
|
* @param {string} [authorization] Bearer Token
|
|
@@ -80,7 +80,7 @@ export declare const InsuredObjectsApiFp: (configuration?: Configuration) => {
|
|
|
80
80
|
*/
|
|
81
81
|
createInsuredObject(createInsuredObjectRequestDto: CreateInsuredObjectRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateInsuredObjectResponseClass>>;
|
|
82
82
|
/**
|
|
83
|
-
* Permanently deletes the insured object. Supply the unique id that was returned when you created the insured object and this will delete it. **Required Permissions** \"policy-management.
|
|
83
|
+
* Permanently deletes the insured object. Supply the unique id that was returned when you created the insured object and this will delete it. **Required Permissions** \"policy-management.products.delete\"
|
|
84
84
|
* @summary Delete the insured object
|
|
85
85
|
* @param {number} id
|
|
86
86
|
* @param {string} [authorization] Bearer Token
|
|
@@ -89,7 +89,7 @@ export declare const InsuredObjectsApiFp: (configuration?: Configuration) => {
|
|
|
89
89
|
*/
|
|
90
90
|
deleteInsuredObject(id: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
91
91
|
/**
|
|
92
|
-
* Retrieves the details of the insured object that was previously created. Supply the unique insured object id that was returned when you created it and Emil Api will return the corresponding insured object information. **Required Permissions** \"policy-management.
|
|
92
|
+
* Retrieves the details of the insured object that was previously created. Supply the unique insured object id that was returned when you created it and Emil Api will return the corresponding insured object information. **Required Permissions** \"policy-management.products.view\"
|
|
93
93
|
* @summary Retrieve the insured object
|
|
94
94
|
* @param {number} id
|
|
95
95
|
* @param {string} [authorization] Bearer Token
|
|
@@ -99,7 +99,7 @@ export declare const InsuredObjectsApiFp: (configuration?: Configuration) => {
|
|
|
99
99
|
*/
|
|
100
100
|
getInsuredObject(id: number, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetInsuredObjectResponseClass>>;
|
|
101
101
|
/**
|
|
102
|
-
* Returns a list of insured objects you have previously created. The insured objects are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"policy-management.
|
|
102
|
+
* Returns a list of insured objects you have previously created. The insured objects are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"policy-management.products.view\"
|
|
103
103
|
* @summary List insured objects
|
|
104
104
|
* @param {string} [authorization] Bearer Token
|
|
105
105
|
* @param {number} [pageSize] Page size.
|
|
@@ -120,7 +120,7 @@ export declare const InsuredObjectsApiFp: (configuration?: Configuration) => {
|
|
|
120
120
|
*/
|
|
121
121
|
export declare const InsuredObjectsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
122
122
|
/**
|
|
123
|
-
* Creates an insured object. **Required Permissions** \"policy-management.
|
|
123
|
+
* Creates an insured object. **Required Permissions** \"policy-management.products.create\"
|
|
124
124
|
* @summary Create the insured object
|
|
125
125
|
* @param {CreateInsuredObjectRequestDto} createInsuredObjectRequestDto
|
|
126
126
|
* @param {string} [authorization] Bearer Token
|
|
@@ -129,7 +129,7 @@ export declare const InsuredObjectsApiFactory: (configuration?: Configuration, b
|
|
|
129
129
|
*/
|
|
130
130
|
createInsuredObject(createInsuredObjectRequestDto: CreateInsuredObjectRequestDto, authorization?: string, options?: any): AxiosPromise<CreateInsuredObjectResponseClass>;
|
|
131
131
|
/**
|
|
132
|
-
* Permanently deletes the insured object. Supply the unique id that was returned when you created the insured object and this will delete it. **Required Permissions** \"policy-management.
|
|
132
|
+
* Permanently deletes the insured object. Supply the unique id that was returned when you created the insured object and this will delete it. **Required Permissions** \"policy-management.products.delete\"
|
|
133
133
|
* @summary Delete the insured object
|
|
134
134
|
* @param {number} id
|
|
135
135
|
* @param {string} [authorization] Bearer Token
|
|
@@ -138,7 +138,7 @@ export declare const InsuredObjectsApiFactory: (configuration?: Configuration, b
|
|
|
138
138
|
*/
|
|
139
139
|
deleteInsuredObject(id: number, authorization?: string, options?: any): AxiosPromise<object>;
|
|
140
140
|
/**
|
|
141
|
-
* Retrieves the details of the insured object that was previously created. Supply the unique insured object id that was returned when you created it and Emil Api will return the corresponding insured object information. **Required Permissions** \"policy-management.
|
|
141
|
+
* Retrieves the details of the insured object that was previously created. Supply the unique insured object id that was returned when you created it and Emil Api will return the corresponding insured object information. **Required Permissions** \"policy-management.products.view\"
|
|
142
142
|
* @summary Retrieve the insured object
|
|
143
143
|
* @param {number} id
|
|
144
144
|
* @param {string} [authorization] Bearer Token
|
|
@@ -148,7 +148,7 @@ export declare const InsuredObjectsApiFactory: (configuration?: Configuration, b
|
|
|
148
148
|
*/
|
|
149
149
|
getInsuredObject(id: number, authorization?: string, expand?: string, options?: any): AxiosPromise<GetInsuredObjectResponseClass>;
|
|
150
150
|
/**
|
|
151
|
-
* Returns a list of insured objects you have previously created. The insured objects are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"policy-management.
|
|
151
|
+
* Returns a list of insured objects you have previously created. The insured objects are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"policy-management.products.view\"
|
|
152
152
|
* @summary List insured objects
|
|
153
153
|
* @param {string} [authorization] Bearer Token
|
|
154
154
|
* @param {number} [pageSize] Page size.
|
|
@@ -289,7 +289,7 @@ export interface InsuredObjectsApiListInsuredObjectsRequest {
|
|
|
289
289
|
*/
|
|
290
290
|
export declare class InsuredObjectsApi extends BaseAPI {
|
|
291
291
|
/**
|
|
292
|
-
* Creates an insured object. **Required Permissions** \"policy-management.
|
|
292
|
+
* Creates an insured object. **Required Permissions** \"policy-management.products.create\"
|
|
293
293
|
* @summary Create the insured object
|
|
294
294
|
* @param {InsuredObjectsApiCreateInsuredObjectRequest} requestParameters Request parameters.
|
|
295
295
|
* @param {*} [options] Override http request option.
|
|
@@ -298,7 +298,7 @@ export declare class InsuredObjectsApi extends BaseAPI {
|
|
|
298
298
|
*/
|
|
299
299
|
createInsuredObject(requestParameters: InsuredObjectsApiCreateInsuredObjectRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateInsuredObjectResponseClass, any>>;
|
|
300
300
|
/**
|
|
301
|
-
* Permanently deletes the insured object. Supply the unique id that was returned when you created the insured object and this will delete it. **Required Permissions** \"policy-management.
|
|
301
|
+
* Permanently deletes the insured object. Supply the unique id that was returned when you created the insured object and this will delete it. **Required Permissions** \"policy-management.products.delete\"
|
|
302
302
|
* @summary Delete the insured object
|
|
303
303
|
* @param {InsuredObjectsApiDeleteInsuredObjectRequest} requestParameters Request parameters.
|
|
304
304
|
* @param {*} [options] Override http request option.
|
|
@@ -307,7 +307,7 @@ export declare class InsuredObjectsApi extends BaseAPI {
|
|
|
307
307
|
*/
|
|
308
308
|
deleteInsuredObject(requestParameters: InsuredObjectsApiDeleteInsuredObjectRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
|
|
309
309
|
/**
|
|
310
|
-
* Retrieves the details of the insured object that was previously created. Supply the unique insured object id that was returned when you created it and Emil Api will return the corresponding insured object information. **Required Permissions** \"policy-management.
|
|
310
|
+
* Retrieves the details of the insured object that was previously created. Supply the unique insured object id that was returned when you created it and Emil Api will return the corresponding insured object information. **Required Permissions** \"policy-management.products.view\"
|
|
311
311
|
* @summary Retrieve the insured object
|
|
312
312
|
* @param {InsuredObjectsApiGetInsuredObjectRequest} requestParameters Request parameters.
|
|
313
313
|
* @param {*} [options] Override http request option.
|
|
@@ -316,7 +316,7 @@ export declare class InsuredObjectsApi extends BaseAPI {
|
|
|
316
316
|
*/
|
|
317
317
|
getInsuredObject(requestParameters: InsuredObjectsApiGetInsuredObjectRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetInsuredObjectResponseClass, any>>;
|
|
318
318
|
/**
|
|
319
|
-
* Returns a list of insured objects you have previously created. The insured objects are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"policy-management.
|
|
319
|
+
* Returns a list of insured objects you have previously created. The insured objects are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"policy-management.products.view\"
|
|
320
320
|
* @summary List insured objects
|
|
321
321
|
* @param {InsuredObjectsApiListInsuredObjectsRequest} requestParameters Request parameters.
|
|
322
322
|
* @param {*} [options] Override http request option.
|
|
@@ -97,7 +97,7 @@ var InsuredObjectsApiAxiosParamCreator = function (configuration) {
|
|
|
97
97
|
var _this = this;
|
|
98
98
|
return {
|
|
99
99
|
/**
|
|
100
|
-
* Creates an insured object. **Required Permissions** \"policy-management.
|
|
100
|
+
* Creates an insured object. **Required Permissions** \"policy-management.products.create\"
|
|
101
101
|
* @summary Create the insured object
|
|
102
102
|
* @param {CreateInsuredObjectRequestDto} createInsuredObjectRequestDto
|
|
103
103
|
* @param {string} [authorization] Bearer Token
|
|
@@ -146,7 +146,7 @@ var InsuredObjectsApiAxiosParamCreator = function (configuration) {
|
|
|
146
146
|
});
|
|
147
147
|
},
|
|
148
148
|
/**
|
|
149
|
-
* Permanently deletes the insured object. Supply the unique id that was returned when you created the insured object and this will delete it. **Required Permissions** \"policy-management.
|
|
149
|
+
* Permanently deletes the insured object. Supply the unique id that was returned when you created the insured object and this will delete it. **Required Permissions** \"policy-management.products.delete\"
|
|
150
150
|
* @summary Delete the insured object
|
|
151
151
|
* @param {number} id
|
|
152
152
|
* @param {string} [authorization] Bearer Token
|
|
@@ -194,7 +194,7 @@ var InsuredObjectsApiAxiosParamCreator = function (configuration) {
|
|
|
194
194
|
});
|
|
195
195
|
},
|
|
196
196
|
/**
|
|
197
|
-
* Retrieves the details of the insured object that was previously created. Supply the unique insured object id that was returned when you created it and Emil Api will return the corresponding insured object information. **Required Permissions** \"policy-management.
|
|
197
|
+
* Retrieves the details of the insured object that was previously created. Supply the unique insured object id that was returned when you created it and Emil Api will return the corresponding insured object information. **Required Permissions** \"policy-management.products.view\"
|
|
198
198
|
* @summary Retrieve the insured object
|
|
199
199
|
* @param {number} id
|
|
200
200
|
* @param {string} [authorization] Bearer Token
|
|
@@ -246,7 +246,7 @@ var InsuredObjectsApiAxiosParamCreator = function (configuration) {
|
|
|
246
246
|
});
|
|
247
247
|
},
|
|
248
248
|
/**
|
|
249
|
-
* Returns a list of insured objects you have previously created. The insured objects are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"policy-management.
|
|
249
|
+
* Returns a list of insured objects you have previously created. The insured objects are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"policy-management.products.view\"
|
|
250
250
|
* @summary List insured objects
|
|
251
251
|
* @param {string} [authorization] Bearer Token
|
|
252
252
|
* @param {number} [pageSize] Page size.
|
|
@@ -328,7 +328,7 @@ var InsuredObjectsApiFp = function (configuration) {
|
|
|
328
328
|
var localVarAxiosParamCreator = (0, exports.InsuredObjectsApiAxiosParamCreator)(configuration);
|
|
329
329
|
return {
|
|
330
330
|
/**
|
|
331
|
-
* Creates an insured object. **Required Permissions** \"policy-management.
|
|
331
|
+
* Creates an insured object. **Required Permissions** \"policy-management.products.create\"
|
|
332
332
|
* @summary Create the insured object
|
|
333
333
|
* @param {CreateInsuredObjectRequestDto} createInsuredObjectRequestDto
|
|
334
334
|
* @param {string} [authorization] Bearer Token
|
|
@@ -349,7 +349,7 @@ var InsuredObjectsApiFp = function (configuration) {
|
|
|
349
349
|
});
|
|
350
350
|
},
|
|
351
351
|
/**
|
|
352
|
-
* Permanently deletes the insured object. Supply the unique id that was returned when you created the insured object and this will delete it. **Required Permissions** \"policy-management.
|
|
352
|
+
* Permanently deletes the insured object. Supply the unique id that was returned when you created the insured object and this will delete it. **Required Permissions** \"policy-management.products.delete\"
|
|
353
353
|
* @summary Delete the insured object
|
|
354
354
|
* @param {number} id
|
|
355
355
|
* @param {string} [authorization] Bearer Token
|
|
@@ -370,7 +370,7 @@ var InsuredObjectsApiFp = function (configuration) {
|
|
|
370
370
|
});
|
|
371
371
|
},
|
|
372
372
|
/**
|
|
373
|
-
* Retrieves the details of the insured object that was previously created. Supply the unique insured object id that was returned when you created it and Emil Api will return the corresponding insured object information. **Required Permissions** \"policy-management.
|
|
373
|
+
* Retrieves the details of the insured object that was previously created. Supply the unique insured object id that was returned when you created it and Emil Api will return the corresponding insured object information. **Required Permissions** \"policy-management.products.view\"
|
|
374
374
|
* @summary Retrieve the insured object
|
|
375
375
|
* @param {number} id
|
|
376
376
|
* @param {string} [authorization] Bearer Token
|
|
@@ -392,7 +392,7 @@ var InsuredObjectsApiFp = function (configuration) {
|
|
|
392
392
|
});
|
|
393
393
|
},
|
|
394
394
|
/**
|
|
395
|
-
* Returns a list of insured objects you have previously created. The insured objects are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"policy-management.
|
|
395
|
+
* Returns a list of insured objects you have previously created. The insured objects are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"policy-management.products.view\"
|
|
396
396
|
* @summary List insured objects
|
|
397
397
|
* @param {string} [authorization] Bearer Token
|
|
398
398
|
* @param {number} [pageSize] Page size.
|
|
@@ -429,7 +429,7 @@ var InsuredObjectsApiFactory = function (configuration, basePath, axios) {
|
|
|
429
429
|
var localVarFp = (0, exports.InsuredObjectsApiFp)(configuration);
|
|
430
430
|
return {
|
|
431
431
|
/**
|
|
432
|
-
* Creates an insured object. **Required Permissions** \"policy-management.
|
|
432
|
+
* Creates an insured object. **Required Permissions** \"policy-management.products.create\"
|
|
433
433
|
* @summary Create the insured object
|
|
434
434
|
* @param {CreateInsuredObjectRequestDto} createInsuredObjectRequestDto
|
|
435
435
|
* @param {string} [authorization] Bearer Token
|
|
@@ -440,7 +440,7 @@ var InsuredObjectsApiFactory = function (configuration, basePath, axios) {
|
|
|
440
440
|
return localVarFp.createInsuredObject(createInsuredObjectRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
441
441
|
},
|
|
442
442
|
/**
|
|
443
|
-
* Permanently deletes the insured object. Supply the unique id that was returned when you created the insured object and this will delete it. **Required Permissions** \"policy-management.
|
|
443
|
+
* Permanently deletes the insured object. Supply the unique id that was returned when you created the insured object and this will delete it. **Required Permissions** \"policy-management.products.delete\"
|
|
444
444
|
* @summary Delete the insured object
|
|
445
445
|
* @param {number} id
|
|
446
446
|
* @param {string} [authorization] Bearer Token
|
|
@@ -451,7 +451,7 @@ var InsuredObjectsApiFactory = function (configuration, basePath, axios) {
|
|
|
451
451
|
return localVarFp.deleteInsuredObject(id, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
452
452
|
},
|
|
453
453
|
/**
|
|
454
|
-
* Retrieves the details of the insured object that was previously created. Supply the unique insured object id that was returned when you created it and Emil Api will return the corresponding insured object information. **Required Permissions** \"policy-management.
|
|
454
|
+
* Retrieves the details of the insured object that was previously created. Supply the unique insured object id that was returned when you created it and Emil Api will return the corresponding insured object information. **Required Permissions** \"policy-management.products.view\"
|
|
455
455
|
* @summary Retrieve the insured object
|
|
456
456
|
* @param {number} id
|
|
457
457
|
* @param {string} [authorization] Bearer Token
|
|
@@ -463,7 +463,7 @@ var InsuredObjectsApiFactory = function (configuration, basePath, axios) {
|
|
|
463
463
|
return localVarFp.getInsuredObject(id, authorization, expand, options).then(function (request) { return request(axios, basePath); });
|
|
464
464
|
},
|
|
465
465
|
/**
|
|
466
|
-
* Returns a list of insured objects you have previously created. The insured objects are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"policy-management.
|
|
466
|
+
* Returns a list of insured objects you have previously created. The insured objects are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"policy-management.products.view\"
|
|
467
467
|
* @summary List insured objects
|
|
468
468
|
* @param {string} [authorization] Bearer Token
|
|
469
469
|
* @param {number} [pageSize] Page size.
|
|
@@ -494,7 +494,7 @@ var InsuredObjectsApi = /** @class */ (function (_super) {
|
|
|
494
494
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
495
495
|
}
|
|
496
496
|
/**
|
|
497
|
-
* Creates an insured object. **Required Permissions** \"policy-management.
|
|
497
|
+
* Creates an insured object. **Required Permissions** \"policy-management.products.create\"
|
|
498
498
|
* @summary Create the insured object
|
|
499
499
|
* @param {InsuredObjectsApiCreateInsuredObjectRequest} requestParameters Request parameters.
|
|
500
500
|
* @param {*} [options] Override http request option.
|
|
@@ -506,7 +506,7 @@ var InsuredObjectsApi = /** @class */ (function (_super) {
|
|
|
506
506
|
return (0, exports.InsuredObjectsApiFp)(this.configuration).createInsuredObject(requestParameters.createInsuredObjectRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
507
507
|
};
|
|
508
508
|
/**
|
|
509
|
-
* Permanently deletes the insured object. Supply the unique id that was returned when you created the insured object and this will delete it. **Required Permissions** \"policy-management.
|
|
509
|
+
* Permanently deletes the insured object. Supply the unique id that was returned when you created the insured object and this will delete it. **Required Permissions** \"policy-management.products.delete\"
|
|
510
510
|
* @summary Delete the insured object
|
|
511
511
|
* @param {InsuredObjectsApiDeleteInsuredObjectRequest} requestParameters Request parameters.
|
|
512
512
|
* @param {*} [options] Override http request option.
|
|
@@ -518,7 +518,7 @@ var InsuredObjectsApi = /** @class */ (function (_super) {
|
|
|
518
518
|
return (0, exports.InsuredObjectsApiFp)(this.configuration).deleteInsuredObject(requestParameters.id, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
519
519
|
};
|
|
520
520
|
/**
|
|
521
|
-
* Retrieves the details of the insured object that was previously created. Supply the unique insured object id that was returned when you created it and Emil Api will return the corresponding insured object information. **Required Permissions** \"policy-management.
|
|
521
|
+
* Retrieves the details of the insured object that was previously created. Supply the unique insured object id that was returned when you created it and Emil Api will return the corresponding insured object information. **Required Permissions** \"policy-management.products.view\"
|
|
522
522
|
* @summary Retrieve the insured object
|
|
523
523
|
* @param {InsuredObjectsApiGetInsuredObjectRequest} requestParameters Request parameters.
|
|
524
524
|
* @param {*} [options] Override http request option.
|
|
@@ -530,7 +530,7 @@ var InsuredObjectsApi = /** @class */ (function (_super) {
|
|
|
530
530
|
return (0, exports.InsuredObjectsApiFp)(this.configuration).getInsuredObject(requestParameters.id, requestParameters.authorization, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
531
531
|
};
|
|
532
532
|
/**
|
|
533
|
-
* Returns a list of insured objects you have previously created. The insured objects are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"policy-management.
|
|
533
|
+
* Returns a list of insured objects you have previously created. The insured objects are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"policy-management.products.view\"
|
|
534
534
|
* @summary List insured objects
|
|
535
535
|
* @param {InsuredObjectsApiListInsuredObjectsRequest} requestParameters Request parameters.
|
|
536
536
|
* @param {*} [options] Override http request option.
|