@emilgroup/customer-sdk-node 1.26.0 → 1.32.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 (210) 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 +174 -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 +120 -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 +105 -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 +120 -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/models/claim-class.ts +13 -1
  207. package/models/create-customer-claim-request-dto.ts +8 -2
  208. package/models/customer-document-class.ts +6 -0
  209. package/models/update-customer-claim-request-dto.ts +8 -2
  210. package/package.json +1 -1
@@ -0,0 +1,271 @@
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 { GetCustomerResponseClass } from '../models';
16
+ import { UpdateCustomerRequestDto } from '../models';
17
+ import { UpdateCustomerResponseClass } from '../models';
18
+ /**
19
+ * CustomersApi - axios parameter creator
20
+ * @export
21
+ */
22
+ export declare const CustomersApiAxiosParamCreator: (configuration?: Configuration) => {
23
+ /**
24
+ * Get customer details.
25
+ * @summary Get customer details
26
+ * @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
27
+ * @param {string} [expand] Fields to expand response by - [account]
28
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
29
+ * @param {*} [options] Override http request option.
30
+ * @throws {RequiredError}
31
+ */
32
+ getCustomer: (customerCode: string, expand?: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
33
+ /**
34
+ * Get customer list.
35
+ * @summary Get customers list
36
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
37
+ * @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.
38
+ * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
39
+ * @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.
40
+ * @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.
41
+ * @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.
42
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
43
+ * @param {*} [options] Override http request option.
44
+ * @throws {RequiredError}
45
+ */
46
+ listCustomers: (pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
47
+ /**
48
+ * Update customer details like phone, email, names, addresses etc.
49
+ * @summary Update customer details
50
+ * @param {string} customerCode The customer code or \&quot;me\&quot; for the currently logged in customer.
51
+ * @param {UpdateCustomerRequestDto} updateCustomerRequestDto
52
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
53
+ * @param {*} [options] Override http request option.
54
+ * @throws {RequiredError}
55
+ */
56
+ updateCustomer: (customerCode: string, updateCustomerRequestDto: UpdateCustomerRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
57
+ };
58
+ /**
59
+ * CustomersApi - functional programming interface
60
+ * @export
61
+ */
62
+ export declare const CustomersApiFp: (configuration?: Configuration) => {
63
+ /**
64
+ * Get customer details.
65
+ * @summary Get customer details
66
+ * @param {string} customerCode The customer code or \&quot;me\&quot; for the currently logged in customer.
67
+ * @param {string} [expand] Fields to expand response by - [account]
68
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
69
+ * @param {*} [options] Override http request option.
70
+ * @throws {RequiredError}
71
+ */
72
+ getCustomer(customerCode: string, expand?: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetCustomerResponseClass>>;
73
+ /**
74
+ * Get customer list.
75
+ * @summary Get customers list
76
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
77
+ * @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.
78
+ * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
79
+ * @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.
80
+ * @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.
81
+ * @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.
82
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
83
+ * @param {*} [options] Override http request option.
84
+ * @throws {RequiredError}
85
+ */
86
+ listCustomers(pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
87
+ /**
88
+ * Update customer details like phone, email, names, addresses etc.
89
+ * @summary Update customer details
90
+ * @param {string} customerCode The customer code or \&quot;me\&quot; for the currently logged in customer.
91
+ * @param {UpdateCustomerRequestDto} updateCustomerRequestDto
92
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
93
+ * @param {*} [options] Override http request option.
94
+ * @throws {RequiredError}
95
+ */
96
+ updateCustomer(customerCode: string, updateCustomerRequestDto: UpdateCustomerRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateCustomerResponseClass>>;
97
+ };
98
+ /**
99
+ * CustomersApi - factory interface
100
+ * @export
101
+ */
102
+ export declare const CustomersApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
103
+ /**
104
+ * Get customer details.
105
+ * @summary Get customer details
106
+ * @param {string} customerCode The customer code or \&quot;me\&quot; for the currently logged in customer.
107
+ * @param {string} [expand] Fields to expand response by - [account]
108
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
109
+ * @param {*} [options] Override http request option.
110
+ * @throws {RequiredError}
111
+ */
112
+ getCustomer(customerCode: string, expand?: string, authorization?: string, options?: any): AxiosPromise<GetCustomerResponseClass>;
113
+ /**
114
+ * Get customer list.
115
+ * @summary Get customers list
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 {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
123
+ * @param {*} [options] Override http request option.
124
+ * @throws {RequiredError}
125
+ */
126
+ listCustomers(pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, authorization?: string, options?: any): AxiosPromise<object>;
127
+ /**
128
+ * Update customer details like phone, email, names, addresses etc.
129
+ * @summary Update customer details
130
+ * @param {string} customerCode The customer code or \&quot;me\&quot; for the currently logged in customer.
131
+ * @param {UpdateCustomerRequestDto} updateCustomerRequestDto
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
+ updateCustomer(customerCode: string, updateCustomerRequestDto: UpdateCustomerRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateCustomerResponseClass>;
137
+ };
138
+ /**
139
+ * Request parameters for getCustomer operation in CustomersApi.
140
+ * @export
141
+ * @interface CustomersApiGetCustomerRequest
142
+ */
143
+ export interface CustomersApiGetCustomerRequest {
144
+ /**
145
+ * The customer code or \&quot;me\&quot; for the currently logged in customer.
146
+ * @type {string}
147
+ * @memberof CustomersApiGetCustomer
148
+ */
149
+ readonly customerCode: string;
150
+ /**
151
+ * Fields to expand response by - [account]
152
+ * @type {string}
153
+ * @memberof CustomersApiGetCustomer
154
+ */
155
+ readonly expand?: string;
156
+ /**
157
+ * Bearer Token: provided by the login endpoint under the name accessToken.
158
+ * @type {string}
159
+ * @memberof CustomersApiGetCustomer
160
+ */
161
+ readonly authorization?: string;
162
+ }
163
+ /**
164
+ * Request parameters for listCustomers operation in CustomersApi.
165
+ * @export
166
+ * @interface CustomersApiListCustomersRequest
167
+ */
168
+ export interface CustomersApiListCustomersRequest {
169
+ /**
170
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
171
+ * @type {any}
172
+ * @memberof CustomersApiListCustomers
173
+ */
174
+ readonly pageSize?: any;
175
+ /**
176
+ * 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.
177
+ * @type {any}
178
+ * @memberof CustomersApiListCustomers
179
+ */
180
+ readonly pageToken?: any;
181
+ /**
182
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
183
+ * @type {any}
184
+ * @memberof CustomersApiListCustomers
185
+ */
186
+ readonly filter?: any;
187
+ /**
188
+ * 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.
189
+ * @type {any}
190
+ * @memberof CustomersApiListCustomers
191
+ */
192
+ readonly search?: any;
193
+ /**
194
+ * 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.
195
+ * @type {any}
196
+ * @memberof CustomersApiListCustomers
197
+ */
198
+ readonly order?: any;
199
+ /**
200
+ * 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.
201
+ * @type {any}
202
+ * @memberof CustomersApiListCustomers
203
+ */
204
+ readonly expand?: any;
205
+ /**
206
+ * Bearer Token: provided by the login endpoint under the name accessToken.
207
+ * @type {string}
208
+ * @memberof CustomersApiListCustomers
209
+ */
210
+ readonly authorization?: string;
211
+ }
212
+ /**
213
+ * Request parameters for updateCustomer operation in CustomersApi.
214
+ * @export
215
+ * @interface CustomersApiUpdateCustomerRequest
216
+ */
217
+ export interface CustomersApiUpdateCustomerRequest {
218
+ /**
219
+ * The customer code or \&quot;me\&quot; for the currently logged in customer.
220
+ * @type {string}
221
+ * @memberof CustomersApiUpdateCustomer
222
+ */
223
+ readonly customerCode: string;
224
+ /**
225
+ *
226
+ * @type {UpdateCustomerRequestDto}
227
+ * @memberof CustomersApiUpdateCustomer
228
+ */
229
+ readonly updateCustomerRequestDto: UpdateCustomerRequestDto;
230
+ /**
231
+ * Bearer Token: provided by the login endpoint under the name accessToken.
232
+ * @type {string}
233
+ * @memberof CustomersApiUpdateCustomer
234
+ */
235
+ readonly authorization?: string;
236
+ }
237
+ /**
238
+ * CustomersApi - object-oriented interface
239
+ * @export
240
+ * @class CustomersApi
241
+ * @extends {BaseAPI}
242
+ */
243
+ export declare class CustomersApi extends BaseAPI {
244
+ /**
245
+ * Get customer details.
246
+ * @summary Get customer details
247
+ * @param {CustomersApiGetCustomerRequest} requestParameters Request parameters.
248
+ * @param {*} [options] Override http request option.
249
+ * @throws {RequiredError}
250
+ * @memberof CustomersApi
251
+ */
252
+ getCustomer(requestParameters: CustomersApiGetCustomerRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetCustomerResponseClass, any>>;
253
+ /**
254
+ * Get customer list.
255
+ * @summary Get customers list
256
+ * @param {CustomersApiListCustomersRequest} requestParameters Request parameters.
257
+ * @param {*} [options] Override http request option.
258
+ * @throws {RequiredError}
259
+ * @memberof CustomersApi
260
+ */
261
+ listCustomers(requestParameters?: CustomersApiListCustomersRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
262
+ /**
263
+ * Update customer details like phone, email, names, addresses etc.
264
+ * @summary Update customer details
265
+ * @param {CustomersApiUpdateCustomerRequest} requestParameters Request parameters.
266
+ * @param {*} [options] Override http request option.
267
+ * @throws {RequiredError}
268
+ * @memberof CustomersApi
269
+ */
270
+ updateCustomer(requestParameters: CustomersApiUpdateCustomerRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateCustomerResponseClass, any>>;
271
+ }