@emilgroup/claim-sdk 1.17.2-beta.2 → 1.17.2-beta.3
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 +2 -1
- package/README.md +2 -2
- package/api/claim-regulations-api.ts +353 -60
- package/api/{default-api.ts → health-check-api.ts} +21 -17
- package/api.ts +2 -2
- package/dist/api/claim-regulations-api.d.ts +208 -51
- package/dist/api/claim-regulations-api.js +305 -33
- package/dist/api/health-check-api.d.ts +70 -0
- package/dist/api/{default-api.js → health-check-api.js} +30 -26
- package/dist/api.d.ts +1 -1
- package/dist/api.js +1 -1
- package/dist/models/create-regulation-item-request-dto.d.ts +20 -6
- package/dist/models/create-regulation-item-request-dto.js +14 -1
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/dist/models/list-regulations-response-class.d.ts +31 -0
- package/dist/models/list-regulations-response-class.js +15 -0
- package/dist/models/payout-details-class.d.ts +1 -1
- package/dist/models/regulation-item-class.d.ts +5 -4
- package/models/create-regulation-item-request-dto.ts +21 -6
- package/models/index.ts +1 -0
- package/models/list-regulations-response-class.ts +37 -0
- package/models/payout-details-class.ts +1 -1
- package/models/regulation-item-class.ts +5 -4
- package/package.json +1 -1
- package/dist/api/default-api.d.ts +0 -66
package/dist/api.js
CHANGED
|
@@ -32,5 +32,5 @@ __exportStar(require("./api/claim-partners-api"), exports);
|
|
|
32
32
|
__exportStar(require("./api/claim-regulations-api"), exports);
|
|
33
33
|
__exportStar(require("./api/claim-statuses-api"), exports);
|
|
34
34
|
__exportStar(require("./api/claims-api"), exports);
|
|
35
|
-
__exportStar(require("./api/
|
|
35
|
+
__exportStar(require("./api/health-check-api"), exports);
|
|
36
36
|
__exportStar(require("./api/settlements-api"), exports);
|
|
@@ -19,31 +19,31 @@ import { ReserveDetailsDto } from './reserve-details-dto';
|
|
|
19
19
|
*/
|
|
20
20
|
export interface CreateRegulationItemRequestDto {
|
|
21
21
|
/**
|
|
22
|
-
*
|
|
22
|
+
* Indicates the kind of regulation item - regulation items can be of type payout, reserve or regress
|
|
23
23
|
* @type {string}
|
|
24
24
|
* @memberof CreateRegulationItemRequestDto
|
|
25
25
|
*/
|
|
26
26
|
'regulationItemType': CreateRegulationItemRequestDtoRegulationItemTypeEnum;
|
|
27
27
|
/**
|
|
28
|
-
*
|
|
28
|
+
* The amount of the regulation item
|
|
29
29
|
* @type {number}
|
|
30
30
|
* @memberof CreateRegulationItemRequestDto
|
|
31
31
|
*/
|
|
32
32
|
'amount': number;
|
|
33
33
|
/**
|
|
34
|
-
*
|
|
34
|
+
* The currency of the regulation item
|
|
35
35
|
* @type {string}
|
|
36
36
|
* @memberof CreateRegulationItemRequestDto
|
|
37
37
|
*/
|
|
38
|
-
'currency':
|
|
38
|
+
'currency': CreateRegulationItemRequestDtoCurrencyEnum;
|
|
39
39
|
/**
|
|
40
|
-
*
|
|
40
|
+
* Booking date for the regulation item
|
|
41
41
|
* @type {string}
|
|
42
42
|
* @memberof CreateRegulationItemRequestDto
|
|
43
43
|
*/
|
|
44
44
|
'bookingDate': string;
|
|
45
45
|
/**
|
|
46
|
-
*
|
|
46
|
+
* Unique identifier of the Claim that this object belongs to.
|
|
47
47
|
* @type {string}
|
|
48
48
|
* @memberof CreateRegulationItemRequestDto
|
|
49
49
|
*/
|
|
@@ -73,3 +73,17 @@ export declare const CreateRegulationItemRequestDtoRegulationItemTypeEnum: {
|
|
|
73
73
|
readonly Reserve: "RESERVE";
|
|
74
74
|
};
|
|
75
75
|
export type CreateRegulationItemRequestDtoRegulationItemTypeEnum = typeof CreateRegulationItemRequestDtoRegulationItemTypeEnum[keyof typeof CreateRegulationItemRequestDtoRegulationItemTypeEnum];
|
|
76
|
+
export declare const CreateRegulationItemRequestDtoCurrencyEnum: {
|
|
77
|
+
readonly Eur: "EUR";
|
|
78
|
+
readonly Usd: "USD";
|
|
79
|
+
readonly Gbp: "GBP";
|
|
80
|
+
readonly Chf: "CHF";
|
|
81
|
+
readonly Pln: "PLN";
|
|
82
|
+
readonly Aud: "AUD";
|
|
83
|
+
readonly Cad: "CAD";
|
|
84
|
+
readonly Ddk: "DDK";
|
|
85
|
+
readonly Huf: "HUF";
|
|
86
|
+
readonly Nok: "NOK";
|
|
87
|
+
readonly Sek: "SEK";
|
|
88
|
+
};
|
|
89
|
+
export type CreateRegulationItemRequestDtoCurrencyEnum = typeof CreateRegulationItemRequestDtoCurrencyEnum[keyof typeof CreateRegulationItemRequestDtoCurrencyEnum];
|
|
@@ -13,9 +13,22 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.CreateRegulationItemRequestDtoRegulationItemTypeEnum = void 0;
|
|
16
|
+
exports.CreateRegulationItemRequestDtoCurrencyEnum = exports.CreateRegulationItemRequestDtoRegulationItemTypeEnum = void 0;
|
|
17
17
|
exports.CreateRegulationItemRequestDtoRegulationItemTypeEnum = {
|
|
18
18
|
Payout: 'PAYOUT',
|
|
19
19
|
Regress: 'REGRESS',
|
|
20
20
|
Reserve: 'RESERVE'
|
|
21
21
|
};
|
|
22
|
+
exports.CreateRegulationItemRequestDtoCurrencyEnum = {
|
|
23
|
+
Eur: 'EUR',
|
|
24
|
+
Usd: 'USD',
|
|
25
|
+
Gbp: 'GBP',
|
|
26
|
+
Chf: 'CHF',
|
|
27
|
+
Pln: 'PLN',
|
|
28
|
+
Aud: 'AUD',
|
|
29
|
+
Cad: 'CAD',
|
|
30
|
+
Ddk: 'DDK',
|
|
31
|
+
Huf: 'HUF',
|
|
32
|
+
Nok: 'NOK',
|
|
33
|
+
Sek: 'SEK'
|
|
34
|
+
};
|
package/dist/models/index.d.ts
CHANGED
|
@@ -24,6 +24,7 @@ export * from './list-claim-partner-roles-response-class';
|
|
|
24
24
|
export * from './list-claim-partners-response-class';
|
|
25
25
|
export * from './list-claim-statuses-response-class';
|
|
26
26
|
export * from './list-claims-response-class';
|
|
27
|
+
export * from './list-regulations-response-class';
|
|
27
28
|
export * from './list-settlements-response-class';
|
|
28
29
|
export * from './patch-claim-request-dto';
|
|
29
30
|
export * from './patch-claim-response-class';
|
package/dist/models/index.js
CHANGED
|
@@ -40,6 +40,7 @@ __exportStar(require("./list-claim-partner-roles-response-class"), exports);
|
|
|
40
40
|
__exportStar(require("./list-claim-partners-response-class"), exports);
|
|
41
41
|
__exportStar(require("./list-claim-statuses-response-class"), exports);
|
|
42
42
|
__exportStar(require("./list-claims-response-class"), exports);
|
|
43
|
+
__exportStar(require("./list-regulations-response-class"), exports);
|
|
43
44
|
__exportStar(require("./list-settlements-response-class"), exports);
|
|
44
45
|
__exportStar(require("./patch-claim-request-dto"), exports);
|
|
45
46
|
__exportStar(require("./patch-claim-response-class"), exports);
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL ClaimService
|
|
3
|
+
* The EMIL ClaimService API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { RegulationItemClass } from './regulation-item-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ListRegulationsResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface ListRegulationsResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* The list of claim regulations.
|
|
21
|
+
* @type {Array<RegulationItemClass>}
|
|
22
|
+
* @memberof ListRegulationsResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'items': Array<RegulationItemClass>;
|
|
25
|
+
/**
|
|
26
|
+
* Next page token.
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ListRegulationsResponseClass
|
|
29
|
+
*/
|
|
30
|
+
'nextPageToken': string;
|
|
31
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL ClaimService
|
|
6
|
+
* The EMIL ClaimService API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { ClaimClass } from './claim-class';
|
|
12
13
|
import { PayoutDetailsClass } from './payout-details-class';
|
|
13
14
|
import { RegressDetailsClass } from './regress-details-class';
|
|
14
15
|
import { ReserveDetailsClass } from './reserve-details-class';
|
|
@@ -31,7 +32,7 @@ export interface RegulationItemClass {
|
|
|
31
32
|
*/
|
|
32
33
|
'regulationItemType': RegulationItemClassRegulationItemTypeEnum;
|
|
33
34
|
/**
|
|
34
|
-
* The amount of the regulation item
|
|
35
|
+
* The amount of the regulation item
|
|
35
36
|
* @type {number}
|
|
36
37
|
* @memberof RegulationItemClass
|
|
37
38
|
*/
|
|
@@ -56,10 +57,10 @@ export interface RegulationItemClass {
|
|
|
56
57
|
'claimCode': string;
|
|
57
58
|
/**
|
|
58
59
|
* The ClaimClass response.
|
|
59
|
-
* @type {
|
|
60
|
+
* @type {ClaimClass}
|
|
60
61
|
* @memberof RegulationItemClass
|
|
61
62
|
*/
|
|
62
|
-
'claim':
|
|
63
|
+
'claim': ClaimClass;
|
|
63
64
|
/**
|
|
64
65
|
* The PayoutDetailsClass response.
|
|
65
66
|
* @type {PayoutDetailsClass}
|
|
@@ -79,7 +80,7 @@ export interface RegulationItemClass {
|
|
|
79
80
|
*/
|
|
80
81
|
'regressDetails': RegressDetailsClass;
|
|
81
82
|
/**
|
|
82
|
-
* The
|
|
83
|
+
* The system level identifier of the user who made the latest update
|
|
83
84
|
* @type {string}
|
|
84
85
|
* @memberof RegulationItemClass
|
|
85
86
|
*/
|
|
@@ -24,31 +24,31 @@ import { ReserveDetailsDto } from './reserve-details-dto';
|
|
|
24
24
|
*/
|
|
25
25
|
export interface CreateRegulationItemRequestDto {
|
|
26
26
|
/**
|
|
27
|
-
*
|
|
27
|
+
* Indicates the kind of regulation item - regulation items can be of type payout, reserve or regress
|
|
28
28
|
* @type {string}
|
|
29
29
|
* @memberof CreateRegulationItemRequestDto
|
|
30
30
|
*/
|
|
31
31
|
'regulationItemType': CreateRegulationItemRequestDtoRegulationItemTypeEnum;
|
|
32
32
|
/**
|
|
33
|
-
*
|
|
33
|
+
* The amount of the regulation item
|
|
34
34
|
* @type {number}
|
|
35
35
|
* @memberof CreateRegulationItemRequestDto
|
|
36
36
|
*/
|
|
37
37
|
'amount': number;
|
|
38
38
|
/**
|
|
39
|
-
*
|
|
39
|
+
* The currency of the regulation item
|
|
40
40
|
* @type {string}
|
|
41
41
|
* @memberof CreateRegulationItemRequestDto
|
|
42
42
|
*/
|
|
43
|
-
'currency':
|
|
43
|
+
'currency': CreateRegulationItemRequestDtoCurrencyEnum;
|
|
44
44
|
/**
|
|
45
|
-
*
|
|
45
|
+
* Booking date for the regulation item
|
|
46
46
|
* @type {string}
|
|
47
47
|
* @memberof CreateRegulationItemRequestDto
|
|
48
48
|
*/
|
|
49
49
|
'bookingDate': string;
|
|
50
50
|
/**
|
|
51
|
-
*
|
|
51
|
+
* Unique identifier of the Claim that this object belongs to.
|
|
52
52
|
* @type {string}
|
|
53
53
|
* @memberof CreateRegulationItemRequestDto
|
|
54
54
|
*/
|
|
@@ -80,5 +80,20 @@ export const CreateRegulationItemRequestDtoRegulationItemTypeEnum = {
|
|
|
80
80
|
} as const;
|
|
81
81
|
|
|
82
82
|
export type CreateRegulationItemRequestDtoRegulationItemTypeEnum = typeof CreateRegulationItemRequestDtoRegulationItemTypeEnum[keyof typeof CreateRegulationItemRequestDtoRegulationItemTypeEnum];
|
|
83
|
+
export const CreateRegulationItemRequestDtoCurrencyEnum = {
|
|
84
|
+
Eur: 'EUR',
|
|
85
|
+
Usd: 'USD',
|
|
86
|
+
Gbp: 'GBP',
|
|
87
|
+
Chf: 'CHF',
|
|
88
|
+
Pln: 'PLN',
|
|
89
|
+
Aud: 'AUD',
|
|
90
|
+
Cad: 'CAD',
|
|
91
|
+
Ddk: 'DDK',
|
|
92
|
+
Huf: 'HUF',
|
|
93
|
+
Nok: 'NOK',
|
|
94
|
+
Sek: 'SEK'
|
|
95
|
+
} as const;
|
|
96
|
+
|
|
97
|
+
export type CreateRegulationItemRequestDtoCurrencyEnum = typeof CreateRegulationItemRequestDtoCurrencyEnum[keyof typeof CreateRegulationItemRequestDtoCurrencyEnum];
|
|
83
98
|
|
|
84
99
|
|
package/models/index.ts
CHANGED
|
@@ -24,6 +24,7 @@ export * from './list-claim-partner-roles-response-class';
|
|
|
24
24
|
export * from './list-claim-partners-response-class';
|
|
25
25
|
export * from './list-claim-statuses-response-class';
|
|
26
26
|
export * from './list-claims-response-class';
|
|
27
|
+
export * from './list-regulations-response-class';
|
|
27
28
|
export * from './list-settlements-response-class';
|
|
28
29
|
export * from './patch-claim-request-dto';
|
|
29
30
|
export * from './patch-claim-response-class';
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL ClaimService
|
|
5
|
+
* The EMIL ClaimService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import { RegulationItemClass } from './regulation-item-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface ListRegulationsResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface ListRegulationsResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* The list of claim regulations.
|
|
26
|
+
* @type {Array<RegulationItemClass>}
|
|
27
|
+
* @memberof ListRegulationsResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'items': Array<RegulationItemClass>;
|
|
30
|
+
/**
|
|
31
|
+
* Next page token.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ListRegulationsResponseClass
|
|
34
|
+
*/
|
|
35
|
+
'nextPageToken': string;
|
|
36
|
+
}
|
|
37
|
+
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
|
|
16
|
+
import { ClaimClass } from './claim-class';
|
|
16
17
|
import { PayoutDetailsClass } from './payout-details-class';
|
|
17
18
|
import { RegressDetailsClass } from './regress-details-class';
|
|
18
19
|
import { ReserveDetailsClass } from './reserve-details-class';
|
|
@@ -36,7 +37,7 @@ export interface RegulationItemClass {
|
|
|
36
37
|
*/
|
|
37
38
|
'regulationItemType': RegulationItemClassRegulationItemTypeEnum;
|
|
38
39
|
/**
|
|
39
|
-
* The amount of the regulation item
|
|
40
|
+
* The amount of the regulation item
|
|
40
41
|
* @type {number}
|
|
41
42
|
* @memberof RegulationItemClass
|
|
42
43
|
*/
|
|
@@ -61,10 +62,10 @@ export interface RegulationItemClass {
|
|
|
61
62
|
'claimCode': string;
|
|
62
63
|
/**
|
|
63
64
|
* The ClaimClass response.
|
|
64
|
-
* @type {
|
|
65
|
+
* @type {ClaimClass}
|
|
65
66
|
* @memberof RegulationItemClass
|
|
66
67
|
*/
|
|
67
|
-
'claim':
|
|
68
|
+
'claim': ClaimClass;
|
|
68
69
|
/**
|
|
69
70
|
* The PayoutDetailsClass response.
|
|
70
71
|
* @type {PayoutDetailsClass}
|
|
@@ -84,7 +85,7 @@ export interface RegulationItemClass {
|
|
|
84
85
|
*/
|
|
85
86
|
'regressDetails': RegressDetailsClass;
|
|
86
87
|
/**
|
|
87
|
-
* The
|
|
88
|
+
* The system level identifier of the user who made the latest update
|
|
88
89
|
* @type {string}
|
|
89
90
|
* @memberof RegulationItemClass
|
|
90
91
|
*/
|
package/package.json
CHANGED
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* EMIL ClaimService
|
|
3
|
-
* The EMIL ClaimService API description
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0
|
|
6
|
-
* Contact: kontakt@emil.de
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
13
|
-
import { Configuration } from '../configuration';
|
|
14
|
-
import { RequestArgs, BaseAPI } from '../base';
|
|
15
|
-
import { InlineResponse200 } from '../models';
|
|
16
|
-
/**
|
|
17
|
-
* DefaultApi - axios parameter creator
|
|
18
|
-
* @export
|
|
19
|
-
*/
|
|
20
|
-
export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
21
|
-
/**
|
|
22
|
-
*
|
|
23
|
-
* @param {*} [options] Override http request option.
|
|
24
|
-
* @throws {RequiredError}
|
|
25
|
-
*/
|
|
26
|
-
check: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
27
|
-
};
|
|
28
|
-
/**
|
|
29
|
-
* DefaultApi - functional programming interface
|
|
30
|
-
* @export
|
|
31
|
-
*/
|
|
32
|
-
export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
33
|
-
/**
|
|
34
|
-
*
|
|
35
|
-
* @param {*} [options] Override http request option.
|
|
36
|
-
* @throws {RequiredError}
|
|
37
|
-
*/
|
|
38
|
-
check(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineResponse200>>;
|
|
39
|
-
};
|
|
40
|
-
/**
|
|
41
|
-
* DefaultApi - factory interface
|
|
42
|
-
* @export
|
|
43
|
-
*/
|
|
44
|
-
export declare const DefaultApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
45
|
-
/**
|
|
46
|
-
*
|
|
47
|
-
* @param {*} [options] Override http request option.
|
|
48
|
-
* @throws {RequiredError}
|
|
49
|
-
*/
|
|
50
|
-
check(options?: any): AxiosPromise<InlineResponse200>;
|
|
51
|
-
};
|
|
52
|
-
/**
|
|
53
|
-
* DefaultApi - object-oriented interface
|
|
54
|
-
* @export
|
|
55
|
-
* @class DefaultApi
|
|
56
|
-
* @extends {BaseAPI}
|
|
57
|
-
*/
|
|
58
|
-
export declare class DefaultApi extends BaseAPI {
|
|
59
|
-
/**
|
|
60
|
-
*
|
|
61
|
-
* @param {*} [options] Override http request option.
|
|
62
|
-
* @throws {RequiredError}
|
|
63
|
-
* @memberof DefaultApi
|
|
64
|
-
*/
|
|
65
|
-
check(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InlineResponse200, any>>;
|
|
66
|
-
}
|