import type { DocumentReference, Timestamp } from '@google-cloud/firestore'; import { UserModel } from '../user'; import { ContractTransactionModel } from '../contract-transaction'; export interface RedeemableClaimModel { user: DocumentReference | null; wallet: string; transaction: DocumentReference | null; name?: string; email?: string; timestamp: Timestamp; } export interface RedeemableClaim { user: string | null; wallet: string; transaction: string | null; name?: string; email?: string; timestamp: number; } export interface Redeemable { id: string; nftId: string; chainId: number; source: string; qty: number; claim: RedeemableClaim | null; createdAt: number; updatedAt: number; } export interface RedeemableModel { nftId: string; chainId: number; source: string; qty: number; claim: RedeemableClaimModel | null; createdAt: Timestamp; updatedAt: Timestamp; }