@emilgroup/claim-sdk 1.17.2-beta.7 → 1.17.2-beta.9
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 -1
- package/README.md +2 -2
- package/api/claim-regulations-api.ts +4 -4
- package/api/claims-api.ts +103 -0
- package/dist/api/claim-regulations-api.d.ts +4 -4
- package/dist/api/claim-regulations-api.js +3 -3
- package/dist/api/claims-api.d.ts +56 -0
- package/dist/api/claims-api.js +92 -0
- package/dist/models/index.d.ts +1 -1
- package/dist/models/index.js +1 -1
- package/dist/models/regulation-summary-response-class.d.ts +54 -0
- package/dist/models/regulation-summary-response-class.js +15 -0
- package/dist/models/update-regulation-item-request-dto-rest.d.ts +2 -3
- package/models/index.ts +1 -1
- package/models/regulation-summary-response-class.ts +60 -0
- package/models/update-regulation-item-request-dto-rest.ts +2 -3
- package/package.json +1 -1
- package/dist/models/update-regress-details-dto.d.ts +0 -51
- package/dist/models/update-regress-details-dto.js +0 -29
- package/models/update-regress-details-dto.ts +0 -61
package/.openapi-generator/FILES
CHANGED
|
@@ -52,6 +52,7 @@ models/regress-details-class.ts
|
|
|
52
52
|
models/regress-details-dto.ts
|
|
53
53
|
models/regulation-item-class.ts
|
|
54
54
|
models/regulation-item-response-class.ts
|
|
55
|
+
models/regulation-summary-response-class.ts
|
|
55
56
|
models/reserve-details-class.ts
|
|
56
57
|
models/reserve-details-dto.ts
|
|
57
58
|
models/settlement-class.ts
|
|
@@ -60,7 +61,6 @@ models/update-claim-partner-role-response-class.ts
|
|
|
60
61
|
models/update-claim-request-dto.ts
|
|
61
62
|
models/update-claim-response-class.ts
|
|
62
63
|
models/update-payout-details-dto.ts
|
|
63
|
-
models/update-regress-details-dto.ts
|
|
64
64
|
models/update-regulation-item-request-dto-rest.ts
|
|
65
65
|
models/update-reserve-details-dto.ts
|
|
66
66
|
models/update-settlement-request-dto.ts
|
package/README.md
CHANGED
|
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
|
|
|
17
17
|
Navigate to the folder of your consuming project and run one of the following commands:
|
|
18
18
|
|
|
19
19
|
```
|
|
20
|
-
npm install @emilgroup/claim-sdk@1.17.2-beta.
|
|
20
|
+
npm install @emilgroup/claim-sdk@1.17.2-beta.9 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/claim-sdk@1.17.2-beta.
|
|
24
|
+
yarn add @emilgroup/claim-sdk@1.17.2-beta.9
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `ClaimsApi`.
|
|
@@ -183,7 +183,7 @@ export const ClaimRegulationsApiAxiosParamCreator = function (configuration?: Co
|
|
|
183
183
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
184
184
|
* @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.
|
|
185
185
|
* @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: code, claimCode, amount, bookingDate, currency, regulationItemType, payoutType, regressType, reserveType, payoutStatus, regressStatus</i>
|
|
186
|
-
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, claimCode,
|
|
186
|
+
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, claimCode, currency</i>
|
|
187
187
|
* @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: amount, bookingDate, createdAt, updatedAt</i>
|
|
188
188
|
* @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: claim.<i>
|
|
189
189
|
* @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: code, claimCode, amount, bookingDate, currency, regulationItemType, payoutType, regressType, reserveType, payoutStatus, regressStatus</i>
|
|
@@ -357,7 +357,7 @@ export const ClaimRegulationsApiFp = function(configuration?: Configuration) {
|
|
|
357
357
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
358
358
|
* @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.
|
|
359
359
|
* @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: code, claimCode, amount, bookingDate, currency, regulationItemType, payoutType, regressType, reserveType, payoutStatus, regressStatus</i>
|
|
360
|
-
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, claimCode,
|
|
360
|
+
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, claimCode, currency</i>
|
|
361
361
|
* @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: amount, bookingDate, createdAt, updatedAt</i>
|
|
362
362
|
* @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: claim.<i>
|
|
363
363
|
* @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: code, claimCode, amount, bookingDate, currency, regulationItemType, payoutType, regressType, reserveType, payoutStatus, regressStatus</i>
|
|
@@ -432,7 +432,7 @@ export const ClaimRegulationsApiFactory = function (configuration?: Configuratio
|
|
|
432
432
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
433
433
|
* @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.
|
|
434
434
|
* @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: code, claimCode, amount, bookingDate, currency, regulationItemType, payoutType, regressType, reserveType, payoutStatus, regressStatus</i>
|
|
435
|
-
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, claimCode,
|
|
435
|
+
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, claimCode, currency</i>
|
|
436
436
|
* @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: amount, bookingDate, createdAt, updatedAt</i>
|
|
437
437
|
* @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: claim.<i>
|
|
438
438
|
* @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: code, claimCode, amount, bookingDate, currency, regulationItemType, payoutType, regressType, reserveType, payoutStatus, regressStatus</i>
|
|
@@ -562,7 +562,7 @@ export interface ClaimRegulationsApiListClaimRegulationsRequest {
|
|
|
562
562
|
readonly filter?: string
|
|
563
563
|
|
|
564
564
|
/**
|
|
565
|
-
* Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, claimCode,
|
|
565
|
+
* Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, claimCode, currency</i>
|
|
566
566
|
* @type {string}
|
|
567
567
|
* @memberof ClaimRegulationsApiListClaimRegulations
|
|
568
568
|
*/
|
package/api/claims-api.ts
CHANGED
|
@@ -33,6 +33,8 @@ import { PatchClaimRequestDto } from '../models';
|
|
|
33
33
|
// @ts-ignore
|
|
34
34
|
import { PatchClaimResponseClass } from '../models';
|
|
35
35
|
// @ts-ignore
|
|
36
|
+
import { RegulationSummaryResponseClass } from '../models';
|
|
37
|
+
// @ts-ignore
|
|
36
38
|
import { UpdateClaimRequestDto } from '../models';
|
|
37
39
|
// @ts-ignore
|
|
38
40
|
import { UpdateClaimResponseClass } from '../models';
|
|
@@ -170,6 +172,51 @@ export const ClaimsApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
170
172
|
|
|
171
173
|
|
|
172
174
|
|
|
175
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
176
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
177
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
178
|
+
|
|
179
|
+
return {
|
|
180
|
+
url: toPathString(localVarUrlObj),
|
|
181
|
+
options: localVarRequestOptions,
|
|
182
|
+
};
|
|
183
|
+
},
|
|
184
|
+
/**
|
|
185
|
+
* This endpoint will calculate and get the regulation summary for a claim.
|
|
186
|
+
* @summary Retrieve the claim regulation summary
|
|
187
|
+
* @param {string} code Unique identifier for the object.
|
|
188
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
189
|
+
* @param {*} [options] Override http request option.
|
|
190
|
+
* @throws {RequiredError}
|
|
191
|
+
*/
|
|
192
|
+
getClaimRegulationSummary: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
193
|
+
// verify required parameter 'code' is not null or undefined
|
|
194
|
+
assertParamExists('getClaimRegulationSummary', 'code', code)
|
|
195
|
+
const localVarPath = `/v1/claims/{code}/regulations/summary`
|
|
196
|
+
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
197
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
198
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
199
|
+
let baseOptions;
|
|
200
|
+
let baseAccessToken;
|
|
201
|
+
if (configuration) {
|
|
202
|
+
baseOptions = configuration.baseOptions;
|
|
203
|
+
baseAccessToken = configuration.accessToken;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
207
|
+
const localVarHeaderParameter = {} as any;
|
|
208
|
+
const localVarQueryParameter = {} as any;
|
|
209
|
+
|
|
210
|
+
// authentication bearer required
|
|
211
|
+
// http bearer authentication required
|
|
212
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
213
|
+
|
|
214
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
215
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
|
|
219
|
+
|
|
173
220
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
174
221
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
175
222
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -403,6 +450,18 @@ export const ClaimsApiFp = function(configuration?: Configuration) {
|
|
|
403
450
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getClaim(code, authorization, options);
|
|
404
451
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
405
452
|
},
|
|
453
|
+
/**
|
|
454
|
+
* This endpoint will calculate and get the regulation summary for a claim.
|
|
455
|
+
* @summary Retrieve the claim regulation summary
|
|
456
|
+
* @param {string} code Unique identifier for the object.
|
|
457
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
458
|
+
* @param {*} [options] Override http request option.
|
|
459
|
+
* @throws {RequiredError}
|
|
460
|
+
*/
|
|
461
|
+
async getClaimRegulationSummary(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegulationSummaryResponseClass>> {
|
|
462
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getClaimRegulationSummary(code, authorization, options);
|
|
463
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
464
|
+
},
|
|
406
465
|
/**
|
|
407
466
|
* Returns a list of claims you have previously created. The claims are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
408
467
|
* @summary List claims
|
|
@@ -490,6 +549,17 @@ export const ClaimsApiFactory = function (configuration?: Configuration, basePat
|
|
|
490
549
|
getClaim(code: string, authorization?: string, options?: any): AxiosPromise<GetClaimResponseClass> {
|
|
491
550
|
return localVarFp.getClaim(code, authorization, options).then((request) => request(axios, basePath));
|
|
492
551
|
},
|
|
552
|
+
/**
|
|
553
|
+
* This endpoint will calculate and get the regulation summary for a claim.
|
|
554
|
+
* @summary Retrieve the claim regulation summary
|
|
555
|
+
* @param {string} code Unique identifier for the object.
|
|
556
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
557
|
+
* @param {*} [options] Override http request option.
|
|
558
|
+
* @throws {RequiredError}
|
|
559
|
+
*/
|
|
560
|
+
getClaimRegulationSummary(code: string, authorization?: string, options?: any): AxiosPromise<RegulationSummaryResponseClass> {
|
|
561
|
+
return localVarFp.getClaimRegulationSummary(code, authorization, options).then((request) => request(axios, basePath));
|
|
562
|
+
},
|
|
493
563
|
/**
|
|
494
564
|
* Returns a list of claims you have previously created. The claims are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
495
565
|
* @summary List claims
|
|
@@ -597,6 +667,27 @@ export interface ClaimsApiGetClaimRequest {
|
|
|
597
667
|
readonly authorization?: string
|
|
598
668
|
}
|
|
599
669
|
|
|
670
|
+
/**
|
|
671
|
+
* Request parameters for getClaimRegulationSummary operation in ClaimsApi.
|
|
672
|
+
* @export
|
|
673
|
+
* @interface ClaimsApiGetClaimRegulationSummaryRequest
|
|
674
|
+
*/
|
|
675
|
+
export interface ClaimsApiGetClaimRegulationSummaryRequest {
|
|
676
|
+
/**
|
|
677
|
+
* Unique identifier for the object.
|
|
678
|
+
* @type {string}
|
|
679
|
+
* @memberof ClaimsApiGetClaimRegulationSummary
|
|
680
|
+
*/
|
|
681
|
+
readonly code: string
|
|
682
|
+
|
|
683
|
+
/**
|
|
684
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
685
|
+
* @type {string}
|
|
686
|
+
* @memberof ClaimsApiGetClaimRegulationSummary
|
|
687
|
+
*/
|
|
688
|
+
readonly authorization?: string
|
|
689
|
+
}
|
|
690
|
+
|
|
600
691
|
/**
|
|
601
692
|
* Request parameters for listClaims operation in ClaimsApi.
|
|
602
693
|
* @export
|
|
@@ -759,6 +850,18 @@ export class ClaimsApi extends BaseAPI {
|
|
|
759
850
|
return ClaimsApiFp(this.configuration).getClaim(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
760
851
|
}
|
|
761
852
|
|
|
853
|
+
/**
|
|
854
|
+
* This endpoint will calculate and get the regulation summary for a claim.
|
|
855
|
+
* @summary Retrieve the claim regulation summary
|
|
856
|
+
* @param {ClaimsApiGetClaimRegulationSummaryRequest} requestParameters Request parameters.
|
|
857
|
+
* @param {*} [options] Override http request option.
|
|
858
|
+
* @throws {RequiredError}
|
|
859
|
+
* @memberof ClaimsApi
|
|
860
|
+
*/
|
|
861
|
+
public getClaimRegulationSummary(requestParameters: ClaimsApiGetClaimRegulationSummaryRequest, options?: AxiosRequestConfig) {
|
|
862
|
+
return ClaimsApiFp(this.configuration).getClaimRegulationSummary(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
863
|
+
}
|
|
864
|
+
|
|
762
865
|
/**
|
|
763
866
|
* Returns a list of claims you have previously created. The claims are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
764
867
|
* @summary List claims
|
|
@@ -56,7 +56,7 @@ export declare const ClaimRegulationsApiAxiosParamCreator: (configuration?: Conf
|
|
|
56
56
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
57
57
|
* @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.
|
|
58
58
|
* @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: code, claimCode, amount, bookingDate, currency, regulationItemType, payoutType, regressType, reserveType, payoutStatus, regressStatus</i>
|
|
59
|
-
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, claimCode,
|
|
59
|
+
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, claimCode, currency</i>
|
|
60
60
|
* @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: amount, bookingDate, createdAt, updatedAt</i>
|
|
61
61
|
* @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: claim.<i>
|
|
62
62
|
* @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: code, claimCode, amount, bookingDate, currency, regulationItemType, payoutType, regressType, reserveType, payoutStatus, regressStatus</i>
|
|
@@ -115,7 +115,7 @@ export declare const ClaimRegulationsApiFp: (configuration?: Configuration) => {
|
|
|
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
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: code, claimCode, amount, bookingDate, currency, regulationItemType, payoutType, regressType, reserveType, payoutStatus, regressStatus</i>
|
|
118
|
-
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, claimCode,
|
|
118
|
+
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, claimCode, currency</i>
|
|
119
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: amount, bookingDate, createdAt, updatedAt</i>
|
|
120
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: claim.<i>
|
|
121
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: code, claimCode, amount, bookingDate, currency, regulationItemType, payoutType, regressType, reserveType, payoutStatus, regressStatus</i>
|
|
@@ -174,7 +174,7 @@ export declare const ClaimRegulationsApiFactory: (configuration?: Configuration,
|
|
|
174
174
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
175
175
|
* @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.
|
|
176
176
|
* @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: code, claimCode, amount, bookingDate, currency, regulationItemType, payoutType, regressType, reserveType, payoutStatus, regressStatus</i>
|
|
177
|
-
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, claimCode,
|
|
177
|
+
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, claimCode, currency</i>
|
|
178
178
|
* @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: amount, bookingDate, createdAt, updatedAt</i>
|
|
179
179
|
* @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: claim.<i>
|
|
180
180
|
* @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: code, claimCode, amount, bookingDate, currency, regulationItemType, payoutType, regressType, reserveType, payoutStatus, regressStatus</i>
|
|
@@ -287,7 +287,7 @@ export interface ClaimRegulationsApiListClaimRegulationsRequest {
|
|
|
287
287
|
*/
|
|
288
288
|
readonly filter?: string;
|
|
289
289
|
/**
|
|
290
|
-
* Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, claimCode,
|
|
290
|
+
* Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, claimCode, currency</i>
|
|
291
291
|
* @type {string}
|
|
292
292
|
* @memberof ClaimRegulationsApiListClaimRegulations
|
|
293
293
|
*/
|
|
@@ -248,7 +248,7 @@ var ClaimRegulationsApiAxiosParamCreator = function (configuration) {
|
|
|
248
248
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
249
249
|
* @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.
|
|
250
250
|
* @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: code, claimCode, amount, bookingDate, currency, regulationItemType, payoutType, regressType, reserveType, payoutStatus, regressStatus</i>
|
|
251
|
-
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, claimCode,
|
|
251
|
+
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, claimCode, currency</i>
|
|
252
252
|
* @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: amount, bookingDate, createdAt, updatedAt</i>
|
|
253
253
|
* @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: claim.<i>
|
|
254
254
|
* @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: code, claimCode, amount, bookingDate, currency, regulationItemType, payoutType, regressType, reserveType, payoutStatus, regressStatus</i>
|
|
@@ -447,7 +447,7 @@ var ClaimRegulationsApiFp = function (configuration) {
|
|
|
447
447
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
448
448
|
* @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.
|
|
449
449
|
* @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: code, claimCode, amount, bookingDate, currency, regulationItemType, payoutType, regressType, reserveType, payoutStatus, regressStatus</i>
|
|
450
|
-
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, claimCode,
|
|
450
|
+
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, claimCode, currency</i>
|
|
451
451
|
* @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: amount, bookingDate, createdAt, updatedAt</i>
|
|
452
452
|
* @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: claim.<i>
|
|
453
453
|
* @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: code, claimCode, amount, bookingDate, currency, regulationItemType, payoutType, regressType, reserveType, payoutStatus, regressStatus</i>
|
|
@@ -540,7 +540,7 @@ var ClaimRegulationsApiFactory = function (configuration, basePath, axios) {
|
|
|
540
540
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
541
541
|
* @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.
|
|
542
542
|
* @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: code, claimCode, amount, bookingDate, currency, regulationItemType, payoutType, regressType, reserveType, payoutStatus, regressStatus</i>
|
|
543
|
-
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, claimCode,
|
|
543
|
+
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, claimCode, currency</i>
|
|
544
544
|
* @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: amount, bookingDate, createdAt, updatedAt</i>
|
|
545
545
|
* @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: claim.<i>
|
|
546
546
|
* @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: code, claimCode, amount, bookingDate, currency, regulationItemType, payoutType, regressType, reserveType, payoutStatus, regressStatus</i>
|
package/dist/api/claims-api.d.ts
CHANGED
|
@@ -18,6 +18,7 @@ import { GetClaimResponseClass } from '../models';
|
|
|
18
18
|
import { ListClaimsResponseClass } from '../models';
|
|
19
19
|
import { PatchClaimRequestDto } from '../models';
|
|
20
20
|
import { PatchClaimResponseClass } from '../models';
|
|
21
|
+
import { RegulationSummaryResponseClass } from '../models';
|
|
21
22
|
import { UpdateClaimRequestDto } from '../models';
|
|
22
23
|
import { UpdateClaimResponseClass } from '../models';
|
|
23
24
|
/**
|
|
@@ -52,6 +53,15 @@ export declare const ClaimsApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
52
53
|
* @throws {RequiredError}
|
|
53
54
|
*/
|
|
54
55
|
getClaim: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
56
|
+
/**
|
|
57
|
+
* This endpoint will calculate and get the regulation summary for a claim.
|
|
58
|
+
* @summary Retrieve the claim regulation summary
|
|
59
|
+
* @param {string} code Unique identifier for the object.
|
|
60
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
61
|
+
* @param {*} [options] Override http request option.
|
|
62
|
+
* @throws {RequiredError}
|
|
63
|
+
*/
|
|
64
|
+
getClaimRegulationSummary: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
55
65
|
/**
|
|
56
66
|
* Returns a list of claims you have previously created. The claims are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
57
67
|
* @summary List claims
|
|
@@ -120,6 +130,15 @@ export declare const ClaimsApiFp: (configuration?: Configuration) => {
|
|
|
120
130
|
* @throws {RequiredError}
|
|
121
131
|
*/
|
|
122
132
|
getClaim(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetClaimResponseClass>>;
|
|
133
|
+
/**
|
|
134
|
+
* This endpoint will calculate and get the regulation summary for a claim.
|
|
135
|
+
* @summary Retrieve the claim regulation summary
|
|
136
|
+
* @param {string} code Unique identifier for the object.
|
|
137
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
138
|
+
* @param {*} [options] Override http request option.
|
|
139
|
+
* @throws {RequiredError}
|
|
140
|
+
*/
|
|
141
|
+
getClaimRegulationSummary(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegulationSummaryResponseClass>>;
|
|
123
142
|
/**
|
|
124
143
|
* Returns a list of claims you have previously created. The claims are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
125
144
|
* @summary List claims
|
|
@@ -188,6 +207,15 @@ export declare const ClaimsApiFactory: (configuration?: Configuration, basePath?
|
|
|
188
207
|
* @throws {RequiredError}
|
|
189
208
|
*/
|
|
190
209
|
getClaim(code: string, authorization?: string, options?: any): AxiosPromise<GetClaimResponseClass>;
|
|
210
|
+
/**
|
|
211
|
+
* This endpoint will calculate and get the regulation summary for a claim.
|
|
212
|
+
* @summary Retrieve the claim regulation summary
|
|
213
|
+
* @param {string} code Unique identifier for the object.
|
|
214
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
215
|
+
* @param {*} [options] Override http request option.
|
|
216
|
+
* @throws {RequiredError}
|
|
217
|
+
*/
|
|
218
|
+
getClaimRegulationSummary(code: string, authorization?: string, options?: any): AxiosPromise<RegulationSummaryResponseClass>;
|
|
191
219
|
/**
|
|
192
220
|
* Returns a list of claims you have previously created. The claims are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
193
221
|
* @summary List claims
|
|
@@ -281,6 +309,25 @@ export interface ClaimsApiGetClaimRequest {
|
|
|
281
309
|
*/
|
|
282
310
|
readonly authorization?: string;
|
|
283
311
|
}
|
|
312
|
+
/**
|
|
313
|
+
* Request parameters for getClaimRegulationSummary operation in ClaimsApi.
|
|
314
|
+
* @export
|
|
315
|
+
* @interface ClaimsApiGetClaimRegulationSummaryRequest
|
|
316
|
+
*/
|
|
317
|
+
export interface ClaimsApiGetClaimRegulationSummaryRequest {
|
|
318
|
+
/**
|
|
319
|
+
* Unique identifier for the object.
|
|
320
|
+
* @type {string}
|
|
321
|
+
* @memberof ClaimsApiGetClaimRegulationSummary
|
|
322
|
+
*/
|
|
323
|
+
readonly code: string;
|
|
324
|
+
/**
|
|
325
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
326
|
+
* @type {string}
|
|
327
|
+
* @memberof ClaimsApiGetClaimRegulationSummary
|
|
328
|
+
*/
|
|
329
|
+
readonly authorization?: string;
|
|
330
|
+
}
|
|
284
331
|
/**
|
|
285
332
|
* Request parameters for listClaims operation in ClaimsApi.
|
|
286
333
|
* @export
|
|
@@ -420,6 +467,15 @@ export declare class ClaimsApi extends BaseAPI {
|
|
|
420
467
|
* @memberof ClaimsApi
|
|
421
468
|
*/
|
|
422
469
|
getClaim(requestParameters: ClaimsApiGetClaimRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetClaimResponseClass, any>>;
|
|
470
|
+
/**
|
|
471
|
+
* This endpoint will calculate and get the regulation summary for a claim.
|
|
472
|
+
* @summary Retrieve the claim regulation summary
|
|
473
|
+
* @param {ClaimsApiGetClaimRegulationSummaryRequest} requestParameters Request parameters.
|
|
474
|
+
* @param {*} [options] Override http request option.
|
|
475
|
+
* @throws {RequiredError}
|
|
476
|
+
* @memberof ClaimsApi
|
|
477
|
+
*/
|
|
478
|
+
getClaimRegulationSummary(requestParameters: ClaimsApiGetClaimRegulationSummaryRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<RegulationSummaryResponseClass, any>>;
|
|
423
479
|
/**
|
|
424
480
|
* Returns a list of claims you have previously created. The claims are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
425
481
|
* @summary List claims
|
package/dist/api/claims-api.js
CHANGED
|
@@ -237,6 +237,54 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
|
|
|
237
237
|
});
|
|
238
238
|
});
|
|
239
239
|
},
|
|
240
|
+
/**
|
|
241
|
+
* This endpoint will calculate and get the regulation summary for a claim.
|
|
242
|
+
* @summary Retrieve the claim regulation summary
|
|
243
|
+
* @param {string} code Unique identifier for the object.
|
|
244
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
245
|
+
* @param {*} [options] Override http request option.
|
|
246
|
+
* @throws {RequiredError}
|
|
247
|
+
*/
|
|
248
|
+
getClaimRegulationSummary: function (code, authorization, options) {
|
|
249
|
+
if (options === void 0) { options = {}; }
|
|
250
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
251
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
252
|
+
return __generator(this, function (_a) {
|
|
253
|
+
switch (_a.label) {
|
|
254
|
+
case 0:
|
|
255
|
+
// verify required parameter 'code' is not null or undefined
|
|
256
|
+
(0, common_1.assertParamExists)('getClaimRegulationSummary', 'code', code);
|
|
257
|
+
localVarPath = "/v1/claims/{code}/regulations/summary"
|
|
258
|
+
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
259
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
260
|
+
if (configuration) {
|
|
261
|
+
baseOptions = configuration.baseOptions;
|
|
262
|
+
baseAccessToken = configuration.accessToken;
|
|
263
|
+
}
|
|
264
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
265
|
+
localVarHeaderParameter = {};
|
|
266
|
+
localVarQueryParameter = {};
|
|
267
|
+
// authentication bearer required
|
|
268
|
+
// http bearer authentication required
|
|
269
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
270
|
+
case 1:
|
|
271
|
+
// authentication bearer required
|
|
272
|
+
// http bearer authentication required
|
|
273
|
+
_a.sent();
|
|
274
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
275
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
276
|
+
}
|
|
277
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
278
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
279
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
280
|
+
return [2 /*return*/, {
|
|
281
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
282
|
+
options: localVarRequestOptions,
|
|
283
|
+
}];
|
|
284
|
+
}
|
|
285
|
+
});
|
|
286
|
+
});
|
|
287
|
+
},
|
|
240
288
|
/**
|
|
241
289
|
* Returns a list of claims you have previously created. The claims are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
242
290
|
* @summary List claims
|
|
@@ -488,6 +536,27 @@ var ClaimsApiFp = function (configuration) {
|
|
|
488
536
|
});
|
|
489
537
|
});
|
|
490
538
|
},
|
|
539
|
+
/**
|
|
540
|
+
* This endpoint will calculate and get the regulation summary for a claim.
|
|
541
|
+
* @summary Retrieve the claim regulation summary
|
|
542
|
+
* @param {string} code Unique identifier for the object.
|
|
543
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
544
|
+
* @param {*} [options] Override http request option.
|
|
545
|
+
* @throws {RequiredError}
|
|
546
|
+
*/
|
|
547
|
+
getClaimRegulationSummary: function (code, authorization, options) {
|
|
548
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
549
|
+
var localVarAxiosArgs;
|
|
550
|
+
return __generator(this, function (_a) {
|
|
551
|
+
switch (_a.label) {
|
|
552
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getClaimRegulationSummary(code, authorization, options)];
|
|
553
|
+
case 1:
|
|
554
|
+
localVarAxiosArgs = _a.sent();
|
|
555
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
556
|
+
}
|
|
557
|
+
});
|
|
558
|
+
});
|
|
559
|
+
},
|
|
491
560
|
/**
|
|
492
561
|
* Returns a list of claims you have previously created. The claims are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
493
562
|
* @summary List claims
|
|
@@ -602,6 +671,17 @@ var ClaimsApiFactory = function (configuration, basePath, axios) {
|
|
|
602
671
|
getClaim: function (code, authorization, options) {
|
|
603
672
|
return localVarFp.getClaim(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
604
673
|
},
|
|
674
|
+
/**
|
|
675
|
+
* This endpoint will calculate and get the regulation summary for a claim.
|
|
676
|
+
* @summary Retrieve the claim regulation summary
|
|
677
|
+
* @param {string} code Unique identifier for the object.
|
|
678
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
679
|
+
* @param {*} [options] Override http request option.
|
|
680
|
+
* @throws {RequiredError}
|
|
681
|
+
*/
|
|
682
|
+
getClaimRegulationSummary: function (code, authorization, options) {
|
|
683
|
+
return localVarFp.getClaimRegulationSummary(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
684
|
+
},
|
|
605
685
|
/**
|
|
606
686
|
* Returns a list of claims you have previously created. The claims are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
607
687
|
* @summary List claims
|
|
@@ -693,6 +773,18 @@ var ClaimsApi = /** @class */ (function (_super) {
|
|
|
693
773
|
var _this = this;
|
|
694
774
|
return (0, exports.ClaimsApiFp)(this.configuration).getClaim(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
695
775
|
};
|
|
776
|
+
/**
|
|
777
|
+
* This endpoint will calculate and get the regulation summary for a claim.
|
|
778
|
+
* @summary Retrieve the claim regulation summary
|
|
779
|
+
* @param {ClaimsApiGetClaimRegulationSummaryRequest} requestParameters Request parameters.
|
|
780
|
+
* @param {*} [options] Override http request option.
|
|
781
|
+
* @throws {RequiredError}
|
|
782
|
+
* @memberof ClaimsApi
|
|
783
|
+
*/
|
|
784
|
+
ClaimsApi.prototype.getClaimRegulationSummary = function (requestParameters, options) {
|
|
785
|
+
var _this = this;
|
|
786
|
+
return (0, exports.ClaimsApiFp)(this.configuration).getClaimRegulationSummary(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
787
|
+
};
|
|
696
788
|
/**
|
|
697
789
|
* Returns a list of claims you have previously created. The claims are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
698
790
|
* @summary List claims
|
package/dist/models/index.d.ts
CHANGED
|
@@ -34,6 +34,7 @@ export * from './regress-details-class';
|
|
|
34
34
|
export * from './regress-details-dto';
|
|
35
35
|
export * from './regulation-item-class';
|
|
36
36
|
export * from './regulation-item-response-class';
|
|
37
|
+
export * from './regulation-summary-response-class';
|
|
37
38
|
export * from './reserve-details-class';
|
|
38
39
|
export * from './reserve-details-dto';
|
|
39
40
|
export * from './settlement-class';
|
|
@@ -42,7 +43,6 @@ export * from './update-claim-partner-role-response-class';
|
|
|
42
43
|
export * from './update-claim-request-dto';
|
|
43
44
|
export * from './update-claim-response-class';
|
|
44
45
|
export * from './update-payout-details-dto';
|
|
45
|
-
export * from './update-regress-details-dto';
|
|
46
46
|
export * from './update-regulation-item-request-dto-rest';
|
|
47
47
|
export * from './update-reserve-details-dto';
|
|
48
48
|
export * from './update-settlement-request-dto';
|
package/dist/models/index.js
CHANGED
|
@@ -50,6 +50,7 @@ __exportStar(require("./regress-details-class"), exports);
|
|
|
50
50
|
__exportStar(require("./regress-details-dto"), exports);
|
|
51
51
|
__exportStar(require("./regulation-item-class"), exports);
|
|
52
52
|
__exportStar(require("./regulation-item-response-class"), exports);
|
|
53
|
+
__exportStar(require("./regulation-summary-response-class"), exports);
|
|
53
54
|
__exportStar(require("./reserve-details-class"), exports);
|
|
54
55
|
__exportStar(require("./reserve-details-dto"), exports);
|
|
55
56
|
__exportStar(require("./settlement-class"), exports);
|
|
@@ -58,7 +59,6 @@ __exportStar(require("./update-claim-partner-role-response-class"), exports);
|
|
|
58
59
|
__exportStar(require("./update-claim-request-dto"), exports);
|
|
59
60
|
__exportStar(require("./update-claim-response-class"), exports);
|
|
60
61
|
__exportStar(require("./update-payout-details-dto"), exports);
|
|
61
|
-
__exportStar(require("./update-regress-details-dto"), exports);
|
|
62
62
|
__exportStar(require("./update-regulation-item-request-dto-rest"), exports);
|
|
63
63
|
__exportStar(require("./update-reserve-details-dto"), exports);
|
|
64
64
|
__exportStar(require("./update-settlement-request-dto"), exports);
|
|
@@ -0,0 +1,54 @@
|
|
|
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 RegulationSummaryResponseClass
|
|
16
|
+
*/
|
|
17
|
+
export interface RegulationSummaryResponseClass {
|
|
18
|
+
/**
|
|
19
|
+
* The code of the claim.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof RegulationSummaryResponseClass
|
|
22
|
+
*/
|
|
23
|
+
'claimCode': string;
|
|
24
|
+
/**
|
|
25
|
+
* The claim response.
|
|
26
|
+
* @type {object}
|
|
27
|
+
* @memberof RegulationSummaryResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'claim': object;
|
|
30
|
+
/**
|
|
31
|
+
* The total reserve amount for the claim.
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof RegulationSummaryResponseClass
|
|
34
|
+
*/
|
|
35
|
+
'totalReserveAmount': number;
|
|
36
|
+
/**
|
|
37
|
+
* The total payout amount for the claim.
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof RegulationSummaryResponseClass
|
|
40
|
+
*/
|
|
41
|
+
'totalPayoutAmount': number;
|
|
42
|
+
/**
|
|
43
|
+
* The total regress amount for the claim.
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof RegulationSummaryResponseClass
|
|
46
|
+
*/
|
|
47
|
+
'totalRegressAmount': number;
|
|
48
|
+
/**
|
|
49
|
+
* The remaining reserve amount for the claim.
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof RegulationSummaryResponseClass
|
|
52
|
+
*/
|
|
53
|
+
'remainingReserveAmount': number;
|
|
54
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
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 });
|
|
@@ -10,7 +10,6 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import { UpdatePayoutDetailsDto } from './update-payout-details-dto';
|
|
13
|
-
import { UpdateRegressDetailsDto } from './update-regress-details-dto';
|
|
14
13
|
import { UpdateReserveDetailsDto } from './update-reserve-details-dto';
|
|
15
14
|
/**
|
|
16
15
|
*
|
|
@@ -56,10 +55,10 @@ export interface UpdateRegulationItemRequestDtoRest {
|
|
|
56
55
|
'reserveDetails'?: UpdateReserveDetailsDto;
|
|
57
56
|
/**
|
|
58
57
|
* The regress details for the regulation item. Must be a valid regress details object.At least an empty object is required when updating a regress item. But if the regulation item type is not regress, this field is not required.
|
|
59
|
-
* @type {
|
|
58
|
+
* @type {object}
|
|
60
59
|
* @memberof UpdateRegulationItemRequestDtoRest
|
|
61
60
|
*/
|
|
62
|
-
'regressDetails'?:
|
|
61
|
+
'regressDetails'?: object;
|
|
63
62
|
}
|
|
64
63
|
export declare const UpdateRegulationItemRequestDtoRestRegulationItemTypeEnum: {
|
|
65
64
|
readonly Payout: "PAYOUT";
|
package/models/index.ts
CHANGED
|
@@ -34,6 +34,7 @@ export * from './regress-details-class';
|
|
|
34
34
|
export * from './regress-details-dto';
|
|
35
35
|
export * from './regulation-item-class';
|
|
36
36
|
export * from './regulation-item-response-class';
|
|
37
|
+
export * from './regulation-summary-response-class';
|
|
37
38
|
export * from './reserve-details-class';
|
|
38
39
|
export * from './reserve-details-dto';
|
|
39
40
|
export * from './settlement-class';
|
|
@@ -42,7 +43,6 @@ export * from './update-claim-partner-role-response-class';
|
|
|
42
43
|
export * from './update-claim-request-dto';
|
|
43
44
|
export * from './update-claim-response-class';
|
|
44
45
|
export * from './update-payout-details-dto';
|
|
45
|
-
export * from './update-regress-details-dto';
|
|
46
46
|
export * from './update-regulation-item-request-dto-rest';
|
|
47
47
|
export * from './update-reserve-details-dto';
|
|
48
48
|
export * from './update-settlement-request-dto';
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL ClaimService
|
|
5
|
+
* The EMIL ClaimService 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 RegulationSummaryResponseClass
|
|
21
|
+
*/
|
|
22
|
+
export interface RegulationSummaryResponseClass {
|
|
23
|
+
/**
|
|
24
|
+
* The code of the claim.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof RegulationSummaryResponseClass
|
|
27
|
+
*/
|
|
28
|
+
'claimCode': string;
|
|
29
|
+
/**
|
|
30
|
+
* The claim response.
|
|
31
|
+
* @type {object}
|
|
32
|
+
* @memberof RegulationSummaryResponseClass
|
|
33
|
+
*/
|
|
34
|
+
'claim': object;
|
|
35
|
+
/**
|
|
36
|
+
* The total reserve amount for the claim.
|
|
37
|
+
* @type {number}
|
|
38
|
+
* @memberof RegulationSummaryResponseClass
|
|
39
|
+
*/
|
|
40
|
+
'totalReserveAmount': number;
|
|
41
|
+
/**
|
|
42
|
+
* The total payout amount for the claim.
|
|
43
|
+
* @type {number}
|
|
44
|
+
* @memberof RegulationSummaryResponseClass
|
|
45
|
+
*/
|
|
46
|
+
'totalPayoutAmount': number;
|
|
47
|
+
/**
|
|
48
|
+
* The total regress amount for the claim.
|
|
49
|
+
* @type {number}
|
|
50
|
+
* @memberof RegulationSummaryResponseClass
|
|
51
|
+
*/
|
|
52
|
+
'totalRegressAmount': number;
|
|
53
|
+
/**
|
|
54
|
+
* The remaining reserve amount for the claim.
|
|
55
|
+
* @type {number}
|
|
56
|
+
* @memberof RegulationSummaryResponseClass
|
|
57
|
+
*/
|
|
58
|
+
'remainingReserveAmount': number;
|
|
59
|
+
}
|
|
60
|
+
|
|
@@ -14,7 +14,6 @@
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
import { UpdatePayoutDetailsDto } from './update-payout-details-dto';
|
|
17
|
-
import { UpdateRegressDetailsDto } from './update-regress-details-dto';
|
|
18
17
|
import { UpdateReserveDetailsDto } from './update-reserve-details-dto';
|
|
19
18
|
|
|
20
19
|
/**
|
|
@@ -61,10 +60,10 @@ export interface UpdateRegulationItemRequestDtoRest {
|
|
|
61
60
|
'reserveDetails'?: UpdateReserveDetailsDto;
|
|
62
61
|
/**
|
|
63
62
|
* The regress details for the regulation item. Must be a valid regress details object.At least an empty object is required when updating a regress item. But if the regulation item type is not regress, this field is not required.
|
|
64
|
-
* @type {
|
|
63
|
+
* @type {object}
|
|
65
64
|
* @memberof UpdateRegulationItemRequestDtoRest
|
|
66
65
|
*/
|
|
67
|
-
'regressDetails'?:
|
|
66
|
+
'regressDetails'?: object;
|
|
68
67
|
}
|
|
69
68
|
|
|
70
69
|
export const UpdateRegulationItemRequestDtoRestRegulationItemTypeEnum = {
|
package/package.json
CHANGED
|
@@ -1,51 +0,0 @@
|
|
|
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 UpdateRegressDetailsDto
|
|
16
|
-
*/
|
|
17
|
-
export interface UpdateRegressDetailsDto {
|
|
18
|
-
/**
|
|
19
|
-
* The type of recovery.
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof UpdateRegressDetailsDto
|
|
22
|
-
*/
|
|
23
|
-
'recoveryType'?: UpdateRegressDetailsDtoRecoveryTypeEnum;
|
|
24
|
-
/**
|
|
25
|
-
* The status of recovery.
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof UpdateRegressDetailsDto
|
|
28
|
-
*/
|
|
29
|
-
'recoveryStatus'?: UpdateRegressDetailsDtoRecoveryStatusEnum;
|
|
30
|
-
/**
|
|
31
|
-
* Optional helpful and relevant information provided by the third party can be stored in this field.
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof UpdateRegressDetailsDto
|
|
34
|
-
*/
|
|
35
|
-
'thirdPartyInformation'?: string;
|
|
36
|
-
}
|
|
37
|
-
export declare const UpdateRegressDetailsDtoRecoveryTypeEnum: {
|
|
38
|
-
readonly SubrogationInitiated: "SUBROGATION_INITIATED";
|
|
39
|
-
readonly PartialRecovery: "PARTIAL_RECOVERY";
|
|
40
|
-
readonly FullRecovery: "FULL_RECOVERY";
|
|
41
|
-
readonly Adjustment: "ADJUSTMENT";
|
|
42
|
-
};
|
|
43
|
-
export type UpdateRegressDetailsDtoRecoveryTypeEnum = typeof UpdateRegressDetailsDtoRecoveryTypeEnum[keyof typeof UpdateRegressDetailsDtoRecoveryTypeEnum];
|
|
44
|
-
export declare const UpdateRegressDetailsDtoRecoveryStatusEnum: {
|
|
45
|
-
readonly Pending: "PENDING";
|
|
46
|
-
readonly InProgress: "IN_PROGRESS";
|
|
47
|
-
readonly PartiallyRecovered: "PARTIALLY_RECOVERED";
|
|
48
|
-
readonly FullyRecovered: "FULLY_RECOVERED";
|
|
49
|
-
readonly Closed: "CLOSED";
|
|
50
|
-
};
|
|
51
|
-
export type UpdateRegressDetailsDtoRecoveryStatusEnum = typeof UpdateRegressDetailsDtoRecoveryStatusEnum[keyof typeof UpdateRegressDetailsDtoRecoveryStatusEnum];
|
|
@@ -1,29 +0,0 @@
|
|
|
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.UpdateRegressDetailsDtoRecoveryStatusEnum = exports.UpdateRegressDetailsDtoRecoveryTypeEnum = void 0;
|
|
17
|
-
exports.UpdateRegressDetailsDtoRecoveryTypeEnum = {
|
|
18
|
-
SubrogationInitiated: 'SUBROGATION_INITIATED',
|
|
19
|
-
PartialRecovery: 'PARTIAL_RECOVERY',
|
|
20
|
-
FullRecovery: 'FULL_RECOVERY',
|
|
21
|
-
Adjustment: 'ADJUSTMENT'
|
|
22
|
-
};
|
|
23
|
-
exports.UpdateRegressDetailsDtoRecoveryStatusEnum = {
|
|
24
|
-
Pending: 'PENDING',
|
|
25
|
-
InProgress: 'IN_PROGRESS',
|
|
26
|
-
PartiallyRecovered: 'PARTIALLY_RECOVERED',
|
|
27
|
-
FullyRecovered: 'FULLY_RECOVERED',
|
|
28
|
-
Closed: 'CLOSED'
|
|
29
|
-
};
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* EMIL ClaimService
|
|
5
|
-
* The EMIL ClaimService 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 UpdateRegressDetailsDto
|
|
21
|
-
*/
|
|
22
|
-
export interface UpdateRegressDetailsDto {
|
|
23
|
-
/**
|
|
24
|
-
* The type of recovery.
|
|
25
|
-
* @type {string}
|
|
26
|
-
* @memberof UpdateRegressDetailsDto
|
|
27
|
-
*/
|
|
28
|
-
'recoveryType'?: UpdateRegressDetailsDtoRecoveryTypeEnum;
|
|
29
|
-
/**
|
|
30
|
-
* The status of recovery.
|
|
31
|
-
* @type {string}
|
|
32
|
-
* @memberof UpdateRegressDetailsDto
|
|
33
|
-
*/
|
|
34
|
-
'recoveryStatus'?: UpdateRegressDetailsDtoRecoveryStatusEnum;
|
|
35
|
-
/**
|
|
36
|
-
* Optional helpful and relevant information provided by the third party can be stored in this field.
|
|
37
|
-
* @type {string}
|
|
38
|
-
* @memberof UpdateRegressDetailsDto
|
|
39
|
-
*/
|
|
40
|
-
'thirdPartyInformation'?: string;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
export const UpdateRegressDetailsDtoRecoveryTypeEnum = {
|
|
44
|
-
SubrogationInitiated: 'SUBROGATION_INITIATED',
|
|
45
|
-
PartialRecovery: 'PARTIAL_RECOVERY',
|
|
46
|
-
FullRecovery: 'FULL_RECOVERY',
|
|
47
|
-
Adjustment: 'ADJUSTMENT'
|
|
48
|
-
} as const;
|
|
49
|
-
|
|
50
|
-
export type UpdateRegressDetailsDtoRecoveryTypeEnum = typeof UpdateRegressDetailsDtoRecoveryTypeEnum[keyof typeof UpdateRegressDetailsDtoRecoveryTypeEnum];
|
|
51
|
-
export const UpdateRegressDetailsDtoRecoveryStatusEnum = {
|
|
52
|
-
Pending: 'PENDING',
|
|
53
|
-
InProgress: 'IN_PROGRESS',
|
|
54
|
-
PartiallyRecovered: 'PARTIALLY_RECOVERED',
|
|
55
|
-
FullyRecovered: 'FULLY_RECOVERED',
|
|
56
|
-
Closed: 'CLOSED'
|
|
57
|
-
} as const;
|
|
58
|
-
|
|
59
|
-
export type UpdateRegressDetailsDtoRecoveryStatusEnum = typeof UpdateRegressDetailsDtoRecoveryStatusEnum[keyof typeof UpdateRegressDetailsDtoRecoveryStatusEnum];
|
|
60
|
-
|
|
61
|
-
|