Variable MJConversationSchemaConst
MJConversationSchema: ZodObject<
{
__mj_CreatedAt: ZodDate;
__mj_UpdatedAt: ZodDate;
AdditionalData: ZodNullable<ZodString>;
AnchorKey: ZodNullable<ZodString>;
AnchorMetadata: ZodNullable<ZodAny>;
AnchorType: ZodNullable<
ZodUnion<
[
ZodLiteral<"Contribution">,
ZodLiteral<"DocBlock">,
ZodLiteral<"Field">,
ZodLiteral<"Group">,
ZodLiteral<"Record">,
ZodLiteral<"Section">,
ZodLiteral<"SheetRange">,
ZodLiteral<"SlideRegion">,
],
>,
>;
Application: ZodNullable<ZodString>;
ApplicationID: ZodNullable<ZodString>;
ApplicationScope: ZodUnion<
[ZodLiteral<"Application">, ZodLiteral<"Both">, ZodLiteral<"Global">],
>;
DataContext: ZodNullable<ZodString>;
DataContextID: ZodNullable<ZodString>;
DefaultAgent: ZodNullable<ZodString>;
DefaultAgentID: ZodNullable<ZodString>;
Description: ZodNullable<ZodString>;
EgressID: ZodNullable<ZodString>;
Environment: ZodString;
EnvironmentID: ZodString;
ExternalID: ZodNullable<ZodString>;
ID: ZodString;
IsArchived: ZodBoolean;
IsPinned: ZodBoolean;
IsResolved: ZodBoolean;
LastConversation: ZodNullable<ZodString>;
LastConversationID: ZodNullable<ZodString>;
LinkedEntity: ZodNullable<ZodString>;
LinkedEntityID: ZodNullable<ZodString>;
LinkedRecordID: ZodNullable<ZodString>;
Name: ZodNullable<ZodString>;
Project: ZodNullable<ZodString>;
ProjectID: ZodNullable<ZodString>;
RecordingFile: ZodNullable<ZodString>;
RecordingFileID: ZodNullable<ZodString>;
ResolvedAt: ZodNullable<ZodDate>;
ResolvedByUser: ZodNullable<ZodString>;
ResolvedByUserID: ZodNullable<ZodString>;
Status: ZodUnion<[ZodLiteral<"Available">, ZodLiteral<"Processing">]>;
TestRun: ZodNullable<ZodString>;
TestRunID: ZodNullable<ZodString>;
Type: ZodString;
User: ZodString;
UserID: ZodString;
VisitorKey: ZodNullable<ZodString>;
},
"strip",
ZodTypeAny,
{
__mj_CreatedAt?: Date;
__mj_UpdatedAt?: Date;
AdditionalData?: string;
AnchorKey?: string;
AnchorMetadata?: any;
AnchorType?: | "Contribution"
| "DocBlock"
| "Field"
| "Group"
| "Record"
| "Section"
| "SheetRange"
| "SlideRegion";
Application?: string;
ApplicationID?: string;
ApplicationScope?: "Both"
| "Application"
| "Global";
DataContext?: string;
DataContextID?: string;
DefaultAgent?: string;
DefaultAgentID?: string;
Description?: string;
EgressID?: string;
Environment?: string;
EnvironmentID?: string;
ExternalID?: string;
ID?: string;
IsArchived?: boolean;
IsPinned?: boolean;
IsResolved?: boolean;
LastConversation?: string;
LastConversationID?: string;
LinkedEntity?: string;
LinkedEntityID?: string;
LinkedRecordID?: string;
Name?: string;
Project?: string;
ProjectID?: string;
RecordingFile?: string;
RecordingFileID?: string;
ResolvedAt?: Date;
ResolvedByUser?: string;
ResolvedByUserID?: string;
Status?: "Processing" | "Available";
TestRun?: string;
TestRunID?: string;
Type?: string;
User?: string;
UserID?: string;
VisitorKey?: string;
},
{
__mj_CreatedAt?: Date;
__mj_UpdatedAt?: Date;
AdditionalData?: string;
AnchorKey?: string;
AnchorMetadata?: any;
AnchorType?: | "Contribution"
| "DocBlock"
| "Field"
| "Group"
| "Record"
| "Section"
| "SheetRange"
| "SlideRegion";
Application?: string;
ApplicationID?: string;
ApplicationScope?: "Both"
| "Application"
| "Global";
DataContext?: string;
DataContextID?: string;
DefaultAgent?: string;
DefaultAgentID?: string;
Description?: string;
EgressID?: string;
Environment?: string;
EnvironmentID?: string;
ExternalID?: string;
ID?: string;
IsArchived?: boolean;
IsPinned?: boolean;
IsResolved?: boolean;
LastConversation?: string;
LastConversationID?: string;
LinkedEntity?: string;
LinkedEntityID?: string;
LinkedRecordID?: string;
Name?: string;
Project?: string;
ProjectID?: string;
RecordingFile?: string;
RecordingFileID?: string;
ResolvedAt?: Date;
ResolvedByUser?: string;
ResolvedByUserID?: string;
Status?: "Processing" | "Available";
TestRun?: string;
TestRunID?: string;
Type?: string;
User?: string;
UserID?: string;
VisitorKey?: string;
},
> = ...
zod schema definition for the entity MJ: Conversations