Variable MJDiagnosticBundleSchemaConst
MJDiagnosticBundleSchema: ZodObject<
{
__mj_CreatedAt: ZodDate;
__mj_UpdatedAt: ZodDate;
ApprovedAt: ZodNullable<ZodDate>;
ApprovedByUser: ZodNullable<ZodString>;
ApprovedByUserID: ZodNullable<ZodString>;
Company: ZodNullable<ZodString>;
CompanyID: ZodNullable<ZodString>;
ContactInfo: ZodNullable<ZodString>;
CreatedByUser: ZodNullable<ZodString>;
CreatedByUserID: ZodNullable<ZodString>;
Data: ZodNullable<ZodString>;
Description: ZodNullable<ZodString>;
Destination: ZodNullable<
ZodUnion<
[
ZodLiteral<"CustomerCollector">,
ZodLiteral<"MJC">,
ZodLiteral<"StorageAccount">,
],
>,
>;
DiagnosticSession: ZodNullable<ZodString>;
DiagnosticSessionID: ZodNullable<ZodString>;
Direction: ZodUnion<[ZodLiteral<"Local">, ZodLiteral<"Received">]>;
ExpiresAt: ZodNullable<ZodDate>;
ExternalReferenceID: ZodNullable<ZodString>;
FailureReason: ZodNullable<ZodString>;
File: ZodNullable<ZodString>;
FileID: ZodNullable<ZodString>;
FindingsJSON: ZodNullable<ZodAny>;
ID: ZodString;
ManifestJSON: ZodNullable<ZodAny>;
Name: ZodString;
ScrubLiterals: ZodBoolean;
ScrubReportJSON: ZodNullable<ZodAny>;
SenderInstallID: ZodNullable<ZodString>;
SenderMJVersion: ZodNullable<ZodString>;
SentAt: ZodNullable<ZodDate>;
SHA256: ZodNullable<ZodString>;
SizeBytes: ZodNumber;
Status: ZodUnion<
[
ZodLiteral<"Building">,
ZodLiteral<"Expired">,
ZodLiteral<"Failed">,
ZodLiteral<"Ready">,
ZodLiteral<"Receiving">,
ZodLiteral<"Sending">,
ZodLiteral<"Sent">,
],
>;
WindowEnd: ZodNullable<ZodDate>;
WindowStart: ZodNullable<ZodDate>;
},
"strip",
ZodTypeAny,
{
__mj_CreatedAt?: Date;
__mj_UpdatedAt?: Date;
ApprovedAt?: Date;
ApprovedByUser?: string;
ApprovedByUserID?: string;
Company?: string;
CompanyID?: string;
ContactInfo?: string;
CreatedByUser?: string;
CreatedByUserID?: string;
Data?: string;
Description?: string;
Destination?: "StorageAccount"
| "CustomerCollector"
| "MJC";
DiagnosticSession?: string;
DiagnosticSessionID?: string;
Direction?: "Local" | "Received";
ExpiresAt?: Date;
ExternalReferenceID?: string;
FailureReason?: string;
File?: string;
FileID?: string;
FindingsJSON?: any;
ID?: string;
ManifestJSON?: any;
Name?: string;
ScrubLiterals?: boolean;
ScrubReportJSON?: any;
SenderInstallID?: string;
SenderMJVersion?: string;
SentAt?: Date;
SHA256?: string;
SizeBytes?: number;
Status?:
| "Failed"
| "Expired"
| "Receiving"
| "Sending"
| "Building"
| "Ready"
| "Sent";
WindowEnd?: Date;
WindowStart?: Date;
},
{
__mj_CreatedAt?: Date;
__mj_UpdatedAt?: Date;
ApprovedAt?: Date;
ApprovedByUser?: string;
ApprovedByUserID?: string;
Company?: string;
CompanyID?: string;
ContactInfo?: string;
CreatedByUser?: string;
CreatedByUserID?: string;
Data?: string;
Description?: string;
Destination?: "StorageAccount"
| "CustomerCollector"
| "MJC";
DiagnosticSession?: string;
DiagnosticSessionID?: string;
Direction?: "Local" | "Received";
ExpiresAt?: Date;
ExternalReferenceID?: string;
FailureReason?: string;
File?: string;
FileID?: string;
FindingsJSON?: any;
ID?: string;
ManifestJSON?: any;
Name?: string;
ScrubLiterals?: boolean;
ScrubReportJSON?: any;
SenderInstallID?: string;
SenderMJVersion?: string;
SentAt?: Date;
SHA256?: string;
SizeBytes?: number;
Status?:
| "Failed"
| "Expired"
| "Receiving"
| "Sending"
| "Building"
| "Ready"
| "Sent";
WindowEnd?: Date;
WindowStart?: Date;
},
> = ...
zod schema definition for the entity MJ: Diagnostic Bundles