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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (225) hide show
  1. package/.openapi-generator/FILES +29 -0
  2. package/README.md +2 -2
  3. package/api/bank-accounts-api.ts +127 -7
  4. package/api/bank-transaction-api.ts +3 -3
  5. package/api/default-api.ts +1 -1
  6. package/api/payment-methods-api.ts +38 -32
  7. package/api/payment-reminders-api.ts +13 -9
  8. package/api/payment-setup-api.ts +37 -29
  9. package/api/payments-api.ts +24 -20
  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 +76 -10
  18. package/dist/api/bank-accounts-api.js +100 -1
  19. package/dist/api/bank-transaction-api.d.ts +4 -4
  20. package/dist/api/bank-transaction-api.js +1 -1
  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 +28 -24
  24. package/dist/api/payment-methods-api.js +22 -24
  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 +21 -18
  30. package/dist/api/payments-api.js +10 -12
  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 +13 -1
  48. package/dist/models/bank-account-class.js +1 -1
  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 +17 -5
  64. package/dist/models/create-bank-account-request-dto.js +1 -1
  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/create-tenant-bank-account-response-class.d.ts +1 -1
  82. package/dist/models/create-tenant-bank-account-response-class.js +1 -1
  83. package/dist/models/deactivate-payment-reminder-request-dto.d.ts +1 -1
  84. package/dist/models/deactivate-payment-reminder-request-dto.js +1 -1
  85. package/dist/models/deactivate-payment-reminder-response-class.d.ts +25 -0
  86. package/dist/models/deactivate-payment-reminder-response-class.js +15 -0
  87. package/dist/models/get-bank-account-response-class.d.ts +1 -1
  88. package/dist/models/get-bank-account-response-class.js +1 -1
  89. package/dist/models/get-bank-transactions-response-class.d.ts +1 -1
  90. package/dist/models/get-bank-transactions-response-class.js +1 -1
  91. package/dist/models/get-payment-method-response-class.d.ts +25 -0
  92. package/dist/models/get-payment-method-response-class.js +15 -0
  93. package/dist/models/get-payment-response-class.d.ts +25 -0
  94. package/dist/models/get-payment-response-class.js +15 -0
  95. package/dist/models/get-refund-response-class.d.ts +1 -1
  96. package/dist/models/get-refund-response-class.js +1 -1
  97. package/dist/models/get-request-dto.d.ts +2 -2
  98. package/dist/models/get-request-dto.js +1 -1
  99. package/dist/models/get-tenant-bank-account-response-class.d.ts +1 -1
  100. package/dist/models/get-tenant-bank-account-response-class.js +1 -1
  101. package/dist/models/index.d.ts +29 -0
  102. package/dist/models/index.js +29 -0
  103. package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +30 -0
  104. package/dist/models/initiate-braintree-payment-setup-request-dto.js +15 -0
  105. package/dist/models/initiate-braintree-payment-setup-response-class.d.ts +24 -0
  106. package/dist/models/initiate-braintree-payment-setup-response-class.js +15 -0
  107. package/dist/models/initiate-payment-setup-request-dto.d.ts +44 -0
  108. package/dist/models/initiate-payment-setup-request-dto.js +15 -0
  109. package/dist/models/initiate-payment-setup-response-class.d.ts +32 -0
  110. package/dist/models/initiate-payment-setup-response-class.js +15 -0
  111. package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +30 -0
  112. package/dist/models/initiate-stripe-payment-setup-request-dto.js +15 -0
  113. package/dist/models/initiate-stripe-payment-setup-response-class.d.ts +30 -0
  114. package/dist/models/initiate-stripe-payment-setup-response-class.js +15 -0
  115. package/dist/models/inline-response200.d.ts +1 -1
  116. package/dist/models/inline-response200.js +1 -1
  117. package/dist/models/inline-response503.d.ts +1 -1
  118. package/dist/models/inline-response503.js +1 -1
  119. package/dist/models/link-bank-transaction-request-dto-rest.d.ts +1 -1
  120. package/dist/models/link-bank-transaction-request-dto-rest.js +1 -1
  121. package/dist/models/list-bank-accounts-response-class.d.ts +31 -0
  122. package/dist/models/list-bank-accounts-response-class.js +15 -0
  123. package/dist/models/list-bank-transactions-response-class.d.ts +1 -1
  124. package/dist/models/list-bank-transactions-response-class.js +1 -1
  125. package/dist/models/list-payment-methods-response-class.d.ts +31 -0
  126. package/dist/models/list-payment-methods-response-class.js +15 -0
  127. package/dist/models/list-payment-reminders-response-class.d.ts +31 -0
  128. package/dist/models/list-payment-reminders-response-class.js +15 -0
  129. package/dist/models/list-payments-response-class.d.ts +31 -0
  130. package/dist/models/list-payments-response-class.js +15 -0
  131. package/dist/models/list-refunds-response-class.d.ts +1 -1
  132. package/dist/models/list-refunds-response-class.js +1 -1
  133. package/dist/models/list-tenant-bank-account-response-class.d.ts +1 -1
  134. package/dist/models/list-tenant-bank-account-response-class.js +1 -1
  135. package/dist/models/payment-class.d.ts +103 -0
  136. package/dist/models/payment-class.js +15 -0
  137. package/dist/models/payment-method-class.d.ts +66 -0
  138. package/dist/models/payment-method-class.js +15 -0
  139. package/dist/models/payment-reminder-class.d.ts +112 -0
  140. package/dist/models/payment-reminder-class.js +36 -0
  141. package/dist/models/primary-bank-account-response-class.d.ts +1 -1
  142. package/dist/models/primary-bank-account-response-class.js +1 -1
  143. package/dist/models/refund-class.d.ts +1 -1
  144. package/dist/models/refund-class.js +1 -1
  145. package/dist/models/sepa-direct-dto.d.ts +24 -0
  146. package/dist/models/sepa-direct-dto.js +15 -0
  147. package/dist/models/set-primary-bank-account-request-dto-rest.d.ts +1 -1
  148. package/dist/models/set-primary-bank-account-request-dto-rest.js +1 -1
  149. package/dist/models/symphony-profile-limited-response-dto.d.ts +42 -0
  150. package/dist/models/symphony-profile-limited-response-dto.js +15 -0
  151. package/dist/models/tenant-bank-account-response-class.d.ts +1 -1
  152. package/dist/models/tenant-bank-account-response-class.js +1 -1
  153. package/dist/models/transaction-class.d.ts +1 -1
  154. package/dist/models/transaction-class.js +1 -1
  155. package/dist/models/unlink-bank-transaction-request-dto-rest.d.ts +1 -1
  156. package/dist/models/unlink-bank-transaction-request-dto-rest.js +1 -1
  157. package/dist/models/update-bank-account-request-dto-rest.d.ts +30 -0
  158. package/dist/models/update-bank-account-request-dto-rest.js +15 -0
  159. package/dist/models/update-bank-account-request-dto.d.ts +36 -0
  160. package/dist/models/update-bank-account-request-dto.js +15 -0
  161. package/dist/models/update-tenant-bank-account-rest-request-dto.d.ts +1 -1
  162. package/dist/models/update-tenant-bank-account-rest-request-dto.js +1 -1
  163. package/dist/models/validate-pspconfig-request-dto.d.ts +9 -2
  164. package/dist/models/validate-pspconfig-request-dto.js +8 -1
  165. package/index.ts +1 -1
  166. package/models/bank-account-class.ts +13 -1
  167. package/models/bank-transaction-response-class.ts +1 -1
  168. package/models/billing-profile-dto.ts +44 -0
  169. package/models/billing-profile-limited-response-dto.ts +60 -0
  170. package/models/complete-braintree-payment-setup-request-dto.ts +54 -0
  171. package/models/complete-payment-setup-request-dto.ts +38 -0
  172. package/models/complete-payment-setup-response-class.ts +31 -0
  173. package/models/complete-stripe-payment-setup-request-dto.ts +66 -0
  174. package/models/create-bank-account-request-dto.ts +17 -5
  175. package/models/create-payment-method-response-class.ts +31 -0
  176. package/models/create-payment-reminder-request-dto.ts +1 -1
  177. package/models/create-payment-request-dto.ts +4 -4
  178. package/models/create-payment-response-class.ts +31 -0
  179. package/models/create-psp-payment-method-request-dto.ts +70 -0
  180. package/models/create-refund-request-dto.ts +1 -1
  181. package/models/create-refund-response-class.ts +1 -1
  182. package/models/create-tenant-bank-account-request-dto.ts +1 -1
  183. package/models/create-tenant-bank-account-response-class.ts +1 -1
  184. package/models/deactivate-payment-reminder-request-dto.ts +1 -1
  185. package/models/deactivate-payment-reminder-response-class.ts +31 -0
  186. package/models/get-bank-account-response-class.ts +1 -1
  187. package/models/get-bank-transactions-response-class.ts +1 -1
  188. package/models/get-payment-method-response-class.ts +31 -0
  189. package/models/get-payment-response-class.ts +31 -0
  190. package/models/get-refund-response-class.ts +1 -1
  191. package/models/get-request-dto.ts +2 -2
  192. package/models/get-tenant-bank-account-response-class.ts +1 -1
  193. package/models/index.ts +29 -0
  194. package/models/initiate-braintree-payment-setup-request-dto.ts +36 -0
  195. package/models/initiate-braintree-payment-setup-response-class.ts +30 -0
  196. package/models/initiate-payment-setup-request-dto.ts +50 -0
  197. package/models/initiate-payment-setup-response-class.ts +38 -0
  198. package/models/initiate-stripe-payment-setup-request-dto.ts +36 -0
  199. package/models/initiate-stripe-payment-setup-response-class.ts +36 -0
  200. package/models/inline-response200.ts +1 -1
  201. package/models/inline-response503.ts +1 -1
  202. package/models/link-bank-transaction-request-dto-rest.ts +1 -1
  203. package/models/list-bank-accounts-response-class.ts +37 -0
  204. package/models/list-bank-transactions-response-class.ts +1 -1
  205. package/models/list-payment-methods-response-class.ts +37 -0
  206. package/models/list-payment-reminders-response-class.ts +37 -0
  207. package/models/list-payments-response-class.ts +37 -0
  208. package/models/list-refunds-response-class.ts +1 -1
  209. package/models/list-tenant-bank-account-response-class.ts +1 -1
  210. package/models/payment-class.ts +109 -0
  211. package/models/payment-method-class.ts +72 -0
  212. package/models/payment-reminder-class.ts +122 -0
  213. package/models/primary-bank-account-response-class.ts +1 -1
  214. package/models/refund-class.ts +1 -1
  215. package/models/sepa-direct-dto.ts +30 -0
  216. package/models/set-primary-bank-account-request-dto-rest.ts +1 -1
  217. package/models/symphony-profile-limited-response-dto.ts +48 -0
  218. package/models/tenant-bank-account-response-class.ts +1 -1
  219. package/models/transaction-class.ts +1 -1
  220. package/models/unlink-bank-transaction-request-dto-rest.ts +1 -1
  221. package/models/update-bank-account-request-dto-rest.ts +36 -0
  222. package/models/update-bank-account-request-dto.ts +42 -0
  223. package/models/update-tenant-bank-account-rest-request-dto.ts +1 -1
  224. package/models/validate-pspconfig-request-dto.ts +12 -2
  225. package/package.json +1 -1
@@ -0,0 +1,112 @@
1
+ /**
2
+ * Emil Payment Service
3
+ * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface PaymentReminderClass
16
+ */
17
+ export interface PaymentReminderClass {
18
+ /**
19
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
20
+ * @type {number}
21
+ * @memberof PaymentReminderClass
22
+ */
23
+ 'id': number;
24
+ /**
25
+ * Unique identifier for the object.
26
+ * @type {string}
27
+ * @memberof PaymentReminderClass
28
+ */
29
+ 'code': string;
30
+ /**
31
+ * Unique identifier of related policy.
32
+ * @type {string}
33
+ * @memberof PaymentReminderClass
34
+ */
35
+ 'policyCode': string;
36
+ /**
37
+ * Unique identifier of related account.
38
+ * @type {string}
39
+ * @memberof PaymentReminderClass
40
+ */
41
+ 'accountCode': string;
42
+ /**
43
+ * Type of the invoice
44
+ * @type {string}
45
+ * @memberof PaymentReminderClass
46
+ */
47
+ 'invoiceType': PaymentReminderClassInvoiceTypeEnum;
48
+ /**
49
+ * Unique identifier of the payment for which the reminder happened.
50
+ * @type {string}
51
+ * @memberof PaymentReminderClass
52
+ */
53
+ 'paymentCode': PaymentReminderClassPaymentCodeEnum;
54
+ /**
55
+ * The stage of the reminder.
56
+ * @type {number}
57
+ * @memberof PaymentReminderClass
58
+ */
59
+ 'reminderStage': number;
60
+ /**
61
+ * True if the reminder should be triggered on the next reminder date.
62
+ * @type {boolean}
63
+ * @memberof PaymentReminderClass
64
+ */
65
+ 'isActive': boolean;
66
+ /**
67
+ * When a reminder is set to inactive, a reason must be given.
68
+ * @type {string}
69
+ * @memberof PaymentReminderClass
70
+ */
71
+ 'updateReason': string;
72
+ /**
73
+ * Next date at which the reminder should be sent.
74
+ * @type {string}
75
+ * @memberof PaymentReminderClass
76
+ */
77
+ 'nextReminderDate': string;
78
+ /**
79
+ * Time at which the object was created.
80
+ * @type {string}
81
+ * @memberof PaymentReminderClass
82
+ */
83
+ 'createdAt': string;
84
+ /**
85
+ * Time at which the object was updated.
86
+ * @type {string}
87
+ * @memberof PaymentReminderClass
88
+ */
89
+ 'updatedAt': string;
90
+ }
91
+ export declare const PaymentReminderClassInvoiceTypeEnum: {
92
+ readonly Initial: "initial";
93
+ readonly Recurring: "recurring";
94
+ readonly Correction: "correction";
95
+ readonly Estimated: "estimated";
96
+ readonly Penalty: "penalty";
97
+ readonly Other: "other";
98
+ readonly Withdraw: "withdraw";
99
+ readonly Final: "final";
100
+ };
101
+ export type PaymentReminderClassInvoiceTypeEnum = typeof PaymentReminderClassInvoiceTypeEnum[keyof typeof PaymentReminderClassInvoiceTypeEnum];
102
+ export declare const PaymentReminderClassPaymentCodeEnum: {
103
+ readonly Initial: "initial";
104
+ readonly Recurring: "recurring";
105
+ readonly Correction: "correction";
106
+ readonly Estimated: "estimated";
107
+ readonly Penalty: "penalty";
108
+ readonly Other: "other";
109
+ readonly Withdraw: "withdraw";
110
+ readonly Final: "final";
111
+ };
112
+ export type PaymentReminderClassPaymentCodeEnum = typeof PaymentReminderClassPaymentCodeEnum[keyof typeof PaymentReminderClassPaymentCodeEnum];
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Emil Payment Service
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
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.PaymentReminderClassPaymentCodeEnum = exports.PaymentReminderClassInvoiceTypeEnum = void 0;
17
+ exports.PaymentReminderClassInvoiceTypeEnum = {
18
+ Initial: 'initial',
19
+ Recurring: 'recurring',
20
+ Correction: 'correction',
21
+ Estimated: 'estimated',
22
+ Penalty: 'penalty',
23
+ Other: 'other',
24
+ Withdraw: 'withdraw',
25
+ Final: 'final'
26
+ };
27
+ exports.PaymentReminderClassPaymentCodeEnum = {
28
+ Initial: 'initial',
29
+ Recurring: 'recurring',
30
+ Correction: 'correction',
31
+ Estimated: 'estimated',
32
+ Penalty: 'penalty',
33
+ Other: 'other',
34
+ Withdraw: 'withdraw',
35
+ Final: 'final'
36
+ };
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Emil Payment Service
3
- * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
3
+ * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
6
  * Contact: kontakt@emil.de
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  /**
5
5
  * Emil Payment Service
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.
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
9
  * Contact: kontakt@emil.de
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Emil Payment Service
3
- * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
3
+ * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
6
  * Contact: kontakt@emil.de
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  /**
5
5
  * Emil Payment Service
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.
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
9
  * Contact: kontakt@emil.de
@@ -0,0 +1,24 @@
1
+ /**
2
+ * Emil Payment Service
3
+ * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface SepaDirectDto
16
+ */
17
+ export interface SepaDirectDto {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof SepaDirectDto
22
+ */
23
+ 'iban': string;
24
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Emil Payment Service
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
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Emil Payment Service
3
- * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
3
+ * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
6
  * Contact: kontakt@emil.de
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  /**
5
5
  * Emil Payment Service
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.
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
9
  * Contact: kontakt@emil.de
@@ -0,0 +1,42 @@
1
+ /**
2
+ * Emil Payment Service
3
+ * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface SymphonyProfileLimitedResponseDto
16
+ */
17
+ export interface SymphonyProfileLimitedResponseDto {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof SymphonyProfileLimitedResponseDto
22
+ */
23
+ 'scn': string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof SymphonyProfileLimitedResponseDto
28
+ */
29
+ 'billSource': string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof SymphonyProfileLimitedResponseDto
34
+ */
35
+ 'parentScn'?: string;
36
+ /**
37
+ *
38
+ * @type {boolean}
39
+ * @memberof SymphonyProfileLimitedResponseDto
40
+ */
41
+ 'deathCaseFlag': boolean;
42
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Emil Payment Service
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
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Emil Payment Service
3
- * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
3
+ * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
6
  * Contact: kontakt@emil.de
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  /**
5
5
  * Emil Payment Service
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.
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
9
  * Contact: kontakt@emil.de
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Emil Payment Service
3
- * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
3
+ * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
6
  * Contact: kontakt@emil.de
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  /**
5
5
  * Emil Payment Service
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.
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
9
  * Contact: kontakt@emil.de
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Emil Payment Service
3
- * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
3
+ * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
6
  * Contact: kontakt@emil.de
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  /**
5
5
  * Emil Payment Service
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.
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
9
  * Contact: kontakt@emil.de
@@ -0,0 +1,30 @@
1
+ /**
2
+ * Emil Payment Service
3
+ * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface UpdateBankAccountRequestDtoRest
16
+ */
17
+ export interface UpdateBankAccountRequestDtoRest {
18
+ /**
19
+ * IBAN number for the bank account
20
+ * @type {string}
21
+ * @memberof UpdateBankAccountRequestDtoRest
22
+ */
23
+ 'iban': string;
24
+ /**
25
+ * Bank account holder
26
+ * @type {string}
27
+ * @memberof UpdateBankAccountRequestDtoRest
28
+ */
29
+ 'accountHolder': string;
30
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Emil Payment Service
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
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,36 @@
1
+ /**
2
+ * Emil Payment Service
3
+ * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface UpdateBankAccountRequestDto
16
+ */
17
+ export interface UpdateBankAccountRequestDto {
18
+ /**
19
+ * Unique identifier for the object.
20
+ * @type {string}
21
+ * @memberof UpdateBankAccountRequestDto
22
+ */
23
+ 'code': string;
24
+ /**
25
+ * IBAN number for the bank account
26
+ * @type {string}
27
+ * @memberof UpdateBankAccountRequestDto
28
+ */
29
+ 'iban': string;
30
+ /**
31
+ * Bank account holder
32
+ * @type {string}
33
+ * @memberof UpdateBankAccountRequestDto
34
+ */
35
+ 'accountHolder': string;
36
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Emil Payment Service
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
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Emil Payment Service
3
- * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
3
+ * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
6
  * Contact: kontakt@emil.de
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  /**
5
5
  * Emil Payment Service
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.
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
9
  * Contact: kontakt@emil.de
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Emil Payment Service
3
- * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
3
+ * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
6
  * Contact: kontakt@emil.de
@@ -20,7 +20,7 @@ export interface ValidatePSPConfigRequestDto {
20
20
  * @type {string}
21
21
  * @memberof ValidatePSPConfigRequestDto
22
22
  */
23
- 'type': string;
23
+ 'type': ValidatePSPConfigRequestDtoTypeEnum;
24
24
  /**
25
25
  * Map containing various necessary keys to properly use the payment service provider. In the form of <api key name, api key value>.
26
26
  * @type {object}
@@ -34,3 +34,10 @@ export interface ValidatePSPConfigRequestDto {
34
34
  */
35
35
  'paymentMethods': Array<string>;
36
36
  }
37
+ export declare const ValidatePSPConfigRequestDtoTypeEnum: {
38
+ readonly Braintree: "braintree";
39
+ readonly Stripe: "stripe";
40
+ readonly B4u: "b4u";
41
+ readonly Eis: "eis";
42
+ };
43
+ export type ValidatePSPConfigRequestDtoTypeEnum = typeof ValidatePSPConfigRequestDtoTypeEnum[keyof typeof ValidatePSPConfigRequestDtoTypeEnum];
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  /**
5
5
  * Emil Payment Service
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.
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
9
  * Contact: kontakt@emil.de
@@ -13,3 +13,10 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.ValidatePSPConfigRequestDtoTypeEnum = void 0;
17
+ exports.ValidatePSPConfigRequestDtoTypeEnum = {
18
+ Braintree: 'braintree',
19
+ Stripe: 'stripe',
20
+ B4u: 'b4u',
21
+ Eis: 'eis'
22
+ };
package/index.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Emil Payment Service
5
- * 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.
5
+ * 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.
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  * Contact: kontakt@emil.de
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Emil Payment Service
5
- * 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.
5
+ * 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.
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  * Contact: kontakt@emil.de
@@ -45,6 +45,18 @@ export interface BankAccountClass {
45
45
  * @memberof BankAccountClass
46
46
  */
47
47
  'iban': string;
48
+ /**
49
+ * Business Identifier Codes
50
+ * @type {string}
51
+ * @memberof BankAccountClass
52
+ */
53
+ 'bic': string;
54
+ /**
55
+ * Bank account holder
56
+ * @type {string}
57
+ * @memberof BankAccountClass
58
+ */
59
+ 'accountHolder': string;
48
60
  /**
49
61
  * Time at which the object was created.
50
62
  * @type {string}
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Emil Payment Service
5
- * 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.
5
+ * 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.
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  * Contact: kontakt@emil.de
@@ -0,0 +1,44 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Emil Payment Service
5
+ * 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.
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ import { BillingProfileLimitedResponseDto } from './billing-profile-limited-response-dto';
17
+ import { SymphonyProfileLimitedResponseDto } from './symphony-profile-limited-response-dto';
18
+
19
+ /**
20
+ *
21
+ * @export
22
+ * @interface BillingProfileDto
23
+ */
24
+ export interface BillingProfileDto {
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof BillingProfileDto
29
+ */
30
+ 'billProfileId': string;
31
+ /**
32
+ *
33
+ * @type {SymphonyProfileLimitedResponseDto}
34
+ * @memberof BillingProfileDto
35
+ */
36
+ 'symphonyProfileLimitedResponse': SymphonyProfileLimitedResponseDto;
37
+ /**
38
+ *
39
+ * @type {BillingProfileLimitedResponseDto}
40
+ * @memberof BillingProfileDto
41
+ */
42
+ 'billingProfileLimitedResponse': BillingProfileLimitedResponseDto;
43
+ }
44
+