diff options
Diffstat (limited to 'packages/taler-wallet-core/src/pending-types.ts')
-rw-r--r-- | packages/taler-wallet-core/src/pending-types.ts | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/packages/taler-wallet-core/src/pending-types.ts b/packages/taler-wallet-core/src/pending-types.ts index 809fa52d4..fd742250c 100644 --- a/packages/taler-wallet-core/src/pending-types.ts +++ b/packages/taler-wallet-core/src/pending-types.ts @@ -39,6 +39,7 @@ export enum PendingTaskType { Backup = "backup", PeerPushInitiation = "peer-push-initiation", PeerPullInitiation = "peer-pull-initiation", + PeerPullDebit = "peer-pull-debit", } /** @@ -57,6 +58,7 @@ export type PendingTaskInfo = PendingTaskInfoCommon & | PendingBackupTask | PendingPeerPushInitiationTask | PendingPeerPullInitiationTask + | PendingPeerPullDebitTask ); export interface PendingBackupTask { @@ -91,6 +93,14 @@ export interface PendingPeerPullInitiationTask { } /** + * The wallet wants to send a peer pull payment. + */ +export interface PendingPeerPullDebitTask { + type: PendingTaskType.PeerPullDebit; + peerPullPaymentIncomingId: string; +} + +/** * The wallet should check whether coins from this exchange * need to be auto-refreshed. */ |