@emilgroup/claim-sdk 1.17.2-beta.0 → 1.17.2-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +10 -0
- package/README.md +2 -2
- package/api/claim-partner-roles-api.ts +41 -41
- package/api/claim-partners-api.ts +55 -55
- package/api/claim-regulations-api.ts +364 -0
- package/api/claim-statuses-api.ts +39 -39
- package/api/claims-api.ts +37 -37
- package/api/settlements-api.ts +39 -39
- package/api.ts +2 -0
- package/base.ts +5 -1
- package/dist/api/claim-partner-roles-api.d.ts +41 -41
- package/dist/api/claim-partner-roles-api.js +23 -23
- package/dist/api/claim-partners-api.d.ts +51 -51
- package/dist/api/claim-partners-api.js +32 -32
- package/dist/api/claim-regulations-api.d.ts +215 -0
- package/dist/api/claim-regulations-api.js +358 -0
- package/dist/api/claim-statuses-api.d.ts +39 -39
- package/dist/api/claim-statuses-api.js +23 -23
- package/dist/api/claims-api.d.ts +37 -37
- package/dist/api/claims-api.js +19 -19
- package/dist/api/settlements-api.d.ts +39 -39
- package/dist/api/settlements-api.js +23 -23
- package/dist/api.d.ts +1 -0
- package/dist/api.js +1 -0
- package/dist/base.d.ts +1 -0
- package/dist/base.js +4 -1
- package/dist/models/create-regulation-item-request-dto.d.ts +75 -0
- package/dist/models/create-regulation-item-request-dto.js +21 -0
- package/dist/models/index.d.ts +9 -0
- package/dist/models/index.js +9 -0
- package/dist/models/payout-details-class.d.ts +90 -0
- package/dist/models/payout-details-class.js +26 -0
- package/dist/models/payout-details-dto.d.ts +60 -0
- package/dist/models/payout-details-dto.js +26 -0
- package/dist/models/regress-details-class.d.ts +81 -0
- package/dist/models/regress-details-class.js +29 -0
- package/dist/models/regress-details-dto.d.ts +51 -0
- package/dist/models/regress-details-dto.js +29 -0
- package/dist/models/regulation-item-class.d.ts +125 -0
- package/dist/models/regulation-item-class.js +34 -0
- package/dist/models/regulation-item-response-class.d.ts +25 -0
- package/dist/models/regulation-item-response-class.js +15 -0
- package/dist/models/reserve-details-class.d.ts +59 -0
- package/dist/models/reserve-details-class.js +20 -0
- package/dist/models/reserve-details-dto.d.ts +29 -0
- package/dist/models/reserve-details-dto.js +20 -0
- package/models/create-regulation-item-request-dto.ts +84 -0
- package/models/index.ts +9 -0
- package/models/payout-details-class.ts +100 -0
- package/models/payout-details-dto.ts +70 -0
- package/models/regress-details-class.ts +91 -0
- package/models/regress-details-dto.ts +61 -0
- package/models/regulation-item-class.ts +135 -0
- package/models/regulation-item-response-class.ts +31 -0
- package/models/reserve-details-class.ts +68 -0
- package/models/reserve-details-dto.ts +38 -0
- package/package.json +1 -1
|
@@ -42,7 +42,7 @@ export declare const SettlementsApiAxiosParamCreator: (configuration?: Configura
|
|
|
42
42
|
*/
|
|
43
43
|
deleteSettlement: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
44
44
|
/**
|
|
45
|
-
* Retrieves the details of the settlement that was previously created. Supply the unique settlement code
|
|
45
|
+
* Retrieves the details of the settlement that was previously created. Supply the unique settlement code that was returned when you created it and Emil Api will return the corresponding settlement information.
|
|
46
46
|
* @summary Retrieve the settlement
|
|
47
47
|
* @param {string} code
|
|
48
48
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -51,20 +51,20 @@ export declare const SettlementsApiAxiosParamCreator: (configuration?: Configura
|
|
|
51
51
|
*/
|
|
52
52
|
getSettlement: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
53
53
|
/**
|
|
54
|
-
* Returns a list of settlements you have previously created.
|
|
54
|
+
* Returns a list of settlements you have previously created. The settlements are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
55
55
|
* @summary List settlements
|
|
56
56
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
57
57
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
58
58
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
59
|
-
* @param {
|
|
60
|
-
* @param {any} [search]
|
|
61
|
-
* @param {
|
|
62
|
-
* @param {
|
|
63
|
-
* @param {
|
|
59
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: policyNumber, productId, accountCode, claimCode, InsuredObjectId</i>
|
|
60
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
61
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: insuredObject, reserve, payment, recourse</i>
|
|
62
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: claims.<i>
|
|
63
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: policyNumber, productId, accountCode, claimCode, InsuredObjectId</i>
|
|
64
64
|
* @param {*} [options] Override http request option.
|
|
65
65
|
* @throws {RequiredError}
|
|
66
66
|
*/
|
|
67
|
-
listSettlements: (authorization?: string, pageSize?: any, pageToken?: any, filter?:
|
|
67
|
+
listSettlements: (authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
68
68
|
/**
|
|
69
69
|
* Updates the specified settlement by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
70
70
|
* @summary Update the settlement
|
|
@@ -100,7 +100,7 @@ export declare const SettlementsApiFp: (configuration?: Configuration) => {
|
|
|
100
100
|
*/
|
|
101
101
|
deleteSettlement(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
102
102
|
/**
|
|
103
|
-
* Retrieves the details of the settlement that was previously created. Supply the unique settlement code
|
|
103
|
+
* Retrieves the details of the settlement that was previously created. Supply the unique settlement code that was returned when you created it and Emil Api will return the corresponding settlement information.
|
|
104
104
|
* @summary Retrieve the settlement
|
|
105
105
|
* @param {string} code
|
|
106
106
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -109,20 +109,20 @@ export declare const SettlementsApiFp: (configuration?: Configuration) => {
|
|
|
109
109
|
*/
|
|
110
110
|
getSettlement(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetSettlementResponseClass>>;
|
|
111
111
|
/**
|
|
112
|
-
* Returns a list of settlements you have previously created.
|
|
112
|
+
* Returns a list of settlements you have previously created. The settlements are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
113
113
|
* @summary List settlements
|
|
114
114
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
115
115
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
116
116
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
117
|
-
* @param {
|
|
118
|
-
* @param {any} [search]
|
|
119
|
-
* @param {
|
|
120
|
-
* @param {
|
|
121
|
-
* @param {
|
|
117
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: policyNumber, productId, accountCode, claimCode, InsuredObjectId</i>
|
|
118
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
119
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: insuredObject, reserve, payment, recourse</i>
|
|
120
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: claims.<i>
|
|
121
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: policyNumber, productId, accountCode, claimCode, InsuredObjectId</i>
|
|
122
122
|
* @param {*} [options] Override http request option.
|
|
123
123
|
* @throws {RequiredError}
|
|
124
124
|
*/
|
|
125
|
-
listSettlements(authorization?: string, pageSize?: any, pageToken?: any, filter?:
|
|
125
|
+
listSettlements(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListSettlementsResponseClass>>;
|
|
126
126
|
/**
|
|
127
127
|
* Updates the specified settlement by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
128
128
|
* @summary Update the settlement
|
|
@@ -158,7 +158,7 @@ export declare const SettlementsApiFactory: (configuration?: Configuration, base
|
|
|
158
158
|
*/
|
|
159
159
|
deleteSettlement(code: string, authorization?: string, options?: any): AxiosPromise<void>;
|
|
160
160
|
/**
|
|
161
|
-
* Retrieves the details of the settlement that was previously created. Supply the unique settlement code
|
|
161
|
+
* Retrieves the details of the settlement that was previously created. Supply the unique settlement code that was returned when you created it and Emil Api will return the corresponding settlement information.
|
|
162
162
|
* @summary Retrieve the settlement
|
|
163
163
|
* @param {string} code
|
|
164
164
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -167,20 +167,20 @@ export declare const SettlementsApiFactory: (configuration?: Configuration, base
|
|
|
167
167
|
*/
|
|
168
168
|
getSettlement(code: string, authorization?: string, options?: any): AxiosPromise<GetSettlementResponseClass>;
|
|
169
169
|
/**
|
|
170
|
-
* Returns a list of settlements you have previously created.
|
|
170
|
+
* Returns a list of settlements you have previously created. The settlements are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
171
171
|
* @summary List settlements
|
|
172
172
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
173
173
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
174
174
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
175
|
-
* @param {
|
|
176
|
-
* @param {any} [search]
|
|
177
|
-
* @param {
|
|
178
|
-
* @param {
|
|
179
|
-
* @param {
|
|
175
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: policyNumber, productId, accountCode, claimCode, InsuredObjectId</i>
|
|
176
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
177
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: insuredObject, reserve, payment, recourse</i>
|
|
178
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: claims.<i>
|
|
179
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: policyNumber, productId, accountCode, claimCode, InsuredObjectId</i>
|
|
180
180
|
* @param {*} [options] Override http request option.
|
|
181
181
|
* @throws {RequiredError}
|
|
182
182
|
*/
|
|
183
|
-
listSettlements(authorization?: string, pageSize?: any, pageToken?: any, filter?:
|
|
183
|
+
listSettlements(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListSettlementsResponseClass>;
|
|
184
184
|
/**
|
|
185
185
|
* Updates the specified settlement by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
186
186
|
* @summary Update the settlement
|
|
@@ -274,35 +274,35 @@ export interface SettlementsApiListSettlementsRequest {
|
|
|
274
274
|
*/
|
|
275
275
|
readonly pageToken?: any;
|
|
276
276
|
/**
|
|
277
|
-
* Filter the response by one or multiple fields.
|
|
278
|
-
* @type {
|
|
277
|
+
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: policyNumber, productId, accountCode, claimCode, InsuredObjectId</i>
|
|
278
|
+
* @type {string}
|
|
279
279
|
* @memberof SettlementsApiListSettlements
|
|
280
280
|
*/
|
|
281
|
-
readonly filter?:
|
|
281
|
+
readonly filter?: string;
|
|
282
282
|
/**
|
|
283
|
-
*
|
|
283
|
+
* To search the list by any field, pass search=xxx to fetch the result.
|
|
284
284
|
* @type {any}
|
|
285
285
|
* @memberof SettlementsApiListSettlements
|
|
286
286
|
*/
|
|
287
287
|
readonly search?: any;
|
|
288
288
|
/**
|
|
289
|
-
*
|
|
290
|
-
* @type {
|
|
289
|
+
* Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: insuredObject, reserve, payment, recourse</i>
|
|
290
|
+
* @type {string}
|
|
291
291
|
* @memberof SettlementsApiListSettlements
|
|
292
292
|
*/
|
|
293
|
-
readonly order?:
|
|
293
|
+
readonly order?: string;
|
|
294
294
|
/**
|
|
295
|
-
*
|
|
296
|
-
* @type {
|
|
295
|
+
* Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: claims.<i>
|
|
296
|
+
* @type {string}
|
|
297
297
|
* @memberof SettlementsApiListSettlements
|
|
298
298
|
*/
|
|
299
|
-
readonly expand?:
|
|
299
|
+
readonly expand?: string;
|
|
300
300
|
/**
|
|
301
|
-
* Filters the response by one or multiple fields.
|
|
302
|
-
* @type {
|
|
301
|
+
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: policyNumber, productId, accountCode, claimCode, InsuredObjectId</i>
|
|
302
|
+
* @type {string}
|
|
303
303
|
* @memberof SettlementsApiListSettlements
|
|
304
304
|
*/
|
|
305
|
-
readonly filters?:
|
|
305
|
+
readonly filters?: string;
|
|
306
306
|
}
|
|
307
307
|
/**
|
|
308
308
|
* Request parameters for updateSettlement operation in SettlementsApi.
|
|
@@ -355,7 +355,7 @@ export declare class SettlementsApi extends BaseAPI {
|
|
|
355
355
|
*/
|
|
356
356
|
deleteSettlement(requestParameters: SettlementsApiDeleteSettlementRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
357
357
|
/**
|
|
358
|
-
* Retrieves the details of the settlement that was previously created. Supply the unique settlement code
|
|
358
|
+
* Retrieves the details of the settlement that was previously created. Supply the unique settlement code that was returned when you created it and Emil Api will return the corresponding settlement information.
|
|
359
359
|
* @summary Retrieve the settlement
|
|
360
360
|
* @param {SettlementsApiGetSettlementRequest} requestParameters Request parameters.
|
|
361
361
|
* @param {*} [options] Override http request option.
|
|
@@ -364,7 +364,7 @@ export declare class SettlementsApi extends BaseAPI {
|
|
|
364
364
|
*/
|
|
365
365
|
getSettlement(requestParameters: SettlementsApiGetSettlementRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetSettlementResponseClass, any>>;
|
|
366
366
|
/**
|
|
367
|
-
* Returns a list of settlements you have previously created.
|
|
367
|
+
* Returns a list of settlements you have previously created. The settlements are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
368
368
|
* @summary List settlements
|
|
369
369
|
* @param {SettlementsApiListSettlementsRequest} requestParameters Request parameters.
|
|
370
370
|
* @param {*} [options] Override http request option.
|
|
@@ -190,7 +190,7 @@ var SettlementsApiAxiosParamCreator = function (configuration) {
|
|
|
190
190
|
});
|
|
191
191
|
},
|
|
192
192
|
/**
|
|
193
|
-
* Retrieves the details of the settlement that was previously created. Supply the unique settlement code
|
|
193
|
+
* Retrieves the details of the settlement that was previously created. Supply the unique settlement code that was returned when you created it and Emil Api will return the corresponding settlement information.
|
|
194
194
|
* @summary Retrieve the settlement
|
|
195
195
|
* @param {string} code
|
|
196
196
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -238,16 +238,16 @@ var SettlementsApiAxiosParamCreator = function (configuration) {
|
|
|
238
238
|
});
|
|
239
239
|
},
|
|
240
240
|
/**
|
|
241
|
-
* Returns a list of settlements you have previously created.
|
|
241
|
+
* Returns a list of settlements you have previously created. The settlements are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
242
242
|
* @summary List settlements
|
|
243
243
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
244
244
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
245
245
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
246
|
-
* @param {
|
|
247
|
-
* @param {any} [search]
|
|
248
|
-
* @param {
|
|
249
|
-
* @param {
|
|
250
|
-
* @param {
|
|
246
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: policyNumber, productId, accountCode, claimCode, InsuredObjectId</i>
|
|
247
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
248
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: insuredObject, reserve, payment, recourse</i>
|
|
249
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: claims.<i>
|
|
250
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: policyNumber, productId, accountCode, claimCode, InsuredObjectId</i>
|
|
251
251
|
* @param {*} [options] Override http request option.
|
|
252
252
|
* @throws {RequiredError}
|
|
253
253
|
*/
|
|
@@ -415,7 +415,7 @@ var SettlementsApiFp = function (configuration) {
|
|
|
415
415
|
});
|
|
416
416
|
},
|
|
417
417
|
/**
|
|
418
|
-
* Retrieves the details of the settlement that was previously created. Supply the unique settlement code
|
|
418
|
+
* Retrieves the details of the settlement that was previously created. Supply the unique settlement code that was returned when you created it and Emil Api will return the corresponding settlement information.
|
|
419
419
|
* @summary Retrieve the settlement
|
|
420
420
|
* @param {string} code
|
|
421
421
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -436,16 +436,16 @@ var SettlementsApiFp = function (configuration) {
|
|
|
436
436
|
});
|
|
437
437
|
},
|
|
438
438
|
/**
|
|
439
|
-
* Returns a list of settlements you have previously created.
|
|
439
|
+
* Returns a list of settlements you have previously created. The settlements are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
440
440
|
* @summary List settlements
|
|
441
441
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
442
442
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
443
443
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
444
|
-
* @param {
|
|
445
|
-
* @param {any} [search]
|
|
446
|
-
* @param {
|
|
447
|
-
* @param {
|
|
448
|
-
* @param {
|
|
444
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: policyNumber, productId, accountCode, claimCode, InsuredObjectId</i>
|
|
445
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
446
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: insuredObject, reserve, payment, recourse</i>
|
|
447
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: claims.<i>
|
|
448
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: policyNumber, productId, accountCode, claimCode, InsuredObjectId</i>
|
|
449
449
|
* @param {*} [options] Override http request option.
|
|
450
450
|
* @throws {RequiredError}
|
|
451
451
|
*/
|
|
@@ -517,7 +517,7 @@ var SettlementsApiFactory = function (configuration, basePath, axios) {
|
|
|
517
517
|
return localVarFp.deleteSettlement(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
518
518
|
},
|
|
519
519
|
/**
|
|
520
|
-
* Retrieves the details of the settlement that was previously created. Supply the unique settlement code
|
|
520
|
+
* Retrieves the details of the settlement that was previously created. Supply the unique settlement code that was returned when you created it and Emil Api will return the corresponding settlement information.
|
|
521
521
|
* @summary Retrieve the settlement
|
|
522
522
|
* @param {string} code
|
|
523
523
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -528,16 +528,16 @@ var SettlementsApiFactory = function (configuration, basePath, axios) {
|
|
|
528
528
|
return localVarFp.getSettlement(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
529
529
|
},
|
|
530
530
|
/**
|
|
531
|
-
* Returns a list of settlements you have previously created.
|
|
531
|
+
* Returns a list of settlements you have previously created. The settlements are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
532
532
|
* @summary List settlements
|
|
533
533
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
534
534
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
535
535
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
536
|
-
* @param {
|
|
537
|
-
* @param {any} [search]
|
|
538
|
-
* @param {
|
|
539
|
-
* @param {
|
|
540
|
-
* @param {
|
|
536
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: policyNumber, productId, accountCode, claimCode, InsuredObjectId</i>
|
|
537
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
538
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: insuredObject, reserve, payment, recourse</i>
|
|
539
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: claims.<i>
|
|
540
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: policyNumber, productId, accountCode, claimCode, InsuredObjectId</i>
|
|
541
541
|
* @param {*} [options] Override http request option.
|
|
542
542
|
* @throws {RequiredError}
|
|
543
543
|
*/
|
|
@@ -595,7 +595,7 @@ var SettlementsApi = /** @class */ (function (_super) {
|
|
|
595
595
|
return (0, exports.SettlementsApiFp)(this.configuration).deleteSettlement(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
596
596
|
};
|
|
597
597
|
/**
|
|
598
|
-
* Retrieves the details of the settlement that was previously created. Supply the unique settlement code
|
|
598
|
+
* Retrieves the details of the settlement that was previously created. Supply the unique settlement code that was returned when you created it and Emil Api will return the corresponding settlement information.
|
|
599
599
|
* @summary Retrieve the settlement
|
|
600
600
|
* @param {SettlementsApiGetSettlementRequest} requestParameters Request parameters.
|
|
601
601
|
* @param {*} [options] Override http request option.
|
|
@@ -607,7 +607,7 @@ var SettlementsApi = /** @class */ (function (_super) {
|
|
|
607
607
|
return (0, exports.SettlementsApiFp)(this.configuration).getSettlement(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
608
608
|
};
|
|
609
609
|
/**
|
|
610
|
-
* Returns a list of settlements you have previously created.
|
|
610
|
+
* Returns a list of settlements you have previously created. The settlements are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
611
611
|
* @summary List settlements
|
|
612
612
|
* @param {SettlementsApiListSettlementsRequest} requestParameters Request parameters.
|
|
613
613
|
* @param {*} [options] Override http request option.
|
package/dist/api.d.ts
CHANGED
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
export * from './api/claim-partner-roles-api';
|
|
13
13
|
export * from './api/claim-partners-api';
|
|
14
|
+
export * from './api/claim-regulations-api';
|
|
14
15
|
export * from './api/claim-statuses-api';
|
|
15
16
|
export * from './api/claims-api';
|
|
16
17
|
export * from './api/default-api';
|
package/dist/api.js
CHANGED
|
@@ -29,6 +29,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
29
29
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30
30
|
__exportStar(require("./api/claim-partner-roles-api"), exports);
|
|
31
31
|
__exportStar(require("./api/claim-partners-api"), exports);
|
|
32
|
+
__exportStar(require("./api/claim-regulations-api"), exports);
|
|
32
33
|
__exportStar(require("./api/claim-statuses-api"), exports);
|
|
33
34
|
__exportStar(require("./api/claims-api"), exports);
|
|
34
35
|
__exportStar(require("./api/default-api"), exports);
|
package/dist/base.d.ts
CHANGED
|
@@ -54,6 +54,7 @@ export declare class BaseAPI {
|
|
|
54
54
|
private tokenData?;
|
|
55
55
|
constructor(configuration?: Configuration, basePath?: string, axios?: AxiosInstance);
|
|
56
56
|
selectEnvironment(env: Environment): void;
|
|
57
|
+
selectBasePath(path: string): void;
|
|
57
58
|
authorize(username: string, password: string): Promise<void>;
|
|
58
59
|
refreshTokenInternal(): Promise<string>;
|
|
59
60
|
private storeTokenData;
|
package/dist/base.js
CHANGED
|
@@ -138,7 +138,10 @@ var BaseAPI = /** @class */ (function () {
|
|
|
138
138
|
this.attachInterceptor(axios);
|
|
139
139
|
}
|
|
140
140
|
BaseAPI.prototype.selectEnvironment = function (env) {
|
|
141
|
-
this.
|
|
141
|
+
this.selectBasePath(env);
|
|
142
|
+
};
|
|
143
|
+
BaseAPI.prototype.selectBasePath = function (path) {
|
|
144
|
+
this.configuration.basePath = path;
|
|
142
145
|
};
|
|
143
146
|
BaseAPI.prototype.authorize = function (username, password) {
|
|
144
147
|
return __awaiter(this, void 0, void 0, function () {
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL ClaimService
|
|
3
|
+
* The EMIL ClaimService 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 { PayoutDetailsDto } from './payout-details-dto';
|
|
13
|
+
import { RegressDetailsDto } from './regress-details-dto';
|
|
14
|
+
import { ReserveDetailsDto } from './reserve-details-dto';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface CreateRegulationItemRequestDto
|
|
19
|
+
*/
|
|
20
|
+
export interface CreateRegulationItemRequestDto {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {string}
|
|
24
|
+
* @memberof CreateRegulationItemRequestDto
|
|
25
|
+
*/
|
|
26
|
+
'regulationItemType': CreateRegulationItemRequestDtoRegulationItemTypeEnum;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {number}
|
|
30
|
+
* @memberof CreateRegulationItemRequestDto
|
|
31
|
+
*/
|
|
32
|
+
'amount': number;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {string}
|
|
36
|
+
* @memberof CreateRegulationItemRequestDto
|
|
37
|
+
*/
|
|
38
|
+
'currency': string;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* @type {string}
|
|
42
|
+
* @memberof CreateRegulationItemRequestDto
|
|
43
|
+
*/
|
|
44
|
+
'bookingDate': string;
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @type {string}
|
|
48
|
+
* @memberof CreateRegulationItemRequestDto
|
|
49
|
+
*/
|
|
50
|
+
'claimCode': string;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @type {PayoutDetailsDto}
|
|
54
|
+
* @memberof CreateRegulationItemRequestDto
|
|
55
|
+
*/
|
|
56
|
+
'payoutDetails'?: PayoutDetailsDto;
|
|
57
|
+
/**
|
|
58
|
+
*
|
|
59
|
+
* @type {ReserveDetailsDto}
|
|
60
|
+
* @memberof CreateRegulationItemRequestDto
|
|
61
|
+
*/
|
|
62
|
+
'reserveDetails'?: ReserveDetailsDto;
|
|
63
|
+
/**
|
|
64
|
+
*
|
|
65
|
+
* @type {RegressDetailsDto}
|
|
66
|
+
* @memberof CreateRegulationItemRequestDto
|
|
67
|
+
*/
|
|
68
|
+
'regressDetails'?: RegressDetailsDto;
|
|
69
|
+
}
|
|
70
|
+
export declare const CreateRegulationItemRequestDtoRegulationItemTypeEnum: {
|
|
71
|
+
readonly Payout: "PAYOUT";
|
|
72
|
+
readonly Regress: "REGRESS";
|
|
73
|
+
readonly Reserve: "RESERVE";
|
|
74
|
+
};
|
|
75
|
+
export type CreateRegulationItemRequestDtoRegulationItemTypeEnum = typeof CreateRegulationItemRequestDtoRegulationItemTypeEnum[keyof typeof CreateRegulationItemRequestDtoRegulationItemTypeEnum];
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL ClaimService
|
|
6
|
+
* The EMIL ClaimService API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.CreateRegulationItemRequestDtoRegulationItemTypeEnum = void 0;
|
|
17
|
+
exports.CreateRegulationItemRequestDtoRegulationItemTypeEnum = {
|
|
18
|
+
Payout: 'PAYOUT',
|
|
19
|
+
Regress: 'REGRESS',
|
|
20
|
+
Reserve: 'RESERVE'
|
|
21
|
+
};
|
package/dist/models/index.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ export * from './create-claim-request-dto';
|
|
|
10
10
|
export * from './create-claim-response-class';
|
|
11
11
|
export * from './create-claim-status-request-dto';
|
|
12
12
|
export * from './create-claim-status-response-class';
|
|
13
|
+
export * from './create-regulation-item-request-dto';
|
|
13
14
|
export * from './create-settlement-request-dto';
|
|
14
15
|
export * from './create-settlement-response-class';
|
|
15
16
|
export * from './get-claim-partner-response-class';
|
|
@@ -26,6 +27,14 @@ export * from './list-claims-response-class';
|
|
|
26
27
|
export * from './list-settlements-response-class';
|
|
27
28
|
export * from './patch-claim-request-dto';
|
|
28
29
|
export * from './patch-claim-response-class';
|
|
30
|
+
export * from './payout-details-class';
|
|
31
|
+
export * from './payout-details-dto';
|
|
32
|
+
export * from './regress-details-class';
|
|
33
|
+
export * from './regress-details-dto';
|
|
34
|
+
export * from './regulation-item-class';
|
|
35
|
+
export * from './regulation-item-response-class';
|
|
36
|
+
export * from './reserve-details-class';
|
|
37
|
+
export * from './reserve-details-dto';
|
|
29
38
|
export * from './settlement-class';
|
|
30
39
|
export * from './update-claim-partner-role-request-dto';
|
|
31
40
|
export * from './update-claim-partner-role-response-class';
|
package/dist/models/index.js
CHANGED
|
@@ -26,6 +26,7 @@ __exportStar(require("./create-claim-request-dto"), exports);
|
|
|
26
26
|
__exportStar(require("./create-claim-response-class"), exports);
|
|
27
27
|
__exportStar(require("./create-claim-status-request-dto"), exports);
|
|
28
28
|
__exportStar(require("./create-claim-status-response-class"), exports);
|
|
29
|
+
__exportStar(require("./create-regulation-item-request-dto"), exports);
|
|
29
30
|
__exportStar(require("./create-settlement-request-dto"), exports);
|
|
30
31
|
__exportStar(require("./create-settlement-response-class"), exports);
|
|
31
32
|
__exportStar(require("./get-claim-partner-response-class"), exports);
|
|
@@ -42,6 +43,14 @@ __exportStar(require("./list-claims-response-class"), exports);
|
|
|
42
43
|
__exportStar(require("./list-settlements-response-class"), exports);
|
|
43
44
|
__exportStar(require("./patch-claim-request-dto"), exports);
|
|
44
45
|
__exportStar(require("./patch-claim-response-class"), exports);
|
|
46
|
+
__exportStar(require("./payout-details-class"), exports);
|
|
47
|
+
__exportStar(require("./payout-details-dto"), exports);
|
|
48
|
+
__exportStar(require("./regress-details-class"), exports);
|
|
49
|
+
__exportStar(require("./regress-details-dto"), exports);
|
|
50
|
+
__exportStar(require("./regulation-item-class"), exports);
|
|
51
|
+
__exportStar(require("./regulation-item-response-class"), exports);
|
|
52
|
+
__exportStar(require("./reserve-details-class"), exports);
|
|
53
|
+
__exportStar(require("./reserve-details-dto"), exports);
|
|
45
54
|
__exportStar(require("./settlement-class"), exports);
|
|
46
55
|
__exportStar(require("./update-claim-partner-role-request-dto"), exports);
|
|
47
56
|
__exportStar(require("./update-claim-partner-role-response-class"), exports);
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL ClaimService
|
|
3
|
+
* The EMIL ClaimService 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 PayoutDetailsClass
|
|
16
|
+
*/
|
|
17
|
+
export interface PayoutDetailsClass {
|
|
18
|
+
/**
|
|
19
|
+
* Unique identifier for the object.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof PayoutDetailsClass
|
|
22
|
+
*/
|
|
23
|
+
'code': string;
|
|
24
|
+
/**
|
|
25
|
+
* Unique identifier of the Regulation Item that this object belongs to.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof PayoutDetailsClass
|
|
28
|
+
*/
|
|
29
|
+
'regulationItemCode': string;
|
|
30
|
+
/**
|
|
31
|
+
* The type of the payout.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof PayoutDetailsClass
|
|
34
|
+
*/
|
|
35
|
+
'payoutType': PayoutDetailsClassPayoutTypeEnum;
|
|
36
|
+
/**
|
|
37
|
+
* The status of the payout.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof PayoutDetailsClass
|
|
40
|
+
*/
|
|
41
|
+
'payoutStatus': PayoutDetailsClassPayoutStatusEnum;
|
|
42
|
+
/**
|
|
43
|
+
* Name of the recipient who would receive the payout
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof PayoutDetailsClass
|
|
46
|
+
*/
|
|
47
|
+
'recipientName': string;
|
|
48
|
+
/**
|
|
49
|
+
* IBAN of the recipient
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof PayoutDetailsClass
|
|
52
|
+
*/
|
|
53
|
+
'iban': string;
|
|
54
|
+
/**
|
|
55
|
+
* Purpose of the payout
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof PayoutDetailsClass
|
|
58
|
+
*/
|
|
59
|
+
'payoutPurpose': string;
|
|
60
|
+
/**
|
|
61
|
+
* The current version of the entity - the version is increased with every update. Initial version is 1
|
|
62
|
+
* @type {number}
|
|
63
|
+
* @memberof PayoutDetailsClass
|
|
64
|
+
*/
|
|
65
|
+
'version': number;
|
|
66
|
+
/**
|
|
67
|
+
* Time at which the object was created.
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof PayoutDetailsClass
|
|
70
|
+
*/
|
|
71
|
+
'createdAt': string;
|
|
72
|
+
/**
|
|
73
|
+
* Time at which the object was updated.
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof PayoutDetailsClass
|
|
76
|
+
*/
|
|
77
|
+
'updatedAt': string;
|
|
78
|
+
}
|
|
79
|
+
export declare const PayoutDetailsClassPayoutTypeEnum: {
|
|
80
|
+
readonly Real: "REAL";
|
|
81
|
+
readonly Statistical: "STATISTICAL";
|
|
82
|
+
};
|
|
83
|
+
export type PayoutDetailsClassPayoutTypeEnum = typeof PayoutDetailsClassPayoutTypeEnum[keyof typeof PayoutDetailsClassPayoutTypeEnum];
|
|
84
|
+
export declare const PayoutDetailsClassPayoutStatusEnum: {
|
|
85
|
+
readonly Pending: "PENDING";
|
|
86
|
+
readonly InProgress: "IN_PROGRESS";
|
|
87
|
+
readonly Completed: "COMPLETED";
|
|
88
|
+
readonly Failed: "FAILED";
|
|
89
|
+
};
|
|
90
|
+
export type PayoutDetailsClassPayoutStatusEnum = typeof PayoutDetailsClassPayoutStatusEnum[keyof typeof PayoutDetailsClassPayoutStatusEnum];
|