@emilgroup/payment-sdk 1.4.1-beta.2 → 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 -6
- package/README.md +2 -2
- package/api/bank-transaction-api.ts +1 -203
- package/api.ts +0 -2
- package/dist/api/bank-transaction-api.d.ts +0 -110
- package/dist/api/bank-transaction-api.js +0 -185
- package/dist/api.d.ts +0 -1
- package/dist/api.js +0 -1
- package/dist/models/bank-transaction-response-class.d.ts +6 -0
- package/dist/models/index.d.ts +0 -5
- package/dist/models/index.js +0 -5
- package/models/bank-transaction-response-class.ts +6 -0
- package/models/index.ts +0 -5
- package/package.json +1 -1
- package/api/refunds-api.ts +0 -476
- package/dist/api/refunds-api.d.ts +0 -269
- package/dist/api/refunds-api.js +0 -449
- 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/get-refund-response-class.d.ts +0 -25
- package/dist/models/get-refund-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/refund-class.d.ts +0 -104
- package/dist/models/refund-class.js +0 -28
- package/models/create-refund-request-dto.ts +0 -30
- package/models/create-refund-response-class.ts +0 -31
- package/models/get-refund-response-class.ts +0 -31
- package/models/list-refunds-response-class.ts +0 -37
- package/models/refund-class.ts +0 -114
package/.openapi-generator/FILES
CHANGED
|
@@ -10,7 +10,6 @@ api/payment-methods-api.ts
|
|
|
10
10
|
api/payment-reminders-api.ts
|
|
11
11
|
api/payment-setup-api.ts
|
|
12
12
|
api/payments-api.ts
|
|
13
|
-
api/refunds-api.ts
|
|
14
13
|
api/tenant-bank-account-api.ts
|
|
15
14
|
api/webhooks-api.ts
|
|
16
15
|
base.ts
|
|
@@ -21,20 +20,15 @@ index.ts
|
|
|
21
20
|
models/bank-transaction-response-class.ts
|
|
22
21
|
models/create-payment-reminder-request-dto.ts
|
|
23
22
|
models/create-payment-request-dto.ts
|
|
24
|
-
models/create-refund-request-dto.ts
|
|
25
|
-
models/create-refund-response-class.ts
|
|
26
23
|
models/create-tenant-bank-account-request-dto.ts
|
|
27
24
|
models/deactivate-payment-reminder-request-dto.ts
|
|
28
25
|
models/get-bank-transactions-response-class.ts
|
|
29
|
-
models/get-refund-response-class.ts
|
|
30
26
|
models/get-request-dto.ts
|
|
31
27
|
models/get-tenant-bank-account-response-class.ts
|
|
32
28
|
models/index.ts
|
|
33
29
|
models/inline-response200.ts
|
|
34
30
|
models/inline-response503.ts
|
|
35
31
|
models/list-bank-transactions-response-class.ts
|
|
36
|
-
models/list-refunds-response-class.ts
|
|
37
|
-
models/refund-class.ts
|
|
38
32
|
models/tenant-bank-account-response-class.ts
|
|
39
33
|
models/transaction-class.ts
|
|
40
34
|
models/update-tenant-bank-account-rest-request-dto.ts
|
package/README.md
CHANGED
|
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
|
|
|
17
17
|
Navigate to the folder of your consuming project and run one of the following commands:
|
|
18
18
|
|
|
19
19
|
```
|
|
20
|
-
npm install @emilgroup/payment-sdk@1.4.1-beta.
|
|
20
|
+
npm install @emilgroup/payment-sdk@1.4.1-beta.4 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/payment-sdk@1.4.1-beta.
|
|
24
|
+
yarn add @emilgroup/payment-sdk@1.4.1-beta.4
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `PaymentsApi`.
|
|
@@ -118,7 +118,7 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
|
|
|
118
118
|
}
|
|
119
119
|
|
|
120
120
|
|
|
121
|
-
|
|
121
|
+
|
|
122
122
|
|
|
123
123
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
124
124
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -130,51 +130,6 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
|
|
|
130
130
|
options: localVarRequestOptions,
|
|
131
131
|
};
|
|
132
132
|
},
|
|
133
|
-
/**
|
|
134
|
-
* Links a bank transaction with an invoice
|
|
135
|
-
* @summary Link Bank Transaction
|
|
136
|
-
* @param {string} code Code of the bank transaction to link
|
|
137
|
-
* @param {string} [authorization] Bearer Token
|
|
138
|
-
* @param {*} [options] Override http request option.
|
|
139
|
-
* @throws {RequiredError}
|
|
140
|
-
*/
|
|
141
|
-
linkBankTransaction: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
142
|
-
// verify required parameter 'code' is not null or undefined
|
|
143
|
-
assertParamExists('linkBankTransaction', 'code', code)
|
|
144
|
-
const localVarPath = `/paymentservice/v1/tenant/bank-transactions/{code}/link`
|
|
145
|
-
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
146
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
147
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
148
|
-
let baseOptions;
|
|
149
|
-
let baseAccessToken;
|
|
150
|
-
if (configuration) {
|
|
151
|
-
baseOptions = configuration.baseOptions;
|
|
152
|
-
baseAccessToken = configuration.accessToken;
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
156
|
-
const localVarHeaderParameter = {} as any;
|
|
157
|
-
const localVarQueryParameter = {} as any;
|
|
158
|
-
|
|
159
|
-
// authentication bearer required
|
|
160
|
-
// http bearer authentication required
|
|
161
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
162
|
-
|
|
163
|
-
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
164
|
-
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
170
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
171
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
172
|
-
|
|
173
|
-
return {
|
|
174
|
-
url: toPathString(localVarUrlObj),
|
|
175
|
-
options: localVarRequestOptions,
|
|
176
|
-
};
|
|
177
|
-
},
|
|
178
133
|
/**
|
|
179
134
|
* 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.
|
|
180
135
|
* @summary List bank transactions
|
|
@@ -242,51 +197,6 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
|
|
|
242
197
|
|
|
243
198
|
|
|
244
199
|
|
|
245
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
246
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
247
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
248
|
-
|
|
249
|
-
return {
|
|
250
|
-
url: toPathString(localVarUrlObj),
|
|
251
|
-
options: localVarRequestOptions,
|
|
252
|
-
};
|
|
253
|
-
},
|
|
254
|
-
/**
|
|
255
|
-
* Unlinks an already linked bank transaction
|
|
256
|
-
* @summary Unlink Bank Transaction
|
|
257
|
-
* @param {string} code Code of the bank transaction to unlink
|
|
258
|
-
* @param {string} [authorization] Bearer Token
|
|
259
|
-
* @param {*} [options] Override http request option.
|
|
260
|
-
* @throws {RequiredError}
|
|
261
|
-
*/
|
|
262
|
-
unlinkBankTransaction: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
263
|
-
// verify required parameter 'code' is not null or undefined
|
|
264
|
-
assertParamExists('unlinkBankTransaction', 'code', code)
|
|
265
|
-
const localVarPath = `/paymentservice/v1/tenant/bank-transactions/{code}/unlink`
|
|
266
|
-
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
267
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
268
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
269
|
-
let baseOptions;
|
|
270
|
-
let baseAccessToken;
|
|
271
|
-
if (configuration) {
|
|
272
|
-
baseOptions = configuration.baseOptions;
|
|
273
|
-
baseAccessToken = configuration.accessToken;
|
|
274
|
-
}
|
|
275
|
-
|
|
276
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
277
|
-
const localVarHeaderParameter = {} as any;
|
|
278
|
-
const localVarQueryParameter = {} as any;
|
|
279
|
-
|
|
280
|
-
// authentication bearer required
|
|
281
|
-
// http bearer authentication required
|
|
282
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
283
|
-
|
|
284
|
-
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
285
|
-
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
286
|
-
}
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
200
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
291
201
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
292
202
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -331,18 +241,6 @@ export const BankTransactionApiFp = function(configuration?: Configuration) {
|
|
|
331
241
|
const localVarAxiosArgs = await localVarAxiosParamCreator.importBankTransactions(authorization, file, options);
|
|
332
242
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
333
243
|
},
|
|
334
|
-
/**
|
|
335
|
-
* Links a bank transaction with an invoice
|
|
336
|
-
* @summary Link Bank Transaction
|
|
337
|
-
* @param {string} code Code of the bank transaction to link
|
|
338
|
-
* @param {string} [authorization] Bearer Token
|
|
339
|
-
* @param {*} [options] Override http request option.
|
|
340
|
-
* @throws {RequiredError}
|
|
341
|
-
*/
|
|
342
|
-
async linkBankTransaction(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBankTransactionsResponseClass>> {
|
|
343
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.linkBankTransaction(code, authorization, options);
|
|
344
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
345
|
-
},
|
|
346
244
|
/**
|
|
347
245
|
* 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.
|
|
348
246
|
* @summary List bank transactions
|
|
@@ -361,18 +259,6 @@ export const BankTransactionApiFp = function(configuration?: Configuration) {
|
|
|
361
259
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listBankTransactions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
362
260
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
363
261
|
},
|
|
364
|
-
/**
|
|
365
|
-
* Unlinks an already linked bank transaction
|
|
366
|
-
* @summary Unlink Bank Transaction
|
|
367
|
-
* @param {string} code Code of the bank transaction to unlink
|
|
368
|
-
* @param {string} [authorization] Bearer Token
|
|
369
|
-
* @param {*} [options] Override http request option.
|
|
370
|
-
* @throws {RequiredError}
|
|
371
|
-
*/
|
|
372
|
-
async unlinkBankTransaction(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBankTransactionsResponseClass>> {
|
|
373
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.unlinkBankTransaction(code, authorization, options);
|
|
374
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
375
|
-
},
|
|
376
262
|
}
|
|
377
263
|
};
|
|
378
264
|
|
|
@@ -406,17 +292,6 @@ export const BankTransactionApiFactory = function (configuration?: Configuration
|
|
|
406
292
|
importBankTransactions(authorization?: string, file?: any, options?: any): AxiosPromise<ListBankTransactionsResponseClass> {
|
|
407
293
|
return localVarFp.importBankTransactions(authorization, file, options).then((request) => request(axios, basePath));
|
|
408
294
|
},
|
|
409
|
-
/**
|
|
410
|
-
* Links a bank transaction with an invoice
|
|
411
|
-
* @summary Link Bank Transaction
|
|
412
|
-
* @param {string} code Code of the bank transaction to link
|
|
413
|
-
* @param {string} [authorization] Bearer Token
|
|
414
|
-
* @param {*} [options] Override http request option.
|
|
415
|
-
* @throws {RequiredError}
|
|
416
|
-
*/
|
|
417
|
-
linkBankTransaction(code: string, authorization?: string, options?: any): AxiosPromise<GetBankTransactionsResponseClass> {
|
|
418
|
-
return localVarFp.linkBankTransaction(code, authorization, options).then((request) => request(axios, basePath));
|
|
419
|
-
},
|
|
420
295
|
/**
|
|
421
296
|
* 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.
|
|
422
297
|
* @summary List bank transactions
|
|
@@ -434,17 +309,6 @@ export const BankTransactionApiFactory = function (configuration?: Configuration
|
|
|
434
309
|
listBankTransactions(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: string, filters?: any, options?: any): AxiosPromise<void> {
|
|
435
310
|
return localVarFp.listBankTransactions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
436
311
|
},
|
|
437
|
-
/**
|
|
438
|
-
* Unlinks an already linked bank transaction
|
|
439
|
-
* @summary Unlink Bank Transaction
|
|
440
|
-
* @param {string} code Code of the bank transaction to unlink
|
|
441
|
-
* @param {string} [authorization] Bearer Token
|
|
442
|
-
* @param {*} [options] Override http request option.
|
|
443
|
-
* @throws {RequiredError}
|
|
444
|
-
*/
|
|
445
|
-
unlinkBankTransaction(code: string, authorization?: string, options?: any): AxiosPromise<GetBankTransactionsResponseClass> {
|
|
446
|
-
return localVarFp.unlinkBankTransaction(code, authorization, options).then((request) => request(axios, basePath));
|
|
447
|
-
},
|
|
448
312
|
};
|
|
449
313
|
};
|
|
450
314
|
|
|
@@ -497,27 +361,6 @@ export interface BankTransactionApiImportBankTransactionsRequest {
|
|
|
497
361
|
readonly file?: any
|
|
498
362
|
}
|
|
499
363
|
|
|
500
|
-
/**
|
|
501
|
-
* Request parameters for linkBankTransaction operation in BankTransactionApi.
|
|
502
|
-
* @export
|
|
503
|
-
* @interface BankTransactionApiLinkBankTransactionRequest
|
|
504
|
-
*/
|
|
505
|
-
export interface BankTransactionApiLinkBankTransactionRequest {
|
|
506
|
-
/**
|
|
507
|
-
* Code of the bank transaction to link
|
|
508
|
-
* @type {string}
|
|
509
|
-
* @memberof BankTransactionApiLinkBankTransaction
|
|
510
|
-
*/
|
|
511
|
-
readonly code: string
|
|
512
|
-
|
|
513
|
-
/**
|
|
514
|
-
* Bearer Token
|
|
515
|
-
* @type {string}
|
|
516
|
-
* @memberof BankTransactionApiLinkBankTransaction
|
|
517
|
-
*/
|
|
518
|
-
readonly authorization?: string
|
|
519
|
-
}
|
|
520
|
-
|
|
521
364
|
/**
|
|
522
365
|
* Request parameters for listBankTransactions operation in BankTransactionApi.
|
|
523
366
|
* @export
|
|
@@ -581,27 +424,6 @@ export interface BankTransactionApiListBankTransactionsRequest {
|
|
|
581
424
|
readonly filters?: any
|
|
582
425
|
}
|
|
583
426
|
|
|
584
|
-
/**
|
|
585
|
-
* Request parameters for unlinkBankTransaction operation in BankTransactionApi.
|
|
586
|
-
* @export
|
|
587
|
-
* @interface BankTransactionApiUnlinkBankTransactionRequest
|
|
588
|
-
*/
|
|
589
|
-
export interface BankTransactionApiUnlinkBankTransactionRequest {
|
|
590
|
-
/**
|
|
591
|
-
* Code of the bank transaction to unlink
|
|
592
|
-
* @type {string}
|
|
593
|
-
* @memberof BankTransactionApiUnlinkBankTransaction
|
|
594
|
-
*/
|
|
595
|
-
readonly code: string
|
|
596
|
-
|
|
597
|
-
/**
|
|
598
|
-
* Bearer Token
|
|
599
|
-
* @type {string}
|
|
600
|
-
* @memberof BankTransactionApiUnlinkBankTransaction
|
|
601
|
-
*/
|
|
602
|
-
readonly authorization?: string
|
|
603
|
-
}
|
|
604
|
-
|
|
605
427
|
/**
|
|
606
428
|
* BankTransactionApi - object-oriented interface
|
|
607
429
|
* @export
|
|
@@ -633,18 +455,6 @@ export class BankTransactionApi extends BaseAPI {
|
|
|
633
455
|
return BankTransactionApiFp(this.configuration).importBankTransactions(requestParameters.authorization, requestParameters.file, options).then((request) => request(this.axios, this.basePath));
|
|
634
456
|
}
|
|
635
457
|
|
|
636
|
-
/**
|
|
637
|
-
* Links a bank transaction with an invoice
|
|
638
|
-
* @summary Link Bank Transaction
|
|
639
|
-
* @param {BankTransactionApiLinkBankTransactionRequest} requestParameters Request parameters.
|
|
640
|
-
* @param {*} [options] Override http request option.
|
|
641
|
-
* @throws {RequiredError}
|
|
642
|
-
* @memberof BankTransactionApi
|
|
643
|
-
*/
|
|
644
|
-
public linkBankTransaction(requestParameters: BankTransactionApiLinkBankTransactionRequest, options?: AxiosRequestConfig) {
|
|
645
|
-
return BankTransactionApiFp(this.configuration).linkBankTransaction(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
646
|
-
}
|
|
647
|
-
|
|
648
458
|
/**
|
|
649
459
|
* 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.
|
|
650
460
|
* @summary List bank transactions
|
|
@@ -656,16 +466,4 @@ export class BankTransactionApi extends BaseAPI {
|
|
|
656
466
|
public listBankTransactions(requestParameters: BankTransactionApiListBankTransactionsRequest = {}, options?: AxiosRequestConfig) {
|
|
657
467
|
return BankTransactionApiFp(this.configuration).listBankTransactions(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
658
468
|
}
|
|
659
|
-
|
|
660
|
-
/**
|
|
661
|
-
* Unlinks an already linked bank transaction
|
|
662
|
-
* @summary Unlink Bank Transaction
|
|
663
|
-
* @param {BankTransactionApiUnlinkBankTransactionRequest} requestParameters Request parameters.
|
|
664
|
-
* @param {*} [options] Override http request option.
|
|
665
|
-
* @throws {RequiredError}
|
|
666
|
-
* @memberof BankTransactionApi
|
|
667
|
-
*/
|
|
668
|
-
public unlinkBankTransaction(requestParameters: BankTransactionApiUnlinkBankTransactionRequest, options?: AxiosRequestConfig) {
|
|
669
|
-
return BankTransactionApiFp(this.configuration).unlinkBankTransaction(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
670
|
-
}
|
|
671
469
|
}
|
package/api.ts
CHANGED
|
@@ -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
|
|
|
@@ -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
|
|
@@ -120,15 +93,6 @@ export declare const BankTransactionApiFp: (configuration?: Configuration) => {
|
|
|
120
93
|
* @throws {RequiredError}
|
|
121
94
|
*/
|
|
122
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>>;
|
|
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>>;
|
|
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
|
|
@@ -178,15 +133,6 @@ export declare const BankTransactionApiFactory: (configuration?: Configuration,
|
|
|
178
133
|
* @throws {RequiredError}
|
|
179
134
|
*/
|
|
180
135
|
listBankTransactions(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: string, filters?: any, options?: any): AxiosPromise<void>;
|
|
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>;
|
|
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
|
|
@@ -368,13 +267,4 @@ export declare class BankTransactionApi extends BaseAPI {
|
|
|
368
267
|
* @memberof BankTransactionApi
|
|
369
268
|
*/
|
|
370
269
|
listBankTransactions(requestParameters?: BankTransactionApiListBankTransactionsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
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>>;
|
|
380
270
|
}
|