@emilgroup/claim-sdk 1.34.0 → 1.34.1-beta.1
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 +34 -34
- package/api/claim-partners-api.ts +30 -30
- package/api/claim-regulations-api.ts +34 -34
- package/api/claim-statuses-api.ts +35 -35
- package/api/claims-api.ts +42 -42
- package/api/settlements-api.ts +39 -39
- package/dist/api/claim-partner-roles-api.d.ts +34 -34
- package/dist/api/claim-partner-roles-api.js +26 -26
- package/dist/api/claim-partners-api.d.ts +30 -30
- package/dist/api/claim-partners-api.js +22 -22
- package/dist/api/claim-regulations-api.d.ts +34 -34
- package/dist/api/claim-regulations-api.js +26 -26
- package/dist/api/claim-statuses-api.d.ts +35 -35
- package/dist/api/claim-statuses-api.js +25 -25
- package/dist/api/claims-api.d.ts +42 -42
- package/dist/api/claims-api.js +34 -34
- package/dist/api/settlements-api.d.ts +39 -39
- package/dist/api/settlements-api.js +29 -29
- 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@1.34.
|
|
20
|
+
npm install @emilgroup/claim-sdk@1.34.1-beta.1 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/claim-sdk@1.34.
|
|
24
|
+
yarn add @emilgroup/claim-sdk@1.34.1-beta.1
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `ClaimsApi`.
|
|
@@ -39,7 +39,7 @@ import { UpdateClaimPartnerRoleResponseClass } from '../models';
|
|
|
39
39
|
export const ClaimPartnerRolesApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
40
40
|
return {
|
|
41
41
|
/**
|
|
42
|
-
* This will create a claim partner role.
|
|
42
|
+
* This will create a claim partner role. **Required Permissions** \"claim-management.partner-roles.create\"
|
|
43
43
|
* @summary Create the claim partner role
|
|
44
44
|
* @param {CreateClaimPartnerRoleRequestDto} createClaimPartnerRoleRequestDto
|
|
45
45
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -86,7 +86,7 @@ export const ClaimPartnerRolesApiAxiosParamCreator = function (configuration?: C
|
|
|
86
86
|
};
|
|
87
87
|
},
|
|
88
88
|
/**
|
|
89
|
-
* Permanently deletes the claim partner role. Supply the unique code that was returned when you created the claim partner role and this will delete it.
|
|
89
|
+
* Permanently deletes the claim partner role. Supply the unique code that was returned when you created the claim partner role and this will delete it. **Required Permissions** \"claim-management.partner-roles.delete\"
|
|
90
90
|
* @summary Delete the claim partner role
|
|
91
91
|
* @param {string} code Unique identifier for the object.
|
|
92
92
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -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 that was returned when you created it and Emil Api will return the corresponding claim partner role information.
|
|
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. **Required Permissions** \"claim-management.partner-roles.view\"
|
|
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,11 +176,11 @@ export const ClaimPartnerRolesApiAxiosParamCreator = function (configuration?: C
|
|
|
176
176
|
};
|
|
177
177
|
},
|
|
178
178
|
/**
|
|
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.
|
|
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. **Required Permissions** \"claim-management.partner-roles.view\"
|
|
180
180
|
* @summary List claim partner roles
|
|
181
181
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
182
|
-
* @param {
|
|
183
|
-
* @param {
|
|
182
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
183
|
+
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
184
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
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
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>
|
|
@@ -189,7 +189,7 @@ export const ClaimPartnerRolesApiAxiosParamCreator = function (configuration?: C
|
|
|
189
189
|
* @param {*} [options] Override http request option.
|
|
190
190
|
* @throws {RequiredError}
|
|
191
191
|
*/
|
|
192
|
-
listClaimPartnerRole: async (authorization?: string, pageSize?:
|
|
192
|
+
listClaimPartnerRole: async (authorization?: string, pageSize?: number, pageToken?: string, 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);
|
|
@@ -252,7 +252,7 @@ export const ClaimPartnerRolesApiAxiosParamCreator = function (configuration?: C
|
|
|
252
252
|
};
|
|
253
253
|
},
|
|
254
254
|
/**
|
|
255
|
-
* Updates the specified claim partner role by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
255
|
+
* Updates the specified claim partner role by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"claim-management.partner-roles.update\"
|
|
256
256
|
* @summary Update the claim partner role
|
|
257
257
|
* @param {string} code Unique identifier for the object.
|
|
258
258
|
* @param {UpdateClaimPartnerRoleRequestDto} updateClaimPartnerRoleRequestDto
|
|
@@ -313,7 +313,7 @@ export const ClaimPartnerRolesApiFp = function(configuration?: Configuration) {
|
|
|
313
313
|
const localVarAxiosParamCreator = ClaimPartnerRolesApiAxiosParamCreator(configuration)
|
|
314
314
|
return {
|
|
315
315
|
/**
|
|
316
|
-
* This will create a claim partner role.
|
|
316
|
+
* This will create a claim partner role. **Required Permissions** \"claim-management.partner-roles.create\"
|
|
317
317
|
* @summary Create the claim partner role
|
|
318
318
|
* @param {CreateClaimPartnerRoleRequestDto} createClaimPartnerRoleRequestDto
|
|
319
319
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -325,7 +325,7 @@ export const ClaimPartnerRolesApiFp = function(configuration?: Configuration) {
|
|
|
325
325
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
326
326
|
},
|
|
327
327
|
/**
|
|
328
|
-
* Permanently deletes the claim partner role. Supply the unique code that was returned when you created the claim partner role and this will delete it.
|
|
328
|
+
* Permanently deletes the claim partner role. Supply the unique code that was returned when you created the claim partner role and this will delete it. **Required Permissions** \"claim-management.partner-roles.delete\"
|
|
329
329
|
* @summary Delete the claim partner role
|
|
330
330
|
* @param {string} code Unique identifier for the object.
|
|
331
331
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -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 that was returned when you created it and Emil Api will return the corresponding claim partner role information.
|
|
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. **Required Permissions** \"claim-management.partner-roles.view\"
|
|
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,11 +349,11 @@ 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. The claim partner roles are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
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. **Required Permissions** \"claim-management.partner-roles.view\"
|
|
353
353
|
* @summary List claim partner roles
|
|
354
354
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
355
|
-
* @param {
|
|
356
|
-
* @param {
|
|
355
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
356
|
+
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
357
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
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
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>
|
|
@@ -362,12 +362,12 @@ export const ClaimPartnerRolesApiFp = function(configuration?: Configuration) {
|
|
|
362
362
|
* @param {*} [options] Override http request option.
|
|
363
363
|
* @throws {RequiredError}
|
|
364
364
|
*/
|
|
365
|
-
async listClaimPartnerRole(authorization?: string, pageSize?:
|
|
365
|
+
async listClaimPartnerRole(authorization?: string, pageSize?: number, pageToken?: string, 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
|
},
|
|
369
369
|
/**
|
|
370
|
-
* Updates the specified claim partner role by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
370
|
+
* Updates the specified claim partner role by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"claim-management.partner-roles.update\"
|
|
371
371
|
* @summary Update the claim partner role
|
|
372
372
|
* @param {string} code Unique identifier for the object.
|
|
373
373
|
* @param {UpdateClaimPartnerRoleRequestDto} updateClaimPartnerRoleRequestDto
|
|
@@ -390,7 +390,7 @@ export const ClaimPartnerRolesApiFactory = function (configuration?: Configurati
|
|
|
390
390
|
const localVarFp = ClaimPartnerRolesApiFp(configuration)
|
|
391
391
|
return {
|
|
392
392
|
/**
|
|
393
|
-
* This will create a claim partner role.
|
|
393
|
+
* This will create a claim partner role. **Required Permissions** \"claim-management.partner-roles.create\"
|
|
394
394
|
* @summary Create the claim partner role
|
|
395
395
|
* @param {CreateClaimPartnerRoleRequestDto} createClaimPartnerRoleRequestDto
|
|
396
396
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -401,7 +401,7 @@ export const ClaimPartnerRolesApiFactory = function (configuration?: Configurati
|
|
|
401
401
|
return localVarFp.createClaimPartnerRole(createClaimPartnerRoleRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
402
402
|
},
|
|
403
403
|
/**
|
|
404
|
-
* Permanently deletes the claim partner role. Supply the unique code that was returned when you created the claim partner role and this will delete it.
|
|
404
|
+
* Permanently deletes the claim partner role. Supply the unique code that was returned when you created the claim partner role and this will delete it. **Required Permissions** \"claim-management.partner-roles.delete\"
|
|
405
405
|
* @summary Delete the claim partner role
|
|
406
406
|
* @param {string} code Unique identifier for the object.
|
|
407
407
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -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 that was returned when you created it and Emil Api will return the corresponding claim partner role information.
|
|
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. **Required Permissions** \"claim-management.partner-roles.view\"
|
|
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,11 +423,11 @@ 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. The claim partner roles are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
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. **Required Permissions** \"claim-management.partner-roles.view\"
|
|
427
427
|
* @summary List claim partner roles
|
|
428
428
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
429
|
-
* @param {
|
|
430
|
-
* @param {
|
|
429
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
430
|
+
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
431
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
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
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>
|
|
@@ -436,11 +436,11 @@ export const ClaimPartnerRolesApiFactory = function (configuration?: Configurati
|
|
|
436
436
|
* @param {*} [options] Override http request option.
|
|
437
437
|
* @throws {RequiredError}
|
|
438
438
|
*/
|
|
439
|
-
listClaimPartnerRole(authorization?: string, pageSize?:
|
|
439
|
+
listClaimPartnerRole(authorization?: string, pageSize?: number, pageToken?: string, 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
|
/**
|
|
443
|
-
* Updates the specified claim partner role by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
443
|
+
* Updates the specified claim partner role by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"claim-management.partner-roles.update\"
|
|
444
444
|
* @summary Update the claim partner role
|
|
445
445
|
* @param {string} code Unique identifier for the object.
|
|
446
446
|
* @param {UpdateClaimPartnerRoleRequestDto} updateClaimPartnerRoleRequestDto
|
|
@@ -532,17 +532,17 @@ export interface ClaimPartnerRolesApiListClaimPartnerRoleRequest {
|
|
|
532
532
|
|
|
533
533
|
/**
|
|
534
534
|
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
535
|
-
* @type {
|
|
535
|
+
* @type {number}
|
|
536
536
|
* @memberof ClaimPartnerRolesApiListClaimPartnerRole
|
|
537
537
|
*/
|
|
538
|
-
readonly pageSize?:
|
|
538
|
+
readonly pageSize?: number
|
|
539
539
|
|
|
540
540
|
/**
|
|
541
|
-
* 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,
|
|
542
|
-
* @type {
|
|
541
|
+
* 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.
|
|
542
|
+
* @type {string}
|
|
543
543
|
* @memberof ClaimPartnerRolesApiListClaimPartnerRole
|
|
544
544
|
*/
|
|
545
|
-
readonly pageToken?:
|
|
545
|
+
readonly pageToken?: string
|
|
546
546
|
|
|
547
547
|
/**
|
|
548
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>
|
|
@@ -616,7 +616,7 @@ export interface ClaimPartnerRolesApiUpdateClaimPartnerRoleRequest {
|
|
|
616
616
|
*/
|
|
617
617
|
export class ClaimPartnerRolesApi extends BaseAPI {
|
|
618
618
|
/**
|
|
619
|
-
* This will create a claim partner role.
|
|
619
|
+
* This will create a claim partner role. **Required Permissions** \"claim-management.partner-roles.create\"
|
|
620
620
|
* @summary Create the claim partner role
|
|
621
621
|
* @param {ClaimPartnerRolesApiCreateClaimPartnerRoleRequest} requestParameters Request parameters.
|
|
622
622
|
* @param {*} [options] Override http request option.
|
|
@@ -628,7 +628,7 @@ export class ClaimPartnerRolesApi extends BaseAPI {
|
|
|
628
628
|
}
|
|
629
629
|
|
|
630
630
|
/**
|
|
631
|
-
* Permanently deletes the claim partner role. Supply the unique code that was returned when you created the claim partner role and this will delete it.
|
|
631
|
+
* Permanently deletes the claim partner role. Supply the unique code that was returned when you created the claim partner role and this will delete it. **Required Permissions** \"claim-management.partner-roles.delete\"
|
|
632
632
|
* @summary Delete the claim partner role
|
|
633
633
|
* @param {ClaimPartnerRolesApiDeleteClaimPartnerRoleRequest} requestParameters Request parameters.
|
|
634
634
|
* @param {*} [options] Override http request option.
|
|
@@ -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 that was returned when you created it and Emil Api will return the corresponding claim partner role information.
|
|
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. **Required Permissions** \"claim-management.partner-roles.view\"
|
|
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. The claim partner roles are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
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. **Required Permissions** \"claim-management.partner-roles.view\"
|
|
656
656
|
* @summary List claim partner roles
|
|
657
657
|
* @param {ClaimPartnerRolesApiListClaimPartnerRoleRequest} requestParameters Request parameters.
|
|
658
658
|
* @param {*} [options] Override http request option.
|
|
@@ -664,7 +664,7 @@ export class ClaimPartnerRolesApi extends BaseAPI {
|
|
|
664
664
|
}
|
|
665
665
|
|
|
666
666
|
/**
|
|
667
|
-
* Updates the specified claim partner role by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
667
|
+
* Updates the specified claim partner role by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"claim-management.partner-roles.update\"
|
|
668
668
|
* @summary Update the claim partner role
|
|
669
669
|
* @param {ClaimPartnerRolesApiUpdateClaimPartnerRoleRequest} requestParameters Request parameters.
|
|
670
670
|
* @param {*} [options] Override http request option.
|
|
@@ -35,7 +35,7 @@ import { ListClaimPartnersResponseClass } from '../models';
|
|
|
35
35
|
export const ClaimPartnersApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
36
36
|
return {
|
|
37
37
|
/**
|
|
38
|
-
* This will create a claim partner.
|
|
38
|
+
* This will create a claim partner. **Required Permissions** \"claim-management.partners.create\"
|
|
39
39
|
* @summary Create the claim partner
|
|
40
40
|
* @param {string} claimCode Unique identifier for the claim object.
|
|
41
41
|
* @param {CreateClaimPartnerRequestDto} createClaimPartnerRequestDto
|
|
@@ -86,7 +86,7 @@ export const ClaimPartnersApiAxiosParamCreator = function (configuration?: Confi
|
|
|
86
86
|
};
|
|
87
87
|
},
|
|
88
88
|
/**
|
|
89
|
-
* Permanently deletes the claim partner. Supply the unique id that was returned when you created the claim partner and this will delete it.
|
|
89
|
+
* Permanently deletes the claim partner. Supply the unique id that was returned when you created the claim partner and this will delete it. **Required Permissions** \"claim-management.partners.delete\"
|
|
90
90
|
* @summary Delete the claim partner
|
|
91
91
|
* @param {number} id
|
|
92
92
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -131,7 +131,7 @@ export const ClaimPartnersApiAxiosParamCreator = function (configuration?: Confi
|
|
|
131
131
|
};
|
|
132
132
|
},
|
|
133
133
|
/**
|
|
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.
|
|
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. **Required Permissions** \"claim-management.partners.view\"
|
|
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.
|
|
@@ -176,11 +176,11 @@ export const ClaimPartnersApiAxiosParamCreator = function (configuration?: Confi
|
|
|
176
176
|
};
|
|
177
177
|
},
|
|
178
178
|
/**
|
|
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.
|
|
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. **Required Permissions** \"claim-management.partners.view\"
|
|
180
180
|
* @summary List claim partners
|
|
181
181
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
182
|
-
* @param {
|
|
183
|
-
* @param {
|
|
182
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
183
|
+
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
184
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
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
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>
|
|
@@ -189,7 +189,7 @@ export const ClaimPartnersApiAxiosParamCreator = function (configuration?: Confi
|
|
|
189
189
|
* @param {*} [options] Override http request option.
|
|
190
190
|
* @throws {RequiredError}
|
|
191
191
|
*/
|
|
192
|
-
listClaimPartners: async (authorization?: string, pageSize?:
|
|
192
|
+
listClaimPartners: async (authorization?: string, pageSize?: number, pageToken?: string, 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);
|
|
@@ -262,7 +262,7 @@ export const ClaimPartnersApiFp = function(configuration?: Configuration) {
|
|
|
262
262
|
const localVarAxiosParamCreator = ClaimPartnersApiAxiosParamCreator(configuration)
|
|
263
263
|
return {
|
|
264
264
|
/**
|
|
265
|
-
* This will create a claim partner.
|
|
265
|
+
* This will create a claim partner. **Required Permissions** \"claim-management.partners.create\"
|
|
266
266
|
* @summary Create the claim partner
|
|
267
267
|
* @param {string} claimCode Unique identifier for the claim object.
|
|
268
268
|
* @param {CreateClaimPartnerRequestDto} createClaimPartnerRequestDto
|
|
@@ -275,7 +275,7 @@ export const ClaimPartnersApiFp = function(configuration?: Configuration) {
|
|
|
275
275
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
276
276
|
},
|
|
277
277
|
/**
|
|
278
|
-
* Permanently deletes the claim partner. Supply the unique id that was returned when you created the claim partner and this will delete it.
|
|
278
|
+
* Permanently deletes the claim partner. Supply the unique id that was returned when you created the claim partner and this will delete it. **Required Permissions** \"claim-management.partners.delete\"
|
|
279
279
|
* @summary Delete the claim partner
|
|
280
280
|
* @param {number} id
|
|
281
281
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -287,7 +287,7 @@ 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. Supply the unique claim partner id that was returned when you created it and Emil Api will return the corresponding claim partner information.
|
|
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. **Required Permissions** \"claim-management.partners.view\"
|
|
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.
|
|
@@ -299,11 +299,11 @@ export const ClaimPartnersApiFp = function(configuration?: Configuration) {
|
|
|
299
299
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
300
300
|
},
|
|
301
301
|
/**
|
|
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.
|
|
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. **Required Permissions** \"claim-management.partners.view\"
|
|
303
303
|
* @summary List claim partners
|
|
304
304
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
305
|
-
* @param {
|
|
306
|
-
* @param {
|
|
305
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
306
|
+
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
307
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
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
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>
|
|
@@ -312,7 +312,7 @@ export const ClaimPartnersApiFp = function(configuration?: Configuration) {
|
|
|
312
312
|
* @param {*} [options] Override http request option.
|
|
313
313
|
* @throws {RequiredError}
|
|
314
314
|
*/
|
|
315
|
-
async listClaimPartners(authorization?: string, pageSize?:
|
|
315
|
+
async listClaimPartners(authorization?: string, pageSize?: number, pageToken?: string, 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
|
},
|
|
@@ -327,7 +327,7 @@ export const ClaimPartnersApiFactory = function (configuration?: Configuration,
|
|
|
327
327
|
const localVarFp = ClaimPartnersApiFp(configuration)
|
|
328
328
|
return {
|
|
329
329
|
/**
|
|
330
|
-
* This will create a claim partner.
|
|
330
|
+
* This will create a claim partner. **Required Permissions** \"claim-management.partners.create\"
|
|
331
331
|
* @summary Create the claim partner
|
|
332
332
|
* @param {string} claimCode Unique identifier for the claim object.
|
|
333
333
|
* @param {CreateClaimPartnerRequestDto} createClaimPartnerRequestDto
|
|
@@ -339,7 +339,7 @@ export const ClaimPartnersApiFactory = function (configuration?: Configuration,
|
|
|
339
339
|
return localVarFp.createClaimPartner(claimCode, createClaimPartnerRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
340
340
|
},
|
|
341
341
|
/**
|
|
342
|
-
* Permanently deletes the claim partner. Supply the unique id that was returned when you created the claim partner and this will delete it.
|
|
342
|
+
* Permanently deletes the claim partner. Supply the unique id that was returned when you created the claim partner and this will delete it. **Required Permissions** \"claim-management.partners.delete\"
|
|
343
343
|
* @summary Delete the claim partner
|
|
344
344
|
* @param {number} id
|
|
345
345
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -350,7 +350,7 @@ 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. Supply the unique claim partner id that was returned when you created it and Emil Api will return the corresponding claim partner information.
|
|
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. **Required Permissions** \"claim-management.partners.view\"
|
|
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.
|
|
@@ -361,11 +361,11 @@ export const ClaimPartnersApiFactory = function (configuration?: Configuration,
|
|
|
361
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. The claim partners are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
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. **Required Permissions** \"claim-management.partners.view\"
|
|
365
365
|
* @summary List claim partners
|
|
366
366
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
367
|
-
* @param {
|
|
368
|
-
* @param {
|
|
367
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
368
|
+
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
369
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
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
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>
|
|
@@ -374,7 +374,7 @@ export const ClaimPartnersApiFactory = function (configuration?: Configuration,
|
|
|
374
374
|
* @param {*} [options] Override http request option.
|
|
375
375
|
* @throws {RequiredError}
|
|
376
376
|
*/
|
|
377
|
-
listClaimPartners(authorization?: string, pageSize?:
|
|
377
|
+
listClaimPartners(authorization?: string, pageSize?: number, pageToken?: string, 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
|
};
|
|
@@ -465,17 +465,17 @@ export interface ClaimPartnersApiListClaimPartnersRequest {
|
|
|
465
465
|
|
|
466
466
|
/**
|
|
467
467
|
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
468
|
-
* @type {
|
|
468
|
+
* @type {number}
|
|
469
469
|
* @memberof ClaimPartnersApiListClaimPartners
|
|
470
470
|
*/
|
|
471
|
-
readonly pageSize?:
|
|
471
|
+
readonly pageSize?: number
|
|
472
472
|
|
|
473
473
|
/**
|
|
474
|
-
* 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,
|
|
475
|
-
* @type {
|
|
474
|
+
* 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.
|
|
475
|
+
* @type {string}
|
|
476
476
|
* @memberof ClaimPartnersApiListClaimPartners
|
|
477
477
|
*/
|
|
478
|
-
readonly pageToken?:
|
|
478
|
+
readonly pageToken?: string
|
|
479
479
|
|
|
480
480
|
/**
|
|
481
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>
|
|
@@ -521,7 +521,7 @@ export interface ClaimPartnersApiListClaimPartnersRequest {
|
|
|
521
521
|
*/
|
|
522
522
|
export class ClaimPartnersApi extends BaseAPI {
|
|
523
523
|
/**
|
|
524
|
-
* This will create a claim partner.
|
|
524
|
+
* This will create a claim partner. **Required Permissions** \"claim-management.partners.create\"
|
|
525
525
|
* @summary Create the claim partner
|
|
526
526
|
* @param {ClaimPartnersApiCreateClaimPartnerRequest} requestParameters Request parameters.
|
|
527
527
|
* @param {*} [options] Override http request option.
|
|
@@ -533,7 +533,7 @@ export class ClaimPartnersApi extends BaseAPI {
|
|
|
533
533
|
}
|
|
534
534
|
|
|
535
535
|
/**
|
|
536
|
-
* Permanently deletes the claim partner. Supply the unique id that was returned when you created the claim partner and this will delete it.
|
|
536
|
+
* Permanently deletes the claim partner. Supply the unique id that was returned when you created the claim partner and this will delete it. **Required Permissions** \"claim-management.partners.delete\"
|
|
537
537
|
* @summary Delete the claim partner
|
|
538
538
|
* @param {ClaimPartnersApiDeleteClaimPartnerRequest} requestParameters Request parameters.
|
|
539
539
|
* @param {*} [options] Override http request option.
|
|
@@ -545,7 +545,7 @@ export class ClaimPartnersApi extends BaseAPI {
|
|
|
545
545
|
}
|
|
546
546
|
|
|
547
547
|
/**
|
|
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.
|
|
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. **Required Permissions** \"claim-management.partners.view\"
|
|
549
549
|
* @summary Retrieve the claim partner
|
|
550
550
|
* @param {ClaimPartnersApiGetClaimPartnerRequest} requestParameters Request parameters.
|
|
551
551
|
* @param {*} [options] Override http request option.
|
|
@@ -557,7 +557,7 @@ export class ClaimPartnersApi extends BaseAPI {
|
|
|
557
557
|
}
|
|
558
558
|
|
|
559
559
|
/**
|
|
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.
|
|
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. **Required Permissions** \"claim-management.partners.view\"
|
|
561
561
|
* @summary List claim partners
|
|
562
562
|
* @param {ClaimPartnersApiListClaimPartnersRequest} requestParameters Request parameters.
|
|
563
563
|
* @param {*} [options] Override http request option.
|