@emilgroup/payment-sdk-node 1.13.1-beta.13 → 1.13.1-beta.17
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 -0
- package/README.md +2 -2
- package/api/bank-accounts-api.ts +346 -22
- package/api/bank-transaction-api.ts +12 -12
- package/api/payment-methods-api.ts +38 -145
- package/api/payment-reminders-api.ts +12 -12
- package/api/payments-api.ts +42 -45
- package/api/refunds-api.ts +4 -4
- package/api/tenant-bank-account-api.ts +20 -20
- package/dist/api/bank-accounts-api.d.ts +193 -16
- package/dist/api/bank-accounts-api.js +302 -19
- package/dist/api/bank-transaction-api.d.ts +12 -12
- package/dist/api/bank-transaction-api.js +11 -11
- package/dist/api/payment-methods-api.d.ts +29 -84
- package/dist/api/payment-methods-api.js +33 -129
- package/dist/api/payment-reminders-api.d.ts +12 -12
- package/dist/api/payment-reminders-api.js +11 -11
- package/dist/api/payments-api.d.ts +33 -33
- package/dist/api/payments-api.js +37 -39
- package/dist/api/refunds-api.d.ts +4 -4
- package/dist/api/refunds-api.js +3 -3
- package/dist/api/tenant-bank-account-api.d.ts +20 -20
- package/dist/api/tenant-bank-account-api.js +14 -14
- package/dist/models/bank-account-class.d.ts +67 -0
- package/dist/models/bank-account-class.js +15 -0
- package/dist/models/create-bank-account-request-dto.d.ts +30 -0
- package/dist/models/create-bank-account-request-dto.js +15 -0
- package/dist/models/get-bank-account-response-class.d.ts +25 -0
- package/dist/models/get-bank-account-response-class.js +15 -0
- package/dist/models/index.d.ts +5 -0
- package/dist/models/index.js +5 -0
- package/dist/models/primary-bank-account-response-class.d.ts +42 -0
- package/dist/models/primary-bank-account-response-class.js +15 -0
- package/dist/models/set-primary-bank-account-request-dto-rest.d.ts +24 -0
- package/dist/models/set-primary-bank-account-request-dto-rest.js +15 -0
- package/models/bank-account-class.ts +73 -0
- package/models/create-bank-account-request-dto.ts +36 -0
- package/models/get-bank-account-response-class.ts +31 -0
- package/models/index.ts +5 -0
- package/models/primary-bank-account-response-class.ts +48 -0
- package/models/set-primary-bank-account-request-dto-rest.ts +30 -0
- package/package.json +1 -1
|
@@ -41,7 +41,7 @@ export declare const TenantBankAccountApiAxiosParamCreator: (configuration?: Con
|
|
|
41
41
|
*/
|
|
42
42
|
deleteTenantBankAccount: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
43
43
|
/**
|
|
44
|
-
* Retrieves the details of the Tenant Bank Account that was previously created. Supply the unique Tenant Bank Account code
|
|
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
45
|
* @summary Retrieve the Tenant Bank Account
|
|
46
46
|
* @param {string} code Unique identifier for the object.
|
|
47
47
|
* @param {string} [authorization] Bearer Token
|
|
@@ -50,20 +50,20 @@ export declare const TenantBankAccountApiAxiosParamCreator: (configuration?: Con
|
|
|
50
50
|
*/
|
|
51
51
|
getTenantBankAccount: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
52
52
|
/**
|
|
53
|
-
* Returns a list of Tenant Bank Accounts you have previously created.
|
|
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
54
|
* @summary List Tenant Bank Accounts
|
|
55
55
|
* @param {string} [authorization] Bearer Token
|
|
56
56
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
57
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.
|
|
58
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]
|
|
59
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
60
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.
|
|
61
|
-
* @param {
|
|
61
|
+
* @param {string} [expand] No expand is available for this tenant bank accounts
|
|
62
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.
|
|
63
63
|
* @param {*} [options] Override http request option.
|
|
64
64
|
* @throws {RequiredError}
|
|
65
65
|
*/
|
|
66
|
-
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?: string, filters?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
67
67
|
/**
|
|
68
68
|
* Update a tenant bank account by code
|
|
69
69
|
* @summary Update a tenant bank account
|
|
@@ -99,7 +99,7 @@ export declare const TenantBankAccountApiFp: (configuration?: Configuration) =>
|
|
|
99
99
|
*/
|
|
100
100
|
deleteTenantBankAccount(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
101
101
|
/**
|
|
102
|
-
* Retrieves the details of the Tenant Bank Account that was previously created. Supply the unique Tenant Bank Account code
|
|
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
103
|
* @summary Retrieve the Tenant Bank Account
|
|
104
104
|
* @param {string} code Unique identifier for the object.
|
|
105
105
|
* @param {string} [authorization] Bearer Token
|
|
@@ -108,20 +108,20 @@ export declare const TenantBankAccountApiFp: (configuration?: Configuration) =>
|
|
|
108
108
|
*/
|
|
109
109
|
getTenantBankAccount(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetTenantBankAccountResponseClass>>;
|
|
110
110
|
/**
|
|
111
|
-
* Returns a list of Tenant Bank Accounts you have previously created.
|
|
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
112
|
* @summary List Tenant Bank Accounts
|
|
113
113
|
* @param {string} [authorization] Bearer Token
|
|
114
114
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
115
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.
|
|
116
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]
|
|
117
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
118
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.
|
|
119
|
-
* @param {
|
|
119
|
+
* @param {string} [expand] No expand is available for this tenant bank accounts
|
|
120
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.
|
|
121
121
|
* @param {*} [options] Override http request option.
|
|
122
122
|
* @throws {RequiredError}
|
|
123
123
|
*/
|
|
124
|
-
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?: string, filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListTenantBankAccountResponseClass>>;
|
|
125
125
|
/**
|
|
126
126
|
* Update a tenant bank account by code
|
|
127
127
|
* @summary Update a tenant bank account
|
|
@@ -157,7 +157,7 @@ export declare const TenantBankAccountApiFactory: (configuration?: Configuration
|
|
|
157
157
|
*/
|
|
158
158
|
deleteTenantBankAccount(code: string, authorization?: string, options?: any): AxiosPromise<object>;
|
|
159
159
|
/**
|
|
160
|
-
* Retrieves the details of the Tenant Bank Account that was previously created. Supply the unique Tenant Bank Account code
|
|
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
161
|
* @summary Retrieve the Tenant Bank Account
|
|
162
162
|
* @param {string} code Unique identifier for the object.
|
|
163
163
|
* @param {string} [authorization] Bearer Token
|
|
@@ -166,20 +166,20 @@ export declare const TenantBankAccountApiFactory: (configuration?: Configuration
|
|
|
166
166
|
*/
|
|
167
167
|
getTenantBankAccount(code: string, authorization?: string, options?: any): AxiosPromise<GetTenantBankAccountResponseClass>;
|
|
168
168
|
/**
|
|
169
|
-
* Returns a list of Tenant Bank Accounts you have previously created.
|
|
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
170
|
* @summary List Tenant Bank Accounts
|
|
171
171
|
* @param {string} [authorization] Bearer Token
|
|
172
172
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
173
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.
|
|
174
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]
|
|
175
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
176
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.
|
|
177
|
-
* @param {
|
|
177
|
+
* @param {string} [expand] No expand is available for this tenant bank accounts
|
|
178
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.
|
|
179
179
|
* @param {*} [options] Override http request option.
|
|
180
180
|
* @throws {RequiredError}
|
|
181
181
|
*/
|
|
182
|
-
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?: string, filters?: any, options?: any): AxiosPromise<ListTenantBankAccountResponseClass>;
|
|
183
183
|
/**
|
|
184
184
|
* Update a tenant bank account by code
|
|
185
185
|
* @summary Update a tenant bank account
|
|
@@ -279,7 +279,7 @@ export interface TenantBankAccountApiListTenantBankAccountsRequest {
|
|
|
279
279
|
*/
|
|
280
280
|
readonly filter?: any;
|
|
281
281
|
/**
|
|
282
|
-
*
|
|
282
|
+
* To search the list by any field, pass search=xxx to fetch the result.
|
|
283
283
|
* @type {any}
|
|
284
284
|
* @memberof TenantBankAccountApiListTenantBankAccounts
|
|
285
285
|
*/
|
|
@@ -292,10 +292,10 @@ export interface TenantBankAccountApiListTenantBankAccountsRequest {
|
|
|
292
292
|
readonly order?: any;
|
|
293
293
|
/**
|
|
294
294
|
* No expand is available for this tenant bank accounts
|
|
295
|
-
* @type {
|
|
295
|
+
* @type {string}
|
|
296
296
|
* @memberof TenantBankAccountApiListTenantBankAccounts
|
|
297
297
|
*/
|
|
298
|
-
readonly expand?:
|
|
298
|
+
readonly expand?: string;
|
|
299
299
|
/**
|
|
300
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.
|
|
301
301
|
* @type {any}
|
|
@@ -354,7 +354,7 @@ export declare class TenantBankAccountApi extends BaseAPI {
|
|
|
354
354
|
*/
|
|
355
355
|
deleteTenantBankAccount(requestParameters: TenantBankAccountApiDeleteTenantBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
|
|
356
356
|
/**
|
|
357
|
-
* Retrieves the details of the Tenant Bank Account that was previously created. Supply the unique Tenant Bank Account code
|
|
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
358
|
* @summary Retrieve the Tenant Bank Account
|
|
359
359
|
* @param {TenantBankAccountApiGetTenantBankAccountRequest} requestParameters Request parameters.
|
|
360
360
|
* @param {*} [options] Override http request option.
|
|
@@ -363,7 +363,7 @@ export declare class TenantBankAccountApi extends BaseAPI {
|
|
|
363
363
|
*/
|
|
364
364
|
getTenantBankAccount(requestParameters: TenantBankAccountApiGetTenantBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetTenantBankAccountResponseClass, any>>;
|
|
365
365
|
/**
|
|
366
|
-
* Returns a list of Tenant Bank Accounts you have previously created.
|
|
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
367
|
* @summary List Tenant Bank Accounts
|
|
368
368
|
* @param {TenantBankAccountApiListTenantBankAccountsRequest} requestParameters Request parameters.
|
|
369
369
|
* @param {*} [options] Override http request option.
|
|
@@ -194,7 +194,7 @@ var TenantBankAccountApiAxiosParamCreator = function (configuration) {
|
|
|
194
194
|
});
|
|
195
195
|
},
|
|
196
196
|
/**
|
|
197
|
-
* Retrieves the details of the Tenant Bank Account that was previously created. Supply the unique Tenant Bank Account code
|
|
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
198
|
* @summary Retrieve the Tenant Bank Account
|
|
199
199
|
* @param {string} code Unique identifier for the object.
|
|
200
200
|
* @param {string} [authorization] Bearer Token
|
|
@@ -242,15 +242,15 @@ var TenantBankAccountApiAxiosParamCreator = function (configuration) {
|
|
|
242
242
|
});
|
|
243
243
|
},
|
|
244
244
|
/**
|
|
245
|
-
* Returns a list of Tenant Bank Accounts you have previously created.
|
|
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
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
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]
|
|
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 {string} [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}
|
|
@@ -419,7 +419,7 @@ var TenantBankAccountApiFp = function (configuration) {
|
|
|
419
419
|
});
|
|
420
420
|
},
|
|
421
421
|
/**
|
|
422
|
-
* Retrieves the details of the Tenant Bank Account that was previously created. Supply the unique Tenant Bank Account code
|
|
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
423
|
* @summary Retrieve the Tenant Bank Account
|
|
424
424
|
* @param {string} code Unique identifier for the object.
|
|
425
425
|
* @param {string} [authorization] Bearer Token
|
|
@@ -440,15 +440,15 @@ var TenantBankAccountApiFp = function (configuration) {
|
|
|
440
440
|
});
|
|
441
441
|
},
|
|
442
442
|
/**
|
|
443
|
-
* Returns a list of Tenant Bank Accounts you have previously created.
|
|
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
444
|
* @summary List Tenant Bank Accounts
|
|
445
445
|
* @param {string} [authorization] Bearer Token
|
|
446
446
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
447
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.
|
|
448
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]
|
|
449
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
450
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.
|
|
451
|
-
* @param {
|
|
451
|
+
* @param {string} [expand] No expand is available for this tenant bank accounts
|
|
452
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.
|
|
453
453
|
* @param {*} [options] Override http request option.
|
|
454
454
|
* @throws {RequiredError}
|
|
@@ -521,7 +521,7 @@ var TenantBankAccountApiFactory = function (configuration, basePath, axios) {
|
|
|
521
521
|
return localVarFp.deleteTenantBankAccount(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
522
522
|
},
|
|
523
523
|
/**
|
|
524
|
-
* Retrieves the details of the Tenant Bank Account that was previously created. Supply the unique Tenant Bank Account code
|
|
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
525
|
* @summary Retrieve the Tenant Bank Account
|
|
526
526
|
* @param {string} code Unique identifier for the object.
|
|
527
527
|
* @param {string} [authorization] Bearer Token
|
|
@@ -532,15 +532,15 @@ var TenantBankAccountApiFactory = function (configuration, basePath, axios) {
|
|
|
532
532
|
return localVarFp.getTenantBankAccount(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
533
533
|
},
|
|
534
534
|
/**
|
|
535
|
-
* Returns a list of Tenant Bank Accounts you have previously created.
|
|
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
536
|
* @summary List Tenant Bank Accounts
|
|
537
537
|
* @param {string} [authorization] Bearer Token
|
|
538
538
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
539
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.
|
|
540
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]
|
|
541
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
542
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.
|
|
543
|
-
* @param {
|
|
543
|
+
* @param {string} [expand] No expand is available for this tenant bank accounts
|
|
544
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.
|
|
545
545
|
* @param {*} [options] Override http request option.
|
|
546
546
|
* @throws {RequiredError}
|
|
@@ -599,7 +599,7 @@ var TenantBankAccountApi = /** @class */ (function (_super) {
|
|
|
599
599
|
return (0, exports.TenantBankAccountApiFp)(this.configuration).deleteTenantBankAccount(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
600
600
|
};
|
|
601
601
|
/**
|
|
602
|
-
* Retrieves the details of the Tenant Bank Account that was previously created. Supply the unique Tenant Bank Account code
|
|
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
603
|
* @summary Retrieve the Tenant Bank Account
|
|
604
604
|
* @param {TenantBankAccountApiGetTenantBankAccountRequest} requestParameters Request parameters.
|
|
605
605
|
* @param {*} [options] Override http request option.
|
|
@@ -611,7 +611,7 @@ var TenantBankAccountApi = /** @class */ (function (_super) {
|
|
|
611
611
|
return (0, exports.TenantBankAccountApiFp)(this.configuration).getTenantBankAccount(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
612
612
|
};
|
|
613
613
|
/**
|
|
614
|
-
* Returns a list of Tenant Bank Accounts you have previously created.
|
|
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
615
|
* @summary List Tenant Bank Accounts
|
|
616
616
|
* @param {TenantBankAccountApiListTenantBankAccountsRequest} requestParameters Request parameters.
|
|
617
617
|
* @param {*} [options] Override http request option.
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Emil Payment Service
|
|
3
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { PrimaryBankAccountResponseClass } from './primary-bank-account-response-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface BankAccountClass
|
|
17
|
+
*/
|
|
18
|
+
export interface BankAccountClass {
|
|
19
|
+
/**
|
|
20
|
+
* Unique identifier for bank account.
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof BankAccountClass
|
|
23
|
+
*/
|
|
24
|
+
'id': number;
|
|
25
|
+
/**
|
|
26
|
+
* Unique identifier for the object.
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof BankAccountClass
|
|
29
|
+
*/
|
|
30
|
+
'code': string;
|
|
31
|
+
/**
|
|
32
|
+
* User account code associated to bank account.
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof BankAccountClass
|
|
35
|
+
*/
|
|
36
|
+
'accountCode': string;
|
|
37
|
+
/**
|
|
38
|
+
* International bank account number with witch the bank account is created
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof BankAccountClass
|
|
41
|
+
*/
|
|
42
|
+
'iban': string;
|
|
43
|
+
/**
|
|
44
|
+
* Time at which the object was created.
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof BankAccountClass
|
|
47
|
+
*/
|
|
48
|
+
'createdAt': string;
|
|
49
|
+
/**
|
|
50
|
+
* Time at which the object was updated.
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof BankAccountClass
|
|
53
|
+
*/
|
|
54
|
+
'updatedAt': string;
|
|
55
|
+
/**
|
|
56
|
+
* Partner code associated to bank account.
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof BankAccountClass
|
|
59
|
+
*/
|
|
60
|
+
'partnerCode': string;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {PrimaryBankAccountResponseClass}
|
|
64
|
+
* @memberof BankAccountClass
|
|
65
|
+
*/
|
|
66
|
+
'primaryBankAccount': PrimaryBankAccountResponseClass;
|
|
67
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Emil Payment Service
|
|
6
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,30 @@
|
|
|
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
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface CreateBankAccountRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface CreateBankAccountRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
* User account code associated to bank account.
|
|
20
|
+
* @type {object}
|
|
21
|
+
* @memberof CreateBankAccountRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'accountCode': object;
|
|
24
|
+
/**
|
|
25
|
+
* Partner code associated to bank account.
|
|
26
|
+
* @type {object}
|
|
27
|
+
* @memberof CreateBankAccountRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'partnerCode': object;
|
|
30
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Emil Payment Service
|
|
6
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,25 @@
|
|
|
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 { BankAccountClass } from './bank-account-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface GetBankAccountResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface GetBankAccountResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* Bank Account
|
|
21
|
+
* @type {BankAccountClass}
|
|
22
|
+
* @memberof GetBankAccountResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'bankAccount': BankAccountClass;
|
|
25
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Emil Payment Service
|
|
6
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
package/dist/models/index.d.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
|
+
export * from './bank-account-class';
|
|
1
2
|
export * from './bank-transaction-response-class';
|
|
3
|
+
export * from './create-bank-account-request-dto';
|
|
2
4
|
export * from './create-payment-reminder-request-dto';
|
|
3
5
|
export * from './create-payment-request-dto';
|
|
4
6
|
export * from './create-refund-request-dto';
|
|
@@ -6,6 +8,7 @@ export * from './create-refund-response-class';
|
|
|
6
8
|
export * from './create-tenant-bank-account-request-dto';
|
|
7
9
|
export * from './create-tenant-bank-account-response-class';
|
|
8
10
|
export * from './deactivate-payment-reminder-request-dto';
|
|
11
|
+
export * from './get-bank-account-response-class';
|
|
9
12
|
export * from './get-bank-transactions-response-class';
|
|
10
13
|
export * from './get-refund-response-class';
|
|
11
14
|
export * from './get-request-dto';
|
|
@@ -16,7 +19,9 @@ export * from './link-bank-transaction-request-dto-rest';
|
|
|
16
19
|
export * from './list-bank-transactions-response-class';
|
|
17
20
|
export * from './list-refunds-response-class';
|
|
18
21
|
export * from './list-tenant-bank-account-response-class';
|
|
22
|
+
export * from './primary-bank-account-response-class';
|
|
19
23
|
export * from './refund-class';
|
|
24
|
+
export * from './set-primary-bank-account-request-dto-rest';
|
|
20
25
|
export * from './tenant-bank-account-response-class';
|
|
21
26
|
export * from './transaction-class';
|
|
22
27
|
export * from './unlink-bank-transaction-request-dto-rest';
|
package/dist/models/index.js
CHANGED
|
@@ -14,7 +14,9 @@ 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);
|
|
17
18
|
__exportStar(require("./bank-transaction-response-class"), exports);
|
|
19
|
+
__exportStar(require("./create-bank-account-request-dto"), exports);
|
|
18
20
|
__exportStar(require("./create-payment-reminder-request-dto"), exports);
|
|
19
21
|
__exportStar(require("./create-payment-request-dto"), exports);
|
|
20
22
|
__exportStar(require("./create-refund-request-dto"), exports);
|
|
@@ -22,6 +24,7 @@ __exportStar(require("./create-refund-response-class"), exports);
|
|
|
22
24
|
__exportStar(require("./create-tenant-bank-account-request-dto"), exports);
|
|
23
25
|
__exportStar(require("./create-tenant-bank-account-response-class"), exports);
|
|
24
26
|
__exportStar(require("./deactivate-payment-reminder-request-dto"), exports);
|
|
27
|
+
__exportStar(require("./get-bank-account-response-class"), exports);
|
|
25
28
|
__exportStar(require("./get-bank-transactions-response-class"), exports);
|
|
26
29
|
__exportStar(require("./get-refund-response-class"), exports);
|
|
27
30
|
__exportStar(require("./get-request-dto"), exports);
|
|
@@ -32,7 +35,9 @@ __exportStar(require("./link-bank-transaction-request-dto-rest"), exports);
|
|
|
32
35
|
__exportStar(require("./list-bank-transactions-response-class"), exports);
|
|
33
36
|
__exportStar(require("./list-refunds-response-class"), exports);
|
|
34
37
|
__exportStar(require("./list-tenant-bank-account-response-class"), exports);
|
|
38
|
+
__exportStar(require("./primary-bank-account-response-class"), exports);
|
|
35
39
|
__exportStar(require("./refund-class"), exports);
|
|
40
|
+
__exportStar(require("./set-primary-bank-account-request-dto-rest"), exports);
|
|
36
41
|
__exportStar(require("./tenant-bank-account-response-class"), exports);
|
|
37
42
|
__exportStar(require("./transaction-class"), exports);
|
|
38
43
|
__exportStar(require("./unlink-bank-transaction-request-dto-rest"), exports);
|
|
@@ -0,0 +1,42 @@
|
|
|
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
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface PrimaryBankAccountResponseClass
|
|
16
|
+
*/
|
|
17
|
+
export interface PrimaryBankAccountResponseClass {
|
|
18
|
+
/**
|
|
19
|
+
* Partner code associated to primary bank account.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof PrimaryBankAccountResponseClass
|
|
22
|
+
*/
|
|
23
|
+
'entityCode': string;
|
|
24
|
+
/**
|
|
25
|
+
* Primary bank account id
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof PrimaryBankAccountResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'bankAccountId': number;
|
|
30
|
+
/**
|
|
31
|
+
* Time at which the object was created.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof PrimaryBankAccountResponseClass
|
|
34
|
+
*/
|
|
35
|
+
'createdAt': string;
|
|
36
|
+
/**
|
|
37
|
+
* Time at which the object was updated.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof PrimaryBankAccountResponseClass
|
|
40
|
+
*/
|
|
41
|
+
'updatedAt': string;
|
|
42
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Emil Payment Service
|
|
6
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,24 @@
|
|
|
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
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface SetPrimaryBankAccountRequestDtoRest
|
|
16
|
+
*/
|
|
17
|
+
export interface SetPrimaryBankAccountRequestDtoRest {
|
|
18
|
+
/**
|
|
19
|
+
* The code of the entity that the primary bank account will be set to.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SetPrimaryBankAccountRequestDtoRest
|
|
22
|
+
*/
|
|
23
|
+
'entityCode': string;
|
|
24
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Emil Payment Service
|
|
6
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|