@emilgroup/claim-sdk-node 1.17.1 → 1.17.2-beta.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
17
17
  Navigate to the folder of your consuming project and run one of the following commands:
18
18
 
19
19
  ```
20
- npm install @emilgroup/claim-sdk-node@1.17.1 --save
20
+ npm install @emilgroup/claim-sdk-node@1.17.2-beta.3 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/claim-sdk-node@1.17.1
24
+ yarn add @emilgroup/claim-sdk-node@1.17.2-beta.3
25
25
  ```
26
26
 
27
27
  And then you can import `ClaimsApi`.
@@ -135,7 +135,7 @@ export const ClaimPartnerRolesApiAxiosParamCreator = function (configuration?: C
135
135
  };
136
136
  },
137
137
  /**
138
- * Retrieves the details of the claim partner role that was previously created. Supply the unique claim partner role code 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.
139
139
  * @summary Retrieve the claim partner role
140
140
  * @param {string} code Unique identifier for the object.
141
141
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -180,20 +180,20 @@ export const ClaimPartnerRolesApiAxiosParamCreator = function (configuration?: C
180
180
  };
181
181
  },
182
182
  /**
183
- * Returns a list of claim partner roles you have previously created. 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.
184
184
  * @summary List claim partner roles
185
185
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
186
186
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
187
187
  * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
188
- * @param {'name' | 'productSlug'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
189
- * @param {'name' | 'productSlug'} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
190
- * @param {'id' | 'name' | 'productSlug' | 'createdAt' | 'updatedAt'} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
191
- * @param {number} [expand] This entity has no expand parameters
192
- * @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
188
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: name, productSlug</i>
189
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: name, productSlug</i>
190
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, name, productSlug, createdAt, updatedAt</i>
191
+ * @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
192
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: name, productSlug</i>
193
193
  * @param {*} [options] Override http request option.
194
194
  * @throws {RequiredError}
195
195
  */
196
- listClaimPartnerRole: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: 'name' | 'productSlug', search?: 'name' | 'productSlug', order?: 'id' | 'name' | 'productSlug' | 'createdAt' | 'updatedAt', expand?: number, filters?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
196
+ listClaimPartnerRole: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: string, order?: string, expand?: any, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
197
197
  const localVarPath = `/v1/claim-partner-roles`;
198
198
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
199
199
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -341,7 +341,7 @@ export const ClaimPartnerRolesApiFp = function(configuration?: Configuration) {
341
341
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
342
342
  },
343
343
  /**
344
- * Retrieves the details of the claim partner role that was previously created. Supply the unique claim partner role code 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.
345
345
  * @summary Retrieve the claim partner role
346
346
  * @param {string} code Unique identifier for the object.
347
347
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -353,20 +353,20 @@ export const ClaimPartnerRolesApiFp = function(configuration?: Configuration) {
353
353
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
354
354
  },
355
355
  /**
356
- * Returns a list of claim partner roles you have previously created. 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.
357
357
  * @summary List claim partner roles
358
358
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
359
359
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
360
360
  * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
361
- * @param {'name' | 'productSlug'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
362
- * @param {'name' | 'productSlug'} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
363
- * @param {'id' | 'name' | 'productSlug' | 'createdAt' | 'updatedAt'} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
364
- * @param {number} [expand] This entity has no expand parameters
365
- * @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
361
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: name, productSlug&lt;/i&gt;
362
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: name, productSlug&lt;/i&gt;
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, name, productSlug, createdAt, updatedAt&lt;/i&gt;
364
+ * @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
365
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: name, productSlug&lt;/i&gt;
366
366
  * @param {*} [options] Override http request option.
367
367
  * @throws {RequiredError}
368
368
  */
369
- async listClaimPartnerRole(authorization?: string, pageSize?: any, pageToken?: any, filter?: 'name' | 'productSlug', search?: 'name' | 'productSlug', order?: 'id' | 'name' | 'productSlug' | 'createdAt' | 'updatedAt', expand?: number, filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListClaimPartnerRolesResponseClass>> {
369
+ async listClaimPartnerRole(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: string, order?: string, expand?: any, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListClaimPartnerRolesResponseClass>> {
370
370
  const localVarAxiosArgs = await localVarAxiosParamCreator.listClaimPartnerRole(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
371
371
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
372
372
  },
@@ -416,7 +416,7 @@ export const ClaimPartnerRolesApiFactory = function (configuration?: Configurati
416
416
  return localVarFp.deleteClaimPartnerRole(code, authorization, options).then((request) => request(axios, basePath));
417
417
  },
418
418
  /**
419
- * Retrieves the details of the claim partner role that was previously created. Supply the unique claim partner role code 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.
420
420
  * @summary Retrieve the claim partner role
421
421
  * @param {string} code Unique identifier for the object.
422
422
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -427,20 +427,20 @@ export const ClaimPartnerRolesApiFactory = function (configuration?: Configurati
427
427
  return localVarFp.getClaimPartnerRole(code, authorization, options).then((request) => request(axios, basePath));
428
428
  },
429
429
  /**
430
- * Returns a list of claim partner roles you have previously created. 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.
431
431
  * @summary List claim partner roles
432
432
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
433
433
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
434
434
  * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
435
- * @param {'name' | 'productSlug'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
436
- * @param {'name' | 'productSlug'} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
437
- * @param {'id' | 'name' | 'productSlug' | 'createdAt' | 'updatedAt'} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
438
- * @param {number} [expand] This entity has no expand parameters
439
- * @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
435
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: name, productSlug&lt;/i&gt;
436
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: name, productSlug&lt;/i&gt;
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, name, productSlug, createdAt, updatedAt&lt;/i&gt;
438
+ * @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
439
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: name, productSlug&lt;/i&gt;
440
440
  * @param {*} [options] Override http request option.
441
441
  * @throws {RequiredError}
442
442
  */
443
- listClaimPartnerRole(authorization?: string, pageSize?: any, pageToken?: any, filter?: 'name' | 'productSlug', search?: 'name' | 'productSlug', order?: 'id' | 'name' | 'productSlug' | 'createdAt' | 'updatedAt', expand?: number, filters?: any, options?: any): AxiosPromise<ListClaimPartnerRolesResponseClass> {
443
+ listClaimPartnerRole(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: string, order?: string, expand?: any, filters?: string, options?: any): AxiosPromise<ListClaimPartnerRolesResponseClass> {
444
444
  return localVarFp.listClaimPartnerRole(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
445
445
  },
446
446
  /**
@@ -549,39 +549,39 @@ export interface ClaimPartnerRolesApiListClaimPartnerRoleRequest {
549
549
  readonly pageToken?: any
550
550
 
551
551
  /**
552
- * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
553
- * @type {'name' | 'productSlug'}
552
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: name, productSlug&lt;/i&gt;
553
+ * @type {string}
554
554
  * @memberof ClaimPartnerRolesApiListClaimPartnerRole
555
555
  */
556
- readonly filter?: 'name' | 'productSlug'
556
+ readonly filter?: string
557
557
 
558
558
  /**
559
- * Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
560
- * @type {'name' | 'productSlug'}
559
+ * Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: name, productSlug&lt;/i&gt;
560
+ * @type {string}
561
561
  * @memberof ClaimPartnerRolesApiListClaimPartnerRole
562
562
  */
563
- readonly search?: 'name' | 'productSlug'
563
+ readonly search?: string
564
564
 
565
565
  /**
566
- * The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
567
- * @type {'id' | 'name' | 'productSlug' | 'createdAt' | 'updatedAt'}
566
+ * Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, name, productSlug, createdAt, updatedAt&lt;/i&gt;
567
+ * @type {string}
568
568
  * @memberof ClaimPartnerRolesApiListClaimPartnerRole
569
569
  */
570
- readonly order?: 'id' | 'name' | 'productSlug' | 'createdAt' | 'updatedAt'
570
+ readonly order?: string
571
571
 
572
572
  /**
573
- * This entity has no expand parameters
574
- * @type {number}
573
+ * Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
574
+ * @type {any}
575
575
  * @memberof ClaimPartnerRolesApiListClaimPartnerRole
576
576
  */
577
- readonly expand?: number
577
+ readonly expand?: any
578
578
 
579
579
  /**
580
- * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
581
- * @type {any}
580
+ * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: name, productSlug&lt;/i&gt;
581
+ * @type {string}
582
582
  * @memberof ClaimPartnerRolesApiListClaimPartnerRole
583
583
  */
584
- readonly filters?: any
584
+ readonly filters?: string
585
585
  }
586
586
 
587
587
  /**
@@ -644,7 +644,7 @@ export class ClaimPartnerRolesApi extends BaseAPI {
644
644
  }
645
645
 
646
646
  /**
647
- * Retrieves the details of the claim partner role that was previously created. Supply the unique claim partner role code 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.
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.
660
660
  * @summary List claim partner roles
661
661
  * @param {ClaimPartnerRolesApiListClaimPartnerRoleRequest} requestParameters Request parameters.
662
662
  * @param {*} [options] Override http request option.
@@ -135,16 +135,16 @@ export const ClaimPartnersApiAxiosParamCreator = function (configuration?: Confi
135
135
  };
136
136
  },
137
137
  /**
138
- * Retrieves the details of the claim partner that was previously created. 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.
139
139
  * @summary Retrieve the claim partner
140
140
  * @param {number} id
141
141
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
142
142
  * @param {*} [options] Override http request option.
143
143
  * @throws {RequiredError}
144
144
  */
145
- getClaimPartnerRole: async (id: number, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
145
+ getClaimPartner: async (id: number, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
146
146
  // verify required parameter 'id' is not null or undefined
147
- assertParamExists('getClaimPartnerRole', 'id', id)
147
+ assertParamExists('getClaimPartner', 'id', id)
148
148
  const localVarPath = `/v1/claim-partners/{id}`
149
149
  .replace(`{${"id"}}`, encodeURIComponent(String(id)));
150
150
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -180,20 +180,20 @@ export const ClaimPartnersApiAxiosParamCreator = function (configuration?: Confi
180
180
  };
181
181
  },
182
182
  /**
183
- * Returns a list of claim partners you have previously created. 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.
184
184
  * @summary List claim partners
185
185
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
186
186
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
187
187
  * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
188
- * @param {'partnerCode' | 'claimPartnerRoleCode' | 'claimCode'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
189
- * @param {'partnerCode' | 'claimPartnerRoleCode' | 'claimCode'} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
190
- * @param {'id' | 'createdAt' | 'updatedAt'} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
191
- * @param {'role' | 'partner'} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
192
- * @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
188
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: partnerCode, claimPartnerRoleCode, claimCode&lt;/i&gt;
189
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: partnerCode, claimPartnerRoleCode, claimCode&lt;/i&gt;
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, updatedAt&lt;/i&gt;
191
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: role, partner.&lt;i&gt;
192
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: partnerCode, claimPartnerRoleCode, claimCode&lt;/i&gt;
193
193
  * @param {*} [options] Override http request option.
194
194
  * @throws {RequiredError}
195
195
  */
196
- listClaimPartners: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: 'partnerCode' | 'claimPartnerRoleCode' | 'claimCode', search?: 'partnerCode' | 'claimPartnerRoleCode' | 'claimCode', order?: 'id' | 'createdAt' | 'updatedAt', expand?: 'role' | 'partner', filters?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
196
+ listClaimPartners: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
197
197
  const localVarPath = `/v1/claim-partners`;
198
198
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
199
199
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -291,32 +291,32 @@ export const ClaimPartnersApiFp = function(configuration?: Configuration) {
291
291
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
292
292
  },
293
293
  /**
294
- * Retrieves the details of the claim partner that was previously created. 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.
295
295
  * @summary Retrieve the claim partner
296
296
  * @param {number} id
297
297
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
298
298
  * @param {*} [options] Override http request option.
299
299
  * @throws {RequiredError}
300
300
  */
301
- async getClaimPartnerRole(id: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetClaimPartnerResponseClass>> {
302
- const localVarAxiosArgs = await localVarAxiosParamCreator.getClaimPartnerRole(id, authorization, options);
301
+ async getClaimPartner(id: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetClaimPartnerResponseClass>> {
302
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getClaimPartner(id, authorization, options);
303
303
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
304
304
  },
305
305
  /**
306
- * Returns a list of claim partners you have previously created. 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.
307
307
  * @summary List claim partners
308
308
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
309
309
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
310
310
  * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
311
- * @param {'partnerCode' | 'claimPartnerRoleCode' | 'claimCode'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
312
- * @param {'partnerCode' | 'claimPartnerRoleCode' | 'claimCode'} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
313
- * @param {'id' | 'createdAt' | 'updatedAt'} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
314
- * @param {'role' | 'partner'} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
315
- * @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
311
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: partnerCode, claimPartnerRoleCode, claimCode&lt;/i&gt;
312
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: partnerCode, claimPartnerRoleCode, claimCode&lt;/i&gt;
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, updatedAt&lt;/i&gt;
314
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: role, partner.&lt;i&gt;
315
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: partnerCode, claimPartnerRoleCode, claimCode&lt;/i&gt;
316
316
  * @param {*} [options] Override http request option.
317
317
  * @throws {RequiredError}
318
318
  */
319
- async listClaimPartners(authorization?: string, pageSize?: any, pageToken?: any, filter?: 'partnerCode' | 'claimPartnerRoleCode' | 'claimCode', search?: 'partnerCode' | 'claimPartnerRoleCode' | 'claimCode', order?: 'id' | 'createdAt' | 'updatedAt', expand?: 'role' | 'partner', filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListClaimPartnersResponseClass>> {
319
+ async listClaimPartners(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListClaimPartnersResponseClass>> {
320
320
  const localVarAxiosArgs = await localVarAxiosParamCreator.listClaimPartners(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
321
321
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
322
322
  },
@@ -354,31 +354,31 @@ export const ClaimPartnersApiFactory = function (configuration?: Configuration,
354
354
  return localVarFp.deleteClaimPartner(id, authorization, options).then((request) => request(axios, basePath));
355
355
  },
356
356
  /**
357
- * Retrieves the details of the claim partner that was previously created. 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.
358
358
  * @summary Retrieve the claim partner
359
359
  * @param {number} id
360
360
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
361
361
  * @param {*} [options] Override http request option.
362
362
  * @throws {RequiredError}
363
363
  */
364
- getClaimPartnerRole(id: number, authorization?: string, options?: any): AxiosPromise<GetClaimPartnerResponseClass> {
365
- return localVarFp.getClaimPartnerRole(id, authorization, options).then((request) => request(axios, basePath));
364
+ getClaimPartner(id: number, authorization?: string, options?: any): AxiosPromise<GetClaimPartnerResponseClass> {
365
+ return localVarFp.getClaimPartner(id, authorization, options).then((request) => request(axios, basePath));
366
366
  },
367
367
  /**
368
- * Returns a list of claim partners you have previously created. 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.
369
369
  * @summary List claim partners
370
370
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
371
371
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
372
372
  * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
373
- * @param {'partnerCode' | 'claimPartnerRoleCode' | 'claimCode'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
374
- * @param {'partnerCode' | 'claimPartnerRoleCode' | 'claimCode'} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
375
- * @param {'id' | 'createdAt' | 'updatedAt'} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
376
- * @param {'role' | 'partner'} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
377
- * @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
373
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: partnerCode, claimPartnerRoleCode, claimCode&lt;/i&gt;
374
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: partnerCode, claimPartnerRoleCode, claimCode&lt;/i&gt;
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, updatedAt&lt;/i&gt;
376
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: role, partner.&lt;i&gt;
377
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: partnerCode, claimPartnerRoleCode, claimCode&lt;/i&gt;
378
378
  * @param {*} [options] Override http request option.
379
379
  * @throws {RequiredError}
380
380
  */
381
- listClaimPartners(authorization?: string, pageSize?: any, pageToken?: any, filter?: 'partnerCode' | 'claimPartnerRoleCode' | 'claimCode', search?: 'partnerCode' | 'claimPartnerRoleCode' | 'claimCode', order?: 'id' | 'createdAt' | 'updatedAt', expand?: 'role' | 'partner', filters?: any, options?: any): AxiosPromise<ListClaimPartnersResponseClass> {
381
+ listClaimPartners(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListClaimPartnersResponseClass> {
382
382
  return localVarFp.listClaimPartners(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
383
383
  },
384
384
  };
@@ -434,22 +434,22 @@ export interface ClaimPartnersApiDeleteClaimPartnerRequest {
434
434
  }
435
435
 
436
436
  /**
437
- * Request parameters for getClaimPartnerRole operation in ClaimPartnersApi.
437
+ * Request parameters for getClaimPartner operation in ClaimPartnersApi.
438
438
  * @export
439
- * @interface ClaimPartnersApiGetClaimPartnerRoleRequest
439
+ * @interface ClaimPartnersApiGetClaimPartnerRequest
440
440
  */
441
- export interface ClaimPartnersApiGetClaimPartnerRoleRequest {
441
+ export interface ClaimPartnersApiGetClaimPartnerRequest {
442
442
  /**
443
443
  *
444
444
  * @type {number}
445
- * @memberof ClaimPartnersApiGetClaimPartnerRole
445
+ * @memberof ClaimPartnersApiGetClaimPartner
446
446
  */
447
447
  readonly id: number
448
448
 
449
449
  /**
450
450
  * Bearer Token: provided by the login endpoint under the name accessToken.
451
451
  * @type {string}
452
- * @memberof ClaimPartnersApiGetClaimPartnerRole
452
+ * @memberof ClaimPartnersApiGetClaimPartner
453
453
  */
454
454
  readonly authorization?: string
455
455
  }
@@ -482,39 +482,39 @@ export interface ClaimPartnersApiListClaimPartnersRequest {
482
482
  readonly pageToken?: any
483
483
 
484
484
  /**
485
- * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
486
- * @type {'partnerCode' | 'claimPartnerRoleCode' | 'claimCode'}
485
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: partnerCode, claimPartnerRoleCode, claimCode&lt;/i&gt;
486
+ * @type {string}
487
487
  * @memberof ClaimPartnersApiListClaimPartners
488
488
  */
489
- readonly filter?: 'partnerCode' | 'claimPartnerRoleCode' | 'claimCode'
489
+ readonly filter?: string
490
490
 
491
491
  /**
492
- * Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
493
- * @type {'partnerCode' | 'claimPartnerRoleCode' | 'claimCode'}
492
+ * Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: partnerCode, claimPartnerRoleCode, claimCode&lt;/i&gt;
493
+ * @type {string}
494
494
  * @memberof ClaimPartnersApiListClaimPartners
495
495
  */
496
- readonly search?: 'partnerCode' | 'claimPartnerRoleCode' | 'claimCode'
496
+ readonly search?: string
497
497
 
498
498
  /**
499
- * The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
500
- * @type {'id' | 'createdAt' | 'updatedAt'}
499
+ * Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, updatedAt&lt;/i&gt;
500
+ * @type {string}
501
501
  * @memberof ClaimPartnersApiListClaimPartners
502
502
  */
503
- readonly order?: 'id' | 'createdAt' | 'updatedAt'
503
+ readonly order?: string
504
504
 
505
505
  /**
506
- * Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
507
- * @type {'role' | 'partner'}
506
+ * Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: role, partner.&lt;i&gt;
507
+ * @type {string}
508
508
  * @memberof ClaimPartnersApiListClaimPartners
509
509
  */
510
- readonly expand?: 'role' | 'partner'
510
+ readonly expand?: string
511
511
 
512
512
  /**
513
- * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
514
- * @type {any}
513
+ * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: partnerCode, claimPartnerRoleCode, claimCode&lt;/i&gt;
514
+ * @type {string}
515
515
  * @memberof ClaimPartnersApiListClaimPartners
516
516
  */
517
- readonly filters?: any
517
+ readonly filters?: string
518
518
  }
519
519
 
520
520
  /**
@@ -549,19 +549,19 @@ export class ClaimPartnersApi extends BaseAPI {
549
549
  }
550
550
 
551
551
  /**
552
- * Retrieves the details of the claim partner that was previously created. 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.
553
553
  * @summary Retrieve the claim partner
554
- * @param {ClaimPartnersApiGetClaimPartnerRoleRequest} requestParameters Request parameters.
554
+ * @param {ClaimPartnersApiGetClaimPartnerRequest} requestParameters Request parameters.
555
555
  * @param {*} [options] Override http request option.
556
556
  * @throws {RequiredError}
557
557
  * @memberof ClaimPartnersApi
558
558
  */
559
- public getClaimPartnerRole(requestParameters: ClaimPartnersApiGetClaimPartnerRoleRequest, options?: AxiosRequestConfig) {
560
- return ClaimPartnersApiFp(this.configuration).getClaimPartnerRole(requestParameters.id, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
559
+ public getClaimPartner(requestParameters: ClaimPartnersApiGetClaimPartnerRequest, options?: AxiosRequestConfig) {
560
+ return ClaimPartnersApiFp(this.configuration).getClaimPartner(requestParameters.id, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
561
561
  }
562
562
 
563
563
  /**
564
- * Returns a list of claim partners you have previously created. 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.
565
565
  * @summary List claim partners
566
566
  * @param {ClaimPartnersApiListClaimPartnersRequest} requestParameters Request parameters.
567
567
  * @param {*} [options] Override http request option.