Variable MJWorkQueueDeliverySchemaConst
MJWorkQueueDeliverySchema: ZodObject<
{
__mj_CreatedAt: ZodDate;
__mj_UpdatedAt: ZodDate;
AttemptCount: ZodNumber;
CancelRequestedAt: ZodNullable<ZodDate>;
CompletedAt: ZodNullable<ZodDate>;
DeadLetteredAt: ZodNullable<ZodDate>;
DeadLetterReason: ZodNullable<ZodString>;
ID: ZodString;
IsReplay: ZodBoolean;
LastError: ZodNullable<ZodString>;
LastHeartbeatAt: ZodNullable<ZodDate>;
LeaseExpiresAt: ZodNullable<ZodDate>;
LeaseOwner: ZodNullable<ZodString>;
LeaseToken: ZodNullable<ZodString>;
MessageID: ZodString;
OrderKey: ZodNumber;
PartitionKey: ZodNullable<ZodString>;
Progress: ZodNullable<ZodString>;
ResolutionNote: ZodNullable<ZodString>;
ResolvedByUser: ZodNullable<ZodString>;
ResolvedByUserID: ZodNullable<ZodString>;
Status: ZodUnion<
[
ZodLiteral<"Completed">,
ZodLiteral<"DeadLettered">,
ZodLiteral<"Discarded">,
ZodLiteral<"InFlight">,
ZodLiteral<"Pending">,
],
>;
Subscription: ZodString;
SubscriptionID: ZodString;
VisibleAt: ZodDate;
},
"strip",
ZodTypeAny,
{
__mj_CreatedAt?: Date;
__mj_UpdatedAt?: Date;
AttemptCount?: number;
CancelRequestedAt?: Date;
CompletedAt?: Date;
DeadLetteredAt?: Date;
DeadLetterReason?: string;
ID?: string;
IsReplay?: boolean;
LastError?: string;
LastHeartbeatAt?: Date;
LeaseExpiresAt?: Date;
LeaseOwner?: string;
LeaseToken?: string;
MessageID?: string;
OrderKey?: number;
PartitionKey?: string;
Progress?: string;
ResolutionNote?: string;
ResolvedByUser?: string;
ResolvedByUserID?: string;
Status?: | "Pending"
| "Completed"
| "DeadLettered"
| "Discarded"
| "InFlight";
Subscription?: string;
SubscriptionID?: string;
VisibleAt?: Date;
},
{
__mj_CreatedAt?: Date;
__mj_UpdatedAt?: Date;
AttemptCount?: number;
CancelRequestedAt?: Date;
CompletedAt?: Date;
DeadLetteredAt?: Date;
DeadLetterReason?: string;
ID?: string;
IsReplay?: boolean;
LastError?: string;
LastHeartbeatAt?: Date;
LeaseExpiresAt?: Date;
LeaseOwner?: string;
LeaseToken?: string;
MessageID?: string;
OrderKey?: number;
PartitionKey?: string;
Progress?: string;
ResolutionNote?: string;
ResolvedByUser?: string;
ResolvedByUserID?: string;
Status?: | "Pending"
| "Completed"
| "DeadLettered"
| "Discarded"
| "InFlight";
Subscription?: string;
SubscriptionID?: string;
VisibleAt?: Date;
},
> = ...
zod schema definition for the entity MJ: Work Queue Deliveries