@emilgroup/payment-sdk 1.4.1-beta.9 → 1.5.1-beta.0

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 (140) hide show
  1. package/.openapi-generator/FILES +11 -11
  2. package/README.md +2 -2
  3. package/api/bank-accounts-api.ts +500 -88
  4. package/api/bank-transaction-api.ts +93 -123
  5. package/api/{default-api.ts → health-check-api.ts} +22 -18
  6. package/api/payment-methods-api.ts +61 -242
  7. package/api/payment-reminders-api.ts +57 -99
  8. package/api/payment-setup-api.ts +17 -9
  9. package/api/payments-api.ts +72 -135
  10. package/api/refunds-api.ts +80 -120
  11. package/api/tenant-bank-account-api.ts +96 -118
  12. package/api/webhooks-api.ts +38 -21
  13. package/api.ts +3 -3
  14. package/base.ts +22 -10
  15. package/common.ts +2 -2
  16. package/configuration.ts +1 -1
  17. package/dist/api/bank-accounts-api.d.ts +292 -69
  18. package/dist/api/bank-accounts-api.js +432 -62
  19. package/dist/api/bank-transaction-api.d.ts +84 -104
  20. package/dist/api/bank-transaction-api.js +63 -74
  21. package/dist/api/health-check-api.d.ts +70 -0
  22. package/dist/api/{default-api.js → health-check-api.js} +31 -27
  23. package/dist/api/payment-methods-api.d.ts +51 -151
  24. package/dist/api/payment-methods-api.js +48 -178
  25. package/dist/api/payment-reminders-api.d.ts +52 -79
  26. package/dist/api/payment-reminders-api.js +44 -62
  27. package/dist/api/payment-setup-api.d.ts +17 -9
  28. package/dist/api/payment-setup-api.js +17 -9
  29. package/dist/api/payments-api.d.ts +62 -98
  30. package/dist/api/payments-api.js +55 -85
  31. package/dist/api/refunds-api.d.ts +73 -91
  32. package/dist/api/refunds-api.js +58 -68
  33. package/dist/api/tenant-bank-account-api.d.ts +90 -105
  34. package/dist/api/tenant-bank-account-api.js +63 -75
  35. package/dist/api/webhooks-api.d.ts +29 -16
  36. package/dist/api/webhooks-api.js +29 -19
  37. package/dist/api.d.ts +2 -2
  38. package/dist/api.js +2 -2
  39. package/dist/base.d.ts +6 -3
  40. package/dist/base.js +31 -22
  41. package/dist/common.d.ts +2 -2
  42. package/dist/common.js +1 -1
  43. package/dist/configuration.d.ts +1 -1
  44. package/dist/configuration.js +1 -1
  45. package/dist/index.d.ts +1 -1
  46. package/dist/index.js +1 -1
  47. package/dist/models/{bank-transaction-response-class.d.ts → bank-transaction-class-without-expand-properties.d.ts} +31 -33
  48. package/dist/models/{bank-transaction-response-class.js → bank-transaction-class-without-expand-properties.js} +1 -1
  49. package/dist/models/create-bank-account-request-dto.d.ts +42 -0
  50. package/dist/models/{get-refund-response-class.js → create-bank-account-request-dto.js} +1 -1
  51. package/dist/models/create-payment-reminder-request-dto.d.ts +1 -1
  52. package/dist/models/create-payment-reminder-request-dto.js +1 -1
  53. package/dist/models/create-payment-request-dto.d.ts +3 -3
  54. package/dist/models/create-payment-request-dto.js +1 -1
  55. package/dist/models/create-refund-request-dto.d.ts +1 -1
  56. package/dist/models/create-refund-request-dto.js +1 -1
  57. package/dist/models/create-tenant-bank-account-request-dto.d.ts +1 -1
  58. package/dist/models/create-tenant-bank-account-request-dto.js +1 -1
  59. package/dist/models/create-tenant-bank-account-response-class.d.ts +25 -0
  60. package/dist/models/{create-refund-response-class.js → create-tenant-bank-account-response-class.js} +1 -1
  61. package/dist/models/deactivate-payment-reminder-request-dto.d.ts +1 -1
  62. package/dist/models/deactivate-payment-reminder-request-dto.js +1 -1
  63. package/dist/models/get-tenant-bank-account-response-class.d.ts +5 -5
  64. package/dist/models/get-tenant-bank-account-response-class.js +1 -1
  65. package/dist/models/index.d.ts +10 -10
  66. package/dist/models/index.js +10 -10
  67. package/dist/models/inline-response200.d.ts +1 -1
  68. package/dist/models/inline-response200.js +1 -1
  69. package/dist/models/inline-response503.d.ts +1 -1
  70. package/dist/models/inline-response503.js +1 -1
  71. package/dist/models/link-bank-transaction-request-dto-rest.d.ts +1 -1
  72. package/dist/models/link-bank-transaction-request-dto-rest.js +1 -1
  73. package/dist/models/list-tenant-bank-account-response-class.d.ts +31 -0
  74. package/dist/models/{get-bank-transactions-response-class.js → list-tenant-bank-account-response-class.js} +1 -1
  75. package/dist/models/set-primary-bank-account-request-dto-rest.d.ts +24 -0
  76. package/dist/models/set-primary-bank-account-request-dto-rest.js +15 -0
  77. package/dist/models/{tenant-bank-account-response-class.d.ts → tenant-bank-account-class-without-expand-properties.d.ts} +23 -11
  78. package/dist/models/tenant-bank-account-class-without-expand-properties.js +15 -0
  79. package/dist/models/tenant-bank-account-class.d.ts +85 -0
  80. package/dist/models/tenant-bank-account-class.js +15 -0
  81. package/dist/models/unlink-bank-transaction-request-dto-rest.d.ts +2 -2
  82. package/dist/models/unlink-bank-transaction-request-dto-rest.js +1 -1
  83. package/dist/models/update-bank-account-request-dto-rest.d.ts +30 -0
  84. package/dist/models/update-bank-account-request-dto-rest.js +15 -0
  85. package/dist/models/update-bank-account-request-dto.d.ts +36 -0
  86. package/dist/models/update-bank-account-request-dto.js +15 -0
  87. package/dist/models/update-tenant-bank-account-response-class.d.ts +25 -0
  88. package/dist/models/update-tenant-bank-account-response-class.js +15 -0
  89. package/dist/models/update-tenant-bank-account-rest-request-dto.d.ts +1 -1
  90. package/dist/models/update-tenant-bank-account-rest-request-dto.js +1 -1
  91. package/dist/models/validate-pspconfig-request-dto.d.ts +1 -1
  92. package/dist/models/validate-pspconfig-request-dto.js +1 -1
  93. package/index.ts +1 -1
  94. package/models/{bank-transaction-response-class.ts → bank-transaction-class-without-expand-properties.ts} +31 -33
  95. package/models/create-bank-account-request-dto.ts +48 -0
  96. package/models/create-payment-reminder-request-dto.ts +1 -1
  97. package/models/create-payment-request-dto.ts +3 -3
  98. package/models/create-refund-request-dto.ts +1 -1
  99. package/models/create-tenant-bank-account-request-dto.ts +1 -1
  100. package/models/create-tenant-bank-account-response-class.ts +31 -0
  101. package/models/deactivate-payment-reminder-request-dto.ts +1 -1
  102. package/models/get-tenant-bank-account-response-class.ts +5 -5
  103. package/models/index.ts +10 -10
  104. package/models/inline-response200.ts +1 -1
  105. package/models/inline-response503.ts +1 -1
  106. package/models/link-bank-transaction-request-dto-rest.ts +1 -1
  107. package/models/list-tenant-bank-account-response-class.ts +37 -0
  108. package/models/set-primary-bank-account-request-dto-rest.ts +30 -0
  109. package/models/{tenant-bank-account-response-class.ts → tenant-bank-account-class-without-expand-properties.ts} +23 -11
  110. package/models/tenant-bank-account-class.ts +91 -0
  111. package/models/unlink-bank-transaction-request-dto-rest.ts +2 -2
  112. package/models/update-bank-account-request-dto-rest.ts +36 -0
  113. package/models/update-bank-account-request-dto.ts +42 -0
  114. package/models/update-tenant-bank-account-response-class.ts +31 -0
  115. package/models/update-tenant-bank-account-rest-request-dto.ts +1 -1
  116. package/models/validate-pspconfig-request-dto.ts +1 -1
  117. package/package.json +1 -1
  118. package/dist/api/default-api.d.ts +0 -66
  119. package/dist/models/create-refund-response-class.d.ts +0 -25
  120. package/dist/models/get-bank-transactions-response-class.d.ts +0 -25
  121. package/dist/models/get-refund-response-class.d.ts +0 -25
  122. package/dist/models/get-request-dto.d.ts +0 -30
  123. package/dist/models/get-request-dto.js +0 -15
  124. package/dist/models/list-bank-transactions-response-class.d.ts +0 -31
  125. package/dist/models/list-bank-transactions-response-class.js +0 -15
  126. package/dist/models/list-refunds-response-class.d.ts +0 -31
  127. package/dist/models/list-refunds-response-class.js +0 -15
  128. package/dist/models/refund-class.d.ts +0 -104
  129. package/dist/models/refund-class.js +0 -28
  130. package/dist/models/tenant-bank-account-response-class.js +0 -15
  131. package/dist/models/transaction-class.d.ts +0 -54
  132. package/dist/models/transaction-class.js +0 -15
  133. package/models/create-refund-response-class.ts +0 -31
  134. package/models/get-bank-transactions-response-class.ts +0 -31
  135. package/models/get-refund-response-class.ts +0 -31
  136. package/models/get-request-dto.ts +0 -36
  137. package/models/list-bank-transactions-response-class.ts +0 -37
  138. package/models/list-refunds-response-class.ts +0 -37
  139. package/models/refund-class.ts +0 -114
  140. package/models/transaction-class.ts +0 -60
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  /**
5
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.
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
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
9
  * Contact: kontakt@emil.de
@@ -1,6 +1,6 @@
1
1
  /**
2
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.
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
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
6
  * Contact: kontakt@emil.de
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  /**
5
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.
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
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
9
  * Contact: kontakt@emil.de
package/index.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
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.
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
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  * Contact: kontakt@emil.de
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
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.
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
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  * Contact: kontakt@emil.de
@@ -13,122 +13,120 @@
13
13
  */
14
14
 
15
15
 
16
- import { TenantBankAccountResponseClass } from './tenant-bank-account-response-class';
17
- import { TransactionClass } from './transaction-class';
18
16
 
19
17
  /**
20
18
  *
21
19
  * @export
22
- * @interface BankTransactionResponseClass
20
+ * @interface BankTransactionClassWithoutExpandProperties
23
21
  */
24
- export interface BankTransactionResponseClass {
22
+ export interface BankTransactionClassWithoutExpandProperties {
25
23
  /**
26
24
  * Internal unique identifier for the object. You should not have to use this, use code instead.
27
25
  * @type {number}
28
- * @memberof BankTransactionResponseClass
26
+ * @memberof BankTransactionClassWithoutExpandProperties
29
27
  */
30
28
  'id': number;
31
29
  /**
32
30
  * Unique identifier for the object.
33
31
  * @type {string}
34
- * @memberof BankTransactionResponseClass
32
+ * @memberof BankTransactionClassWithoutExpandProperties
35
33
  */
36
34
  'code': string;
37
35
  /**
38
- * Bank account ID associated with the transaction.
36
+ * bank account
39
37
  * @type {number}
40
- * @memberof BankTransactionResponseClass
38
+ * @memberof BankTransactionClassWithoutExpandProperties
41
39
  */
42
40
  'bankAccountId': number;
43
41
  /**
44
42
  * Account number of the bank account
45
43
  * @type {string}
46
- * @memberof BankTransactionResponseClass
44
+ * @memberof BankTransactionClassWithoutExpandProperties
47
45
  */
48
46
  'bankAccountNumber': string;
49
47
  /**
50
48
  * Reference number derived from the MT940 swift Insturctions
51
49
  * @type {string}
52
- * @memberof BankTransactionResponseClass
50
+ * @memberof BankTransactionClassWithoutExpandProperties
53
51
  */
54
52
  'swiftMessageReference'?: string;
55
53
  /**
56
54
  * Currency of the transaction.
57
55
  * @type {string}
58
- * @memberof BankTransactionResponseClass
56
+ * @memberof BankTransactionClassWithoutExpandProperties
59
57
  */
60
58
  'currency': string;
61
59
  /**
62
60
  * Amount of the transaction - can be negative or positive
63
61
  * @type {string}
64
- * @memberof BankTransactionResponseClass
62
+ * @memberof BankTransactionClassWithoutExpandProperties
65
63
  */
66
64
  'amount': string;
67
65
  /**
68
66
  * Date on which the transaction was executed. Also known as Value Date
69
67
  * @type {string}
70
- * @memberof BankTransactionResponseClass
68
+ * @memberof BankTransactionClassWithoutExpandProperties
71
69
  */
72
70
  'transactionDate': string;
73
71
  /**
74
72
  * Date on which the transaction entry was made in the system. Also known as Booking Date
75
73
  * @type {string}
76
- * @memberof BankTransactionResponseClass
74
+ * @memberof BankTransactionClassWithoutExpandProperties
77
75
  */
78
76
  'entryDate': string;
79
77
  /**
80
78
  * Optional reference number that can be given by the customer or bank to uniquely identify a transaction. If no transaction reference is provided the value is set to \'NONREF\'
81
79
  * @type {string}
82
- * @memberof BankTransactionResponseClass
80
+ * @memberof BankTransactionClassWithoutExpandProperties
83
81
  */
84
82
  'transactionReference': string;
85
83
  /**
86
84
  * Optional metadata that can be provided by the customer or bank to give more context to the transaction
87
85
  * @type {object}
88
- * @memberof BankTransactionResponseClass
86
+ * @memberof BankTransactionClassWithoutExpandProperties
89
87
  */
90
88
  'metadata'?: object;
91
89
  /**
92
90
  * The id of the PSP transaction that this bank transaction is linked to
93
91
  * @type {number}
94
- * @memberof BankTransactionResponseClass
92
+ * @memberof BankTransactionClassWithoutExpandProperties
95
93
  */
96
- 'linkedTransactionId': number;
94
+ 'linkedTransactionId'?: number;
97
95
  /**
98
96
  * The code of the invoice that this bank transaction is linked to
99
97
  * @type {string}
100
- * @memberof BankTransactionResponseClass
98
+ * @memberof BankTransactionClassWithoutExpandProperties
101
99
  */
102
100
  'linkedInvoiceCode'?: string;
103
101
  /**
104
102
  * The identifying invoice number that this bank transaction is linked to
105
103
  * @type {string}
106
- * @memberof BankTransactionResponseClass
104
+ * @memberof BankTransactionClassWithoutExpandProperties
107
105
  */
108
106
  'linkedInvoiceNumber'?: string;
109
107
  /**
110
108
  * Boolean flag to indicate if the bank transaction is linked to an invoice - defaults to false
111
109
  * @type {boolean}
112
- * @memberof BankTransactionResponseClass
110
+ * @memberof BankTransactionClassWithoutExpandProperties
113
111
  */
114
112
  'isLinked': boolean;
115
113
  /**
116
- * The bank account object that this transaction is belongs to
117
- * @type {TenantBankAccountResponseClass}
118
- * @memberof BankTransactionResponseClass
114
+ * Time at which the object was created.
115
+ * @type {string}
116
+ * @memberof BankTransactionClassWithoutExpandProperties
119
117
  */
120
- 'bankAccount': TenantBankAccountResponseClass;
118
+ 'createdAt': string;
121
119
  /**
122
- * The linked transaction object
123
- * @type {TransactionClass}
124
- * @memberof BankTransactionResponseClass
120
+ * Identifier of the user who created the record.
121
+ * @type {string}
122
+ * @memberof BankTransactionClassWithoutExpandProperties
125
123
  */
126
- 'linkedTransaction': TransactionClass;
124
+ 'createdBy': string;
127
125
  /**
128
- * Time at which the object was created.
126
+ * Identifier of the user who last updated the record.
129
127
  * @type {string}
130
- * @memberof BankTransactionResponseClass
128
+ * @memberof BankTransactionClassWithoutExpandProperties
131
129
  */
132
- 'createdAt': string;
130
+ 'updatedBy': string;
133
131
  }
134
132
 
@@ -0,0 +1,48 @@
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 CreateBankAccountRequestDto
21
+ */
22
+ export interface CreateBankAccountRequestDto {
23
+ /**
24
+ * User account code associated with bank account.
25
+ * @type {string}
26
+ * @memberof CreateBankAccountRequestDto
27
+ */
28
+ 'accountCode': string;
29
+ /**
30
+ * Partner code associated with bank account.
31
+ * @type {string}
32
+ * @memberof CreateBankAccountRequestDto
33
+ */
34
+ 'partnerCode': string;
35
+ /**
36
+ * IBAN number for the bank account
37
+ * @type {string}
38
+ * @memberof CreateBankAccountRequestDto
39
+ */
40
+ 'iban': string;
41
+ /**
42
+ * Bank account holder
43
+ * @type {string}
44
+ * @memberof CreateBankAccountRequestDto
45
+ */
46
+ 'accountHolder': string;
47
+ }
48
+
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
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.
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
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  * Contact: kontakt@emil.de
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
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.
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
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  * Contact: kontakt@emil.de
@@ -40,10 +40,10 @@ export interface CreatePaymentRequestDto {
40
40
  'currency'?: string;
41
41
  /**
42
42
  * Invoices referenced in this payment. Usually, one payment has one invoice id but it is possible to pay multiple invoices at once with a single payment.
43
- * @type {Array<string>}
43
+ * @type {Array<number>}
44
44
  * @memberof CreatePaymentRequestDto
45
45
  */
46
- 'invoiceIds': Array<string>;
46
+ 'invoiceIds': Array<number>;
47
47
  /**
48
48
  * Optional field contain extra information.
49
49
  * @type {object}
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
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.
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
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  * Contact: kontakt@emil.de
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
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.
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
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  * Contact: kontakt@emil.de
@@ -0,0 +1,31 @@
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 { TenantBankAccountClassWithoutExpandProperties } from './tenant-bank-account-class-without-expand-properties';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface CreateTenantBankAccountResponseClass
22
+ */
23
+ export interface CreateTenantBankAccountResponseClass {
24
+ /**
25
+ * Tenant bank account
26
+ * @type {TenantBankAccountClassWithoutExpandProperties}
27
+ * @memberof CreateTenantBankAccountResponseClass
28
+ */
29
+ 'bankAccount': TenantBankAccountClassWithoutExpandProperties;
30
+ }
31
+
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
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.
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
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  * Contact: kontakt@emil.de
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
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.
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
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  * Contact: kontakt@emil.de
@@ -13,7 +13,7 @@
13
13
  */
14
14
 
15
15
 
16
- import { TenantBankAccountResponseClass } from './tenant-bank-account-response-class';
16
+ import { TenantBankAccountClass } from './tenant-bank-account-class';
17
17
 
18
18
  /**
19
19
  *
@@ -22,10 +22,10 @@ import { TenantBankAccountResponseClass } from './tenant-bank-account-response-c
22
22
  */
23
23
  export interface GetTenantBankAccountResponseClass {
24
24
  /**
25
- * Tenant Bank Account
26
- * @type {TenantBankAccountResponseClass}
25
+ * Tenant bank account
26
+ * @type {TenantBankAccountClass}
27
27
  * @memberof GetTenantBankAccountResponseClass
28
28
  */
29
- 'bankAccount': TenantBankAccountResponseClass;
29
+ 'bankAccount': TenantBankAccountClass;
30
30
  }
31
31
 
package/models/index.ts CHANGED
@@ -1,22 +1,22 @@
1
- export * from './bank-transaction-response-class';
1
+ export * from './bank-transaction-class-without-expand-properties';
2
+ export * from './create-bank-account-request-dto';
2
3
  export * from './create-payment-reminder-request-dto';
3
4
  export * from './create-payment-request-dto';
4
5
  export * from './create-refund-request-dto';
5
- export * from './create-refund-response-class';
6
6
  export * from './create-tenant-bank-account-request-dto';
7
+ export * from './create-tenant-bank-account-response-class';
7
8
  export * from './deactivate-payment-reminder-request-dto';
8
- export * from './get-bank-transactions-response-class';
9
- export * from './get-refund-response-class';
10
- export * from './get-request-dto';
11
9
  export * from './get-tenant-bank-account-response-class';
12
10
  export * from './inline-response200';
13
11
  export * from './inline-response503';
14
12
  export * from './link-bank-transaction-request-dto-rest';
15
- export * from './list-bank-transactions-response-class';
16
- export * from './list-refunds-response-class';
17
- export * from './refund-class';
18
- export * from './tenant-bank-account-response-class';
19
- export * from './transaction-class';
13
+ export * from './list-tenant-bank-account-response-class';
14
+ export * from './set-primary-bank-account-request-dto-rest';
15
+ export * from './tenant-bank-account-class';
16
+ export * from './tenant-bank-account-class-without-expand-properties';
20
17
  export * from './unlink-bank-transaction-request-dto-rest';
18
+ export * from './update-bank-account-request-dto';
19
+ export * from './update-bank-account-request-dto-rest';
20
+ export * from './update-tenant-bank-account-response-class';
21
21
  export * from './update-tenant-bank-account-rest-request-dto';
22
22
  export * from './validate-pspconfig-request-dto';
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
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.
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
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  * Contact: kontakt@emil.de
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
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.
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
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  * Contact: kontakt@emil.de
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
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.
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
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  * Contact: kontakt@emil.de
@@ -0,0 +1,37 @@
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 { TenantBankAccountClass } from './tenant-bank-account-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface ListTenantBankAccountResponseClass
22
+ */
23
+ export interface ListTenantBankAccountResponseClass {
24
+ /**
25
+ * The list of bank accounts.
26
+ * @type {Array<TenantBankAccountClass>}
27
+ * @memberof ListTenantBankAccountResponseClass
28
+ */
29
+ 'items': Array<TenantBankAccountClass>;
30
+ /**
31
+ * Next page token.
32
+ * @type {string}
33
+ * @memberof ListTenantBankAccountResponseClass
34
+ */
35
+ 'nextPageToken': string;
36
+ }
37
+
@@ -0,0 +1,30 @@
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 SetPrimaryBankAccountRequestDtoRest
21
+ */
22
+ export interface SetPrimaryBankAccountRequestDtoRest {
23
+ /**
24
+ * The code of the partner/user account that the primary bank account will be set to.
25
+ * @type {string}
26
+ * @memberof SetPrimaryBankAccountRequestDtoRest
27
+ */
28
+ 'entityCode': string;
29
+ }
30
+
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
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.
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
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  * Contact: kontakt@emil.de
@@ -17,56 +17,68 @@
17
17
  /**
18
18
  *
19
19
  * @export
20
- * @interface TenantBankAccountResponseClass
20
+ * @interface TenantBankAccountClassWithoutExpandProperties
21
21
  */
22
- export interface TenantBankAccountResponseClass {
22
+ export interface TenantBankAccountClassWithoutExpandProperties {
23
23
  /**
24
24
  * Internal unique identifier for the object. You should not have to use this, use code instead.
25
25
  * @type {number}
26
- * @memberof TenantBankAccountResponseClass
26
+ * @memberof TenantBankAccountClassWithoutExpandProperties
27
27
  */
28
28
  'id': number;
29
29
  /**
30
30
  * Unique identifier for the object.
31
31
  * @type {string}
32
- * @memberof TenantBankAccountResponseClass
32
+ * @memberof TenantBankAccountClassWithoutExpandProperties
33
33
  */
34
34
  'code': string;
35
35
  /**
36
36
  * IBAN number for the bank account
37
37
  * @type {string}
38
- * @memberof TenantBankAccountResponseClass
38
+ * @memberof TenantBankAccountClassWithoutExpandProperties
39
39
  */
40
40
  'iban': string;
41
41
  /**
42
42
  * Name of the account given by the user - to quickly identify the account
43
43
  * @type {string}
44
- * @memberof TenantBankAccountResponseClass
44
+ * @memberof TenantBankAccountClassWithoutExpandProperties
45
45
  */
46
46
  'accountName': string;
47
47
  /**
48
48
  * Name of the bank the account belongs to
49
49
  * @type {string}
50
- * @memberof TenantBankAccountResponseClass
50
+ * @memberof TenantBankAccountClassWithoutExpandProperties
51
51
  */
52
52
  'bankName': string;
53
53
  /**
54
54
  * Number of the booking account this bank account belongs to
55
55
  * @type {string}
56
- * @memberof TenantBankAccountResponseClass
56
+ * @memberof TenantBankAccountClassWithoutExpandProperties
57
57
  */
58
58
  'bookingAccount': string;
59
59
  /**
60
60
  * Time at which the object was created.
61
61
  * @type {string}
62
- * @memberof TenantBankAccountResponseClass
62
+ * @memberof TenantBankAccountClassWithoutExpandProperties
63
63
  */
64
64
  'createdAt': string;
65
65
  /**
66
66
  * Time at which the object was updated.
67
67
  * @type {string}
68
- * @memberof TenantBankAccountResponseClass
68
+ * @memberof TenantBankAccountClassWithoutExpandProperties
69
69
  */
70
70
  'updatedAt': string;
71
+ /**
72
+ * Identifier of the user who created the record.
73
+ * @type {string}
74
+ * @memberof TenantBankAccountClassWithoutExpandProperties
75
+ */
76
+ 'createdBy': string;
77
+ /**
78
+ * Identifier of the user who last updated the record.
79
+ * @type {string}
80
+ * @memberof TenantBankAccountClassWithoutExpandProperties
81
+ */
82
+ 'updatedBy': string;
71
83
  }
72
84