@emilgroup/claim-sdk-node 1.17.1 → 1.17.2-beta.3
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/README.md +2 -2
- package/api/claim-partner-roles-api.ts +41 -41
- package/api/claim-partners-api.ts +55 -55
- package/api/claim-statuses-api.ts +33 -33
- package/api/claims-api.ts +37 -37
- package/api/settlements-api.ts +39 -39
- 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-statuses-api.d.ts +33 -33
- package/dist/api/claim-statuses-api.js +20 -20
- 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/package.json +1 -1
package/README.md
CHANGED
|
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
|
|
|
17
17
|
Navigate to the folder of your consuming project and run one of the following commands:
|
|
18
18
|
|
|
19
19
|
```
|
|
20
|
-
npm install @emilgroup/claim-sdk-node@1.17.
|
|
20
|
+
npm install @emilgroup/claim-sdk-node@1.17.2-beta.3 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/claim-sdk-node@1.17.
|
|
24
|
+
yarn add @emilgroup/claim-sdk-node@1.17.2-beta.3
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `ClaimsApi`.
|
|
@@ -135,7 +135,7 @@ export const ClaimPartnerRolesApiAxiosParamCreator = function (configuration?: C
|
|
|
135
135
|
};
|
|
136
136
|
},
|
|
137
137
|
/**
|
|
138
|
-
* Retrieves the details of the claim partner role that was previously created. Supply the unique claim partner role code
|
|
138
|
+
* Retrieves the details of the claim partner role that was previously created. Supply the unique claim partner role code that was returned when you created it and Emil Api will return the corresponding claim partner role information.
|
|
139
139
|
* @summary Retrieve the claim partner role
|
|
140
140
|
* @param {string} code Unique identifier for the object.
|
|
141
141
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -180,20 +180,20 @@ export const ClaimPartnerRolesApiAxiosParamCreator = function (configuration?: C
|
|
|
180
180
|
};
|
|
181
181
|
},
|
|
182
182
|
/**
|
|
183
|
-
* Returns a list of claim partner roles you have previously created.
|
|
183
|
+
* Returns a list of claim partner roles you have previously created. The claim partner roles are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
184
184
|
* @summary List claim partner roles
|
|
185
185
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
186
186
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
187
187
|
* @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.
|
|
188
|
-
* @param {
|
|
189
|
-
* @param {
|
|
190
|
-
* @param {
|
|
191
|
-
* @param {
|
|
192
|
-
* @param {
|
|
188
|
+
* @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: name, productSlug</i>
|
|
189
|
+
* @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: name, productSlug</i>
|
|
190
|
+
* @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, name, productSlug, createdAt, updatedAt</i>
|
|
191
|
+
* @param {any} [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.
|
|
192
|
+
* @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: name, productSlug</i>
|
|
193
193
|
* @param {*} [options] Override http request option.
|
|
194
194
|
* @throws {RequiredError}
|
|
195
195
|
*/
|
|
196
|
-
listClaimPartnerRole: async (authorization?: string, pageSize?: any, pageToken?: any, filter?:
|
|
196
|
+
listClaimPartnerRole: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: string, order?: string, expand?: any, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
197
197
|
const localVarPath = `/v1/claim-partner-roles`;
|
|
198
198
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
199
199
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -341,7 +341,7 @@ export const ClaimPartnerRolesApiFp = function(configuration?: Configuration) {
|
|
|
341
341
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
342
342
|
},
|
|
343
343
|
/**
|
|
344
|
-
* Retrieves the details of the claim partner role that was previously created. Supply the unique claim partner role code
|
|
344
|
+
* Retrieves the details of the claim partner role that was previously created. Supply the unique claim partner role code that was returned when you created it and Emil Api will return the corresponding claim partner role information.
|
|
345
345
|
* @summary Retrieve the claim partner role
|
|
346
346
|
* @param {string} code Unique identifier for the object.
|
|
347
347
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -353,20 +353,20 @@ export const ClaimPartnerRolesApiFp = function(configuration?: Configuration) {
|
|
|
353
353
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
354
354
|
},
|
|
355
355
|
/**
|
|
356
|
-
* Returns a list of claim partner roles you have previously created.
|
|
356
|
+
* Returns a list of claim partner roles you have previously created. The claim partner roles are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
357
357
|
* @summary List claim partner roles
|
|
358
358
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
359
359
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
360
360
|
* @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.
|
|
361
|
-
* @param {
|
|
362
|
-
* @param {
|
|
363
|
-
* @param {
|
|
364
|
-
* @param {
|
|
365
|
-
* @param {
|
|
361
|
+
* @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: name, productSlug</i>
|
|
362
|
+
* @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: name, productSlug</i>
|
|
363
|
+
* @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, name, productSlug, createdAt, updatedAt</i>
|
|
364
|
+
* @param {any} [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.
|
|
365
|
+
* @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: name, productSlug</i>
|
|
366
366
|
* @param {*} [options] Override http request option.
|
|
367
367
|
* @throws {RequiredError}
|
|
368
368
|
*/
|
|
369
|
-
async listClaimPartnerRole(authorization?: string, pageSize?: any, pageToken?: any, filter?:
|
|
369
|
+
async listClaimPartnerRole(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: string, order?: string, expand?: any, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListClaimPartnerRolesResponseClass>> {
|
|
370
370
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listClaimPartnerRole(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
371
371
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
372
372
|
},
|
|
@@ -416,7 +416,7 @@ export const ClaimPartnerRolesApiFactory = function (configuration?: Configurati
|
|
|
416
416
|
return localVarFp.deleteClaimPartnerRole(code, authorization, options).then((request) => request(axios, basePath));
|
|
417
417
|
},
|
|
418
418
|
/**
|
|
419
|
-
* Retrieves the details of the claim partner role that was previously created. Supply the unique claim partner role code
|
|
419
|
+
* Retrieves the details of the claim partner role that was previously created. Supply the unique claim partner role code that was returned when you created it and Emil Api will return the corresponding claim partner role information.
|
|
420
420
|
* @summary Retrieve the claim partner role
|
|
421
421
|
* @param {string} code Unique identifier for the object.
|
|
422
422
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -427,20 +427,20 @@ export const ClaimPartnerRolesApiFactory = function (configuration?: Configurati
|
|
|
427
427
|
return localVarFp.getClaimPartnerRole(code, authorization, options).then((request) => request(axios, basePath));
|
|
428
428
|
},
|
|
429
429
|
/**
|
|
430
|
-
* Returns a list of claim partner roles you have previously created.
|
|
430
|
+
* Returns a list of claim partner roles you have previously created. The claim partner roles are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
431
431
|
* @summary List claim partner roles
|
|
432
432
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
433
433
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
434
434
|
* @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.
|
|
435
|
-
* @param {
|
|
436
|
-
* @param {
|
|
437
|
-
* @param {
|
|
438
|
-
* @param {
|
|
439
|
-
* @param {
|
|
435
|
+
* @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: name, productSlug</i>
|
|
436
|
+
* @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: name, productSlug</i>
|
|
437
|
+
* @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, name, productSlug, createdAt, updatedAt</i>
|
|
438
|
+
* @param {any} [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.
|
|
439
|
+
* @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: name, productSlug</i>
|
|
440
440
|
* @param {*} [options] Override http request option.
|
|
441
441
|
* @throws {RequiredError}
|
|
442
442
|
*/
|
|
443
|
-
listClaimPartnerRole(authorization?: string, pageSize?: any, pageToken?: any, filter?:
|
|
443
|
+
listClaimPartnerRole(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: string, order?: string, expand?: any, filters?: string, options?: any): AxiosPromise<ListClaimPartnerRolesResponseClass> {
|
|
444
444
|
return localVarFp.listClaimPartnerRole(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
445
445
|
},
|
|
446
446
|
/**
|
|
@@ -549,39 +549,39 @@ export interface ClaimPartnerRolesApiListClaimPartnerRoleRequest {
|
|
|
549
549
|
readonly pageToken?: any
|
|
550
550
|
|
|
551
551
|
/**
|
|
552
|
-
* Filter the response by one or multiple fields.
|
|
553
|
-
* @type {
|
|
552
|
+
* 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: name, productSlug</i>
|
|
553
|
+
* @type {string}
|
|
554
554
|
* @memberof ClaimPartnerRolesApiListClaimPartnerRole
|
|
555
555
|
*/
|
|
556
|
-
readonly filter?:
|
|
556
|
+
readonly filter?: string
|
|
557
557
|
|
|
558
558
|
/**
|
|
559
|
-
* Search the
|
|
560
|
-
* @type {
|
|
559
|
+
* Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: name, productSlug</i>
|
|
560
|
+
* @type {string}
|
|
561
561
|
* @memberof ClaimPartnerRolesApiListClaimPartnerRole
|
|
562
562
|
*/
|
|
563
|
-
readonly search?:
|
|
563
|
+
readonly search?: string
|
|
564
564
|
|
|
565
565
|
/**
|
|
566
|
-
*
|
|
567
|
-
* @type {
|
|
566
|
+
* 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, name, productSlug, createdAt, updatedAt</i>
|
|
567
|
+
* @type {string}
|
|
568
568
|
* @memberof ClaimPartnerRolesApiListClaimPartnerRole
|
|
569
569
|
*/
|
|
570
|
-
readonly order?:
|
|
570
|
+
readonly order?: string
|
|
571
571
|
|
|
572
572
|
/**
|
|
573
|
-
*
|
|
574
|
-
* @type {
|
|
573
|
+
* 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.
|
|
574
|
+
* @type {any}
|
|
575
575
|
* @memberof ClaimPartnerRolesApiListClaimPartnerRole
|
|
576
576
|
*/
|
|
577
|
-
readonly expand?:
|
|
577
|
+
readonly expand?: any
|
|
578
578
|
|
|
579
579
|
/**
|
|
580
|
-
* Filters the response by one or multiple fields.
|
|
581
|
-
* @type {
|
|
580
|
+
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: name, productSlug</i>
|
|
581
|
+
* @type {string}
|
|
582
582
|
* @memberof ClaimPartnerRolesApiListClaimPartnerRole
|
|
583
583
|
*/
|
|
584
|
-
readonly filters?:
|
|
584
|
+
readonly filters?: string
|
|
585
585
|
}
|
|
586
586
|
|
|
587
587
|
/**
|
|
@@ -644,7 +644,7 @@ export class ClaimPartnerRolesApi extends BaseAPI {
|
|
|
644
644
|
}
|
|
645
645
|
|
|
646
646
|
/**
|
|
647
|
-
* Retrieves the details of the claim partner role that was previously created. Supply the unique claim partner role code
|
|
647
|
+
* Retrieves the details of the claim partner role that was previously created. Supply the unique claim partner role code that was returned when you created it and Emil Api will return the corresponding claim partner role information.
|
|
648
648
|
* @summary Retrieve the claim partner role
|
|
649
649
|
* @param {ClaimPartnerRolesApiGetClaimPartnerRoleRequest} requestParameters Request parameters.
|
|
650
650
|
* @param {*} [options] Override http request option.
|
|
@@ -656,7 +656,7 @@ export class ClaimPartnerRolesApi extends BaseAPI {
|
|
|
656
656
|
}
|
|
657
657
|
|
|
658
658
|
/**
|
|
659
|
-
* Returns a list of claim partner roles you have previously created.
|
|
659
|
+
* Returns a list of claim partner roles you have previously created. The claim partner roles are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
660
660
|
* @summary List claim partner roles
|
|
661
661
|
* @param {ClaimPartnerRolesApiListClaimPartnerRoleRequest} requestParameters Request parameters.
|
|
662
662
|
* @param {*} [options] Override http request option.
|
|
@@ -135,16 +135,16 @@ export const ClaimPartnersApiAxiosParamCreator = function (configuration?: Confi
|
|
|
135
135
|
};
|
|
136
136
|
},
|
|
137
137
|
/**
|
|
138
|
-
* Retrieves the details of the claim partner that was previously created.
|
|
138
|
+
* 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.
|
|
139
139
|
* @summary Retrieve the claim partner
|
|
140
140
|
* @param {number} id
|
|
141
141
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
142
142
|
* @param {*} [options] Override http request option.
|
|
143
143
|
* @throws {RequiredError}
|
|
144
144
|
*/
|
|
145
|
-
|
|
145
|
+
getClaimPartner: async (id: number, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
146
146
|
// verify required parameter 'id' is not null or undefined
|
|
147
|
-
assertParamExists('
|
|
147
|
+
assertParamExists('getClaimPartner', 'id', id)
|
|
148
148
|
const localVarPath = `/v1/claim-partners/{id}`
|
|
149
149
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
150
150
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -180,20 +180,20 @@ export const ClaimPartnersApiAxiosParamCreator = function (configuration?: Confi
|
|
|
180
180
|
};
|
|
181
181
|
},
|
|
182
182
|
/**
|
|
183
|
-
* Returns a list of claim partners you have previously created.
|
|
183
|
+
* 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.
|
|
184
184
|
* @summary List claim partners
|
|
185
185
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
186
186
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
187
187
|
* @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.
|
|
188
|
-
* @param {
|
|
189
|
-
* @param {
|
|
190
|
-
* @param {
|
|
191
|
-
* @param {
|
|
192
|
-
* @param {
|
|
188
|
+
* @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>
|
|
189
|
+
* @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>
|
|
190
|
+
* @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>
|
|
191
|
+
* @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>
|
|
192
|
+
* @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>
|
|
193
193
|
* @param {*} [options] Override http request option.
|
|
194
194
|
* @throws {RequiredError}
|
|
195
195
|
*/
|
|
196
|
-
listClaimPartners: async (authorization?: string, pageSize?: any, pageToken?: any, filter?:
|
|
196
|
+
listClaimPartners: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
197
197
|
const localVarPath = `/v1/claim-partners`;
|
|
198
198
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
199
199
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -291,32 +291,32 @@ export const ClaimPartnersApiFp = function(configuration?: Configuration) {
|
|
|
291
291
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
292
292
|
},
|
|
293
293
|
/**
|
|
294
|
-
* Retrieves the details of the claim partner that was previously created.
|
|
294
|
+
* 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.
|
|
295
295
|
* @summary Retrieve the claim partner
|
|
296
296
|
* @param {number} id
|
|
297
297
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
298
298
|
* @param {*} [options] Override http request option.
|
|
299
299
|
* @throws {RequiredError}
|
|
300
300
|
*/
|
|
301
|
-
async
|
|
302
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
301
|
+
async getClaimPartner(id: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetClaimPartnerResponseClass>> {
|
|
302
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getClaimPartner(id, authorization, options);
|
|
303
303
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
304
304
|
},
|
|
305
305
|
/**
|
|
306
|
-
* Returns a list of claim partners you have previously created.
|
|
306
|
+
* 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.
|
|
307
307
|
* @summary List claim partners
|
|
308
308
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
309
309
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
310
310
|
* @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.
|
|
311
|
-
* @param {
|
|
312
|
-
* @param {
|
|
313
|
-
* @param {
|
|
314
|
-
* @param {
|
|
315
|
-
* @param {
|
|
311
|
+
* @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>
|
|
312
|
+
* @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>
|
|
313
|
+
* @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>
|
|
314
|
+
* @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>
|
|
315
|
+
* @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>
|
|
316
316
|
* @param {*} [options] Override http request option.
|
|
317
317
|
* @throws {RequiredError}
|
|
318
318
|
*/
|
|
319
|
-
async listClaimPartners(authorization?: string, pageSize?: any, pageToken?: any, filter?:
|
|
319
|
+
async listClaimPartners(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListClaimPartnersResponseClass>> {
|
|
320
320
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listClaimPartners(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
321
321
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
322
322
|
},
|
|
@@ -354,31 +354,31 @@ export const ClaimPartnersApiFactory = function (configuration?: Configuration,
|
|
|
354
354
|
return localVarFp.deleteClaimPartner(id, authorization, options).then((request) => request(axios, basePath));
|
|
355
355
|
},
|
|
356
356
|
/**
|
|
357
|
-
* Retrieves the details of the claim partner that was previously created.
|
|
357
|
+
* 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.
|
|
358
358
|
* @summary Retrieve the claim partner
|
|
359
359
|
* @param {number} id
|
|
360
360
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
361
361
|
* @param {*} [options] Override http request option.
|
|
362
362
|
* @throws {RequiredError}
|
|
363
363
|
*/
|
|
364
|
-
|
|
365
|
-
return localVarFp.
|
|
364
|
+
getClaimPartner(id: number, authorization?: string, options?: any): AxiosPromise<GetClaimPartnerResponseClass> {
|
|
365
|
+
return localVarFp.getClaimPartner(id, authorization, options).then((request) => request(axios, basePath));
|
|
366
366
|
},
|
|
367
367
|
/**
|
|
368
|
-
* Returns a list of claim partners you have previously created.
|
|
368
|
+
* 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.
|
|
369
369
|
* @summary List claim partners
|
|
370
370
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
371
371
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
372
372
|
* @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.
|
|
373
|
-
* @param {
|
|
374
|
-
* @param {
|
|
375
|
-
* @param {
|
|
376
|
-
* @param {
|
|
377
|
-
* @param {
|
|
373
|
+
* @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>
|
|
374
|
+
* @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>
|
|
375
|
+
* @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>
|
|
376
|
+
* @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>
|
|
377
|
+
* @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>
|
|
378
378
|
* @param {*} [options] Override http request option.
|
|
379
379
|
* @throws {RequiredError}
|
|
380
380
|
*/
|
|
381
|
-
listClaimPartners(authorization?: string, pageSize?: any, pageToken?: any, filter?:
|
|
381
|
+
listClaimPartners(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListClaimPartnersResponseClass> {
|
|
382
382
|
return localVarFp.listClaimPartners(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
383
383
|
},
|
|
384
384
|
};
|
|
@@ -434,22 +434,22 @@ export interface ClaimPartnersApiDeleteClaimPartnerRequest {
|
|
|
434
434
|
}
|
|
435
435
|
|
|
436
436
|
/**
|
|
437
|
-
* Request parameters for
|
|
437
|
+
* Request parameters for getClaimPartner operation in ClaimPartnersApi.
|
|
438
438
|
* @export
|
|
439
|
-
* @interface
|
|
439
|
+
* @interface ClaimPartnersApiGetClaimPartnerRequest
|
|
440
440
|
*/
|
|
441
|
-
export interface
|
|
441
|
+
export interface ClaimPartnersApiGetClaimPartnerRequest {
|
|
442
442
|
/**
|
|
443
443
|
*
|
|
444
444
|
* @type {number}
|
|
445
|
-
* @memberof
|
|
445
|
+
* @memberof ClaimPartnersApiGetClaimPartner
|
|
446
446
|
*/
|
|
447
447
|
readonly id: number
|
|
448
448
|
|
|
449
449
|
/**
|
|
450
450
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
451
451
|
* @type {string}
|
|
452
|
-
* @memberof
|
|
452
|
+
* @memberof ClaimPartnersApiGetClaimPartner
|
|
453
453
|
*/
|
|
454
454
|
readonly authorization?: string
|
|
455
455
|
}
|
|
@@ -482,39 +482,39 @@ export interface ClaimPartnersApiListClaimPartnersRequest {
|
|
|
482
482
|
readonly pageToken?: any
|
|
483
483
|
|
|
484
484
|
/**
|
|
485
|
-
* Filter the response by one or multiple fields.
|
|
486
|
-
* @type {
|
|
485
|
+
* 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>
|
|
486
|
+
* @type {string}
|
|
487
487
|
* @memberof ClaimPartnersApiListClaimPartners
|
|
488
488
|
*/
|
|
489
|
-
readonly filter?:
|
|
489
|
+
readonly filter?: string
|
|
490
490
|
|
|
491
491
|
/**
|
|
492
|
-
* Search the
|
|
493
|
-
* @type {
|
|
492
|
+
* 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>
|
|
493
|
+
* @type {string}
|
|
494
494
|
* @memberof ClaimPartnersApiListClaimPartners
|
|
495
495
|
*/
|
|
496
|
-
readonly search?:
|
|
496
|
+
readonly search?: string
|
|
497
497
|
|
|
498
498
|
/**
|
|
499
|
-
*
|
|
500
|
-
* @type {
|
|
499
|
+
* 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>
|
|
500
|
+
* @type {string}
|
|
501
501
|
* @memberof ClaimPartnersApiListClaimPartners
|
|
502
502
|
*/
|
|
503
|
-
readonly order?:
|
|
503
|
+
readonly order?: string
|
|
504
504
|
|
|
505
505
|
/**
|
|
506
|
-
*
|
|
507
|
-
* @type {
|
|
506
|
+
* 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>
|
|
507
|
+
* @type {string}
|
|
508
508
|
* @memberof ClaimPartnersApiListClaimPartners
|
|
509
509
|
*/
|
|
510
|
-
readonly expand?:
|
|
510
|
+
readonly expand?: string
|
|
511
511
|
|
|
512
512
|
/**
|
|
513
|
-
* Filters the response by one or multiple fields.
|
|
514
|
-
* @type {
|
|
513
|
+
* 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>
|
|
514
|
+
* @type {string}
|
|
515
515
|
* @memberof ClaimPartnersApiListClaimPartners
|
|
516
516
|
*/
|
|
517
|
-
readonly filters?:
|
|
517
|
+
readonly filters?: string
|
|
518
518
|
}
|
|
519
519
|
|
|
520
520
|
/**
|
|
@@ -549,19 +549,19 @@ export class ClaimPartnersApi extends BaseAPI {
|
|
|
549
549
|
}
|
|
550
550
|
|
|
551
551
|
/**
|
|
552
|
-
* Retrieves the details of the claim partner that was previously created.
|
|
552
|
+
* 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.
|
|
553
553
|
* @summary Retrieve the claim partner
|
|
554
|
-
* @param {
|
|
554
|
+
* @param {ClaimPartnersApiGetClaimPartnerRequest} requestParameters Request parameters.
|
|
555
555
|
* @param {*} [options] Override http request option.
|
|
556
556
|
* @throws {RequiredError}
|
|
557
557
|
* @memberof ClaimPartnersApi
|
|
558
558
|
*/
|
|
559
|
-
public
|
|
560
|
-
return ClaimPartnersApiFp(this.configuration).
|
|
559
|
+
public getClaimPartner(requestParameters: ClaimPartnersApiGetClaimPartnerRequest, options?: AxiosRequestConfig) {
|
|
560
|
+
return ClaimPartnersApiFp(this.configuration).getClaimPartner(requestParameters.id, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
561
561
|
}
|
|
562
562
|
|
|
563
563
|
/**
|
|
564
|
-
* Returns a list of claim partners you have previously created.
|
|
564
|
+
* 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.
|
|
565
565
|
* @summary List claim partners
|
|
566
566
|
* @param {ClaimPartnersApiListClaimPartnersRequest} requestParameters Request parameters.
|
|
567
567
|
* @param {*} [options] Override http request option.
|