@emilgroup/payment-sdk 1.4.1-beta.7 → 1.4.1-beta.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (123) hide show
  1. package/.openapi-generator/FILES +2 -29
  2. package/README.md +2 -2
  3. package/api/bank-accounts-api.ts +16 -20
  4. package/api/bank-transaction-api.ts +60 -26
  5. package/api/payment-methods-api.ts +37 -41
  6. package/api/payment-reminders-api.ts +8 -12
  7. package/api/payment-setup-api.ts +28 -36
  8. package/api/payments-api.ts +25 -27
  9. package/api/refunds-api.ts +15 -13
  10. package/api/tenant-bank-account-api.ts +48 -28
  11. package/dist/api/bank-accounts-api.d.ts +12 -14
  12. package/dist/api/bank-accounts-api.js +12 -12
  13. package/dist/api/bank-transaction-api.d.ts +41 -21
  14. package/dist/api/bank-transaction-api.js +32 -18
  15. package/dist/api/payment-methods-api.d.ts +27 -31
  16. package/dist/api/payment-methods-api.js +28 -24
  17. package/dist/api/payment-reminders-api.d.ts +12 -14
  18. package/dist/api/payment-setup-api.d.ts +18 -22
  19. package/dist/api/payment-setup-api.js +24 -24
  20. package/dist/api/payments-api.d.ts +21 -24
  21. package/dist/api/payments-api.js +16 -12
  22. package/dist/api/refunds-api.d.ts +10 -10
  23. package/dist/api/refunds-api.js +11 -9
  24. package/dist/api/tenant-bank-account-api.d.ts +48 -28
  25. package/dist/api/tenant-bank-account-api.js +43 -23
  26. package/dist/models/create-payment-request-dto.d.ts +3 -3
  27. package/dist/models/get-request-dto.d.ts +1 -1
  28. package/dist/models/index.d.ts +2 -29
  29. package/dist/models/index.js +2 -29
  30. package/dist/models/{sepa-direct-dto.d.ts → link-bank-transaction-request-dto-rest.d.ts} +5 -5
  31. package/dist/models/{initiate-braintree-payment-setup-response-class.d.ts → unlink-bank-transaction-request-dto-rest.d.ts} +5 -5
  32. package/dist/models/validate-pspconfig-request-dto.d.ts +1 -8
  33. package/dist/models/validate-pspconfig-request-dto.js +0 -7
  34. package/models/create-payment-request-dto.ts +3 -3
  35. package/models/get-request-dto.ts +1 -1
  36. package/models/index.ts +2 -29
  37. package/models/{sepa-direct-dto.ts → link-bank-transaction-request-dto-rest.ts} +5 -5
  38. package/models/{initiate-braintree-payment-setup-response-class.ts → unlink-bank-transaction-request-dto-rest.ts} +5 -5
  39. package/models/validate-pspconfig-request-dto.ts +1 -11
  40. package/package.json +1 -1
  41. package/dist/models/bank-account-class.d.ts +0 -54
  42. package/dist/models/billing-profile-dto.d.ts +0 -38
  43. package/dist/models/billing-profile-limited-response-dto.d.ts +0 -54
  44. package/dist/models/billing-profile-limited-response-dto.js +0 -15
  45. package/dist/models/complete-braintree-payment-setup-request-dto.d.ts +0 -48
  46. package/dist/models/complete-braintree-payment-setup-request-dto.js +0 -15
  47. package/dist/models/complete-payment-setup-request-dto.d.ts +0 -32
  48. package/dist/models/complete-payment-setup-request-dto.js +0 -15
  49. package/dist/models/complete-payment-setup-response-class.d.ts +0 -25
  50. package/dist/models/complete-payment-setup-response-class.js +0 -15
  51. package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +0 -60
  52. package/dist/models/complete-stripe-payment-setup-request-dto.js +0 -15
  53. package/dist/models/create-bank-account-request-dto.d.ts +0 -30
  54. package/dist/models/create-bank-account-request-dto.js +0 -15
  55. package/dist/models/create-payment-method-response-class.d.ts +0 -25
  56. package/dist/models/create-payment-method-response-class.js +0 -15
  57. package/dist/models/create-payment-response-class.d.ts +0 -25
  58. package/dist/models/create-payment-response-class.js +0 -15
  59. package/dist/models/create-psp-payment-method-request-dto.d.ts +0 -61
  60. package/dist/models/create-psp-payment-method-request-dto.js +0 -32
  61. package/dist/models/deactivate-payment-reminder-response-class.d.ts +0 -25
  62. package/dist/models/deactivate-payment-reminder-response-class.js +0 -15
  63. package/dist/models/get-payment-method-response-class.d.ts +0 -25
  64. package/dist/models/get-payment-method-response-class.js +0 -15
  65. package/dist/models/get-payment-response-class.d.ts +0 -25
  66. package/dist/models/get-payment-response-class.js +0 -15
  67. package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +0 -30
  68. package/dist/models/initiate-braintree-payment-setup-request-dto.js +0 -15
  69. package/dist/models/initiate-braintree-payment-setup-response-class.js +0 -15
  70. package/dist/models/initiate-payment-setup-request-dto.d.ts +0 -44
  71. package/dist/models/initiate-payment-setup-request-dto.js +0 -15
  72. package/dist/models/initiate-payment-setup-response-class.d.ts +0 -32
  73. package/dist/models/initiate-payment-setup-response-class.js +0 -15
  74. package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +0 -30
  75. package/dist/models/initiate-stripe-payment-setup-request-dto.js +0 -15
  76. package/dist/models/initiate-stripe-payment-setup-response-class.d.ts +0 -30
  77. package/dist/models/initiate-stripe-payment-setup-response-class.js +0 -15
  78. package/dist/models/list-bank-accounts-response-class.d.ts +0 -31
  79. package/dist/models/list-bank-accounts-response-class.js +0 -15
  80. package/dist/models/list-payment-methods-response-class.d.ts +0 -31
  81. package/dist/models/list-payment-methods-response-class.js +0 -15
  82. package/dist/models/list-payment-reminders-response-class.d.ts +0 -31
  83. package/dist/models/list-payment-reminders-response-class.js +0 -15
  84. package/dist/models/list-payments-response-class.d.ts +0 -31
  85. package/dist/models/list-payments-response-class.js +0 -15
  86. package/dist/models/payment-class.d.ts +0 -103
  87. package/dist/models/payment-class.js +0 -15
  88. package/dist/models/payment-method-class.d.ts +0 -66
  89. package/dist/models/payment-method-class.js +0 -15
  90. package/dist/models/payment-reminder-class.d.ts +0 -112
  91. package/dist/models/payment-reminder-class.js +0 -36
  92. package/dist/models/sepa-direct-dto.js +0 -15
  93. package/dist/models/symphony-profile-limited-response-dto.d.ts +0 -42
  94. package/dist/models/symphony-profile-limited-response-dto.js +0 -15
  95. package/models/bank-account-class.ts +0 -60
  96. package/models/billing-profile-dto.ts +0 -44
  97. package/models/billing-profile-limited-response-dto.ts +0 -60
  98. package/models/complete-braintree-payment-setup-request-dto.ts +0 -54
  99. package/models/complete-payment-setup-request-dto.ts +0 -38
  100. package/models/complete-payment-setup-response-class.ts +0 -31
  101. package/models/complete-stripe-payment-setup-request-dto.ts +0 -66
  102. package/models/create-bank-account-request-dto.ts +0 -36
  103. package/models/create-payment-method-response-class.ts +0 -31
  104. package/models/create-payment-response-class.ts +0 -31
  105. package/models/create-psp-payment-method-request-dto.ts +0 -70
  106. package/models/deactivate-payment-reminder-response-class.ts +0 -31
  107. package/models/get-payment-method-response-class.ts +0 -31
  108. package/models/get-payment-response-class.ts +0 -31
  109. package/models/initiate-braintree-payment-setup-request-dto.ts +0 -36
  110. package/models/initiate-payment-setup-request-dto.ts +0 -50
  111. package/models/initiate-payment-setup-response-class.ts +0 -38
  112. package/models/initiate-stripe-payment-setup-request-dto.ts +0 -36
  113. package/models/initiate-stripe-payment-setup-response-class.ts +0 -36
  114. package/models/list-bank-accounts-response-class.ts +0 -37
  115. package/models/list-payment-methods-response-class.ts +0 -37
  116. package/models/list-payment-reminders-response-class.ts +0 -37
  117. package/models/list-payments-response-class.ts +0 -37
  118. package/models/payment-class.ts +0 -109
  119. package/models/payment-method-class.ts +0 -72
  120. package/models/payment-reminder-class.ts +0 -122
  121. package/models/symphony-profile-limited-response-dto.ts +0 -48
  122. /package/dist/models/{bank-account-class.js → link-bank-transaction-request-dto-rest.js} +0 -0
  123. /package/dist/models/{billing-profile-dto.js → unlink-bank-transaction-request-dto-rest.js} +0 -0
@@ -84,16 +84,18 @@ export const RefundsApiAxiosParamCreator = function (configuration?: Configurati
84
84
  *
85
85
  * @param {string} code
86
86
  * @param {string} code2 Unique identifier for the object.
87
+ * @param {string} expand Fields to expand response by
87
88
  * @param {string} [authorization] Bearer Token
88
- * @param {string} [expand] Fields to expand response by
89
89
  * @param {*} [options] Override http request option.
90
90
  * @throws {RequiredError}
91
91
  */
92
- getRefund: async (code: string, code2: string, authorization?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
92
+ getRefund: async (code: string, code2: string, expand: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
93
93
  // verify required parameter 'code' is not null or undefined
94
94
  assertParamExists('getRefund', 'code', code)
95
95
  // verify required parameter 'code2' is not null or undefined
96
96
  assertParamExists('getRefund', 'code2', code2)
97
+ // verify required parameter 'expand' is not null or undefined
98
+ assertParamExists('getRefund', 'expand', expand)
97
99
  const localVarPath = `/paymentservice/v1/refunds/{code}`
98
100
  .replace(`{${"code"}}`, encodeURIComponent(String(code)));
99
101
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -236,13 +238,13 @@ export const RefundsApiFp = function(configuration?: Configuration) {
236
238
  *
237
239
  * @param {string} code
238
240
  * @param {string} code2 Unique identifier for the object.
241
+ * @param {string} expand Fields to expand response by
239
242
  * @param {string} [authorization] Bearer Token
240
- * @param {string} [expand] Fields to expand response by
241
243
  * @param {*} [options] Override http request option.
242
244
  * @throws {RequiredError}
243
245
  */
244
- async getRefund(code: string, code2: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetRefundResponseClass>> {
245
- const localVarAxiosArgs = await localVarAxiosParamCreator.getRefund(code, code2, authorization, expand, options);
246
+ async getRefund(code: string, code2: string, expand: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetRefundResponseClass>> {
247
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getRefund(code, code2, expand, authorization, options);
246
248
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
247
249
  },
248
250
  /**
@@ -286,13 +288,13 @@ export const RefundsApiFactory = function (configuration?: Configuration, basePa
286
288
  *
287
289
  * @param {string} code
288
290
  * @param {string} code2 Unique identifier for the object.
291
+ * @param {string} expand Fields to expand response by
289
292
  * @param {string} [authorization] Bearer Token
290
- * @param {string} [expand] Fields to expand response by
291
293
  * @param {*} [options] Override http request option.
292
294
  * @throws {RequiredError}
293
295
  */
294
- getRefund(code: string, code2: string, authorization?: string, expand?: string, options?: any): AxiosPromise<GetRefundResponseClass> {
295
- return localVarFp.getRefund(code, code2, authorization, expand, options).then((request) => request(axios, basePath));
296
+ getRefund(code: string, code2: string, expand: string, authorization?: string, options?: any): AxiosPromise<GetRefundResponseClass> {
297
+ return localVarFp.getRefund(code, code2, expand, authorization, options).then((request) => request(axios, basePath));
296
298
  },
297
299
  /**
298
300
  *
@@ -355,18 +357,18 @@ export interface RefundsApiGetRefundRequest {
355
357
  readonly code2: string
356
358
 
357
359
  /**
358
- * Bearer Token
360
+ * Fields to expand response by
359
361
  * @type {string}
360
362
  * @memberof RefundsApiGetRefund
361
363
  */
362
- readonly authorization?: string
364
+ readonly expand: string
363
365
 
364
366
  /**
365
- * Fields to expand response by
367
+ * Bearer Token
366
368
  * @type {string}
367
369
  * @memberof RefundsApiGetRefund
368
370
  */
369
- readonly expand?: string
371
+ readonly authorization?: string
370
372
  }
371
373
 
372
374
  /**
@@ -458,7 +460,7 @@ export class RefundsApi extends BaseAPI {
458
460
  * @memberof RefundsApi
459
461
  */
460
462
  public getRefund(requestParameters: RefundsApiGetRefundRequest, options?: AxiosRequestConfig) {
461
- return RefundsApiFp(this.configuration).getRefund(requestParameters.code, requestParameters.code2, requestParameters.authorization, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
463
+ return RefundsApiFp(this.configuration).getRefund(requestParameters.code, requestParameters.code2, requestParameters.expand, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
462
464
  }
463
465
 
464
466
  /**
@@ -33,7 +33,8 @@ import { UpdateTenantBankAccountRestRequestDto } from '../models';
33
33
  export const TenantBankAccountApiAxiosParamCreator = function (configuration?: Configuration) {
34
34
  return {
35
35
  /**
36
- *
36
+ * Create a new tenant bank account
37
+ * @summary Create the Create Tenant Bank Account
37
38
  * @param {CreateTenantBankAccountRequestDto} createTenantBankAccountRequestDto
38
39
  * @param {string} [authorization] Bearer Token
39
40
  * @param {*} [options] Override http request option.
@@ -79,7 +80,8 @@ export const TenantBankAccountApiAxiosParamCreator = function (configuration?: C
79
80
  };
80
81
  },
81
82
  /**
82
- *
83
+ * Deletes a tenant bank account by code
84
+ * @summary Deletes a tenant bank account
83
85
  * @param {string} code Unique identifier for the object.
84
86
  * @param {string} [authorization] Bearer Token
85
87
  * @param {*} [options] Override http request option.
@@ -123,14 +125,15 @@ export const TenantBankAccountApiAxiosParamCreator = function (configuration?: C
123
125
  };
124
126
  },
125
127
  /**
126
- *
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
127
130
  * @param {string} code Unique identifier for the object.
128
131
  * @param {string} [authorization] Bearer Token
129
- * @param {string} [expand] Expand the response with additional entities
132
+ * @param {'bankTransactions'} [expand] Expand the response with additional entities
130
133
  * @param {*} [options] Override http request option.
131
134
  * @throws {RequiredError}
132
135
  */
133
- getTenantBankAccount: async (code: string, authorization?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
136
+ getTenantBankAccount: async (code: string, authorization?: string, expand?: 'bankTransactions', options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
134
137
  // verify required parameter 'code' is not null or undefined
135
138
  assertParamExists('getTenantBankAccount', 'code', code)
136
139
  const localVarPath = `/paymentservice/v1/tenant/bank-accounts/{code}`
@@ -172,7 +175,8 @@ export const TenantBankAccountApiAxiosParamCreator = function (configuration?: C
172
175
  };
173
176
  },
174
177
  /**
175
- *
178
+ * 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.
179
+ * @summary List Tenant Bank Accounts
176
180
  * @param {string} [authorization] Bearer Token
177
181
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
178
182
  * @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.
@@ -247,7 +251,8 @@ export const TenantBankAccountApiAxiosParamCreator = function (configuration?: C
247
251
  };
248
252
  },
249
253
  /**
250
- *
254
+ * Update a tenant bank account by code
255
+ * @summary Update a tenant bank account
251
256
  * @param {string} code Unique identifier for the object.
252
257
  * @param {UpdateTenantBankAccountRestRequestDto} updateTenantBankAccountRestRequestDto
253
258
  * @param {string} [authorization] Bearer Token
@@ -307,7 +312,8 @@ export const TenantBankAccountApiFp = function(configuration?: Configuration) {
307
312
  const localVarAxiosParamCreator = TenantBankAccountApiAxiosParamCreator(configuration)
308
313
  return {
309
314
  /**
310
- *
315
+ * Create a new tenant bank account
316
+ * @summary Create the Create Tenant Bank Account
311
317
  * @param {CreateTenantBankAccountRequestDto} createTenantBankAccountRequestDto
312
318
  * @param {string} [authorization] Bearer Token
313
319
  * @param {*} [options] Override http request option.
@@ -318,7 +324,8 @@ export const TenantBankAccountApiFp = function(configuration?: Configuration) {
318
324
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
319
325
  },
320
326
  /**
321
- *
327
+ * Deletes a tenant bank account by code
328
+ * @summary Deletes a tenant bank account
322
329
  * @param {string} code Unique identifier for the object.
323
330
  * @param {string} [authorization] Bearer Token
324
331
  * @param {*} [options] Override http request option.
@@ -329,19 +336,21 @@ export const TenantBankAccountApiFp = function(configuration?: Configuration) {
329
336
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
330
337
  },
331
338
  /**
332
- *
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
333
341
  * @param {string} code Unique identifier for the object.
334
342
  * @param {string} [authorization] Bearer Token
335
- * @param {string} [expand] Expand the response with additional entities
343
+ * @param {'bankTransactions'} [expand] Expand the response with additional entities
336
344
  * @param {*} [options] Override http request option.
337
345
  * @throws {RequiredError}
338
346
  */
339
- async getTenantBankAccount(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetTenantBankAccountResponseClass>> {
347
+ async getTenantBankAccount(code: string, authorization?: string, expand?: 'bankTransactions', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetTenantBankAccountResponseClass>> {
340
348
  const localVarAxiosArgs = await localVarAxiosParamCreator.getTenantBankAccount(code, authorization, expand, options);
341
349
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
342
350
  },
343
351
  /**
344
- *
352
+ * 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.
353
+ * @summary List Tenant Bank Accounts
345
354
  * @param {string} [authorization] Bearer Token
346
355
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
347
356
  * @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.
@@ -358,7 +367,8 @@ export const TenantBankAccountApiFp = function(configuration?: Configuration) {
358
367
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
359
368
  },
360
369
  /**
361
- *
370
+ * Update a tenant bank account by code
371
+ * @summary Update a tenant bank account
362
372
  * @param {string} code Unique identifier for the object.
363
373
  * @param {UpdateTenantBankAccountRestRequestDto} updateTenantBankAccountRestRequestDto
364
374
  * @param {string} [authorization] Bearer Token
@@ -380,7 +390,8 @@ export const TenantBankAccountApiFactory = function (configuration?: Configurati
380
390
  const localVarFp = TenantBankAccountApiFp(configuration)
381
391
  return {
382
392
  /**
383
- *
393
+ * Create a new tenant bank account
394
+ * @summary Create the Create Tenant Bank Account
384
395
  * @param {CreateTenantBankAccountRequestDto} createTenantBankAccountRequestDto
385
396
  * @param {string} [authorization] Bearer Token
386
397
  * @param {*} [options] Override http request option.
@@ -390,7 +401,8 @@ export const TenantBankAccountApiFactory = function (configuration?: Configurati
390
401
  return localVarFp.createTenantBankAccount(createTenantBankAccountRequestDto, authorization, options).then((request) => request(axios, basePath));
391
402
  },
392
403
  /**
393
- *
404
+ * Deletes a tenant bank account by code
405
+ * @summary Deletes a tenant bank account
394
406
  * @param {string} code Unique identifier for the object.
395
407
  * @param {string} [authorization] Bearer Token
396
408
  * @param {*} [options] Override http request option.
@@ -400,18 +412,20 @@ export const TenantBankAccountApiFactory = function (configuration?: Configurati
400
412
  return localVarFp.deleteTenantBankAccount(code, authorization, options).then((request) => request(axios, basePath));
401
413
  },
402
414
  /**
403
- *
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
404
417
  * @param {string} code Unique identifier for the object.
405
418
  * @param {string} [authorization] Bearer Token
406
- * @param {string} [expand] Expand the response with additional entities
419
+ * @param {'bankTransactions'} [expand] Expand the response with additional entities
407
420
  * @param {*} [options] Override http request option.
408
421
  * @throws {RequiredError}
409
422
  */
410
- getTenantBankAccount(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<GetTenantBankAccountResponseClass> {
423
+ getTenantBankAccount(code: string, authorization?: string, expand?: 'bankTransactions', options?: any): AxiosPromise<GetTenantBankAccountResponseClass> {
411
424
  return localVarFp.getTenantBankAccount(code, authorization, expand, options).then((request) => request(axios, basePath));
412
425
  },
413
426
  /**
414
- *
427
+ * 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.
428
+ * @summary List Tenant Bank Accounts
415
429
  * @param {string} [authorization] Bearer Token
416
430
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
417
431
  * @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.
@@ -427,7 +441,8 @@ export const TenantBankAccountApiFactory = function (configuration?: Configurati
427
441
  return localVarFp.listTenantBankAccounts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
428
442
  },
429
443
  /**
430
- *
444
+ * Update a tenant bank account by code
445
+ * @summary Update a tenant bank account
431
446
  * @param {string} code Unique identifier for the object.
432
447
  * @param {UpdateTenantBankAccountRestRequestDto} updateTenantBankAccountRestRequestDto
433
448
  * @param {string} [authorization] Bearer Token
@@ -504,10 +519,10 @@ export interface TenantBankAccountApiGetTenantBankAccountRequest {
504
519
 
505
520
  /**
506
521
  * Expand the response with additional entities
507
- * @type {string}
522
+ * @type {'bankTransactions'}
508
523
  * @memberof TenantBankAccountApiGetTenantBankAccount
509
524
  */
510
- readonly expand?: string
525
+ readonly expand?: 'bankTransactions'
511
526
  }
512
527
 
513
528
  /**
@@ -609,7 +624,8 @@ export interface TenantBankAccountApiUpdateTenantBankAccountRequest {
609
624
  */
610
625
  export class TenantBankAccountApi extends BaseAPI {
611
626
  /**
612
- *
627
+ * Create a new tenant bank account
628
+ * @summary Create the Create Tenant Bank Account
613
629
  * @param {TenantBankAccountApiCreateTenantBankAccountRequest} requestParameters Request parameters.
614
630
  * @param {*} [options] Override http request option.
615
631
  * @throws {RequiredError}
@@ -620,7 +636,8 @@ export class TenantBankAccountApi extends BaseAPI {
620
636
  }
621
637
 
622
638
  /**
623
- *
639
+ * Deletes a tenant bank account by code
640
+ * @summary Deletes a tenant bank account
624
641
  * @param {TenantBankAccountApiDeleteTenantBankAccountRequest} requestParameters Request parameters.
625
642
  * @param {*} [options] Override http request option.
626
643
  * @throws {RequiredError}
@@ -631,7 +648,8 @@ export class TenantBankAccountApi extends BaseAPI {
631
648
  }
632
649
 
633
650
  /**
634
- *
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
635
653
  * @param {TenantBankAccountApiGetTenantBankAccountRequest} requestParameters Request parameters.
636
654
  * @param {*} [options] Override http request option.
637
655
  * @throws {RequiredError}
@@ -642,7 +660,8 @@ export class TenantBankAccountApi extends BaseAPI {
642
660
  }
643
661
 
644
662
  /**
645
- *
663
+ * 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.
664
+ * @summary List Tenant Bank Accounts
646
665
  * @param {TenantBankAccountApiListTenantBankAccountsRequest} requestParameters Request parameters.
647
666
  * @param {*} [options] Override http request option.
648
667
  * @throws {RequiredError}
@@ -653,7 +672,8 @@ export class TenantBankAccountApi extends BaseAPI {
653
672
  }
654
673
 
655
674
  /**
656
- *
675
+ * Update a tenant bank account by code
676
+ * @summary Update a tenant bank account
657
677
  * @param {TenantBankAccountApiUpdateTenantBankAccountRequest} requestParameters Request parameters.
658
678
  * @param {*} [options] Override http request option.
659
679
  * @throws {RequiredError}
@@ -12,8 +12,6 @@
12
12
  import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
13
13
  import { Configuration } from '../configuration';
14
14
  import { RequestArgs, BaseAPI } from '../base';
15
- import { CreateBankAccountRequestDto } from '../models';
16
- import { ListBankAccountsResponseClass } from '../models';
17
15
  /**
18
16
  * BankAccountsApi - axios parameter creator
19
17
  * @export
@@ -22,12 +20,12 @@ export declare const BankAccountsApiAxiosParamCreator: (configuration?: Configur
22
20
  /**
23
21
  * Creates a bank account for a specified account.
24
22
  * @summary Create a bank account
25
- * @param {CreateBankAccountRequestDto} createBankAccountRequestDto
23
+ * @param {object} body
26
24
  * @param {string} [authorization] Bearer Token
27
25
  * @param {*} [options] Override http request option.
28
26
  * @throws {RequiredError}
29
27
  */
30
- createBankAccount: (createBankAccountRequestDto: CreateBankAccountRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
28
+ createBankAccount: (body: object, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
31
29
  /**
32
30
  * Returns a list of bank accounts you’ve previously created. The bank accounts are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.
33
31
  * @summary List bank accounts
@@ -52,12 +50,12 @@ export declare const BankAccountsApiFp: (configuration?: Configuration) => {
52
50
  /**
53
51
  * Creates a bank account for a specified account.
54
52
  * @summary Create a bank account
55
- * @param {CreateBankAccountRequestDto} createBankAccountRequestDto
53
+ * @param {object} body
56
54
  * @param {string} [authorization] Bearer Token
57
55
  * @param {*} [options] Override http request option.
58
56
  * @throws {RequiredError}
59
57
  */
60
- createBankAccount(createBankAccountRequestDto: CreateBankAccountRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
58
+ createBankAccount(body: object, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
61
59
  /**
62
60
  * Returns a list of bank accounts you’ve previously created. The bank accounts are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.
63
61
  * @summary List bank accounts
@@ -72,7 +70,7 @@ export declare const BankAccountsApiFp: (configuration?: Configuration) => {
72
70
  * @param {*} [options] Override http request option.
73
71
  * @throws {RequiredError}
74
72
  */
75
- listBankAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListBankAccountsResponseClass>>;
73
+ listBankAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
76
74
  };
77
75
  /**
78
76
  * BankAccountsApi - factory interface
@@ -82,12 +80,12 @@ export declare const BankAccountsApiFactory: (configuration?: Configuration, bas
82
80
  /**
83
81
  * Creates a bank account for a specified account.
84
82
  * @summary Create a bank account
85
- * @param {CreateBankAccountRequestDto} createBankAccountRequestDto
83
+ * @param {object} body
86
84
  * @param {string} [authorization] Bearer Token
87
85
  * @param {*} [options] Override http request option.
88
86
  * @throws {RequiredError}
89
87
  */
90
- createBankAccount(createBankAccountRequestDto: CreateBankAccountRequestDto, authorization?: string, options?: any): AxiosPromise<object>;
88
+ createBankAccount(body: object, authorization?: string, options?: any): AxiosPromise<void>;
91
89
  /**
92
90
  * Returns a list of bank accounts you’ve previously created. The bank accounts are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.
93
91
  * @summary List bank accounts
@@ -102,7 +100,7 @@ export declare const BankAccountsApiFactory: (configuration?: Configuration, bas
102
100
  * @param {*} [options] Override http request option.
103
101
  * @throws {RequiredError}
104
102
  */
105
- listBankAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<ListBankAccountsResponseClass>;
103
+ listBankAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<void>;
106
104
  };
107
105
  /**
108
106
  * Request parameters for createBankAccount operation in BankAccountsApi.
@@ -112,10 +110,10 @@ export declare const BankAccountsApiFactory: (configuration?: Configuration, bas
112
110
  export interface BankAccountsApiCreateBankAccountRequest {
113
111
  /**
114
112
  *
115
- * @type {CreateBankAccountRequestDto}
113
+ * @type {object}
116
114
  * @memberof BankAccountsApiCreateBankAccount
117
115
  */
118
- readonly createBankAccountRequestDto: CreateBankAccountRequestDto;
116
+ readonly body: object;
119
117
  /**
120
118
  * Bearer Token
121
119
  * @type {string}
@@ -193,7 +191,7 @@ export declare class BankAccountsApi extends BaseAPI {
193
191
  * @throws {RequiredError}
194
192
  * @memberof BankAccountsApi
195
193
  */
196
- createBankAccount(requestParameters: BankAccountsApiCreateBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
194
+ createBankAccount(requestParameters: BankAccountsApiCreateBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
197
195
  /**
198
196
  * Returns a list of bank accounts you’ve previously created. The bank accounts are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.
199
197
  * @summary List bank accounts
@@ -202,5 +200,5 @@ export declare class BankAccountsApi extends BaseAPI {
202
200
  * @throws {RequiredError}
203
201
  * @memberof BankAccountsApi
204
202
  */
205
- listBankAccounts(requestParameters?: BankAccountsApiListBankAccountsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListBankAccountsResponseClass, any>>;
203
+ listBankAccounts(requestParameters?: BankAccountsApiListBankAccountsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
206
204
  }
@@ -95,20 +95,20 @@ var BankAccountsApiAxiosParamCreator = function (configuration) {
95
95
  /**
96
96
  * Creates a bank account for a specified account.
97
97
  * @summary Create a bank account
98
- * @param {CreateBankAccountRequestDto} createBankAccountRequestDto
98
+ * @param {object} body
99
99
  * @param {string} [authorization] Bearer Token
100
100
  * @param {*} [options] Override http request option.
101
101
  * @throws {RequiredError}
102
102
  */
103
- createBankAccount: function (createBankAccountRequestDto, authorization, options) {
103
+ createBankAccount: function (body, authorization, options) {
104
104
  if (options === void 0) { options = {}; }
105
105
  return __awaiter(_this, void 0, void 0, function () {
106
106
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
107
107
  return __generator(this, function (_a) {
108
108
  switch (_a.label) {
109
109
  case 0:
110
- // verify required parameter 'createBankAccountRequestDto' is not null or undefined
111
- (0, common_1.assertParamExists)('createBankAccount', 'createBankAccountRequestDto', createBankAccountRequestDto);
110
+ // verify required parameter 'body' is not null or undefined
111
+ (0, common_1.assertParamExists)('createBankAccount', 'body', body);
112
112
  localVarPath = "/paymentservice/v1/bank-accounts";
113
113
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
114
114
  if (configuration) {
@@ -132,7 +132,7 @@ var BankAccountsApiAxiosParamCreator = function (configuration) {
132
132
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
133
133
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
134
134
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
135
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createBankAccountRequestDto, localVarRequestOptions, configuration);
135
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
136
136
  return [2 /*return*/, {
137
137
  url: (0, common_1.toPathString)(localVarUrlObj),
138
138
  options: localVarRequestOptions,
@@ -226,17 +226,17 @@ var BankAccountsApiFp = function (configuration) {
226
226
  /**
227
227
  * Creates a bank account for a specified account.
228
228
  * @summary Create a bank account
229
- * @param {CreateBankAccountRequestDto} createBankAccountRequestDto
229
+ * @param {object} body
230
230
  * @param {string} [authorization] Bearer Token
231
231
  * @param {*} [options] Override http request option.
232
232
  * @throws {RequiredError}
233
233
  */
234
- createBankAccount: function (createBankAccountRequestDto, authorization, options) {
234
+ createBankAccount: function (body, authorization, options) {
235
235
  return __awaiter(this, void 0, void 0, function () {
236
236
  var localVarAxiosArgs;
237
237
  return __generator(this, function (_a) {
238
238
  switch (_a.label) {
239
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.createBankAccount(createBankAccountRequestDto, authorization, options)];
239
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.createBankAccount(body, authorization, options)];
240
240
  case 1:
241
241
  localVarAxiosArgs = _a.sent();
242
242
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -284,13 +284,13 @@ var BankAccountsApiFactory = function (configuration, basePath, axios) {
284
284
  /**
285
285
  * Creates a bank account for a specified account.
286
286
  * @summary Create a bank account
287
- * @param {CreateBankAccountRequestDto} createBankAccountRequestDto
287
+ * @param {object} body
288
288
  * @param {string} [authorization] Bearer Token
289
289
  * @param {*} [options] Override http request option.
290
290
  * @throws {RequiredError}
291
291
  */
292
- createBankAccount: function (createBankAccountRequestDto, authorization, options) {
293
- return localVarFp.createBankAccount(createBankAccountRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
292
+ createBankAccount: function (body, authorization, options) {
293
+ return localVarFp.createBankAccount(body, authorization, options).then(function (request) { return request(axios, basePath); });
294
294
  },
295
295
  /**
296
296
  * Returns a list of bank accounts you’ve previously created. The bank accounts are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.
@@ -333,7 +333,7 @@ var BankAccountsApi = /** @class */ (function (_super) {
333
333
  */
334
334
  BankAccountsApi.prototype.createBankAccount = function (requestParameters, options) {
335
335
  var _this = this;
336
- return (0, exports.BankAccountsApiFp)(this.configuration).createBankAccount(requestParameters.createBankAccountRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
336
+ return (0, exports.BankAccountsApiFp)(this.configuration).createBankAccount(requestParameters.body, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
337
337
  };
338
338
  /**
339
339
  * Returns a list of bank accounts you’ve previously created. The bank accounts are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.