@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 ClaimStatusesApiAxiosParamCreator = function (configuration) {
|
|
|
109
109
|
case 0:
|
|
110
110
|
// verify required parameter 'createClaimStatusRequestDto' is not null or undefined
|
|
111
111
|
(0, common_1.assertParamExists)('createClaimStatus', 'createClaimStatusRequestDto', createClaimStatusRequestDto);
|
|
112
|
+
localVarPath = "/claimservice/v1/claim-statuses";
|
|
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)(createClaimStatusRequestDto, localVarRequestOptions, configuration);
|
|
136
|
+
return [2 /*return*/, {
|
|
137
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
138
|
+
options: localVarRequestOptions,
|
|
139
|
+
}];
|
|
140
|
+
}
|
|
141
|
+
});
|
|
142
|
+
});
|
|
143
|
+
},
|
|
144
|
+
/**
|
|
145
|
+
* This creates a claim status in the database **Required Permissions** \"claim-management.statuses.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 status
|
|
147
|
+
* @param {CreateClaimStatusRequestDto} createClaimStatusRequestDto
|
|
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
|
+
createClaimStatus1: function (createClaimStatusRequestDto, 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 'createClaimStatusRequestDto' is not null or undefined
|
|
161
|
+
(0, common_1.assertParamExists)('createClaimStatus1', 'createClaimStatusRequestDto', createClaimStatusRequestDto);
|
|
112
162
|
localVarPath = "/v1/claim-statuses";
|
|
113
163
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
114
164
|
if (configuration) {
|
|
@@ -158,6 +208,55 @@ var ClaimStatusesApiAxiosParamCreator = function (configuration) {
|
|
|
158
208
|
case 0:
|
|
159
209
|
// verify required parameter 'id' is not null or undefined
|
|
160
210
|
(0, common_1.assertParamExists)('deleteClaimStatus', 'id', id);
|
|
211
|
+
localVarPath = "/claimservice/v1/claim-statuses/{id}"
|
|
212
|
+
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
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
|
+
* Permanently deletes the claim status. Supply the unique id that was returned when you created the claim status and this will delete it. **Required Permissions** \"claim-management.statuses.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 status
|
|
245
|
+
* @param {number} id
|
|
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
|
+
deleteClaimStatus1: function (id, 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 'id' is not null or undefined
|
|
259
|
+
(0, common_1.assertParamExists)('deleteClaimStatus1', 'id', id);
|
|
161
260
|
localVarPath = "/v1/claim-statuses/{id}"
|
|
162
261
|
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
163
262
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -206,6 +305,55 @@ var ClaimStatusesApiAxiosParamCreator = function (configuration) {
|
|
|
206
305
|
case 0:
|
|
207
306
|
// verify required parameter 'id' is not null or undefined
|
|
208
307
|
(0, common_1.assertParamExists)('getClaimStatus', 'id', id);
|
|
308
|
+
localVarPath = "/claimservice/v1/claim-statuses/{id}"
|
|
309
|
+
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
310
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
311
|
+
if (configuration) {
|
|
312
|
+
baseOptions = configuration.baseOptions;
|
|
313
|
+
baseAccessToken = configuration.accessToken;
|
|
314
|
+
}
|
|
315
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
316
|
+
localVarHeaderParameter = {};
|
|
317
|
+
localVarQueryParameter = {};
|
|
318
|
+
// authentication bearer required
|
|
319
|
+
// http bearer authentication required
|
|
320
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
321
|
+
case 1:
|
|
322
|
+
// authentication bearer required
|
|
323
|
+
// http bearer authentication required
|
|
324
|
+
_a.sent();
|
|
325
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
326
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
327
|
+
}
|
|
328
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
329
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
330
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
331
|
+
return [2 /*return*/, {
|
|
332
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
333
|
+
options: localVarRequestOptions,
|
|
334
|
+
}];
|
|
335
|
+
}
|
|
336
|
+
});
|
|
337
|
+
});
|
|
338
|
+
},
|
|
339
|
+
/**
|
|
340
|
+
* Retrieves the details of the claim status that was previously created. Supply the unique claim status id that was returned when you created it and Emil Api will return the corresponding claim status information. **Required Permissions** \"claim-management.statuses.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
341
|
+
* @summary Retrieve the claim status
|
|
342
|
+
* @param {number} id
|
|
343
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
344
|
+
* @param {*} [options] Override http request option.
|
|
345
|
+
* @deprecated
|
|
346
|
+
* @throws {RequiredError}
|
|
347
|
+
*/
|
|
348
|
+
getClaimStatus1: function (id, authorization, options) {
|
|
349
|
+
if (options === void 0) { options = {}; }
|
|
350
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
351
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
352
|
+
return __generator(this, function (_a) {
|
|
353
|
+
switch (_a.label) {
|
|
354
|
+
case 0:
|
|
355
|
+
// verify required parameter 'id' is not null or undefined
|
|
356
|
+
(0, common_1.assertParamExists)('getClaimStatus1', 'id', id);
|
|
209
357
|
localVarPath = "/v1/claim-statuses/{id}"
|
|
210
358
|
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
211
359
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -252,6 +400,79 @@ var ClaimStatusesApiAxiosParamCreator = function (configuration) {
|
|
|
252
400
|
* @throws {RequiredError}
|
|
253
401
|
*/
|
|
254
402
|
listClaimStatuses: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
403
|
+
if (options === void 0) { options = {}; }
|
|
404
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
405
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
406
|
+
return __generator(this, function (_a) {
|
|
407
|
+
switch (_a.label) {
|
|
408
|
+
case 0:
|
|
409
|
+
localVarPath = "/claimservice/v1/claim-statuses";
|
|
410
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
411
|
+
if (configuration) {
|
|
412
|
+
baseOptions = configuration.baseOptions;
|
|
413
|
+
baseAccessToken = configuration.accessToken;
|
|
414
|
+
}
|
|
415
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
416
|
+
localVarHeaderParameter = {};
|
|
417
|
+
localVarQueryParameter = {};
|
|
418
|
+
// authentication bearer required
|
|
419
|
+
// http bearer authentication required
|
|
420
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
421
|
+
case 1:
|
|
422
|
+
// authentication bearer required
|
|
423
|
+
// http bearer authentication required
|
|
424
|
+
_a.sent();
|
|
425
|
+
if (pageSize !== undefined) {
|
|
426
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
427
|
+
}
|
|
428
|
+
if (pageToken !== undefined) {
|
|
429
|
+
localVarQueryParameter['pageToken'] = pageToken;
|
|
430
|
+
}
|
|
431
|
+
if (filter !== undefined) {
|
|
432
|
+
localVarQueryParameter['filter'] = filter;
|
|
433
|
+
}
|
|
434
|
+
if (search !== undefined) {
|
|
435
|
+
localVarQueryParameter['search'] = search;
|
|
436
|
+
}
|
|
437
|
+
if (order !== undefined) {
|
|
438
|
+
localVarQueryParameter['order'] = order;
|
|
439
|
+
}
|
|
440
|
+
if (expand !== undefined) {
|
|
441
|
+
localVarQueryParameter['expand'] = expand;
|
|
442
|
+
}
|
|
443
|
+
if (filters !== undefined) {
|
|
444
|
+
localVarQueryParameter['filters'] = filters;
|
|
445
|
+
}
|
|
446
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
447
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
448
|
+
}
|
|
449
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
450
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
451
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
452
|
+
return [2 /*return*/, {
|
|
453
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
454
|
+
options: localVarRequestOptions,
|
|
455
|
+
}];
|
|
456
|
+
}
|
|
457
|
+
});
|
|
458
|
+
});
|
|
459
|
+
},
|
|
460
|
+
/**
|
|
461
|
+
* Returns a list of claim statuses you have previously created. The claim statuses are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.statuses.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
462
|
+
* @summary List claim statuses
|
|
463
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
464
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
465
|
+
* @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.
|
|
466
|
+
* @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>
|
|
467
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
468
|
+
* @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>
|
|
469
|
+
* @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/>
|
|
470
|
+
* @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>
|
|
471
|
+
* @param {*} [options] Override http request option.
|
|
472
|
+
* @deprecated
|
|
473
|
+
* @throws {RequiredError}
|
|
474
|
+
*/
|
|
475
|
+
listClaimStatuses1: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
255
476
|
if (options === void 0) { options = {}; }
|
|
256
477
|
return __awaiter(_this, void 0, void 0, function () {
|
|
257
478
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -310,15 +531,122 @@ var ClaimStatusesApiAxiosParamCreator = function (configuration) {
|
|
|
310
531
|
});
|
|
311
532
|
},
|
|
312
533
|
/**
|
|
313
|
-
* This will patch the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
|
|
314
|
-
* @summary Patch claim status
|
|
534
|
+
* This will patch the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
|
|
535
|
+
* @summary Patch claim status
|
|
536
|
+
* @param {number} id
|
|
537
|
+
* @param {PatchClaimStatusRequestDto} patchClaimStatusRequestDto
|
|
538
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
539
|
+
* @param {*} [options] Override http request option.
|
|
540
|
+
* @throws {RequiredError}
|
|
541
|
+
*/
|
|
542
|
+
patchClaimStatus: function (id, patchClaimStatusRequestDto, authorization, options) {
|
|
543
|
+
if (options === void 0) { options = {}; }
|
|
544
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
545
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
546
|
+
return __generator(this, function (_a) {
|
|
547
|
+
switch (_a.label) {
|
|
548
|
+
case 0:
|
|
549
|
+
// verify required parameter 'id' is not null or undefined
|
|
550
|
+
(0, common_1.assertParamExists)('patchClaimStatus', 'id', id);
|
|
551
|
+
// verify required parameter 'patchClaimStatusRequestDto' is not null or undefined
|
|
552
|
+
(0, common_1.assertParamExists)('patchClaimStatus', 'patchClaimStatusRequestDto', patchClaimStatusRequestDto);
|
|
553
|
+
localVarPath = "/claimservice/v1/claim-statuses/{id}"
|
|
554
|
+
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
555
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
556
|
+
if (configuration) {
|
|
557
|
+
baseOptions = configuration.baseOptions;
|
|
558
|
+
baseAccessToken = configuration.accessToken;
|
|
559
|
+
}
|
|
560
|
+
localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
|
|
561
|
+
localVarHeaderParameter = {};
|
|
562
|
+
localVarQueryParameter = {};
|
|
563
|
+
// authentication bearer required
|
|
564
|
+
// http bearer authentication required
|
|
565
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
566
|
+
case 1:
|
|
567
|
+
// authentication bearer required
|
|
568
|
+
// http bearer authentication required
|
|
569
|
+
_a.sent();
|
|
570
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
571
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
572
|
+
}
|
|
573
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
574
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
575
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
576
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
577
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(patchClaimStatusRequestDto, localVarRequestOptions, configuration);
|
|
578
|
+
return [2 /*return*/, {
|
|
579
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
580
|
+
options: localVarRequestOptions,
|
|
581
|
+
}];
|
|
582
|
+
}
|
|
583
|
+
});
|
|
584
|
+
});
|
|
585
|
+
},
|
|
586
|
+
/**
|
|
587
|
+
* This will patch the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
588
|
+
* @summary Patch claim status
|
|
589
|
+
* @param {number} id
|
|
590
|
+
* @param {PatchClaimStatusRequestDto} patchClaimStatusRequestDto
|
|
591
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
592
|
+
* @param {*} [options] Override http request option.
|
|
593
|
+
* @deprecated
|
|
594
|
+
* @throws {RequiredError}
|
|
595
|
+
*/
|
|
596
|
+
patchClaimStatus1: function (id, patchClaimStatusRequestDto, authorization, options) {
|
|
597
|
+
if (options === void 0) { options = {}; }
|
|
598
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
599
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
600
|
+
return __generator(this, function (_a) {
|
|
601
|
+
switch (_a.label) {
|
|
602
|
+
case 0:
|
|
603
|
+
// verify required parameter 'id' is not null or undefined
|
|
604
|
+
(0, common_1.assertParamExists)('patchClaimStatus1', 'id', id);
|
|
605
|
+
// verify required parameter 'patchClaimStatusRequestDto' is not null or undefined
|
|
606
|
+
(0, common_1.assertParamExists)('patchClaimStatus1', 'patchClaimStatusRequestDto', patchClaimStatusRequestDto);
|
|
607
|
+
localVarPath = "/v1/claim-statuses/{id}"
|
|
608
|
+
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
609
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
610
|
+
if (configuration) {
|
|
611
|
+
baseOptions = configuration.baseOptions;
|
|
612
|
+
baseAccessToken = configuration.accessToken;
|
|
613
|
+
}
|
|
614
|
+
localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
|
|
615
|
+
localVarHeaderParameter = {};
|
|
616
|
+
localVarQueryParameter = {};
|
|
617
|
+
// authentication bearer required
|
|
618
|
+
// http bearer authentication required
|
|
619
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
620
|
+
case 1:
|
|
621
|
+
// authentication bearer required
|
|
622
|
+
// http bearer authentication required
|
|
623
|
+
_a.sent();
|
|
624
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
625
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
626
|
+
}
|
|
627
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
628
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
629
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
630
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
631
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(patchClaimStatusRequestDto, localVarRequestOptions, configuration);
|
|
632
|
+
return [2 /*return*/, {
|
|
633
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
634
|
+
options: localVarRequestOptions,
|
|
635
|
+
}];
|
|
636
|
+
}
|
|
637
|
+
});
|
|
638
|
+
});
|
|
639
|
+
},
|
|
640
|
+
/**
|
|
641
|
+
* This will update the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
|
|
642
|
+
* @summary Update the claim status
|
|
315
643
|
* @param {number} id
|
|
316
|
-
* @param {
|
|
644
|
+
* @param {UpdateClaimStatusRequestDto} updateClaimStatusRequestDto
|
|
317
645
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
318
646
|
* @param {*} [options] Override http request option.
|
|
319
647
|
* @throws {RequiredError}
|
|
320
648
|
*/
|
|
321
|
-
|
|
649
|
+
updateClaimStatus: function (id, updateClaimStatusRequestDto, authorization, options) {
|
|
322
650
|
if (options === void 0) { options = {}; }
|
|
323
651
|
return __awaiter(_this, void 0, void 0, function () {
|
|
324
652
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -326,17 +654,17 @@ var ClaimStatusesApiAxiosParamCreator = function (configuration) {
|
|
|
326
654
|
switch (_a.label) {
|
|
327
655
|
case 0:
|
|
328
656
|
// verify required parameter 'id' is not null or undefined
|
|
329
|
-
(0, common_1.assertParamExists)('
|
|
330
|
-
// verify required parameter '
|
|
331
|
-
(0, common_1.assertParamExists)('
|
|
332
|
-
localVarPath = "/v1/claim-statuses/{id}"
|
|
657
|
+
(0, common_1.assertParamExists)('updateClaimStatus', 'id', id);
|
|
658
|
+
// verify required parameter 'updateClaimStatusRequestDto' is not null or undefined
|
|
659
|
+
(0, common_1.assertParamExists)('updateClaimStatus', 'updateClaimStatusRequestDto', updateClaimStatusRequestDto);
|
|
660
|
+
localVarPath = "/claimservice/v1/claim-statuses/{id}"
|
|
333
661
|
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
334
662
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
335
663
|
if (configuration) {
|
|
336
664
|
baseOptions = configuration.baseOptions;
|
|
337
665
|
baseAccessToken = configuration.accessToken;
|
|
338
666
|
}
|
|
339
|
-
localVarRequestOptions = __assign(__assign({ method: '
|
|
667
|
+
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
340
668
|
localVarHeaderParameter = {};
|
|
341
669
|
localVarQueryParameter = {};
|
|
342
670
|
// authentication bearer required
|
|
@@ -353,7 +681,7 @@ var ClaimStatusesApiAxiosParamCreator = function (configuration) {
|
|
|
353
681
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
354
682
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
355
683
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
356
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
684
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateClaimStatusRequestDto, localVarRequestOptions, configuration);
|
|
357
685
|
return [2 /*return*/, {
|
|
358
686
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
359
687
|
options: localVarRequestOptions,
|
|
@@ -363,15 +691,16 @@ var ClaimStatusesApiAxiosParamCreator = function (configuration) {
|
|
|
363
691
|
});
|
|
364
692
|
},
|
|
365
693
|
/**
|
|
366
|
-
* This will update the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
|
|
694
|
+
* This will update the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
367
695
|
* @summary Update the claim status
|
|
368
696
|
* @param {number} id
|
|
369
697
|
* @param {UpdateClaimStatusRequestDto} updateClaimStatusRequestDto
|
|
370
698
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
371
699
|
* @param {*} [options] Override http request option.
|
|
700
|
+
* @deprecated
|
|
372
701
|
* @throws {RequiredError}
|
|
373
702
|
*/
|
|
374
|
-
|
|
703
|
+
updateClaimStatus1: function (id, updateClaimStatusRequestDto, authorization, options) {
|
|
375
704
|
if (options === void 0) { options = {}; }
|
|
376
705
|
return __awaiter(_this, void 0, void 0, function () {
|
|
377
706
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -379,9 +708,9 @@ var ClaimStatusesApiAxiosParamCreator = function (configuration) {
|
|
|
379
708
|
switch (_a.label) {
|
|
380
709
|
case 0:
|
|
381
710
|
// verify required parameter 'id' is not null or undefined
|
|
382
|
-
(0, common_1.assertParamExists)('
|
|
711
|
+
(0, common_1.assertParamExists)('updateClaimStatus1', 'id', id);
|
|
383
712
|
// verify required parameter 'updateClaimStatusRequestDto' is not null or undefined
|
|
384
|
-
(0, common_1.assertParamExists)('
|
|
713
|
+
(0, common_1.assertParamExists)('updateClaimStatus1', 'updateClaimStatusRequestDto', updateClaimStatusRequestDto);
|
|
385
714
|
localVarPath = "/v1/claim-statuses/{id}"
|
|
386
715
|
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
387
716
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -446,6 +775,28 @@ var ClaimStatusesApiFp = function (configuration) {
|
|
|
446
775
|
});
|
|
447
776
|
});
|
|
448
777
|
},
|
|
778
|
+
/**
|
|
779
|
+
* This creates a claim status in the database **Required Permissions** \"claim-management.statuses.create\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
780
|
+
* @summary Create the claim status
|
|
781
|
+
* @param {CreateClaimStatusRequestDto} createClaimStatusRequestDto
|
|
782
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
783
|
+
* @param {*} [options] Override http request option.
|
|
784
|
+
* @deprecated
|
|
785
|
+
* @throws {RequiredError}
|
|
786
|
+
*/
|
|
787
|
+
createClaimStatus1: function (createClaimStatusRequestDto, authorization, options) {
|
|
788
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
789
|
+
var localVarAxiosArgs;
|
|
790
|
+
return __generator(this, function (_a) {
|
|
791
|
+
switch (_a.label) {
|
|
792
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.createClaimStatus1(createClaimStatusRequestDto, authorization, options)];
|
|
793
|
+
case 1:
|
|
794
|
+
localVarAxiosArgs = _a.sent();
|
|
795
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
796
|
+
}
|
|
797
|
+
});
|
|
798
|
+
});
|
|
799
|
+
},
|
|
449
800
|
/**
|
|
450
801
|
* Permanently deletes the claim status. Supply the unique id that was returned when you created the claim status and this will delete it. **Required Permissions** \"claim-management.statuses.delete\"
|
|
451
802
|
* @summary Delete the claim status
|
|
@@ -467,6 +818,28 @@ var ClaimStatusesApiFp = function (configuration) {
|
|
|
467
818
|
});
|
|
468
819
|
});
|
|
469
820
|
},
|
|
821
|
+
/**
|
|
822
|
+
* Permanently deletes the claim status. Supply the unique id that was returned when you created the claim status and this will delete it. **Required Permissions** \"claim-management.statuses.delete\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
823
|
+
* @summary Delete the claim status
|
|
824
|
+
* @param {number} id
|
|
825
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
826
|
+
* @param {*} [options] Override http request option.
|
|
827
|
+
* @deprecated
|
|
828
|
+
* @throws {RequiredError}
|
|
829
|
+
*/
|
|
830
|
+
deleteClaimStatus1: function (id, authorization, options) {
|
|
831
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
832
|
+
var localVarAxiosArgs;
|
|
833
|
+
return __generator(this, function (_a) {
|
|
834
|
+
switch (_a.label) {
|
|
835
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteClaimStatus1(id, authorization, options)];
|
|
836
|
+
case 1:
|
|
837
|
+
localVarAxiosArgs = _a.sent();
|
|
838
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
839
|
+
}
|
|
840
|
+
});
|
|
841
|
+
});
|
|
842
|
+
},
|
|
470
843
|
/**
|
|
471
844
|
* Retrieves the details of the claim status that was previously created. Supply the unique claim status id that was returned when you created it and Emil Api will return the corresponding claim status information. **Required Permissions** \"claim-management.statuses.view\"
|
|
472
845
|
* @summary Retrieve the claim status
|
|
@@ -488,6 +861,28 @@ var ClaimStatusesApiFp = function (configuration) {
|
|
|
488
861
|
});
|
|
489
862
|
});
|
|
490
863
|
},
|
|
864
|
+
/**
|
|
865
|
+
* Retrieves the details of the claim status that was previously created. Supply the unique claim status id that was returned when you created it and Emil Api will return the corresponding claim status information. **Required Permissions** \"claim-management.statuses.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
866
|
+
* @summary Retrieve the claim status
|
|
867
|
+
* @param {number} id
|
|
868
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
869
|
+
* @param {*} [options] Override http request option.
|
|
870
|
+
* @deprecated
|
|
871
|
+
* @throws {RequiredError}
|
|
872
|
+
*/
|
|
873
|
+
getClaimStatus1: function (id, authorization, options) {
|
|
874
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
875
|
+
var localVarAxiosArgs;
|
|
876
|
+
return __generator(this, function (_a) {
|
|
877
|
+
switch (_a.label) {
|
|
878
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getClaimStatus1(id, authorization, options)];
|
|
879
|
+
case 1:
|
|
880
|
+
localVarAxiosArgs = _a.sent();
|
|
881
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
882
|
+
}
|
|
883
|
+
});
|
|
884
|
+
});
|
|
885
|
+
},
|
|
491
886
|
/**
|
|
492
887
|
* Returns a list of claim statuses you have previously created. The claim statuses are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.statuses.view\"
|
|
493
888
|
* @summary List claim statuses
|
|
@@ -515,6 +910,34 @@ var ClaimStatusesApiFp = function (configuration) {
|
|
|
515
910
|
});
|
|
516
911
|
});
|
|
517
912
|
},
|
|
913
|
+
/**
|
|
914
|
+
* Returns a list of claim statuses you have previously created. The claim statuses are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.statuses.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
915
|
+
* @summary List claim statuses
|
|
916
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
917
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
918
|
+
* @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.
|
|
919
|
+
* @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>
|
|
920
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
921
|
+
* @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>
|
|
922
|
+
* @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/>
|
|
923
|
+
* @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>
|
|
924
|
+
* @param {*} [options] Override http request option.
|
|
925
|
+
* @deprecated
|
|
926
|
+
* @throws {RequiredError}
|
|
927
|
+
*/
|
|
928
|
+
listClaimStatuses1: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
929
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
930
|
+
var localVarAxiosArgs;
|
|
931
|
+
return __generator(this, function (_a) {
|
|
932
|
+
switch (_a.label) {
|
|
933
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listClaimStatuses1(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
|
|
934
|
+
case 1:
|
|
935
|
+
localVarAxiosArgs = _a.sent();
|
|
936
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
937
|
+
}
|
|
938
|
+
});
|
|
939
|
+
});
|
|
940
|
+
},
|
|
518
941
|
/**
|
|
519
942
|
* This will patch the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
|
|
520
943
|
* @summary Patch claim status
|
|
@@ -537,6 +960,29 @@ var ClaimStatusesApiFp = function (configuration) {
|
|
|
537
960
|
});
|
|
538
961
|
});
|
|
539
962
|
},
|
|
963
|
+
/**
|
|
964
|
+
* This will patch the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
965
|
+
* @summary Patch claim status
|
|
966
|
+
* @param {number} id
|
|
967
|
+
* @param {PatchClaimStatusRequestDto} patchClaimStatusRequestDto
|
|
968
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
969
|
+
* @param {*} [options] Override http request option.
|
|
970
|
+
* @deprecated
|
|
971
|
+
* @throws {RequiredError}
|
|
972
|
+
*/
|
|
973
|
+
patchClaimStatus1: function (id, patchClaimStatusRequestDto, authorization, options) {
|
|
974
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
975
|
+
var localVarAxiosArgs;
|
|
976
|
+
return __generator(this, function (_a) {
|
|
977
|
+
switch (_a.label) {
|
|
978
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchClaimStatus1(id, patchClaimStatusRequestDto, authorization, options)];
|
|
979
|
+
case 1:
|
|
980
|
+
localVarAxiosArgs = _a.sent();
|
|
981
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
982
|
+
}
|
|
983
|
+
});
|
|
984
|
+
});
|
|
985
|
+
},
|
|
540
986
|
/**
|
|
541
987
|
* This will update the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
|
|
542
988
|
* @summary Update the claim status
|
|
@@ -559,6 +1005,29 @@ var ClaimStatusesApiFp = function (configuration) {
|
|
|
559
1005
|
});
|
|
560
1006
|
});
|
|
561
1007
|
},
|
|
1008
|
+
/**
|
|
1009
|
+
* This will update the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1010
|
+
* @summary Update the claim status
|
|
1011
|
+
* @param {number} id
|
|
1012
|
+
* @param {UpdateClaimStatusRequestDto} updateClaimStatusRequestDto
|
|
1013
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1014
|
+
* @param {*} [options] Override http request option.
|
|
1015
|
+
* @deprecated
|
|
1016
|
+
* @throws {RequiredError}
|
|
1017
|
+
*/
|
|
1018
|
+
updateClaimStatus1: function (id, updateClaimStatusRequestDto, authorization, options) {
|
|
1019
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1020
|
+
var localVarAxiosArgs;
|
|
1021
|
+
return __generator(this, function (_a) {
|
|
1022
|
+
switch (_a.label) {
|
|
1023
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateClaimStatus1(id, updateClaimStatusRequestDto, authorization, options)];
|
|
1024
|
+
case 1:
|
|
1025
|
+
localVarAxiosArgs = _a.sent();
|
|
1026
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1027
|
+
}
|
|
1028
|
+
});
|
|
1029
|
+
});
|
|
1030
|
+
},
|
|
562
1031
|
};
|
|
563
1032
|
};
|
|
564
1033
|
exports.ClaimStatusesApiFp = ClaimStatusesApiFp;
|
|
@@ -580,6 +1049,18 @@ var ClaimStatusesApiFactory = function (configuration, basePath, axios) {
|
|
|
580
1049
|
createClaimStatus: function (createClaimStatusRequestDto, authorization, options) {
|
|
581
1050
|
return localVarFp.createClaimStatus(createClaimStatusRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
582
1051
|
},
|
|
1052
|
+
/**
|
|
1053
|
+
* This creates a claim status in the database **Required Permissions** \"claim-management.statuses.create\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1054
|
+
* @summary Create the claim status
|
|
1055
|
+
* @param {CreateClaimStatusRequestDto} createClaimStatusRequestDto
|
|
1056
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1057
|
+
* @param {*} [options] Override http request option.
|
|
1058
|
+
* @deprecated
|
|
1059
|
+
* @throws {RequiredError}
|
|
1060
|
+
*/
|
|
1061
|
+
createClaimStatus1: function (createClaimStatusRequestDto, authorization, options) {
|
|
1062
|
+
return localVarFp.createClaimStatus1(createClaimStatusRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
1063
|
+
},
|
|
583
1064
|
/**
|
|
584
1065
|
* Permanently deletes the claim status. Supply the unique id that was returned when you created the claim status and this will delete it. **Required Permissions** \"claim-management.statuses.delete\"
|
|
585
1066
|
* @summary Delete the claim status
|
|
@@ -591,6 +1072,18 @@ var ClaimStatusesApiFactory = function (configuration, basePath, axios) {
|
|
|
591
1072
|
deleteClaimStatus: function (id, authorization, options) {
|
|
592
1073
|
return localVarFp.deleteClaimStatus(id, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
593
1074
|
},
|
|
1075
|
+
/**
|
|
1076
|
+
* Permanently deletes the claim status. Supply the unique id that was returned when you created the claim status and this will delete it. **Required Permissions** \"claim-management.statuses.delete\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1077
|
+
* @summary Delete the claim status
|
|
1078
|
+
* @param {number} id
|
|
1079
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1080
|
+
* @param {*} [options] Override http request option.
|
|
1081
|
+
* @deprecated
|
|
1082
|
+
* @throws {RequiredError}
|
|
1083
|
+
*/
|
|
1084
|
+
deleteClaimStatus1: function (id, authorization, options) {
|
|
1085
|
+
return localVarFp.deleteClaimStatus1(id, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
1086
|
+
},
|
|
594
1087
|
/**
|
|
595
1088
|
* Retrieves the details of the claim status that was previously created. Supply the unique claim status id that was returned when you created it and Emil Api will return the corresponding claim status information. **Required Permissions** \"claim-management.statuses.view\"
|
|
596
1089
|
* @summary Retrieve the claim status
|
|
@@ -602,6 +1095,18 @@ var ClaimStatusesApiFactory = function (configuration, basePath, axios) {
|
|
|
602
1095
|
getClaimStatus: function (id, authorization, options) {
|
|
603
1096
|
return localVarFp.getClaimStatus(id, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
604
1097
|
},
|
|
1098
|
+
/**
|
|
1099
|
+
* Retrieves the details of the claim status that was previously created. Supply the unique claim status id that was returned when you created it and Emil Api will return the corresponding claim status information. **Required Permissions** \"claim-management.statuses.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1100
|
+
* @summary Retrieve the claim status
|
|
1101
|
+
* @param {number} id
|
|
1102
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1103
|
+
* @param {*} [options] Override http request option.
|
|
1104
|
+
* @deprecated
|
|
1105
|
+
* @throws {RequiredError}
|
|
1106
|
+
*/
|
|
1107
|
+
getClaimStatus1: function (id, authorization, options) {
|
|
1108
|
+
return localVarFp.getClaimStatus1(id, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
1109
|
+
},
|
|
605
1110
|
/**
|
|
606
1111
|
* Returns a list of claim statuses you have previously created. The claim statuses are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.statuses.view\"
|
|
607
1112
|
* @summary List claim statuses
|
|
@@ -619,6 +1124,24 @@ var ClaimStatusesApiFactory = function (configuration, basePath, axios) {
|
|
|
619
1124
|
listClaimStatuses: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
620
1125
|
return localVarFp.listClaimStatuses(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
621
1126
|
},
|
|
1127
|
+
/**
|
|
1128
|
+
* Returns a list of claim statuses you have previously created. The claim statuses are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.statuses.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1129
|
+
* @summary List claim statuses
|
|
1130
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1131
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
1132
|
+
* @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.
|
|
1133
|
+
* @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>
|
|
1134
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
1135
|
+
* @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>
|
|
1136
|
+
* @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/>
|
|
1137
|
+
* @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>
|
|
1138
|
+
* @param {*} [options] Override http request option.
|
|
1139
|
+
* @deprecated
|
|
1140
|
+
* @throws {RequiredError}
|
|
1141
|
+
*/
|
|
1142
|
+
listClaimStatuses1: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
1143
|
+
return localVarFp.listClaimStatuses1(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
1144
|
+
},
|
|
622
1145
|
/**
|
|
623
1146
|
* This will patch the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
|
|
624
1147
|
* @summary Patch claim status
|
|
@@ -631,6 +1154,19 @@ var ClaimStatusesApiFactory = function (configuration, basePath, axios) {
|
|
|
631
1154
|
patchClaimStatus: function (id, patchClaimStatusRequestDto, authorization, options) {
|
|
632
1155
|
return localVarFp.patchClaimStatus(id, patchClaimStatusRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
633
1156
|
},
|
|
1157
|
+
/**
|
|
1158
|
+
* This will patch the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1159
|
+
* @summary Patch claim status
|
|
1160
|
+
* @param {number} id
|
|
1161
|
+
* @param {PatchClaimStatusRequestDto} patchClaimStatusRequestDto
|
|
1162
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1163
|
+
* @param {*} [options] Override http request option.
|
|
1164
|
+
* @deprecated
|
|
1165
|
+
* @throws {RequiredError}
|
|
1166
|
+
*/
|
|
1167
|
+
patchClaimStatus1: function (id, patchClaimStatusRequestDto, authorization, options) {
|
|
1168
|
+
return localVarFp.patchClaimStatus1(id, patchClaimStatusRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
1169
|
+
},
|
|
634
1170
|
/**
|
|
635
1171
|
* This will update the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
|
|
636
1172
|
* @summary Update the claim status
|
|
@@ -643,6 +1179,19 @@ var ClaimStatusesApiFactory = function (configuration, basePath, axios) {
|
|
|
643
1179
|
updateClaimStatus: function (id, updateClaimStatusRequestDto, authorization, options) {
|
|
644
1180
|
return localVarFp.updateClaimStatus(id, updateClaimStatusRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
645
1181
|
},
|
|
1182
|
+
/**
|
|
1183
|
+
* This will update the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1184
|
+
* @summary Update the claim status
|
|
1185
|
+
* @param {number} id
|
|
1186
|
+
* @param {UpdateClaimStatusRequestDto} updateClaimStatusRequestDto
|
|
1187
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1188
|
+
* @param {*} [options] Override http request option.
|
|
1189
|
+
* @deprecated
|
|
1190
|
+
* @throws {RequiredError}
|
|
1191
|
+
*/
|
|
1192
|
+
updateClaimStatus1: function (id, updateClaimStatusRequestDto, authorization, options) {
|
|
1193
|
+
return localVarFp.updateClaimStatus1(id, updateClaimStatusRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
1194
|
+
},
|
|
646
1195
|
};
|
|
647
1196
|
};
|
|
648
1197
|
exports.ClaimStatusesApiFactory = ClaimStatusesApiFactory;
|
|
@@ -669,6 +1218,19 @@ var ClaimStatusesApi = /** @class */ (function (_super) {
|
|
|
669
1218
|
var _this = this;
|
|
670
1219
|
return (0, exports.ClaimStatusesApiFp)(this.configuration).createClaimStatus(requestParameters.createClaimStatusRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
671
1220
|
};
|
|
1221
|
+
/**
|
|
1222
|
+
* This creates a claim status in the database **Required Permissions** \"claim-management.statuses.create\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1223
|
+
* @summary Create the claim status
|
|
1224
|
+
* @param {ClaimStatusesApiCreateClaimStatus1Request} requestParameters Request parameters.
|
|
1225
|
+
* @param {*} [options] Override http request option.
|
|
1226
|
+
* @deprecated
|
|
1227
|
+
* @throws {RequiredError}
|
|
1228
|
+
* @memberof ClaimStatusesApi
|
|
1229
|
+
*/
|
|
1230
|
+
ClaimStatusesApi.prototype.createClaimStatus1 = function (requestParameters, options) {
|
|
1231
|
+
var _this = this;
|
|
1232
|
+
return (0, exports.ClaimStatusesApiFp)(this.configuration).createClaimStatus1(requestParameters.createClaimStatusRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1233
|
+
};
|
|
672
1234
|
/**
|
|
673
1235
|
* Permanently deletes the claim status. Supply the unique id that was returned when you created the claim status and this will delete it. **Required Permissions** \"claim-management.statuses.delete\"
|
|
674
1236
|
* @summary Delete the claim status
|
|
@@ -681,6 +1243,19 @@ var ClaimStatusesApi = /** @class */ (function (_super) {
|
|
|
681
1243
|
var _this = this;
|
|
682
1244
|
return (0, exports.ClaimStatusesApiFp)(this.configuration).deleteClaimStatus(requestParameters.id, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
683
1245
|
};
|
|
1246
|
+
/**
|
|
1247
|
+
* Permanently deletes the claim status. Supply the unique id that was returned when you created the claim status and this will delete it. **Required Permissions** \"claim-management.statuses.delete\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1248
|
+
* @summary Delete the claim status
|
|
1249
|
+
* @param {ClaimStatusesApiDeleteClaimStatus1Request} requestParameters Request parameters.
|
|
1250
|
+
* @param {*} [options] Override http request option.
|
|
1251
|
+
* @deprecated
|
|
1252
|
+
* @throws {RequiredError}
|
|
1253
|
+
* @memberof ClaimStatusesApi
|
|
1254
|
+
*/
|
|
1255
|
+
ClaimStatusesApi.prototype.deleteClaimStatus1 = function (requestParameters, options) {
|
|
1256
|
+
var _this = this;
|
|
1257
|
+
return (0, exports.ClaimStatusesApiFp)(this.configuration).deleteClaimStatus1(requestParameters.id, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1258
|
+
};
|
|
684
1259
|
/**
|
|
685
1260
|
* Retrieves the details of the claim status that was previously created. Supply the unique claim status id that was returned when you created it and Emil Api will return the corresponding claim status information. **Required Permissions** \"claim-management.statuses.view\"
|
|
686
1261
|
* @summary Retrieve the claim status
|
|
@@ -693,6 +1268,19 @@ var ClaimStatusesApi = /** @class */ (function (_super) {
|
|
|
693
1268
|
var _this = this;
|
|
694
1269
|
return (0, exports.ClaimStatusesApiFp)(this.configuration).getClaimStatus(requestParameters.id, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
695
1270
|
};
|
|
1271
|
+
/**
|
|
1272
|
+
* Retrieves the details of the claim status that was previously created. Supply the unique claim status id that was returned when you created it and Emil Api will return the corresponding claim status information. **Required Permissions** \"claim-management.statuses.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1273
|
+
* @summary Retrieve the claim status
|
|
1274
|
+
* @param {ClaimStatusesApiGetClaimStatus1Request} requestParameters Request parameters.
|
|
1275
|
+
* @param {*} [options] Override http request option.
|
|
1276
|
+
* @deprecated
|
|
1277
|
+
* @throws {RequiredError}
|
|
1278
|
+
* @memberof ClaimStatusesApi
|
|
1279
|
+
*/
|
|
1280
|
+
ClaimStatusesApi.prototype.getClaimStatus1 = function (requestParameters, options) {
|
|
1281
|
+
var _this = this;
|
|
1282
|
+
return (0, exports.ClaimStatusesApiFp)(this.configuration).getClaimStatus1(requestParameters.id, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1283
|
+
};
|
|
696
1284
|
/**
|
|
697
1285
|
* Returns a list of claim statuses you have previously created. The claim statuses are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.statuses.view\"
|
|
698
1286
|
* @summary List claim statuses
|
|
@@ -706,6 +1294,20 @@ var ClaimStatusesApi = /** @class */ (function (_super) {
|
|
|
706
1294
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
707
1295
|
return (0, exports.ClaimStatusesApiFp)(this.configuration).listClaimStatuses(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); });
|
|
708
1296
|
};
|
|
1297
|
+
/**
|
|
1298
|
+
* Returns a list of claim statuses you have previously created. The claim statuses are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.statuses.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1299
|
+
* @summary List claim statuses
|
|
1300
|
+
* @param {ClaimStatusesApiListClaimStatuses1Request} requestParameters Request parameters.
|
|
1301
|
+
* @param {*} [options] Override http request option.
|
|
1302
|
+
* @deprecated
|
|
1303
|
+
* @throws {RequiredError}
|
|
1304
|
+
* @memberof ClaimStatusesApi
|
|
1305
|
+
*/
|
|
1306
|
+
ClaimStatusesApi.prototype.listClaimStatuses1 = function (requestParameters, options) {
|
|
1307
|
+
var _this = this;
|
|
1308
|
+
if (requestParameters === void 0) { requestParameters = {}; }
|
|
1309
|
+
return (0, exports.ClaimStatusesApiFp)(this.configuration).listClaimStatuses1(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); });
|
|
1310
|
+
};
|
|
709
1311
|
/**
|
|
710
1312
|
* This will patch the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
|
|
711
1313
|
* @summary Patch claim status
|
|
@@ -718,6 +1320,19 @@ var ClaimStatusesApi = /** @class */ (function (_super) {
|
|
|
718
1320
|
var _this = this;
|
|
719
1321
|
return (0, exports.ClaimStatusesApiFp)(this.configuration).patchClaimStatus(requestParameters.id, requestParameters.patchClaimStatusRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
720
1322
|
};
|
|
1323
|
+
/**
|
|
1324
|
+
* This will patch the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1325
|
+
* @summary Patch claim status
|
|
1326
|
+
* @param {ClaimStatusesApiPatchClaimStatus1Request} requestParameters Request parameters.
|
|
1327
|
+
* @param {*} [options] Override http request option.
|
|
1328
|
+
* @deprecated
|
|
1329
|
+
* @throws {RequiredError}
|
|
1330
|
+
* @memberof ClaimStatusesApi
|
|
1331
|
+
*/
|
|
1332
|
+
ClaimStatusesApi.prototype.patchClaimStatus1 = function (requestParameters, options) {
|
|
1333
|
+
var _this = this;
|
|
1334
|
+
return (0, exports.ClaimStatusesApiFp)(this.configuration).patchClaimStatus1(requestParameters.id, requestParameters.patchClaimStatusRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1335
|
+
};
|
|
721
1336
|
/**
|
|
722
1337
|
* This will update the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
|
|
723
1338
|
* @summary Update the claim status
|
|
@@ -730,6 +1345,19 @@ var ClaimStatusesApi = /** @class */ (function (_super) {
|
|
|
730
1345
|
var _this = this;
|
|
731
1346
|
return (0, exports.ClaimStatusesApiFp)(this.configuration).updateClaimStatus(requestParameters.id, requestParameters.updateClaimStatusRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
732
1347
|
};
|
|
1348
|
+
/**
|
|
1349
|
+
* This will update the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1350
|
+
* @summary Update the claim status
|
|
1351
|
+
* @param {ClaimStatusesApiUpdateClaimStatus1Request} requestParameters Request parameters.
|
|
1352
|
+
* @param {*} [options] Override http request option.
|
|
1353
|
+
* @deprecated
|
|
1354
|
+
* @throws {RequiredError}
|
|
1355
|
+
* @memberof ClaimStatusesApi
|
|
1356
|
+
*/
|
|
1357
|
+
ClaimStatusesApi.prototype.updateClaimStatus1 = function (requestParameters, options) {
|
|
1358
|
+
var _this = this;
|
|
1359
|
+
return (0, exports.ClaimStatusesApiFp)(this.configuration).updateClaimStatus1(requestParameters.id, requestParameters.updateClaimStatusRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1360
|
+
};
|
|
733
1361
|
return ClaimStatusesApi;
|
|
734
1362
|
}(base_1.BaseAPI));
|
|
735
1363
|
exports.ClaimStatusesApi = ClaimStatusesApi;
|