Variable MJIntegrationObjectFieldSchemaConst
MJIntegrationObjectFieldSchema: ZodObject<
{
__mj_CreatedAt: ZodDate;
__mj_UpdatedAt: ZodDate;
AllowsNull: ZodBoolean;
Category: ZodNullable<ZodString>;
Configuration: ZodNullable<ZodString>;
DefaultValue: ZodNullable<ZodString>;
Description: ZodNullable<ZodString>;
DisplayName: ZodNullable<ZodString>;
ID: ZodString;
IntegrationObject: ZodString;
IntegrationObjectID: ZodString;
IsCustom: ZodBoolean;
IsPrimaryKey: ZodBoolean;
IsReadOnly: ZodBoolean;
IsRequired: ZodBoolean;
IsUniqueKey: ZodBoolean;
Length: ZodNullable<ZodNumber>;
MetadataSource: ZodUnion<
[
ZodLiteral<"Custom">,
ZodLiteral<"Declared">,
ZodLiteral<"Discovered">,
],
>;
Name: ZodString;
Precision: ZodNullable<ZodNumber>;
RelatedIntegrationObject: ZodNullable<ZodString>;
RelatedIntegrationObjectFieldName: ZodNullable<ZodString>;
RelatedIntegrationObjectID: ZodNullable<ZodString>;
Scale: ZodNullable<ZodNumber>;
Sequence: ZodNumber;
Status: ZodUnion<
[
ZodLiteral<"Active">,
ZodLiteral<"Deprecated">,
ZodLiteral<"Disabled">,
],
>;
Type: ZodString;
},
"strip",
ZodTypeAny,
{
__mj_CreatedAt?: Date;
__mj_UpdatedAt?: Date;
AllowsNull?: boolean;
Category?: string;
Configuration?: string;
DefaultValue?: string;
Description?: string;
DisplayName?: string;
ID?: string;
IntegrationObject?: string;
IntegrationObjectID?: string;
IsCustom?: boolean;
IsPrimaryKey?: boolean;
IsReadOnly?: boolean;
IsRequired?: boolean;
IsUniqueKey?: boolean;
Length?: number;
MetadataSource?: "Custom"
| "Declared"
| "Discovered";
Name?: string;
Precision?: number;
RelatedIntegrationObject?: string;
RelatedIntegrationObjectFieldName?: string;
RelatedIntegrationObjectID?: string;
Scale?: number;
Sequence?: number;
Status?: "Active" | "Disabled" | "Deprecated";
Type?: string;
},
{
__mj_CreatedAt?: Date;
__mj_UpdatedAt?: Date;
AllowsNull?: boolean;
Category?: string;
Configuration?: string;
DefaultValue?: string;
Description?: string;
DisplayName?: string;
ID?: string;
IntegrationObject?: string;
IntegrationObjectID?: string;
IsCustom?: boolean;
IsPrimaryKey?: boolean;
IsReadOnly?: boolean;
IsRequired?: boolean;
IsUniqueKey?: boolean;
Length?: number;
MetadataSource?: "Custom"
| "Declared"
| "Discovered";
Name?: string;
Precision?: number;
RelatedIntegrationObject?: string;
RelatedIntegrationObjectFieldName?: string;
RelatedIntegrationObjectID?: string;
Scale?: number;
Sequence?: number;
Status?: "Active" | "Disabled" | "Deprecated";
Type?: string;
},
> = ...
zod schema definition for the entity MJ: Integration Object Fields