diff options
Diffstat (limited to 'packages/taler-wallet-core/src/db.ts')
-rw-r--r-- | packages/taler-wallet-core/src/db.ts | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/packages/taler-wallet-core/src/db.ts b/packages/taler-wallet-core/src/db.ts index cbf49c4ca..29e97cd90 100644 --- a/packages/taler-wallet-core/src/db.ts +++ b/packages/taler-wallet-core/src/db.ts @@ -1774,6 +1774,16 @@ export interface PeerPushPaymentInitiationRecord { status: PeerPushPaymentInitiationStatus; } +export enum PeerPullPaymentInitiationStatus { + Initial = 10 /* ACTIVE_START */, + /** + * Purse created, waiting for the other party to accept the + * invoice and deposit money into it. + */ + PurseCreated = 11 /* ACTIVE_START + 1 */, + PurseDeposited = 50 /* DORMANT_START */, +} + export interface PeerPullPaymentInitiationRecord { /** * What exchange are we using for the payment request? @@ -1817,7 +1827,7 @@ export interface PeerPullPaymentInitiationRecord { /** * Status of the peer pull payment initiation. */ - status: OperationStatus; + status: PeerPullPaymentInitiationStatus; withdrawalGroupId: string | undefined; } |