@emilgroup/payment-sdk 1.5.1-beta.2 → 1.6.1-beta.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 (188) hide show
  1. package/.openapi-generator/FILES +52 -0
  2. package/README.md +2 -2
  3. package/api/bank-accounts-api.ts +20 -12
  4. package/api/bank-transaction-api.ts +20 -10
  5. package/api/payment-methods-api.ts +26 -18
  6. package/api/payment-reminders-api.ts +16 -8
  7. package/api/payment-setup-api.ts +36 -28
  8. package/api/payments-api.ts +12 -6
  9. package/api/refunds-api.ts +12 -6
  10. package/api/webhooks-api.ts +4 -4
  11. package/dist/api/bank-accounts-api.d.ts +22 -18
  12. package/dist/api/bank-transaction-api.d.ts +20 -15
  13. package/dist/api/payment-methods-api.d.ts +19 -15
  14. package/dist/api/payment-methods-api.js +12 -12
  15. package/dist/api/payment-reminders-api.d.ts +16 -12
  16. package/dist/api/payment-setup-api.d.ts +22 -18
  17. package/dist/api/payment-setup-api.js +24 -24
  18. package/dist/api/payments-api.d.ts +12 -9
  19. package/dist/api/refunds-api.d.ts +12 -9
  20. package/dist/api/webhooks-api.d.ts +4 -4
  21. package/dist/api/webhooks-api.js +3 -3
  22. package/dist/models/bank-account-class-without-expand-properties.d.ts +84 -0
  23. package/dist/models/bank-account-class-without-expand-properties.js +15 -0
  24. package/dist/models/bank-account-class.d.ts +91 -0
  25. package/dist/models/bank-account-class.js +15 -0
  26. package/dist/models/bank-transaction-class.d.ts +140 -0
  27. package/dist/models/bank-transaction-class.js +15 -0
  28. package/dist/models/billing-profile-dto.d.ts +38 -0
  29. package/dist/models/billing-profile-dto.js +15 -0
  30. package/dist/models/billing-profile-limited-response-dto.d.ts +54 -0
  31. package/dist/models/billing-profile-limited-response-dto.js +15 -0
  32. package/dist/models/complete-adyen-payment-setup-request-dto.d.ts +77 -0
  33. package/dist/models/complete-adyen-payment-setup-request-dto.js +32 -0
  34. package/dist/models/complete-braintree-payment-setup-request-dto.d.ts +48 -0
  35. package/dist/models/complete-braintree-payment-setup-request-dto.js +15 -0
  36. package/dist/models/complete-payment-setup-request-dto.d.ts +45 -0
  37. package/dist/models/complete-payment-setup-request-dto.js +15 -0
  38. package/dist/models/complete-payment-setup-response-class.d.ts +25 -0
  39. package/dist/models/complete-payment-setup-response-class.js +15 -0
  40. package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +77 -0
  41. package/dist/models/complete-stripe-payment-setup-request-dto.js +32 -0
  42. package/dist/models/create-bank-account-request-dto.d.ts +2 -2
  43. package/dist/models/create-bank-account-response-class.d.ts +25 -0
  44. package/dist/models/create-bank-account-response-class.js +15 -0
  45. package/dist/models/create-payment-method-response-class.d.ts +25 -0
  46. package/dist/models/create-payment-method-response-class.js +15 -0
  47. package/dist/models/create-payment-reminder-response-class.d.ts +25 -0
  48. package/dist/models/create-payment-reminder-response-class.js +15 -0
  49. package/dist/models/create-payment-request-dto.d.ts +1 -1
  50. package/dist/models/create-payment-response-class.d.ts +25 -0
  51. package/dist/models/create-payment-response-class.js +15 -0
  52. package/dist/models/create-psp-payment-method-request-dto.d.ts +67 -0
  53. package/dist/models/create-psp-payment-method-request-dto.js +32 -0
  54. package/dist/models/create-refund-response-class.d.ts +25 -0
  55. package/dist/models/create-refund-response-class.js +15 -0
  56. package/dist/models/deactivate-payment-reminder-response-class.d.ts +25 -0
  57. package/dist/models/deactivate-payment-reminder-response-class.js +15 -0
  58. package/dist/models/deactivated-payment-reminder-class.d.ts +102 -0
  59. package/dist/models/deactivated-payment-reminder-class.js +15 -0
  60. package/dist/models/get-bank-account-response-class.d.ts +25 -0
  61. package/dist/models/get-bank-account-response-class.js +15 -0
  62. package/dist/models/get-bank-transactions-response-class.d.ts +25 -0
  63. package/dist/models/get-bank-transactions-response-class.js +15 -0
  64. package/dist/models/get-payment-method-response-class.d.ts +25 -0
  65. package/dist/models/get-payment-method-response-class.js +15 -0
  66. package/dist/models/get-payment-reminder-response-class.d.ts +25 -0
  67. package/dist/models/get-payment-reminder-response-class.js +15 -0
  68. package/dist/models/get-payment-response-class.d.ts +25 -0
  69. package/dist/models/get-payment-response-class.js +15 -0
  70. package/dist/models/get-refund-response-class.d.ts +25 -0
  71. package/dist/models/get-refund-response-class.js +15 -0
  72. package/dist/models/import-bank-transactions-response-class.d.ts +25 -0
  73. package/dist/models/import-bank-transactions-response-class.js +15 -0
  74. package/dist/models/index.d.ts +52 -0
  75. package/dist/models/index.js +52 -0
  76. package/dist/models/initiate-adyen-payment-setup-request-dto.d.ts +30 -0
  77. package/dist/models/initiate-adyen-payment-setup-request-dto.js +15 -0
  78. package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +30 -0
  79. package/dist/models/initiate-braintree-payment-setup-request-dto.js +15 -0
  80. package/dist/models/initiate-braintree-payment-setup-response-class.d.ts +24 -0
  81. package/dist/models/initiate-braintree-payment-setup-response-class.js +15 -0
  82. package/dist/models/initiate-payment-setup-request-dto.d.ts +57 -0
  83. package/dist/models/initiate-payment-setup-request-dto.js +15 -0
  84. package/dist/models/initiate-payment-setup-response-class.d.ts +32 -0
  85. package/dist/models/initiate-payment-setup-response-class.js +15 -0
  86. package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +30 -0
  87. package/dist/models/initiate-stripe-payment-setup-request-dto.js +15 -0
  88. package/dist/models/initiate-stripe-payment-setup-response-class.d.ts +30 -0
  89. package/dist/models/initiate-stripe-payment-setup-response-class.js +15 -0
  90. package/dist/models/link-bank-transactions-response-class.d.ts +25 -0
  91. package/dist/models/link-bank-transactions-response-class.js +15 -0
  92. package/dist/models/list-bank-accounts-response-class.d.ts +31 -0
  93. package/dist/models/list-bank-accounts-response-class.js +15 -0
  94. package/dist/models/list-bank-transactions-response-class.d.ts +31 -0
  95. package/dist/models/list-bank-transactions-response-class.js +15 -0
  96. package/dist/models/list-payment-methods-response-class.d.ts +31 -0
  97. package/dist/models/list-payment-methods-response-class.js +15 -0
  98. package/dist/models/list-payment-reminders-response-class.d.ts +31 -0
  99. package/dist/models/list-payment-reminders-response-class.js +15 -0
  100. package/dist/models/list-payments-response-class.d.ts +31 -0
  101. package/dist/models/list-payments-response-class.js +15 -0
  102. package/dist/models/list-refunds-response-class.d.ts +31 -0
  103. package/dist/models/list-refunds-response-class.js +15 -0
  104. package/dist/models/payment-class-without-expand-properties.d.ts +108 -0
  105. package/dist/models/payment-class-without-expand-properties.js +15 -0
  106. package/dist/models/payment-class.d.ts +115 -0
  107. package/dist/models/payment-class.js +15 -0
  108. package/dist/models/payment-method-class.d.ts +84 -0
  109. package/dist/models/payment-method-class.js +15 -0
  110. package/dist/models/payment-reminder-class.d.ts +102 -0
  111. package/dist/models/payment-reminder-class.js +15 -0
  112. package/dist/models/primary-bank-account-response-class.d.ts +54 -0
  113. package/dist/models/primary-bank-account-response-class.js +15 -0
  114. package/dist/models/refund-class.d.ts +118 -0
  115. package/dist/models/refund-class.js +29 -0
  116. package/dist/models/refund-item-class.d.ts +114 -0
  117. package/dist/models/refund-item-class.js +15 -0
  118. package/dist/models/sepa-direct-dto.d.ts +24 -0
  119. package/dist/models/sepa-direct-dto.js +15 -0
  120. package/dist/models/shared-transaction-class.d.ts +72 -0
  121. package/dist/models/shared-transaction-class.js +15 -0
  122. package/dist/models/symphony-profile-limited-response-dto.d.ts +42 -0
  123. package/dist/models/symphony-profile-limited-response-dto.js +15 -0
  124. package/dist/models/unlink-bank-transactions-response-class.d.ts +25 -0
  125. package/dist/models/unlink-bank-transactions-response-class.js +15 -0
  126. package/dist/models/unlinked-bank-transaction-response-class.d.ts +108 -0
  127. package/dist/models/unlinked-bank-transaction-response-class.js +15 -0
  128. package/dist/models/update-bank-account-response-class.d.ts +25 -0
  129. package/dist/models/update-bank-account-response-class.js +15 -0
  130. package/dist/models/validate-pspconfig-request-dto.d.ts +9 -1
  131. package/dist/models/validate-pspconfig-request-dto.js +8 -0
  132. package/models/bank-account-class-without-expand-properties.ts +90 -0
  133. package/models/bank-account-class.ts +97 -0
  134. package/models/bank-transaction-class.ts +146 -0
  135. package/models/billing-profile-dto.ts +44 -0
  136. package/models/billing-profile-limited-response-dto.ts +60 -0
  137. package/models/complete-adyen-payment-setup-request-dto.ts +86 -0
  138. package/models/complete-braintree-payment-setup-request-dto.ts +54 -0
  139. package/models/complete-payment-setup-request-dto.ts +51 -0
  140. package/models/complete-payment-setup-response-class.ts +31 -0
  141. package/models/complete-stripe-payment-setup-request-dto.ts +86 -0
  142. package/models/create-bank-account-request-dto.ts +2 -2
  143. package/models/create-bank-account-response-class.ts +31 -0
  144. package/models/create-payment-method-response-class.ts +31 -0
  145. package/models/create-payment-reminder-response-class.ts +31 -0
  146. package/models/create-payment-request-dto.ts +1 -1
  147. package/models/create-payment-response-class.ts +31 -0
  148. package/models/create-psp-payment-method-request-dto.ts +76 -0
  149. package/models/create-refund-response-class.ts +31 -0
  150. package/models/deactivate-payment-reminder-response-class.ts +31 -0
  151. package/models/deactivated-payment-reminder-class.ts +108 -0
  152. package/models/get-bank-account-response-class.ts +31 -0
  153. package/models/get-bank-transactions-response-class.ts +31 -0
  154. package/models/get-payment-method-response-class.ts +31 -0
  155. package/models/get-payment-reminder-response-class.ts +31 -0
  156. package/models/get-payment-response-class.ts +31 -0
  157. package/models/get-refund-response-class.ts +31 -0
  158. package/models/import-bank-transactions-response-class.ts +31 -0
  159. package/models/index.ts +52 -0
  160. package/models/initiate-adyen-payment-setup-request-dto.ts +36 -0
  161. package/models/initiate-braintree-payment-setup-request-dto.ts +36 -0
  162. package/models/initiate-braintree-payment-setup-response-class.ts +30 -0
  163. package/models/initiate-payment-setup-request-dto.ts +63 -0
  164. package/models/initiate-payment-setup-response-class.ts +38 -0
  165. package/models/initiate-stripe-payment-setup-request-dto.ts +36 -0
  166. package/models/initiate-stripe-payment-setup-response-class.ts +36 -0
  167. package/models/link-bank-transactions-response-class.ts +31 -0
  168. package/models/list-bank-accounts-response-class.ts +37 -0
  169. package/models/list-bank-transactions-response-class.ts +37 -0
  170. package/models/list-payment-methods-response-class.ts +37 -0
  171. package/models/list-payment-reminders-response-class.ts +37 -0
  172. package/models/list-payments-response-class.ts +37 -0
  173. package/models/list-refunds-response-class.ts +37 -0
  174. package/models/payment-class-without-expand-properties.ts +114 -0
  175. package/models/payment-class.ts +121 -0
  176. package/models/payment-method-class.ts +90 -0
  177. package/models/payment-reminder-class.ts +108 -0
  178. package/models/primary-bank-account-response-class.ts +60 -0
  179. package/models/refund-class.ts +128 -0
  180. package/models/refund-item-class.ts +120 -0
  181. package/models/sepa-direct-dto.ts +30 -0
  182. package/models/shared-transaction-class.ts +78 -0
  183. package/models/symphony-profile-limited-response-dto.ts +48 -0
  184. package/models/unlink-bank-transactions-response-class.ts +31 -0
  185. package/models/unlinked-bank-transaction-response-class.ts +114 -0
  186. package/models/update-bank-account-response-class.ts +31 -0
  187. package/models/validate-pspconfig-request-dto.ts +12 -1
  188. package/package.json +1 -1
@@ -20,6 +20,14 @@ import { Configuration } from '../configuration';
20
20
  import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
21
21
  // @ts-ignore
22
22
  import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
23
+ // @ts-ignore
24
+ import { CompletePaymentSetupRequestDto } from '../models';
25
+ // @ts-ignore
26
+ import { CompletePaymentSetupResponseClass } from '../models';
27
+ // @ts-ignore
28
+ import { InitiatePaymentSetupRequestDto } from '../models';
29
+ // @ts-ignore
30
+ import { InitiatePaymentSetupResponseClass } from '../models';
23
31
  /**
24
32
  * PaymentSetupApi - axios parameter creator
25
33
  * @export
@@ -29,14 +37,14 @@ export const PaymentSetupApiAxiosParamCreator = function (configuration?: Config
29
37
  /**
30
38
  * This endpoint is used to save user-provided payment information. The service will send a request to the configured PSP to securely store the payment data.
31
39
  * @summary Complete a payment setup
32
- * @param {object} body
40
+ * @param {CompletePaymentSetupRequestDto} completePaymentSetupRequestDto
33
41
  * @param {string} [authorization] Bearer Token
34
42
  * @param {*} [options] Override http request option.
35
43
  * @throws {RequiredError}
36
44
  */
37
- completePaymentSetup: async (body: object, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
38
- // verify required parameter 'body' is not null or undefined
39
- assertParamExists('completePaymentSetup', 'body', body)
45
+ completePaymentSetup: async (completePaymentSetupRequestDto: CompletePaymentSetupRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
46
+ // verify required parameter 'completePaymentSetupRequestDto' is not null or undefined
47
+ assertParamExists('completePaymentSetup', 'completePaymentSetupRequestDto', completePaymentSetupRequestDto)
40
48
  const localVarPath = `/paymentservice/v1/payment-setup/complete`;
41
49
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
42
50
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -66,7 +74,7 @@ export const PaymentSetupApiAxiosParamCreator = function (configuration?: Config
66
74
  setSearchParams(localVarUrlObj, localVarQueryParameter);
67
75
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
68
76
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
69
- localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
77
+ localVarRequestOptions.data = serializeDataIfNeeded(completePaymentSetupRequestDto, localVarRequestOptions, configuration)
70
78
 
71
79
  return {
72
80
  url: toPathString(localVarUrlObj),
@@ -76,14 +84,14 @@ export const PaymentSetupApiAxiosParamCreator = function (configuration?: Config
76
84
  /**
77
85
  * This initiates an account within the configured payment service provider, whichgenerates a secret token, allowing the user to add their payment information.
78
86
  * @summary Initiate a payment setup
79
- * @param {object} body
87
+ * @param {InitiatePaymentSetupRequestDto} initiatePaymentSetupRequestDto
80
88
  * @param {string} [authorization] Bearer Token
81
89
  * @param {*} [options] Override http request option.
82
90
  * @throws {RequiredError}
83
91
  */
84
- initiatePaymentSetup: async (body: object, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
85
- // verify required parameter 'body' is not null or undefined
86
- assertParamExists('initiatePaymentSetup', 'body', body)
92
+ initiatePaymentSetup: async (initiatePaymentSetupRequestDto: InitiatePaymentSetupRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
93
+ // verify required parameter 'initiatePaymentSetupRequestDto' is not null or undefined
94
+ assertParamExists('initiatePaymentSetup', 'initiatePaymentSetupRequestDto', initiatePaymentSetupRequestDto)
87
95
  const localVarPath = `/paymentservice/v1/payment-setup/initiate`;
88
96
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
89
97
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -113,7 +121,7 @@ export const PaymentSetupApiAxiosParamCreator = function (configuration?: Config
113
121
  setSearchParams(localVarUrlObj, localVarQueryParameter);
114
122
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
115
123
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
116
- localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
124
+ localVarRequestOptions.data = serializeDataIfNeeded(initiatePaymentSetupRequestDto, localVarRequestOptions, configuration)
117
125
 
118
126
  return {
119
127
  url: toPathString(localVarUrlObj),
@@ -133,25 +141,25 @@ export const PaymentSetupApiFp = function(configuration?: Configuration) {
133
141
  /**
134
142
  * This endpoint is used to save user-provided payment information. The service will send a request to the configured PSP to securely store the payment data.
135
143
  * @summary Complete a payment setup
136
- * @param {object} body
144
+ * @param {CompletePaymentSetupRequestDto} completePaymentSetupRequestDto
137
145
  * @param {string} [authorization] Bearer Token
138
146
  * @param {*} [options] Override http request option.
139
147
  * @throws {RequiredError}
140
148
  */
141
- async completePaymentSetup(body: object, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
142
- const localVarAxiosArgs = await localVarAxiosParamCreator.completePaymentSetup(body, authorization, options);
149
+ async completePaymentSetup(completePaymentSetupRequestDto: CompletePaymentSetupRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CompletePaymentSetupResponseClass>> {
150
+ const localVarAxiosArgs = await localVarAxiosParamCreator.completePaymentSetup(completePaymentSetupRequestDto, authorization, options);
143
151
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
144
152
  },
145
153
  /**
146
154
  * This initiates an account within the configured payment service provider, whichgenerates a secret token, allowing the user to add their payment information.
147
155
  * @summary Initiate a payment setup
148
- * @param {object} body
156
+ * @param {InitiatePaymentSetupRequestDto} initiatePaymentSetupRequestDto
149
157
  * @param {string} [authorization] Bearer Token
150
158
  * @param {*} [options] Override http request option.
151
159
  * @throws {RequiredError}
152
160
  */
153
- async initiatePaymentSetup(body: object, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
154
- const localVarAxiosArgs = await localVarAxiosParamCreator.initiatePaymentSetup(body, authorization, options);
161
+ async initiatePaymentSetup(initiatePaymentSetupRequestDto: InitiatePaymentSetupRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InitiatePaymentSetupResponseClass>> {
162
+ const localVarAxiosArgs = await localVarAxiosParamCreator.initiatePaymentSetup(initiatePaymentSetupRequestDto, authorization, options);
155
163
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
156
164
  },
157
165
  }
@@ -167,24 +175,24 @@ export const PaymentSetupApiFactory = function (configuration?: Configuration, b
167
175
  /**
168
176
  * This endpoint is used to save user-provided payment information. The service will send a request to the configured PSP to securely store the payment data.
169
177
  * @summary Complete a payment setup
170
- * @param {object} body
178
+ * @param {CompletePaymentSetupRequestDto} completePaymentSetupRequestDto
171
179
  * @param {string} [authorization] Bearer Token
172
180
  * @param {*} [options] Override http request option.
173
181
  * @throws {RequiredError}
174
182
  */
175
- completePaymentSetup(body: object, authorization?: string, options?: any): AxiosPromise<void> {
176
- return localVarFp.completePaymentSetup(body, authorization, options).then((request) => request(axios, basePath));
183
+ completePaymentSetup(completePaymentSetupRequestDto: CompletePaymentSetupRequestDto, authorization?: string, options?: any): AxiosPromise<CompletePaymentSetupResponseClass> {
184
+ return localVarFp.completePaymentSetup(completePaymentSetupRequestDto, authorization, options).then((request) => request(axios, basePath));
177
185
  },
178
186
  /**
179
187
  * This initiates an account within the configured payment service provider, whichgenerates a secret token, allowing the user to add their payment information.
180
188
  * @summary Initiate a payment setup
181
- * @param {object} body
189
+ * @param {InitiatePaymentSetupRequestDto} initiatePaymentSetupRequestDto
182
190
  * @param {string} [authorization] Bearer Token
183
191
  * @param {*} [options] Override http request option.
184
192
  * @throws {RequiredError}
185
193
  */
186
- initiatePaymentSetup(body: object, authorization?: string, options?: any): AxiosPromise<void> {
187
- return localVarFp.initiatePaymentSetup(body, authorization, options).then((request) => request(axios, basePath));
194
+ initiatePaymentSetup(initiatePaymentSetupRequestDto: InitiatePaymentSetupRequestDto, authorization?: string, options?: any): AxiosPromise<InitiatePaymentSetupResponseClass> {
195
+ return localVarFp.initiatePaymentSetup(initiatePaymentSetupRequestDto, authorization, options).then((request) => request(axios, basePath));
188
196
  },
189
197
  };
190
198
  };
@@ -197,10 +205,10 @@ export const PaymentSetupApiFactory = function (configuration?: Configuration, b
197
205
  export interface PaymentSetupApiCompletePaymentSetupRequest {
198
206
  /**
199
207
  *
200
- * @type {object}
208
+ * @type {CompletePaymentSetupRequestDto}
201
209
  * @memberof PaymentSetupApiCompletePaymentSetup
202
210
  */
203
- readonly body: object
211
+ readonly completePaymentSetupRequestDto: CompletePaymentSetupRequestDto
204
212
 
205
213
  /**
206
214
  * Bearer Token
@@ -218,10 +226,10 @@ export interface PaymentSetupApiCompletePaymentSetupRequest {
218
226
  export interface PaymentSetupApiInitiatePaymentSetupRequest {
219
227
  /**
220
228
  *
221
- * @type {object}
229
+ * @type {InitiatePaymentSetupRequestDto}
222
230
  * @memberof PaymentSetupApiInitiatePaymentSetup
223
231
  */
224
- readonly body: object
232
+ readonly initiatePaymentSetupRequestDto: InitiatePaymentSetupRequestDto
225
233
 
226
234
  /**
227
235
  * Bearer Token
@@ -247,7 +255,7 @@ export class PaymentSetupApi extends BaseAPI {
247
255
  * @memberof PaymentSetupApi
248
256
  */
249
257
  public completePaymentSetup(requestParameters: PaymentSetupApiCompletePaymentSetupRequest, options?: AxiosRequestConfig) {
250
- return PaymentSetupApiFp(this.configuration).completePaymentSetup(requestParameters.body, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
258
+ return PaymentSetupApiFp(this.configuration).completePaymentSetup(requestParameters.completePaymentSetupRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
251
259
  }
252
260
 
253
261
  /**
@@ -259,6 +267,6 @@ export class PaymentSetupApi extends BaseAPI {
259
267
  * @memberof PaymentSetupApi
260
268
  */
261
269
  public initiatePaymentSetup(requestParameters: PaymentSetupApiInitiatePaymentSetupRequest, options?: AxiosRequestConfig) {
262
- return PaymentSetupApiFp(this.configuration).initiatePaymentSetup(requestParameters.body, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
270
+ return PaymentSetupApiFp(this.configuration).initiatePaymentSetup(requestParameters.initiatePaymentSetupRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
263
271
  }
264
272
  }
@@ -22,6 +22,12 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
22
22
  import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
23
23
  // @ts-ignore
24
24
  import { CreatePaymentRequestDto } from '../models';
25
+ // @ts-ignore
26
+ import { CreatePaymentResponseClass } from '../models';
27
+ // @ts-ignore
28
+ import { GetPaymentResponseClass } from '../models';
29
+ // @ts-ignore
30
+ import { ListPaymentsResponseClass } from '../models';
25
31
  /**
26
32
  * PaymentsApi - axios parameter creator
27
33
  * @export
@@ -212,7 +218,7 @@ export const PaymentsApiFp = function(configuration?: Configuration) {
212
218
  * @param {*} [options] Override http request option.
213
219
  * @throws {RequiredError}
214
220
  */
215
- async createPayment(idempotencyKey: string, createPaymentRequestDto: CreatePaymentRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
221
+ async createPayment(idempotencyKey: string, createPaymentRequestDto: CreatePaymentRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePaymentResponseClass>> {
216
222
  const localVarAxiosArgs = await localVarAxiosParamCreator.createPayment(idempotencyKey, createPaymentRequestDto, authorization, options);
217
223
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
218
224
  },
@@ -225,7 +231,7 @@ export const PaymentsApiFp = function(configuration?: Configuration) {
225
231
  * @param {*} [options] Override http request option.
226
232
  * @throws {RequiredError}
227
233
  */
228
- async getPayment(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
234
+ async getPayment(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPaymentResponseClass>> {
229
235
  const localVarAxiosArgs = await localVarAxiosParamCreator.getPayment(code, authorization, expand, options);
230
236
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
231
237
  },
@@ -240,7 +246,7 @@ export const PaymentsApiFp = function(configuration?: Configuration) {
240
246
  * @param {*} [options] Override http request option.
241
247
  * @throws {RequiredError}
242
248
  */
243
- async listPayments(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
249
+ async listPayments(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPaymentsResponseClass>> {
244
250
  const localVarAxiosArgs = await localVarAxiosParamCreator.listPayments(authorization, filter, filters, order, expand, options);
245
251
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
246
252
  },
@@ -263,7 +269,7 @@ export const PaymentsApiFactory = function (configuration?: Configuration, baseP
263
269
  * @param {*} [options] Override http request option.
264
270
  * @throws {RequiredError}
265
271
  */
266
- createPayment(idempotencyKey: string, createPaymentRequestDto: CreatePaymentRequestDto, authorization?: string, options?: any): AxiosPromise<void> {
272
+ createPayment(idempotencyKey: string, createPaymentRequestDto: CreatePaymentRequestDto, authorization?: string, options?: any): AxiosPromise<CreatePaymentResponseClass> {
267
273
  return localVarFp.createPayment(idempotencyKey, createPaymentRequestDto, authorization, options).then((request) => request(axios, basePath));
268
274
  },
269
275
  /**
@@ -275,7 +281,7 @@ export const PaymentsApiFactory = function (configuration?: Configuration, baseP
275
281
  * @param {*} [options] Override http request option.
276
282
  * @throws {RequiredError}
277
283
  */
278
- getPayment(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<void> {
284
+ getPayment(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<GetPaymentResponseClass> {
279
285
  return localVarFp.getPayment(code, authorization, expand, options).then((request) => request(axios, basePath));
280
286
  },
281
287
  /**
@@ -289,7 +295,7 @@ export const PaymentsApiFactory = function (configuration?: Configuration, baseP
289
295
  * @param {*} [options] Override http request option.
290
296
  * @throws {RequiredError}
291
297
  */
292
- listPayments(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: any): AxiosPromise<void> {
298
+ listPayments(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListPaymentsResponseClass> {
293
299
  return localVarFp.listPayments(authorization, filter, filters, order, expand, options).then((request) => request(axios, basePath));
294
300
  },
295
301
  };
@@ -22,6 +22,12 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
22
22
  import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
23
23
  // @ts-ignore
24
24
  import { CreateRefundRequestDto } from '../models';
25
+ // @ts-ignore
26
+ import { CreateRefundResponseClass } from '../models';
27
+ // @ts-ignore
28
+ import { GetRefundResponseClass } from '../models';
29
+ // @ts-ignore
30
+ import { ListRefundsResponseClass } from '../models';
25
31
  /**
26
32
  * RefundsApi - axios parameter creator
27
33
  * @export
@@ -209,7 +215,7 @@ export const RefundsApiFp = function(configuration?: Configuration) {
209
215
  * @param {*} [options] Override http request option.
210
216
  * @throws {RequiredError}
211
217
  */
212
- async createRefund(createRefundRequestDto: CreateRefundRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
218
+ async createRefund(createRefundRequestDto: CreateRefundRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateRefundResponseClass>> {
213
219
  const localVarAxiosArgs = await localVarAxiosParamCreator.createRefund(createRefundRequestDto, authorization, options);
214
220
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
215
221
  },
@@ -222,7 +228,7 @@ export const RefundsApiFp = function(configuration?: Configuration) {
222
228
  * @param {*} [options] Override http request option.
223
229
  * @throws {RequiredError}
224
230
  */
225
- async getRefund(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
231
+ async getRefund(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetRefundResponseClass>> {
226
232
  const localVarAxiosArgs = await localVarAxiosParamCreator.getRefund(code, authorization, expand, options);
227
233
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
228
234
  },
@@ -238,7 +244,7 @@ export const RefundsApiFp = function(configuration?: Configuration) {
238
244
  * @param {*} [options] Override http request option.
239
245
  * @throws {RequiredError}
240
246
  */
241
- async listRefunds(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
247
+ async listRefunds(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListRefundsResponseClass>> {
242
248
  const localVarAxiosArgs = await localVarAxiosParamCreator.listRefunds(authorization, filter, filters, search, order, expand, options);
243
249
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
244
250
  },
@@ -260,7 +266,7 @@ export const RefundsApiFactory = function (configuration?: Configuration, basePa
260
266
  * @param {*} [options] Override http request option.
261
267
  * @throws {RequiredError}
262
268
  */
263
- createRefund(createRefundRequestDto: CreateRefundRequestDto, authorization?: string, options?: any): AxiosPromise<void> {
269
+ createRefund(createRefundRequestDto: CreateRefundRequestDto, authorization?: string, options?: any): AxiosPromise<CreateRefundResponseClass> {
264
270
  return localVarFp.createRefund(createRefundRequestDto, authorization, options).then((request) => request(axios, basePath));
265
271
  },
266
272
  /**
@@ -272,7 +278,7 @@ export const RefundsApiFactory = function (configuration?: Configuration, basePa
272
278
  * @param {*} [options] Override http request option.
273
279
  * @throws {RequiredError}
274
280
  */
275
- getRefund(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<void> {
281
+ getRefund(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<GetRefundResponseClass> {
276
282
  return localVarFp.getRefund(code, authorization, expand, options).then((request) => request(axios, basePath));
277
283
  },
278
284
  /**
@@ -287,7 +293,7 @@ export const RefundsApiFactory = function (configuration?: Configuration, basePa
287
293
  * @param {*} [options] Override http request option.
288
294
  * @throws {RequiredError}
289
295
  */
290
- listRefunds(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<void> {
296
+ listRefunds(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListRefundsResponseClass> {
291
297
  return localVarFp.listRefunds(authorization, filter, filters, search, order, expand, options).then((request) => request(axios, basePath));
292
298
  },
293
299
  };
@@ -29,7 +29,7 @@ export const WebhooksApiAxiosParamCreator = function (configuration?: Configurat
29
29
  /**
30
30
  * This will processes the webhook from external payment service provider.
31
31
  * @summary Handle the webhook from PSP
32
- * @param {string} pspType The type of the payment service provider (PSP).&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Supported PSP: braintree, stripe, b4u, eis&lt;/i&gt;
32
+ * @param {string} pspType The type of the payment service provider (PSP).&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Supported PSP: braintree, stripe, b4u, eis, adyen&lt;/i&gt;
33
33
  * @param {string} tenantSlug Unique slug identifier representing a tenant.
34
34
  * @param {string} productSlug
35
35
  * @param {*} [options] Override http request option.
@@ -83,7 +83,7 @@ export const WebhooksApiFp = function(configuration?: Configuration) {
83
83
  /**
84
84
  * This will processes the webhook from external payment service provider.
85
85
  * @summary Handle the webhook from PSP
86
- * @param {string} pspType The type of the payment service provider (PSP).&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Supported PSP: braintree, stripe, b4u, eis&lt;/i&gt;
86
+ * @param {string} pspType The type of the payment service provider (PSP).&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Supported PSP: braintree, stripe, b4u, eis, adyen&lt;/i&gt;
87
87
  * @param {string} tenantSlug Unique slug identifier representing a tenant.
88
88
  * @param {string} productSlug
89
89
  * @param {*} [options] Override http request option.
@@ -106,7 +106,7 @@ export const WebhooksApiFactory = function (configuration?: Configuration, baseP
106
106
  /**
107
107
  * This will processes the webhook from external payment service provider.
108
108
  * @summary Handle the webhook from PSP
109
- * @param {string} pspType The type of the payment service provider (PSP).&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Supported PSP: braintree, stripe, b4u, eis&lt;/i&gt;
109
+ * @param {string} pspType The type of the payment service provider (PSP).&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Supported PSP: braintree, stripe, b4u, eis, adyen&lt;/i&gt;
110
110
  * @param {string} tenantSlug Unique slug identifier representing a tenant.
111
111
  * @param {string} productSlug
112
112
  * @param {*} [options] Override http request option.
@@ -125,7 +125,7 @@ export const WebhooksApiFactory = function (configuration?: Configuration, baseP
125
125
  */
126
126
  export interface WebhooksApiPostWebhookRequest {
127
127
  /**
128
- * The type of the payment service provider (PSP).&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Supported PSP: braintree, stripe, b4u, eis&lt;/i&gt;
128
+ * The type of the payment service provider (PSP).&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Supported PSP: braintree, stripe, b4u, eis, adyen&lt;/i&gt;
129
129
  * @type {string}
130
130
  * @memberof WebhooksApiPostWebhook
131
131
  */
@@ -13,8 +13,12 @@ import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
13
13
  import { Configuration } from '../configuration';
14
14
  import { RequestArgs, BaseAPI } from '../base';
15
15
  import { CreateBankAccountRequestDto } from '../models';
16
+ import { CreateBankAccountResponseClass } from '../models';
17
+ import { GetBankAccountResponseClass } from '../models';
18
+ import { ListBankAccountsResponseClass } from '../models';
16
19
  import { SetPrimaryBankAccountRequestDtoRest } from '../models';
17
20
  import { UpdateBankAccountRequestDtoRest } from '../models';
21
+ import { UpdateBankAccountResponseClass } from '../models';
18
22
  /**
19
23
  * BankAccountsApi - axios parameter creator
20
24
  * @export
@@ -94,7 +98,7 @@ export declare const BankAccountsApiFp: (configuration?: Configuration) => {
94
98
  * @param {*} [options] Override http request option.
95
99
  * @throws {RequiredError}
96
100
  */
97
- createBankAccount(createBankAccountRequestDto: CreateBankAccountRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
101
+ createBankAccount(createBankAccountRequestDto: CreateBankAccountRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateBankAccountResponseClass>>;
98
102
  /**
99
103
  * Deletes a bank account by code. If the bank account was primary, then the first available bank account for the specified partner/account will be marked as primary.
100
104
  * @summary Delete the bank account
@@ -103,7 +107,7 @@ export declare const BankAccountsApiFp: (configuration?: Configuration) => {
103
107
  * @param {*} [options] Override http request option.
104
108
  * @throws {RequiredError}
105
109
  */
106
- deleteBankAccount(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
110
+ deleteBankAccount(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
107
111
  /**
108
112
  * Retrieves the details of the bank account that was previously created. Supply the unique bank account code that was returned when you created it and Emil Api will return the corresponding bank account information.
109
113
  * @summary Retrieve the bank account
@@ -113,7 +117,7 @@ export declare const BankAccountsApiFp: (configuration?: Configuration) => {
113
117
  * @param {*} [options] Override http request option.
114
118
  * @throws {RequiredError}
115
119
  */
116
- getBankAccount(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
120
+ getBankAccount(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBankAccountResponseClass>>;
117
121
  /**
118
122
  * Returns a list of bank accounts you have previously created. The bank accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
119
123
  * @summary List bank accounts
@@ -125,7 +129,7 @@ export declare const BankAccountsApiFp: (configuration?: Configuration) => {
125
129
  * @param {*} [options] Override http request option.
126
130
  * @throws {RequiredError}
127
131
  */
128
- listBankAccounts(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
132
+ listBankAccounts(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListBankAccountsResponseClass>>;
129
133
  /**
130
134
  * Set the primary bank account for the specified partner/account
131
135
  * @summary Set primary bank account
@@ -135,7 +139,7 @@ export declare const BankAccountsApiFp: (configuration?: Configuration) => {
135
139
  * @param {*} [options] Override http request option.
136
140
  * @throws {RequiredError}
137
141
  */
138
- setPrimaryBankAccount(code: string, setPrimaryBankAccountRequestDtoRest: SetPrimaryBankAccountRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
142
+ setPrimaryBankAccount(code: string, setPrimaryBankAccountRequestDtoRest: SetPrimaryBankAccountRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
139
143
  /**
140
144
  * Update a bank account by code
141
145
  * @summary Update the bank account
@@ -145,7 +149,7 @@ export declare const BankAccountsApiFp: (configuration?: Configuration) => {
145
149
  * @param {*} [options] Override http request option.
146
150
  * @throws {RequiredError}
147
151
  */
148
- updateBankAccount(code: string, updateBankAccountRequestDtoRest: UpdateBankAccountRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
152
+ updateBankAccount(code: string, updateBankAccountRequestDtoRest: UpdateBankAccountRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateBankAccountResponseClass>>;
149
153
  };
150
154
  /**
151
155
  * BankAccountsApi - factory interface
@@ -160,7 +164,7 @@ export declare const BankAccountsApiFactory: (configuration?: Configuration, bas
160
164
  * @param {*} [options] Override http request option.
161
165
  * @throws {RequiredError}
162
166
  */
163
- createBankAccount(createBankAccountRequestDto: CreateBankAccountRequestDto, authorization?: string, options?: any): AxiosPromise<void>;
167
+ createBankAccount(createBankAccountRequestDto: CreateBankAccountRequestDto, authorization?: string, options?: any): AxiosPromise<CreateBankAccountResponseClass>;
164
168
  /**
165
169
  * Deletes a bank account by code. If the bank account was primary, then the first available bank account for the specified partner/account will be marked as primary.
166
170
  * @summary Delete the bank account
@@ -169,7 +173,7 @@ export declare const BankAccountsApiFactory: (configuration?: Configuration, bas
169
173
  * @param {*} [options] Override http request option.
170
174
  * @throws {RequiredError}
171
175
  */
172
- deleteBankAccount(code: string, authorization?: string, options?: any): AxiosPromise<void>;
176
+ deleteBankAccount(code: string, authorization?: string, options?: any): AxiosPromise<object>;
173
177
  /**
174
178
  * Retrieves the details of the bank account that was previously created. Supply the unique bank account code that was returned when you created it and Emil Api will return the corresponding bank account information.
175
179
  * @summary Retrieve the bank account
@@ -179,7 +183,7 @@ export declare const BankAccountsApiFactory: (configuration?: Configuration, bas
179
183
  * @param {*} [options] Override http request option.
180
184
  * @throws {RequiredError}
181
185
  */
182
- getBankAccount(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<void>;
186
+ getBankAccount(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<GetBankAccountResponseClass>;
183
187
  /**
184
188
  * Returns a list of bank accounts you have previously created. The bank accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
185
189
  * @summary List bank accounts
@@ -191,7 +195,7 @@ export declare const BankAccountsApiFactory: (configuration?: Configuration, bas
191
195
  * @param {*} [options] Override http request option.
192
196
  * @throws {RequiredError}
193
197
  */
194
- listBankAccounts(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: any): AxiosPromise<void>;
198
+ listBankAccounts(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListBankAccountsResponseClass>;
195
199
  /**
196
200
  * Set the primary bank account for the specified partner/account
197
201
  * @summary Set primary bank account
@@ -201,7 +205,7 @@ export declare const BankAccountsApiFactory: (configuration?: Configuration, bas
201
205
  * @param {*} [options] Override http request option.
202
206
  * @throws {RequiredError}
203
207
  */
204
- setPrimaryBankAccount(code: string, setPrimaryBankAccountRequestDtoRest: SetPrimaryBankAccountRequestDtoRest, authorization?: string, options?: any): AxiosPromise<void>;
208
+ setPrimaryBankAccount(code: string, setPrimaryBankAccountRequestDtoRest: SetPrimaryBankAccountRequestDtoRest, authorization?: string, options?: any): AxiosPromise<object>;
205
209
  /**
206
210
  * Update a bank account by code
207
211
  * @summary Update the bank account
@@ -211,7 +215,7 @@ export declare const BankAccountsApiFactory: (configuration?: Configuration, bas
211
215
  * @param {*} [options] Override http request option.
212
216
  * @throws {RequiredError}
213
217
  */
214
- updateBankAccount(code: string, updateBankAccountRequestDtoRest: UpdateBankAccountRequestDtoRest, authorization?: string, options?: any): AxiosPromise<void>;
218
+ updateBankAccount(code: string, updateBankAccountRequestDtoRest: UpdateBankAccountRequestDtoRest, authorization?: string, options?: any): AxiosPromise<UpdateBankAccountResponseClass>;
215
219
  };
216
220
  /**
217
221
  * Request parameters for createBankAccount operation in BankAccountsApi.
@@ -378,7 +382,7 @@ export declare class BankAccountsApi extends BaseAPI {
378
382
  * @throws {RequiredError}
379
383
  * @memberof BankAccountsApi
380
384
  */
381
- createBankAccount(requestParameters: BankAccountsApiCreateBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
385
+ createBankAccount(requestParameters: BankAccountsApiCreateBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateBankAccountResponseClass, any>>;
382
386
  /**
383
387
  * Deletes a bank account by code. If the bank account was primary, then the first available bank account for the specified partner/account will be marked as primary.
384
388
  * @summary Delete the bank account
@@ -387,7 +391,7 @@ export declare class BankAccountsApi extends BaseAPI {
387
391
  * @throws {RequiredError}
388
392
  * @memberof BankAccountsApi
389
393
  */
390
- deleteBankAccount(requestParameters: BankAccountsApiDeleteBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
394
+ deleteBankAccount(requestParameters: BankAccountsApiDeleteBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
391
395
  /**
392
396
  * Retrieves the details of the bank account that was previously created. Supply the unique bank account code that was returned when you created it and Emil Api will return the corresponding bank account information.
393
397
  * @summary Retrieve the bank account
@@ -396,7 +400,7 @@ export declare class BankAccountsApi extends BaseAPI {
396
400
  * @throws {RequiredError}
397
401
  * @memberof BankAccountsApi
398
402
  */
399
- getBankAccount(requestParameters: BankAccountsApiGetBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
403
+ getBankAccount(requestParameters: BankAccountsApiGetBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetBankAccountResponseClass, any>>;
400
404
  /**
401
405
  * Returns a list of bank accounts you have previously created. The bank accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
402
406
  * @summary List bank accounts
@@ -405,7 +409,7 @@ export declare class BankAccountsApi extends BaseAPI {
405
409
  * @throws {RequiredError}
406
410
  * @memberof BankAccountsApi
407
411
  */
408
- listBankAccounts(requestParameters?: BankAccountsApiListBankAccountsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
412
+ listBankAccounts(requestParameters?: BankAccountsApiListBankAccountsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListBankAccountsResponseClass, any>>;
409
413
  /**
410
414
  * Set the primary bank account for the specified partner/account
411
415
  * @summary Set primary bank account
@@ -414,7 +418,7 @@ export declare class BankAccountsApi extends BaseAPI {
414
418
  * @throws {RequiredError}
415
419
  * @memberof BankAccountsApi
416
420
  */
417
- setPrimaryBankAccount(requestParameters: BankAccountsApiSetPrimaryBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
421
+ setPrimaryBankAccount(requestParameters: BankAccountsApiSetPrimaryBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
418
422
  /**
419
423
  * Update a bank account by code
420
424
  * @summary Update the bank account
@@ -423,5 +427,5 @@ export declare class BankAccountsApi extends BaseAPI {
423
427
  * @throws {RequiredError}
424
428
  * @memberof BankAccountsApi
425
429
  */
426
- updateBankAccount(requestParameters: BankAccountsApiUpdateBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
430
+ updateBankAccount(requestParameters: BankAccountsApiUpdateBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateBankAccountResponseClass, any>>;
427
431
  }