@seamapi/types 1.330.0 → 1.332.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/connect.cjs +755 -106
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +1767 -195
- package/lib/seam/connect/models/acs/acs-credential.d.ts +7 -7
- package/lib/seam/connect/models/acs/acs-credential.js +2 -0
- package/lib/seam/connect/models/acs/acs-credential.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +24 -24
- package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +10 -10
- package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +14 -14
- package/lib/seam/connect/models/devices/device.d.ts +380 -16
- package/lib/seam/connect/models/devices/device.js +125 -5
- package/lib/seam/connect/models/devices/device.js.map +1 -1
- package/lib/seam/connect/models/devices/phone.d.ts +235 -11
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +235 -11
- package/lib/seam/connect/openapi.d.ts +42 -27
- package/lib/seam/connect/openapi.js +682 -95
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +1080 -111
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-credential.ts +2 -0
- package/src/lib/seam/connect/models/devices/device.ts +143 -6
- package/src/lib/seam/connect/openapi.ts +720 -76
- package/src/lib/seam/connect/route-types.ts +1497 -68
|
@@ -2026,17 +2026,157 @@ export declare const phone: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ex
|
|
|
2026
2026
|
is_connected_account_error: true;
|
|
2027
2027
|
error_code: string;
|
|
2028
2028
|
}>]>, "many">;
|
|
2029
|
-
warnings: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
2029
|
+
warnings: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
2030
2030
|
message: z.ZodString;
|
|
2031
2031
|
}, {
|
|
2032
|
-
warning_code: z.
|
|
2032
|
+
warning_code: z.ZodLiteral<"partial_backup_access_code_pool">;
|
|
2033
2033
|
}>, "strip", z.ZodTypeAny, {
|
|
2034
2034
|
message: string;
|
|
2035
|
-
warning_code:
|
|
2035
|
+
warning_code: "partial_backup_access_code_pool";
|
|
2036
2036
|
}, {
|
|
2037
2037
|
message: string;
|
|
2038
|
-
warning_code:
|
|
2039
|
-
}>,
|
|
2038
|
+
warning_code: "partial_backup_access_code_pool";
|
|
2039
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
2040
|
+
message: z.ZodString;
|
|
2041
|
+
}, {
|
|
2042
|
+
warning_code: z.ZodLiteral<"many_active_backup_codes">;
|
|
2043
|
+
}>, "strip", z.ZodTypeAny, {
|
|
2044
|
+
message: string;
|
|
2045
|
+
warning_code: "many_active_backup_codes";
|
|
2046
|
+
}, {
|
|
2047
|
+
message: string;
|
|
2048
|
+
warning_code: "many_active_backup_codes";
|
|
2049
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
2050
|
+
message: z.ZodString;
|
|
2051
|
+
}, {
|
|
2052
|
+
warning_code: z.ZodLiteral<"salto_unknown_device_type">;
|
|
2053
|
+
}>, "strip", z.ZodTypeAny, {
|
|
2054
|
+
message: string;
|
|
2055
|
+
warning_code: "salto_unknown_device_type";
|
|
2056
|
+
}, {
|
|
2057
|
+
message: string;
|
|
2058
|
+
warning_code: "salto_unknown_device_type";
|
|
2059
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
2060
|
+
message: z.ZodString;
|
|
2061
|
+
}, {
|
|
2062
|
+
warning_code: z.ZodLiteral<"wyze_device_missing_gateway">;
|
|
2063
|
+
}>, "strip", z.ZodTypeAny, {
|
|
2064
|
+
message: string;
|
|
2065
|
+
warning_code: "wyze_device_missing_gateway";
|
|
2066
|
+
}, {
|
|
2067
|
+
message: string;
|
|
2068
|
+
warning_code: "wyze_device_missing_gateway";
|
|
2069
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
2070
|
+
message: z.ZodString;
|
|
2071
|
+
}, {
|
|
2072
|
+
warning_code: z.ZodLiteral<"functional_offline_device">;
|
|
2073
|
+
}>, "strip", z.ZodTypeAny, {
|
|
2074
|
+
message: string;
|
|
2075
|
+
warning_code: "functional_offline_device";
|
|
2076
|
+
}, {
|
|
2077
|
+
message: string;
|
|
2078
|
+
warning_code: "functional_offline_device";
|
|
2079
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
2080
|
+
message: z.ZodString;
|
|
2081
|
+
}, {
|
|
2082
|
+
warning_code: z.ZodLiteral<"third_party_integration_detected">;
|
|
2083
|
+
}>, "strip", z.ZodTypeAny, {
|
|
2084
|
+
message: string;
|
|
2085
|
+
warning_code: "third_party_integration_detected";
|
|
2086
|
+
}, {
|
|
2087
|
+
message: string;
|
|
2088
|
+
warning_code: "third_party_integration_detected";
|
|
2089
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
2090
|
+
message: z.ZodString;
|
|
2091
|
+
}, {
|
|
2092
|
+
warning_code: z.ZodLiteral<"nest_thermostat_in_manual_eco_mode">;
|
|
2093
|
+
}>, "strip", z.ZodTypeAny, {
|
|
2094
|
+
message: string;
|
|
2095
|
+
warning_code: "nest_thermostat_in_manual_eco_mode";
|
|
2096
|
+
}, {
|
|
2097
|
+
message: string;
|
|
2098
|
+
warning_code: "nest_thermostat_in_manual_eco_mode";
|
|
2099
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
2100
|
+
message: z.ZodString;
|
|
2101
|
+
}, {
|
|
2102
|
+
warning_code: z.ZodLiteral<"ttlock_lock_gateway_unlocking_not_enabled">;
|
|
2103
|
+
}>, "strip", z.ZodTypeAny, {
|
|
2104
|
+
message: string;
|
|
2105
|
+
warning_code: "ttlock_lock_gateway_unlocking_not_enabled";
|
|
2106
|
+
}, {
|
|
2107
|
+
message: string;
|
|
2108
|
+
warning_code: "ttlock_lock_gateway_unlocking_not_enabled";
|
|
2109
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
2110
|
+
message: z.ZodString;
|
|
2111
|
+
}, {
|
|
2112
|
+
warning_code: z.ZodLiteral<"ttlock_weak_gateway_signal">;
|
|
2113
|
+
}>, "strip", z.ZodTypeAny, {
|
|
2114
|
+
message: string;
|
|
2115
|
+
warning_code: "ttlock_weak_gateway_signal";
|
|
2116
|
+
}, {
|
|
2117
|
+
message: string;
|
|
2118
|
+
warning_code: "ttlock_weak_gateway_signal";
|
|
2119
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
2120
|
+
message: z.ZodString;
|
|
2121
|
+
}, {
|
|
2122
|
+
warning_code: z.ZodLiteral<"temperature_threshold_exceeded">;
|
|
2123
|
+
}>, "strip", z.ZodTypeAny, {
|
|
2124
|
+
message: string;
|
|
2125
|
+
warning_code: "temperature_threshold_exceeded";
|
|
2126
|
+
}, {
|
|
2127
|
+
message: string;
|
|
2128
|
+
warning_code: "temperature_threshold_exceeded";
|
|
2129
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
2130
|
+
message: z.ZodString;
|
|
2131
|
+
}, {
|
|
2132
|
+
warning_code: z.ZodLiteral<"device_communication_degraded">;
|
|
2133
|
+
}>, "strip", z.ZodTypeAny, {
|
|
2134
|
+
message: string;
|
|
2135
|
+
warning_code: "device_communication_degraded";
|
|
2136
|
+
}, {
|
|
2137
|
+
message: string;
|
|
2138
|
+
warning_code: "device_communication_degraded";
|
|
2139
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
2140
|
+
message: z.ZodString;
|
|
2141
|
+
}, {
|
|
2142
|
+
warning_code: z.ZodLiteral<"scheduled_maintenance_window">;
|
|
2143
|
+
}>, "strip", z.ZodTypeAny, {
|
|
2144
|
+
message: string;
|
|
2145
|
+
warning_code: "scheduled_maintenance_window";
|
|
2146
|
+
}, {
|
|
2147
|
+
message: string;
|
|
2148
|
+
warning_code: "scheduled_maintenance_window";
|
|
2149
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
2150
|
+
message: z.ZodString;
|
|
2151
|
+
}, {
|
|
2152
|
+
warning_code: z.ZodLiteral<"device_has_flaky_connection">;
|
|
2153
|
+
}>, "strip", z.ZodTypeAny, {
|
|
2154
|
+
message: string;
|
|
2155
|
+
warning_code: "device_has_flaky_connection";
|
|
2156
|
+
}, {
|
|
2157
|
+
message: string;
|
|
2158
|
+
warning_code: "device_has_flaky_connection";
|
|
2159
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
2160
|
+
message: z.ZodString;
|
|
2161
|
+
}, {
|
|
2162
|
+
warning_code: z.ZodLiteral<"salto_office_mode">;
|
|
2163
|
+
}>, "strip", z.ZodTypeAny, {
|
|
2164
|
+
message: string;
|
|
2165
|
+
warning_code: "salto_office_mode";
|
|
2166
|
+
}, {
|
|
2167
|
+
message: string;
|
|
2168
|
+
warning_code: "salto_office_mode";
|
|
2169
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
2170
|
+
message: z.ZodString;
|
|
2171
|
+
}, {
|
|
2172
|
+
warning_code: z.ZodLiteral<"salto_privacy_mode">;
|
|
2173
|
+
}>, "strip", z.ZodTypeAny, {
|
|
2174
|
+
message: string;
|
|
2175
|
+
warning_code: "salto_privacy_mode";
|
|
2176
|
+
}, {
|
|
2177
|
+
message: string;
|
|
2178
|
+
warning_code: "salto_privacy_mode";
|
|
2179
|
+
}>]>, "many">;
|
|
2040
2180
|
created_at: z.ZodString;
|
|
2041
2181
|
is_managed: z.ZodLiteral<true>;
|
|
2042
2182
|
custom_metadata: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>;
|
|
@@ -2162,10 +2302,52 @@ export declare const phone: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ex
|
|
|
2162
2302
|
error_code: "subscription_required";
|
|
2163
2303
|
is_device_error: true;
|
|
2164
2304
|
})[];
|
|
2165
|
-
warnings: {
|
|
2305
|
+
warnings: ({
|
|
2306
|
+
message: string;
|
|
2307
|
+
warning_code: "partial_backup_access_code_pool";
|
|
2308
|
+
} | {
|
|
2309
|
+
message: string;
|
|
2310
|
+
warning_code: "many_active_backup_codes";
|
|
2311
|
+
} | {
|
|
2312
|
+
message: string;
|
|
2313
|
+
warning_code: "salto_unknown_device_type";
|
|
2314
|
+
} | {
|
|
2315
|
+
message: string;
|
|
2316
|
+
warning_code: "salto_office_mode";
|
|
2317
|
+
} | {
|
|
2318
|
+
message: string;
|
|
2319
|
+
warning_code: "salto_privacy_mode";
|
|
2320
|
+
} | {
|
|
2321
|
+
message: string;
|
|
2322
|
+
warning_code: "wyze_device_missing_gateway";
|
|
2323
|
+
} | {
|
|
2324
|
+
message: string;
|
|
2325
|
+
warning_code: "functional_offline_device";
|
|
2326
|
+
} | {
|
|
2327
|
+
message: string;
|
|
2328
|
+
warning_code: "third_party_integration_detected";
|
|
2329
|
+
} | {
|
|
2330
|
+
message: string;
|
|
2331
|
+
warning_code: "nest_thermostat_in_manual_eco_mode";
|
|
2332
|
+
} | {
|
|
2333
|
+
message: string;
|
|
2334
|
+
warning_code: "ttlock_lock_gateway_unlocking_not_enabled";
|
|
2335
|
+
} | {
|
|
2336
|
+
message: string;
|
|
2337
|
+
warning_code: "ttlock_weak_gateway_signal";
|
|
2338
|
+
} | {
|
|
2339
|
+
message: string;
|
|
2340
|
+
warning_code: "temperature_threshold_exceeded";
|
|
2341
|
+
} | {
|
|
2166
2342
|
message: string;
|
|
2167
|
-
warning_code:
|
|
2168
|
-
}
|
|
2343
|
+
warning_code: "device_communication_degraded";
|
|
2344
|
+
} | {
|
|
2345
|
+
message: string;
|
|
2346
|
+
warning_code: "scheduled_maintenance_window";
|
|
2347
|
+
} | {
|
|
2348
|
+
message: string;
|
|
2349
|
+
warning_code: "device_has_flaky_connection";
|
|
2350
|
+
})[];
|
|
2169
2351
|
custom_metadata: Record<string, string | boolean>;
|
|
2170
2352
|
display_name: string;
|
|
2171
2353
|
device_id: string;
|
|
@@ -2257,10 +2439,52 @@ export declare const phone: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ex
|
|
|
2257
2439
|
error_code: "subscription_required";
|
|
2258
2440
|
is_device_error: true;
|
|
2259
2441
|
})[];
|
|
2260
|
-
warnings: {
|
|
2442
|
+
warnings: ({
|
|
2443
|
+
message: string;
|
|
2444
|
+
warning_code: "partial_backup_access_code_pool";
|
|
2445
|
+
} | {
|
|
2446
|
+
message: string;
|
|
2447
|
+
warning_code: "many_active_backup_codes";
|
|
2448
|
+
} | {
|
|
2449
|
+
message: string;
|
|
2450
|
+
warning_code: "salto_unknown_device_type";
|
|
2451
|
+
} | {
|
|
2452
|
+
message: string;
|
|
2453
|
+
warning_code: "salto_office_mode";
|
|
2454
|
+
} | {
|
|
2455
|
+
message: string;
|
|
2456
|
+
warning_code: "salto_privacy_mode";
|
|
2457
|
+
} | {
|
|
2261
2458
|
message: string;
|
|
2262
|
-
warning_code:
|
|
2263
|
-
}
|
|
2459
|
+
warning_code: "wyze_device_missing_gateway";
|
|
2460
|
+
} | {
|
|
2461
|
+
message: string;
|
|
2462
|
+
warning_code: "functional_offline_device";
|
|
2463
|
+
} | {
|
|
2464
|
+
message: string;
|
|
2465
|
+
warning_code: "third_party_integration_detected";
|
|
2466
|
+
} | {
|
|
2467
|
+
message: string;
|
|
2468
|
+
warning_code: "nest_thermostat_in_manual_eco_mode";
|
|
2469
|
+
} | {
|
|
2470
|
+
message: string;
|
|
2471
|
+
warning_code: "ttlock_lock_gateway_unlocking_not_enabled";
|
|
2472
|
+
} | {
|
|
2473
|
+
message: string;
|
|
2474
|
+
warning_code: "ttlock_weak_gateway_signal";
|
|
2475
|
+
} | {
|
|
2476
|
+
message: string;
|
|
2477
|
+
warning_code: "temperature_threshold_exceeded";
|
|
2478
|
+
} | {
|
|
2479
|
+
message: string;
|
|
2480
|
+
warning_code: "device_communication_degraded";
|
|
2481
|
+
} | {
|
|
2482
|
+
message: string;
|
|
2483
|
+
warning_code: "scheduled_maintenance_window";
|
|
2484
|
+
} | {
|
|
2485
|
+
message: string;
|
|
2486
|
+
warning_code: "device_has_flaky_connection";
|
|
2487
|
+
})[];
|
|
2264
2488
|
custom_metadata: Record<string, string | boolean>;
|
|
2265
2489
|
display_name: string;
|
|
2266
2490
|
device_id: string;
|
|
@@ -2025,17 +2025,157 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
|
|
|
2025
2025
|
is_connected_account_error: true;
|
|
2026
2026
|
error_code: string;
|
|
2027
2027
|
}>]>, "many">;
|
|
2028
|
-
warnings: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
2028
|
+
warnings: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
2029
2029
|
message: z.ZodString;
|
|
2030
2030
|
}, {
|
|
2031
|
-
warning_code: z.
|
|
2031
|
+
warning_code: z.ZodLiteral<"partial_backup_access_code_pool">;
|
|
2032
2032
|
}>, "strip", z.ZodTypeAny, {
|
|
2033
2033
|
message: string;
|
|
2034
|
-
warning_code:
|
|
2034
|
+
warning_code: "partial_backup_access_code_pool";
|
|
2035
2035
|
}, {
|
|
2036
2036
|
message: string;
|
|
2037
|
-
warning_code:
|
|
2038
|
-
}>,
|
|
2037
|
+
warning_code: "partial_backup_access_code_pool";
|
|
2038
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
2039
|
+
message: z.ZodString;
|
|
2040
|
+
}, {
|
|
2041
|
+
warning_code: z.ZodLiteral<"many_active_backup_codes">;
|
|
2042
|
+
}>, "strip", z.ZodTypeAny, {
|
|
2043
|
+
message: string;
|
|
2044
|
+
warning_code: "many_active_backup_codes";
|
|
2045
|
+
}, {
|
|
2046
|
+
message: string;
|
|
2047
|
+
warning_code: "many_active_backup_codes";
|
|
2048
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
2049
|
+
message: z.ZodString;
|
|
2050
|
+
}, {
|
|
2051
|
+
warning_code: z.ZodLiteral<"salto_unknown_device_type">;
|
|
2052
|
+
}>, "strip", z.ZodTypeAny, {
|
|
2053
|
+
message: string;
|
|
2054
|
+
warning_code: "salto_unknown_device_type";
|
|
2055
|
+
}, {
|
|
2056
|
+
message: string;
|
|
2057
|
+
warning_code: "salto_unknown_device_type";
|
|
2058
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
2059
|
+
message: z.ZodString;
|
|
2060
|
+
}, {
|
|
2061
|
+
warning_code: z.ZodLiteral<"wyze_device_missing_gateway">;
|
|
2062
|
+
}>, "strip", z.ZodTypeAny, {
|
|
2063
|
+
message: string;
|
|
2064
|
+
warning_code: "wyze_device_missing_gateway";
|
|
2065
|
+
}, {
|
|
2066
|
+
message: string;
|
|
2067
|
+
warning_code: "wyze_device_missing_gateway";
|
|
2068
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
2069
|
+
message: z.ZodString;
|
|
2070
|
+
}, {
|
|
2071
|
+
warning_code: z.ZodLiteral<"functional_offline_device">;
|
|
2072
|
+
}>, "strip", z.ZodTypeAny, {
|
|
2073
|
+
message: string;
|
|
2074
|
+
warning_code: "functional_offline_device";
|
|
2075
|
+
}, {
|
|
2076
|
+
message: string;
|
|
2077
|
+
warning_code: "functional_offline_device";
|
|
2078
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
2079
|
+
message: z.ZodString;
|
|
2080
|
+
}, {
|
|
2081
|
+
warning_code: z.ZodLiteral<"third_party_integration_detected">;
|
|
2082
|
+
}>, "strip", z.ZodTypeAny, {
|
|
2083
|
+
message: string;
|
|
2084
|
+
warning_code: "third_party_integration_detected";
|
|
2085
|
+
}, {
|
|
2086
|
+
message: string;
|
|
2087
|
+
warning_code: "third_party_integration_detected";
|
|
2088
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
2089
|
+
message: z.ZodString;
|
|
2090
|
+
}, {
|
|
2091
|
+
warning_code: z.ZodLiteral<"nest_thermostat_in_manual_eco_mode">;
|
|
2092
|
+
}>, "strip", z.ZodTypeAny, {
|
|
2093
|
+
message: string;
|
|
2094
|
+
warning_code: "nest_thermostat_in_manual_eco_mode";
|
|
2095
|
+
}, {
|
|
2096
|
+
message: string;
|
|
2097
|
+
warning_code: "nest_thermostat_in_manual_eco_mode";
|
|
2098
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
2099
|
+
message: z.ZodString;
|
|
2100
|
+
}, {
|
|
2101
|
+
warning_code: z.ZodLiteral<"ttlock_lock_gateway_unlocking_not_enabled">;
|
|
2102
|
+
}>, "strip", z.ZodTypeAny, {
|
|
2103
|
+
message: string;
|
|
2104
|
+
warning_code: "ttlock_lock_gateway_unlocking_not_enabled";
|
|
2105
|
+
}, {
|
|
2106
|
+
message: string;
|
|
2107
|
+
warning_code: "ttlock_lock_gateway_unlocking_not_enabled";
|
|
2108
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
2109
|
+
message: z.ZodString;
|
|
2110
|
+
}, {
|
|
2111
|
+
warning_code: z.ZodLiteral<"ttlock_weak_gateway_signal">;
|
|
2112
|
+
}>, "strip", z.ZodTypeAny, {
|
|
2113
|
+
message: string;
|
|
2114
|
+
warning_code: "ttlock_weak_gateway_signal";
|
|
2115
|
+
}, {
|
|
2116
|
+
message: string;
|
|
2117
|
+
warning_code: "ttlock_weak_gateway_signal";
|
|
2118
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
2119
|
+
message: z.ZodString;
|
|
2120
|
+
}, {
|
|
2121
|
+
warning_code: z.ZodLiteral<"temperature_threshold_exceeded">;
|
|
2122
|
+
}>, "strip", z.ZodTypeAny, {
|
|
2123
|
+
message: string;
|
|
2124
|
+
warning_code: "temperature_threshold_exceeded";
|
|
2125
|
+
}, {
|
|
2126
|
+
message: string;
|
|
2127
|
+
warning_code: "temperature_threshold_exceeded";
|
|
2128
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
2129
|
+
message: z.ZodString;
|
|
2130
|
+
}, {
|
|
2131
|
+
warning_code: z.ZodLiteral<"device_communication_degraded">;
|
|
2132
|
+
}>, "strip", z.ZodTypeAny, {
|
|
2133
|
+
message: string;
|
|
2134
|
+
warning_code: "device_communication_degraded";
|
|
2135
|
+
}, {
|
|
2136
|
+
message: string;
|
|
2137
|
+
warning_code: "device_communication_degraded";
|
|
2138
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
2139
|
+
message: z.ZodString;
|
|
2140
|
+
}, {
|
|
2141
|
+
warning_code: z.ZodLiteral<"scheduled_maintenance_window">;
|
|
2142
|
+
}>, "strip", z.ZodTypeAny, {
|
|
2143
|
+
message: string;
|
|
2144
|
+
warning_code: "scheduled_maintenance_window";
|
|
2145
|
+
}, {
|
|
2146
|
+
message: string;
|
|
2147
|
+
warning_code: "scheduled_maintenance_window";
|
|
2148
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
2149
|
+
message: z.ZodString;
|
|
2150
|
+
}, {
|
|
2151
|
+
warning_code: z.ZodLiteral<"device_has_flaky_connection">;
|
|
2152
|
+
}>, "strip", z.ZodTypeAny, {
|
|
2153
|
+
message: string;
|
|
2154
|
+
warning_code: "device_has_flaky_connection";
|
|
2155
|
+
}, {
|
|
2156
|
+
message: string;
|
|
2157
|
+
warning_code: "device_has_flaky_connection";
|
|
2158
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
2159
|
+
message: z.ZodString;
|
|
2160
|
+
}, {
|
|
2161
|
+
warning_code: z.ZodLiteral<"salto_office_mode">;
|
|
2162
|
+
}>, "strip", z.ZodTypeAny, {
|
|
2163
|
+
message: string;
|
|
2164
|
+
warning_code: "salto_office_mode";
|
|
2165
|
+
}, {
|
|
2166
|
+
message: string;
|
|
2167
|
+
warning_code: "salto_office_mode";
|
|
2168
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
2169
|
+
message: z.ZodString;
|
|
2170
|
+
}, {
|
|
2171
|
+
warning_code: z.ZodLiteral<"salto_privacy_mode">;
|
|
2172
|
+
}>, "strip", z.ZodTypeAny, {
|
|
2173
|
+
message: string;
|
|
2174
|
+
warning_code: "salto_privacy_mode";
|
|
2175
|
+
}, {
|
|
2176
|
+
message: string;
|
|
2177
|
+
warning_code: "salto_privacy_mode";
|
|
2178
|
+
}>]>, "many">;
|
|
2039
2179
|
created_at: z.ZodString;
|
|
2040
2180
|
is_managed: z.ZodLiteral<true>;
|
|
2041
2181
|
custom_metadata: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>;
|
|
@@ -2265,10 +2405,52 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
|
|
|
2265
2405
|
error_code: "subscription_required";
|
|
2266
2406
|
is_device_error: true;
|
|
2267
2407
|
})[];
|
|
2268
|
-
warnings: {
|
|
2408
|
+
warnings: ({
|
|
2409
|
+
message: string;
|
|
2410
|
+
warning_code: "partial_backup_access_code_pool";
|
|
2411
|
+
} | {
|
|
2412
|
+
message: string;
|
|
2413
|
+
warning_code: "many_active_backup_codes";
|
|
2414
|
+
} | {
|
|
2415
|
+
message: string;
|
|
2416
|
+
warning_code: "salto_unknown_device_type";
|
|
2417
|
+
} | {
|
|
2418
|
+
message: string;
|
|
2419
|
+
warning_code: "salto_office_mode";
|
|
2420
|
+
} | {
|
|
2421
|
+
message: string;
|
|
2422
|
+
warning_code: "salto_privacy_mode";
|
|
2423
|
+
} | {
|
|
2424
|
+
message: string;
|
|
2425
|
+
warning_code: "wyze_device_missing_gateway";
|
|
2426
|
+
} | {
|
|
2427
|
+
message: string;
|
|
2428
|
+
warning_code: "functional_offline_device";
|
|
2429
|
+
} | {
|
|
2430
|
+
message: string;
|
|
2431
|
+
warning_code: "third_party_integration_detected";
|
|
2432
|
+
} | {
|
|
2433
|
+
message: string;
|
|
2434
|
+
warning_code: "nest_thermostat_in_manual_eco_mode";
|
|
2435
|
+
} | {
|
|
2436
|
+
message: string;
|
|
2437
|
+
warning_code: "ttlock_lock_gateway_unlocking_not_enabled";
|
|
2438
|
+
} | {
|
|
2439
|
+
message: string;
|
|
2440
|
+
warning_code: "ttlock_weak_gateway_signal";
|
|
2441
|
+
} | {
|
|
2442
|
+
message: string;
|
|
2443
|
+
warning_code: "temperature_threshold_exceeded";
|
|
2444
|
+
} | {
|
|
2269
2445
|
message: string;
|
|
2270
|
-
warning_code:
|
|
2271
|
-
}
|
|
2446
|
+
warning_code: "device_communication_degraded";
|
|
2447
|
+
} | {
|
|
2448
|
+
message: string;
|
|
2449
|
+
warning_code: "scheduled_maintenance_window";
|
|
2450
|
+
} | {
|
|
2451
|
+
message: string;
|
|
2452
|
+
warning_code: "device_has_flaky_connection";
|
|
2453
|
+
})[];
|
|
2272
2454
|
device_id: string;
|
|
2273
2455
|
device_type: ("akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "avigilon_alta_entry" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "seam_relay" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "hubitat_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock") | ("noiseaware_activity_zone" | "minut_sensor") | ("ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat") | ("ios_phone" | "android_phone");
|
|
2274
2456
|
capabilities_supported: ("phone" | "access_code" | "lock" | "noise_detection" | "thermostat" | "battery")[];
|
|
@@ -2378,10 +2560,52 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
|
|
|
2378
2560
|
error_code: "subscription_required";
|
|
2379
2561
|
is_device_error: true;
|
|
2380
2562
|
})[];
|
|
2381
|
-
warnings: {
|
|
2563
|
+
warnings: ({
|
|
2564
|
+
message: string;
|
|
2565
|
+
warning_code: "partial_backup_access_code_pool";
|
|
2566
|
+
} | {
|
|
2567
|
+
message: string;
|
|
2568
|
+
warning_code: "many_active_backup_codes";
|
|
2569
|
+
} | {
|
|
2570
|
+
message: string;
|
|
2571
|
+
warning_code: "salto_unknown_device_type";
|
|
2572
|
+
} | {
|
|
2573
|
+
message: string;
|
|
2574
|
+
warning_code: "salto_office_mode";
|
|
2575
|
+
} | {
|
|
2576
|
+
message: string;
|
|
2577
|
+
warning_code: "salto_privacy_mode";
|
|
2578
|
+
} | {
|
|
2382
2579
|
message: string;
|
|
2383
|
-
warning_code:
|
|
2384
|
-
}
|
|
2580
|
+
warning_code: "wyze_device_missing_gateway";
|
|
2581
|
+
} | {
|
|
2582
|
+
message: string;
|
|
2583
|
+
warning_code: "functional_offline_device";
|
|
2584
|
+
} | {
|
|
2585
|
+
message: string;
|
|
2586
|
+
warning_code: "third_party_integration_detected";
|
|
2587
|
+
} | {
|
|
2588
|
+
message: string;
|
|
2589
|
+
warning_code: "nest_thermostat_in_manual_eco_mode";
|
|
2590
|
+
} | {
|
|
2591
|
+
message: string;
|
|
2592
|
+
warning_code: "ttlock_lock_gateway_unlocking_not_enabled";
|
|
2593
|
+
} | {
|
|
2594
|
+
message: string;
|
|
2595
|
+
warning_code: "ttlock_weak_gateway_signal";
|
|
2596
|
+
} | {
|
|
2597
|
+
message: string;
|
|
2598
|
+
warning_code: "temperature_threshold_exceeded";
|
|
2599
|
+
} | {
|
|
2600
|
+
message: string;
|
|
2601
|
+
warning_code: "device_communication_degraded";
|
|
2602
|
+
} | {
|
|
2603
|
+
message: string;
|
|
2604
|
+
warning_code: "scheduled_maintenance_window";
|
|
2605
|
+
} | {
|
|
2606
|
+
message: string;
|
|
2607
|
+
warning_code: "device_has_flaky_connection";
|
|
2608
|
+
})[];
|
|
2385
2609
|
device_id: string;
|
|
2386
2610
|
device_type: ("akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "avigilon_alta_entry" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "seam_relay" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "hubitat_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock") | ("noiseaware_activity_zone" | "minut_sensor") | ("ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat") | ("ios_phone" | "android_phone");
|
|
2387
2611
|
capabilities_supported: ("phone" | "access_code" | "lock" | "noise_detection" | "thermostat" | "battery")[];
|
|
@@ -3883,16 +3883,21 @@ declare const _default: {
|
|
|
3883
3883
|
warnings: {
|
|
3884
3884
|
description: string;
|
|
3885
3885
|
items: {
|
|
3886
|
-
|
|
3887
|
-
|
|
3888
|
-
|
|
3889
|
-
|
|
3890
|
-
|
|
3891
|
-
|
|
3886
|
+
oneOf: {
|
|
3887
|
+
description: string;
|
|
3888
|
+
properties: {
|
|
3889
|
+
message: {
|
|
3890
|
+
type: string;
|
|
3891
|
+
};
|
|
3892
|
+
warning_code: {
|
|
3893
|
+
description: string;
|
|
3894
|
+
enum: string[];
|
|
3895
|
+
type: string;
|
|
3896
|
+
};
|
|
3892
3897
|
};
|
|
3893
|
-
|
|
3894
|
-
|
|
3895
|
-
|
|
3898
|
+
required: string[];
|
|
3899
|
+
type: string;
|
|
3900
|
+
}[];
|
|
3896
3901
|
};
|
|
3897
3902
|
type: string;
|
|
3898
3903
|
};
|
|
@@ -6744,16 +6749,21 @@ declare const _default: {
|
|
|
6744
6749
|
warnings: {
|
|
6745
6750
|
description: string;
|
|
6746
6751
|
items: {
|
|
6747
|
-
|
|
6748
|
-
|
|
6749
|
-
|
|
6750
|
-
|
|
6751
|
-
|
|
6752
|
-
|
|
6752
|
+
oneOf: {
|
|
6753
|
+
description: string;
|
|
6754
|
+
properties: {
|
|
6755
|
+
message: {
|
|
6756
|
+
type: string;
|
|
6757
|
+
};
|
|
6758
|
+
warning_code: {
|
|
6759
|
+
description: string;
|
|
6760
|
+
enum: string[];
|
|
6761
|
+
type: string;
|
|
6762
|
+
};
|
|
6753
6763
|
};
|
|
6754
|
-
|
|
6755
|
-
|
|
6756
|
-
|
|
6764
|
+
required: string[];
|
|
6765
|
+
type: string;
|
|
6766
|
+
}[];
|
|
6757
6767
|
};
|
|
6758
6768
|
type: string;
|
|
6759
6769
|
};
|
|
@@ -7246,16 +7256,21 @@ declare const _default: {
|
|
|
7246
7256
|
warnings: {
|
|
7247
7257
|
description: string;
|
|
7248
7258
|
items: {
|
|
7249
|
-
|
|
7250
|
-
|
|
7251
|
-
|
|
7252
|
-
|
|
7253
|
-
|
|
7254
|
-
|
|
7259
|
+
oneOf: {
|
|
7260
|
+
description: string;
|
|
7261
|
+
properties: {
|
|
7262
|
+
message: {
|
|
7263
|
+
type: string;
|
|
7264
|
+
};
|
|
7265
|
+
warning_code: {
|
|
7266
|
+
description: string;
|
|
7267
|
+
enum: string[];
|
|
7268
|
+
type: string;
|
|
7269
|
+
};
|
|
7255
7270
|
};
|
|
7256
|
-
|
|
7257
|
-
|
|
7258
|
-
|
|
7271
|
+
required: string[];
|
|
7272
|
+
type: string;
|
|
7273
|
+
}[];
|
|
7259
7274
|
};
|
|
7260
7275
|
type: string;
|
|
7261
7276
|
};
|