@emilgroup/payment-sdk 1.4.1-beta.30 → 1.4.1-beta.32

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 (93) hide show
  1. package/.openapi-generator/FILES +5 -15
  2. package/README.md +2 -2
  3. package/api/bank-accounts-api.ts +34 -38
  4. package/api/bank-transaction-api.ts +73 -77
  5. package/api/{default-api.ts → health-check-api.ts} +21 -17
  6. package/api/payment-methods-api.ts +52 -70
  7. package/api/payment-reminders-api.ts +63 -49
  8. package/api/payment-setup-api.ts +16 -8
  9. package/api/payments-api.ts +52 -70
  10. package/api/refunds-api.ts +76 -88
  11. package/api/tenant-bank-account-api.ts +79 -63
  12. package/api/webhooks-api.ts +16 -12
  13. package/api.ts +2 -2
  14. package/base.ts +15 -7
  15. package/dist/api/bank-accounts-api.d.ts +37 -39
  16. package/dist/api/bank-accounts-api.js +18 -18
  17. package/dist/api/bank-transaction-api.d.ts +77 -79
  18. package/dist/api/bank-transaction-api.js +45 -45
  19. package/dist/api/health-check-api.d.ts +70 -0
  20. package/dist/api/{default-api.js → health-check-api.js} +30 -26
  21. package/dist/api/payment-methods-api.d.ts +49 -58
  22. package/dist/api/payment-methods-api.js +32 -42
  23. package/dist/api/payment-reminders-api.d.ts +55 -46
  24. package/dist/api/payment-reminders-api.js +40 -34
  25. package/dist/api/payment-setup-api.d.ts +16 -8
  26. package/dist/api/payment-setup-api.js +16 -8
  27. package/dist/api/payments-api.d.ts +49 -58
  28. package/dist/api/payments-api.js +32 -42
  29. package/dist/api/refunds-api.d.ts +76 -76
  30. package/dist/api/refunds-api.js +51 -49
  31. package/dist/api/tenant-bank-account-api.d.ts +71 -61
  32. package/dist/api/tenant-bank-account-api.js +51 -45
  33. package/dist/api/webhooks-api.d.ts +16 -12
  34. package/dist/api/webhooks-api.js +14 -10
  35. package/dist/api.d.ts +1 -1
  36. package/dist/api.js +1 -1
  37. package/dist/base.d.ts +3 -1
  38. package/dist/base.js +27 -20
  39. package/dist/models/{bank-transaction-response-class.d.ts → bank-transaction-class-without-expand-properties.d.ts} +20 -34
  40. package/dist/models/create-tenant-bank-account-response-class.d.ts +4 -4
  41. package/dist/models/get-tenant-bank-account-response-class.d.ts +4 -4
  42. package/dist/models/index.d.ts +4 -14
  43. package/dist/models/index.js +4 -14
  44. package/dist/models/list-tenant-bank-account-response-class.d.ts +5 -5
  45. package/dist/models/{tenant-bank-account-response-class.d.ts → tenant-bank-account-class-without-expand-properties.d.ts} +10 -10
  46. package/dist/models/tenant-bank-account-class.d.ts +73 -0
  47. package/dist/models/{get-bank-account-response-class.d.ts → update-tenant-bank-account-response-class.d.ts} +7 -7
  48. package/models/{bank-transaction-response-class.ts → bank-transaction-class-without-expand-properties.ts} +20 -34
  49. package/models/create-tenant-bank-account-response-class.ts +4 -4
  50. package/models/get-tenant-bank-account-response-class.ts +4 -4
  51. package/models/index.ts +4 -14
  52. package/models/list-tenant-bank-account-response-class.ts +5 -5
  53. package/models/{tenant-bank-account-response-class.ts → tenant-bank-account-class-without-expand-properties.ts} +10 -10
  54. package/models/tenant-bank-account-class.ts +79 -0
  55. package/models/{create-refund-response-class.ts → update-tenant-bank-account-response-class.ts} +7 -7
  56. package/package.json +1 -1
  57. package/dist/api/default-api.d.ts +0 -66
  58. package/dist/models/bank-account-class.d.ts +0 -73
  59. package/dist/models/create-refund-response-class.d.ts +0 -25
  60. package/dist/models/get-bank-transactions-response-class.d.ts +0 -25
  61. package/dist/models/get-bank-transactions-response-class.js +0 -15
  62. package/dist/models/get-refund-response-class.d.ts +0 -25
  63. package/dist/models/get-refund-response-class.js +0 -15
  64. package/dist/models/get-request-dto.d.ts +0 -30
  65. package/dist/models/get-request-dto.js +0 -15
  66. package/dist/models/list-bank-transactions-response-class.d.ts +0 -31
  67. package/dist/models/list-bank-transactions-response-class.js +0 -15
  68. package/dist/models/list-refunds-response-class.d.ts +0 -31
  69. package/dist/models/list-refunds-response-class.js +0 -15
  70. package/dist/models/primary-bank-account-response-class.d.ts +0 -42
  71. package/dist/models/primary-bank-account-response-class.js +0 -15
  72. package/dist/models/refund-class.d.ts +0 -105
  73. package/dist/models/refund-class.js +0 -29
  74. package/dist/models/tenant-bank-account-response-class.js +0 -15
  75. package/dist/models/transaction-class.d.ts +0 -54
  76. package/dist/models/transaction-class.js +0 -15
  77. package/dist/models/update-bank-account-response-class.d.ts +0 -25
  78. package/dist/models/update-bank-account-response-class.js +0 -15
  79. package/models/bank-account-class.ts +0 -79
  80. package/models/get-bank-account-response-class.ts +0 -31
  81. package/models/get-bank-transactions-response-class.ts +0 -31
  82. package/models/get-refund-response-class.ts +0 -31
  83. package/models/get-request-dto.ts +0 -36
  84. package/models/list-bank-transactions-response-class.ts +0 -37
  85. package/models/list-refunds-response-class.ts +0 -37
  86. package/models/primary-bank-account-response-class.ts +0 -48
  87. package/models/refund-class.ts +0 -115
  88. package/models/transaction-class.ts +0 -60
  89. package/models/update-bank-account-response-class.ts +0 -31
  90. /package/dist/models/{bank-account-class.js → bank-transaction-class-without-expand-properties.js} +0 -0
  91. /package/dist/models/{bank-transaction-response-class.js → tenant-bank-account-class-without-expand-properties.js} +0 -0
  92. /package/dist/models/{create-refund-response-class.js → tenant-bank-account-class.js} +0 -0
  93. /package/dist/models/{get-bank-account-response-class.js → update-tenant-bank-account-response-class.js} +0 -0
@@ -0,0 +1,73 @@
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 { BankTransactionClassWithoutExpandProperties } from './bank-transaction-class-without-expand-properties';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface TenantBankAccountClass
17
+ */
18
+ export interface TenantBankAccountClass {
19
+ /**
20
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
21
+ * @type {number}
22
+ * @memberof TenantBankAccountClass
23
+ */
24
+ 'id': number;
25
+ /**
26
+ * Unique identifier for the object.
27
+ * @type {string}
28
+ * @memberof TenantBankAccountClass
29
+ */
30
+ 'code': string;
31
+ /**
32
+ * IBAN number for the bank account
33
+ * @type {string}
34
+ * @memberof TenantBankAccountClass
35
+ */
36
+ 'iban': string;
37
+ /**
38
+ * Name of the account given by the user - to quickly identify the account
39
+ * @type {string}
40
+ * @memberof TenantBankAccountClass
41
+ */
42
+ 'accountName': string;
43
+ /**
44
+ * Name of the bank the account belongs to
45
+ * @type {string}
46
+ * @memberof TenantBankAccountClass
47
+ */
48
+ 'bankName': string;
49
+ /**
50
+ * Number of the booking account this bank account belongs to
51
+ * @type {string}
52
+ * @memberof TenantBankAccountClass
53
+ */
54
+ 'bookingAccount': string;
55
+ /**
56
+ * List of transactions of the bank the account belongs to
57
+ * @type {BankTransactionClassWithoutExpandProperties}
58
+ * @memberof TenantBankAccountClass
59
+ */
60
+ 'bankTransactions'?: BankTransactionClassWithoutExpandProperties;
61
+ /**
62
+ * Time at which the object was created.
63
+ * @type {string}
64
+ * @memberof TenantBankAccountClass
65
+ */
66
+ 'createdAt': string;
67
+ /**
68
+ * Time at which the object was updated.
69
+ * @type {string}
70
+ * @memberof TenantBankAccountClass
71
+ */
72
+ 'updatedAt': string;
73
+ }
@@ -9,17 +9,17 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import { BankAccountClass } from './bank-account-class';
12
+ import { TenantBankAccountClassWithoutExpandProperties } from './tenant-bank-account-class-without-expand-properties';
13
13
  /**
14
14
  *
15
15
  * @export
16
- * @interface GetBankAccountResponseClass
16
+ * @interface UpdateTenantBankAccountResponseClass
17
17
  */
18
- export interface GetBankAccountResponseClass {
18
+ export interface UpdateTenantBankAccountResponseClass {
19
19
  /**
20
- * Bank account
21
- * @type {BankAccountClass}
22
- * @memberof GetBankAccountResponseClass
20
+ * Tenant bank account
21
+ * @type {TenantBankAccountClassWithoutExpandProperties}
22
+ * @memberof UpdateTenantBankAccountResponseClass
23
23
  */
24
- 'bankAccount': BankAccountClass;
24
+ 'bankAccount': TenantBankAccountClassWithoutExpandProperties;
25
25
  }
@@ -13,121 +13,107 @@
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
- /**
116
- * The bank account object that this transaction is belongs to
117
- * @type {TenantBankAccountResponseClass}
118
- * @memberof BankTransactionResponseClass
119
- */
120
- 'bankAccount': TenantBankAccountResponseClass;
121
- /**
122
- * The linked transaction object
123
- * @type {TransactionClass}
124
- * @memberof BankTransactionResponseClass
125
- */
126
- 'linkedTransaction': TransactionClass;
127
113
  /**
128
114
  * Time at which the object was created.
129
115
  * @type {string}
130
- * @memberof BankTransactionResponseClass
116
+ * @memberof BankTransactionClassWithoutExpandProperties
131
117
  */
132
118
  'createdAt': string;
133
119
  }
@@ -13,7 +13,7 @@
13
13
  */
14
14
 
15
15
 
16
- import { TenantBankAccountResponseClass } from './tenant-bank-account-response-class';
16
+ import { TenantBankAccountClassWithoutExpandProperties } from './tenant-bank-account-class-without-expand-properties';
17
17
 
18
18
  /**
19
19
  *
@@ -22,10 +22,10 @@ import { TenantBankAccountResponseClass } from './tenant-bank-account-response-c
22
22
  */
23
23
  export interface CreateTenantBankAccountResponseClass {
24
24
  /**
25
- * Tenant Bank Account
26
- * @type {TenantBankAccountResponseClass}
25
+ * Tenant bank account
26
+ * @type {TenantBankAccountClassWithoutExpandProperties}
27
27
  * @memberof CreateTenantBankAccountResponseClass
28
28
  */
29
- 'bankAccount': TenantBankAccountResponseClass;
29
+ 'bankAccount': TenantBankAccountClassWithoutExpandProperties;
30
30
  }
31
31
 
@@ -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,32 +1,22 @@
1
- export * from './bank-account-class';
2
- export * from './bank-transaction-response-class';
1
+ export * from './bank-transaction-class-without-expand-properties';
3
2
  export * from './create-bank-account-request-dto';
4
3
  export * from './create-payment-reminder-request-dto';
5
4
  export * from './create-payment-request-dto';
6
5
  export * from './create-refund-request-dto';
7
- export * from './create-refund-response-class';
8
6
  export * from './create-tenant-bank-account-request-dto';
9
7
  export * from './create-tenant-bank-account-response-class';
10
8
  export * from './deactivate-payment-reminder-request-dto';
11
- export * from './get-bank-account-response-class';
12
- export * from './get-bank-transactions-response-class';
13
- export * from './get-refund-response-class';
14
- export * from './get-request-dto';
15
9
  export * from './get-tenant-bank-account-response-class';
16
10
  export * from './inline-response200';
17
11
  export * from './inline-response503';
18
12
  export * from './link-bank-transaction-request-dto-rest';
19
- export * from './list-bank-transactions-response-class';
20
- export * from './list-refunds-response-class';
21
13
  export * from './list-tenant-bank-account-response-class';
22
- export * from './primary-bank-account-response-class';
23
- export * from './refund-class';
24
14
  export * from './set-primary-bank-account-request-dto-rest';
25
- export * from './tenant-bank-account-response-class';
26
- export * from './transaction-class';
15
+ export * from './tenant-bank-account-class';
16
+ export * from './tenant-bank-account-class-without-expand-properties';
27
17
  export * from './unlink-bank-transaction-request-dto-rest';
28
18
  export * from './update-bank-account-request-dto';
29
19
  export * from './update-bank-account-request-dto-rest';
30
- export * from './update-bank-account-response-class';
20
+ export * from './update-tenant-bank-account-response-class';
31
21
  export * from './update-tenant-bank-account-rest-request-dto';
32
22
  export * from './validate-pspconfig-request-dto';
@@ -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,13 +22,13 @@ import { TenantBankAccountResponseClass } from './tenant-bank-account-response-c
22
22
  */
23
23
  export interface ListTenantBankAccountResponseClass {
24
24
  /**
25
- * The list of bankAccountss.
26
- * @type {Array<TenantBankAccountResponseClass>}
25
+ * The list of bank accounts.
26
+ * @type {Array<TenantBankAccountClass>}
27
27
  * @memberof ListTenantBankAccountResponseClass
28
28
  */
29
- 'items': Array<TenantBankAccountResponseClass>;
29
+ 'items': Array<TenantBankAccountClass>;
30
30
  /**
31
- * Next page token
31
+ * Next page token.
32
32
  * @type {string}
33
33
  * @memberof ListTenantBankAccountResponseClass
34
34
  */
@@ -17,55 +17,55 @@
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
71
  }
@@ -0,0 +1,79 @@
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 { BankTransactionClassWithoutExpandProperties } from './bank-transaction-class-without-expand-properties';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface TenantBankAccountClass
22
+ */
23
+ export interface TenantBankAccountClass {
24
+ /**
25
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
26
+ * @type {number}
27
+ * @memberof TenantBankAccountClass
28
+ */
29
+ 'id': number;
30
+ /**
31
+ * Unique identifier for the object.
32
+ * @type {string}
33
+ * @memberof TenantBankAccountClass
34
+ */
35
+ 'code': string;
36
+ /**
37
+ * IBAN number for the bank account
38
+ * @type {string}
39
+ * @memberof TenantBankAccountClass
40
+ */
41
+ 'iban': string;
42
+ /**
43
+ * Name of the account given by the user - to quickly identify the account
44
+ * @type {string}
45
+ * @memberof TenantBankAccountClass
46
+ */
47
+ 'accountName': string;
48
+ /**
49
+ * Name of the bank the account belongs to
50
+ * @type {string}
51
+ * @memberof TenantBankAccountClass
52
+ */
53
+ 'bankName': string;
54
+ /**
55
+ * Number of the booking account this bank account belongs to
56
+ * @type {string}
57
+ * @memberof TenantBankAccountClass
58
+ */
59
+ 'bookingAccount': string;
60
+ /**
61
+ * List of transactions of the bank the account belongs to
62
+ * @type {BankTransactionClassWithoutExpandProperties}
63
+ * @memberof TenantBankAccountClass
64
+ */
65
+ 'bankTransactions'?: BankTransactionClassWithoutExpandProperties;
66
+ /**
67
+ * Time at which the object was created.
68
+ * @type {string}
69
+ * @memberof TenantBankAccountClass
70
+ */
71
+ 'createdAt': string;
72
+ /**
73
+ * Time at which the object was updated.
74
+ * @type {string}
75
+ * @memberof TenantBankAccountClass
76
+ */
77
+ 'updatedAt': string;
78
+ }
79
+
@@ -13,19 +13,19 @@
13
13
  */
14
14
 
15
15
 
16
- import { RefundClass } from './refund-class';
16
+ import { TenantBankAccountClassWithoutExpandProperties } from './tenant-bank-account-class-without-expand-properties';
17
17
 
18
18
  /**
19
19
  *
20
20
  * @export
21
- * @interface CreateRefundResponseClass
21
+ * @interface UpdateTenantBankAccountResponseClass
22
22
  */
23
- export interface CreateRefundResponseClass {
23
+ export interface UpdateTenantBankAccountResponseClass {
24
24
  /**
25
- * Refund
26
- * @type {RefundClass}
27
- * @memberof CreateRefundResponseClass
25
+ * Tenant bank account
26
+ * @type {TenantBankAccountClassWithoutExpandProperties}
27
+ * @memberof UpdateTenantBankAccountResponseClass
28
28
  */
29
- 'refund': RefundClass;
29
+ 'bankAccount': TenantBankAccountClassWithoutExpandProperties;
30
30
  }
31
31
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/payment-sdk",
3
- "version": "1.4.1-beta.30",
3
+ "version": "1.4.1-beta.32",
4
4
  "description": "OpenAPI client for @emilgroup/payment-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [
@@ -1,66 +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
- import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
13
- import { Configuration } from '../configuration';
14
- import { RequestArgs, BaseAPI } from '../base';
15
- import { InlineResponse200 } from '../models';
16
- /**
17
- * DefaultApi - axios parameter creator
18
- * @export
19
- */
20
- export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration) => {
21
- /**
22
- *
23
- * @param {*} [options] Override http request option.
24
- * @throws {RequiredError}
25
- */
26
- check: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
27
- };
28
- /**
29
- * DefaultApi - functional programming interface
30
- * @export
31
- */
32
- export declare const DefaultApiFp: (configuration?: Configuration) => {
33
- /**
34
- *
35
- * @param {*} [options] Override http request option.
36
- * @throws {RequiredError}
37
- */
38
- check(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineResponse200>>;
39
- };
40
- /**
41
- * DefaultApi - factory interface
42
- * @export
43
- */
44
- export declare const DefaultApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
45
- /**
46
- *
47
- * @param {*} [options] Override http request option.
48
- * @throws {RequiredError}
49
- */
50
- check(options?: any): AxiosPromise<InlineResponse200>;
51
- };
52
- /**
53
- * DefaultApi - object-oriented interface
54
- * @export
55
- * @class DefaultApi
56
- * @extends {BaseAPI}
57
- */
58
- export declare class DefaultApi extends BaseAPI {
59
- /**
60
- *
61
- * @param {*} [options] Override http request option.
62
- * @throws {RequiredError}
63
- * @memberof DefaultApi
64
- */
65
- check(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InlineResponse200, any>>;
66
- }
@@ -1,73 +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
- import { PrimaryBankAccountResponseClass } from './primary-bank-account-response-class';
13
- /**
14
- *
15
- * @export
16
- * @interface BankAccountClass
17
- */
18
- export interface BankAccountClass {
19
- /**
20
- * Unique identifier for bank account.
21
- * @type {number}
22
- * @memberof BankAccountClass
23
- */
24
- 'id': number;
25
- /**
26
- * Unique identifier for the object.
27
- * @type {string}
28
- * @memberof BankAccountClass
29
- */
30
- 'code': string;
31
- /**
32
- * User account code associated with bank account.
33
- * @type {string}
34
- * @memberof BankAccountClass
35
- */
36
- 'accountCode': string;
37
- /**
38
- * International bank account number with witch the bank account is created
39
- * @type {string}
40
- * @memberof BankAccountClass
41
- */
42
- 'iban': string;
43
- /**
44
- * Business Identifier Codes
45
- * @type {string}
46
- * @memberof BankAccountClass
47
- */
48
- 'bic': string;
49
- /**
50
- * Bank account holder
51
- * @type {string}
52
- * @memberof BankAccountClass
53
- */
54
- 'accountHolder': string;
55
- /**
56
- * Time at which the object was created.
57
- * @type {string}
58
- * @memberof BankAccountClass
59
- */
60
- 'createdAt': string;
61
- /**
62
- * Partner code associated with bank account.
63
- * @type {string}
64
- * @memberof BankAccountClass
65
- */
66
- 'partnerCode': string;
67
- /**
68
- *
69
- * @type {PrimaryBankAccountResponseClass}
70
- * @memberof BankAccountClass
71
- */
72
- 'primaryBankAccount': PrimaryBankAccountResponseClass;
73
- }