@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.
- package/.openapi-generator/FILES +5 -15
- package/README.md +2 -2
- package/api/bank-accounts-api.ts +34 -38
- package/api/bank-transaction-api.ts +73 -77
- package/api/{default-api.ts → health-check-api.ts} +21 -17
- package/api/payment-methods-api.ts +52 -70
- package/api/payment-reminders-api.ts +63 -49
- package/api/payments-api.ts +52 -70
- package/api/refunds-api.ts +76 -88
- package/api/tenant-bank-account-api.ts +79 -63
- package/api/webhooks-api.ts +16 -12
- package/api.ts +2 -2
- package/dist/api/bank-accounts-api.d.ts +37 -39
- package/dist/api/bank-accounts-api.js +18 -18
- package/dist/api/bank-transaction-api.d.ts +77 -79
- package/dist/api/bank-transaction-api.js +45 -45
- package/dist/api/health-check-api.d.ts +70 -0
- package/dist/api/{default-api.js → health-check-api.js} +30 -26
- package/dist/api/payment-methods-api.d.ts +49 -58
- package/dist/api/payment-methods-api.js +32 -42
- package/dist/api/payment-reminders-api.d.ts +55 -46
- package/dist/api/payment-reminders-api.js +40 -34
- package/dist/api/payments-api.d.ts +49 -58
- package/dist/api/payments-api.js +32 -42
- package/dist/api/refunds-api.d.ts +76 -76
- package/dist/api/refunds-api.js +51 -49
- package/dist/api/tenant-bank-account-api.d.ts +71 -61
- package/dist/api/tenant-bank-account-api.js +51 -45
- package/dist/api/webhooks-api.d.ts +16 -12
- package/dist/api/webhooks-api.js +14 -10
- package/dist/api.d.ts +1 -1
- package/dist/api.js +1 -1
- package/dist/models/{bank-transaction-response-class.d.ts → bank-transaction-class-without-expand-properties.d.ts} +20 -34
- package/dist/models/create-tenant-bank-account-response-class.d.ts +4 -4
- package/dist/models/get-tenant-bank-account-response-class.d.ts +4 -4
- package/dist/models/index.d.ts +4 -14
- package/dist/models/index.js +4 -14
- package/dist/models/list-tenant-bank-account-response-class.d.ts +5 -5
- package/dist/models/{tenant-bank-account-response-class.d.ts → tenant-bank-account-class-without-expand-properties.d.ts} +10 -10
- package/dist/models/tenant-bank-account-class.d.ts +73 -0
- package/dist/models/{get-bank-account-response-class.d.ts → update-tenant-bank-account-response-class.d.ts} +7 -7
- package/models/{bank-transaction-response-class.ts → bank-transaction-class-without-expand-properties.ts} +20 -34
- package/models/create-tenant-bank-account-response-class.ts +4 -4
- package/models/get-tenant-bank-account-response-class.ts +4 -4
- package/models/index.ts +4 -14
- package/models/list-tenant-bank-account-response-class.ts +5 -5
- package/models/{tenant-bank-account-response-class.ts → tenant-bank-account-class-without-expand-properties.ts} +10 -10
- package/models/tenant-bank-account-class.ts +79 -0
- package/models/{create-refund-response-class.ts → update-tenant-bank-account-response-class.ts} +7 -7
- package/package.json +1 -1
- package/dist/api/default-api.d.ts +0 -66
- package/dist/models/bank-account-class.d.ts +0 -73
- package/dist/models/create-refund-response-class.d.ts +0 -25
- package/dist/models/get-bank-transactions-response-class.d.ts +0 -25
- package/dist/models/get-bank-transactions-response-class.js +0 -15
- package/dist/models/get-refund-response-class.d.ts +0 -25
- package/dist/models/get-refund-response-class.js +0 -15
- package/dist/models/get-request-dto.d.ts +0 -30
- package/dist/models/get-request-dto.js +0 -15
- package/dist/models/list-bank-transactions-response-class.d.ts +0 -31
- package/dist/models/list-bank-transactions-response-class.js +0 -15
- package/dist/models/list-refunds-response-class.d.ts +0 -31
- package/dist/models/list-refunds-response-class.js +0 -15
- package/dist/models/primary-bank-account-response-class.d.ts +0 -42
- package/dist/models/primary-bank-account-response-class.js +0 -15
- package/dist/models/refund-class.d.ts +0 -105
- package/dist/models/refund-class.js +0 -29
- package/dist/models/tenant-bank-account-response-class.js +0 -15
- package/dist/models/transaction-class.d.ts +0 -54
- package/dist/models/transaction-class.js +0 -15
- package/dist/models/update-bank-account-response-class.d.ts +0 -25
- package/dist/models/update-bank-account-response-class.js +0 -15
- package/models/bank-account-class.ts +0 -79
- package/models/get-bank-account-response-class.ts +0 -31
- package/models/get-bank-transactions-response-class.ts +0 -31
- package/models/get-refund-response-class.ts +0 -31
- package/models/get-request-dto.ts +0 -36
- package/models/list-bank-transactions-response-class.ts +0 -37
- package/models/list-refunds-response-class.ts +0 -37
- package/models/primary-bank-account-response-class.ts +0 -48
- package/models/refund-class.ts +0 -115
- package/models/transaction-class.ts +0 -60
- package/models/update-bank-account-response-class.ts +0 -31
- /package/dist/models/{bank-account-class.js → bank-transaction-class-without-expand-properties.js} +0 -0
- /package/dist/models/{bank-transaction-response-class.js → tenant-bank-account-class-without-expand-properties.js} +0 -0
- /package/dist/models/{create-refund-response-class.js → tenant-bank-account-class.js} +0 -0
- /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
|
-
* @
|
|
23
|
-
* @param {string}
|
|
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
|
-
* @
|
|
37
|
-
* @param {string}
|
|
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
|
-
* @
|
|
51
|
-
* @param {string}
|
|
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}
|
package/dist/api/webhooks-api.js
CHANGED
|
@@ -93,9 +93,10 @@ var WebhooksApiAxiosParamCreator = function (configuration) {
|
|
|
93
93
|
var _this = this;
|
|
94
94
|
return {
|
|
95
95
|
/**
|
|
96
|
-
*
|
|
97
|
-
* @
|
|
98
|
-
* @param {string}
|
|
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
|
-
* @
|
|
145
|
-
* @param {string}
|
|
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
|
-
* @
|
|
175
|
-
* @param {string}
|
|
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/
|
|
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/
|
|
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
|
|
15
|
+
* @interface BankTransactionClassWithoutExpandProperties
|
|
18
16
|
*/
|
|
19
|
-
export interface
|
|
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
|
|
21
|
+
* @memberof BankTransactionClassWithoutExpandProperties
|
|
24
22
|
*/
|
|
25
23
|
'id': number;
|
|
26
24
|
/**
|
|
27
25
|
* Unique identifier for the object.
|
|
28
26
|
* @type {string}
|
|
29
|
-
* @memberof
|
|
27
|
+
* @memberof BankTransactionClassWithoutExpandProperties
|
|
30
28
|
*/
|
|
31
29
|
'code': string;
|
|
32
30
|
/**
|
|
33
|
-
*
|
|
31
|
+
* bank account
|
|
34
32
|
* @type {number}
|
|
35
|
-
* @memberof
|
|
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
|
|
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
|
|
45
|
+
* @memberof BankTransactionClassWithoutExpandProperties
|
|
48
46
|
*/
|
|
49
47
|
'swiftMessageReference'?: string;
|
|
50
48
|
/**
|
|
51
49
|
* Currency of the transaction.
|
|
52
50
|
* @type {string}
|
|
53
|
-
* @memberof
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
87
|
+
* @memberof BankTransactionClassWithoutExpandProperties
|
|
90
88
|
*/
|
|
91
|
-
'linkedTransactionId'
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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 {
|
|
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
|
|
21
|
-
* @type {
|
|
20
|
+
* Tenant bank account
|
|
21
|
+
* @type {TenantBankAccountClassWithoutExpandProperties}
|
|
22
22
|
* @memberof CreateTenantBankAccountResponseClass
|
|
23
23
|
*/
|
|
24
|
-
'bankAccount':
|
|
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 {
|
|
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
|
|
21
|
-
* @type {
|
|
20
|
+
* Tenant bank account
|
|
21
|
+
* @type {TenantBankAccountClass}
|
|
22
22
|
* @memberof GetTenantBankAccountResponseClass
|
|
23
23
|
*/
|
|
24
|
-
'bankAccount':
|
|
24
|
+
'bankAccount': TenantBankAccountClass;
|
|
25
25
|
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -1,32 +1,22 @@
|
|
|
1
|
-
export * from './bank-
|
|
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-
|
|
26
|
-
export * from './
|
|
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';
|
package/dist/models/index.js
CHANGED
|
@@ -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-
|
|
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-
|
|
42
|
-
__exportStar(require("./
|
|
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 {
|
|
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
|
|
21
|
-
* @type {Array<
|
|
20
|
+
* The list of bank accounts.
|
|
21
|
+
* @type {Array<TenantBankAccountClass>}
|
|
22
22
|
* @memberof ListTenantBankAccountResponseClass
|
|
23
23
|
*/
|
|
24
|
-
'items': Array<
|
|
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
|
|
15
|
+
* @interface TenantBankAccountClassWithoutExpandProperties
|
|
16
16
|
*/
|
|
17
|
-
export interface
|
|
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
|
|
21
|
+
* @memberof TenantBankAccountClassWithoutExpandProperties
|
|
22
22
|
*/
|
|
23
23
|
'id': number;
|
|
24
24
|
/**
|
|
25
25
|
* Unique identifier for the object.
|
|
26
26
|
* @type {string}
|
|
27
|
-
* @memberof
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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 {
|
|
12
|
+
import { TenantBankAccountClassWithoutExpandProperties } from './tenant-bank-account-class-without-expand-properties';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
16
|
-
* @interface
|
|
16
|
+
* @interface UpdateTenantBankAccountResponseClass
|
|
17
17
|
*/
|
|
18
|
-
export interface
|
|
18
|
+
export interface UpdateTenantBankAccountResponseClass {
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {
|
|
22
|
-
* @memberof
|
|
20
|
+
* Tenant bank account
|
|
21
|
+
* @type {TenantBankAccountClassWithoutExpandProperties}
|
|
22
|
+
* @memberof UpdateTenantBankAccountResponseClass
|
|
23
23
|
*/
|
|
24
|
-
'bankAccount':
|
|
24
|
+
'bankAccount': TenantBankAccountClassWithoutExpandProperties;
|
|
25
25
|
}
|