@emilgroup/payment-sdk 1.4.1-beta.7 → 1.4.1-beta.8

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 (120) hide show
  1. package/.openapi-generator/FILES +2 -29
  2. package/README.md +2 -2
  3. package/api/bank-accounts-api.ts +16 -20
  4. package/api/bank-transaction-api.ts +48 -14
  5. package/api/payment-methods-api.ts +37 -41
  6. package/api/payment-reminders-api.ts +8 -12
  7. package/api/payment-setup-api.ts +28 -36
  8. package/api/payments-api.ts +25 -27
  9. package/api/refunds-api.ts +15 -13
  10. package/dist/api/bank-accounts-api.d.ts +12 -14
  11. package/dist/api/bank-accounts-api.js +12 -12
  12. package/dist/api/bank-transaction-api.d.ts +29 -9
  13. package/dist/api/bank-transaction-api.js +26 -12
  14. package/dist/api/payment-methods-api.d.ts +27 -31
  15. package/dist/api/payment-methods-api.js +28 -24
  16. package/dist/api/payment-reminders-api.d.ts +12 -14
  17. package/dist/api/payment-setup-api.d.ts +18 -22
  18. package/dist/api/payment-setup-api.js +24 -24
  19. package/dist/api/payments-api.d.ts +21 -24
  20. package/dist/api/payments-api.js +16 -12
  21. package/dist/api/refunds-api.d.ts +10 -10
  22. package/dist/api/refunds-api.js +11 -9
  23. package/dist/models/create-payment-request-dto.d.ts +3 -3
  24. package/dist/models/get-request-dto.d.ts +1 -1
  25. package/dist/models/index.d.ts +2 -29
  26. package/dist/models/index.js +2 -29
  27. package/dist/models/{sepa-direct-dto.d.ts → link-bank-transaction-request-dto-rest.d.ts} +5 -5
  28. package/dist/models/{initiate-braintree-payment-setup-response-class.d.ts → unlink-bank-transaction-request-dto-rest.d.ts} +5 -5
  29. package/dist/models/validate-pspconfig-request-dto.d.ts +1 -8
  30. package/dist/models/validate-pspconfig-request-dto.js +0 -7
  31. package/models/create-payment-request-dto.ts +3 -3
  32. package/models/get-request-dto.ts +1 -1
  33. package/models/index.ts +2 -29
  34. package/models/{sepa-direct-dto.ts → link-bank-transaction-request-dto-rest.ts} +5 -5
  35. package/models/{initiate-braintree-payment-setup-response-class.ts → unlink-bank-transaction-request-dto-rest.ts} +5 -5
  36. package/models/validate-pspconfig-request-dto.ts +1 -11
  37. package/package.json +1 -1
  38. package/dist/models/bank-account-class.d.ts +0 -54
  39. package/dist/models/billing-profile-dto.d.ts +0 -38
  40. package/dist/models/billing-profile-limited-response-dto.d.ts +0 -54
  41. package/dist/models/billing-profile-limited-response-dto.js +0 -15
  42. package/dist/models/complete-braintree-payment-setup-request-dto.d.ts +0 -48
  43. package/dist/models/complete-braintree-payment-setup-request-dto.js +0 -15
  44. package/dist/models/complete-payment-setup-request-dto.d.ts +0 -32
  45. package/dist/models/complete-payment-setup-request-dto.js +0 -15
  46. package/dist/models/complete-payment-setup-response-class.d.ts +0 -25
  47. package/dist/models/complete-payment-setup-response-class.js +0 -15
  48. package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +0 -60
  49. package/dist/models/complete-stripe-payment-setup-request-dto.js +0 -15
  50. package/dist/models/create-bank-account-request-dto.d.ts +0 -30
  51. package/dist/models/create-bank-account-request-dto.js +0 -15
  52. package/dist/models/create-payment-method-response-class.d.ts +0 -25
  53. package/dist/models/create-payment-method-response-class.js +0 -15
  54. package/dist/models/create-payment-response-class.d.ts +0 -25
  55. package/dist/models/create-payment-response-class.js +0 -15
  56. package/dist/models/create-psp-payment-method-request-dto.d.ts +0 -61
  57. package/dist/models/create-psp-payment-method-request-dto.js +0 -32
  58. package/dist/models/deactivate-payment-reminder-response-class.d.ts +0 -25
  59. package/dist/models/deactivate-payment-reminder-response-class.js +0 -15
  60. package/dist/models/get-payment-method-response-class.d.ts +0 -25
  61. package/dist/models/get-payment-method-response-class.js +0 -15
  62. package/dist/models/get-payment-response-class.d.ts +0 -25
  63. package/dist/models/get-payment-response-class.js +0 -15
  64. package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +0 -30
  65. package/dist/models/initiate-braintree-payment-setup-request-dto.js +0 -15
  66. package/dist/models/initiate-braintree-payment-setup-response-class.js +0 -15
  67. package/dist/models/initiate-payment-setup-request-dto.d.ts +0 -44
  68. package/dist/models/initiate-payment-setup-request-dto.js +0 -15
  69. package/dist/models/initiate-payment-setup-response-class.d.ts +0 -32
  70. package/dist/models/initiate-payment-setup-response-class.js +0 -15
  71. package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +0 -30
  72. package/dist/models/initiate-stripe-payment-setup-request-dto.js +0 -15
  73. package/dist/models/initiate-stripe-payment-setup-response-class.d.ts +0 -30
  74. package/dist/models/initiate-stripe-payment-setup-response-class.js +0 -15
  75. package/dist/models/list-bank-accounts-response-class.d.ts +0 -31
  76. package/dist/models/list-bank-accounts-response-class.js +0 -15
  77. package/dist/models/list-payment-methods-response-class.d.ts +0 -31
  78. package/dist/models/list-payment-methods-response-class.js +0 -15
  79. package/dist/models/list-payment-reminders-response-class.d.ts +0 -31
  80. package/dist/models/list-payment-reminders-response-class.js +0 -15
  81. package/dist/models/list-payments-response-class.d.ts +0 -31
  82. package/dist/models/list-payments-response-class.js +0 -15
  83. package/dist/models/payment-class.d.ts +0 -103
  84. package/dist/models/payment-class.js +0 -15
  85. package/dist/models/payment-method-class.d.ts +0 -66
  86. package/dist/models/payment-method-class.js +0 -15
  87. package/dist/models/payment-reminder-class.d.ts +0 -112
  88. package/dist/models/payment-reminder-class.js +0 -36
  89. package/dist/models/sepa-direct-dto.js +0 -15
  90. package/dist/models/symphony-profile-limited-response-dto.d.ts +0 -42
  91. package/dist/models/symphony-profile-limited-response-dto.js +0 -15
  92. package/models/bank-account-class.ts +0 -60
  93. package/models/billing-profile-dto.ts +0 -44
  94. package/models/billing-profile-limited-response-dto.ts +0 -60
  95. package/models/complete-braintree-payment-setup-request-dto.ts +0 -54
  96. package/models/complete-payment-setup-request-dto.ts +0 -38
  97. package/models/complete-payment-setup-response-class.ts +0 -31
  98. package/models/complete-stripe-payment-setup-request-dto.ts +0 -66
  99. package/models/create-bank-account-request-dto.ts +0 -36
  100. package/models/create-payment-method-response-class.ts +0 -31
  101. package/models/create-payment-response-class.ts +0 -31
  102. package/models/create-psp-payment-method-request-dto.ts +0 -70
  103. package/models/deactivate-payment-reminder-response-class.ts +0 -31
  104. package/models/get-payment-method-response-class.ts +0 -31
  105. package/models/get-payment-response-class.ts +0 -31
  106. package/models/initiate-braintree-payment-setup-request-dto.ts +0 -36
  107. package/models/initiate-payment-setup-request-dto.ts +0 -50
  108. package/models/initiate-payment-setup-response-class.ts +0 -38
  109. package/models/initiate-stripe-payment-setup-request-dto.ts +0 -36
  110. package/models/initiate-stripe-payment-setup-response-class.ts +0 -36
  111. package/models/list-bank-accounts-response-class.ts +0 -37
  112. package/models/list-payment-methods-response-class.ts +0 -37
  113. package/models/list-payment-reminders-response-class.ts +0 -37
  114. package/models/list-payments-response-class.ts +0 -37
  115. package/models/payment-class.ts +0 -109
  116. package/models/payment-method-class.ts +0 -72
  117. package/models/payment-reminder-class.ts +0 -122
  118. package/models/symphony-profile-limited-response-dto.ts +0 -48
  119. /package/dist/models/{bank-account-class.js → link-bank-transaction-request-dto-rest.js} +0 -0
  120. /package/dist/models/{billing-profile-dto.js → unlink-bank-transaction-request-dto-rest.js} +0 -0
@@ -24,10 +24,6 @@ import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } fr
24
24
  import { CreatePaymentReminderRequestDto } from '../models';
25
25
  // @ts-ignore
26
26
  import { DeactivatePaymentReminderRequestDto } from '../models';
27
- // @ts-ignore
28
- import { DeactivatePaymentReminderResponseClass } from '../models';
29
- // @ts-ignore
30
- import { ListPaymentRemindersResponseClass } from '../models';
31
27
  /**
32
28
  * PaymentRemindersApi - axios parameter creator
33
29
  * @export
@@ -271,7 +267,7 @@ export const PaymentRemindersApiFp = function(configuration?: Configuration) {
271
267
  * @param {*} [options] Override http request option.
272
268
  * @throws {RequiredError}
273
269
  */
274
- async createPaymentReminder(createPaymentReminderRequestDto: CreatePaymentReminderRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>> {
270
+ async createPaymentReminder(createPaymentReminderRequestDto: CreatePaymentReminderRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
275
271
  const localVarAxiosArgs = await localVarAxiosParamCreator.createPaymentReminder(createPaymentReminderRequestDto, authorization, options);
276
272
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
277
273
  },
@@ -284,7 +280,7 @@ export const PaymentRemindersApiFp = function(configuration?: Configuration) {
284
280
  * @param {*} [options] Override http request option.
285
281
  * @throws {RequiredError}
286
282
  */
287
- async deactivatePaymentReminder(code: string, deactivatePaymentReminderRequestDto: DeactivatePaymentReminderRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeactivatePaymentReminderResponseClass>> {
283
+ async deactivatePaymentReminder(code: string, deactivatePaymentReminderRequestDto: DeactivatePaymentReminderRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
288
284
  const localVarAxiosArgs = await localVarAxiosParamCreator.deactivatePaymentReminder(code, deactivatePaymentReminderRequestDto, authorization, options);
289
285
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
290
286
  },
@@ -296,7 +292,7 @@ export const PaymentRemindersApiFp = function(configuration?: Configuration) {
296
292
  * @param {*} [options] Override http request option.
297
293
  * @throws {RequiredError}
298
294
  */
299
- async getPolicy(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>> {
295
+ async getPolicy(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
300
296
  const localVarAxiosArgs = await localVarAxiosParamCreator.getPolicy(code, authorization, options);
301
297
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
302
298
  },
@@ -314,7 +310,7 @@ export const PaymentRemindersApiFp = function(configuration?: Configuration) {
314
310
  * @param {*} [options] Override http request option.
315
311
  * @throws {RequiredError}
316
312
  */
317
- async listPaymentReminders(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPaymentRemindersResponseClass>> {
313
+ async listPaymentReminders(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>> {
318
314
  const localVarAxiosArgs = await localVarAxiosParamCreator.listPaymentReminders(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
319
315
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
320
316
  },
@@ -336,7 +332,7 @@ export const PaymentRemindersApiFactory = function (configuration?: Configuratio
336
332
  * @param {*} [options] Override http request option.
337
333
  * @throws {RequiredError}
338
334
  */
339
- createPaymentReminder(createPaymentReminderRequestDto: CreatePaymentReminderRequestDto, authorization?: string, options?: any): AxiosPromise<object> {
335
+ createPaymentReminder(createPaymentReminderRequestDto: CreatePaymentReminderRequestDto, authorization?: string, options?: any): AxiosPromise<void> {
340
336
  return localVarFp.createPaymentReminder(createPaymentReminderRequestDto, authorization, options).then((request) => request(axios, basePath));
341
337
  },
342
338
  /**
@@ -348,7 +344,7 @@ export const PaymentRemindersApiFactory = function (configuration?: Configuratio
348
344
  * @param {*} [options] Override http request option.
349
345
  * @throws {RequiredError}
350
346
  */
351
- deactivatePaymentReminder(code: string, deactivatePaymentReminderRequestDto: DeactivatePaymentReminderRequestDto, authorization?: string, options?: any): AxiosPromise<DeactivatePaymentReminderResponseClass> {
347
+ deactivatePaymentReminder(code: string, deactivatePaymentReminderRequestDto: DeactivatePaymentReminderRequestDto, authorization?: string, options?: any): AxiosPromise<void> {
352
348
  return localVarFp.deactivatePaymentReminder(code, deactivatePaymentReminderRequestDto, authorization, options).then((request) => request(axios, basePath));
353
349
  },
354
350
  /**
@@ -359,7 +355,7 @@ export const PaymentRemindersApiFactory = function (configuration?: Configuratio
359
355
  * @param {*} [options] Override http request option.
360
356
  * @throws {RequiredError}
361
357
  */
362
- getPolicy(code: string, authorization?: string, options?: any): AxiosPromise<object> {
358
+ getPolicy(code: string, authorization?: string, options?: any): AxiosPromise<void> {
363
359
  return localVarFp.getPolicy(code, authorization, options).then((request) => request(axios, basePath));
364
360
  },
365
361
  /**
@@ -376,7 +372,7 @@ export const PaymentRemindersApiFactory = function (configuration?: Configuratio
376
372
  * @param {*} [options] Override http request option.
377
373
  * @throws {RequiredError}
378
374
  */
379
- listPaymentReminders(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<ListPaymentRemindersResponseClass> {
375
+ listPaymentReminders(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<void> {
380
376
  return localVarFp.listPaymentReminders(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
381
377
  },
382
378
  };
@@ -20,14 +20,6 @@ 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';
31
23
  /**
32
24
  * PaymentSetupApi - axios parameter creator
33
25
  * @export
@@ -36,14 +28,14 @@ export const PaymentSetupApiAxiosParamCreator = function (configuration?: Config
36
28
  return {
37
29
  /**
38
30
  *
39
- * @param {CompletePaymentSetupRequestDto} completePaymentSetupRequestDto
31
+ * @param {object} body
40
32
  * @param {string} [authorization] Bearer Token
41
33
  * @param {*} [options] Override http request option.
42
34
  * @throws {RequiredError}
43
35
  */
44
- completePaymentSetup: async (completePaymentSetupRequestDto: CompletePaymentSetupRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
45
- // verify required parameter 'completePaymentSetupRequestDto' is not null or undefined
46
- assertParamExists('completePaymentSetup', 'completePaymentSetupRequestDto', completePaymentSetupRequestDto)
36
+ completePaymentSetup: async (body: object, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
37
+ // verify required parameter 'body' is not null or undefined
38
+ assertParamExists('completePaymentSetup', 'body', body)
47
39
  const localVarPath = `/paymentservice/v1/payment-setup/complete`;
48
40
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
49
41
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -73,7 +65,7 @@ export const PaymentSetupApiAxiosParamCreator = function (configuration?: Config
73
65
  setSearchParams(localVarUrlObj, localVarQueryParameter);
74
66
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
75
67
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
76
- localVarRequestOptions.data = serializeDataIfNeeded(completePaymentSetupRequestDto, localVarRequestOptions, configuration)
68
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
77
69
 
78
70
  return {
79
71
  url: toPathString(localVarUrlObj),
@@ -82,14 +74,14 @@ export const PaymentSetupApiAxiosParamCreator = function (configuration?: Config
82
74
  },
83
75
  /**
84
76
  *
85
- * @param {InitiatePaymentSetupRequestDto} initiatePaymentSetupRequestDto
77
+ * @param {object} body
86
78
  * @param {string} [authorization] Bearer Token
87
79
  * @param {*} [options] Override http request option.
88
80
  * @throws {RequiredError}
89
81
  */
90
- initiatePaymentSetup: async (initiatePaymentSetupRequestDto: InitiatePaymentSetupRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
91
- // verify required parameter 'initiatePaymentSetupRequestDto' is not null or undefined
92
- assertParamExists('initiatePaymentSetup', 'initiatePaymentSetupRequestDto', initiatePaymentSetupRequestDto)
82
+ initiatePaymentSetup: async (body: object, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
83
+ // verify required parameter 'body' is not null or undefined
84
+ assertParamExists('initiatePaymentSetup', 'body', body)
93
85
  const localVarPath = `/paymentservice/v1/payment-setup/initiate`;
94
86
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
95
87
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -119,7 +111,7 @@ export const PaymentSetupApiAxiosParamCreator = function (configuration?: Config
119
111
  setSearchParams(localVarUrlObj, localVarQueryParameter);
120
112
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
121
113
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
122
- localVarRequestOptions.data = serializeDataIfNeeded(initiatePaymentSetupRequestDto, localVarRequestOptions, configuration)
114
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
123
115
 
124
116
  return {
125
117
  url: toPathString(localVarUrlObj),
@@ -138,24 +130,24 @@ export const PaymentSetupApiFp = function(configuration?: Configuration) {
138
130
  return {
139
131
  /**
140
132
  *
141
- * @param {CompletePaymentSetupRequestDto} completePaymentSetupRequestDto
133
+ * @param {object} body
142
134
  * @param {string} [authorization] Bearer Token
143
135
  * @param {*} [options] Override http request option.
144
136
  * @throws {RequiredError}
145
137
  */
146
- async completePaymentSetup(completePaymentSetupRequestDto: CompletePaymentSetupRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CompletePaymentSetupResponseClass>> {
147
- const localVarAxiosArgs = await localVarAxiosParamCreator.completePaymentSetup(completePaymentSetupRequestDto, authorization, options);
138
+ async completePaymentSetup(body: object, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
139
+ const localVarAxiosArgs = await localVarAxiosParamCreator.completePaymentSetup(body, authorization, options);
148
140
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
149
141
  },
150
142
  /**
151
143
  *
152
- * @param {InitiatePaymentSetupRequestDto} initiatePaymentSetupRequestDto
144
+ * @param {object} body
153
145
  * @param {string} [authorization] Bearer Token
154
146
  * @param {*} [options] Override http request option.
155
147
  * @throws {RequiredError}
156
148
  */
157
- async initiatePaymentSetup(initiatePaymentSetupRequestDto: InitiatePaymentSetupRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InitiatePaymentSetupResponseClass>> {
158
- const localVarAxiosArgs = await localVarAxiosParamCreator.initiatePaymentSetup(initiatePaymentSetupRequestDto, authorization, options);
149
+ async initiatePaymentSetup(body: object, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
150
+ const localVarAxiosArgs = await localVarAxiosParamCreator.initiatePaymentSetup(body, authorization, options);
159
151
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
160
152
  },
161
153
  }
@@ -170,23 +162,23 @@ export const PaymentSetupApiFactory = function (configuration?: Configuration, b
170
162
  return {
171
163
  /**
172
164
  *
173
- * @param {CompletePaymentSetupRequestDto} completePaymentSetupRequestDto
165
+ * @param {object} body
174
166
  * @param {string} [authorization] Bearer Token
175
167
  * @param {*} [options] Override http request option.
176
168
  * @throws {RequiredError}
177
169
  */
178
- completePaymentSetup(completePaymentSetupRequestDto: CompletePaymentSetupRequestDto, authorization?: string, options?: any): AxiosPromise<CompletePaymentSetupResponseClass> {
179
- return localVarFp.completePaymentSetup(completePaymentSetupRequestDto, authorization, options).then((request) => request(axios, basePath));
170
+ completePaymentSetup(body: object, authorization?: string, options?: any): AxiosPromise<void> {
171
+ return localVarFp.completePaymentSetup(body, authorization, options).then((request) => request(axios, basePath));
180
172
  },
181
173
  /**
182
174
  *
183
- * @param {InitiatePaymentSetupRequestDto} initiatePaymentSetupRequestDto
175
+ * @param {object} body
184
176
  * @param {string} [authorization] Bearer Token
185
177
  * @param {*} [options] Override http request option.
186
178
  * @throws {RequiredError}
187
179
  */
188
- initiatePaymentSetup(initiatePaymentSetupRequestDto: InitiatePaymentSetupRequestDto, authorization?: string, options?: any): AxiosPromise<InitiatePaymentSetupResponseClass> {
189
- return localVarFp.initiatePaymentSetup(initiatePaymentSetupRequestDto, authorization, options).then((request) => request(axios, basePath));
180
+ initiatePaymentSetup(body: object, authorization?: string, options?: any): AxiosPromise<void> {
181
+ return localVarFp.initiatePaymentSetup(body, authorization, options).then((request) => request(axios, basePath));
190
182
  },
191
183
  };
192
184
  };
@@ -199,10 +191,10 @@ export const PaymentSetupApiFactory = function (configuration?: Configuration, b
199
191
  export interface PaymentSetupApiCompletePaymentSetupRequest {
200
192
  /**
201
193
  *
202
- * @type {CompletePaymentSetupRequestDto}
194
+ * @type {object}
203
195
  * @memberof PaymentSetupApiCompletePaymentSetup
204
196
  */
205
- readonly completePaymentSetupRequestDto: CompletePaymentSetupRequestDto
197
+ readonly body: object
206
198
 
207
199
  /**
208
200
  * Bearer Token
@@ -220,10 +212,10 @@ export interface PaymentSetupApiCompletePaymentSetupRequest {
220
212
  export interface PaymentSetupApiInitiatePaymentSetupRequest {
221
213
  /**
222
214
  *
223
- * @type {InitiatePaymentSetupRequestDto}
215
+ * @type {object}
224
216
  * @memberof PaymentSetupApiInitiatePaymentSetup
225
217
  */
226
- readonly initiatePaymentSetupRequestDto: InitiatePaymentSetupRequestDto
218
+ readonly body: object
227
219
 
228
220
  /**
229
221
  * Bearer Token
@@ -248,7 +240,7 @@ export class PaymentSetupApi extends BaseAPI {
248
240
  * @memberof PaymentSetupApi
249
241
  */
250
242
  public completePaymentSetup(requestParameters: PaymentSetupApiCompletePaymentSetupRequest, options?: AxiosRequestConfig) {
251
- return PaymentSetupApiFp(this.configuration).completePaymentSetup(requestParameters.completePaymentSetupRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
243
+ return PaymentSetupApiFp(this.configuration).completePaymentSetup(requestParameters.body, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
252
244
  }
253
245
 
254
246
  /**
@@ -259,6 +251,6 @@ export class PaymentSetupApi extends BaseAPI {
259
251
  * @memberof PaymentSetupApi
260
252
  */
261
253
  public initiatePaymentSetup(requestParameters: PaymentSetupApiInitiatePaymentSetupRequest, options?: AxiosRequestConfig) {
262
- return PaymentSetupApiFp(this.configuration).initiatePaymentSetup(requestParameters.initiatePaymentSetupRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
254
+ return PaymentSetupApiFp(this.configuration).initiatePaymentSetup(requestParameters.body, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
263
255
  }
264
256
  }
@@ -22,12 +22,6 @@ 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';
31
25
  /**
32
26
  * PaymentsApi - axios parameter creator
33
27
  * @export
@@ -92,15 +86,19 @@ export const PaymentsApiAxiosParamCreator = function (configuration?: Configurat
92
86
  * Retrieves the details of a payment that was previously created. Supply the unique payment code that was returned when you created the payment and Emil Api will return the corresponding payment information.
93
87
  * @summary Retrieve a payment
94
88
  * @param {string} code Unique identifier for the object.
89
+ * @param {string} expand Fields to expand response by
90
+ * @param {string} expand2 Fields to expand response by
95
91
  * @param {string} [authorization] Bearer Token
96
- * @param {string} [expand] Fields to expand response by
97
- * @param {string} [expand2] Fields to expand response by
98
92
  * @param {*} [options] Override http request option.
99
93
  * @throws {RequiredError}
100
94
  */
101
- getPayment: async (code: string, authorization?: string, expand?: string, expand2?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
95
+ getPayment: async (code: string, expand: string, expand2: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
102
96
  // verify required parameter 'code' is not null or undefined
103
97
  assertParamExists('getPayment', 'code', code)
98
+ // verify required parameter 'expand' is not null or undefined
99
+ assertParamExists('getPayment', 'expand', expand)
100
+ // verify required parameter 'expand2' is not null or undefined
101
+ assertParamExists('getPayment', 'expand2', expand2)
104
102
  const localVarPath = `/paymentservice/v1/payments/{code}`;
105
103
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
106
104
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -241,7 +239,7 @@ export const PaymentsApiFp = function(configuration?: Configuration) {
241
239
  * @param {*} [options] Override http request option.
242
240
  * @throws {RequiredError}
243
241
  */
244
- async createPayment(idempotencyKey: string, createPaymentRequestDto: CreatePaymentRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePaymentResponseClass>> {
242
+ async createPayment(idempotencyKey: string, createPaymentRequestDto: CreatePaymentRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
245
243
  const localVarAxiosArgs = await localVarAxiosParamCreator.createPayment(idempotencyKey, createPaymentRequestDto, authorization, options);
246
244
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
247
245
  },
@@ -249,14 +247,14 @@ export const PaymentsApiFp = function(configuration?: Configuration) {
249
247
  * Retrieves the details of a payment that was previously created. Supply the unique payment code that was returned when you created the payment and Emil Api will return the corresponding payment information.
250
248
  * @summary Retrieve a payment
251
249
  * @param {string} code Unique identifier for the object.
250
+ * @param {string} expand Fields to expand response by
251
+ * @param {string} expand2 Fields to expand response by
252
252
  * @param {string} [authorization] Bearer Token
253
- * @param {string} [expand] Fields to expand response by
254
- * @param {string} [expand2] Fields to expand response by
255
253
  * @param {*} [options] Override http request option.
256
254
  * @throws {RequiredError}
257
255
  */
258
- async getPayment(code: string, authorization?: string, expand?: string, expand2?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPaymentResponseClass>> {
259
- const localVarAxiosArgs = await localVarAxiosParamCreator.getPayment(code, authorization, expand, expand2, options);
256
+ async getPayment(code: string, expand: string, expand2: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
257
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getPayment(code, expand, expand2, authorization, options);
260
258
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
261
259
  },
262
260
  /**
@@ -273,7 +271,7 @@ export const PaymentsApiFp = function(configuration?: Configuration) {
273
271
  * @param {*} [options] Override http request option.
274
272
  * @throws {RequiredError}
275
273
  */
276
- async listPayments(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPaymentsResponseClass>> {
274
+ async listPayments(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>> {
277
275
  const localVarAxiosArgs = await localVarAxiosParamCreator.listPayments(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
278
276
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
279
277
  },
@@ -296,21 +294,21 @@ export const PaymentsApiFactory = function (configuration?: Configuration, baseP
296
294
  * @param {*} [options] Override http request option.
297
295
  * @throws {RequiredError}
298
296
  */
299
- createPayment(idempotencyKey: string, createPaymentRequestDto: CreatePaymentRequestDto, authorization?: string, options?: any): AxiosPromise<CreatePaymentResponseClass> {
297
+ createPayment(idempotencyKey: string, createPaymentRequestDto: CreatePaymentRequestDto, authorization?: string, options?: any): AxiosPromise<void> {
300
298
  return localVarFp.createPayment(idempotencyKey, createPaymentRequestDto, authorization, options).then((request) => request(axios, basePath));
301
299
  },
302
300
  /**
303
301
  * Retrieves the details of a payment that was previously created. Supply the unique payment code that was returned when you created the payment and Emil Api will return the corresponding payment information.
304
302
  * @summary Retrieve a payment
305
303
  * @param {string} code Unique identifier for the object.
304
+ * @param {string} expand Fields to expand response by
305
+ * @param {string} expand2 Fields to expand response by
306
306
  * @param {string} [authorization] Bearer Token
307
- * @param {string} [expand] Fields to expand response by
308
- * @param {string} [expand2] Fields to expand response by
309
307
  * @param {*} [options] Override http request option.
310
308
  * @throws {RequiredError}
311
309
  */
312
- getPayment(code: string, authorization?: string, expand?: string, expand2?: string, options?: any): AxiosPromise<GetPaymentResponseClass> {
313
- return localVarFp.getPayment(code, authorization, expand, expand2, options).then((request) => request(axios, basePath));
310
+ getPayment(code: string, expand: string, expand2: string, authorization?: string, options?: any): AxiosPromise<void> {
311
+ return localVarFp.getPayment(code, expand, expand2, authorization, options).then((request) => request(axios, basePath));
314
312
  },
315
313
  /**
316
314
  * Returns a list of payments you’ve previously created. The payments are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.
@@ -326,7 +324,7 @@ export const PaymentsApiFactory = function (configuration?: Configuration, baseP
326
324
  * @param {*} [options] Override http request option.
327
325
  * @throws {RequiredError}
328
326
  */
329
- listPayments(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<ListPaymentsResponseClass> {
327
+ listPayments(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<void> {
330
328
  return localVarFp.listPayments(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
331
329
  },
332
330
  };
@@ -374,25 +372,25 @@ export interface PaymentsApiGetPaymentRequest {
374
372
  readonly code: string
375
373
 
376
374
  /**
377
- * Bearer Token
375
+ * Fields to expand response by
378
376
  * @type {string}
379
377
  * @memberof PaymentsApiGetPayment
380
378
  */
381
- readonly authorization?: string
379
+ readonly expand: string
382
380
 
383
381
  /**
384
382
  * Fields to expand response by
385
383
  * @type {string}
386
384
  * @memberof PaymentsApiGetPayment
387
385
  */
388
- readonly expand?: string
386
+ readonly expand2: string
389
387
 
390
388
  /**
391
- * Fields to expand response by
389
+ * Bearer Token
392
390
  * @type {string}
393
391
  * @memberof PaymentsApiGetPayment
394
392
  */
395
- readonly expand2?: string
393
+ readonly authorization?: string
396
394
  }
397
395
 
398
396
  /**
@@ -486,7 +484,7 @@ export class PaymentsApi extends BaseAPI {
486
484
  * @memberof PaymentsApi
487
485
  */
488
486
  public getPayment(requestParameters: PaymentsApiGetPaymentRequest, options?: AxiosRequestConfig) {
489
- return PaymentsApiFp(this.configuration).getPayment(requestParameters.code, requestParameters.authorization, requestParameters.expand, requestParameters.expand2, options).then((request) => request(this.axios, this.basePath));
487
+ return PaymentsApiFp(this.configuration).getPayment(requestParameters.code, requestParameters.expand, requestParameters.expand2, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
490
488
  }
491
489
 
492
490
  /**
@@ -84,16 +84,18 @@ export const RefundsApiAxiosParamCreator = function (configuration?: Configurati
84
84
  *
85
85
  * @param {string} code
86
86
  * @param {string} code2 Unique identifier for the object.
87
+ * @param {string} expand Fields to expand response by
87
88
  * @param {string} [authorization] Bearer Token
88
- * @param {string} [expand] Fields to expand response by
89
89
  * @param {*} [options] Override http request option.
90
90
  * @throws {RequiredError}
91
91
  */
92
- getRefund: async (code: string, code2: string, authorization?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
92
+ getRefund: async (code: string, code2: string, expand: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
93
93
  // verify required parameter 'code' is not null or undefined
94
94
  assertParamExists('getRefund', 'code', code)
95
95
  // verify required parameter 'code2' is not null or undefined
96
96
  assertParamExists('getRefund', 'code2', code2)
97
+ // verify required parameter 'expand' is not null or undefined
98
+ assertParamExists('getRefund', 'expand', expand)
97
99
  const localVarPath = `/paymentservice/v1/refunds/{code}`
98
100
  .replace(`{${"code"}}`, encodeURIComponent(String(code)));
99
101
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -236,13 +238,13 @@ export const RefundsApiFp = function(configuration?: Configuration) {
236
238
  *
237
239
  * @param {string} code
238
240
  * @param {string} code2 Unique identifier for the object.
241
+ * @param {string} expand Fields to expand response by
239
242
  * @param {string} [authorization] Bearer Token
240
- * @param {string} [expand] Fields to expand response by
241
243
  * @param {*} [options] Override http request option.
242
244
  * @throws {RequiredError}
243
245
  */
244
- async getRefund(code: string, code2: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetRefundResponseClass>> {
245
- const localVarAxiosArgs = await localVarAxiosParamCreator.getRefund(code, code2, authorization, expand, options);
246
+ async getRefund(code: string, code2: string, expand: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetRefundResponseClass>> {
247
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getRefund(code, code2, expand, authorization, options);
246
248
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
247
249
  },
248
250
  /**
@@ -286,13 +288,13 @@ export const RefundsApiFactory = function (configuration?: Configuration, basePa
286
288
  *
287
289
  * @param {string} code
288
290
  * @param {string} code2 Unique identifier for the object.
291
+ * @param {string} expand Fields to expand response by
289
292
  * @param {string} [authorization] Bearer Token
290
- * @param {string} [expand] Fields to expand response by
291
293
  * @param {*} [options] Override http request option.
292
294
  * @throws {RequiredError}
293
295
  */
294
- getRefund(code: string, code2: string, authorization?: string, expand?: string, options?: any): AxiosPromise<GetRefundResponseClass> {
295
- return localVarFp.getRefund(code, code2, authorization, expand, options).then((request) => request(axios, basePath));
296
+ getRefund(code: string, code2: string, expand: string, authorization?: string, options?: any): AxiosPromise<GetRefundResponseClass> {
297
+ return localVarFp.getRefund(code, code2, expand, authorization, options).then((request) => request(axios, basePath));
296
298
  },
297
299
  /**
298
300
  *
@@ -355,18 +357,18 @@ export interface RefundsApiGetRefundRequest {
355
357
  readonly code2: string
356
358
 
357
359
  /**
358
- * Bearer Token
360
+ * Fields to expand response by
359
361
  * @type {string}
360
362
  * @memberof RefundsApiGetRefund
361
363
  */
362
- readonly authorization?: string
364
+ readonly expand: string
363
365
 
364
366
  /**
365
- * Fields to expand response by
367
+ * Bearer Token
366
368
  * @type {string}
367
369
  * @memberof RefundsApiGetRefund
368
370
  */
369
- readonly expand?: string
371
+ readonly authorization?: string
370
372
  }
371
373
 
372
374
  /**
@@ -458,7 +460,7 @@ export class RefundsApi extends BaseAPI {
458
460
  * @memberof RefundsApi
459
461
  */
460
462
  public getRefund(requestParameters: RefundsApiGetRefundRequest, options?: AxiosRequestConfig) {
461
- return RefundsApiFp(this.configuration).getRefund(requestParameters.code, requestParameters.code2, requestParameters.authorization, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
463
+ return RefundsApiFp(this.configuration).getRefund(requestParameters.code, requestParameters.code2, requestParameters.expand, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
462
464
  }
463
465
 
464
466
  /**
@@ -12,8 +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 { ListBankAccountsResponseClass } from '../models';
17
15
  /**
18
16
  * BankAccountsApi - axios parameter creator
19
17
  * @export
@@ -22,12 +20,12 @@ export declare const BankAccountsApiAxiosParamCreator: (configuration?: Configur
22
20
  /**
23
21
  * Creates a bank account for a specified account.
24
22
  * @summary Create a bank account
25
- * @param {CreateBankAccountRequestDto} createBankAccountRequestDto
23
+ * @param {object} body
26
24
  * @param {string} [authorization] Bearer Token
27
25
  * @param {*} [options] Override http request option.
28
26
  * @throws {RequiredError}
29
27
  */
30
- createBankAccount: (createBankAccountRequestDto: CreateBankAccountRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
28
+ createBankAccount: (body: object, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
31
29
  /**
32
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.
33
31
  * @summary List bank accounts
@@ -52,12 +50,12 @@ export declare const BankAccountsApiFp: (configuration?: Configuration) => {
52
50
  /**
53
51
  * Creates a bank account for a specified account.
54
52
  * @summary Create a bank account
55
- * @param {CreateBankAccountRequestDto} createBankAccountRequestDto
53
+ * @param {object} body
56
54
  * @param {string} [authorization] Bearer Token
57
55
  * @param {*} [options] Override http request option.
58
56
  * @throws {RequiredError}
59
57
  */
60
- 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>>;
61
59
  /**
62
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.
63
61
  * @summary List bank accounts
@@ -72,7 +70,7 @@ export declare const BankAccountsApiFp: (configuration?: Configuration) => {
72
70
  * @param {*} [options] Override http request option.
73
71
  * @throws {RequiredError}
74
72
  */
75
- 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>>;
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>>;
76
74
  };
77
75
  /**
78
76
  * BankAccountsApi - factory interface
@@ -82,12 +80,12 @@ export declare const BankAccountsApiFactory: (configuration?: Configuration, bas
82
80
  /**
83
81
  * Creates a bank account for a specified account.
84
82
  * @summary Create a bank account
85
- * @param {CreateBankAccountRequestDto} createBankAccountRequestDto
83
+ * @param {object} body
86
84
  * @param {string} [authorization] Bearer Token
87
85
  * @param {*} [options] Override http request option.
88
86
  * @throws {RequiredError}
89
87
  */
90
- createBankAccount(createBankAccountRequestDto: CreateBankAccountRequestDto, authorization?: string, options?: any): AxiosPromise<object>;
88
+ createBankAccount(body: object, authorization?: string, options?: any): AxiosPromise<void>;
91
89
  /**
92
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.
93
91
  * @summary List bank accounts
@@ -102,7 +100,7 @@ export declare const BankAccountsApiFactory: (configuration?: Configuration, bas
102
100
  * @param {*} [options] Override http request option.
103
101
  * @throws {RequiredError}
104
102
  */
105
- listBankAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<ListBankAccountsResponseClass>;
103
+ listBankAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<void>;
106
104
  };
107
105
  /**
108
106
  * Request parameters for createBankAccount operation in BankAccountsApi.
@@ -112,10 +110,10 @@ export declare const BankAccountsApiFactory: (configuration?: Configuration, bas
112
110
  export interface BankAccountsApiCreateBankAccountRequest {
113
111
  /**
114
112
  *
115
- * @type {CreateBankAccountRequestDto}
113
+ * @type {object}
116
114
  * @memberof BankAccountsApiCreateBankAccount
117
115
  */
118
- readonly createBankAccountRequestDto: CreateBankAccountRequestDto;
116
+ readonly body: object;
119
117
  /**
120
118
  * Bearer Token
121
119
  * @type {string}
@@ -193,7 +191,7 @@ export declare class BankAccountsApi extends BaseAPI {
193
191
  * @throws {RequiredError}
194
192
  * @memberof BankAccountsApi
195
193
  */
196
- createBankAccount(requestParameters: BankAccountsApiCreateBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
194
+ createBankAccount(requestParameters: BankAccountsApiCreateBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
197
195
  /**
198
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.
199
197
  * @summary List bank accounts
@@ -202,5 +200,5 @@ export declare class BankAccountsApi extends BaseAPI {
202
200
  * @throws {RequiredError}
203
201
  * @memberof BankAccountsApi
204
202
  */
205
- listBankAccounts(requestParameters?: BankAccountsApiListBankAccountsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListBankAccountsResponseClass, any>>;
203
+ listBankAccounts(requestParameters?: BankAccountsApiListBankAccountsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
206
204
  }