@emilgroup/payment-sdk 1.4.1-beta.23 → 1.4.1-beta.25
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.
- package/.openapi-generator/FILES +7 -0
- package/README.md +2 -2
- package/api/bank-accounts-api.ts +461 -19
- package/api/bank-transaction-api.ts +9 -9
- package/api/default-api.ts +1 -1
- package/api/payment-methods-api.ts +35 -142
- package/api/payment-reminders-api.ts +9 -9
- package/api/payment-setup-api.ts +1 -1
- package/api/payments-api.ts +39 -42
- package/api/refunds-api.ts +1 -1
- package/api/tenant-bank-account-api.ts +17 -17
- package/api/webhooks-api.ts +1 -1
- package/api.ts +1 -1
- package/base.ts +1 -1
- package/common.ts +2 -2
- package/configuration.ts +1 -1
- package/dist/api/bank-accounts-api.d.ts +255 -13
- package/dist/api/bank-accounts-api.js +399 -17
- package/dist/api/bank-transaction-api.d.ts +9 -9
- package/dist/api/bank-transaction-api.js +9 -9
- package/dist/api/default-api.d.ts +1 -1
- package/dist/api/default-api.js +1 -1
- package/dist/api/payment-methods-api.d.ts +26 -81
- package/dist/api/payment-methods-api.js +31 -127
- package/dist/api/payment-reminders-api.d.ts +9 -9
- package/dist/api/payment-reminders-api.js +9 -9
- package/dist/api/payment-setup-api.d.ts +1 -1
- package/dist/api/payment-setup-api.js +1 -1
- package/dist/api/payments-api.d.ts +30 -30
- package/dist/api/payments-api.js +35 -37
- package/dist/api/refunds-api.d.ts +1 -1
- package/dist/api/refunds-api.js +1 -1
- package/dist/api/tenant-bank-account-api.d.ts +17 -17
- package/dist/api/tenant-bank-account-api.js +12 -12
- package/dist/api/webhooks-api.d.ts +1 -1
- package/dist/api/webhooks-api.js +1 -1
- package/dist/api.d.ts +1 -1
- package/dist/api.js +1 -1
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +2 -2
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/models/bank-account-class.d.ts +79 -0
- package/dist/models/bank-account-class.js +15 -0
- package/dist/models/bank-transaction-response-class.d.ts +1 -1
- package/dist/models/bank-transaction-response-class.js +1 -1
- package/dist/models/create-bank-account-request-dto.d.ts +36 -0
- package/dist/models/create-bank-account-request-dto.js +15 -0
- package/dist/models/create-payment-reminder-request-dto.d.ts +1 -1
- package/dist/models/create-payment-reminder-request-dto.js +1 -1
- package/dist/models/create-payment-request-dto.d.ts +1 -1
- package/dist/models/create-payment-request-dto.js +1 -1
- package/dist/models/create-refund-request-dto.d.ts +1 -1
- package/dist/models/create-refund-request-dto.js +1 -1
- package/dist/models/create-refund-response-class.d.ts +1 -1
- package/dist/models/create-refund-response-class.js +1 -1
- package/dist/models/create-tenant-bank-account-request-dto.d.ts +1 -1
- package/dist/models/create-tenant-bank-account-request-dto.js +1 -1
- package/dist/models/create-tenant-bank-account-response-class.d.ts +1 -1
- package/dist/models/create-tenant-bank-account-response-class.js +1 -1
- package/dist/models/deactivate-payment-reminder-request-dto.d.ts +1 -1
- package/dist/models/deactivate-payment-reminder-request-dto.js +1 -1
- package/dist/models/get-bank-account-response-class.d.ts +25 -0
- package/dist/models/get-bank-account-response-class.js +15 -0
- package/dist/models/get-bank-transactions-response-class.d.ts +1 -1
- package/dist/models/get-bank-transactions-response-class.js +1 -1
- package/dist/models/get-refund-response-class.d.ts +1 -1
- package/dist/models/get-refund-response-class.js +1 -1
- package/dist/models/get-request-dto.d.ts +1 -1
- package/dist/models/get-request-dto.js +1 -1
- package/dist/models/get-tenant-bank-account-response-class.d.ts +1 -1
- package/dist/models/get-tenant-bank-account-response-class.js +1 -1
- package/dist/models/index.d.ts +7 -0
- package/dist/models/index.js +7 -0
- package/dist/models/inline-response200.d.ts +1 -1
- package/dist/models/inline-response200.js +1 -1
- package/dist/models/inline-response503.d.ts +1 -1
- package/dist/models/inline-response503.js +1 -1
- package/dist/models/link-bank-transaction-request-dto-rest.d.ts +1 -1
- package/dist/models/link-bank-transaction-request-dto-rest.js +1 -1
- package/dist/models/list-bank-transactions-response-class.d.ts +1 -1
- package/dist/models/list-bank-transactions-response-class.js +1 -1
- package/dist/models/list-refunds-response-class.d.ts +1 -1
- package/dist/models/list-refunds-response-class.js +1 -1
- package/dist/models/list-tenant-bank-account-response-class.d.ts +1 -1
- package/dist/models/list-tenant-bank-account-response-class.js +1 -1
- package/dist/models/primary-bank-account-response-class.d.ts +42 -0
- package/dist/models/primary-bank-account-response-class.js +15 -0
- package/dist/models/refund-class.d.ts +1 -1
- package/dist/models/refund-class.js +1 -1
- package/dist/models/set-primary-bank-account-request-dto-rest.d.ts +24 -0
- package/dist/models/set-primary-bank-account-request-dto-rest.js +15 -0
- package/dist/models/tenant-bank-account-response-class.d.ts +1 -1
- package/dist/models/tenant-bank-account-response-class.js +1 -1
- package/dist/models/transaction-class.d.ts +1 -1
- package/dist/models/transaction-class.js +1 -1
- package/dist/models/unlink-bank-transaction-request-dto-rest.d.ts +1 -1
- package/dist/models/unlink-bank-transaction-request-dto-rest.js +1 -1
- package/dist/models/update-bank-account-request-dto-rest.d.ts +30 -0
- package/dist/models/update-bank-account-request-dto-rest.js +15 -0
- package/dist/models/update-bank-account-request-dto.d.ts +36 -0
- package/dist/models/update-bank-account-request-dto.js +15 -0
- package/dist/models/update-tenant-bank-account-rest-request-dto.d.ts +1 -1
- package/dist/models/update-tenant-bank-account-rest-request-dto.js +1 -1
- package/dist/models/validate-pspconfig-request-dto.d.ts +1 -1
- package/dist/models/validate-pspconfig-request-dto.js +1 -1
- package/index.ts +1 -1
- package/models/bank-account-class.ts +85 -0
- package/models/bank-transaction-response-class.ts +1 -1
- package/models/create-bank-account-request-dto.ts +42 -0
- package/models/create-payment-reminder-request-dto.ts +1 -1
- package/models/create-payment-request-dto.ts +1 -1
- package/models/create-refund-request-dto.ts +1 -1
- package/models/create-refund-response-class.ts +1 -1
- package/models/create-tenant-bank-account-request-dto.ts +1 -1
- package/models/create-tenant-bank-account-response-class.ts +1 -1
- package/models/deactivate-payment-reminder-request-dto.ts +1 -1
- package/models/get-bank-account-response-class.ts +31 -0
- package/models/get-bank-transactions-response-class.ts +1 -1
- package/models/get-refund-response-class.ts +1 -1
- package/models/get-request-dto.ts +1 -1
- package/models/get-tenant-bank-account-response-class.ts +1 -1
- package/models/index.ts +7 -0
- package/models/inline-response200.ts +1 -1
- package/models/inline-response503.ts +1 -1
- package/models/link-bank-transaction-request-dto-rest.ts +1 -1
- package/models/list-bank-transactions-response-class.ts +1 -1
- package/models/list-refunds-response-class.ts +1 -1
- package/models/list-tenant-bank-account-response-class.ts +1 -1
- package/models/primary-bank-account-response-class.ts +48 -0
- package/models/refund-class.ts +1 -1
- package/models/set-primary-bank-account-request-dto-rest.ts +30 -0
- package/models/tenant-bank-account-response-class.ts +1 -1
- package/models/transaction-class.ts +1 -1
- package/models/unlink-bank-transaction-request-dto-rest.ts +1 -1
- package/models/update-bank-account-request-dto-rest.ts +36 -0
- package/models/update-bank-account-request-dto.ts +42 -0
- package/models/update-tenant-bank-account-rest-request-dto.ts +1 -1
- package/models/validate-pspconfig-request-dto.ts +1 -1
- package/package.json +1 -1
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Emil Payment Service
|
|
6
|
-
* This service directly communicates with the various Payment Service Providers (PSPs)
|
|
6
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: 1.0
|
|
9
9
|
* Contact: kontakt@emil.de
|
|
@@ -95,20 +95,20 @@ var BankAccountsApiAxiosParamCreator = function (configuration) {
|
|
|
95
95
|
/**
|
|
96
96
|
* Creates a bank account for a specified account.
|
|
97
97
|
* @summary Create a bank account
|
|
98
|
-
* @param {
|
|
98
|
+
* @param {CreateBankAccountRequestDto} createBankAccountRequestDto
|
|
99
99
|
* @param {string} [authorization] Bearer Token
|
|
100
100
|
* @param {*} [options] Override http request option.
|
|
101
101
|
* @throws {RequiredError}
|
|
102
102
|
*/
|
|
103
|
-
createBankAccount: function (
|
|
103
|
+
createBankAccount: function (createBankAccountRequestDto, 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 '
|
|
111
|
-
(0, common_1.assertParamExists)('createBankAccount', '
|
|
110
|
+
// verify required parameter 'createBankAccountRequestDto' is not null or undefined
|
|
111
|
+
(0, common_1.assertParamExists)('createBankAccount', 'createBankAccountRequestDto', createBankAccountRequestDto);
|
|
112
112
|
localVarPath = "/paymentservice/v1/bank-accounts";
|
|
113
113
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
114
114
|
if (configuration) {
|
|
@@ -132,7 +132,7 @@ var BankAccountsApiAxiosParamCreator = function (configuration) {
|
|
|
132
132
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
133
133
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
134
134
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
135
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
135
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createBankAccountRequestDto, localVarRequestOptions, configuration);
|
|
136
136
|
return [2 /*return*/, {
|
|
137
137
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
138
138
|
options: localVarRequestOptions,
|
|
@@ -142,7 +142,103 @@ var BankAccountsApiAxiosParamCreator = function (configuration) {
|
|
|
142
142
|
});
|
|
143
143
|
},
|
|
144
144
|
/**
|
|
145
|
-
*
|
|
145
|
+
* Deletes a bank account by code
|
|
146
|
+
* @summary Delete the bank account
|
|
147
|
+
* @param {string} code Unique identifier for the object.
|
|
148
|
+
* @param {string} [authorization] Bearer Token
|
|
149
|
+
* @param {*} [options] Override http request option.
|
|
150
|
+
* @throws {RequiredError}
|
|
151
|
+
*/
|
|
152
|
+
deleteBankAccount: function (code, authorization, options) {
|
|
153
|
+
if (options === void 0) { options = {}; }
|
|
154
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
155
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
156
|
+
return __generator(this, function (_a) {
|
|
157
|
+
switch (_a.label) {
|
|
158
|
+
case 0:
|
|
159
|
+
// verify required parameter 'code' is not null or undefined
|
|
160
|
+
(0, common_1.assertParamExists)('deleteBankAccount', 'code', code);
|
|
161
|
+
localVarPath = "/paymentservice/v1/bank-accounts/{code}"
|
|
162
|
+
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
163
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
164
|
+
if (configuration) {
|
|
165
|
+
baseOptions = configuration.baseOptions;
|
|
166
|
+
baseAccessToken = configuration.accessToken;
|
|
167
|
+
}
|
|
168
|
+
localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
|
|
169
|
+
localVarHeaderParameter = {};
|
|
170
|
+
localVarQueryParameter = {};
|
|
171
|
+
// authentication bearer required
|
|
172
|
+
// http bearer authentication required
|
|
173
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
174
|
+
case 1:
|
|
175
|
+
// authentication bearer required
|
|
176
|
+
// http bearer authentication required
|
|
177
|
+
_a.sent();
|
|
178
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
179
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
180
|
+
}
|
|
181
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
182
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
183
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
184
|
+
return [2 /*return*/, {
|
|
185
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
186
|
+
options: localVarRequestOptions,
|
|
187
|
+
}];
|
|
188
|
+
}
|
|
189
|
+
});
|
|
190
|
+
});
|
|
191
|
+
},
|
|
192
|
+
/**
|
|
193
|
+
* Retrieves the details of the Bank Account that was previously created. Supply the unique Bank Account code that was returned when you created it and Emil Api will return the corresponding Bank Account information.
|
|
194
|
+
* @summary Retrieve the Bank Account
|
|
195
|
+
* @param {string} code Unique identifier for the object.
|
|
196
|
+
* @param {string} [authorization] Bearer Token
|
|
197
|
+
* @param {*} [options] Override http request option.
|
|
198
|
+
* @throws {RequiredError}
|
|
199
|
+
*/
|
|
200
|
+
getBankAccount: function (code, authorization, options) {
|
|
201
|
+
if (options === void 0) { options = {}; }
|
|
202
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
203
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
204
|
+
return __generator(this, function (_a) {
|
|
205
|
+
switch (_a.label) {
|
|
206
|
+
case 0:
|
|
207
|
+
// verify required parameter 'code' is not null or undefined
|
|
208
|
+
(0, common_1.assertParamExists)('getBankAccount', 'code', code);
|
|
209
|
+
localVarPath = "/paymentservice/v1/bank-accounts/{code}"
|
|
210
|
+
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
211
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
212
|
+
if (configuration) {
|
|
213
|
+
baseOptions = configuration.baseOptions;
|
|
214
|
+
baseAccessToken = configuration.accessToken;
|
|
215
|
+
}
|
|
216
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
217
|
+
localVarHeaderParameter = {};
|
|
218
|
+
localVarQueryParameter = {};
|
|
219
|
+
// authentication bearer required
|
|
220
|
+
// http bearer authentication required
|
|
221
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
222
|
+
case 1:
|
|
223
|
+
// authentication bearer required
|
|
224
|
+
// http bearer authentication required
|
|
225
|
+
_a.sent();
|
|
226
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
227
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
228
|
+
}
|
|
229
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
230
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
231
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
232
|
+
return [2 /*return*/, {
|
|
233
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
234
|
+
options: localVarRequestOptions,
|
|
235
|
+
}];
|
|
236
|
+
}
|
|
237
|
+
});
|
|
238
|
+
});
|
|
239
|
+
},
|
|
240
|
+
/**
|
|
241
|
+
* Returns a list of bank accounts you’ve previously created. The bank accounts are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.
|
|
146
242
|
* @summary List bank accounts
|
|
147
243
|
* @param {string} [authorization] Bearer Token
|
|
148
244
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -213,6 +309,112 @@ var BankAccountsApiAxiosParamCreator = function (configuration) {
|
|
|
213
309
|
});
|
|
214
310
|
});
|
|
215
311
|
},
|
|
312
|
+
/**
|
|
313
|
+
* Set primary bank account
|
|
314
|
+
* @summary Set primary bank account
|
|
315
|
+
* @param {string} code Code of the bank account to set primary
|
|
316
|
+
* @param {SetPrimaryBankAccountRequestDtoRest} setPrimaryBankAccountRequestDtoRest
|
|
317
|
+
* @param {string} [authorization] Bearer Token
|
|
318
|
+
* @param {*} [options] Override http request option.
|
|
319
|
+
* @throws {RequiredError}
|
|
320
|
+
*/
|
|
321
|
+
setPrimaryBankAccount: function (code, setPrimaryBankAccountRequestDtoRest, authorization, options) {
|
|
322
|
+
if (options === void 0) { options = {}; }
|
|
323
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
324
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
325
|
+
return __generator(this, function (_a) {
|
|
326
|
+
switch (_a.label) {
|
|
327
|
+
case 0:
|
|
328
|
+
// verify required parameter 'code' is not null or undefined
|
|
329
|
+
(0, common_1.assertParamExists)('setPrimaryBankAccount', 'code', code);
|
|
330
|
+
// verify required parameter 'setPrimaryBankAccountRequestDtoRest' is not null or undefined
|
|
331
|
+
(0, common_1.assertParamExists)('setPrimaryBankAccount', 'setPrimaryBankAccountRequestDtoRest', setPrimaryBankAccountRequestDtoRest);
|
|
332
|
+
localVarPath = "/paymentservice/v1/bank-accounts/{code}/primary"
|
|
333
|
+
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
334
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
335
|
+
if (configuration) {
|
|
336
|
+
baseOptions = configuration.baseOptions;
|
|
337
|
+
baseAccessToken = configuration.accessToken;
|
|
338
|
+
}
|
|
339
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
340
|
+
localVarHeaderParameter = {};
|
|
341
|
+
localVarQueryParameter = {};
|
|
342
|
+
// authentication bearer required
|
|
343
|
+
// http bearer authentication required
|
|
344
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
345
|
+
case 1:
|
|
346
|
+
// authentication bearer required
|
|
347
|
+
// http bearer authentication required
|
|
348
|
+
_a.sent();
|
|
349
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
350
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
351
|
+
}
|
|
352
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
353
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
354
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
355
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
356
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(setPrimaryBankAccountRequestDtoRest, localVarRequestOptions, configuration);
|
|
357
|
+
return [2 /*return*/, {
|
|
358
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
359
|
+
options: localVarRequestOptions,
|
|
360
|
+
}];
|
|
361
|
+
}
|
|
362
|
+
});
|
|
363
|
+
});
|
|
364
|
+
},
|
|
365
|
+
/**
|
|
366
|
+
* Update a bank account by code
|
|
367
|
+
* @summary Update the Update bank account
|
|
368
|
+
* @param {string} code Unique identifier for the object.
|
|
369
|
+
* @param {UpdateBankAccountRequestDtoRest} updateBankAccountRequestDtoRest
|
|
370
|
+
* @param {string} [authorization] Bearer Token
|
|
371
|
+
* @param {*} [options] Override http request option.
|
|
372
|
+
* @throws {RequiredError}
|
|
373
|
+
*/
|
|
374
|
+
updateBankAccount: function (code, updateBankAccountRequestDtoRest, authorization, options) {
|
|
375
|
+
if (options === void 0) { options = {}; }
|
|
376
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
377
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
378
|
+
return __generator(this, function (_a) {
|
|
379
|
+
switch (_a.label) {
|
|
380
|
+
case 0:
|
|
381
|
+
// verify required parameter 'code' is not null or undefined
|
|
382
|
+
(0, common_1.assertParamExists)('updateBankAccount', 'code', code);
|
|
383
|
+
// verify required parameter 'updateBankAccountRequestDtoRest' is not null or undefined
|
|
384
|
+
(0, common_1.assertParamExists)('updateBankAccount', 'updateBankAccountRequestDtoRest', updateBankAccountRequestDtoRest);
|
|
385
|
+
localVarPath = "/paymentservice/v1/bank-accounts/{code}"
|
|
386
|
+
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
387
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
388
|
+
if (configuration) {
|
|
389
|
+
baseOptions = configuration.baseOptions;
|
|
390
|
+
baseAccessToken = configuration.accessToken;
|
|
391
|
+
}
|
|
392
|
+
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
393
|
+
localVarHeaderParameter = {};
|
|
394
|
+
localVarQueryParameter = {};
|
|
395
|
+
// authentication bearer required
|
|
396
|
+
// http bearer authentication required
|
|
397
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
398
|
+
case 1:
|
|
399
|
+
// authentication bearer required
|
|
400
|
+
// http bearer authentication required
|
|
401
|
+
_a.sent();
|
|
402
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
403
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
404
|
+
}
|
|
405
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
406
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
407
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
408
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
409
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateBankAccountRequestDtoRest, localVarRequestOptions, configuration);
|
|
410
|
+
return [2 /*return*/, {
|
|
411
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
412
|
+
options: localVarRequestOptions,
|
|
413
|
+
}];
|
|
414
|
+
}
|
|
415
|
+
});
|
|
416
|
+
});
|
|
417
|
+
},
|
|
216
418
|
};
|
|
217
419
|
};
|
|
218
420
|
exports.BankAccountsApiAxiosParamCreator = BankAccountsApiAxiosParamCreator;
|
|
@@ -226,17 +428,17 @@ var BankAccountsApiFp = function (configuration) {
|
|
|
226
428
|
/**
|
|
227
429
|
* Creates a bank account for a specified account.
|
|
228
430
|
* @summary Create a bank account
|
|
229
|
-
* @param {
|
|
431
|
+
* @param {CreateBankAccountRequestDto} createBankAccountRequestDto
|
|
230
432
|
* @param {string} [authorization] Bearer Token
|
|
231
433
|
* @param {*} [options] Override http request option.
|
|
232
434
|
* @throws {RequiredError}
|
|
233
435
|
*/
|
|
234
|
-
createBankAccount: function (
|
|
436
|
+
createBankAccount: function (createBankAccountRequestDto, authorization, options) {
|
|
235
437
|
return __awaiter(this, void 0, void 0, function () {
|
|
236
438
|
var localVarAxiosArgs;
|
|
237
439
|
return __generator(this, function (_a) {
|
|
238
440
|
switch (_a.label) {
|
|
239
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.createBankAccount(
|
|
441
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.createBankAccount(createBankAccountRequestDto, authorization, options)];
|
|
240
442
|
case 1:
|
|
241
443
|
localVarAxiosArgs = _a.sent();
|
|
242
444
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -245,7 +447,49 @@ var BankAccountsApiFp = function (configuration) {
|
|
|
245
447
|
});
|
|
246
448
|
},
|
|
247
449
|
/**
|
|
248
|
-
*
|
|
450
|
+
* Deletes a bank account by code
|
|
451
|
+
* @summary Delete the bank account
|
|
452
|
+
* @param {string} code Unique identifier for the object.
|
|
453
|
+
* @param {string} [authorization] Bearer Token
|
|
454
|
+
* @param {*} [options] Override http request option.
|
|
455
|
+
* @throws {RequiredError}
|
|
456
|
+
*/
|
|
457
|
+
deleteBankAccount: function (code, authorization, options) {
|
|
458
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
459
|
+
var localVarAxiosArgs;
|
|
460
|
+
return __generator(this, function (_a) {
|
|
461
|
+
switch (_a.label) {
|
|
462
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteBankAccount(code, authorization, options)];
|
|
463
|
+
case 1:
|
|
464
|
+
localVarAxiosArgs = _a.sent();
|
|
465
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
466
|
+
}
|
|
467
|
+
});
|
|
468
|
+
});
|
|
469
|
+
},
|
|
470
|
+
/**
|
|
471
|
+
* Retrieves the details of the Bank Account that was previously created. Supply the unique Bank Account code that was returned when you created it and Emil Api will return the corresponding Bank Account information.
|
|
472
|
+
* @summary Retrieve the Bank Account
|
|
473
|
+
* @param {string} code Unique identifier for the object.
|
|
474
|
+
* @param {string} [authorization] Bearer Token
|
|
475
|
+
* @param {*} [options] Override http request option.
|
|
476
|
+
* @throws {RequiredError}
|
|
477
|
+
*/
|
|
478
|
+
getBankAccount: function (code, authorization, options) {
|
|
479
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
480
|
+
var localVarAxiosArgs;
|
|
481
|
+
return __generator(this, function (_a) {
|
|
482
|
+
switch (_a.label) {
|
|
483
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getBankAccount(code, authorization, options)];
|
|
484
|
+
case 1:
|
|
485
|
+
localVarAxiosArgs = _a.sent();
|
|
486
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
487
|
+
}
|
|
488
|
+
});
|
|
489
|
+
});
|
|
490
|
+
},
|
|
491
|
+
/**
|
|
492
|
+
* Returns a list of bank accounts you’ve previously created. The bank accounts are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.
|
|
249
493
|
* @summary List bank accounts
|
|
250
494
|
* @param {string} [authorization] Bearer Token
|
|
251
495
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -271,6 +515,50 @@ var BankAccountsApiFp = function (configuration) {
|
|
|
271
515
|
});
|
|
272
516
|
});
|
|
273
517
|
},
|
|
518
|
+
/**
|
|
519
|
+
* Set primary bank account
|
|
520
|
+
* @summary Set primary bank account
|
|
521
|
+
* @param {string} code Code of the bank account to set primary
|
|
522
|
+
* @param {SetPrimaryBankAccountRequestDtoRest} setPrimaryBankAccountRequestDtoRest
|
|
523
|
+
* @param {string} [authorization] Bearer Token
|
|
524
|
+
* @param {*} [options] Override http request option.
|
|
525
|
+
* @throws {RequiredError}
|
|
526
|
+
*/
|
|
527
|
+
setPrimaryBankAccount: function (code, setPrimaryBankAccountRequestDtoRest, authorization, options) {
|
|
528
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
529
|
+
var localVarAxiosArgs;
|
|
530
|
+
return __generator(this, function (_a) {
|
|
531
|
+
switch (_a.label) {
|
|
532
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.setPrimaryBankAccount(code, setPrimaryBankAccountRequestDtoRest, authorization, options)];
|
|
533
|
+
case 1:
|
|
534
|
+
localVarAxiosArgs = _a.sent();
|
|
535
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
536
|
+
}
|
|
537
|
+
});
|
|
538
|
+
});
|
|
539
|
+
},
|
|
540
|
+
/**
|
|
541
|
+
* Update a bank account by code
|
|
542
|
+
* @summary Update the Update bank account
|
|
543
|
+
* @param {string} code Unique identifier for the object.
|
|
544
|
+
* @param {UpdateBankAccountRequestDtoRest} updateBankAccountRequestDtoRest
|
|
545
|
+
* @param {string} [authorization] Bearer Token
|
|
546
|
+
* @param {*} [options] Override http request option.
|
|
547
|
+
* @throws {RequiredError}
|
|
548
|
+
*/
|
|
549
|
+
updateBankAccount: function (code, updateBankAccountRequestDtoRest, authorization, options) {
|
|
550
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
551
|
+
var localVarAxiosArgs;
|
|
552
|
+
return __generator(this, function (_a) {
|
|
553
|
+
switch (_a.label) {
|
|
554
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateBankAccount(code, updateBankAccountRequestDtoRest, authorization, options)];
|
|
555
|
+
case 1:
|
|
556
|
+
localVarAxiosArgs = _a.sent();
|
|
557
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
558
|
+
}
|
|
559
|
+
});
|
|
560
|
+
});
|
|
561
|
+
},
|
|
274
562
|
};
|
|
275
563
|
};
|
|
276
564
|
exports.BankAccountsApiFp = BankAccountsApiFp;
|
|
@@ -284,16 +572,38 @@ var BankAccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
284
572
|
/**
|
|
285
573
|
* Creates a bank account for a specified account.
|
|
286
574
|
* @summary Create a bank account
|
|
287
|
-
* @param {
|
|
575
|
+
* @param {CreateBankAccountRequestDto} createBankAccountRequestDto
|
|
288
576
|
* @param {string} [authorization] Bearer Token
|
|
289
577
|
* @param {*} [options] Override http request option.
|
|
290
578
|
* @throws {RequiredError}
|
|
291
579
|
*/
|
|
292
|
-
createBankAccount: function (
|
|
293
|
-
return localVarFp.createBankAccount(
|
|
580
|
+
createBankAccount: function (createBankAccountRequestDto, authorization, options) {
|
|
581
|
+
return localVarFp.createBankAccount(createBankAccountRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
294
582
|
},
|
|
295
583
|
/**
|
|
296
|
-
*
|
|
584
|
+
* Deletes a bank account by code
|
|
585
|
+
* @summary Delete the bank account
|
|
586
|
+
* @param {string} code Unique identifier for the object.
|
|
587
|
+
* @param {string} [authorization] Bearer Token
|
|
588
|
+
* @param {*} [options] Override http request option.
|
|
589
|
+
* @throws {RequiredError}
|
|
590
|
+
*/
|
|
591
|
+
deleteBankAccount: function (code, authorization, options) {
|
|
592
|
+
return localVarFp.deleteBankAccount(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
593
|
+
},
|
|
594
|
+
/**
|
|
595
|
+
* Retrieves the details of the Bank Account that was previously created. Supply the unique Bank Account code that was returned when you created it and Emil Api will return the corresponding Bank Account information.
|
|
596
|
+
* @summary Retrieve the Bank Account
|
|
597
|
+
* @param {string} code Unique identifier for the object.
|
|
598
|
+
* @param {string} [authorization] Bearer Token
|
|
599
|
+
* @param {*} [options] Override http request option.
|
|
600
|
+
* @throws {RequiredError}
|
|
601
|
+
*/
|
|
602
|
+
getBankAccount: function (code, authorization, options) {
|
|
603
|
+
return localVarFp.getBankAccount(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
604
|
+
},
|
|
605
|
+
/**
|
|
606
|
+
* Returns a list of bank accounts you’ve previously created. The bank accounts are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.
|
|
297
607
|
* @summary List bank accounts
|
|
298
608
|
* @param {string} [authorization] Bearer Token
|
|
299
609
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -309,6 +619,30 @@ var BankAccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
309
619
|
listBankAccounts: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
310
620
|
return localVarFp.listBankAccounts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
311
621
|
},
|
|
622
|
+
/**
|
|
623
|
+
* Set primary bank account
|
|
624
|
+
* @summary Set primary bank account
|
|
625
|
+
* @param {string} code Code of the bank account to set primary
|
|
626
|
+
* @param {SetPrimaryBankAccountRequestDtoRest} setPrimaryBankAccountRequestDtoRest
|
|
627
|
+
* @param {string} [authorization] Bearer Token
|
|
628
|
+
* @param {*} [options] Override http request option.
|
|
629
|
+
* @throws {RequiredError}
|
|
630
|
+
*/
|
|
631
|
+
setPrimaryBankAccount: function (code, setPrimaryBankAccountRequestDtoRest, authorization, options) {
|
|
632
|
+
return localVarFp.setPrimaryBankAccount(code, setPrimaryBankAccountRequestDtoRest, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
633
|
+
},
|
|
634
|
+
/**
|
|
635
|
+
* Update a bank account by code
|
|
636
|
+
* @summary Update the Update bank account
|
|
637
|
+
* @param {string} code Unique identifier for the object.
|
|
638
|
+
* @param {UpdateBankAccountRequestDtoRest} updateBankAccountRequestDtoRest
|
|
639
|
+
* @param {string} [authorization] Bearer Token
|
|
640
|
+
* @param {*} [options] Override http request option.
|
|
641
|
+
* @throws {RequiredError}
|
|
642
|
+
*/
|
|
643
|
+
updateBankAccount: function (code, updateBankAccountRequestDtoRest, authorization, options) {
|
|
644
|
+
return localVarFp.updateBankAccount(code, updateBankAccountRequestDtoRest, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
645
|
+
},
|
|
312
646
|
};
|
|
313
647
|
};
|
|
314
648
|
exports.BankAccountsApiFactory = BankAccountsApiFactory;
|
|
@@ -333,10 +667,34 @@ var BankAccountsApi = /** @class */ (function (_super) {
|
|
|
333
667
|
*/
|
|
334
668
|
BankAccountsApi.prototype.createBankAccount = function (requestParameters, options) {
|
|
335
669
|
var _this = this;
|
|
336
|
-
return (0, exports.BankAccountsApiFp)(this.configuration).createBankAccount(requestParameters.
|
|
670
|
+
return (0, exports.BankAccountsApiFp)(this.configuration).createBankAccount(requestParameters.createBankAccountRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
671
|
+
};
|
|
672
|
+
/**
|
|
673
|
+
* Deletes a bank account by code
|
|
674
|
+
* @summary Delete the bank account
|
|
675
|
+
* @param {BankAccountsApiDeleteBankAccountRequest} requestParameters Request parameters.
|
|
676
|
+
* @param {*} [options] Override http request option.
|
|
677
|
+
* @throws {RequiredError}
|
|
678
|
+
* @memberof BankAccountsApi
|
|
679
|
+
*/
|
|
680
|
+
BankAccountsApi.prototype.deleteBankAccount = function (requestParameters, options) {
|
|
681
|
+
var _this = this;
|
|
682
|
+
return (0, exports.BankAccountsApiFp)(this.configuration).deleteBankAccount(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
683
|
+
};
|
|
684
|
+
/**
|
|
685
|
+
* Retrieves the details of the Bank Account that was previously created. Supply the unique Bank Account code that was returned when you created it and Emil Api will return the corresponding Bank Account information.
|
|
686
|
+
* @summary Retrieve the Bank Account
|
|
687
|
+
* @param {BankAccountsApiGetBankAccountRequest} requestParameters Request parameters.
|
|
688
|
+
* @param {*} [options] Override http request option.
|
|
689
|
+
* @throws {RequiredError}
|
|
690
|
+
* @memberof BankAccountsApi
|
|
691
|
+
*/
|
|
692
|
+
BankAccountsApi.prototype.getBankAccount = function (requestParameters, options) {
|
|
693
|
+
var _this = this;
|
|
694
|
+
return (0, exports.BankAccountsApiFp)(this.configuration).getBankAccount(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
337
695
|
};
|
|
338
696
|
/**
|
|
339
|
-
* Returns a list of bank accounts you’ve previously created.
|
|
697
|
+
* Returns a list of bank accounts you’ve previously created. The bank accounts are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.
|
|
340
698
|
* @summary List bank accounts
|
|
341
699
|
* @param {BankAccountsApiListBankAccountsRequest} requestParameters Request parameters.
|
|
342
700
|
* @param {*} [options] Override http request option.
|
|
@@ -348,6 +706,30 @@ var BankAccountsApi = /** @class */ (function (_super) {
|
|
|
348
706
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
349
707
|
return (0, exports.BankAccountsApiFp)(this.configuration).listBankAccounts(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
350
708
|
};
|
|
709
|
+
/**
|
|
710
|
+
* Set primary bank account
|
|
711
|
+
* @summary Set primary bank account
|
|
712
|
+
* @param {BankAccountsApiSetPrimaryBankAccountRequest} requestParameters Request parameters.
|
|
713
|
+
* @param {*} [options] Override http request option.
|
|
714
|
+
* @throws {RequiredError}
|
|
715
|
+
* @memberof BankAccountsApi
|
|
716
|
+
*/
|
|
717
|
+
BankAccountsApi.prototype.setPrimaryBankAccount = function (requestParameters, options) {
|
|
718
|
+
var _this = this;
|
|
719
|
+
return (0, exports.BankAccountsApiFp)(this.configuration).setPrimaryBankAccount(requestParameters.code, requestParameters.setPrimaryBankAccountRequestDtoRest, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
720
|
+
};
|
|
721
|
+
/**
|
|
722
|
+
* Update a bank account by code
|
|
723
|
+
* @summary Update the Update bank account
|
|
724
|
+
* @param {BankAccountsApiUpdateBankAccountRequest} requestParameters Request parameters.
|
|
725
|
+
* @param {*} [options] Override http request option.
|
|
726
|
+
* @throws {RequiredError}
|
|
727
|
+
* @memberof BankAccountsApi
|
|
728
|
+
*/
|
|
729
|
+
BankAccountsApi.prototype.updateBankAccount = function (requestParameters, options) {
|
|
730
|
+
var _this = this;
|
|
731
|
+
return (0, exports.BankAccountsApiFp)(this.configuration).updateBankAccount(requestParameters.code, requestParameters.updateBankAccountRequestDtoRest, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
732
|
+
};
|
|
351
733
|
return BankAccountsApi;
|
|
352
734
|
}(base_1.BaseAPI));
|
|
353
735
|
exports.BankAccountsApi = BankAccountsApi;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Emil Payment Service
|
|
3
|
-
* This service directly communicates with the various Payment Service Providers (PSPs)
|
|
3
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0
|
|
6
6
|
* Contact: kontakt@emil.de
|
|
@@ -22,7 +22,7 @@ import { UnlinkBankTransactionRequestDtoRest } from '../models';
|
|
|
22
22
|
*/
|
|
23
23
|
export declare const BankTransactionApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
24
24
|
/**
|
|
25
|
-
* Retrieves the details of the Bank Transaction that was previously created. Supply the unique Bank Transaction code
|
|
25
|
+
* Retrieves the details of the Bank Transaction that was previously created. Supply the unique Bank Transaction code that was returned when you created it and Emil Api will return the corresponding Bank Transaction information.
|
|
26
26
|
* @summary Retrieve the Bank Transaction
|
|
27
27
|
* @param {string} code
|
|
28
28
|
* @param {string} [authorization] Bearer Token
|
|
@@ -51,7 +51,7 @@ export declare const BankTransactionApiAxiosParamCreator: (configuration?: Confi
|
|
|
51
51
|
*/
|
|
52
52
|
linkBankTransaction: (code: string, linkBankTransactionRequestDtoRest: LinkBankTransactionRequestDtoRest, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
53
53
|
/**
|
|
54
|
-
* Returns a list of bank transactions you have previously created.
|
|
54
|
+
* Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
55
55
|
* @summary List bank transactions
|
|
56
56
|
* @param {string} [authorization] Bearer Token
|
|
57
57
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -82,7 +82,7 @@ export declare const BankTransactionApiAxiosParamCreator: (configuration?: Confi
|
|
|
82
82
|
*/
|
|
83
83
|
export declare const BankTransactionApiFp: (configuration?: Configuration) => {
|
|
84
84
|
/**
|
|
85
|
-
* Retrieves the details of the Bank Transaction that was previously created. Supply the unique Bank Transaction code
|
|
85
|
+
* Retrieves the details of the Bank Transaction that was previously created. Supply the unique Bank Transaction code that was returned when you created it and Emil Api will return the corresponding Bank Transaction information.
|
|
86
86
|
* @summary Retrieve the Bank Transaction
|
|
87
87
|
* @param {string} code
|
|
88
88
|
* @param {string} [authorization] Bearer Token
|
|
@@ -111,7 +111,7 @@ export declare const BankTransactionApiFp: (configuration?: Configuration) => {
|
|
|
111
111
|
*/
|
|
112
112
|
linkBankTransaction(code: string, linkBankTransactionRequestDtoRest: LinkBankTransactionRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBankTransactionsResponseClass>>;
|
|
113
113
|
/**
|
|
114
|
-
* Returns a list of bank transactions you have previously created.
|
|
114
|
+
* Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
115
115
|
* @summary List bank transactions
|
|
116
116
|
* @param {string} [authorization] Bearer Token
|
|
117
117
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -142,7 +142,7 @@ export declare const BankTransactionApiFp: (configuration?: Configuration) => {
|
|
|
142
142
|
*/
|
|
143
143
|
export declare const BankTransactionApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
144
144
|
/**
|
|
145
|
-
* Retrieves the details of the Bank Transaction that was previously created. Supply the unique Bank Transaction code
|
|
145
|
+
* Retrieves the details of the Bank Transaction that was previously created. Supply the unique Bank Transaction code that was returned when you created it and Emil Api will return the corresponding Bank Transaction information.
|
|
146
146
|
* @summary Retrieve the Bank Transaction
|
|
147
147
|
* @param {string} code
|
|
148
148
|
* @param {string} [authorization] Bearer Token
|
|
@@ -171,7 +171,7 @@ export declare const BankTransactionApiFactory: (configuration?: Configuration,
|
|
|
171
171
|
*/
|
|
172
172
|
linkBankTransaction(code: string, linkBankTransactionRequestDtoRest: LinkBankTransactionRequestDtoRest, authorization?: string, options?: any): AxiosPromise<GetBankTransactionsResponseClass>;
|
|
173
173
|
/**
|
|
174
|
-
* Returns a list of bank transactions you have previously created.
|
|
174
|
+
* Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
175
175
|
* @summary List bank transactions
|
|
176
176
|
* @param {string} [authorization] Bearer Token
|
|
177
177
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -353,7 +353,7 @@ export interface BankTransactionApiUnlinkBankTransactionRequest {
|
|
|
353
353
|
*/
|
|
354
354
|
export declare class BankTransactionApi extends BaseAPI {
|
|
355
355
|
/**
|
|
356
|
-
* Retrieves the details of the Bank Transaction that was previously created. Supply the unique Bank Transaction code
|
|
356
|
+
* Retrieves the details of the Bank Transaction that was previously created. Supply the unique Bank Transaction code that was returned when you created it and Emil Api will return the corresponding Bank Transaction information.
|
|
357
357
|
* @summary Retrieve the Bank Transaction
|
|
358
358
|
* @param {BankTransactionApiGetBankTransactionRequest} requestParameters Request parameters.
|
|
359
359
|
* @param {*} [options] Override http request option.
|
|
@@ -380,7 +380,7 @@ export declare class BankTransactionApi extends BaseAPI {
|
|
|
380
380
|
*/
|
|
381
381
|
linkBankTransaction(requestParameters: BankTransactionApiLinkBankTransactionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetBankTransactionsResponseClass, any>>;
|
|
382
382
|
/**
|
|
383
|
-
* Returns a list of bank transactions you have previously created.
|
|
383
|
+
* Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
384
384
|
* @summary List bank transactions
|
|
385
385
|
* @param {BankTransactionApiListBankTransactionsRequest} requestParameters Request parameters.
|
|
386
386
|
* @param {*} [options] Override http request option.
|