@emilgroup/payment-sdk 1.13.1-beta.5 → 1.13.1-beta.50

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 (111) hide show
  1. package/.openapi-generator/FILES +11 -0
  2. package/README.md +2 -2
  3. package/api/bank-accounts-api.ts +55 -13
  4. package/api/bank-orders-api.ts +691 -0
  5. package/api/bank-transaction-api.ts +72 -44
  6. package/api/payment-methods-api.ts +59 -17
  7. package/api/payment-reminders-api.ts +55 -13
  8. package/api/payments-api.ts +59 -17
  9. package/api/refunds-api.ts +45 -17
  10. package/api/tenant-bank-account-api.ts +45 -17
  11. package/api.ts +2 -0
  12. package/base.ts +52 -3
  13. package/dist/api/bank-accounts-api.d.ts +35 -8
  14. package/dist/api/bank-accounts-api.js +29 -11
  15. package/dist/api/bank-orders-api.d.ts +393 -0
  16. package/dist/api/bank-orders-api.js +642 -0
  17. package/dist/api/bank-transaction-api.d.ts +55 -37
  18. package/dist/api/bank-transaction-api.js +47 -35
  19. package/dist/api/payment-methods-api.d.ts +39 -12
  20. package/dist/api/payment-methods-api.js +32 -14
  21. package/dist/api/payment-reminders-api.d.ts +35 -8
  22. package/dist/api/payment-reminders-api.js +29 -11
  23. package/dist/api/payments-api.d.ts +39 -12
  24. package/dist/api/payments-api.js +32 -14
  25. package/dist/api/refunds-api.d.ts +28 -10
  26. package/dist/api/refunds-api.js +24 -12
  27. package/dist/api/tenant-bank-account-api.d.ts +28 -10
  28. package/dist/api/tenant-bank-account-api.js +24 -12
  29. package/dist/api.d.ts +1 -0
  30. package/dist/api.js +1 -0
  31. package/dist/base.d.ts +10 -1
  32. package/dist/base.js +46 -2
  33. package/dist/models/bank-order-class.d.ts +115 -0
  34. package/dist/models/bank-order-class.js +15 -0
  35. package/dist/models/bank-transaction-class-without-expand-properties.d.ts +18 -14
  36. package/dist/models/bank-transaction-class-without-expand-properties.js +5 -0
  37. package/dist/models/bank-transaction-class.d.ts +18 -0
  38. package/dist/models/bank-transaction-class.js +5 -0
  39. package/dist/models/complete-adyen-payment-setup-request-dto.d.ts +1 -0
  40. package/dist/models/complete-adyen-payment-setup-request-dto.js +2 -1
  41. package/dist/models/complete-eis-payment-setup-request-dto.d.ts +36 -0
  42. package/dist/models/complete-eis-payment-setup-request-dto.js +15 -0
  43. package/dist/models/complete-payment-setup-request-dto.d.ts +7 -0
  44. package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +1 -0
  45. package/dist/models/complete-stripe-payment-setup-request-dto.js +2 -1
  46. package/dist/models/create-bank-order-request-dto.d.ts +74 -0
  47. package/dist/models/create-bank-order-request-dto.js +28 -0
  48. package/dist/models/create-bank-order-response-class.d.ts +25 -0
  49. package/dist/models/create-bank-order-response-class.js +15 -0
  50. package/dist/models/create-payment-reminder-request-dto.d.ts +7 -1
  51. package/dist/models/create-payment-request-dto.d.ts +7 -1
  52. package/dist/models/create-psp-payment-method-request-dto.d.ts +14 -1
  53. package/dist/models/create-psp-payment-method-request-dto.js +2 -1
  54. package/dist/models/deactivated-payment-reminder-class.d.ts +7 -1
  55. package/dist/models/financial-account-class.d.ts +111 -0
  56. package/dist/models/financial-account-class.js +24 -0
  57. package/dist/models/get-bank-order-response-class.d.ts +25 -0
  58. package/dist/models/get-bank-order-response-class.js +15 -0
  59. package/dist/models/index.d.ts +10 -0
  60. package/dist/models/index.js +10 -0
  61. package/dist/models/initiate-adyen-payment-setup-request-dto.d.ts +6 -0
  62. package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +6 -0
  63. package/dist/models/initiate-eis-payment-setup-request-dto.d.ts +36 -0
  64. package/dist/models/initiate-eis-payment-setup-request-dto.js +15 -0
  65. package/dist/models/initiate-payment-setup-request-dto.d.ts +3 -2
  66. package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +6 -0
  67. package/dist/models/list-bank-orders-response-class.d.ts +31 -0
  68. package/dist/models/list-bank-orders-response-class.js +15 -0
  69. package/dist/models/payment-class-without-expand-properties.d.ts +7 -1
  70. package/dist/models/payment-class.d.ts +7 -1
  71. package/dist/models/payment-method-class.d.ts +6 -0
  72. package/dist/models/payment-reminder-class.d.ts +7 -1
  73. package/dist/models/refund-class.d.ts +7 -1
  74. package/dist/models/unlinked-bank-transaction-response-class.d.ts +18 -14
  75. package/dist/models/unlinked-bank-transaction-response-class.js +5 -0
  76. package/dist/models/update-bank-order-request-dto.d.ts +56 -0
  77. package/dist/models/update-bank-order-request-dto.js +23 -0
  78. package/dist/models/update-bank-order-response-class.d.ts +25 -0
  79. package/dist/models/update-bank-order-response-class.js +15 -0
  80. package/models/bank-order-class.ts +121 -0
  81. package/models/bank-transaction-class-without-expand-properties.ts +21 -14
  82. package/models/bank-transaction-class.ts +21 -0
  83. package/models/complete-adyen-payment-setup-request-dto.ts +2 -1
  84. package/models/complete-eis-payment-setup-request-dto.ts +42 -0
  85. package/models/complete-payment-setup-request-dto.ts +7 -0
  86. package/models/complete-stripe-payment-setup-request-dto.ts +2 -1
  87. package/models/create-bank-order-request-dto.ts +84 -0
  88. package/models/create-bank-order-response-class.ts +31 -0
  89. package/models/create-payment-reminder-request-dto.ts +7 -1
  90. package/models/create-payment-request-dto.ts +7 -1
  91. package/models/create-psp-payment-method-request-dto.ts +15 -2
  92. package/models/deactivated-payment-reminder-class.ts +7 -1
  93. package/models/financial-account-class.ts +120 -0
  94. package/models/get-bank-order-response-class.ts +31 -0
  95. package/models/index.ts +10 -0
  96. package/models/initiate-adyen-payment-setup-request-dto.ts +6 -0
  97. package/models/initiate-braintree-payment-setup-request-dto.ts +6 -0
  98. package/models/initiate-eis-payment-setup-request-dto.ts +42 -0
  99. package/models/initiate-payment-setup-request-dto.ts +3 -2
  100. package/models/initiate-stripe-payment-setup-request-dto.ts +6 -0
  101. package/models/list-bank-orders-response-class.ts +37 -0
  102. package/models/payment-class-without-expand-properties.ts +7 -1
  103. package/models/payment-class.ts +7 -1
  104. package/models/payment-method-class.ts +6 -0
  105. package/models/payment-reminder-class.ts +7 -1
  106. package/models/refund-class.ts +7 -1
  107. package/models/unlinked-bank-transaction-response-class.ts +21 -14
  108. package/models/update-bank-order-request-dto.ts +65 -0
  109. package/models/update-bank-order-response-class.ts +31 -0
  110. package/package.json +1 -1
  111. package/tsconfig.json +1 -0
@@ -0,0 +1,31 @@
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 { BankOrderClass } from './bank-order-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ListBankOrdersResponseClass
17
+ */
18
+ export interface ListBankOrdersResponseClass {
19
+ /**
20
+ * The list of bank orders.
21
+ * @type {Array<BankOrderClass>}
22
+ * @memberof ListBankOrdersResponseClass
23
+ */
24
+ 'items': Array<BankOrderClass>;
25
+ /**
26
+ * Next page token.
27
+ * @type {string}
28
+ * @memberof ListBankOrdersResponseClass
29
+ */
30
+ 'nextPageToken': string;
31
+ }
@@ -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 });
@@ -38,7 +38,13 @@ export interface PaymentClassWithoutExpandProperties {
38
38
  * @type {string}
39
39
  * @memberof PaymentClassWithoutExpandProperties
40
40
  */
41
- 'accountCode': string;
41
+ 'accountCode'?: string;
42
+ /**
43
+ * Partner code associated to that payment.
44
+ * @type {string}
45
+ * @memberof PaymentClassWithoutExpandProperties
46
+ */
47
+ 'partnerCode'?: string;
42
48
  /**
43
49
  * Amount to be paid in cents. 100 to charge 1€.
44
50
  * @type {number}
@@ -39,7 +39,13 @@ export interface PaymentClass {
39
39
  * @type {string}
40
40
  * @memberof PaymentClass
41
41
  */
42
- 'accountCode': string;
42
+ 'accountCode'?: string;
43
+ /**
44
+ * Partner code associated to that payment.
45
+ * @type {string}
46
+ * @memberof PaymentClass
47
+ */
48
+ 'partnerCode'?: string;
43
49
  /**
44
50
  * Amount to be paid in cents. 100 to charge 1€.
45
51
  * @type {number}
@@ -75,6 +75,12 @@ export interface PaymentMethodClass {
75
75
  * @memberof PaymentMethodClass
76
76
  */
77
77
  'details'?: object;
78
+ /**
79
+ * The account PSP customer associated to this payment method.
80
+ * @type {object}
81
+ * @memberof PaymentMethodClass
82
+ */
83
+ 'accountPspCustomer'?: object;
78
84
  /**
79
85
  * Optional field contain extra information
80
86
  * @type {object}
@@ -38,7 +38,13 @@ export interface PaymentReminderClass {
38
38
  * @type {string}
39
39
  * @memberof PaymentReminderClass
40
40
  */
41
- 'accountCode': string;
41
+ 'accountCode'?: string;
42
+ /**
43
+ * Unique identifier of related partner.
44
+ * @type {string}
45
+ * @memberof PaymentReminderClass
46
+ */
47
+ 'partnerCode'?: string;
42
48
  /**
43
49
  * Type of the invoice
44
50
  * @type {string}
@@ -39,7 +39,13 @@ export interface RefundClass {
39
39
  * @type {string}
40
40
  * @memberof RefundClass
41
41
  */
42
- 'accountCode': string;
42
+ 'accountCode'?: string;
43
+ /**
44
+ * Partner code associated with the payment.
45
+ * @type {string}
46
+ * @memberof RefundClass
47
+ */
48
+ 'partnerCode'?: string;
43
49
  /**
44
50
  * Amount that was refunded in cents. 100 to refund 1€.
45
51
  * @type {number}
@@ -9,8 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import { InvoiceMatchSuggestionClass } from './invoice-match-suggestion-class';
13
- import { SuggestionGenerationProgressClass } from './suggestion-generation-progress-class';
12
+ import { BankOrderClass } from './bank-order-class';
14
13
  /**
15
14
  *
16
15
  * @export
@@ -47,6 +46,12 @@ export interface UnlinkedBankTransactionResponseClass {
47
46
  * @memberof UnlinkedBankTransactionResponseClass
48
47
  */
49
48
  'messageReference'?: string;
49
+ /**
50
+ * Label of the transaction
51
+ * @type {string}
52
+ * @memberof UnlinkedBankTransactionResponseClass
53
+ */
54
+ 'label'?: UnlinkedBankTransactionResponseClassLabelEnum;
50
55
  /**
51
56
  * Currency of the transaction.
52
57
  * @type {string}
@@ -89,6 +94,12 @@ export interface UnlinkedBankTransactionResponseClass {
89
94
  * @memberof UnlinkedBankTransactionResponseClass
90
95
  */
91
96
  'isLinked': boolean;
97
+ /**
98
+ * The linked bank order object
99
+ * @type {BankOrderClass}
100
+ * @memberof UnlinkedBankTransactionResponseClass
101
+ */
102
+ 'linkedBankOrder'?: BankOrderClass;
92
103
  /**
93
104
  * The file format of the bank transaction
94
105
  * @type {string}
@@ -113,16 +124,9 @@ export interface UnlinkedBankTransactionResponseClass {
113
124
  * @memberof UnlinkedBankTransactionResponseClass
114
125
  */
115
126
  'updatedBy': string;
116
- /**
117
- * The match suggestions for invoices
118
- * @type {Array<InvoiceMatchSuggestionClass>}
119
- * @memberof UnlinkedBankTransactionResponseClass
120
- */
121
- 'invoiceMatchSuggestions': Array<InvoiceMatchSuggestionClass>;
122
- /**
123
- * The progress of the suggestion generation
124
- * @type {SuggestionGenerationProgressClass}
125
- * @memberof UnlinkedBankTransactionResponseClass
126
- */
127
- 'suggestionGenerationProgress'?: SuggestionGenerationProgressClass;
128
127
  }
128
+ export declare const UnlinkedBankTransactionResponseClassLabelEnum: {
129
+ readonly Automated: "automated";
130
+ readonly Manual: "manual";
131
+ };
132
+ export type UnlinkedBankTransactionResponseClassLabelEnum = typeof UnlinkedBankTransactionResponseClassLabelEnum[keyof typeof UnlinkedBankTransactionResponseClassLabelEnum];
@@ -13,3 +13,8 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.UnlinkedBankTransactionResponseClassLabelEnum = void 0;
17
+ exports.UnlinkedBankTransactionResponseClassLabelEnum = {
18
+ Automated: 'automated',
19
+ Manual: 'manual'
20
+ };
@@ -0,0 +1,56 @@
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 UpdateBankOrderRequestDto
16
+ */
17
+ export interface UpdateBankOrderRequestDto {
18
+ /**
19
+ * Bank order status
20
+ * @type {string}
21
+ * @memberof UpdateBankOrderRequestDto
22
+ */
23
+ 'status': UpdateBankOrderRequestDtoStatusEnum;
24
+ /**
25
+ * Bank order description.
26
+ * @type {string}
27
+ * @memberof UpdateBankOrderRequestDto
28
+ */
29
+ 'description'?: string;
30
+ /**
31
+ * List of invoice IDs associated with bank order.
32
+ * @type {Array<number>}
33
+ * @memberof UpdateBankOrderRequestDto
34
+ */
35
+ 'invoiceIds': Array<number>;
36
+ /**
37
+ * Day of execution of bank order.
38
+ * @type {string}
39
+ * @memberof UpdateBankOrderRequestDto
40
+ */
41
+ 'executionDate': string;
42
+ /**
43
+ * Latest due date.
44
+ * @type {string}
45
+ * @memberof UpdateBankOrderRequestDto
46
+ */
47
+ 'dueDate': string;
48
+ }
49
+ export declare const UpdateBankOrderRequestDtoStatusEnum: {
50
+ readonly Open: "open";
51
+ readonly Draft: "draft";
52
+ readonly Closed: "closed";
53
+ readonly Accepted: "accepted";
54
+ readonly Processing: "processing";
55
+ };
56
+ export type UpdateBankOrderRequestDtoStatusEnum = typeof UpdateBankOrderRequestDtoStatusEnum[keyof typeof UpdateBankOrderRequestDtoStatusEnum];
@@ -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.UpdateBankOrderRequestDtoStatusEnum = void 0;
17
+ exports.UpdateBankOrderRequestDtoStatusEnum = {
18
+ Open: 'open',
19
+ Draft: 'draft',
20
+ Closed: 'closed',
21
+ Accepted: 'accepted',
22
+ Processing: 'processing'
23
+ };
@@ -0,0 +1,25 @@
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 { BankOrderClass } from './bank-order-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface UpdateBankOrderResponseClass
17
+ */
18
+ export interface UpdateBankOrderResponseClass {
19
+ /**
20
+ * Bank order
21
+ * @type {BankOrderClass}
22
+ * @memberof UpdateBankOrderResponseClass
23
+ */
24
+ 'bankOrder': BankOrderClass;
25
+ }
@@ -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,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 { FinancialAccountClass } from './financial-account-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface BankOrderClass
22
+ */
23
+ export interface BankOrderClass {
24
+ /**
25
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
26
+ * @type {number}
27
+ * @memberof BankOrderClass
28
+ */
29
+ 'id': number;
30
+ /**
31
+ * Unique identifier for the object.
32
+ * @type {string}
33
+ * @memberof BankOrderClass
34
+ */
35
+ 'code': string;
36
+ /**
37
+ * Bank order type.
38
+ * @type {string}
39
+ * @memberof BankOrderClass
40
+ */
41
+ 'type': string;
42
+ /**
43
+ * Amount associated with bank order.
44
+ * @type {number}
45
+ * @memberof BankOrderClass
46
+ */
47
+ 'amount': number;
48
+ /**
49
+ * Status associated with bank order.
50
+ * @type {string}
51
+ * @memberof BankOrderClass
52
+ */
53
+ 'status': string;
54
+ /**
55
+ * Number associated with bank order.
56
+ * @type {string}
57
+ * @memberof BankOrderClass
58
+ */
59
+ 'orderNumber': string;
60
+ /**
61
+ * Bank order description.
62
+ * @type {string}
63
+ * @memberof BankOrderClass
64
+ */
65
+ 'description'?: string;
66
+ /**
67
+ * Financial account code associated with the bank order.
68
+ * @type {string}
69
+ * @memberof BankOrderClass
70
+ */
71
+ 'financialAccountCode': string;
72
+ /**
73
+ * List of invoice IDs associated with bank order.
74
+ * @type {Array<number>}
75
+ * @memberof BankOrderClass
76
+ */
77
+ 'invoiceIds': Array<number>;
78
+ /**
79
+ * Day of execution of bank order.
80
+ * @type {string}
81
+ * @memberof BankOrderClass
82
+ */
83
+ 'executionDate': string;
84
+ /**
85
+ * Latest due date.
86
+ * @type {string}
87
+ * @memberof BankOrderClass
88
+ */
89
+ 'dueDate': string;
90
+ /**
91
+ * Time at which the object was created.
92
+ * @type {string}
93
+ * @memberof BankOrderClass
94
+ */
95
+ 'createdAt': string;
96
+ /**
97
+ * Time at which the object was updated.
98
+ * @type {string}
99
+ * @memberof BankOrderClass
100
+ */
101
+ 'updatedAt': string;
102
+ /**
103
+ * Identifier of the user who created the record.
104
+ * @type {string}
105
+ * @memberof BankOrderClass
106
+ */
107
+ 'createdBy': string;
108
+ /**
109
+ * Identifier of the user who last updated the record.
110
+ * @type {string}
111
+ * @memberof BankOrderClass
112
+ */
113
+ 'updatedBy': string;
114
+ /**
115
+ * The financial account object that this bank order is belongs to
116
+ * @type {FinancialAccountClass}
117
+ * @memberof BankOrderClass
118
+ */
119
+ 'financialAccount'?: FinancialAccountClass;
120
+ }
121
+
@@ -13,8 +13,7 @@
13
13
  */
14
14
 
15
15
 
16
- import { InvoiceMatchSuggestionClass } from './invoice-match-suggestion-class';
17
- import { SuggestionGenerationProgressClass } from './suggestion-generation-progress-class';
16
+ import { BankOrderClass } from './bank-order-class';
18
17
 
19
18
  /**
20
19
  *
@@ -52,6 +51,12 @@ export interface BankTransactionClassWithoutExpandProperties {
52
51
  * @memberof BankTransactionClassWithoutExpandProperties
53
52
  */
54
53
  'messageReference'?: string;
54
+ /**
55
+ * Label of the transaction
56
+ * @type {string}
57
+ * @memberof BankTransactionClassWithoutExpandProperties
58
+ */
59
+ 'label'?: BankTransactionClassWithoutExpandPropertiesLabelEnum;
55
60
  /**
56
61
  * Currency of the transaction.
57
62
  * @type {string}
@@ -112,6 +117,12 @@ export interface BankTransactionClassWithoutExpandProperties {
112
117
  * @memberof BankTransactionClassWithoutExpandProperties
113
118
  */
114
119
  'isLinked': boolean;
120
+ /**
121
+ * The linked bank order object
122
+ * @type {BankOrderClass}
123
+ * @memberof BankTransactionClassWithoutExpandProperties
124
+ */
125
+ 'linkedBankOrder'?: BankOrderClass;
115
126
  /**
116
127
  * The file format of the bank transaction
117
128
  * @type {string}
@@ -136,17 +147,13 @@ export interface BankTransactionClassWithoutExpandProperties {
136
147
  * @memberof BankTransactionClassWithoutExpandProperties
137
148
  */
138
149
  'updatedBy': string;
139
- /**
140
- * The match suggestions for invoices
141
- * @type {Array<InvoiceMatchSuggestionClass>}
142
- * @memberof BankTransactionClassWithoutExpandProperties
143
- */
144
- 'invoiceMatchSuggestions': Array<InvoiceMatchSuggestionClass>;
145
- /**
146
- * The progress of the suggestion generation
147
- * @type {SuggestionGenerationProgressClass}
148
- * @memberof BankTransactionClassWithoutExpandProperties
149
- */
150
- 'suggestionGenerationProgress'?: SuggestionGenerationProgressClass;
151
150
  }
152
151
 
152
+ export const BankTransactionClassWithoutExpandPropertiesLabelEnum = {
153
+ Automated: 'automated',
154
+ Manual: 'manual'
155
+ } as const;
156
+
157
+ export type BankTransactionClassWithoutExpandPropertiesLabelEnum = typeof BankTransactionClassWithoutExpandPropertiesLabelEnum[keyof typeof BankTransactionClassWithoutExpandPropertiesLabelEnum];
158
+
159
+
@@ -13,6 +13,7 @@
13
13
  */
14
14
 
15
15
 
16
+ import { BankOrderClass } from './bank-order-class';
16
17
  import { InvoiceMatchSuggestionClass } from './invoice-match-suggestion-class';
17
18
  import { SharedTransactionClass } from './shared-transaction-class';
18
19
  import { SuggestionGenerationProgressClass } from './suggestion-generation-progress-class';
@@ -54,6 +55,12 @@ export interface BankTransactionClass {
54
55
  * @memberof BankTransactionClass
55
56
  */
56
57
  'messageReference'?: string;
58
+ /**
59
+ * Label of the transaction
60
+ * @type {string}
61
+ * @memberof BankTransactionClass
62
+ */
63
+ 'label'?: BankTransactionClassLabelEnum;
57
64
  /**
58
65
  * Currency of the transaction.
59
66
  * @type {string}
@@ -126,6 +133,12 @@ export interface BankTransactionClass {
126
133
  * @memberof BankTransactionClass
127
134
  */
128
135
  'linkedTransaction'?: SharedTransactionClass;
136
+ /**
137
+ * The linked bank order object
138
+ * @type {BankOrderClass}
139
+ * @memberof BankTransactionClass
140
+ */
141
+ 'linkedBankOrder'?: BankOrderClass;
129
142
  /**
130
143
  * The file format of the bank transaction
131
144
  * @type {string}
@@ -164,3 +177,11 @@ export interface BankTransactionClass {
164
177
  'suggestionGenerationProgress'?: SuggestionGenerationProgressClass;
165
178
  }
166
179
 
180
+ export const BankTransactionClassLabelEnum = {
181
+ Automated: 'automated',
182
+ Manual: 'manual'
183
+ } as const;
184
+
185
+ export type BankTransactionClassLabelEnum = typeof BankTransactionClassLabelEnum[keyof typeof BankTransactionClassLabelEnum];
186
+
187
+
@@ -98,7 +98,8 @@ export const CompleteAdyenPaymentSetupRequestDtoPaymentMethodTypeEnum = {
98
98
  SamsungPay: 'samsung_pay',
99
99
  Venmo: 'venmo',
100
100
  Masterpass: 'masterpass',
101
- B4u: 'b4u'
101
+ B4u: 'b4u',
102
+ Invoice: 'invoice'
102
103
  } as const;
103
104
 
104
105
  export type CompleteAdyenPaymentSetupRequestDtoPaymentMethodTypeEnum = typeof CompleteAdyenPaymentSetupRequestDtoPaymentMethodTypeEnum[keyof typeof CompleteAdyenPaymentSetupRequestDtoPaymentMethodTypeEnum];
@@ -0,0 +1,42 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Emil Payment Service
5
+ * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface CompleteEisPaymentSetupRequestDto
21
+ */
22
+ export interface CompleteEisPaymentSetupRequestDto {
23
+ /**
24
+ * Unique identifier of the account that this object belongs to.
25
+ * @type {string}
26
+ * @memberof CompleteEisPaymentSetupRequestDto
27
+ */
28
+ 'accountCode'?: string;
29
+ /**
30
+ * Unique identifier of the partner that this object belongs to.
31
+ * @type {string}
32
+ * @memberof CompleteEisPaymentSetupRequestDto
33
+ */
34
+ 'partnerCode'?: string;
35
+ /**
36
+ * Unique identifier of the lead that this object belongs to.
37
+ * @type {string}
38
+ * @memberof CompleteEisPaymentSetupRequestDto
39
+ */
40
+ 'leadCode'?: string;
41
+ }
42
+
@@ -15,6 +15,7 @@
15
15
 
16
16
  import { CompleteAdyenPaymentSetupRequestDto } from './complete-adyen-payment-setup-request-dto';
17
17
  import { CompleteBraintreePaymentSetupRequestDto } from './complete-braintree-payment-setup-request-dto';
18
+ import { CompleteEisPaymentSetupRequestDto } from './complete-eis-payment-setup-request-dto';
18
19
  import { CompleteStripePaymentSetupRequestDto } from './complete-stripe-payment-setup-request-dto';
19
20
 
20
21
  /**
@@ -47,5 +48,11 @@ export interface CompletePaymentSetupRequestDto {
47
48
  * @memberof CompletePaymentSetupRequestDto
48
49
  */
49
50
  'adyen'?: CompleteAdyenPaymentSetupRequestDto;
51
+ /**
52
+ *
53
+ * @type {CompleteEisPaymentSetupRequestDto}
54
+ * @memberof CompletePaymentSetupRequestDto
55
+ */
56
+ 'eis'?: CompleteEisPaymentSetupRequestDto;
50
57
  }
51
58
 
@@ -97,7 +97,8 @@ export const CompleteStripePaymentSetupRequestDtoPaymentMethodTypeEnum = {
97
97
  SamsungPay: 'samsung_pay',
98
98
  Venmo: 'venmo',
99
99
  Masterpass: 'masterpass',
100
- B4u: 'b4u'
100
+ B4u: 'b4u',
101
+ Invoice: 'invoice'
101
102
  } as const;
102
103
 
103
104
  export type CompleteStripePaymentSetupRequestDtoPaymentMethodTypeEnum = typeof CompleteStripePaymentSetupRequestDtoPaymentMethodTypeEnum[keyof typeof CompleteStripePaymentSetupRequestDtoPaymentMethodTypeEnum];