@emilgroup/payment-sdk 1.4.1-beta.3 → 1.4.1-beta.4
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 +0 -35
- package/README.md +2 -2
- package/api/bank-accounts-api.ts +17 -21
- package/api/bank-transaction-api.ts +3 -205
- package/api/default-api.ts +1 -1
- package/api/payment-methods-api.ts +38 -42
- package/api/payment-reminders-api.ts +9 -13
- package/api/payment-setup-api.ts +29 -37
- package/api/payments-api.ts +26 -28
- package/api/tenant-bank-account-api.ts +1 -1
- package/api/webhooks-api.ts +1 -1
- package/api.ts +1 -3
- package/base.ts +1 -1
- package/common.ts +2 -2
- package/configuration.ts +1 -1
- package/dist/api/bank-accounts-api.d.ts +13 -15
- package/dist/api/bank-accounts-api.js +13 -13
- package/dist/api/bank-transaction-api.d.ts +4 -114
- package/dist/api/bank-transaction-api.js +1 -185
- 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 +28 -32
- package/dist/api/payment-methods-api.js +29 -25
- package/dist/api/payment-reminders-api.d.ts +13 -15
- package/dist/api/payment-reminders-api.js +1 -1
- package/dist/api/payment-setup-api.d.ts +19 -23
- package/dist/api/payment-setup-api.js +25 -25
- package/dist/api/payments-api.d.ts +22 -25
- package/dist/api/payments-api.js +17 -13
- package/dist/api/tenant-bank-account-api.d.ts +1 -1
- package/dist/api/tenant-bank-account-api.js +1 -1
- package/dist/api/webhooks-api.d.ts +1 -1
- package/dist/api/webhooks-api.js +1 -1
- package/dist/api.d.ts +1 -2
- package/dist/api.js +1 -2
- 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-transaction-response-class.d.ts +7 -1
- package/dist/models/bank-transaction-response-class.js +1 -1
- 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 +4 -4
- package/dist/models/create-payment-request-dto.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/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-transactions-response-class.d.ts +1 -1
- package/dist/models/get-bank-transactions-response-class.js +1 -1
- package/dist/models/get-request-dto.d.ts +2 -2
- 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 +0 -34
- package/dist/models/index.js +0 -34
- 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/list-bank-transactions-response-class.d.ts +1 -1
- package/dist/models/list-bank-transactions-response-class.js +1 -1
- 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/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 +2 -9
- package/dist/models/validate-pspconfig-request-dto.js +1 -8
- package/index.ts +1 -1
- package/models/bank-transaction-response-class.ts +7 -1
- package/models/create-payment-reminder-request-dto.ts +1 -1
- package/models/create-payment-request-dto.ts +4 -4
- package/models/create-tenant-bank-account-request-dto.ts +1 -1
- package/models/deactivate-payment-reminder-request-dto.ts +1 -1
- package/models/get-bank-transactions-response-class.ts +1 -1
- package/models/get-request-dto.ts +2 -2
- package/models/get-tenant-bank-account-response-class.ts +1 -1
- package/models/index.ts +0 -34
- package/models/inline-response200.ts +1 -1
- package/models/inline-response503.ts +1 -1
- package/models/list-bank-transactions-response-class.ts +1 -1
- package/models/tenant-bank-account-response-class.ts +1 -1
- package/models/transaction-class.ts +1 -1
- package/models/update-tenant-bank-account-rest-request-dto.ts +1 -1
- package/models/validate-pspconfig-request-dto.ts +2 -12
- package/package.json +1 -1
- package/api/refunds-api.ts +0 -474
- package/dist/api/refunds-api.d.ts +0 -269
- package/dist/api/refunds-api.js +0 -447
- package/dist/models/bank-account-class.d.ts +0 -54
- package/dist/models/bank-account-class.js +0 -15
- package/dist/models/billing-profile-dto.d.ts +0 -38
- package/dist/models/billing-profile-dto.js +0 -15
- package/dist/models/billing-profile-limited-response-dto.d.ts +0 -54
- package/dist/models/billing-profile-limited-response-dto.js +0 -15
- package/dist/models/complete-braintree-payment-setup-request-dto.d.ts +0 -48
- package/dist/models/complete-braintree-payment-setup-request-dto.js +0 -15
- package/dist/models/complete-payment-setup-request-dto.d.ts +0 -32
- package/dist/models/complete-payment-setup-request-dto.js +0 -15
- package/dist/models/complete-payment-setup-response-class.d.ts +0 -25
- package/dist/models/complete-payment-setup-response-class.js +0 -15
- package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +0 -60
- package/dist/models/complete-stripe-payment-setup-request-dto.js +0 -15
- package/dist/models/create-bank-account-request-dto.d.ts +0 -30
- package/dist/models/create-bank-account-request-dto.js +0 -15
- package/dist/models/create-payment-method-response-class.d.ts +0 -25
- package/dist/models/create-payment-method-response-class.js +0 -15
- package/dist/models/create-payment-response-class.d.ts +0 -25
- package/dist/models/create-payment-response-class.js +0 -15
- package/dist/models/create-psp-payment-method-request-dto.d.ts +0 -61
- package/dist/models/create-psp-payment-method-request-dto.js +0 -32
- package/dist/models/create-refund-request-dto.d.ts +0 -24
- package/dist/models/create-refund-request-dto.js +0 -15
- package/dist/models/create-refund-response-class.d.ts +0 -25
- package/dist/models/create-refund-response-class.js +0 -15
- package/dist/models/deactivate-payment-reminder-response-class.d.ts +0 -25
- package/dist/models/deactivate-payment-reminder-response-class.js +0 -15
- package/dist/models/get-payment-method-response-class.d.ts +0 -25
- package/dist/models/get-payment-method-response-class.js +0 -15
- package/dist/models/get-payment-response-class.d.ts +0 -25
- package/dist/models/get-payment-response-class.js +0 -15
- package/dist/models/get-refund-response-class.d.ts +0 -25
- package/dist/models/get-refund-response-class.js +0 -15
- package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +0 -30
- package/dist/models/initiate-braintree-payment-setup-request-dto.js +0 -15
- package/dist/models/initiate-braintree-payment-setup-response-class.d.ts +0 -24
- package/dist/models/initiate-braintree-payment-setup-response-class.js +0 -15
- package/dist/models/initiate-payment-setup-request-dto.d.ts +0 -44
- package/dist/models/initiate-payment-setup-request-dto.js +0 -15
- package/dist/models/initiate-payment-setup-response-class.d.ts +0 -32
- package/dist/models/initiate-payment-setup-response-class.js +0 -15
- package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +0 -30
- package/dist/models/initiate-stripe-payment-setup-request-dto.js +0 -15
- package/dist/models/initiate-stripe-payment-setup-response-class.d.ts +0 -30
- package/dist/models/initiate-stripe-payment-setup-response-class.js +0 -15
- package/dist/models/list-bank-accounts-response-class.d.ts +0 -31
- package/dist/models/list-bank-accounts-response-class.js +0 -15
- package/dist/models/list-payment-methods-response-class.d.ts +0 -31
- package/dist/models/list-payment-methods-response-class.js +0 -15
- package/dist/models/list-payment-reminders-response-class.d.ts +0 -31
- package/dist/models/list-payment-reminders-response-class.js +0 -15
- package/dist/models/list-payments-response-class.d.ts +0 -31
- package/dist/models/list-payments-response-class.js +0 -15
- package/dist/models/list-refunds-response-class.d.ts +0 -31
- package/dist/models/list-refunds-response-class.js +0 -15
- package/dist/models/payment-class.d.ts +0 -103
- package/dist/models/payment-class.js +0 -15
- package/dist/models/payment-method-class.d.ts +0 -66
- package/dist/models/payment-method-class.js +0 -15
- package/dist/models/payment-reminder-class.d.ts +0 -112
- package/dist/models/payment-reminder-class.js +0 -36
- package/dist/models/refund-class.d.ts +0 -104
- package/dist/models/refund-class.js +0 -28
- package/dist/models/sepa-direct-dto.d.ts +0 -24
- package/dist/models/sepa-direct-dto.js +0 -15
- package/dist/models/symphony-profile-limited-response-dto.d.ts +0 -42
- package/dist/models/symphony-profile-limited-response-dto.js +0 -15
- package/models/bank-account-class.ts +0 -60
- package/models/billing-profile-dto.ts +0 -44
- package/models/billing-profile-limited-response-dto.ts +0 -60
- package/models/complete-braintree-payment-setup-request-dto.ts +0 -54
- package/models/complete-payment-setup-request-dto.ts +0 -38
- package/models/complete-payment-setup-response-class.ts +0 -31
- package/models/complete-stripe-payment-setup-request-dto.ts +0 -66
- package/models/create-bank-account-request-dto.ts +0 -36
- package/models/create-payment-method-response-class.ts +0 -31
- package/models/create-payment-response-class.ts +0 -31
- package/models/create-psp-payment-method-request-dto.ts +0 -70
- package/models/create-refund-request-dto.ts +0 -30
- package/models/create-refund-response-class.ts +0 -31
- package/models/deactivate-payment-reminder-response-class.ts +0 -31
- package/models/get-payment-method-response-class.ts +0 -31
- package/models/get-payment-response-class.ts +0 -31
- package/models/get-refund-response-class.ts +0 -31
- package/models/initiate-braintree-payment-setup-request-dto.ts +0 -36
- package/models/initiate-braintree-payment-setup-response-class.ts +0 -30
- package/models/initiate-payment-setup-request-dto.ts +0 -50
- package/models/initiate-payment-setup-response-class.ts +0 -38
- package/models/initiate-stripe-payment-setup-request-dto.ts +0 -36
- package/models/initiate-stripe-payment-setup-response-class.ts +0 -36
- package/models/list-bank-accounts-response-class.ts +0 -37
- package/models/list-payment-methods-response-class.ts +0 -37
- package/models/list-payment-reminders-response-class.ts +0 -37
- package/models/list-payments-response-class.ts +0 -37
- package/models/list-refunds-response-class.ts +0 -37
- package/models/payment-class.ts +0 -109
- package/models/payment-method-class.ts +0 -72
- package/models/payment-reminder-class.ts +0 -122
- package/models/refund-class.ts +0 -114
- package/models/sepa-direct-dto.ts +0 -30
- package/models/symphony-profile-limited-response-dto.ts +0 -48
package/api/payments-api.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* 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.
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0
|
|
8
|
-
* Contact:
|
|
8
|
+
* Contact: z
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
|
@@ -22,12 +22,6 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
|
|
|
22
22
|
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
|
|
23
23
|
// @ts-ignore
|
|
24
24
|
import { CreatePaymentRequestDto } from '../models';
|
|
25
|
-
// @ts-ignore
|
|
26
|
-
import { CreatePaymentResponseClass } from '../models';
|
|
27
|
-
// @ts-ignore
|
|
28
|
-
import { GetPaymentResponseClass } from '../models';
|
|
29
|
-
// @ts-ignore
|
|
30
|
-
import { ListPaymentsResponseClass } from '../models';
|
|
31
25
|
/**
|
|
32
26
|
* PaymentsApi - axios parameter creator
|
|
33
27
|
* @export
|
|
@@ -92,15 +86,19 @@ export const PaymentsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
92
86
|
* Retrieves the details of a payment that was previously created. Supply the unique payment code that was returned when you created the payment and Emil Api will return the corresponding payment information.
|
|
93
87
|
* @summary Retrieve a payment
|
|
94
88
|
* @param {string} code Unique identifier for the object.
|
|
89
|
+
* @param {string} expand Fields to expand response by
|
|
90
|
+
* @param {string} expand2 Fields to expand response by
|
|
95
91
|
* @param {string} [authorization] Bearer Token
|
|
96
|
-
* @param {string} [expand] Fields to expand response by
|
|
97
|
-
* @param {string} [expand2] Fields to expand response by
|
|
98
92
|
* @param {*} [options] Override http request option.
|
|
99
93
|
* @throws {RequiredError}
|
|
100
94
|
*/
|
|
101
|
-
getPayment: async (code: string,
|
|
95
|
+
getPayment: async (code: string, expand: string, expand2: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
102
96
|
// verify required parameter 'code' is not null or undefined
|
|
103
97
|
assertParamExists('getPayment', 'code', code)
|
|
98
|
+
// verify required parameter 'expand' is not null or undefined
|
|
99
|
+
assertParamExists('getPayment', 'expand', expand)
|
|
100
|
+
// verify required parameter 'expand2' is not null or undefined
|
|
101
|
+
assertParamExists('getPayment', 'expand2', expand2)
|
|
104
102
|
const localVarPath = `/paymentservice/v1/payments/{code}`;
|
|
105
103
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
106
104
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -241,7 +239,7 @@ export const PaymentsApiFp = function(configuration?: Configuration) {
|
|
|
241
239
|
* @param {*} [options] Override http request option.
|
|
242
240
|
* @throws {RequiredError}
|
|
243
241
|
*/
|
|
244
|
-
async createPayment(idempotencyKey: string, createPaymentRequestDto: CreatePaymentRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
242
|
+
async createPayment(idempotencyKey: string, createPaymentRequestDto: CreatePaymentRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
245
243
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createPayment(idempotencyKey, createPaymentRequestDto, authorization, options);
|
|
246
244
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
247
245
|
},
|
|
@@ -249,14 +247,14 @@ export const PaymentsApiFp = function(configuration?: Configuration) {
|
|
|
249
247
|
* Retrieves the details of a payment that was previously created. Supply the unique payment code that was returned when you created the payment and Emil Api will return the corresponding payment information.
|
|
250
248
|
* @summary Retrieve a payment
|
|
251
249
|
* @param {string} code Unique identifier for the object.
|
|
250
|
+
* @param {string} expand Fields to expand response by
|
|
251
|
+
* @param {string} expand2 Fields to expand response by
|
|
252
252
|
* @param {string} [authorization] Bearer Token
|
|
253
|
-
* @param {string} [expand] Fields to expand response by
|
|
254
|
-
* @param {string} [expand2] Fields to expand response by
|
|
255
253
|
* @param {*} [options] Override http request option.
|
|
256
254
|
* @throws {RequiredError}
|
|
257
255
|
*/
|
|
258
|
-
async getPayment(code: string,
|
|
259
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getPayment(code,
|
|
256
|
+
async getPayment(code: string, expand: string, expand2: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
257
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getPayment(code, expand, expand2, authorization, options);
|
|
260
258
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
261
259
|
},
|
|
262
260
|
/**
|
|
@@ -273,7 +271,7 @@ export const PaymentsApiFp = function(configuration?: Configuration) {
|
|
|
273
271
|
* @param {*} [options] Override http request option.
|
|
274
272
|
* @throws {RequiredError}
|
|
275
273
|
*/
|
|
276
|
-
async listPayments(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
274
|
+
async listPayments(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>> {
|
|
277
275
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listPayments(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
278
276
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
279
277
|
},
|
|
@@ -296,21 +294,21 @@ export const PaymentsApiFactory = function (configuration?: Configuration, baseP
|
|
|
296
294
|
* @param {*} [options] Override http request option.
|
|
297
295
|
* @throws {RequiredError}
|
|
298
296
|
*/
|
|
299
|
-
createPayment(idempotencyKey: string, createPaymentRequestDto: CreatePaymentRequestDto, authorization?: string, options?: any): AxiosPromise<
|
|
297
|
+
createPayment(idempotencyKey: string, createPaymentRequestDto: CreatePaymentRequestDto, authorization?: string, options?: any): AxiosPromise<void> {
|
|
300
298
|
return localVarFp.createPayment(idempotencyKey, createPaymentRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
301
299
|
},
|
|
302
300
|
/**
|
|
303
301
|
* Retrieves the details of a payment that was previously created. Supply the unique payment code that was returned when you created the payment and Emil Api will return the corresponding payment information.
|
|
304
302
|
* @summary Retrieve a payment
|
|
305
303
|
* @param {string} code Unique identifier for the object.
|
|
304
|
+
* @param {string} expand Fields to expand response by
|
|
305
|
+
* @param {string} expand2 Fields to expand response by
|
|
306
306
|
* @param {string} [authorization] Bearer Token
|
|
307
|
-
* @param {string} [expand] Fields to expand response by
|
|
308
|
-
* @param {string} [expand2] Fields to expand response by
|
|
309
307
|
* @param {*} [options] Override http request option.
|
|
310
308
|
* @throws {RequiredError}
|
|
311
309
|
*/
|
|
312
|
-
getPayment(code: string,
|
|
313
|
-
return localVarFp.getPayment(code,
|
|
310
|
+
getPayment(code: string, expand: string, expand2: string, authorization?: string, options?: any): AxiosPromise<void> {
|
|
311
|
+
return localVarFp.getPayment(code, expand, expand2, authorization, options).then((request) => request(axios, basePath));
|
|
314
312
|
},
|
|
315
313
|
/**
|
|
316
314
|
* Returns a list of payments you’ve previously created. The payments are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.
|
|
@@ -326,7 +324,7 @@ export const PaymentsApiFactory = function (configuration?: Configuration, baseP
|
|
|
326
324
|
* @param {*} [options] Override http request option.
|
|
327
325
|
* @throws {RequiredError}
|
|
328
326
|
*/
|
|
329
|
-
listPayments(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<
|
|
327
|
+
listPayments(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<void> {
|
|
330
328
|
return localVarFp.listPayments(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
331
329
|
},
|
|
332
330
|
};
|
|
@@ -374,25 +372,25 @@ export interface PaymentsApiGetPaymentRequest {
|
|
|
374
372
|
readonly code: string
|
|
375
373
|
|
|
376
374
|
/**
|
|
377
|
-
*
|
|
375
|
+
* Fields to expand response by
|
|
378
376
|
* @type {string}
|
|
379
377
|
* @memberof PaymentsApiGetPayment
|
|
380
378
|
*/
|
|
381
|
-
readonly
|
|
379
|
+
readonly expand: string
|
|
382
380
|
|
|
383
381
|
/**
|
|
384
382
|
* Fields to expand response by
|
|
385
383
|
* @type {string}
|
|
386
384
|
* @memberof PaymentsApiGetPayment
|
|
387
385
|
*/
|
|
388
|
-
readonly
|
|
386
|
+
readonly expand2: string
|
|
389
387
|
|
|
390
388
|
/**
|
|
391
|
-
*
|
|
389
|
+
* Bearer Token
|
|
392
390
|
* @type {string}
|
|
393
391
|
* @memberof PaymentsApiGetPayment
|
|
394
392
|
*/
|
|
395
|
-
readonly
|
|
393
|
+
readonly authorization?: string
|
|
396
394
|
}
|
|
397
395
|
|
|
398
396
|
/**
|
|
@@ -486,7 +484,7 @@ export class PaymentsApi extends BaseAPI {
|
|
|
486
484
|
* @memberof PaymentsApi
|
|
487
485
|
*/
|
|
488
486
|
public getPayment(requestParameters: PaymentsApiGetPaymentRequest, options?: AxiosRequestConfig) {
|
|
489
|
-
return PaymentsApiFp(this.configuration).getPayment(requestParameters.code, requestParameters.
|
|
487
|
+
return PaymentsApiFp(this.configuration).getPayment(requestParameters.code, requestParameters.expand, requestParameters.expand2, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
490
488
|
}
|
|
491
489
|
|
|
492
490
|
/**
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* 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.
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0
|
|
8
|
-
* Contact:
|
|
8
|
+
* Contact: z
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
package/api/webhooks-api.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* 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.
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0
|
|
8
|
-
* Contact:
|
|
8
|
+
* Contact: z
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
package/api.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* 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.
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0
|
|
8
|
-
* Contact:
|
|
8
|
+
* Contact: z
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
|
@@ -27,7 +27,6 @@ import { PaymentMethodsApi } from './api';
|
|
|
27
27
|
import { PaymentRemindersApi } from './api';
|
|
28
28
|
import { PaymentSetupApi } from './api';
|
|
29
29
|
import { PaymentsApi } from './api';
|
|
30
|
-
import { RefundsApi } from './api';
|
|
31
30
|
import { TenantBankAccountApi } from './api';
|
|
32
31
|
import { WebhooksApi } from './api';
|
|
33
32
|
|
|
@@ -39,7 +38,6 @@ export * from './api/payment-methods-api';
|
|
|
39
38
|
export * from './api/payment-reminders-api';
|
|
40
39
|
export * from './api/payment-setup-api';
|
|
41
40
|
export * from './api/payments-api';
|
|
42
|
-
export * from './api/refunds-api';
|
|
43
41
|
export * from './api/tenant-bank-account-api';
|
|
44
42
|
export * from './api/webhooks-api';
|
|
45
43
|
|
package/base.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* 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.
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0
|
|
8
|
-
* Contact:
|
|
8
|
+
* Contact: z
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
package/common.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* 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.
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0
|
|
8
|
-
* Contact:
|
|
8
|
+
* Contact: z
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
|
@@ -143,7 +143,7 @@ export const createRequestFunction = function (axiosArgs: RequestArgs, globalAxi
|
|
|
143
143
|
* 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.
|
|
144
144
|
*
|
|
145
145
|
* The version of the OpenAPI document: 1.0
|
|
146
|
-
* Contact:
|
|
146
|
+
* Contact: z
|
|
147
147
|
*
|
|
148
148
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
149
149
|
* https://openapi-generator.tech
|
package/configuration.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* 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.
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0
|
|
8
|
-
* Contact:
|
|
8
|
+
* Contact: z
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
|
@@ -3,7 +3,7 @@
|
|
|
3
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
|
-
* Contact:
|
|
6
|
+
* Contact: z
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
@@ -12,8 +12,6 @@
|
|
|
12
12
|
import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
13
13
|
import { Configuration } from '../configuration';
|
|
14
14
|
import { RequestArgs, BaseAPI } from '../base';
|
|
15
|
-
import { CreateBankAccountRequestDto } from '../models';
|
|
16
|
-
import { ListBankAccountsResponseClass } from '../models';
|
|
17
15
|
/**
|
|
18
16
|
* BankAccountsApi - axios parameter creator
|
|
19
17
|
* @export
|
|
@@ -22,12 +20,12 @@ export declare const BankAccountsApiAxiosParamCreator: (configuration?: Configur
|
|
|
22
20
|
/**
|
|
23
21
|
* Creates a bank account for a specified account.
|
|
24
22
|
* @summary Create a bank account
|
|
25
|
-
* @param {
|
|
23
|
+
* @param {object} body
|
|
26
24
|
* @param {string} [authorization] Bearer Token
|
|
27
25
|
* @param {*} [options] Override http request option.
|
|
28
26
|
* @throws {RequiredError}
|
|
29
27
|
*/
|
|
30
|
-
createBankAccount: (
|
|
28
|
+
createBankAccount: (body: object, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
31
29
|
/**
|
|
32
30
|
* Returns a list of bank accounts you’ve previously created. The bank accounts are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.
|
|
33
31
|
* @summary List bank accounts
|
|
@@ -52,12 +50,12 @@ export declare const BankAccountsApiFp: (configuration?: Configuration) => {
|
|
|
52
50
|
/**
|
|
53
51
|
* Creates a bank account for a specified account.
|
|
54
52
|
* @summary Create a bank account
|
|
55
|
-
* @param {
|
|
53
|
+
* @param {object} body
|
|
56
54
|
* @param {string} [authorization] Bearer Token
|
|
57
55
|
* @param {*} [options] Override http request option.
|
|
58
56
|
* @throws {RequiredError}
|
|
59
57
|
*/
|
|
60
|
-
createBankAccount(
|
|
58
|
+
createBankAccount(body: object, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
61
59
|
/**
|
|
62
60
|
* Returns a list of bank accounts you’ve previously created. The bank accounts are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.
|
|
63
61
|
* @summary List bank accounts
|
|
@@ -72,7 +70,7 @@ export declare const BankAccountsApiFp: (configuration?: Configuration) => {
|
|
|
72
70
|
* @param {*} [options] Override http request option.
|
|
73
71
|
* @throws {RequiredError}
|
|
74
72
|
*/
|
|
75
|
-
listBankAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
73
|
+
listBankAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
76
74
|
};
|
|
77
75
|
/**
|
|
78
76
|
* BankAccountsApi - factory interface
|
|
@@ -82,12 +80,12 @@ export declare const BankAccountsApiFactory: (configuration?: Configuration, bas
|
|
|
82
80
|
/**
|
|
83
81
|
* Creates a bank account for a specified account.
|
|
84
82
|
* @summary Create a bank account
|
|
85
|
-
* @param {
|
|
83
|
+
* @param {object} body
|
|
86
84
|
* @param {string} [authorization] Bearer Token
|
|
87
85
|
* @param {*} [options] Override http request option.
|
|
88
86
|
* @throws {RequiredError}
|
|
89
87
|
*/
|
|
90
|
-
createBankAccount(
|
|
88
|
+
createBankAccount(body: object, authorization?: string, options?: any): AxiosPromise<void>;
|
|
91
89
|
/**
|
|
92
90
|
* Returns a list of bank accounts you’ve previously created. The bank accounts are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.
|
|
93
91
|
* @summary List bank accounts
|
|
@@ -102,7 +100,7 @@ export declare const BankAccountsApiFactory: (configuration?: Configuration, bas
|
|
|
102
100
|
* @param {*} [options] Override http request option.
|
|
103
101
|
* @throws {RequiredError}
|
|
104
102
|
*/
|
|
105
|
-
listBankAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<
|
|
103
|
+
listBankAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<void>;
|
|
106
104
|
};
|
|
107
105
|
/**
|
|
108
106
|
* Request parameters for createBankAccount operation in BankAccountsApi.
|
|
@@ -112,10 +110,10 @@ export declare const BankAccountsApiFactory: (configuration?: Configuration, bas
|
|
|
112
110
|
export interface BankAccountsApiCreateBankAccountRequest {
|
|
113
111
|
/**
|
|
114
112
|
*
|
|
115
|
-
* @type {
|
|
113
|
+
* @type {object}
|
|
116
114
|
* @memberof BankAccountsApiCreateBankAccount
|
|
117
115
|
*/
|
|
118
|
-
readonly
|
|
116
|
+
readonly body: object;
|
|
119
117
|
/**
|
|
120
118
|
* Bearer Token
|
|
121
119
|
* @type {string}
|
|
@@ -193,7 +191,7 @@ export declare class BankAccountsApi extends BaseAPI {
|
|
|
193
191
|
* @throws {RequiredError}
|
|
194
192
|
* @memberof BankAccountsApi
|
|
195
193
|
*/
|
|
196
|
-
createBankAccount(requestParameters: BankAccountsApiCreateBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
194
|
+
createBankAccount(requestParameters: BankAccountsApiCreateBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
197
195
|
/**
|
|
198
196
|
* Returns a list of bank accounts you’ve previously created. The bank accounts are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.
|
|
199
197
|
* @summary List bank accounts
|
|
@@ -202,5 +200,5 @@ export declare class BankAccountsApi extends BaseAPI {
|
|
|
202
200
|
* @throws {RequiredError}
|
|
203
201
|
* @memberof BankAccountsApi
|
|
204
202
|
*/
|
|
205
|
-
listBankAccounts(requestParameters?: BankAccountsApiListBankAccountsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
203
|
+
listBankAccounts(requestParameters?: BankAccountsApiListBankAccountsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
206
204
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
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
|
-
* Contact:
|
|
9
|
+
* Contact: z
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
12
|
* https://openapi-generator.tech
|
|
@@ -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 {object} body
|
|
99
99
|
* @param {string} [authorization] Bearer Token
|
|
100
100
|
* @param {*} [options] Override http request option.
|
|
101
101
|
* @throws {RequiredError}
|
|
102
102
|
*/
|
|
103
|
-
createBankAccount: function (
|
|
103
|
+
createBankAccount: function (body, authorization, options) {
|
|
104
104
|
if (options === void 0) { options = {}; }
|
|
105
105
|
return __awaiter(_this, void 0, void 0, function () {
|
|
106
106
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
107
107
|
return __generator(this, function (_a) {
|
|
108
108
|
switch (_a.label) {
|
|
109
109
|
case 0:
|
|
110
|
-
// verify required parameter '
|
|
111
|
-
(0, common_1.assertParamExists)('createBankAccount', '
|
|
110
|
+
// verify required parameter 'body' is not null or undefined
|
|
111
|
+
(0, common_1.assertParamExists)('createBankAccount', 'body', body);
|
|
112
112
|
localVarPath = "/paymentservice/v1/bank-accounts";
|
|
113
113
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
114
114
|
if (configuration) {
|
|
@@ -132,7 +132,7 @@ var BankAccountsApiAxiosParamCreator = function (configuration) {
|
|
|
132
132
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
133
133
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
134
134
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
135
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
135
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
|
|
136
136
|
return [2 /*return*/, {
|
|
137
137
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
138
138
|
options: localVarRequestOptions,
|
|
@@ -226,17 +226,17 @@ var BankAccountsApiFp = function (configuration) {
|
|
|
226
226
|
/**
|
|
227
227
|
* Creates a bank account for a specified account.
|
|
228
228
|
* @summary Create a bank account
|
|
229
|
-
* @param {
|
|
229
|
+
* @param {object} body
|
|
230
230
|
* @param {string} [authorization] Bearer Token
|
|
231
231
|
* @param {*} [options] Override http request option.
|
|
232
232
|
* @throws {RequiredError}
|
|
233
233
|
*/
|
|
234
|
-
createBankAccount: function (
|
|
234
|
+
createBankAccount: function (body, authorization, options) {
|
|
235
235
|
return __awaiter(this, void 0, void 0, function () {
|
|
236
236
|
var localVarAxiosArgs;
|
|
237
237
|
return __generator(this, function (_a) {
|
|
238
238
|
switch (_a.label) {
|
|
239
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.createBankAccount(
|
|
239
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.createBankAccount(body, authorization, options)];
|
|
240
240
|
case 1:
|
|
241
241
|
localVarAxiosArgs = _a.sent();
|
|
242
242
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -284,13 +284,13 @@ var BankAccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
284
284
|
/**
|
|
285
285
|
* Creates a bank account for a specified account.
|
|
286
286
|
* @summary Create a bank account
|
|
287
|
-
* @param {
|
|
287
|
+
* @param {object} body
|
|
288
288
|
* @param {string} [authorization] Bearer Token
|
|
289
289
|
* @param {*} [options] Override http request option.
|
|
290
290
|
* @throws {RequiredError}
|
|
291
291
|
*/
|
|
292
|
-
createBankAccount: function (
|
|
293
|
-
return localVarFp.createBankAccount(
|
|
292
|
+
createBankAccount: function (body, authorization, options) {
|
|
293
|
+
return localVarFp.createBankAccount(body, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
294
294
|
},
|
|
295
295
|
/**
|
|
296
296
|
* Returns a list of bank accounts you’ve previously created. The bank accounts are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.
|
|
@@ -333,7 +333,7 @@ var BankAccountsApi = /** @class */ (function (_super) {
|
|
|
333
333
|
*/
|
|
334
334
|
BankAccountsApi.prototype.createBankAccount = function (requestParameters, options) {
|
|
335
335
|
var _this = this;
|
|
336
|
-
return (0, exports.BankAccountsApiFp)(this.configuration).createBankAccount(requestParameters.
|
|
336
|
+
return (0, exports.BankAccountsApiFp)(this.configuration).createBankAccount(requestParameters.body, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
337
337
|
};
|
|
338
338
|
/**
|
|
339
339
|
* Returns a list of bank accounts you’ve previously created. The bank accounts are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.
|
|
@@ -3,7 +3,7 @@
|
|
|
3
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
|
-
* Contact:
|
|
6
|
+
* Contact: z
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
@@ -38,15 +38,6 @@ export declare const BankTransactionApiAxiosParamCreator: (configuration?: Confi
|
|
|
38
38
|
* @throws {RequiredError}
|
|
39
39
|
*/
|
|
40
40
|
importBankTransactions: (authorization?: string, file?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
41
|
-
/**
|
|
42
|
-
* Links a bank transaction with an invoice
|
|
43
|
-
* @summary Link Bank Transaction
|
|
44
|
-
* @param {string} code Code of the bank transaction to link
|
|
45
|
-
* @param {string} [authorization] Bearer Token
|
|
46
|
-
* @param {*} [options] Override http request option.
|
|
47
|
-
* @throws {RequiredError}
|
|
48
|
-
*/
|
|
49
|
-
linkBankTransaction: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
50
41
|
/**
|
|
51
42
|
* 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.
|
|
52
43
|
* @summary List bank transactions
|
|
@@ -62,15 +53,6 @@ export declare const BankTransactionApiAxiosParamCreator: (configuration?: Confi
|
|
|
62
53
|
* @throws {RequiredError}
|
|
63
54
|
*/
|
|
64
55
|
listBankTransactions: (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: string, filters?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
65
|
-
/**
|
|
66
|
-
* Unlinks an already linked bank transaction
|
|
67
|
-
* @summary Unlink Bank Transaction
|
|
68
|
-
* @param {string} code Code of the bank transaction to unlink
|
|
69
|
-
* @param {string} [authorization] Bearer Token
|
|
70
|
-
* @param {*} [options] Override http request option.
|
|
71
|
-
* @throws {RequiredError}
|
|
72
|
-
*/
|
|
73
|
-
unlinkBankTransaction: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
74
56
|
};
|
|
75
57
|
/**
|
|
76
58
|
* BankTransactionApi - functional programming interface
|
|
@@ -96,15 +78,6 @@ export declare const BankTransactionApiFp: (configuration?: Configuration) => {
|
|
|
96
78
|
* @throws {RequiredError}
|
|
97
79
|
*/
|
|
98
80
|
importBankTransactions(authorization?: string, file?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListBankTransactionsResponseClass>>;
|
|
99
|
-
/**
|
|
100
|
-
* Links a bank transaction with an invoice
|
|
101
|
-
* @summary Link Bank Transaction
|
|
102
|
-
* @param {string} code Code of the bank transaction to link
|
|
103
|
-
* @param {string} [authorization] Bearer Token
|
|
104
|
-
* @param {*} [options] Override http request option.
|
|
105
|
-
* @throws {RequiredError}
|
|
106
|
-
*/
|
|
107
|
-
linkBankTransaction(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBankTransactionsResponseClass>>;
|
|
108
81
|
/**
|
|
109
82
|
* 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.
|
|
110
83
|
* @summary List bank transactions
|
|
@@ -119,16 +92,7 @@ export declare const BankTransactionApiFp: (configuration?: Configuration) => {
|
|
|
119
92
|
* @param {*} [options] Override http request option.
|
|
120
93
|
* @throws {RequiredError}
|
|
121
94
|
*/
|
|
122
|
-
listBankTransactions(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: string, filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
123
|
-
/**
|
|
124
|
-
* Unlinks an already linked bank transaction
|
|
125
|
-
* @summary Unlink Bank Transaction
|
|
126
|
-
* @param {string} code Code of the bank transaction to unlink
|
|
127
|
-
* @param {string} [authorization] Bearer Token
|
|
128
|
-
* @param {*} [options] Override http request option.
|
|
129
|
-
* @throws {RequiredError}
|
|
130
|
-
*/
|
|
131
|
-
unlinkBankTransaction(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBankTransactionsResponseClass>>;
|
|
95
|
+
listBankTransactions(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: string, filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
132
96
|
};
|
|
133
97
|
/**
|
|
134
98
|
* BankTransactionApi - factory interface
|
|
@@ -154,15 +118,6 @@ export declare const BankTransactionApiFactory: (configuration?: Configuration,
|
|
|
154
118
|
* @throws {RequiredError}
|
|
155
119
|
*/
|
|
156
120
|
importBankTransactions(authorization?: string, file?: any, options?: any): AxiosPromise<ListBankTransactionsResponseClass>;
|
|
157
|
-
/**
|
|
158
|
-
* Links a bank transaction with an invoice
|
|
159
|
-
* @summary Link Bank Transaction
|
|
160
|
-
* @param {string} code Code of the bank transaction to link
|
|
161
|
-
* @param {string} [authorization] Bearer Token
|
|
162
|
-
* @param {*} [options] Override http request option.
|
|
163
|
-
* @throws {RequiredError}
|
|
164
|
-
*/
|
|
165
|
-
linkBankTransaction(code: string, authorization?: string, options?: any): AxiosPromise<GetBankTransactionsResponseClass>;
|
|
166
121
|
/**
|
|
167
122
|
* 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.
|
|
168
123
|
* @summary List bank transactions
|
|
@@ -177,16 +132,7 @@ export declare const BankTransactionApiFactory: (configuration?: Configuration,
|
|
|
177
132
|
* @param {*} [options] Override http request option.
|
|
178
133
|
* @throws {RequiredError}
|
|
179
134
|
*/
|
|
180
|
-
listBankTransactions(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: string, filters?: any, options?: any): AxiosPromise<
|
|
181
|
-
/**
|
|
182
|
-
* Unlinks an already linked bank transaction
|
|
183
|
-
* @summary Unlink Bank Transaction
|
|
184
|
-
* @param {string} code Code of the bank transaction to unlink
|
|
185
|
-
* @param {string} [authorization] Bearer Token
|
|
186
|
-
* @param {*} [options] Override http request option.
|
|
187
|
-
* @throws {RequiredError}
|
|
188
|
-
*/
|
|
189
|
-
unlinkBankTransaction(code: string, authorization?: string, options?: any): AxiosPromise<GetBankTransactionsResponseClass>;
|
|
135
|
+
listBankTransactions(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: string, filters?: any, options?: any): AxiosPromise<void>;
|
|
190
136
|
};
|
|
191
137
|
/**
|
|
192
138
|
* Request parameters for getBankTransaction operation in BankTransactionApi.
|
|
@@ -232,25 +178,6 @@ export interface BankTransactionApiImportBankTransactionsRequest {
|
|
|
232
178
|
*/
|
|
233
179
|
readonly file?: any;
|
|
234
180
|
}
|
|
235
|
-
/**
|
|
236
|
-
* Request parameters for linkBankTransaction operation in BankTransactionApi.
|
|
237
|
-
* @export
|
|
238
|
-
* @interface BankTransactionApiLinkBankTransactionRequest
|
|
239
|
-
*/
|
|
240
|
-
export interface BankTransactionApiLinkBankTransactionRequest {
|
|
241
|
-
/**
|
|
242
|
-
* Code of the bank transaction to link
|
|
243
|
-
* @type {string}
|
|
244
|
-
* @memberof BankTransactionApiLinkBankTransaction
|
|
245
|
-
*/
|
|
246
|
-
readonly code: string;
|
|
247
|
-
/**
|
|
248
|
-
* Bearer Token
|
|
249
|
-
* @type {string}
|
|
250
|
-
* @memberof BankTransactionApiLinkBankTransaction
|
|
251
|
-
*/
|
|
252
|
-
readonly authorization?: string;
|
|
253
|
-
}
|
|
254
181
|
/**
|
|
255
182
|
* Request parameters for listBankTransactions operation in BankTransactionApi.
|
|
256
183
|
* @export
|
|
@@ -306,25 +233,6 @@ export interface BankTransactionApiListBankTransactionsRequest {
|
|
|
306
233
|
*/
|
|
307
234
|
readonly filters?: any;
|
|
308
235
|
}
|
|
309
|
-
/**
|
|
310
|
-
* Request parameters for unlinkBankTransaction operation in BankTransactionApi.
|
|
311
|
-
* @export
|
|
312
|
-
* @interface BankTransactionApiUnlinkBankTransactionRequest
|
|
313
|
-
*/
|
|
314
|
-
export interface BankTransactionApiUnlinkBankTransactionRequest {
|
|
315
|
-
/**
|
|
316
|
-
* Code of the bank transaction to unlink
|
|
317
|
-
* @type {string}
|
|
318
|
-
* @memberof BankTransactionApiUnlinkBankTransaction
|
|
319
|
-
*/
|
|
320
|
-
readonly code: string;
|
|
321
|
-
/**
|
|
322
|
-
* Bearer Token
|
|
323
|
-
* @type {string}
|
|
324
|
-
* @memberof BankTransactionApiUnlinkBankTransaction
|
|
325
|
-
*/
|
|
326
|
-
readonly authorization?: string;
|
|
327
|
-
}
|
|
328
236
|
/**
|
|
329
237
|
* BankTransactionApi - object-oriented interface
|
|
330
238
|
* @export
|
|
@@ -350,15 +258,6 @@ export declare class BankTransactionApi extends BaseAPI {
|
|
|
350
258
|
* @memberof BankTransactionApi
|
|
351
259
|
*/
|
|
352
260
|
importBankTransactions(requestParameters?: BankTransactionApiImportBankTransactionsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListBankTransactionsResponseClass, any>>;
|
|
353
|
-
/**
|
|
354
|
-
* Links a bank transaction with an invoice
|
|
355
|
-
* @summary Link Bank Transaction
|
|
356
|
-
* @param {BankTransactionApiLinkBankTransactionRequest} requestParameters Request parameters.
|
|
357
|
-
* @param {*} [options] Override http request option.
|
|
358
|
-
* @throws {RequiredError}
|
|
359
|
-
* @memberof BankTransactionApi
|
|
360
|
-
*/
|
|
361
|
-
linkBankTransaction(requestParameters: BankTransactionApiLinkBankTransactionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetBankTransactionsResponseClass, any>>;
|
|
362
261
|
/**
|
|
363
262
|
* 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.
|
|
364
263
|
* @summary List bank transactions
|
|
@@ -367,14 +266,5 @@ export declare class BankTransactionApi extends BaseAPI {
|
|
|
367
266
|
* @throws {RequiredError}
|
|
368
267
|
* @memberof BankTransactionApi
|
|
369
268
|
*/
|
|
370
|
-
listBankTransactions(requestParameters?: BankTransactionApiListBankTransactionsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
371
|
-
/**
|
|
372
|
-
* Unlinks an already linked bank transaction
|
|
373
|
-
* @summary Unlink Bank Transaction
|
|
374
|
-
* @param {BankTransactionApiUnlinkBankTransactionRequest} requestParameters Request parameters.
|
|
375
|
-
* @param {*} [options] Override http request option.
|
|
376
|
-
* @throws {RequiredError}
|
|
377
|
-
* @memberof BankTransactionApi
|
|
378
|
-
*/
|
|
379
|
-
unlinkBankTransaction(requestParameters: BankTransactionApiUnlinkBankTransactionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetBankTransactionsResponseClass, any>>;
|
|
269
|
+
listBankTransactions(requestParameters?: BankTransactionApiListBankTransactionsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
380
270
|
}
|