@emilgroup/claim-sdk 1.34.1-beta.6 → 1.35.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@1.
|
|
20
|
+
npm install @emilgroup/claim-sdk@1.35.0 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/claim-sdk@1.
|
|
24
|
+
yarn add @emilgroup/claim-sdk@1.35.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
|
/**
|
|
32
32
|
* ClaimRegulationsApi - axios parameter creator
|
|
33
33
|
* @export
|
|
@@ -256,16 +256,16 @@ export const ClaimRegulationsApiAxiosParamCreator = function (configuration?: Co
|
|
|
256
256
|
* 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\"
|
|
257
257
|
* @summary Update the claim regulation item
|
|
258
258
|
* @param {string} code Unique identifier for the object.
|
|
259
|
-
* @param {
|
|
259
|
+
* @param {UpdateRegulationItemRequestDto} updateRegulationItemRequestDto
|
|
260
260
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
261
261
|
* @param {*} [options] Override http request option.
|
|
262
262
|
* @throws {RequiredError}
|
|
263
263
|
*/
|
|
264
|
-
updateClaimRegulation: async (code: string,
|
|
264
|
+
updateClaimRegulation: async (code: string, updateRegulationItemRequestDto: UpdateRegulationItemRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
265
265
|
// verify required parameter 'code' is not null or undefined
|
|
266
266
|
assertParamExists('updateClaimRegulation', 'code', code)
|
|
267
|
-
// verify required parameter '
|
|
268
|
-
assertParamExists('updateClaimRegulation', '
|
|
267
|
+
// verify required parameter 'updateRegulationItemRequestDto' is not null or undefined
|
|
268
|
+
assertParamExists('updateClaimRegulation', 'updateRegulationItemRequestDto', updateRegulationItemRequestDto)
|
|
269
269
|
const localVarPath = `/v1/claims/regulations/{code}`
|
|
270
270
|
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
271
271
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -296,7 +296,7 @@ export const ClaimRegulationsApiAxiosParamCreator = function (configuration?: Co
|
|
|
296
296
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
297
297
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
298
298
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
299
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
299
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateRegulationItemRequestDto, localVarRequestOptions, configuration)
|
|
300
300
|
|
|
301
301
|
return {
|
|
302
302
|
url: toPathString(localVarUrlObj),
|
|
@@ -372,13 +372,13 @@ export const ClaimRegulationsApiFp = function(configuration?: Configuration) {
|
|
|
372
372
|
* 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\"
|
|
373
373
|
* @summary Update the claim regulation item
|
|
374
374
|
* @param {string} code Unique identifier for the object.
|
|
375
|
-
* @param {
|
|
375
|
+
* @param {UpdateRegulationItemRequestDto} updateRegulationItemRequestDto
|
|
376
376
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
377
377
|
* @param {*} [options] Override http request option.
|
|
378
378
|
* @throws {RequiredError}
|
|
379
379
|
*/
|
|
380
|
-
async updateClaimRegulation(code: string,
|
|
381
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updateClaimRegulation(code,
|
|
380
|
+
async updateClaimRegulation(code: string, updateRegulationItemRequestDto: UpdateRegulationItemRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegulationItemResponseClass>> {
|
|
381
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateClaimRegulation(code, updateRegulationItemRequestDto, authorization, options);
|
|
382
382
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
383
383
|
},
|
|
384
384
|
}
|
|
@@ -446,13 +446,13 @@ export const ClaimRegulationsApiFactory = function (configuration?: Configuratio
|
|
|
446
446
|
* 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\"
|
|
447
447
|
* @summary Update the claim regulation item
|
|
448
448
|
* @param {string} code Unique identifier for the object.
|
|
449
|
-
* @param {
|
|
449
|
+
* @param {UpdateRegulationItemRequestDto} updateRegulationItemRequestDto
|
|
450
450
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
451
451
|
* @param {*} [options] Override http request option.
|
|
452
452
|
* @throws {RequiredError}
|
|
453
453
|
*/
|
|
454
|
-
updateClaimRegulation(code: string,
|
|
455
|
-
return localVarFp.updateClaimRegulation(code,
|
|
454
|
+
updateClaimRegulation(code: string, updateRegulationItemRequestDto: UpdateRegulationItemRequestDto, authorization?: string, options?: any): AxiosPromise<RegulationItemResponseClass> {
|
|
455
|
+
return localVarFp.updateClaimRegulation(code, updateRegulationItemRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
456
456
|
},
|
|
457
457
|
};
|
|
458
458
|
};
|
|
@@ -605,10 +605,10 @@ export interface ClaimRegulationsApiUpdateClaimRegulationRequest {
|
|
|
605
605
|
|
|
606
606
|
/**
|
|
607
607
|
*
|
|
608
|
-
* @type {
|
|
608
|
+
* @type {UpdateRegulationItemRequestDto}
|
|
609
609
|
* @memberof ClaimRegulationsApiUpdateClaimRegulation
|
|
610
610
|
*/
|
|
611
|
-
readonly
|
|
611
|
+
readonly updateRegulationItemRequestDto: UpdateRegulationItemRequestDto
|
|
612
612
|
|
|
613
613
|
/**
|
|
614
614
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -682,6 +682,6 @@ export class ClaimRegulationsApi extends BaseAPI {
|
|
|
682
682
|
* @memberof ClaimRegulationsApi
|
|
683
683
|
*/
|
|
684
684
|
public updateClaimRegulation(requestParameters: ClaimRegulationsApiUpdateClaimRegulationRequest, options?: AxiosRequestConfig) {
|
|
685
|
-
return ClaimRegulationsApiFp(this.configuration).updateClaimRegulation(requestParameters.code, requestParameters.
|
|
685
|
+
return ClaimRegulationsApiFp(this.configuration).updateClaimRegulation(requestParameters.code, requestParameters.updateRegulationItemRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
686
686
|
}
|
|
687
687
|
}
|
|
@@ -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}
|
|
@@ -317,12 +317,12 @@ var ClaimRegulationsApiAxiosParamCreator = function (configuration) {
|
|
|
317
317
|
* 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\"
|
|
318
318
|
* @summary Update the claim regulation item
|
|
319
319
|
* @param {string} code Unique identifier for the object.
|
|
320
|
-
* @param {
|
|
320
|
+
* @param {UpdateRegulationItemRequestDto} updateRegulationItemRequestDto
|
|
321
321
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
322
322
|
* @param {*} [options] Override http request option.
|
|
323
323
|
* @throws {RequiredError}
|
|
324
324
|
*/
|
|
325
|
-
updateClaimRegulation: function (code,
|
|
325
|
+
updateClaimRegulation: function (code, updateRegulationItemRequestDto, authorization, options) {
|
|
326
326
|
if (options === void 0) { options = {}; }
|
|
327
327
|
return __awaiter(_this, void 0, void 0, function () {
|
|
328
328
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -331,8 +331,8 @@ var ClaimRegulationsApiAxiosParamCreator = function (configuration) {
|
|
|
331
331
|
case 0:
|
|
332
332
|
// verify required parameter 'code' is not null or undefined
|
|
333
333
|
(0, common_1.assertParamExists)('updateClaimRegulation', 'code', code);
|
|
334
|
-
// verify required parameter '
|
|
335
|
-
(0, common_1.assertParamExists)('updateClaimRegulation', '
|
|
334
|
+
// verify required parameter 'updateRegulationItemRequestDto' is not null or undefined
|
|
335
|
+
(0, common_1.assertParamExists)('updateClaimRegulation', 'updateRegulationItemRequestDto', updateRegulationItemRequestDto);
|
|
336
336
|
localVarPath = "/v1/claims/regulations/{code}"
|
|
337
337
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
338
338
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -357,7 +357,7 @@ var ClaimRegulationsApiAxiosParamCreator = function (configuration) {
|
|
|
357
357
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
358
358
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
359
359
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
360
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
360
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateRegulationItemRequestDto, localVarRequestOptions, configuration);
|
|
361
361
|
return [2 /*return*/, {
|
|
362
362
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
363
363
|
options: localVarRequestOptions,
|
|
@@ -471,17 +471,17 @@ var ClaimRegulationsApiFp = function (configuration) {
|
|
|
471
471
|
* 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\"
|
|
472
472
|
* @summary Update the claim regulation item
|
|
473
473
|
* @param {string} code Unique identifier for the object.
|
|
474
|
-
* @param {
|
|
474
|
+
* @param {UpdateRegulationItemRequestDto} updateRegulationItemRequestDto
|
|
475
475
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
476
476
|
* @param {*} [options] Override http request option.
|
|
477
477
|
* @throws {RequiredError}
|
|
478
478
|
*/
|
|
479
|
-
updateClaimRegulation: function (code,
|
|
479
|
+
updateClaimRegulation: function (code, updateRegulationItemRequestDto, authorization, options) {
|
|
480
480
|
return __awaiter(this, void 0, void 0, function () {
|
|
481
481
|
var localVarAxiosArgs;
|
|
482
482
|
return __generator(this, function (_a) {
|
|
483
483
|
switch (_a.label) {
|
|
484
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateClaimRegulation(code,
|
|
484
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateClaimRegulation(code, updateRegulationItemRequestDto, authorization, options)];
|
|
485
485
|
case 1:
|
|
486
486
|
localVarAxiosArgs = _a.sent();
|
|
487
487
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -554,13 +554,13 @@ var ClaimRegulationsApiFactory = function (configuration, basePath, axios) {
|
|
|
554
554
|
* 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\"
|
|
555
555
|
* @summary Update the claim regulation item
|
|
556
556
|
* @param {string} code Unique identifier for the object.
|
|
557
|
-
* @param {
|
|
557
|
+
* @param {UpdateRegulationItemRequestDto} updateRegulationItemRequestDto
|
|
558
558
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
559
559
|
* @param {*} [options] Override http request option.
|
|
560
560
|
* @throws {RequiredError}
|
|
561
561
|
*/
|
|
562
|
-
updateClaimRegulation: function (code,
|
|
563
|
-
return localVarFp.updateClaimRegulation(code,
|
|
562
|
+
updateClaimRegulation: function (code, updateRegulationItemRequestDto, authorization, options) {
|
|
563
|
+
return localVarFp.updateClaimRegulation(code, updateRegulationItemRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
564
564
|
},
|
|
565
565
|
};
|
|
566
566
|
};
|
|
@@ -635,7 +635,7 @@ var ClaimRegulationsApi = /** @class */ (function (_super) {
|
|
|
635
635
|
*/
|
|
636
636
|
ClaimRegulationsApi.prototype.updateClaimRegulation = function (requestParameters, options) {
|
|
637
637
|
var _this = this;
|
|
638
|
-
return (0, exports.ClaimRegulationsApiFp)(this.configuration).updateClaimRegulation(requestParameters.code, requestParameters.
|
|
638
|
+
return (0, exports.ClaimRegulationsApiFp)(this.configuration).updateClaimRegulation(requestParameters.code, requestParameters.updateRegulationItemRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
639
639
|
};
|
|
640
640
|
return ClaimRegulationsApi;
|
|
641
641
|
}(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
|
|