@emilgroup/payment-sdk 1.4.1-beta.19 → 1.4.1-beta.20

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 (225) hide show
  1. package/.openapi-generator/FILES +0 -34
  2. package/README.md +2 -2
  3. package/api/bank-accounts-api.ts +21 -465
  4. package/api/bank-transaction-api.ts +11 -11
  5. package/api/default-api.ts +1 -1
  6. package/api/payment-methods-api.ts +166 -65
  7. package/api/payment-reminders-api.ts +17 -21
  8. package/api/payment-setup-api.ts +29 -37
  9. package/api/payments-api.ts +54 -55
  10. package/api/refunds-api.ts +16 -14
  11. package/api/tenant-bank-account-api.ts +25 -25
  12. package/api/webhooks-api.ts +1 -1
  13. package/api.ts +1 -1
  14. package/base.ts +1 -1
  15. package/common.ts +2 -2
  16. package/configuration.ts +1 -1
  17. package/dist/api/bank-accounts-api.d.ts +17 -260
  18. package/dist/api/bank-accounts-api.js +17 -399
  19. package/dist/api/bank-transaction-api.d.ts +12 -12
  20. package/dist/api/bank-transaction-api.js +9 -9
  21. package/dist/api/default-api.d.ts +1 -1
  22. package/dist/api/default-api.js +1 -1
  23. package/dist/api/payment-methods-api.d.ts +100 -49
  24. package/dist/api/payment-methods-api.js +144 -46
  25. package/dist/api/payment-reminders-api.d.ts +21 -23
  26. package/dist/api/payment-reminders-api.js +9 -9
  27. package/dist/api/payment-setup-api.d.ts +19 -23
  28. package/dist/api/payment-setup-api.js +25 -25
  29. package/dist/api/payments-api.d.ts +43 -46
  30. package/dist/api/payments-api.js +42 -38
  31. package/dist/api/refunds-api.d.ts +11 -11
  32. package/dist/api/refunds-api.js +12 -10
  33. package/dist/api/tenant-bank-account-api.d.ts +25 -25
  34. package/dist/api/tenant-bank-account-api.js +20 -20
  35. package/dist/api/webhooks-api.d.ts +1 -1
  36. package/dist/api/webhooks-api.js +1 -1
  37. package/dist/api.d.ts +1 -1
  38. package/dist/api.js +1 -1
  39. package/dist/base.d.ts +1 -1
  40. package/dist/base.js +1 -1
  41. package/dist/common.d.ts +2 -2
  42. package/dist/common.js +1 -1
  43. package/dist/configuration.d.ts +1 -1
  44. package/dist/configuration.js +1 -1
  45. package/dist/index.d.ts +1 -1
  46. package/dist/index.js +1 -1
  47. package/dist/models/bank-transaction-response-class.d.ts +1 -1
  48. package/dist/models/bank-transaction-response-class.js +1 -1
  49. package/dist/models/create-payment-reminder-request-dto.d.ts +1 -1
  50. package/dist/models/create-payment-reminder-request-dto.js +1 -1
  51. package/dist/models/create-payment-request-dto.d.ts +4 -4
  52. package/dist/models/create-payment-request-dto.js +1 -1
  53. package/dist/models/create-refund-request-dto.d.ts +1 -1
  54. package/dist/models/create-refund-request-dto.js +1 -1
  55. package/dist/models/create-refund-response-class.d.ts +1 -1
  56. package/dist/models/create-refund-response-class.js +1 -1
  57. package/dist/models/create-tenant-bank-account-request-dto.d.ts +1 -1
  58. package/dist/models/create-tenant-bank-account-request-dto.js +1 -1
  59. package/dist/models/create-tenant-bank-account-response-class.d.ts +1 -1
  60. package/dist/models/create-tenant-bank-account-response-class.js +1 -1
  61. package/dist/models/deactivate-payment-reminder-request-dto.d.ts +1 -1
  62. package/dist/models/deactivate-payment-reminder-request-dto.js +1 -1
  63. package/dist/models/get-bank-transactions-response-class.d.ts +1 -1
  64. package/dist/models/get-bank-transactions-response-class.js +1 -1
  65. package/dist/models/get-refund-response-class.d.ts +1 -1
  66. package/dist/models/get-refund-response-class.js +1 -1
  67. package/dist/models/get-request-dto.d.ts +2 -2
  68. package/dist/models/get-request-dto.js +1 -1
  69. package/dist/models/get-tenant-bank-account-response-class.d.ts +1 -1
  70. package/dist/models/get-tenant-bank-account-response-class.js +1 -1
  71. package/dist/models/index.d.ts +0 -34
  72. package/dist/models/index.js +0 -34
  73. package/dist/models/inline-response200.d.ts +1 -1
  74. package/dist/models/inline-response200.js +1 -1
  75. package/dist/models/inline-response503.d.ts +1 -1
  76. package/dist/models/inline-response503.js +1 -1
  77. package/dist/models/link-bank-transaction-request-dto-rest.d.ts +1 -1
  78. package/dist/models/link-bank-transaction-request-dto-rest.js +1 -1
  79. package/dist/models/list-bank-transactions-response-class.d.ts +1 -1
  80. package/dist/models/list-bank-transactions-response-class.js +1 -1
  81. package/dist/models/list-refunds-response-class.d.ts +1 -1
  82. package/dist/models/list-refunds-response-class.js +1 -1
  83. package/dist/models/list-tenant-bank-account-response-class.d.ts +1 -1
  84. package/dist/models/list-tenant-bank-account-response-class.js +1 -1
  85. package/dist/models/refund-class.d.ts +1 -1
  86. package/dist/models/refund-class.js +1 -1
  87. package/dist/models/tenant-bank-account-response-class.d.ts +1 -1
  88. package/dist/models/tenant-bank-account-response-class.js +1 -1
  89. package/dist/models/transaction-class.d.ts +1 -1
  90. package/dist/models/transaction-class.js +1 -1
  91. package/dist/models/unlink-bank-transaction-request-dto-rest.d.ts +2 -2
  92. package/dist/models/unlink-bank-transaction-request-dto-rest.js +1 -1
  93. package/dist/models/update-tenant-bank-account-rest-request-dto.d.ts +1 -1
  94. package/dist/models/update-tenant-bank-account-rest-request-dto.js +1 -1
  95. package/dist/models/validate-pspconfig-request-dto.d.ts +2 -9
  96. package/dist/models/validate-pspconfig-request-dto.js +1 -8
  97. package/index.ts +1 -1
  98. package/models/bank-transaction-response-class.ts +1 -1
  99. package/models/create-payment-reminder-request-dto.ts +1 -1
  100. package/models/create-payment-request-dto.ts +4 -4
  101. package/models/create-refund-request-dto.ts +1 -1
  102. package/models/create-refund-response-class.ts +1 -1
  103. package/models/create-tenant-bank-account-request-dto.ts +1 -1
  104. package/models/create-tenant-bank-account-response-class.ts +1 -1
  105. package/models/deactivate-payment-reminder-request-dto.ts +1 -1
  106. package/models/get-bank-transactions-response-class.ts +1 -1
  107. package/models/get-refund-response-class.ts +1 -1
  108. package/models/get-request-dto.ts +2 -2
  109. package/models/get-tenant-bank-account-response-class.ts +1 -1
  110. package/models/index.ts +0 -34
  111. package/models/inline-response200.ts +1 -1
  112. package/models/inline-response503.ts +1 -1
  113. package/models/link-bank-transaction-request-dto-rest.ts +1 -1
  114. package/models/list-bank-transactions-response-class.ts +1 -1
  115. package/models/list-refunds-response-class.ts +1 -1
  116. package/models/list-tenant-bank-account-response-class.ts +1 -1
  117. package/models/refund-class.ts +1 -1
  118. package/models/tenant-bank-account-response-class.ts +1 -1
  119. package/models/transaction-class.ts +1 -1
  120. package/models/unlink-bank-transaction-request-dto-rest.ts +2 -2
  121. package/models/update-tenant-bank-account-rest-request-dto.ts +1 -1
  122. package/models/validate-pspconfig-request-dto.ts +2 -12
  123. package/package.json +1 -1
  124. package/dist/models/bank-account-class.d.ts +0 -79
  125. package/dist/models/bank-account-class.js +0 -15
  126. package/dist/models/billing-profile-dto.d.ts +0 -38
  127. package/dist/models/billing-profile-dto.js +0 -15
  128. package/dist/models/billing-profile-limited-response-dto.d.ts +0 -54
  129. package/dist/models/billing-profile-limited-response-dto.js +0 -15
  130. package/dist/models/complete-braintree-payment-setup-request-dto.d.ts +0 -48
  131. package/dist/models/complete-braintree-payment-setup-request-dto.js +0 -15
  132. package/dist/models/complete-payment-setup-request-dto.d.ts +0 -32
  133. package/dist/models/complete-payment-setup-request-dto.js +0 -15
  134. package/dist/models/complete-payment-setup-response-class.d.ts +0 -25
  135. package/dist/models/complete-payment-setup-response-class.js +0 -15
  136. package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +0 -60
  137. package/dist/models/complete-stripe-payment-setup-request-dto.js +0 -15
  138. package/dist/models/create-bank-account-request-dto.d.ts +0 -42
  139. package/dist/models/create-bank-account-request-dto.js +0 -15
  140. package/dist/models/create-payment-method-response-class.d.ts +0 -25
  141. package/dist/models/create-payment-method-response-class.js +0 -15
  142. package/dist/models/create-payment-response-class.d.ts +0 -25
  143. package/dist/models/create-payment-response-class.js +0 -15
  144. package/dist/models/create-psp-payment-method-request-dto.d.ts +0 -61
  145. package/dist/models/create-psp-payment-method-request-dto.js +0 -32
  146. package/dist/models/deactivate-payment-reminder-response-class.d.ts +0 -25
  147. package/dist/models/deactivate-payment-reminder-response-class.js +0 -15
  148. package/dist/models/get-bank-account-response-class.d.ts +0 -25
  149. package/dist/models/get-bank-account-response-class.js +0 -15
  150. package/dist/models/get-payment-method-response-class.d.ts +0 -25
  151. package/dist/models/get-payment-method-response-class.js +0 -15
  152. package/dist/models/get-payment-response-class.d.ts +0 -25
  153. package/dist/models/get-payment-response-class.js +0 -15
  154. package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +0 -30
  155. package/dist/models/initiate-braintree-payment-setup-request-dto.js +0 -15
  156. package/dist/models/initiate-braintree-payment-setup-response-class.d.ts +0 -24
  157. package/dist/models/initiate-braintree-payment-setup-response-class.js +0 -15
  158. package/dist/models/initiate-payment-setup-request-dto.d.ts +0 -44
  159. package/dist/models/initiate-payment-setup-request-dto.js +0 -15
  160. package/dist/models/initiate-payment-setup-response-class.d.ts +0 -32
  161. package/dist/models/initiate-payment-setup-response-class.js +0 -15
  162. package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +0 -30
  163. package/dist/models/initiate-stripe-payment-setup-request-dto.js +0 -15
  164. package/dist/models/initiate-stripe-payment-setup-response-class.d.ts +0 -30
  165. package/dist/models/initiate-stripe-payment-setup-response-class.js +0 -15
  166. package/dist/models/list-bank-accounts-response-class.d.ts +0 -31
  167. package/dist/models/list-bank-accounts-response-class.js +0 -15
  168. package/dist/models/list-payment-methods-response-class.d.ts +0 -31
  169. package/dist/models/list-payment-methods-response-class.js +0 -15
  170. package/dist/models/list-payment-reminders-response-class.d.ts +0 -31
  171. package/dist/models/list-payment-reminders-response-class.js +0 -15
  172. package/dist/models/list-payments-response-class.d.ts +0 -31
  173. package/dist/models/list-payments-response-class.js +0 -15
  174. package/dist/models/payment-class.d.ts +0 -103
  175. package/dist/models/payment-class.js +0 -15
  176. package/dist/models/payment-method-class.d.ts +0 -66
  177. package/dist/models/payment-method-class.js +0 -15
  178. package/dist/models/payment-reminder-class.d.ts +0 -112
  179. package/dist/models/payment-reminder-class.js +0 -36
  180. package/dist/models/primary-bank-account-response-class.d.ts +0 -42
  181. package/dist/models/primary-bank-account-response-class.js +0 -15
  182. package/dist/models/sepa-direct-dto.d.ts +0 -24
  183. package/dist/models/sepa-direct-dto.js +0 -15
  184. package/dist/models/set-primary-bank-account-request-dto-rest.d.ts +0 -24
  185. package/dist/models/set-primary-bank-account-request-dto-rest.js +0 -15
  186. package/dist/models/symphony-profile-limited-response-dto.d.ts +0 -42
  187. package/dist/models/symphony-profile-limited-response-dto.js +0 -15
  188. package/dist/models/update-bank-account-request-dto-rest.d.ts +0 -30
  189. package/dist/models/update-bank-account-request-dto-rest.js +0 -15
  190. package/dist/models/update-bank-account-request-dto.d.ts +0 -36
  191. package/dist/models/update-bank-account-request-dto.js +0 -15
  192. package/models/bank-account-class.ts +0 -85
  193. package/models/billing-profile-dto.ts +0 -44
  194. package/models/billing-profile-limited-response-dto.ts +0 -60
  195. package/models/complete-braintree-payment-setup-request-dto.ts +0 -54
  196. package/models/complete-payment-setup-request-dto.ts +0 -38
  197. package/models/complete-payment-setup-response-class.ts +0 -31
  198. package/models/complete-stripe-payment-setup-request-dto.ts +0 -66
  199. package/models/create-bank-account-request-dto.ts +0 -48
  200. package/models/create-payment-method-response-class.ts +0 -31
  201. package/models/create-payment-response-class.ts +0 -31
  202. package/models/create-psp-payment-method-request-dto.ts +0 -70
  203. package/models/deactivate-payment-reminder-response-class.ts +0 -31
  204. package/models/get-bank-account-response-class.ts +0 -31
  205. package/models/get-payment-method-response-class.ts +0 -31
  206. package/models/get-payment-response-class.ts +0 -31
  207. package/models/initiate-braintree-payment-setup-request-dto.ts +0 -36
  208. package/models/initiate-braintree-payment-setup-response-class.ts +0 -30
  209. package/models/initiate-payment-setup-request-dto.ts +0 -50
  210. package/models/initiate-payment-setup-response-class.ts +0 -38
  211. package/models/initiate-stripe-payment-setup-request-dto.ts +0 -36
  212. package/models/initiate-stripe-payment-setup-response-class.ts +0 -36
  213. package/models/list-bank-accounts-response-class.ts +0 -37
  214. package/models/list-payment-methods-response-class.ts +0 -37
  215. package/models/list-payment-reminders-response-class.ts +0 -37
  216. package/models/list-payments-response-class.ts +0 -37
  217. package/models/payment-class.ts +0 -109
  218. package/models/payment-method-class.ts +0 -72
  219. package/models/payment-reminder-class.ts +0 -122
  220. package/models/primary-bank-account-response-class.ts +0 -48
  221. package/models/sepa-direct-dto.ts +0 -30
  222. package/models/set-primary-bank-account-request-dto-rest.ts +0 -30
  223. package/models/symphony-profile-limited-response-dto.ts +0 -48
  224. package/models/update-bank-account-request-dto-rest.ts +0 -36
  225. package/models/update-bank-account-request-dto.ts +0 -42
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Emil Payment Service
3
- * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
3
+ * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
6
  * Contact: kontakt@emil.de
@@ -12,11 +12,6 @@
12
12
  import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
13
13
  import { Configuration } from '../configuration';
14
14
  import { RequestArgs, BaseAPI } from '../base';
15
- import { CreateBankAccountRequestDto } from '../models';
16
- import { GetBankAccountResponseClass } from '../models';
17
- import { ListBankAccountsResponseClass } from '../models';
18
- import { SetPrimaryBankAccountRequestDtoRest } from '../models';
19
- import { UpdateBankAccountRequestDtoRest } from '../models';
20
15
  /**
21
16
  * BankAccountsApi - axios parameter creator
22
17
  * @export
@@ -25,32 +20,14 @@ export declare const BankAccountsApiAxiosParamCreator: (configuration?: Configur
25
20
  /**
26
21
  * Creates a bank account for a specified account.
27
22
  * @summary Create a bank account
28
- * @param {CreateBankAccountRequestDto} createBankAccountRequestDto
23
+ * @param {object} body
29
24
  * @param {string} [authorization] Bearer Token
30
25
  * @param {*} [options] Override http request option.
31
26
  * @throws {RequiredError}
32
27
  */
33
- createBankAccount: (createBankAccountRequestDto: CreateBankAccountRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
28
+ createBankAccount: (body: object, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
34
29
  /**
35
- * Deletes a bank account by code
36
- * @summary Delete the bank account
37
- * @param {string} code Unique identifier for the object.
38
- * @param {string} [authorization] Bearer Token
39
- * @param {*} [options] Override http request option.
40
- * @throws {RequiredError}
41
- */
42
- deleteBankAccount: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
43
- /**
44
- * 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.
45
- * @summary Retrieve the Bank Account
46
- * @param {string} code Unique identifier for the object.
47
- * @param {string} [authorization] Bearer Token
48
- * @param {*} [options] Override http request option.
49
- * @throws {RequiredError}
50
- */
51
- getBankAccount: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
52
- /**
53
- * Returns a list of bank accounts you’ve previously created. The bank accounts are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.
30
+ * Returns a list of bank accounts you’ve previously created. The bank accounts are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.
54
31
  * @summary List bank accounts
55
32
  * @param {string} [authorization] Bearer Token
56
33
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -64,26 +41,6 @@ export declare const BankAccountsApiAxiosParamCreator: (configuration?: Configur
64
41
  * @throws {RequiredError}
65
42
  */
66
43
  listBankAccounts: (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
67
- /**
68
- * Set primary bank account
69
- * @summary Set primary bank account
70
- * @param {string} code Code of the bank account to set primary
71
- * @param {SetPrimaryBankAccountRequestDtoRest} setPrimaryBankAccountRequestDtoRest
72
- * @param {string} [authorization] Bearer Token
73
- * @param {*} [options] Override http request option.
74
- * @throws {RequiredError}
75
- */
76
- setPrimaryBankAccount: (code: string, setPrimaryBankAccountRequestDtoRest: SetPrimaryBankAccountRequestDtoRest, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
77
- /**
78
- * Update a bank account by code
79
- * @summary Update the Update bank account
80
- * @param {string} code Unique identifier for the object.
81
- * @param {UpdateBankAccountRequestDtoRest} updateBankAccountRequestDtoRest
82
- * @param {string} [authorization] Bearer Token
83
- * @param {*} [options] Override http request option.
84
- * @throws {RequiredError}
85
- */
86
- updateBankAccount: (code: string, updateBankAccountRequestDtoRest: UpdateBankAccountRequestDtoRest, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
87
44
  };
88
45
  /**
89
46
  * BankAccountsApi - functional programming interface
@@ -93,32 +50,14 @@ export declare const BankAccountsApiFp: (configuration?: Configuration) => {
93
50
  /**
94
51
  * Creates a bank account for a specified account.
95
52
  * @summary Create a bank account
96
- * @param {CreateBankAccountRequestDto} createBankAccountRequestDto
53
+ * @param {object} body
97
54
  * @param {string} [authorization] Bearer Token
98
55
  * @param {*} [options] Override http request option.
99
56
  * @throws {RequiredError}
100
57
  */
101
- createBankAccount(createBankAccountRequestDto: CreateBankAccountRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
58
+ createBankAccount(body: object, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
102
59
  /**
103
- * Deletes a bank account by code
104
- * @summary Delete the bank account
105
- * @param {string} code Unique identifier for the object.
106
- * @param {string} [authorization] Bearer Token
107
- * @param {*} [options] Override http request option.
108
- * @throws {RequiredError}
109
- */
110
- deleteBankAccount(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
111
- /**
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.
113
- * @summary Retrieve the Bank Account
114
- * @param {string} code Unique identifier for the object.
115
- * @param {string} [authorization] Bearer Token
116
- * @param {*} [options] Override http request option.
117
- * @throws {RequiredError}
118
- */
119
- getBankAccount(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBankAccountResponseClass>>;
120
- /**
121
- * Returns a list of bank accounts you’ve previously created. The bank accounts are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.
60
+ * Returns a list of bank accounts you’ve previously created. The bank accounts are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.
122
61
  * @summary List bank accounts
123
62
  * @param {string} [authorization] Bearer Token
124
63
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -131,27 +70,7 @@ export declare const BankAccountsApiFp: (configuration?: Configuration) => {
131
70
  * @param {*} [options] Override http request option.
132
71
  * @throws {RequiredError}
133
72
  */
134
- listBankAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListBankAccountsResponseClass>>;
135
- /**
136
- * Set primary bank account
137
- * @summary Set primary bank account
138
- * @param {string} code Code of the bank account to set primary
139
- * @param {SetPrimaryBankAccountRequestDtoRest} setPrimaryBankAccountRequestDtoRest
140
- * @param {string} [authorization] Bearer Token
141
- * @param {*} [options] Override http request option.
142
- * @throws {RequiredError}
143
- */
144
- setPrimaryBankAccount(code: string, setPrimaryBankAccountRequestDtoRest: SetPrimaryBankAccountRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
145
- /**
146
- * Update a bank account by code
147
- * @summary Update the Update bank account
148
- * @param {string} code Unique identifier for the object.
149
- * @param {UpdateBankAccountRequestDtoRest} updateBankAccountRequestDtoRest
150
- * @param {string} [authorization] Bearer Token
151
- * @param {*} [options] Override http request option.
152
- * @throws {RequiredError}
153
- */
154
- updateBankAccount(code: string, updateBankAccountRequestDtoRest: UpdateBankAccountRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
73
+ listBankAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
155
74
  };
156
75
  /**
157
76
  * BankAccountsApi - factory interface
@@ -161,32 +80,14 @@ export declare const BankAccountsApiFactory: (configuration?: Configuration, bas
161
80
  /**
162
81
  * Creates a bank account for a specified account.
163
82
  * @summary Create a bank account
164
- * @param {CreateBankAccountRequestDto} createBankAccountRequestDto
83
+ * @param {object} body
165
84
  * @param {string} [authorization] Bearer Token
166
85
  * @param {*} [options] Override http request option.
167
86
  * @throws {RequiredError}
168
87
  */
169
- createBankAccount(createBankAccountRequestDto: CreateBankAccountRequestDto, authorization?: string, options?: any): AxiosPromise<object>;
88
+ createBankAccount(body: object, authorization?: string, options?: any): AxiosPromise<void>;
170
89
  /**
171
- * Deletes a bank account by code
172
- * @summary Delete the bank account
173
- * @param {string} code Unique identifier for the object.
174
- * @param {string} [authorization] Bearer Token
175
- * @param {*} [options] Override http request option.
176
- * @throws {RequiredError}
177
- */
178
- deleteBankAccount(code: string, authorization?: string, options?: any): AxiosPromise<object>;
179
- /**
180
- * 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.
181
- * @summary Retrieve the Bank Account
182
- * @param {string} code Unique identifier for the object.
183
- * @param {string} [authorization] Bearer Token
184
- * @param {*} [options] Override http request option.
185
- * @throws {RequiredError}
186
- */
187
- getBankAccount(code: string, authorization?: string, options?: any): AxiosPromise<GetBankAccountResponseClass>;
188
- /**
189
- * Returns a list of bank accounts you’ve previously created. The bank accounts are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.
90
+ * Returns a list of bank accounts you’ve previously created. The bank accounts are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.
190
91
  * @summary List bank accounts
191
92
  * @param {string} [authorization] Bearer Token
192
93
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -199,27 +100,7 @@ export declare const BankAccountsApiFactory: (configuration?: Configuration, bas
199
100
  * @param {*} [options] Override http request option.
200
101
  * @throws {RequiredError}
201
102
  */
202
- listBankAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<ListBankAccountsResponseClass>;
203
- /**
204
- * Set primary bank account
205
- * @summary Set primary bank account
206
- * @param {string} code Code of the bank account to set primary
207
- * @param {SetPrimaryBankAccountRequestDtoRest} setPrimaryBankAccountRequestDtoRest
208
- * @param {string} [authorization] Bearer Token
209
- * @param {*} [options] Override http request option.
210
- * @throws {RequiredError}
211
- */
212
- setPrimaryBankAccount(code: string, setPrimaryBankAccountRequestDtoRest: SetPrimaryBankAccountRequestDtoRest, authorization?: string, options?: any): AxiosPromise<object>;
213
- /**
214
- * Update a bank account by code
215
- * @summary Update the Update bank account
216
- * @param {string} code Unique identifier for the object.
217
- * @param {UpdateBankAccountRequestDtoRest} updateBankAccountRequestDtoRest
218
- * @param {string} [authorization] Bearer Token
219
- * @param {*} [options] Override http request option.
220
- * @throws {RequiredError}
221
- */
222
- updateBankAccount(code: string, updateBankAccountRequestDtoRest: UpdateBankAccountRequestDtoRest, authorization?: string, options?: any): AxiosPromise<object>;
103
+ listBankAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<void>;
223
104
  };
224
105
  /**
225
106
  * Request parameters for createBankAccount operation in BankAccountsApi.
@@ -229,10 +110,10 @@ export declare const BankAccountsApiFactory: (configuration?: Configuration, bas
229
110
  export interface BankAccountsApiCreateBankAccountRequest {
230
111
  /**
231
112
  *
232
- * @type {CreateBankAccountRequestDto}
113
+ * @type {object}
233
114
  * @memberof BankAccountsApiCreateBankAccount
234
115
  */
235
- readonly createBankAccountRequestDto: CreateBankAccountRequestDto;
116
+ readonly body: object;
236
117
  /**
237
118
  * Bearer Token
238
119
  * @type {string}
@@ -240,44 +121,6 @@ export interface BankAccountsApiCreateBankAccountRequest {
240
121
  */
241
122
  readonly authorization?: string;
242
123
  }
243
- /**
244
- * Request parameters for deleteBankAccount operation in BankAccountsApi.
245
- * @export
246
- * @interface BankAccountsApiDeleteBankAccountRequest
247
- */
248
- export interface BankAccountsApiDeleteBankAccountRequest {
249
- /**
250
- * Unique identifier for the object.
251
- * @type {string}
252
- * @memberof BankAccountsApiDeleteBankAccount
253
- */
254
- readonly code: string;
255
- /**
256
- * Bearer Token
257
- * @type {string}
258
- * @memberof BankAccountsApiDeleteBankAccount
259
- */
260
- readonly authorization?: string;
261
- }
262
- /**
263
- * Request parameters for getBankAccount operation in BankAccountsApi.
264
- * @export
265
- * @interface BankAccountsApiGetBankAccountRequest
266
- */
267
- export interface BankAccountsApiGetBankAccountRequest {
268
- /**
269
- * Unique identifier for the object.
270
- * @type {string}
271
- * @memberof BankAccountsApiGetBankAccount
272
- */
273
- readonly code: string;
274
- /**
275
- * Bearer Token
276
- * @type {string}
277
- * @memberof BankAccountsApiGetBankAccount
278
- */
279
- readonly authorization?: string;
280
- }
281
124
  /**
282
125
  * Request parameters for listBankAccounts operation in BankAccountsApi.
283
126
  * @export
@@ -333,56 +176,6 @@ export interface BankAccountsApiListBankAccountsRequest {
333
176
  */
334
177
  readonly filters?: any;
335
178
  }
336
- /**
337
- * Request parameters for setPrimaryBankAccount operation in BankAccountsApi.
338
- * @export
339
- * @interface BankAccountsApiSetPrimaryBankAccountRequest
340
- */
341
- export interface BankAccountsApiSetPrimaryBankAccountRequest {
342
- /**
343
- * Code of the bank account to set primary
344
- * @type {string}
345
- * @memberof BankAccountsApiSetPrimaryBankAccount
346
- */
347
- readonly code: string;
348
- /**
349
- *
350
- * @type {SetPrimaryBankAccountRequestDtoRest}
351
- * @memberof BankAccountsApiSetPrimaryBankAccount
352
- */
353
- readonly setPrimaryBankAccountRequestDtoRest: SetPrimaryBankAccountRequestDtoRest;
354
- /**
355
- * Bearer Token
356
- * @type {string}
357
- * @memberof BankAccountsApiSetPrimaryBankAccount
358
- */
359
- readonly authorization?: string;
360
- }
361
- /**
362
- * Request parameters for updateBankAccount operation in BankAccountsApi.
363
- * @export
364
- * @interface BankAccountsApiUpdateBankAccountRequest
365
- */
366
- export interface BankAccountsApiUpdateBankAccountRequest {
367
- /**
368
- * Unique identifier for the object.
369
- * @type {string}
370
- * @memberof BankAccountsApiUpdateBankAccount
371
- */
372
- readonly code: string;
373
- /**
374
- *
375
- * @type {UpdateBankAccountRequestDtoRest}
376
- * @memberof BankAccountsApiUpdateBankAccount
377
- */
378
- readonly updateBankAccountRequestDtoRest: UpdateBankAccountRequestDtoRest;
379
- /**
380
- * Bearer Token
381
- * @type {string}
382
- * @memberof BankAccountsApiUpdateBankAccount
383
- */
384
- readonly authorization?: string;
385
- }
386
179
  /**
387
180
  * BankAccountsApi - object-oriented interface
388
181
  * @export
@@ -398,50 +191,14 @@ export declare class BankAccountsApi extends BaseAPI {
398
191
  * @throws {RequiredError}
399
192
  * @memberof BankAccountsApi
400
193
  */
401
- createBankAccount(requestParameters: BankAccountsApiCreateBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
194
+ createBankAccount(requestParameters: BankAccountsApiCreateBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
402
195
  /**
403
- * Deletes a bank account by code
404
- * @summary Delete the bank account
405
- * @param {BankAccountsApiDeleteBankAccountRequest} requestParameters Request parameters.
406
- * @param {*} [options] Override http request option.
407
- * @throws {RequiredError}
408
- * @memberof BankAccountsApi
409
- */
410
- deleteBankAccount(requestParameters: BankAccountsApiDeleteBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
411
- /**
412
- * 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.
413
- * @summary Retrieve the Bank Account
414
- * @param {BankAccountsApiGetBankAccountRequest} requestParameters Request parameters.
415
- * @param {*} [options] Override http request option.
416
- * @throws {RequiredError}
417
- * @memberof BankAccountsApi
418
- */
419
- getBankAccount(requestParameters: BankAccountsApiGetBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetBankAccountResponseClass, any>>;
420
- /**
421
- * Returns a list of bank accounts you’ve previously created. The bank accounts are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.
196
+ * Returns a list of bank accounts you’ve previously created. The bank accounts are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.
422
197
  * @summary List bank accounts
423
198
  * @param {BankAccountsApiListBankAccountsRequest} requestParameters Request parameters.
424
199
  * @param {*} [options] Override http request option.
425
200
  * @throws {RequiredError}
426
201
  * @memberof BankAccountsApi
427
202
  */
428
- listBankAccounts(requestParameters?: BankAccountsApiListBankAccountsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListBankAccountsResponseClass, any>>;
429
- /**
430
- * Set primary bank account
431
- * @summary Set primary bank account
432
- * @param {BankAccountsApiSetPrimaryBankAccountRequest} requestParameters Request parameters.
433
- * @param {*} [options] Override http request option.
434
- * @throws {RequiredError}
435
- * @memberof BankAccountsApi
436
- */
437
- setPrimaryBankAccount(requestParameters: BankAccountsApiSetPrimaryBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
438
- /**
439
- * Update a bank account by code
440
- * @summary Update the Update bank account
441
- * @param {BankAccountsApiUpdateBankAccountRequest} requestParameters Request parameters.
442
- * @param {*} [options] Override http request option.
443
- * @throws {RequiredError}
444
- * @memberof BankAccountsApi
445
- */
446
- updateBankAccount(requestParameters: BankAccountsApiUpdateBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
203
+ listBankAccounts(requestParameters?: BankAccountsApiListBankAccountsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
447
204
  }