@emilgroup/payment-sdk 1.13.1-beta.13 → 1.13.1-beta.130

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 (174) hide show
  1. package/.openapi-generator/FILES +24 -1
  2. package/README.md +2 -2
  3. package/api/bank-accounts-api.ts +55 -13
  4. package/api/bank-orders-api.ts +130 -57
  5. package/api/bank-transaction-api.ts +59 -48
  6. package/api/exceeding-credits-api.ts +349 -0
  7. package/api/payment-methods-api.ts +59 -17
  8. package/api/payment-reminders-api.ts +55 -13
  9. package/api/payments-api.ts +180 -17
  10. package/api/policy-payment-methods-api.ts +471 -0
  11. package/api/refunds-api.ts +45 -17
  12. package/api/tenant-bank-account-api.ts +45 -17
  13. package/api.ts +4 -0
  14. package/base.ts +10 -32
  15. package/common.ts +2 -2
  16. package/configuration.ts +0 -9
  17. package/dist/api/bank-accounts-api.d.ts +35 -8
  18. package/dist/api/bank-accounts-api.js +29 -11
  19. package/dist/api/bank-orders-api.d.ts +92 -46
  20. package/dist/api/bank-orders-api.js +83 -52
  21. package/dist/api/bank-transaction-api.d.ts +39 -31
  22. package/dist/api/bank-transaction-api.js +36 -31
  23. package/dist/api/exceeding-credits-api.d.ts +206 -0
  24. package/dist/api/exceeding-credits-api.js +352 -0
  25. package/dist/api/payment-methods-api.d.ts +39 -12
  26. package/dist/api/payment-methods-api.js +32 -14
  27. package/dist/api/payment-reminders-api.d.ts +35 -8
  28. package/dist/api/payment-reminders-api.js +29 -11
  29. package/dist/api/payments-api.d.ts +104 -12
  30. package/dist/api/payments-api.js +133 -14
  31. package/dist/api/policy-payment-methods-api.d.ts +272 -0
  32. package/dist/api/policy-payment-methods-api.js +452 -0
  33. package/dist/api/refunds-api.d.ts +28 -10
  34. package/dist/api/refunds-api.js +24 -12
  35. package/dist/api/tenant-bank-account-api.d.ts +28 -10
  36. package/dist/api/tenant-bank-account-api.js +24 -12
  37. package/dist/api.d.ts +2 -0
  38. package/dist/api.js +2 -0
  39. package/dist/base.d.ts +2 -4
  40. package/dist/base.js +21 -40
  41. package/dist/common.js +2 -2
  42. package/dist/configuration.d.ts +0 -6
  43. package/dist/configuration.js +0 -8
  44. package/dist/models/activate-policy-payment-method-request-dto.d.ts +24 -0
  45. package/dist/models/bank-order-class.d.ts +23 -3
  46. package/dist/models/bank-order-xml-file-class.d.ts +72 -0
  47. package/dist/models/bank-order-xml-file-class.js +15 -0
  48. package/dist/models/bank-transaction-class-without-expand-properties.d.ts +18 -18
  49. package/dist/models/bank-transaction-class-without-expand-properties.js +5 -0
  50. package/dist/models/bank-transaction-class.d.ts +22 -22
  51. package/dist/models/bank-transaction-class.js +5 -0
  52. package/dist/models/bank-transaction-invoice-class.d.ts +60 -0
  53. package/dist/models/bank-transaction-invoice-class.js +15 -0
  54. package/dist/models/bank-transfer-dto.d.ts +25 -0
  55. package/dist/models/bank-transfer-dto.js +15 -0
  56. package/dist/models/billing-address-dto.d.ts +54 -0
  57. package/dist/models/billing-address-dto.js +15 -0
  58. package/dist/models/complete-adyen-payment-setup-request-dto.d.ts +2 -0
  59. package/dist/models/complete-adyen-payment-setup-request-dto.js +3 -1
  60. package/dist/models/complete-eis-payment-setup-request-dto.d.ts +36 -0
  61. package/dist/models/complete-eis-payment-setup-request-dto.js +15 -0
  62. package/dist/models/complete-payment-setup-request-dto.d.ts +7 -0
  63. package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +2 -0
  64. package/dist/models/complete-stripe-payment-setup-request-dto.js +3 -1
  65. package/dist/models/create-bank-order-request-dto.d.ts +9 -9
  66. package/dist/models/create-payment-order-dto.d.ts +48 -0
  67. package/dist/models/create-payment-order-dto.js +15 -0
  68. package/dist/models/create-payment-order-request-dto.d.ts +48 -0
  69. package/dist/models/create-payment-order-request-dto.js +15 -0
  70. package/dist/models/create-payment-reminder-request-dto.d.ts +7 -1
  71. package/dist/models/create-payment-request-dto.d.ts +7 -1
  72. package/dist/models/create-policy-payment-method-request-dto.d.ts +30 -0
  73. package/dist/models/create-policy-payment-method-request-dto.js +15 -0
  74. package/dist/models/create-policy-payment-method-response-class.d.ts +25 -0
  75. package/dist/models/create-policy-payment-method-response-class.js +15 -0
  76. package/dist/models/create-psp-payment-method-request-dto.d.ts +29 -1
  77. package/dist/models/create-psp-payment-method-request-dto.js +3 -1
  78. package/dist/models/create-tenant-bank-account-request-dto.d.ts +30 -0
  79. package/dist/models/deactivated-payment-reminder-class.d.ts +7 -1
  80. package/dist/models/eis-sepa-debit-dto.d.ts +55 -0
  81. package/dist/models/eis-sepa-debit-dto.js +15 -0
  82. package/dist/models/exceeding-credit-class.d.ts +116 -0
  83. package/dist/models/exceeding-credit-class.js +29 -0
  84. package/dist/models/financial-account-class.d.ts +111 -0
  85. package/dist/models/financial-account-class.js +24 -0
  86. package/dist/models/get-exceeding-credit-response-class.d.ts +25 -0
  87. package/dist/models/get-exceeding-credit-response-class.js +15 -0
  88. package/dist/models/index.d.ts +22 -1
  89. package/dist/models/index.js +22 -1
  90. package/dist/models/initiate-adyen-payment-setup-request-dto.d.ts +6 -0
  91. package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +6 -0
  92. package/dist/models/initiate-eis-payment-setup-request-dto.d.ts +36 -0
  93. package/dist/models/initiate-eis-payment-setup-request-dto.js +15 -0
  94. package/dist/models/initiate-payment-setup-request-dto.d.ts +3 -2
  95. package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +6 -0
  96. package/dist/models/{unlink-bank-transaction-request-dto-rest.d.ts → invoice-allocation-dto.d.ts} +10 -4
  97. package/dist/models/invoice-allocation-dto.js +15 -0
  98. package/dist/models/link-bank-transaction-request-dto-rest.d.ts +4 -3
  99. package/dist/models/list-exceeding-credits-response-class.d.ts +31 -0
  100. package/dist/models/list-exceeding-credits-response-class.js +15 -0
  101. package/dist/models/list-policy-payment-methods-response-class.d.ts +31 -0
  102. package/dist/models/list-policy-payment-methods-response-class.js +15 -0
  103. package/dist/models/mandate-dto.d.ts +43 -0
  104. package/dist/models/mandate-dto.js +15 -0
  105. package/dist/models/mandate-hash-data-dto.d.ts +42 -0
  106. package/dist/models/mandate-hash-data-dto.js +15 -0
  107. package/dist/models/mandate-reference-class.d.ts +90 -0
  108. package/dist/models/mandate-reference-class.js +15 -0
  109. package/dist/models/payment-class-without-expand-properties.d.ts +7 -1
  110. package/dist/models/payment-class.d.ts +7 -1
  111. package/dist/models/payment-method-class.d.ts +6 -0
  112. package/dist/models/payment-reminder-class.d.ts +7 -1
  113. package/dist/models/policy-payment-method-class.d.ts +86 -0
  114. package/dist/models/policy-payment-method-class.js +15 -0
  115. package/dist/models/refund-class.d.ts +7 -1
  116. package/dist/models/tenant-bank-account-class-without-expand-properties.d.ts +30 -0
  117. package/dist/models/tenant-bank-account-class.d.ts +30 -0
  118. package/dist/models/unlinked-bank-transaction-response-class.d.ts +18 -0
  119. package/dist/models/unlinked-bank-transaction-response-class.js +5 -0
  120. package/dist/models/update-bank-order-request-dto.d.ts +12 -12
  121. package/dist/models/update-tenant-bank-account-rest-request-dto.d.ts +30 -0
  122. package/models/activate-policy-payment-method-request-dto.ts +30 -0
  123. package/models/bank-order-class.ts +23 -3
  124. package/models/bank-order-xml-file-class.ts +78 -0
  125. package/models/bank-transaction-class-without-expand-properties.ts +21 -18
  126. package/models/bank-transaction-class.ts +25 -22
  127. package/models/bank-transaction-invoice-class.ts +66 -0
  128. package/models/bank-transfer-dto.ts +31 -0
  129. package/models/billing-address-dto.ts +60 -0
  130. package/models/complete-adyen-payment-setup-request-dto.ts +3 -1
  131. package/models/complete-eis-payment-setup-request-dto.ts +42 -0
  132. package/models/complete-payment-setup-request-dto.ts +7 -0
  133. package/models/complete-stripe-payment-setup-request-dto.ts +3 -1
  134. package/models/create-bank-order-request-dto.ts +9 -9
  135. package/models/create-payment-order-dto.ts +54 -0
  136. package/models/create-payment-order-request-dto.ts +54 -0
  137. package/models/create-payment-reminder-request-dto.ts +7 -1
  138. package/models/create-payment-request-dto.ts +7 -1
  139. package/models/create-policy-payment-method-request-dto.ts +36 -0
  140. package/models/create-policy-payment-method-response-class.ts +31 -0
  141. package/models/create-psp-payment-method-request-dto.ts +30 -2
  142. package/models/create-tenant-bank-account-request-dto.ts +30 -0
  143. package/models/deactivated-payment-reminder-class.ts +7 -1
  144. package/models/eis-sepa-debit-dto.ts +61 -0
  145. package/models/exceeding-credit-class.ts +125 -0
  146. package/models/financial-account-class.ts +120 -0
  147. package/models/get-exceeding-credit-response-class.ts +31 -0
  148. package/models/index.ts +22 -1
  149. package/models/initiate-adyen-payment-setup-request-dto.ts +6 -0
  150. package/models/initiate-braintree-payment-setup-request-dto.ts +6 -0
  151. package/models/initiate-eis-payment-setup-request-dto.ts +42 -0
  152. package/models/initiate-payment-setup-request-dto.ts +3 -2
  153. package/models/initiate-stripe-payment-setup-request-dto.ts +6 -0
  154. package/models/{unlink-bank-transaction-request-dto-rest.ts → invoice-allocation-dto.ts} +10 -4
  155. package/models/link-bank-transaction-request-dto-rest.ts +4 -3
  156. package/models/list-exceeding-credits-response-class.ts +37 -0
  157. package/models/list-policy-payment-methods-response-class.ts +37 -0
  158. package/models/mandate-dto.ts +49 -0
  159. package/models/mandate-hash-data-dto.ts +48 -0
  160. package/models/mandate-reference-class.ts +96 -0
  161. package/models/payment-class-without-expand-properties.ts +7 -1
  162. package/models/payment-class.ts +7 -1
  163. package/models/payment-method-class.ts +6 -0
  164. package/models/payment-reminder-class.ts +7 -1
  165. package/models/policy-payment-method-class.ts +92 -0
  166. package/models/refund-class.ts +7 -1
  167. package/models/tenant-bank-account-class-without-expand-properties.ts +30 -0
  168. package/models/tenant-bank-account-class.ts +30 -0
  169. package/models/unlinked-bank-transaction-response-class.ts +21 -0
  170. package/models/update-bank-order-request-dto.ts +12 -12
  171. package/models/update-tenant-bank-account-rest-request-dto.ts +30 -0
  172. package/package.json +1 -1
  173. package/tsconfig.json +0 -1
  174. /package/dist/models/{unlink-bank-transaction-request-dto-rest.js → activate-policy-payment-method-request-dto.js} +0 -0
@@ -13,6 +13,8 @@
13
13
  */
14
14
 
15
15
 
16
+ import { BankOrderXmlFileClass } from './bank-order-xml-file-class';
17
+ import { FinancialAccountClass } from './financial-account-class';
16
18
 
17
19
  /**
18
20
  *
@@ -63,11 +65,11 @@ export interface BankOrderClass {
63
65
  */
64
66
  'description'?: string;
65
67
  /**
66
- * Bank account identifier associated with the bank order.
67
- * @type {number}
68
+ * Financial account code associated with the bank order.
69
+ * @type {string}
68
70
  * @memberof BankOrderClass
69
71
  */
70
- 'bankAccountId': number;
72
+ 'financialAccountCode': string;
71
73
  /**
72
74
  * List of invoice IDs associated with bank order.
73
75
  * @type {Array<number>}
@@ -80,6 +82,12 @@ export interface BankOrderClass {
80
82
  * @memberof BankOrderClass
81
83
  */
82
84
  'executionDate': string;
85
+ /**
86
+ * Latest due date.
87
+ * @type {string}
88
+ * @memberof BankOrderClass
89
+ */
90
+ 'dueDate': string;
83
91
  /**
84
92
  * Time at which the object was created.
85
93
  * @type {string}
@@ -104,5 +112,17 @@ export interface BankOrderClass {
104
112
  * @memberof BankOrderClass
105
113
  */
106
114
  'updatedBy': string;
115
+ /**
116
+ * The financial account object that this bank order is belongs to
117
+ * @type {FinancialAccountClass}
118
+ * @memberof BankOrderClass
119
+ */
120
+ 'financialAccount'?: FinancialAccountClass;
121
+ /**
122
+ * The XML file associated with this bank order
123
+ * @type {BankOrderXmlFileClass}
124
+ * @memberof BankOrderClass
125
+ */
126
+ 'xmlFile'?: BankOrderXmlFileClass;
107
127
  }
108
128
 
@@ -0,0 +1,78 @@
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 BankOrderXmlFileClass
21
+ */
22
+ export interface BankOrderXmlFileClass {
23
+ /**
24
+ * Unique identifier for the bank order XML file
25
+ * @type {number}
26
+ * @memberof BankOrderXmlFileClass
27
+ */
28
+ 'id': number;
29
+ /**
30
+ * XML content of the bank order file
31
+ * @type {string}
32
+ * @memberof BankOrderXmlFileClass
33
+ */
34
+ 'xmlContent': string;
35
+ /**
36
+ * Original filename of the XML file
37
+ * @type {string}
38
+ * @memberof BankOrderXmlFileClass
39
+ */
40
+ 'fileName'?: string;
41
+ /**
42
+ * MIME type of the file
43
+ * @type {string}
44
+ * @memberof BankOrderXmlFileClass
45
+ */
46
+ 'mimeType'?: string;
47
+ /**
48
+ * Size of the file in bytes
49
+ * @type {number}
50
+ * @memberof BankOrderXmlFileClass
51
+ */
52
+ 'fileSize'?: number;
53
+ /**
54
+ * Timestamp when the record was created
55
+ * @type {string}
56
+ * @memberof BankOrderXmlFileClass
57
+ */
58
+ 'createdAt': string;
59
+ /**
60
+ * Timestamp when the record was last updated
61
+ * @type {string}
62
+ * @memberof BankOrderXmlFileClass
63
+ */
64
+ 'updatedAt': string;
65
+ /**
66
+ * User ID who created the record
67
+ * @type {string}
68
+ * @memberof BankOrderXmlFileClass
69
+ */
70
+ 'createdBy': string;
71
+ /**
72
+ * User ID who last updated the record
73
+ * @type {string}
74
+ * @memberof BankOrderXmlFileClass
75
+ */
76
+ 'updatedBy': string;
77
+ }
78
+
@@ -13,6 +13,7 @@
13
13
  */
14
14
 
15
15
 
16
+ import { BankOrderClass } from './bank-order-class';
16
17
 
17
18
  /**
18
19
  *
@@ -50,6 +51,12 @@ export interface BankTransactionClassWithoutExpandProperties {
50
51
  * @memberof BankTransactionClassWithoutExpandProperties
51
52
  */
52
53
  'messageReference'?: string;
54
+ /**
55
+ * Label of the transaction
56
+ * @type {string}
57
+ * @memberof BankTransactionClassWithoutExpandProperties
58
+ */
59
+ 'label'?: BankTransactionClassWithoutExpandPropertiesLabelEnum;
53
60
  /**
54
61
  * Currency of the transaction.
55
62
  * @type {string}
@@ -86,30 +93,18 @@ export interface BankTransactionClassWithoutExpandProperties {
86
93
  * @memberof BankTransactionClassWithoutExpandProperties
87
94
  */
88
95
  'metadata'?: object;
89
- /**
90
- * The id of the PSP transaction that this bank transaction is linked to
91
- * @type {number}
92
- * @memberof BankTransactionClassWithoutExpandProperties
93
- */
94
- 'linkedTransactionId'?: number;
95
- /**
96
- * The code of the invoice that this bank transaction is linked to
97
- * @type {string}
98
- * @memberof BankTransactionClassWithoutExpandProperties
99
- */
100
- 'linkedInvoiceCode'?: string;
101
- /**
102
- * The identifying invoice number that this bank transaction is linked to
103
- * @type {string}
104
- * @memberof BankTransactionClassWithoutExpandProperties
105
- */
106
- 'linkedInvoiceNumber'?: string;
107
96
  /**
108
97
  * Boolean flag to indicate if the bank transaction is linked to an invoice - defaults to false
109
98
  * @type {boolean}
110
99
  * @memberof BankTransactionClassWithoutExpandProperties
111
100
  */
112
101
  'isLinked': boolean;
102
+ /**
103
+ * The linked bank order object
104
+ * @type {BankOrderClass}
105
+ * @memberof BankTransactionClassWithoutExpandProperties
106
+ */
107
+ 'linkedBankOrder'?: BankOrderClass;
113
108
  /**
114
109
  * The file format of the bank transaction
115
110
  * @type {string}
@@ -136,3 +131,11 @@ export interface BankTransactionClassWithoutExpandProperties {
136
131
  'updatedBy': string;
137
132
  }
138
133
 
134
+ export const BankTransactionClassWithoutExpandPropertiesLabelEnum = {
135
+ Automated: 'automated',
136
+ Manual: 'manual'
137
+ } as const;
138
+
139
+ export type BankTransactionClassWithoutExpandPropertiesLabelEnum = typeof BankTransactionClassWithoutExpandPropertiesLabelEnum[keyof typeof BankTransactionClassWithoutExpandPropertiesLabelEnum];
140
+
141
+
@@ -13,8 +13,9 @@
13
13
  */
14
14
 
15
15
 
16
+ import { BankOrderClass } from './bank-order-class';
17
+ import { BankTransactionInvoiceClass } from './bank-transaction-invoice-class';
16
18
  import { InvoiceMatchSuggestionClass } from './invoice-match-suggestion-class';
17
- import { SharedTransactionClass } from './shared-transaction-class';
18
19
  import { SuggestionGenerationProgressClass } from './suggestion-generation-progress-class';
19
20
  import { TenantBankAccountClassWithoutExpandProperties } from './tenant-bank-account-class-without-expand-properties';
20
21
 
@@ -54,6 +55,12 @@ export interface BankTransactionClass {
54
55
  * @memberof BankTransactionClass
55
56
  */
56
57
  'messageReference'?: string;
58
+ /**
59
+ * Label of the transaction
60
+ * @type {string}
61
+ * @memberof BankTransactionClass
62
+ */
63
+ 'label'?: BankTransactionClassLabelEnum;
57
64
  /**
58
65
  * Currency of the transaction.
59
66
  * @type {string}
@@ -90,30 +97,18 @@ export interface BankTransactionClass {
90
97
  * @memberof BankTransactionClass
91
98
  */
92
99
  'metadata'?: object;
93
- /**
94
- * The id of the PSP transaction that this bank transaction is linked to
95
- * @type {number}
96
- * @memberof BankTransactionClass
97
- */
98
- 'linkedTransactionId'?: number;
99
- /**
100
- * The code of the invoice that this bank transaction is linked to
101
- * @type {string}
102
- * @memberof BankTransactionClass
103
- */
104
- 'linkedInvoiceCode'?: string;
105
- /**
106
- * The identifying invoice number that this bank transaction is linked to
107
- * @type {string}
108
- * @memberof BankTransactionClass
109
- */
110
- 'linkedInvoiceNumber'?: string;
111
100
  /**
112
101
  * Boolean flag to indicate if the bank transaction is linked to an invoice - defaults to false
113
102
  * @type {boolean}
114
103
  * @memberof BankTransactionClass
115
104
  */
116
105
  'isLinked': boolean;
106
+ /**
107
+ * The bank transaction invoices that this bank transaction is linked to
108
+ * @type {Array<BankTransactionInvoiceClass>}
109
+ * @memberof BankTransactionClass
110
+ */
111
+ 'bankTransactionInvoices'?: Array<BankTransactionInvoiceClass>;
117
112
  /**
118
113
  * The bank account object that this transaction is belongs to
119
114
  * @type {TenantBankAccountClassWithoutExpandProperties}
@@ -121,11 +116,11 @@ export interface BankTransactionClass {
121
116
  */
122
117
  'bankAccount'?: TenantBankAccountClassWithoutExpandProperties;
123
118
  /**
124
- * The linked transaction object
125
- * @type {SharedTransactionClass}
119
+ * The linked bank order object
120
+ * @type {BankOrderClass}
126
121
  * @memberof BankTransactionClass
127
122
  */
128
- 'linkedTransaction'?: SharedTransactionClass;
123
+ 'linkedBankOrder'?: BankOrderClass;
129
124
  /**
130
125
  * The file format of the bank transaction
131
126
  * @type {string}
@@ -164,3 +159,11 @@ export interface BankTransactionClass {
164
159
  'suggestionGenerationProgress'?: SuggestionGenerationProgressClass;
165
160
  }
166
161
 
162
+ export const BankTransactionClassLabelEnum = {
163
+ Automated: 'automated',
164
+ Manual: 'manual'
165
+ } as const;
166
+
167
+ export type BankTransactionClassLabelEnum = typeof BankTransactionClassLabelEnum[keyof typeof BankTransactionClassLabelEnum];
168
+
169
+
@@ -0,0 +1,66 @@
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 BankTransactionInvoiceClass
21
+ */
22
+ export interface BankTransactionInvoiceClass {
23
+ /**
24
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
25
+ * @type {number}
26
+ * @memberof BankTransactionInvoiceClass
27
+ */
28
+ 'id': number;
29
+ /**
30
+ * Unique identifier for the object.
31
+ * @type {string}
32
+ * @memberof BankTransactionInvoiceClass
33
+ */
34
+ 'code': string;
35
+ /**
36
+ * Bank transaction id
37
+ * @type {number}
38
+ * @memberof BankTransactionInvoiceClass
39
+ */
40
+ 'bankTransactionId': number;
41
+ /**
42
+ * Invoice code of the bank transaction invoice
43
+ * @type {string}
44
+ * @memberof BankTransactionInvoiceClass
45
+ */
46
+ 'invoiceCode': string;
47
+ /**
48
+ * Invoice number of the bank transaction invoice
49
+ * @type {string}
50
+ * @memberof BankTransactionInvoiceClass
51
+ */
52
+ 'invoiceNumber': string;
53
+ /**
54
+ * Linked transaction id of the bank transaction invoice
55
+ * @type {number}
56
+ * @memberof BankTransactionInvoiceClass
57
+ */
58
+ 'linkedTransactionId': number;
59
+ /**
60
+ * Time at which the object was created.
61
+ * @type {string}
62
+ * @memberof BankTransactionInvoiceClass
63
+ */
64
+ 'createdAt': string;
65
+ }
66
+
@@ -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 { BillingAddressDto } from './billing-address-dto';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface BankTransferDto
22
+ */
23
+ export interface BankTransferDto {
24
+ /**
25
+ * Billing address for the bank transfer payment method
26
+ * @type {BillingAddressDto}
27
+ * @memberof BankTransferDto
28
+ */
29
+ 'billingAddress': BillingAddressDto;
30
+ }
31
+
@@ -0,0 +1,60 @@
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 BillingAddressDto
21
+ */
22
+ export interface BillingAddressDto {
23
+ /**
24
+ * First name for billing address
25
+ * @type {string}
26
+ * @memberof BillingAddressDto
27
+ */
28
+ 'firstName': string;
29
+ /**
30
+ * Last name for billing address
31
+ * @type {string}
32
+ * @memberof BillingAddressDto
33
+ */
34
+ 'lastName': string;
35
+ /**
36
+ * Street name for billing address
37
+ * @type {string}
38
+ * @memberof BillingAddressDto
39
+ */
40
+ 'street': string;
41
+ /**
42
+ * House number for billing address
43
+ * @type {string}
44
+ * @memberof BillingAddressDto
45
+ */
46
+ 'houseNumber': string;
47
+ /**
48
+ * ZIP/Postal code for billing address
49
+ * @type {string}
50
+ * @memberof BillingAddressDto
51
+ */
52
+ 'zipCode': string;
53
+ /**
54
+ * City name for billing address
55
+ * @type {string}
56
+ * @memberof BillingAddressDto
57
+ */
58
+ 'city': string;
59
+ }
60
+
@@ -98,7 +98,9 @@ export const CompleteAdyenPaymentSetupRequestDtoPaymentMethodTypeEnum = {
98
98
  SamsungPay: 'samsung_pay',
99
99
  Venmo: 'venmo',
100
100
  Masterpass: 'masterpass',
101
- B4u: 'b4u'
101
+ B4u: 'b4u',
102
+ Invoice: 'invoice',
103
+ BankTransfer: 'bank_transfer'
102
104
  } as const;
103
105
 
104
106
  export type CompleteAdyenPaymentSetupRequestDtoPaymentMethodTypeEnum = typeof CompleteAdyenPaymentSetupRequestDtoPaymentMethodTypeEnum[keyof typeof CompleteAdyenPaymentSetupRequestDtoPaymentMethodTypeEnum];
@@ -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 CompleteEisPaymentSetupRequestDto
21
+ */
22
+ export interface CompleteEisPaymentSetupRequestDto {
23
+ /**
24
+ * Unique identifier of the account that this object belongs to.
25
+ * @type {string}
26
+ * @memberof CompleteEisPaymentSetupRequestDto
27
+ */
28
+ 'accountCode'?: string;
29
+ /**
30
+ * Unique identifier of the partner that this object belongs to.
31
+ * @type {string}
32
+ * @memberof CompleteEisPaymentSetupRequestDto
33
+ */
34
+ 'partnerCode'?: string;
35
+ /**
36
+ * Unique identifier of the lead that this object belongs to.
37
+ * @type {string}
38
+ * @memberof CompleteEisPaymentSetupRequestDto
39
+ */
40
+ 'leadCode'?: string;
41
+ }
42
+
@@ -15,6 +15,7 @@
15
15
 
16
16
  import { CompleteAdyenPaymentSetupRequestDto } from './complete-adyen-payment-setup-request-dto';
17
17
  import { CompleteBraintreePaymentSetupRequestDto } from './complete-braintree-payment-setup-request-dto';
18
+ import { CompleteEisPaymentSetupRequestDto } from './complete-eis-payment-setup-request-dto';
18
19
  import { CompleteStripePaymentSetupRequestDto } from './complete-stripe-payment-setup-request-dto';
19
20
 
20
21
  /**
@@ -47,5 +48,11 @@ export interface CompletePaymentSetupRequestDto {
47
48
  * @memberof CompletePaymentSetupRequestDto
48
49
  */
49
50
  'adyen'?: CompleteAdyenPaymentSetupRequestDto;
51
+ /**
52
+ *
53
+ * @type {CompleteEisPaymentSetupRequestDto}
54
+ * @memberof CompletePaymentSetupRequestDto
55
+ */
56
+ 'eis'?: CompleteEisPaymentSetupRequestDto;
50
57
  }
51
58
 
@@ -97,7 +97,9 @@ export const CompleteStripePaymentSetupRequestDtoPaymentMethodTypeEnum = {
97
97
  SamsungPay: 'samsung_pay',
98
98
  Venmo: 'venmo',
99
99
  Masterpass: 'masterpass',
100
- B4u: 'b4u'
100
+ B4u: 'b4u',
101
+ Invoice: 'invoice',
102
+ BankTransfer: 'bank_transfer'
101
103
  } as const;
102
104
 
103
105
  export type CompleteStripePaymentSetupRequestDtoPaymentMethodTypeEnum = typeof CompleteStripePaymentSetupRequestDtoPaymentMethodTypeEnum[keyof typeof CompleteStripePaymentSetupRequestDtoPaymentMethodTypeEnum];
@@ -26,12 +26,6 @@ export interface CreateBankOrderRequestDto {
26
26
  * @memberof CreateBankOrderRequestDto
27
27
  */
28
28
  'type': CreateBankOrderRequestDtoTypeEnum;
29
- /**
30
- * Amount associated with bank order.
31
- * @type {number}
32
- * @memberof CreateBankOrderRequestDto
33
- */
34
- 'amount': number;
35
29
  /**
36
30
  * Status associated with bank order.
37
31
  * @type {string}
@@ -45,11 +39,11 @@ export interface CreateBankOrderRequestDto {
45
39
  */
46
40
  'description'?: string;
47
41
  /**
48
- * Bank account identifier associated with the bank order.
49
- * @type {number}
42
+ * Financial account code associated with the bank order.
43
+ * @type {string}
50
44
  * @memberof CreateBankOrderRequestDto
51
45
  */
52
- 'bankAccountId': number;
46
+ 'financialAccountCode': string;
53
47
  /**
54
48
  * List of invoice IDs associated with bank order.
55
49
  * @type {Array<number>}
@@ -62,6 +56,12 @@ export interface CreateBankOrderRequestDto {
62
56
  * @memberof CreateBankOrderRequestDto
63
57
  */
64
58
  'executionDate': string;
59
+ /**
60
+ * Latest due date.
61
+ * @type {string}
62
+ * @memberof CreateBankOrderRequestDto
63
+ */
64
+ 'dueDate': string;
65
65
  }
66
66
 
67
67
  export const CreateBankOrderRequestDtoTypeEnum = {
@@ -0,0 +1,54 @@
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 CreatePaymentOrderDto
21
+ */
22
+ export interface CreatePaymentOrderDto {
23
+ /**
24
+ * Invoice referenced in this payment order.
25
+ * @type {number}
26
+ * @memberof CreatePaymentOrderDto
27
+ */
28
+ 'invoiceId': number;
29
+ /**
30
+ * Optional comment.
31
+ * @type {string}
32
+ * @memberof CreatePaymentOrderDto
33
+ */
34
+ 'comment'?: string;
35
+ /**
36
+ * Optional payment date.
37
+ * @type {string}
38
+ * @memberof CreatePaymentOrderDto
39
+ */
40
+ 'receivedDate'?: string;
41
+ /**
42
+ * Optional reference number.
43
+ * @type {string}
44
+ * @memberof CreatePaymentOrderDto
45
+ */
46
+ 'referenceNumber'?: string;
47
+ /**
48
+ * Optional field contain extra information.
49
+ * @type {object}
50
+ * @memberof CreatePaymentOrderDto
51
+ */
52
+ 'metadata': object;
53
+ }
54
+
@@ -0,0 +1,54 @@
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 CreatePaymentOrderRequestDto
21
+ */
22
+ export interface CreatePaymentOrderRequestDto {
23
+ /**
24
+ *
25
+ * @type {number}
26
+ * @memberof CreatePaymentOrderRequestDto
27
+ */
28
+ 'invoiceId': number;
29
+ /**
30
+ *
31
+ * @type {string}
32
+ * @memberof CreatePaymentOrderRequestDto
33
+ */
34
+ 'comment'?: string;
35
+ /**
36
+ *
37
+ * @type {string}
38
+ * @memberof CreatePaymentOrderRequestDto
39
+ */
40
+ 'receivedDate'?: string;
41
+ /**
42
+ *
43
+ * @type {string}
44
+ * @memberof CreatePaymentOrderRequestDto
45
+ */
46
+ 'referenceNumber'?: string;
47
+ /**
48
+ *
49
+ * @type {object}
50
+ * @memberof CreatePaymentOrderRequestDto
51
+ */
52
+ 'metadata': object;
53
+ }
54
+