Variable RecordChangeSchemaConst
RecordChangeSchema: ZodObject<{
ChangedAt: ZodDate;
ChangesDescription: ZodString;
ChangesJSON: ZodString;
Comments: ZodNullable<ZodString>;
CreatedAt: ZodDate;
Entity: ZodString;
EntityID: ZodString;
ErrorLog: ZodNullable<ZodString>;
FullRecordJSON: ZodString;
ID: ZodString;
Integration: ZodNullable<ZodString>;
IntegrationID: ZodNullable<ZodString>;
RecordID: ZodString;
ReplayRunID: ZodNullable<ZodString>;
Source: ZodUnion<[ZodLiteral<"External">, ZodLiteral<"Internal">]>;
Status: ZodUnion<[ZodLiteral<"Complete">, ZodLiteral<"Error">, ZodLiteral<"Pending">]>;
Type: ZodUnion<[ZodLiteral<"Create">, ZodLiteral<"Delete">, ZodLiteral<"Update">]>;
UpdatedAt: ZodDate;
User: ZodString;
UserID: ZodString;
}, "strip", ZodTypeAny, {
ChangedAt?: Date;
ChangesDescription?: string;
ChangesJSON?: string;
Comments?: string;
CreatedAt?: Date;
Entity?: string;
EntityID?: string;
ErrorLog?: string;
FullRecordJSON?: string;
ID?: string;
Integration?: string;
IntegrationID?: string;
RecordID?: string;
ReplayRunID?: string;
Source?: "Internal" | "External";
Status?: "Pending" | "Complete" | "Error";
Type?: "Create" | "Delete" | "Update";
UpdatedAt?: Date;
User?: string;
UserID?: string;
}, {
ChangedAt?: Date;
ChangesDescription?: string;
ChangesJSON?: string;
Comments?: string;
CreatedAt?: Date;
Entity?: string;
EntityID?: string;
ErrorLog?: string;
FullRecordJSON?: string;
ID?: string;
Integration?: string;
IntegrationID?: string;
RecordID?: string;
ReplayRunID?: string;
Source?: "Internal" | "External";
Status?: "Pending" | "Complete" | "Error";
Type?: "Create" | "Delete" | "Update";
UpdatedAt?: Date;
User?: string;
UserID?: string;
}> = ...
Type declaration
ChangedAt: ZodDate
ChangesDescription: ZodString
ChangesJSON: ZodString
Comments: ZodNullable<ZodString>
CreatedAt: ZodDate
Entity: ZodString
EntityID: ZodString
ErrorLog: ZodNullable<ZodString>
FullRecordJSON: ZodString
ID: ZodString
Integration: ZodNullable<ZodString>
IntegrationID: ZodNullable<ZodString>
RecordID: ZodString
ReplayRunID: ZodNullable<ZodString>
Source: ZodUnion<[ZodLiteral<"External">, ZodLiteral<"Internal">]>
Status: ZodUnion<[ZodLiteral<"Complete">, ZodLiteral<"Error">, ZodLiteral<"Pending">]>
Type: ZodUnion<[ZodLiteral<"Create">, ZodLiteral<"Delete">, ZodLiteral<"Update">]>
UpdatedAt: ZodDate
User: ZodString
UserID: ZodString
Type declaration
Optional ChangedAt?: Date
Optional ChangesDescription?: string
Optional ChangesJSON?: string
Optional Comments?: string
Optional CreatedAt?: Date
Optional Entity?: string
Optional EntityID?: string
Optional ErrorLog?: string
Optional FullRecordJSON?: string
Optional ID?: string
Optional Integration?: string
Optional IntegrationID?: string
Optional RecordID?: string
Optional ReplayRunID?: string
Optional Source?: "Internal" | "External"
Optional Status?: "Pending" | "Complete" | "Error"
Optional Type?: "Create" | "Delete" | "Update"
Optional UpdatedAt?: Date
Optional User?: string
Optional UserID?: string
Type declaration
Optional ChangedAt?: Date
Optional ChangesDescription?: string
Optional ChangesJSON?: string
Optional Comments?: string
Optional CreatedAt?: Date
Optional Entity?: string
Optional EntityID?: string
Optional ErrorLog?: string
Optional FullRecordJSON?: string
Optional ID?: string
Optional Integration?: string
Optional IntegrationID?: string
Optional RecordID?: string
Optional ReplayRunID?: string
Optional Source?: "Internal" | "External"
Optional Status?: "Pending" | "Complete" | "Error"
Optional Type?: "Create" | "Delete" | "Update"
Optional UpdatedAt?: Date
Optional User?: string
Optional UserID?: string
zod schema definition for the entity Record Changes