@emilgroup/payment-sdk 1.4.1-beta.10 → 1.4.1-beta.12

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.
@@ -24,6 +24,7 @@ models/create-payment-request-dto.ts
24
24
  models/create-refund-request-dto.ts
25
25
  models/create-refund-response-class.ts
26
26
  models/create-tenant-bank-account-request-dto.ts
27
+ models/create-tenant-bank-account-response-class.ts
27
28
  models/deactivate-payment-reminder-request-dto.ts
28
29
  models/get-bank-transactions-response-class.ts
29
30
  models/get-refund-response-class.ts
@@ -35,6 +36,7 @@ models/inline-response503.ts
35
36
  models/link-bank-transaction-request-dto-rest.ts
36
37
  models/list-bank-transactions-response-class.ts
37
38
  models/list-refunds-response-class.ts
39
+ models/list-tenant-bank-account-response-class.ts
38
40
  models/refund-class.ts
39
41
  models/tenant-bank-account-response-class.ts
40
42
  models/transaction-class.ts
package/README.md CHANGED
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
17
17
  Navigate to the folder of your consuming project and run one of the following commands:
18
18
 
19
19
  ```
20
- npm install @emilgroup/payment-sdk@1.4.1-beta.10 --save
20
+ npm install @emilgroup/payment-sdk@1.4.1-beta.12 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/payment-sdk@1.4.1-beta.10
24
+ yarn add @emilgroup/payment-sdk@1.4.1-beta.12
25
25
  ```
26
26
 
27
27
  And then you can import `PaymentsApi`.
@@ -87,12 +87,14 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
87
87
  /**
88
88
  * Import bank transactions from a swift MT940 file
89
89
  * @summary Create the bank transactions
90
+ * @param {any} file Swift MT940 file to import bank transactions from. Extension must be .txt or .sta.<br/> Allowed Content Types: text/plain, application/octet-stream
90
91
  * @param {string} [authorization] Bearer Token
91
- * @param {any} [file]
92
92
  * @param {*} [options] Override http request option.
93
93
  * @throws {RequiredError}
94
94
  */
95
- importBankTransactions: async (authorization?: string, file?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
95
+ importBankTransactions: async (file: any, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
96
+ // verify required parameter 'file' is not null or undefined
97
+ assertParamExists('importBankTransactions', 'file', file)
96
98
  const localVarPath = `/paymentservice/v1/tenant/bank-transactions/import`;
97
99
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
98
100
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -338,13 +340,13 @@ export const BankTransactionApiFp = function(configuration?: Configuration) {
338
340
  /**
339
341
  * Import bank transactions from a swift MT940 file
340
342
  * @summary Create the bank transactions
343
+ * @param {any} file Swift MT940 file to import bank transactions from. Extension must be .txt or .sta.&lt;br/&gt; Allowed Content Types: text/plain, application/octet-stream
341
344
  * @param {string} [authorization] Bearer Token
342
- * @param {any} [file]
343
345
  * @param {*} [options] Override http request option.
344
346
  * @throws {RequiredError}
345
347
  */
346
- async importBankTransactions(authorization?: string, file?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListBankTransactionsResponseClass>> {
347
- const localVarAxiosArgs = await localVarAxiosParamCreator.importBankTransactions(authorization, file, options);
348
+ async importBankTransactions(file: any, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListBankTransactionsResponseClass>> {
349
+ const localVarAxiosArgs = await localVarAxiosParamCreator.importBankTransactions(file, authorization, options);
348
350
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
349
351
  },
350
352
  /**
@@ -416,13 +418,13 @@ export const BankTransactionApiFactory = function (configuration?: Configuration
416
418
  /**
417
419
  * Import bank transactions from a swift MT940 file
418
420
  * @summary Create the bank transactions
421
+ * @param {any} file Swift MT940 file to import bank transactions from. Extension must be .txt or .sta.&lt;br/&gt; Allowed Content Types: text/plain, application/octet-stream
419
422
  * @param {string} [authorization] Bearer Token
420
- * @param {any} [file]
421
423
  * @param {*} [options] Override http request option.
422
424
  * @throws {RequiredError}
423
425
  */
424
- importBankTransactions(authorization?: string, file?: any, options?: any): AxiosPromise<ListBankTransactionsResponseClass> {
425
- return localVarFp.importBankTransactions(authorization, file, options).then((request) => request(axios, basePath));
426
+ importBankTransactions(file: any, authorization?: string, options?: any): AxiosPromise<ListBankTransactionsResponseClass> {
427
+ return localVarFp.importBankTransactions(file, authorization, options).then((request) => request(axios, basePath));
426
428
  },
427
429
  /**
428
430
  * Links a bank transaction with an invoice
@@ -503,18 +505,18 @@ export interface BankTransactionApiGetBankTransactionRequest {
503
505
  */
504
506
  export interface BankTransactionApiImportBankTransactionsRequest {
505
507
  /**
506
- * Bearer Token
507
- * @type {string}
508
+ * Swift MT940 file to import bank transactions from. Extension must be .txt or .sta.&lt;br/&gt; Allowed Content Types: text/plain, application/octet-stream
509
+ * @type {any}
508
510
  * @memberof BankTransactionApiImportBankTransactions
509
511
  */
510
- readonly authorization?: string
512
+ readonly file: any
511
513
 
512
514
  /**
513
- *
514
- * @type {any}
515
+ * Bearer Token
516
+ * @type {string}
515
517
  * @memberof BankTransactionApiImportBankTransactions
516
518
  */
517
- readonly file?: any
519
+ readonly authorization?: string
518
520
  }
519
521
 
520
522
  /**
@@ -663,8 +665,8 @@ export class BankTransactionApi extends BaseAPI {
663
665
  * @throws {RequiredError}
664
666
  * @memberof BankTransactionApi
665
667
  */
666
- public importBankTransactions(requestParameters: BankTransactionApiImportBankTransactionsRequest = {}, options?: AxiosRequestConfig) {
667
- return BankTransactionApiFp(this.configuration).importBankTransactions(requestParameters.authorization, requestParameters.file, options).then((request) => request(this.axios, this.basePath));
668
+ public importBankTransactions(requestParameters: BankTransactionApiImportBankTransactionsRequest, options?: AxiosRequestConfig) {
669
+ return BankTransactionApiFp(this.configuration).importBankTransactions(requestParameters.file, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
668
670
  }
669
671
 
670
672
  /**
@@ -23,8 +23,12 @@ import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } fr
23
23
  // @ts-ignore
24
24
  import { CreateTenantBankAccountRequestDto } from '../models';
25
25
  // @ts-ignore
26
+ import { CreateTenantBankAccountResponseClass } from '../models';
27
+ // @ts-ignore
26
28
  import { GetTenantBankAccountResponseClass } from '../models';
27
29
  // @ts-ignore
30
+ import { ListTenantBankAccountResponseClass } from '../models';
31
+ // @ts-ignore
28
32
  import { UpdateTenantBankAccountRestRequestDto } from '../models';
29
33
  /**
30
34
  * TenantBankAccountApi - axios parameter creator
@@ -34,7 +38,7 @@ export const TenantBankAccountApiAxiosParamCreator = function (configuration?: C
34
38
  return {
35
39
  /**
36
40
  * Create a new tenant bank account
37
- * @summary Create the Create Tenant Bank Account
41
+ * @summary Create the Tenant Bank Account
38
42
  * @param {CreateTenantBankAccountRequestDto} createTenantBankAccountRequestDto
39
43
  * @param {string} [authorization] Bearer Token
40
44
  * @param {*} [options] Override http request option.
@@ -125,15 +129,14 @@ export const TenantBankAccountApiAxiosParamCreator = function (configuration?: C
125
129
  };
126
130
  },
127
131
  /**
128
- * Retrieves the details of the Bank Transaction that was previously created. Supply the unique Bank Transaction code that was returned when you created it and Emil Api will return the corresponding Bank Transaction information.
129
- * @summary Retrieve the Bank Transaction
132
+ * 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.
133
+ * @summary Retrieve the Tenant Bank Account
130
134
  * @param {string} code Unique identifier for the object.
131
135
  * @param {string} [authorization] Bearer Token
132
- * @param {'bankTransactions'} [expand] Expand the response with additional entities
133
136
  * @param {*} [options] Override http request option.
134
137
  * @throws {RequiredError}
135
138
  */
136
- getTenantBankAccount: async (code: string, authorization?: string, expand?: 'bankTransactions', options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
139
+ getTenantBankAccount: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
137
140
  // verify required parameter 'code' is not null or undefined
138
141
  assertParamExists('getTenantBankAccount', 'code', code)
139
142
  const localVarPath = `/paymentservice/v1/tenant/bank-accounts/{code}`
@@ -155,10 +158,6 @@ export const TenantBankAccountApiAxiosParamCreator = function (configuration?: C
155
158
  // http bearer authentication required
156
159
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
157
160
 
158
- if (expand !== undefined) {
159
- localVarQueryParameter['expand'] = expand;
160
- }
161
-
162
161
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
163
162
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
164
163
  }
@@ -180,15 +179,15 @@ export const TenantBankAccountApiAxiosParamCreator = function (configuration?: C
180
179
  * @param {string} [authorization] Bearer Token
181
180
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
182
181
  * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
183
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
182
+ * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, iban, bankName, accountName&lt;/i&gt;
184
183
  * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
185
184
  * @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.
186
- * @param {string} [expand] Expand the response with additional entities
185
+ * @param {number} [expand] No expand is available for this tenant bank accounts
187
186
  * @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.
188
187
  * @param {*} [options] Override http request option.
189
188
  * @throws {RequiredError}
190
189
  */
191
- listTenantBankAccounts: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: string, filters?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
190
+ listTenantBankAccounts: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: number, filters?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
192
191
  const localVarPath = `/paymentservice/v1/tenant/bank-accounts`;
193
192
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
194
193
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -313,13 +312,13 @@ export const TenantBankAccountApiFp = function(configuration?: Configuration) {
313
312
  return {
314
313
  /**
315
314
  * Create a new tenant bank account
316
- * @summary Create the Create Tenant Bank Account
315
+ * @summary Create the Tenant Bank Account
317
316
  * @param {CreateTenantBankAccountRequestDto} createTenantBankAccountRequestDto
318
317
  * @param {string} [authorization] Bearer Token
319
318
  * @param {*} [options] Override http request option.
320
319
  * @throws {RequiredError}
321
320
  */
322
- async createTenantBankAccount(createTenantBankAccountRequestDto: CreateTenantBankAccountRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
321
+ async createTenantBankAccount(createTenantBankAccountRequestDto: CreateTenantBankAccountRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateTenantBankAccountResponseClass>> {
323
322
  const localVarAxiosArgs = await localVarAxiosParamCreator.createTenantBankAccount(createTenantBankAccountRequestDto, authorization, options);
324
323
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
325
324
  },
@@ -331,21 +330,20 @@ export const TenantBankAccountApiFp = function(configuration?: Configuration) {
331
330
  * @param {*} [options] Override http request option.
332
331
  * @throws {RequiredError}
333
332
  */
334
- async deleteTenantBankAccount(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
333
+ async deleteTenantBankAccount(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>> {
335
334
  const localVarAxiosArgs = await localVarAxiosParamCreator.deleteTenantBankAccount(code, authorization, options);
336
335
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
337
336
  },
338
337
  /**
339
- * Retrieves the details of the Bank Transaction that was previously created. Supply the unique Bank Transaction code that was returned when you created it and Emil Api will return the corresponding Bank Transaction information.
340
- * @summary Retrieve the Bank Transaction
338
+ * 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.
339
+ * @summary Retrieve the Tenant Bank Account
341
340
  * @param {string} code Unique identifier for the object.
342
341
  * @param {string} [authorization] Bearer Token
343
- * @param {'bankTransactions'} [expand] Expand the response with additional entities
344
342
  * @param {*} [options] Override http request option.
345
343
  * @throws {RequiredError}
346
344
  */
347
- async getTenantBankAccount(code: string, authorization?: string, expand?: 'bankTransactions', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetTenantBankAccountResponseClass>> {
348
- const localVarAxiosArgs = await localVarAxiosParamCreator.getTenantBankAccount(code, authorization, expand, options);
345
+ async getTenantBankAccount(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetTenantBankAccountResponseClass>> {
346
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getTenantBankAccount(code, authorization, options);
349
347
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
350
348
  },
351
349
  /**
@@ -354,15 +352,15 @@ export const TenantBankAccountApiFp = function(configuration?: Configuration) {
354
352
  * @param {string} [authorization] Bearer Token
355
353
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
356
354
  * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
357
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
355
+ * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, iban, bankName, accountName&lt;/i&gt;
358
356
  * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
359
357
  * @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.
360
- * @param {string} [expand] Expand the response with additional entities
358
+ * @param {number} [expand] No expand is available for this tenant bank accounts
361
359
  * @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.
362
360
  * @param {*} [options] Override http request option.
363
361
  * @throws {RequiredError}
364
362
  */
365
- async 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<void>> {
363
+ async 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>> {
366
364
  const localVarAxiosArgs = await localVarAxiosParamCreator.listTenantBankAccounts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
367
365
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
368
366
  },
@@ -375,7 +373,7 @@ export const TenantBankAccountApiFp = function(configuration?: Configuration) {
375
373
  * @param {*} [options] Override http request option.
376
374
  * @throws {RequiredError}
377
375
  */
378
- async updateTenantBankAccount(code: string, updateTenantBankAccountRestRequestDto: UpdateTenantBankAccountRestRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
376
+ async updateTenantBankAccount(code: string, updateTenantBankAccountRestRequestDto: UpdateTenantBankAccountRestRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateTenantBankAccountResponseClass>> {
379
377
  const localVarAxiosArgs = await localVarAxiosParamCreator.updateTenantBankAccount(code, updateTenantBankAccountRestRequestDto, authorization, options);
380
378
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
381
379
  },
@@ -391,13 +389,13 @@ export const TenantBankAccountApiFactory = function (configuration?: Configurati
391
389
  return {
392
390
  /**
393
391
  * Create a new tenant bank account
394
- * @summary Create the Create Tenant Bank Account
392
+ * @summary Create the Tenant Bank Account
395
393
  * @param {CreateTenantBankAccountRequestDto} createTenantBankAccountRequestDto
396
394
  * @param {string} [authorization] Bearer Token
397
395
  * @param {*} [options] Override http request option.
398
396
  * @throws {RequiredError}
399
397
  */
400
- createTenantBankAccount(createTenantBankAccountRequestDto: CreateTenantBankAccountRequestDto, authorization?: string, options?: any): AxiosPromise<void> {
398
+ createTenantBankAccount(createTenantBankAccountRequestDto: CreateTenantBankAccountRequestDto, authorization?: string, options?: any): AxiosPromise<CreateTenantBankAccountResponseClass> {
401
399
  return localVarFp.createTenantBankAccount(createTenantBankAccountRequestDto, authorization, options).then((request) => request(axios, basePath));
402
400
  },
403
401
  /**
@@ -408,20 +406,19 @@ export const TenantBankAccountApiFactory = function (configuration?: Configurati
408
406
  * @param {*} [options] Override http request option.
409
407
  * @throws {RequiredError}
410
408
  */
411
- deleteTenantBankAccount(code: string, authorization?: string, options?: any): AxiosPromise<void> {
409
+ deleteTenantBankAccount(code: string, authorization?: string, options?: any): AxiosPromise<object> {
412
410
  return localVarFp.deleteTenantBankAccount(code, authorization, options).then((request) => request(axios, basePath));
413
411
  },
414
412
  /**
415
- * Retrieves the details of the Bank Transaction that was previously created. Supply the unique Bank Transaction code that was returned when you created it and Emil Api will return the corresponding Bank Transaction information.
416
- * @summary Retrieve the Bank Transaction
413
+ * 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.
414
+ * @summary Retrieve the Tenant Bank Account
417
415
  * @param {string} code Unique identifier for the object.
418
416
  * @param {string} [authorization] Bearer Token
419
- * @param {'bankTransactions'} [expand] Expand the response with additional entities
420
417
  * @param {*} [options] Override http request option.
421
418
  * @throws {RequiredError}
422
419
  */
423
- getTenantBankAccount(code: string, authorization?: string, expand?: 'bankTransactions', options?: any): AxiosPromise<GetTenantBankAccountResponseClass> {
424
- return localVarFp.getTenantBankAccount(code, authorization, expand, options).then((request) => request(axios, basePath));
420
+ getTenantBankAccount(code: string, authorization?: string, options?: any): AxiosPromise<GetTenantBankAccountResponseClass> {
421
+ return localVarFp.getTenantBankAccount(code, authorization, options).then((request) => request(axios, basePath));
425
422
  },
426
423
  /**
427
424
  * 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.
@@ -429,15 +426,15 @@ export const TenantBankAccountApiFactory = function (configuration?: Configurati
429
426
  * @param {string} [authorization] Bearer Token
430
427
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
431
428
  * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
432
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
429
+ * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, iban, bankName, accountName&lt;/i&gt;
433
430
  * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
434
431
  * @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.
435
- * @param {string} [expand] Expand the response with additional entities
432
+ * @param {number} [expand] No expand is available for this tenant bank accounts
436
433
  * @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.
437
434
  * @param {*} [options] Override http request option.
438
435
  * @throws {RequiredError}
439
436
  */
440
- listTenantBankAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: string, filters?: any, options?: any): AxiosPromise<void> {
437
+ listTenantBankAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: number, filters?: any, options?: any): AxiosPromise<ListTenantBankAccountResponseClass> {
441
438
  return localVarFp.listTenantBankAccounts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
442
439
  },
443
440
  /**
@@ -449,7 +446,7 @@ export const TenantBankAccountApiFactory = function (configuration?: Configurati
449
446
  * @param {*} [options] Override http request option.
450
447
  * @throws {RequiredError}
451
448
  */
452
- updateTenantBankAccount(code: string, updateTenantBankAccountRestRequestDto: UpdateTenantBankAccountRestRequestDto, authorization?: string, options?: any): AxiosPromise<void> {
449
+ updateTenantBankAccount(code: string, updateTenantBankAccountRestRequestDto: UpdateTenantBankAccountRestRequestDto, authorization?: string, options?: any): AxiosPromise<CreateTenantBankAccountResponseClass> {
453
450
  return localVarFp.updateTenantBankAccount(code, updateTenantBankAccountRestRequestDto, authorization, options).then((request) => request(axios, basePath));
454
451
  },
455
452
  };
@@ -516,13 +513,6 @@ export interface TenantBankAccountApiGetTenantBankAccountRequest {
516
513
  * @memberof TenantBankAccountApiGetTenantBankAccount
517
514
  */
518
515
  readonly authorization?: string
519
-
520
- /**
521
- * Expand the response with additional entities
522
- * @type {'bankTransactions'}
523
- * @memberof TenantBankAccountApiGetTenantBankAccount
524
- */
525
- readonly expand?: 'bankTransactions'
526
516
  }
527
517
 
528
518
  /**
@@ -553,7 +543,7 @@ export interface TenantBankAccountApiListTenantBankAccountsRequest {
553
543
  readonly pageToken?: any
554
544
 
555
545
  /**
556
- * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
546
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, iban, bankName, accountName&lt;/i&gt;
557
547
  * @type {any}
558
548
  * @memberof TenantBankAccountApiListTenantBankAccounts
559
549
  */
@@ -574,11 +564,11 @@ export interface TenantBankAccountApiListTenantBankAccountsRequest {
574
564
  readonly order?: any
575
565
 
576
566
  /**
577
- * Expand the response with additional entities
578
- * @type {string}
567
+ * No expand is available for this tenant bank accounts
568
+ * @type {number}
579
569
  * @memberof TenantBankAccountApiListTenantBankAccounts
580
570
  */
581
- readonly expand?: string
571
+ readonly expand?: number
582
572
 
583
573
  /**
584
574
  * 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.
@@ -625,7 +615,7 @@ export interface TenantBankAccountApiUpdateTenantBankAccountRequest {
625
615
  export class TenantBankAccountApi extends BaseAPI {
626
616
  /**
627
617
  * Create a new tenant bank account
628
- * @summary Create the Create Tenant Bank Account
618
+ * @summary Create the Tenant Bank Account
629
619
  * @param {TenantBankAccountApiCreateTenantBankAccountRequest} requestParameters Request parameters.
630
620
  * @param {*} [options] Override http request option.
631
621
  * @throws {RequiredError}
@@ -648,15 +638,15 @@ export class TenantBankAccountApi extends BaseAPI {
648
638
  }
649
639
 
650
640
  /**
651
- * Retrieves the details of the Bank Transaction that was previously created. Supply the unique Bank Transaction code that was returned when you created it and Emil Api will return the corresponding Bank Transaction information.
652
- * @summary Retrieve the Bank Transaction
641
+ * 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.
642
+ * @summary Retrieve the Tenant Bank Account
653
643
  * @param {TenantBankAccountApiGetTenantBankAccountRequest} requestParameters Request parameters.
654
644
  * @param {*} [options] Override http request option.
655
645
  * @throws {RequiredError}
656
646
  * @memberof TenantBankAccountApi
657
647
  */
658
648
  public getTenantBankAccount(requestParameters: TenantBankAccountApiGetTenantBankAccountRequest, options?: AxiosRequestConfig) {
659
- return TenantBankAccountApiFp(this.configuration).getTenantBankAccount(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
649
+ return TenantBankAccountApiFp(this.configuration).getTenantBankAccount(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
660
650
  }
661
651
 
662
652
  /**
@@ -34,12 +34,12 @@ export declare const BankTransactionApiAxiosParamCreator: (configuration?: Confi
34
34
  /**
35
35
  * Import bank transactions from a swift MT940 file
36
36
  * @summary Create the bank transactions
37
+ * @param {any} file Swift MT940 file to import bank transactions from. Extension must be .txt or .sta.&lt;br/&gt; Allowed Content Types: text/plain, application/octet-stream
37
38
  * @param {string} [authorization] Bearer Token
38
- * @param {any} [file]
39
39
  * @param {*} [options] Override http request option.
40
40
  * @throws {RequiredError}
41
41
  */
42
- importBankTransactions: (authorization?: string, file?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
42
+ importBankTransactions: (file: any, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
43
43
  /**
44
44
  * Links a bank transaction with an invoice
45
45
  * @summary Link Bank Transaction
@@ -94,12 +94,12 @@ export declare const BankTransactionApiFp: (configuration?: Configuration) => {
94
94
  /**
95
95
  * Import bank transactions from a swift MT940 file
96
96
  * @summary Create the bank transactions
97
+ * @param {any} file Swift MT940 file to import bank transactions from. Extension must be .txt or .sta.&lt;br/&gt; Allowed Content Types: text/plain, application/octet-stream
97
98
  * @param {string} [authorization] Bearer Token
98
- * @param {any} [file]
99
99
  * @param {*} [options] Override http request option.
100
100
  * @throws {RequiredError}
101
101
  */
102
- importBankTransactions(authorization?: string, file?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListBankTransactionsResponseClass>>;
102
+ importBankTransactions(file: any, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListBankTransactionsResponseClass>>;
103
103
  /**
104
104
  * Links a bank transaction with an invoice
105
105
  * @summary Link Bank Transaction
@@ -154,12 +154,12 @@ export declare const BankTransactionApiFactory: (configuration?: Configuration,
154
154
  /**
155
155
  * Import bank transactions from a swift MT940 file
156
156
  * @summary Create the bank transactions
157
+ * @param {any} file Swift MT940 file to import bank transactions from. Extension must be .txt or .sta.&lt;br/&gt; Allowed Content Types: text/plain, application/octet-stream
157
158
  * @param {string} [authorization] Bearer Token
158
- * @param {any} [file]
159
159
  * @param {*} [options] Override http request option.
160
160
  * @throws {RequiredError}
161
161
  */
162
- importBankTransactions(authorization?: string, file?: any, options?: any): AxiosPromise<ListBankTransactionsResponseClass>;
162
+ importBankTransactions(file: any, authorization?: string, options?: any): AxiosPromise<ListBankTransactionsResponseClass>;
163
163
  /**
164
164
  * Links a bank transaction with an invoice
165
165
  * @summary Link Bank Transaction
@@ -228,17 +228,17 @@ export interface BankTransactionApiGetBankTransactionRequest {
228
228
  */
229
229
  export interface BankTransactionApiImportBankTransactionsRequest {
230
230
  /**
231
- * Bearer Token
232
- * @type {string}
231
+ * Swift MT940 file to import bank transactions from. Extension must be .txt or .sta.&lt;br/&gt; Allowed Content Types: text/plain, application/octet-stream
232
+ * @type {any}
233
233
  * @memberof BankTransactionApiImportBankTransactions
234
234
  */
235
- readonly authorization?: string;
235
+ readonly file: any;
236
236
  /**
237
- *
238
- * @type {any}
237
+ * Bearer Token
238
+ * @type {string}
239
239
  * @memberof BankTransactionApiImportBankTransactions
240
240
  */
241
- readonly file?: any;
241
+ readonly authorization?: string;
242
242
  }
243
243
  /**
244
244
  * Request parameters for linkBankTransaction operation in BankTransactionApi.
@@ -369,7 +369,7 @@ export declare class BankTransactionApi extends BaseAPI {
369
369
  * @throws {RequiredError}
370
370
  * @memberof BankTransactionApi
371
371
  */
372
- importBankTransactions(requestParameters?: BankTransactionApiImportBankTransactionsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListBankTransactionsResponseClass, any>>;
372
+ importBankTransactions(requestParameters: BankTransactionApiImportBankTransactionsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListBankTransactionsResponseClass, any>>;
373
373
  /**
374
374
  * Links a bank transaction with an invoice
375
375
  * @summary Link Bank Transaction
@@ -147,18 +147,20 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
147
147
  /**
148
148
  * Import bank transactions from a swift MT940 file
149
149
  * @summary Create the bank transactions
150
+ * @param {any} file Swift MT940 file to import bank transactions from. Extension must be .txt or .sta.&lt;br/&gt; Allowed Content Types: text/plain, application/octet-stream
150
151
  * @param {string} [authorization] Bearer Token
151
- * @param {any} [file]
152
152
  * @param {*} [options] Override http request option.
153
153
  * @throws {RequiredError}
154
154
  */
155
- importBankTransactions: function (authorization, file, options) {
155
+ importBankTransactions: function (file, authorization, options) {
156
156
  if (options === void 0) { options = {}; }
157
157
  return __awaiter(_this, void 0, void 0, function () {
158
158
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarFormParams, headersFromBaseOptions;
159
159
  return __generator(this, function (_a) {
160
160
  switch (_a.label) {
161
161
  case 0:
162
+ // verify required parameter 'file' is not null or undefined
163
+ (0, common_1.assertParamExists)('importBankTransactions', 'file', file);
162
164
  localVarPath = "/paymentservice/v1/tenant/bank-transactions/import";
163
165
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
164
166
  if (configuration) {
@@ -407,17 +409,17 @@ var BankTransactionApiFp = function (configuration) {
407
409
  /**
408
410
  * Import bank transactions from a swift MT940 file
409
411
  * @summary Create the bank transactions
412
+ * @param {any} file Swift MT940 file to import bank transactions from. Extension must be .txt or .sta.&lt;br/&gt; Allowed Content Types: text/plain, application/octet-stream
410
413
  * @param {string} [authorization] Bearer Token
411
- * @param {any} [file]
412
414
  * @param {*} [options] Override http request option.
413
415
  * @throws {RequiredError}
414
416
  */
415
- importBankTransactions: function (authorization, file, options) {
417
+ importBankTransactions: function (file, authorization, options) {
416
418
  return __awaiter(this, void 0, void 0, function () {
417
419
  var localVarAxiosArgs;
418
420
  return __generator(this, function (_a) {
419
421
  switch (_a.label) {
420
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.importBankTransactions(authorization, file, options)];
422
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.importBankTransactions(file, authorization, options)];
421
423
  case 1:
422
424
  localVarAxiosArgs = _a.sent();
423
425
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -521,13 +523,13 @@ var BankTransactionApiFactory = function (configuration, basePath, axios) {
521
523
  /**
522
524
  * Import bank transactions from a swift MT940 file
523
525
  * @summary Create the bank transactions
526
+ * @param {any} file Swift MT940 file to import bank transactions from. Extension must be .txt or .sta.&lt;br/&gt; Allowed Content Types: text/plain, application/octet-stream
524
527
  * @param {string} [authorization] Bearer Token
525
- * @param {any} [file]
526
528
  * @param {*} [options] Override http request option.
527
529
  * @throws {RequiredError}
528
530
  */
529
- importBankTransactions: function (authorization, file, options) {
530
- return localVarFp.importBankTransactions(authorization, file, options).then(function (request) { return request(axios, basePath); });
531
+ importBankTransactions: function (file, authorization, options) {
532
+ return localVarFp.importBankTransactions(file, authorization, options).then(function (request) { return request(axios, basePath); });
531
533
  },
532
534
  /**
533
535
  * Links a bank transaction with an invoice
@@ -606,8 +608,7 @@ var BankTransactionApi = /** @class */ (function (_super) {
606
608
  */
607
609
  BankTransactionApi.prototype.importBankTransactions = function (requestParameters, options) {
608
610
  var _this = this;
609
- if (requestParameters === void 0) { requestParameters = {}; }
610
- return (0, exports.BankTransactionApiFp)(this.configuration).importBankTransactions(requestParameters.authorization, requestParameters.file, options).then(function (request) { return request(_this.axios, _this.basePath); });
611
+ return (0, exports.BankTransactionApiFp)(this.configuration).importBankTransactions(requestParameters.file, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
611
612
  };
612
613
  /**
613
614
  * Links a bank transaction with an invoice
@@ -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
@@ -22,7 +24,7 @@ import { UpdateTenantBankAccountRestRequestDto } from '../models';
22
24
  export declare const TenantBankAccountApiAxiosParamCreator: (configuration?: Configuration) => {
23
25
  /**
24
26
  * Create a new tenant bank account
25
- * @summary Create the Create Tenant Bank Account
27
+ * @summary Create the Tenant Bank Account
26
28
  * @param {CreateTenantBankAccountRequestDto} createTenantBankAccountRequestDto
27
29
  * @param {string} [authorization] Bearer Token
28
30
  * @param {*} [options] Override http request option.
@@ -39,30 +41,29 @@ export declare const TenantBankAccountApiAxiosParamCreator: (configuration?: Con
39
41
  */
40
42
  deleteTenantBankAccount: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
41
43
  /**
42
- * Retrieves the details of the Bank Transaction that was previously created. Supply the unique Bank Transaction code that was returned when you created it and Emil Api will return the corresponding Bank Transaction information.
43
- * @summary Retrieve the Bank Transaction
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
44
46
  * @param {string} code Unique identifier for the object.
45
47
  * @param {string} [authorization] Bearer Token
46
- * @param {'bankTransactions'} [expand] Expand the response with additional entities
47
48
  * @param {*} [options] Override http request option.
48
49
  * @throws {RequiredError}
49
50
  */
50
- getTenantBankAccount: (code: string, authorization?: string, expand?: 'bankTransactions', options?: AxiosRequestConfig) => Promise<RequestArgs>;
51
+ getTenantBankAccount: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
51
52
  /**
52
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.
53
54
  * @summary List Tenant Bank Accounts
54
55
  * @param {string} [authorization] Bearer Token
55
56
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
56
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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
57
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
58
+ * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, iban, bankName, accountName&lt;/i&gt;
58
59
  * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
59
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.
60
- * @param {string} [expand] Expand the response with additional entities
61
+ * @param {number} [expand] No expand is available for this tenant bank accounts
61
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.
62
63
  * @param {*} [options] Override http request option.
63
64
  * @throws {RequiredError}
64
65
  */
65
- listTenantBankAccounts: (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: string, filters?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
66
+ listTenantBankAccounts: (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: number, filters?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
66
67
  /**
67
68
  * Update a tenant bank account by code
68
69
  * @summary Update a tenant bank account
@@ -81,13 +82,13 @@ export declare const TenantBankAccountApiAxiosParamCreator: (configuration?: Con
81
82
  export declare const TenantBankAccountApiFp: (configuration?: Configuration) => {
82
83
  /**
83
84
  * Create a new tenant bank account
84
- * @summary Create the Create Tenant Bank Account
85
+ * @summary Create the Tenant Bank Account
85
86
  * @param {CreateTenantBankAccountRequestDto} createTenantBankAccountRequestDto
86
87
  * @param {string} [authorization] Bearer Token
87
88
  * @param {*} [options] Override http request option.
88
89
  * @throws {RequiredError}
89
90
  */
90
- createTenantBankAccount(createTenantBankAccountRequestDto: CreateTenantBankAccountRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
91
+ createTenantBankAccount(createTenantBankAccountRequestDto: CreateTenantBankAccountRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateTenantBankAccountResponseClass>>;
91
92
  /**
92
93
  * Deletes a tenant bank account by code
93
94
  * @summary Deletes a tenant bank account
@@ -96,32 +97,31 @@ export declare const TenantBankAccountApiFp: (configuration?: Configuration) =>
96
97
  * @param {*} [options] Override http request option.
97
98
  * @throws {RequiredError}
98
99
  */
99
- deleteTenantBankAccount(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
100
+ deleteTenantBankAccount(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
100
101
  /**
101
- * Retrieves the details of the Bank Transaction that was previously created. Supply the unique Bank Transaction code that was returned when you created it and Emil Api will return the corresponding Bank Transaction information.
102
- * @summary Retrieve the Bank Transaction
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
103
104
  * @param {string} code Unique identifier for the object.
104
105
  * @param {string} [authorization] Bearer Token
105
- * @param {'bankTransactions'} [expand] Expand the response with additional entities
106
106
  * @param {*} [options] Override http request option.
107
107
  * @throws {RequiredError}
108
108
  */
109
- getTenantBankAccount(code: string, authorization?: string, expand?: 'bankTransactions', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetTenantBankAccountResponseClass>>;
109
+ getTenantBankAccount(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetTenantBankAccountResponseClass>>;
110
110
  /**
111
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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
116
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
116
+ * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, iban, bankName, accountName&lt;/i&gt;
117
117
  * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order 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 {string} [expand] Expand the response with additional entities
119
+ * @param {number} [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?: string, filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
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>>;
125
125
  /**
126
126
  * Update a tenant bank account by code
127
127
  * @summary Update a tenant bank account
@@ -131,7 +131,7 @@ export declare const TenantBankAccountApiFp: (configuration?: Configuration) =>
131
131
  * @param {*} [options] Override http request option.
132
132
  * @throws {RequiredError}
133
133
  */
134
- updateTenantBankAccount(code: string, updateTenantBankAccountRestRequestDto: UpdateTenantBankAccountRestRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
134
+ updateTenantBankAccount(code: string, updateTenantBankAccountRestRequestDto: UpdateTenantBankAccountRestRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateTenantBankAccountResponseClass>>;
135
135
  };
136
136
  /**
137
137
  * TenantBankAccountApi - factory interface
@@ -140,13 +140,13 @@ export declare const TenantBankAccountApiFp: (configuration?: Configuration) =>
140
140
  export declare const TenantBankAccountApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
141
141
  /**
142
142
  * Create a new tenant bank account
143
- * @summary Create the Create Tenant Bank Account
143
+ * @summary Create the Tenant Bank Account
144
144
  * @param {CreateTenantBankAccountRequestDto} createTenantBankAccountRequestDto
145
145
  * @param {string} [authorization] Bearer Token
146
146
  * @param {*} [options] Override http request option.
147
147
  * @throws {RequiredError}
148
148
  */
149
- createTenantBankAccount(createTenantBankAccountRequestDto: CreateTenantBankAccountRequestDto, authorization?: string, options?: any): AxiosPromise<void>;
149
+ createTenantBankAccount(createTenantBankAccountRequestDto: CreateTenantBankAccountRequestDto, authorization?: string, options?: any): AxiosPromise<CreateTenantBankAccountResponseClass>;
150
150
  /**
151
151
  * Deletes a tenant bank account by code
152
152
  * @summary Deletes a tenant bank account
@@ -155,32 +155,31 @@ export declare const TenantBankAccountApiFactory: (configuration?: Configuration
155
155
  * @param {*} [options] Override http request option.
156
156
  * @throws {RequiredError}
157
157
  */
158
- deleteTenantBankAccount(code: string, authorization?: string, options?: any): AxiosPromise<void>;
158
+ deleteTenantBankAccount(code: string, authorization?: string, options?: any): AxiosPromise<object>;
159
159
  /**
160
- * Retrieves the details of the Bank Transaction that was previously created. Supply the unique Bank Transaction code that was returned when you created it and Emil Api will return the corresponding Bank Transaction information.
161
- * @summary Retrieve the Bank Transaction
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
162
162
  * @param {string} code Unique identifier for the object.
163
163
  * @param {string} [authorization] Bearer Token
164
- * @param {'bankTransactions'} [expand] Expand the response with additional entities
165
164
  * @param {*} [options] Override http request option.
166
165
  * @throws {RequiredError}
167
166
  */
168
- getTenantBankAccount(code: string, authorization?: string, expand?: 'bankTransactions', options?: any): AxiosPromise<GetTenantBankAccountResponseClass>;
167
+ getTenantBankAccount(code: string, authorization?: string, options?: any): AxiosPromise<GetTenantBankAccountResponseClass>;
169
168
  /**
170
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.
171
170
  * @summary List Tenant Bank Accounts
172
171
  * @param {string} [authorization] Bearer Token
173
172
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
174
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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
175
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
174
+ * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, iban, bankName, accountName&lt;/i&gt;
176
175
  * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
177
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.
178
- * @param {string} [expand] Expand the response with additional entities
177
+ * @param {number} [expand] No expand is available for this tenant bank accounts
179
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.
180
179
  * @param {*} [options] Override http request option.
181
180
  * @throws {RequiredError}
182
181
  */
183
- listTenantBankAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: string, filters?: any, options?: any): AxiosPromise<void>;
182
+ listTenantBankAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: number, filters?: any, options?: any): AxiosPromise<ListTenantBankAccountResponseClass>;
184
183
  /**
185
184
  * Update a tenant bank account by code
186
185
  * @summary Update a tenant bank account
@@ -190,7 +189,7 @@ export declare const TenantBankAccountApiFactory: (configuration?: Configuration
190
189
  * @param {*} [options] Override http request option.
191
190
  * @throws {RequiredError}
192
191
  */
193
- updateTenantBankAccount(code: string, updateTenantBankAccountRestRequestDto: UpdateTenantBankAccountRestRequestDto, authorization?: string, options?: any): AxiosPromise<void>;
192
+ updateTenantBankAccount(code: string, updateTenantBankAccountRestRequestDto: UpdateTenantBankAccountRestRequestDto, authorization?: string, options?: any): AxiosPromise<CreateTenantBankAccountResponseClass>;
194
193
  };
195
194
  /**
196
195
  * Request parameters for createTenantBankAccount operation in TenantBankAccountApi.
@@ -248,12 +247,6 @@ export interface TenantBankAccountApiGetTenantBankAccountRequest {
248
247
  * @memberof TenantBankAccountApiGetTenantBankAccount
249
248
  */
250
249
  readonly authorization?: string;
251
- /**
252
- * Expand the response with additional entities
253
- * @type {'bankTransactions'}
254
- * @memberof TenantBankAccountApiGetTenantBankAccount
255
- */
256
- readonly expand?: 'bankTransactions';
257
250
  }
258
251
  /**
259
252
  * Request parameters for listTenantBankAccounts operation in TenantBankAccountApi.
@@ -280,7 +273,7 @@ export interface TenantBankAccountApiListTenantBankAccountsRequest {
280
273
  */
281
274
  readonly pageToken?: any;
282
275
  /**
283
- * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
276
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, iban, bankName, accountName&lt;/i&gt;
284
277
  * @type {any}
285
278
  * @memberof TenantBankAccountApiListTenantBankAccounts
286
279
  */
@@ -298,11 +291,11 @@ export interface TenantBankAccountApiListTenantBankAccountsRequest {
298
291
  */
299
292
  readonly order?: any;
300
293
  /**
301
- * Expand the response with additional entities
302
- * @type {string}
294
+ * No expand is available for this tenant bank accounts
295
+ * @type {number}
303
296
  * @memberof TenantBankAccountApiListTenantBankAccounts
304
297
  */
305
- readonly expand?: string;
298
+ readonly expand?: number;
306
299
  /**
307
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.
308
301
  * @type {any}
@@ -344,13 +337,13 @@ export interface TenantBankAccountApiUpdateTenantBankAccountRequest {
344
337
  export declare class TenantBankAccountApi extends BaseAPI {
345
338
  /**
346
339
  * Create a new tenant bank account
347
- * @summary Create the Create Tenant Bank Account
340
+ * @summary Create the Tenant Bank Account
348
341
  * @param {TenantBankAccountApiCreateTenantBankAccountRequest} requestParameters Request parameters.
349
342
  * @param {*} [options] Override http request option.
350
343
  * @throws {RequiredError}
351
344
  * @memberof TenantBankAccountApi
352
345
  */
353
- createTenantBankAccount(requestParameters: TenantBankAccountApiCreateTenantBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
346
+ createTenantBankAccount(requestParameters: TenantBankAccountApiCreateTenantBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateTenantBankAccountResponseClass, any>>;
354
347
  /**
355
348
  * Deletes a tenant bank account by code
356
349
  * @summary Deletes a tenant bank account
@@ -359,10 +352,10 @@ export declare class TenantBankAccountApi extends BaseAPI {
359
352
  * @throws {RequiredError}
360
353
  * @memberof TenantBankAccountApi
361
354
  */
362
- deleteTenantBankAccount(requestParameters: TenantBankAccountApiDeleteTenantBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
355
+ deleteTenantBankAccount(requestParameters: TenantBankAccountApiDeleteTenantBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
363
356
  /**
364
- * Retrieves the details of the Bank Transaction that was previously created. Supply the unique Bank Transaction code that was returned when you created it and Emil Api will return the corresponding Bank Transaction information.
365
- * @summary Retrieve the Bank Transaction
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
366
359
  * @param {TenantBankAccountApiGetTenantBankAccountRequest} requestParameters Request parameters.
367
360
  * @param {*} [options] Override http request option.
368
361
  * @throws {RequiredError}
@@ -377,7 +370,7 @@ export declare class TenantBankAccountApi extends BaseAPI {
377
370
  * @throws {RequiredError}
378
371
  * @memberof TenantBankAccountApi
379
372
  */
380
- listTenantBankAccounts(requestParameters?: TenantBankAccountApiListTenantBankAccountsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
373
+ listTenantBankAccounts(requestParameters?: TenantBankAccountApiListTenantBankAccountsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListTenantBankAccountResponseClass, any>>;
381
374
  /**
382
375
  * Update a tenant bank account by code
383
376
  * @summary Update a tenant bank account
@@ -386,5 +379,5 @@ export declare class TenantBankAccountApi extends BaseAPI {
386
379
  * @throws {RequiredError}
387
380
  * @memberof TenantBankAccountApi
388
381
  */
389
- updateTenantBankAccount(requestParameters: TenantBankAccountApiUpdateTenantBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
382
+ updateTenantBankAccount(requestParameters: TenantBankAccountApiUpdateTenantBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateTenantBankAccountResponseClass, any>>;
390
383
  }
@@ -94,7 +94,7 @@ var TenantBankAccountApiAxiosParamCreator = function (configuration) {
94
94
  return {
95
95
  /**
96
96
  * Create a new tenant bank account
97
- * @summary Create the Create Tenant Bank Account
97
+ * @summary Create the Tenant Bank Account
98
98
  * @param {CreateTenantBankAccountRequestDto} createTenantBankAccountRequestDto
99
99
  * @param {string} [authorization] Bearer Token
100
100
  * @param {*} [options] Override http request option.
@@ -190,15 +190,14 @@ var TenantBankAccountApiAxiosParamCreator = function (configuration) {
190
190
  });
191
191
  },
192
192
  /**
193
- * Retrieves the details of the Bank Transaction that was previously created. Supply the unique Bank Transaction code that was returned when you created it and Emil Api will return the corresponding Bank Transaction information.
194
- * @summary Retrieve the Bank Transaction
193
+ * 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.
194
+ * @summary Retrieve the Tenant Bank Account
195
195
  * @param {string} code Unique identifier for the object.
196
196
  * @param {string} [authorization] Bearer Token
197
- * @param {'bankTransactions'} [expand] Expand the response with additional entities
198
197
  * @param {*} [options] Override http request option.
199
198
  * @throws {RequiredError}
200
199
  */
201
- getTenantBankAccount: function (code, authorization, expand, options) {
200
+ getTenantBankAccount: function (code, authorization, options) {
202
201
  if (options === void 0) { options = {}; }
203
202
  return __awaiter(_this, void 0, void 0, function () {
204
203
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -224,9 +223,6 @@ var TenantBankAccountApiAxiosParamCreator = function (configuration) {
224
223
  // authentication bearer required
225
224
  // http bearer authentication required
226
225
  _a.sent();
227
- if (expand !== undefined) {
228
- localVarQueryParameter['expand'] = expand;
229
- }
230
226
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
231
227
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
232
228
  }
@@ -247,10 +243,10 @@ var TenantBankAccountApiAxiosParamCreator = function (configuration) {
247
243
  * @param {string} [authorization] Bearer Token
248
244
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
249
245
  * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
250
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
246
+ * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, iban, bankName, accountName&lt;/i&gt;
251
247
  * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
252
248
  * @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 {string} [expand] Expand the response with additional entities
249
+ * @param {number} [expand] No expand is available for this tenant bank accounts
254
250
  * @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
251
  * @param {*} [options] Override http request option.
256
252
  * @throws {RequiredError}
@@ -378,7 +374,7 @@ var TenantBankAccountApiFp = function (configuration) {
378
374
  return {
379
375
  /**
380
376
  * Create a new tenant bank account
381
- * @summary Create the Create Tenant Bank Account
377
+ * @summary Create the Tenant Bank Account
382
378
  * @param {CreateTenantBankAccountRequestDto} createTenantBankAccountRequestDto
383
379
  * @param {string} [authorization] Bearer Token
384
380
  * @param {*} [options] Override http request option.
@@ -419,20 +415,19 @@ var TenantBankAccountApiFp = function (configuration) {
419
415
  });
420
416
  },
421
417
  /**
422
- * Retrieves the details of the Bank Transaction that was previously created. Supply the unique Bank Transaction code that was returned when you created it and Emil Api will return the corresponding Bank Transaction information.
423
- * @summary Retrieve the Bank Transaction
418
+ * 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.
419
+ * @summary Retrieve the Tenant Bank Account
424
420
  * @param {string} code Unique identifier for the object.
425
421
  * @param {string} [authorization] Bearer Token
426
- * @param {'bankTransactions'} [expand] Expand the response with additional entities
427
422
  * @param {*} [options] Override http request option.
428
423
  * @throws {RequiredError}
429
424
  */
430
- getTenantBankAccount: function (code, authorization, expand, options) {
425
+ getTenantBankAccount: function (code, authorization, options) {
431
426
  return __awaiter(this, void 0, void 0, function () {
432
427
  var localVarAxiosArgs;
433
428
  return __generator(this, function (_a) {
434
429
  switch (_a.label) {
435
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getTenantBankAccount(code, authorization, expand, options)];
430
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getTenantBankAccount(code, authorization, options)];
436
431
  case 1:
437
432
  localVarAxiosArgs = _a.sent();
438
433
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -446,10 +441,10 @@ var TenantBankAccountApiFp = function (configuration) {
446
441
  * @param {string} [authorization] Bearer Token
447
442
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
448
443
  * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
449
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
444
+ * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, iban, bankName, accountName&lt;/i&gt;
450
445
  * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
451
446
  * @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.
452
- * @param {string} [expand] Expand the response with additional entities
447
+ * @param {number} [expand] No expand is available for this tenant bank accounts
453
448
  * @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.
454
449
  * @param {*} [options] Override http request option.
455
450
  * @throws {RequiredError}
@@ -501,7 +496,7 @@ var TenantBankAccountApiFactory = function (configuration, basePath, axios) {
501
496
  return {
502
497
  /**
503
498
  * Create a new tenant bank account
504
- * @summary Create the Create Tenant Bank Account
499
+ * @summary Create the Tenant Bank Account
505
500
  * @param {CreateTenantBankAccountRequestDto} createTenantBankAccountRequestDto
506
501
  * @param {string} [authorization] Bearer Token
507
502
  * @param {*} [options] Override http request option.
@@ -522,16 +517,15 @@ var TenantBankAccountApiFactory = function (configuration, basePath, axios) {
522
517
  return localVarFp.deleteTenantBankAccount(code, authorization, options).then(function (request) { return request(axios, basePath); });
523
518
  },
524
519
  /**
525
- * Retrieves the details of the Bank Transaction that was previously created. Supply the unique Bank Transaction code that was returned when you created it and Emil Api will return the corresponding Bank Transaction information.
526
- * @summary Retrieve the Bank Transaction
520
+ * 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.
521
+ * @summary Retrieve the Tenant Bank Account
527
522
  * @param {string} code Unique identifier for the object.
528
523
  * @param {string} [authorization] Bearer Token
529
- * @param {'bankTransactions'} [expand] Expand the response with additional entities
530
524
  * @param {*} [options] Override http request option.
531
525
  * @throws {RequiredError}
532
526
  */
533
- getTenantBankAccount: function (code, authorization, expand, options) {
534
- return localVarFp.getTenantBankAccount(code, authorization, expand, options).then(function (request) { return request(axios, basePath); });
527
+ getTenantBankAccount: function (code, authorization, options) {
528
+ return localVarFp.getTenantBankAccount(code, authorization, options).then(function (request) { return request(axios, basePath); });
535
529
  },
536
530
  /**
537
531
  * 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.
@@ -539,10 +533,10 @@ var TenantBankAccountApiFactory = function (configuration, basePath, axios) {
539
533
  * @param {string} [authorization] Bearer Token
540
534
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
541
535
  * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
542
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
536
+ * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, iban, bankName, accountName&lt;/i&gt;
543
537
  * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
544
538
  * @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.
545
- * @param {string} [expand] Expand the response with additional entities
539
+ * @param {number} [expand] No expand is available for this tenant bank accounts
546
540
  * @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.
547
541
  * @param {*} [options] Override http request option.
548
542
  * @throws {RequiredError}
@@ -578,7 +572,7 @@ var TenantBankAccountApi = /** @class */ (function (_super) {
578
572
  }
579
573
  /**
580
574
  * Create a new tenant bank account
581
- * @summary Create the Create Tenant Bank Account
575
+ * @summary Create the Tenant Bank Account
582
576
  * @param {TenantBankAccountApiCreateTenantBankAccountRequest} requestParameters Request parameters.
583
577
  * @param {*} [options] Override http request option.
584
578
  * @throws {RequiredError}
@@ -601,8 +595,8 @@ var TenantBankAccountApi = /** @class */ (function (_super) {
601
595
  return (0, exports.TenantBankAccountApiFp)(this.configuration).deleteTenantBankAccount(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
602
596
  };
603
597
  /**
604
- * Retrieves the details of the Bank Transaction that was previously created. Supply the unique Bank Transaction code that was returned when you created it and Emil Api will return the corresponding Bank Transaction information.
605
- * @summary Retrieve the Bank Transaction
598
+ * 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.
599
+ * @summary Retrieve the Tenant Bank Account
606
600
  * @param {TenantBankAccountApiGetTenantBankAccountRequest} requestParameters Request parameters.
607
601
  * @param {*} [options] Override http request option.
608
602
  * @throws {RequiredError}
@@ -610,7 +604,7 @@ var TenantBankAccountApi = /** @class */ (function (_super) {
610
604
  */
611
605
  TenantBankAccountApi.prototype.getTenantBankAccount = function (requestParameters, options) {
612
606
  var _this = this;
613
- return (0, exports.TenantBankAccountApiFp)(this.configuration).getTenantBankAccount(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
607
+ return (0, exports.TenantBankAccountApiFp)(this.configuration).getTenantBankAccount(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
614
608
  };
615
609
  /**
616
610
  * 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.
@@ -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 { TenantBankAccountResponseClass } from './tenant-bank-account-response-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface CreateTenantBankAccountResponseClass
17
+ */
18
+ export interface CreateTenantBankAccountResponseClass {
19
+ /**
20
+ * Tenant Bank Account
21
+ * @type {TenantBankAccountResponseClass}
22
+ * @memberof CreateTenantBankAccountResponseClass
23
+ */
24
+ 'bankAccount': TenantBankAccountResponseClass;
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 });
@@ -4,6 +4,7 @@ export * from './create-payment-request-dto';
4
4
  export * from './create-refund-request-dto';
5
5
  export * from './create-refund-response-class';
6
6
  export * from './create-tenant-bank-account-request-dto';
7
+ export * from './create-tenant-bank-account-response-class';
7
8
  export * from './deactivate-payment-reminder-request-dto';
8
9
  export * from './get-bank-transactions-response-class';
9
10
  export * from './get-refund-response-class';
@@ -14,6 +15,7 @@ export * from './inline-response503';
14
15
  export * from './link-bank-transaction-request-dto-rest';
15
16
  export * from './list-bank-transactions-response-class';
16
17
  export * from './list-refunds-response-class';
18
+ export * from './list-tenant-bank-account-response-class';
17
19
  export * from './refund-class';
18
20
  export * from './tenant-bank-account-response-class';
19
21
  export * from './transaction-class';
@@ -20,6 +20,7 @@ __exportStar(require("./create-payment-request-dto"), exports);
20
20
  __exportStar(require("./create-refund-request-dto"), exports);
21
21
  __exportStar(require("./create-refund-response-class"), exports);
22
22
  __exportStar(require("./create-tenant-bank-account-request-dto"), exports);
23
+ __exportStar(require("./create-tenant-bank-account-response-class"), exports);
23
24
  __exportStar(require("./deactivate-payment-reminder-request-dto"), exports);
24
25
  __exportStar(require("./get-bank-transactions-response-class"), exports);
25
26
  __exportStar(require("./get-refund-response-class"), exports);
@@ -30,6 +31,7 @@ __exportStar(require("./inline-response503"), exports);
30
31
  __exportStar(require("./link-bank-transaction-request-dto-rest"), exports);
31
32
  __exportStar(require("./list-bank-transactions-response-class"), exports);
32
33
  __exportStar(require("./list-refunds-response-class"), exports);
34
+ __exportStar(require("./list-tenant-bank-account-response-class"), exports);
33
35
  __exportStar(require("./refund-class"), exports);
34
36
  __exportStar(require("./tenant-bank-account-response-class"), exports);
35
37
  __exportStar(require("./transaction-class"), exports);
@@ -0,0 +1,31 @@
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 { TenantBankAccountResponseClass } from './tenant-bank-account-response-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ListTenantBankAccountResponseClass
17
+ */
18
+ export interface ListTenantBankAccountResponseClass {
19
+ /**
20
+ * The list of bankAccountss.
21
+ * @type {Array<TenantBankAccountResponseClass>}
22
+ * @memberof ListTenantBankAccountResponseClass
23
+ */
24
+ 'items': Array<TenantBankAccountResponseClass>;
25
+ /**
26
+ * Next page token
27
+ * @type {string}
28
+ * @memberof ListTenantBankAccountResponseClass
29
+ */
30
+ 'nextPageToken': string;
31
+ }
@@ -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,31 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Emil Payment Service
5
+ * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ import { TenantBankAccountResponseClass } from './tenant-bank-account-response-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface CreateTenantBankAccountResponseClass
22
+ */
23
+ export interface CreateTenantBankAccountResponseClass {
24
+ /**
25
+ * Tenant Bank Account
26
+ * @type {TenantBankAccountResponseClass}
27
+ * @memberof CreateTenantBankAccountResponseClass
28
+ */
29
+ 'bankAccount': TenantBankAccountResponseClass;
30
+ }
31
+
package/models/index.ts CHANGED
@@ -4,6 +4,7 @@ export * from './create-payment-request-dto';
4
4
  export * from './create-refund-request-dto';
5
5
  export * from './create-refund-response-class';
6
6
  export * from './create-tenant-bank-account-request-dto';
7
+ export * from './create-tenant-bank-account-response-class';
7
8
  export * from './deactivate-payment-reminder-request-dto';
8
9
  export * from './get-bank-transactions-response-class';
9
10
  export * from './get-refund-response-class';
@@ -14,6 +15,7 @@ export * from './inline-response503';
14
15
  export * from './link-bank-transaction-request-dto-rest';
15
16
  export * from './list-bank-transactions-response-class';
16
17
  export * from './list-refunds-response-class';
18
+ export * from './list-tenant-bank-account-response-class';
17
19
  export * from './refund-class';
18
20
  export * from './tenant-bank-account-response-class';
19
21
  export * from './transaction-class';
@@ -0,0 +1,37 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Emil Payment Service
5
+ * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ import { TenantBankAccountResponseClass } from './tenant-bank-account-response-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface ListTenantBankAccountResponseClass
22
+ */
23
+ export interface ListTenantBankAccountResponseClass {
24
+ /**
25
+ * The list of bankAccountss.
26
+ * @type {Array<TenantBankAccountResponseClass>}
27
+ * @memberof ListTenantBankAccountResponseClass
28
+ */
29
+ 'items': Array<TenantBankAccountResponseClass>;
30
+ /**
31
+ * Next page token
32
+ * @type {string}
33
+ * @memberof ListTenantBankAccountResponseClass
34
+ */
35
+ 'nextPageToken': string;
36
+ }
37
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/payment-sdk",
3
- "version": "1.4.1-beta.10",
3
+ "version": "1.4.1-beta.12",
4
4
  "description": "OpenAPI client for @emilgroup/payment-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [