@emilgroup/claim-sdk 1.17.2-beta.1 → 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 +12 -1
- package/README.md +2 -2
- package/api/claim-partner-roles-api.ts +9 -9
- package/api/claim-regulations-api.ts +657 -0
- package/api/claim-statuses-api.ts +9 -9
- package/api/{default-api.ts → health-check-api.ts} +21 -17
- package/api.ts +4 -2
- package/base.ts +5 -1
- package/dist/api/claim-partner-roles-api.d.ts +9 -9
- package/dist/api/claim-partner-roles-api.js +3 -3
- package/dist/api/claim-regulations-api.d.ts +372 -0
- package/dist/api/claim-regulations-api.js +630 -0
- package/dist/api/claim-statuses-api.d.ts +9 -9
- package/dist/api/claim-statuses-api.js +3 -3
- 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 +2 -1
- package/dist/api.js +2 -1
- package/dist/base.d.ts +1 -0
- package/dist/base.js +4 -1
- package/dist/models/create-regulation-item-request-dto.d.ts +89 -0
- package/dist/models/create-regulation-item-request-dto.js +34 -0
- package/dist/models/index.d.ts +10 -0
- package/dist/models/index.js +10 -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 +90 -0
- package/dist/models/payout-details-class.js +26 -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-class.d.ts +81 -0
- package/dist/models/regress-details-class.js +29 -0
- package/dist/models/regress-details-dto.d.ts +51 -0
- package/dist/models/regress-details-dto.js +29 -0
- package/dist/models/regulation-item-class.d.ts +126 -0
- package/dist/models/regulation-item-class.js +34 -0
- package/dist/models/regulation-item-response-class.d.ts +25 -0
- package/dist/models/regulation-item-response-class.js +15 -0
- package/dist/models/reserve-details-class.d.ts +59 -0
- package/dist/models/reserve-details-class.js +20 -0
- package/dist/models/reserve-details-dto.d.ts +29 -0
- package/dist/models/reserve-details-dto.js +20 -0
- package/models/create-regulation-item-request-dto.ts +99 -0
- package/models/index.ts +10 -0
- package/models/list-regulations-response-class.ts +37 -0
- package/models/payout-details-class.ts +100 -0
- package/models/payout-details-dto.ts +70 -0
- package/models/regress-details-class.ts +91 -0
- package/models/regress-details-dto.ts +61 -0
- package/models/regulation-item-class.ts +136 -0
- package/models/regulation-item-response-class.ts +31 -0
- package/models/reserve-details-class.ts +68 -0
- package/models/reserve-details-dto.ts +38 -0
- package/package.json +1 -1
- package/dist/api/default-api.d.ts +0 -66
|
@@ -57,12 +57,12 @@ export declare const ClaimStatusesApiAxiosParamCreator: (configuration?: Configu
|
|
|
57
57
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, name, productSlug</i>
|
|
58
58
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
59
59
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id</i>
|
|
60
|
-
* @param {
|
|
60
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: .<i>
|
|
61
61
|
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, name, productSlug</i>
|
|
62
62
|
* @param {*} [options] Override http request option.
|
|
63
63
|
* @throws {RequiredError}
|
|
64
64
|
*/
|
|
65
|
-
listClaimStatuses: (authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?:
|
|
65
|
+
listClaimStatuses: (authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
66
66
|
};
|
|
67
67
|
/**
|
|
68
68
|
* ClaimStatusesApi - functional programming interface
|
|
@@ -105,12 +105,12 @@ export declare const ClaimStatusesApiFp: (configuration?: Configuration) => {
|
|
|
105
105
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, name, productSlug</i>
|
|
106
106
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
107
107
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id</i>
|
|
108
|
-
* @param {
|
|
108
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: .<i>
|
|
109
109
|
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, name, productSlug</i>
|
|
110
110
|
* @param {*} [options] Override http request option.
|
|
111
111
|
* @throws {RequiredError}
|
|
112
112
|
*/
|
|
113
|
-
listClaimStatuses(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?:
|
|
113
|
+
listClaimStatuses(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListClaimStatusesResponseClass>>;
|
|
114
114
|
};
|
|
115
115
|
/**
|
|
116
116
|
* ClaimStatusesApi - factory interface
|
|
@@ -153,12 +153,12 @@ export declare const ClaimStatusesApiFactory: (configuration?: Configuration, ba
|
|
|
153
153
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, name, productSlug</i>
|
|
154
154
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
155
155
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id</i>
|
|
156
|
-
* @param {
|
|
156
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: .<i>
|
|
157
157
|
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, name, productSlug</i>
|
|
158
158
|
* @param {*} [options] Override http request option.
|
|
159
159
|
* @throws {RequiredError}
|
|
160
160
|
*/
|
|
161
|
-
listClaimStatuses(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?:
|
|
161
|
+
listClaimStatuses(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListClaimStatusesResponseClass>;
|
|
162
162
|
};
|
|
163
163
|
/**
|
|
164
164
|
* Request parameters for createClaimStatus operation in ClaimStatusesApi.
|
|
@@ -260,11 +260,11 @@ export interface ClaimStatusesApiListClaimStatusesRequest {
|
|
|
260
260
|
*/
|
|
261
261
|
readonly order?: string;
|
|
262
262
|
/**
|
|
263
|
-
*
|
|
264
|
-
* @type {
|
|
263
|
+
* Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: .<i>
|
|
264
|
+
* @type {string}
|
|
265
265
|
* @memberof ClaimStatusesApiListClaimStatuses
|
|
266
266
|
*/
|
|
267
|
-
readonly expand?:
|
|
267
|
+
readonly expand?: string;
|
|
268
268
|
/**
|
|
269
269
|
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, name, productSlug</i>
|
|
270
270
|
* @type {string}
|
|
@@ -246,7 +246,7 @@ var ClaimStatusesApiAxiosParamCreator = function (configuration) {
|
|
|
246
246
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, name, productSlug</i>
|
|
247
247
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
248
248
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id</i>
|
|
249
|
-
* @param {
|
|
249
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: .<i>
|
|
250
250
|
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, name, productSlug</i>
|
|
251
251
|
* @param {*} [options] Override http request option.
|
|
252
252
|
* @throws {RequiredError}
|
|
@@ -391,7 +391,7 @@ var ClaimStatusesApiFp = function (configuration) {
|
|
|
391
391
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, name, productSlug</i>
|
|
392
392
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
393
393
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id</i>
|
|
394
|
-
* @param {
|
|
394
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: .<i>
|
|
395
395
|
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, name, productSlug</i>
|
|
396
396
|
* @param {*} [options] Override http request option.
|
|
397
397
|
* @throws {RequiredError}
|
|
@@ -461,7 +461,7 @@ var ClaimStatusesApiFactory = function (configuration, basePath, axios) {
|
|
|
461
461
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, name, productSlug</i>
|
|
462
462
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
463
463
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id</i>
|
|
464
|
-
* @param {
|
|
464
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: .<i>
|
|
465
465
|
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, name, productSlug</i>
|
|
466
466
|
* @param {*} [options] Override http request option.
|
|
467
467
|
* @throws {RequiredError}
|
|
@@ -0,0 +1,70 @@
|
|
|
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
|
+
* HealthCheckApi - axios parameter creator
|
|
18
|
+
* @export
|
|
19
|
+
*/
|
|
20
|
+
export declare const HealthCheckApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
21
|
+
/**
|
|
22
|
+
* Returns the health status of the partner service. This endpoint is used to monitor the operational status of the partner service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
|
|
23
|
+
* @summary Health Check
|
|
24
|
+
* @param {*} [options] Override http request option.
|
|
25
|
+
* @throws {RequiredError}
|
|
26
|
+
*/
|
|
27
|
+
check: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* HealthCheckApi - functional programming interface
|
|
31
|
+
* @export
|
|
32
|
+
*/
|
|
33
|
+
export declare const HealthCheckApiFp: (configuration?: Configuration) => {
|
|
34
|
+
/**
|
|
35
|
+
* Returns the health status of the partner service. This endpoint is used to monitor the operational status of the partner service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
|
|
36
|
+
* @summary Health Check
|
|
37
|
+
* @param {*} [options] Override http request option.
|
|
38
|
+
* @throws {RequiredError}
|
|
39
|
+
*/
|
|
40
|
+
check(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineResponse200>>;
|
|
41
|
+
};
|
|
42
|
+
/**
|
|
43
|
+
* HealthCheckApi - factory interface
|
|
44
|
+
* @export
|
|
45
|
+
*/
|
|
46
|
+
export declare const HealthCheckApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
47
|
+
/**
|
|
48
|
+
* Returns the health status of the partner service. This endpoint is used to monitor the operational status of the partner service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
|
|
49
|
+
* @summary Health Check
|
|
50
|
+
* @param {*} [options] Override http request option.
|
|
51
|
+
* @throws {RequiredError}
|
|
52
|
+
*/
|
|
53
|
+
check(options?: any): AxiosPromise<InlineResponse200>;
|
|
54
|
+
};
|
|
55
|
+
/**
|
|
56
|
+
* HealthCheckApi - object-oriented interface
|
|
57
|
+
* @export
|
|
58
|
+
* @class HealthCheckApi
|
|
59
|
+
* @extends {BaseAPI}
|
|
60
|
+
*/
|
|
61
|
+
export declare class HealthCheckApi extends BaseAPI {
|
|
62
|
+
/**
|
|
63
|
+
* Returns the health status of the partner service. This endpoint is used to monitor the operational status of the partner service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
|
|
64
|
+
* @summary Health Check
|
|
65
|
+
* @param {*} [options] Override http request option.
|
|
66
|
+
* @throws {RequiredError}
|
|
67
|
+
* @memberof HealthCheckApi
|
|
68
|
+
*/
|
|
69
|
+
check(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InlineResponse200, any>>;
|
|
70
|
+
}
|
|
@@ -78,7 +78,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
78
78
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
79
79
|
};
|
|
80
80
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
81
|
-
exports.
|
|
81
|
+
exports.HealthCheckApi = exports.HealthCheckApiFactory = exports.HealthCheckApiFp = exports.HealthCheckApiAxiosParamCreator = void 0;
|
|
82
82
|
var axios_1 = __importDefault(require("axios"));
|
|
83
83
|
// Some imports not used depending on template conditions
|
|
84
84
|
// @ts-ignore
|
|
@@ -86,14 +86,15 @@ var common_1 = require("../common");
|
|
|
86
86
|
// @ts-ignore
|
|
87
87
|
var base_1 = require("../base");
|
|
88
88
|
/**
|
|
89
|
-
*
|
|
89
|
+
* HealthCheckApi - axios parameter creator
|
|
90
90
|
* @export
|
|
91
91
|
*/
|
|
92
|
-
var
|
|
92
|
+
var HealthCheckApiAxiosParamCreator = function (configuration) {
|
|
93
93
|
var _this = this;
|
|
94
94
|
return {
|
|
95
95
|
/**
|
|
96
|
-
*
|
|
96
|
+
* Returns the health status of the partner service. This endpoint is used to monitor the operational status of the partner service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
|
|
97
|
+
* @summary Health Check
|
|
97
98
|
* @param {*} [options] Override http request option.
|
|
98
99
|
* @throws {RequiredError}
|
|
99
100
|
*/
|
|
@@ -123,16 +124,17 @@ var DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
123
124
|
},
|
|
124
125
|
};
|
|
125
126
|
};
|
|
126
|
-
exports.
|
|
127
|
+
exports.HealthCheckApiAxiosParamCreator = HealthCheckApiAxiosParamCreator;
|
|
127
128
|
/**
|
|
128
|
-
*
|
|
129
|
+
* HealthCheckApi - functional programming interface
|
|
129
130
|
* @export
|
|
130
131
|
*/
|
|
131
|
-
var
|
|
132
|
-
var localVarAxiosParamCreator = (0, exports.
|
|
132
|
+
var HealthCheckApiFp = function (configuration) {
|
|
133
|
+
var localVarAxiosParamCreator = (0, exports.HealthCheckApiAxiosParamCreator)(configuration);
|
|
133
134
|
return {
|
|
134
135
|
/**
|
|
135
|
-
*
|
|
136
|
+
* Returns the health status of the partner service. This endpoint is used to monitor the operational status of the partner service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
|
|
137
|
+
* @summary Health Check
|
|
136
138
|
* @param {*} [options] Override http request option.
|
|
137
139
|
* @throws {RequiredError}
|
|
138
140
|
*/
|
|
@@ -151,16 +153,17 @@ var DefaultApiFp = function (configuration) {
|
|
|
151
153
|
},
|
|
152
154
|
};
|
|
153
155
|
};
|
|
154
|
-
exports.
|
|
156
|
+
exports.HealthCheckApiFp = HealthCheckApiFp;
|
|
155
157
|
/**
|
|
156
|
-
*
|
|
158
|
+
* HealthCheckApi - factory interface
|
|
157
159
|
* @export
|
|
158
160
|
*/
|
|
159
|
-
var
|
|
160
|
-
var localVarFp = (0, exports.
|
|
161
|
+
var HealthCheckApiFactory = function (configuration, basePath, axios) {
|
|
162
|
+
var localVarFp = (0, exports.HealthCheckApiFp)(configuration);
|
|
161
163
|
return {
|
|
162
164
|
/**
|
|
163
|
-
*
|
|
165
|
+
* Returns the health status of the partner service. This endpoint is used to monitor the operational status of the partner service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
|
|
166
|
+
* @summary Health Check
|
|
164
167
|
* @param {*} [options] Override http request option.
|
|
165
168
|
* @throws {RequiredError}
|
|
166
169
|
*/
|
|
@@ -169,28 +172,29 @@ var DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
169
172
|
},
|
|
170
173
|
};
|
|
171
174
|
};
|
|
172
|
-
exports.
|
|
175
|
+
exports.HealthCheckApiFactory = HealthCheckApiFactory;
|
|
173
176
|
/**
|
|
174
|
-
*
|
|
177
|
+
* HealthCheckApi - object-oriented interface
|
|
175
178
|
* @export
|
|
176
|
-
* @class
|
|
179
|
+
* @class HealthCheckApi
|
|
177
180
|
* @extends {BaseAPI}
|
|
178
181
|
*/
|
|
179
|
-
var
|
|
180
|
-
__extends(
|
|
181
|
-
function
|
|
182
|
+
var HealthCheckApi = /** @class */ (function (_super) {
|
|
183
|
+
__extends(HealthCheckApi, _super);
|
|
184
|
+
function HealthCheckApi() {
|
|
182
185
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
183
186
|
}
|
|
184
187
|
/**
|
|
185
|
-
*
|
|
188
|
+
* Returns the health status of the partner service. This endpoint is used to monitor the operational status of the partner service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
|
|
189
|
+
* @summary Health Check
|
|
186
190
|
* @param {*} [options] Override http request option.
|
|
187
191
|
* @throws {RequiredError}
|
|
188
|
-
* @memberof
|
|
192
|
+
* @memberof HealthCheckApi
|
|
189
193
|
*/
|
|
190
|
-
|
|
194
|
+
HealthCheckApi.prototype.check = function (options) {
|
|
191
195
|
var _this = this;
|
|
192
|
-
return (0, exports.
|
|
196
|
+
return (0, exports.HealthCheckApiFp)(this.configuration).check(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
193
197
|
};
|
|
194
|
-
return
|
|
198
|
+
return HealthCheckApi;
|
|
195
199
|
}(base_1.BaseAPI));
|
|
196
|
-
exports.
|
|
200
|
+
exports.HealthCheckApi = HealthCheckApi;
|
package/dist/api.d.ts
CHANGED
|
@@ -11,7 +11,8 @@
|
|
|
11
11
|
*/
|
|
12
12
|
export * from './api/claim-partner-roles-api';
|
|
13
13
|
export * from './api/claim-partners-api';
|
|
14
|
+
export * from './api/claim-regulations-api';
|
|
14
15
|
export * from './api/claim-statuses-api';
|
|
15
16
|
export * from './api/claims-api';
|
|
16
|
-
export * from './api/
|
|
17
|
+
export * from './api/health-check-api';
|
|
17
18
|
export * from './api/settlements-api';
|
package/dist/api.js
CHANGED
|
@@ -29,7 +29,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
29
29
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30
30
|
__exportStar(require("./api/claim-partner-roles-api"), exports);
|
|
31
31
|
__exportStar(require("./api/claim-partners-api"), exports);
|
|
32
|
+
__exportStar(require("./api/claim-regulations-api"), exports);
|
|
32
33
|
__exportStar(require("./api/claim-statuses-api"), exports);
|
|
33
34
|
__exportStar(require("./api/claims-api"), exports);
|
|
34
|
-
__exportStar(require("./api/
|
|
35
|
+
__exportStar(require("./api/health-check-api"), exports);
|
|
35
36
|
__exportStar(require("./api/settlements-api"), exports);
|
package/dist/base.d.ts
CHANGED
|
@@ -54,6 +54,7 @@ export declare class BaseAPI {
|
|
|
54
54
|
private tokenData?;
|
|
55
55
|
constructor(configuration?: Configuration, basePath?: string, axios?: AxiosInstance);
|
|
56
56
|
selectEnvironment(env: Environment): void;
|
|
57
|
+
selectBasePath(path: string): void;
|
|
57
58
|
authorize(username: string, password: string): Promise<void>;
|
|
58
59
|
refreshTokenInternal(): Promise<string>;
|
|
59
60
|
private storeTokenData;
|
package/dist/base.js
CHANGED
|
@@ -138,7 +138,10 @@ var BaseAPI = /** @class */ (function () {
|
|
|
138
138
|
this.attachInterceptor(axios);
|
|
139
139
|
}
|
|
140
140
|
BaseAPI.prototype.selectEnvironment = function (env) {
|
|
141
|
-
this.
|
|
141
|
+
this.selectBasePath(env);
|
|
142
|
+
};
|
|
143
|
+
BaseAPI.prototype.selectBasePath = function (path) {
|
|
144
|
+
this.configuration.basePath = path;
|
|
142
145
|
};
|
|
143
146
|
BaseAPI.prototype.authorize = function (username, password) {
|
|
144
147
|
return __awaiter(this, void 0, void 0, function () {
|
|
@@ -0,0 +1,89 @@
|
|
|
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 { PayoutDetailsDto } from './payout-details-dto';
|
|
13
|
+
import { RegressDetailsDto } from './regress-details-dto';
|
|
14
|
+
import { ReserveDetailsDto } from './reserve-details-dto';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface CreateRegulationItemRequestDto
|
|
19
|
+
*/
|
|
20
|
+
export interface CreateRegulationItemRequestDto {
|
|
21
|
+
/**
|
|
22
|
+
* Indicates the kind of regulation item - regulation items can be of type payout, reserve or regress
|
|
23
|
+
* @type {string}
|
|
24
|
+
* @memberof CreateRegulationItemRequestDto
|
|
25
|
+
*/
|
|
26
|
+
'regulationItemType': CreateRegulationItemRequestDtoRegulationItemTypeEnum;
|
|
27
|
+
/**
|
|
28
|
+
* The amount of the regulation item
|
|
29
|
+
* @type {number}
|
|
30
|
+
* @memberof CreateRegulationItemRequestDto
|
|
31
|
+
*/
|
|
32
|
+
'amount': number;
|
|
33
|
+
/**
|
|
34
|
+
* The currency of the regulation item
|
|
35
|
+
* @type {string}
|
|
36
|
+
* @memberof CreateRegulationItemRequestDto
|
|
37
|
+
*/
|
|
38
|
+
'currency': CreateRegulationItemRequestDtoCurrencyEnum;
|
|
39
|
+
/**
|
|
40
|
+
* Booking date for the regulation item
|
|
41
|
+
* @type {string}
|
|
42
|
+
* @memberof CreateRegulationItemRequestDto
|
|
43
|
+
*/
|
|
44
|
+
'bookingDate': string;
|
|
45
|
+
/**
|
|
46
|
+
* Unique identifier of the Claim that this object belongs to.
|
|
47
|
+
* @type {string}
|
|
48
|
+
* @memberof CreateRegulationItemRequestDto
|
|
49
|
+
*/
|
|
50
|
+
'claimCode': string;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @type {PayoutDetailsDto}
|
|
54
|
+
* @memberof CreateRegulationItemRequestDto
|
|
55
|
+
*/
|
|
56
|
+
'payoutDetails'?: PayoutDetailsDto;
|
|
57
|
+
/**
|
|
58
|
+
*
|
|
59
|
+
* @type {ReserveDetailsDto}
|
|
60
|
+
* @memberof CreateRegulationItemRequestDto
|
|
61
|
+
*/
|
|
62
|
+
'reserveDetails'?: ReserveDetailsDto;
|
|
63
|
+
/**
|
|
64
|
+
*
|
|
65
|
+
* @type {RegressDetailsDto}
|
|
66
|
+
* @memberof CreateRegulationItemRequestDto
|
|
67
|
+
*/
|
|
68
|
+
'regressDetails'?: RegressDetailsDto;
|
|
69
|
+
}
|
|
70
|
+
export declare const CreateRegulationItemRequestDtoRegulationItemTypeEnum: {
|
|
71
|
+
readonly Payout: "PAYOUT";
|
|
72
|
+
readonly Regress: "REGRESS";
|
|
73
|
+
readonly Reserve: "RESERVE";
|
|
74
|
+
};
|
|
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];
|
|
@@ -0,0 +1,34 @@
|
|
|
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.CreateRegulationItemRequestDtoCurrencyEnum = exports.CreateRegulationItemRequestDtoRegulationItemTypeEnum = void 0;
|
|
17
|
+
exports.CreateRegulationItemRequestDtoRegulationItemTypeEnum = {
|
|
18
|
+
Payout: 'PAYOUT',
|
|
19
|
+
Regress: 'REGRESS',
|
|
20
|
+
Reserve: 'RESERVE'
|
|
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
|
@@ -10,6 +10,7 @@ export * from './create-claim-request-dto';
|
|
|
10
10
|
export * from './create-claim-response-class';
|
|
11
11
|
export * from './create-claim-status-request-dto';
|
|
12
12
|
export * from './create-claim-status-response-class';
|
|
13
|
+
export * from './create-regulation-item-request-dto';
|
|
13
14
|
export * from './create-settlement-request-dto';
|
|
14
15
|
export * from './create-settlement-response-class';
|
|
15
16
|
export * from './get-claim-partner-response-class';
|
|
@@ -23,9 +24,18 @@ export * from './list-claim-partner-roles-response-class';
|
|
|
23
24
|
export * from './list-claim-partners-response-class';
|
|
24
25
|
export * from './list-claim-statuses-response-class';
|
|
25
26
|
export * from './list-claims-response-class';
|
|
27
|
+
export * from './list-regulations-response-class';
|
|
26
28
|
export * from './list-settlements-response-class';
|
|
27
29
|
export * from './patch-claim-request-dto';
|
|
28
30
|
export * from './patch-claim-response-class';
|
|
31
|
+
export * from './payout-details-class';
|
|
32
|
+
export * from './payout-details-dto';
|
|
33
|
+
export * from './regress-details-class';
|
|
34
|
+
export * from './regress-details-dto';
|
|
35
|
+
export * from './regulation-item-class';
|
|
36
|
+
export * from './regulation-item-response-class';
|
|
37
|
+
export * from './reserve-details-class';
|
|
38
|
+
export * from './reserve-details-dto';
|
|
29
39
|
export * from './settlement-class';
|
|
30
40
|
export * from './update-claim-partner-role-request-dto';
|
|
31
41
|
export * from './update-claim-partner-role-response-class';
|
package/dist/models/index.js
CHANGED
|
@@ -26,6 +26,7 @@ __exportStar(require("./create-claim-request-dto"), exports);
|
|
|
26
26
|
__exportStar(require("./create-claim-response-class"), exports);
|
|
27
27
|
__exportStar(require("./create-claim-status-request-dto"), exports);
|
|
28
28
|
__exportStar(require("./create-claim-status-response-class"), exports);
|
|
29
|
+
__exportStar(require("./create-regulation-item-request-dto"), exports);
|
|
29
30
|
__exportStar(require("./create-settlement-request-dto"), exports);
|
|
30
31
|
__exportStar(require("./create-settlement-response-class"), exports);
|
|
31
32
|
__exportStar(require("./get-claim-partner-response-class"), exports);
|
|
@@ -39,9 +40,18 @@ __exportStar(require("./list-claim-partner-roles-response-class"), exports);
|
|
|
39
40
|
__exportStar(require("./list-claim-partners-response-class"), exports);
|
|
40
41
|
__exportStar(require("./list-claim-statuses-response-class"), exports);
|
|
41
42
|
__exportStar(require("./list-claims-response-class"), exports);
|
|
43
|
+
__exportStar(require("./list-regulations-response-class"), exports);
|
|
42
44
|
__exportStar(require("./list-settlements-response-class"), exports);
|
|
43
45
|
__exportStar(require("./patch-claim-request-dto"), exports);
|
|
44
46
|
__exportStar(require("./patch-claim-response-class"), exports);
|
|
47
|
+
__exportStar(require("./payout-details-class"), exports);
|
|
48
|
+
__exportStar(require("./payout-details-dto"), exports);
|
|
49
|
+
__exportStar(require("./regress-details-class"), exports);
|
|
50
|
+
__exportStar(require("./regress-details-dto"), exports);
|
|
51
|
+
__exportStar(require("./regulation-item-class"), exports);
|
|
52
|
+
__exportStar(require("./regulation-item-response-class"), exports);
|
|
53
|
+
__exportStar(require("./reserve-details-class"), exports);
|
|
54
|
+
__exportStar(require("./reserve-details-dto"), exports);
|
|
45
55
|
__exportStar(require("./settlement-class"), exports);
|
|
46
56
|
__exportStar(require("./update-claim-partner-role-request-dto"), exports);
|
|
47
57
|
__exportStar(require("./update-claim-partner-role-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 });
|
|
@@ -0,0 +1,90 @@
|
|
|
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 PayoutDetailsClass
|
|
16
|
+
*/
|
|
17
|
+
export interface PayoutDetailsClass {
|
|
18
|
+
/**
|
|
19
|
+
* Unique identifier for the object.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof PayoutDetailsClass
|
|
22
|
+
*/
|
|
23
|
+
'code': string;
|
|
24
|
+
/**
|
|
25
|
+
* Unique identifier for the object.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof PayoutDetailsClass
|
|
28
|
+
*/
|
|
29
|
+
'regulationItemCode': string;
|
|
30
|
+
/**
|
|
31
|
+
* The type of the payout.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof PayoutDetailsClass
|
|
34
|
+
*/
|
|
35
|
+
'payoutType': PayoutDetailsClassPayoutTypeEnum;
|
|
36
|
+
/**
|
|
37
|
+
* The status of the payout.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof PayoutDetailsClass
|
|
40
|
+
*/
|
|
41
|
+
'payoutStatus': PayoutDetailsClassPayoutStatusEnum;
|
|
42
|
+
/**
|
|
43
|
+
* Name of the recipient who would receive the payout
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof PayoutDetailsClass
|
|
46
|
+
*/
|
|
47
|
+
'recipientName': string;
|
|
48
|
+
/**
|
|
49
|
+
* IBAN of the recipient
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof PayoutDetailsClass
|
|
52
|
+
*/
|
|
53
|
+
'iban': string;
|
|
54
|
+
/**
|
|
55
|
+
* Purpose of the payout
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof PayoutDetailsClass
|
|
58
|
+
*/
|
|
59
|
+
'payoutPurpose': string;
|
|
60
|
+
/**
|
|
61
|
+
* The current version of the entity - the version is increased with every update. Initial version is 1
|
|
62
|
+
* @type {number}
|
|
63
|
+
* @memberof PayoutDetailsClass
|
|
64
|
+
*/
|
|
65
|
+
'version': number;
|
|
66
|
+
/**
|
|
67
|
+
* Time at which the object was created.
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof PayoutDetailsClass
|
|
70
|
+
*/
|
|
71
|
+
'createdAt': string;
|
|
72
|
+
/**
|
|
73
|
+
* Time at which the object was updated.
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof PayoutDetailsClass
|
|
76
|
+
*/
|
|
77
|
+
'updatedAt': string;
|
|
78
|
+
}
|
|
79
|
+
export declare const PayoutDetailsClassPayoutTypeEnum: {
|
|
80
|
+
readonly Real: "REAL";
|
|
81
|
+
readonly Statistical: "STATISTICAL";
|
|
82
|
+
};
|
|
83
|
+
export type PayoutDetailsClassPayoutTypeEnum = typeof PayoutDetailsClassPayoutTypeEnum[keyof typeof PayoutDetailsClassPayoutTypeEnum];
|
|
84
|
+
export declare const PayoutDetailsClassPayoutStatusEnum: {
|
|
85
|
+
readonly Pending: "PENDING";
|
|
86
|
+
readonly InProgress: "IN_PROGRESS";
|
|
87
|
+
readonly Completed: "COMPLETED";
|
|
88
|
+
readonly Failed: "FAILED";
|
|
89
|
+
};
|
|
90
|
+
export type PayoutDetailsClassPayoutStatusEnum = typeof PayoutDetailsClassPayoutStatusEnum[keyof typeof PayoutDetailsClassPayoutStatusEnum];
|