@seamapi/types
Advanced tools
Comparing version 0.21.0 to 0.22.0
@@ -28,2 +28,24 @@ import { z } from 'zod'; | ||
}>>; | ||
avigilon_alta_metadata: z.ZodOptional<z.ZodObject<{ | ||
entry_name: z.ZodString; | ||
org_name: z.ZodString; | ||
zone_id: z.ZodNumber; | ||
zone_name: z.ZodString; | ||
site_id: z.ZodNumber; | ||
site_name: z.ZodString; | ||
}, "strip", z.ZodTypeAny, { | ||
entry_name: string; | ||
org_name: string; | ||
zone_id: number; | ||
zone_name: string; | ||
site_id: number; | ||
site_name: string; | ||
}, { | ||
entry_name: string; | ||
org_name: string; | ||
zone_id: number; | ||
zone_name: string; | ||
site_id: number; | ||
site_name: string; | ||
}>>; | ||
schlage_metadata: z.ZodOptional<z.ZodObject<{ | ||
@@ -457,2 +479,10 @@ device_id: z.ZodString; | ||
} | undefined; | ||
avigilon_alta_metadata?: { | ||
entry_name: string; | ||
org_name: string; | ||
zone_id: number; | ||
zone_name: string; | ||
site_id: number; | ||
site_name: string; | ||
} | undefined; | ||
schlage_metadata?: { | ||
@@ -596,2 +626,10 @@ device_id: string; | ||
} | undefined; | ||
avigilon_alta_metadata?: { | ||
entry_name: string; | ||
org_name: string; | ||
zone_id: number; | ||
zone_name: string; | ||
site_id: number; | ||
site_name: string; | ||
} | undefined; | ||
schlage_metadata?: { | ||
@@ -598,0 +636,0 @@ device_id: string; |
@@ -13,2 +13,10 @@ import { z } from 'zod'; | ||
}), | ||
avigilon_alta_metadata: z.object({ | ||
entry_name: z.string(), | ||
org_name: z.string(), | ||
zone_id: z.number(), | ||
zone_name: z.string(), | ||
site_id: z.number(), | ||
site_name: z.string(), | ||
}), | ||
schlage_metadata: z.object({ | ||
@@ -15,0 +23,0 @@ device_id: z.string(), |
@@ -8,2 +8,3 @@ import { z } from 'zod'; | ||
readonly BUTTERFLYMX_PANEL: "butterflymx_panel"; | ||
readonly AVIGILON_ALTA_ENTRY: "avigilon_alta_entry"; | ||
readonly DOORKING_LOCK: "doorking_lock"; | ||
@@ -10,0 +11,0 @@ readonly GENIE_DOOR: "genie_door"; |
@@ -8,2 +8,3 @@ import { z } from 'zod'; | ||
BUTTERFLYMX_PANEL: 'butterflymx_panel', | ||
AVIGILON_ALTA_ENTRY: 'avigilon_alta_entry', | ||
DOORKING_LOCK: 'doorking_lock', | ||
@@ -10,0 +11,0 @@ GENIE_DOOR: 'genie_door', |
@@ -7,3 +7,3 @@ import { z } from 'zod'; | ||
device_id: z.ZodString; | ||
device_type: z.ZodUnion<[z.ZodEnum<["akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "seam_relay" | "smartthings_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "hubitat_lock"]>, z.ZodEnum<["noiseaware_activity_zone" | "minut_sensor"]>, z.ZodEnum<["ecobee_thermostat" | "nest_thermostat"]>]>; | ||
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" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "hubitat_lock"]>, z.ZodEnum<["noiseaware_activity_zone" | "minut_sensor"]>, z.ZodEnum<["ecobee_thermostat" | "nest_thermostat"]>]>; | ||
capabilities_supported: z.ZodArray<z.ZodEnum<["access_code", "lock", "noise_detection", "thermostat", "battery"]>, "many">; | ||
@@ -68,3 +68,3 @@ errors: z.ZodArray<z.ZodObject<{ | ||
device_id: string; | ||
device_type: "akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "seam_relay" | "smartthings_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "hubitat_lock" | "noiseaware_activity_zone" | "minut_sensor" | "ecobee_thermostat" | "nest_thermostat"; | ||
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" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "hubitat_lock" | "noiseaware_activity_zone" | "minut_sensor" | "ecobee_thermostat" | "nest_thermostat"; | ||
capabilities_supported: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery")[]; | ||
@@ -95,3 +95,3 @@ properties: { | ||
device_id: string; | ||
device_type: "akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "seam_relay" | "smartthings_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "hubitat_lock" | "noiseaware_activity_zone" | "minut_sensor" | "ecobee_thermostat" | "nest_thermostat"; | ||
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" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "hubitat_lock" | "noiseaware_activity_zone" | "minut_sensor" | "ecobee_thermostat" | "nest_thermostat"; | ||
capabilities_supported: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery")[]; | ||
@@ -98,0 +98,0 @@ properties: { |
{ | ||
"name": "@seamapi/types", | ||
"version": "0.21.0", | ||
"version": "0.22.0", | ||
"description": "TypeScript types for the Seam API.", | ||
@@ -5,0 +5,0 @@ "type": "module", |
@@ -15,2 +15,11 @@ import { z } from 'zod' | ||
avigilon_alta_metadata: z.object({ | ||
entry_name: z.string(), | ||
org_name: z.string(), | ||
zone_id: z.number(), | ||
zone_name: z.string(), | ||
site_id: z.number(), | ||
site_name: z.string(), | ||
}), | ||
schlage_metadata: z.object({ | ||
@@ -17,0 +26,0 @@ device_id: z.string(), |
@@ -9,2 +9,3 @@ import { z } from 'zod' | ||
BUTTERFLYMX_PANEL: 'butterflymx_panel', | ||
AVIGILON_ALTA_ENTRY: 'avigilon_alta_entry', | ||
DOORKING_LOCK: 'doorking_lock', | ||
@@ -11,0 +12,0 @@ GENIE_DOOR: 'genie_door', |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
430366
10777