@emilgroup/payment-sdk 1.14.1-beta.68 → 1.14.1-beta.69

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 (50) hide show
  1. package/.openapi-generator/FILES +11 -1
  2. package/README.md +2 -2
  3. package/api/bank-orders-api.ts +24 -24
  4. package/dist/api/bank-orders-api.d.ts +24 -24
  5. package/dist/api/bank-orders-api.js +18 -18
  6. package/dist/models/bank-order-class.d.ts +6 -6
  7. package/dist/models/bank-order-entity.d.ts +156 -0
  8. package/dist/models/bank-order-entity.js +29 -0
  9. package/dist/models/bank-order-xml-file-entity.d.ts +85 -0
  10. package/dist/models/bank-order-xml-file-entity.js +15 -0
  11. package/dist/models/bank-transaction-entity.d.ts +179 -0
  12. package/dist/models/{financial-account-class.js → bank-transaction-entity.js} +4 -8
  13. package/dist/models/bank-transaction-invoice-entity.d.ts +98 -0
  14. package/dist/models/bank-transaction-invoice-entity.js +15 -0
  15. package/dist/models/create-bank-order-request-dto.d.ts +2 -2
  16. package/dist/models/credit-allocation-entity.d.ts +135 -0
  17. package/dist/models/credit-allocation-entity.js +34 -0
  18. package/dist/models/exceeding-credit-entity.d.ts +148 -0
  19. package/dist/models/exceeding-credit-entity.js +29 -0
  20. package/dist/models/index.d.ts +11 -1
  21. package/dist/models/index.js +11 -1
  22. package/dist/models/invoice-match-suggestion-entity.d.ts +103 -0
  23. package/dist/models/invoice-match-suggestion-entity.js +15 -0
  24. package/dist/models/payment-entity.d.ts +133 -0
  25. package/dist/models/payment-entity.js +15 -0
  26. package/dist/models/suggestion-generation-progress-entity.d.ts +86 -0
  27. package/dist/models/suggestion-generation-progress-entity.js +22 -0
  28. package/dist/models/tenant-bank-account-entity.d.ts +153 -0
  29. package/dist/models/tenant-bank-account-entity.js +23 -0
  30. package/dist/models/transaction-entity.d.ts +112 -0
  31. package/dist/models/transaction-entity.js +23 -0
  32. package/dist/models/update-bank-order-request-dto.d.ts +2 -2
  33. package/models/bank-order-class.ts +6 -6
  34. package/models/bank-order-entity.ts +166 -0
  35. package/models/bank-order-xml-file-entity.ts +91 -0
  36. package/models/bank-transaction-entity.ts +188 -0
  37. package/models/bank-transaction-invoice-entity.ts +104 -0
  38. package/models/create-bank-order-request-dto.ts +2 -2
  39. package/models/credit-allocation-entity.ts +145 -0
  40. package/models/exceeding-credit-entity.ts +157 -0
  41. package/models/index.ts +11 -1
  42. package/models/invoice-match-suggestion-entity.ts +109 -0
  43. package/models/payment-entity.ts +139 -0
  44. package/models/suggestion-generation-progress-entity.ts +95 -0
  45. package/models/tenant-bank-account-entity.ts +162 -0
  46. package/models/transaction-entity.ts +121 -0
  47. package/models/update-bank-order-request-dto.ts +2 -2
  48. package/package.json +1 -1
  49. package/dist/models/financial-account-class.d.ts +0 -111
  50. package/models/financial-account-class.ts +0 -120
@@ -0,0 +1,162 @@
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 TenantBankAccountEntity
22
+ */
23
+ export interface TenantBankAccountEntity {
24
+ /**
25
+ *
26
+ * @type {number}
27
+ * @memberof TenantBankAccountEntity
28
+ */
29
+ 'id': number;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof TenantBankAccountEntity
34
+ */
35
+ 'code': string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof TenantBankAccountEntity
40
+ */
41
+ 'owner': string;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof TenantBankAccountEntity
46
+ */
47
+ 'bankName': string;
48
+ /**
49
+ *
50
+ * @type {string}
51
+ * @memberof TenantBankAccountEntity
52
+ */
53
+ 'iban': string;
54
+ /**
55
+ *
56
+ * @type {string}
57
+ * @memberof TenantBankAccountEntity
58
+ */
59
+ 'accountNumber': string;
60
+ /**
61
+ *
62
+ * @type {string}
63
+ * @memberof TenantBankAccountEntity
64
+ */
65
+ 'accountName': string;
66
+ /**
67
+ *
68
+ * @type {string}
69
+ * @memberof TenantBankAccountEntity
70
+ */
71
+ 'bookingAccount': string;
72
+ /**
73
+ *
74
+ * @type {string}
75
+ * @memberof TenantBankAccountEntity
76
+ */
77
+ 'street'?: string;
78
+ /**
79
+ *
80
+ * @type {string}
81
+ * @memberof TenantBankAccountEntity
82
+ */
83
+ 'houseNumber'?: string;
84
+ /**
85
+ *
86
+ * @type {string}
87
+ * @memberof TenantBankAccountEntity
88
+ */
89
+ 'zipCode'?: string;
90
+ /**
91
+ *
92
+ * @type {string}
93
+ * @memberof TenantBankAccountEntity
94
+ */
95
+ 'city'?: string;
96
+ /**
97
+ *
98
+ * @type {string}
99
+ * @memberof TenantBankAccountEntity
100
+ */
101
+ 'country'?: string;
102
+ /**
103
+ *
104
+ * @type {boolean}
105
+ * @memberof TenantBankAccountEntity
106
+ */
107
+ 'isDefault': boolean;
108
+ /**
109
+ *
110
+ * @type {string}
111
+ * @memberof TenantBankAccountEntity
112
+ */
113
+ 'sepaPainVersion'?: TenantBankAccountEntitySepaPainVersionEnum;
114
+ /**
115
+ *
116
+ * @type {string}
117
+ * @memberof TenantBankAccountEntity
118
+ */
119
+ 'creditorId'?: string;
120
+ /**
121
+ *
122
+ * @type {string}
123
+ * @memberof TenantBankAccountEntity
124
+ */
125
+ 'tenantHierarchy': string;
126
+ /**
127
+ *
128
+ * @type {Array<BankTransactionEntity>}
129
+ * @memberof TenantBankAccountEntity
130
+ */
131
+ 'bankTransactions': Array<BankTransactionEntity>;
132
+ /**
133
+ *
134
+ * @type {string}
135
+ * @memberof TenantBankAccountEntity
136
+ */
137
+ 'createdAt'?: string;
138
+ /**
139
+ *
140
+ * @type {string}
141
+ * @memberof TenantBankAccountEntity
142
+ */
143
+ 'updatedAt'?: string;
144
+ /**
145
+ *
146
+ * @type {string}
147
+ * @memberof TenantBankAccountEntity
148
+ */
149
+ 'deletedAt'?: string;
150
+ }
151
+
152
+ export const TenantBankAccountEntitySepaPainVersionEnum = {
153
+ _00302: 'pain.008.003.02',
154
+ _00802: 'pain.008.008.02',
155
+ _00109: 'pain.008.001.09',
156
+ _00110: 'pain.008.001.10',
157
+ _00111: 'pain.008.001.11'
158
+ } as const;
159
+
160
+ export type TenantBankAccountEntitySepaPainVersionEnum = typeof TenantBankAccountEntitySepaPainVersionEnum[keyof typeof TenantBankAccountEntitySepaPainVersionEnum];
161
+
162
+
@@ -0,0 +1,121 @@
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 { BankTransactionInvoiceEntity } from './bank-transaction-invoice-entity';
17
+ import { PaymentEntity } from './payment-entity';
18
+
19
+ /**
20
+ *
21
+ * @export
22
+ * @interface TransactionEntity
23
+ */
24
+ export interface TransactionEntity {
25
+ /**
26
+ *
27
+ * @type {number}
28
+ * @memberof TransactionEntity
29
+ */
30
+ 'id': number;
31
+ /**
32
+ *
33
+ * @type {string}
34
+ * @memberof TransactionEntity
35
+ */
36
+ 'owner': string;
37
+ /**
38
+ *
39
+ * @type {string}
40
+ * @memberof TransactionEntity
41
+ */
42
+ 'code': string;
43
+ /**
44
+ *
45
+ * @type {number}
46
+ * @memberof TransactionEntity
47
+ */
48
+ 'paymentId': number;
49
+ /**
50
+ *
51
+ * @type {number}
52
+ * @memberof TransactionEntity
53
+ */
54
+ 'webhookId'?: number;
55
+ /**
56
+ *
57
+ * @type {string}
58
+ * @memberof TransactionEntity
59
+ */
60
+ 'timestamp': string;
61
+ /**
62
+ *
63
+ * @type {string}
64
+ * @memberof TransactionEntity
65
+ */
66
+ 'status': TransactionEntityStatusEnum;
67
+ /**
68
+ *
69
+ * @type {string}
70
+ * @memberof TransactionEntity
71
+ */
72
+ 'rawStatus': string;
73
+ /**
74
+ *
75
+ * @type {number}
76
+ * @memberof TransactionEntity
77
+ */
78
+ 'bankTransactionId'?: number;
79
+ /**
80
+ *
81
+ * @type {string}
82
+ * @memberof TransactionEntity
83
+ */
84
+ 'createdAt': string;
85
+ /**
86
+ *
87
+ * @type {string}
88
+ * @memberof TransactionEntity
89
+ */
90
+ 'deletedAt'?: string;
91
+ /**
92
+ *
93
+ * @type {string}
94
+ * @memberof TransactionEntity
95
+ */
96
+ 'tenantHierarchy': string;
97
+ /**
98
+ *
99
+ * @type {PaymentEntity}
100
+ * @memberof TransactionEntity
101
+ */
102
+ 'payment': PaymentEntity;
103
+ /**
104
+ *
105
+ * @type {BankTransactionInvoiceEntity}
106
+ * @memberof TransactionEntity
107
+ */
108
+ 'bankTransactionInvoice'?: BankTransactionInvoiceEntity;
109
+ }
110
+
111
+ export const TransactionEntityStatusEnum = {
112
+ Succeeded: 'succeeded',
113
+ Pending: 'pending',
114
+ Failed: 'failed',
115
+ Disputed: 'disputed',
116
+ Refunded: 'refunded'
117
+ } as const;
118
+
119
+ export type TransactionEntityStatusEnum = typeof TransactionEntityStatusEnum[keyof typeof TransactionEntityStatusEnum];
120
+
121
+
@@ -33,11 +33,11 @@ export interface UpdateBankOrderRequestDto {
33
33
  */
34
34
  'description'?: string;
35
35
  /**
36
- * Financial account code associated with the bank order.
36
+ * Tenant bank account code associated with the bank order.
37
37
  * @type {string}
38
38
  * @memberof UpdateBankOrderRequestDto
39
39
  */
40
- 'financialAccountCode': string;
40
+ 'tenantBankAccountCode': string;
41
41
  /**
42
42
  * List of entity codes associated with bank order.
43
43
  * @type {Array<string>}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/payment-sdk",
3
- "version": "1.14.1-beta.68",
3
+ "version": "1.14.1-beta.69",
4
4
  "description": "OpenAPI client for @emilgroup/payment-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [
@@ -1,111 +0,0 @@
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 FinancialAccountClass
16
- */
17
- export interface FinancialAccountClass {
18
- /**
19
- * Internal unique identifier for the object. You should not have to use this, use code instead.
20
- * @type {number}
21
- * @memberof FinancialAccountClass
22
- */
23
- 'id': number;
24
- /**
25
- * Unique identifier for the object.
26
- * @type {string}
27
- * @memberof FinancialAccountClass
28
- */
29
- 'code': string;
30
- /**
31
- * The name of the account.
32
- * @type {string}
33
- * @memberof FinancialAccountClass
34
- */
35
- 'name': string;
36
- /**
37
- * The financial account number.
38
- * @type {string}
39
- * @memberof FinancialAccountClass
40
- */
41
- 'financialAccountNumber': string;
42
- /**
43
- * The ID of the parent account, if any.
44
- * @type {number}
45
- * @memberof FinancialAccountClass
46
- */
47
- 'parentId': number;
48
- /**
49
- * The partner number of the account.
50
- * @type {string}
51
- * @memberof FinancialAccountClass
52
- */
53
- 'partnerNumber': string;
54
- /**
55
- * The type of account, e.g. \"Asset\", \"Liability\", \"Equity\", \"Revenue\", \"Expense\".
56
- * @type {string}
57
- * @memberof FinancialAccountClass
58
- */
59
- 'type': FinancialAccountClassTypeEnum;
60
- /**
61
- * Metadata about the object.
62
- * @type {object}
63
- * @memberof FinancialAccountClass
64
- */
65
- 'customFields': object;
66
- /**
67
- * The description of the account.
68
- * @type {string}
69
- * @memberof FinancialAccountClass
70
- */
71
- 'description': string;
72
- /**
73
- * Whether the account is clearable.
74
- * @type {boolean}
75
- * @memberof FinancialAccountClass
76
- */
77
- 'clearable': boolean;
78
- /**
79
- * Time at which the object was created.
80
- * @type {string}
81
- * @memberof FinancialAccountClass
82
- */
83
- 'createdAt': string;
84
- /**
85
- * Time at which the object was updated.
86
- * @type {string}
87
- * @memberof FinancialAccountClass
88
- */
89
- 'updatedAt': string;
90
- /**
91
- * Identifier of the user who created the record.
92
- * @type {string}
93
- * @memberof FinancialAccountClass
94
- */
95
- 'createdBy': string;
96
- /**
97
- * Identifier of the user who last updated the record.
98
- * @type {string}
99
- * @memberof FinancialAccountClass
100
- */
101
- 'updatedBy': string;
102
- }
103
- export declare const FinancialAccountClassTypeEnum: {
104
- readonly Asset: "asset";
105
- readonly Liability: "liability";
106
- readonly Equity: "equity";
107
- readonly Revenue: "revenue";
108
- readonly Expense: "expense";
109
- readonly OpeningBalance: "opening_balance";
110
- };
111
- export type FinancialAccountClassTypeEnum = typeof FinancialAccountClassTypeEnum[keyof typeof FinancialAccountClassTypeEnum];
@@ -1,120 +0,0 @@
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 FinancialAccountClass
21
- */
22
- export interface FinancialAccountClass {
23
- /**
24
- * Internal unique identifier for the object. You should not have to use this, use code instead.
25
- * @type {number}
26
- * @memberof FinancialAccountClass
27
- */
28
- 'id': number;
29
- /**
30
- * Unique identifier for the object.
31
- * @type {string}
32
- * @memberof FinancialAccountClass
33
- */
34
- 'code': string;
35
- /**
36
- * The name of the account.
37
- * @type {string}
38
- * @memberof FinancialAccountClass
39
- */
40
- 'name': string;
41
- /**
42
- * The financial account number.
43
- * @type {string}
44
- * @memberof FinancialAccountClass
45
- */
46
- 'financialAccountNumber': string;
47
- /**
48
- * The ID of the parent account, if any.
49
- * @type {number}
50
- * @memberof FinancialAccountClass
51
- */
52
- 'parentId': number;
53
- /**
54
- * The partner number of the account.
55
- * @type {string}
56
- * @memberof FinancialAccountClass
57
- */
58
- 'partnerNumber': string;
59
- /**
60
- * The type of account, e.g. \"Asset\", \"Liability\", \"Equity\", \"Revenue\", \"Expense\".
61
- * @type {string}
62
- * @memberof FinancialAccountClass
63
- */
64
- 'type': FinancialAccountClassTypeEnum;
65
- /**
66
- * Metadata about the object.
67
- * @type {object}
68
- * @memberof FinancialAccountClass
69
- */
70
- 'customFields': object;
71
- /**
72
- * The description of the account.
73
- * @type {string}
74
- * @memberof FinancialAccountClass
75
- */
76
- 'description': string;
77
- /**
78
- * Whether the account is clearable.
79
- * @type {boolean}
80
- * @memberof FinancialAccountClass
81
- */
82
- 'clearable': boolean;
83
- /**
84
- * Time at which the object was created.
85
- * @type {string}
86
- * @memberof FinancialAccountClass
87
- */
88
- 'createdAt': string;
89
- /**
90
- * Time at which the object was updated.
91
- * @type {string}
92
- * @memberof FinancialAccountClass
93
- */
94
- 'updatedAt': string;
95
- /**
96
- * Identifier of the user who created the record.
97
- * @type {string}
98
- * @memberof FinancialAccountClass
99
- */
100
- 'createdBy': string;
101
- /**
102
- * Identifier of the user who last updated the record.
103
- * @type {string}
104
- * @memberof FinancialAccountClass
105
- */
106
- 'updatedBy': string;
107
- }
108
-
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
-