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

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 (87) 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/payments-api.ts +52 -70
  9. package/api/refunds-api.ts +76 -88
  10. package/api/tenant-bank-account-api.ts +79 -63
  11. package/api/webhooks-api.ts +16 -12
  12. package/api.ts +2 -2
  13. package/dist/api/bank-accounts-api.d.ts +37 -39
  14. package/dist/api/bank-accounts-api.js +18 -18
  15. package/dist/api/bank-transaction-api.d.ts +77 -79
  16. package/dist/api/bank-transaction-api.js +45 -45
  17. package/dist/api/health-check-api.d.ts +70 -0
  18. package/dist/api/{default-api.js → health-check-api.js} +30 -26
  19. package/dist/api/payment-methods-api.d.ts +49 -58
  20. package/dist/api/payment-methods-api.js +32 -42
  21. package/dist/api/payment-reminders-api.d.ts +55 -46
  22. package/dist/api/payment-reminders-api.js +40 -34
  23. package/dist/api/payments-api.d.ts +49 -58
  24. package/dist/api/payments-api.js +32 -42
  25. package/dist/api/refunds-api.d.ts +76 -76
  26. package/dist/api/refunds-api.js +51 -49
  27. package/dist/api/tenant-bank-account-api.d.ts +71 -61
  28. package/dist/api/tenant-bank-account-api.js +51 -45
  29. package/dist/api/webhooks-api.d.ts +16 -12
  30. package/dist/api/webhooks-api.js +14 -10
  31. package/dist/api.d.ts +1 -1
  32. package/dist/api.js +1 -1
  33. package/dist/models/{bank-transaction-response-class.d.ts → bank-transaction-class-without-expand-properties.d.ts} +20 -34
  34. package/dist/models/create-tenant-bank-account-response-class.d.ts +4 -4
  35. package/dist/models/get-tenant-bank-account-response-class.d.ts +4 -4
  36. package/dist/models/index.d.ts +4 -14
  37. package/dist/models/index.js +4 -14
  38. package/dist/models/list-tenant-bank-account-response-class.d.ts +5 -5
  39. package/dist/models/{tenant-bank-account-response-class.d.ts → tenant-bank-account-class-without-expand-properties.d.ts} +10 -10
  40. package/dist/models/tenant-bank-account-class.d.ts +73 -0
  41. package/dist/models/{get-bank-account-response-class.d.ts → update-tenant-bank-account-response-class.d.ts} +7 -7
  42. package/models/{bank-transaction-response-class.ts → bank-transaction-class-without-expand-properties.ts} +20 -34
  43. package/models/create-tenant-bank-account-response-class.ts +4 -4
  44. package/models/get-tenant-bank-account-response-class.ts +4 -4
  45. package/models/index.ts +4 -14
  46. package/models/list-tenant-bank-account-response-class.ts +5 -5
  47. package/models/{tenant-bank-account-response-class.ts → tenant-bank-account-class-without-expand-properties.ts} +10 -10
  48. package/models/tenant-bank-account-class.ts +79 -0
  49. package/models/{create-refund-response-class.ts → update-tenant-bank-account-response-class.ts} +7 -7
  50. package/package.json +1 -1
  51. package/dist/api/default-api.d.ts +0 -66
  52. package/dist/models/bank-account-class.d.ts +0 -73
  53. package/dist/models/create-refund-response-class.d.ts +0 -25
  54. package/dist/models/get-bank-transactions-response-class.d.ts +0 -25
  55. package/dist/models/get-bank-transactions-response-class.js +0 -15
  56. package/dist/models/get-refund-response-class.d.ts +0 -25
  57. package/dist/models/get-refund-response-class.js +0 -15
  58. package/dist/models/get-request-dto.d.ts +0 -30
  59. package/dist/models/get-request-dto.js +0 -15
  60. package/dist/models/list-bank-transactions-response-class.d.ts +0 -31
  61. package/dist/models/list-bank-transactions-response-class.js +0 -15
  62. package/dist/models/list-refunds-response-class.d.ts +0 -31
  63. package/dist/models/list-refunds-response-class.js +0 -15
  64. package/dist/models/primary-bank-account-response-class.d.ts +0 -42
  65. package/dist/models/primary-bank-account-response-class.js +0 -15
  66. package/dist/models/refund-class.d.ts +0 -105
  67. package/dist/models/refund-class.js +0 -29
  68. package/dist/models/tenant-bank-account-response-class.js +0 -15
  69. package/dist/models/transaction-class.d.ts +0 -54
  70. package/dist/models/transaction-class.js +0 -15
  71. package/dist/models/update-bank-account-response-class.d.ts +0 -25
  72. package/dist/models/update-bank-account-response-class.js +0 -15
  73. package/models/bank-account-class.ts +0 -79
  74. package/models/get-bank-account-response-class.ts +0 -31
  75. package/models/get-bank-transactions-response-class.ts +0 -31
  76. package/models/get-refund-response-class.ts +0 -31
  77. package/models/get-request-dto.ts +0 -36
  78. package/models/list-bank-transactions-response-class.ts +0 -37
  79. package/models/list-refunds-response-class.ts +0 -37
  80. package/models/primary-bank-account-response-class.ts +0 -48
  81. package/models/refund-class.ts +0 -115
  82. package/models/transaction-class.ts +0 -60
  83. package/models/update-bank-account-response-class.ts +0 -31
  84. /package/dist/models/{bank-account-class.js → bank-transaction-class-without-expand-properties.js} +0 -0
  85. /package/dist/models/{bank-transaction-response-class.js → tenant-bank-account-class-without-expand-properties.js} +0 -0
  86. /package/dist/models/{create-refund-response-class.js → tenant-bank-account-class.js} +0 -0
  87. /package/dist/models/{get-bank-account-response-class.js → update-tenant-bank-account-response-class.js} +0 -0
@@ -18,9 +18,10 @@ import { RequestArgs, BaseAPI } from '../base';
18
18
  */
19
19
  export declare const WebhooksApiAxiosParamCreator: (configuration?: Configuration) => {
20
20
  /**
21
- *
22
- * @param {string} pspType
23
- * @param {string} tenantSlug
21
+ * This will processes the webhook from external payment service provider.
22
+ * @summary Handle the webhook from PSP
23
+ * @param {string} pspType The type of the payment service provider (PSP).<br/> <br/> <i>Supported PSP: braintree, stripe, b4u, eis</i>
24
+ * @param {string} tenantSlug Unique slug identifier representing a tenant.
24
25
  * @param {*} [options] Override http request option.
25
26
  * @throws {RequiredError}
26
27
  */
@@ -32,9 +33,10 @@ export declare const WebhooksApiAxiosParamCreator: (configuration?: Configuratio
32
33
  */
33
34
  export declare const WebhooksApiFp: (configuration?: Configuration) => {
34
35
  /**
35
- *
36
- * @param {string} pspType
37
- * @param {string} tenantSlug
36
+ * This will processes the webhook from external payment service provider.
37
+ * @summary Handle the webhook from PSP
38
+ * @param {string} pspType The type of the payment service provider (PSP).<br/> <br/> <i>Supported PSP: braintree, stripe, b4u, eis</i>
39
+ * @param {string} tenantSlug Unique slug identifier representing a tenant.
38
40
  * @param {*} [options] Override http request option.
39
41
  * @throws {RequiredError}
40
42
  */
@@ -46,9 +48,10 @@ export declare const WebhooksApiFp: (configuration?: Configuration) => {
46
48
  */
47
49
  export declare const WebhooksApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
48
50
  /**
49
- *
50
- * @param {string} pspType
51
- * @param {string} tenantSlug
51
+ * This will processes the webhook from external payment service provider.
52
+ * @summary Handle the webhook from PSP
53
+ * @param {string} pspType The type of the payment service provider (PSP).<br/> <br/> <i>Supported PSP: braintree, stripe, b4u, eis</i>
54
+ * @param {string} tenantSlug Unique slug identifier representing a tenant.
52
55
  * @param {*} [options] Override http request option.
53
56
  * @throws {RequiredError}
54
57
  */
@@ -61,13 +64,13 @@ export declare const WebhooksApiFactory: (configuration?: Configuration, basePat
61
64
  */
62
65
  export interface WebhooksApiPostWebhookRequest {
63
66
  /**
64
- *
67
+ * The type of the payment service provider (PSP).<br/> <br/> <i>Supported PSP: braintree, stripe, b4u, eis</i>
65
68
  * @type {string}
66
69
  * @memberof WebhooksApiPostWebhook
67
70
  */
68
71
  readonly pspType: string;
69
72
  /**
70
- *
73
+ * Unique slug identifier representing a tenant.
71
74
  * @type {string}
72
75
  * @memberof WebhooksApiPostWebhook
73
76
  */
@@ -81,7 +84,8 @@ export interface WebhooksApiPostWebhookRequest {
81
84
  */
82
85
  export declare class WebhooksApi extends BaseAPI {
83
86
  /**
84
- *
87
+ * This will processes the webhook from external payment service provider.
88
+ * @summary Handle the webhook from PSP
85
89
  * @param {WebhooksApiPostWebhookRequest} requestParameters Request parameters.
86
90
  * @param {*} [options] Override http request option.
87
91
  * @throws {RequiredError}
@@ -93,9 +93,10 @@ var WebhooksApiAxiosParamCreator = function (configuration) {
93
93
  var _this = this;
94
94
  return {
95
95
  /**
96
- *
97
- * @param {string} pspType
98
- * @param {string} tenantSlug
96
+ * This will processes the webhook from external payment service provider.
97
+ * @summary Handle the webhook from PSP
98
+ * @param {string} pspType The type of the payment service provider (PSP).<br/> <br/> <i>Supported PSP: braintree, stripe, b4u, eis</i>
99
+ * @param {string} tenantSlug Unique slug identifier representing a tenant.
99
100
  * @param {*} [options] Override http request option.
100
101
  * @throws {RequiredError}
101
102
  */
@@ -140,9 +141,10 @@ var WebhooksApiFp = function (configuration) {
140
141
  var localVarAxiosParamCreator = (0, exports.WebhooksApiAxiosParamCreator)(configuration);
141
142
  return {
142
143
  /**
143
- *
144
- * @param {string} pspType
145
- * @param {string} tenantSlug
144
+ * This will processes the webhook from external payment service provider.
145
+ * @summary Handle the webhook from PSP
146
+ * @param {string} pspType The type of the payment service provider (PSP).<br/> <br/> <i>Supported PSP: braintree, stripe, b4u, eis</i>
147
+ * @param {string} tenantSlug Unique slug identifier representing a tenant.
146
148
  * @param {*} [options] Override http request option.
147
149
  * @throws {RequiredError}
148
150
  */
@@ -170,9 +172,10 @@ var WebhooksApiFactory = function (configuration, basePath, axios) {
170
172
  var localVarFp = (0, exports.WebhooksApiFp)(configuration);
171
173
  return {
172
174
  /**
173
- *
174
- * @param {string} pspType
175
- * @param {string} tenantSlug
175
+ * This will processes the webhook from external payment service provider.
176
+ * @summary Handle the webhook from PSP
177
+ * @param {string} pspType The type of the payment service provider (PSP).<br/> <br/> <i>Supported PSP: braintree, stripe, b4u, eis</i>
178
+ * @param {string} tenantSlug Unique slug identifier representing a tenant.
176
179
  * @param {*} [options] Override http request option.
177
180
  * @throws {RequiredError}
178
181
  */
@@ -194,7 +197,8 @@ var WebhooksApi = /** @class */ (function (_super) {
194
197
  return _super !== null && _super.apply(this, arguments) || this;
195
198
  }
196
199
  /**
197
- *
200
+ * This will processes the webhook from external payment service provider.
201
+ * @summary Handle the webhook from PSP
198
202
  * @param {WebhooksApiPostWebhookRequest} requestParameters Request parameters.
199
203
  * @param {*} [options] Override http request option.
200
204
  * @throws {RequiredError}
package/dist/api.d.ts CHANGED
@@ -11,7 +11,7 @@
11
11
  */
12
12
  export * from './api/bank-accounts-api';
13
13
  export * from './api/bank-transaction-api';
14
- export * from './api/default-api';
14
+ export * from './api/health-check-api';
15
15
  export * from './api/payment-methods-api';
16
16
  export * from './api/payment-reminders-api';
17
17
  export * from './api/payment-setup-api';
package/dist/api.js CHANGED
@@ -29,7 +29,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
29
29
  Object.defineProperty(exports, "__esModule", { value: true });
30
30
  __exportStar(require("./api/bank-accounts-api"), exports);
31
31
  __exportStar(require("./api/bank-transaction-api"), exports);
32
- __exportStar(require("./api/default-api"), exports);
32
+ __exportStar(require("./api/health-check-api"), exports);
33
33
  __exportStar(require("./api/payment-methods-api"), exports);
34
34
  __exportStar(require("./api/payment-reminders-api"), exports);
35
35
  __exportStar(require("./api/payment-setup-api"), exports);
@@ -9,120 +9,106 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import { TenantBankAccountResponseClass } from './tenant-bank-account-response-class';
13
- import { TransactionClass } from './transaction-class';
14
12
  /**
15
13
  *
16
14
  * @export
17
- * @interface BankTransactionResponseClass
15
+ * @interface BankTransactionClassWithoutExpandProperties
18
16
  */
19
- export interface BankTransactionResponseClass {
17
+ export interface BankTransactionClassWithoutExpandProperties {
20
18
  /**
21
19
  * Internal unique identifier for the object. You should not have to use this, use code instead.
22
20
  * @type {number}
23
- * @memberof BankTransactionResponseClass
21
+ * @memberof BankTransactionClassWithoutExpandProperties
24
22
  */
25
23
  'id': number;
26
24
  /**
27
25
  * Unique identifier for the object.
28
26
  * @type {string}
29
- * @memberof BankTransactionResponseClass
27
+ * @memberof BankTransactionClassWithoutExpandProperties
30
28
  */
31
29
  'code': string;
32
30
  /**
33
- * Bank account ID associated with the transaction.
31
+ * bank account
34
32
  * @type {number}
35
- * @memberof BankTransactionResponseClass
33
+ * @memberof BankTransactionClassWithoutExpandProperties
36
34
  */
37
35
  'bankAccountId': number;
38
36
  /**
39
37
  * Account number of the bank account
40
38
  * @type {string}
41
- * @memberof BankTransactionResponseClass
39
+ * @memberof BankTransactionClassWithoutExpandProperties
42
40
  */
43
41
  'bankAccountNumber': string;
44
42
  /**
45
43
  * Reference number derived from the MT940 swift Insturctions
46
44
  * @type {string}
47
- * @memberof BankTransactionResponseClass
45
+ * @memberof BankTransactionClassWithoutExpandProperties
48
46
  */
49
47
  'swiftMessageReference'?: string;
50
48
  /**
51
49
  * Currency of the transaction.
52
50
  * @type {string}
53
- * @memberof BankTransactionResponseClass
51
+ * @memberof BankTransactionClassWithoutExpandProperties
54
52
  */
55
53
  'currency': string;
56
54
  /**
57
55
  * Amount of the transaction - can be negative or positive
58
56
  * @type {string}
59
- * @memberof BankTransactionResponseClass
57
+ * @memberof BankTransactionClassWithoutExpandProperties
60
58
  */
61
59
  'amount': string;
62
60
  /**
63
61
  * Date on which the transaction was executed. Also known as Value Date
64
62
  * @type {string}
65
- * @memberof BankTransactionResponseClass
63
+ * @memberof BankTransactionClassWithoutExpandProperties
66
64
  */
67
65
  'transactionDate': string;
68
66
  /**
69
67
  * Date on which the transaction entry was made in the system. Also known as Booking Date
70
68
  * @type {string}
71
- * @memberof BankTransactionResponseClass
69
+ * @memberof BankTransactionClassWithoutExpandProperties
72
70
  */
73
71
  'entryDate': string;
74
72
  /**
75
73
  * 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\'
76
74
  * @type {string}
77
- * @memberof BankTransactionResponseClass
75
+ * @memberof BankTransactionClassWithoutExpandProperties
78
76
  */
79
77
  'transactionReference': string;
80
78
  /**
81
79
  * Optional metadata that can be provided by the customer or bank to give more context to the transaction
82
80
  * @type {object}
83
- * @memberof BankTransactionResponseClass
81
+ * @memberof BankTransactionClassWithoutExpandProperties
84
82
  */
85
83
  'metadata'?: object;
86
84
  /**
87
85
  * The id of the PSP transaction that this bank transaction is linked to
88
86
  * @type {number}
89
- * @memberof BankTransactionResponseClass
87
+ * @memberof BankTransactionClassWithoutExpandProperties
90
88
  */
91
- 'linkedTransactionId': number;
89
+ 'linkedTransactionId'?: number;
92
90
  /**
93
91
  * The code of the invoice that this bank transaction is linked to
94
92
  * @type {string}
95
- * @memberof BankTransactionResponseClass
93
+ * @memberof BankTransactionClassWithoutExpandProperties
96
94
  */
97
95
  'linkedInvoiceCode'?: string;
98
96
  /**
99
97
  * The identifying invoice number that this bank transaction is linked to
100
98
  * @type {string}
101
- * @memberof BankTransactionResponseClass
99
+ * @memberof BankTransactionClassWithoutExpandProperties
102
100
  */
103
101
  'linkedInvoiceNumber'?: string;
104
102
  /**
105
103
  * Boolean flag to indicate if the bank transaction is linked to an invoice - defaults to false
106
104
  * @type {boolean}
107
- * @memberof BankTransactionResponseClass
105
+ * @memberof BankTransactionClassWithoutExpandProperties
108
106
  */
109
107
  'isLinked': boolean;
110
- /**
111
- * The bank account object that this transaction is belongs to
112
- * @type {TenantBankAccountResponseClass}
113
- * @memberof BankTransactionResponseClass
114
- */
115
- 'bankAccount': TenantBankAccountResponseClass;
116
- /**
117
- * The linked transaction object
118
- * @type {TransactionClass}
119
- * @memberof BankTransactionResponseClass
120
- */
121
- 'linkedTransaction': TransactionClass;
122
108
  /**
123
109
  * Time at which the object was created.
124
110
  * @type {string}
125
- * @memberof BankTransactionResponseClass
111
+ * @memberof BankTransactionClassWithoutExpandProperties
126
112
  */
127
113
  'createdAt': string;
128
114
  }
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import { TenantBankAccountResponseClass } from './tenant-bank-account-response-class';
12
+ import { TenantBankAccountClassWithoutExpandProperties } from './tenant-bank-account-class-without-expand-properties';
13
13
  /**
14
14
  *
15
15
  * @export
@@ -17,9 +17,9 @@ import { TenantBankAccountResponseClass } from './tenant-bank-account-response-c
17
17
  */
18
18
  export interface CreateTenantBankAccountResponseClass {
19
19
  /**
20
- * Tenant Bank Account
21
- * @type {TenantBankAccountResponseClass}
20
+ * Tenant bank account
21
+ * @type {TenantBankAccountClassWithoutExpandProperties}
22
22
  * @memberof CreateTenantBankAccountResponseClass
23
23
  */
24
- 'bankAccount': TenantBankAccountResponseClass;
24
+ 'bankAccount': TenantBankAccountClassWithoutExpandProperties;
25
25
  }
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import { TenantBankAccountResponseClass } from './tenant-bank-account-response-class';
12
+ import { TenantBankAccountClass } from './tenant-bank-account-class';
13
13
  /**
14
14
  *
15
15
  * @export
@@ -17,9 +17,9 @@ import { TenantBankAccountResponseClass } from './tenant-bank-account-response-c
17
17
  */
18
18
  export interface GetTenantBankAccountResponseClass {
19
19
  /**
20
- * Tenant Bank Account
21
- * @type {TenantBankAccountResponseClass}
20
+ * Tenant bank account
21
+ * @type {TenantBankAccountClass}
22
22
  * @memberof GetTenantBankAccountResponseClass
23
23
  */
24
- 'bankAccount': TenantBankAccountResponseClass;
24
+ 'bankAccount': TenantBankAccountClass;
25
25
  }
@@ -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';
@@ -14,35 +14,25 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./bank-account-class"), exports);
18
- __exportStar(require("./bank-transaction-response-class"), exports);
17
+ __exportStar(require("./bank-transaction-class-without-expand-properties"), exports);
19
18
  __exportStar(require("./create-bank-account-request-dto"), exports);
20
19
  __exportStar(require("./create-payment-reminder-request-dto"), exports);
21
20
  __exportStar(require("./create-payment-request-dto"), exports);
22
21
  __exportStar(require("./create-refund-request-dto"), exports);
23
- __exportStar(require("./create-refund-response-class"), exports);
24
22
  __exportStar(require("./create-tenant-bank-account-request-dto"), exports);
25
23
  __exportStar(require("./create-tenant-bank-account-response-class"), exports);
26
24
  __exportStar(require("./deactivate-payment-reminder-request-dto"), exports);
27
- __exportStar(require("./get-bank-account-response-class"), exports);
28
- __exportStar(require("./get-bank-transactions-response-class"), exports);
29
- __exportStar(require("./get-refund-response-class"), exports);
30
- __exportStar(require("./get-request-dto"), exports);
31
25
  __exportStar(require("./get-tenant-bank-account-response-class"), exports);
32
26
  __exportStar(require("./inline-response200"), exports);
33
27
  __exportStar(require("./inline-response503"), exports);
34
28
  __exportStar(require("./link-bank-transaction-request-dto-rest"), exports);
35
- __exportStar(require("./list-bank-transactions-response-class"), exports);
36
- __exportStar(require("./list-refunds-response-class"), exports);
37
29
  __exportStar(require("./list-tenant-bank-account-response-class"), exports);
38
- __exportStar(require("./primary-bank-account-response-class"), exports);
39
- __exportStar(require("./refund-class"), exports);
40
30
  __exportStar(require("./set-primary-bank-account-request-dto-rest"), exports);
41
- __exportStar(require("./tenant-bank-account-response-class"), exports);
42
- __exportStar(require("./transaction-class"), exports);
31
+ __exportStar(require("./tenant-bank-account-class"), exports);
32
+ __exportStar(require("./tenant-bank-account-class-without-expand-properties"), exports);
43
33
  __exportStar(require("./unlink-bank-transaction-request-dto-rest"), exports);
44
34
  __exportStar(require("./update-bank-account-request-dto"), exports);
45
35
  __exportStar(require("./update-bank-account-request-dto-rest"), exports);
46
- __exportStar(require("./update-bank-account-response-class"), exports);
36
+ __exportStar(require("./update-tenant-bank-account-response-class"), exports);
47
37
  __exportStar(require("./update-tenant-bank-account-rest-request-dto"), exports);
48
38
  __exportStar(require("./validate-pspconfig-request-dto"), exports);
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import { TenantBankAccountResponseClass } from './tenant-bank-account-response-class';
12
+ import { TenantBankAccountClass } from './tenant-bank-account-class';
13
13
  /**
14
14
  *
15
15
  * @export
@@ -17,13 +17,13 @@ import { TenantBankAccountResponseClass } from './tenant-bank-account-response-c
17
17
  */
18
18
  export interface ListTenantBankAccountResponseClass {
19
19
  /**
20
- * The list of bankAccountss.
21
- * @type {Array<TenantBankAccountResponseClass>}
20
+ * The list of bank accounts.
21
+ * @type {Array<TenantBankAccountClass>}
22
22
  * @memberof ListTenantBankAccountResponseClass
23
23
  */
24
- 'items': Array<TenantBankAccountResponseClass>;
24
+ 'items': Array<TenantBankAccountClass>;
25
25
  /**
26
- * Next page token
26
+ * Next page token.
27
27
  * @type {string}
28
28
  * @memberof ListTenantBankAccountResponseClass
29
29
  */
@@ -12,55 +12,55 @@
12
12
  /**
13
13
  *
14
14
  * @export
15
- * @interface TenantBankAccountResponseClass
15
+ * @interface TenantBankAccountClassWithoutExpandProperties
16
16
  */
17
- export interface TenantBankAccountResponseClass {
17
+ export interface TenantBankAccountClassWithoutExpandProperties {
18
18
  /**
19
19
  * Internal unique identifier for the object. You should not have to use this, use code instead.
20
20
  * @type {number}
21
- * @memberof TenantBankAccountResponseClass
21
+ * @memberof TenantBankAccountClassWithoutExpandProperties
22
22
  */
23
23
  'id': number;
24
24
  /**
25
25
  * Unique identifier for the object.
26
26
  * @type {string}
27
- * @memberof TenantBankAccountResponseClass
27
+ * @memberof TenantBankAccountClassWithoutExpandProperties
28
28
  */
29
29
  'code': string;
30
30
  /**
31
31
  * IBAN number for the bank account
32
32
  * @type {string}
33
- * @memberof TenantBankAccountResponseClass
33
+ * @memberof TenantBankAccountClassWithoutExpandProperties
34
34
  */
35
35
  'iban': string;
36
36
  /**
37
37
  * Name of the account given by the user - to quickly identify the account
38
38
  * @type {string}
39
- * @memberof TenantBankAccountResponseClass
39
+ * @memberof TenantBankAccountClassWithoutExpandProperties
40
40
  */
41
41
  'accountName': string;
42
42
  /**
43
43
  * Name of the bank the account belongs to
44
44
  * @type {string}
45
- * @memberof TenantBankAccountResponseClass
45
+ * @memberof TenantBankAccountClassWithoutExpandProperties
46
46
  */
47
47
  'bankName': string;
48
48
  /**
49
49
  * Number of the booking account this bank account belongs to
50
50
  * @type {string}
51
- * @memberof TenantBankAccountResponseClass
51
+ * @memberof TenantBankAccountClassWithoutExpandProperties
52
52
  */
53
53
  'bookingAccount': string;
54
54
  /**
55
55
  * Time at which the object was created.
56
56
  * @type {string}
57
- * @memberof TenantBankAccountResponseClass
57
+ * @memberof TenantBankAccountClassWithoutExpandProperties
58
58
  */
59
59
  'createdAt': string;
60
60
  /**
61
61
  * Time at which the object was updated.
62
62
  * @type {string}
63
- * @memberof TenantBankAccountResponseClass
63
+ * @memberof TenantBankAccountClassWithoutExpandProperties
64
64
  */
65
65
  'updatedAt': string;
66
66
  }
@@ -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
  }