@seamapi/types 1.784.0 → 1.786.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 +28 -8
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +73 -3
- package/dist/index.cjs +28 -8
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +14 -0
- package/lib/seam/connect/models/devices/device-metadata.d.ts +5 -0
- package/lib/seam/connect/models/devices/device-metadata.js +4 -0
- package/lib/seam/connect/models/devices/device-metadata.js.map +1 -1
- package/lib/seam/connect/models/devices/device.d.ts +7 -0
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +5 -0
- package/lib/seam/connect/openapi.d.ts +8 -0
- package/lib/seam/connect/openapi.js +25 -8
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +39 -3
- package/package.json +1 -1
- package/src/lib/seam/connect/models/devices/device-metadata.ts +6 -0
- package/src/lib/seam/connect/openapi.ts +28 -8
- package/src/lib/seam/connect/route-types.ts +47 -3
package/dist/connect.cjs
CHANGED
|
@@ -1079,6 +1079,9 @@ var device_metadata = zod.z.object({
|
|
|
1079
1079
|
product_type: zod.z.string().describe(`Product type for a Sensi device.`),
|
|
1080
1080
|
dual_setpoints_not_supported: zod.z.boolean().optional().describe(
|
|
1081
1081
|
`Set to true when the device does not support the /dual-setpoints API endpoint.`
|
|
1082
|
+
),
|
|
1083
|
+
enforced_setpoint_range_celsius: zod.z.tuple([zod.z.number(), zod.z.number()]).optional().describe(
|
|
1084
|
+
`Enforced setpoint range in Celsius for a Sensi device, derived from an OutOfRange API error.`
|
|
1082
1085
|
)
|
|
1083
1086
|
}).describe(`Metadata for a Sensi device.`),
|
|
1084
1087
|
keynest_metadata: zod.z.object({
|
|
@@ -18337,6 +18340,9 @@ var openapi_default = {
|
|
|
18337
18340
|
description: "Set to true when the device does not support the /dual-setpoints API endpoint.",
|
|
18338
18341
|
type: "boolean"
|
|
18339
18342
|
},
|
|
18343
|
+
enforced_setpoint_range_celsius: {
|
|
18344
|
+
description: "Enforced setpoint range in Celsius for a Sensi device, derived from an OutOfRange API error."
|
|
18345
|
+
},
|
|
18340
18346
|
product_type: {
|
|
18341
18347
|
description: "Product type for a Sensi device.",
|
|
18342
18348
|
type: "string"
|
|
@@ -35746,7 +35752,7 @@ var openapi_default = {
|
|
|
35746
35752
|
},
|
|
35747
35753
|
"/access_codes/list": {
|
|
35748
35754
|
get: {
|
|
35749
|
-
description: "Returns a list of all [access codes](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes).\n\nSpecify `device_id`, `access_code_ids`, or `
|
|
35755
|
+
description: "Returns a list of all [access codes](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes).\n\nSpecify `device_id`, `access_code_ids`, `access_method_id`, or `access_grant_id`.",
|
|
35750
35756
|
operationId: "accessCodesListGet",
|
|
35751
35757
|
parameters: [
|
|
35752
35758
|
{
|
|
@@ -35761,7 +35767,7 @@ var openapi_default = {
|
|
|
35761
35767
|
in: "query",
|
|
35762
35768
|
name: "device_id",
|
|
35763
35769
|
schema: {
|
|
35764
|
-
description: "ID of the device for which you want to list access codes. Specify `device_id`, `access_code_ids`, or `
|
|
35770
|
+
description: "ID of the device for which you want to list access codes. Specify `device_id`, `access_code_ids`, `access_method_id`, or `access_grant_id`.",
|
|
35765
35771
|
format: "uuid",
|
|
35766
35772
|
type: "string"
|
|
35767
35773
|
}
|
|
@@ -35770,7 +35776,7 @@ var openapi_default = {
|
|
|
35770
35776
|
in: "query",
|
|
35771
35777
|
name: "access_code_ids",
|
|
35772
35778
|
schema: {
|
|
35773
|
-
description: "IDs of the access codes that you want to retrieve. Specify `device_id`, `access_code_ids`, or `
|
|
35779
|
+
description: "IDs of the access codes that you want to retrieve. Specify `device_id`, `access_code_ids`, `access_method_id`, or `access_grant_id`.",
|
|
35774
35780
|
items: { format: "uuid", type: "string" },
|
|
35775
35781
|
type: "array"
|
|
35776
35782
|
}
|
|
@@ -35779,7 +35785,16 @@ var openapi_default = {
|
|
|
35779
35785
|
in: "query",
|
|
35780
35786
|
name: "access_method_id",
|
|
35781
35787
|
schema: {
|
|
35782
|
-
description: "ID of the access method for which you want to list access codes. Specify `device_id`, `access_code_ids`, or `
|
|
35788
|
+
description: "ID of the access method for which you want to list access codes. Specify `device_id`, `access_code_ids`, `access_method_id`, or `access_grant_id`.",
|
|
35789
|
+
format: "uuid",
|
|
35790
|
+
type: "string"
|
|
35791
|
+
}
|
|
35792
|
+
},
|
|
35793
|
+
{
|
|
35794
|
+
in: "query",
|
|
35795
|
+
name: "access_grant_id",
|
|
35796
|
+
schema: {
|
|
35797
|
+
description: "ID of the access grant for which you want to list access codes. Specify `device_id`, `access_code_ids`, `access_method_id`, or `access_grant_id`.",
|
|
35783
35798
|
format: "uuid",
|
|
35784
35799
|
type: "string"
|
|
35785
35800
|
}
|
|
@@ -35860,7 +35875,7 @@ var openapi_default = {
|
|
|
35860
35875
|
"x-title": "List Access Codes"
|
|
35861
35876
|
},
|
|
35862
35877
|
post: {
|
|
35863
|
-
description: "Returns a list of all [access codes](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes).\n\nSpecify `device_id`, `access_code_ids`, or `
|
|
35878
|
+
description: "Returns a list of all [access codes](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes).\n\nSpecify `device_id`, `access_code_ids`, `access_method_id`, or `access_grant_id`.",
|
|
35864
35879
|
operationId: "accessCodesListPost",
|
|
35865
35880
|
requestBody: {
|
|
35866
35881
|
content: {
|
|
@@ -35868,12 +35883,17 @@ var openapi_default = {
|
|
|
35868
35883
|
schema: {
|
|
35869
35884
|
properties: {
|
|
35870
35885
|
access_code_ids: {
|
|
35871
|
-
description: "IDs of the access codes that you want to retrieve. Specify `device_id`, `access_code_ids`, or `
|
|
35886
|
+
description: "IDs of the access codes that you want to retrieve. Specify `device_id`, `access_code_ids`, `access_method_id`, or `access_grant_id`.",
|
|
35872
35887
|
items: { format: "uuid", type: "string" },
|
|
35873
35888
|
type: "array"
|
|
35874
35889
|
},
|
|
35890
|
+
access_grant_id: {
|
|
35891
|
+
description: "ID of the access grant for which you want to list access codes. Specify `device_id`, `access_code_ids`, `access_method_id`, or `access_grant_id`.",
|
|
35892
|
+
format: "uuid",
|
|
35893
|
+
type: "string"
|
|
35894
|
+
},
|
|
35875
35895
|
access_method_id: {
|
|
35876
|
-
description: "ID of the access method for which you want to list access codes. Specify `device_id`, `access_code_ids`, or `
|
|
35896
|
+
description: "ID of the access method for which you want to list access codes. Specify `device_id`, `access_code_ids`, `access_method_id`, or `access_grant_id`.",
|
|
35877
35897
|
format: "uuid",
|
|
35878
35898
|
type: "string"
|
|
35879
35899
|
},
|
|
@@ -35882,7 +35902,7 @@ var openapi_default = {
|
|
|
35882
35902
|
type: "string"
|
|
35883
35903
|
},
|
|
35884
35904
|
device_id: {
|
|
35885
|
-
description: "ID of the device for which you want to list access codes. Specify `device_id`, `access_code_ids`, or `
|
|
35905
|
+
description: "ID of the device for which you want to list access codes. Specify `device_id`, `access_code_ids`, `access_method_id`, or `access_grant_id`.",
|
|
35886
35906
|
format: "uuid",
|
|
35887
35907
|
type: "string"
|
|
35888
35908
|
},
|