@seamapi/types 1.531.0 → 1.533.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 +41 -2
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +125 -2
- package/dist/index.cjs +41 -2
- 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 +105 -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/events/access-methods.d.ts +6 -0
- package/lib/seam/connect/models/events/access-methods.js +4 -0
- package/lib/seam/connect/models/events/access-methods.js.map +1 -1
- package/lib/seam/connect/models/events/seam-event.d.ts +3 -0
- 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 +28 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +62 -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/models/events/access-methods.ts +6 -0
- package/src/lib/seam/connect/openapi.ts +31 -0
- package/src/lib/seam/connect/route-types.ts +82 -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
|
),
|
|
@@ -4323,7 +4331,10 @@ var access_method_deleted_event = access_method_event.extend({
|
|
|
4323
4331
|
An access method was deleted.
|
|
4324
4332
|
`);
|
|
4325
4333
|
var access_method_reissued_event = access_method_event.extend({
|
|
4326
|
-
event_type: zod.z.literal("access_method.reissued")
|
|
4334
|
+
event_type: zod.z.literal("access_method.reissued"),
|
|
4335
|
+
code: zod.z.string().optional().describe(
|
|
4336
|
+
"The actual PIN code for code access methods (only present when mode is 'code')."
|
|
4337
|
+
)
|
|
4327
4338
|
}).describe(`
|
|
4328
4339
|
---
|
|
4329
4340
|
route_path: /access_methods
|
|
@@ -8041,6 +8052,17 @@ var openapi_default = {
|
|
|
8041
8052
|
},
|
|
8042
8053
|
type: "array"
|
|
8043
8054
|
},
|
|
8055
|
+
hotek_metadata: {
|
|
8056
|
+
description: "Hotek-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).",
|
|
8057
|
+
properties: {
|
|
8058
|
+
room_number: {
|
|
8059
|
+
description: "Room number of the entrance.",
|
|
8060
|
+
type: "string"
|
|
8061
|
+
}
|
|
8062
|
+
},
|
|
8063
|
+
required: ["room_number"],
|
|
8064
|
+
type: "object"
|
|
8065
|
+
},
|
|
8044
8066
|
latch_metadata: {
|
|
8045
8067
|
description: "Latch-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).",
|
|
8046
8068
|
properties: {
|
|
@@ -17009,6 +17031,7 @@ var openapi_default = {
|
|
|
17009
17031
|
can_unlock_with_code: { type: "boolean" },
|
|
17010
17032
|
device_provider_name: {
|
|
17011
17033
|
enum: [
|
|
17034
|
+
"hotek",
|
|
17012
17035
|
"dormakaba_community",
|
|
17013
17036
|
"legic_connect",
|
|
17014
17037
|
"akuvox",
|
|
@@ -18787,6 +18810,10 @@ var openapi_default = {
|
|
|
18787
18810
|
format: "uuid",
|
|
18788
18811
|
type: "string"
|
|
18789
18812
|
},
|
|
18813
|
+
code: {
|
|
18814
|
+
description: "The actual PIN code for code access methods (only present when mode is 'code').",
|
|
18815
|
+
type: "string"
|
|
18816
|
+
},
|
|
18790
18817
|
created_at: {
|
|
18791
18818
|
description: "Date and time at which the event was created.",
|
|
18792
18819
|
format: "date-time",
|
|
@@ -23179,6 +23206,17 @@ var openapi_default = {
|
|
|
23179
23206
|
},
|
|
23180
23207
|
type: "array"
|
|
23181
23208
|
},
|
|
23209
|
+
hotek_metadata: {
|
|
23210
|
+
description: "Hotek-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).",
|
|
23211
|
+
properties: {
|
|
23212
|
+
room_number: {
|
|
23213
|
+
description: "Room number of the entrance.",
|
|
23214
|
+
type: "string"
|
|
23215
|
+
}
|
|
23216
|
+
},
|
|
23217
|
+
required: ["room_number"],
|
|
23218
|
+
type: "object"
|
|
23219
|
+
},
|
|
23182
23220
|
latch_metadata: {
|
|
23183
23221
|
description: "Latch-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).",
|
|
23184
23222
|
properties: {
|
|
@@ -39461,6 +39499,7 @@ var openapi_default = {
|
|
|
39461
39499
|
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
39500
|
items: {
|
|
39463
39501
|
enum: [
|
|
39502
|
+
"hotek",
|
|
39464
39503
|
"dormakaba_community",
|
|
39465
39504
|
"legic_connect",
|
|
39466
39505
|
"akuvox",
|