@emilgroup/claim-sdk 1.17.2-beta.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.
Files changed (55) hide show
  1. package/.openapi-generator/FILES +12 -1
  2. package/README.md +2 -2
  3. package/api/claim-partner-roles-api.ts +9 -9
  4. package/api/claim-regulations-api.ts +657 -0
  5. package/api/claim-statuses-api.ts +9 -9
  6. package/api/{default-api.ts → health-check-api.ts} +21 -17
  7. package/api.ts +4 -2
  8. package/base.ts +5 -1
  9. package/dist/api/claim-partner-roles-api.d.ts +9 -9
  10. package/dist/api/claim-partner-roles-api.js +3 -3
  11. package/dist/api/claim-regulations-api.d.ts +372 -0
  12. package/dist/api/claim-regulations-api.js +630 -0
  13. package/dist/api/claim-statuses-api.d.ts +9 -9
  14. package/dist/api/claim-statuses-api.js +3 -3
  15. package/dist/api/health-check-api.d.ts +70 -0
  16. package/dist/api/{default-api.js → health-check-api.js} +30 -26
  17. package/dist/api.d.ts +2 -1
  18. package/dist/api.js +2 -1
  19. package/dist/base.d.ts +1 -0
  20. package/dist/base.js +4 -1
  21. package/dist/models/create-regulation-item-request-dto.d.ts +89 -0
  22. package/dist/models/create-regulation-item-request-dto.js +34 -0
  23. package/dist/models/index.d.ts +10 -0
  24. package/dist/models/index.js +10 -0
  25. package/dist/models/list-regulations-response-class.d.ts +31 -0
  26. package/dist/models/list-regulations-response-class.js +15 -0
  27. package/dist/models/payout-details-class.d.ts +90 -0
  28. package/dist/models/payout-details-class.js +26 -0
  29. package/dist/models/payout-details-dto.d.ts +60 -0
  30. package/dist/models/payout-details-dto.js +26 -0
  31. package/dist/models/regress-details-class.d.ts +81 -0
  32. package/dist/models/regress-details-class.js +29 -0
  33. package/dist/models/regress-details-dto.d.ts +51 -0
  34. package/dist/models/regress-details-dto.js +29 -0
  35. package/dist/models/regulation-item-class.d.ts +126 -0
  36. package/dist/models/regulation-item-class.js +34 -0
  37. package/dist/models/regulation-item-response-class.d.ts +25 -0
  38. package/dist/models/regulation-item-response-class.js +15 -0
  39. package/dist/models/reserve-details-class.d.ts +59 -0
  40. package/dist/models/reserve-details-class.js +20 -0
  41. package/dist/models/reserve-details-dto.d.ts +29 -0
  42. package/dist/models/reserve-details-dto.js +20 -0
  43. package/models/create-regulation-item-request-dto.ts +99 -0
  44. package/models/index.ts +10 -0
  45. package/models/list-regulations-response-class.ts +37 -0
  46. package/models/payout-details-class.ts +100 -0
  47. package/models/payout-details-dto.ts +70 -0
  48. package/models/regress-details-class.ts +91 -0
  49. package/models/regress-details-dto.ts +61 -0
  50. package/models/regulation-item-class.ts +136 -0
  51. package/models/regulation-item-response-class.ts +31 -0
  52. package/models/reserve-details-class.ts +68 -0
  53. package/models/reserve-details-dto.ts +38 -0
  54. package/package.json +1 -1
  55. package/dist/api/default-api.d.ts +0 -66
@@ -5,9 +5,10 @@ README.md
5
5
  api.ts
6
6
  api/claim-partner-roles-api.ts
7
7
  api/claim-partners-api.ts
8
+ api/claim-regulations-api.ts
8
9
  api/claim-statuses-api.ts
9
10
  api/claims-api.ts
10
- api/default-api.ts
11
+ api/health-check-api.ts
11
12
  api/settlements-api.ts
12
13
  base.ts
13
14
  common.ts
@@ -26,6 +27,7 @@ models/create-claim-request-dto.ts
26
27
  models/create-claim-response-class.ts
27
28
  models/create-claim-status-request-dto.ts
28
29
  models/create-claim-status-response-class.ts
30
+ models/create-regulation-item-request-dto.ts
29
31
  models/create-settlement-request-dto.ts
30
32
  models/create-settlement-response-class.ts
31
33
  models/get-claim-partner-response-class.ts
@@ -40,9 +42,18 @@ models/list-claim-partner-roles-response-class.ts
40
42
  models/list-claim-partners-response-class.ts
41
43
  models/list-claim-statuses-response-class.ts
42
44
  models/list-claims-response-class.ts
45
+ models/list-regulations-response-class.ts
43
46
  models/list-settlements-response-class.ts
44
47
  models/patch-claim-request-dto.ts
45
48
  models/patch-claim-response-class.ts
49
+ models/payout-details-class.ts
50
+ models/payout-details-dto.ts
51
+ models/regress-details-class.ts
52
+ models/regress-details-dto.ts
53
+ models/regulation-item-class.ts
54
+ models/regulation-item-response-class.ts
55
+ models/reserve-details-class.ts
56
+ models/reserve-details-dto.ts
46
57
  models/settlement-class.ts
47
58
  models/update-claim-partner-role-request-dto.ts
48
59
  models/update-claim-partner-role-response-class.ts
package/README.md CHANGED
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
17
17
  Navigate to the folder of your consuming project and run one of the following commands:
18
18
 
19
19
  ```
20
- npm install @emilgroup/claim-sdk@1.17.2-beta.1 --save
20
+ npm install @emilgroup/claim-sdk@1.17.2-beta.3 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/claim-sdk@1.17.2-beta.1
24
+ yarn add @emilgroup/claim-sdk@1.17.2-beta.3
25
25
  ```
26
26
 
27
27
  And then you can import `ClaimsApi`.
@@ -184,12 +184,12 @@ export const ClaimPartnerRolesApiAxiosParamCreator = function (configuration?: C
184
184
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: name, productSlug</i>
185
185
  * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: name, productSlug</i>
186
186
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, name, productSlug, createdAt, updatedAt</i>
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.
187
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: .<i>
188
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?: string, search?: string, order?: string, expand?: any, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
192
+ listClaimPartnerRole: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
193
193
  const localVarPath = `/v1/claim-partner-roles`;
194
194
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
195
195
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -357,12 +357,12 @@ export const ClaimPartnerRolesApiFp = function(configuration?: Configuration) {
357
357
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: name, productSlug&lt;/i&gt;
358
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
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.
360
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: .&lt;i&gt;
361
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?: string, search?: string, order?: string, expand?: any, filters?: string, 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?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListClaimPartnerRolesResponseClass>> {
366
366
  const localVarAxiosArgs = await localVarAxiosParamCreator.listClaimPartnerRole(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
367
367
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
368
368
  },
@@ -431,12 +431,12 @@ export const ClaimPartnerRolesApiFactory = function (configuration?: Configurati
431
431
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: name, productSlug&lt;/i&gt;
432
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
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.
434
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: .&lt;i&gt;
435
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?: string, search?: string, order?: string, expand?: any, filters?: string, options?: any): AxiosPromise<ListClaimPartnerRolesResponseClass> {
439
+ listClaimPartnerRole(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListClaimPartnerRolesResponseClass> {
440
440
  return localVarFp.listClaimPartnerRole(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
441
441
  },
442
442
  /**
@@ -566,11 +566,11 @@ export interface ClaimPartnerRolesApiListClaimPartnerRoleRequest {
566
566
  readonly order?: string
567
567
 
568
568
  /**
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}
569
+ * Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: .&lt;i&gt;
570
+ * @type {string}
571
571
  * @memberof ClaimPartnerRolesApiListClaimPartnerRole
572
572
  */
573
- readonly expand?: any
573
+ readonly expand?: string
574
574
 
575
575
  /**
576
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;