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

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