@emilgroup/customer-sdk-node 1.26.0 → 1.26.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.
Files changed (206) hide show
  1. package/README.md +2 -2
  2. package/dist/api/authentication-api.d.ts +332 -0
  3. package/dist/api/authentication-api.js +604 -0
  4. package/dist/api/claims-api.d.ts +431 -0
  5. package/dist/api/claims-api.js +670 -0
  6. package/dist/api/customers-api.d.ts +271 -0
  7. package/dist/api/customers-api.js +425 -0
  8. package/dist/api/default-api.d.ts +66 -0
  9. package/dist/api/default-api.js +200 -0
  10. package/dist/api/documents-api.d.ts +262 -0
  11. package/dist/api/documents-api.js +417 -0
  12. package/dist/api/invites-api.d.ts +249 -0
  13. package/dist/api/invites-api.js +456 -0
  14. package/dist/api/invoices-api.d.ts +150 -0
  15. package/dist/api/invoices-api.js +253 -0
  16. package/dist/api/leads-api.d.ts +365 -0
  17. package/dist/api/leads-api.js +571 -0
  18. package/dist/api/payments-api.d.ts +162 -0
  19. package/dist/api/payments-api.js +306 -0
  20. package/dist/api/policies-api.d.ts +578 -0
  21. package/dist/api/policies-api.js +808 -0
  22. package/dist/api/products-api.d.ts +215 -0
  23. package/dist/api/products-api.js +341 -0
  24. package/dist/api.d.ts +22 -0
  25. package/dist/api.js +40 -0
  26. package/dist/base.d.ts +82 -0
  27. package/dist/base.js +502 -0
  28. package/dist/common.d.ts +66 -0
  29. package/dist/common.js +244 -0
  30. package/dist/configuration.d.ts +98 -0
  31. package/dist/configuration.js +45 -0
  32. package/dist/index.d.ts +15 -0
  33. package/dist/index.js +36 -0
  34. package/dist/models/account-class.d.ts +169 -0
  35. package/dist/models/account-class.js +26 -0
  36. package/dist/models/account-policy-class.d.ts +30 -0
  37. package/dist/models/account-policy-class.js +15 -0
  38. package/dist/models/authentication-result-class.d.ts +30 -0
  39. package/dist/models/authentication-result-class.js +15 -0
  40. package/dist/models/claim-class.d.ts +162 -0
  41. package/dist/models/claim-class.js +15 -0
  42. package/dist/models/complete-braintree-payment-setup-request-dto.d.ts +48 -0
  43. package/dist/models/complete-braintree-payment-setup-request-dto.js +15 -0
  44. package/dist/models/complete-payment-setup-psp-request.d.ts +32 -0
  45. package/dist/models/complete-payment-setup-psp-request.js +15 -0
  46. package/dist/models/complete-payment-setup-response-class.d.ts +24 -0
  47. package/dist/models/complete-payment-setup-response-class.js +15 -0
  48. package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +60 -0
  49. package/dist/models/complete-stripe-payment-setup-request-dto.js +15 -0
  50. package/dist/models/create-account-request-dto.d.ts +132 -0
  51. package/dist/models/create-account-request-dto.js +31 -0
  52. package/dist/models/create-bank-account-request-dto.d.ts +30 -0
  53. package/dist/models/create-bank-account-request-dto.js +15 -0
  54. package/dist/models/create-customer-claim-request-dto.d.ts +114 -0
  55. package/dist/models/create-customer-claim-request-dto.js +15 -0
  56. package/dist/models/create-customer-claim-response-class.d.ts +25 -0
  57. package/dist/models/create-customer-claim-response-class.js +15 -0
  58. package/dist/models/create-customer-request-dto.d.ts +43 -0
  59. package/dist/models/create-customer-request-dto.js +15 -0
  60. package/dist/models/create-customer-response-class.d.ts +25 -0
  61. package/dist/models/create-customer-response-class.js +15 -0
  62. package/dist/models/create-lead-request-dto.d.ts +83 -0
  63. package/dist/models/create-lead-request-dto.js +15 -0
  64. package/dist/models/create-lead-response-class.d.ts +25 -0
  65. package/dist/models/create-lead-response-class.js +15 -0
  66. package/dist/models/create-payment-method-request-dto.d.ts +31 -0
  67. package/dist/models/create-payment-method-request-dto.js +15 -0
  68. package/dist/models/create-policy-request-dto.d.ts +56 -0
  69. package/dist/models/create-policy-request-dto.js +15 -0
  70. package/dist/models/create-presigned-post-response-class.d.ts +30 -0
  71. package/dist/models/create-presigned-post-response-class.js +15 -0
  72. package/dist/models/customer-class.d.ts +73 -0
  73. package/dist/models/customer-class.js +15 -0
  74. package/dist/models/customer-document-class.d.ts +99 -0
  75. package/dist/models/customer-document-class.js +36 -0
  76. package/dist/models/customer-product-class.d.ts +54 -0
  77. package/dist/models/customer-product-class.js +15 -0
  78. package/dist/models/forgot-password-request-dto.d.ts +30 -0
  79. package/dist/models/forgot-password-request-dto.js +15 -0
  80. package/dist/models/get-customer-claim-response-class.d.ts +25 -0
  81. package/dist/models/get-customer-claim-response-class.js +15 -0
  82. package/dist/models/get-customer-document-download-url-response-class.d.ts +24 -0
  83. package/dist/models/get-customer-document-download-url-response-class.js +15 -0
  84. package/dist/models/get-customer-response-class.d.ts +25 -0
  85. package/dist/models/get-customer-response-class.js +15 -0
  86. package/dist/models/get-lead-response-class.d.ts +25 -0
  87. package/dist/models/get-lead-response-class.js +15 -0
  88. package/dist/models/get-policy-response-class.d.ts +25 -0
  89. package/dist/models/get-policy-response-class.js +15 -0
  90. package/dist/models/get-product-response-class.d.ts +25 -0
  91. package/dist/models/get-product-response-class.js +15 -0
  92. package/dist/models/grpc-update-lead-request-dto.d.ts +50 -0
  93. package/dist/models/grpc-update-lead-request-dto.js +15 -0
  94. package/dist/models/index.d.ts +85 -0
  95. package/dist/models/index.js +101 -0
  96. package/dist/models/initiate-auth-request-dto.d.ts +36 -0
  97. package/dist/models/initiate-auth-request-dto.js +15 -0
  98. package/dist/models/initiate-auth-response-class.d.ts +43 -0
  99. package/dist/models/initiate-auth-response-class.js +15 -0
  100. package/dist/models/initiate-braintree-payment-setup-response-class.d.ts +24 -0
  101. package/dist/models/initiate-braintree-payment-setup-response-class.js +15 -0
  102. package/dist/models/initiate-payment-setup-response-class.d.ts +32 -0
  103. package/dist/models/initiate-payment-setup-response-class.js +15 -0
  104. package/dist/models/initiate-stripe-payment-setup-response-class.d.ts +30 -0
  105. package/dist/models/initiate-stripe-payment-setup-response-class.js +15 -0
  106. package/dist/models/inline-response200.d.ts +54 -0
  107. package/dist/models/inline-response200.js +15 -0
  108. package/dist/models/inline-response503.d.ts +54 -0
  109. package/dist/models/inline-response503.js +15 -0
  110. package/dist/models/invite-by-customer-request-dto.d.ts +30 -0
  111. package/dist/models/invite-by-customer-request-dto.js +15 -0
  112. package/dist/models/invite-by-customer-response-class.d.ts +25 -0
  113. package/dist/models/invite-by-customer-response-class.js +15 -0
  114. package/dist/models/invite-by-tenant-request-dto.d.ts +24 -0
  115. package/dist/models/invite-by-tenant-request-dto.js +15 -0
  116. package/dist/models/invite-by-tenant-response-class.d.ts +25 -0
  117. package/dist/models/invite-by-tenant-response-class.js +15 -0
  118. package/dist/models/invite-class.d.ts +54 -0
  119. package/dist/models/invite-class.js +15 -0
  120. package/dist/models/invoice-class.d.ts +148 -0
  121. package/dist/models/invoice-class.js +28 -0
  122. package/dist/models/lead-bank-account-class.d.ts +30 -0
  123. package/dist/models/lead-bank-account-class.js +15 -0
  124. package/dist/models/lead-class.d.ts +127 -0
  125. package/dist/models/lead-class.js +15 -0
  126. package/dist/models/list-customer-claims-response-class.d.ts +31 -0
  127. package/dist/models/list-customer-claims-response-class.js +15 -0
  128. package/dist/models/list-documents-response-class.d.ts +31 -0
  129. package/dist/models/list-documents-response-class.js +15 -0
  130. package/dist/models/list-invoices-response-class.d.ts +31 -0
  131. package/dist/models/list-invoices-response-class.js +15 -0
  132. package/dist/models/list-leads-response-class.d.ts +43 -0
  133. package/dist/models/list-leads-response-class.js +15 -0
  134. package/dist/models/list-policies-response-class.d.ts +43 -0
  135. package/dist/models/list-policies-response-class.js +15 -0
  136. package/dist/models/list-products-response-class.d.ts +31 -0
  137. package/dist/models/list-products-response-class.js +15 -0
  138. package/dist/models/policy-class.d.ts +80 -0
  139. package/dist/models/policy-class.js +15 -0
  140. package/dist/models/policy-object-class.d.ts +54 -0
  141. package/dist/models/policy-object-class.js +15 -0
  142. package/dist/models/policy-object-dto.d.ts +42 -0
  143. package/dist/models/policy-object-dto.js +15 -0
  144. package/dist/models/policy-premium-class.d.ts +43 -0
  145. package/dist/models/policy-premium-class.js +15 -0
  146. package/dist/models/policy-premium-item-class.d.ts +36 -0
  147. package/dist/models/policy-premium-item-class.js +15 -0
  148. package/dist/models/policy-version-class.d.ts +49 -0
  149. package/dist/models/policy-version-class.js +15 -0
  150. package/dist/models/premium-override-dto.d.ts +55 -0
  151. package/dist/models/premium-override-dto.js +27 -0
  152. package/dist/models/premium-override-request-class.d.ts +25 -0
  153. package/dist/models/premium-override-request-class.js +15 -0
  154. package/dist/models/premium-override-request-dto.d.ts +25 -0
  155. package/dist/models/premium-override-request-dto.js +15 -0
  156. package/dist/models/refresh-token-dto.d.ts +30 -0
  157. package/dist/models/refresh-token-dto.js +15 -0
  158. package/dist/models/request-policy-update-request-dto.d.ts +43 -0
  159. package/dist/models/request-policy-update-request-dto.js +15 -0
  160. package/dist/models/request-policy-update-response-class.d.ts +25 -0
  161. package/dist/models/request-policy-update-response-class.js +15 -0
  162. package/dist/models/reset-password-by-customer-request-dto.d.ts +36 -0
  163. package/dist/models/reset-password-by-customer-request-dto.js +15 -0
  164. package/dist/models/respond-to-auth-challenge-class.d.ts +43 -0
  165. package/dist/models/respond-to-auth-challenge-class.js +15 -0
  166. package/dist/models/respond-to-auth-challenge-request-dto.d.ts +42 -0
  167. package/dist/models/respond-to-auth-challenge-request-dto.js +15 -0
  168. package/dist/models/sepa-dto.d.ts +30 -0
  169. package/dist/models/sepa-dto.js +15 -0
  170. package/dist/models/shared-customer-policy-object-request-dto.d.ts +36 -0
  171. package/dist/models/shared-customer-policy-object-request-dto.js +15 -0
  172. package/dist/models/shared-invoice-item-class.d.ts +129 -0
  173. package/dist/models/shared-invoice-item-class.js +24 -0
  174. package/dist/models/shared-invoice-status-class.d.ts +47 -0
  175. package/dist/models/shared-invoice-status-class.js +20 -0
  176. package/dist/models/terminate-customer-policy-request-dto.d.ts +24 -0
  177. package/dist/models/terminate-customer-policy-request-dto.js +15 -0
  178. package/dist/models/terminate-customer-policy-response-class.d.ts +25 -0
  179. package/dist/models/terminate-customer-policy-response-class.js +15 -0
  180. package/dist/models/timeslice-class.d.ts +56 -0
  181. package/dist/models/timeslice-class.js +15 -0
  182. package/dist/models/update-account-request-dto.d.ts +113 -0
  183. package/dist/models/update-account-request-dto.js +25 -0
  184. package/dist/models/update-customer-claim-request-dto.d.ts +114 -0
  185. package/dist/models/update-customer-claim-request-dto.js +15 -0
  186. package/dist/models/update-customer-claim-response-class.d.ts +25 -0
  187. package/dist/models/update-customer-claim-response-class.js +15 -0
  188. package/dist/models/update-customer-request-dto.d.ts +31 -0
  189. package/dist/models/update-customer-request-dto.js +15 -0
  190. package/dist/models/update-customer-response-class.d.ts +25 -0
  191. package/dist/models/update-customer-response-class.js +15 -0
  192. package/dist/models/update-lead-request-dto.d.ts +44 -0
  193. package/dist/models/update-lead-request-dto.js +15 -0
  194. package/dist/models/update-lead-response-class.d.ts +25 -0
  195. package/dist/models/update-lead-response-class.js +15 -0
  196. package/dist/models/upload-customer-claim-documents-request-dto.d.ts +36 -0
  197. package/dist/models/upload-customer-claim-documents-request-dto.js +15 -0
  198. package/dist/models/upload-customer-policy-documents-request-dto.d.ts +47 -0
  199. package/dist/models/upload-customer-policy-documents-request-dto.js +20 -0
  200. package/dist/models/uploaded-document-dto.d.ts +24 -0
  201. package/dist/models/uploaded-document-dto.js +15 -0
  202. package/dist/models/verify-customer-invite-response-class.d.ts +36 -0
  203. package/dist/models/verify-customer-invite-response-class.js +15 -0
  204. package/dist/models/withdraw-customer-policy-response-class.d.ts +25 -0
  205. package/dist/models/withdraw-customer-policy-response-class.js +15 -0
  206. package/package.json +1 -1
@@ -0,0 +1,431 @@
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 { CreateCustomerClaimResponseClass } from '../models';
17
+ import { CreatePresignedPostResponseClass } from '../models';
18
+ import { GetCustomerClaimResponseClass } from '../models';
19
+ import { ListCustomerClaimsResponseClass } from '../models';
20
+ import { UpdateCustomerClaimRequestDto } from '../models';
21
+ import { UpdateCustomerClaimResponseClass } from '../models';
22
+ import { UploadCustomerClaimDocumentsRequestDto } from '../models';
23
+ /**
24
+ * ClaimsApi - axios parameter creator
25
+ * @export
26
+ */
27
+ export declare const ClaimsApiAxiosParamCreator: (configuration?: Configuration) => {
28
+ /**
29
+ * Create a new claim for customer.
30
+ * @summary Create a new claim
31
+ * @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
32
+ * @param {CreateCustomerClaimRequestDto} createCustomerClaimRequestDto
33
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
34
+ * @param {*} [options] Override http request option.
35
+ * @throws {RequiredError}
36
+ */
37
+ createCustomerClaim: (customerCode: string, createCustomerClaimRequestDto: CreateCustomerClaimRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
38
+ /**
39
+ * Get claim for customer.
40
+ * @summary Get claim
41
+ * @param {string} customerCode The customer code or \&quot;me\&quot; for the currently logged in customer.
42
+ * @param {string} claimCode The claim code to identify a claim.
43
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
44
+ * @param {*} [options] Override http request option.
45
+ * @throws {RequiredError}
46
+ */
47
+ getCustomerClaim: (customerCode: string, claimCode: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
48
+ /**
49
+ * List claims by customer.
50
+ * @summary List claims
51
+ * @param {string} customerCode The customer code or \&quot;me\&quot; for the currently logged in customer.
52
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
53
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
54
+ * @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.
55
+ * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
56
+ * @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.
57
+ * @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.
58
+ * @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.
59
+ * @param {*} [options] Override http request option.
60
+ * @throws {RequiredError}
61
+ */
62
+ listCustomerClaims: (customerCode: string, authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
63
+ /**
64
+ * Update claim for customer.
65
+ * @summary Update claim
66
+ * @param {string} customerCode The customer code or \&quot;me\&quot; for the currently logged in customer.
67
+ * @param {string} claimCode The claim code to identify a claim.
68
+ * @param {UpdateCustomerClaimRequestDto} updateCustomerClaimRequestDto
69
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
70
+ * @param {*} [options] Override http request option.
71
+ * @throws {RequiredError}
72
+ */
73
+ updateCustomerClaim: (customerCode: string, claimCode: string, updateCustomerClaimRequestDto: UpdateCustomerClaimRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
74
+ /**
75
+ * API to upload and attach documents to a claim.
76
+ * @summary Upload claim documents
77
+ * @param {string} customerCode
78
+ * @param {string} claimCode The claim code to identify a claim.
79
+ * @param {UploadCustomerClaimDocumentsRequestDto} uploadCustomerClaimDocumentsRequestDto
80
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
81
+ * @param {*} [options] Override http request option.
82
+ * @throws {RequiredError}
83
+ */
84
+ uploadCustomerClaimDocuments: (customerCode: string, claimCode: string, uploadCustomerClaimDocumentsRequestDto: UploadCustomerClaimDocumentsRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
85
+ };
86
+ /**
87
+ * ClaimsApi - functional programming interface
88
+ * @export
89
+ */
90
+ export declare const ClaimsApiFp: (configuration?: Configuration) => {
91
+ /**
92
+ * Create a new claim for customer.
93
+ * @summary Create a new claim
94
+ * @param {string} customerCode The customer code or \&quot;me\&quot; for the currently logged in customer.
95
+ * @param {CreateCustomerClaimRequestDto} createCustomerClaimRequestDto
96
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
97
+ * @param {*} [options] Override http request option.
98
+ * @throws {RequiredError}
99
+ */
100
+ createCustomerClaim(customerCode: string, createCustomerClaimRequestDto: CreateCustomerClaimRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateCustomerClaimResponseClass>>;
101
+ /**
102
+ * Get claim for customer.
103
+ * @summary Get claim
104
+ * @param {string} customerCode The customer code or \&quot;me\&quot; for the currently logged in customer.
105
+ * @param {string} claimCode The claim code to identify a claim.
106
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
107
+ * @param {*} [options] Override http request option.
108
+ * @throws {RequiredError}
109
+ */
110
+ getCustomerClaim(customerCode: string, claimCode: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetCustomerClaimResponseClass>>;
111
+ /**
112
+ * List claims by customer.
113
+ * @summary List claims
114
+ * @param {string} customerCode The customer code or \&quot;me\&quot; for the currently logged in customer.
115
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
116
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
117
+ * @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.
118
+ * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
119
+ * @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.
120
+ * @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.
121
+ * @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.
122
+ * @param {*} [options] Override http request option.
123
+ * @throws {RequiredError}
124
+ */
125
+ listCustomerClaims(customerCode: string, authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListCustomerClaimsResponseClass>>;
126
+ /**
127
+ * Update claim for customer.
128
+ * @summary Update claim
129
+ * @param {string} customerCode The customer code or \&quot;me\&quot; for the currently logged in customer.
130
+ * @param {string} claimCode The claim code to identify a claim.
131
+ * @param {UpdateCustomerClaimRequestDto} updateCustomerClaimRequestDto
132
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
133
+ * @param {*} [options] Override http request option.
134
+ * @throws {RequiredError}
135
+ */
136
+ updateCustomerClaim(customerCode: string, claimCode: string, updateCustomerClaimRequestDto: UpdateCustomerClaimRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateCustomerClaimResponseClass>>;
137
+ /**
138
+ * API to upload and attach documents to a claim.
139
+ * @summary Upload claim documents
140
+ * @param {string} customerCode
141
+ * @param {string} claimCode The claim code to identify a claim.
142
+ * @param {UploadCustomerClaimDocumentsRequestDto} uploadCustomerClaimDocumentsRequestDto
143
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
144
+ * @param {*} [options] Override http request option.
145
+ * @throws {RequiredError}
146
+ */
147
+ uploadCustomerClaimDocuments(customerCode: string, claimCode: string, uploadCustomerClaimDocumentsRequestDto: UploadCustomerClaimDocumentsRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePresignedPostResponseClass>>;
148
+ };
149
+ /**
150
+ * ClaimsApi - factory interface
151
+ * @export
152
+ */
153
+ export declare const ClaimsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
154
+ /**
155
+ * Create a new claim for customer.
156
+ * @summary Create a new claim
157
+ * @param {string} customerCode The customer code or \&quot;me\&quot; for the currently logged in customer.
158
+ * @param {CreateCustomerClaimRequestDto} createCustomerClaimRequestDto
159
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
160
+ * @param {*} [options] Override http request option.
161
+ * @throws {RequiredError}
162
+ */
163
+ createCustomerClaim(customerCode: string, createCustomerClaimRequestDto: CreateCustomerClaimRequestDto, authorization?: string, options?: any): AxiosPromise<CreateCustomerClaimResponseClass>;
164
+ /**
165
+ * Get claim for customer.
166
+ * @summary Get claim
167
+ * @param {string} customerCode The customer code or \&quot;me\&quot; for the currently logged in customer.
168
+ * @param {string} claimCode The claim code to identify a claim.
169
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
170
+ * @param {*} [options] Override http request option.
171
+ * @throws {RequiredError}
172
+ */
173
+ getCustomerClaim(customerCode: string, claimCode: string, authorization?: string, options?: any): AxiosPromise<GetCustomerClaimResponseClass>;
174
+ /**
175
+ * List claims by customer.
176
+ * @summary List claims
177
+ * @param {string} customerCode The customer code or \&quot;me\&quot; for the currently logged in customer.
178
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
179
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
180
+ * @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.
181
+ * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
182
+ * @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.
183
+ * @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.
184
+ * @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.
185
+ * @param {*} [options] Override http request option.
186
+ * @throws {RequiredError}
187
+ */
188
+ listCustomerClaims(customerCode: string, authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: any): AxiosPromise<ListCustomerClaimsResponseClass>;
189
+ /**
190
+ * Update claim for customer.
191
+ * @summary Update claim
192
+ * @param {string} customerCode The customer code or \&quot;me\&quot; for the currently logged in customer.
193
+ * @param {string} claimCode The claim code to identify a claim.
194
+ * @param {UpdateCustomerClaimRequestDto} updateCustomerClaimRequestDto
195
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
196
+ * @param {*} [options] Override http request option.
197
+ * @throws {RequiredError}
198
+ */
199
+ updateCustomerClaim(customerCode: string, claimCode: string, updateCustomerClaimRequestDto: UpdateCustomerClaimRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateCustomerClaimResponseClass>;
200
+ /**
201
+ * API to upload and attach documents to a claim.
202
+ * @summary Upload claim documents
203
+ * @param {string} customerCode
204
+ * @param {string} claimCode The claim code to identify a claim.
205
+ * @param {UploadCustomerClaimDocumentsRequestDto} uploadCustomerClaimDocumentsRequestDto
206
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
207
+ * @param {*} [options] Override http request option.
208
+ * @throws {RequiredError}
209
+ */
210
+ uploadCustomerClaimDocuments(customerCode: string, claimCode: string, uploadCustomerClaimDocumentsRequestDto: UploadCustomerClaimDocumentsRequestDto, authorization?: string, options?: any): AxiosPromise<CreatePresignedPostResponseClass>;
211
+ };
212
+ /**
213
+ * Request parameters for createCustomerClaim operation in ClaimsApi.
214
+ * @export
215
+ * @interface ClaimsApiCreateCustomerClaimRequest
216
+ */
217
+ export interface ClaimsApiCreateCustomerClaimRequest {
218
+ /**
219
+ * The customer code or \&quot;me\&quot; for the currently logged in customer.
220
+ * @type {string}
221
+ * @memberof ClaimsApiCreateCustomerClaim
222
+ */
223
+ readonly customerCode: string;
224
+ /**
225
+ *
226
+ * @type {CreateCustomerClaimRequestDto}
227
+ * @memberof ClaimsApiCreateCustomerClaim
228
+ */
229
+ readonly createCustomerClaimRequestDto: CreateCustomerClaimRequestDto;
230
+ /**
231
+ * Bearer Token: provided by the login endpoint under the name accessToken.
232
+ * @type {string}
233
+ * @memberof ClaimsApiCreateCustomerClaim
234
+ */
235
+ readonly authorization?: string;
236
+ }
237
+ /**
238
+ * Request parameters for getCustomerClaim operation in ClaimsApi.
239
+ * @export
240
+ * @interface ClaimsApiGetCustomerClaimRequest
241
+ */
242
+ export interface ClaimsApiGetCustomerClaimRequest {
243
+ /**
244
+ * The customer code or \&quot;me\&quot; for the currently logged in customer.
245
+ * @type {string}
246
+ * @memberof ClaimsApiGetCustomerClaim
247
+ */
248
+ readonly customerCode: string;
249
+ /**
250
+ * The claim code to identify a claim.
251
+ * @type {string}
252
+ * @memberof ClaimsApiGetCustomerClaim
253
+ */
254
+ readonly claimCode: string;
255
+ /**
256
+ * Bearer Token: provided by the login endpoint under the name accessToken.
257
+ * @type {string}
258
+ * @memberof ClaimsApiGetCustomerClaim
259
+ */
260
+ readonly authorization?: string;
261
+ }
262
+ /**
263
+ * Request parameters for listCustomerClaims operation in ClaimsApi.
264
+ * @export
265
+ * @interface ClaimsApiListCustomerClaimsRequest
266
+ */
267
+ export interface ClaimsApiListCustomerClaimsRequest {
268
+ /**
269
+ * The customer code or \&quot;me\&quot; for the currently logged in customer.
270
+ * @type {string}
271
+ * @memberof ClaimsApiListCustomerClaims
272
+ */
273
+ readonly customerCode: string;
274
+ /**
275
+ * Bearer Token: provided by the login endpoint under the name accessToken.
276
+ * @type {string}
277
+ * @memberof ClaimsApiListCustomerClaims
278
+ */
279
+ readonly authorization?: string;
280
+ /**
281
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
282
+ * @type {any}
283
+ * @memberof ClaimsApiListCustomerClaims
284
+ */
285
+ readonly pageSize?: any;
286
+ /**
287
+ * 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.
288
+ * @type {any}
289
+ * @memberof ClaimsApiListCustomerClaims
290
+ */
291
+ readonly pageToken?: any;
292
+ /**
293
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
294
+ * @type {any}
295
+ * @memberof ClaimsApiListCustomerClaims
296
+ */
297
+ readonly filter?: any;
298
+ /**
299
+ * 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.
300
+ * @type {any}
301
+ * @memberof ClaimsApiListCustomerClaims
302
+ */
303
+ readonly search?: any;
304
+ /**
305
+ * 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.
306
+ * @type {any}
307
+ * @memberof ClaimsApiListCustomerClaims
308
+ */
309
+ readonly order?: any;
310
+ /**
311
+ * 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.
312
+ * @type {any}
313
+ * @memberof ClaimsApiListCustomerClaims
314
+ */
315
+ readonly expand?: any;
316
+ }
317
+ /**
318
+ * Request parameters for updateCustomerClaim operation in ClaimsApi.
319
+ * @export
320
+ * @interface ClaimsApiUpdateCustomerClaimRequest
321
+ */
322
+ export interface ClaimsApiUpdateCustomerClaimRequest {
323
+ /**
324
+ * The customer code or \&quot;me\&quot; for the currently logged in customer.
325
+ * @type {string}
326
+ * @memberof ClaimsApiUpdateCustomerClaim
327
+ */
328
+ readonly customerCode: string;
329
+ /**
330
+ * The claim code to identify a claim.
331
+ * @type {string}
332
+ * @memberof ClaimsApiUpdateCustomerClaim
333
+ */
334
+ readonly claimCode: string;
335
+ /**
336
+ *
337
+ * @type {UpdateCustomerClaimRequestDto}
338
+ * @memberof ClaimsApiUpdateCustomerClaim
339
+ */
340
+ readonly updateCustomerClaimRequestDto: UpdateCustomerClaimRequestDto;
341
+ /**
342
+ * Bearer Token: provided by the login endpoint under the name accessToken.
343
+ * @type {string}
344
+ * @memberof ClaimsApiUpdateCustomerClaim
345
+ */
346
+ readonly authorization?: string;
347
+ }
348
+ /**
349
+ * Request parameters for uploadCustomerClaimDocuments operation in ClaimsApi.
350
+ * @export
351
+ * @interface ClaimsApiUploadCustomerClaimDocumentsRequest
352
+ */
353
+ export interface ClaimsApiUploadCustomerClaimDocumentsRequest {
354
+ /**
355
+ *
356
+ * @type {string}
357
+ * @memberof ClaimsApiUploadCustomerClaimDocuments
358
+ */
359
+ readonly customerCode: string;
360
+ /**
361
+ * The claim code to identify a claim.
362
+ * @type {string}
363
+ * @memberof ClaimsApiUploadCustomerClaimDocuments
364
+ */
365
+ readonly claimCode: string;
366
+ /**
367
+ *
368
+ * @type {UploadCustomerClaimDocumentsRequestDto}
369
+ * @memberof ClaimsApiUploadCustomerClaimDocuments
370
+ */
371
+ readonly uploadCustomerClaimDocumentsRequestDto: UploadCustomerClaimDocumentsRequestDto;
372
+ /**
373
+ * Bearer Token: provided by the login endpoint under the name accessToken.
374
+ * @type {string}
375
+ * @memberof ClaimsApiUploadCustomerClaimDocuments
376
+ */
377
+ readonly authorization?: string;
378
+ }
379
+ /**
380
+ * ClaimsApi - object-oriented interface
381
+ * @export
382
+ * @class ClaimsApi
383
+ * @extends {BaseAPI}
384
+ */
385
+ export declare class ClaimsApi extends BaseAPI {
386
+ /**
387
+ * Create a new claim for customer.
388
+ * @summary Create a new claim
389
+ * @param {ClaimsApiCreateCustomerClaimRequest} requestParameters Request parameters.
390
+ * @param {*} [options] Override http request option.
391
+ * @throws {RequiredError}
392
+ * @memberof ClaimsApi
393
+ */
394
+ createCustomerClaim(requestParameters: ClaimsApiCreateCustomerClaimRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateCustomerClaimResponseClass, any>>;
395
+ /**
396
+ * Get claim for customer.
397
+ * @summary Get claim
398
+ * @param {ClaimsApiGetCustomerClaimRequest} requestParameters Request parameters.
399
+ * @param {*} [options] Override http request option.
400
+ * @throws {RequiredError}
401
+ * @memberof ClaimsApi
402
+ */
403
+ getCustomerClaim(requestParameters: ClaimsApiGetCustomerClaimRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetCustomerClaimResponseClass, any>>;
404
+ /**
405
+ * List claims by customer.
406
+ * @summary List claims
407
+ * @param {ClaimsApiListCustomerClaimsRequest} requestParameters Request parameters.
408
+ * @param {*} [options] Override http request option.
409
+ * @throws {RequiredError}
410
+ * @memberof ClaimsApi
411
+ */
412
+ listCustomerClaims(requestParameters: ClaimsApiListCustomerClaimsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListCustomerClaimsResponseClass, any>>;
413
+ /**
414
+ * Update claim for customer.
415
+ * @summary Update claim
416
+ * @param {ClaimsApiUpdateCustomerClaimRequest} requestParameters Request parameters.
417
+ * @param {*} [options] Override http request option.
418
+ * @throws {RequiredError}
419
+ * @memberof ClaimsApi
420
+ */
421
+ updateCustomerClaim(requestParameters: ClaimsApiUpdateCustomerClaimRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateCustomerClaimResponseClass, any>>;
422
+ /**
423
+ * API to upload and attach documents to a claim.
424
+ * @summary Upload claim documents
425
+ * @param {ClaimsApiUploadCustomerClaimDocumentsRequest} requestParameters Request parameters.
426
+ * @param {*} [options] Override http request option.
427
+ * @throws {RequiredError}
428
+ * @memberof ClaimsApi
429
+ */
430
+ uploadCustomerClaimDocuments(requestParameters: ClaimsApiUploadCustomerClaimDocumentsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePresignedPostResponseClass, any>>;
431
+ }