@emilgroup/claim-sdk 1.40.1-beta.7 → 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 +6 -613
- package/api/claim-partners-api.ts +0 -504
- package/api/claim-regulations-api.ts +3 -624
- package/api/claim-statuses-api.ts +5 -728
- package/api/claims-api.ts +4 -828
- package/api/health-check-api.ts +0 -62
- package/api/settlements-api.ts +6 -613
- package/api.ts +0 -2
- package/dist/api/claim-partner-roles-api.d.ts +0 -338
- package/dist/api/claim-partner-roles-api.js +0 -505
- package/dist/api/claim-partners-api.d.ts +0 -283
- package/dist/api/claim-partners-api.js +0 -412
- package/dist/api/claim-regulations-api.d.ts +0 -347
- package/dist/api/claim-regulations-api.js +0 -511
- package/dist/api/claim-statuses-api.d.ts +0 -402
- package/dist/api/claim-statuses-api.js +11 -615
- package/dist/api/claims-api.d.ts +0 -457
- package/dist/api/claims-api.js +30 -726
- package/dist/api/health-check-api.d.ts +0 -29
- package/dist/api/health-check-api.js +0 -69
- package/dist/api/settlements-api.d.ts +0 -338
- package/dist/api/settlements-api.js +0 -505
- 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 -1316
- package/dist/api/claim-positions-api.d.ts +0 -740
- package/dist/api/claim-positions-api.js +0 -1157
- 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
|
@@ -145,59 +145,6 @@ var ClaimPartnersApiAxiosParamCreator = function (configuration) {
|
|
|
145
145
|
});
|
|
146
146
|
});
|
|
147
147
|
},
|
|
148
|
-
/**
|
|
149
|
-
* This will create a claim partner. **Required Permissions** \"claim-management.partners.create\"
|
|
150
|
-
* @summary Create the claim partner
|
|
151
|
-
* @param {string} claimCode Unique identifier for the claim object.
|
|
152
|
-
* @param {CreateClaimPartnerRequestDto} createClaimPartnerRequestDto
|
|
153
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
154
|
-
* @param {*} [options] Override http request option.
|
|
155
|
-
* @throws {RequiredError}
|
|
156
|
-
*/
|
|
157
|
-
createClaimPartner1: function (claimCode, createClaimPartnerRequestDto, authorization, options) {
|
|
158
|
-
if (options === void 0) { options = {}; }
|
|
159
|
-
return __awaiter(_this, void 0, void 0, function () {
|
|
160
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
161
|
-
return __generator(this, function (_a) {
|
|
162
|
-
switch (_a.label) {
|
|
163
|
-
case 0:
|
|
164
|
-
// verify required parameter 'claimCode' is not null or undefined
|
|
165
|
-
(0, common_1.assertParamExists)('createClaimPartner1', 'claimCode', claimCode);
|
|
166
|
-
// verify required parameter 'createClaimPartnerRequestDto' is not null or undefined
|
|
167
|
-
(0, common_1.assertParamExists)('createClaimPartner1', 'createClaimPartnerRequestDto', createClaimPartnerRequestDto);
|
|
168
|
-
localVarPath = "/claimservice/v1/claims/{claimCode}/partner"
|
|
169
|
-
.replace("{".concat("claimCode", "}"), encodeURIComponent(String(claimCode)));
|
|
170
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
171
|
-
if (configuration) {
|
|
172
|
-
baseOptions = configuration.baseOptions;
|
|
173
|
-
baseAccessToken = configuration.accessToken;
|
|
174
|
-
}
|
|
175
|
-
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
176
|
-
localVarHeaderParameter = {};
|
|
177
|
-
localVarQueryParameter = {};
|
|
178
|
-
// authentication bearer required
|
|
179
|
-
// http bearer authentication required
|
|
180
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
181
|
-
case 1:
|
|
182
|
-
// authentication bearer required
|
|
183
|
-
// http bearer authentication required
|
|
184
|
-
_a.sent();
|
|
185
|
-
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
186
|
-
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
187
|
-
}
|
|
188
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
189
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
190
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
191
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
192
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createClaimPartnerRequestDto, localVarRequestOptions, configuration);
|
|
193
|
-
return [2 /*return*/, {
|
|
194
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
195
|
-
options: localVarRequestOptions,
|
|
196
|
-
}];
|
|
197
|
-
}
|
|
198
|
-
});
|
|
199
|
-
});
|
|
200
|
-
},
|
|
201
148
|
/**
|
|
202
149
|
* Permanently deletes the claim partner. Supply the unique id that was returned when you created the claim partner and this will delete it. **Required Permissions** \"claim-management.partners.delete\"
|
|
203
150
|
* @summary Delete the claim partner
|
|
@@ -246,54 +193,6 @@ var ClaimPartnersApiAxiosParamCreator = function (configuration) {
|
|
|
246
193
|
});
|
|
247
194
|
});
|
|
248
195
|
},
|
|
249
|
-
/**
|
|
250
|
-
* Permanently deletes the claim partner. Supply the unique id that was returned when you created the claim partner and this will delete it. **Required Permissions** \"claim-management.partners.delete\"
|
|
251
|
-
* @summary Delete the claim partner
|
|
252
|
-
* @param {number} id
|
|
253
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
254
|
-
* @param {*} [options] Override http request option.
|
|
255
|
-
* @throws {RequiredError}
|
|
256
|
-
*/
|
|
257
|
-
deleteClaimPartner1: function (id, authorization, options) {
|
|
258
|
-
if (options === void 0) { options = {}; }
|
|
259
|
-
return __awaiter(_this, void 0, void 0, function () {
|
|
260
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
261
|
-
return __generator(this, function (_a) {
|
|
262
|
-
switch (_a.label) {
|
|
263
|
-
case 0:
|
|
264
|
-
// verify required parameter 'id' is not null or undefined
|
|
265
|
-
(0, common_1.assertParamExists)('deleteClaimPartner1', 'id', id);
|
|
266
|
-
localVarPath = "/claimservice/v1/claim-partners/{id}"
|
|
267
|
-
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
268
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
269
|
-
if (configuration) {
|
|
270
|
-
baseOptions = configuration.baseOptions;
|
|
271
|
-
baseAccessToken = configuration.accessToken;
|
|
272
|
-
}
|
|
273
|
-
localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
|
|
274
|
-
localVarHeaderParameter = {};
|
|
275
|
-
localVarQueryParameter = {};
|
|
276
|
-
// authentication bearer required
|
|
277
|
-
// http bearer authentication required
|
|
278
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
279
|
-
case 1:
|
|
280
|
-
// authentication bearer required
|
|
281
|
-
// http bearer authentication required
|
|
282
|
-
_a.sent();
|
|
283
|
-
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
284
|
-
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
285
|
-
}
|
|
286
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
287
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
288
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
289
|
-
return [2 /*return*/, {
|
|
290
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
291
|
-
options: localVarRequestOptions,
|
|
292
|
-
}];
|
|
293
|
-
}
|
|
294
|
-
});
|
|
295
|
-
});
|
|
296
|
-
},
|
|
297
196
|
/**
|
|
298
197
|
* Retrieves the details of the claim partner that was previously created. Supply the unique claim partner id that was returned when you created it and Emil Api will return the corresponding claim partner information. **Required Permissions** \"claim-management.partners.view\"
|
|
299
198
|
* @summary Retrieve the claim partner
|
|
@@ -342,54 +241,6 @@ var ClaimPartnersApiAxiosParamCreator = function (configuration) {
|
|
|
342
241
|
});
|
|
343
242
|
});
|
|
344
243
|
},
|
|
345
|
-
/**
|
|
346
|
-
* Retrieves the details of the claim partner that was previously created. Supply the unique claim partner id that was returned when you created it and Emil Api will return the corresponding claim partner information. **Required Permissions** \"claim-management.partners.view\"
|
|
347
|
-
* @summary Retrieve the claim partner
|
|
348
|
-
* @param {number} id
|
|
349
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
350
|
-
* @param {*} [options] Override http request option.
|
|
351
|
-
* @throws {RequiredError}
|
|
352
|
-
*/
|
|
353
|
-
getClaimPartner1: function (id, authorization, options) {
|
|
354
|
-
if (options === void 0) { options = {}; }
|
|
355
|
-
return __awaiter(_this, void 0, void 0, function () {
|
|
356
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
357
|
-
return __generator(this, function (_a) {
|
|
358
|
-
switch (_a.label) {
|
|
359
|
-
case 0:
|
|
360
|
-
// verify required parameter 'id' is not null or undefined
|
|
361
|
-
(0, common_1.assertParamExists)('getClaimPartner1', 'id', id);
|
|
362
|
-
localVarPath = "/claimservice/v1/claim-partners/{id}"
|
|
363
|
-
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
364
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
365
|
-
if (configuration) {
|
|
366
|
-
baseOptions = configuration.baseOptions;
|
|
367
|
-
baseAccessToken = configuration.accessToken;
|
|
368
|
-
}
|
|
369
|
-
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
370
|
-
localVarHeaderParameter = {};
|
|
371
|
-
localVarQueryParameter = {};
|
|
372
|
-
// authentication bearer required
|
|
373
|
-
// http bearer authentication required
|
|
374
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
375
|
-
case 1:
|
|
376
|
-
// authentication bearer required
|
|
377
|
-
// http bearer authentication required
|
|
378
|
-
_a.sent();
|
|
379
|
-
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
380
|
-
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
381
|
-
}
|
|
382
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
383
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
384
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
385
|
-
return [2 /*return*/, {
|
|
386
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
387
|
-
options: localVarRequestOptions,
|
|
388
|
-
}];
|
|
389
|
-
}
|
|
390
|
-
});
|
|
391
|
-
});
|
|
392
|
-
},
|
|
393
244
|
/**
|
|
394
245
|
* Returns a list of claim partners you have previously created. The claim partners are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.partners.view\"
|
|
395
246
|
* @summary List claim partners
|
|
@@ -462,78 +313,6 @@ var ClaimPartnersApiAxiosParamCreator = function (configuration) {
|
|
|
462
313
|
});
|
|
463
314
|
});
|
|
464
315
|
},
|
|
465
|
-
/**
|
|
466
|
-
* Returns a list of claim partners you have previously created. The claim partners are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.partners.view\"
|
|
467
|
-
* @summary List claim partners
|
|
468
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
469
|
-
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
470
|
-
* @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.
|
|
471
|
-
* @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: partnerCode, claimPartnerRoleCode, claimCode</i>
|
|
472
|
-
* @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: partnerCode, claimPartnerRoleCode, claimCode</i>
|
|
473
|
-
* @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, createdAt, updatedAt</i>
|
|
474
|
-
* @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: role, partner<i>
|
|
475
|
-
* @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: partnerCode, claimPartnerRoleCode, claimCode</i>
|
|
476
|
-
* @param {*} [options] Override http request option.
|
|
477
|
-
* @throws {RequiredError}
|
|
478
|
-
*/
|
|
479
|
-
listClaimPartners1: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
480
|
-
if (options === void 0) { options = {}; }
|
|
481
|
-
return __awaiter(_this, void 0, void 0, function () {
|
|
482
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
483
|
-
return __generator(this, function (_a) {
|
|
484
|
-
switch (_a.label) {
|
|
485
|
-
case 0:
|
|
486
|
-
localVarPath = "/claimservice/v1/claim-partners";
|
|
487
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
488
|
-
if (configuration) {
|
|
489
|
-
baseOptions = configuration.baseOptions;
|
|
490
|
-
baseAccessToken = configuration.accessToken;
|
|
491
|
-
}
|
|
492
|
-
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
493
|
-
localVarHeaderParameter = {};
|
|
494
|
-
localVarQueryParameter = {};
|
|
495
|
-
// authentication bearer required
|
|
496
|
-
// http bearer authentication required
|
|
497
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
498
|
-
case 1:
|
|
499
|
-
// authentication bearer required
|
|
500
|
-
// http bearer authentication required
|
|
501
|
-
_a.sent();
|
|
502
|
-
if (pageSize !== undefined) {
|
|
503
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
504
|
-
}
|
|
505
|
-
if (pageToken !== undefined) {
|
|
506
|
-
localVarQueryParameter['pageToken'] = pageToken;
|
|
507
|
-
}
|
|
508
|
-
if (filter !== undefined) {
|
|
509
|
-
localVarQueryParameter['filter'] = filter;
|
|
510
|
-
}
|
|
511
|
-
if (search !== undefined) {
|
|
512
|
-
localVarQueryParameter['search'] = search;
|
|
513
|
-
}
|
|
514
|
-
if (order !== undefined) {
|
|
515
|
-
localVarQueryParameter['order'] = order;
|
|
516
|
-
}
|
|
517
|
-
if (expand !== undefined) {
|
|
518
|
-
localVarQueryParameter['expand'] = expand;
|
|
519
|
-
}
|
|
520
|
-
if (filters !== undefined) {
|
|
521
|
-
localVarQueryParameter['filters'] = filters;
|
|
522
|
-
}
|
|
523
|
-
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
524
|
-
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
525
|
-
}
|
|
526
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
527
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
528
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
529
|
-
return [2 /*return*/, {
|
|
530
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
531
|
-
options: localVarRequestOptions,
|
|
532
|
-
}];
|
|
533
|
-
}
|
|
534
|
-
});
|
|
535
|
-
});
|
|
536
|
-
},
|
|
537
316
|
};
|
|
538
317
|
};
|
|
539
318
|
exports.ClaimPartnersApiAxiosParamCreator = ClaimPartnersApiAxiosParamCreator;
|
|
@@ -566,28 +345,6 @@ var ClaimPartnersApiFp = function (configuration) {
|
|
|
566
345
|
});
|
|
567
346
|
});
|
|
568
347
|
},
|
|
569
|
-
/**
|
|
570
|
-
* This will create a claim partner. **Required Permissions** \"claim-management.partners.create\"
|
|
571
|
-
* @summary Create the claim partner
|
|
572
|
-
* @param {string} claimCode Unique identifier for the claim object.
|
|
573
|
-
* @param {CreateClaimPartnerRequestDto} createClaimPartnerRequestDto
|
|
574
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
575
|
-
* @param {*} [options] Override http request option.
|
|
576
|
-
* @throws {RequiredError}
|
|
577
|
-
*/
|
|
578
|
-
createClaimPartner1: function (claimCode, createClaimPartnerRequestDto, authorization, options) {
|
|
579
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
580
|
-
var localVarAxiosArgs;
|
|
581
|
-
return __generator(this, function (_a) {
|
|
582
|
-
switch (_a.label) {
|
|
583
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.createClaimPartner1(claimCode, createClaimPartnerRequestDto, authorization, options)];
|
|
584
|
-
case 1:
|
|
585
|
-
localVarAxiosArgs = _a.sent();
|
|
586
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
587
|
-
}
|
|
588
|
-
});
|
|
589
|
-
});
|
|
590
|
-
},
|
|
591
348
|
/**
|
|
592
349
|
* Permanently deletes the claim partner. Supply the unique id that was returned when you created the claim partner and this will delete it. **Required Permissions** \"claim-management.partners.delete\"
|
|
593
350
|
* @summary Delete the claim partner
|
|
@@ -609,27 +366,6 @@ var ClaimPartnersApiFp = function (configuration) {
|
|
|
609
366
|
});
|
|
610
367
|
});
|
|
611
368
|
},
|
|
612
|
-
/**
|
|
613
|
-
* Permanently deletes the claim partner. Supply the unique id that was returned when you created the claim partner and this will delete it. **Required Permissions** \"claim-management.partners.delete\"
|
|
614
|
-
* @summary Delete the claim partner
|
|
615
|
-
* @param {number} id
|
|
616
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
617
|
-
* @param {*} [options] Override http request option.
|
|
618
|
-
* @throws {RequiredError}
|
|
619
|
-
*/
|
|
620
|
-
deleteClaimPartner1: function (id, authorization, options) {
|
|
621
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
622
|
-
var localVarAxiosArgs;
|
|
623
|
-
return __generator(this, function (_a) {
|
|
624
|
-
switch (_a.label) {
|
|
625
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteClaimPartner1(id, authorization, options)];
|
|
626
|
-
case 1:
|
|
627
|
-
localVarAxiosArgs = _a.sent();
|
|
628
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
629
|
-
}
|
|
630
|
-
});
|
|
631
|
-
});
|
|
632
|
-
},
|
|
633
369
|
/**
|
|
634
370
|
* Retrieves the details of the claim partner that was previously created. Supply the unique claim partner id that was returned when you created it and Emil Api will return the corresponding claim partner information. **Required Permissions** \"claim-management.partners.view\"
|
|
635
371
|
* @summary Retrieve the claim partner
|
|
@@ -651,27 +387,6 @@ var ClaimPartnersApiFp = function (configuration) {
|
|
|
651
387
|
});
|
|
652
388
|
});
|
|
653
389
|
},
|
|
654
|
-
/**
|
|
655
|
-
* Retrieves the details of the claim partner that was previously created. Supply the unique claim partner id that was returned when you created it and Emil Api will return the corresponding claim partner information. **Required Permissions** \"claim-management.partners.view\"
|
|
656
|
-
* @summary Retrieve the claim partner
|
|
657
|
-
* @param {number} id
|
|
658
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
659
|
-
* @param {*} [options] Override http request option.
|
|
660
|
-
* @throws {RequiredError}
|
|
661
|
-
*/
|
|
662
|
-
getClaimPartner1: function (id, authorization, options) {
|
|
663
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
664
|
-
var localVarAxiosArgs;
|
|
665
|
-
return __generator(this, function (_a) {
|
|
666
|
-
switch (_a.label) {
|
|
667
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getClaimPartner1(id, authorization, options)];
|
|
668
|
-
case 1:
|
|
669
|
-
localVarAxiosArgs = _a.sent();
|
|
670
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
671
|
-
}
|
|
672
|
-
});
|
|
673
|
-
});
|
|
674
|
-
},
|
|
675
390
|
/**
|
|
676
391
|
* Returns a list of claim partners you have previously created. The claim partners are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.partners.view\"
|
|
677
392
|
* @summary List claim partners
|
|
@@ -699,33 +414,6 @@ var ClaimPartnersApiFp = function (configuration) {
|
|
|
699
414
|
});
|
|
700
415
|
});
|
|
701
416
|
},
|
|
702
|
-
/**
|
|
703
|
-
* Returns a list of claim partners you have previously created. The claim partners are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.partners.view\"
|
|
704
|
-
* @summary List claim partners
|
|
705
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
706
|
-
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
707
|
-
* @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.
|
|
708
|
-
* @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: partnerCode, claimPartnerRoleCode, claimCode</i>
|
|
709
|
-
* @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: partnerCode, claimPartnerRoleCode, claimCode</i>
|
|
710
|
-
* @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, createdAt, updatedAt</i>
|
|
711
|
-
* @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: role, partner<i>
|
|
712
|
-
* @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: partnerCode, claimPartnerRoleCode, claimCode</i>
|
|
713
|
-
* @param {*} [options] Override http request option.
|
|
714
|
-
* @throws {RequiredError}
|
|
715
|
-
*/
|
|
716
|
-
listClaimPartners1: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
717
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
718
|
-
var localVarAxiosArgs;
|
|
719
|
-
return __generator(this, function (_a) {
|
|
720
|
-
switch (_a.label) {
|
|
721
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listClaimPartners1(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
|
|
722
|
-
case 1:
|
|
723
|
-
localVarAxiosArgs = _a.sent();
|
|
724
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
725
|
-
}
|
|
726
|
-
});
|
|
727
|
-
});
|
|
728
|
-
},
|
|
729
417
|
};
|
|
730
418
|
};
|
|
731
419
|
exports.ClaimPartnersApiFp = ClaimPartnersApiFp;
|
|
@@ -748,18 +436,6 @@ var ClaimPartnersApiFactory = function (configuration, basePath, axios) {
|
|
|
748
436
|
createClaimPartner: function (claimCode, createClaimPartnerRequestDto, authorization, options) {
|
|
749
437
|
return localVarFp.createClaimPartner(claimCode, createClaimPartnerRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
750
438
|
},
|
|
751
|
-
/**
|
|
752
|
-
* This will create a claim partner. **Required Permissions** \"claim-management.partners.create\"
|
|
753
|
-
* @summary Create the claim partner
|
|
754
|
-
* @param {string} claimCode Unique identifier for the claim object.
|
|
755
|
-
* @param {CreateClaimPartnerRequestDto} createClaimPartnerRequestDto
|
|
756
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
757
|
-
* @param {*} [options] Override http request option.
|
|
758
|
-
* @throws {RequiredError}
|
|
759
|
-
*/
|
|
760
|
-
createClaimPartner1: function (claimCode, createClaimPartnerRequestDto, authorization, options) {
|
|
761
|
-
return localVarFp.createClaimPartner1(claimCode, createClaimPartnerRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
762
|
-
},
|
|
763
439
|
/**
|
|
764
440
|
* Permanently deletes the claim partner. Supply the unique id that was returned when you created the claim partner and this will delete it. **Required Permissions** \"claim-management.partners.delete\"
|
|
765
441
|
* @summary Delete the claim partner
|
|
@@ -771,17 +447,6 @@ var ClaimPartnersApiFactory = function (configuration, basePath, axios) {
|
|
|
771
447
|
deleteClaimPartner: function (id, authorization, options) {
|
|
772
448
|
return localVarFp.deleteClaimPartner(id, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
773
449
|
},
|
|
774
|
-
/**
|
|
775
|
-
* Permanently deletes the claim partner. Supply the unique id that was returned when you created the claim partner and this will delete it. **Required Permissions** \"claim-management.partners.delete\"
|
|
776
|
-
* @summary Delete the claim partner
|
|
777
|
-
* @param {number} id
|
|
778
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
779
|
-
* @param {*} [options] Override http request option.
|
|
780
|
-
* @throws {RequiredError}
|
|
781
|
-
*/
|
|
782
|
-
deleteClaimPartner1: function (id, authorization, options) {
|
|
783
|
-
return localVarFp.deleteClaimPartner1(id, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
784
|
-
},
|
|
785
450
|
/**
|
|
786
451
|
* Retrieves the details of the claim partner that was previously created. Supply the unique claim partner id that was returned when you created it and Emil Api will return the corresponding claim partner information. **Required Permissions** \"claim-management.partners.view\"
|
|
787
452
|
* @summary Retrieve the claim partner
|
|
@@ -793,17 +458,6 @@ var ClaimPartnersApiFactory = function (configuration, basePath, axios) {
|
|
|
793
458
|
getClaimPartner: function (id, authorization, options) {
|
|
794
459
|
return localVarFp.getClaimPartner(id, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
795
460
|
},
|
|
796
|
-
/**
|
|
797
|
-
* Retrieves the details of the claim partner that was previously created. Supply the unique claim partner id that was returned when you created it and Emil Api will return the corresponding claim partner information. **Required Permissions** \"claim-management.partners.view\"
|
|
798
|
-
* @summary Retrieve the claim partner
|
|
799
|
-
* @param {number} id
|
|
800
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
801
|
-
* @param {*} [options] Override http request option.
|
|
802
|
-
* @throws {RequiredError}
|
|
803
|
-
*/
|
|
804
|
-
getClaimPartner1: function (id, authorization, options) {
|
|
805
|
-
return localVarFp.getClaimPartner1(id, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
806
|
-
},
|
|
807
461
|
/**
|
|
808
462
|
* Returns a list of claim partners you have previously created. The claim partners are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.partners.view\"
|
|
809
463
|
* @summary List claim partners
|
|
@@ -821,23 +475,6 @@ var ClaimPartnersApiFactory = function (configuration, basePath, axios) {
|
|
|
821
475
|
listClaimPartners: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
822
476
|
return localVarFp.listClaimPartners(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
823
477
|
},
|
|
824
|
-
/**
|
|
825
|
-
* Returns a list of claim partners you have previously created. The claim partners are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.partners.view\"
|
|
826
|
-
* @summary List claim partners
|
|
827
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
828
|
-
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
829
|
-
* @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.
|
|
830
|
-
* @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: partnerCode, claimPartnerRoleCode, claimCode</i>
|
|
831
|
-
* @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: partnerCode, claimPartnerRoleCode, claimCode</i>
|
|
832
|
-
* @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, createdAt, updatedAt</i>
|
|
833
|
-
* @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: role, partner<i>
|
|
834
|
-
* @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: partnerCode, claimPartnerRoleCode, claimCode</i>
|
|
835
|
-
* @param {*} [options] Override http request option.
|
|
836
|
-
* @throws {RequiredError}
|
|
837
|
-
*/
|
|
838
|
-
listClaimPartners1: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
839
|
-
return localVarFp.listClaimPartners1(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
840
|
-
},
|
|
841
478
|
};
|
|
842
479
|
};
|
|
843
480
|
exports.ClaimPartnersApiFactory = ClaimPartnersApiFactory;
|
|
@@ -864,18 +501,6 @@ var ClaimPartnersApi = /** @class */ (function (_super) {
|
|
|
864
501
|
var _this = this;
|
|
865
502
|
return (0, exports.ClaimPartnersApiFp)(this.configuration).createClaimPartner(requestParameters.claimCode, requestParameters.createClaimPartnerRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
866
503
|
};
|
|
867
|
-
/**
|
|
868
|
-
* This will create a claim partner. **Required Permissions** \"claim-management.partners.create\"
|
|
869
|
-
* @summary Create the claim partner
|
|
870
|
-
* @param {ClaimPartnersApiCreateClaimPartner1Request} requestParameters Request parameters.
|
|
871
|
-
* @param {*} [options] Override http request option.
|
|
872
|
-
* @throws {RequiredError}
|
|
873
|
-
* @memberof ClaimPartnersApi
|
|
874
|
-
*/
|
|
875
|
-
ClaimPartnersApi.prototype.createClaimPartner1 = function (requestParameters, options) {
|
|
876
|
-
var _this = this;
|
|
877
|
-
return (0, exports.ClaimPartnersApiFp)(this.configuration).createClaimPartner1(requestParameters.claimCode, requestParameters.createClaimPartnerRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
878
|
-
};
|
|
879
504
|
/**
|
|
880
505
|
* Permanently deletes the claim partner. Supply the unique id that was returned when you created the claim partner and this will delete it. **Required Permissions** \"claim-management.partners.delete\"
|
|
881
506
|
* @summary Delete the claim partner
|
|
@@ -888,18 +513,6 @@ var ClaimPartnersApi = /** @class */ (function (_super) {
|
|
|
888
513
|
var _this = this;
|
|
889
514
|
return (0, exports.ClaimPartnersApiFp)(this.configuration).deleteClaimPartner(requestParameters.id, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
890
515
|
};
|
|
891
|
-
/**
|
|
892
|
-
* Permanently deletes the claim partner. Supply the unique id that was returned when you created the claim partner and this will delete it. **Required Permissions** \"claim-management.partners.delete\"
|
|
893
|
-
* @summary Delete the claim partner
|
|
894
|
-
* @param {ClaimPartnersApiDeleteClaimPartner1Request} requestParameters Request parameters.
|
|
895
|
-
* @param {*} [options] Override http request option.
|
|
896
|
-
* @throws {RequiredError}
|
|
897
|
-
* @memberof ClaimPartnersApi
|
|
898
|
-
*/
|
|
899
|
-
ClaimPartnersApi.prototype.deleteClaimPartner1 = function (requestParameters, options) {
|
|
900
|
-
var _this = this;
|
|
901
|
-
return (0, exports.ClaimPartnersApiFp)(this.configuration).deleteClaimPartner1(requestParameters.id, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
902
|
-
};
|
|
903
516
|
/**
|
|
904
517
|
* Retrieves the details of the claim partner that was previously created. Supply the unique claim partner id that was returned when you created it and Emil Api will return the corresponding claim partner information. **Required Permissions** \"claim-management.partners.view\"
|
|
905
518
|
* @summary Retrieve the claim partner
|
|
@@ -912,18 +525,6 @@ var ClaimPartnersApi = /** @class */ (function (_super) {
|
|
|
912
525
|
var _this = this;
|
|
913
526
|
return (0, exports.ClaimPartnersApiFp)(this.configuration).getClaimPartner(requestParameters.id, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
914
527
|
};
|
|
915
|
-
/**
|
|
916
|
-
* Retrieves the details of the claim partner that was previously created. Supply the unique claim partner id that was returned when you created it and Emil Api will return the corresponding claim partner information. **Required Permissions** \"claim-management.partners.view\"
|
|
917
|
-
* @summary Retrieve the claim partner
|
|
918
|
-
* @param {ClaimPartnersApiGetClaimPartner1Request} requestParameters Request parameters.
|
|
919
|
-
* @param {*} [options] Override http request option.
|
|
920
|
-
* @throws {RequiredError}
|
|
921
|
-
* @memberof ClaimPartnersApi
|
|
922
|
-
*/
|
|
923
|
-
ClaimPartnersApi.prototype.getClaimPartner1 = function (requestParameters, options) {
|
|
924
|
-
var _this = this;
|
|
925
|
-
return (0, exports.ClaimPartnersApiFp)(this.configuration).getClaimPartner1(requestParameters.id, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
926
|
-
};
|
|
927
528
|
/**
|
|
928
529
|
* Returns a list of claim partners you have previously created. The claim partners are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.partners.view\"
|
|
929
530
|
* @summary List claim partners
|
|
@@ -937,19 +538,6 @@ var ClaimPartnersApi = /** @class */ (function (_super) {
|
|
|
937
538
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
938
539
|
return (0, exports.ClaimPartnersApiFp)(this.configuration).listClaimPartners(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); });
|
|
939
540
|
};
|
|
940
|
-
/**
|
|
941
|
-
* Returns a list of claim partners you have previously created. The claim partners are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.partners.view\"
|
|
942
|
-
* @summary List claim partners
|
|
943
|
-
* @param {ClaimPartnersApiListClaimPartners1Request} requestParameters Request parameters.
|
|
944
|
-
* @param {*} [options] Override http request option.
|
|
945
|
-
* @throws {RequiredError}
|
|
946
|
-
* @memberof ClaimPartnersApi
|
|
947
|
-
*/
|
|
948
|
-
ClaimPartnersApi.prototype.listClaimPartners1 = function (requestParameters, options) {
|
|
949
|
-
var _this = this;
|
|
950
|
-
if (requestParameters === void 0) { requestParameters = {}; }
|
|
951
|
-
return (0, exports.ClaimPartnersApiFp)(this.configuration).listClaimPartners1(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); });
|
|
952
|
-
};
|
|
953
541
|
return ClaimPartnersApi;
|
|
954
542
|
}(base_1.BaseAPI));
|
|
955
543
|
exports.ClaimPartnersApi = ClaimPartnersApi;
|