@emilgroup/claim-sdk 1.17.2-beta.0 → 1.17.2-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 CHANGED
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
17
17
  Navigate to the folder of your consuming project and run one of the following commands:
18
18
 
19
19
  ```
20
- npm install @emilgroup/claim-sdk@1.17.2-beta.0 --save
20
+ npm install @emilgroup/claim-sdk@1.17.2-beta.1 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/claim-sdk@1.17.2-beta.0
24
+ yarn add @emilgroup/claim-sdk@1.17.2-beta.1
25
25
  ```
26
26
 
27
27
  And then you can import `ClaimsApi`.
@@ -131,7 +131,7 @@ export const ClaimPartnerRolesApiAxiosParamCreator = function (configuration?: C
131
131
  };
132
132
  },
133
133
  /**
134
- * Retrieves the details of the claim partner role that was previously created. Supply the unique claim partner role code that was returned when you created it and Emil Api will return the corresponding claim partner role information.
134
+ * Retrieves the details of the claim partner role that was previously created. Supply the unique claim partner role code that was returned when you created it and Emil Api will return the corresponding claim partner role information.
135
135
  * @summary Retrieve the claim partner role
136
136
  * @param {string} code Unique identifier for the object.
137
137
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -176,20 +176,20 @@ export const ClaimPartnerRolesApiAxiosParamCreator = function (configuration?: C
176
176
  };
177
177
  },
178
178
  /**
179
- * Returns a list of claim partner roles you have previously created. The claim partner roles are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
179
+ * Returns a list of claim partner roles you have previously created. The claim partner roles are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
180
180
  * @summary List claim partner roles
181
181
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
182
182
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
183
183
  * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
184
- * @param {'name' | 'productSlug'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
185
- * @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.
186
- * @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.
187
- * @param {number} [expand] This entity has no expand parameters
188
- * @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.
184
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: name, productSlug</i>
185
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: name, productSlug</i>
186
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, name, productSlug, createdAt, updatedAt</i>
187
+ * @param {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.
188
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: name, productSlug</i>
189
189
  * @param {*} [options] Override http request option.
190
190
  * @throws {RequiredError}
191
191
  */
192
- listClaimPartnerRole: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: 'name' | 'productSlug', search?: 'name' | 'productSlug', order?: 'id' | 'name' | 'productSlug' | 'createdAt' | 'updatedAt', expand?: number, filters?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
192
+ listClaimPartnerRole: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: string, order?: string, expand?: any, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
193
193
  const localVarPath = `/v1/claim-partner-roles`;
194
194
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
195
195
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -337,7 +337,7 @@ export const ClaimPartnerRolesApiFp = function(configuration?: Configuration) {
337
337
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
338
338
  },
339
339
  /**
340
- * Retrieves the details of the claim partner role that was previously created. Supply the unique claim partner role code that was returned when you created it and Emil Api will return the corresponding claim partner role information.
340
+ * Retrieves the details of the claim partner role that was previously created. Supply the unique claim partner role code that was returned when you created it and Emil Api will return the corresponding claim partner role information.
341
341
  * @summary Retrieve the claim partner role
342
342
  * @param {string} code Unique identifier for the object.
343
343
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -349,20 +349,20 @@ export const ClaimPartnerRolesApiFp = function(configuration?: Configuration) {
349
349
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
350
350
  },
351
351
  /**
352
- * Returns a list of claim partner roles you have previously created. The claim partner roles are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
352
+ * Returns a list of claim partner roles you have previously created. The claim partner roles are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
353
353
  * @summary List claim partner roles
354
354
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
355
355
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
356
356
  * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
357
- * @param {'name' | 'productSlug'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
358
- * @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.
359
- * @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.
360
- * @param {number} [expand] This entity has no expand parameters
361
- * @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.
357
+ * @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;
358
+ * @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;
359
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, name, productSlug, createdAt, updatedAt&lt;/i&gt;
360
+ * @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.
361
+ * @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;
362
362
  * @param {*} [options] Override http request option.
363
363
  * @throws {RequiredError}
364
364
  */
365
- 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>> {
365
+ 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>> {
366
366
  const localVarAxiosArgs = await localVarAxiosParamCreator.listClaimPartnerRole(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
367
367
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
368
368
  },
@@ -412,7 +412,7 @@ export const ClaimPartnerRolesApiFactory = function (configuration?: Configurati
412
412
  return localVarFp.deleteClaimPartnerRole(code, authorization, options).then((request) => request(axios, basePath));
413
413
  },
414
414
  /**
415
- * Retrieves the details of the claim partner role that was previously created. Supply the unique claim partner role code that was returned when you created it and Emil Api will return the corresponding claim partner role information.
415
+ * Retrieves the details of the claim partner role that was previously created. Supply the unique claim partner role code that was returned when you created it and Emil Api will return the corresponding claim partner role information.
416
416
  * @summary Retrieve the claim partner role
417
417
  * @param {string} code Unique identifier for the object.
418
418
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -423,20 +423,20 @@ export const ClaimPartnerRolesApiFactory = function (configuration?: Configurati
423
423
  return localVarFp.getClaimPartnerRole(code, authorization, options).then((request) => request(axios, basePath));
424
424
  },
425
425
  /**
426
- * Returns a list of claim partner roles you have previously created. The claim partner roles are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
426
+ * Returns a list of claim partner roles you have previously created. The claim partner roles are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
427
427
  * @summary List claim partner roles
428
428
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
429
429
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
430
430
  * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
431
- * @param {'name' | 'productSlug'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
432
- * @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.
433
- * @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.
434
- * @param {number} [expand] This entity has no expand parameters
435
- * @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.
431
+ * @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;
432
+ * @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;
433
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, name, productSlug, createdAt, updatedAt&lt;/i&gt;
434
+ * @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.
435
+ * @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;
436
436
  * @param {*} [options] Override http request option.
437
437
  * @throws {RequiredError}
438
438
  */
439
- 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> {
439
+ listClaimPartnerRole(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: string, order?: string, expand?: any, filters?: string, options?: any): AxiosPromise<ListClaimPartnerRolesResponseClass> {
440
440
  return localVarFp.listClaimPartnerRole(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
441
441
  },
442
442
  /**
@@ -545,39 +545,39 @@ export interface ClaimPartnerRolesApiListClaimPartnerRoleRequest {
545
545
  readonly pageToken?: any
546
546
 
547
547
  /**
548
- * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
549
- * @type {'name' | 'productSlug'}
548
+ * 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;
549
+ * @type {string}
550
550
  * @memberof ClaimPartnerRolesApiListClaimPartnerRole
551
551
  */
552
- readonly filter?: 'name' | 'productSlug'
552
+ readonly filter?: string
553
553
 
554
554
  /**
555
- * 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.
556
- * @type {'name' | 'productSlug'}
555
+ * 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;
556
+ * @type {string}
557
557
  * @memberof ClaimPartnerRolesApiListClaimPartnerRole
558
558
  */
559
- readonly search?: 'name' | 'productSlug'
559
+ readonly search?: string
560
560
 
561
561
  /**
562
- * 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.
563
- * @type {'id' | 'name' | 'productSlug' | 'createdAt' | 'updatedAt'}
562
+ * 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;
563
+ * @type {string}
564
564
  * @memberof ClaimPartnerRolesApiListClaimPartnerRole
565
565
  */
566
- readonly order?: 'id' | 'name' | 'productSlug' | 'createdAt' | 'updatedAt'
566
+ readonly order?: string
567
567
 
568
568
  /**
569
- * This entity has no expand parameters
570
- * @type {number}
569
+ * 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.
570
+ * @type {any}
571
571
  * @memberof ClaimPartnerRolesApiListClaimPartnerRole
572
572
  */
573
- readonly expand?: number
573
+ readonly expand?: any
574
574
 
575
575
  /**
576
- * 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.
577
- * @type {any}
576
+ * 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;
577
+ * @type {string}
578
578
  * @memberof ClaimPartnerRolesApiListClaimPartnerRole
579
579
  */
580
- readonly filters?: any
580
+ readonly filters?: string
581
581
  }
582
582
 
583
583
  /**
@@ -640,7 +640,7 @@ export class ClaimPartnerRolesApi extends BaseAPI {
640
640
  }
641
641
 
642
642
  /**
643
- * Retrieves the details of the claim partner role that was previously created. Supply the unique claim partner role code that was returned when you created it and Emil Api will return the corresponding claim partner role information.
643
+ * Retrieves the details of the claim partner role that was previously created. Supply the unique claim partner role code that was returned when you created it and Emil Api will return the corresponding claim partner role information.
644
644
  * @summary Retrieve the claim partner role
645
645
  * @param {ClaimPartnerRolesApiGetClaimPartnerRoleRequest} requestParameters Request parameters.
646
646
  * @param {*} [options] Override http request option.
@@ -652,7 +652,7 @@ export class ClaimPartnerRolesApi extends BaseAPI {
652
652
  }
653
653
 
654
654
  /**
655
- * Returns a list of claim partner roles you have previously created. The claim partner roles are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
655
+ * Returns a list of claim partner roles you have previously created. The claim partner roles are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
656
656
  * @summary List claim partner roles
657
657
  * @param {ClaimPartnerRolesApiListClaimPartnerRoleRequest} requestParameters Request parameters.
658
658
  * @param {*} [options] Override http request option.
@@ -131,16 +131,16 @@ export const ClaimPartnersApiAxiosParamCreator = function (configuration?: Confi
131
131
  };
132
132
  },
133
133
  /**
134
- * Retrieves the details of the claim partner that was previously created. Supply the unique claim partner id that was returned when you created it and Emil Api will return the corresponding claim partner information.
134
+ * Retrieves the details of the claim partner that was previously created. Supply the unique claim partner id that was returned when you created it and Emil Api will return the corresponding claim partner information.
135
135
  * @summary Retrieve the claim partner
136
136
  * @param {number} id
137
137
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
138
138
  * @param {*} [options] Override http request option.
139
139
  * @throws {RequiredError}
140
140
  */
141
- getClaimPartnerRole: async (id: number, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
141
+ getClaimPartner: async (id: number, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
142
142
  // verify required parameter 'id' is not null or undefined
143
- assertParamExists('getClaimPartnerRole', 'id', id)
143
+ assertParamExists('getClaimPartner', 'id', id)
144
144
  const localVarPath = `/v1/claim-partners/{id}`
145
145
  .replace(`{${"id"}}`, encodeURIComponent(String(id)));
146
146
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -176,20 +176,20 @@ export const ClaimPartnersApiAxiosParamCreator = function (configuration?: Confi
176
176
  };
177
177
  },
178
178
  /**
179
- * Returns a list of claim partners you have previously created. The claim partners are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
179
+ * Returns a list of claim partners you have previously created. The claim partners are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
180
180
  * @summary List claim partners
181
181
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
182
182
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
183
183
  * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
184
- * @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.
185
- * @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.
186
- * @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.
187
- * @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.
188
- * @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.
184
+ * @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;
185
+ * @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;
186
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, updatedAt&lt;/i&gt;
187
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: role, partner.&lt;i&gt;
188
+ * @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;
189
189
  * @param {*} [options] Override http request option.
190
190
  * @throws {RequiredError}
191
191
  */
192
- 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> => {
192
+ listClaimPartners: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
193
193
  const localVarPath = `/v1/claim-partners`;
194
194
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
195
195
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -287,32 +287,32 @@ export const ClaimPartnersApiFp = function(configuration?: Configuration) {
287
287
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
288
288
  },
289
289
  /**
290
- * Retrieves the details of the claim partner that was previously created. Supply the unique claim partner id that was returned when you created it and Emil Api will return the corresponding claim partner information.
290
+ * Retrieves the details of the claim partner that was previously created. Supply the unique claim partner id that was returned when you created it and Emil Api will return the corresponding claim partner information.
291
291
  * @summary Retrieve the claim partner
292
292
  * @param {number} id
293
293
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
294
294
  * @param {*} [options] Override http request option.
295
295
  * @throws {RequiredError}
296
296
  */
297
- async getClaimPartnerRole(id: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetClaimPartnerResponseClass>> {
298
- const localVarAxiosArgs = await localVarAxiosParamCreator.getClaimPartnerRole(id, authorization, options);
297
+ async getClaimPartner(id: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetClaimPartnerResponseClass>> {
298
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getClaimPartner(id, authorization, options);
299
299
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
300
300
  },
301
301
  /**
302
- * Returns a list of claim partners you have previously created. The claim partners are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
302
+ * Returns a list of claim partners you have previously created. The claim partners are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
303
303
  * @summary List claim partners
304
304
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
305
305
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
306
306
  * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
307
- * @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.
308
- * @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.
309
- * @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.
310
- * @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.
311
- * @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.
307
+ * @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;
308
+ * @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;
309
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, updatedAt&lt;/i&gt;
310
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: role, partner.&lt;i&gt;
311
+ * @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;
312
312
  * @param {*} [options] Override http request option.
313
313
  * @throws {RequiredError}
314
314
  */
315
- 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>> {
315
+ async listClaimPartners(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListClaimPartnersResponseClass>> {
316
316
  const localVarAxiosArgs = await localVarAxiosParamCreator.listClaimPartners(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
317
317
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
318
318
  },
@@ -350,31 +350,31 @@ export const ClaimPartnersApiFactory = function (configuration?: Configuration,
350
350
  return localVarFp.deleteClaimPartner(id, authorization, options).then((request) => request(axios, basePath));
351
351
  },
352
352
  /**
353
- * Retrieves the details of the claim partner that was previously created. Supply the unique claim partner id that was returned when you created it and Emil Api will return the corresponding claim partner information.
353
+ * Retrieves the details of the claim partner that was previously created. Supply the unique claim partner id that was returned when you created it and Emil Api will return the corresponding claim partner information.
354
354
  * @summary Retrieve the claim partner
355
355
  * @param {number} id
356
356
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
357
357
  * @param {*} [options] Override http request option.
358
358
  * @throws {RequiredError}
359
359
  */
360
- getClaimPartnerRole(id: number, authorization?: string, options?: any): AxiosPromise<GetClaimPartnerResponseClass> {
361
- return localVarFp.getClaimPartnerRole(id, authorization, options).then((request) => request(axios, basePath));
360
+ getClaimPartner(id: number, authorization?: string, options?: any): AxiosPromise<GetClaimPartnerResponseClass> {
361
+ return localVarFp.getClaimPartner(id, authorization, options).then((request) => request(axios, basePath));
362
362
  },
363
363
  /**
364
- * Returns a list of claim partners you have previously created. The claim partners are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
364
+ * Returns a list of claim partners you have previously created. The claim partners are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
365
365
  * @summary List claim partners
366
366
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
367
367
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
368
368
  * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
369
- * @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.
370
- * @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.
371
- * @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.
372
- * @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.
373
- * @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.
369
+ * @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;
370
+ * @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;
371
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, updatedAt&lt;/i&gt;
372
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: role, partner.&lt;i&gt;
373
+ * @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;
374
374
  * @param {*} [options] Override http request option.
375
375
  * @throws {RequiredError}
376
376
  */
377
- 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> {
377
+ listClaimPartners(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListClaimPartnersResponseClass> {
378
378
  return localVarFp.listClaimPartners(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
379
379
  },
380
380
  };
@@ -430,22 +430,22 @@ export interface ClaimPartnersApiDeleteClaimPartnerRequest {
430
430
  }
431
431
 
432
432
  /**
433
- * Request parameters for getClaimPartnerRole operation in ClaimPartnersApi.
433
+ * Request parameters for getClaimPartner operation in ClaimPartnersApi.
434
434
  * @export
435
- * @interface ClaimPartnersApiGetClaimPartnerRoleRequest
435
+ * @interface ClaimPartnersApiGetClaimPartnerRequest
436
436
  */
437
- export interface ClaimPartnersApiGetClaimPartnerRoleRequest {
437
+ export interface ClaimPartnersApiGetClaimPartnerRequest {
438
438
  /**
439
439
  *
440
440
  * @type {number}
441
- * @memberof ClaimPartnersApiGetClaimPartnerRole
441
+ * @memberof ClaimPartnersApiGetClaimPartner
442
442
  */
443
443
  readonly id: number
444
444
 
445
445
  /**
446
446
  * Bearer Token: provided by the login endpoint under the name accessToken.
447
447
  * @type {string}
448
- * @memberof ClaimPartnersApiGetClaimPartnerRole
448
+ * @memberof ClaimPartnersApiGetClaimPartner
449
449
  */
450
450
  readonly authorization?: string
451
451
  }
@@ -478,39 +478,39 @@ export interface ClaimPartnersApiListClaimPartnersRequest {
478
478
  readonly pageToken?: any
479
479
 
480
480
  /**
481
- * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
482
- * @type {'partnerCode' | 'claimPartnerRoleCode' | 'claimCode'}
481
+ * 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;
482
+ * @type {string}
483
483
  * @memberof ClaimPartnersApiListClaimPartners
484
484
  */
485
- readonly filter?: 'partnerCode' | 'claimPartnerRoleCode' | 'claimCode'
485
+ readonly filter?: string
486
486
 
487
487
  /**
488
- * 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.
489
- * @type {'partnerCode' | 'claimPartnerRoleCode' | 'claimCode'}
488
+ * 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;
489
+ * @type {string}
490
490
  * @memberof ClaimPartnersApiListClaimPartners
491
491
  */
492
- readonly search?: 'partnerCode' | 'claimPartnerRoleCode' | 'claimCode'
492
+ readonly search?: string
493
493
 
494
494
  /**
495
- * 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.
496
- * @type {'id' | 'createdAt' | 'updatedAt'}
495
+ * 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;
496
+ * @type {string}
497
497
  * @memberof ClaimPartnersApiListClaimPartners
498
498
  */
499
- readonly order?: 'id' | 'createdAt' | 'updatedAt'
499
+ readonly order?: string
500
500
 
501
501
  /**
502
- * 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.
503
- * @type {'role' | 'partner'}
502
+ * Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: role, partner.&lt;i&gt;
503
+ * @type {string}
504
504
  * @memberof ClaimPartnersApiListClaimPartners
505
505
  */
506
- readonly expand?: 'role' | 'partner'
506
+ readonly expand?: string
507
507
 
508
508
  /**
509
- * 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.
510
- * @type {any}
509
+ * 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;
510
+ * @type {string}
511
511
  * @memberof ClaimPartnersApiListClaimPartners
512
512
  */
513
- readonly filters?: any
513
+ readonly filters?: string
514
514
  }
515
515
 
516
516
  /**
@@ -545,19 +545,19 @@ export class ClaimPartnersApi extends BaseAPI {
545
545
  }
546
546
 
547
547
  /**
548
- * Retrieves the details of the claim partner that was previously created. Supply the unique claim partner id that was returned when you created it and Emil Api will return the corresponding claim partner information.
548
+ * Retrieves the details of the claim partner that was previously created. Supply the unique claim partner id that was returned when you created it and Emil Api will return the corresponding claim partner information.
549
549
  * @summary Retrieve the claim partner
550
- * @param {ClaimPartnersApiGetClaimPartnerRoleRequest} requestParameters Request parameters.
550
+ * @param {ClaimPartnersApiGetClaimPartnerRequest} requestParameters Request parameters.
551
551
  * @param {*} [options] Override http request option.
552
552
  * @throws {RequiredError}
553
553
  * @memberof ClaimPartnersApi
554
554
  */
555
- public getClaimPartnerRole(requestParameters: ClaimPartnersApiGetClaimPartnerRoleRequest, options?: AxiosRequestConfig) {
556
- return ClaimPartnersApiFp(this.configuration).getClaimPartnerRole(requestParameters.id, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
555
+ public getClaimPartner(requestParameters: ClaimPartnersApiGetClaimPartnerRequest, options?: AxiosRequestConfig) {
556
+ return ClaimPartnersApiFp(this.configuration).getClaimPartner(requestParameters.id, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
557
557
  }
558
558
 
559
559
  /**
560
- * Returns a list of claim partners you have previously created. The claim partners are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
560
+ * Returns a list of claim partners you have previously created. The claim partners are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
561
561
  * @summary List claim partners
562
562
  * @param {ClaimPartnersApiListClaimPartnersRequest} requestParameters Request parameters.
563
563
  * @param {*} [options] Override http request option.