@emilgroup/payment-sdk 1.4.1-beta.3 → 1.4.1-beta.5

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 (140) hide show
  1. package/.openapi-generator/FILES +0 -35
  2. package/README.md +2 -2
  3. package/api/bank-accounts-api.ts +16 -20
  4. package/api/bank-transaction-api.ts +2 -204
  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.ts +0 -2
  10. package/dist/api/bank-accounts-api.d.ts +12 -14
  11. package/dist/api/bank-accounts-api.js +12 -12
  12. package/dist/api/bank-transaction-api.d.ts +3 -113
  13. package/dist/api/bank-transaction-api.js +0 -184
  14. package/dist/api/payment-methods-api.d.ts +27 -31
  15. package/dist/api/payment-methods-api.js +28 -24
  16. package/dist/api/payment-reminders-api.d.ts +12 -14
  17. package/dist/api/payment-setup-api.d.ts +18 -22
  18. package/dist/api/payment-setup-api.js +24 -24
  19. package/dist/api/payments-api.d.ts +21 -24
  20. package/dist/api/payments-api.js +16 -12
  21. package/dist/api.d.ts +0 -1
  22. package/dist/api.js +0 -1
  23. package/dist/models/bank-transaction-response-class.d.ts +6 -0
  24. package/dist/models/create-payment-request-dto.d.ts +3 -3
  25. package/dist/models/get-request-dto.d.ts +1 -1
  26. package/dist/models/index.d.ts +0 -34
  27. package/dist/models/index.js +0 -34
  28. package/dist/models/validate-pspconfig-request-dto.d.ts +1 -8
  29. package/dist/models/validate-pspconfig-request-dto.js +0 -7
  30. package/models/bank-transaction-response-class.ts +6 -0
  31. package/models/create-payment-request-dto.ts +3 -3
  32. package/models/get-request-dto.ts +1 -1
  33. package/models/index.ts +0 -34
  34. package/models/validate-pspconfig-request-dto.ts +1 -11
  35. package/package.json +1 -1
  36. package/api/refunds-api.ts +0 -474
  37. package/dist/api/refunds-api.d.ts +0 -269
  38. package/dist/api/refunds-api.js +0 -447
  39. package/dist/models/bank-account-class.d.ts +0 -54
  40. package/dist/models/bank-account-class.js +0 -15
  41. package/dist/models/billing-profile-dto.d.ts +0 -38
  42. package/dist/models/billing-profile-dto.js +0 -15
  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/create-refund-request-dto.d.ts +0 -24
  62. package/dist/models/create-refund-request-dto.js +0 -15
  63. package/dist/models/create-refund-response-class.d.ts +0 -25
  64. package/dist/models/create-refund-response-class.js +0 -15
  65. package/dist/models/deactivate-payment-reminder-response-class.d.ts +0 -25
  66. package/dist/models/deactivate-payment-reminder-response-class.js +0 -15
  67. package/dist/models/get-payment-method-response-class.d.ts +0 -25
  68. package/dist/models/get-payment-method-response-class.js +0 -15
  69. package/dist/models/get-payment-response-class.d.ts +0 -25
  70. package/dist/models/get-payment-response-class.js +0 -15
  71. package/dist/models/get-refund-response-class.d.ts +0 -25
  72. package/dist/models/get-refund-response-class.js +0 -15
  73. package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +0 -30
  74. package/dist/models/initiate-braintree-payment-setup-request-dto.js +0 -15
  75. package/dist/models/initiate-braintree-payment-setup-response-class.d.ts +0 -24
  76. package/dist/models/initiate-braintree-payment-setup-response-class.js +0 -15
  77. package/dist/models/initiate-payment-setup-request-dto.d.ts +0 -44
  78. package/dist/models/initiate-payment-setup-request-dto.js +0 -15
  79. package/dist/models/initiate-payment-setup-response-class.d.ts +0 -32
  80. package/dist/models/initiate-payment-setup-response-class.js +0 -15
  81. package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +0 -30
  82. package/dist/models/initiate-stripe-payment-setup-request-dto.js +0 -15
  83. package/dist/models/initiate-stripe-payment-setup-response-class.d.ts +0 -30
  84. package/dist/models/initiate-stripe-payment-setup-response-class.js +0 -15
  85. package/dist/models/list-bank-accounts-response-class.d.ts +0 -31
  86. package/dist/models/list-bank-accounts-response-class.js +0 -15
  87. package/dist/models/list-payment-methods-response-class.d.ts +0 -31
  88. package/dist/models/list-payment-methods-response-class.js +0 -15
  89. package/dist/models/list-payment-reminders-response-class.d.ts +0 -31
  90. package/dist/models/list-payment-reminders-response-class.js +0 -15
  91. package/dist/models/list-payments-response-class.d.ts +0 -31
  92. package/dist/models/list-payments-response-class.js +0 -15
  93. package/dist/models/list-refunds-response-class.d.ts +0 -31
  94. package/dist/models/list-refunds-response-class.js +0 -15
  95. package/dist/models/payment-class.d.ts +0 -103
  96. package/dist/models/payment-class.js +0 -15
  97. package/dist/models/payment-method-class.d.ts +0 -66
  98. package/dist/models/payment-method-class.js +0 -15
  99. package/dist/models/payment-reminder-class.d.ts +0 -112
  100. package/dist/models/payment-reminder-class.js +0 -36
  101. package/dist/models/refund-class.d.ts +0 -104
  102. package/dist/models/refund-class.js +0 -28
  103. package/dist/models/sepa-direct-dto.d.ts +0 -24
  104. package/dist/models/sepa-direct-dto.js +0 -15
  105. package/dist/models/symphony-profile-limited-response-dto.d.ts +0 -42
  106. package/dist/models/symphony-profile-limited-response-dto.js +0 -15
  107. package/models/bank-account-class.ts +0 -60
  108. package/models/billing-profile-dto.ts +0 -44
  109. package/models/billing-profile-limited-response-dto.ts +0 -60
  110. package/models/complete-braintree-payment-setup-request-dto.ts +0 -54
  111. package/models/complete-payment-setup-request-dto.ts +0 -38
  112. package/models/complete-payment-setup-response-class.ts +0 -31
  113. package/models/complete-stripe-payment-setup-request-dto.ts +0 -66
  114. package/models/create-bank-account-request-dto.ts +0 -36
  115. package/models/create-payment-method-response-class.ts +0 -31
  116. package/models/create-payment-response-class.ts +0 -31
  117. package/models/create-psp-payment-method-request-dto.ts +0 -70
  118. package/models/create-refund-request-dto.ts +0 -30
  119. package/models/create-refund-response-class.ts +0 -31
  120. package/models/deactivate-payment-reminder-response-class.ts +0 -31
  121. package/models/get-payment-method-response-class.ts +0 -31
  122. package/models/get-payment-response-class.ts +0 -31
  123. package/models/get-refund-response-class.ts +0 -31
  124. package/models/initiate-braintree-payment-setup-request-dto.ts +0 -36
  125. package/models/initiate-braintree-payment-setup-response-class.ts +0 -30
  126. package/models/initiate-payment-setup-request-dto.ts +0 -50
  127. package/models/initiate-payment-setup-response-class.ts +0 -38
  128. package/models/initiate-stripe-payment-setup-request-dto.ts +0 -36
  129. package/models/initiate-stripe-payment-setup-response-class.ts +0 -36
  130. package/models/list-bank-accounts-response-class.ts +0 -37
  131. package/models/list-payment-methods-response-class.ts +0 -37
  132. package/models/list-payment-reminders-response-class.ts +0 -37
  133. package/models/list-payments-response-class.ts +0 -37
  134. package/models/list-refunds-response-class.ts +0 -37
  135. package/models/payment-class.ts +0 -109
  136. package/models/payment-method-class.ts +0 -72
  137. package/models/payment-reminder-class.ts +0 -122
  138. package/models/refund-class.ts +0 -114
  139. package/models/sepa-direct-dto.ts +0 -30
  140. package/models/symphony-profile-limited-response-dto.ts +0 -48
@@ -12,10 +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 { CreatePaymentMethodResponseClass } from '../models';
16
- import { CreatePspPaymentMethodRequestDto } from '../models';
17
- import { GetPaymentMethodResponseClass } from '../models';
18
- import { ListPaymentMethodsResponseClass } from '../models';
19
15
  /**
20
16
  * PaymentMethodsApi - axios parameter creator
21
17
  * @export
@@ -24,12 +20,12 @@ export declare const PaymentMethodsApiAxiosParamCreator: (configuration?: Config
24
20
  /**
25
21
  * 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.
26
22
  * @summary Create the payment-method
27
- * @param {CreatePspPaymentMethodRequestDto} createPspPaymentMethodRequestDto
23
+ * @param {object} body
28
24
  * @param {string} [authorization] Bearer Token
29
25
  * @param {*} [options] Override http request option.
30
26
  * @throws {RequiredError}
31
27
  */
32
- createPaymentMethod: (createPspPaymentMethodRequestDto: CreatePspPaymentMethodRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
28
+ createPaymentMethod: (body: object, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
33
29
  /**
34
30
  * Permanently deletes a payment method. Supply the unique payment method id that was returned when you created the payment method and this will delete it. It will also delete it on the corresponding payment service provider.
35
31
  * @summary Delete a payment method
@@ -43,13 +39,13 @@ export declare const PaymentMethodsApiAxiosParamCreator: (configuration?: Config
43
39
  * Retrieves the details of a payment method that was previously created. Supply the unique payment method code that was returned when you created the payment method and Emil Api will return the corresponding payment method information.
44
40
  * @summary Retrieve a payment method
45
41
  * @param {string} code Unique identifier for the object.
42
+ * @param {string} expand Fields to expand response by
43
+ * @param {string} expand2 Fields to expand response by
46
44
  * @param {string} [authorization] Bearer Token
47
- * @param {string} [expand] Fields to expand response by
48
- * @param {string} [expand2] Fields to expand response by
49
45
  * @param {*} [options] Override http request option.
50
46
  * @throws {RequiredError}
51
47
  */
52
- getPaymentMethod: (code: string, authorization?: string, expand?: string, expand2?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
48
+ getPaymentMethod: (code: string, expand: string, expand2: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
53
49
  /**
54
50
  * Returns a list of payment methods you’ve previously created. The payment methods are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.
55
51
  * @summary List payment methods
@@ -74,12 +70,12 @@ export declare const PaymentMethodsApiFp: (configuration?: Configuration) => {
74
70
  /**
75
71
  * 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.
76
72
  * @summary Create the payment-method
77
- * @param {CreatePspPaymentMethodRequestDto} createPspPaymentMethodRequestDto
73
+ * @param {object} body
78
74
  * @param {string} [authorization] Bearer Token
79
75
  * @param {*} [options] Override http request option.
80
76
  * @throws {RequiredError}
81
77
  */
82
- createPaymentMethod(createPspPaymentMethodRequestDto: CreatePspPaymentMethodRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePaymentMethodResponseClass>>;
78
+ createPaymentMethod(body: object, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
83
79
  /**
84
80
  * Permanently deletes a payment method. Supply the unique payment method id that was returned when you created the payment method and this will delete it. It will also delete it on the corresponding payment service provider.
85
81
  * @summary Delete a payment method
@@ -93,13 +89,13 @@ export declare const PaymentMethodsApiFp: (configuration?: Configuration) => {
93
89
  * Retrieves the details of a payment method that was previously created. Supply the unique payment method code that was returned when you created the payment method and Emil Api will return the corresponding payment method information.
94
90
  * @summary Retrieve a payment method
95
91
  * @param {string} code Unique identifier for the object.
92
+ * @param {string} expand Fields to expand response by
93
+ * @param {string} expand2 Fields to expand response by
96
94
  * @param {string} [authorization] Bearer Token
97
- * @param {string} [expand] Fields to expand response by
98
- * @param {string} [expand2] Fields to expand response by
99
95
  * @param {*} [options] Override http request option.
100
96
  * @throws {RequiredError}
101
97
  */
102
- getPaymentMethod(code: string, authorization?: string, expand?: string, expand2?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPaymentMethodResponseClass>>;
98
+ getPaymentMethod(code: string, expand: string, expand2: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
103
99
  /**
104
100
  * Returns a list of payment methods you’ve previously created. The payment methods are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.
105
101
  * @summary List payment methods
@@ -114,7 +110,7 @@ export declare const PaymentMethodsApiFp: (configuration?: Configuration) => {
114
110
  * @param {*} [options] Override http request option.
115
111
  * @throws {RequiredError}
116
112
  */
117
- listPaymentMethods(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPaymentMethodsResponseClass>>;
113
+ listPaymentMethods(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>>;
118
114
  };
119
115
  /**
120
116
  * PaymentMethodsApi - factory interface
@@ -124,12 +120,12 @@ export declare const PaymentMethodsApiFactory: (configuration?: Configuration, b
124
120
  /**
125
121
  * 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.
126
122
  * @summary Create the payment-method
127
- * @param {CreatePspPaymentMethodRequestDto} createPspPaymentMethodRequestDto
123
+ * @param {object} body
128
124
  * @param {string} [authorization] Bearer Token
129
125
  * @param {*} [options] Override http request option.
130
126
  * @throws {RequiredError}
131
127
  */
132
- createPaymentMethod(createPspPaymentMethodRequestDto: CreatePspPaymentMethodRequestDto, authorization?: string, options?: any): AxiosPromise<CreatePaymentMethodResponseClass>;
128
+ createPaymentMethod(body: object, authorization?: string, options?: any): AxiosPromise<void>;
133
129
  /**
134
130
  * Permanently deletes a payment method. Supply the unique payment method id that was returned when you created the payment method and this will delete it. It will also delete it on the corresponding payment service provider.
135
131
  * @summary Delete a payment method
@@ -143,13 +139,13 @@ export declare const PaymentMethodsApiFactory: (configuration?: Configuration, b
143
139
  * Retrieves the details of a payment method that was previously created. Supply the unique payment method code that was returned when you created the payment method and Emil Api will return the corresponding payment method information.
144
140
  * @summary Retrieve a payment method
145
141
  * @param {string} code Unique identifier for the object.
142
+ * @param {string} expand Fields to expand response by
143
+ * @param {string} expand2 Fields to expand response by
146
144
  * @param {string} [authorization] Bearer Token
147
- * @param {string} [expand] Fields to expand response by
148
- * @param {string} [expand2] Fields to expand response by
149
145
  * @param {*} [options] Override http request option.
150
146
  * @throws {RequiredError}
151
147
  */
152
- getPaymentMethod(code: string, authorization?: string, expand?: string, expand2?: string, options?: any): AxiosPromise<GetPaymentMethodResponseClass>;
148
+ getPaymentMethod(code: string, expand: string, expand2: string, authorization?: string, options?: any): AxiosPromise<void>;
153
149
  /**
154
150
  * Returns a list of payment methods you’ve previously created. The payment methods are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.
155
151
  * @summary List payment methods
@@ -164,7 +160,7 @@ export declare const PaymentMethodsApiFactory: (configuration?: Configuration, b
164
160
  * @param {*} [options] Override http request option.
165
161
  * @throws {RequiredError}
166
162
  */
167
- listPaymentMethods(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<ListPaymentMethodsResponseClass>;
163
+ listPaymentMethods(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<void>;
168
164
  };
169
165
  /**
170
166
  * Request parameters for createPaymentMethod operation in PaymentMethodsApi.
@@ -174,10 +170,10 @@ export declare const PaymentMethodsApiFactory: (configuration?: Configuration, b
174
170
  export interface PaymentMethodsApiCreatePaymentMethodRequest {
175
171
  /**
176
172
  *
177
- * @type {CreatePspPaymentMethodRequestDto}
173
+ * @type {object}
178
174
  * @memberof PaymentMethodsApiCreatePaymentMethod
179
175
  */
180
- readonly createPspPaymentMethodRequestDto: CreatePspPaymentMethodRequestDto;
176
+ readonly body: object;
181
177
  /**
182
178
  * Bearer Token
183
179
  * @type {string}
@@ -217,23 +213,23 @@ export interface PaymentMethodsApiGetPaymentMethodRequest {
217
213
  */
218
214
  readonly code: string;
219
215
  /**
220
- * Bearer Token
216
+ * Fields to expand response by
221
217
  * @type {string}
222
218
  * @memberof PaymentMethodsApiGetPaymentMethod
223
219
  */
224
- readonly authorization?: string;
220
+ readonly expand: string;
225
221
  /**
226
222
  * Fields to expand response by
227
223
  * @type {string}
228
224
  * @memberof PaymentMethodsApiGetPaymentMethod
229
225
  */
230
- readonly expand?: string;
226
+ readonly expand2: string;
231
227
  /**
232
- * Fields to expand response by
228
+ * Bearer Token
233
229
  * @type {string}
234
230
  * @memberof PaymentMethodsApiGetPaymentMethod
235
231
  */
236
- readonly expand2?: string;
232
+ readonly authorization?: string;
237
233
  }
238
234
  /**
239
235
  * Request parameters for listPaymentMethods operation in PaymentMethodsApi.
@@ -305,7 +301,7 @@ export declare class PaymentMethodsApi extends BaseAPI {
305
301
  * @throws {RequiredError}
306
302
  * @memberof PaymentMethodsApi
307
303
  */
308
- createPaymentMethod(requestParameters: PaymentMethodsApiCreatePaymentMethodRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePaymentMethodResponseClass, any>>;
304
+ createPaymentMethod(requestParameters: PaymentMethodsApiCreatePaymentMethodRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
309
305
  /**
310
306
  * Permanently deletes a payment method. Supply the unique payment method id that was returned when you created the payment method and this will delete it. It will also delete it on the corresponding payment service provider.
311
307
  * @summary Delete a payment method
@@ -323,7 +319,7 @@ export declare class PaymentMethodsApi extends BaseAPI {
323
319
  * @throws {RequiredError}
324
320
  * @memberof PaymentMethodsApi
325
321
  */
326
- getPaymentMethod(requestParameters: PaymentMethodsApiGetPaymentMethodRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPaymentMethodResponseClass, any>>;
322
+ getPaymentMethod(requestParameters: PaymentMethodsApiGetPaymentMethodRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
327
323
  /**
328
324
  * Returns a list of payment methods you’ve previously created. The payment methods are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.
329
325
  * @summary List payment methods
@@ -332,5 +328,5 @@ export declare class PaymentMethodsApi extends BaseAPI {
332
328
  * @throws {RequiredError}
333
329
  * @memberof PaymentMethodsApi
334
330
  */
335
- listPaymentMethods(requestParameters?: PaymentMethodsApiListPaymentMethodsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPaymentMethodsResponseClass, any>>;
331
+ listPaymentMethods(requestParameters?: PaymentMethodsApiListPaymentMethodsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
336
332
  }
@@ -95,20 +95,20 @@ var PaymentMethodsApiAxiosParamCreator = function (configuration) {
95
95
  /**
96
96
  * 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.
97
97
  * @summary Create the payment-method
98
- * @param {CreatePspPaymentMethodRequestDto} createPspPaymentMethodRequestDto
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
- createPaymentMethod: function (createPspPaymentMethodRequestDto, authorization, options) {
103
+ createPaymentMethod: 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 'createPspPaymentMethodRequestDto' is not null or undefined
111
- (0, common_1.assertParamExists)('createPaymentMethod', 'createPspPaymentMethodRequestDto', createPspPaymentMethodRequestDto);
110
+ // verify required parameter 'body' is not null or undefined
111
+ (0, common_1.assertParamExists)('createPaymentMethod', 'body', body);
112
112
  localVarPath = "/paymentservice/v1/payment-methods";
113
113
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
114
114
  if (configuration) {
@@ -132,7 +132,7 @@ var PaymentMethodsApiAxiosParamCreator = 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)(createPspPaymentMethodRequestDto, 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,
@@ -195,13 +195,13 @@ var PaymentMethodsApiAxiosParamCreator = function (configuration) {
195
195
  * Retrieves the details of a payment method that was previously created. Supply the unique payment method code that was returned when you created the payment method and Emil Api will return the corresponding payment method information.
196
196
  * @summary Retrieve a payment method
197
197
  * @param {string} code Unique identifier for the object.
198
+ * @param {string} expand Fields to expand response by
199
+ * @param {string} expand2 Fields to expand response by
198
200
  * @param {string} [authorization] Bearer Token
199
- * @param {string} [expand] Fields to expand response by
200
- * @param {string} [expand2] Fields to expand response by
201
201
  * @param {*} [options] Override http request option.
202
202
  * @throws {RequiredError}
203
203
  */
204
- getPaymentMethod: function (code, authorization, expand, expand2, options) {
204
+ getPaymentMethod: function (code, expand, expand2, authorization, options) {
205
205
  if (options === void 0) { options = {}; }
206
206
  return __awaiter(_this, void 0, void 0, function () {
207
207
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -210,6 +210,10 @@ var PaymentMethodsApiAxiosParamCreator = function (configuration) {
210
210
  case 0:
211
211
  // verify required parameter 'code' is not null or undefined
212
212
  (0, common_1.assertParamExists)('getPaymentMethod', 'code', code);
213
+ // verify required parameter 'expand' is not null or undefined
214
+ (0, common_1.assertParamExists)('getPaymentMethod', 'expand', expand);
215
+ // verify required parameter 'expand2' is not null or undefined
216
+ (0, common_1.assertParamExists)('getPaymentMethod', 'expand2', expand2);
213
217
  localVarPath = "/paymentservice/v1/payment-methods/{code}";
214
218
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
215
219
  if (configuration) {
@@ -334,17 +338,17 @@ var PaymentMethodsApiFp = function (configuration) {
334
338
  /**
335
339
  * 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.
336
340
  * @summary Create the payment-method
337
- * @param {CreatePspPaymentMethodRequestDto} createPspPaymentMethodRequestDto
341
+ * @param {object} body
338
342
  * @param {string} [authorization] Bearer Token
339
343
  * @param {*} [options] Override http request option.
340
344
  * @throws {RequiredError}
341
345
  */
342
- createPaymentMethod: function (createPspPaymentMethodRequestDto, authorization, options) {
346
+ createPaymentMethod: function (body, authorization, options) {
343
347
  return __awaiter(this, void 0, void 0, function () {
344
348
  var localVarAxiosArgs;
345
349
  return __generator(this, function (_a) {
346
350
  switch (_a.label) {
347
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.createPaymentMethod(createPspPaymentMethodRequestDto, authorization, options)];
351
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.createPaymentMethod(body, authorization, options)];
348
352
  case 1:
349
353
  localVarAxiosArgs = _a.sent();
350
354
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -377,18 +381,18 @@ var PaymentMethodsApiFp = function (configuration) {
377
381
  * Retrieves the details of a payment method that was previously created. Supply the unique payment method code that was returned when you created the payment method and Emil Api will return the corresponding payment method information.
378
382
  * @summary Retrieve a payment method
379
383
  * @param {string} code Unique identifier for the object.
384
+ * @param {string} expand Fields to expand response by
385
+ * @param {string} expand2 Fields to expand response by
380
386
  * @param {string} [authorization] Bearer Token
381
- * @param {string} [expand] Fields to expand response by
382
- * @param {string} [expand2] Fields to expand response by
383
387
  * @param {*} [options] Override http request option.
384
388
  * @throws {RequiredError}
385
389
  */
386
- getPaymentMethod: function (code, authorization, expand, expand2, options) {
390
+ getPaymentMethod: function (code, expand, expand2, authorization, options) {
387
391
  return __awaiter(this, void 0, void 0, function () {
388
392
  var localVarAxiosArgs;
389
393
  return __generator(this, function (_a) {
390
394
  switch (_a.label) {
391
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getPaymentMethod(code, authorization, expand, expand2, options)];
395
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getPaymentMethod(code, expand, expand2, authorization, options)];
392
396
  case 1:
393
397
  localVarAxiosArgs = _a.sent();
394
398
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -436,13 +440,13 @@ var PaymentMethodsApiFactory = function (configuration, basePath, axios) {
436
440
  /**
437
441
  * 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.
438
442
  * @summary Create the payment-method
439
- * @param {CreatePspPaymentMethodRequestDto} createPspPaymentMethodRequestDto
443
+ * @param {object} body
440
444
  * @param {string} [authorization] Bearer Token
441
445
  * @param {*} [options] Override http request option.
442
446
  * @throws {RequiredError}
443
447
  */
444
- createPaymentMethod: function (createPspPaymentMethodRequestDto, authorization, options) {
445
- return localVarFp.createPaymentMethod(createPspPaymentMethodRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
448
+ createPaymentMethod: function (body, authorization, options) {
449
+ return localVarFp.createPaymentMethod(body, authorization, options).then(function (request) { return request(axios, basePath); });
446
450
  },
447
451
  /**
448
452
  * Permanently deletes a payment method. Supply the unique payment method id that was returned when you created the payment method and this will delete it. It will also delete it on the corresponding payment service provider.
@@ -459,14 +463,14 @@ var PaymentMethodsApiFactory = function (configuration, basePath, axios) {
459
463
  * Retrieves the details of a payment method that was previously created. Supply the unique payment method code that was returned when you created the payment method and Emil Api will return the corresponding payment method information.
460
464
  * @summary Retrieve a payment method
461
465
  * @param {string} code Unique identifier for the object.
466
+ * @param {string} expand Fields to expand response by
467
+ * @param {string} expand2 Fields to expand response by
462
468
  * @param {string} [authorization] Bearer Token
463
- * @param {string} [expand] Fields to expand response by
464
- * @param {string} [expand2] Fields to expand response by
465
469
  * @param {*} [options] Override http request option.
466
470
  * @throws {RequiredError}
467
471
  */
468
- getPaymentMethod: function (code, authorization, expand, expand2, options) {
469
- return localVarFp.getPaymentMethod(code, authorization, expand, expand2, options).then(function (request) { return request(axios, basePath); });
472
+ getPaymentMethod: function (code, expand, expand2, authorization, options) {
473
+ return localVarFp.getPaymentMethod(code, expand, expand2, authorization, options).then(function (request) { return request(axios, basePath); });
470
474
  },
471
475
  /**
472
476
  * Returns a list of payment methods you’ve previously created. The payment methods are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.
@@ -509,7 +513,7 @@ var PaymentMethodsApi = /** @class */ (function (_super) {
509
513
  */
510
514
  PaymentMethodsApi.prototype.createPaymentMethod = function (requestParameters, options) {
511
515
  var _this = this;
512
- return (0, exports.PaymentMethodsApiFp)(this.configuration).createPaymentMethod(requestParameters.createPspPaymentMethodRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
516
+ return (0, exports.PaymentMethodsApiFp)(this.configuration).createPaymentMethod(requestParameters.body, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
513
517
  };
514
518
  /**
515
519
  * Permanently deletes a payment method. Supply the unique payment method id that was returned when you created the payment method and this will delete it. It will also delete it on the corresponding payment service provider.
@@ -533,7 +537,7 @@ var PaymentMethodsApi = /** @class */ (function (_super) {
533
537
  */
534
538
  PaymentMethodsApi.prototype.getPaymentMethod = function (requestParameters, options) {
535
539
  var _this = this;
536
- return (0, exports.PaymentMethodsApiFp)(this.configuration).getPaymentMethod(requestParameters.code, requestParameters.authorization, requestParameters.expand, requestParameters.expand2, options).then(function (request) { return request(_this.axios, _this.basePath); });
540
+ return (0, exports.PaymentMethodsApiFp)(this.configuration).getPaymentMethod(requestParameters.code, requestParameters.expand, requestParameters.expand2, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
537
541
  };
538
542
  /**
539
543
  * Returns a list of payment methods you’ve previously created. The payment methods are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.
@@ -14,8 +14,6 @@ import { Configuration } from '../configuration';
14
14
  import { RequestArgs, BaseAPI } from '../base';
15
15
  import { CreatePaymentReminderRequestDto } from '../models';
16
16
  import { DeactivatePaymentReminderRequestDto } from '../models';
17
- import { DeactivatePaymentReminderResponseClass } from '../models';
18
- import { ListPaymentRemindersResponseClass } from '../models';
19
17
  /**
20
18
  * PaymentRemindersApi - axios parameter creator
21
19
  * @export
@@ -78,7 +76,7 @@ export declare const PaymentRemindersApiFp: (configuration?: Configuration) => {
78
76
  * @param {*} [options] Override http request option.
79
77
  * @throws {RequiredError}
80
78
  */
81
- createPaymentReminder(createPaymentReminderRequestDto: CreatePaymentReminderRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
79
+ createPaymentReminder(createPaymentReminderRequestDto: CreatePaymentReminderRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
82
80
  /**
83
81
  * Deactivates the payment reminder
84
82
  * @summary Update the payment-reminder
@@ -88,7 +86,7 @@ export declare const PaymentRemindersApiFp: (configuration?: Configuration) => {
88
86
  * @param {*} [options] Override http request option.
89
87
  * @throws {RequiredError}
90
88
  */
91
- deactivatePaymentReminder(code: string, deactivatePaymentReminderRequestDto: DeactivatePaymentReminderRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeactivatePaymentReminderResponseClass>>;
89
+ deactivatePaymentReminder(code: string, deactivatePaymentReminderRequestDto: DeactivatePaymentReminderRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
92
90
  /**
93
91
  * Retrieves the details of the payment reminder that was previously created. Supply the unique payment reminder code that was returned when you created it and Emil Api will return the corresponding payment reminder information.
94
92
  * @summary Retrieve the payment reminder
@@ -97,7 +95,7 @@ export declare const PaymentRemindersApiFp: (configuration?: Configuration) => {
97
95
  * @param {*} [options] Override http request option.
98
96
  * @throws {RequiredError}
99
97
  */
100
- getPolicy(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
98
+ getPolicy(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
101
99
  /**
102
100
  * Returns a list of payment reminders you have previously created. The payment reminders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
103
101
  * @summary List payment reminders
@@ -112,7 +110,7 @@ export declare const PaymentRemindersApiFp: (configuration?: Configuration) => {
112
110
  * @param {*} [options] Override http request option.
113
111
  * @throws {RequiredError}
114
112
  */
115
- listPaymentReminders(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPaymentRemindersResponseClass>>;
113
+ listPaymentReminders(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>>;
116
114
  };
117
115
  /**
118
116
  * PaymentRemindersApi - factory interface
@@ -127,7 +125,7 @@ export declare const PaymentRemindersApiFactory: (configuration?: Configuration,
127
125
  * @param {*} [options] Override http request option.
128
126
  * @throws {RequiredError}
129
127
  */
130
- createPaymentReminder(createPaymentReminderRequestDto: CreatePaymentReminderRequestDto, authorization?: string, options?: any): AxiosPromise<object>;
128
+ createPaymentReminder(createPaymentReminderRequestDto: CreatePaymentReminderRequestDto, authorization?: string, options?: any): AxiosPromise<void>;
131
129
  /**
132
130
  * Deactivates the payment reminder
133
131
  * @summary Update the payment-reminder
@@ -137,7 +135,7 @@ export declare const PaymentRemindersApiFactory: (configuration?: Configuration,
137
135
  * @param {*} [options] Override http request option.
138
136
  * @throws {RequiredError}
139
137
  */
140
- deactivatePaymentReminder(code: string, deactivatePaymentReminderRequestDto: DeactivatePaymentReminderRequestDto, authorization?: string, options?: any): AxiosPromise<DeactivatePaymentReminderResponseClass>;
138
+ deactivatePaymentReminder(code: string, deactivatePaymentReminderRequestDto: DeactivatePaymentReminderRequestDto, authorization?: string, options?: any): AxiosPromise<void>;
141
139
  /**
142
140
  * Retrieves the details of the payment reminder that was previously created. Supply the unique payment reminder code that was returned when you created it and Emil Api will return the corresponding payment reminder information.
143
141
  * @summary Retrieve the payment reminder
@@ -146,7 +144,7 @@ export declare const PaymentRemindersApiFactory: (configuration?: Configuration,
146
144
  * @param {*} [options] Override http request option.
147
145
  * @throws {RequiredError}
148
146
  */
149
- getPolicy(code: string, authorization?: string, options?: any): AxiosPromise<object>;
147
+ getPolicy(code: string, authorization?: string, options?: any): AxiosPromise<void>;
150
148
  /**
151
149
  * Returns a list of payment reminders you have previously created. The payment reminders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
152
150
  * @summary List payment reminders
@@ -161,7 +159,7 @@ export declare const PaymentRemindersApiFactory: (configuration?: Configuration,
161
159
  * @param {*} [options] Override http request option.
162
160
  * @throws {RequiredError}
163
161
  */
164
- listPaymentReminders(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<ListPaymentRemindersResponseClass>;
162
+ listPaymentReminders(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<void>;
165
163
  };
166
164
  /**
167
165
  * Request parameters for createPaymentReminder operation in PaymentRemindersApi.
@@ -296,7 +294,7 @@ export declare class PaymentRemindersApi extends BaseAPI {
296
294
  * @throws {RequiredError}
297
295
  * @memberof PaymentRemindersApi
298
296
  */
299
- createPaymentReminder(requestParameters: PaymentRemindersApiCreatePaymentReminderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
297
+ createPaymentReminder(requestParameters: PaymentRemindersApiCreatePaymentReminderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
300
298
  /**
301
299
  * Deactivates the payment reminder
302
300
  * @summary Update the payment-reminder
@@ -305,7 +303,7 @@ export declare class PaymentRemindersApi extends BaseAPI {
305
303
  * @throws {RequiredError}
306
304
  * @memberof PaymentRemindersApi
307
305
  */
308
- deactivatePaymentReminder(requestParameters: PaymentRemindersApiDeactivatePaymentReminderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeactivatePaymentReminderResponseClass, any>>;
306
+ deactivatePaymentReminder(requestParameters: PaymentRemindersApiDeactivatePaymentReminderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
309
307
  /**
310
308
  * Retrieves the details of the payment reminder that was previously created. Supply the unique payment reminder code that was returned when you created it and Emil Api will return the corresponding payment reminder information.
311
309
  * @summary Retrieve the payment reminder
@@ -314,7 +312,7 @@ export declare class PaymentRemindersApi extends BaseAPI {
314
312
  * @throws {RequiredError}
315
313
  * @memberof PaymentRemindersApi
316
314
  */
317
- getPolicy(requestParameters: PaymentRemindersApiGetPolicyRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
315
+ getPolicy(requestParameters: PaymentRemindersApiGetPolicyRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
318
316
  /**
319
317
  * Returns a list of payment reminders you have previously created. The payment reminders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
320
318
  * @summary List payment reminders
@@ -323,5 +321,5 @@ export declare class PaymentRemindersApi extends BaseAPI {
323
321
  * @throws {RequiredError}
324
322
  * @memberof PaymentRemindersApi
325
323
  */
326
- listPaymentReminders(requestParameters?: PaymentRemindersApiListPaymentRemindersRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPaymentRemindersResponseClass, any>>;
324
+ listPaymentReminders(requestParameters?: PaymentRemindersApiListPaymentRemindersRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
327
325
  }
@@ -12,10 +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 { CompletePaymentSetupRequestDto } from '../models';
16
- import { CompletePaymentSetupResponseClass } from '../models';
17
- import { InitiatePaymentSetupRequestDto } from '../models';
18
- import { InitiatePaymentSetupResponseClass } from '../models';
19
15
  /**
20
16
  * PaymentSetupApi - axios parameter creator
21
17
  * @export
@@ -23,20 +19,20 @@ import { InitiatePaymentSetupResponseClass } from '../models';
23
19
  export declare const PaymentSetupApiAxiosParamCreator: (configuration?: Configuration) => {
24
20
  /**
25
21
  *
26
- * @param {CompletePaymentSetupRequestDto} completePaymentSetupRequestDto
22
+ * @param {object} body
27
23
  * @param {string} [authorization] Bearer Token
28
24
  * @param {*} [options] Override http request option.
29
25
  * @throws {RequiredError}
30
26
  */
31
- completePaymentSetup: (completePaymentSetupRequestDto: CompletePaymentSetupRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
27
+ completePaymentSetup: (body: object, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
32
28
  /**
33
29
  *
34
- * @param {InitiatePaymentSetupRequestDto} initiatePaymentSetupRequestDto
30
+ * @param {object} body
35
31
  * @param {string} [authorization] Bearer Token
36
32
  * @param {*} [options] Override http request option.
37
33
  * @throws {RequiredError}
38
34
  */
39
- initiatePaymentSetup: (initiatePaymentSetupRequestDto: InitiatePaymentSetupRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
35
+ initiatePaymentSetup: (body: object, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
40
36
  };
41
37
  /**
42
38
  * PaymentSetupApi - functional programming interface
@@ -45,20 +41,20 @@ export declare const PaymentSetupApiAxiosParamCreator: (configuration?: Configur
45
41
  export declare const PaymentSetupApiFp: (configuration?: Configuration) => {
46
42
  /**
47
43
  *
48
- * @param {CompletePaymentSetupRequestDto} completePaymentSetupRequestDto
44
+ * @param {object} body
49
45
  * @param {string} [authorization] Bearer Token
50
46
  * @param {*} [options] Override http request option.
51
47
  * @throws {RequiredError}
52
48
  */
53
- completePaymentSetup(completePaymentSetupRequestDto: CompletePaymentSetupRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CompletePaymentSetupResponseClass>>;
49
+ completePaymentSetup(body: object, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
54
50
  /**
55
51
  *
56
- * @param {InitiatePaymentSetupRequestDto} initiatePaymentSetupRequestDto
52
+ * @param {object} body
57
53
  * @param {string} [authorization] Bearer Token
58
54
  * @param {*} [options] Override http request option.
59
55
  * @throws {RequiredError}
60
56
  */
61
- initiatePaymentSetup(initiatePaymentSetupRequestDto: InitiatePaymentSetupRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InitiatePaymentSetupResponseClass>>;
57
+ initiatePaymentSetup(body: object, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
62
58
  };
63
59
  /**
64
60
  * PaymentSetupApi - factory interface
@@ -67,20 +63,20 @@ export declare const PaymentSetupApiFp: (configuration?: Configuration) => {
67
63
  export declare const PaymentSetupApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
68
64
  /**
69
65
  *
70
- * @param {CompletePaymentSetupRequestDto} completePaymentSetupRequestDto
66
+ * @param {object} body
71
67
  * @param {string} [authorization] Bearer Token
72
68
  * @param {*} [options] Override http request option.
73
69
  * @throws {RequiredError}
74
70
  */
75
- completePaymentSetup(completePaymentSetupRequestDto: CompletePaymentSetupRequestDto, authorization?: string, options?: any): AxiosPromise<CompletePaymentSetupResponseClass>;
71
+ completePaymentSetup(body: object, authorization?: string, options?: any): AxiosPromise<void>;
76
72
  /**
77
73
  *
78
- * @param {InitiatePaymentSetupRequestDto} initiatePaymentSetupRequestDto
74
+ * @param {object} body
79
75
  * @param {string} [authorization] Bearer Token
80
76
  * @param {*} [options] Override http request option.
81
77
  * @throws {RequiredError}
82
78
  */
83
- initiatePaymentSetup(initiatePaymentSetupRequestDto: InitiatePaymentSetupRequestDto, authorization?: string, options?: any): AxiosPromise<InitiatePaymentSetupResponseClass>;
79
+ initiatePaymentSetup(body: object, authorization?: string, options?: any): AxiosPromise<void>;
84
80
  };
85
81
  /**
86
82
  * Request parameters for completePaymentSetup operation in PaymentSetupApi.
@@ -90,10 +86,10 @@ export declare const PaymentSetupApiFactory: (configuration?: Configuration, bas
90
86
  export interface PaymentSetupApiCompletePaymentSetupRequest {
91
87
  /**
92
88
  *
93
- * @type {CompletePaymentSetupRequestDto}
89
+ * @type {object}
94
90
  * @memberof PaymentSetupApiCompletePaymentSetup
95
91
  */
96
- readonly completePaymentSetupRequestDto: CompletePaymentSetupRequestDto;
92
+ readonly body: object;
97
93
  /**
98
94
  * Bearer Token
99
95
  * @type {string}
@@ -109,10 +105,10 @@ export interface PaymentSetupApiCompletePaymentSetupRequest {
109
105
  export interface PaymentSetupApiInitiatePaymentSetupRequest {
110
106
  /**
111
107
  *
112
- * @type {InitiatePaymentSetupRequestDto}
108
+ * @type {object}
113
109
  * @memberof PaymentSetupApiInitiatePaymentSetup
114
110
  */
115
- readonly initiatePaymentSetupRequestDto: InitiatePaymentSetupRequestDto;
111
+ readonly body: object;
116
112
  /**
117
113
  * Bearer Token
118
114
  * @type {string}
@@ -134,7 +130,7 @@ export declare class PaymentSetupApi extends BaseAPI {
134
130
  * @throws {RequiredError}
135
131
  * @memberof PaymentSetupApi
136
132
  */
137
- completePaymentSetup(requestParameters: PaymentSetupApiCompletePaymentSetupRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CompletePaymentSetupResponseClass, any>>;
133
+ completePaymentSetup(requestParameters: PaymentSetupApiCompletePaymentSetupRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
138
134
  /**
139
135
  *
140
136
  * @param {PaymentSetupApiInitiatePaymentSetupRequest} requestParameters Request parameters.
@@ -142,5 +138,5 @@ export declare class PaymentSetupApi extends BaseAPI {
142
138
  * @throws {RequiredError}
143
139
  * @memberof PaymentSetupApi
144
140
  */
145
- initiatePaymentSetup(requestParameters: PaymentSetupApiInitiatePaymentSetupRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InitiatePaymentSetupResponseClass, any>>;
141
+ initiatePaymentSetup(requestParameters: PaymentSetupApiInitiatePaymentSetupRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
146
142
  }