@yoroi/claim
Version:
The Claim (proof-of-onboarding) package of Yoroi SDK
87 lines (85 loc) • 1.93 kB
Flow
/**
* Flowtype definitions for validators
* Generated by Flowgen from a Typescript Definition
* Flowgen v1.21.0
*/
import { z } from "zod";
declare export var ClaimTokensApiResponseSchema: z.ZodUnion<
[
z.ZodObject<
{
lovelaces: z.ZodString,
tokens: z.ZodRecord<z.ZodString, z.ZodString>,
status: z.ZodLiteral<"accepted">,
queue_position: z.ZodNumber,
...
},
"strip",
z.ZodTypeAny,
{
status: "accepted",
lovelaces: string,
tokens: { [key: string]: string, ... },
queue_position: number,
...
},
{
status: "accepted",
lovelaces: string,
tokens: { [key: string]: string, ... },
queue_position: number,
...
}
>,
z.ZodObject<
{
lovelaces: z.ZodString,
tokens: z.ZodRecord<z.ZodString, z.ZodString>,
status: z.ZodLiteral<"claimed">,
tx_hash: z.ZodString,
...
},
"strip",
z.ZodTypeAny,
{
tx_hash: string,
status: "claimed",
lovelaces: string,
tokens: { [key: string]: string, ... },
...
},
{
tx_hash: string,
status: "claimed",
lovelaces: string,
tokens: { [key: string]: string, ... },
...
}
>,
z.ZodObject<
{
lovelaces: z.ZodString,
tokens: z.ZodRecord<z.ZodString, z.ZodString>,
status: z.ZodLiteral<"queued">,
queue_position: z.ZodNumber,
...
},
"strip",
z.ZodTypeAny,
{
status: "queued",
lovelaces: string,
tokens: { [key: string]: string, ... },
queue_position: number,
...
},
{
status: "queued",
lovelaces: string,
tokens: { [key: string]: string, ... },
queue_position: number,
...
}
>
]
>;