@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,157 @@
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
+ import { CreditAllocationEntity } from './credit-allocation-entity';
18
+
19
+ /**
20
+ *
21
+ * @export
22
+ * @interface ExceedingCreditEntity
23
+ */
24
+ export interface ExceedingCreditEntity {
25
+ /**
26
+ *
27
+ * @type {number}
28
+ * @memberof ExceedingCreditEntity
29
+ */
30
+ 'id': number;
31
+ /**
32
+ *
33
+ * @type {string}
34
+ * @memberof ExceedingCreditEntity
35
+ */
36
+ 'code': string;
37
+ /**
38
+ *
39
+ * @type {string}
40
+ * @memberof ExceedingCreditEntity
41
+ */
42
+ 'description'?: string;
43
+ /**
44
+ *
45
+ * @type {string}
46
+ * @memberof ExceedingCreditEntity
47
+ */
48
+ 'currency': ExceedingCreditEntityCurrencyEnum;
49
+ /**
50
+ *
51
+ * @type {string}
52
+ * @memberof ExceedingCreditEntity
53
+ */
54
+ 'policyCode': string;
55
+ /**
56
+ *
57
+ * @type {string}
58
+ * @memberof ExceedingCreditEntity
59
+ */
60
+ 'policyNumber': string;
61
+ /**
62
+ *
63
+ * @type {number}
64
+ * @memberof ExceedingCreditEntity
65
+ */
66
+ 'bankTransactionId': number;
67
+ /**
68
+ *
69
+ * @type {BankTransactionEntity}
70
+ * @memberof ExceedingCreditEntity
71
+ */
72
+ 'bankTransaction': BankTransactionEntity;
73
+ /**
74
+ *
75
+ * @type {string}
76
+ * @memberof ExceedingCreditEntity
77
+ */
78
+ 'bankTransactionCode': string;
79
+ /**
80
+ *
81
+ * @type {string}
82
+ * @memberof ExceedingCreditEntity
83
+ */
84
+ 'invoiceCode': string;
85
+ /**
86
+ *
87
+ * @type {string}
88
+ * @memberof ExceedingCreditEntity
89
+ */
90
+ 'invoiceNumber': string;
91
+ /**
92
+ *
93
+ * @type {number}
94
+ * @memberof ExceedingCreditEntity
95
+ */
96
+ 'amount': number;
97
+ /**
98
+ *
99
+ * @type {number}
100
+ * @memberof ExceedingCreditEntity
101
+ */
102
+ 'allocationId'?: number;
103
+ /**
104
+ *
105
+ * @type {CreditAllocationEntity}
106
+ * @memberof ExceedingCreditEntity
107
+ */
108
+ 'creditAllocation'?: CreditAllocationEntity;
109
+ /**
110
+ *
111
+ * @type {string}
112
+ * @memberof ExceedingCreditEntity
113
+ */
114
+ 'createdAt': string;
115
+ /**
116
+ *
117
+ * @type {string}
118
+ * @memberof ExceedingCreditEntity
119
+ */
120
+ 'updatedAt': string;
121
+ /**
122
+ *
123
+ * @type {string}
124
+ * @memberof ExceedingCreditEntity
125
+ */
126
+ 'deletedAt'?: string;
127
+ /**
128
+ *
129
+ * @type {string}
130
+ * @memberof ExceedingCreditEntity
131
+ */
132
+ 'owner': string;
133
+ /**
134
+ *
135
+ * @type {string}
136
+ * @memberof ExceedingCreditEntity
137
+ */
138
+ 'tenantHierarchy': string;
139
+ }
140
+
141
+ export const ExceedingCreditEntityCurrencyEnum = {
142
+ Eur: 'EUR',
143
+ Usd: 'USD',
144
+ Gbp: 'GBP',
145
+ Chf: 'CHF',
146
+ Pln: 'PLN',
147
+ Aud: 'AUD',
148
+ Cad: 'CAD',
149
+ Ddk: 'DDK',
150
+ Huf: 'HUF',
151
+ Nok: 'NOK',
152
+ Sek: 'SEK'
153
+ } as const;
154
+
155
+ export type ExceedingCreditEntityCurrencyEnum = typeof ExceedingCreditEntityCurrencyEnum[keyof typeof ExceedingCreditEntityCurrencyEnum];
156
+
157
+
package/models/index.ts CHANGED
@@ -2,10 +2,14 @@ export * from './activate-policy-payment-method-request-dto';
2
2
  export * from './bank-account-class';
3
3
  export * from './bank-account-class-without-expand-properties';
4
4
  export * from './bank-order-class';
5
+ export * from './bank-order-entity';
5
6
  export * from './bank-order-xml-file-class';
7
+ export * from './bank-order-xml-file-entity';
6
8
  export * from './bank-transaction-class';
7
9
  export * from './bank-transaction-class-without-expand-properties';
10
+ export * from './bank-transaction-entity';
8
11
  export * from './bank-transaction-invoice-class';
12
+ export * from './bank-transaction-invoice-entity';
9
13
  export * from './bank-transfer-dto';
10
14
  export * from './billing-address-class';
11
15
  export * from './billing-address-dto';
@@ -43,12 +47,13 @@ export * from './create-refund-response-class';
43
47
  export * from './create-tenant-bank-account-request-dto';
44
48
  export * from './create-tenant-bank-account-response-class';
45
49
  export * from './credit-allocation-class';
50
+ export * from './credit-allocation-entity';
46
51
  export * from './deactivate-payment-reminder-request-dto';
47
52
  export * from './deactivate-payment-reminder-response-class';
48
53
  export * from './deactivated-payment-reminder-class';
49
54
  export * from './eis-sepa-debit-dto';
50
55
  export * from './exceeding-credit-class';
51
- export * from './financial-account-class';
56
+ export * from './exceeding-credit-entity';
52
57
  export * from './generate-invoice-match-suggestions-response-class';
53
58
  export * from './get-bank-account-response-class';
54
59
  export * from './get-bank-order-response-class';
@@ -76,6 +81,7 @@ export * from './inline-response200';
76
81
  export * from './inline-response503';
77
82
  export * from './invoice-allocation-dto';
78
83
  export * from './invoice-match-suggestion-class';
84
+ export * from './invoice-match-suggestion-entity';
79
85
  export * from './link-bank-transaction-request-dto-rest';
80
86
  export * from './link-bank-transactions-response-class';
81
87
  export * from './list-bank-accounts-response-class';
@@ -96,6 +102,7 @@ export * from './mandate-hash-data-dto';
96
102
  export * from './mandate-reference-class';
97
103
  export * from './payment-class';
98
104
  export * from './payment-class-without-expand-properties';
105
+ export * from './payment-entity';
99
106
  export * from './payment-method-class';
100
107
  export * from './payment-reminder-class';
101
108
  export * from './payout-method-class';
@@ -107,9 +114,12 @@ export * from './sepa-direct-dto';
107
114
  export * from './set-primary-bank-account-request-dto-rest';
108
115
  export * from './shared-transaction-class';
109
116
  export * from './suggestion-generation-progress-class';
117
+ export * from './suggestion-generation-progress-entity';
110
118
  export * from './symphony-profile-limited-response-dto';
111
119
  export * from './tenant-bank-account-class';
112
120
  export * from './tenant-bank-account-class-without-expand-properties';
121
+ export * from './tenant-bank-account-entity';
122
+ export * from './transaction-entity';
113
123
  export * from './unlink-bank-transactions-response-class';
114
124
  export * from './unlinked-bank-transaction-response-class';
115
125
  export * from './update-bank-account-request-dto';
@@ -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,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
+
@@ -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
+