diff options
Diffstat (limited to 'packages/taler-wallet-core/src/wallet-api-types.ts')
-rw-r--r-- | packages/taler-wallet-core/src/wallet-api-types.ts | 34 |
1 files changed, 3 insertions, 31 deletions
diff --git a/packages/taler-wallet-core/src/wallet-api-types.ts b/packages/taler-wallet-core/src/wallet-api-types.ts index ce8be2927..12abb6469 100644 --- a/packages/taler-wallet-core/src/wallet-api-types.ts +++ b/packages/taler-wallet-core/src/wallet-api-types.ts @@ -59,6 +59,7 @@ import { DeleteExchangeRequest, DeleteStoredBackupRequest, DeleteTransactionRequest, + EmptyObject, ExchangeDetailedResponse, ExchangesListResponse, ExchangesShortListResponse, @@ -94,6 +95,7 @@ import { InitiatePeerPushDebitRequest, InitiatePeerPushDebitResponse, IntegrationTestArgs, + IntegrationTestV2Args, KnownBankAccounts, ListAssociatedRefreshesRequest, ListAssociatedRefreshesResponse, @@ -131,8 +133,6 @@ import { TestPayResult, TestingGetDenomStatsRequest, TestingGetDenomStatsResponse, - TestingListTasksForTransactionRequest, - TestingListTasksForTransactionsResponse, TestingSetTimetravelRequest, TestingWaitTransactionRequest, Transaction, @@ -202,7 +202,6 @@ export enum WalletApiOperation { GetUserAttentionRequests = "getUserAttentionRequests", GetUserAttentionUnreadCount = "getUserAttentionUnreadCount", MarkAttentionRequestAsRead = "markAttentionRequestAsRead", - GetPendingOperations = "getPendingOperations", GetActiveTasks = "getActiveTasks", SetExchangeTosAccepted = "setExchangeTosAccepted", SetExchangeTosForgotten = "setExchangeTosForgotten", @@ -277,8 +276,6 @@ export enum WalletApiOperation { TestingWaitTransactionState = "testingWaitTransactionState", TestingWaitTasksDone = "testingWaitTasksDone", TestingSetTimetravel = "testingSetTimetravel", - TestingInfiniteTransactionLoop = "testingInfiniteTransactionLoop", - TestingListTaskForTransaction = "testingListTasksForTransaction", TestingGetDenomStats = "testingGetDenomStats", TestingPing = "testingPing", TestingGetReserveHistory = "testingGetReserveHistory", @@ -287,8 +284,6 @@ export enum WalletApiOperation { // group: Initialization -type EmptyObject = Record<string, never>; - /** * Initialize wallet-core. * @@ -1073,7 +1068,7 @@ export type RunIntegrationTestOp = { */ export type RunIntegrationTestV2Op = { op: WalletApiOperation.RunIntegrationTestV2; - request: IntegrationTestArgs; + request: IntegrationTestV2Args; response: EmptyObject; }; @@ -1142,17 +1137,6 @@ export type GetUserAttentionsUnreadCount = { response: UserAttentionsCountResponse; }; -/** - * Get wallet-internal pending tasks. - * - * @deprecated - */ -export type GetPendingTasksOp = { - op: WalletApiOperation.GetPendingOperations; - request: EmptyObject; - response: any; -}; - export type GetActiveTasksOp = { op: WalletApiOperation.GetActiveTasks; request: EmptyObject; @@ -1178,15 +1162,6 @@ export type TestingSetTimetravelOp = { }; /** - * Add an offset to the wallet's internal time. - */ -export type TestingListTasksForTransactionOp = { - op: WalletApiOperation.TestingListTaskForTransaction; - request: TestingListTasksForTransactionRequest; - response: TestingListTasksForTransactionsResponse; -}; - -/** * Wait until all transactions are in a final state. */ export type TestingWaitTransactionsFinalOp = { @@ -1301,7 +1276,6 @@ export type WalletOperations = { [WalletApiOperation.GetTransactionById]: GetTransactionByIdOp; [WalletApiOperation.GetWithdrawalTransactionByUri]: GetWithdrawalTransactionByUriOp; [WalletApiOperation.RetryPendingNow]: RetryPendingNowOp; - [WalletApiOperation.GetPendingOperations]: GetPendingTasksOp; [WalletApiOperation.GetActiveTasks]: GetActiveTasksOp; [WalletApiOperation.GetUserAttentionRequests]: GetUserAttentionRequests; [WalletApiOperation.GetUserAttentionUnreadCount]: GetUserAttentionsUnreadCount; @@ -1370,7 +1344,6 @@ export type WalletOperations = { [WalletApiOperation.RecoverStoredBackup]: RecoverStoredBackupsOp; [WalletApiOperation.UpdateExchangeEntry]: UpdateExchangeEntryOp; [WalletApiOperation.PrepareWithdrawExchange]: PrepareWithdrawExchangeOp; - [WalletApiOperation.TestingInfiniteTransactionLoop]: any; [WalletApiOperation.DeleteExchange]: DeleteExchangeOp; [WalletApiOperation.GetExchangeResources]: GetExchangeResourcesOp; [WalletApiOperation.ListGlobalCurrencyAuditors]: ListGlobalCurrencyAuditorsOp; @@ -1380,7 +1353,6 @@ export type WalletOperations = { [WalletApiOperation.AddGlobalCurrencyExchange]: AddGlobalCurrencyExchangeOp; [WalletApiOperation.RemoveGlobalCurrencyExchange]: RemoveGlobalCurrencyExchangeOp; [WalletApiOperation.ListAssociatedRefreshes]: ListAssociatedRefreshesOp; - [WalletApiOperation.TestingListTaskForTransaction]: TestingListTasksForTransactionOp; [WalletApiOperation.TestingGetDenomStats]: TestingGetDenomStatsOp; [WalletApiOperation.TestingPing]: TestingPingOp; [WalletApiOperation.Shutdown]: ShutdownOp; |