Variable MJOAuthAuthorizationStateSchemaConst
MJOAuthAuthorizationStateSchema: ZodObject<
{
__mj_CreatedAt: ZodDate;
__mj_UpdatedAt: ZodDate;
AuthorizationURL: ZodString;
CodeChallenge: ZodString;
CodeVerifier: ZodString;
CompletedAt: ZodNullable<ZodDate>;
ErrorCode: ZodNullable<ZodString>;
ErrorDescription: ZodNullable<ZodString>;
ExpiresAt: ZodDate;
FrontendReturnURL: ZodNullable<ZodString>;
ID: ZodString;
InitiatedAt: ZodDate;
MCPServerConnection: ZodString;
MCPServerConnectionID: ZodString;
RedirectURI: ZodString;
RequestedScopes: ZodNullable<ZodString>;
StateParameter: ZodString;
Status: ZodUnion<
[
ZodLiteral<"Completed">,
ZodLiteral<"Expired">,
ZodLiteral<"Failed">,
ZodLiteral<"Pending">,
],
>;
User: ZodString;
UserID: ZodString;
},
"strip",
ZodTypeAny,
{
__mj_CreatedAt?: Date;
__mj_UpdatedAt?: Date;
AuthorizationURL?: string;
CodeChallenge?: string;
CodeVerifier?: string;
CompletedAt?: Date;
ErrorCode?: string;
ErrorDescription?: string;
ExpiresAt?: Date;
FrontendReturnURL?: string;
ID?: string;
InitiatedAt?: Date;
MCPServerConnection?: string;
MCPServerConnectionID?: string;
RedirectURI?: string;
RequestedScopes?: string;
StateParameter?: string;
Status?: "Pending"
| "Failed"
| "Expired"
| "Completed";
User?: string;
UserID?: string;
},
{
__mj_CreatedAt?: Date;
__mj_UpdatedAt?: Date;
AuthorizationURL?: string;
CodeChallenge?: string;
CodeVerifier?: string;
CompletedAt?: Date;
ErrorCode?: string;
ErrorDescription?: string;
ExpiresAt?: Date;
FrontendReturnURL?: string;
ID?: string;
InitiatedAt?: Date;
MCPServerConnection?: string;
MCPServerConnectionID?: string;
RedirectURI?: string;
RequestedScopes?: string;
StateParameter?: string;
Status?: "Pending"
| "Failed"
| "Expired"
| "Completed";
User?: string;
UserID?: string;
},
> = ...
zod schema definition for the entity MJ: O Auth Authorization States