@emilgroup/claim-sdk-node 1.39.0 → 1.39.1-beta.1
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 +15 -0
- package/README.md +2 -2
- package/api/claim-limit-usages-api.ts +648 -0
- package/api/claim-partner-roles-api.ts +627 -0
- package/api/claim-partners-api.ts +520 -0
- package/api/claim-positions-api.ts +1340 -0
- package/api/claim-regulations-api.ts +644 -3
- package/api/claim-statuses-api.ts +752 -5
- package/api/claims-api.ts +863 -11
- package/api/health-check-api.ts +66 -0
- package/api/settlements-api.ts +627 -0
- package/api.ts +4 -0
- package/dist/api/claim-limit-usages-api.d.ts +378 -0
- package/dist/api/claim-limit-usages-api.js +585 -0
- package/dist/api/claim-partner-roles-api.d.ts +358 -0
- package/dist/api/claim-partner-roles-api.js +525 -0
- package/dist/api/claim-partners-api.d.ts +299 -0
- package/dist/api/claim-partners-api.js +428 -0
- package/dist/api/claim-positions-api.d.ts +760 -0
- package/dist/api/claim-positions-api.js +1181 -0
- package/dist/api/claim-regulations-api.d.ts +367 -0
- package/dist/api/claim-regulations-api.js +531 -0
- package/dist/api/claim-statuses-api.d.ts +426 -0
- package/dist/api/claim-statuses-api.js +642 -14
- package/dist/api/claims-api.d.ts +493 -8
- package/dist/api/claims-api.js +734 -10
- package/dist/api/health-check-api.d.ts +33 -0
- package/dist/api/health-check-api.js +73 -0
- package/dist/api/settlements-api.d.ts +358 -0
- package/dist/api/settlements-api.js +525 -0
- package/dist/api.d.ts +2 -0
- package/dist/api.js +2 -0
- package/dist/models/calculation-step-result-class.d.ts +72 -0
- package/dist/models/calculation-step-result-class.js +21 -0
- package/dist/models/claim-applied-deductible-class.d.ts +95 -0
- package/dist/models/claim-applied-deductible-class.js +20 -0
- package/dist/models/claim-class.d.ts +25 -0
- package/dist/models/claim-limit-usage-class.d.ts +143 -0
- package/dist/models/claim-limit-usage-class.js +30 -0
- package/dist/models/claim-limit-usage-result-class.d.ts +48 -0
- package/dist/models/claim-limit-usage-result-class.js +21 -0
- package/dist/models/claim-position-class.d.ts +151 -0
- package/dist/models/claim-position-class.js +20 -0
- package/dist/models/create-claim-position-request-dto.d.ts +66 -0
- package/dist/models/create-claim-position-request-dto.js +15 -0
- package/dist/models/create-claim-position-response-class.d.ts +25 -0
- package/dist/models/create-claim-position-response-class.js +15 -0
- package/dist/models/create-claim-request-dto.d.ts +6 -0
- package/dist/models/create-regulation-item-request-dto.d.ts +26 -3
- package/dist/models/create-regulation-item-request-dto.js +5 -1
- package/dist/models/get-claim-limit-usage-response-class.d.ts +25 -0
- package/dist/models/get-claim-limit-usage-response-class.js +15 -0
- package/dist/models/get-claim-position-response-class.d.ts +25 -0
- package/dist/models/get-claim-position-response-class.js +15 -0
- package/dist/models/index.d.ts +13 -0
- package/dist/models/index.js +13 -0
- package/dist/models/list-claim-limit-usages-response-class.d.ts +43 -0
- package/dist/models/list-claim-limit-usages-response-class.js +15 -0
- package/dist/models/list-claim-partner-roles-response-class.d.ts +12 -0
- package/dist/models/list-claim-partners-response-class.d.ts +12 -0
- package/dist/models/list-claim-positions-response-class.d.ts +43 -0
- package/dist/models/list-claim-positions-response-class.js +15 -0
- package/dist/models/list-claim-statuses-response-class.d.ts +13 -1
- package/dist/models/list-claims-response-class.d.ts +12 -0
- package/dist/models/list-regulations-response-class.d.ts +12 -0
- package/dist/models/patch-claim-request-dto.d.ts +39 -33
- package/dist/models/regulation-item-class.d.ts +35 -0
- package/dist/models/regulation-item-class.js +10 -1
- package/dist/models/update-claim-position-request-dto.d.ts +60 -0
- package/dist/models/update-claim-position-request-dto.js +15 -0
- package/dist/models/update-claim-position-response-class.d.ts +25 -0
- package/dist/models/update-claim-position-response-class.js +15 -0
- package/dist/models/update-claim-request-dto.d.ts +39 -33
- package/dist/models/update-regulation-item-request-dto.d.ts +12 -0
- package/dist/models/update-regulation-item-request-dto.js +6 -1
- package/models/calculation-step-result-class.ts +81 -0
- package/models/claim-applied-deductible-class.ts +104 -0
- package/models/claim-class.ts +25 -0
- package/models/claim-limit-usage-class.ts +154 -0
- package/models/claim-limit-usage-result-class.ts +57 -0
- package/models/claim-position-class.ts +160 -0
- package/models/create-claim-position-request-dto.ts +72 -0
- package/models/create-claim-position-response-class.ts +31 -0
- package/models/create-claim-request-dto.ts +6 -0
- package/models/create-regulation-item-request-dto.ts +27 -3
- package/models/get-claim-limit-usage-response-class.ts +31 -0
- package/models/get-claim-position-response-class.ts +31 -0
- package/models/index.ts +13 -0
- package/models/list-claim-limit-usages-response-class.ts +49 -0
- package/models/list-claim-partner-roles-response-class.ts +12 -0
- package/models/list-claim-partners-response-class.ts +12 -0
- package/models/list-claim-positions-response-class.ts +49 -0
- package/models/list-claim-statuses-response-class.ts +13 -1
- package/models/list-claims-response-class.ts +12 -0
- package/models/list-regulations-response-class.ts +12 -0
- package/models/patch-claim-request-dto.ts +39 -33
- package/models/regulation-item-class.ts +37 -0
- package/models/update-claim-position-request-dto.ts +66 -0
- package/models/update-claim-position-response-class.ts +31 -0
- package/models/update-claim-request-dto.ts +39 -33
- package/models/update-regulation-item-request-dto.ts +13 -0
- package/package.json +1 -1
|
@@ -25,6 +25,14 @@ export declare const HealthCheckApiAxiosParamCreator: (configuration?: Configura
|
|
|
25
25
|
* @throws {RequiredError}
|
|
26
26
|
*/
|
|
27
27
|
check: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
28
|
+
/**
|
|
29
|
+
* Returns the health status of the claim service. This endpoint is used to monitor the operational status of the claim service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available. **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
30
|
+
* @summary Health Check
|
|
31
|
+
* @param {*} [options] Override http request option.
|
|
32
|
+
* @deprecated
|
|
33
|
+
* @throws {RequiredError}
|
|
34
|
+
*/
|
|
35
|
+
check1: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
28
36
|
};
|
|
29
37
|
/**
|
|
30
38
|
* HealthCheckApi - functional programming interface
|
|
@@ -38,6 +46,14 @@ export declare const HealthCheckApiFp: (configuration?: Configuration) => {
|
|
|
38
46
|
* @throws {RequiredError}
|
|
39
47
|
*/
|
|
40
48
|
check(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineResponse200>>;
|
|
49
|
+
/**
|
|
50
|
+
* Returns the health status of the claim service. This endpoint is used to monitor the operational status of the claim service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available. **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
51
|
+
* @summary Health Check
|
|
52
|
+
* @param {*} [options] Override http request option.
|
|
53
|
+
* @deprecated
|
|
54
|
+
* @throws {RequiredError}
|
|
55
|
+
*/
|
|
56
|
+
check1(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineResponse200>>;
|
|
41
57
|
};
|
|
42
58
|
/**
|
|
43
59
|
* HealthCheckApi - factory interface
|
|
@@ -51,6 +67,14 @@ export declare const HealthCheckApiFactory: (configuration?: Configuration, base
|
|
|
51
67
|
* @throws {RequiredError}
|
|
52
68
|
*/
|
|
53
69
|
check(options?: any): AxiosPromise<InlineResponse200>;
|
|
70
|
+
/**
|
|
71
|
+
* Returns the health status of the claim service. This endpoint is used to monitor the operational status of the claim service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available. **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
72
|
+
* @summary Health Check
|
|
73
|
+
* @param {*} [options] Override http request option.
|
|
74
|
+
* @deprecated
|
|
75
|
+
* @throws {RequiredError}
|
|
76
|
+
*/
|
|
77
|
+
check1(options?: any): AxiosPromise<InlineResponse200>;
|
|
54
78
|
};
|
|
55
79
|
/**
|
|
56
80
|
* HealthCheckApi - object-oriented interface
|
|
@@ -67,4 +91,13 @@ export declare class HealthCheckApi extends BaseAPI {
|
|
|
67
91
|
* @memberof HealthCheckApi
|
|
68
92
|
*/
|
|
69
93
|
check(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InlineResponse200, any, {}>>;
|
|
94
|
+
/**
|
|
95
|
+
* Returns the health status of the claim service. This endpoint is used to monitor the operational status of the claim service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available. **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
96
|
+
* @summary Health Check
|
|
97
|
+
* @param {*} [options] Override http request option.
|
|
98
|
+
* @deprecated
|
|
99
|
+
* @throws {RequiredError}
|
|
100
|
+
* @memberof HealthCheckApi
|
|
101
|
+
*/
|
|
102
|
+
check1(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InlineResponse200, any, {}>>;
|
|
70
103
|
}
|
|
@@ -103,6 +103,37 @@ var HealthCheckApiAxiosParamCreator = function (configuration) {
|
|
|
103
103
|
* @throws {RequiredError}
|
|
104
104
|
*/
|
|
105
105
|
check: function (options) {
|
|
106
|
+
if (options === void 0) { options = {}; }
|
|
107
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
108
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
109
|
+
return __generator(this, function (_a) {
|
|
110
|
+
localVarPath = "/claimservice/v1/health";
|
|
111
|
+
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
112
|
+
if (configuration) {
|
|
113
|
+
baseOptions = configuration.baseOptions;
|
|
114
|
+
baseAccessToken = configuration.accessToken;
|
|
115
|
+
}
|
|
116
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
117
|
+
localVarHeaderParameter = {};
|
|
118
|
+
localVarQueryParameter = {};
|
|
119
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
120
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
121
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
122
|
+
return [2 /*return*/, {
|
|
123
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
124
|
+
options: localVarRequestOptions,
|
|
125
|
+
}];
|
|
126
|
+
});
|
|
127
|
+
});
|
|
128
|
+
},
|
|
129
|
+
/**
|
|
130
|
+
* Returns the health status of the claim service. This endpoint is used to monitor the operational status of the claim service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available. **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
131
|
+
* @summary Health Check
|
|
132
|
+
* @param {*} [options] Override http request option.
|
|
133
|
+
* @deprecated
|
|
134
|
+
* @throws {RequiredError}
|
|
135
|
+
*/
|
|
136
|
+
check1: function (options) {
|
|
106
137
|
if (options === void 0) { options = {}; }
|
|
107
138
|
return __awaiter(_this, void 0, void 0, function () {
|
|
108
139
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -155,6 +186,26 @@ var HealthCheckApiFp = function (configuration) {
|
|
|
155
186
|
});
|
|
156
187
|
});
|
|
157
188
|
},
|
|
189
|
+
/**
|
|
190
|
+
* Returns the health status of the claim service. This endpoint is used to monitor the operational status of the claim service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available. **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
191
|
+
* @summary Health Check
|
|
192
|
+
* @param {*} [options] Override http request option.
|
|
193
|
+
* @deprecated
|
|
194
|
+
* @throws {RequiredError}
|
|
195
|
+
*/
|
|
196
|
+
check1: function (options) {
|
|
197
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
198
|
+
var localVarAxiosArgs;
|
|
199
|
+
return __generator(this, function (_a) {
|
|
200
|
+
switch (_a.label) {
|
|
201
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.check1(options)];
|
|
202
|
+
case 1:
|
|
203
|
+
localVarAxiosArgs = _a.sent();
|
|
204
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
205
|
+
}
|
|
206
|
+
});
|
|
207
|
+
});
|
|
208
|
+
},
|
|
158
209
|
};
|
|
159
210
|
};
|
|
160
211
|
exports.HealthCheckApiFp = HealthCheckApiFp;
|
|
@@ -174,6 +225,16 @@ var HealthCheckApiFactory = function (configuration, basePath, axios) {
|
|
|
174
225
|
check: function (options) {
|
|
175
226
|
return localVarFp.check(options).then(function (request) { return request(axios, basePath); });
|
|
176
227
|
},
|
|
228
|
+
/**
|
|
229
|
+
* Returns the health status of the claim service. This endpoint is used to monitor the operational status of the claim service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available. **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
230
|
+
* @summary Health Check
|
|
231
|
+
* @param {*} [options] Override http request option.
|
|
232
|
+
* @deprecated
|
|
233
|
+
* @throws {RequiredError}
|
|
234
|
+
*/
|
|
235
|
+
check1: function (options) {
|
|
236
|
+
return localVarFp.check1(options).then(function (request) { return request(axios, basePath); });
|
|
237
|
+
},
|
|
177
238
|
};
|
|
178
239
|
};
|
|
179
240
|
exports.HealthCheckApiFactory = HealthCheckApiFactory;
|
|
@@ -199,6 +260,18 @@ var HealthCheckApi = /** @class */ (function (_super) {
|
|
|
199
260
|
var _this = this;
|
|
200
261
|
return (0, exports.HealthCheckApiFp)(this.configuration).check(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
201
262
|
};
|
|
263
|
+
/**
|
|
264
|
+
* Returns the health status of the claim service. This endpoint is used to monitor the operational status of the claim service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available. **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
265
|
+
* @summary Health Check
|
|
266
|
+
* @param {*} [options] Override http request option.
|
|
267
|
+
* @deprecated
|
|
268
|
+
* @throws {RequiredError}
|
|
269
|
+
* @memberof HealthCheckApi
|
|
270
|
+
*/
|
|
271
|
+
HealthCheckApi.prototype.check1 = function (options) {
|
|
272
|
+
var _this = this;
|
|
273
|
+
return (0, exports.HealthCheckApiFp)(this.configuration).check1(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
274
|
+
};
|
|
202
275
|
return HealthCheckApi;
|
|
203
276
|
}(base_1.BaseAPI));
|
|
204
277
|
exports.HealthCheckApi = HealthCheckApi;
|