Variable MJMagicLinkInviteSchemaConst
MJMagicLinkInviteSchema: ZodObject<
{
__mj_CreatedAt: ZodDate;
__mj_UpdatedAt: ZodDate;
Application: ZodString;
ApplicationID: ZodString;
ConsumedAt: ZodNullable<ZodDate>;
CreatedByUser: ZodString;
CreatedByUserID: ZodString;
Email: ZodNullable<ZodString>;
ExpiresAt: ZodDate;
ID: ZodString;
IdentityMode: ZodUnion<[ZodLiteral<"anonymous">, ZodLiteral<"email">]>;
Kind: ZodUnion<
[
ZodLiteral<"anonymous-embed">,
ZodLiteral<"app-session">,
ZodLiteral<"resource-share">,
],
>;
MaxUses: ZodNumber;
ResourceID: ZodNullable<ZodString>;
ResourceType: ZodNullable<ZodString>;
ResourceTypeID: ZodNullable<ZodString>;
Role: ZodString;
RoleID: ZodString;
Status: ZodUnion<
[
ZodLiteral<"Active">,
ZodLiteral<"Consumed">,
ZodLiteral<"Expired">,
ZodLiteral<"Revoked">,
],
>;
TokenHash: ZodString;
UseCount: ZodNumber;
},
"strip",
ZodTypeAny,
{
__mj_CreatedAt?: Date;
__mj_UpdatedAt?: Date;
Application?: string;
ApplicationID?: string;
ConsumedAt?: Date;
CreatedByUser?: string;
CreatedByUserID?: string;
Email?: string;
ExpiresAt?: Date;
ID?: string;
IdentityMode?: "anonymous"
| "email";
Kind?: "anonymous-embed" | "app-session" | "resource-share";
MaxUses?: number;
ResourceID?: string;
ResourceType?: string;
ResourceTypeID?: string;
Role?: string;
RoleID?: string;
Status?: "Active" | "Revoked" | "Expired" | "Consumed";
TokenHash?: string;
UseCount?: number;
},
{
__mj_CreatedAt?: Date;
__mj_UpdatedAt?: Date;
Application?: string;
ApplicationID?: string;
ConsumedAt?: Date;
CreatedByUser?: string;
CreatedByUserID?: string;
Email?: string;
ExpiresAt?: Date;
ID?: string;
IdentityMode?: "anonymous"
| "email";
Kind?: "anonymous-embed" | "app-session" | "resource-share";
MaxUses?: number;
ResourceID?: string;
ResourceType?: string;
ResourceTypeID?: string;
Role?: string;
RoleID?: string;
Status?: "Active" | "Revoked" | "Expired" | "Consumed";
TokenHash?: string;
UseCount?: number;
},
> = ...
zod schema definition for the entity MJ: Magic Link Invites