Variable MJCompanyIntegrationEntityMapSchemaConst
MJCompanyIntegrationEntityMapSchema: ZodObject<
{
__mj_CreatedAt: ZodDate;
__mj_UpdatedAt: ZodDate;
CompanyIntegration: ZodString;
CompanyIntegrationID: ZodString;
Configuration: ZodNullable<ZodString>;
ConflictResolution: ZodUnion<
[
ZodLiteral<"DestWins">,
ZodLiteral<"Manual">,
ZodLiteral<"MostRecent">,
ZodLiteral<"SourceWins">,
],
>;
DeleteBehavior: ZodUnion<
[
ZodLiteral<"DoNothing">,
ZodLiteral<"HardDelete">,
ZodLiteral<"SoftDelete">,
],
>;
Entity: ZodString;
EntityID: ZodString;
ExternalObjectLabel: ZodNullable<ZodString>;
ExternalObjectName: ZodString;
ID: ZodString;
MatchStrategy: ZodNullable<ZodString>;
Priority: ZodNumber;
Status: ZodUnion<[ZodLiteral<"Active">, ZodLiteral<"Inactive">]>;
SyncDirection: ZodUnion<
[ZodLiteral<"Bidirectional">, ZodLiteral<"Pull">, ZodLiteral<"Push">],
>;
SyncEnabled: ZodBoolean;
},
"strip",
ZodTypeAny,
{
__mj_CreatedAt?: Date;
__mj_UpdatedAt?: Date;
CompanyIntegration?: string;
CompanyIntegrationID?: string;
Configuration?: string;
ConflictResolution?: "DestWins"
| "Manual"
| "MostRecent"
| "SourceWins";
DeleteBehavior?: "HardDelete" | "DoNothing" | "SoftDelete";
Entity?: string;
EntityID?: string;
ExternalObjectLabel?: string;
ExternalObjectName?: string;
ID?: string;
MatchStrategy?: string;
Priority?: number;
Status?: "Active" | "Inactive";
SyncDirection?: "Bidirectional" | "Pull" | "Push";
SyncEnabled?: boolean;
},
{
__mj_CreatedAt?: Date;
__mj_UpdatedAt?: Date;
CompanyIntegration?: string;
CompanyIntegrationID?: string;
Configuration?: string;
ConflictResolution?: "DestWins"
| "Manual"
| "MostRecent"
| "SourceWins";
DeleteBehavior?: "HardDelete" | "DoNothing" | "SoftDelete";
Entity?: string;
EntityID?: string;
ExternalObjectLabel?: string;
ExternalObjectName?: string;
ID?: string;
MatchStrategy?: string;
Priority?: number;
Status?: "Active" | "Inactive";
SyncDirection?: "Bidirectional" | "Pull" | "Push";
SyncEnabled?: boolean;
},
> = ...
zod schema definition for the entity MJ: Company Integration Entity Maps