Variable MJArchiveConfigurationSchemaConst
MJArchiveConfigurationSchema: ZodObject<
{
__mj_CreatedAt: ZodDate;
__mj_UpdatedAt: ZodDate;
ArchiveFormat: ZodUnion<
[ZodLiteral<"CSV">, ZodLiteral<"JSON">, ZodLiteral<"Parquet">],
>;
ArchiveRelatedRecordChanges: ZodBoolean;
CreatedByUser: ZodString;
CreatedByUserID: ZodString;
DefaultBatchSize: ZodNumber;
DefaultMode: ZodUnion<
[
ZodLiteral<"ArchiveOnly">,
ZodLiteral<"HardDelete">,
ZodLiteral<"StripFields">,
],
>;
DefaultRetentionDays: ZodNumber;
Description: ZodNullable<ZodString>;
ID: ZodString;
IsActive: ZodBoolean;
Name: ZodString;
RootPath: ZodString;
Status: ZodUnion<
[
ZodLiteral<"Disabled">,
ZodLiteral<"Error">,
ZodLiteral<"Idle">,
ZodLiteral<"Running">,
],
>;
StorageAccount: ZodNullable<ZodString>;
StorageAccountID: ZodNullable<ZodString>;
},
"strip",
ZodTypeAny,
{
__mj_CreatedAt?: Date;
__mj_UpdatedAt?: Date;
ArchiveFormat?: "JSON"
| "CSV"
| "Parquet";
ArchiveRelatedRecordChanges?: boolean;
CreatedByUser?: string;
CreatedByUserID?: string;
DefaultBatchSize?: number;
DefaultMode?: "ArchiveOnly" | "HardDelete" | "StripFields";
DefaultRetentionDays?: number;
Description?: string;
ID?: string;
IsActive?: boolean;
Name?: string;
RootPath?: string;
Status?: "Disabled" | "Running" | "Error" | "Idle";
StorageAccount?: string;
StorageAccountID?: string;
},
{
__mj_CreatedAt?: Date;
__mj_UpdatedAt?: Date;
ArchiveFormat?: "JSON"
| "CSV"
| "Parquet";
ArchiveRelatedRecordChanges?: boolean;
CreatedByUser?: string;
CreatedByUserID?: string;
DefaultBatchSize?: number;
DefaultMode?: "ArchiveOnly" | "HardDelete" | "StripFields";
DefaultRetentionDays?: number;
Description?: string;
ID?: string;
IsActive?: boolean;
Name?: string;
RootPath?: string;
Status?: "Disabled" | "Running" | "Error" | "Idle";
StorageAccount?: string;
StorageAccountID?: string;
},
> = ...
zod schema definition for the entity MJ: Archive Configurations