taler-docs

Documentation for GNU Taler components, APIs and protocols
Log | Files | Refs | README | LICENSE

commit 0b0e20a8ca942a969110935075363983adf39d35
parent 83ea5bb2cde26ec0442a8d11a01833305a89dfdf
Author: Florian Dold <florian@dold.me>
Date:   Wed,  2 Oct 2024 16:58:26 +0200

update wallet-core docs

Diffstat:
Mwallet/wallet-core.md | 47+++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 47 insertions(+), 0 deletions(-)

diff --git a/wallet/wallet-core.md b/wallet/wallet-core.md @@ -16,6 +16,7 @@ This file is auto-generated from [wallet-core](https://git.taler.net/wallet-core * [GetMaxPeerPushDebitAmountOp](#getmaxpeerpushdebitamountop) ### Managing Transactions * [GetTransactionsOp](#gettransactionsop) +* [GetTransactionsV2Op](#gettransactionsv2op) * [ListAssociatedRefreshesOp](#listassociatedrefreshesop) * [TestingGetSampleTransactionsOp](#testinggetsampletransactionsop) * [GetTransactionByIdOp](#gettransactionbyidop) @@ -488,6 +489,50 @@ export interface TransactionsRequest { ``` +### GetTransactionsV2Op +```typescript +export type GetTransactionsV2Op = { + op: WalletApiOperation.GetTransactionsV2; + request: GetTransactionsV2Request; + response: TransactionsResponse; +}; +// GetTransactionsV2 = "getTransactionsV2" + +``` +```typescript +export interface GetTransactionsV2Request { + /** + * Return only transactions in the given currency. + */ + currency?: string; + /** + * Return only transactions in the given scopeInfo + */ + scopeInfo?: ScopeInfo; + /** + * If true, include all refreshes in the transactions list. + */ + includeRefreshes?: boolean; + /** + * Only return transactions before/after this offset. + */ + offsetTransactionId?: TransactionIdStr; + /** + * Only return transactions before/after the transaction with this + * timestamp. + * + * Used as a fallback if the offsetTransactionId was deleted. + */ + offsetTimestamp?: TalerPreciseTimestamp; + /** + * Number of transactions to return. + */ + limit?: number; + filterState?: "final" | "nonfinal" | "done"; +} + +``` + ### ListAssociatedRefreshesOp ```typescript /** @@ -3708,6 +3753,8 @@ export interface TransactionCommon { */ amountEffective: AmountString; error?: TalerErrorDetail; + abortReason?: TalerErrorDetail; + failReason?: TalerErrorDetail; /** * If the transaction minor state is in KycRequired this field is going to * have the location where the user need to go to complete KYC information.