@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
package/.openapi-generator/FILES
CHANGED
|
@@ -5,6 +5,7 @@ README.md
|
|
|
5
5
|
api.ts
|
|
6
6
|
api/claim-partner-roles-api.ts
|
|
7
7
|
api/claim-partners-api.ts
|
|
8
|
+
api/claim-regulations-api.ts
|
|
8
9
|
api/claim-statuses-api.ts
|
|
9
10
|
api/claims-api.ts
|
|
10
11
|
api/default-api.ts
|
|
@@ -26,6 +27,7 @@ models/create-claim-request-dto.ts
|
|
|
26
27
|
models/create-claim-response-class.ts
|
|
27
28
|
models/create-claim-status-request-dto.ts
|
|
28
29
|
models/create-claim-status-response-class.ts
|
|
30
|
+
models/create-regulation-item-request-dto.ts
|
|
29
31
|
models/create-settlement-request-dto.ts
|
|
30
32
|
models/create-settlement-response-class.ts
|
|
31
33
|
models/get-claim-partner-response-class.ts
|
|
@@ -43,6 +45,14 @@ models/list-claims-response-class.ts
|
|
|
43
45
|
models/list-settlements-response-class.ts
|
|
44
46
|
models/patch-claim-request-dto.ts
|
|
45
47
|
models/patch-claim-response-class.ts
|
|
48
|
+
models/payout-details-class.ts
|
|
49
|
+
models/payout-details-dto.ts
|
|
50
|
+
models/regress-details-class.ts
|
|
51
|
+
models/regress-details-dto.ts
|
|
52
|
+
models/regulation-item-class.ts
|
|
53
|
+
models/regulation-item-response-class.ts
|
|
54
|
+
models/reserve-details-class.ts
|
|
55
|
+
models/reserve-details-dto.ts
|
|
46
56
|
models/settlement-class.ts
|
|
47
57
|
models/update-claim-partner-role-request-dto.ts
|
|
48
58
|
models/update-claim-partner-role-response-class.ts
|
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@1.17.2-beta.
|
|
20
|
+
npm install @emilgroup/claim-sdk@1.17.2-beta.2 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/claim-sdk@1.17.2-beta.
|
|
24
|
+
yarn add @emilgroup/claim-sdk@1.17.2-beta.2
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `ClaimsApi`.
|
|
@@ -131,7 +131,7 @@ export const ClaimPartnerRolesApiAxiosParamCreator = function (configuration?: C
|
|
|
131
131
|
};
|
|
132
132
|
},
|
|
133
133
|
/**
|
|
134
|
-
* Retrieves the details of the claim partner role that was previously created. Supply the unique claim partner role code
|
|
134
|
+
* 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.
|
|
135
135
|
* @summary Retrieve the claim partner role
|
|
136
136
|
* @param {string} code Unique identifier for the object.
|
|
137
137
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -176,20 +176,20 @@ export const ClaimPartnerRolesApiAxiosParamCreator = function (configuration?: C
|
|
|
176
176
|
};
|
|
177
177
|
},
|
|
178
178
|
/**
|
|
179
|
-
* Returns a list of claim partner roles you have previously created.
|
|
179
|
+
* 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.
|
|
180
180
|
* @summary List claim partner roles
|
|
181
181
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
182
182
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
183
183
|
* @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.
|
|
184
|
-
* @param {
|
|
185
|
-
* @param {
|
|
186
|
-
* @param {
|
|
187
|
-
* @param {
|
|
188
|
-
* @param {
|
|
184
|
+
* @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>
|
|
185
|
+
* @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>
|
|
186
|
+
* @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>
|
|
187
|
+
* @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: .<i>
|
|
188
|
+
* @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>
|
|
189
189
|
* @param {*} [options] Override http request option.
|
|
190
190
|
* @throws {RequiredError}
|
|
191
191
|
*/
|
|
192
|
-
listClaimPartnerRole: async (authorization?: string, pageSize?: any, pageToken?: any, filter?:
|
|
192
|
+
listClaimPartnerRole: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
193
193
|
const localVarPath = `/v1/claim-partner-roles`;
|
|
194
194
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
195
195
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -337,7 +337,7 @@ export const ClaimPartnerRolesApiFp = function(configuration?: Configuration) {
|
|
|
337
337
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
338
338
|
},
|
|
339
339
|
/**
|
|
340
|
-
* Retrieves the details of the claim partner role that was previously created. Supply the unique claim partner role code
|
|
340
|
+
* 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.
|
|
341
341
|
* @summary Retrieve the claim partner role
|
|
342
342
|
* @param {string} code Unique identifier for the object.
|
|
343
343
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -349,20 +349,20 @@ export const ClaimPartnerRolesApiFp = function(configuration?: Configuration) {
|
|
|
349
349
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
350
350
|
},
|
|
351
351
|
/**
|
|
352
|
-
* Returns a list of claim partner roles you have previously created.
|
|
352
|
+
* 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.
|
|
353
353
|
* @summary List claim partner roles
|
|
354
354
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
355
355
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
356
356
|
* @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.
|
|
357
|
-
* @param {
|
|
358
|
-
* @param {
|
|
359
|
-
* @param {
|
|
360
|
-
* @param {
|
|
361
|
-
* @param {
|
|
357
|
+
* @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>
|
|
358
|
+
* @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>
|
|
359
|
+
* @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>
|
|
360
|
+
* @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: .<i>
|
|
361
|
+
* @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>
|
|
362
362
|
* @param {*} [options] Override http request option.
|
|
363
363
|
* @throws {RequiredError}
|
|
364
364
|
*/
|
|
365
|
-
async listClaimPartnerRole(authorization?: string, pageSize?: any, pageToken?: any, filter?:
|
|
365
|
+
async listClaimPartnerRole(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListClaimPartnerRolesResponseClass>> {
|
|
366
366
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listClaimPartnerRole(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
367
367
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
368
368
|
},
|
|
@@ -412,7 +412,7 @@ export const ClaimPartnerRolesApiFactory = function (configuration?: Configurati
|
|
|
412
412
|
return localVarFp.deleteClaimPartnerRole(code, authorization, options).then((request) => request(axios, basePath));
|
|
413
413
|
},
|
|
414
414
|
/**
|
|
415
|
-
* Retrieves the details of the claim partner role that was previously created. Supply the unique claim partner role code
|
|
415
|
+
* 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.
|
|
416
416
|
* @summary Retrieve the claim partner role
|
|
417
417
|
* @param {string} code Unique identifier for the object.
|
|
418
418
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -423,20 +423,20 @@ export const ClaimPartnerRolesApiFactory = function (configuration?: Configurati
|
|
|
423
423
|
return localVarFp.getClaimPartnerRole(code, authorization, options).then((request) => request(axios, basePath));
|
|
424
424
|
},
|
|
425
425
|
/**
|
|
426
|
-
* Returns a list of claim partner roles you have previously created.
|
|
426
|
+
* 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.
|
|
427
427
|
* @summary List claim partner roles
|
|
428
428
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
429
429
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
430
430
|
* @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.
|
|
431
|
-
* @param {
|
|
432
|
-
* @param {
|
|
433
|
-
* @param {
|
|
434
|
-
* @param {
|
|
435
|
-
* @param {
|
|
431
|
+
* @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>
|
|
432
|
+
* @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>
|
|
433
|
+
* @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>
|
|
434
|
+
* @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: .<i>
|
|
435
|
+
* @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>
|
|
436
436
|
* @param {*} [options] Override http request option.
|
|
437
437
|
* @throws {RequiredError}
|
|
438
438
|
*/
|
|
439
|
-
listClaimPartnerRole(authorization?: string, pageSize?: any, pageToken?: any, filter?:
|
|
439
|
+
listClaimPartnerRole(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListClaimPartnerRolesResponseClass> {
|
|
440
440
|
return localVarFp.listClaimPartnerRole(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
441
441
|
},
|
|
442
442
|
/**
|
|
@@ -545,39 +545,39 @@ export interface ClaimPartnerRolesApiListClaimPartnerRoleRequest {
|
|
|
545
545
|
readonly pageToken?: any
|
|
546
546
|
|
|
547
547
|
/**
|
|
548
|
-
* Filter the response by one or multiple fields.
|
|
549
|
-
* @type {
|
|
548
|
+
* 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>
|
|
549
|
+
* @type {string}
|
|
550
550
|
* @memberof ClaimPartnerRolesApiListClaimPartnerRole
|
|
551
551
|
*/
|
|
552
|
-
readonly filter?:
|
|
552
|
+
readonly filter?: string
|
|
553
553
|
|
|
554
554
|
/**
|
|
555
|
-
* Search the
|
|
556
|
-
* @type {
|
|
555
|
+
* 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>
|
|
556
|
+
* @type {string}
|
|
557
557
|
* @memberof ClaimPartnerRolesApiListClaimPartnerRole
|
|
558
558
|
*/
|
|
559
|
-
readonly search?:
|
|
559
|
+
readonly search?: string
|
|
560
560
|
|
|
561
561
|
/**
|
|
562
|
-
*
|
|
563
|
-
* @type {
|
|
562
|
+
* 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>
|
|
563
|
+
* @type {string}
|
|
564
564
|
* @memberof ClaimPartnerRolesApiListClaimPartnerRole
|
|
565
565
|
*/
|
|
566
|
-
readonly order?:
|
|
566
|
+
readonly order?: string
|
|
567
567
|
|
|
568
568
|
/**
|
|
569
|
-
*
|
|
570
|
-
* @type {
|
|
569
|
+
* 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: .<i>
|
|
570
|
+
* @type {string}
|
|
571
571
|
* @memberof ClaimPartnerRolesApiListClaimPartnerRole
|
|
572
572
|
*/
|
|
573
|
-
readonly expand?:
|
|
573
|
+
readonly expand?: string
|
|
574
574
|
|
|
575
575
|
/**
|
|
576
|
-
* Filters the response by one or multiple fields.
|
|
577
|
-
* @type {
|
|
576
|
+
* 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>
|
|
577
|
+
* @type {string}
|
|
578
578
|
* @memberof ClaimPartnerRolesApiListClaimPartnerRole
|
|
579
579
|
*/
|
|
580
|
-
readonly filters?:
|
|
580
|
+
readonly filters?: string
|
|
581
581
|
}
|
|
582
582
|
|
|
583
583
|
/**
|
|
@@ -640,7 +640,7 @@ export class ClaimPartnerRolesApi extends BaseAPI {
|
|
|
640
640
|
}
|
|
641
641
|
|
|
642
642
|
/**
|
|
643
|
-
* Retrieves the details of the claim partner role that was previously created. Supply the unique claim partner role code
|
|
643
|
+
* 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.
|
|
644
644
|
* @summary Retrieve the claim partner role
|
|
645
645
|
* @param {ClaimPartnerRolesApiGetClaimPartnerRoleRequest} requestParameters Request parameters.
|
|
646
646
|
* @param {*} [options] Override http request option.
|
|
@@ -652,7 +652,7 @@ export class ClaimPartnerRolesApi extends BaseAPI {
|
|
|
652
652
|
}
|
|
653
653
|
|
|
654
654
|
/**
|
|
655
|
-
* Returns a list of claim partner roles you have previously created.
|
|
655
|
+
* 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.
|
|
656
656
|
* @summary List claim partner roles
|
|
657
657
|
* @param {ClaimPartnerRolesApiListClaimPartnerRoleRequest} requestParameters Request parameters.
|
|
658
658
|
* @param {*} [options] Override http request option.
|
|
@@ -131,16 +131,16 @@ export const ClaimPartnersApiAxiosParamCreator = function (configuration?: Confi
|
|
|
131
131
|
};
|
|
132
132
|
},
|
|
133
133
|
/**
|
|
134
|
-
* Retrieves the details of the claim partner that was previously created.
|
|
134
|
+
* 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.
|
|
135
135
|
* @summary Retrieve the claim partner
|
|
136
136
|
* @param {number} id
|
|
137
137
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
138
138
|
* @param {*} [options] Override http request option.
|
|
139
139
|
* @throws {RequiredError}
|
|
140
140
|
*/
|
|
141
|
-
|
|
141
|
+
getClaimPartner: async (id: number, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
142
142
|
// verify required parameter 'id' is not null or undefined
|
|
143
|
-
assertParamExists('
|
|
143
|
+
assertParamExists('getClaimPartner', 'id', id)
|
|
144
144
|
const localVarPath = `/v1/claim-partners/{id}`
|
|
145
145
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
146
146
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -176,20 +176,20 @@ export const ClaimPartnersApiAxiosParamCreator = function (configuration?: Confi
|
|
|
176
176
|
};
|
|
177
177
|
},
|
|
178
178
|
/**
|
|
179
|
-
* Returns a list of claim partners you have previously created.
|
|
179
|
+
* 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.
|
|
180
180
|
* @summary List claim partners
|
|
181
181
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
182
182
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
183
183
|
* @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.
|
|
184
|
-
* @param {
|
|
185
|
-
* @param {
|
|
186
|
-
* @param {
|
|
187
|
-
* @param {
|
|
188
|
-
* @param {
|
|
184
|
+
* @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>
|
|
185
|
+
* @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>
|
|
186
|
+
* @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>
|
|
187
|
+
* @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>
|
|
188
|
+
* @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>
|
|
189
189
|
* @param {*} [options] Override http request option.
|
|
190
190
|
* @throws {RequiredError}
|
|
191
191
|
*/
|
|
192
|
-
listClaimPartners: async (authorization?: string, pageSize?: any, pageToken?: any, filter?:
|
|
192
|
+
listClaimPartners: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
193
193
|
const localVarPath = `/v1/claim-partners`;
|
|
194
194
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
195
195
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -287,32 +287,32 @@ export const ClaimPartnersApiFp = function(configuration?: Configuration) {
|
|
|
287
287
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
288
288
|
},
|
|
289
289
|
/**
|
|
290
|
-
* Retrieves the details of the claim partner that was previously created.
|
|
290
|
+
* 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.
|
|
291
291
|
* @summary Retrieve the claim partner
|
|
292
292
|
* @param {number} id
|
|
293
293
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
294
294
|
* @param {*} [options] Override http request option.
|
|
295
295
|
* @throws {RequiredError}
|
|
296
296
|
*/
|
|
297
|
-
async
|
|
298
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
297
|
+
async getClaimPartner(id: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetClaimPartnerResponseClass>> {
|
|
298
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getClaimPartner(id, authorization, options);
|
|
299
299
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
300
300
|
},
|
|
301
301
|
/**
|
|
302
|
-
* Returns a list of claim partners you have previously created.
|
|
302
|
+
* 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.
|
|
303
303
|
* @summary List claim partners
|
|
304
304
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
305
305
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
306
306
|
* @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.
|
|
307
|
-
* @param {
|
|
308
|
-
* @param {
|
|
309
|
-
* @param {
|
|
310
|
-
* @param {
|
|
311
|
-
* @param {
|
|
307
|
+
* @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>
|
|
308
|
+
* @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>
|
|
309
|
+
* @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>
|
|
310
|
+
* @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>
|
|
311
|
+
* @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>
|
|
312
312
|
* @param {*} [options] Override http request option.
|
|
313
313
|
* @throws {RequiredError}
|
|
314
314
|
*/
|
|
315
|
-
async listClaimPartners(authorization?: string, pageSize?: any, pageToken?: any, filter?:
|
|
315
|
+
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>> {
|
|
316
316
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listClaimPartners(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
317
317
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
318
318
|
},
|
|
@@ -350,31 +350,31 @@ export const ClaimPartnersApiFactory = function (configuration?: Configuration,
|
|
|
350
350
|
return localVarFp.deleteClaimPartner(id, authorization, options).then((request) => request(axios, basePath));
|
|
351
351
|
},
|
|
352
352
|
/**
|
|
353
|
-
* Retrieves the details of the claim partner that was previously created.
|
|
353
|
+
* 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.
|
|
354
354
|
* @summary Retrieve the claim partner
|
|
355
355
|
* @param {number} id
|
|
356
356
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
357
357
|
* @param {*} [options] Override http request option.
|
|
358
358
|
* @throws {RequiredError}
|
|
359
359
|
*/
|
|
360
|
-
|
|
361
|
-
return localVarFp.
|
|
360
|
+
getClaimPartner(id: number, authorization?: string, options?: any): AxiosPromise<GetClaimPartnerResponseClass> {
|
|
361
|
+
return localVarFp.getClaimPartner(id, authorization, options).then((request) => request(axios, basePath));
|
|
362
362
|
},
|
|
363
363
|
/**
|
|
364
|
-
* Returns a list of claim partners you have previously created.
|
|
364
|
+
* 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.
|
|
365
365
|
* @summary List claim partners
|
|
366
366
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
367
367
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
368
368
|
* @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.
|
|
369
|
-
* @param {
|
|
370
|
-
* @param {
|
|
371
|
-
* @param {
|
|
372
|
-
* @param {
|
|
373
|
-
* @param {
|
|
369
|
+
* @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>
|
|
370
|
+
* @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>
|
|
371
|
+
* @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>
|
|
372
|
+
* @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>
|
|
373
|
+
* @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>
|
|
374
374
|
* @param {*} [options] Override http request option.
|
|
375
375
|
* @throws {RequiredError}
|
|
376
376
|
*/
|
|
377
|
-
listClaimPartners(authorization?: string, pageSize?: any, pageToken?: any, filter?:
|
|
377
|
+
listClaimPartners(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListClaimPartnersResponseClass> {
|
|
378
378
|
return localVarFp.listClaimPartners(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
379
379
|
},
|
|
380
380
|
};
|
|
@@ -430,22 +430,22 @@ export interface ClaimPartnersApiDeleteClaimPartnerRequest {
|
|
|
430
430
|
}
|
|
431
431
|
|
|
432
432
|
/**
|
|
433
|
-
* Request parameters for
|
|
433
|
+
* Request parameters for getClaimPartner operation in ClaimPartnersApi.
|
|
434
434
|
* @export
|
|
435
|
-
* @interface
|
|
435
|
+
* @interface ClaimPartnersApiGetClaimPartnerRequest
|
|
436
436
|
*/
|
|
437
|
-
export interface
|
|
437
|
+
export interface ClaimPartnersApiGetClaimPartnerRequest {
|
|
438
438
|
/**
|
|
439
439
|
*
|
|
440
440
|
* @type {number}
|
|
441
|
-
* @memberof
|
|
441
|
+
* @memberof ClaimPartnersApiGetClaimPartner
|
|
442
442
|
*/
|
|
443
443
|
readonly id: number
|
|
444
444
|
|
|
445
445
|
/**
|
|
446
446
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
447
447
|
* @type {string}
|
|
448
|
-
* @memberof
|
|
448
|
+
* @memberof ClaimPartnersApiGetClaimPartner
|
|
449
449
|
*/
|
|
450
450
|
readonly authorization?: string
|
|
451
451
|
}
|
|
@@ -478,39 +478,39 @@ export interface ClaimPartnersApiListClaimPartnersRequest {
|
|
|
478
478
|
readonly pageToken?: any
|
|
479
479
|
|
|
480
480
|
/**
|
|
481
|
-
* Filter the response by one or multiple fields.
|
|
482
|
-
* @type {
|
|
481
|
+
* 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>
|
|
482
|
+
* @type {string}
|
|
483
483
|
* @memberof ClaimPartnersApiListClaimPartners
|
|
484
484
|
*/
|
|
485
|
-
readonly filter?:
|
|
485
|
+
readonly filter?: string
|
|
486
486
|
|
|
487
487
|
/**
|
|
488
|
-
* Search the
|
|
489
|
-
* @type {
|
|
488
|
+
* 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>
|
|
489
|
+
* @type {string}
|
|
490
490
|
* @memberof ClaimPartnersApiListClaimPartners
|
|
491
491
|
*/
|
|
492
|
-
readonly search?:
|
|
492
|
+
readonly search?: string
|
|
493
493
|
|
|
494
494
|
/**
|
|
495
|
-
*
|
|
496
|
-
* @type {
|
|
495
|
+
* 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>
|
|
496
|
+
* @type {string}
|
|
497
497
|
* @memberof ClaimPartnersApiListClaimPartners
|
|
498
498
|
*/
|
|
499
|
-
readonly order?:
|
|
499
|
+
readonly order?: string
|
|
500
500
|
|
|
501
501
|
/**
|
|
502
|
-
*
|
|
503
|
-
* @type {
|
|
502
|
+
* 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>
|
|
503
|
+
* @type {string}
|
|
504
504
|
* @memberof ClaimPartnersApiListClaimPartners
|
|
505
505
|
*/
|
|
506
|
-
readonly expand?:
|
|
506
|
+
readonly expand?: string
|
|
507
507
|
|
|
508
508
|
/**
|
|
509
|
-
* Filters the response by one or multiple fields.
|
|
510
|
-
* @type {
|
|
509
|
+
* 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>
|
|
510
|
+
* @type {string}
|
|
511
511
|
* @memberof ClaimPartnersApiListClaimPartners
|
|
512
512
|
*/
|
|
513
|
-
readonly filters?:
|
|
513
|
+
readonly filters?: string
|
|
514
514
|
}
|
|
515
515
|
|
|
516
516
|
/**
|
|
@@ -545,19 +545,19 @@ export class ClaimPartnersApi extends BaseAPI {
|
|
|
545
545
|
}
|
|
546
546
|
|
|
547
547
|
/**
|
|
548
|
-
* Retrieves the details of the claim partner that was previously created.
|
|
548
|
+
* 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.
|
|
549
549
|
* @summary Retrieve the claim partner
|
|
550
|
-
* @param {
|
|
550
|
+
* @param {ClaimPartnersApiGetClaimPartnerRequest} requestParameters Request parameters.
|
|
551
551
|
* @param {*} [options] Override http request option.
|
|
552
552
|
* @throws {RequiredError}
|
|
553
553
|
* @memberof ClaimPartnersApi
|
|
554
554
|
*/
|
|
555
|
-
public
|
|
556
|
-
return ClaimPartnersApiFp(this.configuration).
|
|
555
|
+
public getClaimPartner(requestParameters: ClaimPartnersApiGetClaimPartnerRequest, options?: AxiosRequestConfig) {
|
|
556
|
+
return ClaimPartnersApiFp(this.configuration).getClaimPartner(requestParameters.id, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
557
557
|
}
|
|
558
558
|
|
|
559
559
|
/**
|
|
560
|
-
* Returns a list of claim partners you have previously created.
|
|
560
|
+
* 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.
|
|
561
561
|
* @summary List claim partners
|
|
562
562
|
* @param {ClaimPartnersApiListClaimPartnersRequest} requestParameters Request parameters.
|
|
563
563
|
* @param {*} [options] Override http request option.
|