@emilgroup/payment-sdk-node 1.13.1-beta.2 → 1.13.1-beta.20
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 +4 -0
- package/README.md +2 -2
- package/api/bank-accounts-api.ts +5 -5
- package/api/bank-transaction-api.ts +82 -45
- package/api/default-api.ts +1 -1
- package/api/payment-methods-api.ts +5 -5
- package/api/payment-reminders-api.ts +5 -5
- package/api/payment-setup-api.ts +1 -1
- package/api/payments-api.ts +5 -5
- package/api/refunds-api.ts +5 -5
- package/api/tenant-bank-account-api.ts +74 -64
- package/api/webhooks-api.ts +1 -1
- package/api.ts +1 -1
- package/base.ts +1 -1
- package/common.ts +2 -2
- package/configuration.ts +1 -1
- package/dist/api/bank-accounts-api.d.ts +5 -5
- package/dist/api/bank-accounts-api.js +4 -4
- package/dist/api/bank-transaction-api.d.ts +56 -36
- package/dist/api/bank-transaction-api.js +47 -32
- package/dist/api/default-api.d.ts +1 -1
- package/dist/api/default-api.js +1 -1
- package/dist/api/payment-methods-api.d.ts +5 -5
- package/dist/api/payment-methods-api.js +4 -4
- package/dist/api/payment-reminders-api.d.ts +5 -5
- package/dist/api/payment-reminders-api.js +4 -4
- package/dist/api/payment-setup-api.d.ts +1 -1
- package/dist/api/payment-setup-api.js +1 -1
- package/dist/api/payments-api.d.ts +5 -5
- package/dist/api/payments-api.js +4 -4
- package/dist/api/refunds-api.d.ts +5 -5
- package/dist/api/refunds-api.js +4 -4
- package/dist/api/tenant-bank-account-api.d.ts +73 -60
- package/dist/api/tenant-bank-account-api.js +56 -42
- package/dist/api/webhooks-api.d.ts +1 -1
- package/dist/api/webhooks-api.js +1 -1
- package/dist/api.d.ts +1 -1
- package/dist/api.js +1 -1
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +2 -2
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/models/bank-transaction-response-class.d.ts +7 -1
- package/dist/models/bank-transaction-response-class.js +1 -1
- package/dist/models/create-payment-reminder-request-dto.d.ts +1 -1
- package/dist/models/create-payment-reminder-request-dto.js +1 -1
- package/dist/models/create-payment-request-dto.d.ts +1 -1
- package/dist/models/create-payment-request-dto.js +1 -1
- package/dist/models/create-refund-request-dto.d.ts +1 -1
- package/dist/models/create-refund-request-dto.js +1 -1
- package/dist/models/create-refund-response-class.d.ts +1 -1
- package/dist/models/create-refund-response-class.js +1 -1
- package/dist/models/create-tenant-bank-account-request-dto.d.ts +1 -1
- package/dist/models/create-tenant-bank-account-request-dto.js +1 -1
- package/dist/models/create-tenant-bank-account-response-class.d.ts +25 -0
- package/dist/models/create-tenant-bank-account-response-class.js +15 -0
- package/dist/models/deactivate-payment-reminder-request-dto.d.ts +1 -1
- package/dist/models/deactivate-payment-reminder-request-dto.js +1 -1
- package/dist/models/get-bank-transactions-response-class.d.ts +1 -1
- package/dist/models/get-bank-transactions-response-class.js +1 -1
- package/dist/models/get-refund-response-class.d.ts +1 -1
- package/dist/models/get-refund-response-class.js +1 -1
- package/dist/models/get-request-dto.d.ts +1 -1
- package/dist/models/get-request-dto.js +1 -1
- package/dist/models/get-tenant-bank-account-response-class.d.ts +1 -1
- package/dist/models/get-tenant-bank-account-response-class.js +1 -1
- package/dist/models/index.d.ts +4 -0
- package/dist/models/index.js +4 -0
- package/dist/models/inline-response200.d.ts +1 -1
- package/dist/models/inline-response200.js +1 -1
- package/dist/models/inline-response503.d.ts +1 -1
- package/dist/models/inline-response503.js +1 -1
- package/dist/models/link-bank-transaction-request-dto-rest.d.ts +24 -0
- package/dist/models/link-bank-transaction-request-dto-rest.js +15 -0
- package/dist/models/list-bank-transactions-response-class.d.ts +1 -1
- package/dist/models/list-bank-transactions-response-class.js +1 -1
- package/dist/models/list-refunds-response-class.d.ts +1 -1
- package/dist/models/list-refunds-response-class.js +1 -1
- package/dist/models/list-tenant-bank-account-response-class.d.ts +31 -0
- package/dist/models/list-tenant-bank-account-response-class.js +15 -0
- package/dist/models/refund-class.d.ts +2 -1
- package/dist/models/refund-class.js +3 -2
- package/dist/models/tenant-bank-account-response-class.d.ts +1 -1
- package/dist/models/tenant-bank-account-response-class.js +1 -1
- package/dist/models/transaction-class.d.ts +1 -1
- package/dist/models/transaction-class.js +1 -1
- package/dist/models/unlink-bank-transaction-request-dto-rest.d.ts +24 -0
- package/dist/models/unlink-bank-transaction-request-dto-rest.js +15 -0
- package/dist/models/update-tenant-bank-account-rest-request-dto.d.ts +1 -1
- package/dist/models/update-tenant-bank-account-rest-request-dto.js +1 -1
- package/dist/models/validate-pspconfig-request-dto.d.ts +1 -1
- package/dist/models/validate-pspconfig-request-dto.js +1 -1
- package/index.ts +1 -1
- package/models/bank-transaction-response-class.ts +7 -1
- package/models/create-payment-reminder-request-dto.ts +1 -1
- package/models/create-payment-request-dto.ts +1 -1
- package/models/create-refund-request-dto.ts +1 -1
- package/models/create-refund-response-class.ts +1 -1
- package/models/create-tenant-bank-account-request-dto.ts +1 -1
- package/models/create-tenant-bank-account-response-class.ts +31 -0
- package/models/deactivate-payment-reminder-request-dto.ts +1 -1
- package/models/get-bank-transactions-response-class.ts +1 -1
- package/models/get-refund-response-class.ts +1 -1
- package/models/get-request-dto.ts +1 -1
- package/models/get-tenant-bank-account-response-class.ts +1 -1
- package/models/index.ts +4 -0
- package/models/inline-response200.ts +1 -1
- package/models/inline-response503.ts +1 -1
- package/models/link-bank-transaction-request-dto-rest.ts +30 -0
- package/models/list-bank-transactions-response-class.ts +1 -1
- package/models/list-refunds-response-class.ts +1 -1
- package/models/list-tenant-bank-account-response-class.ts +37 -0
- package/models/refund-class.ts +3 -2
- package/models/tenant-bank-account-response-class.ts +1 -1
- package/models/transaction-class.ts +1 -1
- package/models/unlink-bank-transaction-request-dto-rest.ts +30 -0
- package/models/update-tenant-bank-account-rest-request-dto.ts +1 -1
- package/models/validate-pspconfig-request-dto.ts +1 -1
- package/package.json +1 -1
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0
|
|
6
|
-
* Contact:
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
@@ -13,7 +13,9 @@ import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
|
13
13
|
import { Configuration } from '../configuration';
|
|
14
14
|
import { RequestArgs, BaseAPI } from '../base';
|
|
15
15
|
import { CreateTenantBankAccountRequestDto } from '../models';
|
|
16
|
+
import { CreateTenantBankAccountResponseClass } from '../models';
|
|
16
17
|
import { GetTenantBankAccountResponseClass } from '../models';
|
|
18
|
+
import { ListTenantBankAccountResponseClass } from '../models';
|
|
17
19
|
import { UpdateTenantBankAccountRestRequestDto } from '../models';
|
|
18
20
|
/**
|
|
19
21
|
* TenantBankAccountApi - axios parameter creator
|
|
@@ -21,7 +23,8 @@ import { UpdateTenantBankAccountRestRequestDto } from '../models';
|
|
|
21
23
|
*/
|
|
22
24
|
export declare const TenantBankAccountApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
23
25
|
/**
|
|
24
|
-
*
|
|
26
|
+
* Create a new tenant bank account
|
|
27
|
+
* @summary Create the Tenant Bank Account
|
|
25
28
|
* @param {CreateTenantBankAccountRequestDto} createTenantBankAccountRequestDto
|
|
26
29
|
* @param {string} [authorization] Bearer Token
|
|
27
30
|
* @param {*} [options] Override http request option.
|
|
@@ -29,7 +32,8 @@ export declare const TenantBankAccountApiAxiosParamCreator: (configuration?: Con
|
|
|
29
32
|
*/
|
|
30
33
|
createTenantBankAccount: (createTenantBankAccountRequestDto: CreateTenantBankAccountRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
31
34
|
/**
|
|
32
|
-
*
|
|
35
|
+
* Deletes a tenant bank account by code
|
|
36
|
+
* @summary Delete the tenant bank account
|
|
33
37
|
* @param {string} code Unique identifier for the object.
|
|
34
38
|
* @param {string} [authorization] Bearer Token
|
|
35
39
|
* @param {*} [options] Override http request option.
|
|
@@ -37,30 +41,32 @@ export declare const TenantBankAccountApiAxiosParamCreator: (configuration?: Con
|
|
|
37
41
|
*/
|
|
38
42
|
deleteTenantBankAccount: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
39
43
|
/**
|
|
40
|
-
*
|
|
44
|
+
* Retrieves the details of the Tenant Bank Account that was previously created. Supply the unique Tenant Bank Account code that was returned when you created it and Emil Api will return the corresponding Tenant Bank Account information.
|
|
45
|
+
* @summary Retrieve the Tenant Bank Account
|
|
41
46
|
* @param {string} code Unique identifier for the object.
|
|
42
47
|
* @param {string} [authorization] Bearer Token
|
|
43
|
-
* @param {string} [expand] Expand the response with additional entities
|
|
44
48
|
* @param {*} [options] Override http request option.
|
|
45
49
|
* @throws {RequiredError}
|
|
46
50
|
*/
|
|
47
|
-
getTenantBankAccount: (code: string, authorization?: string,
|
|
51
|
+
getTenantBankAccount: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
48
52
|
/**
|
|
49
|
-
*
|
|
53
|
+
* Returns a list of Tenant Bank Accounts you have previously created. The Tenant Bank Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
54
|
+
* @summary List Tenant Bank Accounts
|
|
50
55
|
* @param {string} [authorization] Bearer Token
|
|
51
56
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
52
57
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
53
|
-
* @param {any} [filter] Filter the response by one or multiple fields.
|
|
54
|
-
* @param {any} [search]
|
|
58
|
+
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, iban, bankName, accountName</i>
|
|
59
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
55
60
|
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
56
|
-
* @param {
|
|
61
|
+
* @param {number} [expand] No expand is available for this tenant bank accounts
|
|
57
62
|
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
58
63
|
* @param {*} [options] Override http request option.
|
|
59
64
|
* @throws {RequiredError}
|
|
60
65
|
*/
|
|
61
|
-
listTenantBankAccounts: (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?:
|
|
66
|
+
listTenantBankAccounts: (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: number, filters?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
62
67
|
/**
|
|
63
|
-
*
|
|
68
|
+
* Update a tenant bank account by code
|
|
69
|
+
* @summary Update the tenant bank account
|
|
64
70
|
* @param {string} code Unique identifier for the object.
|
|
65
71
|
* @param {UpdateTenantBankAccountRestRequestDto} updateTenantBankAccountRestRequestDto
|
|
66
72
|
* @param {string} [authorization] Bearer Token
|
|
@@ -75,53 +81,57 @@ export declare const TenantBankAccountApiAxiosParamCreator: (configuration?: Con
|
|
|
75
81
|
*/
|
|
76
82
|
export declare const TenantBankAccountApiFp: (configuration?: Configuration) => {
|
|
77
83
|
/**
|
|
78
|
-
*
|
|
84
|
+
* Create a new tenant bank account
|
|
85
|
+
* @summary Create the Tenant Bank Account
|
|
79
86
|
* @param {CreateTenantBankAccountRequestDto} createTenantBankAccountRequestDto
|
|
80
87
|
* @param {string} [authorization] Bearer Token
|
|
81
88
|
* @param {*} [options] Override http request option.
|
|
82
89
|
* @throws {RequiredError}
|
|
83
90
|
*/
|
|
84
|
-
createTenantBankAccount(createTenantBankAccountRequestDto: CreateTenantBankAccountRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
91
|
+
createTenantBankAccount(createTenantBankAccountRequestDto: CreateTenantBankAccountRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateTenantBankAccountResponseClass>>;
|
|
85
92
|
/**
|
|
86
|
-
*
|
|
93
|
+
* Deletes a tenant bank account by code
|
|
94
|
+
* @summary Delete the tenant bank account
|
|
87
95
|
* @param {string} code Unique identifier for the object.
|
|
88
96
|
* @param {string} [authorization] Bearer Token
|
|
89
97
|
* @param {*} [options] Override http request option.
|
|
90
98
|
* @throws {RequiredError}
|
|
91
99
|
*/
|
|
92
|
-
deleteTenantBankAccount(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
100
|
+
deleteTenantBankAccount(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
93
101
|
/**
|
|
94
|
-
*
|
|
102
|
+
* Retrieves the details of the Tenant Bank Account that was previously created. Supply the unique Tenant Bank Account code that was returned when you created it and Emil Api will return the corresponding Tenant Bank Account information.
|
|
103
|
+
* @summary Retrieve the Tenant Bank Account
|
|
95
104
|
* @param {string} code Unique identifier for the object.
|
|
96
105
|
* @param {string} [authorization] Bearer Token
|
|
97
|
-
* @param {string} [expand] Expand the response with additional entities
|
|
98
106
|
* @param {*} [options] Override http request option.
|
|
99
107
|
* @throws {RequiredError}
|
|
100
108
|
*/
|
|
101
|
-
getTenantBankAccount(code: string, authorization?: string,
|
|
109
|
+
getTenantBankAccount(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetTenantBankAccountResponseClass>>;
|
|
102
110
|
/**
|
|
103
|
-
*
|
|
111
|
+
* Returns a list of Tenant Bank Accounts you have previously created. The Tenant Bank Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
112
|
+
* @summary List Tenant Bank Accounts
|
|
104
113
|
* @param {string} [authorization] Bearer Token
|
|
105
114
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
106
115
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
107
|
-
* @param {any} [filter] Filter the response by one or multiple fields.
|
|
108
|
-
* @param {any} [search]
|
|
116
|
+
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, iban, bankName, accountName</i>
|
|
117
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
109
118
|
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
110
|
-
* @param {
|
|
119
|
+
* @param {number} [expand] No expand is available for this tenant bank accounts
|
|
111
120
|
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
112
121
|
* @param {*} [options] Override http request option.
|
|
113
122
|
* @throws {RequiredError}
|
|
114
123
|
*/
|
|
115
|
-
listTenantBankAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?:
|
|
124
|
+
listTenantBankAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: number, filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListTenantBankAccountResponseClass>>;
|
|
116
125
|
/**
|
|
117
|
-
*
|
|
126
|
+
* Update a tenant bank account by code
|
|
127
|
+
* @summary Update the tenant bank account
|
|
118
128
|
* @param {string} code Unique identifier for the object.
|
|
119
129
|
* @param {UpdateTenantBankAccountRestRequestDto} updateTenantBankAccountRestRequestDto
|
|
120
130
|
* @param {string} [authorization] Bearer Token
|
|
121
131
|
* @param {*} [options] Override http request option.
|
|
122
132
|
* @throws {RequiredError}
|
|
123
133
|
*/
|
|
124
|
-
updateTenantBankAccount(code: string, updateTenantBankAccountRestRequestDto: UpdateTenantBankAccountRestRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
134
|
+
updateTenantBankAccount(code: string, updateTenantBankAccountRestRequestDto: UpdateTenantBankAccountRestRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateTenantBankAccountResponseClass>>;
|
|
125
135
|
};
|
|
126
136
|
/**
|
|
127
137
|
* TenantBankAccountApi - factory interface
|
|
@@ -129,53 +139,57 @@ export declare const TenantBankAccountApiFp: (configuration?: Configuration) =>
|
|
|
129
139
|
*/
|
|
130
140
|
export declare const TenantBankAccountApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
131
141
|
/**
|
|
132
|
-
*
|
|
142
|
+
* Create a new tenant bank account
|
|
143
|
+
* @summary Create the Tenant Bank Account
|
|
133
144
|
* @param {CreateTenantBankAccountRequestDto} createTenantBankAccountRequestDto
|
|
134
145
|
* @param {string} [authorization] Bearer Token
|
|
135
146
|
* @param {*} [options] Override http request option.
|
|
136
147
|
* @throws {RequiredError}
|
|
137
148
|
*/
|
|
138
|
-
createTenantBankAccount(createTenantBankAccountRequestDto: CreateTenantBankAccountRequestDto, authorization?: string, options?: any): AxiosPromise<
|
|
149
|
+
createTenantBankAccount(createTenantBankAccountRequestDto: CreateTenantBankAccountRequestDto, authorization?: string, options?: any): AxiosPromise<CreateTenantBankAccountResponseClass>;
|
|
139
150
|
/**
|
|
140
|
-
*
|
|
151
|
+
* Deletes a tenant bank account by code
|
|
152
|
+
* @summary Delete the tenant bank account
|
|
141
153
|
* @param {string} code Unique identifier for the object.
|
|
142
154
|
* @param {string} [authorization] Bearer Token
|
|
143
155
|
* @param {*} [options] Override http request option.
|
|
144
156
|
* @throws {RequiredError}
|
|
145
157
|
*/
|
|
146
|
-
deleteTenantBankAccount(code: string, authorization?: string, options?: any): AxiosPromise<
|
|
158
|
+
deleteTenantBankAccount(code: string, authorization?: string, options?: any): AxiosPromise<object>;
|
|
147
159
|
/**
|
|
148
|
-
*
|
|
160
|
+
* Retrieves the details of the Tenant Bank Account that was previously created. Supply the unique Tenant Bank Account code that was returned when you created it and Emil Api will return the corresponding Tenant Bank Account information.
|
|
161
|
+
* @summary Retrieve the Tenant Bank Account
|
|
149
162
|
* @param {string} code Unique identifier for the object.
|
|
150
163
|
* @param {string} [authorization] Bearer Token
|
|
151
|
-
* @param {string} [expand] Expand the response with additional entities
|
|
152
164
|
* @param {*} [options] Override http request option.
|
|
153
165
|
* @throws {RequiredError}
|
|
154
166
|
*/
|
|
155
|
-
getTenantBankAccount(code: string, authorization?: string,
|
|
167
|
+
getTenantBankAccount(code: string, authorization?: string, options?: any): AxiosPromise<GetTenantBankAccountResponseClass>;
|
|
156
168
|
/**
|
|
157
|
-
*
|
|
169
|
+
* Returns a list of Tenant Bank Accounts you have previously created. The Tenant Bank Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
170
|
+
* @summary List Tenant Bank Accounts
|
|
158
171
|
* @param {string} [authorization] Bearer Token
|
|
159
172
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
160
173
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
161
|
-
* @param {any} [filter] Filter the response by one or multiple fields.
|
|
162
|
-
* @param {any} [search]
|
|
174
|
+
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, iban, bankName, accountName</i>
|
|
175
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
163
176
|
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
164
|
-
* @param {
|
|
177
|
+
* @param {number} [expand] No expand is available for this tenant bank accounts
|
|
165
178
|
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
166
179
|
* @param {*} [options] Override http request option.
|
|
167
180
|
* @throws {RequiredError}
|
|
168
181
|
*/
|
|
169
|
-
listTenantBankAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?:
|
|
182
|
+
listTenantBankAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: number, filters?: any, options?: any): AxiosPromise<ListTenantBankAccountResponseClass>;
|
|
170
183
|
/**
|
|
171
|
-
*
|
|
184
|
+
* Update a tenant bank account by code
|
|
185
|
+
* @summary Update the tenant bank account
|
|
172
186
|
* @param {string} code Unique identifier for the object.
|
|
173
187
|
* @param {UpdateTenantBankAccountRestRequestDto} updateTenantBankAccountRestRequestDto
|
|
174
188
|
* @param {string} [authorization] Bearer Token
|
|
175
189
|
* @param {*} [options] Override http request option.
|
|
176
190
|
* @throws {RequiredError}
|
|
177
191
|
*/
|
|
178
|
-
updateTenantBankAccount(code: string, updateTenantBankAccountRestRequestDto: UpdateTenantBankAccountRestRequestDto, authorization?: string, options?: any): AxiosPromise<
|
|
192
|
+
updateTenantBankAccount(code: string, updateTenantBankAccountRestRequestDto: UpdateTenantBankAccountRestRequestDto, authorization?: string, options?: any): AxiosPromise<CreateTenantBankAccountResponseClass>;
|
|
179
193
|
};
|
|
180
194
|
/**
|
|
181
195
|
* Request parameters for createTenantBankAccount operation in TenantBankAccountApi.
|
|
@@ -233,12 +247,6 @@ export interface TenantBankAccountApiGetTenantBankAccountRequest {
|
|
|
233
247
|
* @memberof TenantBankAccountApiGetTenantBankAccount
|
|
234
248
|
*/
|
|
235
249
|
readonly authorization?: string;
|
|
236
|
-
/**
|
|
237
|
-
* Expand the response with additional entities
|
|
238
|
-
* @type {string}
|
|
239
|
-
* @memberof TenantBankAccountApiGetTenantBankAccount
|
|
240
|
-
*/
|
|
241
|
-
readonly expand?: string;
|
|
242
250
|
}
|
|
243
251
|
/**
|
|
244
252
|
* Request parameters for listTenantBankAccounts operation in TenantBankAccountApi.
|
|
@@ -265,13 +273,13 @@ export interface TenantBankAccountApiListTenantBankAccountsRequest {
|
|
|
265
273
|
*/
|
|
266
274
|
readonly pageToken?: any;
|
|
267
275
|
/**
|
|
268
|
-
* Filter the response by one or multiple fields.
|
|
276
|
+
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, iban, bankName, accountName</i>
|
|
269
277
|
* @type {any}
|
|
270
278
|
* @memberof TenantBankAccountApiListTenantBankAccounts
|
|
271
279
|
*/
|
|
272
280
|
readonly filter?: any;
|
|
273
281
|
/**
|
|
274
|
-
*
|
|
282
|
+
* To search the list by any field, pass search=xxx to fetch the result.
|
|
275
283
|
* @type {any}
|
|
276
284
|
* @memberof TenantBankAccountApiListTenantBankAccounts
|
|
277
285
|
*/
|
|
@@ -283,11 +291,11 @@ export interface TenantBankAccountApiListTenantBankAccountsRequest {
|
|
|
283
291
|
*/
|
|
284
292
|
readonly order?: any;
|
|
285
293
|
/**
|
|
286
|
-
*
|
|
287
|
-
* @type {
|
|
294
|
+
* No expand is available for this tenant bank accounts
|
|
295
|
+
* @type {number}
|
|
288
296
|
* @memberof TenantBankAccountApiListTenantBankAccounts
|
|
289
297
|
*/
|
|
290
|
-
readonly expand?:
|
|
298
|
+
readonly expand?: number;
|
|
291
299
|
/**
|
|
292
300
|
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
293
301
|
* @type {any}
|
|
@@ -328,23 +336,26 @@ export interface TenantBankAccountApiUpdateTenantBankAccountRequest {
|
|
|
328
336
|
*/
|
|
329
337
|
export declare class TenantBankAccountApi extends BaseAPI {
|
|
330
338
|
/**
|
|
331
|
-
*
|
|
339
|
+
* Create a new tenant bank account
|
|
340
|
+
* @summary Create the Tenant Bank Account
|
|
332
341
|
* @param {TenantBankAccountApiCreateTenantBankAccountRequest} requestParameters Request parameters.
|
|
333
342
|
* @param {*} [options] Override http request option.
|
|
334
343
|
* @throws {RequiredError}
|
|
335
344
|
* @memberof TenantBankAccountApi
|
|
336
345
|
*/
|
|
337
|
-
createTenantBankAccount(requestParameters: TenantBankAccountApiCreateTenantBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
346
|
+
createTenantBankAccount(requestParameters: TenantBankAccountApiCreateTenantBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateTenantBankAccountResponseClass, any>>;
|
|
338
347
|
/**
|
|
339
|
-
*
|
|
348
|
+
* Deletes a tenant bank account by code
|
|
349
|
+
* @summary Delete the tenant bank account
|
|
340
350
|
* @param {TenantBankAccountApiDeleteTenantBankAccountRequest} requestParameters Request parameters.
|
|
341
351
|
* @param {*} [options] Override http request option.
|
|
342
352
|
* @throws {RequiredError}
|
|
343
353
|
* @memberof TenantBankAccountApi
|
|
344
354
|
*/
|
|
345
|
-
deleteTenantBankAccount(requestParameters: TenantBankAccountApiDeleteTenantBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
355
|
+
deleteTenantBankAccount(requestParameters: TenantBankAccountApiDeleteTenantBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
|
|
346
356
|
/**
|
|
347
|
-
*
|
|
357
|
+
* Retrieves the details of the Tenant Bank Account that was previously created. Supply the unique Tenant Bank Account code that was returned when you created it and Emil Api will return the corresponding Tenant Bank Account information.
|
|
358
|
+
* @summary Retrieve the Tenant Bank Account
|
|
348
359
|
* @param {TenantBankAccountApiGetTenantBankAccountRequest} requestParameters Request parameters.
|
|
349
360
|
* @param {*} [options] Override http request option.
|
|
350
361
|
* @throws {RequiredError}
|
|
@@ -352,19 +363,21 @@ export declare class TenantBankAccountApi extends BaseAPI {
|
|
|
352
363
|
*/
|
|
353
364
|
getTenantBankAccount(requestParameters: TenantBankAccountApiGetTenantBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetTenantBankAccountResponseClass, any>>;
|
|
354
365
|
/**
|
|
355
|
-
*
|
|
366
|
+
* Returns a list of Tenant Bank Accounts you have previously created. The Tenant Bank Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
367
|
+
* @summary List Tenant Bank Accounts
|
|
356
368
|
* @param {TenantBankAccountApiListTenantBankAccountsRequest} requestParameters Request parameters.
|
|
357
369
|
* @param {*} [options] Override http request option.
|
|
358
370
|
* @throws {RequiredError}
|
|
359
371
|
* @memberof TenantBankAccountApi
|
|
360
372
|
*/
|
|
361
|
-
listTenantBankAccounts(requestParameters?: TenantBankAccountApiListTenantBankAccountsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
373
|
+
listTenantBankAccounts(requestParameters?: TenantBankAccountApiListTenantBankAccountsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListTenantBankAccountResponseClass, any>>;
|
|
362
374
|
/**
|
|
363
|
-
*
|
|
375
|
+
* Update a tenant bank account by code
|
|
376
|
+
* @summary Update the tenant bank account
|
|
364
377
|
* @param {TenantBankAccountApiUpdateTenantBankAccountRequest} requestParameters Request parameters.
|
|
365
378
|
* @param {*} [options] Override http request option.
|
|
366
379
|
* @throws {RequiredError}
|
|
367
380
|
* @memberof TenantBankAccountApi
|
|
368
381
|
*/
|
|
369
|
-
updateTenantBankAccount(requestParameters: TenantBankAccountApiUpdateTenantBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
382
|
+
updateTenantBankAccount(requestParameters: TenantBankAccountApiUpdateTenantBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateTenantBankAccountResponseClass, any>>;
|
|
370
383
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: 1.0
|
|
9
|
-
* Contact:
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
12
|
* https://openapi-generator.tech
|
|
@@ -97,7 +97,8 @@ var TenantBankAccountApiAxiosParamCreator = function (configuration) {
|
|
|
97
97
|
var _this = this;
|
|
98
98
|
return {
|
|
99
99
|
/**
|
|
100
|
-
*
|
|
100
|
+
* Create a new tenant bank account
|
|
101
|
+
* @summary Create the Tenant Bank Account
|
|
101
102
|
* @param {CreateTenantBankAccountRequestDto} createTenantBankAccountRequestDto
|
|
102
103
|
* @param {string} [authorization] Bearer Token
|
|
103
104
|
* @param {*} [options] Override http request option.
|
|
@@ -145,7 +146,8 @@ var TenantBankAccountApiAxiosParamCreator = function (configuration) {
|
|
|
145
146
|
});
|
|
146
147
|
},
|
|
147
148
|
/**
|
|
148
|
-
*
|
|
149
|
+
* Deletes a tenant bank account by code
|
|
150
|
+
* @summary Delete the tenant bank account
|
|
149
151
|
* @param {string} code Unique identifier for the object.
|
|
150
152
|
* @param {string} [authorization] Bearer Token
|
|
151
153
|
* @param {*} [options] Override http request option.
|
|
@@ -192,14 +194,14 @@ var TenantBankAccountApiAxiosParamCreator = function (configuration) {
|
|
|
192
194
|
});
|
|
193
195
|
},
|
|
194
196
|
/**
|
|
195
|
-
*
|
|
197
|
+
* Retrieves the details of the Tenant Bank Account that was previously created. Supply the unique Tenant Bank Account code that was returned when you created it and Emil Api will return the corresponding Tenant Bank Account information.
|
|
198
|
+
* @summary Retrieve the Tenant Bank Account
|
|
196
199
|
* @param {string} code Unique identifier for the object.
|
|
197
200
|
* @param {string} [authorization] Bearer Token
|
|
198
|
-
* @param {string} [expand] Expand the response with additional entities
|
|
199
201
|
* @param {*} [options] Override http request option.
|
|
200
202
|
* @throws {RequiredError}
|
|
201
203
|
*/
|
|
202
|
-
getTenantBankAccount: function (code, authorization,
|
|
204
|
+
getTenantBankAccount: function (code, authorization, options) {
|
|
203
205
|
if (options === void 0) { options = {}; }
|
|
204
206
|
return __awaiter(_this, void 0, void 0, function () {
|
|
205
207
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -225,9 +227,6 @@ var TenantBankAccountApiAxiosParamCreator = function (configuration) {
|
|
|
225
227
|
// authentication bearer required
|
|
226
228
|
// http bearer authentication required
|
|
227
229
|
_a.sent();
|
|
228
|
-
if (expand !== undefined) {
|
|
229
|
-
localVarQueryParameter['expand'] = expand;
|
|
230
|
-
}
|
|
231
230
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
232
231
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
233
232
|
}
|
|
@@ -243,14 +242,15 @@ var TenantBankAccountApiAxiosParamCreator = function (configuration) {
|
|
|
243
242
|
});
|
|
244
243
|
},
|
|
245
244
|
/**
|
|
246
|
-
*
|
|
245
|
+
* Returns a list of Tenant Bank Accounts you have previously created. The Tenant Bank Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
246
|
+
* @summary List Tenant Bank Accounts
|
|
247
247
|
* @param {string} [authorization] Bearer Token
|
|
248
248
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
249
249
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
250
|
-
* @param {any} [filter] Filter the response by one or multiple fields.
|
|
251
|
-
* @param {any} [search]
|
|
250
|
+
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, iban, bankName, accountName</i>
|
|
251
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
252
252
|
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
253
|
-
* @param {
|
|
253
|
+
* @param {number} [expand] No expand is available for this tenant bank accounts
|
|
254
254
|
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
255
255
|
* @param {*} [options] Override http request option.
|
|
256
256
|
* @throws {RequiredError}
|
|
@@ -314,7 +314,8 @@ var TenantBankAccountApiAxiosParamCreator = function (configuration) {
|
|
|
314
314
|
});
|
|
315
315
|
},
|
|
316
316
|
/**
|
|
317
|
-
*
|
|
317
|
+
* Update a tenant bank account by code
|
|
318
|
+
* @summary Update the tenant bank account
|
|
318
319
|
* @param {string} code Unique identifier for the object.
|
|
319
320
|
* @param {UpdateTenantBankAccountRestRequestDto} updateTenantBankAccountRestRequestDto
|
|
320
321
|
* @param {string} [authorization] Bearer Token
|
|
@@ -376,7 +377,8 @@ var TenantBankAccountApiFp = function (configuration) {
|
|
|
376
377
|
var localVarAxiosParamCreator = (0, exports.TenantBankAccountApiAxiosParamCreator)(configuration);
|
|
377
378
|
return {
|
|
378
379
|
/**
|
|
379
|
-
*
|
|
380
|
+
* Create a new tenant bank account
|
|
381
|
+
* @summary Create the Tenant Bank Account
|
|
380
382
|
* @param {CreateTenantBankAccountRequestDto} createTenantBankAccountRequestDto
|
|
381
383
|
* @param {string} [authorization] Bearer Token
|
|
382
384
|
* @param {*} [options] Override http request option.
|
|
@@ -396,7 +398,8 @@ var TenantBankAccountApiFp = function (configuration) {
|
|
|
396
398
|
});
|
|
397
399
|
},
|
|
398
400
|
/**
|
|
399
|
-
*
|
|
401
|
+
* Deletes a tenant bank account by code
|
|
402
|
+
* @summary Delete the tenant bank account
|
|
400
403
|
* @param {string} code Unique identifier for the object.
|
|
401
404
|
* @param {string} [authorization] Bearer Token
|
|
402
405
|
* @param {*} [options] Override http request option.
|
|
@@ -416,19 +419,19 @@ var TenantBankAccountApiFp = function (configuration) {
|
|
|
416
419
|
});
|
|
417
420
|
},
|
|
418
421
|
/**
|
|
419
|
-
*
|
|
422
|
+
* Retrieves the details of the Tenant Bank Account that was previously created. Supply the unique Tenant Bank Account code that was returned when you created it and Emil Api will return the corresponding Tenant Bank Account information.
|
|
423
|
+
* @summary Retrieve the Tenant Bank Account
|
|
420
424
|
* @param {string} code Unique identifier for the object.
|
|
421
425
|
* @param {string} [authorization] Bearer Token
|
|
422
|
-
* @param {string} [expand] Expand the response with additional entities
|
|
423
426
|
* @param {*} [options] Override http request option.
|
|
424
427
|
* @throws {RequiredError}
|
|
425
428
|
*/
|
|
426
|
-
getTenantBankAccount: function (code, authorization,
|
|
429
|
+
getTenantBankAccount: function (code, authorization, options) {
|
|
427
430
|
return __awaiter(this, void 0, void 0, function () {
|
|
428
431
|
var localVarAxiosArgs;
|
|
429
432
|
return __generator(this, function (_a) {
|
|
430
433
|
switch (_a.label) {
|
|
431
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getTenantBankAccount(code, authorization,
|
|
434
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getTenantBankAccount(code, authorization, options)];
|
|
432
435
|
case 1:
|
|
433
436
|
localVarAxiosArgs = _a.sent();
|
|
434
437
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -437,14 +440,15 @@ var TenantBankAccountApiFp = function (configuration) {
|
|
|
437
440
|
});
|
|
438
441
|
},
|
|
439
442
|
/**
|
|
440
|
-
*
|
|
443
|
+
* Returns a list of Tenant Bank Accounts you have previously created. The Tenant Bank Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
444
|
+
* @summary List Tenant Bank Accounts
|
|
441
445
|
* @param {string} [authorization] Bearer Token
|
|
442
446
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
443
447
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
444
|
-
* @param {any} [filter] Filter the response by one or multiple fields.
|
|
445
|
-
* @param {any} [search]
|
|
448
|
+
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, iban, bankName, accountName</i>
|
|
449
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
446
450
|
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
447
|
-
* @param {
|
|
451
|
+
* @param {number} [expand] No expand is available for this tenant bank accounts
|
|
448
452
|
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
449
453
|
* @param {*} [options] Override http request option.
|
|
450
454
|
* @throws {RequiredError}
|
|
@@ -463,7 +467,8 @@ var TenantBankAccountApiFp = function (configuration) {
|
|
|
463
467
|
});
|
|
464
468
|
},
|
|
465
469
|
/**
|
|
466
|
-
*
|
|
470
|
+
* Update a tenant bank account by code
|
|
471
|
+
* @summary Update the tenant bank account
|
|
467
472
|
* @param {string} code Unique identifier for the object.
|
|
468
473
|
* @param {UpdateTenantBankAccountRestRequestDto} updateTenantBankAccountRestRequestDto
|
|
469
474
|
* @param {string} [authorization] Bearer Token
|
|
@@ -494,7 +499,8 @@ var TenantBankAccountApiFactory = function (configuration, basePath, axios) {
|
|
|
494
499
|
var localVarFp = (0, exports.TenantBankAccountApiFp)(configuration);
|
|
495
500
|
return {
|
|
496
501
|
/**
|
|
497
|
-
*
|
|
502
|
+
* Create a new tenant bank account
|
|
503
|
+
* @summary Create the Tenant Bank Account
|
|
498
504
|
* @param {CreateTenantBankAccountRequestDto} createTenantBankAccountRequestDto
|
|
499
505
|
* @param {string} [authorization] Bearer Token
|
|
500
506
|
* @param {*} [options] Override http request option.
|
|
@@ -504,7 +510,8 @@ var TenantBankAccountApiFactory = function (configuration, basePath, axios) {
|
|
|
504
510
|
return localVarFp.createTenantBankAccount(createTenantBankAccountRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
505
511
|
},
|
|
506
512
|
/**
|
|
507
|
-
*
|
|
513
|
+
* Deletes a tenant bank account by code
|
|
514
|
+
* @summary Delete the tenant bank account
|
|
508
515
|
* @param {string} code Unique identifier for the object.
|
|
509
516
|
* @param {string} [authorization] Bearer Token
|
|
510
517
|
* @param {*} [options] Override http request option.
|
|
@@ -514,25 +521,26 @@ var TenantBankAccountApiFactory = function (configuration, basePath, axios) {
|
|
|
514
521
|
return localVarFp.deleteTenantBankAccount(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
515
522
|
},
|
|
516
523
|
/**
|
|
517
|
-
*
|
|
524
|
+
* Retrieves the details of the Tenant Bank Account that was previously created. Supply the unique Tenant Bank Account code that was returned when you created it and Emil Api will return the corresponding Tenant Bank Account information.
|
|
525
|
+
* @summary Retrieve the Tenant Bank Account
|
|
518
526
|
* @param {string} code Unique identifier for the object.
|
|
519
527
|
* @param {string} [authorization] Bearer Token
|
|
520
|
-
* @param {string} [expand] Expand the response with additional entities
|
|
521
528
|
* @param {*} [options] Override http request option.
|
|
522
529
|
* @throws {RequiredError}
|
|
523
530
|
*/
|
|
524
|
-
getTenantBankAccount: function (code, authorization,
|
|
525
|
-
return localVarFp.getTenantBankAccount(code, authorization,
|
|
531
|
+
getTenantBankAccount: function (code, authorization, options) {
|
|
532
|
+
return localVarFp.getTenantBankAccount(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
526
533
|
},
|
|
527
534
|
/**
|
|
528
|
-
*
|
|
535
|
+
* Returns a list of Tenant Bank Accounts you have previously created. The Tenant Bank Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
536
|
+
* @summary List Tenant Bank Accounts
|
|
529
537
|
* @param {string} [authorization] Bearer Token
|
|
530
538
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
531
539
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
532
|
-
* @param {any} [filter] Filter the response by one or multiple fields.
|
|
533
|
-
* @param {any} [search]
|
|
540
|
+
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, iban, bankName, accountName</i>
|
|
541
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
534
542
|
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
535
|
-
* @param {
|
|
543
|
+
* @param {number} [expand] No expand is available for this tenant bank accounts
|
|
536
544
|
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
537
545
|
* @param {*} [options] Override http request option.
|
|
538
546
|
* @throws {RequiredError}
|
|
@@ -541,7 +549,8 @@ var TenantBankAccountApiFactory = function (configuration, basePath, axios) {
|
|
|
541
549
|
return localVarFp.listTenantBankAccounts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
542
550
|
},
|
|
543
551
|
/**
|
|
544
|
-
*
|
|
552
|
+
* Update a tenant bank account by code
|
|
553
|
+
* @summary Update the tenant bank account
|
|
545
554
|
* @param {string} code Unique identifier for the object.
|
|
546
555
|
* @param {UpdateTenantBankAccountRestRequestDto} updateTenantBankAccountRestRequestDto
|
|
547
556
|
* @param {string} [authorization] Bearer Token
|
|
@@ -566,7 +575,8 @@ var TenantBankAccountApi = /** @class */ (function (_super) {
|
|
|
566
575
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
567
576
|
}
|
|
568
577
|
/**
|
|
569
|
-
*
|
|
578
|
+
* Create a new tenant bank account
|
|
579
|
+
* @summary Create the Tenant Bank Account
|
|
570
580
|
* @param {TenantBankAccountApiCreateTenantBankAccountRequest} requestParameters Request parameters.
|
|
571
581
|
* @param {*} [options] Override http request option.
|
|
572
582
|
* @throws {RequiredError}
|
|
@@ -577,7 +587,8 @@ var TenantBankAccountApi = /** @class */ (function (_super) {
|
|
|
577
587
|
return (0, exports.TenantBankAccountApiFp)(this.configuration).createTenantBankAccount(requestParameters.createTenantBankAccountRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
578
588
|
};
|
|
579
589
|
/**
|
|
580
|
-
*
|
|
590
|
+
* Deletes a tenant bank account by code
|
|
591
|
+
* @summary Delete the tenant bank account
|
|
581
592
|
* @param {TenantBankAccountApiDeleteTenantBankAccountRequest} requestParameters Request parameters.
|
|
582
593
|
* @param {*} [options] Override http request option.
|
|
583
594
|
* @throws {RequiredError}
|
|
@@ -588,7 +599,8 @@ var TenantBankAccountApi = /** @class */ (function (_super) {
|
|
|
588
599
|
return (0, exports.TenantBankAccountApiFp)(this.configuration).deleteTenantBankAccount(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
589
600
|
};
|
|
590
601
|
/**
|
|
591
|
-
*
|
|
602
|
+
* Retrieves the details of the Tenant Bank Account that was previously created. Supply the unique Tenant Bank Account code that was returned when you created it and Emil Api will return the corresponding Tenant Bank Account information.
|
|
603
|
+
* @summary Retrieve the Tenant Bank Account
|
|
592
604
|
* @param {TenantBankAccountApiGetTenantBankAccountRequest} requestParameters Request parameters.
|
|
593
605
|
* @param {*} [options] Override http request option.
|
|
594
606
|
* @throws {RequiredError}
|
|
@@ -596,10 +608,11 @@ var TenantBankAccountApi = /** @class */ (function (_super) {
|
|
|
596
608
|
*/
|
|
597
609
|
TenantBankAccountApi.prototype.getTenantBankAccount = function (requestParameters, options) {
|
|
598
610
|
var _this = this;
|
|
599
|
-
return (0, exports.TenantBankAccountApiFp)(this.configuration).getTenantBankAccount(requestParameters.code, requestParameters.authorization,
|
|
611
|
+
return (0, exports.TenantBankAccountApiFp)(this.configuration).getTenantBankAccount(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
600
612
|
};
|
|
601
613
|
/**
|
|
602
|
-
*
|
|
614
|
+
* Returns a list of Tenant Bank Accounts you have previously created. The Tenant Bank Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
615
|
+
* @summary List Tenant Bank Accounts
|
|
603
616
|
* @param {TenantBankAccountApiListTenantBankAccountsRequest} requestParameters Request parameters.
|
|
604
617
|
* @param {*} [options] Override http request option.
|
|
605
618
|
* @throws {RequiredError}
|
|
@@ -611,7 +624,8 @@ var TenantBankAccountApi = /** @class */ (function (_super) {
|
|
|
611
624
|
return (0, exports.TenantBankAccountApiFp)(this.configuration).listTenantBankAccounts(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
612
625
|
};
|
|
613
626
|
/**
|
|
614
|
-
*
|
|
627
|
+
* Update a tenant bank account by code
|
|
628
|
+
* @summary Update the tenant bank account
|
|
615
629
|
* @param {TenantBankAccountApiUpdateTenantBankAccountRequest} requestParameters Request parameters.
|
|
616
630
|
* @param {*} [options] Override http request option.
|
|
617
631
|
* @throws {RequiredError}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0
|
|
6
|
-
* Contact:
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
package/dist/api/webhooks-api.js
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: 1.0
|
|
9
|
-
* Contact:
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
12
|
* https://openapi-generator.tech
|