@emilgroup/claim-sdk-node 1.33.1-beta.6 → 1.34.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +1 -1
- package/README.md +2 -2
- package/api/claim-regulations-api.ts +15 -15
- package/dist/api/claim-regulations-api.d.ts +9 -9
- package/dist/api/claim-regulations-api.js +12 -12
- package/dist/models/index.d.ts +1 -1
- package/dist/models/index.js +1 -1
- package/dist/models/{update-regulation-item-request-dto-rest.d.ts → update-regulation-item-request-dto.d.ts} +13 -13
- package/dist/models/{update-regulation-item-request-dto-rest.js → update-regulation-item-request-dto.js} +2 -2
- package/models/index.ts +1 -1
- package/models/{update-regulation-item-request-dto-rest.ts → update-regulation-item-request-dto.ts} +13 -13
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -62,7 +62,7 @@ models/update-claim-request-dto.ts
|
|
|
62
62
|
models/update-claim-response-class.ts
|
|
63
63
|
models/update-payout-details-dto.ts
|
|
64
64
|
models/update-regress-details-dto.ts
|
|
65
|
-
models/update-regulation-item-request-dto
|
|
65
|
+
models/update-regulation-item-request-dto.ts
|
|
66
66
|
models/update-reserve-details-dto.ts
|
|
67
67
|
models/update-settlement-request-dto.ts
|
|
68
68
|
models/update-settlement-response-class.ts
|
package/README.md
CHANGED
|
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
|
|
|
17
17
|
Navigate to the folder of your consuming project and run one of the following commands:
|
|
18
18
|
|
|
19
19
|
```
|
|
20
|
-
npm install @emilgroup/claim-sdk-node@1.
|
|
20
|
+
npm install @emilgroup/claim-sdk-node@1.34.0 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/claim-sdk-node@1.
|
|
24
|
+
yarn add @emilgroup/claim-sdk-node@1.34.0
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `ClaimsApi`.
|
|
@@ -27,7 +27,7 @@ import { ListRegulationsResponseClass } from '../models';
|
|
|
27
27
|
// @ts-ignore
|
|
28
28
|
import { RegulationItemResponseClass } from '../models';
|
|
29
29
|
// @ts-ignore
|
|
30
|
-
import {
|
|
30
|
+
import { UpdateRegulationItemRequestDto } from '../models';
|
|
31
31
|
// URLSearchParams not necessarily used
|
|
32
32
|
// @ts-ignore
|
|
33
33
|
import { URL, URLSearchParams } from 'url';
|
|
@@ -260,16 +260,16 @@ export const ClaimRegulationsApiAxiosParamCreator = function (configuration?: Co
|
|
|
260
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. **Required Permissions** \"claim-management.regulations.update\"
|
|
261
261
|
* @summary Update the claim regulation item
|
|
262
262
|
* @param {string} code Unique identifier for the object.
|
|
263
|
-
* @param {
|
|
263
|
+
* @param {UpdateRegulationItemRequestDto} updateRegulationItemRequestDto
|
|
264
264
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
265
265
|
* @param {*} [options] Override http request option.
|
|
266
266
|
* @throws {RequiredError}
|
|
267
267
|
*/
|
|
268
|
-
updateClaimRegulation: async (code: string,
|
|
268
|
+
updateClaimRegulation: async (code: string, updateRegulationItemRequestDto: UpdateRegulationItemRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
269
269
|
// verify required parameter 'code' is not null or undefined
|
|
270
270
|
assertParamExists('updateClaimRegulation', 'code', code)
|
|
271
|
-
// verify required parameter '
|
|
272
|
-
assertParamExists('updateClaimRegulation', '
|
|
271
|
+
// verify required parameter 'updateRegulationItemRequestDto' is not null or undefined
|
|
272
|
+
assertParamExists('updateClaimRegulation', 'updateRegulationItemRequestDto', updateRegulationItemRequestDto)
|
|
273
273
|
const localVarPath = `/v1/claims/regulations/{code}`
|
|
274
274
|
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
275
275
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -300,7 +300,7 @@ export const ClaimRegulationsApiAxiosParamCreator = function (configuration?: Co
|
|
|
300
300
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
301
301
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
302
302
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
303
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
303
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateRegulationItemRequestDto, localVarRequestOptions, configuration)
|
|
304
304
|
|
|
305
305
|
return {
|
|
306
306
|
url: toPathString(localVarUrlObj),
|
|
@@ -376,13 +376,13 @@ export const ClaimRegulationsApiFp = function(configuration?: Configuration) {
|
|
|
376
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. **Required Permissions** \"claim-management.regulations.update\"
|
|
377
377
|
* @summary Update the claim regulation item
|
|
378
378
|
* @param {string} code Unique identifier for the object.
|
|
379
|
-
* @param {
|
|
379
|
+
* @param {UpdateRegulationItemRequestDto} updateRegulationItemRequestDto
|
|
380
380
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
381
381
|
* @param {*} [options] Override http request option.
|
|
382
382
|
* @throws {RequiredError}
|
|
383
383
|
*/
|
|
384
|
-
async updateClaimRegulation(code: string,
|
|
385
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updateClaimRegulation(code,
|
|
384
|
+
async updateClaimRegulation(code: string, updateRegulationItemRequestDto: UpdateRegulationItemRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegulationItemResponseClass>> {
|
|
385
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateClaimRegulation(code, updateRegulationItemRequestDto, authorization, options);
|
|
386
386
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
387
387
|
},
|
|
388
388
|
}
|
|
@@ -450,13 +450,13 @@ export const ClaimRegulationsApiFactory = function (configuration?: Configuratio
|
|
|
450
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. **Required Permissions** \"claim-management.regulations.update\"
|
|
451
451
|
* @summary Update the claim regulation item
|
|
452
452
|
* @param {string} code Unique identifier for the object.
|
|
453
|
-
* @param {
|
|
453
|
+
* @param {UpdateRegulationItemRequestDto} updateRegulationItemRequestDto
|
|
454
454
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
455
455
|
* @param {*} [options] Override http request option.
|
|
456
456
|
* @throws {RequiredError}
|
|
457
457
|
*/
|
|
458
|
-
updateClaimRegulation(code: string,
|
|
459
|
-
return localVarFp.updateClaimRegulation(code,
|
|
458
|
+
updateClaimRegulation(code: string, updateRegulationItemRequestDto: UpdateRegulationItemRequestDto, authorization?: string, options?: any): AxiosPromise<RegulationItemResponseClass> {
|
|
459
|
+
return localVarFp.updateClaimRegulation(code, updateRegulationItemRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
460
460
|
},
|
|
461
461
|
};
|
|
462
462
|
};
|
|
@@ -609,10 +609,10 @@ export interface ClaimRegulationsApiUpdateClaimRegulationRequest {
|
|
|
609
609
|
|
|
610
610
|
/**
|
|
611
611
|
*
|
|
612
|
-
* @type {
|
|
612
|
+
* @type {UpdateRegulationItemRequestDto}
|
|
613
613
|
* @memberof ClaimRegulationsApiUpdateClaimRegulation
|
|
614
614
|
*/
|
|
615
|
-
readonly
|
|
615
|
+
readonly updateRegulationItemRequestDto: UpdateRegulationItemRequestDto
|
|
616
616
|
|
|
617
617
|
/**
|
|
618
618
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -686,6 +686,6 @@ export class ClaimRegulationsApi extends BaseAPI {
|
|
|
686
686
|
* @memberof ClaimRegulationsApi
|
|
687
687
|
*/
|
|
688
688
|
public updateClaimRegulation(requestParameters: ClaimRegulationsApiUpdateClaimRegulationRequest, options?: AxiosRequestConfig) {
|
|
689
|
-
return ClaimRegulationsApiFp(this.configuration).updateClaimRegulation(requestParameters.code, requestParameters.
|
|
689
|
+
return ClaimRegulationsApiFp(this.configuration).updateClaimRegulation(requestParameters.code, requestParameters.updateRegulationItemRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
690
690
|
}
|
|
691
691
|
}
|
|
@@ -15,7 +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 {
|
|
18
|
+
import { UpdateRegulationItemRequestDto } from '../models';
|
|
19
19
|
/**
|
|
20
20
|
* ClaimRegulationsApi - axios parameter creator
|
|
21
21
|
* @export
|
|
@@ -68,12 +68,12 @@ export declare const ClaimRegulationsApiAxiosParamCreator: (configuration?: Conf
|
|
|
68
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. **Required Permissions** \"claim-management.regulations.update\"
|
|
69
69
|
* @summary Update the claim regulation item
|
|
70
70
|
* @param {string} code Unique identifier for the object.
|
|
71
|
-
* @param {
|
|
71
|
+
* @param {UpdateRegulationItemRequestDto} updateRegulationItemRequestDto
|
|
72
72
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
73
73
|
* @param {*} [options] Override http request option.
|
|
74
74
|
* @throws {RequiredError}
|
|
75
75
|
*/
|
|
76
|
-
updateClaimRegulation: (code: string,
|
|
76
|
+
updateClaimRegulation: (code: string, updateRegulationItemRequestDto: UpdateRegulationItemRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
77
77
|
};
|
|
78
78
|
/**
|
|
79
79
|
* ClaimRegulationsApi - functional programming interface
|
|
@@ -127,12 +127,12 @@ export declare const ClaimRegulationsApiFp: (configuration?: Configuration) => {
|
|
|
127
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. **Required Permissions** \"claim-management.regulations.update\"
|
|
128
128
|
* @summary Update the claim regulation item
|
|
129
129
|
* @param {string} code Unique identifier for the object.
|
|
130
|
-
* @param {
|
|
130
|
+
* @param {UpdateRegulationItemRequestDto} updateRegulationItemRequestDto
|
|
131
131
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
132
132
|
* @param {*} [options] Override http request option.
|
|
133
133
|
* @throws {RequiredError}
|
|
134
134
|
*/
|
|
135
|
-
updateClaimRegulation(code: string,
|
|
135
|
+
updateClaimRegulation(code: string, updateRegulationItemRequestDto: UpdateRegulationItemRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegulationItemResponseClass>>;
|
|
136
136
|
};
|
|
137
137
|
/**
|
|
138
138
|
* ClaimRegulationsApi - factory interface
|
|
@@ -186,12 +186,12 @@ export declare const ClaimRegulationsApiFactory: (configuration?: Configuration,
|
|
|
186
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. **Required Permissions** \"claim-management.regulations.update\"
|
|
187
187
|
* @summary Update the claim regulation item
|
|
188
188
|
* @param {string} code Unique identifier for the object.
|
|
189
|
-
* @param {
|
|
189
|
+
* @param {UpdateRegulationItemRequestDto} updateRegulationItemRequestDto
|
|
190
190
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
191
191
|
* @param {*} [options] Override http request option.
|
|
192
192
|
* @throws {RequiredError}
|
|
193
193
|
*/
|
|
194
|
-
updateClaimRegulation(code: string,
|
|
194
|
+
updateClaimRegulation(code: string, updateRegulationItemRequestDto: UpdateRegulationItemRequestDto, authorization?: string, options?: any): AxiosPromise<RegulationItemResponseClass>;
|
|
195
195
|
};
|
|
196
196
|
/**
|
|
197
197
|
* Request parameters for createClaimRegulation operation in ClaimRegulationsApi.
|
|
@@ -325,10 +325,10 @@ export interface ClaimRegulationsApiUpdateClaimRegulationRequest {
|
|
|
325
325
|
readonly code: string;
|
|
326
326
|
/**
|
|
327
327
|
*
|
|
328
|
-
* @type {
|
|
328
|
+
* @type {UpdateRegulationItemRequestDto}
|
|
329
329
|
* @memberof ClaimRegulationsApiUpdateClaimRegulation
|
|
330
330
|
*/
|
|
331
|
-
readonly
|
|
331
|
+
readonly updateRegulationItemRequestDto: UpdateRegulationItemRequestDto;
|
|
332
332
|
/**
|
|
333
333
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
334
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. **Required Permissions** \"claim-management.regulations.update\"
|
|
322
322
|
* @summary Update the claim regulation item
|
|
323
323
|
* @param {string} code Unique identifier for the object.
|
|
324
|
-
* @param {
|
|
324
|
+
* @param {UpdateRegulationItemRequestDto} updateRegulationItemRequestDto
|
|
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, updateRegulationItemRequestDto, 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 'updateRegulationItemRequestDto' is not null or undefined
|
|
339
|
+
(0, common_1.assertParamExists)('updateClaimRegulation', 'updateRegulationItemRequestDto', updateRegulationItemRequestDto);
|
|
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)(updateRegulationItemRequestDto, 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. **Required Permissions** \"claim-management.regulations.update\"
|
|
476
476
|
* @summary Update the claim regulation item
|
|
477
477
|
* @param {string} code Unique identifier for the object.
|
|
478
|
-
* @param {
|
|
478
|
+
* @param {UpdateRegulationItemRequestDto} updateRegulationItemRequestDto
|
|
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, updateRegulationItemRequestDto, 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, updateRegulationItemRequestDto, 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. **Required Permissions** \"claim-management.regulations.update\"
|
|
559
559
|
* @summary Update the claim regulation item
|
|
560
560
|
* @param {string} code Unique identifier for the object.
|
|
561
|
-
* @param {
|
|
561
|
+
* @param {UpdateRegulationItemRequestDto} updateRegulationItemRequestDto
|
|
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, updateRegulationItemRequestDto, authorization, options) {
|
|
567
|
+
return localVarFp.updateClaimRegulation(code, updateRegulationItemRequestDto, 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.updateRegulationItemRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
643
643
|
};
|
|
644
644
|
return ClaimRegulationsApi;
|
|
645
645
|
}(base_1.BaseAPI));
|
package/dist/models/index.d.ts
CHANGED
|
@@ -44,7 +44,7 @@ export * from './update-claim-request-dto';
|
|
|
44
44
|
export * from './update-claim-response-class';
|
|
45
45
|
export * from './update-payout-details-dto';
|
|
46
46
|
export * from './update-regress-details-dto';
|
|
47
|
-
export * from './update-regulation-item-request-dto
|
|
47
|
+
export * from './update-regulation-item-request-dto';
|
|
48
48
|
export * from './update-reserve-details-dto';
|
|
49
49
|
export * from './update-settlement-request-dto';
|
|
50
50
|
export * from './update-settlement-response-class';
|
package/dist/models/index.js
CHANGED
|
@@ -60,7 +60,7 @@ __exportStar(require("./update-claim-request-dto"), exports);
|
|
|
60
60
|
__exportStar(require("./update-claim-response-class"), exports);
|
|
61
61
|
__exportStar(require("./update-payout-details-dto"), exports);
|
|
62
62
|
__exportStar(require("./update-regress-details-dto"), exports);
|
|
63
|
-
__exportStar(require("./update-regulation-item-request-dto
|
|
63
|
+
__exportStar(require("./update-regulation-item-request-dto"), exports);
|
|
64
64
|
__exportStar(require("./update-reserve-details-dto"), exports);
|
|
65
65
|
__exportStar(require("./update-settlement-request-dto"), exports);
|
|
66
66
|
__exportStar(require("./update-settlement-response-class"), exports);
|
|
@@ -15,61 +15,61 @@ import { UpdateReserveDetailsDto } from './update-reserve-details-dto';
|
|
|
15
15
|
/**
|
|
16
16
|
*
|
|
17
17
|
* @export
|
|
18
|
-
* @interface
|
|
18
|
+
* @interface UpdateRegulationItemRequestDto
|
|
19
19
|
*/
|
|
20
|
-
export interface
|
|
20
|
+
export interface UpdateRegulationItemRequestDto {
|
|
21
21
|
/**
|
|
22
22
|
* Indicates the kind of regulation item - regulation items can be of type payout, reserve or regress. When updating must be the same as the created regulation item type.
|
|
23
23
|
* @type {string}
|
|
24
|
-
* @memberof
|
|
24
|
+
* @memberof UpdateRegulationItemRequestDto
|
|
25
25
|
*/
|
|
26
|
-
'regulationItemType':
|
|
26
|
+
'regulationItemType': UpdateRegulationItemRequestDtoRegulationItemTypeEnum;
|
|
27
27
|
/**
|
|
28
28
|
* The amount for the regulation item. Must be a number with up to 2 decimal places. If not provided, the amount will not be updated.
|
|
29
29
|
* @type {number}
|
|
30
|
-
* @memberof
|
|
30
|
+
* @memberof UpdateRegulationItemRequestDto
|
|
31
31
|
*/
|
|
32
32
|
'amount'?: number;
|
|
33
33
|
/**
|
|
34
34
|
* The currency for the regulation item. Must be a valid currency code.
|
|
35
35
|
* @type {string}
|
|
36
|
-
* @memberof
|
|
36
|
+
* @memberof UpdateRegulationItemRequestDto
|
|
37
37
|
*/
|
|
38
38
|
'currency'?: string;
|
|
39
39
|
/**
|
|
40
40
|
* Optional metadata for the regulation item, can be used to store additional information that does not map to the other fields directly.
|
|
41
41
|
* @type {object}
|
|
42
|
-
* @memberof
|
|
42
|
+
* @memberof UpdateRegulationItemRequestDto
|
|
43
43
|
*/
|
|
44
44
|
'metadata'?: object;
|
|
45
45
|
/**
|
|
46
46
|
* The booking date for the regulation item. Must be a valid ISO 8601 date. If not provided, the booking date will not be updated.
|
|
47
47
|
* @type {string}
|
|
48
|
-
* @memberof
|
|
48
|
+
* @memberof UpdateRegulationItemRequestDto
|
|
49
49
|
*/
|
|
50
50
|
'bookingDate'?: string;
|
|
51
51
|
/**
|
|
52
52
|
* The payout details for the regulation item. Must be a valid payout details object.At least an empty object is required when updating a payout item. But if the regulation item type is not payout, this field is not required.
|
|
53
53
|
* @type {UpdatePayoutDetailsDto}
|
|
54
|
-
* @memberof
|
|
54
|
+
* @memberof UpdateRegulationItemRequestDto
|
|
55
55
|
*/
|
|
56
56
|
'payoutDetails'?: UpdatePayoutDetailsDto;
|
|
57
57
|
/**
|
|
58
58
|
* The reserve details for the regulation item. Must be a valid reserve details object.At least an empty object is required when updating a reserve item. But if the regulation item type is not reserve, this field is not required.
|
|
59
59
|
* @type {UpdateReserveDetailsDto}
|
|
60
|
-
* @memberof
|
|
60
|
+
* @memberof UpdateRegulationItemRequestDto
|
|
61
61
|
*/
|
|
62
62
|
'reserveDetails'?: UpdateReserveDetailsDto;
|
|
63
63
|
/**
|
|
64
64
|
* 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.
|
|
65
65
|
* @type {UpdateRegressDetailsDto}
|
|
66
|
-
* @memberof
|
|
66
|
+
* @memberof UpdateRegulationItemRequestDto
|
|
67
67
|
*/
|
|
68
68
|
'regressDetails'?: UpdateRegressDetailsDto;
|
|
69
69
|
}
|
|
70
|
-
export declare const
|
|
70
|
+
export declare const UpdateRegulationItemRequestDtoRegulationItemTypeEnum: {
|
|
71
71
|
readonly Payout: "PAYOUT";
|
|
72
72
|
readonly Regress: "REGRESS";
|
|
73
73
|
readonly Reserve: "RESERVE";
|
|
74
74
|
};
|
|
75
|
-
export type
|
|
75
|
+
export type UpdateRegulationItemRequestDtoRegulationItemTypeEnum = typeof UpdateRegulationItemRequestDtoRegulationItemTypeEnum[keyof typeof UpdateRegulationItemRequestDtoRegulationItemTypeEnum];
|
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
17
|
-
exports.
|
|
16
|
+
exports.UpdateRegulationItemRequestDtoRegulationItemTypeEnum = void 0;
|
|
17
|
+
exports.UpdateRegulationItemRequestDtoRegulationItemTypeEnum = {
|
|
18
18
|
Payout: 'PAYOUT',
|
|
19
19
|
Regress: 'REGRESS',
|
|
20
20
|
Reserve: 'RESERVE'
|
package/models/index.ts
CHANGED
|
@@ -44,7 +44,7 @@ export * from './update-claim-request-dto';
|
|
|
44
44
|
export * from './update-claim-response-class';
|
|
45
45
|
export * from './update-payout-details-dto';
|
|
46
46
|
export * from './update-regress-details-dto';
|
|
47
|
-
export * from './update-regulation-item-request-dto
|
|
47
|
+
export * from './update-regulation-item-request-dto';
|
|
48
48
|
export * from './update-reserve-details-dto';
|
|
49
49
|
export * from './update-settlement-request-dto';
|
|
50
50
|
export * from './update-settlement-response-class';
|
package/models/{update-regulation-item-request-dto-rest.ts → update-regulation-item-request-dto.ts}
RENAMED
|
@@ -20,65 +20,65 @@ import { UpdateReserveDetailsDto } from './update-reserve-details-dto';
|
|
|
20
20
|
/**
|
|
21
21
|
*
|
|
22
22
|
* @export
|
|
23
|
-
* @interface
|
|
23
|
+
* @interface UpdateRegulationItemRequestDto
|
|
24
24
|
*/
|
|
25
|
-
export interface
|
|
25
|
+
export interface UpdateRegulationItemRequestDto {
|
|
26
26
|
/**
|
|
27
27
|
* Indicates the kind of regulation item - regulation items can be of type payout, reserve or regress. When updating must be the same as the created regulation item type.
|
|
28
28
|
* @type {string}
|
|
29
|
-
* @memberof
|
|
29
|
+
* @memberof UpdateRegulationItemRequestDto
|
|
30
30
|
*/
|
|
31
|
-
'regulationItemType':
|
|
31
|
+
'regulationItemType': UpdateRegulationItemRequestDtoRegulationItemTypeEnum;
|
|
32
32
|
/**
|
|
33
33
|
* The amount for the regulation item. Must be a number with up to 2 decimal places. If not provided, the amount will not be updated.
|
|
34
34
|
* @type {number}
|
|
35
|
-
* @memberof
|
|
35
|
+
* @memberof UpdateRegulationItemRequestDto
|
|
36
36
|
*/
|
|
37
37
|
'amount'?: number;
|
|
38
38
|
/**
|
|
39
39
|
* The currency for the regulation item. Must be a valid currency code.
|
|
40
40
|
* @type {string}
|
|
41
|
-
* @memberof
|
|
41
|
+
* @memberof UpdateRegulationItemRequestDto
|
|
42
42
|
*/
|
|
43
43
|
'currency'?: string;
|
|
44
44
|
/**
|
|
45
45
|
* Optional metadata for the regulation item, can be used to store additional information that does not map to the other fields directly.
|
|
46
46
|
* @type {object}
|
|
47
|
-
* @memberof
|
|
47
|
+
* @memberof UpdateRegulationItemRequestDto
|
|
48
48
|
*/
|
|
49
49
|
'metadata'?: object;
|
|
50
50
|
/**
|
|
51
51
|
* The booking date for the regulation item. Must be a valid ISO 8601 date. If not provided, the booking date will not be updated.
|
|
52
52
|
* @type {string}
|
|
53
|
-
* @memberof
|
|
53
|
+
* @memberof UpdateRegulationItemRequestDto
|
|
54
54
|
*/
|
|
55
55
|
'bookingDate'?: string;
|
|
56
56
|
/**
|
|
57
57
|
* The payout details for the regulation item. Must be a valid payout details object.At least an empty object is required when updating a payout item. But if the regulation item type is not payout, this field is not required.
|
|
58
58
|
* @type {UpdatePayoutDetailsDto}
|
|
59
|
-
* @memberof
|
|
59
|
+
* @memberof UpdateRegulationItemRequestDto
|
|
60
60
|
*/
|
|
61
61
|
'payoutDetails'?: UpdatePayoutDetailsDto;
|
|
62
62
|
/**
|
|
63
63
|
* The reserve details for the regulation item. Must be a valid reserve details object.At least an empty object is required when updating a reserve item. But if the regulation item type is not reserve, this field is not required.
|
|
64
64
|
* @type {UpdateReserveDetailsDto}
|
|
65
|
-
* @memberof
|
|
65
|
+
* @memberof UpdateRegulationItemRequestDto
|
|
66
66
|
*/
|
|
67
67
|
'reserveDetails'?: UpdateReserveDetailsDto;
|
|
68
68
|
/**
|
|
69
69
|
* 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.
|
|
70
70
|
* @type {UpdateRegressDetailsDto}
|
|
71
|
-
* @memberof
|
|
71
|
+
* @memberof UpdateRegulationItemRequestDto
|
|
72
72
|
*/
|
|
73
73
|
'regressDetails'?: UpdateRegressDetailsDto;
|
|
74
74
|
}
|
|
75
75
|
|
|
76
|
-
export const
|
|
76
|
+
export const UpdateRegulationItemRequestDtoRegulationItemTypeEnum = {
|
|
77
77
|
Payout: 'PAYOUT',
|
|
78
78
|
Regress: 'REGRESS',
|
|
79
79
|
Reserve: 'RESERVE'
|
|
80
80
|
} as const;
|
|
81
81
|
|
|
82
|
-
export type
|
|
82
|
+
export type UpdateRegulationItemRequestDtoRegulationItemTypeEnum = typeof UpdateRegulationItemRequestDtoRegulationItemTypeEnum[keyof typeof UpdateRegulationItemRequestDtoRegulationItemTypeEnum];
|
|
83
83
|
|
|
84
84
|
|