Variable MJCompanyIntegrationSchemaConst
MJCompanyIntegrationSchema: ZodObject<
{
__mj_CreatedAt: ZodDate;
__mj_UpdatedAt: ZodDate;
AccessToken: ZodNullable<ZodString>;
APIKey: ZodNullable<ZodString>;
ClientID: ZodNullable<ZodString>;
ClientSecret: ZodNullable<ZodString>;
Company: ZodString;
CompanyID: ZodString;
Configuration: ZodNullable<ZodString>;
CredentialID: ZodNullable<ZodString>;
CronExpression: ZodNullable<ZodString>;
CustomAttribute1: ZodNullable<ZodString>;
DriverClassName: ZodNullable<ZodString>;
DriverImportPath: ZodNullable<ZodString>;
ExternalSystemID: ZodNullable<ZodString>;
ID: ZodString;
Integration: ZodString;
IntegrationID: ZodString;
IsActive: ZodNullable<ZodBoolean>;
IsExternalSystemReadOnly: ZodBoolean;
IsLocked: ZodBoolean;
LastRunEndedAt: ZodNullable<ZodDate>;
LastRunID: ZodNullable<ZodString>;
LastRunStartedAt: ZodNullable<ZodDate>;
LastScheduledRunAt: ZodNullable<ZodDate>;
LockedAt: ZodNullable<ZodDate>;
LockedByInstance: ZodNullable<ZodString>;
LockExpiresAt: ZodNullable<ZodDate>;
Name: ZodString;
NextScheduledRunAt: ZodNullable<ZodDate>;
RefreshToken: ZodNullable<ZodString>;
ScheduledJobID: ZodNullable<ZodString>;
ScheduleEnabled: ZodBoolean;
ScheduleIntervalMinutes: ZodNullable<ZodNumber>;
ScheduleType: ZodUnion<
[ZodLiteral<"Cron">, ZodLiteral<"Interval">, ZodLiteral<"Manual">],
>;
SourceTypeID: ZodNullable<ZodString>;
TokenExpirationDate: ZodNullable<ZodDate>;
},
"strip",
ZodTypeAny,
{
__mj_CreatedAt?: Date;
__mj_UpdatedAt?: Date;
AccessToken?: string;
APIKey?: string;
ClientID?: string;
ClientSecret?: string;
Company?: string;
CompanyID?: string;
Configuration?: string;
CredentialID?: string;
CronExpression?: string;
CustomAttribute1?: string;
DriverClassName?: string;
DriverImportPath?: string;
ExternalSystemID?: string;
ID?: string;
Integration?: string;
IntegrationID?: string;
IsActive?: boolean;
IsExternalSystemReadOnly?: boolean;
IsLocked?: boolean;
LastRunEndedAt?: Date;
LastRunID?: string;
LastRunStartedAt?: Date;
LastScheduledRunAt?: Date;
LockedAt?: Date;
LockedByInstance?: string;
LockExpiresAt?: Date;
Name?: string;
NextScheduledRunAt?: Date;
RefreshToken?: string;
ScheduledJobID?: string;
ScheduleEnabled?: boolean;
ScheduleIntervalMinutes?: number;
ScheduleType?: "Manual"
| "Cron"
| "Interval";
SourceTypeID?: string;
TokenExpirationDate?: Date;
},
{
__mj_CreatedAt?: Date;
__mj_UpdatedAt?: Date;
AccessToken?: string;
APIKey?: string;
ClientID?: string;
ClientSecret?: string;
Company?: string;
CompanyID?: string;
Configuration?: string;
CredentialID?: string;
CronExpression?: string;
CustomAttribute1?: string;
DriverClassName?: string;
DriverImportPath?: string;
ExternalSystemID?: string;
ID?: string;
Integration?: string;
IntegrationID?: string;
IsActive?: boolean;
IsExternalSystemReadOnly?: boolean;
IsLocked?: boolean;
LastRunEndedAt?: Date;
LastRunID?: string;
LastRunStartedAt?: Date;
LastScheduledRunAt?: Date;
LockedAt?: Date;
LockedByInstance?: string;
LockExpiresAt?: Date;
Name?: string;
NextScheduledRunAt?: Date;
RefreshToken?: string;
ScheduledJobID?: string;
ScheduleEnabled?: boolean;
ScheduleIntervalMinutes?: number;
ScheduleType?: "Manual"
| "Cron"
| "Interval";
SourceTypeID?: string;
TokenExpirationDate?: Date;
},
> = ...
zod schema definition for the entity MJ: Company Integrations