From 6252880c0862f1df1f778101c655aee991a472c8 Mon Sep 17 00:00:00 2001 From: fern-api <115122769+fern-api[bot]@users.noreply.github.com> Date: Mon, 9 Oct 2023 05:09:42 +0000 Subject: [PATCH] Release v0.1.12 --- august_device_metadata.go | 13 +++++++++++++ device_properties.go | 9 ++++++--- nuki_device_metadata.go | 7 +++++++ schlage_device_metadata.go | 11 +++++++++++ 4 files changed, 37 insertions(+), 3 deletions(-) create mode 100644 august_device_metadata.go create mode 100644 nuki_device_metadata.go create mode 100644 schlage_device_metadata.go diff --git a/august_device_metadata.go b/august_device_metadata.go new file mode 100644 index 0000000..d7892f7 --- /dev/null +++ b/august_device_metadata.go @@ -0,0 +1,13 @@ +// This file was auto-generated by Fern from our API Definition. + +package api + +type AugustDeviceMetadata struct { + LockId string `json:"lock_id"` + LockName string `json:"lock_name"` + HouseName string `json:"house_name"` + HouseId *string `json:"house_id,omitempty"` + HasKeypad bool `json:"has_keypad"` + Model *string `json:"model,omitempty"` + KeypadBatteryLevel *string `json:"keypad_battery_level,omitempty"` +} diff --git a/device_properties.go b/device_properties.go index 423a2e2..dc029e1 100644 --- a/device_properties.go +++ b/device_properties.go @@ -3,7 +3,10 @@ package api type DeviceProperties struct { - Online bool `json:"online"` - Name string `json:"name"` - Model *DevicePropertiesModel `json:"model,omitempty"` + Online bool `json:"online"` + Name string `json:"name"` + Model *DevicePropertiesModel `json:"model,omitempty"` + AugustMetadata *AugustDeviceMetadata `json:"august_metadata,omitempty"` + SchlageMetadata *SchlageDeviceMetadata `json:"schlage_metadata,omitempty"` + SmartthingsMetadata any `json:"smartthings_metadata,omitempty"` } diff --git a/nuki_device_metadata.go b/nuki_device_metadata.go new file mode 100644 index 0000000..813ed57 --- /dev/null +++ b/nuki_device_metadata.go @@ -0,0 +1,7 @@ +// This file was auto-generated by Fern from our API Definition. + +package api + +type NukiDeviceMetadata struct { + KeypadBatteryCritical *bool `json:"keypad_battery_critical,omitempty"` +} diff --git a/schlage_device_metadata.go b/schlage_device_metadata.go new file mode 100644 index 0000000..c0ffae8 --- /dev/null +++ b/schlage_device_metadata.go @@ -0,0 +1,11 @@ +// This file was auto-generated by Fern from our API Definition. + +package api + +type SchlageDeviceMetadata struct { + DeviceId string `json:"device_id"` + DeviceName string `json:"device_name"` + AccessCodeLength int `json:"access_code_length"` + Model *string `json:"model,omitempty"` + LocationId *string `json:"location_id,omitempty"` +}