@emilgroup/payment-sdk 1.14.1-beta.7 → 1.14.1-beta.70

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 (151) hide show
  1. package/.openapi-generator/FILES +32 -1
  2. package/README.md +2 -2
  3. package/api/bank-orders-api.ts +24 -24
  4. package/api/billing-addresses-api.ts +677 -0
  5. package/api/credit-allocation-api.ts +456 -0
  6. package/api/payout-methods-api.ts +672 -0
  7. package/api/policy-payment-methods-api.ts +118 -0
  8. package/api/tenant-bank-account-api.ts +8 -8
  9. package/api.ts +6 -0
  10. package/base.ts +4 -0
  11. package/dist/api/bank-accounts-api.d.ts +6 -6
  12. package/dist/api/bank-orders-api.d.ts +29 -29
  13. package/dist/api/bank-orders-api.js +18 -18
  14. package/dist/api/bank-transaction-api.d.ts +6 -6
  15. package/dist/api/billing-addresses-api.d.ts +384 -0
  16. package/dist/api/billing-addresses-api.js +636 -0
  17. package/dist/api/credit-allocation-api.d.ts +263 -0
  18. package/dist/api/credit-allocation-api.js +445 -0
  19. package/dist/api/exceeding-credits-api.d.ts +2 -2
  20. package/dist/api/health-check-api.d.ts +1 -1
  21. package/dist/api/payment-methods-api.d.ts +3 -3
  22. package/dist/api/payment-reminders-api.d.ts +4 -4
  23. package/dist/api/payment-setup-api.d.ts +2 -2
  24. package/dist/api/payments-api.d.ts +4 -4
  25. package/dist/api/payout-methods-api.d.ts +382 -0
  26. package/dist/api/payout-methods-api.js +635 -0
  27. package/dist/api/policy-payment-methods-api.d.ts +67 -2
  28. package/dist/api/policy-payment-methods-api.js +99 -0
  29. package/dist/api/refunds-api.d.ts +3 -3
  30. package/dist/api/tenant-bank-account-api.d.ts +13 -13
  31. package/dist/api/tenant-bank-account-api.js +6 -6
  32. package/dist/api/webhooks-api.d.ts +1 -1
  33. package/dist/api.d.ts +3 -0
  34. package/dist/api.js +3 -0
  35. package/dist/base.js +3 -1
  36. package/dist/common.d.ts +1 -1
  37. package/dist/models/activate-policy-payment-method-request-dto.d.ts +24 -0
  38. package/dist/models/activate-policy-payment-method-request-dto.js +15 -0
  39. package/dist/models/bank-order-class.d.ts +9 -9
  40. package/dist/models/bank-order-entity.d.ts +156 -0
  41. package/dist/models/bank-order-entity.js +29 -0
  42. package/dist/models/bank-order-xml-file-entity.d.ts +85 -0
  43. package/dist/models/bank-order-xml-file-entity.js +15 -0
  44. package/dist/models/bank-transaction-entity.d.ts +179 -0
  45. package/dist/models/{financial-account-class.js → bank-transaction-entity.js} +4 -8
  46. package/dist/models/bank-transaction-invoice-entity.d.ts +98 -0
  47. package/dist/models/bank-transaction-invoice-entity.js +15 -0
  48. package/dist/models/billing-address-class.d.ts +108 -0
  49. package/dist/models/billing-address-class.js +15 -0
  50. package/dist/models/billing-address-dto.d.ts +6 -0
  51. package/dist/models/create-bank-order-request-dto.d.ts +6 -5
  52. package/dist/models/create-bank-order-request-dto.js +2 -1
  53. package/dist/models/create-billing-address-request-dto.d.ts +66 -0
  54. package/dist/models/create-billing-address-request-dto.js +15 -0
  55. package/dist/models/create-billing-address-response-class.d.ts +25 -0
  56. package/dist/models/create-billing-address-response-class.js +15 -0
  57. package/dist/models/create-credit-allocation-request-dto.d.ts +54 -0
  58. package/dist/models/create-credit-allocation-request-dto.js +21 -0
  59. package/dist/models/create-credit-allocation-response-class.d.ts +25 -0
  60. package/dist/models/create-credit-allocation-response-class.js +15 -0
  61. package/dist/models/create-payout-method-request-dto.d.ts +60 -0
  62. package/dist/models/create-payout-method-request-dto.js +15 -0
  63. package/dist/models/create-payout-method-response-class.d.ts +25 -0
  64. package/dist/models/create-payout-method-response-class.js +15 -0
  65. package/dist/models/create-tenant-bank-account-request-dto.d.ts +57 -1
  66. package/dist/models/create-tenant-bank-account-request-dto.js +8 -0
  67. package/dist/models/credit-allocation-class.d.ts +115 -0
  68. package/dist/models/credit-allocation-class.js +21 -0
  69. package/dist/models/credit-allocation-entity.d.ts +135 -0
  70. package/dist/models/credit-allocation-entity.js +34 -0
  71. package/dist/models/exceeding-credit-class.d.ts +6 -0
  72. package/dist/models/exceeding-credit-entity.d.ts +148 -0
  73. package/dist/models/exceeding-credit-entity.js +29 -0
  74. package/dist/models/get-billing-address-response-class.d.ts +25 -0
  75. package/dist/models/get-billing-address-response-class.js +15 -0
  76. package/dist/models/get-credit-allocation-response-class.d.ts +25 -0
  77. package/dist/models/get-credit-allocation-response-class.js +15 -0
  78. package/dist/models/get-payout-method-response-class.d.ts +25 -0
  79. package/dist/models/get-payout-method-response-class.js +15 -0
  80. package/dist/models/index.d.ts +29 -1
  81. package/dist/models/index.js +29 -1
  82. package/dist/models/invoice-match-suggestion-entity.d.ts +103 -0
  83. package/dist/models/invoice-match-suggestion-entity.js +15 -0
  84. package/dist/models/list-billing-addresses-response-class.d.ts +43 -0
  85. package/dist/models/list-billing-addresses-response-class.js +15 -0
  86. package/dist/models/list-credit-allocations-response-class.d.ts +43 -0
  87. package/dist/models/list-credit-allocations-response-class.js +15 -0
  88. package/dist/models/list-payout-methods-response-class.d.ts +43 -0
  89. package/dist/models/list-payout-methods-response-class.js +15 -0
  90. package/dist/models/payment-entity.d.ts +133 -0
  91. package/dist/models/payment-entity.js +15 -0
  92. package/dist/models/payout-method-class.d.ts +115 -0
  93. package/dist/models/payout-method-class.js +15 -0
  94. package/dist/models/suggestion-generation-progress-entity.d.ts +86 -0
  95. package/dist/models/suggestion-generation-progress-entity.js +22 -0
  96. package/dist/models/tenant-bank-account-class-without-expand-properties.d.ts +56 -0
  97. package/dist/models/tenant-bank-account-class-without-expand-properties.js +8 -0
  98. package/dist/models/tenant-bank-account-class.d.ts +56 -0
  99. package/dist/models/tenant-bank-account-class.js +8 -0
  100. package/dist/models/tenant-bank-account-entity.d.ts +153 -0
  101. package/dist/models/tenant-bank-account-entity.js +23 -0
  102. package/dist/models/transaction-entity.d.ts +112 -0
  103. package/dist/models/transaction-entity.js +23 -0
  104. package/dist/models/update-bank-order-request-dto.d.ts +5 -5
  105. package/dist/models/update-billing-address-request-dto.d.ts +66 -0
  106. package/dist/models/update-billing-address-request-dto.js +15 -0
  107. package/dist/models/update-billing-address-response-class.d.ts +25 -0
  108. package/dist/models/update-billing-address-response-class.js +15 -0
  109. package/dist/models/update-tenant-bank-account-rest-request-dto.d.ts +57 -1
  110. package/dist/models/update-tenant-bank-account-rest-request-dto.js +8 -0
  111. package/models/activate-policy-payment-method-request-dto.ts +30 -0
  112. package/models/bank-order-class.ts +9 -9
  113. package/models/bank-order-entity.ts +166 -0
  114. package/models/bank-order-xml-file-entity.ts +91 -0
  115. package/models/bank-transaction-entity.ts +188 -0
  116. package/models/bank-transaction-invoice-entity.ts +104 -0
  117. package/models/billing-address-class.ts +114 -0
  118. package/models/billing-address-dto.ts +6 -0
  119. package/models/create-bank-order-request-dto.ts +7 -6
  120. package/models/create-billing-address-request-dto.ts +72 -0
  121. package/models/create-billing-address-response-class.ts +31 -0
  122. package/models/create-credit-allocation-request-dto.ts +63 -0
  123. package/models/create-credit-allocation-response-class.ts +31 -0
  124. package/models/create-payout-method-request-dto.ts +66 -0
  125. package/models/create-payout-method-response-class.ts +31 -0
  126. package/models/create-tenant-bank-account-request-dto.ts +60 -1
  127. package/models/credit-allocation-class.ts +124 -0
  128. package/models/credit-allocation-entity.ts +145 -0
  129. package/models/exceeding-credit-class.ts +6 -0
  130. package/models/exceeding-credit-entity.ts +157 -0
  131. package/models/get-billing-address-response-class.ts +31 -0
  132. package/models/get-credit-allocation-response-class.ts +31 -0
  133. package/models/get-payout-method-response-class.ts +31 -0
  134. package/models/index.ts +29 -1
  135. package/models/invoice-match-suggestion-entity.ts +109 -0
  136. package/models/list-billing-addresses-response-class.ts +49 -0
  137. package/models/list-credit-allocations-response-class.ts +49 -0
  138. package/models/list-payout-methods-response-class.ts +49 -0
  139. package/models/payment-entity.ts +139 -0
  140. package/models/{financial-account-class.ts → payout-method-class.ts} +48 -47
  141. package/models/suggestion-generation-progress-entity.ts +95 -0
  142. package/models/tenant-bank-account-class-without-expand-properties.ts +59 -0
  143. package/models/tenant-bank-account-class.ts +59 -0
  144. package/models/tenant-bank-account-entity.ts +162 -0
  145. package/models/transaction-entity.ts +121 -0
  146. package/models/update-bank-order-request-dto.ts +5 -5
  147. package/models/update-billing-address-request-dto.ts +72 -0
  148. package/models/update-billing-address-response-class.ts +31 -0
  149. package/models/update-tenant-bank-account-rest-request-dto.ts +60 -1
  150. package/package.json +2 -2
  151. package/dist/models/financial-account-class.d.ts +0 -111
@@ -0,0 +1,109 @@
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 { BankTransactionEntity } from './bank-transaction-entity';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface InvoiceMatchSuggestionEntity
22
+ */
23
+ export interface InvoiceMatchSuggestionEntity {
24
+ /**
25
+ *
26
+ * @type {number}
27
+ * @memberof InvoiceMatchSuggestionEntity
28
+ */
29
+ 'id': number;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof InvoiceMatchSuggestionEntity
34
+ */
35
+ 'code': string;
36
+ /**
37
+ *
38
+ * @type {number}
39
+ * @memberof InvoiceMatchSuggestionEntity
40
+ */
41
+ 'bankTransactionId': number;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof InvoiceMatchSuggestionEntity
46
+ */
47
+ 'invoiceCode': string;
48
+ /**
49
+ *
50
+ * @type {string}
51
+ * @memberof InvoiceMatchSuggestionEntity
52
+ */
53
+ 'invoiceNumber': string;
54
+ /**
55
+ *
56
+ * @type {number}
57
+ * @memberof InvoiceMatchSuggestionEntity
58
+ */
59
+ 'confidenceScore': number;
60
+ /**
61
+ *
62
+ * @type {object}
63
+ * @memberof InvoiceMatchSuggestionEntity
64
+ */
65
+ 'matchCriteria'?: object;
66
+ /**
67
+ *
68
+ * @type {string}
69
+ * @memberof InvoiceMatchSuggestionEntity
70
+ */
71
+ 'strategy': string;
72
+ /**
73
+ *
74
+ * @type {string}
75
+ * @memberof InvoiceMatchSuggestionEntity
76
+ */
77
+ 'owner': string;
78
+ /**
79
+ *
80
+ * @type {string}
81
+ * @memberof InvoiceMatchSuggestionEntity
82
+ */
83
+ 'tenantHierarchy': string;
84
+ /**
85
+ *
86
+ * @type {BankTransactionEntity}
87
+ * @memberof InvoiceMatchSuggestionEntity
88
+ */
89
+ 'bankTransaction': BankTransactionEntity;
90
+ /**
91
+ *
92
+ * @type {string}
93
+ * @memberof InvoiceMatchSuggestionEntity
94
+ */
95
+ 'createdAt': string;
96
+ /**
97
+ *
98
+ * @type {string}
99
+ * @memberof InvoiceMatchSuggestionEntity
100
+ */
101
+ 'updatedAt': string;
102
+ /**
103
+ *
104
+ * @type {string}
105
+ * @memberof InvoiceMatchSuggestionEntity
106
+ */
107
+ 'deletedAt': string;
108
+ }
109
+
@@ -0,0 +1,49 @@
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 ListBillingAddressesResponseClass
22
+ */
23
+ export interface ListBillingAddressesResponseClass {
24
+ /**
25
+ * The billing addresses
26
+ * @type {Array<BillingAddressClass>}
27
+ * @memberof ListBillingAddressesResponseClass
28
+ */
29
+ 'items': Array<BillingAddressClass>;
30
+ /**
31
+ * Next page token.
32
+ * @type {string}
33
+ * @memberof ListBillingAddressesResponseClass
34
+ */
35
+ 'nextPageToken': string;
36
+ /**
37
+ * Items per page.
38
+ * @type {number}
39
+ * @memberof ListBillingAddressesResponseClass
40
+ */
41
+ 'itemsPerPage': number;
42
+ /**
43
+ * Total amount of items.
44
+ * @type {number}
45
+ * @memberof ListBillingAddressesResponseClass
46
+ */
47
+ 'totalItems': number;
48
+ }
49
+
@@ -0,0 +1,49 @@
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 { CreditAllocationClass } from './credit-allocation-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface ListCreditAllocationsResponseClass
22
+ */
23
+ export interface ListCreditAllocationsResponseClass {
24
+ /**
25
+ * List of credit allocation entries.
26
+ * @type {Array<CreditAllocationClass>}
27
+ * @memberof ListCreditAllocationsResponseClass
28
+ */
29
+ 'items': Array<CreditAllocationClass>;
30
+ /**
31
+ * Next page token for pagination.
32
+ * @type {string}
33
+ * @memberof ListCreditAllocationsResponseClass
34
+ */
35
+ 'nextPageToken': string;
36
+ /**
37
+ * Number of items per page.
38
+ * @type {number}
39
+ * @memberof ListCreditAllocationsResponseClass
40
+ */
41
+ 'itemsPerPage': number;
42
+ /**
43
+ * Total number of items.
44
+ * @type {number}
45
+ * @memberof ListCreditAllocationsResponseClass
46
+ */
47
+ 'totalItems': number;
48
+ }
49
+
@@ -0,0 +1,49 @@
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 { PayoutMethodClass } from './payout-method-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface ListPayoutMethodsResponseClass
22
+ */
23
+ export interface ListPayoutMethodsResponseClass {
24
+ /**
25
+ * The payout methods
26
+ * @type {Array<PayoutMethodClass>}
27
+ * @memberof ListPayoutMethodsResponseClass
28
+ */
29
+ 'items': Array<PayoutMethodClass>;
30
+ /**
31
+ * Next page token.
32
+ * @type {string}
33
+ * @memberof ListPayoutMethodsResponseClass
34
+ */
35
+ 'nextPageToken': string;
36
+ /**
37
+ * Items per page.
38
+ * @type {number}
39
+ * @memberof ListPayoutMethodsResponseClass
40
+ */
41
+ 'itemsPerPage': number;
42
+ /**
43
+ * Total amount of items.
44
+ * @type {number}
45
+ * @memberof ListPayoutMethodsResponseClass
46
+ */
47
+ 'totalItems': number;
48
+ }
49
+
@@ -0,0 +1,139 @@
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 { TransactionEntity } from './transaction-entity';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface PaymentEntity
22
+ */
23
+ export interface PaymentEntity {
24
+ /**
25
+ *
26
+ * @type {number}
27
+ * @memberof PaymentEntity
28
+ */
29
+ 'id': number;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof PaymentEntity
34
+ */
35
+ 'owner': string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof PaymentEntity
40
+ */
41
+ 'psp': string;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof PaymentEntity
46
+ */
47
+ 'code': string;
48
+ /**
49
+ *
50
+ * @type {string}
51
+ * @memberof PaymentEntity
52
+ */
53
+ 'accountCode'?: string;
54
+ /**
55
+ *
56
+ * @type {string}
57
+ * @memberof PaymentEntity
58
+ */
59
+ 'partnerCode'?: string;
60
+ /**
61
+ *
62
+ * @type {string}
63
+ * @memberof PaymentEntity
64
+ */
65
+ 'productSlug': string;
66
+ /**
67
+ *
68
+ * @type {number}
69
+ * @memberof PaymentEntity
70
+ */
71
+ 'amount': number;
72
+ /**
73
+ *
74
+ * @type {string}
75
+ * @memberof PaymentEntity
76
+ */
77
+ 'currency': string;
78
+ /**
79
+ *
80
+ * @type {Array<number>}
81
+ * @memberof PaymentEntity
82
+ */
83
+ 'invoiceIds': Array<number>;
84
+ /**
85
+ *
86
+ * @type {Array<TransactionEntity>}
87
+ * @memberof PaymentEntity
88
+ */
89
+ 'transactions': Array<TransactionEntity>;
90
+ /**
91
+ *
92
+ * @type {object}
93
+ * @memberof PaymentEntity
94
+ */
95
+ 'metadata': object;
96
+ /**
97
+ *
98
+ * @type {string}
99
+ * @memberof PaymentEntity
100
+ */
101
+ 'tenantHierarchy': string;
102
+ /**
103
+ *
104
+ * @type {string}
105
+ * @memberof PaymentEntity
106
+ */
107
+ 'receivedDate': string;
108
+ /**
109
+ *
110
+ * @type {string}
111
+ * @memberof PaymentEntity
112
+ */
113
+ 'referenceNumber'?: string;
114
+ /**
115
+ *
116
+ * @type {string}
117
+ * @memberof PaymentEntity
118
+ */
119
+ 'comment'?: string;
120
+ /**
121
+ *
122
+ * @type {string}
123
+ * @memberof PaymentEntity
124
+ */
125
+ 'createdAt': string;
126
+ /**
127
+ *
128
+ * @type {string}
129
+ * @memberof PaymentEntity
130
+ */
131
+ 'deletedAt'?: string;
132
+ /**
133
+ *
134
+ * @type {string}
135
+ * @memberof PaymentEntity
136
+ */
137
+ 'ern': string;
138
+ }
139
+
@@ -13,108 +13,109 @@
13
13
  */
14
14
 
15
15
 
16
+ import { BillingAddressClass } from './billing-address-class';
16
17
 
17
18
  /**
18
19
  *
19
20
  * @export
20
- * @interface FinancialAccountClass
21
+ * @interface PayoutMethodClass
21
22
  */
22
- export interface FinancialAccountClass {
23
+ export interface PayoutMethodClass {
23
24
  /**
24
25
  * Internal unique identifier for the object. You should not have to use this, use code instead.
25
26
  * @type {number}
26
- * @memberof FinancialAccountClass
27
+ * @memberof PayoutMethodClass
27
28
  */
28
29
  'id': number;
29
30
  /**
30
31
  * Unique identifier for the object.
31
32
  * @type {string}
32
- * @memberof FinancialAccountClass
33
+ * @memberof PayoutMethodClass
33
34
  */
34
35
  'code': string;
35
36
  /**
36
- * The name of the account.
37
+ * First name
37
38
  * @type {string}
38
- * @memberof FinancialAccountClass
39
+ * @memberof PayoutMethodClass
39
40
  */
40
- 'name': string;
41
+ 'firstName': string;
41
42
  /**
42
- * The financial account number.
43
+ * Last name
43
44
  * @type {string}
44
- * @memberof FinancialAccountClass
45
+ * @memberof PayoutMethodClass
45
46
  */
46
- 'financialAccountNumber': string;
47
+ 'lastName': string;
47
48
  /**
48
- * The ID of the parent account, if any.
49
- * @type {number}
50
- * @memberof FinancialAccountClass
49
+ * IBAN
50
+ * @type {string}
51
+ * @memberof PayoutMethodClass
51
52
  */
52
- 'parentId': number;
53
+ 'iban': string;
53
54
  /**
54
- * The partner number of the account.
55
+ * BIC
55
56
  * @type {string}
56
- * @memberof FinancialAccountClass
57
+ * @memberof PayoutMethodClass
57
58
  */
58
- 'partnerNumber': string;
59
+ 'bic': string;
59
60
  /**
60
- * The type of account, e.g. \"Asset\", \"Liability\", \"Equity\", \"Revenue\", \"Expense\".
61
+ * Bank name
61
62
  * @type {string}
62
- * @memberof FinancialAccountClass
63
+ * @memberof PayoutMethodClass
63
64
  */
64
- 'type': FinancialAccountClassTypeEnum;
65
+ 'bankName': string;
65
66
  /**
66
- * Metadata about the object.
67
- * @type {object}
68
- * @memberof FinancialAccountClass
67
+ * Whether the payout method is active
68
+ * @type {boolean}
69
+ * @memberof PayoutMethodClass
69
70
  */
70
- 'customFields': object;
71
+ 'isActive': boolean;
71
72
  /**
72
- * The description of the account.
73
+ * Billing address code
73
74
  * @type {string}
74
- * @memberof FinancialAccountClass
75
+ * @memberof PayoutMethodClass
75
76
  */
76
- 'description': string;
77
+ 'billingAddressCode': string;
77
78
  /**
78
- * Whether the account is clearable.
79
- * @type {boolean}
80
- * @memberof FinancialAccountClass
79
+ * Unique identifier of the account that this object belongs to.
80
+ * @type {string}
81
+ * @memberof PayoutMethodClass
81
82
  */
82
- 'clearable': boolean;
83
+ 'accountCode': string;
84
+ /**
85
+ * Unique identifier of the partner that this object belongs to.
86
+ * @type {string}
87
+ * @memberof PayoutMethodClass
88
+ */
89
+ 'partnerCode': string;
90
+ /**
91
+ * Billing address
92
+ * @type {BillingAddressClass}
93
+ * @memberof PayoutMethodClass
94
+ */
95
+ 'billingAddress'?: BillingAddressClass;
83
96
  /**
84
97
  * Time at which the object was created.
85
98
  * @type {string}
86
- * @memberof FinancialAccountClass
99
+ * @memberof PayoutMethodClass
87
100
  */
88
101
  'createdAt': string;
89
102
  /**
90
103
  * Time at which the object was updated.
91
104
  * @type {string}
92
- * @memberof FinancialAccountClass
105
+ * @memberof PayoutMethodClass
93
106
  */
94
107
  'updatedAt': string;
95
108
  /**
96
109
  * Identifier of the user who created the record.
97
110
  * @type {string}
98
- * @memberof FinancialAccountClass
111
+ * @memberof PayoutMethodClass
99
112
  */
100
113
  'createdBy': string;
101
114
  /**
102
115
  * Identifier of the user who last updated the record.
103
116
  * @type {string}
104
- * @memberof FinancialAccountClass
117
+ * @memberof PayoutMethodClass
105
118
  */
106
119
  'updatedBy': string;
107
120
  }
108
121
 
109
- export const FinancialAccountClassTypeEnum = {
110
- Asset: 'asset',
111
- Liability: 'liability',
112
- Equity: 'equity',
113
- Revenue: 'revenue',
114
- Expense: 'expense',
115
- OpeningBalance: 'opening_balance'
116
- } as const;
117
-
118
- export type FinancialAccountClassTypeEnum = typeof FinancialAccountClassTypeEnum[keyof typeof FinancialAccountClassTypeEnum];
119
-
120
-
@@ -0,0 +1,95 @@
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 { BankTransactionEntity } from './bank-transaction-entity';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface SuggestionGenerationProgressEntity
22
+ */
23
+ export interface SuggestionGenerationProgressEntity {
24
+ /**
25
+ *
26
+ * @type {number}
27
+ * @memberof SuggestionGenerationProgressEntity
28
+ */
29
+ 'id': number;
30
+ /**
31
+ *
32
+ * @type {number}
33
+ * @memberof SuggestionGenerationProgressEntity
34
+ */
35
+ 'bankTransactionId': number;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof SuggestionGenerationProgressEntity
40
+ */
41
+ 'status': SuggestionGenerationProgressEntityStatusEnum;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof SuggestionGenerationProgressEntity
46
+ */
47
+ 'errorMessage'?: string;
48
+ /**
49
+ *
50
+ * @type {string}
51
+ * @memberof SuggestionGenerationProgressEntity
52
+ */
53
+ 'owner': string;
54
+ /**
55
+ *
56
+ * @type {string}
57
+ * @memberof SuggestionGenerationProgressEntity
58
+ */
59
+ 'tenantHierarchy': string;
60
+ /**
61
+ *
62
+ * @type {BankTransactionEntity}
63
+ * @memberof SuggestionGenerationProgressEntity
64
+ */
65
+ 'bankTransaction': BankTransactionEntity;
66
+ /**
67
+ *
68
+ * @type {string}
69
+ * @memberof SuggestionGenerationProgressEntity
70
+ */
71
+ 'createdAt': string;
72
+ /**
73
+ *
74
+ * @type {string}
75
+ * @memberof SuggestionGenerationProgressEntity
76
+ */
77
+ 'updatedAt': string;
78
+ /**
79
+ *
80
+ * @type {string}
81
+ * @memberof SuggestionGenerationProgressEntity
82
+ */
83
+ 'deletedAt': string;
84
+ }
85
+
86
+ export const SuggestionGenerationProgressEntityStatusEnum = {
87
+ Pending: 'pending',
88
+ Processing: 'processing',
89
+ Completed: 'completed',
90
+ Failed: 'failed'
91
+ } as const;
92
+
93
+ export type SuggestionGenerationProgressEntityStatusEnum = typeof SuggestionGenerationProgressEntityStatusEnum[keyof typeof SuggestionGenerationProgressEntityStatusEnum];
94
+
95
+