@emilgroup/customer-sdk-node 1.6.1 → 1.9.0

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 (204) hide show
  1. package/.openapi-generator/FILES +18 -0
  2. package/README.md +2 -2
  3. package/api/claims-api.ts +557 -0
  4. package/api/customers-api.ts +305 -684
  5. package/api/policies-api.ts +980 -0
  6. package/api/products-api.ts +357 -0
  7. package/api.ts +7 -1
  8. package/base.ts +24 -32
  9. package/common.ts +2 -1
  10. package/configuration.ts +1 -1
  11. package/dist/api/claims-api.d.ts +327 -0
  12. package/dist/api/claims-api.js +508 -0
  13. package/dist/api/customers-api.d.ts +213 -443
  14. package/dist/api/customers-api.js +232 -475
  15. package/dist/api/policies-api.d.ts +578 -0
  16. package/dist/api/policies-api.js +808 -0
  17. package/dist/api/products-api.d.ts +215 -0
  18. package/dist/api/products-api.js +341 -0
  19. package/dist/api.d.ts +4 -1
  20. package/dist/api.js +4 -1
  21. package/dist/base.d.ts +2 -3
  22. package/dist/base.js +20 -21
  23. package/dist/common.d.ts +1 -1
  24. package/dist/common.js +2 -2
  25. package/dist/configuration.d.ts +1 -1
  26. package/dist/configuration.js +1 -1
  27. package/dist/index.d.ts +1 -1
  28. package/dist/index.js +1 -1
  29. package/dist/models/account-class.d.ts +1 -1
  30. package/dist/models/account-class.js +1 -1
  31. package/dist/models/account-policy-class.d.ts +1 -1
  32. package/dist/models/account-policy-class.js +1 -1
  33. package/dist/models/authentication-result-class.d.ts +1 -1
  34. package/dist/models/authentication-result-class.js +1 -1
  35. package/dist/models/complete-braintree-payment-setup-request-dto.d.ts +48 -0
  36. package/dist/models/complete-braintree-payment-setup-request-dto.js +15 -0
  37. package/dist/models/complete-payment-setup-psp-request.d.ts +32 -0
  38. package/dist/models/complete-payment-setup-psp-request.js +15 -0
  39. package/dist/models/complete-payment-setup-response-class.d.ts +24 -0
  40. package/dist/models/complete-payment-setup-response-class.js +15 -0
  41. package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +60 -0
  42. package/dist/models/complete-stripe-payment-setup-request-dto.js +15 -0
  43. package/dist/models/create-account-request-dto.d.ts +96 -0
  44. package/dist/models/create-account-request-dto.js +21 -0
  45. package/dist/models/create-customer-claim-request-dto.d.ts +108 -0
  46. package/dist/models/create-customer-claim-request-dto.js +15 -0
  47. package/dist/models/create-customer-request-dto.d.ts +8 -1
  48. package/dist/models/create-customer-request-dto.js +1 -1
  49. package/dist/models/create-customer-response-class.d.ts +1 -1
  50. package/dist/models/create-customer-response-class.js +1 -1
  51. package/dist/models/create-presigned-post-response-class.d.ts +30 -0
  52. package/dist/models/create-presigned-post-response-class.js +15 -0
  53. package/dist/models/customer-class.d.ts +8 -2
  54. package/dist/models/customer-class.js +1 -1
  55. package/dist/models/customer-document-class.d.ts +2 -2
  56. package/dist/models/customer-document-class.js +1 -1
  57. package/dist/models/customer-product-class.d.ts +54 -0
  58. package/dist/models/customer-product-class.js +15 -0
  59. package/dist/models/forgot-password-request-dto.d.ts +1 -1
  60. package/dist/models/forgot-password-request-dto.js +1 -1
  61. package/dist/models/get-customer-document-download-url-response-class.d.ts +1 -1
  62. package/dist/models/get-customer-document-download-url-response-class.js +1 -1
  63. package/dist/models/get-customer-response-class.d.ts +1 -1
  64. package/dist/models/get-customer-response-class.js +1 -1
  65. package/dist/models/get-policy-response-class.d.ts +1 -1
  66. package/dist/models/get-policy-response-class.js +1 -1
  67. package/dist/models/get-product-response-class.d.ts +25 -0
  68. package/dist/models/get-product-response-class.js +15 -0
  69. package/dist/models/index.d.ts +15 -0
  70. package/dist/models/index.js +15 -0
  71. package/dist/models/initiate-auth-request-dto.d.ts +1 -1
  72. package/dist/models/initiate-auth-request-dto.js +1 -1
  73. package/dist/models/initiate-auth-response-class.d.ts +1 -1
  74. package/dist/models/initiate-auth-response-class.js +1 -1
  75. package/dist/models/initiate-braintree-payment-setup-response-class.d.ts +24 -0
  76. package/dist/models/initiate-braintree-payment-setup-response-class.js +15 -0
  77. package/dist/models/initiate-payment-setup-response-class.d.ts +32 -0
  78. package/dist/models/initiate-payment-setup-response-class.js +15 -0
  79. package/dist/models/initiate-stripe-payment-setup-response-class.d.ts +30 -0
  80. package/dist/models/initiate-stripe-payment-setup-response-class.js +15 -0
  81. package/dist/models/invite-by-customer-request-dto.d.ts +1 -1
  82. package/dist/models/invite-by-customer-request-dto.js +1 -1
  83. package/dist/models/invite-by-customer-response-class.d.ts +1 -1
  84. package/dist/models/invite-by-customer-response-class.js +1 -1
  85. package/dist/models/invite-by-tenant-response-class.d.ts +1 -1
  86. package/dist/models/invite-by-tenant-response-class.js +1 -1
  87. package/dist/models/invite-class.d.ts +1 -1
  88. package/dist/models/invite-class.js +1 -1
  89. package/dist/models/invoice-class.d.ts +3 -3
  90. package/dist/models/invoice-class.js +1 -1
  91. package/dist/models/list-documents-response-class.d.ts +1 -1
  92. package/dist/models/list-documents-response-class.js +1 -1
  93. package/dist/models/list-invoices-response-class.d.ts +1 -1
  94. package/dist/models/list-invoices-response-class.js +1 -1
  95. package/dist/models/list-policies-response-class.d.ts +5 -5
  96. package/dist/models/list-policies-response-class.js +1 -1
  97. package/dist/models/policy-class.d.ts +14 -1
  98. package/dist/models/policy-class.js +1 -1
  99. package/dist/models/policy-object-class.d.ts +1 -1
  100. package/dist/models/policy-object-class.js +1 -1
  101. package/dist/models/policy-premium-class.d.ts +1 -1
  102. package/dist/models/policy-premium-class.js +1 -1
  103. package/dist/models/policy-premium-item-class.d.ts +1 -1
  104. package/dist/models/policy-premium-item-class.js +1 -1
  105. package/dist/models/policy-version-class.d.ts +1 -1
  106. package/dist/models/policy-version-class.js +1 -1
  107. package/dist/models/refresh-token-dto.d.ts +1 -1
  108. package/dist/models/refresh-token-dto.js +1 -1
  109. package/dist/models/request-policy-update-request-dto.d.ts +1 -1
  110. package/dist/models/request-policy-update-request-dto.js +1 -1
  111. package/dist/models/request-policy-update-response-class.d.ts +1 -1
  112. package/dist/models/request-policy-update-response-class.js +1 -1
  113. package/dist/models/reset-password-by-customer-request-dto.d.ts +1 -1
  114. package/dist/models/reset-password-by-customer-request-dto.js +1 -1
  115. package/dist/models/respond-to-auth-challenge-class.d.ts +1 -1
  116. package/dist/models/respond-to-auth-challenge-class.js +1 -1
  117. package/dist/models/respond-to-auth-challenge-request-dto.d.ts +1 -1
  118. package/dist/models/respond-to-auth-challenge-request-dto.js +1 -1
  119. package/dist/models/shared-customer-policy-object-request-dto.d.ts +1 -1
  120. package/dist/models/shared-customer-policy-object-request-dto.js +1 -1
  121. package/dist/models/shared-invoice-item-class.d.ts +1 -1
  122. package/dist/models/shared-invoice-item-class.js +1 -1
  123. package/dist/models/terminate-customer-policy-request-dto.d.ts +1 -1
  124. package/dist/models/terminate-customer-policy-request-dto.js +1 -1
  125. package/dist/models/terminate-customer-policy-response-class.d.ts +1 -1
  126. package/dist/models/terminate-customer-policy-response-class.js +1 -1
  127. package/dist/models/timeslice-class.d.ts +1 -1
  128. package/dist/models/timeslice-class.js +1 -1
  129. package/dist/models/update-account-request-dto.d.ts +2 -2
  130. package/dist/models/update-account-request-dto.js +1 -1
  131. package/dist/models/update-customer-claim-request-dto.d.ts +120 -0
  132. package/dist/models/update-customer-claim-request-dto.js +15 -0
  133. package/dist/models/update-customer-request-dto.d.ts +1 -1
  134. package/dist/models/update-customer-request-dto.js +1 -1
  135. package/dist/models/update-customer-response-class.d.ts +1 -1
  136. package/dist/models/update-customer-response-class.js +1 -1
  137. package/dist/models/upload-customer-claim-documents-request-dto.d.ts +36 -0
  138. package/dist/models/upload-customer-claim-documents-request-dto.js +15 -0
  139. package/dist/models/upload-customer-policy-documents-request-dto.d.ts +47 -0
  140. package/dist/models/upload-customer-policy-documents-request-dto.js +20 -0
  141. package/dist/models/verify-customer-invite-response-class.d.ts +1 -1
  142. package/dist/models/verify-customer-invite-response-class.js +1 -1
  143. package/dist/models/withdraw-customer-policy-response-class.d.ts +1 -1
  144. package/dist/models/withdraw-customer-policy-response-class.js +1 -1
  145. package/index.ts +1 -1
  146. package/models/account-class.ts +1 -1
  147. package/models/account-policy-class.ts +1 -1
  148. package/models/authentication-result-class.ts +1 -1
  149. package/models/complete-braintree-payment-setup-request-dto.ts +54 -0
  150. package/models/complete-payment-setup-psp-request.ts +38 -0
  151. package/models/complete-payment-setup-response-class.ts +30 -0
  152. package/models/complete-stripe-payment-setup-request-dto.ts +66 -0
  153. package/models/create-account-request-dto.ts +105 -0
  154. package/models/create-customer-claim-request-dto.ts +114 -0
  155. package/models/create-customer-request-dto.ts +8 -1
  156. package/models/create-customer-response-class.ts +1 -1
  157. package/models/create-presigned-post-response-class.ts +36 -0
  158. package/models/customer-class.ts +8 -2
  159. package/models/customer-document-class.ts +1 -1
  160. package/models/customer-product-class.ts +60 -0
  161. package/models/forgot-password-request-dto.ts +1 -1
  162. package/models/get-customer-document-download-url-response-class.ts +1 -1
  163. package/models/get-customer-response-class.ts +1 -1
  164. package/models/get-policy-response-class.ts +1 -1
  165. package/models/get-product-response-class.ts +31 -0
  166. package/models/index.ts +15 -0
  167. package/models/initiate-auth-request-dto.ts +1 -1
  168. package/models/initiate-auth-response-class.ts +1 -1
  169. package/models/initiate-braintree-payment-setup-response-class.ts +30 -0
  170. package/models/initiate-payment-setup-response-class.ts +38 -0
  171. package/models/initiate-stripe-payment-setup-response-class.ts +36 -0
  172. package/models/invite-by-customer-request-dto.ts +1 -1
  173. package/models/invite-by-customer-response-class.ts +1 -1
  174. package/models/invite-by-tenant-response-class.ts +1 -1
  175. package/models/invite-class.ts +1 -1
  176. package/models/invoice-class.ts +1 -1
  177. package/models/list-documents-response-class.ts +1 -1
  178. package/models/list-invoices-response-class.ts +1 -1
  179. package/models/list-policies-response-class.ts +5 -5
  180. package/models/policy-class.ts +14 -1
  181. package/models/policy-object-class.ts +1 -1
  182. package/models/policy-premium-class.ts +1 -1
  183. package/models/policy-premium-item-class.ts +1 -1
  184. package/models/policy-version-class.ts +1 -1
  185. package/models/refresh-token-dto.ts +1 -1
  186. package/models/request-policy-update-request-dto.ts +1 -1
  187. package/models/request-policy-update-response-class.ts +1 -1
  188. package/models/reset-password-by-customer-request-dto.ts +1 -1
  189. package/models/respond-to-auth-challenge-class.ts +1 -1
  190. package/models/respond-to-auth-challenge-request-dto.ts +1 -1
  191. package/models/shared-customer-policy-object-request-dto.ts +1 -1
  192. package/models/shared-invoice-item-class.ts +1 -1
  193. package/models/terminate-customer-policy-request-dto.ts +1 -1
  194. package/models/terminate-customer-policy-response-class.ts +1 -1
  195. package/models/timeslice-class.ts +1 -1
  196. package/models/update-account-request-dto.ts +1 -1
  197. package/models/update-customer-claim-request-dto.ts +126 -0
  198. package/models/update-customer-request-dto.ts +1 -1
  199. package/models/update-customer-response-class.ts +1 -1
  200. package/models/upload-customer-claim-documents-request-dto.ts +42 -0
  201. package/models/upload-customer-policy-documents-request-dto.ts +56 -0
  202. package/models/verify-customer-invite-response-class.ts +1 -1
  203. package/models/withdraw-customer-policy-response-class.ts +1 -1
  204. package/package.json +2 -3
@@ -0,0 +1,327 @@
1
+ /**
2
+ * EMIL CustomerService
3
+ * The EMIL CustomerService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
13
+ import { Configuration } from '../configuration';
14
+ import { RequestArgs, BaseAPI } from '../base';
15
+ import { CreateCustomerClaimRequestDto } from '../models';
16
+ import { CreatePresignedPostResponseClass } from '../models';
17
+ import { UpdateCustomerClaimRequestDto } from '../models';
18
+ import { UploadCustomerClaimDocumentsRequestDto } from '../models';
19
+ /**
20
+ * ClaimsApi - axios parameter creator
21
+ * @export
22
+ */
23
+ export declare const ClaimsApiAxiosParamCreator: (configuration?: Configuration) => {
24
+ /**
25
+ * Create a new claim for customer.
26
+ * @summary Create a new claim for customer
27
+ * @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
28
+ * @param {CreateCustomerClaimRequestDto} createCustomerClaimRequestDto
29
+ * @param {*} [options] Override http request option.
30
+ * @throws {RequiredError}
31
+ */
32
+ createCustomerClaim: (customerCode: string, createCustomerClaimRequestDto: CreateCustomerClaimRequestDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
33
+ /**
34
+ * List claims by customer.
35
+ * @summary List claims by customer
36
+ * @param {string} customerCode The customer code or \&quot;me\&quot; for the currently logged in customer.
37
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
38
+ * @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.
39
+ * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
40
+ * @param {any} [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.
41
+ * @param {any} [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.
42
+ * @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.
43
+ * @param {*} [options] Override http request option.
44
+ * @throws {RequiredError}
45
+ */
46
+ listCustomerClaims: (customerCode: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
47
+ /**
48
+ * Update claim for customer.
49
+ * @summary Update claim for customer
50
+ * @param {string} customerCode The customer code or \&quot;me\&quot; for the currently logged in customer.
51
+ * @param {string} claimCode The claim code to identify a claim.
52
+ * @param {UpdateCustomerClaimRequestDto} updateCustomerClaimRequestDto
53
+ * @param {*} [options] Override http request option.
54
+ * @throws {RequiredError}
55
+ */
56
+ updateCustomerClaim: (customerCode: string, claimCode: string, updateCustomerClaimRequestDto: UpdateCustomerClaimRequestDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
57
+ /**
58
+ * API to upload and attach documents to a claim.
59
+ * @summary Upload claim documents
60
+ * @param {string} customerCode
61
+ * @param {string} claimCode The claim code to identify a claim.
62
+ * @param {UploadCustomerClaimDocumentsRequestDto} uploadCustomerClaimDocumentsRequestDto
63
+ * @param {*} [options] Override http request option.
64
+ * @throws {RequiredError}
65
+ */
66
+ uploadCustomerClaimDocuments: (customerCode: string, claimCode: string, uploadCustomerClaimDocumentsRequestDto: UploadCustomerClaimDocumentsRequestDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
67
+ };
68
+ /**
69
+ * ClaimsApi - functional programming interface
70
+ * @export
71
+ */
72
+ export declare const ClaimsApiFp: (configuration?: Configuration) => {
73
+ /**
74
+ * Create a new claim for customer.
75
+ * @summary Create a new claim for customer
76
+ * @param {string} customerCode The customer code or \&quot;me\&quot; for the currently logged in customer.
77
+ * @param {CreateCustomerClaimRequestDto} createCustomerClaimRequestDto
78
+ * @param {*} [options] Override http request option.
79
+ * @throws {RequiredError}
80
+ */
81
+ createCustomerClaim(customerCode: string, createCustomerClaimRequestDto: CreateCustomerClaimRequestDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
82
+ /**
83
+ * List claims by customer.
84
+ * @summary List claims by customer
85
+ * @param {string} customerCode The customer code or \&quot;me\&quot; for the currently logged in customer.
86
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
87
+ * @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.
88
+ * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
89
+ * @param {any} [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.
90
+ * @param {any} [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.
91
+ * @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.
92
+ * @param {*} [options] Override http request option.
93
+ * @throws {RequiredError}
94
+ */
95
+ listCustomerClaims(customerCode: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
96
+ /**
97
+ * Update claim for customer.
98
+ * @summary Update claim for customer
99
+ * @param {string} customerCode The customer code or \&quot;me\&quot; for the currently logged in customer.
100
+ * @param {string} claimCode The claim code to identify a claim.
101
+ * @param {UpdateCustomerClaimRequestDto} updateCustomerClaimRequestDto
102
+ * @param {*} [options] Override http request option.
103
+ * @throws {RequiredError}
104
+ */
105
+ updateCustomerClaim(customerCode: string, claimCode: string, updateCustomerClaimRequestDto: UpdateCustomerClaimRequestDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
106
+ /**
107
+ * API to upload and attach documents to a claim.
108
+ * @summary Upload claim documents
109
+ * @param {string} customerCode
110
+ * @param {string} claimCode The claim code to identify a claim.
111
+ * @param {UploadCustomerClaimDocumentsRequestDto} uploadCustomerClaimDocumentsRequestDto
112
+ * @param {*} [options] Override http request option.
113
+ * @throws {RequiredError}
114
+ */
115
+ uploadCustomerClaimDocuments(customerCode: string, claimCode: string, uploadCustomerClaimDocumentsRequestDto: UploadCustomerClaimDocumentsRequestDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePresignedPostResponseClass>>;
116
+ };
117
+ /**
118
+ * ClaimsApi - factory interface
119
+ * @export
120
+ */
121
+ export declare const ClaimsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
122
+ /**
123
+ * Create a new claim for customer.
124
+ * @summary Create a new claim for customer
125
+ * @param {string} customerCode The customer code or \&quot;me\&quot; for the currently logged in customer.
126
+ * @param {CreateCustomerClaimRequestDto} createCustomerClaimRequestDto
127
+ * @param {*} [options] Override http request option.
128
+ * @throws {RequiredError}
129
+ */
130
+ createCustomerClaim(customerCode: string, createCustomerClaimRequestDto: CreateCustomerClaimRequestDto, options?: any): AxiosPromise<object>;
131
+ /**
132
+ * List claims by customer.
133
+ * @summary List claims by customer
134
+ * @param {string} customerCode The customer code or \&quot;me\&quot; for the currently logged in customer.
135
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
136
+ * @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.
137
+ * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
138
+ * @param {any} [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.
139
+ * @param {any} [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.
140
+ * @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.
141
+ * @param {*} [options] Override http request option.
142
+ * @throws {RequiredError}
143
+ */
144
+ listCustomerClaims(customerCode: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: any): AxiosPromise<object>;
145
+ /**
146
+ * Update claim for customer.
147
+ * @summary Update claim for customer
148
+ * @param {string} customerCode The customer code or \&quot;me\&quot; for the currently logged in customer.
149
+ * @param {string} claimCode The claim code to identify a claim.
150
+ * @param {UpdateCustomerClaimRequestDto} updateCustomerClaimRequestDto
151
+ * @param {*} [options] Override http request option.
152
+ * @throws {RequiredError}
153
+ */
154
+ updateCustomerClaim(customerCode: string, claimCode: string, updateCustomerClaimRequestDto: UpdateCustomerClaimRequestDto, options?: any): AxiosPromise<object>;
155
+ /**
156
+ * API to upload and attach documents to a claim.
157
+ * @summary Upload claim documents
158
+ * @param {string} customerCode
159
+ * @param {string} claimCode The claim code to identify a claim.
160
+ * @param {UploadCustomerClaimDocumentsRequestDto} uploadCustomerClaimDocumentsRequestDto
161
+ * @param {*} [options] Override http request option.
162
+ * @throws {RequiredError}
163
+ */
164
+ uploadCustomerClaimDocuments(customerCode: string, claimCode: string, uploadCustomerClaimDocumentsRequestDto: UploadCustomerClaimDocumentsRequestDto, options?: any): AxiosPromise<CreatePresignedPostResponseClass>;
165
+ };
166
+ /**
167
+ * Request parameters for createCustomerClaim operation in ClaimsApi.
168
+ * @export
169
+ * @interface ClaimsApiCreateCustomerClaimRequest
170
+ */
171
+ export interface ClaimsApiCreateCustomerClaimRequest {
172
+ /**
173
+ * The customer code or \&quot;me\&quot; for the currently logged in customer.
174
+ * @type {string}
175
+ * @memberof ClaimsApiCreateCustomerClaim
176
+ */
177
+ readonly customerCode: string;
178
+ /**
179
+ *
180
+ * @type {CreateCustomerClaimRequestDto}
181
+ * @memberof ClaimsApiCreateCustomerClaim
182
+ */
183
+ readonly createCustomerClaimRequestDto: CreateCustomerClaimRequestDto;
184
+ }
185
+ /**
186
+ * Request parameters for listCustomerClaims operation in ClaimsApi.
187
+ * @export
188
+ * @interface ClaimsApiListCustomerClaimsRequest
189
+ */
190
+ export interface ClaimsApiListCustomerClaimsRequest {
191
+ /**
192
+ * The customer code or \&quot;me\&quot; for the currently logged in customer.
193
+ * @type {string}
194
+ * @memberof ClaimsApiListCustomerClaims
195
+ */
196
+ readonly customerCode: string;
197
+ /**
198
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
199
+ * @type {any}
200
+ * @memberof ClaimsApiListCustomerClaims
201
+ */
202
+ readonly pageSize?: any;
203
+ /**
204
+ * 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.
205
+ * @type {any}
206
+ * @memberof ClaimsApiListCustomerClaims
207
+ */
208
+ readonly pageToken?: any;
209
+ /**
210
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
211
+ * @type {any}
212
+ * @memberof ClaimsApiListCustomerClaims
213
+ */
214
+ readonly filter?: any;
215
+ /**
216
+ * 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.
217
+ * @type {any}
218
+ * @memberof ClaimsApiListCustomerClaims
219
+ */
220
+ readonly search?: any;
221
+ /**
222
+ * 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.
223
+ * @type {any}
224
+ * @memberof ClaimsApiListCustomerClaims
225
+ */
226
+ readonly order?: any;
227
+ /**
228
+ * 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.
229
+ * @type {any}
230
+ * @memberof ClaimsApiListCustomerClaims
231
+ */
232
+ readonly expand?: any;
233
+ }
234
+ /**
235
+ * Request parameters for updateCustomerClaim operation in ClaimsApi.
236
+ * @export
237
+ * @interface ClaimsApiUpdateCustomerClaimRequest
238
+ */
239
+ export interface ClaimsApiUpdateCustomerClaimRequest {
240
+ /**
241
+ * The customer code or \&quot;me\&quot; for the currently logged in customer.
242
+ * @type {string}
243
+ * @memberof ClaimsApiUpdateCustomerClaim
244
+ */
245
+ readonly customerCode: string;
246
+ /**
247
+ * The claim code to identify a claim.
248
+ * @type {string}
249
+ * @memberof ClaimsApiUpdateCustomerClaim
250
+ */
251
+ readonly claimCode: string;
252
+ /**
253
+ *
254
+ * @type {UpdateCustomerClaimRequestDto}
255
+ * @memberof ClaimsApiUpdateCustomerClaim
256
+ */
257
+ readonly updateCustomerClaimRequestDto: UpdateCustomerClaimRequestDto;
258
+ }
259
+ /**
260
+ * Request parameters for uploadCustomerClaimDocuments operation in ClaimsApi.
261
+ * @export
262
+ * @interface ClaimsApiUploadCustomerClaimDocumentsRequest
263
+ */
264
+ export interface ClaimsApiUploadCustomerClaimDocumentsRequest {
265
+ /**
266
+ *
267
+ * @type {string}
268
+ * @memberof ClaimsApiUploadCustomerClaimDocuments
269
+ */
270
+ readonly customerCode: string;
271
+ /**
272
+ * The claim code to identify a claim.
273
+ * @type {string}
274
+ * @memberof ClaimsApiUploadCustomerClaimDocuments
275
+ */
276
+ readonly claimCode: string;
277
+ /**
278
+ *
279
+ * @type {UploadCustomerClaimDocumentsRequestDto}
280
+ * @memberof ClaimsApiUploadCustomerClaimDocuments
281
+ */
282
+ readonly uploadCustomerClaimDocumentsRequestDto: UploadCustomerClaimDocumentsRequestDto;
283
+ }
284
+ /**
285
+ * ClaimsApi - object-oriented interface
286
+ * @export
287
+ * @class ClaimsApi
288
+ * @extends {BaseAPI}
289
+ */
290
+ export declare class ClaimsApi extends BaseAPI {
291
+ /**
292
+ * Create a new claim for customer.
293
+ * @summary Create a new claim for customer
294
+ * @param {ClaimsApiCreateCustomerClaimRequest} requestParameters Request parameters.
295
+ * @param {*} [options] Override http request option.
296
+ * @throws {RequiredError}
297
+ * @memberof ClaimsApi
298
+ */
299
+ createCustomerClaim(requestParameters: ClaimsApiCreateCustomerClaimRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
300
+ /**
301
+ * List claims by customer.
302
+ * @summary List claims by customer
303
+ * @param {ClaimsApiListCustomerClaimsRequest} requestParameters Request parameters.
304
+ * @param {*} [options] Override http request option.
305
+ * @throws {RequiredError}
306
+ * @memberof ClaimsApi
307
+ */
308
+ listCustomerClaims(requestParameters: ClaimsApiListCustomerClaimsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
309
+ /**
310
+ * Update claim for customer.
311
+ * @summary Update claim for customer
312
+ * @param {ClaimsApiUpdateCustomerClaimRequest} requestParameters Request parameters.
313
+ * @param {*} [options] Override http request option.
314
+ * @throws {RequiredError}
315
+ * @memberof ClaimsApi
316
+ */
317
+ updateCustomerClaim(requestParameters: ClaimsApiUpdateCustomerClaimRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
318
+ /**
319
+ * API to upload and attach documents to a claim.
320
+ * @summary Upload claim documents
321
+ * @param {ClaimsApiUploadCustomerClaimDocumentsRequest} requestParameters Request parameters.
322
+ * @param {*} [options] Override http request option.
323
+ * @throws {RequiredError}
324
+ * @memberof ClaimsApi
325
+ */
326
+ uploadCustomerClaimDocuments(requestParameters: ClaimsApiUploadCustomerClaimDocumentsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePresignedPostResponseClass, any>>;
327
+ }