Variable MJDuplicateRunSchemaConst
MJDuplicateRunSchema: ZodObject<
{
__mj_CreatedAt: ZodDate;
__mj_UpdatedAt: ZodDate;
ApprovalComments: ZodNullable<ZodString>;
ApprovalStatus: ZodUnion<
[
ZodLiteral<"Approved">,
ZodLiteral<"Pending">,
ZodLiteral<"Rejected">,
],
>;
ApprovedByUser: ZodNullable<ZodString>;
ApprovedByUserID: ZodNullable<ZodString>;
BatchSize: ZodNullable<ZodNumber>;
CancellationRequested: ZodBoolean;
EndedAt: ZodNullable<ZodDate>;
Entity: ZodString;
EntityID: ZodString;
ID: ZodString;
LastProcessedOffset: ZodNullable<ZodNumber>;
ProcessedItemCount: ZodNullable<ZodNumber>;
ProcessingErrorMessage: ZodNullable<ZodString>;
ProcessingStatus: ZodUnion<
[
ZodLiteral<"Complete">,
ZodLiteral<"Failed">,
ZodLiteral<"In Progress">,
ZodLiteral<"Pending">,
],
>;
SourceList: ZodNullable<ZodString>;
SourceListID: ZodNullable<ZodString>;
StartedAt: ZodDate;
StartedByUser: ZodString;
StartedByUserID: ZodString;
TotalItemCount: ZodNullable<ZodNumber>;
},
"strip",
ZodTypeAny,
{
__mj_CreatedAt?: Date;
__mj_UpdatedAt?: Date;
ApprovalComments?: string;
ApprovalStatus?: "Pending"
| "Approved"
| "Rejected";
ApprovedByUser?: string;
ApprovedByUserID?: string;
BatchSize?: number;
CancellationRequested?: boolean;
EndedAt?: Date;
Entity?: string;
EntityID?: string;
ID?: string;
LastProcessedOffset?: number;
ProcessedItemCount?: number;
ProcessingErrorMessage?: string;
ProcessingStatus?: "Pending" | "Complete" | "Failed" | "In Progress";
SourceList?: string;
SourceListID?: string;
StartedAt?: Date;
StartedByUser?: string;
StartedByUserID?: string;
TotalItemCount?: number;
},
{
__mj_CreatedAt?: Date;
__mj_UpdatedAt?: Date;
ApprovalComments?: string;
ApprovalStatus?: "Pending"
| "Approved"
| "Rejected";
ApprovedByUser?: string;
ApprovedByUserID?: string;
BatchSize?: number;
CancellationRequested?: boolean;
EndedAt?: Date;
Entity?: string;
EntityID?: string;
ID?: string;
LastProcessedOffset?: number;
ProcessedItemCount?: number;
ProcessingErrorMessage?: string;
ProcessingStatus?: "Pending" | "Complete" | "Failed" | "In Progress";
SourceList?: string;
SourceListID?: string;
StartedAt?: Date;
StartedByUser?: string;
StartedByUserID?: string;
TotalItemCount?: number;
},
> = ...
zod schema definition for the entity MJ: Duplicate Runs