Variable MJAIAgentSessionBridgeSchemaConst
MJAIAgentSessionBridgeSchema: ZodObject<
{
__mj_CreatedAt: ZodDate;
__mj_UpdatedAt: ZodDate;
Address: ZodNullable<ZodString>;
AgentSessionID: ZodString;
BotParticipantID: ZodNullable<ZodString>;
CloseReason: ZodNullable<
ZodUnion<
[
ZodLiteral<"Error">,
ZodLiteral<"Explicit">,
ZodLiteral<"HostEnded">,
ZodLiteral<"Janitor">,
ZodLiteral<"Shutdown">,
],
>,
>;
Config_: ZodNullable<ZodString>;
ConnectedAt: ZodNullable<ZodDate>;
Direction: ZodUnion<[ZodLiteral<"Inbound">, ZodLiteral<"Outbound">]>;
DisconnectedAt: ZodNullable<ZodDate>;
ExternalConnectionID: ZodNullable<ZodString>;
HostInstanceID: ZodNullable<ZodString>;
ID: ZodString;
JoinMethod: ZodUnion<
[
ZodLiteral<"InMeetingCommand">,
ZodLiteral<"InboundRoute">,
ZodLiteral<"Invite">,
ZodLiteral<"NativeInvite">,
ZodLiteral<"OnDemand">,
ZodLiteral<"Scheduled">,
],
>;
Provider: ZodString;
ProviderID: ZodString;
ScheduledStartTime: ZodNullable<ZodDate>;
Status: ZodUnion<
[
ZodLiteral<"Connected">,
ZodLiteral<"Connecting">,
ZodLiteral<"Disconnected">,
ZodLiteral<"Disconnecting">,
ZodLiteral<"Failed">,
ZodLiteral<"Pending">,
ZodLiteral<"Scheduled">,
],
>;
TurnMode: ZodUnion<
[ZodLiteral<"Active">, ZodLiteral<"Hybrid">, ZodLiteral<"Passive">],
>;
},
"strip",
ZodTypeAny,
{
__mj_CreatedAt?: Date;
__mj_UpdatedAt?: Date;
Address?: string;
AgentSessionID?: string;
BotParticipantID?: string;
CloseReason?: "Error"
| "Explicit"
| "HostEnded"
| "Janitor"
| "Shutdown";
Config_?: string;
ConnectedAt?: Date;
Direction?: "Inbound" | "Outbound";
DisconnectedAt?: Date;
ExternalConnectionID?: string;
HostInstanceID?: string;
ID?: string;
JoinMethod?:
| "InMeetingCommand"
| "InboundRoute"
| "Invite"
| "NativeInvite"
| "OnDemand"
| "Scheduled";
Provider?: string;
ProviderID?: string;
ScheduledStartTime?: Date;
Status?: | "Pending"
| "Failed"
| "Scheduled"
| "Connected"
| "Connecting"
| "Disconnected"
| "Disconnecting";
TurnMode?: "Active"
| "Hybrid"
| "Passive";
},
{
__mj_CreatedAt?: Date;
__mj_UpdatedAt?: Date;
Address?: string;
AgentSessionID?: string;
BotParticipantID?: string;
CloseReason?: "Error"
| "Explicit"
| "HostEnded"
| "Janitor"
| "Shutdown";
Config_?: string;
ConnectedAt?: Date;
Direction?: "Inbound" | "Outbound";
DisconnectedAt?: Date;
ExternalConnectionID?: string;
HostInstanceID?: string;
ID?: string;
JoinMethod?:
| "InMeetingCommand"
| "InboundRoute"
| "Invite"
| "NativeInvite"
| "OnDemand"
| "Scheduled";
Provider?: string;
ProviderID?: string;
ScheduledStartTime?: Date;
Status?: | "Pending"
| "Failed"
| "Scheduled"
| "Connected"
| "Connecting"
| "Disconnected"
| "Disconnecting";
TurnMode?: "Active"
| "Hybrid"
| "Passive";
},
> = ...
zod schema definition for the entity MJ: AI Agent Session Bridges