@seamapi/types 1.855.0 → 1.857.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 +72 -3
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +247 -0
- package/dist/index.cjs +72 -3
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/acs/acs-entrance.d.ts +45 -0
- package/lib/seam/connect/models/acs/acs-entrance.js +9 -0
- package/lib/seam/connect/models/acs/acs-entrance.js.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +57 -0
- package/lib/seam/connect/models/devices/device-metadata.d.ts +10 -0
- package/lib/seam/connect/models/devices/device-metadata.js +7 -0
- package/lib/seam/connect/models/devices/device-metadata.js.map +1 -1
- package/lib/seam/connect/models/devices/device.d.ts +14 -0
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +10 -0
- package/lib/seam/connect/models/phones/phone-session.d.ts +82 -0
- package/lib/seam/connect/openapi.js +56 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +145 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-entrance.ts +12 -0
- package/src/lib/seam/connect/models/devices/device-metadata.ts +11 -0
- package/src/lib/seam/connect/openapi.ts +66 -0
- package/src/lib/seam/connect/route-types.ts +156 -0
package/dist/index.cjs
CHANGED
|
@@ -1095,6 +1095,12 @@ var device_metadata = zod.z.object({
|
|
|
1095
1095
|
lock_mac: zod.z.string().describe(`Bluetooth MAC address for an Omnitec device.`),
|
|
1096
1096
|
has_gateway: zod.z.boolean().describe(
|
|
1097
1097
|
`Whether the Omnitec lock has a connected gateway for remote operations.`
|
|
1098
|
+
),
|
|
1099
|
+
timezone_raw_offset_ms: zod.z.number().describe(
|
|
1100
|
+
`Static UTC offset of the Omnitec lock in milliseconds. Does not account for DST.`
|
|
1101
|
+
),
|
|
1102
|
+
time_zone: zod.z.string().optional().describe(
|
|
1103
|
+
`IANA timezone of the Omnitec lock, set during connect webview. Used for DST-aware timestamp adjustment.`
|
|
1098
1104
|
)
|
|
1099
1105
|
}).describe(`Metadata for an Omnitec device.`),
|
|
1100
1106
|
tado_metadata: zod.z.object({
|
|
@@ -3746,15 +3752,22 @@ var entrance_shares_zone = common_acs_entrance_warning.extend({
|
|
|
3746
3752
|
}).describe(
|
|
3747
3753
|
"Indicates that this entrance shares a zone with other entrances in Avigilon Alta and cannot be added to an access group individually."
|
|
3748
3754
|
);
|
|
3755
|
+
var entrance_setup_required = common_acs_entrance_warning.extend({
|
|
3756
|
+
warning_code: zod.z.literal("entrance_setup_required").describe(warning_code_description8)
|
|
3757
|
+
}).describe(
|
|
3758
|
+
"Indicates that this entrance requires additional configuration in the access control system before Seam can fully manage it."
|
|
3759
|
+
);
|
|
3749
3760
|
var acs_entrance_warning = zod.z.discriminatedUnion("warning_code", [
|
|
3750
3761
|
salto_ks_entrance_access_code_support_removed,
|
|
3751
|
-
entrance_shares_zone
|
|
3762
|
+
entrance_shares_zone,
|
|
3763
|
+
entrance_setup_required
|
|
3752
3764
|
]).describe(
|
|
3753
3765
|
"Warning associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details)."
|
|
3754
3766
|
);
|
|
3755
3767
|
zod.z.object({
|
|
3756
3768
|
salto_ks_entrance_access_code_support_removed: salto_ks_entrance_access_code_support_removed.optional().nullable(),
|
|
3757
|
-
entrance_shares_zone: entrance_shares_zone.optional().nullable()
|
|
3769
|
+
entrance_shares_zone: entrance_shares_zone.optional().nullable(),
|
|
3770
|
+
entrance_setup_required: entrance_setup_required.optional().nullable()
|
|
3758
3771
|
});
|
|
3759
3772
|
var acs_entrance_capability_flags = zod.z.object({
|
|
3760
3773
|
can_unlock_with_mobile_key: zod.z.boolean().optional().describe(
|
|
@@ -11205,6 +11218,27 @@ var openapi = {
|
|
|
11205
11218
|
},
|
|
11206
11219
|
required: ["created_at", "message", "warning_code"],
|
|
11207
11220
|
type: "object"
|
|
11221
|
+
},
|
|
11222
|
+
{
|
|
11223
|
+
description: "Indicates that this entrance requires additional configuration in the access control system before Seam can fully manage it.",
|
|
11224
|
+
properties: {
|
|
11225
|
+
created_at: {
|
|
11226
|
+
description: "Date and time at which Seam created the warning.",
|
|
11227
|
+
format: "date-time",
|
|
11228
|
+
type: "string"
|
|
11229
|
+
},
|
|
11230
|
+
message: {
|
|
11231
|
+
description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
|
|
11232
|
+
type: "string"
|
|
11233
|
+
},
|
|
11234
|
+
warning_code: {
|
|
11235
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
11236
|
+
enum: ["entrance_setup_required"],
|
|
11237
|
+
type: "string"
|
|
11238
|
+
}
|
|
11239
|
+
},
|
|
11240
|
+
required: ["created_at", "message", "warning_code"],
|
|
11241
|
+
type: "object"
|
|
11208
11242
|
}
|
|
11209
11243
|
]
|
|
11210
11244
|
},
|
|
@@ -19677,13 +19711,23 @@ var openapi = {
|
|
|
19677
19711
|
lock_name: {
|
|
19678
19712
|
description: "Lock name for an Omnitec device.",
|
|
19679
19713
|
type: "string"
|
|
19714
|
+
},
|
|
19715
|
+
time_zone: {
|
|
19716
|
+
description: "IANA timezone of the Omnitec lock, set during connect webview. Used for DST-aware timestamp adjustment.",
|
|
19717
|
+
type: "string"
|
|
19718
|
+
},
|
|
19719
|
+
timezone_raw_offset_ms: {
|
|
19720
|
+
description: "Static UTC offset of the Omnitec lock in milliseconds. Does not account for DST.",
|
|
19721
|
+
format: "float",
|
|
19722
|
+
type: "number"
|
|
19680
19723
|
}
|
|
19681
19724
|
},
|
|
19682
19725
|
required: [
|
|
19683
19726
|
"lock_id",
|
|
19684
19727
|
"lock_name",
|
|
19685
19728
|
"lock_mac",
|
|
19686
|
-
"has_gateway"
|
|
19729
|
+
"has_gateway",
|
|
19730
|
+
"timezone_raw_offset_ms"
|
|
19687
19731
|
],
|
|
19688
19732
|
type: "object"
|
|
19689
19733
|
},
|
|
@@ -30584,6 +30628,31 @@ var openapi = {
|
|
|
30584
30628
|
"warning_code"
|
|
30585
30629
|
],
|
|
30586
30630
|
type: "object"
|
|
30631
|
+
},
|
|
30632
|
+
{
|
|
30633
|
+
description: "Indicates that this entrance requires additional configuration in the access control system before Seam can fully manage it.",
|
|
30634
|
+
properties: {
|
|
30635
|
+
created_at: {
|
|
30636
|
+
description: "Date and time at which Seam created the warning.",
|
|
30637
|
+
format: "date-time",
|
|
30638
|
+
type: "string"
|
|
30639
|
+
},
|
|
30640
|
+
message: {
|
|
30641
|
+
description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
|
|
30642
|
+
type: "string"
|
|
30643
|
+
},
|
|
30644
|
+
warning_code: {
|
|
30645
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
30646
|
+
enum: ["entrance_setup_required"],
|
|
30647
|
+
type: "string"
|
|
30648
|
+
}
|
|
30649
|
+
},
|
|
30650
|
+
required: [
|
|
30651
|
+
"created_at",
|
|
30652
|
+
"message",
|
|
30653
|
+
"warning_code"
|
|
30654
|
+
],
|
|
30655
|
+
type: "object"
|
|
30587
30656
|
}
|
|
30588
30657
|
]
|
|
30589
30658
|
},
|