diff options
Diffstat (limited to 'packages/taler-wallet-core/src/db.ts')
-rw-r--r-- | packages/taler-wallet-core/src/db.ts | 26 |
1 files changed, 16 insertions, 10 deletions
diff --git a/packages/taler-wallet-core/src/db.ts b/packages/taler-wallet-core/src/db.ts index 9d0efbc6a..ab2e95c23 100644 --- a/packages/taler-wallet-core/src/db.ts +++ b/packages/taler-wallet-core/src/db.ts @@ -910,14 +910,6 @@ export enum RefreshOperationStatus { Failed = 51 /* DORMANT_START + 1 */, } -export enum DepositGroupOperationStatus { - Pending = 10, - AbortingWithRefresh = 11, - - Finished = 50, - Failed = 51, -} - /** * Status of a single element of a deposit group. */ @@ -1653,11 +1645,15 @@ export interface BackupProviderRecord { } export enum DepositOperationStatus { - Pending = 10, + PendingDeposit = 10, Aborting = 11, + PendingTrack = 12, + PendingKyc = 13, - Suspended = 20, + SuspendedDeposit = 20, SuspendedAborting = 21, + SuspendedTrack = 22, + SuspendedKyc = 23, Finished = 50, Failed = 51, @@ -1737,12 +1733,22 @@ export interface DepositGroupRecord { */ abortRefreshGroupId?: string; + kycInfo?: DepositKycInfo; + // FIXME: Do we need this and should it be in this object store? trackingState?: { [signature: string]: DepositTrackingInfo; }; } +export interface DepositKycInfo { + kycUrl: string; + requirementRow: number; + paytoHash: string; + exchangeBaseUrl: string; +} + + /** * Record for a deposits that the wallet observed * as a result of double spending, but which is not |