@emilgroup/claim-sdk 1.17.2-beta.0 → 1.17.2-beta.2
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 +10 -0
- package/README.md +2 -2
- package/api/claim-partner-roles-api.ts +41 -41
- package/api/claim-partners-api.ts +55 -55
- package/api/claim-regulations-api.ts +364 -0
- package/api/claim-statuses-api.ts +39 -39
- package/api/claims-api.ts +37 -37
- package/api/settlements-api.ts +39 -39
- package/api.ts +2 -0
- package/base.ts +5 -1
- package/dist/api/claim-partner-roles-api.d.ts +41 -41
- package/dist/api/claim-partner-roles-api.js +23 -23
- package/dist/api/claim-partners-api.d.ts +51 -51
- package/dist/api/claim-partners-api.js +32 -32
- package/dist/api/claim-regulations-api.d.ts +215 -0
- package/dist/api/claim-regulations-api.js +358 -0
- package/dist/api/claim-statuses-api.d.ts +39 -39
- package/dist/api/claim-statuses-api.js +23 -23
- package/dist/api/claims-api.d.ts +37 -37
- package/dist/api/claims-api.js +19 -19
- package/dist/api/settlements-api.d.ts +39 -39
- package/dist/api/settlements-api.js +23 -23
- package/dist/api.d.ts +1 -0
- package/dist/api.js +1 -0
- package/dist/base.d.ts +1 -0
- package/dist/base.js +4 -1
- package/dist/models/create-regulation-item-request-dto.d.ts +75 -0
- package/dist/models/create-regulation-item-request-dto.js +21 -0
- package/dist/models/index.d.ts +9 -0
- package/dist/models/index.js +9 -0
- package/dist/models/payout-details-class.d.ts +90 -0
- package/dist/models/payout-details-class.js +26 -0
- package/dist/models/payout-details-dto.d.ts +60 -0
- package/dist/models/payout-details-dto.js +26 -0
- package/dist/models/regress-details-class.d.ts +81 -0
- package/dist/models/regress-details-class.js +29 -0
- package/dist/models/regress-details-dto.d.ts +51 -0
- package/dist/models/regress-details-dto.js +29 -0
- package/dist/models/regulation-item-class.d.ts +125 -0
- package/dist/models/regulation-item-class.js +34 -0
- package/dist/models/regulation-item-response-class.d.ts +25 -0
- package/dist/models/regulation-item-response-class.js +15 -0
- package/dist/models/reserve-details-class.d.ts +59 -0
- package/dist/models/reserve-details-class.js +20 -0
- package/dist/models/reserve-details-dto.d.ts +29 -0
- package/dist/models/reserve-details-dto.js +20 -0
- package/models/create-regulation-item-request-dto.ts +84 -0
- package/models/index.ts +9 -0
- package/models/payout-details-class.ts +100 -0
- package/models/payout-details-dto.ts +70 -0
- package/models/regress-details-class.ts +91 -0
- package/models/regress-details-dto.ts +61 -0
- package/models/regulation-item-class.ts +135 -0
- package/models/regulation-item-response-class.ts +31 -0
- package/models/reserve-details-class.ts +68 -0
- package/models/reserve-details-dto.ts +38 -0
- package/package.json +1 -1
|
@@ -194,14 +194,14 @@ var ClaimPartnersApiAxiosParamCreator = function (configuration) {
|
|
|
194
194
|
});
|
|
195
195
|
},
|
|
196
196
|
/**
|
|
197
|
-
* Retrieves the details of the claim partner that was previously created.
|
|
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.
|
|
198
198
|
* @summary Retrieve the claim partner
|
|
199
199
|
* @param {number} id
|
|
200
200
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
201
201
|
* @param {*} [options] Override http request option.
|
|
202
202
|
* @throws {RequiredError}
|
|
203
203
|
*/
|
|
204
|
-
|
|
204
|
+
getClaimPartner: function (id, authorization, options) {
|
|
205
205
|
if (options === void 0) { options = {}; }
|
|
206
206
|
return __awaiter(_this, void 0, void 0, function () {
|
|
207
207
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -209,7 +209,7 @@ var ClaimPartnersApiAxiosParamCreator = function (configuration) {
|
|
|
209
209
|
switch (_a.label) {
|
|
210
210
|
case 0:
|
|
211
211
|
// verify required parameter 'id' is not null or undefined
|
|
212
|
-
(0, common_1.assertParamExists)('
|
|
212
|
+
(0, common_1.assertParamExists)('getClaimPartner', 'id', id);
|
|
213
213
|
localVarPath = "/v1/claim-partners/{id}"
|
|
214
214
|
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
215
215
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -242,16 +242,16 @@ var ClaimPartnersApiAxiosParamCreator = function (configuration) {
|
|
|
242
242
|
});
|
|
243
243
|
},
|
|
244
244
|
/**
|
|
245
|
-
* Returns a list of claim partners you have previously created.
|
|
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.
|
|
246
246
|
* @summary List claim partners
|
|
247
247
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
248
248
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
249
249
|
* @param {any} [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.
|
|
250
|
-
* @param {
|
|
251
|
-
* @param {
|
|
252
|
-
* @param {
|
|
253
|
-
* @param {
|
|
254
|
-
* @param {
|
|
250
|
+
* @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>
|
|
251
|
+
* @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>
|
|
252
|
+
* @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>
|
|
253
|
+
* @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>
|
|
254
|
+
* @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>
|
|
255
255
|
* @param {*} [options] Override http request option.
|
|
256
256
|
* @throws {RequiredError}
|
|
257
257
|
*/
|
|
@@ -367,19 +367,19 @@ var ClaimPartnersApiFp = function (configuration) {
|
|
|
367
367
|
});
|
|
368
368
|
},
|
|
369
369
|
/**
|
|
370
|
-
* Retrieves the details of the claim partner that was previously created.
|
|
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.
|
|
371
371
|
* @summary Retrieve the claim partner
|
|
372
372
|
* @param {number} id
|
|
373
373
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
374
374
|
* @param {*} [options] Override http request option.
|
|
375
375
|
* @throws {RequiredError}
|
|
376
376
|
*/
|
|
377
|
-
|
|
377
|
+
getClaimPartner: function (id, authorization, options) {
|
|
378
378
|
return __awaiter(this, void 0, void 0, function () {
|
|
379
379
|
var localVarAxiosArgs;
|
|
380
380
|
return __generator(this, function (_a) {
|
|
381
381
|
switch (_a.label) {
|
|
382
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
382
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getClaimPartner(id, authorization, options)];
|
|
383
383
|
case 1:
|
|
384
384
|
localVarAxiosArgs = _a.sent();
|
|
385
385
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -388,16 +388,16 @@ var ClaimPartnersApiFp = function (configuration) {
|
|
|
388
388
|
});
|
|
389
389
|
},
|
|
390
390
|
/**
|
|
391
|
-
* Returns a list of claim partners you have previously created.
|
|
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.
|
|
392
392
|
* @summary List claim partners
|
|
393
393
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
394
394
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
395
395
|
* @param {any} [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.
|
|
396
|
-
* @param {
|
|
397
|
-
* @param {
|
|
398
|
-
* @param {
|
|
399
|
-
* @param {
|
|
400
|
-
* @param {
|
|
396
|
+
* @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>
|
|
397
|
+
* @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>
|
|
398
|
+
* @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>
|
|
399
|
+
* @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>
|
|
400
|
+
* @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>
|
|
401
401
|
* @param {*} [options] Override http request option.
|
|
402
402
|
* @throws {RequiredError}
|
|
403
403
|
*/
|
|
@@ -448,27 +448,27 @@ var ClaimPartnersApiFactory = function (configuration, basePath, axios) {
|
|
|
448
448
|
return localVarFp.deleteClaimPartner(id, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
449
449
|
},
|
|
450
450
|
/**
|
|
451
|
-
* Retrieves the details of the claim partner that was previously created.
|
|
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.
|
|
452
452
|
* @summary Retrieve the claim partner
|
|
453
453
|
* @param {number} id
|
|
454
454
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
455
455
|
* @param {*} [options] Override http request option.
|
|
456
456
|
* @throws {RequiredError}
|
|
457
457
|
*/
|
|
458
|
-
|
|
459
|
-
return localVarFp.
|
|
458
|
+
getClaimPartner: function (id, authorization, options) {
|
|
459
|
+
return localVarFp.getClaimPartner(id, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
460
460
|
},
|
|
461
461
|
/**
|
|
462
|
-
* Returns a list of claim partners you have previously created.
|
|
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.
|
|
463
463
|
* @summary List claim partners
|
|
464
464
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
465
465
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
466
466
|
* @param {any} [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.
|
|
467
|
-
* @param {
|
|
468
|
-
* @param {
|
|
469
|
-
* @param {
|
|
470
|
-
* @param {
|
|
471
|
-
* @param {
|
|
467
|
+
* @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>
|
|
468
|
+
* @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>
|
|
469
|
+
* @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>
|
|
470
|
+
* @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>
|
|
471
|
+
* @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>
|
|
472
472
|
* @param {*} [options] Override http request option.
|
|
473
473
|
* @throws {RequiredError}
|
|
474
474
|
*/
|
|
@@ -514,19 +514,19 @@ var ClaimPartnersApi = /** @class */ (function (_super) {
|
|
|
514
514
|
return (0, exports.ClaimPartnersApiFp)(this.configuration).deleteClaimPartner(requestParameters.id, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
515
515
|
};
|
|
516
516
|
/**
|
|
517
|
-
* Retrieves the details of the claim partner that was previously created.
|
|
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.
|
|
518
518
|
* @summary Retrieve the claim partner
|
|
519
|
-
* @param {
|
|
519
|
+
* @param {ClaimPartnersApiGetClaimPartnerRequest} requestParameters Request parameters.
|
|
520
520
|
* @param {*} [options] Override http request option.
|
|
521
521
|
* @throws {RequiredError}
|
|
522
522
|
* @memberof ClaimPartnersApi
|
|
523
523
|
*/
|
|
524
|
-
ClaimPartnersApi.prototype.
|
|
524
|
+
ClaimPartnersApi.prototype.getClaimPartner = function (requestParameters, options) {
|
|
525
525
|
var _this = this;
|
|
526
|
-
return (0, exports.ClaimPartnersApiFp)(this.configuration).
|
|
526
|
+
return (0, exports.ClaimPartnersApiFp)(this.configuration).getClaimPartner(requestParameters.id, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
527
527
|
};
|
|
528
528
|
/**
|
|
529
|
-
* Returns a list of claim partners you have previously created.
|
|
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.
|
|
530
530
|
* @summary List claim partners
|
|
531
531
|
* @param {ClaimPartnersApiListClaimPartnersRequest} requestParameters Request parameters.
|
|
532
532
|
* @param {*} [options] Override http request option.
|
|
@@ -0,0 +1,215 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL ClaimService
|
|
3
|
+
* The EMIL ClaimService API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
13
|
+
import { Configuration } from '../configuration';
|
|
14
|
+
import { RequestArgs, BaseAPI } from '../base';
|
|
15
|
+
import { CreateRegulationItemRequestDto } from '../models';
|
|
16
|
+
import { RegulationItemResponseClass } from '../models';
|
|
17
|
+
/**
|
|
18
|
+
* ClaimRegulationsApi - axios parameter creator
|
|
19
|
+
* @export
|
|
20
|
+
*/
|
|
21
|
+
export declare const ClaimRegulationsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
22
|
+
/**
|
|
23
|
+
* This endpoint will create a new regulation item for a claim
|
|
24
|
+
* @summary Create the claim regulation item
|
|
25
|
+
* @param {CreateRegulationItemRequestDto} createRegulationItemRequestDto
|
|
26
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
27
|
+
* @param {*} [options] Override http request option.
|
|
28
|
+
* @throws {RequiredError}
|
|
29
|
+
*/
|
|
30
|
+
createClaimRegulation: (createRegulationItemRequestDto: CreateRegulationItemRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
31
|
+
/**
|
|
32
|
+
* Retrieves the details of the claim regulation item that was previously created. Supply the unique claim regulation item code that was returned when you created it and Emil Api will return the corresponding claim regulation item information.
|
|
33
|
+
* @summary Retrieve the claim regulation item
|
|
34
|
+
* @param {string} code
|
|
35
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
36
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
37
|
+
* @param {any} [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.
|
|
38
|
+
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
39
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
40
|
+
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
41
|
+
* @param {'partners'} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
42
|
+
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
43
|
+
* @param {*} [options] Override http request option.
|
|
44
|
+
* @throws {RequiredError}
|
|
45
|
+
*/
|
|
46
|
+
getClaimRegulation: (code: string, authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: 'partners', filters?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
47
|
+
};
|
|
48
|
+
/**
|
|
49
|
+
* ClaimRegulationsApi - functional programming interface
|
|
50
|
+
* @export
|
|
51
|
+
*/
|
|
52
|
+
export declare const ClaimRegulationsApiFp: (configuration?: Configuration) => {
|
|
53
|
+
/**
|
|
54
|
+
* This endpoint will create a new regulation item for a claim
|
|
55
|
+
* @summary Create the claim regulation item
|
|
56
|
+
* @param {CreateRegulationItemRequestDto} createRegulationItemRequestDto
|
|
57
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
58
|
+
* @param {*} [options] Override http request option.
|
|
59
|
+
* @throws {RequiredError}
|
|
60
|
+
*/
|
|
61
|
+
createClaimRegulation(createRegulationItemRequestDto: CreateRegulationItemRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegulationItemResponseClass>>;
|
|
62
|
+
/**
|
|
63
|
+
* Retrieves the details of the claim regulation item that was previously created. Supply the unique claim regulation item code that was returned when you created it and Emil Api will return the corresponding claim regulation item information.
|
|
64
|
+
* @summary Retrieve the claim regulation item
|
|
65
|
+
* @param {string} code
|
|
66
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
67
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
68
|
+
* @param {any} [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.
|
|
69
|
+
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
70
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
71
|
+
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
72
|
+
* @param {'partners'} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
73
|
+
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
74
|
+
* @param {*} [options] Override http request option.
|
|
75
|
+
* @throws {RequiredError}
|
|
76
|
+
*/
|
|
77
|
+
getClaimRegulation(code: string, authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: 'partners', filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegulationItemResponseClass>>;
|
|
78
|
+
};
|
|
79
|
+
/**
|
|
80
|
+
* ClaimRegulationsApi - factory interface
|
|
81
|
+
* @export
|
|
82
|
+
*/
|
|
83
|
+
export declare const ClaimRegulationsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
84
|
+
/**
|
|
85
|
+
* This endpoint will create a new regulation item for a claim
|
|
86
|
+
* @summary Create the claim regulation item
|
|
87
|
+
* @param {CreateRegulationItemRequestDto} createRegulationItemRequestDto
|
|
88
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
89
|
+
* @param {*} [options] Override http request option.
|
|
90
|
+
* @throws {RequiredError}
|
|
91
|
+
*/
|
|
92
|
+
createClaimRegulation(createRegulationItemRequestDto: CreateRegulationItemRequestDto, authorization?: string, options?: any): AxiosPromise<RegulationItemResponseClass>;
|
|
93
|
+
/**
|
|
94
|
+
* Retrieves the details of the claim regulation item that was previously created. Supply the unique claim regulation item code that was returned when you created it and Emil Api will return the corresponding claim regulation item information.
|
|
95
|
+
* @summary Retrieve the claim regulation item
|
|
96
|
+
* @param {string} code
|
|
97
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
98
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
99
|
+
* @param {any} [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.
|
|
100
|
+
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
101
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
102
|
+
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
103
|
+
* @param {'partners'} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
104
|
+
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
105
|
+
* @param {*} [options] Override http request option.
|
|
106
|
+
* @throws {RequiredError}
|
|
107
|
+
*/
|
|
108
|
+
getClaimRegulation(code: string, authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: 'partners', filters?: any, options?: any): AxiosPromise<RegulationItemResponseClass>;
|
|
109
|
+
};
|
|
110
|
+
/**
|
|
111
|
+
* Request parameters for createClaimRegulation operation in ClaimRegulationsApi.
|
|
112
|
+
* @export
|
|
113
|
+
* @interface ClaimRegulationsApiCreateClaimRegulationRequest
|
|
114
|
+
*/
|
|
115
|
+
export interface ClaimRegulationsApiCreateClaimRegulationRequest {
|
|
116
|
+
/**
|
|
117
|
+
*
|
|
118
|
+
* @type {CreateRegulationItemRequestDto}
|
|
119
|
+
* @memberof ClaimRegulationsApiCreateClaimRegulation
|
|
120
|
+
*/
|
|
121
|
+
readonly createRegulationItemRequestDto: CreateRegulationItemRequestDto;
|
|
122
|
+
/**
|
|
123
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
124
|
+
* @type {string}
|
|
125
|
+
* @memberof ClaimRegulationsApiCreateClaimRegulation
|
|
126
|
+
*/
|
|
127
|
+
readonly authorization?: string;
|
|
128
|
+
}
|
|
129
|
+
/**
|
|
130
|
+
* Request parameters for getClaimRegulation operation in ClaimRegulationsApi.
|
|
131
|
+
* @export
|
|
132
|
+
* @interface ClaimRegulationsApiGetClaimRegulationRequest
|
|
133
|
+
*/
|
|
134
|
+
export interface ClaimRegulationsApiGetClaimRegulationRequest {
|
|
135
|
+
/**
|
|
136
|
+
*
|
|
137
|
+
* @type {string}
|
|
138
|
+
* @memberof ClaimRegulationsApiGetClaimRegulation
|
|
139
|
+
*/
|
|
140
|
+
readonly code: string;
|
|
141
|
+
/**
|
|
142
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
143
|
+
* @type {string}
|
|
144
|
+
* @memberof ClaimRegulationsApiGetClaimRegulation
|
|
145
|
+
*/
|
|
146
|
+
readonly authorization?: string;
|
|
147
|
+
/**
|
|
148
|
+
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
149
|
+
* @type {any}
|
|
150
|
+
* @memberof ClaimRegulationsApiGetClaimRegulation
|
|
151
|
+
*/
|
|
152
|
+
readonly pageSize?: any;
|
|
153
|
+
/**
|
|
154
|
+
* 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.
|
|
155
|
+
* @type {any}
|
|
156
|
+
* @memberof ClaimRegulationsApiGetClaimRegulation
|
|
157
|
+
*/
|
|
158
|
+
readonly pageToken?: any;
|
|
159
|
+
/**
|
|
160
|
+
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
161
|
+
* @type {any}
|
|
162
|
+
* @memberof ClaimRegulationsApiGetClaimRegulation
|
|
163
|
+
*/
|
|
164
|
+
readonly filter?: any;
|
|
165
|
+
/**
|
|
166
|
+
* To search the list by any field, pass search=xxx to fetch the result.
|
|
167
|
+
* @type {any}
|
|
168
|
+
* @memberof ClaimRegulationsApiGetClaimRegulation
|
|
169
|
+
*/
|
|
170
|
+
readonly search?: any;
|
|
171
|
+
/**
|
|
172
|
+
* The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
173
|
+
* @type {any}
|
|
174
|
+
* @memberof ClaimRegulationsApiGetClaimRegulation
|
|
175
|
+
*/
|
|
176
|
+
readonly order?: any;
|
|
177
|
+
/**
|
|
178
|
+
* Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
179
|
+
* @type {'partners'}
|
|
180
|
+
* @memberof ClaimRegulationsApiGetClaimRegulation
|
|
181
|
+
*/
|
|
182
|
+
readonly expand?: 'partners';
|
|
183
|
+
/**
|
|
184
|
+
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
185
|
+
* @type {any}
|
|
186
|
+
* @memberof ClaimRegulationsApiGetClaimRegulation
|
|
187
|
+
*/
|
|
188
|
+
readonly filters?: any;
|
|
189
|
+
}
|
|
190
|
+
/**
|
|
191
|
+
* ClaimRegulationsApi - object-oriented interface
|
|
192
|
+
* @export
|
|
193
|
+
* @class ClaimRegulationsApi
|
|
194
|
+
* @extends {BaseAPI}
|
|
195
|
+
*/
|
|
196
|
+
export declare class ClaimRegulationsApi extends BaseAPI {
|
|
197
|
+
/**
|
|
198
|
+
* This endpoint will create a new regulation item for a claim
|
|
199
|
+
* @summary Create the claim regulation item
|
|
200
|
+
* @param {ClaimRegulationsApiCreateClaimRegulationRequest} requestParameters Request parameters.
|
|
201
|
+
* @param {*} [options] Override http request option.
|
|
202
|
+
* @throws {RequiredError}
|
|
203
|
+
* @memberof ClaimRegulationsApi
|
|
204
|
+
*/
|
|
205
|
+
createClaimRegulation(requestParameters: ClaimRegulationsApiCreateClaimRegulationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<RegulationItemResponseClass, any>>;
|
|
206
|
+
/**
|
|
207
|
+
* Retrieves the details of the claim regulation item that was previously created. Supply the unique claim regulation item code that was returned when you created it and Emil Api will return the corresponding claim regulation item information.
|
|
208
|
+
* @summary Retrieve the claim regulation item
|
|
209
|
+
* @param {ClaimRegulationsApiGetClaimRegulationRequest} requestParameters Request parameters.
|
|
210
|
+
* @param {*} [options] Override http request option.
|
|
211
|
+
* @throws {RequiredError}
|
|
212
|
+
* @memberof ClaimRegulationsApi
|
|
213
|
+
*/
|
|
214
|
+
getClaimRegulation(requestParameters: ClaimRegulationsApiGetClaimRegulationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<RegulationItemResponseClass, any>>;
|
|
215
|
+
}
|