@emilgroup/claim-sdk 1.40.1-beta.8 → 1.41.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 +0 -10
- package/README.md +2 -2
- package/api/claim-partner-roles-api.ts +0 -627
- package/api/claim-partners-api.ts +0 -520
- package/api/claim-regulations-api.ts +5 -646
- package/api/claim-statuses-api.ts +6 -753
- package/api/claims-api.ts +6 -858
- package/api/health-check-api.ts +0 -66
- package/api/settlements-api.ts +0 -627
- package/api.ts +0 -2
- package/dist/api/claim-partner-roles-api.d.ts +0 -358
- package/dist/api/claim-partner-roles-api.js +0 -525
- package/dist/api/claim-partners-api.d.ts +0 -299
- package/dist/api/claim-partners-api.js +0 -428
- package/dist/api/claim-regulations-api.d.ts +0 -367
- package/dist/api/claim-regulations-api.js +0 -531
- package/dist/api/claim-statuses-api.d.ts +0 -426
- package/dist/api/claim-statuses-api.js +14 -642
- package/dist/api/claims-api.d.ts +0 -485
- package/dist/api/claims-api.js +1 -725
- package/dist/api/health-check-api.d.ts +0 -33
- package/dist/api/health-check-api.js +0 -73
- package/dist/api/settlements-api.d.ts +0 -358
- package/dist/api/settlements-api.js +0 -525
- package/dist/api.d.ts +0 -1
- package/dist/api.js +0 -1
- package/dist/models/claim-class.d.ts +0 -6
- package/dist/models/index.d.ts +0 -9
- package/dist/models/index.js +0 -9
- package/dist/models/list-claim-partner-roles-response-class.d.ts +0 -12
- package/dist/models/list-claim-partners-response-class.d.ts +0 -12
- package/dist/models/list-claim-statuses-response-class.d.ts +1 -13
- package/dist/models/list-claims-response-class.d.ts +0 -12
- package/dist/models/list-regulations-response-class.d.ts +0 -12
- package/models/claim-class.ts +0 -6
- package/models/index.ts +0 -9
- package/models/list-claim-partner-roles-response-class.ts +0 -12
- package/models/list-claim-partners-response-class.ts +0 -12
- package/models/list-claim-statuses-response-class.ts +1 -13
- package/models/list-claims-response-class.ts +0 -12
- package/models/list-regulations-response-class.ts +0 -12
- package/package.json +1 -1
- package/api/claim-positions-api.ts +0 -1336
- package/dist/api/claim-positions-api.d.ts +0 -760
- package/dist/api/claim-positions-api.js +0 -1177
- package/dist/models/claim-position-class.d.ts +0 -121
- package/dist/models/claim-position-class.js +0 -15
- package/dist/models/coverage-class.d.ts +0 -72
- package/dist/models/coverage-class.js +0 -21
- package/dist/models/coverage-request-dto.d.ts +0 -41
- package/dist/models/coverage-request-dto.js +0 -20
- package/dist/models/create-claim-position-request-dto.d.ts +0 -73
- package/dist/models/create-claim-position-request-dto.js +0 -15
- package/dist/models/create-claim-position-response-class.d.ts +0 -25
- package/dist/models/create-claim-position-response-class.js +0 -15
- package/dist/models/get-claim-position-response-class.d.ts +0 -25
- package/dist/models/get-claim-position-response-class.js +0 -15
- package/dist/models/list-claim-positions-response-class.d.ts +0 -43
- package/dist/models/list-claim-positions-response-class.js +0 -15
- package/dist/models/update-claim-position-request-dto.d.ts +0 -73
- package/dist/models/update-claim-position-request-dto.js +0 -15
- package/dist/models/update-claim-position-response-class.d.ts +0 -25
- package/dist/models/update-claim-position-response-class.js +0 -15
- package/models/claim-position-class.ts +0 -127
- package/models/coverage-class.ts +0 -81
- package/models/coverage-request-dto.ts +0 -50
- package/models/create-claim-position-request-dto.ts +0 -79
- package/models/create-claim-position-response-class.ts +0 -31
- package/models/get-claim-position-response-class.ts +0 -31
- package/models/list-claim-positions-response-class.ts +0 -49
- package/models/update-claim-position-request-dto.ts +0 -79
- package/models/update-claim-position-response-class.ts +0 -31
package/dist/api/claims-api.js
CHANGED
|
@@ -109,56 +109,6 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
|
|
|
109
109
|
case 0:
|
|
110
110
|
// verify required parameter 'createClaimRequestDto' is not null or undefined
|
|
111
111
|
(0, common_1.assertParamExists)('createClaim', 'createClaimRequestDto', createClaimRequestDto);
|
|
112
|
-
localVarPath = "/claimservice/v1/claims";
|
|
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)(createClaimRequestDto, localVarRequestOptions, configuration);
|
|
136
|
-
return [2 /*return*/, {
|
|
137
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
138
|
-
options: localVarRequestOptions,
|
|
139
|
-
}];
|
|
140
|
-
}
|
|
141
|
-
});
|
|
142
|
-
});
|
|
143
|
-
},
|
|
144
|
-
/**
|
|
145
|
-
* This will create a claim in the database **Required Permissions** \"claim-management.claims.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
|
|
147
|
-
* @param {CreateClaimRequestDto} createClaimRequestDto
|
|
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
|
-
createClaim1: function (createClaimRequestDto, 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 'createClaimRequestDto' is not null or undefined
|
|
161
|
-
(0, common_1.assertParamExists)('createClaim1', 'createClaimRequestDto', createClaimRequestDto);
|
|
162
112
|
localVarPath = "/v1/claims";
|
|
163
113
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
164
114
|
if (configuration) {
|
|
@@ -208,55 +158,6 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
|
|
|
208
158
|
case 0:
|
|
209
159
|
// verify required parameter 'code' is not null or undefined
|
|
210
160
|
(0, common_1.assertParamExists)('deleteClaim', 'code', code);
|
|
211
|
-
localVarPath = "/claimservice/v1/claims/{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 requested claim from the database. **Required Permissions** \"claim-management.claims.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
|
|
245
|
-
* @param {string} code
|
|
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
|
-
deleteClaim1: 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)('deleteClaim1', 'code', code);
|
|
260
161
|
localVarPath = "/v1/claims/{code}"
|
|
261
162
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
262
163
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -305,55 +206,6 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
|
|
|
305
206
|
case 0:
|
|
306
207
|
// verify required parameter 'code' is not null or undefined
|
|
307
208
|
(0, common_1.assertParamExists)('getClaim', 'code', code);
|
|
308
|
-
localVarPath = "/claimservice/v1/claims/{code}"
|
|
309
|
-
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
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
|
-
* This will fetch the identified claim from the database by code **Required Permissions** \"claim-management.claims.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
|
|
342
|
-
* @param {string} code
|
|
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
|
-
getClaim1: function (code, 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 'code' is not null or undefined
|
|
356
|
-
(0, common_1.assertParamExists)('getClaim1', 'code', code);
|
|
357
209
|
localVarPath = "/v1/claims/{code}"
|
|
358
210
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
359
211
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -402,55 +254,6 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
|
|
|
402
254
|
case 0:
|
|
403
255
|
// verify required parameter 'code' is not null or undefined
|
|
404
256
|
(0, common_1.assertParamExists)('getClaimRegulationSummary', 'code', code);
|
|
405
|
-
localVarPath = "/claimservice/v1/claims/{code}/regulations/summary"
|
|
406
|
-
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
407
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
408
|
-
if (configuration) {
|
|
409
|
-
baseOptions = configuration.baseOptions;
|
|
410
|
-
baseAccessToken = configuration.accessToken;
|
|
411
|
-
}
|
|
412
|
-
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
413
|
-
localVarHeaderParameter = {};
|
|
414
|
-
localVarQueryParameter = {};
|
|
415
|
-
// authentication bearer required
|
|
416
|
-
// http bearer authentication required
|
|
417
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
418
|
-
case 1:
|
|
419
|
-
// authentication bearer required
|
|
420
|
-
// http bearer authentication required
|
|
421
|
-
_a.sent();
|
|
422
|
-
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
423
|
-
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
424
|
-
}
|
|
425
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
426
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
427
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
428
|
-
return [2 /*return*/, {
|
|
429
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
430
|
-
options: localVarRequestOptions,
|
|
431
|
-
}];
|
|
432
|
-
}
|
|
433
|
-
});
|
|
434
|
-
});
|
|
435
|
-
},
|
|
436
|
-
/**
|
|
437
|
-
* This endpoint will calculate and get the regulation summary for a claim. **Required Permissions** \"claim-management.claims.view\", \"claim-management.regulations.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
438
|
-
* @summary Retrieve the claim regulation summary
|
|
439
|
-
* @param {string} code Unique identifier for the object.
|
|
440
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
441
|
-
* @param {*} [options] Override http request option.
|
|
442
|
-
* @deprecated
|
|
443
|
-
* @throws {RequiredError}
|
|
444
|
-
*/
|
|
445
|
-
getClaimRegulationSummary1: function (code, authorization, options) {
|
|
446
|
-
if (options === void 0) { options = {}; }
|
|
447
|
-
return __awaiter(_this, void 0, void 0, function () {
|
|
448
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
449
|
-
return __generator(this, function (_a) {
|
|
450
|
-
switch (_a.label) {
|
|
451
|
-
case 0:
|
|
452
|
-
// verify required parameter 'code' is not null or undefined
|
|
453
|
-
(0, common_1.assertParamExists)('getClaimRegulationSummary1', 'code', code);
|
|
454
257
|
localVarPath = "/v1/claims/{code}/regulations/summary"
|
|
455
258
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
456
259
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -497,79 +300,6 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
|
|
|
497
300
|
* @throws {RequiredError}
|
|
498
301
|
*/
|
|
499
302
|
listClaims: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
500
|
-
if (options === void 0) { options = {}; }
|
|
501
|
-
return __awaiter(_this, void 0, void 0, function () {
|
|
502
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
503
|
-
return __generator(this, function (_a) {
|
|
504
|
-
switch (_a.label) {
|
|
505
|
-
case 0:
|
|
506
|
-
localVarPath = "/claimservice/v1/claims";
|
|
507
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
508
|
-
if (configuration) {
|
|
509
|
-
baseOptions = configuration.baseOptions;
|
|
510
|
-
baseAccessToken = configuration.accessToken;
|
|
511
|
-
}
|
|
512
|
-
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
513
|
-
localVarHeaderParameter = {};
|
|
514
|
-
localVarQueryParameter = {};
|
|
515
|
-
// authentication bearer required
|
|
516
|
-
// http bearer authentication required
|
|
517
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
518
|
-
case 1:
|
|
519
|
-
// authentication bearer required
|
|
520
|
-
// http bearer authentication required
|
|
521
|
-
_a.sent();
|
|
522
|
-
if (pageSize !== undefined) {
|
|
523
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
524
|
-
}
|
|
525
|
-
if (pageToken !== undefined) {
|
|
526
|
-
localVarQueryParameter['pageToken'] = pageToken;
|
|
527
|
-
}
|
|
528
|
-
if (filter !== undefined) {
|
|
529
|
-
localVarQueryParameter['filter'] = filter;
|
|
530
|
-
}
|
|
531
|
-
if (search !== undefined) {
|
|
532
|
-
localVarQueryParameter['search'] = search;
|
|
533
|
-
}
|
|
534
|
-
if (order !== undefined) {
|
|
535
|
-
localVarQueryParameter['order'] = order;
|
|
536
|
-
}
|
|
537
|
-
if (expand !== undefined) {
|
|
538
|
-
localVarQueryParameter['expand'] = expand;
|
|
539
|
-
}
|
|
540
|
-
if (filters !== undefined) {
|
|
541
|
-
localVarQueryParameter['filters'] = filters;
|
|
542
|
-
}
|
|
543
|
-
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
544
|
-
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
545
|
-
}
|
|
546
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
547
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
548
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
549
|
-
return [2 /*return*/, {
|
|
550
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
551
|
-
options: localVarRequestOptions,
|
|
552
|
-
}];
|
|
553
|
-
}
|
|
554
|
-
});
|
|
555
|
-
});
|
|
556
|
-
},
|
|
557
|
-
/**
|
|
558
|
-
* Returns a list of claims you have previously created. The claims are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.claims.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
559
|
-
* @summary List claims
|
|
560
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
561
|
-
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
562
|
-
* @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.
|
|
563
|
-
* @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: policyNumber, productId, accountCode, insuredObjectId, policyCode</i>
|
|
564
|
-
* @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, policyCode, accountCode, productName, claimNumber, policyNumber, damageDate, notificationDate, description, status</i>
|
|
565
|
-
* @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, accountCode, status, claimNumber, policyNumber, damageDate, notificationDate, description, createdAt, updatedAt</i>
|
|
566
|
-
* @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: partners<i>
|
|
567
|
-
* @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: policyNumber, productId, accountCode, insuredObjectId, policyCode</i>
|
|
568
|
-
* @param {*} [options] Override http request option.
|
|
569
|
-
* @deprecated
|
|
570
|
-
* @throws {RequiredError}
|
|
571
|
-
*/
|
|
572
|
-
listClaims1: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
573
303
|
if (options === void 0) { options = {}; }
|
|
574
304
|
return __awaiter(_this, void 0, void 0, function () {
|
|
575
305
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -647,60 +377,6 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
|
|
|
647
377
|
(0, common_1.assertParamExists)('patchClaim', 'code', code);
|
|
648
378
|
// verify required parameter 'patchClaimRequestDto' is not null or undefined
|
|
649
379
|
(0, common_1.assertParamExists)('patchClaim', 'patchClaimRequestDto', patchClaimRequestDto);
|
|
650
|
-
localVarPath = "/claimservice/v1/claims/{code}"
|
|
651
|
-
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
652
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
653
|
-
if (configuration) {
|
|
654
|
-
baseOptions = configuration.baseOptions;
|
|
655
|
-
baseAccessToken = configuration.accessToken;
|
|
656
|
-
}
|
|
657
|
-
localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
|
|
658
|
-
localVarHeaderParameter = {};
|
|
659
|
-
localVarQueryParameter = {};
|
|
660
|
-
// authentication bearer required
|
|
661
|
-
// http bearer authentication required
|
|
662
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
663
|
-
case 1:
|
|
664
|
-
// authentication bearer required
|
|
665
|
-
// http bearer authentication required
|
|
666
|
-
_a.sent();
|
|
667
|
-
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
668
|
-
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
669
|
-
}
|
|
670
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
671
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
672
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
673
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
674
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(patchClaimRequestDto, localVarRequestOptions, configuration);
|
|
675
|
-
return [2 /*return*/, {
|
|
676
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
677
|
-
options: localVarRequestOptions,
|
|
678
|
-
}];
|
|
679
|
-
}
|
|
680
|
-
});
|
|
681
|
-
});
|
|
682
|
-
},
|
|
683
|
-
/**
|
|
684
|
-
* Updates the identified claim by setting the values of the provided parameters. Any parameters not provided will be left unchanged. **Required Permissions** \"claim-management.claims.update\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
685
|
-
* @summary Patch the claim
|
|
686
|
-
* @param {string} code
|
|
687
|
-
* @param {PatchClaimRequestDto} patchClaimRequestDto
|
|
688
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
689
|
-
* @param {*} [options] Override http request option.
|
|
690
|
-
* @deprecated
|
|
691
|
-
* @throws {RequiredError}
|
|
692
|
-
*/
|
|
693
|
-
patchClaim1: function (code, patchClaimRequestDto, authorization, options) {
|
|
694
|
-
if (options === void 0) { options = {}; }
|
|
695
|
-
return __awaiter(_this, void 0, void 0, function () {
|
|
696
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
697
|
-
return __generator(this, function (_a) {
|
|
698
|
-
switch (_a.label) {
|
|
699
|
-
case 0:
|
|
700
|
-
// verify required parameter 'code' is not null or undefined
|
|
701
|
-
(0, common_1.assertParamExists)('patchClaim1', 'code', code);
|
|
702
|
-
// verify required parameter 'patchClaimRequestDto' is not null or undefined
|
|
703
|
-
(0, common_1.assertParamExists)('patchClaim1', 'patchClaimRequestDto', patchClaimRequestDto);
|
|
704
380
|
localVarPath = "/v1/claims/{code}"
|
|
705
381
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
706
382
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -753,61 +429,7 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
|
|
|
753
429
|
// verify required parameter 'code' is not null or undefined
|
|
754
430
|
(0, common_1.assertParamExists)('updateClaim', 'code', code);
|
|
755
431
|
// verify required parameter 'updateClaimRequestDto' is not null or undefined
|
|
756
|
-
(0, common_1.assertParamExists)('updateClaim', 'updateClaimRequestDto', updateClaimRequestDto);
|
|
757
|
-
localVarPath = "/claimservice/v1/claims/{code}"
|
|
758
|
-
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
759
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
760
|
-
if (configuration) {
|
|
761
|
-
baseOptions = configuration.baseOptions;
|
|
762
|
-
baseAccessToken = configuration.accessToken;
|
|
763
|
-
}
|
|
764
|
-
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
765
|
-
localVarHeaderParameter = {};
|
|
766
|
-
localVarQueryParameter = {};
|
|
767
|
-
// authentication bearer required
|
|
768
|
-
// http bearer authentication required
|
|
769
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
770
|
-
case 1:
|
|
771
|
-
// authentication bearer required
|
|
772
|
-
// http bearer authentication required
|
|
773
|
-
_a.sent();
|
|
774
|
-
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
775
|
-
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
776
|
-
}
|
|
777
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
778
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
779
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
780
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
781
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateClaimRequestDto, localVarRequestOptions, configuration);
|
|
782
|
-
return [2 /*return*/, {
|
|
783
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
784
|
-
options: localVarRequestOptions,
|
|
785
|
-
}];
|
|
786
|
-
}
|
|
787
|
-
});
|
|
788
|
-
});
|
|
789
|
-
},
|
|
790
|
-
/**
|
|
791
|
-
* This will update the identified claim in the database **Required Permissions** \"claim-management.claims.update\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
792
|
-
* @summary Update the claim
|
|
793
|
-
* @param {string} code
|
|
794
|
-
* @param {UpdateClaimRequestDto} updateClaimRequestDto
|
|
795
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
796
|
-
* @param {*} [options] Override http request option.
|
|
797
|
-
* @deprecated
|
|
798
|
-
* @throws {RequiredError}
|
|
799
|
-
*/
|
|
800
|
-
updateClaim1: function (code, updateClaimRequestDto, authorization, options) {
|
|
801
|
-
if (options === void 0) { options = {}; }
|
|
802
|
-
return __awaiter(_this, void 0, void 0, function () {
|
|
803
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
804
|
-
return __generator(this, function (_a) {
|
|
805
|
-
switch (_a.label) {
|
|
806
|
-
case 0:
|
|
807
|
-
// verify required parameter 'code' is not null or undefined
|
|
808
|
-
(0, common_1.assertParamExists)('updateClaim1', 'code', code);
|
|
809
|
-
// verify required parameter 'updateClaimRequestDto' is not null or undefined
|
|
810
|
-
(0, common_1.assertParamExists)('updateClaim1', 'updateClaimRequestDto', updateClaimRequestDto);
|
|
432
|
+
(0, common_1.assertParamExists)('updateClaim', 'updateClaimRequestDto', updateClaimRequestDto);
|
|
811
433
|
localVarPath = "/v1/claims/{code}"
|
|
812
434
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
813
435
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -872,28 +494,6 @@ var ClaimsApiFp = function (configuration) {
|
|
|
872
494
|
});
|
|
873
495
|
});
|
|
874
496
|
},
|
|
875
|
-
/**
|
|
876
|
-
* This will create a claim in the database **Required Permissions** \"claim-management.claims.create\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
877
|
-
* @summary Create the claim
|
|
878
|
-
* @param {CreateClaimRequestDto} createClaimRequestDto
|
|
879
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
880
|
-
* @param {*} [options] Override http request option.
|
|
881
|
-
* @deprecated
|
|
882
|
-
* @throws {RequiredError}
|
|
883
|
-
*/
|
|
884
|
-
createClaim1: function (createClaimRequestDto, authorization, options) {
|
|
885
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
886
|
-
var localVarAxiosArgs;
|
|
887
|
-
return __generator(this, function (_a) {
|
|
888
|
-
switch (_a.label) {
|
|
889
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.createClaim1(createClaimRequestDto, authorization, options)];
|
|
890
|
-
case 1:
|
|
891
|
-
localVarAxiosArgs = _a.sent();
|
|
892
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
893
|
-
}
|
|
894
|
-
});
|
|
895
|
-
});
|
|
896
|
-
},
|
|
897
497
|
/**
|
|
898
498
|
* This will delete the requested claim from the database. **Required Permissions** \"claim-management.claims.delete\"
|
|
899
499
|
* @summary Delete the claim
|
|
@@ -915,28 +515,6 @@ var ClaimsApiFp = function (configuration) {
|
|
|
915
515
|
});
|
|
916
516
|
});
|
|
917
517
|
},
|
|
918
|
-
/**
|
|
919
|
-
* This will delete the requested claim from the database. **Required Permissions** \"claim-management.claims.delete\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
920
|
-
* @summary Delete the claim
|
|
921
|
-
* @param {string} code
|
|
922
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
923
|
-
* @param {*} [options] Override http request option.
|
|
924
|
-
* @deprecated
|
|
925
|
-
* @throws {RequiredError}
|
|
926
|
-
*/
|
|
927
|
-
deleteClaim1: function (code, authorization, options) {
|
|
928
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
929
|
-
var localVarAxiosArgs;
|
|
930
|
-
return __generator(this, function (_a) {
|
|
931
|
-
switch (_a.label) {
|
|
932
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteClaim1(code, authorization, options)];
|
|
933
|
-
case 1:
|
|
934
|
-
localVarAxiosArgs = _a.sent();
|
|
935
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
936
|
-
}
|
|
937
|
-
});
|
|
938
|
-
});
|
|
939
|
-
},
|
|
940
518
|
/**
|
|
941
519
|
* This will fetch the identified claim from the database by code **Required Permissions** \"claim-management.claims.view\"
|
|
942
520
|
* @summary Retrieve the claim
|
|
@@ -958,28 +536,6 @@ var ClaimsApiFp = function (configuration) {
|
|
|
958
536
|
});
|
|
959
537
|
});
|
|
960
538
|
},
|
|
961
|
-
/**
|
|
962
|
-
* This will fetch the identified claim from the database by code **Required Permissions** \"claim-management.claims.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
963
|
-
* @summary Retrieve the claim
|
|
964
|
-
* @param {string} code
|
|
965
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
966
|
-
* @param {*} [options] Override http request option.
|
|
967
|
-
* @deprecated
|
|
968
|
-
* @throws {RequiredError}
|
|
969
|
-
*/
|
|
970
|
-
getClaim1: function (code, authorization, options) {
|
|
971
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
972
|
-
var localVarAxiosArgs;
|
|
973
|
-
return __generator(this, function (_a) {
|
|
974
|
-
switch (_a.label) {
|
|
975
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getClaim1(code, authorization, options)];
|
|
976
|
-
case 1:
|
|
977
|
-
localVarAxiosArgs = _a.sent();
|
|
978
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
979
|
-
}
|
|
980
|
-
});
|
|
981
|
-
});
|
|
982
|
-
},
|
|
983
539
|
/**
|
|
984
540
|
* This endpoint will calculate and get the regulation summary for a claim. **Required Permissions** \"claim-management.claims.view\", \"claim-management.regulations.view\"
|
|
985
541
|
* @summary Retrieve the claim regulation summary
|
|
@@ -1001,28 +557,6 @@ var ClaimsApiFp = function (configuration) {
|
|
|
1001
557
|
});
|
|
1002
558
|
});
|
|
1003
559
|
},
|
|
1004
|
-
/**
|
|
1005
|
-
* This endpoint will calculate and get the regulation summary for a claim. **Required Permissions** \"claim-management.claims.view\", \"claim-management.regulations.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1006
|
-
* @summary Retrieve the claim regulation summary
|
|
1007
|
-
* @param {string} code Unique identifier for the object.
|
|
1008
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1009
|
-
* @param {*} [options] Override http request option.
|
|
1010
|
-
* @deprecated
|
|
1011
|
-
* @throws {RequiredError}
|
|
1012
|
-
*/
|
|
1013
|
-
getClaimRegulationSummary1: function (code, authorization, options) {
|
|
1014
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
1015
|
-
var localVarAxiosArgs;
|
|
1016
|
-
return __generator(this, function (_a) {
|
|
1017
|
-
switch (_a.label) {
|
|
1018
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getClaimRegulationSummary1(code, authorization, options)];
|
|
1019
|
-
case 1:
|
|
1020
|
-
localVarAxiosArgs = _a.sent();
|
|
1021
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1022
|
-
}
|
|
1023
|
-
});
|
|
1024
|
-
});
|
|
1025
|
-
},
|
|
1026
560
|
/**
|
|
1027
561
|
* Returns a list of claims you have previously created. The claims are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.claims.view\"
|
|
1028
562
|
* @summary List claims
|
|
@@ -1050,34 +584,6 @@ var ClaimsApiFp = function (configuration) {
|
|
|
1050
584
|
});
|
|
1051
585
|
});
|
|
1052
586
|
},
|
|
1053
|
-
/**
|
|
1054
|
-
* Returns a list of claims you have previously created. The claims are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.claims.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1055
|
-
* @summary List claims
|
|
1056
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1057
|
-
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
1058
|
-
* @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.
|
|
1059
|
-
* @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: policyNumber, productId, accountCode, insuredObjectId, policyCode</i>
|
|
1060
|
-
* @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, policyCode, accountCode, productName, claimNumber, policyNumber, damageDate, notificationDate, description, status</i>
|
|
1061
|
-
* @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, accountCode, status, claimNumber, policyNumber, damageDate, notificationDate, description, createdAt, updatedAt</i>
|
|
1062
|
-
* @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: partners<i>
|
|
1063
|
-
* @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: policyNumber, productId, accountCode, insuredObjectId, policyCode</i>
|
|
1064
|
-
* @param {*} [options] Override http request option.
|
|
1065
|
-
* @deprecated
|
|
1066
|
-
* @throws {RequiredError}
|
|
1067
|
-
*/
|
|
1068
|
-
listClaims1: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
1069
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
1070
|
-
var localVarAxiosArgs;
|
|
1071
|
-
return __generator(this, function (_a) {
|
|
1072
|
-
switch (_a.label) {
|
|
1073
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listClaims1(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
|
|
1074
|
-
case 1:
|
|
1075
|
-
localVarAxiosArgs = _a.sent();
|
|
1076
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1077
|
-
}
|
|
1078
|
-
});
|
|
1079
|
-
});
|
|
1080
|
-
},
|
|
1081
587
|
/**
|
|
1082
588
|
* Updates the identified claim by setting the values of the provided parameters. Any parameters not provided will be left unchanged. **Required Permissions** \"claim-management.claims.update\"
|
|
1083
589
|
* @summary Patch the claim
|
|
@@ -1100,29 +606,6 @@ var ClaimsApiFp = function (configuration) {
|
|
|
1100
606
|
});
|
|
1101
607
|
});
|
|
1102
608
|
},
|
|
1103
|
-
/**
|
|
1104
|
-
* Updates the identified claim by setting the values of the provided parameters. Any parameters not provided will be left unchanged. **Required Permissions** \"claim-management.claims.update\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1105
|
-
* @summary Patch the claim
|
|
1106
|
-
* @param {string} code
|
|
1107
|
-
* @param {PatchClaimRequestDto} patchClaimRequestDto
|
|
1108
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1109
|
-
* @param {*} [options] Override http request option.
|
|
1110
|
-
* @deprecated
|
|
1111
|
-
* @throws {RequiredError}
|
|
1112
|
-
*/
|
|
1113
|
-
patchClaim1: function (code, patchClaimRequestDto, authorization, options) {
|
|
1114
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
1115
|
-
var localVarAxiosArgs;
|
|
1116
|
-
return __generator(this, function (_a) {
|
|
1117
|
-
switch (_a.label) {
|
|
1118
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchClaim1(code, patchClaimRequestDto, authorization, options)];
|
|
1119
|
-
case 1:
|
|
1120
|
-
localVarAxiosArgs = _a.sent();
|
|
1121
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1122
|
-
}
|
|
1123
|
-
});
|
|
1124
|
-
});
|
|
1125
|
-
},
|
|
1126
609
|
/**
|
|
1127
610
|
* This will update the identified claim in the database **Required Permissions** \"claim-management.claims.update\"
|
|
1128
611
|
* @summary Update the claim
|
|
@@ -1145,29 +628,6 @@ var ClaimsApiFp = function (configuration) {
|
|
|
1145
628
|
});
|
|
1146
629
|
});
|
|
1147
630
|
},
|
|
1148
|
-
/**
|
|
1149
|
-
* This will update the identified claim in the database **Required Permissions** \"claim-management.claims.update\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1150
|
-
* @summary Update the claim
|
|
1151
|
-
* @param {string} code
|
|
1152
|
-
* @param {UpdateClaimRequestDto} updateClaimRequestDto
|
|
1153
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1154
|
-
* @param {*} [options] Override http request option.
|
|
1155
|
-
* @deprecated
|
|
1156
|
-
* @throws {RequiredError}
|
|
1157
|
-
*/
|
|
1158
|
-
updateClaim1: function (code, updateClaimRequestDto, authorization, options) {
|
|
1159
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
1160
|
-
var localVarAxiosArgs;
|
|
1161
|
-
return __generator(this, function (_a) {
|
|
1162
|
-
switch (_a.label) {
|
|
1163
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateClaim1(code, updateClaimRequestDto, authorization, options)];
|
|
1164
|
-
case 1:
|
|
1165
|
-
localVarAxiosArgs = _a.sent();
|
|
1166
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1167
|
-
}
|
|
1168
|
-
});
|
|
1169
|
-
});
|
|
1170
|
-
},
|
|
1171
631
|
};
|
|
1172
632
|
};
|
|
1173
633
|
exports.ClaimsApiFp = ClaimsApiFp;
|
|
@@ -1189,18 +649,6 @@ var ClaimsApiFactory = function (configuration, basePath, axios) {
|
|
|
1189
649
|
createClaim: function (createClaimRequestDto, authorization, options) {
|
|
1190
650
|
return localVarFp.createClaim(createClaimRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
1191
651
|
},
|
|
1192
|
-
/**
|
|
1193
|
-
* This will create a claim in the database **Required Permissions** \"claim-management.claims.create\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1194
|
-
* @summary Create the claim
|
|
1195
|
-
* @param {CreateClaimRequestDto} createClaimRequestDto
|
|
1196
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1197
|
-
* @param {*} [options] Override http request option.
|
|
1198
|
-
* @deprecated
|
|
1199
|
-
* @throws {RequiredError}
|
|
1200
|
-
*/
|
|
1201
|
-
createClaim1: function (createClaimRequestDto, authorization, options) {
|
|
1202
|
-
return localVarFp.createClaim1(createClaimRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
1203
|
-
},
|
|
1204
652
|
/**
|
|
1205
653
|
* This will delete the requested claim from the database. **Required Permissions** \"claim-management.claims.delete\"
|
|
1206
654
|
* @summary Delete the claim
|
|
@@ -1212,18 +660,6 @@ var ClaimsApiFactory = function (configuration, basePath, axios) {
|
|
|
1212
660
|
deleteClaim: function (code, authorization, options) {
|
|
1213
661
|
return localVarFp.deleteClaim(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
1214
662
|
},
|
|
1215
|
-
/**
|
|
1216
|
-
* This will delete the requested claim from the database. **Required Permissions** \"claim-management.claims.delete\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1217
|
-
* @summary Delete the claim
|
|
1218
|
-
* @param {string} code
|
|
1219
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1220
|
-
* @param {*} [options] Override http request option.
|
|
1221
|
-
* @deprecated
|
|
1222
|
-
* @throws {RequiredError}
|
|
1223
|
-
*/
|
|
1224
|
-
deleteClaim1: function (code, authorization, options) {
|
|
1225
|
-
return localVarFp.deleteClaim1(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
1226
|
-
},
|
|
1227
663
|
/**
|
|
1228
664
|
* This will fetch the identified claim from the database by code **Required Permissions** \"claim-management.claims.view\"
|
|
1229
665
|
* @summary Retrieve the claim
|
|
@@ -1235,18 +671,6 @@ var ClaimsApiFactory = function (configuration, basePath, axios) {
|
|
|
1235
671
|
getClaim: function (code, authorization, options) {
|
|
1236
672
|
return localVarFp.getClaim(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
1237
673
|
},
|
|
1238
|
-
/**
|
|
1239
|
-
* This will fetch the identified claim from the database by code **Required Permissions** \"claim-management.claims.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1240
|
-
* @summary Retrieve the claim
|
|
1241
|
-
* @param {string} code
|
|
1242
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1243
|
-
* @param {*} [options] Override http request option.
|
|
1244
|
-
* @deprecated
|
|
1245
|
-
* @throws {RequiredError}
|
|
1246
|
-
*/
|
|
1247
|
-
getClaim1: function (code, authorization, options) {
|
|
1248
|
-
return localVarFp.getClaim1(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
1249
|
-
},
|
|
1250
674
|
/**
|
|
1251
675
|
* This endpoint will calculate and get the regulation summary for a claim. **Required Permissions** \"claim-management.claims.view\", \"claim-management.regulations.view\"
|
|
1252
676
|
* @summary Retrieve the claim regulation summary
|
|
@@ -1258,18 +682,6 @@ var ClaimsApiFactory = function (configuration, basePath, axios) {
|
|
|
1258
682
|
getClaimRegulationSummary: function (code, authorization, options) {
|
|
1259
683
|
return localVarFp.getClaimRegulationSummary(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
1260
684
|
},
|
|
1261
|
-
/**
|
|
1262
|
-
* This endpoint will calculate and get the regulation summary for a claim. **Required Permissions** \"claim-management.claims.view\", \"claim-management.regulations.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1263
|
-
* @summary Retrieve the claim regulation summary
|
|
1264
|
-
* @param {string} code Unique identifier for the object.
|
|
1265
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1266
|
-
* @param {*} [options] Override http request option.
|
|
1267
|
-
* @deprecated
|
|
1268
|
-
* @throws {RequiredError}
|
|
1269
|
-
*/
|
|
1270
|
-
getClaimRegulationSummary1: function (code, authorization, options) {
|
|
1271
|
-
return localVarFp.getClaimRegulationSummary1(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
1272
|
-
},
|
|
1273
685
|
/**
|
|
1274
686
|
* Returns a list of claims you have previously created. The claims are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.claims.view\"
|
|
1275
687
|
* @summary List claims
|
|
@@ -1287,24 +699,6 @@ var ClaimsApiFactory = function (configuration, basePath, axios) {
|
|
|
1287
699
|
listClaims: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
1288
700
|
return localVarFp.listClaims(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
1289
701
|
},
|
|
1290
|
-
/**
|
|
1291
|
-
* Returns a list of claims you have previously created. The claims are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.claims.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1292
|
-
* @summary List claims
|
|
1293
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1294
|
-
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
1295
|
-
* @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.
|
|
1296
|
-
* @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: policyNumber, productId, accountCode, insuredObjectId, policyCode</i>
|
|
1297
|
-
* @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, policyCode, accountCode, productName, claimNumber, policyNumber, damageDate, notificationDate, description, status</i>
|
|
1298
|
-
* @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, accountCode, status, claimNumber, policyNumber, damageDate, notificationDate, description, createdAt, updatedAt</i>
|
|
1299
|
-
* @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: partners<i>
|
|
1300
|
-
* @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: policyNumber, productId, accountCode, insuredObjectId, policyCode</i>
|
|
1301
|
-
* @param {*} [options] Override http request option.
|
|
1302
|
-
* @deprecated
|
|
1303
|
-
* @throws {RequiredError}
|
|
1304
|
-
*/
|
|
1305
|
-
listClaims1: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
1306
|
-
return localVarFp.listClaims1(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
1307
|
-
},
|
|
1308
702
|
/**
|
|
1309
703
|
* Updates the identified claim by setting the values of the provided parameters. Any parameters not provided will be left unchanged. **Required Permissions** \"claim-management.claims.update\"
|
|
1310
704
|
* @summary Patch the claim
|
|
@@ -1317,19 +711,6 @@ var ClaimsApiFactory = function (configuration, basePath, axios) {
|
|
|
1317
711
|
patchClaim: function (code, patchClaimRequestDto, authorization, options) {
|
|
1318
712
|
return localVarFp.patchClaim(code, patchClaimRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
1319
713
|
},
|
|
1320
|
-
/**
|
|
1321
|
-
* Updates the identified claim by setting the values of the provided parameters. Any parameters not provided will be left unchanged. **Required Permissions** \"claim-management.claims.update\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1322
|
-
* @summary Patch the claim
|
|
1323
|
-
* @param {string} code
|
|
1324
|
-
* @param {PatchClaimRequestDto} patchClaimRequestDto
|
|
1325
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1326
|
-
* @param {*} [options] Override http request option.
|
|
1327
|
-
* @deprecated
|
|
1328
|
-
* @throws {RequiredError}
|
|
1329
|
-
*/
|
|
1330
|
-
patchClaim1: function (code, patchClaimRequestDto, authorization, options) {
|
|
1331
|
-
return localVarFp.patchClaim1(code, patchClaimRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
1332
|
-
},
|
|
1333
714
|
/**
|
|
1334
715
|
* This will update the identified claim in the database **Required Permissions** \"claim-management.claims.update\"
|
|
1335
716
|
* @summary Update the claim
|
|
@@ -1342,19 +723,6 @@ var ClaimsApiFactory = function (configuration, basePath, axios) {
|
|
|
1342
723
|
updateClaim: function (code, updateClaimRequestDto, authorization, options) {
|
|
1343
724
|
return localVarFp.updateClaim(code, updateClaimRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
1344
725
|
},
|
|
1345
|
-
/**
|
|
1346
|
-
* This will update the identified claim in the database **Required Permissions** \"claim-management.claims.update\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1347
|
-
* @summary Update the claim
|
|
1348
|
-
* @param {string} code
|
|
1349
|
-
* @param {UpdateClaimRequestDto} updateClaimRequestDto
|
|
1350
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1351
|
-
* @param {*} [options] Override http request option.
|
|
1352
|
-
* @deprecated
|
|
1353
|
-
* @throws {RequiredError}
|
|
1354
|
-
*/
|
|
1355
|
-
updateClaim1: function (code, updateClaimRequestDto, authorization, options) {
|
|
1356
|
-
return localVarFp.updateClaim1(code, updateClaimRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
1357
|
-
},
|
|
1358
726
|
};
|
|
1359
727
|
};
|
|
1360
728
|
exports.ClaimsApiFactory = ClaimsApiFactory;
|
|
@@ -1381,19 +749,6 @@ var ClaimsApi = /** @class */ (function (_super) {
|
|
|
1381
749
|
var _this = this;
|
|
1382
750
|
return (0, exports.ClaimsApiFp)(this.configuration).createClaim(requestParameters.createClaimRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1383
751
|
};
|
|
1384
|
-
/**
|
|
1385
|
-
* This will create a claim in the database **Required Permissions** \"claim-management.claims.create\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1386
|
-
* @summary Create the claim
|
|
1387
|
-
* @param {ClaimsApiCreateClaim1Request} requestParameters Request parameters.
|
|
1388
|
-
* @param {*} [options] Override http request option.
|
|
1389
|
-
* @deprecated
|
|
1390
|
-
* @throws {RequiredError}
|
|
1391
|
-
* @memberof ClaimsApi
|
|
1392
|
-
*/
|
|
1393
|
-
ClaimsApi.prototype.createClaim1 = function (requestParameters, options) {
|
|
1394
|
-
var _this = this;
|
|
1395
|
-
return (0, exports.ClaimsApiFp)(this.configuration).createClaim1(requestParameters.createClaimRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1396
|
-
};
|
|
1397
752
|
/**
|
|
1398
753
|
* This will delete the requested claim from the database. **Required Permissions** \"claim-management.claims.delete\"
|
|
1399
754
|
* @summary Delete the claim
|
|
@@ -1406,19 +761,6 @@ var ClaimsApi = /** @class */ (function (_super) {
|
|
|
1406
761
|
var _this = this;
|
|
1407
762
|
return (0, exports.ClaimsApiFp)(this.configuration).deleteClaim(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1408
763
|
};
|
|
1409
|
-
/**
|
|
1410
|
-
* This will delete the requested claim from the database. **Required Permissions** \"claim-management.claims.delete\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1411
|
-
* @summary Delete the claim
|
|
1412
|
-
* @param {ClaimsApiDeleteClaim1Request} requestParameters Request parameters.
|
|
1413
|
-
* @param {*} [options] Override http request option.
|
|
1414
|
-
* @deprecated
|
|
1415
|
-
* @throws {RequiredError}
|
|
1416
|
-
* @memberof ClaimsApi
|
|
1417
|
-
*/
|
|
1418
|
-
ClaimsApi.prototype.deleteClaim1 = function (requestParameters, options) {
|
|
1419
|
-
var _this = this;
|
|
1420
|
-
return (0, exports.ClaimsApiFp)(this.configuration).deleteClaim1(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1421
|
-
};
|
|
1422
764
|
/**
|
|
1423
765
|
* This will fetch the identified claim from the database by code **Required Permissions** \"claim-management.claims.view\"
|
|
1424
766
|
* @summary Retrieve the claim
|
|
@@ -1431,19 +773,6 @@ var ClaimsApi = /** @class */ (function (_super) {
|
|
|
1431
773
|
var _this = this;
|
|
1432
774
|
return (0, exports.ClaimsApiFp)(this.configuration).getClaim(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1433
775
|
};
|
|
1434
|
-
/**
|
|
1435
|
-
* This will fetch the identified claim from the database by code **Required Permissions** \"claim-management.claims.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1436
|
-
* @summary Retrieve the claim
|
|
1437
|
-
* @param {ClaimsApiGetClaim1Request} requestParameters Request parameters.
|
|
1438
|
-
* @param {*} [options] Override http request option.
|
|
1439
|
-
* @deprecated
|
|
1440
|
-
* @throws {RequiredError}
|
|
1441
|
-
* @memberof ClaimsApi
|
|
1442
|
-
*/
|
|
1443
|
-
ClaimsApi.prototype.getClaim1 = function (requestParameters, options) {
|
|
1444
|
-
var _this = this;
|
|
1445
|
-
return (0, exports.ClaimsApiFp)(this.configuration).getClaim1(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1446
|
-
};
|
|
1447
776
|
/**
|
|
1448
777
|
* This endpoint will calculate and get the regulation summary for a claim. **Required Permissions** \"claim-management.claims.view\", \"claim-management.regulations.view\"
|
|
1449
778
|
* @summary Retrieve the claim regulation summary
|
|
@@ -1456,19 +785,6 @@ var ClaimsApi = /** @class */ (function (_super) {
|
|
|
1456
785
|
var _this = this;
|
|
1457
786
|
return (0, exports.ClaimsApiFp)(this.configuration).getClaimRegulationSummary(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1458
787
|
};
|
|
1459
|
-
/**
|
|
1460
|
-
* This endpoint will calculate and get the regulation summary for a claim. **Required Permissions** \"claim-management.claims.view\", \"claim-management.regulations.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1461
|
-
* @summary Retrieve the claim regulation summary
|
|
1462
|
-
* @param {ClaimsApiGetClaimRegulationSummary1Request} requestParameters Request parameters.
|
|
1463
|
-
* @param {*} [options] Override http request option.
|
|
1464
|
-
* @deprecated
|
|
1465
|
-
* @throws {RequiredError}
|
|
1466
|
-
* @memberof ClaimsApi
|
|
1467
|
-
*/
|
|
1468
|
-
ClaimsApi.prototype.getClaimRegulationSummary1 = function (requestParameters, options) {
|
|
1469
|
-
var _this = this;
|
|
1470
|
-
return (0, exports.ClaimsApiFp)(this.configuration).getClaimRegulationSummary1(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1471
|
-
};
|
|
1472
788
|
/**
|
|
1473
789
|
* Returns a list of claims you have previously created. The claims are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.claims.view\"
|
|
1474
790
|
* @summary List claims
|
|
@@ -1482,20 +798,6 @@ var ClaimsApi = /** @class */ (function (_super) {
|
|
|
1482
798
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
1483
799
|
return (0, exports.ClaimsApiFp)(this.configuration).listClaims(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); });
|
|
1484
800
|
};
|
|
1485
|
-
/**
|
|
1486
|
-
* Returns a list of claims you have previously created. The claims are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.claims.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1487
|
-
* @summary List claims
|
|
1488
|
-
* @param {ClaimsApiListClaims1Request} requestParameters Request parameters.
|
|
1489
|
-
* @param {*} [options] Override http request option.
|
|
1490
|
-
* @deprecated
|
|
1491
|
-
* @throws {RequiredError}
|
|
1492
|
-
* @memberof ClaimsApi
|
|
1493
|
-
*/
|
|
1494
|
-
ClaimsApi.prototype.listClaims1 = function (requestParameters, options) {
|
|
1495
|
-
var _this = this;
|
|
1496
|
-
if (requestParameters === void 0) { requestParameters = {}; }
|
|
1497
|
-
return (0, exports.ClaimsApiFp)(this.configuration).listClaims1(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); });
|
|
1498
|
-
};
|
|
1499
801
|
/**
|
|
1500
802
|
* Updates the identified claim by setting the values of the provided parameters. Any parameters not provided will be left unchanged. **Required Permissions** \"claim-management.claims.update\"
|
|
1501
803
|
* @summary Patch the claim
|
|
@@ -1508,19 +810,6 @@ var ClaimsApi = /** @class */ (function (_super) {
|
|
|
1508
810
|
var _this = this;
|
|
1509
811
|
return (0, exports.ClaimsApiFp)(this.configuration).patchClaim(requestParameters.code, requestParameters.patchClaimRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1510
812
|
};
|
|
1511
|
-
/**
|
|
1512
|
-
* Updates the identified claim by setting the values of the provided parameters. Any parameters not provided will be left unchanged. **Required Permissions** \"claim-management.claims.update\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1513
|
-
* @summary Patch the claim
|
|
1514
|
-
* @param {ClaimsApiPatchClaim1Request} requestParameters Request parameters.
|
|
1515
|
-
* @param {*} [options] Override http request option.
|
|
1516
|
-
* @deprecated
|
|
1517
|
-
* @throws {RequiredError}
|
|
1518
|
-
* @memberof ClaimsApi
|
|
1519
|
-
*/
|
|
1520
|
-
ClaimsApi.prototype.patchClaim1 = function (requestParameters, options) {
|
|
1521
|
-
var _this = this;
|
|
1522
|
-
return (0, exports.ClaimsApiFp)(this.configuration).patchClaim1(requestParameters.code, requestParameters.patchClaimRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1523
|
-
};
|
|
1524
813
|
/**
|
|
1525
814
|
* This will update the identified claim in the database **Required Permissions** \"claim-management.claims.update\"
|
|
1526
815
|
* @summary Update the claim
|
|
@@ -1533,19 +822,6 @@ var ClaimsApi = /** @class */ (function (_super) {
|
|
|
1533
822
|
var _this = this;
|
|
1534
823
|
return (0, exports.ClaimsApiFp)(this.configuration).updateClaim(requestParameters.code, requestParameters.updateClaimRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1535
824
|
};
|
|
1536
|
-
/**
|
|
1537
|
-
* This will update the identified claim in the database **Required Permissions** \"claim-management.claims.update\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1538
|
-
* @summary Update the claim
|
|
1539
|
-
* @param {ClaimsApiUpdateClaim1Request} requestParameters Request parameters.
|
|
1540
|
-
* @param {*} [options] Override http request option.
|
|
1541
|
-
* @deprecated
|
|
1542
|
-
* @throws {RequiredError}
|
|
1543
|
-
* @memberof ClaimsApi
|
|
1544
|
-
*/
|
|
1545
|
-
ClaimsApi.prototype.updateClaim1 = function (requestParameters, options) {
|
|
1546
|
-
var _this = this;
|
|
1547
|
-
return (0, exports.ClaimsApiFp)(this.configuration).updateClaim1(requestParameters.code, requestParameters.updateClaimRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1548
|
-
};
|
|
1549
825
|
return ClaimsApi;
|
|
1550
826
|
}(base_1.BaseAPI));
|
|
1551
827
|
exports.ClaimsApi = ClaimsApi;
|