Variable bridge_client_sessionConst
bridge_client_session: ZodObject<
{
bridge_client_machine_identifier_key: ZodString;
bridge_client_name: ZodString;
bridge_client_session_id: ZodString;
bridge_client_session_token: ZodString;
bridge_client_time_zone: ZodString;
created_at: ZodString;
errors: ZodArray<
ZodDiscriminatedUnion<
"error_code",
[
ZodObject<
{ created_at: ZodString; message: ZodString } & {
can_tailscale_proxy_reach_bridge: ZodNullable<ZodBoolean>;
can_tailscale_proxy_reach_tailscale_network: ZodNullable<ZodBoolean>;
error_code: ZodLiteral<"bridge_lan_unreachable">;
is_bridge_socks_server_healthy: ZodNullable<ZodBoolean>;
is_tailscale_proxy_reachable: ZodNullable<ZodBoolean>;
is_tailscale_proxy_socks_server_healthy: ZodNullable<ZodBoolean>;
},
"strip",
ZodTypeAny,
{
can_tailscale_proxy_reach_bridge: null
| boolean;
can_tailscale_proxy_reach_tailscale_network: null | boolean;
created_at: string;
error_code: "bridge_lan_unreachable";
is_bridge_socks_server_healthy: null | boolean;
is_tailscale_proxy_reachable: null | boolean;
is_tailscale_proxy_socks_server_healthy: null | boolean;
message: string;
},
{
can_tailscale_proxy_reach_bridge: null
| boolean;
can_tailscale_proxy_reach_tailscale_network: null | boolean;
created_at: string;
error_code: "bridge_lan_unreachable";
is_bridge_socks_server_healthy: null | boolean;
is_tailscale_proxy_reachable: null | boolean;
is_tailscale_proxy_socks_server_healthy: null | boolean;
message: string;
},
>,
ZodObject<
{ created_at: ZodString; message: ZodString } & {
error_code: ZodLiteral<"no_communication_from_bridge">;
},
"strip",
ZodTypeAny,
{
created_at: string;
error_code: "no_communication_from_bridge";
message: string;
},
{
created_at: string;
error_code: "no_communication_from_bridge";
message: string;
},
>,
],
>,
"many",
>;
pairing_code: ZodString;
pairing_code_expires_at: ZodString;
tailscale_auth_key: ZodNullable<ZodString>;
tailscale_hostname: ZodString;
telemetry_token: ZodNullable<ZodString>;
telemetry_token_expires_at: ZodNullable<ZodString>;
telemetry_url: ZodNullable<ZodString>;
},
"strip",
ZodTypeAny,
{
bridge_client_machine_identifier_key: string;
bridge_client_name: string;
bridge_client_session_id: string;
bridge_client_session_token: string;
bridge_client_time_zone: string;
created_at: string;
errors: (
| {
can_tailscale_proxy_reach_bridge: null
| boolean;
can_tailscale_proxy_reach_tailscale_network: null | boolean;
created_at: string;
error_code: "bridge_lan_unreachable";
is_bridge_socks_server_healthy: null | boolean;
is_tailscale_proxy_reachable: null | boolean;
is_tailscale_proxy_socks_server_healthy: null | boolean;
message: string;
}
| {
created_at: string;
error_code: "no_communication_from_bridge";
message: string;
}
)[];
pairing_code: string;
pairing_code_expires_at: string;
tailscale_auth_key: null
| string;
tailscale_hostname: string;
telemetry_token: null | string;
telemetry_token_expires_at: null | string;
telemetry_url: null | string;
},
{
bridge_client_machine_identifier_key: string;
bridge_client_name: string;
bridge_client_session_id: string;
bridge_client_session_token: string;
bridge_client_time_zone: string;
created_at: string;
errors: (
| {
can_tailscale_proxy_reach_bridge: null
| boolean;
can_tailscale_proxy_reach_tailscale_network: null | boolean;
created_at: string;
error_code: "bridge_lan_unreachable";
is_bridge_socks_server_healthy: null | boolean;
is_tailscale_proxy_reachable: null | boolean;
is_tailscale_proxy_socks_server_healthy: null | boolean;
message: string;
}
| {
created_at: string;
error_code: "no_communication_from_bridge";
message: string;
}
)[];
pairing_code: string;
pairing_code_expires_at: string;
tailscale_auth_key: null
| string;
tailscale_hostname: string;
telemetry_token: null | string;
telemetry_token_expires_at: null | string;
telemetry_url: null | string;
},
> = ...