@emilgroup/payment-sdk-node 1.23.0 → 1.23.1-beta.100

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 (180) hide show
  1. package/.openapi-generator/FILES +34 -0
  2. package/README.md +2 -2
  3. package/api/bank-accounts-api.ts +16 -16
  4. package/api/bank-orders-api.ts +16 -16
  5. package/api/bank-transaction-api.ts +12 -12
  6. package/api/billing-addresses-api.ts +681 -0
  7. package/api/credit-allocation-api.ts +12 -12
  8. package/api/exceeding-credits-api.ts +12 -12
  9. package/api/ibanvalidator-api.ts +169 -0
  10. package/api/payment-methods-api.ts +12 -12
  11. package/api/payment-receipts-api.ts +680 -0
  12. package/api/payment-reminders-api.ts +16 -16
  13. package/api/payment-requests-api.ts +697 -0
  14. package/api/payments-api.ts +12 -12
  15. package/api/payout-methods-api.ts +794 -0
  16. package/api/refunds-api.ts +12 -12
  17. package/api/tenant-bank-account-api.ts +16 -16
  18. package/api/webhooks-api.ts +125 -14
  19. package/api.ts +10 -0
  20. package/base.ts +1 -0
  21. package/dist/api/bank-accounts-api.d.ts +16 -16
  22. package/dist/api/bank-accounts-api.js +13 -13
  23. package/dist/api/bank-orders-api.d.ts +16 -16
  24. package/dist/api/bank-orders-api.js +14 -14
  25. package/dist/api/bank-transaction-api.d.ts +12 -12
  26. package/dist/api/bank-transaction-api.js +10 -10
  27. package/dist/api/billing-addresses-api.d.ts +384 -0
  28. package/dist/api/billing-addresses-api.js +640 -0
  29. package/dist/api/credit-allocation-api.d.ts +12 -12
  30. package/dist/api/credit-allocation-api.js +10 -10
  31. package/dist/api/exceeding-credits-api.d.ts +12 -12
  32. package/dist/api/exceeding-credits-api.js +10 -10
  33. package/dist/api/ibanvalidator-api.d.ts +97 -0
  34. package/dist/api/ibanvalidator-api.js +228 -0
  35. package/dist/api/payment-methods-api.d.ts +12 -12
  36. package/dist/api/payment-methods-api.js +10 -10
  37. package/dist/api/payment-receipts-api.d.ts +383 -0
  38. package/dist/api/payment-receipts-api.js +641 -0
  39. package/dist/api/payment-reminders-api.d.ts +16 -16
  40. package/dist/api/payment-reminders-api.js +13 -13
  41. package/dist/api/payment-requests-api.d.ts +393 -0
  42. package/dist/api/payment-requests-api.js +648 -0
  43. package/dist/api/payments-api.d.ts +12 -12
  44. package/dist/api/payments-api.js +10 -10
  45. package/dist/api/payout-methods-api.d.ts +447 -0
  46. package/dist/api/payout-methods-api.js +738 -0
  47. package/dist/api/refunds-api.d.ts +12 -12
  48. package/dist/api/refunds-api.js +10 -10
  49. package/dist/api/tenant-bank-account-api.d.ts +16 -16
  50. package/dist/api/tenant-bank-account-api.js +13 -13
  51. package/dist/api/webhooks-api.d.ts +73 -9
  52. package/dist/api/webhooks-api.js +100 -11
  53. package/dist/api.d.ts +5 -0
  54. package/dist/api.js +5 -0
  55. package/dist/base.d.ts +2 -1
  56. package/dist/base.js +1 -0
  57. package/dist/models/bank-account-class-without-expand-properties.d.ts +6 -0
  58. package/dist/models/bank-account-class.d.ts +6 -0
  59. package/dist/models/bank-data-class.d.ts +36 -0
  60. package/dist/models/bank-data-class.js +15 -0
  61. package/dist/models/bank-order-class.d.ts +3 -3
  62. package/dist/models/bank-order-entity.d.ts +3 -2
  63. package/dist/models/bank-order-entity.js +2 -1
  64. package/dist/models/billing-address-class.d.ts +108 -0
  65. package/dist/models/billing-address-class.js +15 -0
  66. package/dist/models/create-bank-order-request-dto.d.ts +4 -3
  67. package/dist/models/create-bank-order-request-dto.js +2 -1
  68. package/dist/models/create-billing-address-request-dto.d.ts +66 -0
  69. package/dist/models/create-billing-address-request-dto.js +15 -0
  70. package/dist/models/create-billing-address-response-class.d.ts +25 -0
  71. package/dist/models/create-billing-address-response-class.js +15 -0
  72. package/dist/models/create-payment-receipt-request-dto.d.ts +65 -0
  73. package/dist/models/create-payment-receipt-request-dto.js +20 -0
  74. package/dist/models/create-payment-receipt-response-class.d.ts +25 -0
  75. package/dist/models/create-payment-receipt-response-class.js +15 -0
  76. package/dist/models/create-payment-request-request-dto.d.ts +109 -0
  77. package/dist/models/create-payment-request-request-dto.js +30 -0
  78. package/dist/models/create-payment-request-response-class.d.ts +25 -0
  79. package/dist/models/create-payment-request-response-class.js +15 -0
  80. package/dist/models/create-payout-method-by-bank-account-request-dto.d.ts +36 -0
  81. package/dist/models/create-payout-method-by-bank-account-request-dto.js +15 -0
  82. package/dist/models/create-payout-method-request-dto.d.ts +66 -0
  83. package/dist/models/create-payout-method-request-dto.js +15 -0
  84. package/dist/models/create-payout-method-response-class.d.ts +25 -0
  85. package/dist/models/create-payout-method-response-class.js +15 -0
  86. package/dist/models/create-tenant-bank-account-request-dto.d.ts +17 -0
  87. package/dist/models/create-tenant-bank-account-request-dto.js +11 -1
  88. package/dist/models/get-billing-address-response-class.d.ts +25 -0
  89. package/dist/models/get-billing-address-response-class.js +15 -0
  90. package/dist/models/get-payment-receipt-response-class.d.ts +25 -0
  91. package/dist/models/get-payment-receipt-response-class.js +15 -0
  92. package/dist/models/get-payment-request-response-class.d.ts +25 -0
  93. package/dist/models/get-payment-request-response-class.js +15 -0
  94. package/dist/models/get-payout-method-response-class.d.ts +25 -0
  95. package/dist/models/get-payout-method-response-class.js +15 -0
  96. package/dist/models/index.d.ts +29 -0
  97. package/dist/models/index.js +29 -0
  98. package/dist/models/list-billing-addresses-response-class.d.ts +43 -0
  99. package/dist/models/list-billing-addresses-response-class.js +15 -0
  100. package/dist/models/list-exceeding-credits-response-class.d.ts +18 -6
  101. package/dist/models/list-payment-receipts-response-class.d.ts +43 -0
  102. package/dist/models/list-payment-receipts-response-class.js +15 -0
  103. package/dist/models/list-payment-requests-response-class.d.ts +43 -0
  104. package/dist/models/list-payment-requests-response-class.js +15 -0
  105. package/dist/models/list-payout-methods-response-class.d.ts +43 -0
  106. package/dist/models/list-payout-methods-response-class.js +15 -0
  107. package/dist/models/list-refunds-response-class.d.ts +18 -6
  108. package/dist/models/payment-receipt-class.d.ts +101 -0
  109. package/dist/models/payment-receipt-class.js +20 -0
  110. package/dist/models/payment-request-class.d.ts +155 -0
  111. package/dist/models/payment-request-class.js +38 -0
  112. package/dist/models/payout-method-class.d.ts +121 -0
  113. package/dist/models/payout-method-class.js +15 -0
  114. package/dist/models/tenant-bank-account-class-without-expand-properties.d.ts +17 -0
  115. package/dist/models/tenant-bank-account-class-without-expand-properties.js +11 -1
  116. package/dist/models/tenant-bank-account-class.d.ts +17 -0
  117. package/dist/models/tenant-bank-account-class.js +11 -1
  118. package/dist/models/tenant-bank-account-entity.d.ts +17 -0
  119. package/dist/models/tenant-bank-account-entity.js +11 -1
  120. package/dist/models/update-bank-order-request-dto.d.ts +3 -3
  121. package/dist/models/update-billing-address-request-dto.d.ts +66 -0
  122. package/dist/models/update-billing-address-request-dto.js +15 -0
  123. package/dist/models/update-billing-address-response-class.d.ts +25 -0
  124. package/dist/models/update-billing-address-response-class.js +15 -0
  125. package/dist/models/update-payment-receipt-response-class.d.ts +25 -0
  126. package/dist/models/update-payment-receipt-response-class.js +15 -0
  127. package/dist/models/update-payment-request-request-dto.d.ts +39 -0
  128. package/dist/models/update-payment-request-request-dto.js +24 -0
  129. package/dist/models/update-payment-request-response-class.d.ts +25 -0
  130. package/dist/models/update-payment-request-response-class.js +15 -0
  131. package/dist/models/update-tenant-bank-account-rest-request-dto.d.ts +17 -0
  132. package/dist/models/update-tenant-bank-account-rest-request-dto.js +11 -1
  133. package/dist/models/validate-iban-request-dto.d.ts +24 -0
  134. package/dist/models/validate-iban-request-dto.js +15 -0
  135. package/dist/models/validate-iban-response-class.d.ts +31 -0
  136. package/dist/models/validate-iban-response-class.js +15 -0
  137. package/models/bank-account-class-without-expand-properties.ts +6 -0
  138. package/models/bank-account-class.ts +6 -0
  139. package/models/bank-data-class.ts +42 -0
  140. package/models/bank-order-class.ts +3 -3
  141. package/models/bank-order-entity.ts +4 -3
  142. package/models/billing-address-class.ts +114 -0
  143. package/models/create-bank-order-request-dto.ts +5 -4
  144. package/models/create-billing-address-request-dto.ts +72 -0
  145. package/models/create-billing-address-response-class.ts +31 -0
  146. package/models/create-payment-receipt-request-dto.ts +74 -0
  147. package/models/create-payment-receipt-response-class.ts +31 -0
  148. package/models/create-payment-request-request-dto.ts +118 -0
  149. package/models/create-payment-request-response-class.ts +31 -0
  150. package/models/create-payout-method-by-bank-account-request-dto.ts +42 -0
  151. package/models/create-payout-method-request-dto.ts +72 -0
  152. package/models/create-payout-method-response-class.ts +31 -0
  153. package/models/create-tenant-bank-account-request-dto.ts +18 -0
  154. package/models/get-billing-address-response-class.ts +31 -0
  155. package/models/get-payment-receipt-response-class.ts +31 -0
  156. package/models/get-payment-request-response-class.ts +31 -0
  157. package/models/get-payout-method-response-class.ts +31 -0
  158. package/models/index.ts +29 -0
  159. package/models/list-billing-addresses-response-class.ts +49 -0
  160. package/models/list-exceeding-credits-response-class.ts +18 -6
  161. package/models/list-payment-receipts-response-class.ts +49 -0
  162. package/models/list-payment-requests-response-class.ts +49 -0
  163. package/models/list-payout-methods-response-class.ts +49 -0
  164. package/models/list-refunds-response-class.ts +18 -6
  165. package/models/payment-receipt-class.ts +110 -0
  166. package/models/payment-request-class.ts +165 -0
  167. package/models/payout-method-class.ts +127 -0
  168. package/models/tenant-bank-account-class-without-expand-properties.ts +18 -0
  169. package/models/tenant-bank-account-class.ts +18 -0
  170. package/models/tenant-bank-account-entity.ts +18 -0
  171. package/models/update-bank-order-request-dto.ts +3 -3
  172. package/models/update-billing-address-request-dto.ts +72 -0
  173. package/models/update-billing-address-response-class.ts +31 -0
  174. package/models/update-payment-receipt-response-class.ts +31 -0
  175. package/models/update-payment-request-request-dto.ts +48 -0
  176. package/models/update-payment-request-response-class.ts +31 -0
  177. package/models/update-tenant-bank-account-rest-request-dto.ts +18 -0
  178. package/models/validate-iban-request-dto.ts +30 -0
  179. package/models/validate-iban-response-class.ts +37 -0
  180. package/package.json +3 -3
@@ -116,6 +116,12 @@ export interface TenantBankAccountClassWithoutExpandProperties {
116
116
  * @memberof TenantBankAccountClassWithoutExpandProperties
117
117
  */
118
118
  'sepaPainVersion': TenantBankAccountClassWithoutExpandPropertiesSepaPainVersionEnum;
119
+ /**
120
+ * Payout Pain version
121
+ * @type {string}
122
+ * @memberof TenantBankAccountClassWithoutExpandProperties
123
+ */
124
+ 'payoutPainVersion': TenantBankAccountClassWithoutExpandPropertiesPayoutPainVersionEnum;
119
125
  }
120
126
 
121
127
  export const TenantBankAccountClassWithoutExpandPropertiesSepaPainVersionEnum = {
@@ -129,5 +135,17 @@ export const TenantBankAccountClassWithoutExpandPropertiesSepaPainVersionEnum =
129
135
  } as const;
130
136
 
131
137
  export type TenantBankAccountClassWithoutExpandPropertiesSepaPainVersionEnum = typeof TenantBankAccountClassWithoutExpandPropertiesSepaPainVersionEnum[keyof typeof TenantBankAccountClassWithoutExpandPropertiesSepaPainVersionEnum];
138
+ export const TenantBankAccountClassWithoutExpandPropertiesPayoutPainVersionEnum = {
139
+ _00302: 'pain.001.003.02',
140
+ _00108: 'pain.001.001.08',
141
+ _00108Gbic5: 'pain.001.001.08_GBIC_5',
142
+ _00802: 'pain.001.008.02',
143
+ _00109: 'pain.001.001.09',
144
+ _00109Gbic5: 'pain.001.001.09_GBIC_5',
145
+ _00110: 'pain.001.001.10',
146
+ _00111: 'pain.001.001.11'
147
+ } as const;
148
+
149
+ export type TenantBankAccountClassWithoutExpandPropertiesPayoutPainVersionEnum = typeof TenantBankAccountClassWithoutExpandPropertiesPayoutPainVersionEnum[keyof typeof TenantBankAccountClassWithoutExpandPropertiesPayoutPainVersionEnum];
132
150
 
133
151
 
@@ -123,6 +123,12 @@ export interface TenantBankAccountClass {
123
123
  * @memberof TenantBankAccountClass
124
124
  */
125
125
  'sepaPainVersion': TenantBankAccountClassSepaPainVersionEnum;
126
+ /**
127
+ * Payout Pain version
128
+ * @type {string}
129
+ * @memberof TenantBankAccountClass
130
+ */
131
+ 'payoutPainVersion': TenantBankAccountClassPayoutPainVersionEnum;
126
132
  }
127
133
 
128
134
  export const TenantBankAccountClassSepaPainVersionEnum = {
@@ -136,5 +142,17 @@ export const TenantBankAccountClassSepaPainVersionEnum = {
136
142
  } as const;
137
143
 
138
144
  export type TenantBankAccountClassSepaPainVersionEnum = typeof TenantBankAccountClassSepaPainVersionEnum[keyof typeof TenantBankAccountClassSepaPainVersionEnum];
145
+ export const TenantBankAccountClassPayoutPainVersionEnum = {
146
+ _00302: 'pain.001.003.02',
147
+ _00108: 'pain.001.001.08',
148
+ _00108Gbic5: 'pain.001.001.08_GBIC_5',
149
+ _00802: 'pain.001.008.02',
150
+ _00109: 'pain.001.001.09',
151
+ _00109Gbic5: 'pain.001.001.09_GBIC_5',
152
+ _00110: 'pain.001.001.10',
153
+ _00111: 'pain.001.001.11'
154
+ } as const;
155
+
156
+ export type TenantBankAccountClassPayoutPainVersionEnum = typeof TenantBankAccountClassPayoutPainVersionEnum[keyof typeof TenantBankAccountClassPayoutPainVersionEnum];
139
157
 
140
158
 
@@ -105,6 +105,12 @@ export interface TenantBankAccountEntity {
105
105
  * @memberof TenantBankAccountEntity
106
106
  */
107
107
  'sepaPainVersion'?: TenantBankAccountEntitySepaPainVersionEnum;
108
+ /**
109
+ *
110
+ * @type {string}
111
+ * @memberof TenantBankAccountEntity
112
+ */
113
+ 'payoutPainVersion'?: TenantBankAccountEntityPayoutPainVersionEnum;
108
114
  /**
109
115
  *
110
116
  * @type {string}
@@ -148,5 +154,17 @@ export const TenantBankAccountEntitySepaPainVersionEnum = {
148
154
  } as const;
149
155
 
150
156
  export type TenantBankAccountEntitySepaPainVersionEnum = typeof TenantBankAccountEntitySepaPainVersionEnum[keyof typeof TenantBankAccountEntitySepaPainVersionEnum];
157
+ export const TenantBankAccountEntityPayoutPainVersionEnum = {
158
+ _00302: 'pain.001.003.02',
159
+ _00108: 'pain.001.001.08',
160
+ _00108Gbic5: 'pain.001.001.08_GBIC_5',
161
+ _00802: 'pain.001.008.02',
162
+ _00109: 'pain.001.001.09',
163
+ _00109Gbic5: 'pain.001.001.09_GBIC_5',
164
+ _00110: 'pain.001.001.10',
165
+ _00111: 'pain.001.001.11'
166
+ } as const;
167
+
168
+ export type TenantBankAccountEntityPayoutPainVersionEnum = typeof TenantBankAccountEntityPayoutPainVersionEnum[keyof typeof TenantBankAccountEntityPayoutPainVersionEnum];
151
169
 
152
170
 
@@ -39,11 +39,11 @@ export interface UpdateBankOrderRequestDto {
39
39
  */
40
40
  'tenantBankAccountCode': string;
41
41
  /**
42
- * List of invoice IDs associated with bank order.
43
- * @type {Array<number>}
42
+ * List of entity codes associated with bank order.
43
+ * @type {Array<string>}
44
44
  * @memberof UpdateBankOrderRequestDto
45
45
  */
46
- 'invoiceIds': Array<number>;
46
+ 'entityCodes': Array<string>;
47
47
  /**
48
48
  * Day of execution of bank order.
49
49
  * @type {string}
@@ -0,0 +1,72 @@
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
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface UpdateBillingAddressRequestDto
21
+ */
22
+ export interface UpdateBillingAddressRequestDto {
23
+ /**
24
+ * First name
25
+ * @type {string}
26
+ * @memberof UpdateBillingAddressRequestDto
27
+ */
28
+ 'firstName': string;
29
+ /**
30
+ * Last name
31
+ * @type {string}
32
+ * @memberof UpdateBillingAddressRequestDto
33
+ */
34
+ 'lastName': string;
35
+ /**
36
+ * Street name
37
+ * @type {string}
38
+ * @memberof UpdateBillingAddressRequestDto
39
+ */
40
+ 'street': string;
41
+ /**
42
+ * House number
43
+ * @type {string}
44
+ * @memberof UpdateBillingAddressRequestDto
45
+ */
46
+ 'houseNumber': string;
47
+ /**
48
+ * ZIP code
49
+ * @type {string}
50
+ * @memberof UpdateBillingAddressRequestDto
51
+ */
52
+ 'zipCode': string;
53
+ /**
54
+ * City
55
+ * @type {string}
56
+ * @memberof UpdateBillingAddressRequestDto
57
+ */
58
+ 'city': string;
59
+ /**
60
+ * Country code
61
+ * @type {string}
62
+ * @memberof UpdateBillingAddressRequestDto
63
+ */
64
+ 'countryCode'?: string;
65
+ /**
66
+ * Unique identifier of the partner that this object belongs to.
67
+ * @type {string}
68
+ * @memberof UpdateBillingAddressRequestDto
69
+ */
70
+ 'partnerCode': string;
71
+ }
72
+
@@ -0,0 +1,31 @@
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 { BillingAddressClass } from './billing-address-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface UpdateBillingAddressResponseClass
22
+ */
23
+ export interface UpdateBillingAddressResponseClass {
24
+ /**
25
+ * The updated billing address
26
+ * @type {BillingAddressClass}
27
+ * @memberof UpdateBillingAddressResponseClass
28
+ */
29
+ 'billingAddress': BillingAddressClass;
30
+ }
31
+
@@ -0,0 +1,31 @@
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 { PaymentReceiptClass } from './payment-receipt-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface UpdatePaymentReceiptResponseClass
22
+ */
23
+ export interface UpdatePaymentReceiptResponseClass {
24
+ /**
25
+ * The updated payment receipt.
26
+ * @type {PaymentReceiptClass}
27
+ * @memberof UpdatePaymentReceiptResponseClass
28
+ */
29
+ 'paymentReceipt'?: PaymentReceiptClass;
30
+ }
31
+
@@ -0,0 +1,48 @@
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
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface UpdatePaymentRequestRequestDto
21
+ */
22
+ export interface UpdatePaymentRequestRequestDto {
23
+ /**
24
+ * Unique identifier for the object.
25
+ * @type {string}
26
+ * @memberof UpdatePaymentRequestRequestDto
27
+ */
28
+ 'code': string;
29
+ /**
30
+ * New status for the payment request. Valid statuses: open, approved, pending, paid, failed, withdrawn
31
+ * @type {string}
32
+ * @memberof UpdatePaymentRequestRequestDto
33
+ */
34
+ 'status': UpdatePaymentRequestRequestDtoStatusEnum;
35
+ }
36
+
37
+ export const UpdatePaymentRequestRequestDtoStatusEnum = {
38
+ Open: 'open',
39
+ Approved: 'approved',
40
+ Pending: 'pending',
41
+ Paid: 'paid',
42
+ Failed: 'failed',
43
+ Withdrawn: 'withdrawn'
44
+ } as const;
45
+
46
+ export type UpdatePaymentRequestRequestDtoStatusEnum = typeof UpdatePaymentRequestRequestDtoStatusEnum[keyof typeof UpdatePaymentRequestRequestDtoStatusEnum];
47
+
48
+
@@ -0,0 +1,31 @@
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 { PaymentRequestClass } from './payment-request-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface UpdatePaymentRequestResponseClass
22
+ */
23
+ export interface UpdatePaymentRequestResponseClass {
24
+ /**
25
+ * The updated payment request with the new status.
26
+ * @type {PaymentRequestClass}
27
+ * @memberof UpdatePaymentRequestResponseClass
28
+ */
29
+ 'paymentRequest': PaymentRequestClass;
30
+ }
31
+
@@ -74,6 +74,12 @@ export interface UpdateTenantBankAccountRestRequestDto {
74
74
  * @memberof UpdateTenantBankAccountRestRequestDto
75
75
  */
76
76
  'sepaPainVersion': UpdateTenantBankAccountRestRequestDtoSepaPainVersionEnum;
77
+ /**
78
+ * Payout Pain version
79
+ * @type {string}
80
+ * @memberof UpdateTenantBankAccountRestRequestDto
81
+ */
82
+ 'payoutPainVersion': UpdateTenantBankAccountRestRequestDtoPayoutPainVersionEnum;
77
83
  }
78
84
 
79
85
  export const UpdateTenantBankAccountRestRequestDtoSepaPainVersionEnum = {
@@ -87,5 +93,17 @@ export const UpdateTenantBankAccountRestRequestDtoSepaPainVersionEnum = {
87
93
  } as const;
88
94
 
89
95
  export type UpdateTenantBankAccountRestRequestDtoSepaPainVersionEnum = typeof UpdateTenantBankAccountRestRequestDtoSepaPainVersionEnum[keyof typeof UpdateTenantBankAccountRestRequestDtoSepaPainVersionEnum];
96
+ export const UpdateTenantBankAccountRestRequestDtoPayoutPainVersionEnum = {
97
+ _00302: 'pain.001.003.02',
98
+ _00108: 'pain.001.001.08',
99
+ _00108Gbic5: 'pain.001.001.08_GBIC_5',
100
+ _00802: 'pain.001.008.02',
101
+ _00109: 'pain.001.001.09',
102
+ _00109Gbic5: 'pain.001.001.09_GBIC_5',
103
+ _00110: 'pain.001.001.10',
104
+ _00111: 'pain.001.001.11'
105
+ } as const;
106
+
107
+ export type UpdateTenantBankAccountRestRequestDtoPayoutPainVersionEnum = typeof UpdateTenantBankAccountRestRequestDtoPayoutPainVersionEnum[keyof typeof UpdateTenantBankAccountRestRequestDtoPayoutPainVersionEnum];
90
108
 
91
109
 
@@ -0,0 +1,30 @@
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
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface ValidateIbanRequestDto
21
+ */
22
+ export interface ValidateIbanRequestDto {
23
+ /**
24
+ * iban
25
+ * @type {string}
26
+ * @memberof ValidateIbanRequestDto
27
+ */
28
+ 'iban': string;
29
+ }
30
+
@@ -0,0 +1,37 @@
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 { BankDataClass } from './bank-data-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface ValidateIbanResponseClass
22
+ */
23
+ export interface ValidateIbanResponseClass {
24
+ /**
25
+ * valid
26
+ * @type {boolean}
27
+ * @memberof ValidateIbanResponseClass
28
+ */
29
+ 'valid': boolean;
30
+ /**
31
+ * bankData
32
+ * @type {BankDataClass}
33
+ * @memberof ValidateIbanResponseClass
34
+ */
35
+ 'bankData'?: BankDataClass;
36
+ }
37
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/payment-sdk-node",
3
- "version": "1.23.0",
3
+ "version": "1.23.1-beta.100",
4
4
  "description": "OpenAPI client for @emilgroup/payment-sdk-node",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [
@@ -18,12 +18,12 @@
18
18
  "prepare": "npm run build"
19
19
  },
20
20
  "dependencies": {
21
- "axios": "^1.12.0",
21
+ "axios": "1.18.0",
22
22
  "form-data": "^4.0.0",
23
23
  "url": "^0.11.0"
24
24
  },
25
25
  "devDependencies": {
26
- "@types/node": "^12.11.5",
26
+ "@types/node": "^12.11.5",
27
27
  "typescript": "^4.0"
28
28
  }
29
29
  }