@seamapi/types 1.531.0 → 1.532.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 +33 -1
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +107 -2
- package/dist/index.cjs +33 -1
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/acs/acs-entrance.d.ts +13 -0
- package/lib/seam/connect/models/acs/acs-entrance.js +4 -1
- package/lib/seam/connect/models/acs/acs-entrance.js.map +1 -1
- package/lib/seam/connect/models/acs/metadata/hotek.d.ts +9 -0
- package/lib/seam/connect/models/acs/metadata/hotek.js +7 -0
- package/lib/seam/connect/models/acs/metadata/hotek.js.map +1 -0
- package/lib/seam/connect/models/acs/metadata/index.d.ts +1 -0
- package/lib/seam/connect/models/acs/metadata/index.js +1 -0
- package/lib/seam/connect/models/acs/metadata/index.js.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +95 -0
- package/lib/seam/connect/models/devices/device-provider.d.ts +2 -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/phones/phone-session.d.ts +56 -0
- package/lib/seam/connect/openapi.d.ts +22 -0
- package/lib/seam/connect/openapi.js +24 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +52 -2
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-entrance.ts +6 -0
- package/src/lib/seam/connect/models/acs/metadata/hotek.ts +11 -0
- package/src/lib/seam/connect/models/acs/metadata/index.ts +1 -0
- package/src/lib/seam/connect/models/devices/device-provider.ts +2 -0
- package/src/lib/seam/connect/openapi.ts +26 -0
- package/src/lib/seam/connect/route-types.ts +72 -0
package/dist/connect.cjs
CHANGED
|
@@ -1711,6 +1711,7 @@ var device = zod.z.object({
|
|
|
1711
1711
|
Represents a [device](https://docs.seam.co/latest/core-concepts/devices) that has been connected to Seam.
|
|
1712
1712
|
`);
|
|
1713
1713
|
var DEVICE_PROVIDERS = {
|
|
1714
|
+
HOTEK: "hotek",
|
|
1714
1715
|
DORMAKABA_COMMUNITY: "dormakaba_community",
|
|
1715
1716
|
LEGIC_CONNECT: "legic_connect",
|
|
1716
1717
|
AKUVOX: "akuvox",
|
|
@@ -1816,7 +1817,8 @@ var PROVIDER_CATEGORY_MAP = {
|
|
|
1816
1817
|
"salto_space",
|
|
1817
1818
|
"dormakaba_ambiance",
|
|
1818
1819
|
"dormakaba_community",
|
|
1819
|
-
"legic_connect"
|
|
1820
|
+
"legic_connect",
|
|
1821
|
+
"hotek"
|
|
1820
1822
|
],
|
|
1821
1823
|
internal_beta: ALL_DEVICE_PROVIDERS
|
|
1822
1824
|
};
|
|
@@ -2462,6 +2464,9 @@ var acs_entrance_dormakaba_community_metadata = zod.z.object({
|
|
|
2462
2464
|
}).describe(
|
|
2463
2465
|
"dormakaba Community-specific metadata associated with the entrance."
|
|
2464
2466
|
);
|
|
2467
|
+
var acs_entrance_hotek_metadata = zod.z.object({
|
|
2468
|
+
room_number: zod.z.string().describe("Room number of the entrance.")
|
|
2469
|
+
}).describe("Hotek-specific metadata associated with the entrance.");
|
|
2465
2470
|
var acs_entrance_latch_metadata = zod.z.object({
|
|
2466
2471
|
accessibility_type: zod.z.string().describe("Accessibility type in the Latch access system."),
|
|
2467
2472
|
door_name: zod.z.string().describe("Name of the door in the Latch access system."),
|
|
@@ -2856,6 +2861,9 @@ var acs_entrance = zod.z.object({
|
|
|
2856
2861
|
latch_metadata: acs_entrance_latch_metadata.optional().describe(
|
|
2857
2862
|
"Latch-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details)."
|
|
2858
2863
|
),
|
|
2864
|
+
hotek_metadata: acs_entrance_hotek_metadata.optional().describe(
|
|
2865
|
+
"Hotek-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details)."
|
|
2866
|
+
),
|
|
2859
2867
|
visionline_metadata: acs_entrance_visionline_metadata.optional().describe(
|
|
2860
2868
|
"Visionline-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details)."
|
|
2861
2869
|
),
|
|
@@ -8041,6 +8049,17 @@ var openapi_default = {
|
|
|
8041
8049
|
},
|
|
8042
8050
|
type: "array"
|
|
8043
8051
|
},
|
|
8052
|
+
hotek_metadata: {
|
|
8053
|
+
description: "Hotek-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).",
|
|
8054
|
+
properties: {
|
|
8055
|
+
room_number: {
|
|
8056
|
+
description: "Room number of the entrance.",
|
|
8057
|
+
type: "string"
|
|
8058
|
+
}
|
|
8059
|
+
},
|
|
8060
|
+
required: ["room_number"],
|
|
8061
|
+
type: "object"
|
|
8062
|
+
},
|
|
8044
8063
|
latch_metadata: {
|
|
8045
8064
|
description: "Latch-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).",
|
|
8046
8065
|
properties: {
|
|
@@ -17009,6 +17028,7 @@ var openapi_default = {
|
|
|
17009
17028
|
can_unlock_with_code: { type: "boolean" },
|
|
17010
17029
|
device_provider_name: {
|
|
17011
17030
|
enum: [
|
|
17031
|
+
"hotek",
|
|
17012
17032
|
"dormakaba_community",
|
|
17013
17033
|
"legic_connect",
|
|
17014
17034
|
"akuvox",
|
|
@@ -23179,6 +23199,17 @@ var openapi_default = {
|
|
|
23179
23199
|
},
|
|
23180
23200
|
type: "array"
|
|
23181
23201
|
},
|
|
23202
|
+
hotek_metadata: {
|
|
23203
|
+
description: "Hotek-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).",
|
|
23204
|
+
properties: {
|
|
23205
|
+
room_number: {
|
|
23206
|
+
description: "Room number of the entrance.",
|
|
23207
|
+
type: "string"
|
|
23208
|
+
}
|
|
23209
|
+
},
|
|
23210
|
+
required: ["room_number"],
|
|
23211
|
+
type: "object"
|
|
23212
|
+
},
|
|
23182
23213
|
latch_metadata: {
|
|
23183
23214
|
description: "Latch-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).",
|
|
23184
23215
|
properties: {
|
|
@@ -39461,6 +39492,7 @@ var openapi_default = {
|
|
|
39461
39492
|
description: "Accepted device provider keys as an alternative to `provider_category`. Use this parameter to specify accepted providers explicitly. See [Customize the Brands to Display in Your Connect Webviews](https://docs.seam.co/latest/core-concepts/connect-webviews/customizing-connect-webviews#customize-the-brands-to-display-in-your-connect-webviews). To list all provider keys, use [`/devices/list_device_providers`](https://docs.seam.co/latest/api/devices/list_device_providers) with no filters.",
|
|
39462
39493
|
items: {
|
|
39463
39494
|
enum: [
|
|
39495
|
+
"hotek",
|
|
39464
39496
|
"dormakaba_community",
|
|
39465
39497
|
"legic_connect",
|
|
39466
39498
|
"akuvox",
|