@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
package/README.md CHANGED
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
17
17
  Navigate to the folder of your consuming project and run one of the following commands:
18
18
 
19
19
  ```
20
- npm install @emilgroup/customer-sdk-node@1.26.0 --save
20
+ npm install @emilgroup/customer-sdk-node@1.32.0 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/customer-sdk-node@1.26.0
24
+ yarn add @emilgroup/customer-sdk-node@1.32.0
25
25
  ```
26
26
 
27
27
  And then you can import `CustomersApi`.
@@ -0,0 +1,332 @@
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 { ForgotPasswordRequestDto } from '../models';
16
+ import { InitiateAuthRequestDto } from '../models';
17
+ import { InitiateAuthResponseClass } from '../models';
18
+ import { RefreshTokenDto } from '../models';
19
+ import { ResetPasswordByCustomerRequestDto } from '../models';
20
+ import { RespondToAuthChallengeClass } from '../models';
21
+ import { RespondToAuthChallengeRequestDto } from '../models';
22
+ /**
23
+ * AuthenticationApi - axios parameter creator
24
+ * @export
25
+ */
26
+ export declare const AuthenticationApiAxiosParamCreator: (configuration?: Configuration) => {
27
+ /**
28
+ * Send a customer a reset-password token via email.
29
+ * @summary Forgot password by customer
30
+ * @param {ForgotPasswordRequestDto} forgotPasswordRequestDto
31
+ * @param {*} [options] Override http request option.
32
+ * @throws {RequiredError}
33
+ */
34
+ forgotPassword: (forgotPasswordRequestDto: ForgotPasswordRequestDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
35
+ /**
36
+ * Start auth process to get new access token, refresh token after successful login.
37
+ * @summary Initiate auth by customer
38
+ * @param {InitiateAuthRequestDto} initiateAuthRequestDto
39
+ * @param {*} [options] Override http request option.
40
+ * @throws {RequiredError}
41
+ */
42
+ initiateAuth: (initiateAuthRequestDto: InitiateAuthRequestDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
43
+ /**
44
+ * Get new access token, new refresh token.
45
+ * @summary Refresh token by customer
46
+ * @param {RefreshTokenDto} refreshTokenDto
47
+ * @param {string} [cookie] HTTP only cookie that was sent during login.
48
+ * @param {*} [options] Override http request option.
49
+ * @throws {RequiredError}
50
+ */
51
+ refreshToken: (refreshTokenDto: RefreshTokenDto, cookie?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
52
+ /**
53
+ * Change customer\'s password using the token provided by the reset password endpoint.
54
+ * @summary Change password by customer
55
+ * @param {ResetPasswordByCustomerRequestDto} resetPasswordByCustomerRequestDto
56
+ * @param {*} [options] Override http request option.
57
+ * @throws {RequiredError}
58
+ */
59
+ resetPassword: (resetPasswordByCustomerRequestDto: ResetPasswordByCustomerRequestDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
60
+ /**
61
+ * Respond to the auth challenge by customer to get new access token, refresh token after successful login.
62
+ * @summary Respond to auth challenge
63
+ * @param {RespondToAuthChallengeRequestDto} respondToAuthChallengeRequestDto
64
+ * @param {*} [options] Override http request option.
65
+ * @throws {RequiredError}
66
+ */
67
+ respondToAuthChallenge: (respondToAuthChallengeRequestDto: RespondToAuthChallengeRequestDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
68
+ /**
69
+ * Verify the reset password token that is sent by calling the \'forgot password\' endpoint.
70
+ * @summary Verify a reset password token
71
+ * @param {string} resetToken reset password token
72
+ * @param {*} [options] Override http request option.
73
+ * @throws {RequiredError}
74
+ */
75
+ verifyResetPasswordToken: (resetToken: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
76
+ };
77
+ /**
78
+ * AuthenticationApi - functional programming interface
79
+ * @export
80
+ */
81
+ export declare const AuthenticationApiFp: (configuration?: Configuration) => {
82
+ /**
83
+ * Send a customer a reset-password token via email.
84
+ * @summary Forgot password by customer
85
+ * @param {ForgotPasswordRequestDto} forgotPasswordRequestDto
86
+ * @param {*} [options] Override http request option.
87
+ * @throws {RequiredError}
88
+ */
89
+ forgotPassword(forgotPasswordRequestDto: ForgotPasswordRequestDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
90
+ /**
91
+ * Start auth process to get new access token, refresh token after successful login.
92
+ * @summary Initiate auth by customer
93
+ * @param {InitiateAuthRequestDto} initiateAuthRequestDto
94
+ * @param {*} [options] Override http request option.
95
+ * @throws {RequiredError}
96
+ */
97
+ initiateAuth(initiateAuthRequestDto: InitiateAuthRequestDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InitiateAuthResponseClass>>;
98
+ /**
99
+ * Get new access token, new refresh token.
100
+ * @summary Refresh token by customer
101
+ * @param {RefreshTokenDto} refreshTokenDto
102
+ * @param {string} [cookie] HTTP only cookie that was sent during login.
103
+ * @param {*} [options] Override http request option.
104
+ * @throws {RequiredError}
105
+ */
106
+ refreshToken(refreshTokenDto: RefreshTokenDto, cookie?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
107
+ /**
108
+ * Change customer\'s password using the token provided by the reset password endpoint.
109
+ * @summary Change password by customer
110
+ * @param {ResetPasswordByCustomerRequestDto} resetPasswordByCustomerRequestDto
111
+ * @param {*} [options] Override http request option.
112
+ * @throws {RequiredError}
113
+ */
114
+ resetPassword(resetPasswordByCustomerRequestDto: ResetPasswordByCustomerRequestDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
115
+ /**
116
+ * Respond to the auth challenge by customer to get new access token, refresh token after successful login.
117
+ * @summary Respond to auth challenge
118
+ * @param {RespondToAuthChallengeRequestDto} respondToAuthChallengeRequestDto
119
+ * @param {*} [options] Override http request option.
120
+ * @throws {RequiredError}
121
+ */
122
+ respondToAuthChallenge(respondToAuthChallengeRequestDto: RespondToAuthChallengeRequestDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RespondToAuthChallengeClass>>;
123
+ /**
124
+ * Verify the reset password token that is sent by calling the \'forgot password\' endpoint.
125
+ * @summary Verify a reset password token
126
+ * @param {string} resetToken reset password token
127
+ * @param {*} [options] Override http request option.
128
+ * @throws {RequiredError}
129
+ */
130
+ verifyResetPasswordToken(resetToken: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
131
+ };
132
+ /**
133
+ * AuthenticationApi - factory interface
134
+ * @export
135
+ */
136
+ export declare const AuthenticationApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
137
+ /**
138
+ * Send a customer a reset-password token via email.
139
+ * @summary Forgot password by customer
140
+ * @param {ForgotPasswordRequestDto} forgotPasswordRequestDto
141
+ * @param {*} [options] Override http request option.
142
+ * @throws {RequiredError}
143
+ */
144
+ forgotPassword(forgotPasswordRequestDto: ForgotPasswordRequestDto, options?: any): AxiosPromise<void>;
145
+ /**
146
+ * Start auth process to get new access token, refresh token after successful login.
147
+ * @summary Initiate auth by customer
148
+ * @param {InitiateAuthRequestDto} initiateAuthRequestDto
149
+ * @param {*} [options] Override http request option.
150
+ * @throws {RequiredError}
151
+ */
152
+ initiateAuth(initiateAuthRequestDto: InitiateAuthRequestDto, options?: any): AxiosPromise<InitiateAuthResponseClass>;
153
+ /**
154
+ * Get new access token, new refresh token.
155
+ * @summary Refresh token by customer
156
+ * @param {RefreshTokenDto} refreshTokenDto
157
+ * @param {string} [cookie] HTTP only cookie that was sent during login.
158
+ * @param {*} [options] Override http request option.
159
+ * @throws {RequiredError}
160
+ */
161
+ refreshToken(refreshTokenDto: RefreshTokenDto, cookie?: string, options?: any): AxiosPromise<void>;
162
+ /**
163
+ * Change customer\'s password using the token provided by the reset password endpoint.
164
+ * @summary Change password by customer
165
+ * @param {ResetPasswordByCustomerRequestDto} resetPasswordByCustomerRequestDto
166
+ * @param {*} [options] Override http request option.
167
+ * @throws {RequiredError}
168
+ */
169
+ resetPassword(resetPasswordByCustomerRequestDto: ResetPasswordByCustomerRequestDto, options?: any): AxiosPromise<void>;
170
+ /**
171
+ * Respond to the auth challenge by customer to get new access token, refresh token after successful login.
172
+ * @summary Respond to auth challenge
173
+ * @param {RespondToAuthChallengeRequestDto} respondToAuthChallengeRequestDto
174
+ * @param {*} [options] Override http request option.
175
+ * @throws {RequiredError}
176
+ */
177
+ respondToAuthChallenge(respondToAuthChallengeRequestDto: RespondToAuthChallengeRequestDto, options?: any): AxiosPromise<RespondToAuthChallengeClass>;
178
+ /**
179
+ * Verify the reset password token that is sent by calling the \'forgot password\' endpoint.
180
+ * @summary Verify a reset password token
181
+ * @param {string} resetToken reset password token
182
+ * @param {*} [options] Override http request option.
183
+ * @throws {RequiredError}
184
+ */
185
+ verifyResetPasswordToken(resetToken: string, options?: any): AxiosPromise<void>;
186
+ };
187
+ /**
188
+ * Request parameters for forgotPassword operation in AuthenticationApi.
189
+ * @export
190
+ * @interface AuthenticationApiForgotPasswordRequest
191
+ */
192
+ export interface AuthenticationApiForgotPasswordRequest {
193
+ /**
194
+ *
195
+ * @type {ForgotPasswordRequestDto}
196
+ * @memberof AuthenticationApiForgotPassword
197
+ */
198
+ readonly forgotPasswordRequestDto: ForgotPasswordRequestDto;
199
+ }
200
+ /**
201
+ * Request parameters for initiateAuth operation in AuthenticationApi.
202
+ * @export
203
+ * @interface AuthenticationApiInitiateAuthRequest
204
+ */
205
+ export interface AuthenticationApiInitiateAuthRequest {
206
+ /**
207
+ *
208
+ * @type {InitiateAuthRequestDto}
209
+ * @memberof AuthenticationApiInitiateAuth
210
+ */
211
+ readonly initiateAuthRequestDto: InitiateAuthRequestDto;
212
+ }
213
+ /**
214
+ * Request parameters for refreshToken operation in AuthenticationApi.
215
+ * @export
216
+ * @interface AuthenticationApiRefreshTokenRequest
217
+ */
218
+ export interface AuthenticationApiRefreshTokenRequest {
219
+ /**
220
+ *
221
+ * @type {RefreshTokenDto}
222
+ * @memberof AuthenticationApiRefreshToken
223
+ */
224
+ readonly refreshTokenDto: RefreshTokenDto;
225
+ /**
226
+ * HTTP only cookie that was sent during login.
227
+ * @type {string}
228
+ * @memberof AuthenticationApiRefreshToken
229
+ */
230
+ readonly cookie?: string;
231
+ }
232
+ /**
233
+ * Request parameters for resetPassword operation in AuthenticationApi.
234
+ * @export
235
+ * @interface AuthenticationApiResetPasswordRequest
236
+ */
237
+ export interface AuthenticationApiResetPasswordRequest {
238
+ /**
239
+ *
240
+ * @type {ResetPasswordByCustomerRequestDto}
241
+ * @memberof AuthenticationApiResetPassword
242
+ */
243
+ readonly resetPasswordByCustomerRequestDto: ResetPasswordByCustomerRequestDto;
244
+ }
245
+ /**
246
+ * Request parameters for respondToAuthChallenge operation in AuthenticationApi.
247
+ * @export
248
+ * @interface AuthenticationApiRespondToAuthChallengeRequest
249
+ */
250
+ export interface AuthenticationApiRespondToAuthChallengeRequest {
251
+ /**
252
+ *
253
+ * @type {RespondToAuthChallengeRequestDto}
254
+ * @memberof AuthenticationApiRespondToAuthChallenge
255
+ */
256
+ readonly respondToAuthChallengeRequestDto: RespondToAuthChallengeRequestDto;
257
+ }
258
+ /**
259
+ * Request parameters for verifyResetPasswordToken operation in AuthenticationApi.
260
+ * @export
261
+ * @interface AuthenticationApiVerifyResetPasswordTokenRequest
262
+ */
263
+ export interface AuthenticationApiVerifyResetPasswordTokenRequest {
264
+ /**
265
+ * reset password token
266
+ * @type {string}
267
+ * @memberof AuthenticationApiVerifyResetPasswordToken
268
+ */
269
+ readonly resetToken: string;
270
+ }
271
+ /**
272
+ * AuthenticationApi - object-oriented interface
273
+ * @export
274
+ * @class AuthenticationApi
275
+ * @extends {BaseAPI}
276
+ */
277
+ export declare class AuthenticationApi extends BaseAPI {
278
+ /**
279
+ * Send a customer a reset-password token via email.
280
+ * @summary Forgot password by customer
281
+ * @param {AuthenticationApiForgotPasswordRequest} requestParameters Request parameters.
282
+ * @param {*} [options] Override http request option.
283
+ * @throws {RequiredError}
284
+ * @memberof AuthenticationApi
285
+ */
286
+ forgotPassword(requestParameters: AuthenticationApiForgotPasswordRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
287
+ /**
288
+ * Start auth process to get new access token, refresh token after successful login.
289
+ * @summary Initiate auth by customer
290
+ * @param {AuthenticationApiInitiateAuthRequest} requestParameters Request parameters.
291
+ * @param {*} [options] Override http request option.
292
+ * @throws {RequiredError}
293
+ * @memberof AuthenticationApi
294
+ */
295
+ initiateAuth(requestParameters: AuthenticationApiInitiateAuthRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InitiateAuthResponseClass, any>>;
296
+ /**
297
+ * Get new access token, new refresh token.
298
+ * @summary Refresh token by customer
299
+ * @param {AuthenticationApiRefreshTokenRequest} requestParameters Request parameters.
300
+ * @param {*} [options] Override http request option.
301
+ * @throws {RequiredError}
302
+ * @memberof AuthenticationApi
303
+ */
304
+ refreshToken(requestParameters: AuthenticationApiRefreshTokenRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
305
+ /**
306
+ * Change customer\'s password using the token provided by the reset password endpoint.
307
+ * @summary Change password by customer
308
+ * @param {AuthenticationApiResetPasswordRequest} requestParameters Request parameters.
309
+ * @param {*} [options] Override http request option.
310
+ * @throws {RequiredError}
311
+ * @memberof AuthenticationApi
312
+ */
313
+ resetPassword(requestParameters: AuthenticationApiResetPasswordRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
314
+ /**
315
+ * Respond to the auth challenge by customer to get new access token, refresh token after successful login.
316
+ * @summary Respond to auth challenge
317
+ * @param {AuthenticationApiRespondToAuthChallengeRequest} requestParameters Request parameters.
318
+ * @param {*} [options] Override http request option.
319
+ * @throws {RequiredError}
320
+ * @memberof AuthenticationApi
321
+ */
322
+ respondToAuthChallenge(requestParameters: AuthenticationApiRespondToAuthChallengeRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<RespondToAuthChallengeClass, any>>;
323
+ /**
324
+ * Verify the reset password token that is sent by calling the \'forgot password\' endpoint.
325
+ * @summary Verify a reset password token
326
+ * @param {AuthenticationApiVerifyResetPasswordTokenRequest} requestParameters Request parameters.
327
+ * @param {*} [options] Override http request option.
328
+ * @throws {RequiredError}
329
+ * @memberof AuthenticationApi
330
+ */
331
+ verifyResetPasswordToken(requestParameters: AuthenticationApiVerifyResetPasswordTokenRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
332
+ }