@seamapi/types 1.129.0 → 1.130.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 +19 -4
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +87 -12
- package/lib/seam/connect/openapi.d.ts +33 -12
- package/lib/seam/connect/openapi.js +19 -4
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +54 -0
- package/lib/seam/connect/unstable/models/devices/managed-device.d.ts +48 -0
- package/lib/seam/connect/unstable/models/devices/managed-device.js +9 -0
- package/lib/seam/connect/unstable/models/devices/managed-device.js.map +1 -1
- package/lib/seam/connect/unstable/models/devices/unmanaged-device.d.ts +8 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +21 -4
- package/src/lib/seam/connect/route-types.ts +54 -0
- package/src/lib/seam/connect/unstable/models/devices/managed-device.ts +13 -0
package/dist/connect.cjs
CHANGED
|
@@ -682,6 +682,16 @@ var openapi_default = {
|
|
|
682
682
|
allOf: [
|
|
683
683
|
{
|
|
684
684
|
properties: {
|
|
685
|
+
appearance: {
|
|
686
|
+
properties: {
|
|
687
|
+
name: {
|
|
688
|
+
description: "Name of the device as seen from the provider API and application, not settable through Seam.",
|
|
689
|
+
type: "string"
|
|
690
|
+
}
|
|
691
|
+
},
|
|
692
|
+
required: ["name"],
|
|
693
|
+
type: "object"
|
|
694
|
+
},
|
|
685
695
|
battery: {
|
|
686
696
|
description: 'Represents the current status of the battery charge level. Values are "critical," which indicates an extremely low level, suggesting imminent shutdown or an urgent need for charging; "low," which signifies that the battery is under the preferred threshold and should be charged soon; "good," which denotes a satisfactory charge level, adequate for normal use without the immediate need for recharging; and "full," which represents a battery that is fully charged, providing the maximum duration of usage.',
|
|
687
697
|
properties: {
|
|
@@ -750,6 +760,10 @@ var openapi_default = {
|
|
|
750
760
|
description: "Name of the device. Enables administrators and users to identify the device easily, especially when there are numerous devices.",
|
|
751
761
|
type: "string"
|
|
752
762
|
},
|
|
763
|
+
nickname: {
|
|
764
|
+
description: "Optional nickname to describe the device, settable through Seam. Enables administrators and users to identify the device easily, especially when there are numerous devices.",
|
|
765
|
+
type: "string"
|
|
766
|
+
},
|
|
753
767
|
offline_access_codes_enabled: {
|
|
754
768
|
description: "Indicates whether it is currently possible to use offline access codes for the device.",
|
|
755
769
|
type: "boolean"
|
|
@@ -775,7 +789,7 @@ var openapi_default = {
|
|
|
775
789
|
type: "boolean"
|
|
776
790
|
}
|
|
777
791
|
},
|
|
778
|
-
required: ["online", "name", "model"],
|
|
792
|
+
required: ["online", "name", "appearance", "model"],
|
|
779
793
|
type: "object"
|
|
780
794
|
},
|
|
781
795
|
{
|
|
@@ -9180,9 +9194,10 @@ var openapi_default = {
|
|
|
9180
9194
|
401: { description: "Unauthorized" }
|
|
9181
9195
|
},
|
|
9182
9196
|
security: [
|
|
9183
|
-
{
|
|
9184
|
-
{
|
|
9185
|
-
{
|
|
9197
|
+
{ client_session: [] },
|
|
9198
|
+
{ pat_with_workspace: [] },
|
|
9199
|
+
{ console_session: [] },
|
|
9200
|
+
{ api_key: [] }
|
|
9186
9201
|
],
|
|
9187
9202
|
summary: "/locks/unlock_door",
|
|
9188
9203
|
tags: ["/locks"],
|