@seamapi/types 1.331.0 → 1.332.1

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.
Files changed (30) hide show
  1. package/dist/connect.cjs +865 -228
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +1645 -73
  4. package/lib/seam/connect/models/devices/device.d.ts +380 -16
  5. package/lib/seam/connect/models/devices/device.js +125 -5
  6. package/lib/seam/connect/models/devices/device.js.map +1 -1
  7. package/lib/seam/connect/models/devices/phone.d.ts +235 -11
  8. package/lib/seam/connect/models/devices/unmanaged-device.d.ts +235 -11
  9. package/lib/seam/connect/models/events/acs/{access_groups.js → access-groups.js} +1 -1
  10. package/lib/seam/connect/models/events/acs/{access_groups.js.map → access-groups.js.map} +1 -1
  11. package/lib/seam/connect/models/events/acs/index.js +1 -1
  12. package/lib/seam/connect/models/events/index.d.ts +1 -0
  13. package/lib/seam/connect/models/events/index.js +1 -0
  14. package/lib/seam/connect/models/events/index.js.map +1 -1
  15. package/lib/seam/connect/models/events/seam-event.d.ts +1 -0
  16. package/lib/seam/connect/models/events/seam-event.js +2 -0
  17. package/lib/seam/connect/models/events/seam-event.js.map +1 -1
  18. package/lib/seam/connect/openapi.d.ts +42 -27
  19. package/lib/seam/connect/openapi.js +795 -222
  20. package/lib/seam/connect/openapi.js.map +1 -1
  21. package/lib/seam/connect/route-types.d.ts +1027 -58
  22. package/package.json +1 -1
  23. package/src/lib/seam/connect/models/devices/device.ts +143 -6
  24. package/src/lib/seam/connect/models/events/acs/index.ts +1 -1
  25. package/src/lib/seam/connect/models/events/index.ts +1 -0
  26. package/src/lib/seam/connect/models/events/seam-event.ts +10 -0
  27. package/src/lib/seam/connect/openapi.ts +835 -205
  28. package/src/lib/seam/connect/route-types.ts +1404 -163
  29. /package/lib/seam/connect/models/events/acs/{access_groups.d.ts → access-groups.d.ts} +0 -0
  30. /package/src/lib/seam/connect/models/events/acs/{access_groups.ts → access-groups.ts} +0 -0
@@ -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.ZodString;
2032
+ warning_code: z.ZodLiteral<"partial_backup_access_code_pool">;
2033
2033
  }>, "strip", z.ZodTypeAny, {
2034
2034
  message: string;
2035
- warning_code: string;
2035
+ warning_code: "partial_backup_access_code_pool";
2036
2036
  }, {
2037
2037
  message: string;
2038
- warning_code: string;
2039
- }>, "many">;
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: string;
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: string;
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.ZodString;
2031
+ warning_code: z.ZodLiteral<"partial_backup_access_code_pool">;
2032
2032
  }>, "strip", z.ZodTypeAny, {
2033
2033
  message: string;
2034
- warning_code: string;
2034
+ warning_code: "partial_backup_access_code_pool";
2035
2035
  }, {
2036
2036
  message: string;
2037
- warning_code: string;
2038
- }>, "many">;
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: string;
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: string;
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")[];
@@ -12,4 +12,4 @@ export const acs_access_group_deleted_event = acs_access_group_event.extend({
12
12
  An ACS access group was deleted.
13
13
  `);
14
14
  export const acs_access_group_events = [acs_access_group_deleted_event];
15
- //# sourceMappingURL=access_groups.js.map
15
+ //# sourceMappingURL=access-groups.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"access_groups.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/models/events/acs/access_groups.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAA;AAE9C,MAAM,sBAAsB,GAAG,gBAAgB,CAAC,MAAM,CAAC;IACrD,mBAAmB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;CACvC,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,8BAA8B,GAAG,sBAAsB,CAAC,MAAM,CAAC;IAC1E,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,0BAA0B,CAAC;CAClD,CAAC,CAAC,QAAQ,CAAC;;;;;CAKX,CAAC,CAAA;AAMF,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,8BAA8B,CAAU,CAAA"}
1
+ {"version":3,"file":"access-groups.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/models/events/acs/access-groups.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAA;AAE9C,MAAM,sBAAsB,GAAG,gBAAgB,CAAC,MAAM,CAAC;IACrD,mBAAmB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;CACvC,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,8BAA8B,GAAG,sBAAsB,CAAC,MAAM,CAAC;IAC1E,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,0BAA0B,CAAC;CAClD,CAAC,CAAC,QAAQ,CAAC;;;;;CAKX,CAAC,CAAA;AAMF,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,8BAA8B,CAAU,CAAA"}
@@ -1,4 +1,4 @@
1
- import { acs_access_group_events } from './access_groups.js';
1
+ import { acs_access_group_events } from './access-groups.js';
2
2
  import { acs_credential_events } from './credentials.js';
3
3
  import { acs_encoder_events } from './encoders.js';
4
4
  import { acs_system_events } from './systems.js';
@@ -2,6 +2,7 @@ export type * from './access-codes.js';
2
2
  export type * from './acs/index.js';
3
3
  export type * from './action-attempts.js';
4
4
  export type * from './client-sessions.js';
5
+ export * from './common.js';
5
6
  export type * from './connected-accounts.js';
6
7
  export type * from './devices.js';
7
8
  export type * from './enrollment-automations.js';
@@ -1,2 +1,3 @@
1
+ export * from './common.js';
1
2
  export * from './seam-event.js';
2
3
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/events/index.ts"],"names":[],"mappings":"AAQA,cAAc,iBAAiB,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/events/index.ts"],"names":[],"mappings":"AAIA,cAAc,aAAa,CAAA;AAK3B,cAAc,iBAAiB,CAAA"}
@@ -2143,4 +2143,5 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
2143
2143
  event_type: "phone.deactivated";
2144
2144
  }>]>;
2145
2145
  export type SeamEvent = z.infer<typeof seam_event>;
2146
+ export declare const seam_event_type: z.ZodEnum<["access_code.created" | "access_code.changed" | "access_code.scheduled_on_device" | "access_code.set_on_device" | "access_code.removed_from_device" | "access_code.delay_in_setting_on_device" | "access_code.failed_to_set_on_device" | "access_code.deleted" | "access_code.delay_in_removing_from_device" | "access_code.failed_to_remove_from_device" | "access_code.modified_external_to_seam" | "access_code.deleted_external_to_seam" | "access_code.backup_access_code_pulled" | "access_code.unmanaged.converted_to_managed" | "access_code.unmanaged.failed_to_convert_to_managed" | "access_code.unmanaged.created" | "access_code.unmanaged.removed" | "acs_access_group.deleted" | "acs_credential.deleted" | "acs_credential.issued" | "acs_credential.reissued" | "acs_encoder.added" | "acs_encoder.removed" | "acs_system.connected" | "acs_system.disconnected" | "acs_system.added" | "acs_user.deleted" | "action_attempt.lock_door.succeeded" | "action_attempt.lock_door.failed" | "action_attempt.unlock_door.succeeded" | "action_attempt.unlock_door.failed" | "client_session.deleted" | "connected_account.connected" | "connected_account.created" | "connected_account.successful_login" | "connected_account.disconnected" | "connected_account.completed_first_sync" | "connected_account.deleted" | "connected_account.completed_first_sync_after_reconnection" | "device.connected" | "device.added" | "device.converted_to_unmanaged" | "device.unmanaged.converted_to_managed" | "device.unmanaged.connected" | "device.disconnected" | "device.unmanaged.disconnected" | "device.tampered" | "device.low_battery" | "device.battery_status_changed" | "device.removed" | "device.deleted" | "device.third_party_integration_detected" | "device.third_party_integration_no_longer_detected" | "device.salto.privacy_mode_activated" | "device.salto.privacy_mode_deactivated" | "device.connection_became_flaky" | "device.connection_stabilized" | "device.error.subscription_required" | "device.error.subscription_required.resolved" | "device.accessory_keypad_connected" | "device.accessory_keypad_disconnected" | "noise_sensor.noise_threshold_triggered" | "lock.locked" | "lock.unlocked" | "lock.access_denied" | "thermostat.climate_preset_activated" | "thermostat.manually_adjusted" | "thermostat.temperature_threshold_exceeded" | "thermostat.temperature_threshold_no_longer_exceeded" | "thermostat.temperature_reached_set_point" | "enrollment_automation.deleted" | "phone.deactivated" | "connect_webview.login_succeeded" | "connect_webview.login_failed", ...("access_code.created" | "access_code.changed" | "access_code.scheduled_on_device" | "access_code.set_on_device" | "access_code.removed_from_device" | "access_code.delay_in_setting_on_device" | "access_code.failed_to_set_on_device" | "access_code.deleted" | "access_code.delay_in_removing_from_device" | "access_code.failed_to_remove_from_device" | "access_code.modified_external_to_seam" | "access_code.deleted_external_to_seam" | "access_code.backup_access_code_pulled" | "access_code.unmanaged.converted_to_managed" | "access_code.unmanaged.failed_to_convert_to_managed" | "access_code.unmanaged.created" | "access_code.unmanaged.removed" | "acs_access_group.deleted" | "acs_credential.deleted" | "acs_credential.issued" | "acs_credential.reissued" | "acs_encoder.added" | "acs_encoder.removed" | "acs_system.connected" | "acs_system.disconnected" | "acs_system.added" | "acs_user.deleted" | "action_attempt.lock_door.succeeded" | "action_attempt.lock_door.failed" | "action_attempt.unlock_door.succeeded" | "action_attempt.unlock_door.failed" | "client_session.deleted" | "connected_account.connected" | "connected_account.created" | "connected_account.successful_login" | "connected_account.disconnected" | "connected_account.completed_first_sync" | "connected_account.deleted" | "connected_account.completed_first_sync_after_reconnection" | "device.connected" | "device.added" | "device.converted_to_unmanaged" | "device.unmanaged.converted_to_managed" | "device.unmanaged.connected" | "device.disconnected" | "device.unmanaged.disconnected" | "device.tampered" | "device.low_battery" | "device.battery_status_changed" | "device.removed" | "device.deleted" | "device.third_party_integration_detected" | "device.third_party_integration_no_longer_detected" | "device.salto.privacy_mode_activated" | "device.salto.privacy_mode_deactivated" | "device.connection_became_flaky" | "device.connection_stabilized" | "device.error.subscription_required" | "device.error.subscription_required.resolved" | "device.accessory_keypad_connected" | "device.accessory_keypad_disconnected" | "noise_sensor.noise_threshold_triggered" | "lock.locked" | "lock.unlocked" | "lock.access_denied" | "thermostat.climate_preset_activated" | "thermostat.manually_adjusted" | "thermostat.temperature_threshold_exceeded" | "thermostat.temperature_threshold_no_longer_exceeded" | "thermostat.temperature_reached_set_point" | "enrollment_automation.deleted" | "phone.deactivated" | "connect_webview.login_succeeded" | "connect_webview.login_failed")[]]>;
2146
2147
  export type SeamEventType = SeamEvent['event_type'];
@@ -23,4 +23,6 @@ export const seam_event = z.discriminatedUnion('event_type', [
23
23
  route_path: /events
24
24
  ---
25
25
  `);
26
+ const event_types = seam_event.options.map((schema) => schema.shape.event_type.value);
27
+ export const seam_event_type = z.enum(event_types);
26
28
  //# sourceMappingURL=seam-event.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"seam-event.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/events/seam-event.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAA;AACtD,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAA;AAC3C,OAAO,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAA;AAC5D,OAAO,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAA;AAC5D,OAAO,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAA;AAC9D,OAAO,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAA;AAClE,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAA;AAC5C,OAAO,EAAE,4BAA4B,EAAE,MAAM,6BAA6B,CAAA;AAC1E,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAE1C,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,CAAC,kBAAkB,CAAC,YAAY,EAAE;IAC3D,GAAG,kBAAkB;IACrB,GAAG,UAAU;IACb,GAAG,qBAAqB;IACxB,GAAG,wBAAwB;IAC3B,GAAG,qBAAqB;IACxB,GAAG,sBAAsB;IACzB,GAAG,aAAa;IAChB,GAAG,4BAA4B;IAC/B,GAAG,YAAY;CAChB,CAAC,CAAC,QAAQ,CAAC;;;;CAIX,CAAC,CAAA"}
1
+ {"version":3,"file":"seam-event.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/events/seam-event.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAA;AACtD,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAA;AAC3C,OAAO,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAA;AAC5D,OAAO,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAA;AAC5D,OAAO,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAA;AAC9D,OAAO,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAA;AAClE,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAA;AAC5C,OAAO,EAAE,4BAA4B,EAAE,MAAM,6BAA6B,CAAA;AAC1E,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAE1C,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,CAAC,kBAAkB,CAAC,YAAY,EAAE;IAC3D,GAAG,kBAAkB;IACrB,GAAG,UAAU;IACb,GAAG,qBAAqB;IACxB,GAAG,wBAAwB;IAC3B,GAAG,qBAAqB;IACxB,GAAG,sBAAsB;IACzB,GAAG,aAAa;IAChB,GAAG,4BAA4B;IAC/B,GAAG,YAAY;CAChB,CAAC,CAAC,QAAQ,CAAC;;;;CAIX,CAAC,CAAA;AAIF,MAAM,WAAW,GAAG,UAAU,CAAC,OAAO,CAAC,GAAG,CACxC,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,UAAU,CAAC,KAAK,CAC1C,CAAA;AAID,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,CAAC,IAAI,CACnC,WAAuD,CACxD,CAAA"}