@emilgroup/payment-sdk-node 1.21.1-beta.72 → 1.21.1-beta.74
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 +1 -1
- package/README.md +2 -2
- package/api/bank-transaction-api.ts +14 -31
- package/dist/api/bank-transaction-api.d.ts +11 -21
- package/dist/api/bank-transaction-api.js +12 -19
- package/dist/models/bank-transaction-class-without-expand-properties.d.ts +7 -12
- package/dist/models/bank-transaction-class.d.ts +7 -12
- package/dist/models/bank-transaction-invoice-class.d.ts +54 -0
- package/dist/models/index.d.ts +1 -1
- package/dist/models/index.js +1 -1
- package/dist/models/link-bank-transaction-request-dto-rest.d.ts +3 -3
- package/dist/models/unlinked-bank-transaction-response-class.d.ts +7 -0
- package/models/bank-transaction-class-without-expand-properties.ts +7 -12
- package/models/bank-transaction-class.ts +7 -12
- package/models/bank-transaction-invoice-class.ts +60 -0
- package/models/index.ts +1 -1
- package/models/link-bank-transaction-request-dto-rest.ts +3 -3
- package/models/unlinked-bank-transaction-response-class.ts +7 -0
- package/package.json +1 -1
- package/dist/models/unlink-bank-transaction-request-dto-rest.d.ts +0 -24
- package/models/unlink-bank-transaction-request-dto-rest.ts +0 -30
- /package/dist/models/{unlink-bank-transaction-request-dto-rest.js → bank-transaction-invoice-class.js} +0 -0
package/.openapi-generator/FILES
CHANGED
|
@@ -24,6 +24,7 @@ models/bank-account-class.ts
|
|
|
24
24
|
models/bank-order-class.ts
|
|
25
25
|
models/bank-transaction-class-without-expand-properties.ts
|
|
26
26
|
models/bank-transaction-class.ts
|
|
27
|
+
models/bank-transaction-invoice-class.ts
|
|
27
28
|
models/billing-profile-dto.ts
|
|
28
29
|
models/billing-profile-limited-response-dto.ts
|
|
29
30
|
models/card-details-dto.ts
|
|
@@ -100,7 +101,6 @@ models/suggestion-generation-progress-class.ts
|
|
|
100
101
|
models/symphony-profile-limited-response-dto.ts
|
|
101
102
|
models/tenant-bank-account-class-without-expand-properties.ts
|
|
102
103
|
models/tenant-bank-account-class.ts
|
|
103
|
-
models/unlink-bank-transaction-request-dto-rest.ts
|
|
104
104
|
models/unlink-bank-transactions-response-class.ts
|
|
105
105
|
models/unlinked-bank-transaction-response-class.ts
|
|
106
106
|
models/update-bank-account-request-dto-rest.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.21.1-beta.
|
|
20
|
+
npm install @emilgroup/payment-sdk-node@1.21.1-beta.74 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/payment-sdk-node@1.21.1-beta.
|
|
24
|
+
yarn add @emilgroup/payment-sdk-node@1.21.1-beta.74
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `PaymentsApi`.
|
|
@@ -33,8 +33,6 @@ import { LinkBankTransactionsResponseClass } from '../models';
|
|
|
33
33
|
// @ts-ignore
|
|
34
34
|
import { ListBankTransactionsResponseClass } from '../models';
|
|
35
35
|
// @ts-ignore
|
|
36
|
-
import { UnlinkBankTransactionRequestDtoRest } from '../models';
|
|
37
|
-
// @ts-ignore
|
|
38
36
|
import { UnlinkBankTransactionsResponseClass } from '../models';
|
|
39
37
|
// URLSearchParams not necessarily used
|
|
40
38
|
// @ts-ignore
|
|
@@ -96,7 +94,7 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
|
|
|
96
94
|
* @summary Retrieve the bank transaction
|
|
97
95
|
* @param {string} code
|
|
98
96
|
* @param {string} [authorization] Bearer Token
|
|
99
|
-
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: bankAccount, transaction, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder<i>
|
|
97
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: bankAccount, transaction, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder, bankTransactionInvoices<i>
|
|
100
98
|
* @param {*} [options] Override http request option.
|
|
101
99
|
* @throws {RequiredError}
|
|
102
100
|
*/
|
|
@@ -254,7 +252,7 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
|
|
|
254
252
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
255
253
|
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: id, createdAt, amount</i>
|
|
256
254
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, transactionDate, entryDate</i>
|
|
257
|
-
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: bankAccount, transaction, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder<i>
|
|
255
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: bankAccount, transaction, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder, bankTransactionInvoices<i>
|
|
258
256
|
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
259
257
|
* @param {*} [options] Override http request option.
|
|
260
258
|
* @throws {RequiredError}
|
|
@@ -325,16 +323,13 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
|
|
|
325
323
|
* Unlinks an already linked bank transaction **Required Permissions** \"payment-management.bank-accounts.update\"
|
|
326
324
|
* @summary Unlink bank transaction
|
|
327
325
|
* @param {string} code Code of the bank transaction to unlink
|
|
328
|
-
* @param {UnlinkBankTransactionRequestDtoRest} unlinkBankTransactionRequestDtoRest
|
|
329
326
|
* @param {string} [authorization] Bearer Token
|
|
330
327
|
* @param {*} [options] Override http request option.
|
|
331
328
|
* @throws {RequiredError}
|
|
332
329
|
*/
|
|
333
|
-
unlinkBankTransaction: async (code: string,
|
|
330
|
+
unlinkBankTransaction: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
334
331
|
// verify required parameter 'code' is not null or undefined
|
|
335
332
|
assertParamExists('unlinkBankTransaction', 'code', code)
|
|
336
|
-
// verify required parameter 'unlinkBankTransactionRequestDtoRest' is not null or undefined
|
|
337
|
-
assertParamExists('unlinkBankTransaction', 'unlinkBankTransactionRequestDtoRest', unlinkBankTransactionRequestDtoRest)
|
|
338
333
|
const localVarPath = `/paymentservice/v1/tenant/bank-transactions/{code}/unlink`
|
|
339
334
|
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
340
335
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -360,12 +355,9 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
|
|
|
360
355
|
|
|
361
356
|
|
|
362
357
|
|
|
363
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
364
|
-
|
|
365
358
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
366
359
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
367
360
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
368
|
-
localVarRequestOptions.data = serializeDataIfNeeded(unlinkBankTransactionRequestDtoRest, localVarRequestOptions, configuration)
|
|
369
361
|
|
|
370
362
|
return {
|
|
371
363
|
url: toPathString(localVarUrlObj),
|
|
@@ -399,7 +391,7 @@ export const BankTransactionApiFp = function(configuration?: Configuration) {
|
|
|
399
391
|
* @summary Retrieve the bank transaction
|
|
400
392
|
* @param {string} code
|
|
401
393
|
* @param {string} [authorization] Bearer Token
|
|
402
|
-
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: bankAccount, transaction, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder<i>
|
|
394
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: bankAccount, transaction, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder, bankTransactionInvoices<i>
|
|
403
395
|
* @param {*} [options] Override http request option.
|
|
404
396
|
* @throws {RequiredError}
|
|
405
397
|
*/
|
|
@@ -441,7 +433,7 @@ export const BankTransactionApiFp = function(configuration?: Configuration) {
|
|
|
441
433
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
442
434
|
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: id, createdAt, amount</i>
|
|
443
435
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, transactionDate, entryDate</i>
|
|
444
|
-
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: bankAccount, transaction, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder<i>
|
|
436
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: bankAccount, transaction, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder, bankTransactionInvoices<i>
|
|
445
437
|
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
446
438
|
* @param {*} [options] Override http request option.
|
|
447
439
|
* @throws {RequiredError}
|
|
@@ -454,13 +446,12 @@ export const BankTransactionApiFp = function(configuration?: Configuration) {
|
|
|
454
446
|
* Unlinks an already linked bank transaction **Required Permissions** \"payment-management.bank-accounts.update\"
|
|
455
447
|
* @summary Unlink bank transaction
|
|
456
448
|
* @param {string} code Code of the bank transaction to unlink
|
|
457
|
-
* @param {UnlinkBankTransactionRequestDtoRest} unlinkBankTransactionRequestDtoRest
|
|
458
449
|
* @param {string} [authorization] Bearer Token
|
|
459
450
|
* @param {*} [options] Override http request option.
|
|
460
451
|
* @throws {RequiredError}
|
|
461
452
|
*/
|
|
462
|
-
async unlinkBankTransaction(code: string,
|
|
463
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.unlinkBankTransaction(code,
|
|
453
|
+
async unlinkBankTransaction(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UnlinkBankTransactionsResponseClass>> {
|
|
454
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.unlinkBankTransaction(code, authorization, options);
|
|
464
455
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
465
456
|
},
|
|
466
457
|
}
|
|
@@ -489,7 +480,7 @@ export const BankTransactionApiFactory = function (configuration?: Configuration
|
|
|
489
480
|
* @summary Retrieve the bank transaction
|
|
490
481
|
* @param {string} code
|
|
491
482
|
* @param {string} [authorization] Bearer Token
|
|
492
|
-
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: bankAccount, transaction, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder<i>
|
|
483
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: bankAccount, transaction, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder, bankTransactionInvoices<i>
|
|
493
484
|
* @param {*} [options] Override http request option.
|
|
494
485
|
* @throws {RequiredError}
|
|
495
486
|
*/
|
|
@@ -528,7 +519,7 @@ export const BankTransactionApiFactory = function (configuration?: Configuration
|
|
|
528
519
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
529
520
|
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: id, createdAt, amount</i>
|
|
530
521
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, transactionDate, entryDate</i>
|
|
531
|
-
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: bankAccount, transaction, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder<i>
|
|
522
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: bankAccount, transaction, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder, bankTransactionInvoices<i>
|
|
532
523
|
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
533
524
|
* @param {*} [options] Override http request option.
|
|
534
525
|
* @throws {RequiredError}
|
|
@@ -540,13 +531,12 @@ export const BankTransactionApiFactory = function (configuration?: Configuration
|
|
|
540
531
|
* Unlinks an already linked bank transaction **Required Permissions** \"payment-management.bank-accounts.update\"
|
|
541
532
|
* @summary Unlink bank transaction
|
|
542
533
|
* @param {string} code Code of the bank transaction to unlink
|
|
543
|
-
* @param {UnlinkBankTransactionRequestDtoRest} unlinkBankTransactionRequestDtoRest
|
|
544
534
|
* @param {string} [authorization] Bearer Token
|
|
545
535
|
* @param {*} [options] Override http request option.
|
|
546
536
|
* @throws {RequiredError}
|
|
547
537
|
*/
|
|
548
|
-
unlinkBankTransaction(code: string,
|
|
549
|
-
return localVarFp.unlinkBankTransaction(code,
|
|
538
|
+
unlinkBankTransaction(code: string, authorization?: string, options?: any): AxiosPromise<UnlinkBankTransactionsResponseClass> {
|
|
539
|
+
return localVarFp.unlinkBankTransaction(code, authorization, options).then((request) => request(axios, basePath));
|
|
550
540
|
},
|
|
551
541
|
};
|
|
552
542
|
};
|
|
@@ -593,7 +583,7 @@ export interface BankTransactionApiGetBankTransactionRequest {
|
|
|
593
583
|
readonly authorization?: string
|
|
594
584
|
|
|
595
585
|
/**
|
|
596
|
-
* Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: bankAccount, transaction, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder<i>
|
|
586
|
+
* Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: bankAccount, transaction, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder, bankTransactionInvoices<i>
|
|
597
587
|
* @type {string}
|
|
598
588
|
* @memberof BankTransactionApiGetBankTransaction
|
|
599
589
|
*/
|
|
@@ -698,7 +688,7 @@ export interface BankTransactionApiListBankTransactionsRequest {
|
|
|
698
688
|
readonly order?: string
|
|
699
689
|
|
|
700
690
|
/**
|
|
701
|
-
* Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: bankAccount, transaction, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder<i>
|
|
691
|
+
* Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: bankAccount, transaction, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder, bankTransactionInvoices<i>
|
|
702
692
|
* @type {string}
|
|
703
693
|
* @memberof BankTransactionApiListBankTransactions
|
|
704
694
|
*/
|
|
@@ -725,13 +715,6 @@ export interface BankTransactionApiUnlinkBankTransactionRequest {
|
|
|
725
715
|
*/
|
|
726
716
|
readonly code: string
|
|
727
717
|
|
|
728
|
-
/**
|
|
729
|
-
*
|
|
730
|
-
* @type {UnlinkBankTransactionRequestDtoRest}
|
|
731
|
-
* @memberof BankTransactionApiUnlinkBankTransaction
|
|
732
|
-
*/
|
|
733
|
-
readonly unlinkBankTransactionRequestDtoRest: UnlinkBankTransactionRequestDtoRest
|
|
734
|
-
|
|
735
718
|
/**
|
|
736
719
|
* Bearer Token
|
|
737
720
|
* @type {string}
|
|
@@ -816,6 +799,6 @@ export class BankTransactionApi extends BaseAPI {
|
|
|
816
799
|
* @memberof BankTransactionApi
|
|
817
800
|
*/
|
|
818
801
|
public unlinkBankTransaction(requestParameters: BankTransactionApiUnlinkBankTransactionRequest, options?: AxiosRequestConfig) {
|
|
819
|
-
return BankTransactionApiFp(this.configuration).unlinkBankTransaction(requestParameters.code, requestParameters.
|
|
802
|
+
return BankTransactionApiFp(this.configuration).unlinkBankTransaction(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
820
803
|
}
|
|
821
804
|
}
|
|
@@ -18,7 +18,6 @@ import { ImportBankTransactionsResponseClass } from '../models';
|
|
|
18
18
|
import { LinkBankTransactionRequestDtoRest } from '../models';
|
|
19
19
|
import { LinkBankTransactionsResponseClass } from '../models';
|
|
20
20
|
import { ListBankTransactionsResponseClass } from '../models';
|
|
21
|
-
import { UnlinkBankTransactionRequestDtoRest } from '../models';
|
|
22
21
|
import { UnlinkBankTransactionsResponseClass } from '../models';
|
|
23
22
|
/**
|
|
24
23
|
* BankTransactionApi - axios parameter creator
|
|
@@ -39,7 +38,7 @@ export declare const BankTransactionApiAxiosParamCreator: (configuration?: Confi
|
|
|
39
38
|
* @summary Retrieve the bank transaction
|
|
40
39
|
* @param {string} code
|
|
41
40
|
* @param {string} [authorization] Bearer Token
|
|
42
|
-
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: bankAccount, transaction, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder<i>
|
|
41
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: bankAccount, transaction, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder, bankTransactionInvoices<i>
|
|
43
42
|
* @param {*} [options] Override http request option.
|
|
44
43
|
* @throws {RequiredError}
|
|
45
44
|
*/
|
|
@@ -72,7 +71,7 @@ export declare const BankTransactionApiAxiosParamCreator: (configuration?: Confi
|
|
|
72
71
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
73
72
|
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: id, createdAt, amount</i>
|
|
74
73
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, transactionDate, entryDate</i>
|
|
75
|
-
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: bankAccount, transaction, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder<i>
|
|
74
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: bankAccount, transaction, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder, bankTransactionInvoices<i>
|
|
76
75
|
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
77
76
|
* @param {*} [options] Override http request option.
|
|
78
77
|
* @throws {RequiredError}
|
|
@@ -82,12 +81,11 @@ export declare const BankTransactionApiAxiosParamCreator: (configuration?: Confi
|
|
|
82
81
|
* Unlinks an already linked bank transaction **Required Permissions** \"payment-management.bank-accounts.update\"
|
|
83
82
|
* @summary Unlink bank transaction
|
|
84
83
|
* @param {string} code Code of the bank transaction to unlink
|
|
85
|
-
* @param {UnlinkBankTransactionRequestDtoRest} unlinkBankTransactionRequestDtoRest
|
|
86
84
|
* @param {string} [authorization] Bearer Token
|
|
87
85
|
* @param {*} [options] Override http request option.
|
|
88
86
|
* @throws {RequiredError}
|
|
89
87
|
*/
|
|
90
|
-
unlinkBankTransaction: (code: string,
|
|
88
|
+
unlinkBankTransaction: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
91
89
|
};
|
|
92
90
|
/**
|
|
93
91
|
* BankTransactionApi - functional programming interface
|
|
@@ -108,7 +106,7 @@ export declare const BankTransactionApiFp: (configuration?: Configuration) => {
|
|
|
108
106
|
* @summary Retrieve the bank transaction
|
|
109
107
|
* @param {string} code
|
|
110
108
|
* @param {string} [authorization] Bearer Token
|
|
111
|
-
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: bankAccount, transaction, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder<i>
|
|
109
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: bankAccount, transaction, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder, bankTransactionInvoices<i>
|
|
112
110
|
* @param {*} [options] Override http request option.
|
|
113
111
|
* @throws {RequiredError}
|
|
114
112
|
*/
|
|
@@ -141,7 +139,7 @@ export declare const BankTransactionApiFp: (configuration?: Configuration) => {
|
|
|
141
139
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
142
140
|
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: id, createdAt, amount</i>
|
|
143
141
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, transactionDate, entryDate</i>
|
|
144
|
-
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: bankAccount, transaction, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder<i>
|
|
142
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: bankAccount, transaction, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder, bankTransactionInvoices<i>
|
|
145
143
|
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
146
144
|
* @param {*} [options] Override http request option.
|
|
147
145
|
* @throws {RequiredError}
|
|
@@ -151,12 +149,11 @@ export declare const BankTransactionApiFp: (configuration?: Configuration) => {
|
|
|
151
149
|
* Unlinks an already linked bank transaction **Required Permissions** \"payment-management.bank-accounts.update\"
|
|
152
150
|
* @summary Unlink bank transaction
|
|
153
151
|
* @param {string} code Code of the bank transaction to unlink
|
|
154
|
-
* @param {UnlinkBankTransactionRequestDtoRest} unlinkBankTransactionRequestDtoRest
|
|
155
152
|
* @param {string} [authorization] Bearer Token
|
|
156
153
|
* @param {*} [options] Override http request option.
|
|
157
154
|
* @throws {RequiredError}
|
|
158
155
|
*/
|
|
159
|
-
unlinkBankTransaction(code: string,
|
|
156
|
+
unlinkBankTransaction(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UnlinkBankTransactionsResponseClass>>;
|
|
160
157
|
};
|
|
161
158
|
/**
|
|
162
159
|
* BankTransactionApi - factory interface
|
|
@@ -177,7 +174,7 @@ export declare const BankTransactionApiFactory: (configuration?: Configuration,
|
|
|
177
174
|
* @summary Retrieve the bank transaction
|
|
178
175
|
* @param {string} code
|
|
179
176
|
* @param {string} [authorization] Bearer Token
|
|
180
|
-
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: bankAccount, transaction, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder<i>
|
|
177
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: bankAccount, transaction, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder, bankTransactionInvoices<i>
|
|
181
178
|
* @param {*} [options] Override http request option.
|
|
182
179
|
* @throws {RequiredError}
|
|
183
180
|
*/
|
|
@@ -210,7 +207,7 @@ export declare const BankTransactionApiFactory: (configuration?: Configuration,
|
|
|
210
207
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
211
208
|
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: id, createdAt, amount</i>
|
|
212
209
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, transactionDate, entryDate</i>
|
|
213
|
-
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: bankAccount, transaction, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder<i>
|
|
210
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: bankAccount, transaction, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder, bankTransactionInvoices<i>
|
|
214
211
|
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
215
212
|
* @param {*} [options] Override http request option.
|
|
216
213
|
* @throws {RequiredError}
|
|
@@ -220,12 +217,11 @@ export declare const BankTransactionApiFactory: (configuration?: Configuration,
|
|
|
220
217
|
* Unlinks an already linked bank transaction **Required Permissions** \"payment-management.bank-accounts.update\"
|
|
221
218
|
* @summary Unlink bank transaction
|
|
222
219
|
* @param {string} code Code of the bank transaction to unlink
|
|
223
|
-
* @param {UnlinkBankTransactionRequestDtoRest} unlinkBankTransactionRequestDtoRest
|
|
224
220
|
* @param {string} [authorization] Bearer Token
|
|
225
221
|
* @param {*} [options] Override http request option.
|
|
226
222
|
* @throws {RequiredError}
|
|
227
223
|
*/
|
|
228
|
-
unlinkBankTransaction(code: string,
|
|
224
|
+
unlinkBankTransaction(code: string, authorization?: string, options?: any): AxiosPromise<UnlinkBankTransactionsResponseClass>;
|
|
229
225
|
};
|
|
230
226
|
/**
|
|
231
227
|
* Request parameters for generateInvoiceMatchSuggestion operation in BankTransactionApi.
|
|
@@ -265,7 +261,7 @@ export interface BankTransactionApiGetBankTransactionRequest {
|
|
|
265
261
|
*/
|
|
266
262
|
readonly authorization?: string;
|
|
267
263
|
/**
|
|
268
|
-
* Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: bankAccount, transaction, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder<i>
|
|
264
|
+
* Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: bankAccount, transaction, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder, bankTransactionInvoices<i>
|
|
269
265
|
* @type {string}
|
|
270
266
|
* @memberof BankTransactionApiGetBankTransaction
|
|
271
267
|
*/
|
|
@@ -358,7 +354,7 @@ export interface BankTransactionApiListBankTransactionsRequest {
|
|
|
358
354
|
*/
|
|
359
355
|
readonly order?: string;
|
|
360
356
|
/**
|
|
361
|
-
* Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: bankAccount, transaction, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder<i>
|
|
357
|
+
* Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: bankAccount, transaction, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder, bankTransactionInvoices<i>
|
|
362
358
|
* @type {string}
|
|
363
359
|
* @memberof BankTransactionApiListBankTransactions
|
|
364
360
|
*/
|
|
@@ -382,12 +378,6 @@ export interface BankTransactionApiUnlinkBankTransactionRequest {
|
|
|
382
378
|
* @memberof BankTransactionApiUnlinkBankTransaction
|
|
383
379
|
*/
|
|
384
380
|
readonly code: string;
|
|
385
|
-
/**
|
|
386
|
-
*
|
|
387
|
-
* @type {UnlinkBankTransactionRequestDtoRest}
|
|
388
|
-
* @memberof BankTransactionApiUnlinkBankTransaction
|
|
389
|
-
*/
|
|
390
|
-
readonly unlinkBankTransactionRequestDtoRest: UnlinkBankTransactionRequestDtoRest;
|
|
391
381
|
/**
|
|
392
382
|
* Bearer Token
|
|
393
383
|
* @type {string}
|
|
@@ -149,7 +149,7 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
|
|
|
149
149
|
* @summary Retrieve the bank transaction
|
|
150
150
|
* @param {string} code
|
|
151
151
|
* @param {string} [authorization] Bearer Token
|
|
152
|
-
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: bankAccount, transaction, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder<i>
|
|
152
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: bankAccount, transaction, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder, bankTransactionInvoices<i>
|
|
153
153
|
* @param {*} [options] Override http request option.
|
|
154
154
|
* @throws {RequiredError}
|
|
155
155
|
*/
|
|
@@ -311,7 +311,7 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
|
|
|
311
311
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
312
312
|
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: id, createdAt, amount</i>
|
|
313
313
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, transactionDate, entryDate</i>
|
|
314
|
-
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: bankAccount, transaction, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder<i>
|
|
314
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: bankAccount, transaction, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder, bankTransactionInvoices<i>
|
|
315
315
|
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
316
316
|
* @param {*} [options] Override http request option.
|
|
317
317
|
* @throws {RequiredError}
|
|
@@ -378,12 +378,11 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
|
|
|
378
378
|
* Unlinks an already linked bank transaction **Required Permissions** \"payment-management.bank-accounts.update\"
|
|
379
379
|
* @summary Unlink bank transaction
|
|
380
380
|
* @param {string} code Code of the bank transaction to unlink
|
|
381
|
-
* @param {UnlinkBankTransactionRequestDtoRest} unlinkBankTransactionRequestDtoRest
|
|
382
381
|
* @param {string} [authorization] Bearer Token
|
|
383
382
|
* @param {*} [options] Override http request option.
|
|
384
383
|
* @throws {RequiredError}
|
|
385
384
|
*/
|
|
386
|
-
unlinkBankTransaction: function (code,
|
|
385
|
+
unlinkBankTransaction: function (code, authorization, options) {
|
|
387
386
|
if (options === void 0) { options = {}; }
|
|
388
387
|
return __awaiter(_this, void 0, void 0, function () {
|
|
389
388
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -392,8 +391,6 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
|
|
|
392
391
|
case 0:
|
|
393
392
|
// verify required parameter 'code' is not null or undefined
|
|
394
393
|
(0, common_1.assertParamExists)('unlinkBankTransaction', 'code', code);
|
|
395
|
-
// verify required parameter 'unlinkBankTransactionRequestDtoRest' is not null or undefined
|
|
396
|
-
(0, common_1.assertParamExists)('unlinkBankTransaction', 'unlinkBankTransactionRequestDtoRest', unlinkBankTransactionRequestDtoRest);
|
|
397
394
|
localVarPath = "/paymentservice/v1/tenant/bank-transactions/{code}/unlink"
|
|
398
395
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
399
396
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -414,11 +411,9 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
|
|
|
414
411
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
415
412
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
416
413
|
}
|
|
417
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
418
414
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
419
415
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
420
416
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
421
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(unlinkBankTransactionRequestDtoRest, localVarRequestOptions, configuration);
|
|
422
417
|
return [2 /*return*/, {
|
|
423
418
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
424
419
|
options: localVarRequestOptions,
|
|
@@ -463,7 +458,7 @@ var BankTransactionApiFp = function (configuration) {
|
|
|
463
458
|
* @summary Retrieve the bank transaction
|
|
464
459
|
* @param {string} code
|
|
465
460
|
* @param {string} [authorization] Bearer Token
|
|
466
|
-
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: bankAccount, transaction, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder<i>
|
|
461
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: bankAccount, transaction, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder, bankTransactionInvoices<i>
|
|
467
462
|
* @param {*} [options] Override http request option.
|
|
468
463
|
* @throws {RequiredError}
|
|
469
464
|
*/
|
|
@@ -532,7 +527,7 @@ var BankTransactionApiFp = function (configuration) {
|
|
|
532
527
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
533
528
|
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: id, createdAt, amount</i>
|
|
534
529
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, transactionDate, entryDate</i>
|
|
535
|
-
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: bankAccount, transaction, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder<i>
|
|
530
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: bankAccount, transaction, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder, bankTransactionInvoices<i>
|
|
536
531
|
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
537
532
|
* @param {*} [options] Override http request option.
|
|
538
533
|
* @throws {RequiredError}
|
|
@@ -554,17 +549,16 @@ var BankTransactionApiFp = function (configuration) {
|
|
|
554
549
|
* Unlinks an already linked bank transaction **Required Permissions** \"payment-management.bank-accounts.update\"
|
|
555
550
|
* @summary Unlink bank transaction
|
|
556
551
|
* @param {string} code Code of the bank transaction to unlink
|
|
557
|
-
* @param {UnlinkBankTransactionRequestDtoRest} unlinkBankTransactionRequestDtoRest
|
|
558
552
|
* @param {string} [authorization] Bearer Token
|
|
559
553
|
* @param {*} [options] Override http request option.
|
|
560
554
|
* @throws {RequiredError}
|
|
561
555
|
*/
|
|
562
|
-
unlinkBankTransaction: function (code,
|
|
556
|
+
unlinkBankTransaction: function (code, authorization, options) {
|
|
563
557
|
return __awaiter(this, void 0, void 0, function () {
|
|
564
558
|
var localVarAxiosArgs;
|
|
565
559
|
return __generator(this, function (_a) {
|
|
566
560
|
switch (_a.label) {
|
|
567
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.unlinkBankTransaction(code,
|
|
561
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.unlinkBankTransaction(code, authorization, options)];
|
|
568
562
|
case 1:
|
|
569
563
|
localVarAxiosArgs = _a.sent();
|
|
570
564
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -598,7 +592,7 @@ var BankTransactionApiFactory = function (configuration, basePath, axios) {
|
|
|
598
592
|
* @summary Retrieve the bank transaction
|
|
599
593
|
* @param {string} code
|
|
600
594
|
* @param {string} [authorization] Bearer Token
|
|
601
|
-
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: bankAccount, transaction, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder<i>
|
|
595
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: bankAccount, transaction, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder, bankTransactionInvoices<i>
|
|
602
596
|
* @param {*} [options] Override http request option.
|
|
603
597
|
* @throws {RequiredError}
|
|
604
598
|
*/
|
|
@@ -637,7 +631,7 @@ var BankTransactionApiFactory = function (configuration, basePath, axios) {
|
|
|
637
631
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
638
632
|
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: id, createdAt, amount</i>
|
|
639
633
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, transactionDate, entryDate</i>
|
|
640
|
-
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: bankAccount, transaction, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder<i>
|
|
634
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: bankAccount, transaction, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder, bankTransactionInvoices<i>
|
|
641
635
|
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
642
636
|
* @param {*} [options] Override http request option.
|
|
643
637
|
* @throws {RequiredError}
|
|
@@ -649,13 +643,12 @@ var BankTransactionApiFactory = function (configuration, basePath, axios) {
|
|
|
649
643
|
* Unlinks an already linked bank transaction **Required Permissions** \"payment-management.bank-accounts.update\"
|
|
650
644
|
* @summary Unlink bank transaction
|
|
651
645
|
* @param {string} code Code of the bank transaction to unlink
|
|
652
|
-
* @param {UnlinkBankTransactionRequestDtoRest} unlinkBankTransactionRequestDtoRest
|
|
653
646
|
* @param {string} [authorization] Bearer Token
|
|
654
647
|
* @param {*} [options] Override http request option.
|
|
655
648
|
* @throws {RequiredError}
|
|
656
649
|
*/
|
|
657
|
-
unlinkBankTransaction: function (code,
|
|
658
|
-
return localVarFp.unlinkBankTransaction(code,
|
|
650
|
+
unlinkBankTransaction: function (code, authorization, options) {
|
|
651
|
+
return localVarFp.unlinkBankTransaction(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
659
652
|
},
|
|
660
653
|
};
|
|
661
654
|
};
|
|
@@ -742,7 +735,7 @@ var BankTransactionApi = /** @class */ (function (_super) {
|
|
|
742
735
|
*/
|
|
743
736
|
BankTransactionApi.prototype.unlinkBankTransaction = function (requestParameters, options) {
|
|
744
737
|
var _this = this;
|
|
745
|
-
return (0, exports.BankTransactionApiFp)(this.configuration).unlinkBankTransaction(requestParameters.code, requestParameters.
|
|
738
|
+
return (0, exports.BankTransactionApiFp)(this.configuration).unlinkBankTransaction(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
746
739
|
};
|
|
747
740
|
return BankTransactionApi;
|
|
748
741
|
}(base_1.BaseAPI));
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import { BankOrderClass } from './bank-order-class';
|
|
13
|
+
import { BankTransactionInvoiceClass } from './bank-transaction-invoice-class';
|
|
13
14
|
/**
|
|
14
15
|
*
|
|
15
16
|
* @export
|
|
@@ -94,24 +95,18 @@ export interface BankTransactionClassWithoutExpandProperties {
|
|
|
94
95
|
* @memberof BankTransactionClassWithoutExpandProperties
|
|
95
96
|
*/
|
|
96
97
|
'linkedTransactionId'?: number;
|
|
97
|
-
/**
|
|
98
|
-
* The code of the invoice that this bank transaction is linked to
|
|
99
|
-
* @type {string}
|
|
100
|
-
* @memberof BankTransactionClassWithoutExpandProperties
|
|
101
|
-
*/
|
|
102
|
-
'linkedInvoiceCode'?: string;
|
|
103
|
-
/**
|
|
104
|
-
* The identifying invoice number that this bank transaction is linked to
|
|
105
|
-
* @type {string}
|
|
106
|
-
* @memberof BankTransactionClassWithoutExpandProperties
|
|
107
|
-
*/
|
|
108
|
-
'linkedInvoiceNumber'?: string;
|
|
109
98
|
/**
|
|
110
99
|
* Boolean flag to indicate if the bank transaction is linked to an invoice - defaults to false
|
|
111
100
|
* @type {boolean}
|
|
112
101
|
* @memberof BankTransactionClassWithoutExpandProperties
|
|
113
102
|
*/
|
|
114
103
|
'isLinked': boolean;
|
|
104
|
+
/**
|
|
105
|
+
* The bank transaction invoices that this bank transaction is linked to
|
|
106
|
+
* @type {Array<BankTransactionInvoiceClass>}
|
|
107
|
+
* @memberof BankTransactionClassWithoutExpandProperties
|
|
108
|
+
*/
|
|
109
|
+
'bankTransactionInvoices'?: Array<BankTransactionInvoiceClass>;
|
|
115
110
|
/**
|
|
116
111
|
* The linked bank order object
|
|
117
112
|
* @type {BankOrderClass}
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import { BankOrderClass } from './bank-order-class';
|
|
13
|
+
import { BankTransactionInvoiceClass } from './bank-transaction-invoice-class';
|
|
13
14
|
import { InvoiceMatchSuggestionClass } from './invoice-match-suggestion-class';
|
|
14
15
|
import { SharedTransactionClass } from './shared-transaction-class';
|
|
15
16
|
import { SuggestionGenerationProgressClass } from './suggestion-generation-progress-class';
|
|
@@ -98,24 +99,18 @@ export interface BankTransactionClass {
|
|
|
98
99
|
* @memberof BankTransactionClass
|
|
99
100
|
*/
|
|
100
101
|
'linkedTransactionId'?: number;
|
|
101
|
-
/**
|
|
102
|
-
* The code of the invoice that this bank transaction is linked to
|
|
103
|
-
* @type {string}
|
|
104
|
-
* @memberof BankTransactionClass
|
|
105
|
-
*/
|
|
106
|
-
'linkedInvoiceCode'?: string;
|
|
107
|
-
/**
|
|
108
|
-
* The identifying invoice number that this bank transaction is linked to
|
|
109
|
-
* @type {string}
|
|
110
|
-
* @memberof BankTransactionClass
|
|
111
|
-
*/
|
|
112
|
-
'linkedInvoiceNumber'?: string;
|
|
113
102
|
/**
|
|
114
103
|
* Boolean flag to indicate if the bank transaction is linked to an invoice - defaults to false
|
|
115
104
|
* @type {boolean}
|
|
116
105
|
* @memberof BankTransactionClass
|
|
117
106
|
*/
|
|
118
107
|
'isLinked': boolean;
|
|
108
|
+
/**
|
|
109
|
+
* The bank transaction invoices that this bank transaction is linked to
|
|
110
|
+
* @type {Array<BankTransactionInvoiceClass>}
|
|
111
|
+
* @memberof BankTransactionClass
|
|
112
|
+
*/
|
|
113
|
+
'bankTransactionInvoices'?: Array<BankTransactionInvoiceClass>;
|
|
119
114
|
/**
|
|
120
115
|
* The bank account object that this transaction is belongs to
|
|
121
116
|
* @type {TenantBankAccountClassWithoutExpandProperties}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Emil Payment Service
|
|
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
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface BankTransactionInvoiceClass
|
|
16
|
+
*/
|
|
17
|
+
export interface BankTransactionInvoiceClass {
|
|
18
|
+
/**
|
|
19
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof BankTransactionInvoiceClass
|
|
22
|
+
*/
|
|
23
|
+
'id': number;
|
|
24
|
+
/**
|
|
25
|
+
* Unique identifier for the object.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof BankTransactionInvoiceClass
|
|
28
|
+
*/
|
|
29
|
+
'code': string;
|
|
30
|
+
/**
|
|
31
|
+
* Bank transaction id
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof BankTransactionInvoiceClass
|
|
34
|
+
*/
|
|
35
|
+
'bankTransactionId': number;
|
|
36
|
+
/**
|
|
37
|
+
* Invoice code of the bank transaction invoice
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof BankTransactionInvoiceClass
|
|
40
|
+
*/
|
|
41
|
+
'invoiceCode': string;
|
|
42
|
+
/**
|
|
43
|
+
* Invoice number of the bank transaction invoice
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof BankTransactionInvoiceClass
|
|
46
|
+
*/
|
|
47
|
+
'invoiceNumber': string;
|
|
48
|
+
/**
|
|
49
|
+
* Time at which the object was created.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof BankTransactionInvoiceClass
|
|
52
|
+
*/
|
|
53
|
+
'createdAt': string;
|
|
54
|
+
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ export * from './bank-account-class-without-expand-properties';
|
|
|
3
3
|
export * from './bank-order-class';
|
|
4
4
|
export * from './bank-transaction-class';
|
|
5
5
|
export * from './bank-transaction-class-without-expand-properties';
|
|
6
|
+
export * from './bank-transaction-invoice-class';
|
|
6
7
|
export * from './billing-profile-dto';
|
|
7
8
|
export * from './billing-profile-limited-response-dto';
|
|
8
9
|
export * from './card-details-dto';
|
|
@@ -78,7 +79,6 @@ export * from './suggestion-generation-progress-class';
|
|
|
78
79
|
export * from './symphony-profile-limited-response-dto';
|
|
79
80
|
export * from './tenant-bank-account-class';
|
|
80
81
|
export * from './tenant-bank-account-class-without-expand-properties';
|
|
81
|
-
export * from './unlink-bank-transaction-request-dto-rest';
|
|
82
82
|
export * from './unlink-bank-transactions-response-class';
|
|
83
83
|
export * from './unlinked-bank-transaction-response-class';
|
|
84
84
|
export * from './update-bank-account-request-dto';
|
package/dist/models/index.js
CHANGED
|
@@ -19,6 +19,7 @@ __exportStar(require("./bank-account-class-without-expand-properties"), exports)
|
|
|
19
19
|
__exportStar(require("./bank-order-class"), exports);
|
|
20
20
|
__exportStar(require("./bank-transaction-class"), exports);
|
|
21
21
|
__exportStar(require("./bank-transaction-class-without-expand-properties"), exports);
|
|
22
|
+
__exportStar(require("./bank-transaction-invoice-class"), exports);
|
|
22
23
|
__exportStar(require("./billing-profile-dto"), exports);
|
|
23
24
|
__exportStar(require("./billing-profile-limited-response-dto"), exports);
|
|
24
25
|
__exportStar(require("./card-details-dto"), exports);
|
|
@@ -94,7 +95,6 @@ __exportStar(require("./suggestion-generation-progress-class"), exports);
|
|
|
94
95
|
__exportStar(require("./symphony-profile-limited-response-dto"), exports);
|
|
95
96
|
__exportStar(require("./tenant-bank-account-class"), exports);
|
|
96
97
|
__exportStar(require("./tenant-bank-account-class-without-expand-properties"), exports);
|
|
97
|
-
__exportStar(require("./unlink-bank-transaction-request-dto-rest"), exports);
|
|
98
98
|
__exportStar(require("./unlink-bank-transactions-response-class"), exports);
|
|
99
99
|
__exportStar(require("./unlinked-bank-transaction-response-class"), exports);
|
|
100
100
|
__exportStar(require("./update-bank-account-request-dto"), exports);
|
|
@@ -16,9 +16,9 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface LinkBankTransactionRequestDtoRest {
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {
|
|
19
|
+
* List of invoice codes associated with bank transaction.
|
|
20
|
+
* @type {Array<number>}
|
|
21
21
|
* @memberof LinkBankTransactionRequestDtoRest
|
|
22
22
|
*/
|
|
23
|
-
'
|
|
23
|
+
'invoiceIds': Array<number>;
|
|
24
24
|
}
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import { BankOrderClass } from './bank-order-class';
|
|
13
|
+
import { BankTransactionInvoiceClass } from './bank-transaction-invoice-class';
|
|
13
14
|
/**
|
|
14
15
|
*
|
|
15
16
|
* @export
|
|
@@ -94,6 +95,12 @@ export interface UnlinkedBankTransactionResponseClass {
|
|
|
94
95
|
* @memberof UnlinkedBankTransactionResponseClass
|
|
95
96
|
*/
|
|
96
97
|
'isLinked': boolean;
|
|
98
|
+
/**
|
|
99
|
+
* The bank transaction invoices that this bank transaction is linked to
|
|
100
|
+
* @type {Array<BankTransactionInvoiceClass>}
|
|
101
|
+
* @memberof UnlinkedBankTransactionResponseClass
|
|
102
|
+
*/
|
|
103
|
+
'bankTransactionInvoices'?: Array<BankTransactionInvoiceClass>;
|
|
97
104
|
/**
|
|
98
105
|
* The linked bank order object
|
|
99
106
|
* @type {BankOrderClass}
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
import { BankOrderClass } from './bank-order-class';
|
|
17
|
+
import { BankTransactionInvoiceClass } from './bank-transaction-invoice-class';
|
|
17
18
|
|
|
18
19
|
/**
|
|
19
20
|
*
|
|
@@ -99,24 +100,18 @@ export interface BankTransactionClassWithoutExpandProperties {
|
|
|
99
100
|
* @memberof BankTransactionClassWithoutExpandProperties
|
|
100
101
|
*/
|
|
101
102
|
'linkedTransactionId'?: number;
|
|
102
|
-
/**
|
|
103
|
-
* The code of the invoice that this bank transaction is linked to
|
|
104
|
-
* @type {string}
|
|
105
|
-
* @memberof BankTransactionClassWithoutExpandProperties
|
|
106
|
-
*/
|
|
107
|
-
'linkedInvoiceCode'?: string;
|
|
108
|
-
/**
|
|
109
|
-
* The identifying invoice number that this bank transaction is linked to
|
|
110
|
-
* @type {string}
|
|
111
|
-
* @memberof BankTransactionClassWithoutExpandProperties
|
|
112
|
-
*/
|
|
113
|
-
'linkedInvoiceNumber'?: string;
|
|
114
103
|
/**
|
|
115
104
|
* Boolean flag to indicate if the bank transaction is linked to an invoice - defaults to false
|
|
116
105
|
* @type {boolean}
|
|
117
106
|
* @memberof BankTransactionClassWithoutExpandProperties
|
|
118
107
|
*/
|
|
119
108
|
'isLinked': boolean;
|
|
109
|
+
/**
|
|
110
|
+
* The bank transaction invoices that this bank transaction is linked to
|
|
111
|
+
* @type {Array<BankTransactionInvoiceClass>}
|
|
112
|
+
* @memberof BankTransactionClassWithoutExpandProperties
|
|
113
|
+
*/
|
|
114
|
+
'bankTransactionInvoices'?: Array<BankTransactionInvoiceClass>;
|
|
120
115
|
/**
|
|
121
116
|
* The linked bank order object
|
|
122
117
|
* @type {BankOrderClass}
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
import { BankOrderClass } from './bank-order-class';
|
|
17
|
+
import { BankTransactionInvoiceClass } from './bank-transaction-invoice-class';
|
|
17
18
|
import { InvoiceMatchSuggestionClass } from './invoice-match-suggestion-class';
|
|
18
19
|
import { SharedTransactionClass } from './shared-transaction-class';
|
|
19
20
|
import { SuggestionGenerationProgressClass } from './suggestion-generation-progress-class';
|
|
@@ -103,24 +104,18 @@ export interface BankTransactionClass {
|
|
|
103
104
|
* @memberof BankTransactionClass
|
|
104
105
|
*/
|
|
105
106
|
'linkedTransactionId'?: number;
|
|
106
|
-
/**
|
|
107
|
-
* The code of the invoice that this bank transaction is linked to
|
|
108
|
-
* @type {string}
|
|
109
|
-
* @memberof BankTransactionClass
|
|
110
|
-
*/
|
|
111
|
-
'linkedInvoiceCode'?: string;
|
|
112
|
-
/**
|
|
113
|
-
* The identifying invoice number that this bank transaction is linked to
|
|
114
|
-
* @type {string}
|
|
115
|
-
* @memberof BankTransactionClass
|
|
116
|
-
*/
|
|
117
|
-
'linkedInvoiceNumber'?: string;
|
|
118
107
|
/**
|
|
119
108
|
* Boolean flag to indicate if the bank transaction is linked to an invoice - defaults to false
|
|
120
109
|
* @type {boolean}
|
|
121
110
|
* @memberof BankTransactionClass
|
|
122
111
|
*/
|
|
123
112
|
'isLinked': boolean;
|
|
113
|
+
/**
|
|
114
|
+
* The bank transaction invoices that this bank transaction is linked to
|
|
115
|
+
* @type {Array<BankTransactionInvoiceClass>}
|
|
116
|
+
* @memberof BankTransactionClass
|
|
117
|
+
*/
|
|
118
|
+
'bankTransactionInvoices'?: Array<BankTransactionInvoiceClass>;
|
|
124
119
|
/**
|
|
125
120
|
* The bank account object that this transaction is belongs to
|
|
126
121
|
* @type {TenantBankAccountClassWithoutExpandProperties}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Emil Payment Service
|
|
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
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface BankTransactionInvoiceClass
|
|
21
|
+
*/
|
|
22
|
+
export interface BankTransactionInvoiceClass {
|
|
23
|
+
/**
|
|
24
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof BankTransactionInvoiceClass
|
|
27
|
+
*/
|
|
28
|
+
'id': number;
|
|
29
|
+
/**
|
|
30
|
+
* Unique identifier for the object.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof BankTransactionInvoiceClass
|
|
33
|
+
*/
|
|
34
|
+
'code': string;
|
|
35
|
+
/**
|
|
36
|
+
* Bank transaction id
|
|
37
|
+
* @type {number}
|
|
38
|
+
* @memberof BankTransactionInvoiceClass
|
|
39
|
+
*/
|
|
40
|
+
'bankTransactionId': number;
|
|
41
|
+
/**
|
|
42
|
+
* Invoice code of the bank transaction invoice
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof BankTransactionInvoiceClass
|
|
45
|
+
*/
|
|
46
|
+
'invoiceCode': string;
|
|
47
|
+
/**
|
|
48
|
+
* Invoice number of the bank transaction invoice
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof BankTransactionInvoiceClass
|
|
51
|
+
*/
|
|
52
|
+
'invoiceNumber': string;
|
|
53
|
+
/**
|
|
54
|
+
* Time at which the object was created.
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof BankTransactionInvoiceClass
|
|
57
|
+
*/
|
|
58
|
+
'createdAt': string;
|
|
59
|
+
}
|
|
60
|
+
|
package/models/index.ts
CHANGED
|
@@ -3,6 +3,7 @@ export * from './bank-account-class-without-expand-properties';
|
|
|
3
3
|
export * from './bank-order-class';
|
|
4
4
|
export * from './bank-transaction-class';
|
|
5
5
|
export * from './bank-transaction-class-without-expand-properties';
|
|
6
|
+
export * from './bank-transaction-invoice-class';
|
|
6
7
|
export * from './billing-profile-dto';
|
|
7
8
|
export * from './billing-profile-limited-response-dto';
|
|
8
9
|
export * from './card-details-dto';
|
|
@@ -78,7 +79,6 @@ export * from './suggestion-generation-progress-class';
|
|
|
78
79
|
export * from './symphony-profile-limited-response-dto';
|
|
79
80
|
export * from './tenant-bank-account-class';
|
|
80
81
|
export * from './tenant-bank-account-class-without-expand-properties';
|
|
81
|
-
export * from './unlink-bank-transaction-request-dto-rest';
|
|
82
82
|
export * from './unlink-bank-transactions-response-class';
|
|
83
83
|
export * from './unlinked-bank-transaction-response-class';
|
|
84
84
|
export * from './update-bank-account-request-dto';
|
|
@@ -21,10 +21,10 @@
|
|
|
21
21
|
*/
|
|
22
22
|
export interface LinkBankTransactionRequestDtoRest {
|
|
23
23
|
/**
|
|
24
|
-
*
|
|
25
|
-
* @type {
|
|
24
|
+
* List of invoice codes associated with bank transaction.
|
|
25
|
+
* @type {Array<number>}
|
|
26
26
|
* @memberof LinkBankTransactionRequestDtoRest
|
|
27
27
|
*/
|
|
28
|
-
'
|
|
28
|
+
'invoiceIds': Array<number>;
|
|
29
29
|
}
|
|
30
30
|
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
import { BankOrderClass } from './bank-order-class';
|
|
17
|
+
import { BankTransactionInvoiceClass } from './bank-transaction-invoice-class';
|
|
17
18
|
|
|
18
19
|
/**
|
|
19
20
|
*
|
|
@@ -99,6 +100,12 @@ export interface UnlinkedBankTransactionResponseClass {
|
|
|
99
100
|
* @memberof UnlinkedBankTransactionResponseClass
|
|
100
101
|
*/
|
|
101
102
|
'isLinked': boolean;
|
|
103
|
+
/**
|
|
104
|
+
* The bank transaction invoices that this bank transaction is linked to
|
|
105
|
+
* @type {Array<BankTransactionInvoiceClass>}
|
|
106
|
+
* @memberof UnlinkedBankTransactionResponseClass
|
|
107
|
+
*/
|
|
108
|
+
'bankTransactionInvoices'?: Array<BankTransactionInvoiceClass>;
|
|
102
109
|
/**
|
|
103
110
|
* The linked bank order object
|
|
104
111
|
* @type {BankOrderClass}
|
package/package.json
CHANGED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Emil Payment Service
|
|
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
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0
|
|
6
|
-
* Contact: kontakt@emil.de
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface UnlinkBankTransactionRequestDtoRest
|
|
16
|
-
*/
|
|
17
|
-
export interface UnlinkBankTransactionRequestDtoRest {
|
|
18
|
-
/**
|
|
19
|
-
* The code of the invoice that the transaction will be unlinked from
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof UnlinkBankTransactionRequestDtoRest
|
|
22
|
-
*/
|
|
23
|
-
'invoiceCode': string;
|
|
24
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Emil Payment Service
|
|
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
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0
|
|
8
|
-
* Contact: kontakt@emil.de
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
*
|
|
19
|
-
* @export
|
|
20
|
-
* @interface UnlinkBankTransactionRequestDtoRest
|
|
21
|
-
*/
|
|
22
|
-
export interface UnlinkBankTransactionRequestDtoRest {
|
|
23
|
-
/**
|
|
24
|
-
* The code of the invoice that the transaction will be unlinked from
|
|
25
|
-
* @type {string}
|
|
26
|
-
* @memberof UnlinkBankTransactionRequestDtoRest
|
|
27
|
-
*/
|
|
28
|
-
'invoiceCode': string;
|
|
29
|
-
}
|
|
30
|
-
|
|
File without changes
|