Variable connect_webviewConst
connect_webview: ZodObject<
{
accepted_capabilities: ZodArray<
ZodEnum<["lock", "thermostat", "noise_sensor", "access_control"]>,
"many",
>;
accepted_devices: ZodArray<ZodString, "many">;
accepted_providers: ZodArray<ZodString, "many">;
any_device_allowed: ZodBoolean;
any_provider_allowed: ZodBoolean;
authorized_at: ZodNullable<ZodString>;
automatically_manage_new_devices: ZodBoolean;
connect_webview_id: ZodString;
connected_account_id: ZodNullable<ZodString>;
created_at: ZodString;
custom_metadata: ZodRecord<ZodString, ZodUnion<[ZodString, ZodBoolean]>>;
custom_redirect_failure_url: ZodNullable<ZodString>;
custom_redirect_url: ZodNullable<ZodString>;
customer_key: ZodOptional<ZodString>;
device_selection_mode: ZodEnum<["none", "single", "multiple"]>;
login_successful: ZodBoolean;
selected_provider: ZodNullable<ZodString>;
status: ZodEnum<["pending", "failed", "authorized"]>;
url: ZodString;
wait_for_device_creation: ZodBoolean;
workspace_id: ZodString;
},
"strip",
ZodTypeAny,
{
accepted_capabilities: (
"lock"
| "thermostat"
| "noise_sensor"
| "access_control"
)[];
accepted_devices: string[];
accepted_providers: string[];
any_device_allowed: boolean;
any_provider_allowed: boolean;
authorized_at: null | string;
automatically_manage_new_devices: boolean;
connect_webview_id: string;
connected_account_id: null | string;
created_at: string;
custom_metadata: Record<string, string | boolean>;
custom_redirect_failure_url: null | string;
custom_redirect_url: null | string;
customer_key?: string;
device_selection_mode: "none" | "multiple" | "single";
login_successful: boolean;
selected_provider: null | string;
status: "failed" | "pending" | "authorized";
url: string;
wait_for_device_creation: boolean;
workspace_id: string;
},
{
accepted_capabilities: (
"lock"
| "thermostat"
| "noise_sensor"
| "access_control"
)[];
accepted_devices: string[];
accepted_providers: string[];
any_device_allowed: boolean;
any_provider_allowed: boolean;
authorized_at: null | string;
automatically_manage_new_devices: boolean;
connect_webview_id: string;
connected_account_id: null | string;
created_at: string;
custom_metadata: Record<string, string | boolean>;
custom_redirect_failure_url: null | string;
custom_redirect_url: null | string;
customer_key?: string;
device_selection_mode: "none" | "multiple" | "single";
login_successful: boolean;
selected_provider: null | string;
status: "failed" | "pending" | "authorized";
url: string;
wait_for_device_creation: boolean;
workspace_id: string;
},
> = ...