@emilgroup/claim-sdk-node 1.17.2-beta.4 → 1.17.2-beta.5
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 +7 -0
- package/README.md +2 -2
- package/api/claim-regulations-api.ts +16 -14
- package/dist/api/claim-regulations-api.d.ts +9 -8
- package/dist/api/claim-regulations-api.js +12 -12
- package/dist/models/create-regulation-item-request-dto.d.ts +22 -1
- package/dist/models/index.d.ts +7 -0
- package/dist/models/index.js +7 -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-dto.d.ts +51 -0
- package/dist/models/regress-details-dto.js +29 -0
- package/dist/models/reserve-details-dto.d.ts +29 -0
- package/dist/models/reserve-details-dto.js +20 -0
- package/dist/models/update-payout-details-dto.d.ts +60 -0
- package/dist/models/update-payout-details-dto.js +26 -0
- package/dist/models/update-regress-details-dto.d.ts +51 -0
- package/dist/models/update-regress-details-dto.js +29 -0
- package/dist/models/update-regulation-item-request-dto-rest.d.ts +69 -0
- package/dist/models/update-regulation-item-request-dto-rest.js +21 -0
- package/dist/models/update-reserve-details-dto.d.ts +29 -0
- package/dist/models/update-reserve-details-dto.js +20 -0
- package/models/create-regulation-item-request-dto.ts +22 -1
- package/models/index.ts +7 -0
- package/models/payout-details-dto.ts +70 -0
- package/models/regress-details-dto.ts +61 -0
- package/models/reserve-details-dto.ts +38 -0
- package/models/update-payout-details-dto.ts +70 -0
- package/models/update-regress-details-dto.ts +61 -0
- package/models/update-regulation-item-request-dto-rest.ts +78 -0
- package/models/update-reserve-details-dto.ts +38 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -47,15 +47,22 @@ models/list-settlements-response-class.ts
|
|
|
47
47
|
models/patch-claim-request-dto.ts
|
|
48
48
|
models/patch-claim-response-class.ts
|
|
49
49
|
models/payout-details-class.ts
|
|
50
|
+
models/payout-details-dto.ts
|
|
50
51
|
models/regress-details-class.ts
|
|
52
|
+
models/regress-details-dto.ts
|
|
51
53
|
models/regulation-item-class.ts
|
|
52
54
|
models/regulation-item-response-class.ts
|
|
53
55
|
models/reserve-details-class.ts
|
|
56
|
+
models/reserve-details-dto.ts
|
|
54
57
|
models/settlement-class.ts
|
|
55
58
|
models/update-claim-partner-role-request-dto.ts
|
|
56
59
|
models/update-claim-partner-role-response-class.ts
|
|
57
60
|
models/update-claim-request-dto.ts
|
|
58
61
|
models/update-claim-response-class.ts
|
|
62
|
+
models/update-payout-details-dto.ts
|
|
63
|
+
models/update-regress-details-dto.ts
|
|
64
|
+
models/update-regulation-item-request-dto-rest.ts
|
|
65
|
+
models/update-reserve-details-dto.ts
|
|
59
66
|
models/update-settlement-request-dto.ts
|
|
60
67
|
models/update-settlement-response-class.ts
|
|
61
68
|
package.json
|
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-node@1.17.2-beta.
|
|
20
|
+
npm install @emilgroup/claim-sdk-node@1.17.2-beta.5 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/claim-sdk-node@1.17.2-beta.
|
|
24
|
+
yarn add @emilgroup/claim-sdk-node@1.17.2-beta.5
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `ClaimsApi`.
|
|
@@ -26,6 +26,8 @@ import { CreateRegulationItemRequestDto } from '../models';
|
|
|
26
26
|
import { ListRegulationsResponseClass } from '../models';
|
|
27
27
|
// @ts-ignore
|
|
28
28
|
import { RegulationItemResponseClass } from '../models';
|
|
29
|
+
// @ts-ignore
|
|
30
|
+
import { UpdateRegulationItemRequestDtoRest } from '../models';
|
|
29
31
|
// URLSearchParams not necessarily used
|
|
30
32
|
// @ts-ignore
|
|
31
33
|
import { URL, URLSearchParams } from 'url';
|
|
@@ -258,16 +260,16 @@ export const ClaimRegulationsApiAxiosParamCreator = function (configuration?: Co
|
|
|
258
260
|
* Update a regulation item status and some other fields identified by it\'s code. A Regulation item type cannot be changed once created e.g. to change a regulation from PAYOUT to RESERVE. In case of mistakes the current regulation item should be deleted and another item should be created.
|
|
259
261
|
* @summary Update the claim regulation item
|
|
260
262
|
* @param {string} code Unique identifier for the object.
|
|
261
|
-
* @param {
|
|
263
|
+
* @param {UpdateRegulationItemRequestDtoRest} updateRegulationItemRequestDtoRest
|
|
262
264
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
263
265
|
* @param {*} [options] Override http request option.
|
|
264
266
|
* @throws {RequiredError}
|
|
265
267
|
*/
|
|
266
|
-
updateClaimRegulation: async (code: string,
|
|
268
|
+
updateClaimRegulation: async (code: string, updateRegulationItemRequestDtoRest: UpdateRegulationItemRequestDtoRest, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
267
269
|
// verify required parameter 'code' is not null or undefined
|
|
268
270
|
assertParamExists('updateClaimRegulation', 'code', code)
|
|
269
|
-
// verify required parameter '
|
|
270
|
-
assertParamExists('updateClaimRegulation', '
|
|
271
|
+
// verify required parameter 'updateRegulationItemRequestDtoRest' is not null or undefined
|
|
272
|
+
assertParamExists('updateClaimRegulation', 'updateRegulationItemRequestDtoRest', updateRegulationItemRequestDtoRest)
|
|
271
273
|
const localVarPath = `/v1/claims/regulations/{code}`
|
|
272
274
|
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
273
275
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -298,7 +300,7 @@ export const ClaimRegulationsApiAxiosParamCreator = function (configuration?: Co
|
|
|
298
300
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
299
301
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
300
302
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
301
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
303
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateRegulationItemRequestDtoRest, localVarRequestOptions, configuration)
|
|
302
304
|
|
|
303
305
|
return {
|
|
304
306
|
url: toPathString(localVarUrlObj),
|
|
@@ -374,13 +376,13 @@ export const ClaimRegulationsApiFp = function(configuration?: Configuration) {
|
|
|
374
376
|
* Update a regulation item status and some other fields identified by it\'s code. A Regulation item type cannot be changed once created e.g. to change a regulation from PAYOUT to RESERVE. In case of mistakes the current regulation item should be deleted and another item should be created.
|
|
375
377
|
* @summary Update the claim regulation item
|
|
376
378
|
* @param {string} code Unique identifier for the object.
|
|
377
|
-
* @param {
|
|
379
|
+
* @param {UpdateRegulationItemRequestDtoRest} updateRegulationItemRequestDtoRest
|
|
378
380
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
379
381
|
* @param {*} [options] Override http request option.
|
|
380
382
|
* @throws {RequiredError}
|
|
381
383
|
*/
|
|
382
|
-
async updateClaimRegulation(code: string,
|
|
383
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updateClaimRegulation(code,
|
|
384
|
+
async updateClaimRegulation(code: string, updateRegulationItemRequestDtoRest: UpdateRegulationItemRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegulationItemResponseClass>> {
|
|
385
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateClaimRegulation(code, updateRegulationItemRequestDtoRest, authorization, options);
|
|
384
386
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
385
387
|
},
|
|
386
388
|
}
|
|
@@ -448,13 +450,13 @@ export const ClaimRegulationsApiFactory = function (configuration?: Configuratio
|
|
|
448
450
|
* Update a regulation item status and some other fields identified by it\'s code. A Regulation item type cannot be changed once created e.g. to change a regulation from PAYOUT to RESERVE. In case of mistakes the current regulation item should be deleted and another item should be created.
|
|
449
451
|
* @summary Update the claim regulation item
|
|
450
452
|
* @param {string} code Unique identifier for the object.
|
|
451
|
-
* @param {
|
|
453
|
+
* @param {UpdateRegulationItemRequestDtoRest} updateRegulationItemRequestDtoRest
|
|
452
454
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
453
455
|
* @param {*} [options] Override http request option.
|
|
454
456
|
* @throws {RequiredError}
|
|
455
457
|
*/
|
|
456
|
-
updateClaimRegulation(code: string,
|
|
457
|
-
return localVarFp.updateClaimRegulation(code,
|
|
458
|
+
updateClaimRegulation(code: string, updateRegulationItemRequestDtoRest: UpdateRegulationItemRequestDtoRest, authorization?: string, options?: any): AxiosPromise<RegulationItemResponseClass> {
|
|
459
|
+
return localVarFp.updateClaimRegulation(code, updateRegulationItemRequestDtoRest, authorization, options).then((request) => request(axios, basePath));
|
|
458
460
|
},
|
|
459
461
|
};
|
|
460
462
|
};
|
|
@@ -607,10 +609,10 @@ export interface ClaimRegulationsApiUpdateClaimRegulationRequest {
|
|
|
607
609
|
|
|
608
610
|
/**
|
|
609
611
|
*
|
|
610
|
-
* @type {
|
|
612
|
+
* @type {UpdateRegulationItemRequestDtoRest}
|
|
611
613
|
* @memberof ClaimRegulationsApiUpdateClaimRegulation
|
|
612
614
|
*/
|
|
613
|
-
readonly
|
|
615
|
+
readonly updateRegulationItemRequestDtoRest: UpdateRegulationItemRequestDtoRest
|
|
614
616
|
|
|
615
617
|
/**
|
|
616
618
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -684,6 +686,6 @@ export class ClaimRegulationsApi extends BaseAPI {
|
|
|
684
686
|
* @memberof ClaimRegulationsApi
|
|
685
687
|
*/
|
|
686
688
|
public updateClaimRegulation(requestParameters: ClaimRegulationsApiUpdateClaimRegulationRequest, options?: AxiosRequestConfig) {
|
|
687
|
-
return ClaimRegulationsApiFp(this.configuration).updateClaimRegulation(requestParameters.code, requestParameters.
|
|
689
|
+
return ClaimRegulationsApiFp(this.configuration).updateClaimRegulation(requestParameters.code, requestParameters.updateRegulationItemRequestDtoRest, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
688
690
|
}
|
|
689
691
|
}
|
|
@@ -15,6 +15,7 @@ import { RequestArgs, BaseAPI } from '../base';
|
|
|
15
15
|
import { CreateRegulationItemRequestDto } from '../models';
|
|
16
16
|
import { ListRegulationsResponseClass } from '../models';
|
|
17
17
|
import { RegulationItemResponseClass } from '../models';
|
|
18
|
+
import { UpdateRegulationItemRequestDtoRest } from '../models';
|
|
18
19
|
/**
|
|
19
20
|
* ClaimRegulationsApi - axios parameter creator
|
|
20
21
|
* @export
|
|
@@ -67,12 +68,12 @@ export declare const ClaimRegulationsApiAxiosParamCreator: (configuration?: Conf
|
|
|
67
68
|
* Update a regulation item status and some other fields identified by it\'s code. A Regulation item type cannot be changed once created e.g. to change a regulation from PAYOUT to RESERVE. In case of mistakes the current regulation item should be deleted and another item should be created.
|
|
68
69
|
* @summary Update the claim regulation item
|
|
69
70
|
* @param {string} code Unique identifier for the object.
|
|
70
|
-
* @param {
|
|
71
|
+
* @param {UpdateRegulationItemRequestDtoRest} updateRegulationItemRequestDtoRest
|
|
71
72
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
72
73
|
* @param {*} [options] Override http request option.
|
|
73
74
|
* @throws {RequiredError}
|
|
74
75
|
*/
|
|
75
|
-
updateClaimRegulation: (code: string,
|
|
76
|
+
updateClaimRegulation: (code: string, updateRegulationItemRequestDtoRest: UpdateRegulationItemRequestDtoRest, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
76
77
|
};
|
|
77
78
|
/**
|
|
78
79
|
* ClaimRegulationsApi - functional programming interface
|
|
@@ -126,12 +127,12 @@ export declare const ClaimRegulationsApiFp: (configuration?: Configuration) => {
|
|
|
126
127
|
* Update a regulation item status and some other fields identified by it\'s code. A Regulation item type cannot be changed once created e.g. to change a regulation from PAYOUT to RESERVE. In case of mistakes the current regulation item should be deleted and another item should be created.
|
|
127
128
|
* @summary Update the claim regulation item
|
|
128
129
|
* @param {string} code Unique identifier for the object.
|
|
129
|
-
* @param {
|
|
130
|
+
* @param {UpdateRegulationItemRequestDtoRest} updateRegulationItemRequestDtoRest
|
|
130
131
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
131
132
|
* @param {*} [options] Override http request option.
|
|
132
133
|
* @throws {RequiredError}
|
|
133
134
|
*/
|
|
134
|
-
updateClaimRegulation(code: string,
|
|
135
|
+
updateClaimRegulation(code: string, updateRegulationItemRequestDtoRest: UpdateRegulationItemRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegulationItemResponseClass>>;
|
|
135
136
|
};
|
|
136
137
|
/**
|
|
137
138
|
* ClaimRegulationsApi - factory interface
|
|
@@ -185,12 +186,12 @@ export declare const ClaimRegulationsApiFactory: (configuration?: Configuration,
|
|
|
185
186
|
* Update a regulation item status and some other fields identified by it\'s code. A Regulation item type cannot be changed once created e.g. to change a regulation from PAYOUT to RESERVE. In case of mistakes the current regulation item should be deleted and another item should be created.
|
|
186
187
|
* @summary Update the claim regulation item
|
|
187
188
|
* @param {string} code Unique identifier for the object.
|
|
188
|
-
* @param {
|
|
189
|
+
* @param {UpdateRegulationItemRequestDtoRest} updateRegulationItemRequestDtoRest
|
|
189
190
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
190
191
|
* @param {*} [options] Override http request option.
|
|
191
192
|
* @throws {RequiredError}
|
|
192
193
|
*/
|
|
193
|
-
updateClaimRegulation(code: string,
|
|
194
|
+
updateClaimRegulation(code: string, updateRegulationItemRequestDtoRest: UpdateRegulationItemRequestDtoRest, authorization?: string, options?: any): AxiosPromise<RegulationItemResponseClass>;
|
|
194
195
|
};
|
|
195
196
|
/**
|
|
196
197
|
* Request parameters for createClaimRegulation operation in ClaimRegulationsApi.
|
|
@@ -324,10 +325,10 @@ export interface ClaimRegulationsApiUpdateClaimRegulationRequest {
|
|
|
324
325
|
readonly code: string;
|
|
325
326
|
/**
|
|
326
327
|
*
|
|
327
|
-
* @type {
|
|
328
|
+
* @type {UpdateRegulationItemRequestDtoRest}
|
|
328
329
|
* @memberof ClaimRegulationsApiUpdateClaimRegulation
|
|
329
330
|
*/
|
|
330
|
-
readonly
|
|
331
|
+
readonly updateRegulationItemRequestDtoRest: UpdateRegulationItemRequestDtoRest;
|
|
331
332
|
/**
|
|
332
333
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
333
334
|
* @type {string}
|
|
@@ -321,12 +321,12 @@ var ClaimRegulationsApiAxiosParamCreator = function (configuration) {
|
|
|
321
321
|
* Update a regulation item status and some other fields identified by it\'s code. A Regulation item type cannot be changed once created e.g. to change a regulation from PAYOUT to RESERVE. In case of mistakes the current regulation item should be deleted and another item should be created.
|
|
322
322
|
* @summary Update the claim regulation item
|
|
323
323
|
* @param {string} code Unique identifier for the object.
|
|
324
|
-
* @param {
|
|
324
|
+
* @param {UpdateRegulationItemRequestDtoRest} updateRegulationItemRequestDtoRest
|
|
325
325
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
326
326
|
* @param {*} [options] Override http request option.
|
|
327
327
|
* @throws {RequiredError}
|
|
328
328
|
*/
|
|
329
|
-
updateClaimRegulation: function (code,
|
|
329
|
+
updateClaimRegulation: function (code, updateRegulationItemRequestDtoRest, authorization, options) {
|
|
330
330
|
if (options === void 0) { options = {}; }
|
|
331
331
|
return __awaiter(_this, void 0, void 0, function () {
|
|
332
332
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -335,8 +335,8 @@ var ClaimRegulationsApiAxiosParamCreator = function (configuration) {
|
|
|
335
335
|
case 0:
|
|
336
336
|
// verify required parameter 'code' is not null or undefined
|
|
337
337
|
(0, common_1.assertParamExists)('updateClaimRegulation', 'code', code);
|
|
338
|
-
// verify required parameter '
|
|
339
|
-
(0, common_1.assertParamExists)('updateClaimRegulation', '
|
|
338
|
+
// verify required parameter 'updateRegulationItemRequestDtoRest' is not null or undefined
|
|
339
|
+
(0, common_1.assertParamExists)('updateClaimRegulation', 'updateRegulationItemRequestDtoRest', updateRegulationItemRequestDtoRest);
|
|
340
340
|
localVarPath = "/v1/claims/regulations/{code}"
|
|
341
341
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
342
342
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -361,7 +361,7 @@ var ClaimRegulationsApiAxiosParamCreator = function (configuration) {
|
|
|
361
361
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
362
362
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
363
363
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
364
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
364
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateRegulationItemRequestDtoRest, localVarRequestOptions, configuration);
|
|
365
365
|
return [2 /*return*/, {
|
|
366
366
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
367
367
|
options: localVarRequestOptions,
|
|
@@ -475,17 +475,17 @@ var ClaimRegulationsApiFp = function (configuration) {
|
|
|
475
475
|
* Update a regulation item status and some other fields identified by it\'s code. A Regulation item type cannot be changed once created e.g. to change a regulation from PAYOUT to RESERVE. In case of mistakes the current regulation item should be deleted and another item should be created.
|
|
476
476
|
* @summary Update the claim regulation item
|
|
477
477
|
* @param {string} code Unique identifier for the object.
|
|
478
|
-
* @param {
|
|
478
|
+
* @param {UpdateRegulationItemRequestDtoRest} updateRegulationItemRequestDtoRest
|
|
479
479
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
480
480
|
* @param {*} [options] Override http request option.
|
|
481
481
|
* @throws {RequiredError}
|
|
482
482
|
*/
|
|
483
|
-
updateClaimRegulation: function (code,
|
|
483
|
+
updateClaimRegulation: function (code, updateRegulationItemRequestDtoRest, authorization, options) {
|
|
484
484
|
return __awaiter(this, void 0, void 0, function () {
|
|
485
485
|
var localVarAxiosArgs;
|
|
486
486
|
return __generator(this, function (_a) {
|
|
487
487
|
switch (_a.label) {
|
|
488
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateClaimRegulation(code,
|
|
488
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateClaimRegulation(code, updateRegulationItemRequestDtoRest, authorization, options)];
|
|
489
489
|
case 1:
|
|
490
490
|
localVarAxiosArgs = _a.sent();
|
|
491
491
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -558,13 +558,13 @@ var ClaimRegulationsApiFactory = function (configuration, basePath, axios) {
|
|
|
558
558
|
* Update a regulation item status and some other fields identified by it\'s code. A Regulation item type cannot be changed once created e.g. to change a regulation from PAYOUT to RESERVE. In case of mistakes the current regulation item should be deleted and another item should be created.
|
|
559
559
|
* @summary Update the claim regulation item
|
|
560
560
|
* @param {string} code Unique identifier for the object.
|
|
561
|
-
* @param {
|
|
561
|
+
* @param {UpdateRegulationItemRequestDtoRest} updateRegulationItemRequestDtoRest
|
|
562
562
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
563
563
|
* @param {*} [options] Override http request option.
|
|
564
564
|
* @throws {RequiredError}
|
|
565
565
|
*/
|
|
566
|
-
updateClaimRegulation: function (code,
|
|
567
|
-
return localVarFp.updateClaimRegulation(code,
|
|
566
|
+
updateClaimRegulation: function (code, updateRegulationItemRequestDtoRest, authorization, options) {
|
|
567
|
+
return localVarFp.updateClaimRegulation(code, updateRegulationItemRequestDtoRest, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
568
568
|
},
|
|
569
569
|
};
|
|
570
570
|
};
|
|
@@ -639,7 +639,7 @@ var ClaimRegulationsApi = /** @class */ (function (_super) {
|
|
|
639
639
|
*/
|
|
640
640
|
ClaimRegulationsApi.prototype.updateClaimRegulation = function (requestParameters, options) {
|
|
641
641
|
var _this = this;
|
|
642
|
-
return (0, exports.ClaimRegulationsApiFp)(this.configuration).updateClaimRegulation(requestParameters.code, requestParameters.
|
|
642
|
+
return (0, exports.ClaimRegulationsApiFp)(this.configuration).updateClaimRegulation(requestParameters.code, requestParameters.updateRegulationItemRequestDtoRest, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
643
643
|
};
|
|
644
644
|
return ClaimRegulationsApi;
|
|
645
645
|
}(base_1.BaseAPI));
|
|
@@ -9,6 +9,9 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { PayoutDetailsDto } from './payout-details-dto';
|
|
13
|
+
import { RegressDetailsDto } from './regress-details-dto';
|
|
14
|
+
import { ReserveDetailsDto } from './reserve-details-dto';
|
|
12
15
|
/**
|
|
13
16
|
*
|
|
14
17
|
* @export
|
|
@@ -22,7 +25,7 @@ export interface CreateRegulationItemRequestDto {
|
|
|
22
25
|
*/
|
|
23
26
|
'regulationItemType': CreateRegulationItemRequestDtoRegulationItemTypeEnum;
|
|
24
27
|
/**
|
|
25
|
-
* The amount
|
|
28
|
+
* The amount for the regulation item
|
|
26
29
|
* @type {number}
|
|
27
30
|
* @memberof CreateRegulationItemRequestDto
|
|
28
31
|
*/
|
|
@@ -45,6 +48,24 @@ export interface CreateRegulationItemRequestDto {
|
|
|
45
48
|
* @memberof CreateRegulationItemRequestDto
|
|
46
49
|
*/
|
|
47
50
|
'claimCode': string;
|
|
51
|
+
/**
|
|
52
|
+
* Details of the payout. Required if the regulation item type is payout.
|
|
53
|
+
* @type {PayoutDetailsDto}
|
|
54
|
+
* @memberof CreateRegulationItemRequestDto
|
|
55
|
+
*/
|
|
56
|
+
'payoutDetails'?: PayoutDetailsDto;
|
|
57
|
+
/**
|
|
58
|
+
* Details of the reserve. Required if the regulation item type is reserve.
|
|
59
|
+
* @type {ReserveDetailsDto}
|
|
60
|
+
* @memberof CreateRegulationItemRequestDto
|
|
61
|
+
*/
|
|
62
|
+
'reserveDetails'?: ReserveDetailsDto;
|
|
63
|
+
/**
|
|
64
|
+
* Details of the regress. Required if the regulation item type is regress.
|
|
65
|
+
* @type {RegressDetailsDto}
|
|
66
|
+
* @memberof CreateRegulationItemRequestDto
|
|
67
|
+
*/
|
|
68
|
+
'regressDetails'?: RegressDetailsDto;
|
|
48
69
|
}
|
|
49
70
|
export declare const CreateRegulationItemRequestDtoRegulationItemTypeEnum: {
|
|
50
71
|
readonly Payout: "PAYOUT";
|
package/dist/models/index.d.ts
CHANGED
|
@@ -29,14 +29,21 @@ export * from './list-settlements-response-class';
|
|
|
29
29
|
export * from './patch-claim-request-dto';
|
|
30
30
|
export * from './patch-claim-response-class';
|
|
31
31
|
export * from './payout-details-class';
|
|
32
|
+
export * from './payout-details-dto';
|
|
32
33
|
export * from './regress-details-class';
|
|
34
|
+
export * from './regress-details-dto';
|
|
33
35
|
export * from './regulation-item-class';
|
|
34
36
|
export * from './regulation-item-response-class';
|
|
35
37
|
export * from './reserve-details-class';
|
|
38
|
+
export * from './reserve-details-dto';
|
|
36
39
|
export * from './settlement-class';
|
|
37
40
|
export * from './update-claim-partner-role-request-dto';
|
|
38
41
|
export * from './update-claim-partner-role-response-class';
|
|
39
42
|
export * from './update-claim-request-dto';
|
|
40
43
|
export * from './update-claim-response-class';
|
|
44
|
+
export * from './update-payout-details-dto';
|
|
45
|
+
export * from './update-regress-details-dto';
|
|
46
|
+
export * from './update-regulation-item-request-dto-rest';
|
|
47
|
+
export * from './update-reserve-details-dto';
|
|
41
48
|
export * from './update-settlement-request-dto';
|
|
42
49
|
export * from './update-settlement-response-class';
|
package/dist/models/index.js
CHANGED
|
@@ -45,14 +45,21 @@ __exportStar(require("./list-settlements-response-class"), exports);
|
|
|
45
45
|
__exportStar(require("./patch-claim-request-dto"), exports);
|
|
46
46
|
__exportStar(require("./patch-claim-response-class"), exports);
|
|
47
47
|
__exportStar(require("./payout-details-class"), exports);
|
|
48
|
+
__exportStar(require("./payout-details-dto"), exports);
|
|
48
49
|
__exportStar(require("./regress-details-class"), exports);
|
|
50
|
+
__exportStar(require("./regress-details-dto"), exports);
|
|
49
51
|
__exportStar(require("./regulation-item-class"), exports);
|
|
50
52
|
__exportStar(require("./regulation-item-response-class"), exports);
|
|
51
53
|
__exportStar(require("./reserve-details-class"), exports);
|
|
54
|
+
__exportStar(require("./reserve-details-dto"), exports);
|
|
52
55
|
__exportStar(require("./settlement-class"), exports);
|
|
53
56
|
__exportStar(require("./update-claim-partner-role-request-dto"), exports);
|
|
54
57
|
__exportStar(require("./update-claim-partner-role-response-class"), exports);
|
|
55
58
|
__exportStar(require("./update-claim-request-dto"), exports);
|
|
56
59
|
__exportStar(require("./update-claim-response-class"), exports);
|
|
60
|
+
__exportStar(require("./update-payout-details-dto"), exports);
|
|
61
|
+
__exportStar(require("./update-regress-details-dto"), exports);
|
|
62
|
+
__exportStar(require("./update-regulation-item-request-dto-rest"), exports);
|
|
63
|
+
__exportStar(require("./update-reserve-details-dto"), exports);
|
|
57
64
|
__exportStar(require("./update-settlement-request-dto"), exports);
|
|
58
65
|
__exportStar(require("./update-settlement-response-class"), exports);
|
|
@@ -0,0 +1,60 @@
|
|
|
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 PayoutDetailsDto
|
|
16
|
+
*/
|
|
17
|
+
export interface PayoutDetailsDto {
|
|
18
|
+
/**
|
|
19
|
+
* The type of the payout.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof PayoutDetailsDto
|
|
22
|
+
*/
|
|
23
|
+
'payoutType': PayoutDetailsDtoPayoutTypeEnum;
|
|
24
|
+
/**
|
|
25
|
+
* The status of the payout.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof PayoutDetailsDto
|
|
28
|
+
*/
|
|
29
|
+
'payoutStatus': PayoutDetailsDtoPayoutStatusEnum;
|
|
30
|
+
/**
|
|
31
|
+
* Name of the recipient who would receive the payout.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof PayoutDetailsDto
|
|
34
|
+
*/
|
|
35
|
+
'recipientName': string;
|
|
36
|
+
/**
|
|
37
|
+
* IBAN of the recipient
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof PayoutDetailsDto
|
|
40
|
+
*/
|
|
41
|
+
'iban': string;
|
|
42
|
+
/**
|
|
43
|
+
* Purpose of the payout
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof PayoutDetailsDto
|
|
46
|
+
*/
|
|
47
|
+
'payoutPurpose'?: string;
|
|
48
|
+
}
|
|
49
|
+
export declare const PayoutDetailsDtoPayoutTypeEnum: {
|
|
50
|
+
readonly Real: "REAL";
|
|
51
|
+
readonly Statistical: "STATISTICAL";
|
|
52
|
+
};
|
|
53
|
+
export type PayoutDetailsDtoPayoutTypeEnum = typeof PayoutDetailsDtoPayoutTypeEnum[keyof typeof PayoutDetailsDtoPayoutTypeEnum];
|
|
54
|
+
export declare const PayoutDetailsDtoPayoutStatusEnum: {
|
|
55
|
+
readonly Pending: "PENDING";
|
|
56
|
+
readonly InProgress: "IN_PROGRESS";
|
|
57
|
+
readonly Completed: "COMPLETED";
|
|
58
|
+
readonly Failed: "FAILED";
|
|
59
|
+
};
|
|
60
|
+
export type PayoutDetailsDtoPayoutStatusEnum = typeof PayoutDetailsDtoPayoutStatusEnum[keyof typeof PayoutDetailsDtoPayoutStatusEnum];
|
|
@@ -0,0 +1,26 @@
|
|
|
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.PayoutDetailsDtoPayoutStatusEnum = exports.PayoutDetailsDtoPayoutTypeEnum = void 0;
|
|
17
|
+
exports.PayoutDetailsDtoPayoutTypeEnum = {
|
|
18
|
+
Real: 'REAL',
|
|
19
|
+
Statistical: 'STATISTICAL'
|
|
20
|
+
};
|
|
21
|
+
exports.PayoutDetailsDtoPayoutStatusEnum = {
|
|
22
|
+
Pending: 'PENDING',
|
|
23
|
+
InProgress: 'IN_PROGRESS',
|
|
24
|
+
Completed: 'COMPLETED',
|
|
25
|
+
Failed: 'FAILED'
|
|
26
|
+
};
|
|
@@ -0,0 +1,51 @@
|
|
|
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 RegressDetailsDto
|
|
16
|
+
*/
|
|
17
|
+
export interface RegressDetailsDto {
|
|
18
|
+
/**
|
|
19
|
+
* The type of recovery.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof RegressDetailsDto
|
|
22
|
+
*/
|
|
23
|
+
'recoveryType': RegressDetailsDtoRecoveryTypeEnum;
|
|
24
|
+
/**
|
|
25
|
+
* The status of recovery.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof RegressDetailsDto
|
|
28
|
+
*/
|
|
29
|
+
'recoveryStatus': RegressDetailsDtoRecoveryStatusEnum;
|
|
30
|
+
/**
|
|
31
|
+
* Optional helpful and relevant information provided by the third party can be stored in this field.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof RegressDetailsDto
|
|
34
|
+
*/
|
|
35
|
+
'thirdPartyInformation'?: string;
|
|
36
|
+
}
|
|
37
|
+
export declare const RegressDetailsDtoRecoveryTypeEnum: {
|
|
38
|
+
readonly SubrogationInitiated: "SUBROGATION_INITIATED";
|
|
39
|
+
readonly PartialRecovery: "PARTIAL_RECOVERY";
|
|
40
|
+
readonly FullRecovery: "FULL_RECOVERY";
|
|
41
|
+
readonly Adjustment: "ADJUSTMENT";
|
|
42
|
+
};
|
|
43
|
+
export type RegressDetailsDtoRecoveryTypeEnum = typeof RegressDetailsDtoRecoveryTypeEnum[keyof typeof RegressDetailsDtoRecoveryTypeEnum];
|
|
44
|
+
export declare const RegressDetailsDtoRecoveryStatusEnum: {
|
|
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 RegressDetailsDtoRecoveryStatusEnum = typeof RegressDetailsDtoRecoveryStatusEnum[keyof typeof RegressDetailsDtoRecoveryStatusEnum];
|
|
@@ -0,0 +1,29 @@
|
|
|
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.RegressDetailsDtoRecoveryStatusEnum = exports.RegressDetailsDtoRecoveryTypeEnum = void 0;
|
|
17
|
+
exports.RegressDetailsDtoRecoveryTypeEnum = {
|
|
18
|
+
SubrogationInitiated: 'SUBROGATION_INITIATED',
|
|
19
|
+
PartialRecovery: 'PARTIAL_RECOVERY',
|
|
20
|
+
FullRecovery: 'FULL_RECOVERY',
|
|
21
|
+
Adjustment: 'ADJUSTMENT'
|
|
22
|
+
};
|
|
23
|
+
exports.RegressDetailsDtoRecoveryStatusEnum = {
|
|
24
|
+
Pending: 'PENDING',
|
|
25
|
+
InProgress: 'IN_PROGRESS',
|
|
26
|
+
PartiallyRecovered: 'PARTIALLY_RECOVERED',
|
|
27
|
+
FullyRecovered: 'FULLY_RECOVERED',
|
|
28
|
+
Closed: 'CLOSED'
|
|
29
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
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 ReserveDetailsDto
|
|
16
|
+
*/
|
|
17
|
+
export interface ReserveDetailsDto {
|
|
18
|
+
/**
|
|
19
|
+
* The type of the reserve.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ReserveDetailsDto
|
|
22
|
+
*/
|
|
23
|
+
'reserveType': ReserveDetailsDtoReserveTypeEnum;
|
|
24
|
+
}
|
|
25
|
+
export declare const ReserveDetailsDtoReserveTypeEnum: {
|
|
26
|
+
readonly Initial: "INITIAL";
|
|
27
|
+
readonly Adjustment: "ADJUSTMENT";
|
|
28
|
+
};
|
|
29
|
+
export type ReserveDetailsDtoReserveTypeEnum = typeof ReserveDetailsDtoReserveTypeEnum[keyof typeof ReserveDetailsDtoReserveTypeEnum];
|
|
@@ -0,0 +1,20 @@
|
|
|
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.ReserveDetailsDtoReserveTypeEnum = void 0;
|
|
17
|
+
exports.ReserveDetailsDtoReserveTypeEnum = {
|
|
18
|
+
Initial: 'INITIAL',
|
|
19
|
+
Adjustment: 'ADJUSTMENT'
|
|
20
|
+
};
|