@emilgroup/payment-sdk 1.4.1-beta.31 → 1.4.1-beta.33

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 (182) hide show
  1. package/.openapi-generator/FILES +50 -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 +52 -36
  8. package/api/payments-api.ts +12 -6
  9. package/api/refunds-api.ts +12 -6
  10. package/base.ts +15 -7
  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 +38 -26
  17. package/dist/api/payment-setup-api.js +40 -32
  18. package/dist/api/payments-api.d.ts +12 -9
  19. package/dist/api/refunds-api.d.ts +12 -9
  20. package/dist/base.d.ts +3 -1
  21. package/dist/base.js +27 -20
  22. package/dist/models/bank-account-class-without-expand-properties.d.ts +72 -0
  23. package/dist/models/bank-account-class-without-expand-properties.js +15 -0
  24. package/dist/models/bank-account-class.d.ts +79 -0
  25. package/dist/models/bank-account-class.js +15 -0
  26. package/dist/models/bank-transaction-class.d.ts +128 -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-braintree-payment-setup-request-dto.d.ts +48 -0
  33. package/dist/models/complete-braintree-payment-setup-request-dto.js +15 -0
  34. package/dist/models/complete-payment-setup-request-dto.d.ts +32 -0
  35. package/dist/models/complete-payment-setup-request-dto.js +15 -0
  36. package/dist/models/complete-payment-setup-response-class.d.ts +25 -0
  37. package/dist/models/complete-payment-setup-response-class.js +15 -0
  38. package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +60 -0
  39. package/dist/models/complete-stripe-payment-setup-request-dto.js +15 -0
  40. package/dist/models/create-bank-account-request-dto.d.ts +2 -2
  41. package/dist/models/create-bank-account-response-class.d.ts +25 -0
  42. package/dist/models/create-bank-account-response-class.js +15 -0
  43. package/dist/models/create-payment-method-response-class.d.ts +25 -0
  44. package/dist/models/create-payment-method-response-class.js +15 -0
  45. package/dist/models/create-payment-reminder-response-class.d.ts +25 -0
  46. package/dist/models/create-payment-reminder-response-class.js +15 -0
  47. package/dist/models/create-payment-request-dto.d.ts +3 -3
  48. package/dist/models/create-payment-response-class.d.ts +25 -0
  49. package/dist/models/create-payment-response-class.js +15 -0
  50. package/dist/models/create-psp-payment-method-request-dto.d.ts +61 -0
  51. package/dist/models/create-psp-payment-method-request-dto.js +32 -0
  52. package/dist/models/create-refund-response-class.d.ts +25 -0
  53. package/dist/models/create-refund-response-class.js +15 -0
  54. package/dist/models/deactivate-payment-reminder-response-class.d.ts +25 -0
  55. package/dist/models/deactivate-payment-reminder-response-class.js +15 -0
  56. package/dist/models/deactivated-payment-reminder-class.d.ts +90 -0
  57. package/dist/models/deactivated-payment-reminder-class.js +15 -0
  58. package/dist/models/get-bank-account-response-class.d.ts +25 -0
  59. package/dist/models/get-bank-account-response-class.js +15 -0
  60. package/dist/models/get-bank-transactions-response-class.d.ts +25 -0
  61. package/dist/models/get-bank-transactions-response-class.js +15 -0
  62. package/dist/models/get-payment-method-response-class.d.ts +25 -0
  63. package/dist/models/get-payment-method-response-class.js +15 -0
  64. package/dist/models/get-payment-reminder-response-class.d.ts +25 -0
  65. package/dist/models/get-payment-reminder-response-class.js +15 -0
  66. package/dist/models/get-payment-response-class.d.ts +25 -0
  67. package/dist/models/get-payment-response-class.js +15 -0
  68. package/dist/models/get-refund-response-class.d.ts +25 -0
  69. package/dist/models/get-refund-response-class.js +15 -0
  70. package/dist/models/import-bank-transactions-response-class.d.ts +25 -0
  71. package/dist/models/import-bank-transactions-response-class.js +15 -0
  72. package/dist/models/index.d.ts +50 -0
  73. package/dist/models/index.js +50 -0
  74. package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +30 -0
  75. package/dist/models/initiate-braintree-payment-setup-request-dto.js +15 -0
  76. package/dist/models/initiate-braintree-payment-setup-response-class.d.ts +24 -0
  77. package/dist/models/initiate-braintree-payment-setup-response-class.js +15 -0
  78. package/dist/models/initiate-payment-setup-request-dto.d.ts +50 -0
  79. package/dist/models/initiate-payment-setup-request-dto.js +15 -0
  80. package/dist/models/initiate-payment-setup-response-class.d.ts +32 -0
  81. package/dist/models/initiate-payment-setup-response-class.js +15 -0
  82. package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +30 -0
  83. package/dist/models/initiate-stripe-payment-setup-request-dto.js +15 -0
  84. package/dist/models/initiate-stripe-payment-setup-response-class.d.ts +30 -0
  85. package/dist/models/initiate-stripe-payment-setup-response-class.js +15 -0
  86. package/dist/models/link-bank-transactions-response-class.d.ts +25 -0
  87. package/dist/models/link-bank-transactions-response-class.js +15 -0
  88. package/dist/models/list-bank-accounts-response-class.d.ts +31 -0
  89. package/dist/models/list-bank-accounts-response-class.js +15 -0
  90. package/dist/models/list-bank-transactions-response-class.d.ts +31 -0
  91. package/dist/models/list-bank-transactions-response-class.js +15 -0
  92. package/dist/models/list-payment-methods-response-class.d.ts +31 -0
  93. package/dist/models/list-payment-methods-response-class.js +15 -0
  94. package/dist/models/list-payment-reminders-response-class.d.ts +31 -0
  95. package/dist/models/list-payment-reminders-response-class.js +15 -0
  96. package/dist/models/list-payments-response-class.d.ts +31 -0
  97. package/dist/models/list-payments-response-class.js +15 -0
  98. package/dist/models/list-refunds-response-class.d.ts +31 -0
  99. package/dist/models/list-refunds-response-class.js +15 -0
  100. package/dist/models/payment-class-without-expand-properties.d.ts +102 -0
  101. package/dist/models/payment-class-without-expand-properties.js +15 -0
  102. package/dist/models/payment-class.d.ts +109 -0
  103. package/dist/models/payment-class.js +15 -0
  104. package/dist/models/payment-method-class.d.ts +66 -0
  105. package/dist/models/payment-method-class.js +15 -0
  106. package/dist/models/payment-reminder-class.d.ts +90 -0
  107. package/dist/models/payment-reminder-class.js +15 -0
  108. package/dist/models/primary-bank-account-response-class.d.ts +42 -0
  109. package/dist/models/primary-bank-account-response-class.js +15 -0
  110. package/dist/models/refund-class-without-expand-properties.d.ts +99 -0
  111. package/dist/models/refund-class-without-expand-properties.js +29 -0
  112. package/dist/models/refund-class.d.ts +99 -0
  113. package/dist/models/refund-class.js +29 -0
  114. package/dist/models/sepa-direct-dto.d.ts +24 -0
  115. package/dist/models/sepa-direct-dto.js +15 -0
  116. package/dist/models/symphony-profile-limited-response-dto.d.ts +42 -0
  117. package/dist/models/symphony-profile-limited-response-dto.js +15 -0
  118. package/dist/models/transaction-class.d.ts +54 -0
  119. package/dist/models/transaction-class.js +15 -0
  120. package/dist/models/unlink-bank-transactions-response-class.d.ts +25 -0
  121. package/dist/models/unlink-bank-transactions-response-class.js +15 -0
  122. package/dist/models/unlinked-bank-transaction-response-class.d.ts +96 -0
  123. package/dist/models/unlinked-bank-transaction-response-class.js +15 -0
  124. package/dist/models/update-bank-account-response-class.d.ts +25 -0
  125. package/dist/models/update-bank-account-response-class.js +15 -0
  126. package/dist/models/validate-pspconfig-request-dto.d.ts +8 -1
  127. package/dist/models/validate-pspconfig-request-dto.js +7 -0
  128. package/models/bank-account-class-without-expand-properties.ts +78 -0
  129. package/models/bank-account-class.ts +85 -0
  130. package/models/bank-transaction-class.ts +134 -0
  131. package/models/billing-profile-dto.ts +44 -0
  132. package/models/billing-profile-limited-response-dto.ts +60 -0
  133. package/models/complete-braintree-payment-setup-request-dto.ts +54 -0
  134. package/models/complete-payment-setup-request-dto.ts +38 -0
  135. package/models/complete-payment-setup-response-class.ts +31 -0
  136. package/models/complete-stripe-payment-setup-request-dto.ts +66 -0
  137. package/models/create-bank-account-request-dto.ts +2 -2
  138. package/models/create-bank-account-response-class.ts +31 -0
  139. package/models/create-payment-method-response-class.ts +31 -0
  140. package/models/create-payment-reminder-response-class.ts +31 -0
  141. package/models/create-payment-request-dto.ts +3 -3
  142. package/models/create-payment-response-class.ts +31 -0
  143. package/models/create-psp-payment-method-request-dto.ts +70 -0
  144. package/models/create-refund-response-class.ts +31 -0
  145. package/models/deactivate-payment-reminder-response-class.ts +31 -0
  146. package/models/deactivated-payment-reminder-class.ts +96 -0
  147. package/models/get-bank-account-response-class.ts +31 -0
  148. package/models/get-bank-transactions-response-class.ts +31 -0
  149. package/models/get-payment-method-response-class.ts +31 -0
  150. package/models/get-payment-reminder-response-class.ts +31 -0
  151. package/models/get-payment-response-class.ts +31 -0
  152. package/models/get-refund-response-class.ts +31 -0
  153. package/models/import-bank-transactions-response-class.ts +31 -0
  154. package/models/index.ts +50 -0
  155. package/models/initiate-braintree-payment-setup-request-dto.ts +36 -0
  156. package/models/initiate-braintree-payment-setup-response-class.ts +30 -0
  157. package/models/initiate-payment-setup-request-dto.ts +56 -0
  158. package/models/initiate-payment-setup-response-class.ts +38 -0
  159. package/models/initiate-stripe-payment-setup-request-dto.ts +36 -0
  160. package/models/initiate-stripe-payment-setup-response-class.ts +36 -0
  161. package/models/link-bank-transactions-response-class.ts +31 -0
  162. package/models/list-bank-accounts-response-class.ts +37 -0
  163. package/models/list-bank-transactions-response-class.ts +37 -0
  164. package/models/list-payment-methods-response-class.ts +37 -0
  165. package/models/list-payment-reminders-response-class.ts +37 -0
  166. package/models/list-payments-response-class.ts +37 -0
  167. package/models/list-refunds-response-class.ts +37 -0
  168. package/models/payment-class-without-expand-properties.ts +108 -0
  169. package/models/payment-class.ts +115 -0
  170. package/models/payment-method-class.ts +72 -0
  171. package/models/payment-reminder-class.ts +96 -0
  172. package/models/primary-bank-account-response-class.ts +48 -0
  173. package/models/refund-class-without-expand-properties.ts +109 -0
  174. package/models/refund-class.ts +109 -0
  175. package/models/sepa-direct-dto.ts +30 -0
  176. package/models/symphony-profile-limited-response-dto.ts +48 -0
  177. package/models/transaction-class.ts +60 -0
  178. package/models/unlink-bank-transactions-response-class.ts +31 -0
  179. package/models/unlinked-bank-transaction-response-class.ts +102 -0
  180. package/models/update-bank-account-response-class.ts +31 -0
  181. package/models/validate-pspconfig-request-dto.ts +11 -1
  182. package/package.json +1 -1
@@ -12,8 +12,13 @@
12
12
  import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
13
13
  import { Configuration } from '../configuration';
14
14
  import { RequestArgs, BaseAPI } from '../base';
15
+ import { GetBankTransactionsResponseClass } from '../models';
16
+ import { ImportBankTransactionsResponseClass } from '../models';
15
17
  import { LinkBankTransactionRequestDtoRest } from '../models';
18
+ import { LinkBankTransactionsResponseClass } from '../models';
19
+ import { ListBankTransactionsResponseClass } from '../models';
16
20
  import { UnlinkBankTransactionRequestDtoRest } from '../models';
21
+ import { UnlinkBankTransactionsResponseClass } from '../models';
17
22
  /**
18
23
  * BankTransactionApi - axios parameter creator
19
24
  * @export
@@ -88,7 +93,7 @@ export declare const BankTransactionApiFp: (configuration?: Configuration) => {
88
93
  * @param {*} [options] Override http request option.
89
94
  * @throws {RequiredError}
90
95
  */
91
- getBankTransaction(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
96
+ getBankTransaction(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBankTransactionsResponseClass>>;
92
97
  /**
93
98
  * This will import bank transactions from a swift MT940 file
94
99
  * @summary Create the bank transactions
@@ -97,7 +102,7 @@ export declare const BankTransactionApiFp: (configuration?: Configuration) => {
97
102
  * @param {*} [options] Override http request option.
98
103
  * @throws {RequiredError}
99
104
  */
100
- importBankTransactions(file: any, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
105
+ importBankTransactions(file: any, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ImportBankTransactionsResponseClass>>;
101
106
  /**
102
107
  * Links a bank transaction with an invoice
103
108
  * @summary Link bank transaction
@@ -107,7 +112,7 @@ export declare const BankTransactionApiFp: (configuration?: Configuration) => {
107
112
  * @param {*} [options] Override http request option.
108
113
  * @throws {RequiredError}
109
114
  */
110
- linkBankTransaction(code: string, linkBankTransactionRequestDtoRest: LinkBankTransactionRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
115
+ linkBankTransaction(code: string, linkBankTransactionRequestDtoRest: LinkBankTransactionRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LinkBankTransactionsResponseClass>>;
111
116
  /**
112
117
  * Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
113
118
  * @summary List bank transactions
@@ -122,7 +127,7 @@ export declare const BankTransactionApiFp: (configuration?: Configuration) => {
122
127
  * @param {*} [options] Override http request option.
123
128
  * @throws {RequiredError}
124
129
  */
125
- listBankTransactions(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
130
+ listBankTransactions(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListBankTransactionsResponseClass>>;
126
131
  /**
127
132
  * Unlinks an already linked bank transaction
128
133
  * @summary Unlink bank transaction
@@ -132,7 +137,7 @@ export declare const BankTransactionApiFp: (configuration?: Configuration) => {
132
137
  * @param {*} [options] Override http request option.
133
138
  * @throws {RequiredError}
134
139
  */
135
- unlinkBankTransaction(code: string, unlinkBankTransactionRequestDtoRest: UnlinkBankTransactionRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
140
+ unlinkBankTransaction(code: string, unlinkBankTransactionRequestDtoRest: UnlinkBankTransactionRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UnlinkBankTransactionsResponseClass>>;
136
141
  };
137
142
  /**
138
143
  * BankTransactionApi - factory interface
@@ -148,7 +153,7 @@ export declare const BankTransactionApiFactory: (configuration?: Configuration,
148
153
  * @param {*} [options] Override http request option.
149
154
  * @throws {RequiredError}
150
155
  */
151
- getBankTransaction(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<void>;
156
+ getBankTransaction(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<GetBankTransactionsResponseClass>;
152
157
  /**
153
158
  * This will import bank transactions from a swift MT940 file
154
159
  * @summary Create the bank transactions
@@ -157,7 +162,7 @@ export declare const BankTransactionApiFactory: (configuration?: Configuration,
157
162
  * @param {*} [options] Override http request option.
158
163
  * @throws {RequiredError}
159
164
  */
160
- importBankTransactions(file: any, authorization?: string, options?: any): AxiosPromise<void>;
165
+ importBankTransactions(file: any, authorization?: string, options?: any): AxiosPromise<ImportBankTransactionsResponseClass>;
161
166
  /**
162
167
  * Links a bank transaction with an invoice
163
168
  * @summary Link bank transaction
@@ -167,7 +172,7 @@ export declare const BankTransactionApiFactory: (configuration?: Configuration,
167
172
  * @param {*} [options] Override http request option.
168
173
  * @throws {RequiredError}
169
174
  */
170
- linkBankTransaction(code: string, linkBankTransactionRequestDtoRest: LinkBankTransactionRequestDtoRest, authorization?: string, options?: any): AxiosPromise<void>;
175
+ linkBankTransaction(code: string, linkBankTransactionRequestDtoRest: LinkBankTransactionRequestDtoRest, authorization?: string, options?: any): AxiosPromise<LinkBankTransactionsResponseClass>;
171
176
  /**
172
177
  * Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
173
178
  * @summary List bank transactions
@@ -182,7 +187,7 @@ export declare const BankTransactionApiFactory: (configuration?: Configuration,
182
187
  * @param {*} [options] Override http request option.
183
188
  * @throws {RequiredError}
184
189
  */
185
- listBankTransactions(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<void>;
190
+ listBankTransactions(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListBankTransactionsResponseClass>;
186
191
  /**
187
192
  * Unlinks an already linked bank transaction
188
193
  * @summary Unlink bank transaction
@@ -192,7 +197,7 @@ export declare const BankTransactionApiFactory: (configuration?: Configuration,
192
197
  * @param {*} [options] Override http request option.
193
198
  * @throws {RequiredError}
194
199
  */
195
- unlinkBankTransaction(code: string, unlinkBankTransactionRequestDtoRest: UnlinkBankTransactionRequestDtoRest, authorization?: string, options?: any): AxiosPromise<void>;
200
+ unlinkBankTransaction(code: string, unlinkBankTransactionRequestDtoRest: UnlinkBankTransactionRequestDtoRest, authorization?: string, options?: any): AxiosPromise<UnlinkBankTransactionsResponseClass>;
196
201
  };
197
202
  /**
198
203
  * Request parameters for getBankTransaction operation in BankTransactionApi.
@@ -358,7 +363,7 @@ export declare class BankTransactionApi extends BaseAPI {
358
363
  * @throws {RequiredError}
359
364
  * @memberof BankTransactionApi
360
365
  */
361
- getBankTransaction(requestParameters: BankTransactionApiGetBankTransactionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
366
+ getBankTransaction(requestParameters: BankTransactionApiGetBankTransactionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetBankTransactionsResponseClass, any>>;
362
367
  /**
363
368
  * This will import bank transactions from a swift MT940 file
364
369
  * @summary Create the bank transactions
@@ -367,7 +372,7 @@ export declare class BankTransactionApi extends BaseAPI {
367
372
  * @throws {RequiredError}
368
373
  * @memberof BankTransactionApi
369
374
  */
370
- importBankTransactions(requestParameters: BankTransactionApiImportBankTransactionsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
375
+ importBankTransactions(requestParameters: BankTransactionApiImportBankTransactionsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ImportBankTransactionsResponseClass, any>>;
371
376
  /**
372
377
  * Links a bank transaction with an invoice
373
378
  * @summary Link bank transaction
@@ -376,7 +381,7 @@ export declare class BankTransactionApi extends BaseAPI {
376
381
  * @throws {RequiredError}
377
382
  * @memberof BankTransactionApi
378
383
  */
379
- linkBankTransaction(requestParameters: BankTransactionApiLinkBankTransactionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
384
+ linkBankTransaction(requestParameters: BankTransactionApiLinkBankTransactionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<LinkBankTransactionsResponseClass, any>>;
380
385
  /**
381
386
  * Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
382
387
  * @summary List bank transactions
@@ -385,7 +390,7 @@ export declare class BankTransactionApi extends BaseAPI {
385
390
  * @throws {RequiredError}
386
391
  * @memberof BankTransactionApi
387
392
  */
388
- listBankTransactions(requestParameters?: BankTransactionApiListBankTransactionsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
393
+ listBankTransactions(requestParameters?: BankTransactionApiListBankTransactionsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListBankTransactionsResponseClass, any>>;
389
394
  /**
390
395
  * Unlinks an already linked bank transaction
391
396
  * @summary Unlink bank transaction
@@ -394,5 +399,5 @@ export declare class BankTransactionApi extends BaseAPI {
394
399
  * @throws {RequiredError}
395
400
  * @memberof BankTransactionApi
396
401
  */
397
- unlinkBankTransaction(requestParameters: BankTransactionApiUnlinkBankTransactionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
402
+ unlinkBankTransaction(requestParameters: BankTransactionApiUnlinkBankTransactionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UnlinkBankTransactionsResponseClass, any>>;
398
403
  }
@@ -12,6 +12,10 @@
12
12
  import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
13
13
  import { Configuration } from '../configuration';
14
14
  import { RequestArgs, BaseAPI } from '../base';
15
+ import { CreatePaymentMethodResponseClass } from '../models';
16
+ import { CreatePspPaymentMethodRequestDto } from '../models';
17
+ import { GetPaymentMethodResponseClass } from '../models';
18
+ import { ListPaymentMethodsResponseClass } from '../models';
15
19
  /**
16
20
  * PaymentMethodsApi - axios parameter creator
17
21
  * @export
@@ -20,12 +24,12 @@ export declare const PaymentMethodsApiAxiosParamCreator: (configuration?: Config
20
24
  /**
21
25
  * This will create payment method in the database as well as in the PSP. The newly created payment method will be set as default payment method will be used by the customer to pay or receive a refund.
22
26
  * @summary Create the payment method
23
- * @param {object} body
27
+ * @param {CreatePspPaymentMethodRequestDto} createPspPaymentMethodRequestDto
24
28
  * @param {string} [authorization] Bearer Token
25
29
  * @param {*} [options] Override http request option.
26
30
  * @throws {RequiredError}
27
31
  */
28
- createPaymentMethod: (body: object, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
32
+ createPaymentMethod: (createPspPaymentMethodRequestDto: CreatePspPaymentMethodRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
29
33
  /**
30
34
  * Retrieves the details of the payment method that was previously created. Supply the unique payment method code that was returned when you created it and Emil Api will return the corresponding payment method information.
31
35
  * @summary Retrieve the payment method
@@ -60,12 +64,12 @@ export declare const PaymentMethodsApiFp: (configuration?: Configuration) => {
60
64
  /**
61
65
  * This will create payment method in the database as well as in the PSP. The newly created payment method will be set as default payment method will be used by the customer to pay or receive a refund.
62
66
  * @summary Create the payment method
63
- * @param {object} body
67
+ * @param {CreatePspPaymentMethodRequestDto} createPspPaymentMethodRequestDto
64
68
  * @param {string} [authorization] Bearer Token
65
69
  * @param {*} [options] Override http request option.
66
70
  * @throws {RequiredError}
67
71
  */
68
- createPaymentMethod(body: object, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
72
+ createPaymentMethod(createPspPaymentMethodRequestDto: CreatePspPaymentMethodRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePaymentMethodResponseClass>>;
69
73
  /**
70
74
  * Retrieves the details of the payment method that was previously created. Supply the unique payment method code that was returned when you created it and Emil Api will return the corresponding payment method information.
71
75
  * @summary Retrieve the payment method
@@ -75,7 +79,7 @@ export declare const PaymentMethodsApiFp: (configuration?: Configuration) => {
75
79
  * @param {*} [options] Override http request option.
76
80
  * @throws {RequiredError}
77
81
  */
78
- getPaymentMethod(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
82
+ getPaymentMethod(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPaymentMethodResponseClass>>;
79
83
  /**
80
84
  * Returns a list of payment methods you have previously created. The payment methods are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
81
85
  * @summary List payment methods
@@ -90,7 +94,7 @@ export declare const PaymentMethodsApiFp: (configuration?: Configuration) => {
90
94
  * @param {*} [options] Override http request option.
91
95
  * @throws {RequiredError}
92
96
  */
93
- listPaymentMethods(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
97
+ listPaymentMethods(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPaymentMethodsResponseClass>>;
94
98
  };
95
99
  /**
96
100
  * PaymentMethodsApi - factory interface
@@ -100,12 +104,12 @@ export declare const PaymentMethodsApiFactory: (configuration?: Configuration, b
100
104
  /**
101
105
  * This will create payment method in the database as well as in the PSP. The newly created payment method will be set as default payment method will be used by the customer to pay or receive a refund.
102
106
  * @summary Create the payment method
103
- * @param {object} body
107
+ * @param {CreatePspPaymentMethodRequestDto} createPspPaymentMethodRequestDto
104
108
  * @param {string} [authorization] Bearer Token
105
109
  * @param {*} [options] Override http request option.
106
110
  * @throws {RequiredError}
107
111
  */
108
- createPaymentMethod(body: object, authorization?: string, options?: any): AxiosPromise<void>;
112
+ createPaymentMethod(createPspPaymentMethodRequestDto: CreatePspPaymentMethodRequestDto, authorization?: string, options?: any): AxiosPromise<CreatePaymentMethodResponseClass>;
109
113
  /**
110
114
  * Retrieves the details of the payment method that was previously created. Supply the unique payment method code that was returned when you created it and Emil Api will return the corresponding payment method information.
111
115
  * @summary Retrieve the payment method
@@ -115,7 +119,7 @@ export declare const PaymentMethodsApiFactory: (configuration?: Configuration, b
115
119
  * @param {*} [options] Override http request option.
116
120
  * @throws {RequiredError}
117
121
  */
118
- getPaymentMethod(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<void>;
122
+ getPaymentMethod(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<GetPaymentMethodResponseClass>;
119
123
  /**
120
124
  * Returns a list of payment methods you have previously created. The payment methods are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
121
125
  * @summary List payment methods
@@ -130,7 +134,7 @@ export declare const PaymentMethodsApiFactory: (configuration?: Configuration, b
130
134
  * @param {*} [options] Override http request option.
131
135
  * @throws {RequiredError}
132
136
  */
133
- listPaymentMethods(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<void>;
137
+ listPaymentMethods(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListPaymentMethodsResponseClass>;
134
138
  };
135
139
  /**
136
140
  * Request parameters for createPaymentMethod operation in PaymentMethodsApi.
@@ -140,10 +144,10 @@ export declare const PaymentMethodsApiFactory: (configuration?: Configuration, b
140
144
  export interface PaymentMethodsApiCreatePaymentMethodRequest {
141
145
  /**
142
146
  *
143
- * @type {object}
147
+ * @type {CreatePspPaymentMethodRequestDto}
144
148
  * @memberof PaymentMethodsApiCreatePaymentMethod
145
149
  */
146
- readonly body: object;
150
+ readonly createPspPaymentMethodRequestDto: CreatePspPaymentMethodRequestDto;
147
151
  /**
148
152
  * Bearer Token
149
153
  * @type {string}
@@ -246,7 +250,7 @@ export declare class PaymentMethodsApi extends BaseAPI {
246
250
  * @throws {RequiredError}
247
251
  * @memberof PaymentMethodsApi
248
252
  */
249
- createPaymentMethod(requestParameters: PaymentMethodsApiCreatePaymentMethodRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
253
+ createPaymentMethod(requestParameters: PaymentMethodsApiCreatePaymentMethodRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePaymentMethodResponseClass, any>>;
250
254
  /**
251
255
  * Retrieves the details of the payment method that was previously created. Supply the unique payment method code that was returned when you created it and Emil Api will return the corresponding payment method information.
252
256
  * @summary Retrieve the payment method
@@ -255,7 +259,7 @@ export declare class PaymentMethodsApi extends BaseAPI {
255
259
  * @throws {RequiredError}
256
260
  * @memberof PaymentMethodsApi
257
261
  */
258
- getPaymentMethod(requestParameters: PaymentMethodsApiGetPaymentMethodRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
262
+ getPaymentMethod(requestParameters: PaymentMethodsApiGetPaymentMethodRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPaymentMethodResponseClass, any>>;
259
263
  /**
260
264
  * Returns a list of payment methods you have previously created. The payment methods are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
261
265
  * @summary List payment methods
@@ -264,5 +268,5 @@ export declare class PaymentMethodsApi extends BaseAPI {
264
268
  * @throws {RequiredError}
265
269
  * @memberof PaymentMethodsApi
266
270
  */
267
- listPaymentMethods(requestParameters?: PaymentMethodsApiListPaymentMethodsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
271
+ listPaymentMethods(requestParameters?: PaymentMethodsApiListPaymentMethodsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPaymentMethodsResponseClass, any>>;
268
272
  }
@@ -95,20 +95,20 @@ var PaymentMethodsApiAxiosParamCreator = function (configuration) {
95
95
  /**
96
96
  * This will create payment method in the database as well as in the PSP. The newly created payment method will be set as default payment method will be used by the customer to pay or receive a refund.
97
97
  * @summary Create the payment method
98
- * @param {object} body
98
+ * @param {CreatePspPaymentMethodRequestDto} createPspPaymentMethodRequestDto
99
99
  * @param {string} [authorization] Bearer Token
100
100
  * @param {*} [options] Override http request option.
101
101
  * @throws {RequiredError}
102
102
  */
103
- createPaymentMethod: function (body, authorization, options) {
103
+ createPaymentMethod: function (createPspPaymentMethodRequestDto, authorization, options) {
104
104
  if (options === void 0) { options = {}; }
105
105
  return __awaiter(_this, void 0, void 0, function () {
106
106
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
107
107
  return __generator(this, function (_a) {
108
108
  switch (_a.label) {
109
109
  case 0:
110
- // verify required parameter 'body' is not null or undefined
111
- (0, common_1.assertParamExists)('createPaymentMethod', 'body', body);
110
+ // verify required parameter 'createPspPaymentMethodRequestDto' is not null or undefined
111
+ (0, common_1.assertParamExists)('createPaymentMethod', 'createPspPaymentMethodRequestDto', createPspPaymentMethodRequestDto);
112
112
  localVarPath = "/paymentservice/v1/payment-methods";
113
113
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
114
114
  if (configuration) {
@@ -132,7 +132,7 @@ var PaymentMethodsApiAxiosParamCreator = function (configuration) {
132
132
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
133
133
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
134
134
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
135
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
135
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createPspPaymentMethodRequestDto, localVarRequestOptions, configuration);
136
136
  return [2 /*return*/, {
137
137
  url: (0, common_1.toPathString)(localVarUrlObj),
138
138
  options: localVarRequestOptions,
@@ -278,17 +278,17 @@ var PaymentMethodsApiFp = function (configuration) {
278
278
  /**
279
279
  * This will create payment method in the database as well as in the PSP. The newly created payment method will be set as default payment method will be used by the customer to pay or receive a refund.
280
280
  * @summary Create the payment method
281
- * @param {object} body
281
+ * @param {CreatePspPaymentMethodRequestDto} createPspPaymentMethodRequestDto
282
282
  * @param {string} [authorization] Bearer Token
283
283
  * @param {*} [options] Override http request option.
284
284
  * @throws {RequiredError}
285
285
  */
286
- createPaymentMethod: function (body, authorization, options) {
286
+ createPaymentMethod: function (createPspPaymentMethodRequestDto, authorization, options) {
287
287
  return __awaiter(this, void 0, void 0, function () {
288
288
  var localVarAxiosArgs;
289
289
  return __generator(this, function (_a) {
290
290
  switch (_a.label) {
291
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.createPaymentMethod(body, authorization, options)];
291
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.createPaymentMethod(createPspPaymentMethodRequestDto, authorization, options)];
292
292
  case 1:
293
293
  localVarAxiosArgs = _a.sent();
294
294
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -358,13 +358,13 @@ var PaymentMethodsApiFactory = function (configuration, basePath, axios) {
358
358
  /**
359
359
  * This will create payment method in the database as well as in the PSP. The newly created payment method will be set as default payment method will be used by the customer to pay or receive a refund.
360
360
  * @summary Create the payment method
361
- * @param {object} body
361
+ * @param {CreatePspPaymentMethodRequestDto} createPspPaymentMethodRequestDto
362
362
  * @param {string} [authorization] Bearer Token
363
363
  * @param {*} [options] Override http request option.
364
364
  * @throws {RequiredError}
365
365
  */
366
- createPaymentMethod: function (body, authorization, options) {
367
- return localVarFp.createPaymentMethod(body, authorization, options).then(function (request) { return request(axios, basePath); });
366
+ createPaymentMethod: function (createPspPaymentMethodRequestDto, authorization, options) {
367
+ return localVarFp.createPaymentMethod(createPspPaymentMethodRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
368
368
  },
369
369
  /**
370
370
  * Retrieves the details of the payment method that was previously created. Supply the unique payment method code that was returned when you created it and Emil Api will return the corresponding payment method information.
@@ -419,7 +419,7 @@ var PaymentMethodsApi = /** @class */ (function (_super) {
419
419
  */
420
420
  PaymentMethodsApi.prototype.createPaymentMethod = function (requestParameters, options) {
421
421
  var _this = this;
422
- return (0, exports.PaymentMethodsApiFp)(this.configuration).createPaymentMethod(requestParameters.body, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
422
+ return (0, exports.PaymentMethodsApiFp)(this.configuration).createPaymentMethod(requestParameters.createPspPaymentMethodRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
423
423
  };
424
424
  /**
425
425
  * Retrieves the details of the payment method that was previously created. Supply the unique payment method code that was returned when you created it and Emil Api will return the corresponding payment method information.
@@ -13,7 +13,11 @@ import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
13
13
  import { Configuration } from '../configuration';
14
14
  import { RequestArgs, BaseAPI } from '../base';
15
15
  import { CreatePaymentReminderRequestDto } from '../models';
16
+ import { CreatePaymentReminderResponseClass } from '../models';
16
17
  import { DeactivatePaymentReminderRequestDto } from '../models';
18
+ import { DeactivatePaymentReminderResponseClass } from '../models';
19
+ import { GetPaymentReminderResponseClass } from '../models';
20
+ import { ListPaymentRemindersResponseClass } from '../models';
17
21
  /**
18
22
  * PaymentRemindersApi - axios parameter creator
19
23
  * @export
@@ -77,7 +81,7 @@ export declare const PaymentRemindersApiFp: (configuration?: Configuration) => {
77
81
  * @param {*} [options] Override http request option.
78
82
  * @throws {RequiredError}
79
83
  */
80
- createPaymentReminder(createPaymentReminderRequestDto: CreatePaymentReminderRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
84
+ createPaymentReminder(createPaymentReminderRequestDto: CreatePaymentReminderRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePaymentReminderResponseClass>>;
81
85
  /**
82
86
  * This will deactivate the payment reminder
83
87
  * @summary Deactivate payment reminder
@@ -87,7 +91,7 @@ export declare const PaymentRemindersApiFp: (configuration?: Configuration) => {
87
91
  * @param {*} [options] Override http request option.
88
92
  * @throws {RequiredError}
89
93
  */
90
- deactivatePaymentReminder(code: string, deactivatePaymentReminderRequestDto: DeactivatePaymentReminderRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
94
+ deactivatePaymentReminder(code: string, deactivatePaymentReminderRequestDto: DeactivatePaymentReminderRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeactivatePaymentReminderResponseClass>>;
91
95
  /**
92
96
  * Retrieves the details of the payment reminder that was previously created. Supply the unique payment reminder code that was returned when you created it and Emil Api will return the corresponding payment reminder information.
93
97
  * @summary Retrieve the payment reminder
@@ -97,7 +101,7 @@ export declare const PaymentRemindersApiFp: (configuration?: Configuration) => {
97
101
  * @param {*} [options] Override http request option.
98
102
  * @throws {RequiredError}
99
103
  */
100
- getPolicy(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
104
+ getPolicy(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPaymentReminderResponseClass>>;
101
105
  /**
102
106
  * Returns a list of payment reminders you have previously created. The payment reminders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
103
107
  * @summary List payment reminders
@@ -112,7 +116,7 @@ export declare const PaymentRemindersApiFp: (configuration?: Configuration) => {
112
116
  * @param {*} [options] Override http request option.
113
117
  * @throws {RequiredError}
114
118
  */
115
- listPaymentReminders(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
119
+ listPaymentReminders(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPaymentRemindersResponseClass>>;
116
120
  };
117
121
  /**
118
122
  * PaymentRemindersApi - factory interface
@@ -127,7 +131,7 @@ export declare const PaymentRemindersApiFactory: (configuration?: Configuration,
127
131
  * @param {*} [options] Override http request option.
128
132
  * @throws {RequiredError}
129
133
  */
130
- createPaymentReminder(createPaymentReminderRequestDto: CreatePaymentReminderRequestDto, authorization?: string, options?: any): AxiosPromise<void>;
134
+ createPaymentReminder(createPaymentReminderRequestDto: CreatePaymentReminderRequestDto, authorization?: string, options?: any): AxiosPromise<CreatePaymentReminderResponseClass>;
131
135
  /**
132
136
  * This will deactivate the payment reminder
133
137
  * @summary Deactivate payment reminder
@@ -137,7 +141,7 @@ export declare const PaymentRemindersApiFactory: (configuration?: Configuration,
137
141
  * @param {*} [options] Override http request option.
138
142
  * @throws {RequiredError}
139
143
  */
140
- deactivatePaymentReminder(code: string, deactivatePaymentReminderRequestDto: DeactivatePaymentReminderRequestDto, authorization?: string, options?: any): AxiosPromise<void>;
144
+ deactivatePaymentReminder(code: string, deactivatePaymentReminderRequestDto: DeactivatePaymentReminderRequestDto, authorization?: string, options?: any): AxiosPromise<DeactivatePaymentReminderResponseClass>;
141
145
  /**
142
146
  * Retrieves the details of the payment reminder that was previously created. Supply the unique payment reminder code that was returned when you created it and Emil Api will return the corresponding payment reminder information.
143
147
  * @summary Retrieve the payment reminder
@@ -147,7 +151,7 @@ export declare const PaymentRemindersApiFactory: (configuration?: Configuration,
147
151
  * @param {*} [options] Override http request option.
148
152
  * @throws {RequiredError}
149
153
  */
150
- getPolicy(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<void>;
154
+ getPolicy(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<GetPaymentReminderResponseClass>;
151
155
  /**
152
156
  * Returns a list of payment reminders you have previously created. The payment reminders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
153
157
  * @summary List payment reminders
@@ -162,7 +166,7 @@ export declare const PaymentRemindersApiFactory: (configuration?: Configuration,
162
166
  * @param {*} [options] Override http request option.
163
167
  * @throws {RequiredError}
164
168
  */
165
- listPaymentReminders(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<void>;
169
+ listPaymentReminders(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListPaymentRemindersResponseClass>;
166
170
  };
167
171
  /**
168
172
  * Request parameters for createPaymentReminder operation in PaymentRemindersApi.
@@ -303,7 +307,7 @@ export declare class PaymentRemindersApi extends BaseAPI {
303
307
  * @throws {RequiredError}
304
308
  * @memberof PaymentRemindersApi
305
309
  */
306
- createPaymentReminder(requestParameters: PaymentRemindersApiCreatePaymentReminderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
310
+ createPaymentReminder(requestParameters: PaymentRemindersApiCreatePaymentReminderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePaymentReminderResponseClass, any>>;
307
311
  /**
308
312
  * This will deactivate the payment reminder
309
313
  * @summary Deactivate payment reminder
@@ -312,7 +316,7 @@ export declare class PaymentRemindersApi extends BaseAPI {
312
316
  * @throws {RequiredError}
313
317
  * @memberof PaymentRemindersApi
314
318
  */
315
- deactivatePaymentReminder(requestParameters: PaymentRemindersApiDeactivatePaymentReminderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
319
+ deactivatePaymentReminder(requestParameters: PaymentRemindersApiDeactivatePaymentReminderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeactivatePaymentReminderResponseClass, any>>;
316
320
  /**
317
321
  * Retrieves the details of the payment reminder that was previously created. Supply the unique payment reminder code that was returned when you created it and Emil Api will return the corresponding payment reminder information.
318
322
  * @summary Retrieve the payment reminder
@@ -321,7 +325,7 @@ export declare class PaymentRemindersApi extends BaseAPI {
321
325
  * @throws {RequiredError}
322
326
  * @memberof PaymentRemindersApi
323
327
  */
324
- getPolicy(requestParameters: PaymentRemindersApiGetPolicyRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
328
+ getPolicy(requestParameters: PaymentRemindersApiGetPolicyRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPaymentReminderResponseClass, any>>;
325
329
  /**
326
330
  * Returns a list of payment reminders you have previously created. The payment reminders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
327
331
  * @summary List payment reminders
@@ -330,5 +334,5 @@ export declare class PaymentRemindersApi extends BaseAPI {
330
334
  * @throws {RequiredError}
331
335
  * @memberof PaymentRemindersApi
332
336
  */
333
- listPaymentReminders(requestParameters?: PaymentRemindersApiListPaymentRemindersRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
337
+ listPaymentReminders(requestParameters?: PaymentRemindersApiListPaymentRemindersRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPaymentRemindersResponseClass, any>>;
334
338
  }
@@ -12,27 +12,33 @@
12
12
  import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
13
13
  import { Configuration } from '../configuration';
14
14
  import { RequestArgs, BaseAPI } from '../base';
15
+ import { CompletePaymentSetupRequestDto } from '../models';
16
+ import { CompletePaymentSetupResponseClass } from '../models';
17
+ import { InitiatePaymentSetupRequestDto } from '../models';
18
+ import { InitiatePaymentSetupResponseClass } from '../models';
15
19
  /**
16
20
  * PaymentSetupApi - axios parameter creator
17
21
  * @export
18
22
  */
19
23
  export declare const PaymentSetupApiAxiosParamCreator: (configuration?: Configuration) => {
20
24
  /**
21
- *
22
- * @param {object} body
25
+ * 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.
26
+ * @summary Complete a payment setup
27
+ * @param {CompletePaymentSetupRequestDto} completePaymentSetupRequestDto
23
28
  * @param {string} [authorization] Bearer Token
24
29
  * @param {*} [options] Override http request option.
25
30
  * @throws {RequiredError}
26
31
  */
27
- completePaymentSetup: (body: object, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
32
+ completePaymentSetup: (completePaymentSetupRequestDto: CompletePaymentSetupRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
28
33
  /**
29
- *
30
- * @param {object} body
34
+ * This initiates an account within the configured payment service provider, whichgenerates a secret token, allowing the user to add their payment information.
35
+ * @summary Initiate a payment setup
36
+ * @param {InitiatePaymentSetupRequestDto} initiatePaymentSetupRequestDto
31
37
  * @param {string} [authorization] Bearer Token
32
38
  * @param {*} [options] Override http request option.
33
39
  * @throws {RequiredError}
34
40
  */
35
- initiatePaymentSetup: (body: object, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
41
+ initiatePaymentSetup: (initiatePaymentSetupRequestDto: InitiatePaymentSetupRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
36
42
  };
37
43
  /**
38
44
  * PaymentSetupApi - functional programming interface
@@ -40,21 +46,23 @@ export declare const PaymentSetupApiAxiosParamCreator: (configuration?: Configur
40
46
  */
41
47
  export declare const PaymentSetupApiFp: (configuration?: Configuration) => {
42
48
  /**
43
- *
44
- * @param {object} body
49
+ * 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.
50
+ * @summary Complete a payment setup
51
+ * @param {CompletePaymentSetupRequestDto} completePaymentSetupRequestDto
45
52
  * @param {string} [authorization] Bearer Token
46
53
  * @param {*} [options] Override http request option.
47
54
  * @throws {RequiredError}
48
55
  */
49
- completePaymentSetup(body: object, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
56
+ completePaymentSetup(completePaymentSetupRequestDto: CompletePaymentSetupRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CompletePaymentSetupResponseClass>>;
50
57
  /**
51
- *
52
- * @param {object} body
58
+ * This initiates an account within the configured payment service provider, whichgenerates a secret token, allowing the user to add their payment information.
59
+ * @summary Initiate a payment setup
60
+ * @param {InitiatePaymentSetupRequestDto} initiatePaymentSetupRequestDto
53
61
  * @param {string} [authorization] Bearer Token
54
62
  * @param {*} [options] Override http request option.
55
63
  * @throws {RequiredError}
56
64
  */
57
- initiatePaymentSetup(body: object, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
65
+ initiatePaymentSetup(initiatePaymentSetupRequestDto: InitiatePaymentSetupRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InitiatePaymentSetupResponseClass>>;
58
66
  };
59
67
  /**
60
68
  * PaymentSetupApi - factory interface
@@ -62,21 +70,23 @@ export declare const PaymentSetupApiFp: (configuration?: Configuration) => {
62
70
  */
63
71
  export declare const PaymentSetupApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
64
72
  /**
65
- *
66
- * @param {object} body
73
+ * 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.
74
+ * @summary Complete a payment setup
75
+ * @param {CompletePaymentSetupRequestDto} completePaymentSetupRequestDto
67
76
  * @param {string} [authorization] Bearer Token
68
77
  * @param {*} [options] Override http request option.
69
78
  * @throws {RequiredError}
70
79
  */
71
- completePaymentSetup(body: object, authorization?: string, options?: any): AxiosPromise<void>;
80
+ completePaymentSetup(completePaymentSetupRequestDto: CompletePaymentSetupRequestDto, authorization?: string, options?: any): AxiosPromise<CompletePaymentSetupResponseClass>;
72
81
  /**
73
- *
74
- * @param {object} body
82
+ * This initiates an account within the configured payment service provider, whichgenerates a secret token, allowing the user to add their payment information.
83
+ * @summary Initiate a payment setup
84
+ * @param {InitiatePaymentSetupRequestDto} initiatePaymentSetupRequestDto
75
85
  * @param {string} [authorization] Bearer Token
76
86
  * @param {*} [options] Override http request option.
77
87
  * @throws {RequiredError}
78
88
  */
79
- initiatePaymentSetup(body: object, authorization?: string, options?: any): AxiosPromise<void>;
89
+ initiatePaymentSetup(initiatePaymentSetupRequestDto: InitiatePaymentSetupRequestDto, authorization?: string, options?: any): AxiosPromise<InitiatePaymentSetupResponseClass>;
80
90
  };
81
91
  /**
82
92
  * Request parameters for completePaymentSetup operation in PaymentSetupApi.
@@ -86,10 +96,10 @@ export declare const PaymentSetupApiFactory: (configuration?: Configuration, bas
86
96
  export interface PaymentSetupApiCompletePaymentSetupRequest {
87
97
  /**
88
98
  *
89
- * @type {object}
99
+ * @type {CompletePaymentSetupRequestDto}
90
100
  * @memberof PaymentSetupApiCompletePaymentSetup
91
101
  */
92
- readonly body: object;
102
+ readonly completePaymentSetupRequestDto: CompletePaymentSetupRequestDto;
93
103
  /**
94
104
  * Bearer Token
95
105
  * @type {string}
@@ -105,10 +115,10 @@ export interface PaymentSetupApiCompletePaymentSetupRequest {
105
115
  export interface PaymentSetupApiInitiatePaymentSetupRequest {
106
116
  /**
107
117
  *
108
- * @type {object}
118
+ * @type {InitiatePaymentSetupRequestDto}
109
119
  * @memberof PaymentSetupApiInitiatePaymentSetup
110
120
  */
111
- readonly body: object;
121
+ readonly initiatePaymentSetupRequestDto: InitiatePaymentSetupRequestDto;
112
122
  /**
113
123
  * Bearer Token
114
124
  * @type {string}
@@ -124,19 +134,21 @@ export interface PaymentSetupApiInitiatePaymentSetupRequest {
124
134
  */
125
135
  export declare class PaymentSetupApi extends BaseAPI {
126
136
  /**
127
- *
137
+ * 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.
138
+ * @summary Complete a payment setup
128
139
  * @param {PaymentSetupApiCompletePaymentSetupRequest} requestParameters Request parameters.
129
140
  * @param {*} [options] Override http request option.
130
141
  * @throws {RequiredError}
131
142
  * @memberof PaymentSetupApi
132
143
  */
133
- completePaymentSetup(requestParameters: PaymentSetupApiCompletePaymentSetupRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
144
+ completePaymentSetup(requestParameters: PaymentSetupApiCompletePaymentSetupRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CompletePaymentSetupResponseClass, any>>;
134
145
  /**
135
- *
146
+ * This initiates an account within the configured payment service provider, whichgenerates a secret token, allowing the user to add their payment information.
147
+ * @summary Initiate a payment setup
136
148
  * @param {PaymentSetupApiInitiatePaymentSetupRequest} requestParameters Request parameters.
137
149
  * @param {*} [options] Override http request option.
138
150
  * @throws {RequiredError}
139
151
  * @memberof PaymentSetupApi
140
152
  */
141
- initiatePaymentSetup(requestParameters: PaymentSetupApiInitiatePaymentSetupRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
153
+ initiatePaymentSetup(requestParameters: PaymentSetupApiInitiatePaymentSetupRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InitiatePaymentSetupResponseClass, any>>;
142
154
  }