@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,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,86 @@
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 { BankTransactionEntity } from './bank-transaction-entity';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface SuggestionGenerationProgressEntity
17
+ */
18
+ export interface SuggestionGenerationProgressEntity {
19
+ /**
20
+ *
21
+ * @type {number}
22
+ * @memberof SuggestionGenerationProgressEntity
23
+ */
24
+ 'id': number;
25
+ /**
26
+ *
27
+ * @type {number}
28
+ * @memberof SuggestionGenerationProgressEntity
29
+ */
30
+ 'bankTransactionId': number;
31
+ /**
32
+ *
33
+ * @type {string}
34
+ * @memberof SuggestionGenerationProgressEntity
35
+ */
36
+ 'status': SuggestionGenerationProgressEntityStatusEnum;
37
+ /**
38
+ *
39
+ * @type {string}
40
+ * @memberof SuggestionGenerationProgressEntity
41
+ */
42
+ 'errorMessage'?: string;
43
+ /**
44
+ *
45
+ * @type {string}
46
+ * @memberof SuggestionGenerationProgressEntity
47
+ */
48
+ 'owner': string;
49
+ /**
50
+ *
51
+ * @type {string}
52
+ * @memberof SuggestionGenerationProgressEntity
53
+ */
54
+ 'tenantHierarchy': string;
55
+ /**
56
+ *
57
+ * @type {BankTransactionEntity}
58
+ * @memberof SuggestionGenerationProgressEntity
59
+ */
60
+ 'bankTransaction': BankTransactionEntity;
61
+ /**
62
+ *
63
+ * @type {string}
64
+ * @memberof SuggestionGenerationProgressEntity
65
+ */
66
+ 'createdAt': string;
67
+ /**
68
+ *
69
+ * @type {string}
70
+ * @memberof SuggestionGenerationProgressEntity
71
+ */
72
+ 'updatedAt': string;
73
+ /**
74
+ *
75
+ * @type {string}
76
+ * @memberof SuggestionGenerationProgressEntity
77
+ */
78
+ 'deletedAt': string;
79
+ }
80
+ export declare const SuggestionGenerationProgressEntityStatusEnum: {
81
+ readonly Pending: "pending";
82
+ readonly Processing: "processing";
83
+ readonly Completed: "completed";
84
+ readonly Failed: "failed";
85
+ };
86
+ export type SuggestionGenerationProgressEntityStatusEnum = typeof SuggestionGenerationProgressEntityStatusEnum[keyof typeof SuggestionGenerationProgressEntityStatusEnum];
@@ -0,0 +1,22 @@
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.SuggestionGenerationProgressEntityStatusEnum = void 0;
17
+ exports.SuggestionGenerationProgressEntityStatusEnum = {
18
+ Pending: 'pending',
19
+ Processing: 'processing',
20
+ Completed: 'completed',
21
+ Failed: 'failed'
22
+ };
@@ -75,4 +75,60 @@ export interface TenantBankAccountClassWithoutExpandProperties {
75
75
  * @memberof TenantBankAccountClassWithoutExpandProperties
76
76
  */
77
77
  'updatedBy': string;
78
+ /**
79
+ * Street address of the bank
80
+ * @type {string}
81
+ * @memberof TenantBankAccountClassWithoutExpandProperties
82
+ */
83
+ 'street'?: string;
84
+ /**
85
+ * House number of the bank
86
+ * @type {string}
87
+ * @memberof TenantBankAccountClassWithoutExpandProperties
88
+ */
89
+ 'houseNumber'?: string;
90
+ /**
91
+ * ZIP code of the bank
92
+ * @type {string}
93
+ * @memberof TenantBankAccountClassWithoutExpandProperties
94
+ */
95
+ 'zipCode'?: string;
96
+ /**
97
+ * City of the bank
98
+ * @type {string}
99
+ * @memberof TenantBankAccountClassWithoutExpandProperties
100
+ */
101
+ 'city'?: string;
102
+ /**
103
+ * Country of the bank
104
+ * @type {string}
105
+ * @memberof TenantBankAccountClassWithoutExpandProperties
106
+ */
107
+ 'country'?: string;
108
+ /**
109
+ * SEPA Pain version
110
+ * @type {string}
111
+ * @memberof TenantBankAccountClassWithoutExpandProperties
112
+ */
113
+ 'sepaPainVersion': TenantBankAccountClassWithoutExpandPropertiesSepaPainVersionEnum;
114
+ /**
115
+ * Creditor ID
116
+ * @type {string}
117
+ * @memberof TenantBankAccountClassWithoutExpandProperties
118
+ */
119
+ 'creditorId': string;
120
+ /**
121
+ * Indicates whether this is the default bank account for the tenant
122
+ * @type {boolean}
123
+ * @memberof TenantBankAccountClassWithoutExpandProperties
124
+ */
125
+ 'isDefault': boolean;
78
126
  }
127
+ export declare const TenantBankAccountClassWithoutExpandPropertiesSepaPainVersionEnum: {
128
+ readonly _00302: "pain.008.003.02";
129
+ readonly _00802: "pain.008.008.02";
130
+ readonly _00109: "pain.008.001.09";
131
+ readonly _00110: "pain.008.001.10";
132
+ readonly _00111: "pain.008.001.11";
133
+ };
134
+ export type TenantBankAccountClassWithoutExpandPropertiesSepaPainVersionEnum = typeof TenantBankAccountClassWithoutExpandPropertiesSepaPainVersionEnum[keyof typeof TenantBankAccountClassWithoutExpandPropertiesSepaPainVersionEnum];
@@ -13,3 +13,11 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.TenantBankAccountClassWithoutExpandPropertiesSepaPainVersionEnum = void 0;
17
+ exports.TenantBankAccountClassWithoutExpandPropertiesSepaPainVersionEnum = {
18
+ _00302: 'pain.008.003.02',
19
+ _00802: 'pain.008.008.02',
20
+ _00109: 'pain.008.001.09',
21
+ _00110: 'pain.008.001.10',
22
+ _00111: 'pain.008.001.11'
23
+ };
@@ -82,4 +82,60 @@ export interface TenantBankAccountClass {
82
82
  * @memberof TenantBankAccountClass
83
83
  */
84
84
  'updatedBy': string;
85
+ /**
86
+ * Street address of the bank
87
+ * @type {string}
88
+ * @memberof TenantBankAccountClass
89
+ */
90
+ 'street'?: string;
91
+ /**
92
+ * House number of the bank
93
+ * @type {string}
94
+ * @memberof TenantBankAccountClass
95
+ */
96
+ 'houseNumber'?: string;
97
+ /**
98
+ * ZIP code of the bank
99
+ * @type {string}
100
+ * @memberof TenantBankAccountClass
101
+ */
102
+ 'zipCode'?: string;
103
+ /**
104
+ * City of the bank
105
+ * @type {string}
106
+ * @memberof TenantBankAccountClass
107
+ */
108
+ 'city'?: string;
109
+ /**
110
+ * Country of the bank
111
+ * @type {string}
112
+ * @memberof TenantBankAccountClass
113
+ */
114
+ 'country'?: string;
115
+ /**
116
+ * SEPA Pain version
117
+ * @type {string}
118
+ * @memberof TenantBankAccountClass
119
+ */
120
+ 'sepaPainVersion': TenantBankAccountClassSepaPainVersionEnum;
121
+ /**
122
+ * Creditor ID
123
+ * @type {string}
124
+ * @memberof TenantBankAccountClass
125
+ */
126
+ 'creditorId': string;
127
+ /**
128
+ * Indicates whether this is the default bank account for the tenant
129
+ * @type {boolean}
130
+ * @memberof TenantBankAccountClass
131
+ */
132
+ 'isDefault': boolean;
85
133
  }
134
+ export declare const TenantBankAccountClassSepaPainVersionEnum: {
135
+ readonly _00302: "pain.008.003.02";
136
+ readonly _00802: "pain.008.008.02";
137
+ readonly _00109: "pain.008.001.09";
138
+ readonly _00110: "pain.008.001.10";
139
+ readonly _00111: "pain.008.001.11";
140
+ };
141
+ export type TenantBankAccountClassSepaPainVersionEnum = typeof TenantBankAccountClassSepaPainVersionEnum[keyof typeof TenantBankAccountClassSepaPainVersionEnum];
@@ -13,3 +13,11 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.TenantBankAccountClassSepaPainVersionEnum = void 0;
17
+ exports.TenantBankAccountClassSepaPainVersionEnum = {
18
+ _00302: 'pain.008.003.02',
19
+ _00802: 'pain.008.008.02',
20
+ _00109: 'pain.008.001.09',
21
+ _00110: 'pain.008.001.10',
22
+ _00111: 'pain.008.001.11'
23
+ };
@@ -0,0 +1,153 @@
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 { BankTransactionEntity } from './bank-transaction-entity';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface TenantBankAccountEntity
17
+ */
18
+ export interface TenantBankAccountEntity {
19
+ /**
20
+ *
21
+ * @type {number}
22
+ * @memberof TenantBankAccountEntity
23
+ */
24
+ 'id': number;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof TenantBankAccountEntity
29
+ */
30
+ 'code': string;
31
+ /**
32
+ *
33
+ * @type {string}
34
+ * @memberof TenantBankAccountEntity
35
+ */
36
+ 'owner': string;
37
+ /**
38
+ *
39
+ * @type {string}
40
+ * @memberof TenantBankAccountEntity
41
+ */
42
+ 'bankName': string;
43
+ /**
44
+ *
45
+ * @type {string}
46
+ * @memberof TenantBankAccountEntity
47
+ */
48
+ 'iban': string;
49
+ /**
50
+ *
51
+ * @type {string}
52
+ * @memberof TenantBankAccountEntity
53
+ */
54
+ 'accountNumber': string;
55
+ /**
56
+ *
57
+ * @type {string}
58
+ * @memberof TenantBankAccountEntity
59
+ */
60
+ 'accountName': string;
61
+ /**
62
+ *
63
+ * @type {string}
64
+ * @memberof TenantBankAccountEntity
65
+ */
66
+ 'bookingAccount': string;
67
+ /**
68
+ *
69
+ * @type {string}
70
+ * @memberof TenantBankAccountEntity
71
+ */
72
+ 'street'?: string;
73
+ /**
74
+ *
75
+ * @type {string}
76
+ * @memberof TenantBankAccountEntity
77
+ */
78
+ 'houseNumber'?: string;
79
+ /**
80
+ *
81
+ * @type {string}
82
+ * @memberof TenantBankAccountEntity
83
+ */
84
+ 'zipCode'?: string;
85
+ /**
86
+ *
87
+ * @type {string}
88
+ * @memberof TenantBankAccountEntity
89
+ */
90
+ 'city'?: string;
91
+ /**
92
+ *
93
+ * @type {string}
94
+ * @memberof TenantBankAccountEntity
95
+ */
96
+ 'country'?: string;
97
+ /**
98
+ *
99
+ * @type {boolean}
100
+ * @memberof TenantBankAccountEntity
101
+ */
102
+ 'isDefault': boolean;
103
+ /**
104
+ *
105
+ * @type {string}
106
+ * @memberof TenantBankAccountEntity
107
+ */
108
+ 'sepaPainVersion'?: TenantBankAccountEntitySepaPainVersionEnum;
109
+ /**
110
+ *
111
+ * @type {string}
112
+ * @memberof TenantBankAccountEntity
113
+ */
114
+ 'creditorId'?: string;
115
+ /**
116
+ *
117
+ * @type {string}
118
+ * @memberof TenantBankAccountEntity
119
+ */
120
+ 'tenantHierarchy': string;
121
+ /**
122
+ *
123
+ * @type {Array<BankTransactionEntity>}
124
+ * @memberof TenantBankAccountEntity
125
+ */
126
+ 'bankTransactions': Array<BankTransactionEntity>;
127
+ /**
128
+ *
129
+ * @type {string}
130
+ * @memberof TenantBankAccountEntity
131
+ */
132
+ 'createdAt'?: string;
133
+ /**
134
+ *
135
+ * @type {string}
136
+ * @memberof TenantBankAccountEntity
137
+ */
138
+ 'updatedAt'?: string;
139
+ /**
140
+ *
141
+ * @type {string}
142
+ * @memberof TenantBankAccountEntity
143
+ */
144
+ 'deletedAt'?: string;
145
+ }
146
+ export declare const TenantBankAccountEntitySepaPainVersionEnum: {
147
+ readonly _00302: "pain.008.003.02";
148
+ readonly _00802: "pain.008.008.02";
149
+ readonly _00109: "pain.008.001.09";
150
+ readonly _00110: "pain.008.001.10";
151
+ readonly _00111: "pain.008.001.11";
152
+ };
153
+ export type TenantBankAccountEntitySepaPainVersionEnum = typeof TenantBankAccountEntitySepaPainVersionEnum[keyof typeof TenantBankAccountEntitySepaPainVersionEnum];
@@ -0,0 +1,23 @@
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.TenantBankAccountEntitySepaPainVersionEnum = void 0;
17
+ exports.TenantBankAccountEntitySepaPainVersionEnum = {
18
+ _00302: 'pain.008.003.02',
19
+ _00802: 'pain.008.008.02',
20
+ _00109: 'pain.008.001.09',
21
+ _00110: 'pain.008.001.10',
22
+ _00111: 'pain.008.001.11'
23
+ };
@@ -0,0 +1,112 @@
1
+ /**
2
+ * Emil Payment Service
3
+ * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { BankTransactionInvoiceEntity } from './bank-transaction-invoice-entity';
13
+ import { PaymentEntity } from './payment-entity';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface TransactionEntity
18
+ */
19
+ export interface TransactionEntity {
20
+ /**
21
+ *
22
+ * @type {number}
23
+ * @memberof TransactionEntity
24
+ */
25
+ 'id': number;
26
+ /**
27
+ *
28
+ * @type {string}
29
+ * @memberof TransactionEntity
30
+ */
31
+ 'owner': string;
32
+ /**
33
+ *
34
+ * @type {string}
35
+ * @memberof TransactionEntity
36
+ */
37
+ 'code': string;
38
+ /**
39
+ *
40
+ * @type {number}
41
+ * @memberof TransactionEntity
42
+ */
43
+ 'paymentId': number;
44
+ /**
45
+ *
46
+ * @type {number}
47
+ * @memberof TransactionEntity
48
+ */
49
+ 'webhookId'?: number;
50
+ /**
51
+ *
52
+ * @type {string}
53
+ * @memberof TransactionEntity
54
+ */
55
+ 'timestamp': string;
56
+ /**
57
+ *
58
+ * @type {string}
59
+ * @memberof TransactionEntity
60
+ */
61
+ 'status': TransactionEntityStatusEnum;
62
+ /**
63
+ *
64
+ * @type {string}
65
+ * @memberof TransactionEntity
66
+ */
67
+ 'rawStatus': string;
68
+ /**
69
+ *
70
+ * @type {number}
71
+ * @memberof TransactionEntity
72
+ */
73
+ 'bankTransactionId'?: number;
74
+ /**
75
+ *
76
+ * @type {string}
77
+ * @memberof TransactionEntity
78
+ */
79
+ 'createdAt': string;
80
+ /**
81
+ *
82
+ * @type {string}
83
+ * @memberof TransactionEntity
84
+ */
85
+ 'deletedAt'?: string;
86
+ /**
87
+ *
88
+ * @type {string}
89
+ * @memberof TransactionEntity
90
+ */
91
+ 'tenantHierarchy': string;
92
+ /**
93
+ *
94
+ * @type {PaymentEntity}
95
+ * @memberof TransactionEntity
96
+ */
97
+ 'payment': PaymentEntity;
98
+ /**
99
+ *
100
+ * @type {BankTransactionInvoiceEntity}
101
+ * @memberof TransactionEntity
102
+ */
103
+ 'bankTransactionInvoice'?: BankTransactionInvoiceEntity;
104
+ }
105
+ export declare const TransactionEntityStatusEnum: {
106
+ readonly Succeeded: "succeeded";
107
+ readonly Pending: "pending";
108
+ readonly Failed: "failed";
109
+ readonly Disputed: "disputed";
110
+ readonly Refunded: "refunded";
111
+ };
112
+ export type TransactionEntityStatusEnum = typeof TransactionEntityStatusEnum[keyof typeof TransactionEntityStatusEnum];
@@ -0,0 +1,23 @@
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.TransactionEntityStatusEnum = void 0;
17
+ exports.TransactionEntityStatusEnum = {
18
+ Succeeded: 'succeeded',
19
+ Pending: 'pending',
20
+ Failed: 'failed',
21
+ Disputed: 'disputed',
22
+ Refunded: 'refunded'
23
+ };
@@ -28,17 +28,17 @@ export interface UpdateBankOrderRequestDto {
28
28
  */
29
29
  'description'?: string;
30
30
  /**
31
- * Financial account code associated with the bank order.
31
+ * Tenant bank account code associated with the bank order.
32
32
  * @type {string}
33
33
  * @memberof UpdateBankOrderRequestDto
34
34
  */
35
- 'financialAccountCode': string;
35
+ 'tenantBankAccountCode': string;
36
36
  /**
37
- * List of invoice IDs associated with bank order.
38
- * @type {Array<number>}
37
+ * List of entity codes associated with bank order.
38
+ * @type {Array<string>}
39
39
  * @memberof UpdateBankOrderRequestDto
40
40
  */
41
- 'invoiceIds': Array<number>;
41
+ 'entityCodes': Array<string>;
42
42
  /**
43
43
  * Day of execution of bank order.
44
44
  * @type {string}
@@ -0,0 +1,66 @@
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 UpdateBillingAddressRequestDto
16
+ */
17
+ export interface UpdateBillingAddressRequestDto {
18
+ /**
19
+ * First name
20
+ * @type {string}
21
+ * @memberof UpdateBillingAddressRequestDto
22
+ */
23
+ 'firstName': string;
24
+ /**
25
+ * Last name
26
+ * @type {string}
27
+ * @memberof UpdateBillingAddressRequestDto
28
+ */
29
+ 'lastName': string;
30
+ /**
31
+ * Street name
32
+ * @type {string}
33
+ * @memberof UpdateBillingAddressRequestDto
34
+ */
35
+ 'street': string;
36
+ /**
37
+ * House number
38
+ * @type {string}
39
+ * @memberof UpdateBillingAddressRequestDto
40
+ */
41
+ 'houseNumber': string;
42
+ /**
43
+ * ZIP code
44
+ * @type {string}
45
+ * @memberof UpdateBillingAddressRequestDto
46
+ */
47
+ 'zipCode': string;
48
+ /**
49
+ * City
50
+ * @type {string}
51
+ * @memberof UpdateBillingAddressRequestDto
52
+ */
53
+ 'city': string;
54
+ /**
55
+ * Country code
56
+ * @type {string}
57
+ * @memberof UpdateBillingAddressRequestDto
58
+ */
59
+ 'countryCode'?: string;
60
+ /**
61
+ * Unique identifier of the partner that this object belongs to.
62
+ * @type {string}
63
+ * @memberof UpdateBillingAddressRequestDto
64
+ */
65
+ 'partnerCode': string;
66
+ }
@@ -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 });