@emilgroup/payment-sdk-node 1.13.1-beta.2 → 1.13.1-beta.3

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.
@@ -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-node@1.13.1-beta.2 --save
20
+ npm install @emilgroup/payment-sdk-node@1.13.1-beta.3 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/payment-sdk-node@1.13.1-beta.2
24
+ yarn add @emilgroup/payment-sdk-node@1.13.1-beta.3
25
25
  ```
26
26
 
27
27
  And then you can import `PaymentsApi`.
@@ -123,6 +123,7 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
123
123
 
124
124
 
125
125
  localVarHeaderParameter['Content-Type'] = 'multipart/form-data; boundary=' + localVarFormParams.getBoundary();
126
+
126
127
 
127
128
  setSearchParams(localVarUrlObj, localVarQueryParameter);
128
129
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -134,51 +135,6 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
134
135
  options: localVarRequestOptions,
135
136
  };
136
137
  },
137
- /**
138
- * Links a bank transaction with an invoice
139
- * @summary Link Bank Transaction
140
- * @param {string} code Code of the bank transaction to link
141
- * @param {string} [authorization] Bearer Token
142
- * @param {*} [options] Override http request option.
143
- * @throws {RequiredError}
144
- */
145
- linkBankTransaction: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
146
- // verify required parameter 'code' is not null or undefined
147
- assertParamExists('linkBankTransaction', 'code', code)
148
- const localVarPath = `/paymentservice/v1/tenant/bank-transactions/{code}/link`
149
- .replace(`{${"code"}}`, encodeURIComponent(String(code)));
150
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
151
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
152
- let baseOptions;
153
- let baseAccessToken;
154
- if (configuration) {
155
- baseOptions = configuration.baseOptions;
156
- baseAccessToken = configuration.accessToken;
157
- }
158
-
159
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
160
- const localVarHeaderParameter = {} as any;
161
- const localVarQueryParameter = {} as any;
162
-
163
- // authentication bearer required
164
- // http bearer authentication required
165
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
166
-
167
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
168
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
169
- }
170
-
171
-
172
-
173
- setSearchParams(localVarUrlObj, localVarQueryParameter);
174
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
175
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
176
-
177
- return {
178
- url: toPathString(localVarUrlObj),
179
- options: localVarRequestOptions,
180
- };
181
- },
182
138
  /**
183
139
  * 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.
184
140
  * @summary List bank transactions
@@ -246,51 +202,6 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
246
202
 
247
203
 
248
204
 
249
- setSearchParams(localVarUrlObj, localVarQueryParameter);
250
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
251
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
252
-
253
- return {
254
- url: toPathString(localVarUrlObj),
255
- options: localVarRequestOptions,
256
- };
257
- },
258
- /**
259
- * Unlinks an already linked bank transaction
260
- * @summary Unlink Bank Transaction
261
- * @param {string} code Code of the bank transaction to unlink
262
- * @param {string} [authorization] Bearer Token
263
- * @param {*} [options] Override http request option.
264
- * @throws {RequiredError}
265
- */
266
- unlinkBankTransaction: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
267
- // verify required parameter 'code' is not null or undefined
268
- assertParamExists('unlinkBankTransaction', 'code', code)
269
- const localVarPath = `/paymentservice/v1/tenant/bank-transactions/{code}/unlink`
270
- .replace(`{${"code"}}`, encodeURIComponent(String(code)));
271
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
272
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
273
- let baseOptions;
274
- let baseAccessToken;
275
- if (configuration) {
276
- baseOptions = configuration.baseOptions;
277
- baseAccessToken = configuration.accessToken;
278
- }
279
-
280
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
281
- const localVarHeaderParameter = {} as any;
282
- const localVarQueryParameter = {} as any;
283
-
284
- // authentication bearer required
285
- // http bearer authentication required
286
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
287
-
288
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
289
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
290
- }
291
-
292
-
293
-
294
205
  setSearchParams(localVarUrlObj, localVarQueryParameter);
295
206
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
296
207
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -335,18 +246,6 @@ export const BankTransactionApiFp = function(configuration?: Configuration) {
335
246
  const localVarAxiosArgs = await localVarAxiosParamCreator.importBankTransactions(authorization, file, options);
336
247
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
337
248
  },
338
- /**
339
- * Links a bank transaction with an invoice
340
- * @summary Link Bank Transaction
341
- * @param {string} code Code of the bank transaction to link
342
- * @param {string} [authorization] Bearer Token
343
- * @param {*} [options] Override http request option.
344
- * @throws {RequiredError}
345
- */
346
- async linkBankTransaction(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBankTransactionsResponseClass>> {
347
- const localVarAxiosArgs = await localVarAxiosParamCreator.linkBankTransaction(code, authorization, options);
348
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
349
- },
350
249
  /**
351
250
  * 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.
352
251
  * @summary List bank transactions
@@ -365,18 +264,6 @@ export const BankTransactionApiFp = function(configuration?: Configuration) {
365
264
  const localVarAxiosArgs = await localVarAxiosParamCreator.listBankTransactions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
366
265
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
367
266
  },
368
- /**
369
- * Unlinks an already linked bank transaction
370
- * @summary Unlink Bank Transaction
371
- * @param {string} code Code of the bank transaction to unlink
372
- * @param {string} [authorization] Bearer Token
373
- * @param {*} [options] Override http request option.
374
- * @throws {RequiredError}
375
- */
376
- async unlinkBankTransaction(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBankTransactionsResponseClass>> {
377
- const localVarAxiosArgs = await localVarAxiosParamCreator.unlinkBankTransaction(code, authorization, options);
378
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
379
- },
380
267
  }
381
268
  };
382
269
 
@@ -410,17 +297,6 @@ export const BankTransactionApiFactory = function (configuration?: Configuration
410
297
  importBankTransactions(authorization?: string, file?: any, options?: any): AxiosPromise<ListBankTransactionsResponseClass> {
411
298
  return localVarFp.importBankTransactions(authorization, file, options).then((request) => request(axios, basePath));
412
299
  },
413
- /**
414
- * Links a bank transaction with an invoice
415
- * @summary Link Bank Transaction
416
- * @param {string} code Code of the bank transaction to link
417
- * @param {string} [authorization] Bearer Token
418
- * @param {*} [options] Override http request option.
419
- * @throws {RequiredError}
420
- */
421
- linkBankTransaction(code: string, authorization?: string, options?: any): AxiosPromise<GetBankTransactionsResponseClass> {
422
- return localVarFp.linkBankTransaction(code, authorization, options).then((request) => request(axios, basePath));
423
- },
424
300
  /**
425
301
  * 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.
426
302
  * @summary List bank transactions
@@ -438,17 +314,6 @@ export const BankTransactionApiFactory = function (configuration?: Configuration
438
314
  listBankTransactions(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: string, filters?: any, options?: any): AxiosPromise<void> {
439
315
  return localVarFp.listBankTransactions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
440
316
  },
441
- /**
442
- * Unlinks an already linked bank transaction
443
- * @summary Unlink Bank Transaction
444
- * @param {string} code Code of the bank transaction to unlink
445
- * @param {string} [authorization] Bearer Token
446
- * @param {*} [options] Override http request option.
447
- * @throws {RequiredError}
448
- */
449
- unlinkBankTransaction(code: string, authorization?: string, options?: any): AxiosPromise<GetBankTransactionsResponseClass> {
450
- return localVarFp.unlinkBankTransaction(code, authorization, options).then((request) => request(axios, basePath));
451
- },
452
317
  };
453
318
  };
454
319
 
@@ -501,27 +366,6 @@ export interface BankTransactionApiImportBankTransactionsRequest {
501
366
  readonly file?: any
502
367
  }
503
368
 
504
- /**
505
- * Request parameters for linkBankTransaction operation in BankTransactionApi.
506
- * @export
507
- * @interface BankTransactionApiLinkBankTransactionRequest
508
- */
509
- export interface BankTransactionApiLinkBankTransactionRequest {
510
- /**
511
- * Code of the bank transaction to link
512
- * @type {string}
513
- * @memberof BankTransactionApiLinkBankTransaction
514
- */
515
- readonly code: string
516
-
517
- /**
518
- * Bearer Token
519
- * @type {string}
520
- * @memberof BankTransactionApiLinkBankTransaction
521
- */
522
- readonly authorization?: string
523
- }
524
-
525
369
  /**
526
370
  * Request parameters for listBankTransactions operation in BankTransactionApi.
527
371
  * @export
@@ -585,27 +429,6 @@ export interface BankTransactionApiListBankTransactionsRequest {
585
429
  readonly filters?: any
586
430
  }
587
431
 
588
- /**
589
- * Request parameters for unlinkBankTransaction operation in BankTransactionApi.
590
- * @export
591
- * @interface BankTransactionApiUnlinkBankTransactionRequest
592
- */
593
- export interface BankTransactionApiUnlinkBankTransactionRequest {
594
- /**
595
- * Code of the bank transaction to unlink
596
- * @type {string}
597
- * @memberof BankTransactionApiUnlinkBankTransaction
598
- */
599
- readonly code: string
600
-
601
- /**
602
- * Bearer Token
603
- * @type {string}
604
- * @memberof BankTransactionApiUnlinkBankTransaction
605
- */
606
- readonly authorization?: string
607
- }
608
-
609
432
  /**
610
433
  * BankTransactionApi - object-oriented interface
611
434
  * @export
@@ -637,18 +460,6 @@ export class BankTransactionApi extends BaseAPI {
637
460
  return BankTransactionApiFp(this.configuration).importBankTransactions(requestParameters.authorization, requestParameters.file, options).then((request) => request(this.axios, this.basePath));
638
461
  }
639
462
 
640
- /**
641
- * Links a bank transaction with an invoice
642
- * @summary Link Bank Transaction
643
- * @param {BankTransactionApiLinkBankTransactionRequest} requestParameters Request parameters.
644
- * @param {*} [options] Override http request option.
645
- * @throws {RequiredError}
646
- * @memberof BankTransactionApi
647
- */
648
- public linkBankTransaction(requestParameters: BankTransactionApiLinkBankTransactionRequest, options?: AxiosRequestConfig) {
649
- return BankTransactionApiFp(this.configuration).linkBankTransaction(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
650
- }
651
-
652
463
  /**
653
464
  * 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.
654
465
  * @summary List bank transactions
@@ -660,16 +471,4 @@ export class BankTransactionApi extends BaseAPI {
660
471
  public listBankTransactions(requestParameters: BankTransactionApiListBankTransactionsRequest = {}, options?: AxiosRequestConfig) {
661
472
  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));
662
473
  }
663
-
664
- /**
665
- * Unlinks an already linked bank transaction
666
- * @summary Unlink Bank Transaction
667
- * @param {BankTransactionApiUnlinkBankTransactionRequest} requestParameters Request parameters.
668
- * @param {*} [options] Override http request option.
669
- * @throws {RequiredError}
670
- * @memberof BankTransactionApi
671
- */
672
- public unlinkBankTransaction(requestParameters: BankTransactionApiUnlinkBankTransactionRequest, options?: AxiosRequestConfig) {
673
- return BankTransactionApiFp(this.configuration).unlinkBankTransaction(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
674
- }
675
474
  }
package/api.ts CHANGED
@@ -31,7 +31,6 @@ import { PaymentMethodsApi } from './api';
31
31
  import { PaymentRemindersApi } from './api';
32
32
  import { PaymentSetupApi } from './api';
33
33
  import { PaymentsApi } from './api';
34
- import { RefundsApi } from './api';
35
34
  import { TenantBankAccountApi } from './api';
36
35
  import { WebhooksApi } from './api';
37
36
 
@@ -43,7 +42,6 @@ export * from './api/payment-methods-api';
43
42
  export * from './api/payment-reminders-api';
44
43
  export * from './api/payment-setup-api';
45
44
  export * from './api/payments-api';
46
- export * from './api/refunds-api';
47
45
  export * from './api/tenant-bank-account-api';
48
46
  export * from './api/webhooks-api';
49
47
 
@@ -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
  }