@emilgroup/payment-sdk 1.4.1-beta.2 → 1.4.1-beta.3

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 (198) hide show
  1. package/.openapi-generator/FILES +29 -0
  2. package/README.md +2 -2
  3. package/api/bank-accounts-api.ts +21 -17
  4. package/api/bank-transaction-api.ts +4 -4
  5. package/api/default-api.ts +1 -1
  6. package/api/payment-methods-api.ts +42 -38
  7. package/api/payment-reminders-api.ts +13 -9
  8. package/api/payment-setup-api.ts +37 -29
  9. package/api/payments-api.ts +28 -26
  10. package/api/refunds-api.ts +14 -16
  11. package/api/tenant-bank-account-api.ts +1 -1
  12. package/api/webhooks-api.ts +1 -1
  13. package/api.ts +1 -1
  14. package/base.ts +1 -1
  15. package/common.ts +2 -2
  16. package/configuration.ts +1 -1
  17. package/dist/api/bank-accounts-api.d.ts +15 -13
  18. package/dist/api/bank-accounts-api.js +13 -13
  19. package/dist/api/bank-transaction-api.d.ts +4 -4
  20. package/dist/api/bank-transaction-api.js +1 -2
  21. package/dist/api/default-api.d.ts +1 -1
  22. package/dist/api/default-api.js +1 -1
  23. package/dist/api/payment-methods-api.d.ts +32 -28
  24. package/dist/api/payment-methods-api.js +25 -29
  25. package/dist/api/payment-reminders-api.d.ts +15 -13
  26. package/dist/api/payment-reminders-api.js +1 -1
  27. package/dist/api/payment-setup-api.d.ts +23 -19
  28. package/dist/api/payment-setup-api.js +25 -25
  29. package/dist/api/payments-api.d.ts +25 -22
  30. package/dist/api/payments-api.js +13 -17
  31. package/dist/api/refunds-api.d.ts +11 -11
  32. package/dist/api/refunds-api.js +10 -12
  33. package/dist/api/tenant-bank-account-api.d.ts +1 -1
  34. package/dist/api/tenant-bank-account-api.js +1 -1
  35. package/dist/api/webhooks-api.d.ts +1 -1
  36. package/dist/api/webhooks-api.js +1 -1
  37. package/dist/api.d.ts +1 -1
  38. package/dist/api.js +1 -1
  39. package/dist/base.d.ts +1 -1
  40. package/dist/base.js +1 -1
  41. package/dist/common.d.ts +2 -2
  42. package/dist/common.js +1 -1
  43. package/dist/configuration.d.ts +1 -1
  44. package/dist/configuration.js +1 -1
  45. package/dist/index.d.ts +1 -1
  46. package/dist/index.js +1 -1
  47. package/dist/models/bank-account-class.d.ts +54 -0
  48. package/dist/models/bank-account-class.js +15 -0
  49. package/dist/models/bank-transaction-response-class.d.ts +1 -1
  50. package/dist/models/bank-transaction-response-class.js +1 -1
  51. package/dist/models/billing-profile-dto.d.ts +38 -0
  52. package/dist/models/billing-profile-dto.js +15 -0
  53. package/dist/models/billing-profile-limited-response-dto.d.ts +54 -0
  54. package/dist/models/billing-profile-limited-response-dto.js +15 -0
  55. package/dist/models/complete-braintree-payment-setup-request-dto.d.ts +48 -0
  56. package/dist/models/complete-braintree-payment-setup-request-dto.js +15 -0
  57. package/dist/models/complete-payment-setup-request-dto.d.ts +32 -0
  58. package/dist/models/complete-payment-setup-request-dto.js +15 -0
  59. package/dist/models/complete-payment-setup-response-class.d.ts +25 -0
  60. package/dist/models/complete-payment-setup-response-class.js +15 -0
  61. package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +60 -0
  62. package/dist/models/complete-stripe-payment-setup-request-dto.js +15 -0
  63. package/dist/models/create-bank-account-request-dto.d.ts +30 -0
  64. package/dist/models/create-bank-account-request-dto.js +15 -0
  65. package/dist/models/create-payment-method-response-class.d.ts +25 -0
  66. package/dist/models/create-payment-method-response-class.js +15 -0
  67. package/dist/models/create-payment-reminder-request-dto.d.ts +1 -1
  68. package/dist/models/create-payment-reminder-request-dto.js +1 -1
  69. package/dist/models/create-payment-request-dto.d.ts +4 -4
  70. package/dist/models/create-payment-request-dto.js +1 -1
  71. package/dist/models/create-payment-response-class.d.ts +25 -0
  72. package/dist/models/create-payment-response-class.js +15 -0
  73. package/dist/models/create-psp-payment-method-request-dto.d.ts +61 -0
  74. package/dist/models/create-psp-payment-method-request-dto.js +32 -0
  75. package/dist/models/create-refund-request-dto.d.ts +1 -1
  76. package/dist/models/create-refund-request-dto.js +1 -1
  77. package/dist/models/create-refund-response-class.d.ts +1 -1
  78. package/dist/models/create-refund-response-class.js +1 -1
  79. package/dist/models/create-tenant-bank-account-request-dto.d.ts +1 -1
  80. package/dist/models/create-tenant-bank-account-request-dto.js +1 -1
  81. package/dist/models/deactivate-payment-reminder-request-dto.d.ts +1 -1
  82. package/dist/models/deactivate-payment-reminder-request-dto.js +1 -1
  83. package/dist/models/deactivate-payment-reminder-response-class.d.ts +25 -0
  84. package/dist/models/deactivate-payment-reminder-response-class.js +15 -0
  85. package/dist/models/get-bank-transactions-response-class.d.ts +1 -1
  86. package/dist/models/get-bank-transactions-response-class.js +1 -1
  87. package/dist/models/get-payment-method-response-class.d.ts +25 -0
  88. package/dist/models/get-payment-method-response-class.js +15 -0
  89. package/dist/models/get-payment-response-class.d.ts +25 -0
  90. package/dist/models/get-payment-response-class.js +15 -0
  91. package/dist/models/get-refund-response-class.d.ts +1 -1
  92. package/dist/models/get-refund-response-class.js +1 -1
  93. package/dist/models/get-request-dto.d.ts +2 -2
  94. package/dist/models/get-request-dto.js +1 -1
  95. package/dist/models/get-tenant-bank-account-response-class.d.ts +1 -1
  96. package/dist/models/get-tenant-bank-account-response-class.js +1 -1
  97. package/dist/models/index.d.ts +29 -0
  98. package/dist/models/index.js +29 -0
  99. package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +30 -0
  100. package/dist/models/initiate-braintree-payment-setup-request-dto.js +15 -0
  101. package/dist/models/initiate-braintree-payment-setup-response-class.d.ts +24 -0
  102. package/dist/models/initiate-braintree-payment-setup-response-class.js +15 -0
  103. package/dist/models/initiate-payment-setup-request-dto.d.ts +44 -0
  104. package/dist/models/initiate-payment-setup-request-dto.js +15 -0
  105. package/dist/models/initiate-payment-setup-response-class.d.ts +32 -0
  106. package/dist/models/initiate-payment-setup-response-class.js +15 -0
  107. package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +30 -0
  108. package/dist/models/initiate-stripe-payment-setup-request-dto.js +15 -0
  109. package/dist/models/initiate-stripe-payment-setup-response-class.d.ts +30 -0
  110. package/dist/models/initiate-stripe-payment-setup-response-class.js +15 -0
  111. package/dist/models/inline-response200.d.ts +1 -1
  112. package/dist/models/inline-response200.js +1 -1
  113. package/dist/models/inline-response503.d.ts +1 -1
  114. package/dist/models/inline-response503.js +1 -1
  115. package/dist/models/list-bank-accounts-response-class.d.ts +31 -0
  116. package/dist/models/list-bank-accounts-response-class.js +15 -0
  117. package/dist/models/list-bank-transactions-response-class.d.ts +1 -1
  118. package/dist/models/list-bank-transactions-response-class.js +1 -1
  119. package/dist/models/list-payment-methods-response-class.d.ts +31 -0
  120. package/dist/models/list-payment-methods-response-class.js +15 -0
  121. package/dist/models/list-payment-reminders-response-class.d.ts +31 -0
  122. package/dist/models/list-payment-reminders-response-class.js +15 -0
  123. package/dist/models/list-payments-response-class.d.ts +31 -0
  124. package/dist/models/list-payments-response-class.js +15 -0
  125. package/dist/models/list-refunds-response-class.d.ts +1 -1
  126. package/dist/models/list-refunds-response-class.js +1 -1
  127. package/dist/models/payment-class.d.ts +103 -0
  128. package/dist/models/payment-class.js +15 -0
  129. package/dist/models/payment-method-class.d.ts +66 -0
  130. package/dist/models/payment-method-class.js +15 -0
  131. package/dist/models/payment-reminder-class.d.ts +112 -0
  132. package/dist/models/payment-reminder-class.js +36 -0
  133. package/dist/models/refund-class.d.ts +1 -1
  134. package/dist/models/refund-class.js +1 -1
  135. package/dist/models/sepa-direct-dto.d.ts +24 -0
  136. package/dist/models/sepa-direct-dto.js +15 -0
  137. package/dist/models/symphony-profile-limited-response-dto.d.ts +42 -0
  138. package/dist/models/symphony-profile-limited-response-dto.js +15 -0
  139. package/dist/models/tenant-bank-account-response-class.d.ts +1 -1
  140. package/dist/models/tenant-bank-account-response-class.js +1 -1
  141. package/dist/models/transaction-class.d.ts +1 -1
  142. package/dist/models/transaction-class.js +1 -1
  143. package/dist/models/update-tenant-bank-account-rest-request-dto.d.ts +1 -1
  144. package/dist/models/update-tenant-bank-account-rest-request-dto.js +1 -1
  145. package/dist/models/validate-pspconfig-request-dto.d.ts +9 -2
  146. package/dist/models/validate-pspconfig-request-dto.js +8 -1
  147. package/index.ts +1 -1
  148. package/models/bank-account-class.ts +60 -0
  149. package/models/bank-transaction-response-class.ts +1 -1
  150. package/models/billing-profile-dto.ts +44 -0
  151. package/models/billing-profile-limited-response-dto.ts +60 -0
  152. package/models/complete-braintree-payment-setup-request-dto.ts +54 -0
  153. package/models/complete-payment-setup-request-dto.ts +38 -0
  154. package/models/complete-payment-setup-response-class.ts +31 -0
  155. package/models/complete-stripe-payment-setup-request-dto.ts +66 -0
  156. package/models/create-bank-account-request-dto.ts +36 -0
  157. package/models/create-payment-method-response-class.ts +31 -0
  158. package/models/create-payment-reminder-request-dto.ts +1 -1
  159. package/models/create-payment-request-dto.ts +4 -4
  160. package/models/create-payment-response-class.ts +31 -0
  161. package/models/create-psp-payment-method-request-dto.ts +70 -0
  162. package/models/create-refund-request-dto.ts +1 -1
  163. package/models/create-refund-response-class.ts +1 -1
  164. package/models/create-tenant-bank-account-request-dto.ts +1 -1
  165. package/models/deactivate-payment-reminder-request-dto.ts +1 -1
  166. package/models/deactivate-payment-reminder-response-class.ts +31 -0
  167. package/models/get-bank-transactions-response-class.ts +1 -1
  168. package/models/get-payment-method-response-class.ts +31 -0
  169. package/models/get-payment-response-class.ts +31 -0
  170. package/models/get-refund-response-class.ts +1 -1
  171. package/models/get-request-dto.ts +2 -2
  172. package/models/get-tenant-bank-account-response-class.ts +1 -1
  173. package/models/index.ts +29 -0
  174. package/models/initiate-braintree-payment-setup-request-dto.ts +36 -0
  175. package/models/initiate-braintree-payment-setup-response-class.ts +30 -0
  176. package/models/initiate-payment-setup-request-dto.ts +50 -0
  177. package/models/initiate-payment-setup-response-class.ts +38 -0
  178. package/models/initiate-stripe-payment-setup-request-dto.ts +36 -0
  179. package/models/initiate-stripe-payment-setup-response-class.ts +36 -0
  180. package/models/inline-response200.ts +1 -1
  181. package/models/inline-response503.ts +1 -1
  182. package/models/list-bank-accounts-response-class.ts +37 -0
  183. package/models/list-bank-transactions-response-class.ts +1 -1
  184. package/models/list-payment-methods-response-class.ts +37 -0
  185. package/models/list-payment-reminders-response-class.ts +37 -0
  186. package/models/list-payments-response-class.ts +37 -0
  187. package/models/list-refunds-response-class.ts +1 -1
  188. package/models/payment-class.ts +109 -0
  189. package/models/payment-method-class.ts +72 -0
  190. package/models/payment-reminder-class.ts +122 -0
  191. package/models/refund-class.ts +1 -1
  192. package/models/sepa-direct-dto.ts +30 -0
  193. package/models/symphony-profile-limited-response-dto.ts +48 -0
  194. package/models/tenant-bank-account-response-class.ts +1 -1
  195. package/models/transaction-class.ts +1 -1
  196. package/models/update-tenant-bank-account-rest-request-dto.ts +1 -1
  197. package/models/validate-pspconfig-request-dto.ts +12 -2
  198. package/package.json +1 -1
@@ -3,7 +3,7 @@
3
3
  * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
- * Contact: z
6
+ * Contact: kontakt@emil.de
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -14,6 +14,8 @@ import { Configuration } from '../configuration';
14
14
  import { RequestArgs, BaseAPI } from '../base';
15
15
  import { CreatePaymentReminderRequestDto } from '../models';
16
16
  import { DeactivatePaymentReminderRequestDto } from '../models';
17
+ import { DeactivatePaymentReminderResponseClass } from '../models';
18
+ import { ListPaymentRemindersResponseClass } from '../models';
17
19
  /**
18
20
  * PaymentRemindersApi - axios parameter creator
19
21
  * @export
@@ -76,7 +78,7 @@ export declare const PaymentRemindersApiFp: (configuration?: Configuration) => {
76
78
  * @param {*} [options] Override http request option.
77
79
  * @throws {RequiredError}
78
80
  */
79
- createPaymentReminder(createPaymentReminderRequestDto: CreatePaymentReminderRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
81
+ createPaymentReminder(createPaymentReminderRequestDto: CreatePaymentReminderRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
80
82
  /**
81
83
  * Deactivates the payment reminder
82
84
  * @summary Update the payment-reminder
@@ -86,7 +88,7 @@ export declare const PaymentRemindersApiFp: (configuration?: Configuration) => {
86
88
  * @param {*} [options] Override http request option.
87
89
  * @throws {RequiredError}
88
90
  */
89
- deactivatePaymentReminder(code: string, deactivatePaymentReminderRequestDto: DeactivatePaymentReminderRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
91
+ deactivatePaymentReminder(code: string, deactivatePaymentReminderRequestDto: DeactivatePaymentReminderRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeactivatePaymentReminderResponseClass>>;
90
92
  /**
91
93
  * 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.
92
94
  * @summary Retrieve the payment reminder
@@ -95,7 +97,7 @@ export declare const PaymentRemindersApiFp: (configuration?: Configuration) => {
95
97
  * @param {*} [options] Override http request option.
96
98
  * @throws {RequiredError}
97
99
  */
98
- getPolicy(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
100
+ getPolicy(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
99
101
  /**
100
102
  * 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.
101
103
  * @summary List payment reminders
@@ -110,7 +112,7 @@ export declare const PaymentRemindersApiFp: (configuration?: Configuration) => {
110
112
  * @param {*} [options] Override http request option.
111
113
  * @throws {RequiredError}
112
114
  */
113
- 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>>;
115
+ 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>>;
114
116
  };
115
117
  /**
116
118
  * PaymentRemindersApi - factory interface
@@ -125,7 +127,7 @@ export declare const PaymentRemindersApiFactory: (configuration?: Configuration,
125
127
  * @param {*} [options] Override http request option.
126
128
  * @throws {RequiredError}
127
129
  */
128
- createPaymentReminder(createPaymentReminderRequestDto: CreatePaymentReminderRequestDto, authorization?: string, options?: any): AxiosPromise<void>;
130
+ createPaymentReminder(createPaymentReminderRequestDto: CreatePaymentReminderRequestDto, authorization?: string, options?: any): AxiosPromise<object>;
129
131
  /**
130
132
  * Deactivates the payment reminder
131
133
  * @summary Update the payment-reminder
@@ -135,7 +137,7 @@ export declare const PaymentRemindersApiFactory: (configuration?: Configuration,
135
137
  * @param {*} [options] Override http request option.
136
138
  * @throws {RequiredError}
137
139
  */
138
- deactivatePaymentReminder(code: string, deactivatePaymentReminderRequestDto: DeactivatePaymentReminderRequestDto, authorization?: string, options?: any): AxiosPromise<void>;
140
+ deactivatePaymentReminder(code: string, deactivatePaymentReminderRequestDto: DeactivatePaymentReminderRequestDto, authorization?: string, options?: any): AxiosPromise<DeactivatePaymentReminderResponseClass>;
139
141
  /**
140
142
  * 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.
141
143
  * @summary Retrieve the payment reminder
@@ -144,7 +146,7 @@ export declare const PaymentRemindersApiFactory: (configuration?: Configuration,
144
146
  * @param {*} [options] Override http request option.
145
147
  * @throws {RequiredError}
146
148
  */
147
- getPolicy(code: string, authorization?: string, options?: any): AxiosPromise<void>;
149
+ getPolicy(code: string, authorization?: string, options?: any): AxiosPromise<object>;
148
150
  /**
149
151
  * 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.
150
152
  * @summary List payment reminders
@@ -159,7 +161,7 @@ export declare const PaymentRemindersApiFactory: (configuration?: Configuration,
159
161
  * @param {*} [options] Override http request option.
160
162
  * @throws {RequiredError}
161
163
  */
162
- listPaymentReminders(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<void>;
164
+ listPaymentReminders(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<ListPaymentRemindersResponseClass>;
163
165
  };
164
166
  /**
165
167
  * Request parameters for createPaymentReminder operation in PaymentRemindersApi.
@@ -294,7 +296,7 @@ export declare class PaymentRemindersApi extends BaseAPI {
294
296
  * @throws {RequiredError}
295
297
  * @memberof PaymentRemindersApi
296
298
  */
297
- createPaymentReminder(requestParameters: PaymentRemindersApiCreatePaymentReminderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
299
+ createPaymentReminder(requestParameters: PaymentRemindersApiCreatePaymentReminderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
298
300
  /**
299
301
  * Deactivates the payment reminder
300
302
  * @summary Update the payment-reminder
@@ -303,7 +305,7 @@ export declare class PaymentRemindersApi extends BaseAPI {
303
305
  * @throws {RequiredError}
304
306
  * @memberof PaymentRemindersApi
305
307
  */
306
- deactivatePaymentReminder(requestParameters: PaymentRemindersApiDeactivatePaymentReminderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
308
+ deactivatePaymentReminder(requestParameters: PaymentRemindersApiDeactivatePaymentReminderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeactivatePaymentReminderResponseClass, any>>;
307
309
  /**
308
310
  * 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.
309
311
  * @summary Retrieve the payment reminder
@@ -312,7 +314,7 @@ export declare class PaymentRemindersApi extends BaseAPI {
312
314
  * @throws {RequiredError}
313
315
  * @memberof PaymentRemindersApi
314
316
  */
315
- getPolicy(requestParameters: PaymentRemindersApiGetPolicyRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
317
+ getPolicy(requestParameters: PaymentRemindersApiGetPolicyRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
316
318
  /**
317
319
  * 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.
318
320
  * @summary List payment reminders
@@ -321,5 +323,5 @@ export declare class PaymentRemindersApi extends BaseAPI {
321
323
  * @throws {RequiredError}
322
324
  * @memberof PaymentRemindersApi
323
325
  */
324
- listPaymentReminders(requestParameters?: PaymentRemindersApiListPaymentRemindersRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
326
+ listPaymentReminders(requestParameters?: PaymentRemindersApiListPaymentRemindersRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPaymentRemindersResponseClass, any>>;
325
327
  }
@@ -6,7 +6,7 @@
6
6
  * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- * Contact: z
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -3,7 +3,7 @@
3
3
  * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
- * Contact: z
6
+ * Contact: kontakt@emil.de
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -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 { 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
@@ -19,20 +23,20 @@ import { RequestArgs, BaseAPI } from '../base';
19
23
  export declare const PaymentSetupApiAxiosParamCreator: (configuration?: Configuration) => {
20
24
  /**
21
25
  *
22
- * @param {object} body
26
+ * @param {CompletePaymentSetupRequestDto} completePaymentSetupRequestDto
23
27
  * @param {string} [authorization] Bearer Token
24
28
  * @param {*} [options] Override http request option.
25
29
  * @throws {RequiredError}
26
30
  */
27
- completePaymentSetup: (body: object, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
31
+ completePaymentSetup: (completePaymentSetupRequestDto: CompletePaymentSetupRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
28
32
  /**
29
33
  *
30
- * @param {object} body
34
+ * @param {InitiatePaymentSetupRequestDto} initiatePaymentSetupRequestDto
31
35
  * @param {string} [authorization] Bearer Token
32
36
  * @param {*} [options] Override http request option.
33
37
  * @throws {RequiredError}
34
38
  */
35
- initiatePaymentSetup: (body: object, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
39
+ initiatePaymentSetup: (initiatePaymentSetupRequestDto: InitiatePaymentSetupRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
36
40
  };
37
41
  /**
38
42
  * PaymentSetupApi - functional programming interface
@@ -41,20 +45,20 @@ export declare const PaymentSetupApiAxiosParamCreator: (configuration?: Configur
41
45
  export declare const PaymentSetupApiFp: (configuration?: Configuration) => {
42
46
  /**
43
47
  *
44
- * @param {object} body
48
+ * @param {CompletePaymentSetupRequestDto} completePaymentSetupRequestDto
45
49
  * @param {string} [authorization] Bearer Token
46
50
  * @param {*} [options] Override http request option.
47
51
  * @throws {RequiredError}
48
52
  */
49
- completePaymentSetup(body: object, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
53
+ completePaymentSetup(completePaymentSetupRequestDto: CompletePaymentSetupRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CompletePaymentSetupResponseClass>>;
50
54
  /**
51
55
  *
52
- * @param {object} body
56
+ * @param {InitiatePaymentSetupRequestDto} initiatePaymentSetupRequestDto
53
57
  * @param {string} [authorization] Bearer Token
54
58
  * @param {*} [options] Override http request option.
55
59
  * @throws {RequiredError}
56
60
  */
57
- initiatePaymentSetup(body: object, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
61
+ initiatePaymentSetup(initiatePaymentSetupRequestDto: InitiatePaymentSetupRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InitiatePaymentSetupResponseClass>>;
58
62
  };
59
63
  /**
60
64
  * PaymentSetupApi - factory interface
@@ -63,20 +67,20 @@ export declare const PaymentSetupApiFp: (configuration?: Configuration) => {
63
67
  export declare const PaymentSetupApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
64
68
  /**
65
69
  *
66
- * @param {object} body
70
+ * @param {CompletePaymentSetupRequestDto} completePaymentSetupRequestDto
67
71
  * @param {string} [authorization] Bearer Token
68
72
  * @param {*} [options] Override http request option.
69
73
  * @throws {RequiredError}
70
74
  */
71
- completePaymentSetup(body: object, authorization?: string, options?: any): AxiosPromise<void>;
75
+ completePaymentSetup(completePaymentSetupRequestDto: CompletePaymentSetupRequestDto, authorization?: string, options?: any): AxiosPromise<CompletePaymentSetupResponseClass>;
72
76
  /**
73
77
  *
74
- * @param {object} body
78
+ * @param {InitiatePaymentSetupRequestDto} initiatePaymentSetupRequestDto
75
79
  * @param {string} [authorization] Bearer Token
76
80
  * @param {*} [options] Override http request option.
77
81
  * @throws {RequiredError}
78
82
  */
79
- initiatePaymentSetup(body: object, authorization?: string, options?: any): AxiosPromise<void>;
83
+ initiatePaymentSetup(initiatePaymentSetupRequestDto: InitiatePaymentSetupRequestDto, authorization?: string, options?: any): AxiosPromise<InitiatePaymentSetupResponseClass>;
80
84
  };
81
85
  /**
82
86
  * Request parameters for completePaymentSetup operation in PaymentSetupApi.
@@ -86,10 +90,10 @@ export declare const PaymentSetupApiFactory: (configuration?: Configuration, bas
86
90
  export interface PaymentSetupApiCompletePaymentSetupRequest {
87
91
  /**
88
92
  *
89
- * @type {object}
93
+ * @type {CompletePaymentSetupRequestDto}
90
94
  * @memberof PaymentSetupApiCompletePaymentSetup
91
95
  */
92
- readonly body: object;
96
+ readonly completePaymentSetupRequestDto: CompletePaymentSetupRequestDto;
93
97
  /**
94
98
  * Bearer Token
95
99
  * @type {string}
@@ -105,10 +109,10 @@ export interface PaymentSetupApiCompletePaymentSetupRequest {
105
109
  export interface PaymentSetupApiInitiatePaymentSetupRequest {
106
110
  /**
107
111
  *
108
- * @type {object}
112
+ * @type {InitiatePaymentSetupRequestDto}
109
113
  * @memberof PaymentSetupApiInitiatePaymentSetup
110
114
  */
111
- readonly body: object;
115
+ readonly initiatePaymentSetupRequestDto: InitiatePaymentSetupRequestDto;
112
116
  /**
113
117
  * Bearer Token
114
118
  * @type {string}
@@ -130,7 +134,7 @@ export declare class PaymentSetupApi extends BaseAPI {
130
134
  * @throws {RequiredError}
131
135
  * @memberof PaymentSetupApi
132
136
  */
133
- completePaymentSetup(requestParameters: PaymentSetupApiCompletePaymentSetupRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
137
+ completePaymentSetup(requestParameters: PaymentSetupApiCompletePaymentSetupRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CompletePaymentSetupResponseClass, any>>;
134
138
  /**
135
139
  *
136
140
  * @param {PaymentSetupApiInitiatePaymentSetupRequest} requestParameters Request parameters.
@@ -138,5 +142,5 @@ export declare class PaymentSetupApi extends BaseAPI {
138
142
  * @throws {RequiredError}
139
143
  * @memberof PaymentSetupApi
140
144
  */
141
- initiatePaymentSetup(requestParameters: PaymentSetupApiInitiatePaymentSetupRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
145
+ initiatePaymentSetup(requestParameters: PaymentSetupApiInitiatePaymentSetupRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InitiatePaymentSetupResponseClass, any>>;
142
146
  }
@@ -6,7 +6,7 @@
6
6
  * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- * Contact: z
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -94,20 +94,20 @@ var PaymentSetupApiAxiosParamCreator = function (configuration) {
94
94
  return {
95
95
  /**
96
96
  *
97
- * @param {object} body
97
+ * @param {CompletePaymentSetupRequestDto} completePaymentSetupRequestDto
98
98
  * @param {string} [authorization] Bearer Token
99
99
  * @param {*} [options] Override http request option.
100
100
  * @throws {RequiredError}
101
101
  */
102
- completePaymentSetup: function (body, authorization, options) {
102
+ completePaymentSetup: function (completePaymentSetupRequestDto, authorization, options) {
103
103
  if (options === void 0) { options = {}; }
104
104
  return __awaiter(_this, void 0, void 0, function () {
105
105
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
106
106
  return __generator(this, function (_a) {
107
107
  switch (_a.label) {
108
108
  case 0:
109
- // verify required parameter 'body' is not null or undefined
110
- (0, common_1.assertParamExists)('completePaymentSetup', 'body', body);
109
+ // verify required parameter 'completePaymentSetupRequestDto' is not null or undefined
110
+ (0, common_1.assertParamExists)('completePaymentSetup', 'completePaymentSetupRequestDto', completePaymentSetupRequestDto);
111
111
  localVarPath = "/paymentservice/v1/payment-setup/complete";
112
112
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
113
113
  if (configuration) {
@@ -131,7 +131,7 @@ var PaymentSetupApiAxiosParamCreator = function (configuration) {
131
131
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
132
132
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
133
133
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
134
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
134
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(completePaymentSetupRequestDto, localVarRequestOptions, configuration);
135
135
  return [2 /*return*/, {
136
136
  url: (0, common_1.toPathString)(localVarUrlObj),
137
137
  options: localVarRequestOptions,
@@ -142,20 +142,20 @@ var PaymentSetupApiAxiosParamCreator = function (configuration) {
142
142
  },
143
143
  /**
144
144
  *
145
- * @param {object} body
145
+ * @param {InitiatePaymentSetupRequestDto} initiatePaymentSetupRequestDto
146
146
  * @param {string} [authorization] Bearer Token
147
147
  * @param {*} [options] Override http request option.
148
148
  * @throws {RequiredError}
149
149
  */
150
- initiatePaymentSetup: function (body, authorization, options) {
150
+ initiatePaymentSetup: function (initiatePaymentSetupRequestDto, authorization, options) {
151
151
  if (options === void 0) { options = {}; }
152
152
  return __awaiter(_this, void 0, void 0, function () {
153
153
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
154
154
  return __generator(this, function (_a) {
155
155
  switch (_a.label) {
156
156
  case 0:
157
- // verify required parameter 'body' is not null or undefined
158
- (0, common_1.assertParamExists)('initiatePaymentSetup', 'body', body);
157
+ // verify required parameter 'initiatePaymentSetupRequestDto' is not null or undefined
158
+ (0, common_1.assertParamExists)('initiatePaymentSetup', 'initiatePaymentSetupRequestDto', initiatePaymentSetupRequestDto);
159
159
  localVarPath = "/paymentservice/v1/payment-setup/initiate";
160
160
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
161
161
  if (configuration) {
@@ -179,7 +179,7 @@ var PaymentSetupApiAxiosParamCreator = function (configuration) {
179
179
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
180
180
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
181
181
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
182
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
182
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(initiatePaymentSetupRequestDto, localVarRequestOptions, configuration);
183
183
  return [2 /*return*/, {
184
184
  url: (0, common_1.toPathString)(localVarUrlObj),
185
185
  options: localVarRequestOptions,
@@ -200,17 +200,17 @@ var PaymentSetupApiFp = function (configuration) {
200
200
  return {
201
201
  /**
202
202
  *
203
- * @param {object} body
203
+ * @param {CompletePaymentSetupRequestDto} completePaymentSetupRequestDto
204
204
  * @param {string} [authorization] Bearer Token
205
205
  * @param {*} [options] Override http request option.
206
206
  * @throws {RequiredError}
207
207
  */
208
- completePaymentSetup: function (body, authorization, options) {
208
+ completePaymentSetup: function (completePaymentSetupRequestDto, authorization, options) {
209
209
  return __awaiter(this, void 0, void 0, function () {
210
210
  var localVarAxiosArgs;
211
211
  return __generator(this, function (_a) {
212
212
  switch (_a.label) {
213
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.completePaymentSetup(body, authorization, options)];
213
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.completePaymentSetup(completePaymentSetupRequestDto, authorization, options)];
214
214
  case 1:
215
215
  localVarAxiosArgs = _a.sent();
216
216
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -220,17 +220,17 @@ var PaymentSetupApiFp = function (configuration) {
220
220
  },
221
221
  /**
222
222
  *
223
- * @param {object} body
223
+ * @param {InitiatePaymentSetupRequestDto} initiatePaymentSetupRequestDto
224
224
  * @param {string} [authorization] Bearer Token
225
225
  * @param {*} [options] Override http request option.
226
226
  * @throws {RequiredError}
227
227
  */
228
- initiatePaymentSetup: function (body, authorization, options) {
228
+ initiatePaymentSetup: function (initiatePaymentSetupRequestDto, authorization, options) {
229
229
  return __awaiter(this, void 0, void 0, function () {
230
230
  var localVarAxiosArgs;
231
231
  return __generator(this, function (_a) {
232
232
  switch (_a.label) {
233
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.initiatePaymentSetup(body, authorization, options)];
233
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.initiatePaymentSetup(initiatePaymentSetupRequestDto, authorization, options)];
234
234
  case 1:
235
235
  localVarAxiosArgs = _a.sent();
236
236
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -250,23 +250,23 @@ var PaymentSetupApiFactory = function (configuration, basePath, axios) {
250
250
  return {
251
251
  /**
252
252
  *
253
- * @param {object} body
253
+ * @param {CompletePaymentSetupRequestDto} completePaymentSetupRequestDto
254
254
  * @param {string} [authorization] Bearer Token
255
255
  * @param {*} [options] Override http request option.
256
256
  * @throws {RequiredError}
257
257
  */
258
- completePaymentSetup: function (body, authorization, options) {
259
- return localVarFp.completePaymentSetup(body, authorization, options).then(function (request) { return request(axios, basePath); });
258
+ completePaymentSetup: function (completePaymentSetupRequestDto, authorization, options) {
259
+ return localVarFp.completePaymentSetup(completePaymentSetupRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
260
260
  },
261
261
  /**
262
262
  *
263
- * @param {object} body
263
+ * @param {InitiatePaymentSetupRequestDto} initiatePaymentSetupRequestDto
264
264
  * @param {string} [authorization] Bearer Token
265
265
  * @param {*} [options] Override http request option.
266
266
  * @throws {RequiredError}
267
267
  */
268
- initiatePaymentSetup: function (body, authorization, options) {
269
- return localVarFp.initiatePaymentSetup(body, authorization, options).then(function (request) { return request(axios, basePath); });
268
+ initiatePaymentSetup: function (initiatePaymentSetupRequestDto, authorization, options) {
269
+ return localVarFp.initiatePaymentSetup(initiatePaymentSetupRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
270
270
  },
271
271
  };
272
272
  };
@@ -291,7 +291,7 @@ var PaymentSetupApi = /** @class */ (function (_super) {
291
291
  */
292
292
  PaymentSetupApi.prototype.completePaymentSetup = function (requestParameters, options) {
293
293
  var _this = this;
294
- return (0, exports.PaymentSetupApiFp)(this.configuration).completePaymentSetup(requestParameters.body, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
294
+ return (0, exports.PaymentSetupApiFp)(this.configuration).completePaymentSetup(requestParameters.completePaymentSetupRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
295
295
  };
296
296
  /**
297
297
  *
@@ -302,7 +302,7 @@ var PaymentSetupApi = /** @class */ (function (_super) {
302
302
  */
303
303
  PaymentSetupApi.prototype.initiatePaymentSetup = function (requestParameters, options) {
304
304
  var _this = this;
305
- return (0, exports.PaymentSetupApiFp)(this.configuration).initiatePaymentSetup(requestParameters.body, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
305
+ return (0, exports.PaymentSetupApiFp)(this.configuration).initiatePaymentSetup(requestParameters.initiatePaymentSetupRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
306
306
  };
307
307
  return PaymentSetupApi;
308
308
  }(base_1.BaseAPI));
@@ -3,7 +3,7 @@
3
3
  * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
- * Contact: z
6
+ * Contact: kontakt@emil.de
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -13,6 +13,9 @@ import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
13
13
  import { Configuration } from '../configuration';
14
14
  import { RequestArgs, BaseAPI } from '../base';
15
15
  import { CreatePaymentRequestDto } from '../models';
16
+ import { CreatePaymentResponseClass } from '../models';
17
+ import { GetPaymentResponseClass } from '../models';
18
+ import { ListPaymentsResponseClass } from '../models';
16
19
  /**
17
20
  * PaymentsApi - axios parameter creator
18
21
  * @export
@@ -32,13 +35,13 @@ export declare const PaymentsApiAxiosParamCreator: (configuration?: Configuratio
32
35
  * 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.
33
36
  * @summary Retrieve a payment
34
37
  * @param {string} code Unique identifier for the object.
35
- * @param {string} expand Fields to expand response by
36
- * @param {string} expand2 Fields to expand response by
37
38
  * @param {string} [authorization] Bearer Token
39
+ * @param {string} [expand] Fields to expand response by
40
+ * @param {string} [expand2] Fields to expand response by
38
41
  * @param {*} [options] Override http request option.
39
42
  * @throws {RequiredError}
40
43
  */
41
- getPayment: (code: string, expand: string, expand2: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
44
+ getPayment: (code: string, authorization?: string, expand?: string, expand2?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
42
45
  /**
43
46
  * 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.
44
47
  * @summary List payments
@@ -69,18 +72,18 @@ export declare const PaymentsApiFp: (configuration?: Configuration) => {
69
72
  * @param {*} [options] Override http request option.
70
73
  * @throws {RequiredError}
71
74
  */
72
- createPayment(idempotencyKey: string, createPaymentRequestDto: CreatePaymentRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
75
+ createPayment(idempotencyKey: string, createPaymentRequestDto: CreatePaymentRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePaymentResponseClass>>;
73
76
  /**
74
77
  * 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.
75
78
  * @summary Retrieve a payment
76
79
  * @param {string} code Unique identifier for the object.
77
- * @param {string} expand Fields to expand response by
78
- * @param {string} expand2 Fields to expand response by
79
80
  * @param {string} [authorization] Bearer Token
81
+ * @param {string} [expand] Fields to expand response by
82
+ * @param {string} [expand2] Fields to expand response by
80
83
  * @param {*} [options] Override http request option.
81
84
  * @throws {RequiredError}
82
85
  */
83
- getPayment(code: string, expand: string, expand2: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
86
+ getPayment(code: string, authorization?: string, expand?: string, expand2?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPaymentResponseClass>>;
84
87
  /**
85
88
  * 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.
86
89
  * @summary List payments
@@ -95,7 +98,7 @@ export declare const PaymentsApiFp: (configuration?: Configuration) => {
95
98
  * @param {*} [options] Override http request option.
96
99
  * @throws {RequiredError}
97
100
  */
98
- 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>>;
101
+ 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>>;
99
102
  };
100
103
  /**
101
104
  * PaymentsApi - factory interface
@@ -111,18 +114,18 @@ export declare const PaymentsApiFactory: (configuration?: Configuration, basePat
111
114
  * @param {*} [options] Override http request option.
112
115
  * @throws {RequiredError}
113
116
  */
114
- createPayment(idempotencyKey: string, createPaymentRequestDto: CreatePaymentRequestDto, authorization?: string, options?: any): AxiosPromise<void>;
117
+ createPayment(idempotencyKey: string, createPaymentRequestDto: CreatePaymentRequestDto, authorization?: string, options?: any): AxiosPromise<CreatePaymentResponseClass>;
115
118
  /**
116
119
  * 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.
117
120
  * @summary Retrieve a payment
118
121
  * @param {string} code Unique identifier for the object.
119
- * @param {string} expand Fields to expand response by
120
- * @param {string} expand2 Fields to expand response by
121
122
  * @param {string} [authorization] Bearer Token
123
+ * @param {string} [expand] Fields to expand response by
124
+ * @param {string} [expand2] Fields to expand response by
122
125
  * @param {*} [options] Override http request option.
123
126
  * @throws {RequiredError}
124
127
  */
125
- getPayment(code: string, expand: string, expand2: string, authorization?: string, options?: any): AxiosPromise<void>;
128
+ getPayment(code: string, authorization?: string, expand?: string, expand2?: string, options?: any): AxiosPromise<GetPaymentResponseClass>;
126
129
  /**
127
130
  * 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.
128
131
  * @summary List payments
@@ -137,7 +140,7 @@ export declare const PaymentsApiFactory: (configuration?: Configuration, basePat
137
140
  * @param {*} [options] Override http request option.
138
141
  * @throws {RequiredError}
139
142
  */
140
- listPayments(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<void>;
143
+ listPayments(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<ListPaymentsResponseClass>;
141
144
  };
142
145
  /**
143
146
  * Request parameters for createPayment operation in PaymentsApi.
@@ -177,23 +180,23 @@ export interface PaymentsApiGetPaymentRequest {
177
180
  */
178
181
  readonly code: string;
179
182
  /**
180
- * Fields to expand response by
183
+ * Bearer Token
181
184
  * @type {string}
182
185
  * @memberof PaymentsApiGetPayment
183
186
  */
184
- readonly expand: string;
187
+ readonly authorization?: string;
185
188
  /**
186
189
  * Fields to expand response by
187
190
  * @type {string}
188
191
  * @memberof PaymentsApiGetPayment
189
192
  */
190
- readonly expand2: string;
193
+ readonly expand?: string;
191
194
  /**
192
- * Bearer Token
195
+ * Fields to expand response by
193
196
  * @type {string}
194
197
  * @memberof PaymentsApiGetPayment
195
198
  */
196
- readonly authorization?: string;
199
+ readonly expand2?: string;
197
200
  }
198
201
  /**
199
202
  * Request parameters for listPayments operation in PaymentsApi.
@@ -265,7 +268,7 @@ export declare class PaymentsApi extends BaseAPI {
265
268
  * @throws {RequiredError}
266
269
  * @memberof PaymentsApi
267
270
  */
268
- createPayment(requestParameters: PaymentsApiCreatePaymentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
271
+ createPayment(requestParameters: PaymentsApiCreatePaymentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePaymentResponseClass, any>>;
269
272
  /**
270
273
  * 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.
271
274
  * @summary Retrieve a payment
@@ -274,7 +277,7 @@ export declare class PaymentsApi extends BaseAPI {
274
277
  * @throws {RequiredError}
275
278
  * @memberof PaymentsApi
276
279
  */
277
- getPayment(requestParameters: PaymentsApiGetPaymentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
280
+ getPayment(requestParameters: PaymentsApiGetPaymentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPaymentResponseClass, any>>;
278
281
  /**
279
282
  * 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.
280
283
  * @summary List payments
@@ -283,5 +286,5 @@ export declare class PaymentsApi extends BaseAPI {
283
286
  * @throws {RequiredError}
284
287
  * @memberof PaymentsApi
285
288
  */
286
- listPayments(requestParameters?: PaymentsApiListPaymentsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
289
+ listPayments(requestParameters?: PaymentsApiListPaymentsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPaymentsResponseClass, any>>;
287
290
  }