@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
@@ -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,39 @@
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 UpdatePaymentRequestRequestDto
16
+ */
17
+ export interface UpdatePaymentRequestRequestDto {
18
+ /**
19
+ * Unique identifier for the object.
20
+ * @type {string}
21
+ * @memberof UpdatePaymentRequestRequestDto
22
+ */
23
+ 'code': string;
24
+ /**
25
+ * New status for the payment request. Valid statuses: open, approved, pending, paid, failed, withdrawn
26
+ * @type {string}
27
+ * @memberof UpdatePaymentRequestRequestDto
28
+ */
29
+ 'status': UpdatePaymentRequestRequestDtoStatusEnum;
30
+ }
31
+ export declare const UpdatePaymentRequestRequestDtoStatusEnum: {
32
+ readonly Open: "open";
33
+ readonly Approved: "approved";
34
+ readonly Pending: "pending";
35
+ readonly Paid: "paid";
36
+ readonly Failed: "failed";
37
+ readonly Withdrawn: "withdrawn";
38
+ };
39
+ export type UpdatePaymentRequestRequestDtoStatusEnum = typeof UpdatePaymentRequestRequestDtoStatusEnum[keyof typeof UpdatePaymentRequestRequestDtoStatusEnum];
@@ -0,0 +1,24 @@
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.UpdatePaymentRequestRequestDtoStatusEnum = void 0;
17
+ exports.UpdatePaymentRequestRequestDtoStatusEnum = {
18
+ Open: 'open',
19
+ Approved: 'approved',
20
+ Pending: 'pending',
21
+ Paid: 'paid',
22
+ Failed: 'failed',
23
+ Withdrawn: 'withdrawn'
24
+ };
@@ -0,0 +1,25 @@
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
+ import { PaymentRequestClass } from './payment-request-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface UpdatePaymentRequestResponseClass
17
+ */
18
+ export interface UpdatePaymentRequestResponseClass {
19
+ /**
20
+ * The updated payment request with the new status.
21
+ * @type {PaymentRequestClass}
22
+ * @memberof UpdatePaymentRequestResponseClass
23
+ */
24
+ 'paymentRequest': PaymentRequestClass;
25
+ }
@@ -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 });
@@ -69,6 +69,12 @@ export interface UpdateTenantBankAccountRestRequestDto {
69
69
  * @memberof UpdateTenantBankAccountRestRequestDto
70
70
  */
71
71
  'sepaPainVersion': UpdateTenantBankAccountRestRequestDtoSepaPainVersionEnum;
72
+ /**
73
+ * Payout Pain version
74
+ * @type {string}
75
+ * @memberof UpdateTenantBankAccountRestRequestDto
76
+ */
77
+ 'payoutPainVersion': UpdateTenantBankAccountRestRequestDtoPayoutPainVersionEnum;
72
78
  }
73
79
  export declare const UpdateTenantBankAccountRestRequestDtoSepaPainVersionEnum: {
74
80
  readonly _00302: "pain.008.003.02";
@@ -80,3 +86,14 @@ export declare const UpdateTenantBankAccountRestRequestDtoSepaPainVersionEnum: {
80
86
  readonly _00111: "pain.008.001.11";
81
87
  };
82
88
  export type UpdateTenantBankAccountRestRequestDtoSepaPainVersionEnum = typeof UpdateTenantBankAccountRestRequestDtoSepaPainVersionEnum[keyof typeof UpdateTenantBankAccountRestRequestDtoSepaPainVersionEnum];
89
+ export declare const UpdateTenantBankAccountRestRequestDtoPayoutPainVersionEnum: {
90
+ readonly _00302: "pain.001.003.02";
91
+ readonly _00108: "pain.001.001.08";
92
+ readonly _00108Gbic5: "pain.001.001.08_GBIC_5";
93
+ readonly _00802: "pain.001.008.02";
94
+ readonly _00109: "pain.001.001.09";
95
+ readonly _00109Gbic5: "pain.001.001.09_GBIC_5";
96
+ readonly _00110: "pain.001.001.10";
97
+ readonly _00111: "pain.001.001.11";
98
+ };
99
+ export type UpdateTenantBankAccountRestRequestDtoPayoutPainVersionEnum = typeof UpdateTenantBankAccountRestRequestDtoPayoutPainVersionEnum[keyof typeof UpdateTenantBankAccountRestRequestDtoPayoutPainVersionEnum];
@@ -13,7 +13,7 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.UpdateTenantBankAccountRestRequestDtoSepaPainVersionEnum = void 0;
16
+ exports.UpdateTenantBankAccountRestRequestDtoPayoutPainVersionEnum = exports.UpdateTenantBankAccountRestRequestDtoSepaPainVersionEnum = void 0;
17
17
  exports.UpdateTenantBankAccountRestRequestDtoSepaPainVersionEnum = {
18
18
  _00302: 'pain.008.003.02',
19
19
  _00108: 'pain.008.001.08',
@@ -23,3 +23,13 @@ exports.UpdateTenantBankAccountRestRequestDtoSepaPainVersionEnum = {
23
23
  _00110: 'pain.008.001.10',
24
24
  _00111: 'pain.008.001.11'
25
25
  };
26
+ exports.UpdateTenantBankAccountRestRequestDtoPayoutPainVersionEnum = {
27
+ _00302: 'pain.001.003.02',
28
+ _00108: 'pain.001.001.08',
29
+ _00108Gbic5: 'pain.001.001.08_GBIC_5',
30
+ _00802: 'pain.001.008.02',
31
+ _00109: 'pain.001.001.09',
32
+ _00109Gbic5: 'pain.001.001.09_GBIC_5',
33
+ _00110: 'pain.001.001.10',
34
+ _00111: 'pain.001.001.11'
35
+ };
@@ -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 ValidateIbanRequestDto
16
+ */
17
+ export interface ValidateIbanRequestDto {
18
+ /**
19
+ * iban
20
+ * @type {string}
21
+ * @memberof ValidateIbanRequestDto
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 });
@@ -0,0 +1,31 @@
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
+ import { BankDataClass } from './bank-data-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ValidateIbanResponseClass
17
+ */
18
+ export interface ValidateIbanResponseClass {
19
+ /**
20
+ * valid
21
+ * @type {boolean}
22
+ * @memberof ValidateIbanResponseClass
23
+ */
24
+ 'valid': boolean;
25
+ /**
26
+ * bankData
27
+ * @type {BankDataClass}
28
+ * @memberof ValidateIbanResponseClass
29
+ */
30
+ 'bankData'?: BankDataClass;
31
+ }
@@ -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 });
@@ -50,6 +50,12 @@ export interface BankAccountClassWithoutExpandProperties {
50
50
  * @memberof BankAccountClassWithoutExpandProperties
51
51
  */
52
52
  'bic': string;
53
+ /**
54
+ * Bank name.
55
+ * @type {string}
56
+ * @memberof BankAccountClassWithoutExpandProperties
57
+ */
58
+ 'bankName': string;
53
59
  /**
54
60
  * Bank account holder.
55
61
  * @type {string}
@@ -51,6 +51,12 @@ export interface BankAccountClass {
51
51
  * @memberof BankAccountClass
52
52
  */
53
53
  'bic': string;
54
+ /**
55
+ * Bank name.
56
+ * @type {string}
57
+ * @memberof BankAccountClass
58
+ */
59
+ 'bankName': string;
54
60
  /**
55
61
  * Bank account holder.
56
62
  * @type {string}
@@ -0,0 +1,42 @@
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 BankDataClass
21
+ */
22
+ export interface BankDataClass {
23
+ /**
24
+ * BIC
25
+ * @type {string}
26
+ * @memberof BankDataClass
27
+ */
28
+ 'bic': string;
29
+ /**
30
+ * Bank name
31
+ * @type {string}
32
+ * @memberof BankDataClass
33
+ */
34
+ 'name': string;
35
+ /**
36
+ * Bank code
37
+ * @type {string}
38
+ * @memberof BankDataClass
39
+ */
40
+ 'code': string;
41
+ }
42
+
@@ -71,11 +71,11 @@ export interface BankOrderClass {
71
71
  */
72
72
  'tenantBankAccountCode': string;
73
73
  /**
74
- * List of invoice IDs associated with bank order.
75
- * @type {Array<number>}
74
+ * List of entity codes associated with bank order.
75
+ * @type {Array<string>}
76
76
  * @memberof BankOrderClass
77
77
  */
78
- 'invoiceIds': Array<number>;
78
+ 'entityCodes': Array<string>;
79
79
  /**
80
80
  * Day of execution of bank order.
81
81
  * @type {string}
@@ -85,10 +85,10 @@ export interface BankOrderEntity {
85
85
  'tenantBankAccountCode': string;
86
86
  /**
87
87
  *
88
- * @type {Array<number>}
88
+ * @type {Array<string>}
89
89
  * @memberof BankOrderEntity
90
90
  */
91
- 'invoiceIds': Array<number>;
91
+ 'entityCodes': Array<string>;
92
92
  /**
93
93
  *
94
94
  * @type {Array<BankTransactionEntity>}
@@ -148,7 +148,8 @@ export interface BankOrderEntity {
148
148
  export const BankOrderEntityTypeEnum = {
149
149
  DirectDebit: 'direct_debit',
150
150
  PremiumPayment: 'premium_payment',
151
- ClaimPayment: 'claim_payment'
151
+ ClaimPayment: 'claim_payment',
152
+ CommissionPayment: 'commission_payment'
152
153
  } as const;
153
154
 
154
155
  export type BankOrderEntityTypeEnum = typeof BankOrderEntityTypeEnum[keyof typeof BankOrderEntityTypeEnum];
@@ -0,0 +1,114 @@
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 BillingAddressClass
21
+ */
22
+ export interface BillingAddressClass {
23
+ /**
24
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
25
+ * @type {number}
26
+ * @memberof BillingAddressClass
27
+ */
28
+ 'id': number;
29
+ /**
30
+ * Unique identifier for the object.
31
+ * @type {string}
32
+ * @memberof BillingAddressClass
33
+ */
34
+ 'code': string;
35
+ /**
36
+ * First name
37
+ * @type {string}
38
+ * @memberof BillingAddressClass
39
+ */
40
+ 'firstName': string;
41
+ /**
42
+ * Last name
43
+ * @type {string}
44
+ * @memberof BillingAddressClass
45
+ */
46
+ 'lastName': string;
47
+ /**
48
+ * Street name
49
+ * @type {string}
50
+ * @memberof BillingAddressClass
51
+ */
52
+ 'street': string;
53
+ /**
54
+ * House number
55
+ * @type {string}
56
+ * @memberof BillingAddressClass
57
+ */
58
+ 'houseNumber': string;
59
+ /**
60
+ * ZIP code
61
+ * @type {string}
62
+ * @memberof BillingAddressClass
63
+ */
64
+ 'zipCode': string;
65
+ /**
66
+ * City
67
+ * @type {string}
68
+ * @memberof BillingAddressClass
69
+ */
70
+ 'city': string;
71
+ /**
72
+ * Country code
73
+ * @type {string}
74
+ * @memberof BillingAddressClass
75
+ */
76
+ 'countryCode'?: string;
77
+ /**
78
+ * Unique identifier of the account that this object belongs to.
79
+ * @type {string}
80
+ * @memberof BillingAddressClass
81
+ */
82
+ 'accountCode': string;
83
+ /**
84
+ * Unique identifier of the partner that this object belongs to.
85
+ * @type {string}
86
+ * @memberof BillingAddressClass
87
+ */
88
+ 'partnerCode': string;
89
+ /**
90
+ * Time at which the object was created.
91
+ * @type {string}
92
+ * @memberof BillingAddressClass
93
+ */
94
+ 'createdAt': string;
95
+ /**
96
+ * Time at which the object was updated.
97
+ * @type {string}
98
+ * @memberof BillingAddressClass
99
+ */
100
+ 'updatedAt': string;
101
+ /**
102
+ * Identifier of the user who created the record.
103
+ * @type {string}
104
+ * @memberof BillingAddressClass
105
+ */
106
+ 'createdBy': string;
107
+ /**
108
+ * Identifier of the user who last updated the record.
109
+ * @type {string}
110
+ * @memberof BillingAddressClass
111
+ */
112
+ 'updatedBy': string;
113
+ }
114
+
@@ -45,11 +45,11 @@ export interface CreateBankOrderRequestDto {
45
45
  */
46
46
  'tenantBankAccountCode': string;
47
47
  /**
48
- * List of invoice IDs associated with bank order.
49
- * @type {Array<number>}
48
+ * List of entity codes associated with bank order.
49
+ * @type {Array<string>}
50
50
  * @memberof CreateBankOrderRequestDto
51
51
  */
52
- 'invoiceIds': Array<number>;
52
+ 'entityCodes': Array<string>;
53
53
  /**
54
54
  * Day of execution of bank order.
55
55
  * @type {string}
@@ -67,7 +67,8 @@ export interface CreateBankOrderRequestDto {
67
67
  export const CreateBankOrderRequestDtoTypeEnum = {
68
68
  DirectDebit: 'direct_debit',
69
69
  PremiumPayment: 'premium_payment',
70
- ClaimPayment: 'claim_payment'
70
+ ClaimPayment: 'claim_payment',
71
+ CommissionPayment: 'commission_payment'
71
72
  } as const;
72
73
 
73
74
  export type CreateBankOrderRequestDtoTypeEnum = typeof CreateBankOrderRequestDtoTypeEnum[keyof typeof CreateBankOrderRequestDtoTypeEnum];
@@ -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 CreateBillingAddressRequestDto
21
+ */
22
+ export interface CreateBillingAddressRequestDto {
23
+ /**
24
+ * First name
25
+ * @type {string}
26
+ * @memberof CreateBillingAddressRequestDto
27
+ */
28
+ 'firstName': string;
29
+ /**
30
+ * Last name
31
+ * @type {string}
32
+ * @memberof CreateBillingAddressRequestDto
33
+ */
34
+ 'lastName': string;
35
+ /**
36
+ * Street name
37
+ * @type {string}
38
+ * @memberof CreateBillingAddressRequestDto
39
+ */
40
+ 'street': string;
41
+ /**
42
+ * House number
43
+ * @type {string}
44
+ * @memberof CreateBillingAddressRequestDto
45
+ */
46
+ 'houseNumber': string;
47
+ /**
48
+ * ZIP code
49
+ * @type {string}
50
+ * @memberof CreateBillingAddressRequestDto
51
+ */
52
+ 'zipCode': string;
53
+ /**
54
+ * City
55
+ * @type {string}
56
+ * @memberof CreateBillingAddressRequestDto
57
+ */
58
+ 'city': string;
59
+ /**
60
+ * Country code
61
+ * @type {string}
62
+ * @memberof CreateBillingAddressRequestDto
63
+ */
64
+ 'countryCode'?: string;
65
+ /**
66
+ * Unique identifier of the partner that this object belongs to.
67
+ * @type {string}
68
+ * @memberof CreateBillingAddressRequestDto
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 CreateBillingAddressResponseClass
22
+ */
23
+ export interface CreateBillingAddressResponseClass {
24
+ /**
25
+ * The created billing address
26
+ * @type {BillingAddressClass}
27
+ * @memberof CreateBillingAddressResponseClass
28
+ */
29
+ 'billingAddress': BillingAddressClass;
30
+ }
31
+