@seamapi/types 1.201.0 → 1.203.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/dist/connect.cjs +25 -3
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +66 -19
- package/lib/seam/connect/models/devices/capability-properties/access-code.d.ts +11 -11
- package/lib/seam/connect/models/devices/capability-properties/access-code.js +2 -1
- package/lib/seam/connect/models/devices/capability-properties/access-code.js.map +1 -1
- package/lib/seam/connect/models/devices/capability-properties/index.d.ts +5 -5
- package/lib/seam/connect/models/devices/device-provider.d.ts +1 -1
- package/lib/seam/connect/models/devices/device-provider.js +2 -0
- package/lib/seam/connect/models/devices/device-provider.js.map +1 -1
- package/lib/seam/connect/models/devices/device.d.ts +9 -9
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +18 -0
- package/lib/seam/connect/models/devices/unmanaged-device.js +1 -0
- package/lib/seam/connect/models/devices/unmanaged-device.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +15 -0
- package/lib/seam/connect/openapi.js +17 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +24 -10
- package/package.json +1 -1
- package/src/lib/seam/connect/models/devices/capability-properties/access-code.ts +2 -1
- package/src/lib/seam/connect/models/devices/device-provider.ts +2 -0
- package/src/lib/seam/connect/models/devices/unmanaged-device.ts +1 -0
- package/src/lib/seam/connect/openapi.ts +17 -0
- package/src/lib/seam/connect/route-types.ts +24 -0
package/dist/connect.cjs
CHANGED
|
@@ -101,7 +101,9 @@ var access_code_code_constraint = zod.z.object({
|
|
|
101
101
|
// Tedee
|
|
102
102
|
"at_least_three_unique_digits",
|
|
103
103
|
// Tedee
|
|
104
|
-
"cannot_contain_089"
|
|
104
|
+
"cannot_contain_089",
|
|
105
|
+
// TTLock
|
|
106
|
+
"cannot_contain_0789"
|
|
105
107
|
// TTLock (for some cylinder devices only)
|
|
106
108
|
])
|
|
107
109
|
});
|
|
@@ -901,7 +903,9 @@ var PROVIDER_CATEGORY_MAP = {
|
|
|
901
903
|
"ttlock",
|
|
902
904
|
"kwikset",
|
|
903
905
|
"igloohome",
|
|
904
|
-
"wyze"
|
|
906
|
+
"wyze",
|
|
907
|
+
"lockly",
|
|
908
|
+
"tedee"
|
|
905
909
|
],
|
|
906
910
|
thermostats: ["ecobee", "nest"],
|
|
907
911
|
noise_sensors: ["minut", "noiseaware"],
|
|
@@ -925,6 +929,7 @@ var unmanaged_device = device.pick({
|
|
|
925
929
|
device_id: true,
|
|
926
930
|
device_type: true,
|
|
927
931
|
connected_account_id: true,
|
|
932
|
+
location: true,
|
|
928
933
|
capabilities_supported: true,
|
|
929
934
|
workspace_id: true,
|
|
930
935
|
errors: true,
|
|
@@ -4888,7 +4893,8 @@ var openapi_default = {
|
|
|
4888
4893
|
"start_date_in_future",
|
|
4889
4894
|
"no_ascending_or_descending_sequence",
|
|
4890
4895
|
"at_least_three_unique_digits",
|
|
4891
|
-
"cannot_contain_089"
|
|
4896
|
+
"cannot_contain_089",
|
|
4897
|
+
"cannot_contain_0789"
|
|
4892
4898
|
],
|
|
4893
4899
|
type: "string"
|
|
4894
4900
|
}
|
|
@@ -6110,6 +6116,21 @@ var openapi_default = {
|
|
|
6110
6116
|
type: "array"
|
|
6111
6117
|
},
|
|
6112
6118
|
is_managed: { enum: [false], type: "boolean" },
|
|
6119
|
+
location: {
|
|
6120
|
+
description: "Location information for the device.",
|
|
6121
|
+
nullable: true,
|
|
6122
|
+
properties: {
|
|
6123
|
+
location_name: {
|
|
6124
|
+
description: "Name of the device location.",
|
|
6125
|
+
type: "string"
|
|
6126
|
+
},
|
|
6127
|
+
timezone: {
|
|
6128
|
+
description: "Time zone of the device location.",
|
|
6129
|
+
type: "string"
|
|
6130
|
+
}
|
|
6131
|
+
},
|
|
6132
|
+
type: "object"
|
|
6133
|
+
},
|
|
6113
6134
|
properties: {
|
|
6114
6135
|
properties: {
|
|
6115
6136
|
accessory_keypad: {
|
|
@@ -6252,6 +6273,7 @@ var openapi_default = {
|
|
|
6252
6273
|
"device_id",
|
|
6253
6274
|
"device_type",
|
|
6254
6275
|
"connected_account_id",
|
|
6276
|
+
"location",
|
|
6255
6277
|
"capabilities_supported",
|
|
6256
6278
|
"workspace_id",
|
|
6257
6279
|
"errors",
|