@emilgroup/payment-sdk 1.4.1-beta.31 → 1.4.1-beta.33

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 (182) hide show
  1. package/.openapi-generator/FILES +50 -0
  2. package/README.md +2 -2
  3. package/api/bank-accounts-api.ts +20 -12
  4. package/api/bank-transaction-api.ts +20 -10
  5. package/api/payment-methods-api.ts +26 -18
  6. package/api/payment-reminders-api.ts +16 -8
  7. package/api/payment-setup-api.ts +52 -36
  8. package/api/payments-api.ts +12 -6
  9. package/api/refunds-api.ts +12 -6
  10. package/base.ts +15 -7
  11. package/dist/api/bank-accounts-api.d.ts +22 -18
  12. package/dist/api/bank-transaction-api.d.ts +20 -15
  13. package/dist/api/payment-methods-api.d.ts +19 -15
  14. package/dist/api/payment-methods-api.js +12 -12
  15. package/dist/api/payment-reminders-api.d.ts +16 -12
  16. package/dist/api/payment-setup-api.d.ts +38 -26
  17. package/dist/api/payment-setup-api.js +40 -32
  18. package/dist/api/payments-api.d.ts +12 -9
  19. package/dist/api/refunds-api.d.ts +12 -9
  20. package/dist/base.d.ts +3 -1
  21. package/dist/base.js +27 -20
  22. package/dist/models/bank-account-class-without-expand-properties.d.ts +72 -0
  23. package/dist/models/bank-account-class-without-expand-properties.js +15 -0
  24. package/dist/models/bank-account-class.d.ts +79 -0
  25. package/dist/models/bank-account-class.js +15 -0
  26. package/dist/models/bank-transaction-class.d.ts +128 -0
  27. package/dist/models/bank-transaction-class.js +15 -0
  28. package/dist/models/billing-profile-dto.d.ts +38 -0
  29. package/dist/models/billing-profile-dto.js +15 -0
  30. package/dist/models/billing-profile-limited-response-dto.d.ts +54 -0
  31. package/dist/models/billing-profile-limited-response-dto.js +15 -0
  32. package/dist/models/complete-braintree-payment-setup-request-dto.d.ts +48 -0
  33. package/dist/models/complete-braintree-payment-setup-request-dto.js +15 -0
  34. package/dist/models/complete-payment-setup-request-dto.d.ts +32 -0
  35. package/dist/models/complete-payment-setup-request-dto.js +15 -0
  36. package/dist/models/complete-payment-setup-response-class.d.ts +25 -0
  37. package/dist/models/complete-payment-setup-response-class.js +15 -0
  38. package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +60 -0
  39. package/dist/models/complete-stripe-payment-setup-request-dto.js +15 -0
  40. package/dist/models/create-bank-account-request-dto.d.ts +2 -2
  41. package/dist/models/create-bank-account-response-class.d.ts +25 -0
  42. package/dist/models/create-bank-account-response-class.js +15 -0
  43. package/dist/models/create-payment-method-response-class.d.ts +25 -0
  44. package/dist/models/create-payment-method-response-class.js +15 -0
  45. package/dist/models/create-payment-reminder-response-class.d.ts +25 -0
  46. package/dist/models/create-payment-reminder-response-class.js +15 -0
  47. package/dist/models/create-payment-request-dto.d.ts +3 -3
  48. package/dist/models/create-payment-response-class.d.ts +25 -0
  49. package/dist/models/create-payment-response-class.js +15 -0
  50. package/dist/models/create-psp-payment-method-request-dto.d.ts +61 -0
  51. package/dist/models/create-psp-payment-method-request-dto.js +32 -0
  52. package/dist/models/create-refund-response-class.d.ts +25 -0
  53. package/dist/models/create-refund-response-class.js +15 -0
  54. package/dist/models/deactivate-payment-reminder-response-class.d.ts +25 -0
  55. package/dist/models/deactivate-payment-reminder-response-class.js +15 -0
  56. package/dist/models/deactivated-payment-reminder-class.d.ts +90 -0
  57. package/dist/models/deactivated-payment-reminder-class.js +15 -0
  58. package/dist/models/get-bank-account-response-class.d.ts +25 -0
  59. package/dist/models/get-bank-account-response-class.js +15 -0
  60. package/dist/models/get-bank-transactions-response-class.d.ts +25 -0
  61. package/dist/models/get-bank-transactions-response-class.js +15 -0
  62. package/dist/models/get-payment-method-response-class.d.ts +25 -0
  63. package/dist/models/get-payment-method-response-class.js +15 -0
  64. package/dist/models/get-payment-reminder-response-class.d.ts +25 -0
  65. package/dist/models/get-payment-reminder-response-class.js +15 -0
  66. package/dist/models/get-payment-response-class.d.ts +25 -0
  67. package/dist/models/get-payment-response-class.js +15 -0
  68. package/dist/models/get-refund-response-class.d.ts +25 -0
  69. package/dist/models/get-refund-response-class.js +15 -0
  70. package/dist/models/import-bank-transactions-response-class.d.ts +25 -0
  71. package/dist/models/import-bank-transactions-response-class.js +15 -0
  72. package/dist/models/index.d.ts +50 -0
  73. package/dist/models/index.js +50 -0
  74. package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +30 -0
  75. package/dist/models/initiate-braintree-payment-setup-request-dto.js +15 -0
  76. package/dist/models/initiate-braintree-payment-setup-response-class.d.ts +24 -0
  77. package/dist/models/initiate-braintree-payment-setup-response-class.js +15 -0
  78. package/dist/models/initiate-payment-setup-request-dto.d.ts +50 -0
  79. package/dist/models/initiate-payment-setup-request-dto.js +15 -0
  80. package/dist/models/initiate-payment-setup-response-class.d.ts +32 -0
  81. package/dist/models/initiate-payment-setup-response-class.js +15 -0
  82. package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +30 -0
  83. package/dist/models/initiate-stripe-payment-setup-request-dto.js +15 -0
  84. package/dist/models/initiate-stripe-payment-setup-response-class.d.ts +30 -0
  85. package/dist/models/initiate-stripe-payment-setup-response-class.js +15 -0
  86. package/dist/models/link-bank-transactions-response-class.d.ts +25 -0
  87. package/dist/models/link-bank-transactions-response-class.js +15 -0
  88. package/dist/models/list-bank-accounts-response-class.d.ts +31 -0
  89. package/dist/models/list-bank-accounts-response-class.js +15 -0
  90. package/dist/models/list-bank-transactions-response-class.d.ts +31 -0
  91. package/dist/models/list-bank-transactions-response-class.js +15 -0
  92. package/dist/models/list-payment-methods-response-class.d.ts +31 -0
  93. package/dist/models/list-payment-methods-response-class.js +15 -0
  94. package/dist/models/list-payment-reminders-response-class.d.ts +31 -0
  95. package/dist/models/list-payment-reminders-response-class.js +15 -0
  96. package/dist/models/list-payments-response-class.d.ts +31 -0
  97. package/dist/models/list-payments-response-class.js +15 -0
  98. package/dist/models/list-refunds-response-class.d.ts +31 -0
  99. package/dist/models/list-refunds-response-class.js +15 -0
  100. package/dist/models/payment-class-without-expand-properties.d.ts +102 -0
  101. package/dist/models/payment-class-without-expand-properties.js +15 -0
  102. package/dist/models/payment-class.d.ts +109 -0
  103. package/dist/models/payment-class.js +15 -0
  104. package/dist/models/payment-method-class.d.ts +66 -0
  105. package/dist/models/payment-method-class.js +15 -0
  106. package/dist/models/payment-reminder-class.d.ts +90 -0
  107. package/dist/models/payment-reminder-class.js +15 -0
  108. package/dist/models/primary-bank-account-response-class.d.ts +42 -0
  109. package/dist/models/primary-bank-account-response-class.js +15 -0
  110. package/dist/models/refund-class-without-expand-properties.d.ts +99 -0
  111. package/dist/models/refund-class-without-expand-properties.js +29 -0
  112. package/dist/models/refund-class.d.ts +99 -0
  113. package/dist/models/refund-class.js +29 -0
  114. package/dist/models/sepa-direct-dto.d.ts +24 -0
  115. package/dist/models/sepa-direct-dto.js +15 -0
  116. package/dist/models/symphony-profile-limited-response-dto.d.ts +42 -0
  117. package/dist/models/symphony-profile-limited-response-dto.js +15 -0
  118. package/dist/models/transaction-class.d.ts +54 -0
  119. package/dist/models/transaction-class.js +15 -0
  120. package/dist/models/unlink-bank-transactions-response-class.d.ts +25 -0
  121. package/dist/models/unlink-bank-transactions-response-class.js +15 -0
  122. package/dist/models/unlinked-bank-transaction-response-class.d.ts +96 -0
  123. package/dist/models/unlinked-bank-transaction-response-class.js +15 -0
  124. package/dist/models/update-bank-account-response-class.d.ts +25 -0
  125. package/dist/models/update-bank-account-response-class.js +15 -0
  126. package/dist/models/validate-pspconfig-request-dto.d.ts +8 -1
  127. package/dist/models/validate-pspconfig-request-dto.js +7 -0
  128. package/models/bank-account-class-without-expand-properties.ts +78 -0
  129. package/models/bank-account-class.ts +85 -0
  130. package/models/bank-transaction-class.ts +134 -0
  131. package/models/billing-profile-dto.ts +44 -0
  132. package/models/billing-profile-limited-response-dto.ts +60 -0
  133. package/models/complete-braintree-payment-setup-request-dto.ts +54 -0
  134. package/models/complete-payment-setup-request-dto.ts +38 -0
  135. package/models/complete-payment-setup-response-class.ts +31 -0
  136. package/models/complete-stripe-payment-setup-request-dto.ts +66 -0
  137. package/models/create-bank-account-request-dto.ts +2 -2
  138. package/models/create-bank-account-response-class.ts +31 -0
  139. package/models/create-payment-method-response-class.ts +31 -0
  140. package/models/create-payment-reminder-response-class.ts +31 -0
  141. package/models/create-payment-request-dto.ts +3 -3
  142. package/models/create-payment-response-class.ts +31 -0
  143. package/models/create-psp-payment-method-request-dto.ts +70 -0
  144. package/models/create-refund-response-class.ts +31 -0
  145. package/models/deactivate-payment-reminder-response-class.ts +31 -0
  146. package/models/deactivated-payment-reminder-class.ts +96 -0
  147. package/models/get-bank-account-response-class.ts +31 -0
  148. package/models/get-bank-transactions-response-class.ts +31 -0
  149. package/models/get-payment-method-response-class.ts +31 -0
  150. package/models/get-payment-reminder-response-class.ts +31 -0
  151. package/models/get-payment-response-class.ts +31 -0
  152. package/models/get-refund-response-class.ts +31 -0
  153. package/models/import-bank-transactions-response-class.ts +31 -0
  154. package/models/index.ts +50 -0
  155. package/models/initiate-braintree-payment-setup-request-dto.ts +36 -0
  156. package/models/initiate-braintree-payment-setup-response-class.ts +30 -0
  157. package/models/initiate-payment-setup-request-dto.ts +56 -0
  158. package/models/initiate-payment-setup-response-class.ts +38 -0
  159. package/models/initiate-stripe-payment-setup-request-dto.ts +36 -0
  160. package/models/initiate-stripe-payment-setup-response-class.ts +36 -0
  161. package/models/link-bank-transactions-response-class.ts +31 -0
  162. package/models/list-bank-accounts-response-class.ts +37 -0
  163. package/models/list-bank-transactions-response-class.ts +37 -0
  164. package/models/list-payment-methods-response-class.ts +37 -0
  165. package/models/list-payment-reminders-response-class.ts +37 -0
  166. package/models/list-payments-response-class.ts +37 -0
  167. package/models/list-refunds-response-class.ts +37 -0
  168. package/models/payment-class-without-expand-properties.ts +108 -0
  169. package/models/payment-class.ts +115 -0
  170. package/models/payment-method-class.ts +72 -0
  171. package/models/payment-reminder-class.ts +96 -0
  172. package/models/primary-bank-account-response-class.ts +48 -0
  173. package/models/refund-class-without-expand-properties.ts +109 -0
  174. package/models/refund-class.ts +109 -0
  175. package/models/sepa-direct-dto.ts +30 -0
  176. package/models/symphony-profile-limited-response-dto.ts +48 -0
  177. package/models/transaction-class.ts +60 -0
  178. package/models/unlink-bank-transactions-response-class.ts +31 -0
  179. package/models/unlinked-bank-transaction-response-class.ts +102 -0
  180. package/models/update-bank-account-response-class.ts +31 -0
  181. package/models/validate-pspconfig-request-dto.ts +11 -1
  182. package/package.json +1 -1
@@ -18,26 +18,76 @@ common.ts
18
18
  configuration.ts
19
19
  git_push.sh
20
20
  index.ts
21
+ models/bank-account-class-without-expand-properties.ts
22
+ models/bank-account-class.ts
21
23
  models/bank-transaction-class-without-expand-properties.ts
24
+ models/bank-transaction-class.ts
25
+ models/billing-profile-dto.ts
26
+ models/billing-profile-limited-response-dto.ts
27
+ models/complete-braintree-payment-setup-request-dto.ts
28
+ models/complete-payment-setup-request-dto.ts
29
+ models/complete-payment-setup-response-class.ts
30
+ models/complete-stripe-payment-setup-request-dto.ts
22
31
  models/create-bank-account-request-dto.ts
32
+ models/create-bank-account-response-class.ts
33
+ models/create-payment-method-response-class.ts
23
34
  models/create-payment-reminder-request-dto.ts
35
+ models/create-payment-reminder-response-class.ts
24
36
  models/create-payment-request-dto.ts
37
+ models/create-payment-response-class.ts
38
+ models/create-psp-payment-method-request-dto.ts
25
39
  models/create-refund-request-dto.ts
40
+ models/create-refund-response-class.ts
26
41
  models/create-tenant-bank-account-request-dto.ts
27
42
  models/create-tenant-bank-account-response-class.ts
28
43
  models/deactivate-payment-reminder-request-dto.ts
44
+ models/deactivate-payment-reminder-response-class.ts
45
+ models/deactivated-payment-reminder-class.ts
46
+ models/get-bank-account-response-class.ts
47
+ models/get-bank-transactions-response-class.ts
48
+ models/get-payment-method-response-class.ts
49
+ models/get-payment-reminder-response-class.ts
50
+ models/get-payment-response-class.ts
51
+ models/get-refund-response-class.ts
29
52
  models/get-tenant-bank-account-response-class.ts
53
+ models/import-bank-transactions-response-class.ts
30
54
  models/index.ts
55
+ models/initiate-braintree-payment-setup-request-dto.ts
56
+ models/initiate-braintree-payment-setup-response-class.ts
57
+ models/initiate-payment-setup-request-dto.ts
58
+ models/initiate-payment-setup-response-class.ts
59
+ models/initiate-stripe-payment-setup-request-dto.ts
60
+ models/initiate-stripe-payment-setup-response-class.ts
31
61
  models/inline-response200.ts
32
62
  models/inline-response503.ts
33
63
  models/link-bank-transaction-request-dto-rest.ts
64
+ models/link-bank-transactions-response-class.ts
65
+ models/list-bank-accounts-response-class.ts
66
+ models/list-bank-transactions-response-class.ts
67
+ models/list-payment-methods-response-class.ts
68
+ models/list-payment-reminders-response-class.ts
69
+ models/list-payments-response-class.ts
70
+ models/list-refunds-response-class.ts
34
71
  models/list-tenant-bank-account-response-class.ts
72
+ models/payment-class-without-expand-properties.ts
73
+ models/payment-class.ts
74
+ models/payment-method-class.ts
75
+ models/payment-reminder-class.ts
76
+ models/primary-bank-account-response-class.ts
77
+ models/refund-class-without-expand-properties.ts
78
+ models/refund-class.ts
79
+ models/sepa-direct-dto.ts
35
80
  models/set-primary-bank-account-request-dto-rest.ts
81
+ models/symphony-profile-limited-response-dto.ts
36
82
  models/tenant-bank-account-class-without-expand-properties.ts
37
83
  models/tenant-bank-account-class.ts
84
+ models/transaction-class.ts
38
85
  models/unlink-bank-transaction-request-dto-rest.ts
86
+ models/unlink-bank-transactions-response-class.ts
87
+ models/unlinked-bank-transaction-response-class.ts
39
88
  models/update-bank-account-request-dto-rest.ts
40
89
  models/update-bank-account-request-dto.ts
90
+ models/update-bank-account-response-class.ts
41
91
  models/update-tenant-bank-account-response-class.ts
42
92
  models/update-tenant-bank-account-rest-request-dto.ts
43
93
  models/validate-pspconfig-request-dto.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.31 --save
20
+ npm install @emilgroup/payment-sdk@1.4.1-beta.33 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/payment-sdk@1.4.1-beta.31
24
+ yarn add @emilgroup/payment-sdk@1.4.1-beta.33
25
25
  ```
26
26
 
27
27
  And then you can import `PaymentsApi`.
@@ -23,9 +23,17 @@ import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } fr
23
23
  // @ts-ignore
24
24
  import { CreateBankAccountRequestDto } from '../models';
25
25
  // @ts-ignore
26
+ import { CreateBankAccountResponseClass } from '../models';
27
+ // @ts-ignore
28
+ import { GetBankAccountResponseClass } from '../models';
29
+ // @ts-ignore
30
+ import { ListBankAccountsResponseClass } from '../models';
31
+ // @ts-ignore
26
32
  import { SetPrimaryBankAccountRequestDtoRest } from '../models';
27
33
  // @ts-ignore
28
34
  import { UpdateBankAccountRequestDtoRest } from '../models';
35
+ // @ts-ignore
36
+ import { UpdateBankAccountResponseClass } from '../models';
29
37
  /**
30
38
  * BankAccountsApi - axios parameter creator
31
39
  * @export
@@ -370,7 +378,7 @@ export const BankAccountsApiFp = function(configuration?: Configuration) {
370
378
  * @param {*} [options] Override http request option.
371
379
  * @throws {RequiredError}
372
380
  */
373
- async createBankAccount(createBankAccountRequestDto: CreateBankAccountRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
381
+ async createBankAccount(createBankAccountRequestDto: CreateBankAccountRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateBankAccountResponseClass>> {
374
382
  const localVarAxiosArgs = await localVarAxiosParamCreator.createBankAccount(createBankAccountRequestDto, authorization, options);
375
383
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
376
384
  },
@@ -382,7 +390,7 @@ export const BankAccountsApiFp = function(configuration?: Configuration) {
382
390
  * @param {*} [options] Override http request option.
383
391
  * @throws {RequiredError}
384
392
  */
385
- async deleteBankAccount(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
393
+ async deleteBankAccount(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>> {
386
394
  const localVarAxiosArgs = await localVarAxiosParamCreator.deleteBankAccount(code, authorization, options);
387
395
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
388
396
  },
@@ -395,7 +403,7 @@ export const BankAccountsApiFp = function(configuration?: Configuration) {
395
403
  * @param {*} [options] Override http request option.
396
404
  * @throws {RequiredError}
397
405
  */
398
- async getBankAccount(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
406
+ async getBankAccount(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBankAccountResponseClass>> {
399
407
  const localVarAxiosArgs = await localVarAxiosParamCreator.getBankAccount(code, authorization, expand, options);
400
408
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
401
409
  },
@@ -413,7 +421,7 @@ export const BankAccountsApiFp = function(configuration?: Configuration) {
413
421
  * @param {*} [options] Override http request option.
414
422
  * @throws {RequiredError}
415
423
  */
416
- async listBankAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
424
+ async listBankAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListBankAccountsResponseClass>> {
417
425
  const localVarAxiosArgs = await localVarAxiosParamCreator.listBankAccounts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
418
426
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
419
427
  },
@@ -426,7 +434,7 @@ export const BankAccountsApiFp = function(configuration?: Configuration) {
426
434
  * @param {*} [options] Override http request option.
427
435
  * @throws {RequiredError}
428
436
  */
429
- async setPrimaryBankAccount(code: string, setPrimaryBankAccountRequestDtoRest: SetPrimaryBankAccountRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
437
+ async setPrimaryBankAccount(code: string, setPrimaryBankAccountRequestDtoRest: SetPrimaryBankAccountRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>> {
430
438
  const localVarAxiosArgs = await localVarAxiosParamCreator.setPrimaryBankAccount(code, setPrimaryBankAccountRequestDtoRest, authorization, options);
431
439
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
432
440
  },
@@ -439,7 +447,7 @@ export const BankAccountsApiFp = function(configuration?: Configuration) {
439
447
  * @param {*} [options] Override http request option.
440
448
  * @throws {RequiredError}
441
449
  */
442
- async updateBankAccount(code: string, updateBankAccountRequestDtoRest: UpdateBankAccountRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
450
+ async updateBankAccount(code: string, updateBankAccountRequestDtoRest: UpdateBankAccountRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateBankAccountResponseClass>> {
443
451
  const localVarAxiosArgs = await localVarAxiosParamCreator.updateBankAccount(code, updateBankAccountRequestDtoRest, authorization, options);
444
452
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
445
453
  },
@@ -461,7 +469,7 @@ export const BankAccountsApiFactory = function (configuration?: Configuration, b
461
469
  * @param {*} [options] Override http request option.
462
470
  * @throws {RequiredError}
463
471
  */
464
- createBankAccount(createBankAccountRequestDto: CreateBankAccountRequestDto, authorization?: string, options?: any): AxiosPromise<void> {
472
+ createBankAccount(createBankAccountRequestDto: CreateBankAccountRequestDto, authorization?: string, options?: any): AxiosPromise<CreateBankAccountResponseClass> {
465
473
  return localVarFp.createBankAccount(createBankAccountRequestDto, authorization, options).then((request) => request(axios, basePath));
466
474
  },
467
475
  /**
@@ -472,7 +480,7 @@ export const BankAccountsApiFactory = function (configuration?: Configuration, b
472
480
  * @param {*} [options] Override http request option.
473
481
  * @throws {RequiredError}
474
482
  */
475
- deleteBankAccount(code: string, authorization?: string, options?: any): AxiosPromise<void> {
483
+ deleteBankAccount(code: string, authorization?: string, options?: any): AxiosPromise<object> {
476
484
  return localVarFp.deleteBankAccount(code, authorization, options).then((request) => request(axios, basePath));
477
485
  },
478
486
  /**
@@ -484,7 +492,7 @@ export const BankAccountsApiFactory = function (configuration?: Configuration, b
484
492
  * @param {*} [options] Override http request option.
485
493
  * @throws {RequiredError}
486
494
  */
487
- getBankAccount(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<void> {
495
+ getBankAccount(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<GetBankAccountResponseClass> {
488
496
  return localVarFp.getBankAccount(code, authorization, expand, options).then((request) => request(axios, basePath));
489
497
  },
490
498
  /**
@@ -501,7 +509,7 @@ export const BankAccountsApiFactory = function (configuration?: Configuration, b
501
509
  * @param {*} [options] Override http request option.
502
510
  * @throws {RequiredError}
503
511
  */
504
- listBankAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<void> {
512
+ listBankAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListBankAccountsResponseClass> {
505
513
  return localVarFp.listBankAccounts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
506
514
  },
507
515
  /**
@@ -513,7 +521,7 @@ export const BankAccountsApiFactory = function (configuration?: Configuration, b
513
521
  * @param {*} [options] Override http request option.
514
522
  * @throws {RequiredError}
515
523
  */
516
- setPrimaryBankAccount(code: string, setPrimaryBankAccountRequestDtoRest: SetPrimaryBankAccountRequestDtoRest, authorization?: string, options?: any): AxiosPromise<void> {
524
+ setPrimaryBankAccount(code: string, setPrimaryBankAccountRequestDtoRest: SetPrimaryBankAccountRequestDtoRest, authorization?: string, options?: any): AxiosPromise<object> {
517
525
  return localVarFp.setPrimaryBankAccount(code, setPrimaryBankAccountRequestDtoRest, authorization, options).then((request) => request(axios, basePath));
518
526
  },
519
527
  /**
@@ -525,7 +533,7 @@ export const BankAccountsApiFactory = function (configuration?: Configuration, b
525
533
  * @param {*} [options] Override http request option.
526
534
  * @throws {RequiredError}
527
535
  */
528
- updateBankAccount(code: string, updateBankAccountRequestDtoRest: UpdateBankAccountRequestDtoRest, authorization?: string, options?: any): AxiosPromise<void> {
536
+ updateBankAccount(code: string, updateBankAccountRequestDtoRest: UpdateBankAccountRequestDtoRest, authorization?: string, options?: any): AxiosPromise<UpdateBankAccountResponseClass> {
529
537
  return localVarFp.updateBankAccount(code, updateBankAccountRequestDtoRest, authorization, options).then((request) => request(axios, basePath));
530
538
  },
531
539
  };
@@ -21,9 +21,19 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
21
21
  // @ts-ignore
22
22
  import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
23
23
  // @ts-ignore
24
+ import { GetBankTransactionsResponseClass } from '../models';
25
+ // @ts-ignore
26
+ import { ImportBankTransactionsResponseClass } from '../models';
27
+ // @ts-ignore
24
28
  import { LinkBankTransactionRequestDtoRest } from '../models';
25
29
  // @ts-ignore
30
+ import { LinkBankTransactionsResponseClass } from '../models';
31
+ // @ts-ignore
32
+ import { ListBankTransactionsResponseClass } from '../models';
33
+ // @ts-ignore
26
34
  import { UnlinkBankTransactionRequestDtoRest } from '../models';
35
+ // @ts-ignore
36
+ import { UnlinkBankTransactionsResponseClass } from '../models';
27
37
  /**
28
38
  * BankTransactionApi - axios parameter creator
29
39
  * @export
@@ -329,7 +339,7 @@ export const BankTransactionApiFp = function(configuration?: Configuration) {
329
339
  * @param {*} [options] Override http request option.
330
340
  * @throws {RequiredError}
331
341
  */
332
- async getBankTransaction(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
342
+ async getBankTransaction(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBankTransactionsResponseClass>> {
333
343
  const localVarAxiosArgs = await localVarAxiosParamCreator.getBankTransaction(code, authorization, expand, options);
334
344
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
335
345
  },
@@ -341,7 +351,7 @@ export const BankTransactionApiFp = function(configuration?: Configuration) {
341
351
  * @param {*} [options] Override http request option.
342
352
  * @throws {RequiredError}
343
353
  */
344
- async importBankTransactions(file: any, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
354
+ async importBankTransactions(file: any, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ImportBankTransactionsResponseClass>> {
345
355
  const localVarAxiosArgs = await localVarAxiosParamCreator.importBankTransactions(file, authorization, options);
346
356
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
347
357
  },
@@ -354,7 +364,7 @@ export const BankTransactionApiFp = function(configuration?: Configuration) {
354
364
  * @param {*} [options] Override http request option.
355
365
  * @throws {RequiredError}
356
366
  */
357
- async linkBankTransaction(code: string, linkBankTransactionRequestDtoRest: LinkBankTransactionRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
367
+ async linkBankTransaction(code: string, linkBankTransactionRequestDtoRest: LinkBankTransactionRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LinkBankTransactionsResponseClass>> {
358
368
  const localVarAxiosArgs = await localVarAxiosParamCreator.linkBankTransaction(code, linkBankTransactionRequestDtoRest, authorization, options);
359
369
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
360
370
  },
@@ -372,7 +382,7 @@ export const BankTransactionApiFp = function(configuration?: Configuration) {
372
382
  * @param {*} [options] Override http request option.
373
383
  * @throws {RequiredError}
374
384
  */
375
- async listBankTransactions(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
385
+ async listBankTransactions(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListBankTransactionsResponseClass>> {
376
386
  const localVarAxiosArgs = await localVarAxiosParamCreator.listBankTransactions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
377
387
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
378
388
  },
@@ -385,7 +395,7 @@ export const BankTransactionApiFp = function(configuration?: Configuration) {
385
395
  * @param {*} [options] Override http request option.
386
396
  * @throws {RequiredError}
387
397
  */
388
- async unlinkBankTransaction(code: string, unlinkBankTransactionRequestDtoRest: UnlinkBankTransactionRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
398
+ async unlinkBankTransaction(code: string, unlinkBankTransactionRequestDtoRest: UnlinkBankTransactionRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UnlinkBankTransactionsResponseClass>> {
389
399
  const localVarAxiosArgs = await localVarAxiosParamCreator.unlinkBankTransaction(code, unlinkBankTransactionRequestDtoRest, authorization, options);
390
400
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
391
401
  },
@@ -408,7 +418,7 @@ export const BankTransactionApiFactory = function (configuration?: Configuration
408
418
  * @param {*} [options] Override http request option.
409
419
  * @throws {RequiredError}
410
420
  */
411
- getBankTransaction(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<void> {
421
+ getBankTransaction(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<GetBankTransactionsResponseClass> {
412
422
  return localVarFp.getBankTransaction(code, authorization, expand, options).then((request) => request(axios, basePath));
413
423
  },
414
424
  /**
@@ -419,7 +429,7 @@ export const BankTransactionApiFactory = function (configuration?: Configuration
419
429
  * @param {*} [options] Override http request option.
420
430
  * @throws {RequiredError}
421
431
  */
422
- importBankTransactions(file: any, authorization?: string, options?: any): AxiosPromise<void> {
432
+ importBankTransactions(file: any, authorization?: string, options?: any): AxiosPromise<ImportBankTransactionsResponseClass> {
423
433
  return localVarFp.importBankTransactions(file, authorization, options).then((request) => request(axios, basePath));
424
434
  },
425
435
  /**
@@ -431,7 +441,7 @@ export const BankTransactionApiFactory = function (configuration?: Configuration
431
441
  * @param {*} [options] Override http request option.
432
442
  * @throws {RequiredError}
433
443
  */
434
- linkBankTransaction(code: string, linkBankTransactionRequestDtoRest: LinkBankTransactionRequestDtoRest, authorization?: string, options?: any): AxiosPromise<void> {
444
+ linkBankTransaction(code: string, linkBankTransactionRequestDtoRest: LinkBankTransactionRequestDtoRest, authorization?: string, options?: any): AxiosPromise<LinkBankTransactionsResponseClass> {
435
445
  return localVarFp.linkBankTransaction(code, linkBankTransactionRequestDtoRest, authorization, options).then((request) => request(axios, basePath));
436
446
  },
437
447
  /**
@@ -448,7 +458,7 @@ export const BankTransactionApiFactory = function (configuration?: Configuration
448
458
  * @param {*} [options] Override http request option.
449
459
  * @throws {RequiredError}
450
460
  */
451
- listBankTransactions(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<void> {
461
+ listBankTransactions(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListBankTransactionsResponseClass> {
452
462
  return localVarFp.listBankTransactions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
453
463
  },
454
464
  /**
@@ -460,7 +470,7 @@ export const BankTransactionApiFactory = function (configuration?: Configuration
460
470
  * @param {*} [options] Override http request option.
461
471
  * @throws {RequiredError}
462
472
  */
463
- unlinkBankTransaction(code: string, unlinkBankTransactionRequestDtoRest: UnlinkBankTransactionRequestDtoRest, authorization?: string, options?: any): AxiosPromise<void> {
473
+ unlinkBankTransaction(code: string, unlinkBankTransactionRequestDtoRest: UnlinkBankTransactionRequestDtoRest, authorization?: string, options?: any): AxiosPromise<UnlinkBankTransactionsResponseClass> {
464
474
  return localVarFp.unlinkBankTransaction(code, unlinkBankTransactionRequestDtoRest, authorization, options).then((request) => request(axios, basePath));
465
475
  },
466
476
  };
@@ -20,6 +20,14 @@ import { Configuration } from '../configuration';
20
20
  import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
21
21
  // @ts-ignore
22
22
  import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
23
+ // @ts-ignore
24
+ import { CreatePaymentMethodResponseClass } from '../models';
25
+ // @ts-ignore
26
+ import { CreatePspPaymentMethodRequestDto } from '../models';
27
+ // @ts-ignore
28
+ import { GetPaymentMethodResponseClass } from '../models';
29
+ // @ts-ignore
30
+ import { ListPaymentMethodsResponseClass } from '../models';
23
31
  /**
24
32
  * PaymentMethodsApi - axios parameter creator
25
33
  * @export
@@ -29,14 +37,14 @@ export const PaymentMethodsApiAxiosParamCreator = function (configuration?: Conf
29
37
  /**
30
38
  * This will create payment method in the database as well as in the PSP. The newly created payment method will be set as default payment method will be used by the customer to pay or receive a refund.
31
39
  * @summary Create the payment method
32
- * @param {object} body
40
+ * @param {CreatePspPaymentMethodRequestDto} createPspPaymentMethodRequestDto
33
41
  * @param {string} [authorization] Bearer Token
34
42
  * @param {*} [options] Override http request option.
35
43
  * @throws {RequiredError}
36
44
  */
37
- createPaymentMethod: async (body: object, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
38
- // verify required parameter 'body' is not null or undefined
39
- assertParamExists('createPaymentMethod', 'body', body)
45
+ createPaymentMethod: async (createPspPaymentMethodRequestDto: CreatePspPaymentMethodRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
46
+ // verify required parameter 'createPspPaymentMethodRequestDto' is not null or undefined
47
+ assertParamExists('createPaymentMethod', 'createPspPaymentMethodRequestDto', createPspPaymentMethodRequestDto)
40
48
  const localVarPath = `/paymentservice/v1/payment-methods`;
41
49
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
42
50
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -66,7 +74,7 @@ export const PaymentMethodsApiAxiosParamCreator = function (configuration?: Conf
66
74
  setSearchParams(localVarUrlObj, localVarQueryParameter);
67
75
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
68
76
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
69
- localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
77
+ localVarRequestOptions.data = serializeDataIfNeeded(createPspPaymentMethodRequestDto, localVarRequestOptions, configuration)
70
78
 
71
79
  return {
72
80
  url: toPathString(localVarUrlObj),
@@ -212,13 +220,13 @@ export const PaymentMethodsApiFp = function(configuration?: Configuration) {
212
220
  /**
213
221
  * This will create payment method in the database as well as in the PSP. The newly created payment method will be set as default payment method will be used by the customer to pay or receive a refund.
214
222
  * @summary Create the payment method
215
- * @param {object} body
223
+ * @param {CreatePspPaymentMethodRequestDto} createPspPaymentMethodRequestDto
216
224
  * @param {string} [authorization] Bearer Token
217
225
  * @param {*} [options] Override http request option.
218
226
  * @throws {RequiredError}
219
227
  */
220
- async createPaymentMethod(body: object, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
221
- const localVarAxiosArgs = await localVarAxiosParamCreator.createPaymentMethod(body, authorization, options);
228
+ async createPaymentMethod(createPspPaymentMethodRequestDto: CreatePspPaymentMethodRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePaymentMethodResponseClass>> {
229
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createPaymentMethod(createPspPaymentMethodRequestDto, authorization, options);
222
230
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
223
231
  },
224
232
  /**
@@ -230,7 +238,7 @@ export const PaymentMethodsApiFp = function(configuration?: Configuration) {
230
238
  * @param {*} [options] Override http request option.
231
239
  * @throws {RequiredError}
232
240
  */
233
- async getPaymentMethod(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
241
+ async getPaymentMethod(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPaymentMethodResponseClass>> {
234
242
  const localVarAxiosArgs = await localVarAxiosParamCreator.getPaymentMethod(code, authorization, expand, options);
235
243
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
236
244
  },
@@ -248,7 +256,7 @@ export const PaymentMethodsApiFp = function(configuration?: Configuration) {
248
256
  * @param {*} [options] Override http request option.
249
257
  * @throws {RequiredError}
250
258
  */
251
- async listPaymentMethods(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
259
+ async listPaymentMethods(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPaymentMethodsResponseClass>> {
252
260
  const localVarAxiosArgs = await localVarAxiosParamCreator.listPaymentMethods(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
253
261
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
254
262
  },
@@ -265,13 +273,13 @@ export const PaymentMethodsApiFactory = function (configuration?: Configuration,
265
273
  /**
266
274
  * This will create payment method in the database as well as in the PSP. The newly created payment method will be set as default payment method will be used by the customer to pay or receive a refund.
267
275
  * @summary Create the payment method
268
- * @param {object} body
276
+ * @param {CreatePspPaymentMethodRequestDto} createPspPaymentMethodRequestDto
269
277
  * @param {string} [authorization] Bearer Token
270
278
  * @param {*} [options] Override http request option.
271
279
  * @throws {RequiredError}
272
280
  */
273
- createPaymentMethod(body: object, authorization?: string, options?: any): AxiosPromise<void> {
274
- return localVarFp.createPaymentMethod(body, authorization, options).then((request) => request(axios, basePath));
281
+ createPaymentMethod(createPspPaymentMethodRequestDto: CreatePspPaymentMethodRequestDto, authorization?: string, options?: any): AxiosPromise<CreatePaymentMethodResponseClass> {
282
+ return localVarFp.createPaymentMethod(createPspPaymentMethodRequestDto, authorization, options).then((request) => request(axios, basePath));
275
283
  },
276
284
  /**
277
285
  * Retrieves the details of the payment method that was previously created. Supply the unique payment method code that was returned when you created it and Emil Api will return the corresponding payment method information.
@@ -282,7 +290,7 @@ export const PaymentMethodsApiFactory = function (configuration?: Configuration,
282
290
  * @param {*} [options] Override http request option.
283
291
  * @throws {RequiredError}
284
292
  */
285
- getPaymentMethod(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<void> {
293
+ getPaymentMethod(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<GetPaymentMethodResponseClass> {
286
294
  return localVarFp.getPaymentMethod(code, authorization, expand, options).then((request) => request(axios, basePath));
287
295
  },
288
296
  /**
@@ -299,7 +307,7 @@ export const PaymentMethodsApiFactory = function (configuration?: Configuration,
299
307
  * @param {*} [options] Override http request option.
300
308
  * @throws {RequiredError}
301
309
  */
302
- listPaymentMethods(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<void> {
310
+ listPaymentMethods(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListPaymentMethodsResponseClass> {
303
311
  return localVarFp.listPaymentMethods(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
304
312
  },
305
313
  };
@@ -313,10 +321,10 @@ export const PaymentMethodsApiFactory = function (configuration?: Configuration,
313
321
  export interface PaymentMethodsApiCreatePaymentMethodRequest {
314
322
  /**
315
323
  *
316
- * @type {object}
324
+ * @type {CreatePspPaymentMethodRequestDto}
317
325
  * @memberof PaymentMethodsApiCreatePaymentMethod
318
326
  */
319
- readonly body: object
327
+ readonly createPspPaymentMethodRequestDto: CreatePspPaymentMethodRequestDto
320
328
 
321
329
  /**
322
330
  * Bearer Token
@@ -433,7 +441,7 @@ export class PaymentMethodsApi extends BaseAPI {
433
441
  * @memberof PaymentMethodsApi
434
442
  */
435
443
  public createPaymentMethod(requestParameters: PaymentMethodsApiCreatePaymentMethodRequest, options?: AxiosRequestConfig) {
436
- return PaymentMethodsApiFp(this.configuration).createPaymentMethod(requestParameters.body, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
444
+ return PaymentMethodsApiFp(this.configuration).createPaymentMethod(requestParameters.createPspPaymentMethodRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
437
445
  }
438
446
 
439
447
  /**
@@ -23,7 +23,15 @@ import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } fr
23
23
  // @ts-ignore
24
24
  import { CreatePaymentReminderRequestDto } from '../models';
25
25
  // @ts-ignore
26
+ import { CreatePaymentReminderResponseClass } from '../models';
27
+ // @ts-ignore
26
28
  import { DeactivatePaymentReminderRequestDto } from '../models';
29
+ // @ts-ignore
30
+ import { DeactivatePaymentReminderResponseClass } from '../models';
31
+ // @ts-ignore
32
+ import { GetPaymentReminderResponseClass } from '../models';
33
+ // @ts-ignore
34
+ import { ListPaymentRemindersResponseClass } from '../models';
27
35
  /**
28
36
  * PaymentRemindersApi - axios parameter creator
29
37
  * @export
@@ -272,7 +280,7 @@ export const PaymentRemindersApiFp = function(configuration?: Configuration) {
272
280
  * @param {*} [options] Override http request option.
273
281
  * @throws {RequiredError}
274
282
  */
275
- async createPaymentReminder(createPaymentReminderRequestDto: CreatePaymentReminderRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
283
+ async createPaymentReminder(createPaymentReminderRequestDto: CreatePaymentReminderRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePaymentReminderResponseClass>> {
276
284
  const localVarAxiosArgs = await localVarAxiosParamCreator.createPaymentReminder(createPaymentReminderRequestDto, authorization, options);
277
285
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
278
286
  },
@@ -285,7 +293,7 @@ export const PaymentRemindersApiFp = function(configuration?: Configuration) {
285
293
  * @param {*} [options] Override http request option.
286
294
  * @throws {RequiredError}
287
295
  */
288
- async deactivatePaymentReminder(code: string, deactivatePaymentReminderRequestDto: DeactivatePaymentReminderRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
296
+ async deactivatePaymentReminder(code: string, deactivatePaymentReminderRequestDto: DeactivatePaymentReminderRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeactivatePaymentReminderResponseClass>> {
289
297
  const localVarAxiosArgs = await localVarAxiosParamCreator.deactivatePaymentReminder(code, deactivatePaymentReminderRequestDto, authorization, options);
290
298
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
291
299
  },
@@ -298,7 +306,7 @@ export const PaymentRemindersApiFp = function(configuration?: Configuration) {
298
306
  * @param {*} [options] Override http request option.
299
307
  * @throws {RequiredError}
300
308
  */
301
- async getPolicy(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
309
+ async getPolicy(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPaymentReminderResponseClass>> {
302
310
  const localVarAxiosArgs = await localVarAxiosParamCreator.getPolicy(code, authorization, expand, options);
303
311
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
304
312
  },
@@ -316,7 +324,7 @@ export const PaymentRemindersApiFp = function(configuration?: Configuration) {
316
324
  * @param {*} [options] Override http request option.
317
325
  * @throws {RequiredError}
318
326
  */
319
- async listPaymentReminders(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
327
+ async listPaymentReminders(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPaymentRemindersResponseClass>> {
320
328
  const localVarAxiosArgs = await localVarAxiosParamCreator.listPaymentReminders(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
321
329
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
322
330
  },
@@ -338,7 +346,7 @@ export const PaymentRemindersApiFactory = function (configuration?: Configuratio
338
346
  * @param {*} [options] Override http request option.
339
347
  * @throws {RequiredError}
340
348
  */
341
- createPaymentReminder(createPaymentReminderRequestDto: CreatePaymentReminderRequestDto, authorization?: string, options?: any): AxiosPromise<void> {
349
+ createPaymentReminder(createPaymentReminderRequestDto: CreatePaymentReminderRequestDto, authorization?: string, options?: any): AxiosPromise<CreatePaymentReminderResponseClass> {
342
350
  return localVarFp.createPaymentReminder(createPaymentReminderRequestDto, authorization, options).then((request) => request(axios, basePath));
343
351
  },
344
352
  /**
@@ -350,7 +358,7 @@ export const PaymentRemindersApiFactory = function (configuration?: Configuratio
350
358
  * @param {*} [options] Override http request option.
351
359
  * @throws {RequiredError}
352
360
  */
353
- deactivatePaymentReminder(code: string, deactivatePaymentReminderRequestDto: DeactivatePaymentReminderRequestDto, authorization?: string, options?: any): AxiosPromise<void> {
361
+ deactivatePaymentReminder(code: string, deactivatePaymentReminderRequestDto: DeactivatePaymentReminderRequestDto, authorization?: string, options?: any): AxiosPromise<DeactivatePaymentReminderResponseClass> {
354
362
  return localVarFp.deactivatePaymentReminder(code, deactivatePaymentReminderRequestDto, authorization, options).then((request) => request(axios, basePath));
355
363
  },
356
364
  /**
@@ -362,7 +370,7 @@ export const PaymentRemindersApiFactory = function (configuration?: Configuratio
362
370
  * @param {*} [options] Override http request option.
363
371
  * @throws {RequiredError}
364
372
  */
365
- getPolicy(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<void> {
373
+ getPolicy(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<GetPaymentReminderResponseClass> {
366
374
  return localVarFp.getPolicy(code, authorization, expand, options).then((request) => request(axios, basePath));
367
375
  },
368
376
  /**
@@ -379,7 +387,7 @@ export const PaymentRemindersApiFactory = function (configuration?: Configuratio
379
387
  * @param {*} [options] Override http request option.
380
388
  * @throws {RequiredError}
381
389
  */
382
- listPaymentReminders(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<void> {
390
+ listPaymentReminders(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListPaymentRemindersResponseClass> {
383
391
  return localVarFp.listPaymentReminders(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
384
392
  },
385
393
  };