Variable connect_webviewConst
connect_webview: ZodObject<
{
accepted_capabilities: ZodArray<
ZodEnum<
[
"lock",
"thermostat",
"noise_sensor",
"access_control",
"camera",
"speaker",
"pool",
],
>,
"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>;
customization_profile_id: ZodNullable<ZodString>;
device_selection_mode: ZodEnum<["none", "single", "multiple"]>;
locale: ZodNullable<
ZodEnum<
[
"en-US",
"pt-PT",
"fr-FR",
"it-IT",
"es-ES",
"de-DE",
"nl-NL",
"el-GR",
"pl-PL",
"ru-RU",
],
>,
>;
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"
| "pool"
| "speaker"
| "noise_sensor"
| "access_control"
| "camera"
)[];
accepted_devices: string[];
accepted_providers: string[];
any_device_allowed: boolean;
any_provider_allowed: boolean;
authorized_at: string
| null;
automatically_manage_new_devices: boolean;
connect_webview_id: string;
connected_account_id: string | null;
created_at: string;
custom_metadata: Record<string, string | boolean>;
custom_redirect_failure_url: string | null;
custom_redirect_url: string | null;
customer_key?: string;
customization_profile_id: string | null;
device_selection_mode: "none" | "single" | "multiple";
locale:
| "en-US"
| "pt-PT"
| "fr-FR"
| "it-IT"
| "es-ES"
| "de-DE"
| "nl-NL"
| "el-GR"
| "pl-PL"
| "ru-RU"
| null;
login_successful: boolean;
selected_provider: string
| null;
status: "pending" | "failed" | "authorized";
url: string;
wait_for_device_creation: boolean;
workspace_id: string;
},
{
accepted_capabilities: (
| "lock"
| "thermostat"
| "pool"
| "speaker"
| "noise_sensor"
| "access_control"
| "camera"
)[];
accepted_devices: string[];
accepted_providers: string[];
any_device_allowed: boolean;
any_provider_allowed: boolean;
authorized_at: string
| null;
automatically_manage_new_devices: boolean;
connect_webview_id: string;
connected_account_id: string | null;
created_at: string;
custom_metadata: Record<string, string | boolean>;
custom_redirect_failure_url: string | null;
custom_redirect_url: string | null;
customer_key?: string;
customization_profile_id: string | null;
device_selection_mode: "none" | "single" | "multiple";
locale:
| "en-US"
| "pt-PT"
| "fr-FR"
| "it-IT"
| "es-ES"
| "de-DE"
| "nl-NL"
| "el-GR"
| "pl-PL"
| "ru-RU"
| null;
login_successful: boolean;
selected_provider: string
| null;
status: "pending" | "failed" | "authorized";
url: string;
wait_for_device_creation: boolean;
workspace_id: string;
},
> = ...