Variable ScannerNodeProfileSchemaConst
ScannerNodeProfileSchema: ZodObject<{
analytics: ZodObject<{
eventsLast24h: ZodNumber;
topEvents: ZodArray<ZodObject<{
count: ZodNumber;
event: ZodString;
}, "strip", ZodTypeAny, {
count: number;
event: string;
}, {
count: number;
event: string;
}>, "many">;
}, "strip", ZodTypeAny, {
eventsLast24h: number;
topEvents: {
count: number;
event: string;
}[];
}, {
eventsLast24h: number;
topEvents: {
count: number;
event: string;
}[];
}>;
analyticsEvents: ZodArray<ZodObject<{
distinctId: ZodString;
event: ZodString;
messageId: ZodString;
properties: ZodRecord<ZodString, ZodUnion<[ZodString, ZodNumber, ZodBoolean, ZodNull]>>;
timestamp: ZodString;
}, "strip", ZodTypeAny, {
distinctId: string;
event: string;
messageId: string;
properties: Record<string,
| null
| string
| number
| boolean>;
timestamp: string;
}, {
distinctId: string;
event: string;
messageId: string;
properties: Record<string,
| null
| string
| number
| boolean>;
timestamp: string;
}>, "many">;
analyticsEventsNextCursor: ZodNullable<ZodString>;
breakdown: ZodObject<{
byAmenityKind: ZodRecord<ZodString, ZodNumber>;
bySpaceId: ZodRecord<ZodString, ZodNumber>;
byToken: ZodObject<{
apu: ZodNumber;
usd: ZodNumber;
}, "strip", ZodTypeAny, {
apu: number;
usd: number;
}, {
apu: number;
usd: number;
}>;
}, "strip", ZodTypeAny, {
byAmenityKind: Record<string, number>;
bySpaceId: Record<string, number>;
byToken: {
apu: number;
usd: number;
};
}, {
byAmenityKind: Record<string, number>;
bySpaceId: Record<string, number>;
byToken: {
apu: number;
usd: number;
};
}>;
gameStats: ZodNullable<ZodObject<{
bestStreak: ZodNumber;
dayStreak: ZodNumber;
featuredGameId: ZodString;
firstGamePlayed: ZodBoolean;
gamesPlayedToday: ZodNumber;
perGame: ZodRecord<ZodString, ZodObject<{
bestNetPu: ZodNumber;
plays: ZodNumber;
}, "strip", ZodTypeAny, {
bestNetPu: number;
plays: number;
}, {
bestNetPu: number;
plays: number;
}>>;
puCapRemaining: ZodNumber;
puEarnedToday: ZodNumber;
}, "strip", ZodTypeAny, {
bestStreak: number;
dayStreak: number;
featuredGameId: string;
firstGamePlayed: boolean;
gamesPlayedToday: number;
perGame: Record<string, {
bestNetPu: number;
plays: number;
}>;
puCapRemaining: number;
puEarnedToday: number;
}, {
bestStreak: number;
dayStreak: number;
featuredGameId: string;
firstGamePlayed: boolean;
gamesPlayedToday: number;
perGame: Record<string, {
bestNetPu: number;
plays: number;
}>;
puCapRemaining: number;
puEarnedToday: number;
}>>;
generatedAt: ZodString;
kind: ZodEnum<["main", "agent", "unknown"]>;
ledger: ZodObject<{
apuBurned: ZodNumber;
apuMinted: ZodNumber;
lastTxAt: ZodNullable<ZodString>;
txCount: ZodNumber;
usdSpent: ZodNumber;
}, "strip", ZodTypeAny, {
apuBurned: number;
apuMinted: number;
lastTxAt: null | string;
txCount: number;
usdSpent: number;
}, {
apuBurned: number;
apuMinted: number;
lastTxAt: null | string;
txCount: number;
usdSpent: number;
}>;
nodeId: ZodString;
traits: ZodRecord<ZodString, ZodUnion<[ZodString, ZodNumber, ZodBoolean, ZodNull]>>;
txs: ZodArray<ZodObject<{
amenityKind: ZodEnum<["shop", "supermarket", "car_wash", "parking", "house", "talk_time", "wallet_bundle", "apu_credit", "apu_debit"]>;
at: ZodString;
counterpartyNodeId: ZodOptional<ZodString>;
creditSource: ZodOptional<ZodString>;
debitSource: ZodOptional<ZodString>;
detail: ZodOptional<ZodString>;
id: ZodString;
itemRef: ZodObject<{
id: ZodString;
kind: ZodEnum<["shop", "supermarket", "carwash", "parking", "house", "game", "apu", "talk", "bundle"]>;
}, "strip", ZodTypeAny, {
id: string;
kind:
| "supermarket"
| "shop"
| "parking"
| "house"
| "carwash"
| "game"
| "apu"
| "talk"
| "bundle";
}, {
id: string;
kind:
| "supermarket"
| "shop"
| "parking"
| "house"
| "carwash"
| "game"
| "apu"
| "talk"
| "bundle";
}>;
playerId: ZodString;
powerUpsDelta: ZodOptional<ZodNumber>;
powerUpsEarned: ZodOptional<ZodNumber>;
powerUpsSpent: ZodOptional<ZodNumber>;
priceUsd: ZodOptional<ZodNumber>;
spaceId: ZodString;
token: ZodOptional<ZodLiteral<"APU">>;
} & {
blockRev: ZodOptional<ZodNumber>;
hostId: ZodString;
indexedAt: ZodString;
merkleRootHex: ZodOptional<ZodString>;
op: ZodEnum<["purchase", "redeemWalletBundle", "applyGameOutcome", "talkTick", "talkStop", "talkStart", "walletSeeded"]>;
}, "strip", ZodTypeAny, {
amenityKind:
| "supermarket"
| "shop"
| "car_wash"
| "parking"
| "house"
| "talk_time"
| "wallet_bundle"
| "apu_credit"
| "apu_debit";
at: string;
blockRev?: number;
counterpartyNodeId?: string;
creditSource?: string;
debitSource?: string;
detail?: string;
hostId: string;
id: string;
indexedAt: string;
itemRef: {
id: string;
kind:
| "supermarket"
| "shop"
| "parking"
| "house"
| "carwash"
| "game"
| "apu"
| "talk"
| "bundle";
};
merkleRootHex?: string;
op:
| "purchase"
| "redeemWalletBundle"
| "applyGameOutcome"
| "talkTick"
| "talkStop"
| "talkStart"
| "walletSeeded";
playerId: string;
powerUpsDelta?: number;
powerUpsEarned?: number;
powerUpsSpent?: number;
priceUsd?: number;
spaceId: string;
token?: "APU";
}, {
amenityKind:
| "supermarket"
| "shop"
| "car_wash"
| "parking"
| "house"
| "talk_time"
| "wallet_bundle"
| "apu_credit"
| "apu_debit";
at: string;
blockRev?: number;
counterpartyNodeId?: string;
creditSource?: string;
debitSource?: string;
detail?: string;
hostId: string;
id: string;
indexedAt: string;
itemRef: {
id: string;
kind:
| "supermarket"
| "shop"
| "parking"
| "house"
| "carwash"
| "game"
| "apu"
| "talk"
| "bundle";
};
merkleRootHex?: string;
op:
| "purchase"
| "redeemWalletBundle"
| "applyGameOutcome"
| "talkTick"
| "talkStop"
| "talkStart"
| "walletSeeded";
playerId: string;
powerUpsDelta?: number;
powerUpsEarned?: number;
powerUpsSpent?: number;
priceUsd?: number;
spaceId: string;
token?: "APU";
}>, "many">;
txsNextCursor: ZodNullable<ZodString>;
wallet: ZodNullable<ZodObject<{
balanceUsd: ZodNumber;
currency: ZodLiteral<"USD">;
powerUps: ZodNumber;
updatedAt: ZodString;
}, "strip", ZodTypeAny, {
balanceUsd: number;
currency: "USD";
powerUps: number;
updatedAt: string;
}, {
balanceUsd: number;
currency: "USD";
powerUps: number;
updatedAt: string;
}>>;
}, "strip", ZodTypeAny, {
analytics: {
eventsLast24h: number;
topEvents: {
count: number;
event: string;
}[];
};
analyticsEvents: {
distinctId: string;
event: string;
messageId: string;
properties: Record<string,
| null
| string
| number
| boolean>;
timestamp: string;
}[];
analyticsEventsNextCursor: null | string;
breakdown: {
byAmenityKind: Record<string, number>;
bySpaceId: Record<string, number>;
byToken: {
apu: number;
usd: number;
};
};
gameStats: null | {
bestStreak: number;
dayStreak: number;
featuredGameId: string;
firstGamePlayed: boolean;
gamesPlayedToday: number;
perGame: Record<string, {
bestNetPu: number;
plays: number;
}>;
puCapRemaining: number;
puEarnedToday: number;
};
generatedAt: string;
kind: "agent" | "unknown" | "main";
ledger: {
apuBurned: number;
apuMinted: number;
lastTxAt: null | string;
txCount: number;
usdSpent: number;
};
nodeId: string;
traits: Record<string,
| null
| string
| number
| boolean>;
txs: {
amenityKind:
| "supermarket"
| "shop"
| "car_wash"
| "parking"
| "house"
| "talk_time"
| "wallet_bundle"
| "apu_credit"
| "apu_debit";
at: string;
blockRev?: number;
counterpartyNodeId?: string;
creditSource?: string;
debitSource?: string;
detail?: string;
hostId: string;
id: string;
indexedAt: string;
itemRef: {
id: string;
kind:
| "supermarket"
| "shop"
| "parking"
| "house"
| "carwash"
| "game"
| "apu"
| "talk"
| "bundle";
};
merkleRootHex?: string;
op:
| "purchase"
| "redeemWalletBundle"
| "applyGameOutcome"
| "talkTick"
| "talkStop"
| "talkStart"
| "walletSeeded";
playerId: string;
powerUpsDelta?: number;
powerUpsEarned?: number;
powerUpsSpent?: number;
priceUsd?: number;
spaceId: string;
token?: "APU";
}[];
txsNextCursor: null | string;
wallet: null | {
balanceUsd: number;
currency: "USD";
powerUps: number;
updatedAt: string;
};
}, {
analytics: {
eventsLast24h: number;
topEvents: {
count: number;
event: string;
}[];
};
analyticsEvents: {
distinctId: string;
event: string;
messageId: string;
properties: Record<string,
| null
| string
| number
| boolean>;
timestamp: string;
}[];
analyticsEventsNextCursor: null | string;
breakdown: {
byAmenityKind: Record<string, number>;
bySpaceId: Record<string, number>;
byToken: {
apu: number;
usd: number;
};
};
gameStats: null | {
bestStreak: number;
dayStreak: number;
featuredGameId: string;
firstGamePlayed: boolean;
gamesPlayedToday: number;
perGame: Record<string, {
bestNetPu: number;
plays: number;
}>;
puCapRemaining: number;
puEarnedToday: number;
};
generatedAt: string;
kind: "agent" | "unknown" | "main";
ledger: {
apuBurned: number;
apuMinted: number;
lastTxAt: null | string;
txCount: number;
usdSpent: number;
};
nodeId: string;
traits: Record<string,
| null
| string
| number
| boolean>;
txs: {
amenityKind:
| "supermarket"
| "shop"
| "car_wash"
| "parking"
| "house"
| "talk_time"
| "wallet_bundle"
| "apu_credit"
| "apu_debit";
at: string;
blockRev?: number;
counterpartyNodeId?: string;
creditSource?: string;
debitSource?: string;
detail?: string;
hostId: string;
id: string;
indexedAt: string;
itemRef: {
id: string;
kind:
| "supermarket"
| "shop"
| "parking"
| "house"
| "carwash"
| "game"
| "apu"
| "talk"
| "bundle";
};
merkleRootHex?: string;
op:
| "purchase"
| "redeemWalletBundle"
| "applyGameOutcome"
| "talkTick"
| "talkStop"
| "talkStart"
| "walletSeeded";
playerId: string;
powerUpsDelta?: number;
powerUpsEarned?: number;
powerUpsSpent?: number;
priceUsd?: number;
spaceId: string;
token?: "APU";
}[];
txsNextCursor: null | string;
wallet: null | {
balanceUsd: number;
currency: "USD";
powerUps: number;
updatedAt: string;
};
}> = ...