@seamapi/types 1.960.0 → 1.961.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.960.0",
3
+ "version": "1.961.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -211,19 +211,6 @@ const august_lock_not_authorized = common_device_error.extend({
211
211
  Indicates that the user is not authorized to use the August lock.
212
212
  `)
213
213
 
214
- const august_lock_missing_bridge = common_device_error.extend({
215
- error_code: z
216
- .literal('august_lock_missing_bridge')
217
- .describe(error_code_description),
218
- }).describe(`
219
- ---
220
- resource_type: device
221
- deprecated: Use \`hub_disconnected\` instead.
222
- variant_group_key: locks
223
- ---
224
- Indicates that the lock is not connected to a bridge.
225
- `)
226
-
227
214
  const salto_ks_subscription_limit_exceeded = common_device_error.extend({
228
215
  error_code: z
229
216
  .literal('salto_ks_subscription_limit_exceeded')
@@ -264,19 +251,6 @@ const dormakaba_sites_disconnected = common_device_error.extend({
264
251
  Indicates that one or more dormakaba sites associated with the connected account could not be connected. Contact dormakaba support.
265
252
  `)
266
253
 
267
- const ttlock_lock_not_paired_to_gateway = common_device_error.extend({
268
- error_code: z
269
- .literal('ttlock_lock_not_paired_to_gateway')
270
- .describe(error_code_description),
271
- }).describe(`
272
- ---
273
- resource_type: device
274
- deprecated: Use \`hub_disconnected\` instead.
275
- variant_group_key: locks
276
- ---
277
- Indicates that the lock is not paired with a gateway.
278
- `)
279
-
280
254
  const missing_device_credentials = common_device_error.extend({
281
255
  error_code: z
282
256
  .literal('missing_device_credentials')
@@ -311,19 +285,6 @@ const subscription_required = common_device_error.extend({
311
285
  Indicates that a subscription is required to connect.
312
286
  `)
313
287
 
314
- const lockly_missing_wifi_bridge = common_device_error.extend({
315
- error_code: z
316
- .literal('lockly_missing_wifi_bridge')
317
- .describe(error_code_description),
318
- }).describe(`
319
- ---
320
- resource_type: device
321
- deprecated: Use \`hub_disconnected\` instead.
322
- variant_group_key: locks
323
- ---
324
- Indicates that the Lockly lock is not connected to a Wi-Fi bridge.
325
- `)
326
-
327
288
  export const device_error = z
328
289
  .discriminatedUnion('error_code', [
329
290
  account_disconnected,
@@ -335,12 +296,9 @@ export const device_error = z
335
296
  device_disconnected,
336
297
  empty_backup_access_code_pool,
337
298
  august_lock_not_authorized,
338
- august_lock_missing_bridge,
339
- ttlock_lock_not_paired_to_gateway,
340
299
  missing_device_credentials,
341
300
  auxiliary_heat_running,
342
301
  subscription_required,
343
- lockly_missing_wifi_bridge,
344
302
  ])
345
303
  .describe('Error associated with the device.')
346
304
 
@@ -356,20 +314,15 @@ export const device_error_map = z.object({
356
314
  .optional()
357
315
  .nullable(),
358
316
  august_lock_not_authorized: august_lock_not_authorized.optional().nullable(),
359
- august_lock_missing_bridge: august_lock_missing_bridge.optional().nullable(),
360
317
  salto_ks_subscription_limit_exceeded: salto_ks_subscription_limit_exceeded
361
318
  .optional()
362
319
  .nullable(),
363
320
  dormakaba_sites_disconnected: dormakaba_sites_disconnected
364
321
  .optional()
365
322
  .nullable(),
366
- ttlock_lock_not_paired_to_gateway: ttlock_lock_not_paired_to_gateway
367
- .optional()
368
- .nullable(),
369
323
  missing_device_credentials: missing_device_credentials.optional().nullable(),
370
324
  auxiliary_heat_running: auxiliary_heat_running.optional().nullable(),
371
325
  subscription_required: subscription_required.optional().nullable(),
372
- lockly_missing_wifi_bridge: lockly_missing_wifi_bridge.optional().nullable(),
373
326
  })
374
327
 
375
328
  export type DeviceErrorMap = z.infer<typeof device_error_map>
@@ -467,18 +420,6 @@ const salto_ks_lock_access_code_support_removed = common_device_warning.extend({
467
420
  Indicates that a change in the reported device model has been detected for this Salto KS lock, which may occur after an IQ hub reset. Access code support may be affected. See https://help.getseam.com/articles/5098842588-salto-ks-lock-loses-access-code-support for troubleshooting steps.
468
421
  `)
469
422
 
470
- const wyze_device_missing_gateway = common_device_warning.extend({
471
- warning_code: z
472
- .literal('wyze_device_missing_gateway')
473
- .describe(warning_code_description),
474
- }).describe(`
475
- ---
476
- deprecated: Use \`hub_disconnected\` device error instead.
477
- variant_group_key: locks
478
- ---
479
- Indicates that the Wyze Lock is not connected to a gateway.
480
- `)
481
-
482
423
  const third_party_integration_detected = common_device_warning
483
424
  .extend({
484
425
  warning_code: z
@@ -709,7 +650,6 @@ const insufficient_permissions = common_device_warning.extend({
709
650
  const device_warning = z.discriminatedUnion('warning_code', [
710
651
  partial_backup_access_code_pool,
711
652
  many_active_backup_codes,
712
- wyze_device_missing_gateway,
713
653
  third_party_integration_detected,
714
654
  ttlock_lock_gateway_unlocking_not_enabled,
715
655
  ttlock_weak_gateway_signal,
@@ -752,9 +692,6 @@ export const device_warning_map = z.object({
752
692
  })
753
693
  .optional()
754
694
  .nullable(),
755
- wyze_device_missing_gateway: wyze_device_missing_gateway
756
- .optional()
757
- .nullable(),
758
695
  third_party_integration_detected: third_party_integration_detected
759
696
  .optional()
760
697
  .nullable(),