Variable MJOAuthTokenSchemaConst
MJOAuthTokenSchema: ZodObject<
{
__mj_CreatedAt: ZodDate;
__mj_UpdatedAt: ZodDate;
Credential: ZodNullable<ZodString>;
CredentialID: ZodNullable<ZodString>;
ExpiresAt: ZodDate;
ID: ZodString;
IssuerURL: ZodString;
LastRefreshAt: ZodNullable<ZodDate>;
MCPServerConnection: ZodString;
MCPServerConnectionID: ZodString;
RefreshCount: ZodNumber;
Scope: ZodNullable<ZodString>;
TokenType: ZodString;
},
"strip",
ZodTypeAny,
{
__mj_CreatedAt?: Date;
__mj_UpdatedAt?: Date;
Credential?: string;
CredentialID?: string;
ExpiresAt?: Date;
ID?: string;
IssuerURL?: string;
LastRefreshAt?: Date;
MCPServerConnection?: string;
MCPServerConnectionID?: string;
RefreshCount?: number;
Scope?: string;
TokenType?: string;
},
{
__mj_CreatedAt?: Date;
__mj_UpdatedAt?: Date;
Credential?: string;
CredentialID?: string;
ExpiresAt?: Date;
ID?: string;
IssuerURL?: string;
LastRefreshAt?: Date;
MCPServerConnection?: string;
MCPServerConnectionID?: string;
RefreshCount?: number;
Scope?: string;
TokenType?: string;
},
> = ...
zod schema definition for the entity MJ: O Auth Tokens