@seamapi/types 1.441.2 → 1.443.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.
Files changed (89) hide show
  1. package/dist/connect.cjs +127 -2
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +1966 -1914
  4. package/dist/devicedb.cjs.map +1 -1
  5. package/dist/devicedb.d.cts +27 -27
  6. package/dist/index.cjs +127 -2
  7. package/dist/index.cjs.map +1 -1
  8. package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +387 -389
  9. package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +173 -186
  10. package/lib/seam/connect/models/acs/acs-access-group.d.ts +18 -18
  11. package/lib/seam/connect/models/acs/acs-credential.d.ts +63 -63
  12. package/lib/seam/connect/models/acs/acs-encoder.d.ts +6 -6
  13. package/lib/seam/connect/models/acs/acs-entrance.d.ts +3 -3
  14. package/lib/seam/connect/models/acs/acs-system.d.ts +56 -56
  15. package/lib/seam/connect/models/acs/acs-users/acs-user.d.ts +152 -152
  16. package/lib/seam/connect/models/acs/acs-users/pending-mutations.d.ts +45 -45
  17. package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +300 -354
  18. package/lib/seam/connect/models/action-attempts/activate-climate-preset.d.ts +12 -15
  19. package/lib/seam/connect/models/action-attempts/common.d.ts +9 -12
  20. package/lib/seam/connect/models/action-attempts/deprecated.d.ts +84 -105
  21. package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +54 -57
  22. package/lib/seam/connect/models/action-attempts/lock-door.d.ts +12 -15
  23. package/lib/seam/connect/models/action-attempts/push-thermostat-programs.d.ts +12 -15
  24. package/lib/seam/connect/models/action-attempts/reset-sandbox-workspace.d.ts +12 -15
  25. package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +54 -57
  26. package/lib/seam/connect/models/action-attempts/set-fan-mode.d.ts +12 -15
  27. package/lib/seam/connect/models/action-attempts/set-hvac-mode.d.ts +12 -15
  28. package/lib/seam/connect/models/action-attempts/simulate-keypad-code-entry.d.ts +12 -15
  29. package/lib/seam/connect/models/action-attempts/simulate-manual-lock-via-keypad.d.ts +12 -15
  30. package/lib/seam/connect/models/action-attempts/unlock-door.d.ts +12 -15
  31. package/lib/seam/connect/models/batches/batch.d.ts +128 -120
  32. package/lib/seam/connect/models/batches/spaces.d.ts +128 -120
  33. package/lib/seam/connect/models/bridges/bridge-client-session.d.ts +24 -24
  34. package/lib/seam/connect/models/client-sessions/client-session.d.ts +2 -2
  35. package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +78 -78
  36. package/lib/seam/connect/models/customer/access-grant-resources.d.ts +30 -30
  37. package/lib/seam/connect/models/customer/customer-data.d.ts +57 -57
  38. package/lib/seam/connect/models/customer/location-resources.d.ts +54 -54
  39. package/lib/seam/connect/models/customer/user-identity-resources.d.ts +30 -30
  40. package/lib/seam/connect/models/devices/capability-properties/index.d.ts +3 -3
  41. package/lib/seam/connect/models/devices/device-provider.d.ts +4 -4
  42. package/lib/seam/connect/models/devices/device.d.ts +368 -376
  43. package/lib/seam/connect/models/devices/unmanaged-device.d.ts +118 -120
  44. package/lib/seam/connect/models/events/access-codes.d.ts +136 -136
  45. package/lib/seam/connect/models/events/access-grants.d.ts +40 -40
  46. package/lib/seam/connect/models/events/access-methods.d.ts +40 -40
  47. package/lib/seam/connect/models/events/acs/access-groups.d.ts +10 -10
  48. package/lib/seam/connect/models/events/acs/common.d.ts +3 -3
  49. package/lib/seam/connect/models/events/acs/credentials.d.ts +40 -40
  50. package/lib/seam/connect/models/events/acs/encoders.d.ts +20 -20
  51. package/lib/seam/connect/models/events/acs/entrances.d.ts +20 -20
  52. package/lib/seam/connect/models/events/acs/index.d.ts +67 -67
  53. package/lib/seam/connect/models/events/acs/systems.d.ts +24 -24
  54. package/lib/seam/connect/models/events/acs/users.d.ts +20 -20
  55. package/lib/seam/connect/models/events/action-attempts.d.ts +32 -32
  56. package/lib/seam/connect/models/events/client-sessions.d.ts +8 -8
  57. package/lib/seam/connect/models/events/connect-webviews.d.ts +16 -16
  58. package/lib/seam/connect/models/events/connected-accounts.d.ts +56 -56
  59. package/lib/seam/connect/models/events/devices.d.ts +266 -266
  60. package/lib/seam/connect/models/events/enrollment-automations.d.ts +8 -8
  61. package/lib/seam/connect/models/events/phones.d.ts +8 -8
  62. package/lib/seam/connect/models/events/seam-event.d.ts +372 -372
  63. package/lib/seam/connect/models/phones/phone-session.d.ts +50 -50
  64. package/lib/seam/connect/models/spaces/space.d.ts +6 -0
  65. package/lib/seam/connect/models/spaces/space.js +2 -0
  66. package/lib/seam/connect/models/spaces/space.js.map +1 -1
  67. package/lib/seam/connect/models/user-identities/user-identity.d.ts +18 -18
  68. package/lib/seam/connect/openapi.d.ts +81 -0
  69. package/lib/seam/connect/openapi.js +123 -0
  70. package/lib/seam/connect/openapi.js.map +1 -1
  71. package/lib/seam/connect/route-types.d.ts +36 -1
  72. package/lib/seam/devicedb/models/device-model.d.ts +15 -15
  73. package/lib/seam/devicedb/route-specs.d.ts +12 -12
  74. package/package.json +8 -7
  75. package/src/lib/seam/connect/models/spaces/space.ts +2 -0
  76. package/src/lib/seam/connect/openapi.ts +137 -0
  77. package/src/lib/seam/connect/route-types.ts +36 -1
  78. package/lib/seam/connect/internal/enums.d.ts +0 -1
  79. package/lib/seam/connect/internal/enums.js +0 -2
  80. package/lib/seam/connect/internal/enums.js.map +0 -1
  81. package/lib/seam/connect/internal/index.d.ts +0 -4
  82. package/lib/seam/connect/internal/index.js +0 -5
  83. package/lib/seam/connect/internal/index.js.map +0 -1
  84. package/lib/seam/connect/internal/model-types.d.ts +0 -2
  85. package/lib/seam/connect/internal/model-types.js +0 -2
  86. package/lib/seam/connect/internal/model-types.js.map +0 -1
  87. package/lib/seam/connect/internal/schemas.d.ts +0 -2
  88. package/lib/seam/connect/internal/schemas.js +0 -3
  89. package/lib/seam/connect/internal/schemas.js.map +0 -1
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<Pick<z.objectUtil.extendShape<{
2
+ export declare const unmanaged_device: z.ZodObject<Pick<{
3
3
  device_id: z.ZodString;
4
4
  device_type: z.ZodUnion<[z.ZodEnum<["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"]>, z.ZodEnum<["noiseaware_activity_zone" | "minut_sensor"]>, z.ZodEnum<["ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat" | "sensi_thermostat" | "smartthings_thermostat"]>, z.ZodEnum<["ios_phone" | "android_phone"]>]>;
5
5
  nickname: z.ZodOptional<z.ZodString>;
@@ -1424,7 +1424,7 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
1424
1424
  device_name: string;
1425
1425
  product_type: string;
1426
1426
  } | undefined;
1427
- }>>, z.ZodIntersection<z.ZodObject<z.objectUtil.extendShape<{
1427
+ }>>, z.ZodIntersection<z.ZodObject<{
1428
1428
  _experimental_supported_code_from_access_codes_lengths: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
1429
1429
  code_constraints: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
1430
1430
  constraint_type: z.ZodEnum<["no_zeros", "cannot_start_with_12", "no_triple_consecutive_ints", "cannot_specify_pin_code", "pin_code_matches_existing_set", "start_date_in_future", "no_ascending_or_descending_sequence", "at_least_three_unique_digits", "cannot_contain_089", "cannot_contain_0789"]>;
@@ -1449,7 +1449,7 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
1449
1449
  max_active_codes_supported: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
1450
1450
  supports_backup_access_code_pool: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
1451
1451
  has_native_entry_events: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
1452
- }, {
1452
+ } & {
1453
1453
  locked: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
1454
1454
  keypad_battery: z.ZodOptional<z.ZodOptional<z.ZodObject<{
1455
1455
  level: z.ZodNumber;
@@ -1459,7 +1459,7 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
1459
1459
  level: number;
1460
1460
  }>>>;
1461
1461
  door_open: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
1462
- }>, "strip", z.ZodTypeAny, {
1462
+ }, "strip", z.ZodTypeAny, {
1463
1463
  _experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
1464
1464
  code_constraints?: ({
1465
1465
  constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future" | "no_ascending_or_descending_sequence" | "at_least_three_unique_digits" | "cannot_contain_089" | "cannot_contain_0789";
@@ -2132,15 +2132,14 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
2132
2132
  }>>;
2133
2133
  connected_account_id: z.ZodString;
2134
2134
  workspace_id: z.ZodString;
2135
- errors: z.ZodArray<z.ZodDiscriminatedUnion<"error_code", [z.ZodObject<z.objectUtil.extendShape<{
2135
+ errors: z.ZodArray<z.ZodDiscriminatedUnion<"error_code", [z.ZodObject<{
2136
2136
  message: z.ZodString;
2137
- is_device_error: z.ZodLiteral<true>;
2138
2137
  created_at: z.ZodString;
2139
- }, {
2138
+ } & {
2140
2139
  error_code: z.ZodLiteral<"account_disconnected">;
2141
2140
  is_connected_account_error: z.ZodLiteral<true>;
2142
2141
  is_device_error: z.ZodLiteral<false>;
2143
- }>, "strip", z.ZodTypeAny, {
2142
+ }, "strip", z.ZodTypeAny, {
2144
2143
  message: string;
2145
2144
  created_at: string;
2146
2145
  error_code: "account_disconnected";
@@ -2152,15 +2151,14 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
2152
2151
  error_code: "account_disconnected";
2153
2152
  is_connected_account_error: true;
2154
2153
  is_device_error: false;
2155
- }>, z.ZodObject<z.objectUtil.extendShape<{
2154
+ }>, z.ZodObject<{
2156
2155
  message: z.ZodString;
2157
- is_device_error: z.ZodLiteral<true>;
2158
2156
  created_at: z.ZodString;
2159
- }, {
2157
+ } & {
2160
2158
  error_code: z.ZodLiteral<"salto_ks_subscription_limit_exceeded">;
2161
2159
  is_connected_account_error: z.ZodLiteral<true>;
2162
2160
  is_device_error: z.ZodLiteral<false>;
2163
- }>, "strip", z.ZodTypeAny, {
2161
+ }, "strip", z.ZodTypeAny, {
2164
2162
  message: string;
2165
2163
  created_at: string;
2166
2164
  error_code: "salto_ks_subscription_limit_exceeded";
@@ -2172,13 +2170,13 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
2172
2170
  error_code: "salto_ks_subscription_limit_exceeded";
2173
2171
  is_connected_account_error: true;
2174
2172
  is_device_error: false;
2175
- }>, z.ZodObject<z.objectUtil.extendShape<{
2173
+ }>, z.ZodObject<{
2176
2174
  message: z.ZodString;
2177
2175
  is_device_error: z.ZodLiteral<true>;
2178
2176
  created_at: z.ZodString;
2179
- }, {
2177
+ } & {
2180
2178
  error_code: z.ZodLiteral<"device_offline">;
2181
- }>, "strip", z.ZodTypeAny, {
2179
+ }, "strip", z.ZodTypeAny, {
2182
2180
  message: string;
2183
2181
  created_at: string;
2184
2182
  error_code: "device_offline";
@@ -2188,13 +2186,13 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
2188
2186
  created_at: string;
2189
2187
  error_code: "device_offline";
2190
2188
  is_device_error: true;
2191
- }>, z.ZodObject<z.objectUtil.extendShape<{
2189
+ }>, z.ZodObject<{
2192
2190
  message: z.ZodString;
2193
2191
  is_device_error: z.ZodLiteral<true>;
2194
2192
  created_at: z.ZodString;
2195
- }, {
2193
+ } & {
2196
2194
  error_code: z.ZodLiteral<"device_removed">;
2197
- }>, "strip", z.ZodTypeAny, {
2195
+ }, "strip", z.ZodTypeAny, {
2198
2196
  message: string;
2199
2197
  created_at: string;
2200
2198
  error_code: "device_removed";
@@ -2204,13 +2202,13 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
2204
2202
  created_at: string;
2205
2203
  error_code: "device_removed";
2206
2204
  is_device_error: true;
2207
- }>, z.ZodObject<z.objectUtil.extendShape<{
2205
+ }>, z.ZodObject<{
2208
2206
  message: z.ZodString;
2209
2207
  is_device_error: z.ZodLiteral<true>;
2210
2208
  created_at: z.ZodString;
2211
- }, {
2209
+ } & {
2212
2210
  error_code: z.ZodLiteral<"hub_disconnected">;
2213
- }>, "strip", z.ZodTypeAny, {
2211
+ }, "strip", z.ZodTypeAny, {
2214
2212
  message: string;
2215
2213
  created_at: string;
2216
2214
  error_code: "hub_disconnected";
@@ -2220,13 +2218,13 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
2220
2218
  created_at: string;
2221
2219
  error_code: "hub_disconnected";
2222
2220
  is_device_error: true;
2223
- }>, z.ZodObject<z.objectUtil.extendShape<{
2221
+ }>, z.ZodObject<{
2224
2222
  message: z.ZodString;
2225
2223
  is_device_error: z.ZodLiteral<true>;
2226
2224
  created_at: z.ZodString;
2227
- }, {
2225
+ } & {
2228
2226
  error_code: z.ZodLiteral<"device_disconnected">;
2229
- }>, "strip", z.ZodTypeAny, {
2227
+ }, "strip", z.ZodTypeAny, {
2230
2228
  message: string;
2231
2229
  created_at: string;
2232
2230
  error_code: "device_disconnected";
@@ -2236,13 +2234,13 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
2236
2234
  created_at: string;
2237
2235
  error_code: "device_disconnected";
2238
2236
  is_device_error: true;
2239
- }>, z.ZodObject<z.objectUtil.extendShape<{
2237
+ }>, z.ZodObject<{
2240
2238
  message: z.ZodString;
2241
2239
  is_device_error: z.ZodLiteral<true>;
2242
2240
  created_at: z.ZodString;
2243
- }, {
2241
+ } & {
2244
2242
  error_code: z.ZodLiteral<"empty_backup_access_code_pool">;
2245
- }>, "strip", z.ZodTypeAny, {
2243
+ }, "strip", z.ZodTypeAny, {
2246
2244
  message: string;
2247
2245
  created_at: string;
2248
2246
  error_code: "empty_backup_access_code_pool";
@@ -2252,13 +2250,13 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
2252
2250
  created_at: string;
2253
2251
  error_code: "empty_backup_access_code_pool";
2254
2252
  is_device_error: true;
2255
- }>, z.ZodObject<z.objectUtil.extendShape<{
2253
+ }>, z.ZodObject<{
2256
2254
  message: z.ZodString;
2257
2255
  is_device_error: z.ZodLiteral<true>;
2258
2256
  created_at: z.ZodString;
2259
- }, {
2257
+ } & {
2260
2258
  error_code: z.ZodLiteral<"august_lock_not_authorized">;
2261
- }>, "strip", z.ZodTypeAny, {
2259
+ }, "strip", z.ZodTypeAny, {
2262
2260
  message: string;
2263
2261
  created_at: string;
2264
2262
  error_code: "august_lock_not_authorized";
@@ -2268,13 +2266,13 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
2268
2266
  created_at: string;
2269
2267
  error_code: "august_lock_not_authorized";
2270
2268
  is_device_error: true;
2271
- }>, z.ZodObject<z.objectUtil.extendShape<{
2269
+ }>, z.ZodObject<{
2272
2270
  message: z.ZodString;
2273
2271
  is_device_error: z.ZodLiteral<true>;
2274
2272
  created_at: z.ZodString;
2275
- }, {
2273
+ } & {
2276
2274
  error_code: z.ZodLiteral<"august_lock_missing_bridge">;
2277
- }>, "strip", z.ZodTypeAny, {
2275
+ }, "strip", z.ZodTypeAny, {
2278
2276
  message: string;
2279
2277
  created_at: string;
2280
2278
  error_code: "august_lock_missing_bridge";
@@ -2284,13 +2282,13 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
2284
2282
  created_at: string;
2285
2283
  error_code: "august_lock_missing_bridge";
2286
2284
  is_device_error: true;
2287
- }>, z.ZodObject<z.objectUtil.extendShape<{
2285
+ }>, z.ZodObject<{
2288
2286
  message: z.ZodString;
2289
2287
  is_device_error: z.ZodLiteral<true>;
2290
2288
  created_at: z.ZodString;
2291
- }, {
2289
+ } & {
2292
2290
  error_code: z.ZodLiteral<"ttlock_lock_not_paired_to_gateway">;
2293
- }>, "strip", z.ZodTypeAny, {
2291
+ }, "strip", z.ZodTypeAny, {
2294
2292
  message: string;
2295
2293
  created_at: string;
2296
2294
  error_code: "ttlock_lock_not_paired_to_gateway";
@@ -2300,13 +2298,13 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
2300
2298
  created_at: string;
2301
2299
  error_code: "ttlock_lock_not_paired_to_gateway";
2302
2300
  is_device_error: true;
2303
- }>, z.ZodObject<z.objectUtil.extendShape<{
2301
+ }>, z.ZodObject<{
2304
2302
  message: z.ZodString;
2305
2303
  is_device_error: z.ZodLiteral<true>;
2306
2304
  created_at: z.ZodString;
2307
- }, {
2305
+ } & {
2308
2306
  error_code: z.ZodLiteral<"missing_device_credentials">;
2309
- }>, "strip", z.ZodTypeAny, {
2307
+ }, "strip", z.ZodTypeAny, {
2310
2308
  message: string;
2311
2309
  created_at: string;
2312
2310
  error_code: "missing_device_credentials";
@@ -2316,13 +2314,13 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
2316
2314
  created_at: string;
2317
2315
  error_code: "missing_device_credentials";
2318
2316
  is_device_error: true;
2319
- }>, z.ZodObject<z.objectUtil.extendShape<{
2317
+ }>, z.ZodObject<{
2320
2318
  message: z.ZodString;
2321
2319
  is_device_error: z.ZodLiteral<true>;
2322
2320
  created_at: z.ZodString;
2323
- }, {
2321
+ } & {
2324
2322
  error_code: z.ZodLiteral<"auxiliary_heat_running">;
2325
- }>, "strip", z.ZodTypeAny, {
2323
+ }, "strip", z.ZodTypeAny, {
2326
2324
  message: string;
2327
2325
  created_at: string;
2328
2326
  error_code: "auxiliary_heat_running";
@@ -2332,13 +2330,13 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
2332
2330
  created_at: string;
2333
2331
  error_code: "auxiliary_heat_running";
2334
2332
  is_device_error: true;
2335
- }>, z.ZodObject<z.objectUtil.extendShape<{
2333
+ }>, z.ZodObject<{
2336
2334
  message: z.ZodString;
2337
2335
  is_device_error: z.ZodLiteral<true>;
2338
2336
  created_at: z.ZodString;
2339
- }, {
2337
+ } & {
2340
2338
  error_code: z.ZodLiteral<"subscription_required">;
2341
- }>, "strip", z.ZodTypeAny, {
2339
+ }, "strip", z.ZodTypeAny, {
2342
2340
  message: string;
2343
2341
  created_at: string;
2344
2342
  error_code: "subscription_required";
@@ -2348,13 +2346,13 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
2348
2346
  created_at: string;
2349
2347
  error_code: "subscription_required";
2350
2348
  is_device_error: true;
2351
- }>, z.ZodObject<z.objectUtil.extendShape<{
2349
+ }>, z.ZodObject<{
2352
2350
  message: z.ZodString;
2353
2351
  is_device_error: z.ZodLiteral<true>;
2354
2352
  created_at: z.ZodString;
2355
- }, {
2353
+ } & {
2356
2354
  error_code: z.ZodLiteral<"lockly_missing_wifi_bridge">;
2357
- }>, "strip", z.ZodTypeAny, {
2355
+ }, "strip", z.ZodTypeAny, {
2358
2356
  message: string;
2359
2357
  created_at: string;
2360
2358
  error_code: "lockly_missing_wifi_bridge";
@@ -2364,14 +2362,14 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
2364
2362
  created_at: string;
2365
2363
  error_code: "lockly_missing_wifi_bridge";
2366
2364
  is_device_error: true;
2367
- }>, ...(z.ZodObject<z.objectUtil.extendShape<{
2365
+ }>, ...(z.ZodObject<{
2368
2366
  created_at: z.ZodString;
2369
2367
  message: z.ZodString;
2370
2368
  is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
2371
2369
  is_bridge_error: z.ZodOptional<z.ZodBoolean>;
2372
- }, {
2370
+ } & {
2373
2371
  error_code: z.ZodLiteral<"account_disconnected">;
2374
- }>, "strip", z.ZodTypeAny, {
2372
+ }, "strip", z.ZodTypeAny, {
2375
2373
  message: string;
2376
2374
  created_at: string;
2377
2375
  error_code: "account_disconnected";
@@ -2383,14 +2381,14 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
2383
2381
  error_code: "account_disconnected";
2384
2382
  is_connected_account_error?: boolean | undefined;
2385
2383
  is_bridge_error?: boolean | undefined;
2386
- }> | z.ZodObject<z.objectUtil.extendShape<{
2384
+ }> | z.ZodObject<{
2387
2385
  created_at: z.ZodString;
2388
2386
  message: z.ZodString;
2389
2387
  is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
2390
2388
  is_bridge_error: z.ZodOptional<z.ZodBoolean>;
2391
- }, {
2389
+ } & {
2392
2390
  error_code: z.ZodLiteral<"invalid_credentials">;
2393
- }>, "strip", z.ZodTypeAny, {
2391
+ }, "strip", z.ZodTypeAny, {
2394
2392
  message: string;
2395
2393
  created_at: string;
2396
2394
  error_code: "invalid_credentials";
@@ -2402,14 +2400,14 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
2402
2400
  error_code: "invalid_credentials";
2403
2401
  is_connected_account_error?: boolean | undefined;
2404
2402
  is_bridge_error?: boolean | undefined;
2405
- }> | z.ZodObject<z.objectUtil.extendShape<{
2403
+ }> | z.ZodObject<{
2406
2404
  created_at: z.ZodString;
2407
2405
  message: z.ZodString;
2408
2406
  is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
2409
2407
  is_bridge_error: z.ZodOptional<z.ZodBoolean>;
2410
- }, {
2408
+ } & {
2411
2409
  error_code: z.ZodLiteral<"bridge_disconnected">;
2412
- }>, "strip", z.ZodTypeAny, {
2410
+ }, "strip", z.ZodTypeAny, {
2413
2411
  message: string;
2414
2412
  created_at: string;
2415
2413
  error_code: "bridge_disconnected";
@@ -2421,12 +2419,12 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
2421
2419
  error_code: "bridge_disconnected";
2422
2420
  is_connected_account_error?: boolean | undefined;
2423
2421
  is_bridge_error?: boolean | undefined;
2424
- }> | z.ZodObject<z.objectUtil.extendShape<{
2422
+ }> | z.ZodObject<{
2425
2423
  created_at: z.ZodString;
2426
2424
  message: z.ZodString;
2427
2425
  is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
2428
2426
  is_bridge_error: z.ZodOptional<z.ZodBoolean>;
2429
- }, {
2427
+ } & {
2430
2428
  error_code: z.ZodLiteral<"salto_ks_subscription_limit_exceeded">;
2431
2429
  salto_ks_metadata: z.ZodObject<{
2432
2430
  sites: z.ZodArray<z.ZodObject<{
@@ -2460,7 +2458,7 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
2460
2458
  site_user_subscription_limit: number;
2461
2459
  }[];
2462
2460
  }>;
2463
- }>, "strip", z.ZodTypeAny, {
2461
+ }, "strip", z.ZodTypeAny, {
2464
2462
  message: string;
2465
2463
  created_at: string;
2466
2464
  error_code: "salto_ks_subscription_limit_exceeded";
@@ -2489,12 +2487,12 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
2489
2487
  is_connected_account_error?: boolean | undefined;
2490
2488
  is_bridge_error?: boolean | undefined;
2491
2489
  }>)[]]>, "many">;
2492
- warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<z.objectUtil.extendShape<{
2490
+ warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<{
2493
2491
  message: z.ZodString;
2494
2492
  created_at: z.ZodString;
2495
- }, {
2493
+ } & {
2496
2494
  warning_code: z.ZodLiteral<"partial_backup_access_code_pool">;
2497
- }>, "strip", z.ZodTypeAny, {
2495
+ }, "strip", z.ZodTypeAny, {
2498
2496
  message: string;
2499
2497
  created_at: string;
2500
2498
  warning_code: "partial_backup_access_code_pool";
@@ -2502,12 +2500,12 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
2502
2500
  message: string;
2503
2501
  created_at: string;
2504
2502
  warning_code: "partial_backup_access_code_pool";
2505
- }>, z.ZodObject<z.objectUtil.extendShape<{
2503
+ }>, z.ZodObject<{
2506
2504
  message: z.ZodString;
2507
2505
  created_at: z.ZodString;
2508
- }, {
2506
+ } & {
2509
2507
  warning_code: z.ZodLiteral<"many_active_backup_codes">;
2510
- }>, "strip", z.ZodTypeAny, {
2508
+ }, "strip", z.ZodTypeAny, {
2511
2509
  message: string;
2512
2510
  created_at: string;
2513
2511
  warning_code: "many_active_backup_codes";
@@ -2515,12 +2513,12 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
2515
2513
  message: string;
2516
2514
  created_at: string;
2517
2515
  warning_code: "many_active_backup_codes";
2518
- }>, z.ZodObject<z.objectUtil.extendShape<{
2516
+ }>, z.ZodObject<{
2519
2517
  message: z.ZodString;
2520
2518
  created_at: z.ZodString;
2521
- }, {
2519
+ } & {
2522
2520
  warning_code: z.ZodLiteral<"wyze_device_missing_gateway">;
2523
- }>, "strip", z.ZodTypeAny, {
2521
+ }, "strip", z.ZodTypeAny, {
2524
2522
  message: string;
2525
2523
  created_at: string;
2526
2524
  warning_code: "wyze_device_missing_gateway";
@@ -2528,12 +2526,12 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
2528
2526
  message: string;
2529
2527
  created_at: string;
2530
2528
  warning_code: "wyze_device_missing_gateway";
2531
- }>, z.ZodObject<z.objectUtil.extendShape<{
2529
+ }>, z.ZodObject<{
2532
2530
  message: z.ZodString;
2533
2531
  created_at: z.ZodString;
2534
- }, {
2532
+ } & {
2535
2533
  warning_code: z.ZodLiteral<"functional_offline_device">;
2536
- }>, "strip", z.ZodTypeAny, {
2534
+ }, "strip", z.ZodTypeAny, {
2537
2535
  message: string;
2538
2536
  created_at: string;
2539
2537
  warning_code: "functional_offline_device";
@@ -2541,12 +2539,12 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
2541
2539
  message: string;
2542
2540
  created_at: string;
2543
2541
  warning_code: "functional_offline_device";
2544
- }>, z.ZodObject<z.objectUtil.extendShape<{
2542
+ }>, z.ZodObject<{
2545
2543
  message: z.ZodString;
2546
2544
  created_at: z.ZodString;
2547
- }, {
2545
+ } & {
2548
2546
  warning_code: z.ZodLiteral<"third_party_integration_detected">;
2549
- }>, "strip", z.ZodTypeAny, {
2547
+ }, "strip", z.ZodTypeAny, {
2550
2548
  message: string;
2551
2549
  created_at: string;
2552
2550
  warning_code: "third_party_integration_detected";
@@ -2554,12 +2552,12 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
2554
2552
  message: string;
2555
2553
  created_at: string;
2556
2554
  warning_code: "third_party_integration_detected";
2557
- }>, z.ZodObject<z.objectUtil.extendShape<{
2555
+ }>, z.ZodObject<{
2558
2556
  message: z.ZodString;
2559
2557
  created_at: z.ZodString;
2560
- }, {
2558
+ } & {
2561
2559
  warning_code: z.ZodLiteral<"nest_thermostat_in_manual_eco_mode">;
2562
- }>, "strip", z.ZodTypeAny, {
2560
+ }, "strip", z.ZodTypeAny, {
2563
2561
  message: string;
2564
2562
  created_at: string;
2565
2563
  warning_code: "nest_thermostat_in_manual_eco_mode";
@@ -2567,12 +2565,12 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
2567
2565
  message: string;
2568
2566
  created_at: string;
2569
2567
  warning_code: "nest_thermostat_in_manual_eco_mode";
2570
- }>, z.ZodObject<z.objectUtil.extendShape<{
2568
+ }>, z.ZodObject<{
2571
2569
  message: z.ZodString;
2572
2570
  created_at: z.ZodString;
2573
- }, {
2571
+ } & {
2574
2572
  warning_code: z.ZodLiteral<"ttlock_lock_gateway_unlocking_not_enabled">;
2575
- }>, "strip", z.ZodTypeAny, {
2573
+ }, "strip", z.ZodTypeAny, {
2576
2574
  message: string;
2577
2575
  created_at: string;
2578
2576
  warning_code: "ttlock_lock_gateway_unlocking_not_enabled";
@@ -2580,12 +2578,12 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
2580
2578
  message: string;
2581
2579
  created_at: string;
2582
2580
  warning_code: "ttlock_lock_gateway_unlocking_not_enabled";
2583
- }>, z.ZodObject<z.objectUtil.extendShape<{
2581
+ }>, z.ZodObject<{
2584
2582
  message: z.ZodString;
2585
2583
  created_at: z.ZodString;
2586
- }, {
2584
+ } & {
2587
2585
  warning_code: z.ZodLiteral<"ttlock_weak_gateway_signal">;
2588
- }>, "strip", z.ZodTypeAny, {
2586
+ }, "strip", z.ZodTypeAny, {
2589
2587
  message: string;
2590
2588
  created_at: string;
2591
2589
  warning_code: "ttlock_weak_gateway_signal";
@@ -2593,12 +2591,12 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
2593
2591
  message: string;
2594
2592
  created_at: string;
2595
2593
  warning_code: "ttlock_weak_gateway_signal";
2596
- }>, z.ZodObject<z.objectUtil.extendShape<{
2594
+ }>, z.ZodObject<{
2597
2595
  message: z.ZodString;
2598
2596
  created_at: z.ZodString;
2599
- }, {
2597
+ } & {
2600
2598
  warning_code: z.ZodLiteral<"power_saving_mode">;
2601
- }>, "strip", z.ZodTypeAny, {
2599
+ }, "strip", z.ZodTypeAny, {
2602
2600
  message: string;
2603
2601
  created_at: string;
2604
2602
  warning_code: "power_saving_mode";
@@ -2606,12 +2604,12 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
2606
2604
  message: string;
2607
2605
  created_at: string;
2608
2606
  warning_code: "power_saving_mode";
2609
- }>, z.ZodObject<z.objectUtil.extendShape<{
2607
+ }>, z.ZodObject<{
2610
2608
  message: z.ZodString;
2611
2609
  created_at: z.ZodString;
2612
- }, {
2610
+ } & {
2613
2611
  warning_code: z.ZodLiteral<"temperature_threshold_exceeded">;
2614
- }>, "strip", z.ZodTypeAny, {
2612
+ }, "strip", z.ZodTypeAny, {
2615
2613
  message: string;
2616
2614
  created_at: string;
2617
2615
  warning_code: "temperature_threshold_exceeded";
@@ -2619,12 +2617,12 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
2619
2617
  message: string;
2620
2618
  created_at: string;
2621
2619
  warning_code: "temperature_threshold_exceeded";
2622
- }>, z.ZodObject<z.objectUtil.extendShape<{
2620
+ }>, z.ZodObject<{
2623
2621
  message: z.ZodString;
2624
2622
  created_at: z.ZodString;
2625
- }, {
2623
+ } & {
2626
2624
  warning_code: z.ZodLiteral<"device_communication_degraded">;
2627
- }>, "strip", z.ZodTypeAny, {
2625
+ }, "strip", z.ZodTypeAny, {
2628
2626
  message: string;
2629
2627
  created_at: string;
2630
2628
  warning_code: "device_communication_degraded";
@@ -2632,12 +2630,12 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
2632
2630
  message: string;
2633
2631
  created_at: string;
2634
2632
  warning_code: "device_communication_degraded";
2635
- }>, z.ZodObject<z.objectUtil.extendShape<{
2633
+ }>, z.ZodObject<{
2636
2634
  message: z.ZodString;
2637
2635
  created_at: z.ZodString;
2638
- }, {
2636
+ } & {
2639
2637
  warning_code: z.ZodLiteral<"scheduled_maintenance_window">;
2640
- }>, "strip", z.ZodTypeAny, {
2638
+ }, "strip", z.ZodTypeAny, {
2641
2639
  message: string;
2642
2640
  created_at: string;
2643
2641
  warning_code: "scheduled_maintenance_window";
@@ -2645,12 +2643,12 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
2645
2643
  message: string;
2646
2644
  created_at: string;
2647
2645
  warning_code: "scheduled_maintenance_window";
2648
- }>, z.ZodObject<z.objectUtil.extendShape<{
2646
+ }>, z.ZodObject<{
2649
2647
  message: z.ZodString;
2650
2648
  created_at: z.ZodString;
2651
- }, {
2649
+ } & {
2652
2650
  warning_code: z.ZodLiteral<"device_has_flaky_connection">;
2653
- }>, "strip", z.ZodTypeAny, {
2651
+ }, "strip", z.ZodTypeAny, {
2654
2652
  message: string;
2655
2653
  created_at: string;
2656
2654
  warning_code: "device_has_flaky_connection";
@@ -2658,12 +2656,12 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
2658
2656
  message: string;
2659
2657
  created_at: string;
2660
2658
  warning_code: "device_has_flaky_connection";
2661
- }>, z.ZodObject<z.objectUtil.extendShape<{
2659
+ }>, z.ZodObject<{
2662
2660
  message: z.ZodString;
2663
2661
  created_at: z.ZodString;
2664
- }, {
2662
+ } & {
2665
2663
  warning_code: z.ZodLiteral<"salto_ks_office_mode">;
2666
- }>, "strip", z.ZodTypeAny, {
2664
+ }, "strip", z.ZodTypeAny, {
2667
2665
  message: string;
2668
2666
  created_at: string;
2669
2667
  warning_code: "salto_ks_office_mode";
@@ -2671,12 +2669,12 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
2671
2669
  message: string;
2672
2670
  created_at: string;
2673
2671
  warning_code: "salto_ks_office_mode";
2674
- }>, z.ZodObject<z.objectUtil.extendShape<{
2672
+ }>, z.ZodObject<{
2675
2673
  message: z.ZodString;
2676
2674
  created_at: z.ZodString;
2677
- }, {
2675
+ } & {
2678
2676
  warning_code: z.ZodLiteral<"salto_ks_privacy_mode">;
2679
- }>, "strip", z.ZodTypeAny, {
2677
+ }, "strip", z.ZodTypeAny, {
2680
2678
  message: string;
2681
2679
  created_at: string;
2682
2680
  warning_code: "salto_ks_privacy_mode";
@@ -2684,12 +2682,12 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
2684
2682
  message: string;
2685
2683
  created_at: string;
2686
2684
  warning_code: "salto_ks_privacy_mode";
2687
- }>, z.ZodObject<z.objectUtil.extendShape<{
2685
+ }>, z.ZodObject<{
2688
2686
  message: z.ZodString;
2689
2687
  created_at: z.ZodString;
2690
- }, {
2688
+ } & {
2691
2689
  warning_code: z.ZodLiteral<"salto_ks_subscription_limit_almost_reached">;
2692
- }>, "strip", z.ZodTypeAny, {
2690
+ }, "strip", z.ZodTypeAny, {
2693
2691
  message: string;
2694
2692
  created_at: string;
2695
2693
  warning_code: "salto_ks_subscription_limit_almost_reached";
@@ -2697,12 +2695,12 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
2697
2695
  message: string;
2698
2696
  created_at: string;
2699
2697
  warning_code: "salto_ks_subscription_limit_almost_reached";
2700
- }>, z.ZodObject<z.objectUtil.extendShape<{
2698
+ }>, z.ZodObject<{
2701
2699
  message: z.ZodString;
2702
2700
  created_at: z.ZodString;
2703
- }, {
2701
+ } & {
2704
2702
  warning_code: z.ZodLiteral<"unknown_issue_with_phone">;
2705
- }>, "strip", z.ZodTypeAny, {
2703
+ }, "strip", z.ZodTypeAny, {
2706
2704
  message: string;
2707
2705
  created_at: string;
2708
2706
  warning_code: "unknown_issue_with_phone";
@@ -2710,12 +2708,12 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
2710
2708
  message: string;
2711
2709
  created_at: string;
2712
2710
  warning_code: "unknown_issue_with_phone";
2713
- }>, z.ZodObject<z.objectUtil.extendShape<{
2711
+ }>, z.ZodObject<{
2714
2712
  message: z.ZodString;
2715
2713
  created_at: z.ZodString;
2716
- }, {
2714
+ } & {
2717
2715
  warning_code: z.ZodLiteral<"lockly_time_zone_not_configured">;
2718
- }>, "strip", z.ZodTypeAny, {
2716
+ }, "strip", z.ZodTypeAny, {
2719
2717
  message: string;
2720
2718
  created_at: string;
2721
2719
  warning_code: "lockly_time_zone_not_configured";
@@ -2727,7 +2725,7 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
2727
2725
  created_at: z.ZodString;
2728
2726
  is_managed: z.ZodLiteral<true>;
2729
2727
  custom_metadata: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>;
2730
- }, z.objectUtil.extendShape<{
2728
+ } & {
2731
2729
  can_remotely_unlock: z.ZodOptional<z.ZodBoolean>;
2732
2730
  can_remotely_lock: z.ZodOptional<z.ZodBoolean>;
2733
2731
  can_program_offline_access_codes: z.ZodOptional<z.ZodBoolean>;
@@ -2736,12 +2734,12 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
2736
2734
  can_hvac_cool: z.ZodOptional<z.ZodBoolean>;
2737
2735
  can_hvac_heat_cool: z.ZodOptional<z.ZodBoolean>;
2738
2736
  can_turn_off_hvac: z.ZodOptional<z.ZodBoolean>;
2739
- }, {
2737
+ } & {
2740
2738
  can_simulate_removal: z.ZodOptional<z.ZodBoolean>;
2741
2739
  can_simulate_connection: z.ZodOptional<z.ZodBoolean>;
2742
2740
  can_simulate_disconnection: z.ZodOptional<z.ZodBoolean>;
2743
2741
  can_unlock_with_code: z.ZodOptional<z.ZodBoolean>;
2744
- }>>, "location" | "device_id" | "workspace_id" | "created_at" | "errors" | "connected_account_id" | "warnings" | "device_type" | "capabilities_supported">, {
2742
+ }, "location" | "device_id" | "workspace_id" | "created_at" | "errors" | "connected_account_id" | "warnings" | "device_type" | "capabilities_supported"> & {
2745
2743
  is_managed: z.ZodLiteral<false>;
2746
2744
  properties: z.ZodObject<Pick<{
2747
2745
  online: z.ZodBoolean;
@@ -2877,7 +2875,7 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
2877
2875
  online_access_codes_enabled?: boolean | undefined;
2878
2876
  offline_access_codes_enabled?: boolean | undefined;
2879
2877
  }>;
2880
- }>, z.objectUtil.extendShape<{
2878
+ } & {
2881
2879
  can_remotely_unlock: z.ZodOptional<z.ZodBoolean>;
2882
2880
  can_remotely_lock: z.ZodOptional<z.ZodBoolean>;
2883
2881
  can_program_offline_access_codes: z.ZodOptional<z.ZodBoolean>;
@@ -2886,12 +2884,12 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
2886
2884
  can_hvac_cool: z.ZodOptional<z.ZodBoolean>;
2887
2885
  can_hvac_heat_cool: z.ZodOptional<z.ZodBoolean>;
2888
2886
  can_turn_off_hvac: z.ZodOptional<z.ZodBoolean>;
2889
- }, {
2887
+ } & {
2890
2888
  can_simulate_removal: z.ZodOptional<z.ZodBoolean>;
2891
2889
  can_simulate_connection: z.ZodOptional<z.ZodBoolean>;
2892
2890
  can_simulate_disconnection: z.ZodOptional<z.ZodBoolean>;
2893
2891
  can_unlock_with_code: z.ZodOptional<z.ZodBoolean>;
2894
- }>>, "strip", z.ZodTypeAny, {
2892
+ }, "strip", z.ZodTypeAny, {
2895
2893
  location: {
2896
2894
  location_name?: string | undefined;
2897
2895
  timezone?: string | undefined;