Variable MJDiagnosticSenderRegistrationSchemaConst
MJDiagnosticSenderRegistrationSchema: ZodObject<
{
__mj_CreatedAt: ZodDate;
__mj_UpdatedAt: ZodDate;
Comments: ZodNullable<ZodString>;
EnrolledAt: ZodNullable<ZodDate>;
ID: ZodString;
InstallID: ZodString;
KeyAlgorithm: ZodLiteral<"Ed25519">;
KeyID: ZodNullable<ZodString>;
LastSeenAt: ZodNullable<ZodDate>;
MaxBundlesPerDay: ZodNumber;
Name: ZodString;
PublicKeyBase64: ZodNullable<ZodString>;
RegistrationCodeExpiresAt: ZodNullable<ZodDate>;
RegistrationCodeHash: ZodNullable<ZodString>;
RevokedAt: ZodNullable<ZodDate>;
Status: ZodUnion<
[ZodLiteral<"Active">, ZodLiteral<"Pending">, ZodLiteral<"Revoked">],
>;
},
"strip",
ZodTypeAny,
{
__mj_CreatedAt?: Date;
__mj_UpdatedAt?: Date;
Comments?: string;
EnrolledAt?: Date;
ID?: string;
InstallID?: string;
KeyAlgorithm?: "Ed25519";
KeyID?: string;
LastSeenAt?: Date;
MaxBundlesPerDay?: number;
Name?: string;
PublicKeyBase64?: string;
RegistrationCodeExpiresAt?: Date;
RegistrationCodeHash?: string;
RevokedAt?: Date;
Status?: "Active"
| "Pending"
| "Revoked";
},
{
__mj_CreatedAt?: Date;
__mj_UpdatedAt?: Date;
Comments?: string;
EnrolledAt?: Date;
ID?: string;
InstallID?: string;
KeyAlgorithm?: "Ed25519";
KeyID?: string;
LastSeenAt?: Date;
MaxBundlesPerDay?: number;
Name?: string;
PublicKeyBase64?: string;
RegistrationCodeExpiresAt?: Date;
RegistrationCodeHash?: string;
RevokedAt?: Date;
Status?: "Active"
| "Pending"
| "Revoked";
},
> = ...
zod schema definition for the entity MJ: Diagnostic Sender Registrations