@emilgroup/claim-sdk 1.41.0 → 1.41.1-beta.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 +15 -0
- package/README.md +2 -2
- package/api/claim-limit-usages-api.ts +644 -0
- package/api/claim-partner-roles-api.ts +627 -0
- package/api/claim-partners-api.ts +520 -0
- package/api/claim-positions-api.ts +1336 -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 +581 -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 +1177 -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
|
@@ -109,6 +109,56 @@ var ClaimRegulationsApiAxiosParamCreator = function (configuration) {
|
|
|
109
109
|
case 0:
|
|
110
110
|
// verify required parameter 'createRegulationItemRequestDto' is not null or undefined
|
|
111
111
|
(0, common_1.assertParamExists)('createClaimRegulation', 'createRegulationItemRequestDto', createRegulationItemRequestDto);
|
|
112
|
+
localVarPath = "/claimservice/v1/regulations";
|
|
113
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
114
|
+
if (configuration) {
|
|
115
|
+
baseOptions = configuration.baseOptions;
|
|
116
|
+
baseAccessToken = configuration.accessToken;
|
|
117
|
+
}
|
|
118
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
119
|
+
localVarHeaderParameter = {};
|
|
120
|
+
localVarQueryParameter = {};
|
|
121
|
+
// authentication bearer required
|
|
122
|
+
// http bearer authentication required
|
|
123
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
124
|
+
case 1:
|
|
125
|
+
// authentication bearer required
|
|
126
|
+
// http bearer authentication required
|
|
127
|
+
_a.sent();
|
|
128
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
129
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
130
|
+
}
|
|
131
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
132
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
133
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
134
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
135
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createRegulationItemRequestDto, localVarRequestOptions, configuration);
|
|
136
|
+
return [2 /*return*/, {
|
|
137
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
138
|
+
options: localVarRequestOptions,
|
|
139
|
+
}];
|
|
140
|
+
}
|
|
141
|
+
});
|
|
142
|
+
});
|
|
143
|
+
},
|
|
144
|
+
/**
|
|
145
|
+
* This endpoint will create a new regulation item for a claim **Required Permissions** \"claim-management.regulations.create\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
146
|
+
* @summary Create the claim regulation item
|
|
147
|
+
* @param {CreateRegulationItemRequestDto} createRegulationItemRequestDto
|
|
148
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
149
|
+
* @param {*} [options] Override http request option.
|
|
150
|
+
* @deprecated
|
|
151
|
+
* @throws {RequiredError}
|
|
152
|
+
*/
|
|
153
|
+
createClaimRegulation1: function (createRegulationItemRequestDto, authorization, options) {
|
|
154
|
+
if (options === void 0) { options = {}; }
|
|
155
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
156
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
157
|
+
return __generator(this, function (_a) {
|
|
158
|
+
switch (_a.label) {
|
|
159
|
+
case 0:
|
|
160
|
+
// verify required parameter 'createRegulationItemRequestDto' is not null or undefined
|
|
161
|
+
(0, common_1.assertParamExists)('createClaimRegulation1', 'createRegulationItemRequestDto', createRegulationItemRequestDto);
|
|
112
162
|
localVarPath = "/v1/claims/regulations";
|
|
113
163
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
114
164
|
if (configuration) {
|
|
@@ -158,6 +208,55 @@ var ClaimRegulationsApiAxiosParamCreator = function (configuration) {
|
|
|
158
208
|
case 0:
|
|
159
209
|
// verify required parameter 'code' is not null or undefined
|
|
160
210
|
(0, common_1.assertParamExists)('deleteClaimRegulations', 'code', code);
|
|
211
|
+
localVarPath = "/claimservice/v1/regulations/{code}"
|
|
212
|
+
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
213
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
214
|
+
if (configuration) {
|
|
215
|
+
baseOptions = configuration.baseOptions;
|
|
216
|
+
baseAccessToken = configuration.accessToken;
|
|
217
|
+
}
|
|
218
|
+
localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
|
|
219
|
+
localVarHeaderParameter = {};
|
|
220
|
+
localVarQueryParameter = {};
|
|
221
|
+
// authentication bearer required
|
|
222
|
+
// http bearer authentication required
|
|
223
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
224
|
+
case 1:
|
|
225
|
+
// authentication bearer required
|
|
226
|
+
// http bearer authentication required
|
|
227
|
+
_a.sent();
|
|
228
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
229
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
230
|
+
}
|
|
231
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
232
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
233
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
234
|
+
return [2 /*return*/, {
|
|
235
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
236
|
+
options: localVarRequestOptions,
|
|
237
|
+
}];
|
|
238
|
+
}
|
|
239
|
+
});
|
|
240
|
+
});
|
|
241
|
+
},
|
|
242
|
+
/**
|
|
243
|
+
* This will delete the regulation item identified by the code. **Required Permissions** \"claim-management.regulations.delete\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
244
|
+
* @summary Delete the claim regulation item
|
|
245
|
+
* @param {string} code Unique identifier for the object.
|
|
246
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
247
|
+
* @param {*} [options] Override http request option.
|
|
248
|
+
* @deprecated
|
|
249
|
+
* @throws {RequiredError}
|
|
250
|
+
*/
|
|
251
|
+
deleteClaimRegulations1: function (code, authorization, options) {
|
|
252
|
+
if (options === void 0) { options = {}; }
|
|
253
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
254
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
255
|
+
return __generator(this, function (_a) {
|
|
256
|
+
switch (_a.label) {
|
|
257
|
+
case 0:
|
|
258
|
+
// verify required parameter 'code' is not null or undefined
|
|
259
|
+
(0, common_1.assertParamExists)('deleteClaimRegulations1', 'code', code);
|
|
161
260
|
localVarPath = "/v1/claims/regulations/{code}"
|
|
162
261
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
163
262
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -207,6 +306,59 @@ var ClaimRegulationsApiAxiosParamCreator = function (configuration) {
|
|
|
207
306
|
case 0:
|
|
208
307
|
// verify required parameter 'code' is not null or undefined
|
|
209
308
|
(0, common_1.assertParamExists)('getClaimRegulation', 'code', code);
|
|
309
|
+
localVarPath = "/claimservice/v1/regulations/{code}"
|
|
310
|
+
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
311
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
312
|
+
if (configuration) {
|
|
313
|
+
baseOptions = configuration.baseOptions;
|
|
314
|
+
baseAccessToken = configuration.accessToken;
|
|
315
|
+
}
|
|
316
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
317
|
+
localVarHeaderParameter = {};
|
|
318
|
+
localVarQueryParameter = {};
|
|
319
|
+
// authentication bearer required
|
|
320
|
+
// http bearer authentication required
|
|
321
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
322
|
+
case 1:
|
|
323
|
+
// authentication bearer required
|
|
324
|
+
// http bearer authentication required
|
|
325
|
+
_a.sent();
|
|
326
|
+
if (expand !== undefined) {
|
|
327
|
+
localVarQueryParameter['expand'] = expand;
|
|
328
|
+
}
|
|
329
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
330
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
331
|
+
}
|
|
332
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
333
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
334
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
335
|
+
return [2 /*return*/, {
|
|
336
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
337
|
+
options: localVarRequestOptions,
|
|
338
|
+
}];
|
|
339
|
+
}
|
|
340
|
+
});
|
|
341
|
+
});
|
|
342
|
+
},
|
|
343
|
+
/**
|
|
344
|
+
* Retrieves the details of the claim regulation item that was previously created. Supply the unique claim regulation item code that was returned when you created it and Emil Api will return the corresponding claim regulation item information. **Required Permissions** \"claim-management.regulations.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
345
|
+
* @summary Retrieve the claim regulation item
|
|
346
|
+
* @param {string} code
|
|
347
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
348
|
+
* @param {'claim'} [expand]
|
|
349
|
+
* @param {*} [options] Override http request option.
|
|
350
|
+
* @deprecated
|
|
351
|
+
* @throws {RequiredError}
|
|
352
|
+
*/
|
|
353
|
+
getClaimRegulation1: function (code, authorization, expand, options) {
|
|
354
|
+
if (options === void 0) { options = {}; }
|
|
355
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
356
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
357
|
+
return __generator(this, function (_a) {
|
|
358
|
+
switch (_a.label) {
|
|
359
|
+
case 0:
|
|
360
|
+
// verify required parameter 'code' is not null or undefined
|
|
361
|
+
(0, common_1.assertParamExists)('getClaimRegulation1', 'code', code);
|
|
210
362
|
localVarPath = "/v1/claims/regulations/{code}"
|
|
211
363
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
212
364
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -256,6 +408,79 @@ var ClaimRegulationsApiAxiosParamCreator = function (configuration) {
|
|
|
256
408
|
* @throws {RequiredError}
|
|
257
409
|
*/
|
|
258
410
|
listClaimRegulations: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
411
|
+
if (options === void 0) { options = {}; }
|
|
412
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
413
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
414
|
+
return __generator(this, function (_a) {
|
|
415
|
+
switch (_a.label) {
|
|
416
|
+
case 0:
|
|
417
|
+
localVarPath = "/claimservice/v1/regulations";
|
|
418
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
419
|
+
if (configuration) {
|
|
420
|
+
baseOptions = configuration.baseOptions;
|
|
421
|
+
baseAccessToken = configuration.accessToken;
|
|
422
|
+
}
|
|
423
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
424
|
+
localVarHeaderParameter = {};
|
|
425
|
+
localVarQueryParameter = {};
|
|
426
|
+
// authentication bearer required
|
|
427
|
+
// http bearer authentication required
|
|
428
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
429
|
+
case 1:
|
|
430
|
+
// authentication bearer required
|
|
431
|
+
// http bearer authentication required
|
|
432
|
+
_a.sent();
|
|
433
|
+
if (pageSize !== undefined) {
|
|
434
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
435
|
+
}
|
|
436
|
+
if (pageToken !== undefined) {
|
|
437
|
+
localVarQueryParameter['pageToken'] = pageToken;
|
|
438
|
+
}
|
|
439
|
+
if (filter !== undefined) {
|
|
440
|
+
localVarQueryParameter['filter'] = filter;
|
|
441
|
+
}
|
|
442
|
+
if (search !== undefined) {
|
|
443
|
+
localVarQueryParameter['search'] = search;
|
|
444
|
+
}
|
|
445
|
+
if (order !== undefined) {
|
|
446
|
+
localVarQueryParameter['order'] = order;
|
|
447
|
+
}
|
|
448
|
+
if (expand !== undefined) {
|
|
449
|
+
localVarQueryParameter['expand'] = expand;
|
|
450
|
+
}
|
|
451
|
+
if (filters !== undefined) {
|
|
452
|
+
localVarQueryParameter['filters'] = filters;
|
|
453
|
+
}
|
|
454
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
455
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
456
|
+
}
|
|
457
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
458
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
459
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
460
|
+
return [2 /*return*/, {
|
|
461
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
462
|
+
options: localVarRequestOptions,
|
|
463
|
+
}];
|
|
464
|
+
}
|
|
465
|
+
});
|
|
466
|
+
});
|
|
467
|
+
},
|
|
468
|
+
/**
|
|
469
|
+
* Returns a list of claim regulation items you have previously created. The claim regulation items are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.regulations.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
470
|
+
* @summary List claim regulation items
|
|
471
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
472
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
473
|
+
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
474
|
+
* @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: code, claimCode, amount, bookingDate, currency, regulationItemType, payoutDetails.payoutType, payoutDetails.payoutStatus, regressDetails.recoveryType, regressDetails.recoveryStatus, reserveDetails.reserveType</i>
|
|
475
|
+
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, claimCode, currency</i>
|
|
476
|
+
* @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: amount, bookingDate, createdAt, updatedAt</i>
|
|
477
|
+
* @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: claim<i>
|
|
478
|
+
* @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: code, claimCode, amount, bookingDate, currency, regulationItemType, payoutDetails.payoutType, payoutDetails.payoutStatus, regressDetails.recoveryType, regressDetails.recoveryStatus, reserveDetails.reserveType</i>
|
|
479
|
+
* @param {*} [options] Override http request option.
|
|
480
|
+
* @deprecated
|
|
481
|
+
* @throws {RequiredError}
|
|
482
|
+
*/
|
|
483
|
+
listClaimRegulations1: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
259
484
|
if (options === void 0) { options = {}; }
|
|
260
485
|
return __awaiter(_this, void 0, void 0, function () {
|
|
261
486
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -333,6 +558,60 @@ var ClaimRegulationsApiAxiosParamCreator = function (configuration) {
|
|
|
333
558
|
(0, common_1.assertParamExists)('updateClaimRegulation', 'code', code);
|
|
334
559
|
// verify required parameter 'updateRegulationItemRequestDto' is not null or undefined
|
|
335
560
|
(0, common_1.assertParamExists)('updateClaimRegulation', 'updateRegulationItemRequestDto', updateRegulationItemRequestDto);
|
|
561
|
+
localVarPath = "/claimservice/v1/regulations/{code}"
|
|
562
|
+
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
563
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
564
|
+
if (configuration) {
|
|
565
|
+
baseOptions = configuration.baseOptions;
|
|
566
|
+
baseAccessToken = configuration.accessToken;
|
|
567
|
+
}
|
|
568
|
+
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
569
|
+
localVarHeaderParameter = {};
|
|
570
|
+
localVarQueryParameter = {};
|
|
571
|
+
// authentication bearer required
|
|
572
|
+
// http bearer authentication required
|
|
573
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
574
|
+
case 1:
|
|
575
|
+
// authentication bearer required
|
|
576
|
+
// http bearer authentication required
|
|
577
|
+
_a.sent();
|
|
578
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
579
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
580
|
+
}
|
|
581
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
582
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
583
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
584
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
585
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateRegulationItemRequestDto, localVarRequestOptions, configuration);
|
|
586
|
+
return [2 /*return*/, {
|
|
587
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
588
|
+
options: localVarRequestOptions,
|
|
589
|
+
}];
|
|
590
|
+
}
|
|
591
|
+
});
|
|
592
|
+
});
|
|
593
|
+
},
|
|
594
|
+
/**
|
|
595
|
+
* 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\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
596
|
+
* @summary Update the claim regulation item
|
|
597
|
+
* @param {string} code Unique identifier for the object.
|
|
598
|
+
* @param {UpdateRegulationItemRequestDto} updateRegulationItemRequestDto
|
|
599
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
600
|
+
* @param {*} [options] Override http request option.
|
|
601
|
+
* @deprecated
|
|
602
|
+
* @throws {RequiredError}
|
|
603
|
+
*/
|
|
604
|
+
updateClaimRegulation1: function (code, updateRegulationItemRequestDto, authorization, options) {
|
|
605
|
+
if (options === void 0) { options = {}; }
|
|
606
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
607
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
608
|
+
return __generator(this, function (_a) {
|
|
609
|
+
switch (_a.label) {
|
|
610
|
+
case 0:
|
|
611
|
+
// verify required parameter 'code' is not null or undefined
|
|
612
|
+
(0, common_1.assertParamExists)('updateClaimRegulation1', 'code', code);
|
|
613
|
+
// verify required parameter 'updateRegulationItemRequestDto' is not null or undefined
|
|
614
|
+
(0, common_1.assertParamExists)('updateClaimRegulation1', 'updateRegulationItemRequestDto', updateRegulationItemRequestDto);
|
|
336
615
|
localVarPath = "/v1/claims/regulations/{code}"
|
|
337
616
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
338
617
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -397,6 +676,28 @@ var ClaimRegulationsApiFp = function (configuration) {
|
|
|
397
676
|
});
|
|
398
677
|
});
|
|
399
678
|
},
|
|
679
|
+
/**
|
|
680
|
+
* This endpoint will create a new regulation item for a claim **Required Permissions** \"claim-management.regulations.create\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
681
|
+
* @summary Create the claim regulation item
|
|
682
|
+
* @param {CreateRegulationItemRequestDto} createRegulationItemRequestDto
|
|
683
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
684
|
+
* @param {*} [options] Override http request option.
|
|
685
|
+
* @deprecated
|
|
686
|
+
* @throws {RequiredError}
|
|
687
|
+
*/
|
|
688
|
+
createClaimRegulation1: function (createRegulationItemRequestDto, authorization, options) {
|
|
689
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
690
|
+
var localVarAxiosArgs;
|
|
691
|
+
return __generator(this, function (_a) {
|
|
692
|
+
switch (_a.label) {
|
|
693
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.createClaimRegulation1(createRegulationItemRequestDto, authorization, options)];
|
|
694
|
+
case 1:
|
|
695
|
+
localVarAxiosArgs = _a.sent();
|
|
696
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
697
|
+
}
|
|
698
|
+
});
|
|
699
|
+
});
|
|
700
|
+
},
|
|
400
701
|
/**
|
|
401
702
|
* This will delete the regulation item identified by the code. **Required Permissions** \"claim-management.regulations.delete\"
|
|
402
703
|
* @summary Delete the claim regulation item
|
|
@@ -418,6 +719,28 @@ var ClaimRegulationsApiFp = function (configuration) {
|
|
|
418
719
|
});
|
|
419
720
|
});
|
|
420
721
|
},
|
|
722
|
+
/**
|
|
723
|
+
* This will delete the regulation item identified by the code. **Required Permissions** \"claim-management.regulations.delete\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
724
|
+
* @summary Delete the claim regulation item
|
|
725
|
+
* @param {string} code Unique identifier for the object.
|
|
726
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
727
|
+
* @param {*} [options] Override http request option.
|
|
728
|
+
* @deprecated
|
|
729
|
+
* @throws {RequiredError}
|
|
730
|
+
*/
|
|
731
|
+
deleteClaimRegulations1: function (code, authorization, options) {
|
|
732
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
733
|
+
var localVarAxiosArgs;
|
|
734
|
+
return __generator(this, function (_a) {
|
|
735
|
+
switch (_a.label) {
|
|
736
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteClaimRegulations1(code, authorization, options)];
|
|
737
|
+
case 1:
|
|
738
|
+
localVarAxiosArgs = _a.sent();
|
|
739
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
740
|
+
}
|
|
741
|
+
});
|
|
742
|
+
});
|
|
743
|
+
},
|
|
421
744
|
/**
|
|
422
745
|
* Retrieves the details of the claim regulation item that was previously created. Supply the unique claim regulation item code that was returned when you created it and Emil Api will return the corresponding claim regulation item information. **Required Permissions** \"claim-management.regulations.view\"
|
|
423
746
|
* @summary Retrieve the claim regulation item
|
|
@@ -440,6 +763,29 @@ var ClaimRegulationsApiFp = function (configuration) {
|
|
|
440
763
|
});
|
|
441
764
|
});
|
|
442
765
|
},
|
|
766
|
+
/**
|
|
767
|
+
* Retrieves the details of the claim regulation item that was previously created. Supply the unique claim regulation item code that was returned when you created it and Emil Api will return the corresponding claim regulation item information. **Required Permissions** \"claim-management.regulations.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
768
|
+
* @summary Retrieve the claim regulation item
|
|
769
|
+
* @param {string} code
|
|
770
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
771
|
+
* @param {'claim'} [expand]
|
|
772
|
+
* @param {*} [options] Override http request option.
|
|
773
|
+
* @deprecated
|
|
774
|
+
* @throws {RequiredError}
|
|
775
|
+
*/
|
|
776
|
+
getClaimRegulation1: function (code, authorization, expand, options) {
|
|
777
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
778
|
+
var localVarAxiosArgs;
|
|
779
|
+
return __generator(this, function (_a) {
|
|
780
|
+
switch (_a.label) {
|
|
781
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getClaimRegulation1(code, authorization, expand, options)];
|
|
782
|
+
case 1:
|
|
783
|
+
localVarAxiosArgs = _a.sent();
|
|
784
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
785
|
+
}
|
|
786
|
+
});
|
|
787
|
+
});
|
|
788
|
+
},
|
|
443
789
|
/**
|
|
444
790
|
* Returns a list of claim regulation items you have previously created. The claim regulation items are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.regulations.view\"
|
|
445
791
|
* @summary List claim regulation items
|
|
@@ -467,6 +813,34 @@ var ClaimRegulationsApiFp = function (configuration) {
|
|
|
467
813
|
});
|
|
468
814
|
});
|
|
469
815
|
},
|
|
816
|
+
/**
|
|
817
|
+
* Returns a list of claim regulation items you have previously created. The claim regulation items are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.regulations.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
818
|
+
* @summary List claim regulation items
|
|
819
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
820
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
821
|
+
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
822
|
+
* @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: code, claimCode, amount, bookingDate, currency, regulationItemType, payoutDetails.payoutType, payoutDetails.payoutStatus, regressDetails.recoveryType, regressDetails.recoveryStatus, reserveDetails.reserveType</i>
|
|
823
|
+
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, claimCode, currency</i>
|
|
824
|
+
* @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: amount, bookingDate, createdAt, updatedAt</i>
|
|
825
|
+
* @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: claim<i>
|
|
826
|
+
* @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: code, claimCode, amount, bookingDate, currency, regulationItemType, payoutDetails.payoutType, payoutDetails.payoutStatus, regressDetails.recoveryType, regressDetails.recoveryStatus, reserveDetails.reserveType</i>
|
|
827
|
+
* @param {*} [options] Override http request option.
|
|
828
|
+
* @deprecated
|
|
829
|
+
* @throws {RequiredError}
|
|
830
|
+
*/
|
|
831
|
+
listClaimRegulations1: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
832
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
833
|
+
var localVarAxiosArgs;
|
|
834
|
+
return __generator(this, function (_a) {
|
|
835
|
+
switch (_a.label) {
|
|
836
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listClaimRegulations1(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
|
|
837
|
+
case 1:
|
|
838
|
+
localVarAxiosArgs = _a.sent();
|
|
839
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
840
|
+
}
|
|
841
|
+
});
|
|
842
|
+
});
|
|
843
|
+
},
|
|
470
844
|
/**
|
|
471
845
|
* 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
846
|
* @summary Update the claim regulation item
|
|
@@ -489,6 +863,29 @@ var ClaimRegulationsApiFp = function (configuration) {
|
|
|
489
863
|
});
|
|
490
864
|
});
|
|
491
865
|
},
|
|
866
|
+
/**
|
|
867
|
+
* 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\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
868
|
+
* @summary Update the claim regulation item
|
|
869
|
+
* @param {string} code Unique identifier for the object.
|
|
870
|
+
* @param {UpdateRegulationItemRequestDto} updateRegulationItemRequestDto
|
|
871
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
872
|
+
* @param {*} [options] Override http request option.
|
|
873
|
+
* @deprecated
|
|
874
|
+
* @throws {RequiredError}
|
|
875
|
+
*/
|
|
876
|
+
updateClaimRegulation1: function (code, updateRegulationItemRequestDto, authorization, options) {
|
|
877
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
878
|
+
var localVarAxiosArgs;
|
|
879
|
+
return __generator(this, function (_a) {
|
|
880
|
+
switch (_a.label) {
|
|
881
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateClaimRegulation1(code, updateRegulationItemRequestDto, authorization, options)];
|
|
882
|
+
case 1:
|
|
883
|
+
localVarAxiosArgs = _a.sent();
|
|
884
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
885
|
+
}
|
|
886
|
+
});
|
|
887
|
+
});
|
|
888
|
+
},
|
|
492
889
|
};
|
|
493
890
|
};
|
|
494
891
|
exports.ClaimRegulationsApiFp = ClaimRegulationsApiFp;
|
|
@@ -510,6 +907,18 @@ var ClaimRegulationsApiFactory = function (configuration, basePath, axios) {
|
|
|
510
907
|
createClaimRegulation: function (createRegulationItemRequestDto, authorization, options) {
|
|
511
908
|
return localVarFp.createClaimRegulation(createRegulationItemRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
512
909
|
},
|
|
910
|
+
/**
|
|
911
|
+
* This endpoint will create a new regulation item for a claim **Required Permissions** \"claim-management.regulations.create\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
912
|
+
* @summary Create the claim regulation item
|
|
913
|
+
* @param {CreateRegulationItemRequestDto} createRegulationItemRequestDto
|
|
914
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
915
|
+
* @param {*} [options] Override http request option.
|
|
916
|
+
* @deprecated
|
|
917
|
+
* @throws {RequiredError}
|
|
918
|
+
*/
|
|
919
|
+
createClaimRegulation1: function (createRegulationItemRequestDto, authorization, options) {
|
|
920
|
+
return localVarFp.createClaimRegulation1(createRegulationItemRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
921
|
+
},
|
|
513
922
|
/**
|
|
514
923
|
* This will delete the regulation item identified by the code. **Required Permissions** \"claim-management.regulations.delete\"
|
|
515
924
|
* @summary Delete the claim regulation item
|
|
@@ -521,6 +930,18 @@ var ClaimRegulationsApiFactory = function (configuration, basePath, axios) {
|
|
|
521
930
|
deleteClaimRegulations: function (code, authorization, options) {
|
|
522
931
|
return localVarFp.deleteClaimRegulations(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
523
932
|
},
|
|
933
|
+
/**
|
|
934
|
+
* This will delete the regulation item identified by the code. **Required Permissions** \"claim-management.regulations.delete\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
935
|
+
* @summary Delete the claim regulation item
|
|
936
|
+
* @param {string} code Unique identifier for the object.
|
|
937
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
938
|
+
* @param {*} [options] Override http request option.
|
|
939
|
+
* @deprecated
|
|
940
|
+
* @throws {RequiredError}
|
|
941
|
+
*/
|
|
942
|
+
deleteClaimRegulations1: function (code, authorization, options) {
|
|
943
|
+
return localVarFp.deleteClaimRegulations1(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
944
|
+
},
|
|
524
945
|
/**
|
|
525
946
|
* Retrieves the details of the claim regulation item that was previously created. Supply the unique claim regulation item code that was returned when you created it and Emil Api will return the corresponding claim regulation item information. **Required Permissions** \"claim-management.regulations.view\"
|
|
526
947
|
* @summary Retrieve the claim regulation item
|
|
@@ -533,6 +954,19 @@ var ClaimRegulationsApiFactory = function (configuration, basePath, axios) {
|
|
|
533
954
|
getClaimRegulation: function (code, authorization, expand, options) {
|
|
534
955
|
return localVarFp.getClaimRegulation(code, authorization, expand, options).then(function (request) { return request(axios, basePath); });
|
|
535
956
|
},
|
|
957
|
+
/**
|
|
958
|
+
* Retrieves the details of the claim regulation item that was previously created. Supply the unique claim regulation item code that was returned when you created it and Emil Api will return the corresponding claim regulation item information. **Required Permissions** \"claim-management.regulations.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
959
|
+
* @summary Retrieve the claim regulation item
|
|
960
|
+
* @param {string} code
|
|
961
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
962
|
+
* @param {'claim'} [expand]
|
|
963
|
+
* @param {*} [options] Override http request option.
|
|
964
|
+
* @deprecated
|
|
965
|
+
* @throws {RequiredError}
|
|
966
|
+
*/
|
|
967
|
+
getClaimRegulation1: function (code, authorization, expand, options) {
|
|
968
|
+
return localVarFp.getClaimRegulation1(code, authorization, expand, options).then(function (request) { return request(axios, basePath); });
|
|
969
|
+
},
|
|
536
970
|
/**
|
|
537
971
|
* Returns a list of claim regulation items you have previously created. The claim regulation items are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.regulations.view\"
|
|
538
972
|
* @summary List claim regulation items
|
|
@@ -550,6 +984,24 @@ var ClaimRegulationsApiFactory = function (configuration, basePath, axios) {
|
|
|
550
984
|
listClaimRegulations: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
551
985
|
return localVarFp.listClaimRegulations(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
552
986
|
},
|
|
987
|
+
/**
|
|
988
|
+
* Returns a list of claim regulation items you have previously created. The claim regulation items are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.regulations.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
989
|
+
* @summary List claim regulation items
|
|
990
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
991
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
992
|
+
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
993
|
+
* @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: code, claimCode, amount, bookingDate, currency, regulationItemType, payoutDetails.payoutType, payoutDetails.payoutStatus, regressDetails.recoveryType, regressDetails.recoveryStatus, reserveDetails.reserveType</i>
|
|
994
|
+
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, claimCode, currency</i>
|
|
995
|
+
* @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: amount, bookingDate, createdAt, updatedAt</i>
|
|
996
|
+
* @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: claim<i>
|
|
997
|
+
* @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: code, claimCode, amount, bookingDate, currency, regulationItemType, payoutDetails.payoutType, payoutDetails.payoutStatus, regressDetails.recoveryType, regressDetails.recoveryStatus, reserveDetails.reserveType</i>
|
|
998
|
+
* @param {*} [options] Override http request option.
|
|
999
|
+
* @deprecated
|
|
1000
|
+
* @throws {RequiredError}
|
|
1001
|
+
*/
|
|
1002
|
+
listClaimRegulations1: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
1003
|
+
return localVarFp.listClaimRegulations1(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
1004
|
+
},
|
|
553
1005
|
/**
|
|
554
1006
|
* 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
1007
|
* @summary Update the claim regulation item
|
|
@@ -562,6 +1014,19 @@ var ClaimRegulationsApiFactory = function (configuration, basePath, axios) {
|
|
|
562
1014
|
updateClaimRegulation: function (code, updateRegulationItemRequestDto, authorization, options) {
|
|
563
1015
|
return localVarFp.updateClaimRegulation(code, updateRegulationItemRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
564
1016
|
},
|
|
1017
|
+
/**
|
|
1018
|
+
* 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\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1019
|
+
* @summary Update the claim regulation item
|
|
1020
|
+
* @param {string} code Unique identifier for the object.
|
|
1021
|
+
* @param {UpdateRegulationItemRequestDto} updateRegulationItemRequestDto
|
|
1022
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1023
|
+
* @param {*} [options] Override http request option.
|
|
1024
|
+
* @deprecated
|
|
1025
|
+
* @throws {RequiredError}
|
|
1026
|
+
*/
|
|
1027
|
+
updateClaimRegulation1: function (code, updateRegulationItemRequestDto, authorization, options) {
|
|
1028
|
+
return localVarFp.updateClaimRegulation1(code, updateRegulationItemRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
1029
|
+
},
|
|
565
1030
|
};
|
|
566
1031
|
};
|
|
567
1032
|
exports.ClaimRegulationsApiFactory = ClaimRegulationsApiFactory;
|
|
@@ -588,6 +1053,19 @@ var ClaimRegulationsApi = /** @class */ (function (_super) {
|
|
|
588
1053
|
var _this = this;
|
|
589
1054
|
return (0, exports.ClaimRegulationsApiFp)(this.configuration).createClaimRegulation(requestParameters.createRegulationItemRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
590
1055
|
};
|
|
1056
|
+
/**
|
|
1057
|
+
* This endpoint will create a new regulation item for a claim **Required Permissions** \"claim-management.regulations.create\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1058
|
+
* @summary Create the claim regulation item
|
|
1059
|
+
* @param {ClaimRegulationsApiCreateClaimRegulation1Request} requestParameters Request parameters.
|
|
1060
|
+
* @param {*} [options] Override http request option.
|
|
1061
|
+
* @deprecated
|
|
1062
|
+
* @throws {RequiredError}
|
|
1063
|
+
* @memberof ClaimRegulationsApi
|
|
1064
|
+
*/
|
|
1065
|
+
ClaimRegulationsApi.prototype.createClaimRegulation1 = function (requestParameters, options) {
|
|
1066
|
+
var _this = this;
|
|
1067
|
+
return (0, exports.ClaimRegulationsApiFp)(this.configuration).createClaimRegulation1(requestParameters.createRegulationItemRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1068
|
+
};
|
|
591
1069
|
/**
|
|
592
1070
|
* This will delete the regulation item identified by the code. **Required Permissions** \"claim-management.regulations.delete\"
|
|
593
1071
|
* @summary Delete the claim regulation item
|
|
@@ -600,6 +1078,19 @@ var ClaimRegulationsApi = /** @class */ (function (_super) {
|
|
|
600
1078
|
var _this = this;
|
|
601
1079
|
return (0, exports.ClaimRegulationsApiFp)(this.configuration).deleteClaimRegulations(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
602
1080
|
};
|
|
1081
|
+
/**
|
|
1082
|
+
* This will delete the regulation item identified by the code. **Required Permissions** \"claim-management.regulations.delete\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1083
|
+
* @summary Delete the claim regulation item
|
|
1084
|
+
* @param {ClaimRegulationsApiDeleteClaimRegulations1Request} requestParameters Request parameters.
|
|
1085
|
+
* @param {*} [options] Override http request option.
|
|
1086
|
+
* @deprecated
|
|
1087
|
+
* @throws {RequiredError}
|
|
1088
|
+
* @memberof ClaimRegulationsApi
|
|
1089
|
+
*/
|
|
1090
|
+
ClaimRegulationsApi.prototype.deleteClaimRegulations1 = function (requestParameters, options) {
|
|
1091
|
+
var _this = this;
|
|
1092
|
+
return (0, exports.ClaimRegulationsApiFp)(this.configuration).deleteClaimRegulations1(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1093
|
+
};
|
|
603
1094
|
/**
|
|
604
1095
|
* Retrieves the details of the claim regulation item that was previously created. Supply the unique claim regulation item code that was returned when you created it and Emil Api will return the corresponding claim regulation item information. **Required Permissions** \"claim-management.regulations.view\"
|
|
605
1096
|
* @summary Retrieve the claim regulation item
|
|
@@ -612,6 +1103,19 @@ var ClaimRegulationsApi = /** @class */ (function (_super) {
|
|
|
612
1103
|
var _this = this;
|
|
613
1104
|
return (0, exports.ClaimRegulationsApiFp)(this.configuration).getClaimRegulation(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
614
1105
|
};
|
|
1106
|
+
/**
|
|
1107
|
+
* Retrieves the details of the claim regulation item that was previously created. Supply the unique claim regulation item code that was returned when you created it and Emil Api will return the corresponding claim regulation item information. **Required Permissions** \"claim-management.regulations.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1108
|
+
* @summary Retrieve the claim regulation item
|
|
1109
|
+
* @param {ClaimRegulationsApiGetClaimRegulation1Request} requestParameters Request parameters.
|
|
1110
|
+
* @param {*} [options] Override http request option.
|
|
1111
|
+
* @deprecated
|
|
1112
|
+
* @throws {RequiredError}
|
|
1113
|
+
* @memberof ClaimRegulationsApi
|
|
1114
|
+
*/
|
|
1115
|
+
ClaimRegulationsApi.prototype.getClaimRegulation1 = function (requestParameters, options) {
|
|
1116
|
+
var _this = this;
|
|
1117
|
+
return (0, exports.ClaimRegulationsApiFp)(this.configuration).getClaimRegulation1(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1118
|
+
};
|
|
615
1119
|
/**
|
|
616
1120
|
* Returns a list of claim regulation items you have previously created. The claim regulation items are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.regulations.view\"
|
|
617
1121
|
* @summary List claim regulation items
|
|
@@ -625,6 +1129,20 @@ var ClaimRegulationsApi = /** @class */ (function (_super) {
|
|
|
625
1129
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
626
1130
|
return (0, exports.ClaimRegulationsApiFp)(this.configuration).listClaimRegulations(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
627
1131
|
};
|
|
1132
|
+
/**
|
|
1133
|
+
* Returns a list of claim regulation items you have previously created. The claim regulation items are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.regulations.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1134
|
+
* @summary List claim regulation items
|
|
1135
|
+
* @param {ClaimRegulationsApiListClaimRegulations1Request} requestParameters Request parameters.
|
|
1136
|
+
* @param {*} [options] Override http request option.
|
|
1137
|
+
* @deprecated
|
|
1138
|
+
* @throws {RequiredError}
|
|
1139
|
+
* @memberof ClaimRegulationsApi
|
|
1140
|
+
*/
|
|
1141
|
+
ClaimRegulationsApi.prototype.listClaimRegulations1 = function (requestParameters, options) {
|
|
1142
|
+
var _this = this;
|
|
1143
|
+
if (requestParameters === void 0) { requestParameters = {}; }
|
|
1144
|
+
return (0, exports.ClaimRegulationsApiFp)(this.configuration).listClaimRegulations1(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1145
|
+
};
|
|
628
1146
|
/**
|
|
629
1147
|
* 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\"
|
|
630
1148
|
* @summary Update the claim regulation item
|
|
@@ -637,6 +1155,19 @@ var ClaimRegulationsApi = /** @class */ (function (_super) {
|
|
|
637
1155
|
var _this = this;
|
|
638
1156
|
return (0, exports.ClaimRegulationsApiFp)(this.configuration).updateClaimRegulation(requestParameters.code, requestParameters.updateRegulationItemRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
639
1157
|
};
|
|
1158
|
+
/**
|
|
1159
|
+
* 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\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1160
|
+
* @summary Update the claim regulation item
|
|
1161
|
+
* @param {ClaimRegulationsApiUpdateClaimRegulation1Request} requestParameters Request parameters.
|
|
1162
|
+
* @param {*} [options] Override http request option.
|
|
1163
|
+
* @deprecated
|
|
1164
|
+
* @throws {RequiredError}
|
|
1165
|
+
* @memberof ClaimRegulationsApi
|
|
1166
|
+
*/
|
|
1167
|
+
ClaimRegulationsApi.prototype.updateClaimRegulation1 = function (requestParameters, options) {
|
|
1168
|
+
var _this = this;
|
|
1169
|
+
return (0, exports.ClaimRegulationsApiFp)(this.configuration).updateClaimRegulation1(requestParameters.code, requestParameters.updateRegulationItemRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1170
|
+
};
|
|
640
1171
|
return ClaimRegulationsApi;
|
|
641
1172
|
}(base_1.BaseAPI));
|
|
642
1173
|
exports.ClaimRegulationsApi = ClaimRegulationsApi;
|