@emilgroup/claim-sdk-node 1.33.0 → 1.33.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/base.ts +1 -1
- 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/dist/base.js +1 -1
- 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.33.
|
|
20
|
+
npm install @emilgroup/claim-sdk-node@1.33.1-beta.1 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/claim-sdk-node@1.33.
|
|
24
|
+
yarn add @emilgroup/claim-sdk-node@1.33.1-beta.1
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `ClaimsApi`.
|
|
@@ -43,7 +43,7 @@ const FormData = require('form-data');
|
|
|
43
43
|
export const ClaimPartnerRolesApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
44
44
|
return {
|
|
45
45
|
/**
|
|
46
|
-
* This will create a claim partner role.
|
|
46
|
+
* This will create a claim partner role. **Required Permissions** \"claim-management.partner-roles.create\"
|
|
47
47
|
* @summary Create the claim partner role
|
|
48
48
|
* @param {CreateClaimPartnerRoleRequestDto} createClaimPartnerRoleRequestDto
|
|
49
49
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -90,7 +90,7 @@ export const ClaimPartnerRolesApiAxiosParamCreator = function (configuration?: C
|
|
|
90
90
|
};
|
|
91
91
|
},
|
|
92
92
|
/**
|
|
93
|
-
* 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.
|
|
93
|
+
* 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\"
|
|
94
94
|
* @summary Delete the claim partner role
|
|
95
95
|
* @param {string} code Unique identifier for the object.
|
|
96
96
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -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 that was returned when you created it and Emil Api will return the corresponding claim partner role information.
|
|
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. **Required Permissions** \"claim-management.partner-roles.view\"
|
|
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,11 +180,11 @@ export const ClaimPartnerRolesApiAxiosParamCreator = function (configuration?: C
|
|
|
180
180
|
};
|
|
181
181
|
},
|
|
182
182
|
/**
|
|
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.
|
|
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. **Required Permissions** \"claim-management.partner-roles.view\"
|
|
184
184
|
* @summary List claim partner roles
|
|
185
185
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
186
|
-
* @param {
|
|
187
|
-
* @param {
|
|
186
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
187
|
+
* @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.
|
|
188
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
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
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>
|
|
@@ -193,7 +193,7 @@ export const ClaimPartnerRolesApiAxiosParamCreator = function (configuration?: C
|
|
|
193
193
|
* @param {*} [options] Override http request option.
|
|
194
194
|
* @throws {RequiredError}
|
|
195
195
|
*/
|
|
196
|
-
listClaimPartnerRole: async (authorization?: string, pageSize?:
|
|
196
|
+
listClaimPartnerRole: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, 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);
|
|
@@ -256,7 +256,7 @@ export const ClaimPartnerRolesApiAxiosParamCreator = function (configuration?: C
|
|
|
256
256
|
};
|
|
257
257
|
},
|
|
258
258
|
/**
|
|
259
|
-
* Updates the specified claim partner role by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
259
|
+
* 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\"
|
|
260
260
|
* @summary Update the claim partner role
|
|
261
261
|
* @param {string} code Unique identifier for the object.
|
|
262
262
|
* @param {UpdateClaimPartnerRoleRequestDto} updateClaimPartnerRoleRequestDto
|
|
@@ -317,7 +317,7 @@ export const ClaimPartnerRolesApiFp = function(configuration?: Configuration) {
|
|
|
317
317
|
const localVarAxiosParamCreator = ClaimPartnerRolesApiAxiosParamCreator(configuration)
|
|
318
318
|
return {
|
|
319
319
|
/**
|
|
320
|
-
* This will create a claim partner role.
|
|
320
|
+
* This will create a claim partner role. **Required Permissions** \"claim-management.partner-roles.create\"
|
|
321
321
|
* @summary Create the claim partner role
|
|
322
322
|
* @param {CreateClaimPartnerRoleRequestDto} createClaimPartnerRoleRequestDto
|
|
323
323
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -329,7 +329,7 @@ export const ClaimPartnerRolesApiFp = function(configuration?: Configuration) {
|
|
|
329
329
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
330
330
|
},
|
|
331
331
|
/**
|
|
332
|
-
* 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.
|
|
332
|
+
* 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\"
|
|
333
333
|
* @summary Delete the claim partner role
|
|
334
334
|
* @param {string} code Unique identifier for the object.
|
|
335
335
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -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 that was returned when you created it and Emil Api will return the corresponding claim partner role information.
|
|
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. **Required Permissions** \"claim-management.partner-roles.view\"
|
|
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,11 +353,11 @@ 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. The claim partner roles are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
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. **Required Permissions** \"claim-management.partner-roles.view\"
|
|
357
357
|
* @summary List claim partner roles
|
|
358
358
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
359
|
-
* @param {
|
|
360
|
-
* @param {
|
|
359
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
360
|
+
* @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.
|
|
361
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
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
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>
|
|
@@ -366,12 +366,12 @@ export const ClaimPartnerRolesApiFp = function(configuration?: Configuration) {
|
|
|
366
366
|
* @param {*} [options] Override http request option.
|
|
367
367
|
* @throws {RequiredError}
|
|
368
368
|
*/
|
|
369
|
-
async listClaimPartnerRole(authorization?: string, pageSize?:
|
|
369
|
+
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>> {
|
|
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
|
},
|
|
373
373
|
/**
|
|
374
|
-
* Updates the specified claim partner role by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
374
|
+
* 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\"
|
|
375
375
|
* @summary Update the claim partner role
|
|
376
376
|
* @param {string} code Unique identifier for the object.
|
|
377
377
|
* @param {UpdateClaimPartnerRoleRequestDto} updateClaimPartnerRoleRequestDto
|
|
@@ -394,7 +394,7 @@ export const ClaimPartnerRolesApiFactory = function (configuration?: Configurati
|
|
|
394
394
|
const localVarFp = ClaimPartnerRolesApiFp(configuration)
|
|
395
395
|
return {
|
|
396
396
|
/**
|
|
397
|
-
* This will create a claim partner role.
|
|
397
|
+
* This will create a claim partner role. **Required Permissions** \"claim-management.partner-roles.create\"
|
|
398
398
|
* @summary Create the claim partner role
|
|
399
399
|
* @param {CreateClaimPartnerRoleRequestDto} createClaimPartnerRoleRequestDto
|
|
400
400
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -405,7 +405,7 @@ export const ClaimPartnerRolesApiFactory = function (configuration?: Configurati
|
|
|
405
405
|
return localVarFp.createClaimPartnerRole(createClaimPartnerRoleRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
406
406
|
},
|
|
407
407
|
/**
|
|
408
|
-
* 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.
|
|
408
|
+
* 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\"
|
|
409
409
|
* @summary Delete the claim partner role
|
|
410
410
|
* @param {string} code Unique identifier for the object.
|
|
411
411
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -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 that was returned when you created it and Emil Api will return the corresponding claim partner role information.
|
|
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. **Required Permissions** \"claim-management.partner-roles.view\"
|
|
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,11 +427,11 @@ 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. The claim partner roles are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
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. **Required Permissions** \"claim-management.partner-roles.view\"
|
|
431
431
|
* @summary List claim partner roles
|
|
432
432
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
433
|
-
* @param {
|
|
434
|
-
* @param {
|
|
433
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
434
|
+
* @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.
|
|
435
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
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
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>
|
|
@@ -440,11 +440,11 @@ export const ClaimPartnerRolesApiFactory = function (configuration?: Configurati
|
|
|
440
440
|
* @param {*} [options] Override http request option.
|
|
441
441
|
* @throws {RequiredError}
|
|
442
442
|
*/
|
|
443
|
-
listClaimPartnerRole(authorization?: string, pageSize?:
|
|
443
|
+
listClaimPartnerRole(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, 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
|
/**
|
|
447
|
-
* Updates the specified claim partner role by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
447
|
+
* 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\"
|
|
448
448
|
* @summary Update the claim partner role
|
|
449
449
|
* @param {string} code Unique identifier for the object.
|
|
450
450
|
* @param {UpdateClaimPartnerRoleRequestDto} updateClaimPartnerRoleRequestDto
|
|
@@ -536,17 +536,17 @@ export interface ClaimPartnerRolesApiListClaimPartnerRoleRequest {
|
|
|
536
536
|
|
|
537
537
|
/**
|
|
538
538
|
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
539
|
-
* @type {
|
|
539
|
+
* @type {number}
|
|
540
540
|
* @memberof ClaimPartnerRolesApiListClaimPartnerRole
|
|
541
541
|
*/
|
|
542
|
-
readonly pageSize?:
|
|
542
|
+
readonly pageSize?: number
|
|
543
543
|
|
|
544
544
|
/**
|
|
545
|
-
* 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,
|
|
546
|
-
* @type {
|
|
545
|
+
* 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.
|
|
546
|
+
* @type {string}
|
|
547
547
|
* @memberof ClaimPartnerRolesApiListClaimPartnerRole
|
|
548
548
|
*/
|
|
549
|
-
readonly pageToken?:
|
|
549
|
+
readonly pageToken?: string
|
|
550
550
|
|
|
551
551
|
/**
|
|
552
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>
|
|
@@ -620,7 +620,7 @@ export interface ClaimPartnerRolesApiUpdateClaimPartnerRoleRequest {
|
|
|
620
620
|
*/
|
|
621
621
|
export class ClaimPartnerRolesApi extends BaseAPI {
|
|
622
622
|
/**
|
|
623
|
-
* This will create a claim partner role.
|
|
623
|
+
* This will create a claim partner role. **Required Permissions** \"claim-management.partner-roles.create\"
|
|
624
624
|
* @summary Create the claim partner role
|
|
625
625
|
* @param {ClaimPartnerRolesApiCreateClaimPartnerRoleRequest} requestParameters Request parameters.
|
|
626
626
|
* @param {*} [options] Override http request option.
|
|
@@ -632,7 +632,7 @@ export class ClaimPartnerRolesApi extends BaseAPI {
|
|
|
632
632
|
}
|
|
633
633
|
|
|
634
634
|
/**
|
|
635
|
-
* 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.
|
|
635
|
+
* 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\"
|
|
636
636
|
* @summary Delete the claim partner role
|
|
637
637
|
* @param {ClaimPartnerRolesApiDeleteClaimPartnerRoleRequest} requestParameters Request parameters.
|
|
638
638
|
* @param {*} [options] Override http request option.
|
|
@@ -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 that was returned when you created it and Emil Api will return the corresponding claim partner role information.
|
|
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. **Required Permissions** \"claim-management.partner-roles.view\"
|
|
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. The claim partner roles are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
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. **Required Permissions** \"claim-management.partner-roles.view\"
|
|
660
660
|
* @summary List claim partner roles
|
|
661
661
|
* @param {ClaimPartnerRolesApiListClaimPartnerRoleRequest} requestParameters Request parameters.
|
|
662
662
|
* @param {*} [options] Override http request option.
|
|
@@ -668,7 +668,7 @@ export class ClaimPartnerRolesApi extends BaseAPI {
|
|
|
668
668
|
}
|
|
669
669
|
|
|
670
670
|
/**
|
|
671
|
-
* Updates the specified claim partner role by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
671
|
+
* 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\"
|
|
672
672
|
* @summary Update the claim partner role
|
|
673
673
|
* @param {ClaimPartnerRolesApiUpdateClaimPartnerRoleRequest} requestParameters Request parameters.
|
|
674
674
|
* @param {*} [options] Override http request option.
|
|
@@ -39,7 +39,7 @@ const FormData = require('form-data');
|
|
|
39
39
|
export const ClaimPartnersApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
40
40
|
return {
|
|
41
41
|
/**
|
|
42
|
-
* This will create a claim partner.
|
|
42
|
+
* This will create a claim partner. **Required Permissions** \"claim-management.partners.create\"
|
|
43
43
|
* @summary Create the claim partner
|
|
44
44
|
* @param {string} claimCode Unique identifier for the claim object.
|
|
45
45
|
* @param {CreateClaimPartnerRequestDto} createClaimPartnerRequestDto
|
|
@@ -90,7 +90,7 @@ export const ClaimPartnersApiAxiosParamCreator = function (configuration?: Confi
|
|
|
90
90
|
};
|
|
91
91
|
},
|
|
92
92
|
/**
|
|
93
|
-
* Permanently deletes the claim partner. Supply the unique id that was returned when you created the claim partner and this will delete it.
|
|
93
|
+
* 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\"
|
|
94
94
|
* @summary Delete the claim partner
|
|
95
95
|
* @param {number} id
|
|
96
96
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -135,7 +135,7 @@ export const ClaimPartnersApiAxiosParamCreator = function (configuration?: Confi
|
|
|
135
135
|
};
|
|
136
136
|
},
|
|
137
137
|
/**
|
|
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.
|
|
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. **Required Permissions** \"claim-management.partners.view\"
|
|
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.
|
|
@@ -180,11 +180,11 @@ export const ClaimPartnersApiAxiosParamCreator = function (configuration?: Confi
|
|
|
180
180
|
};
|
|
181
181
|
},
|
|
182
182
|
/**
|
|
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.
|
|
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. **Required Permissions** \"claim-management.partners.view\"
|
|
184
184
|
* @summary List claim partners
|
|
185
185
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
186
|
-
* @param {
|
|
187
|
-
* @param {
|
|
186
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
187
|
+
* @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.
|
|
188
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
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
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>
|
|
@@ -193,7 +193,7 @@ export const ClaimPartnersApiAxiosParamCreator = function (configuration?: Confi
|
|
|
193
193
|
* @param {*} [options] Override http request option.
|
|
194
194
|
* @throws {RequiredError}
|
|
195
195
|
*/
|
|
196
|
-
listClaimPartners: async (authorization?: string, pageSize?:
|
|
196
|
+
listClaimPartners: async (authorization?: string, pageSize?: number, pageToken?: string, 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);
|
|
@@ -266,7 +266,7 @@ export const ClaimPartnersApiFp = function(configuration?: Configuration) {
|
|
|
266
266
|
const localVarAxiosParamCreator = ClaimPartnersApiAxiosParamCreator(configuration)
|
|
267
267
|
return {
|
|
268
268
|
/**
|
|
269
|
-
* This will create a claim partner.
|
|
269
|
+
* This will create a claim partner. **Required Permissions** \"claim-management.partners.create\"
|
|
270
270
|
* @summary Create the claim partner
|
|
271
271
|
* @param {string} claimCode Unique identifier for the claim object.
|
|
272
272
|
* @param {CreateClaimPartnerRequestDto} createClaimPartnerRequestDto
|
|
@@ -279,7 +279,7 @@ export const ClaimPartnersApiFp = function(configuration?: Configuration) {
|
|
|
279
279
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
280
280
|
},
|
|
281
281
|
/**
|
|
282
|
-
* Permanently deletes the claim partner. Supply the unique id that was returned when you created the claim partner and this will delete it.
|
|
282
|
+
* 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\"
|
|
283
283
|
* @summary Delete the claim partner
|
|
284
284
|
* @param {number} id
|
|
285
285
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -291,7 +291,7 @@ 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. Supply the unique claim partner id that was returned when you created it and Emil Api will return the corresponding claim partner information.
|
|
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. **Required Permissions** \"claim-management.partners.view\"
|
|
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.
|
|
@@ -303,11 +303,11 @@ export const ClaimPartnersApiFp = function(configuration?: Configuration) {
|
|
|
303
303
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
304
304
|
},
|
|
305
305
|
/**
|
|
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.
|
|
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. **Required Permissions** \"claim-management.partners.view\"
|
|
307
307
|
* @summary List claim partners
|
|
308
308
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
309
|
-
* @param {
|
|
310
|
-
* @param {
|
|
309
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
310
|
+
* @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.
|
|
311
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
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
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>
|
|
@@ -316,7 +316,7 @@ export const ClaimPartnersApiFp = function(configuration?: Configuration) {
|
|
|
316
316
|
* @param {*} [options] Override http request option.
|
|
317
317
|
* @throws {RequiredError}
|
|
318
318
|
*/
|
|
319
|
-
async listClaimPartners(authorization?: string, pageSize?:
|
|
319
|
+
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>> {
|
|
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
|
},
|
|
@@ -331,7 +331,7 @@ export const ClaimPartnersApiFactory = function (configuration?: Configuration,
|
|
|
331
331
|
const localVarFp = ClaimPartnersApiFp(configuration)
|
|
332
332
|
return {
|
|
333
333
|
/**
|
|
334
|
-
* This will create a claim partner.
|
|
334
|
+
* This will create a claim partner. **Required Permissions** \"claim-management.partners.create\"
|
|
335
335
|
* @summary Create the claim partner
|
|
336
336
|
* @param {string} claimCode Unique identifier for the claim object.
|
|
337
337
|
* @param {CreateClaimPartnerRequestDto} createClaimPartnerRequestDto
|
|
@@ -343,7 +343,7 @@ export const ClaimPartnersApiFactory = function (configuration?: Configuration,
|
|
|
343
343
|
return localVarFp.createClaimPartner(claimCode, createClaimPartnerRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
344
344
|
},
|
|
345
345
|
/**
|
|
346
|
-
* Permanently deletes the claim partner. Supply the unique id that was returned when you created the claim partner and this will delete it.
|
|
346
|
+
* 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\"
|
|
347
347
|
* @summary Delete the claim partner
|
|
348
348
|
* @param {number} id
|
|
349
349
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -354,7 +354,7 @@ 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. Supply the unique claim partner id that was returned when you created it and Emil Api will return the corresponding claim partner information.
|
|
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. **Required Permissions** \"claim-management.partners.view\"
|
|
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.
|
|
@@ -365,11 +365,11 @@ export const ClaimPartnersApiFactory = function (configuration?: Configuration,
|
|
|
365
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. The claim partners are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
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. **Required Permissions** \"claim-management.partners.view\"
|
|
369
369
|
* @summary List claim partners
|
|
370
370
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
371
|
-
* @param {
|
|
372
|
-
* @param {
|
|
371
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
372
|
+
* @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.
|
|
373
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
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
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>
|
|
@@ -378,7 +378,7 @@ export const ClaimPartnersApiFactory = function (configuration?: Configuration,
|
|
|
378
378
|
* @param {*} [options] Override http request option.
|
|
379
379
|
* @throws {RequiredError}
|
|
380
380
|
*/
|
|
381
|
-
listClaimPartners(authorization?: string, pageSize?:
|
|
381
|
+
listClaimPartners(authorization?: string, pageSize?: number, pageToken?: string, 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
|
};
|
|
@@ -469,17 +469,17 @@ export interface ClaimPartnersApiListClaimPartnersRequest {
|
|
|
469
469
|
|
|
470
470
|
/**
|
|
471
471
|
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
472
|
-
* @type {
|
|
472
|
+
* @type {number}
|
|
473
473
|
* @memberof ClaimPartnersApiListClaimPartners
|
|
474
474
|
*/
|
|
475
|
-
readonly pageSize?:
|
|
475
|
+
readonly pageSize?: number
|
|
476
476
|
|
|
477
477
|
/**
|
|
478
|
-
* 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,
|
|
479
|
-
* @type {
|
|
478
|
+
* 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.
|
|
479
|
+
* @type {string}
|
|
480
480
|
* @memberof ClaimPartnersApiListClaimPartners
|
|
481
481
|
*/
|
|
482
|
-
readonly pageToken?:
|
|
482
|
+
readonly pageToken?: string
|
|
483
483
|
|
|
484
484
|
/**
|
|
485
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>
|
|
@@ -525,7 +525,7 @@ export interface ClaimPartnersApiListClaimPartnersRequest {
|
|
|
525
525
|
*/
|
|
526
526
|
export class ClaimPartnersApi extends BaseAPI {
|
|
527
527
|
/**
|
|
528
|
-
* This will create a claim partner.
|
|
528
|
+
* This will create a claim partner. **Required Permissions** \"claim-management.partners.create\"
|
|
529
529
|
* @summary Create the claim partner
|
|
530
530
|
* @param {ClaimPartnersApiCreateClaimPartnerRequest} requestParameters Request parameters.
|
|
531
531
|
* @param {*} [options] Override http request option.
|
|
@@ -537,7 +537,7 @@ export class ClaimPartnersApi extends BaseAPI {
|
|
|
537
537
|
}
|
|
538
538
|
|
|
539
539
|
/**
|
|
540
|
-
* Permanently deletes the claim partner. Supply the unique id that was returned when you created the claim partner and this will delete it.
|
|
540
|
+
* 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\"
|
|
541
541
|
* @summary Delete the claim partner
|
|
542
542
|
* @param {ClaimPartnersApiDeleteClaimPartnerRequest} requestParameters Request parameters.
|
|
543
543
|
* @param {*} [options] Override http request option.
|
|
@@ -549,7 +549,7 @@ export class ClaimPartnersApi extends BaseAPI {
|
|
|
549
549
|
}
|
|
550
550
|
|
|
551
551
|
/**
|
|
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.
|
|
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. **Required Permissions** \"claim-management.partners.view\"
|
|
553
553
|
* @summary Retrieve the claim partner
|
|
554
554
|
* @param {ClaimPartnersApiGetClaimPartnerRequest} requestParameters Request parameters.
|
|
555
555
|
* @param {*} [options] Override http request option.
|
|
@@ -561,7 +561,7 @@ export class ClaimPartnersApi extends BaseAPI {
|
|
|
561
561
|
}
|
|
562
562
|
|
|
563
563
|
/**
|
|
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.
|
|
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. **Required Permissions** \"claim-management.partners.view\"
|
|
565
565
|
* @summary List claim partners
|
|
566
566
|
* @param {ClaimPartnersApiListClaimPartnersRequest} requestParameters Request parameters.
|
|
567
567
|
* @param {*} [options] Override http request option.
|