@seamapi/types 1.547.0 → 1.548.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 +27 -3
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +92 -10
- package/dist/index.cjs +27 -3
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/acs/acs-entrance.d.ts +14 -4
- package/lib/seam/connect/models/acs/metadata/hotek.d.ts +6 -0
- package/lib/seam/connect/models/acs/metadata/hotek.js +2 -0
- package/lib/seam/connect/models/acs/metadata/hotek.js.map +1 -1
- package/lib/seam/connect/models/acs/metadata/visionline.d.ts +2 -2
- package/lib/seam/connect/models/batch.d.ts +100 -30
- package/lib/seam/connect/models/phones/phone-session.d.ts +58 -18
- package/lib/seam/connect/openapi.d.ts +18 -0
- package/lib/seam/connect/openapi.js +24 -2
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +40 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/metadata/hotek.ts +2 -0
- package/src/lib/seam/connect/openapi.ts +24 -2
- package/src/lib/seam/connect/route-types.ts +40 -0
package/dist/connect.d.cts
CHANGED
|
@@ -4568,9 +4568,15 @@ declare const acs_entrance: z.ZodObject<{
|
|
|
4568
4568
|
}>>;
|
|
4569
4569
|
hotek_metadata: z.ZodOptional<z.ZodObject<{
|
|
4570
4570
|
room_number: z.ZodString;
|
|
4571
|
+
display_name: z.ZodString;
|
|
4572
|
+
door_type: z.ZodEnum<["common_area", "guest"]>;
|
|
4571
4573
|
}, "strip", z.ZodTypeAny, {
|
|
4574
|
+
display_name: string;
|
|
4575
|
+
door_type: "common_area" | "guest";
|
|
4572
4576
|
room_number: string;
|
|
4573
4577
|
}, {
|
|
4578
|
+
display_name: string;
|
|
4579
|
+
door_type: "common_area" | "guest";
|
|
4574
4580
|
room_number: string;
|
|
4575
4581
|
}>>;
|
|
4576
4582
|
visionline_metadata: z.ZodOptional<z.ZodObject<{
|
|
@@ -4588,14 +4594,14 @@ declare const acs_entrance: z.ZodObject<{
|
|
|
4588
4594
|
}>, "many">>;
|
|
4589
4595
|
}, "strip", z.ZodTypeAny, {
|
|
4590
4596
|
door_name: string;
|
|
4591
|
-
door_category: "
|
|
4597
|
+
door_category: "guest" | "entrance" | "elevator reader" | "common" | "common (PMS)";
|
|
4592
4598
|
profiles?: {
|
|
4593
4599
|
visionline_door_profile_id: string;
|
|
4594
4600
|
visionline_door_profile_type: "BLE" | "commonDoor" | "touch";
|
|
4595
4601
|
}[] | undefined;
|
|
4596
4602
|
}, {
|
|
4597
4603
|
door_name: string;
|
|
4598
|
-
door_category: "
|
|
4604
|
+
door_category: "guest" | "entrance" | "elevator reader" | "common" | "common (PMS)";
|
|
4599
4605
|
profiles?: {
|
|
4600
4606
|
visionline_door_profile_id: string;
|
|
4601
4607
|
visionline_door_profile_type: "BLE" | "commonDoor" | "touch";
|
|
@@ -4713,7 +4719,7 @@ declare const acs_entrance: z.ZodObject<{
|
|
|
4713
4719
|
} | undefined;
|
|
4714
4720
|
visionline_metadata?: {
|
|
4715
4721
|
door_name: string;
|
|
4716
|
-
door_category: "
|
|
4722
|
+
door_category: "guest" | "entrance" | "elevator reader" | "common" | "common (PMS)";
|
|
4717
4723
|
profiles?: {
|
|
4718
4724
|
visionline_door_profile_id: string;
|
|
4719
4725
|
visionline_door_profile_type: "BLE" | "commonDoor" | "touch";
|
|
@@ -4736,6 +4742,8 @@ declare const acs_entrance: z.ZodObject<{
|
|
|
4736
4742
|
accessibility_type: string;
|
|
4737
4743
|
} | undefined;
|
|
4738
4744
|
hotek_metadata?: {
|
|
4745
|
+
display_name: string;
|
|
4746
|
+
door_type: "common_area" | "guest";
|
|
4739
4747
|
room_number: string;
|
|
4740
4748
|
} | undefined;
|
|
4741
4749
|
dormakaba_community_metadata?: {
|
|
@@ -4775,7 +4783,7 @@ declare const acs_entrance: z.ZodObject<{
|
|
|
4775
4783
|
} | undefined;
|
|
4776
4784
|
visionline_metadata?: {
|
|
4777
4785
|
door_name: string;
|
|
4778
|
-
door_category: "
|
|
4786
|
+
door_category: "guest" | "entrance" | "elevator reader" | "common" | "common (PMS)";
|
|
4779
4787
|
profiles?: {
|
|
4780
4788
|
visionline_door_profile_id: string;
|
|
4781
4789
|
visionline_door_profile_type: "BLE" | "commonDoor" | "touch";
|
|
@@ -4798,6 +4806,8 @@ declare const acs_entrance: z.ZodObject<{
|
|
|
4798
4806
|
accessibility_type: string;
|
|
4799
4807
|
} | undefined;
|
|
4800
4808
|
hotek_metadata?: {
|
|
4809
|
+
display_name: string;
|
|
4810
|
+
door_type: "common_area" | "guest";
|
|
4801
4811
|
room_number: string;
|
|
4802
4812
|
} | undefined;
|
|
4803
4813
|
dormakaba_community_metadata?: {
|
|
@@ -14463,9 +14473,15 @@ declare const batch: z.ZodObject<{
|
|
|
14463
14473
|
}>>;
|
|
14464
14474
|
hotek_metadata: z.ZodOptional<z.ZodObject<{
|
|
14465
14475
|
room_number: z.ZodString;
|
|
14476
|
+
display_name: z.ZodString;
|
|
14477
|
+
door_type: z.ZodEnum<["common_area", "guest"]>;
|
|
14466
14478
|
}, "strip", z.ZodTypeAny, {
|
|
14479
|
+
display_name: string;
|
|
14480
|
+
door_type: "common_area" | "guest";
|
|
14467
14481
|
room_number: string;
|
|
14468
14482
|
}, {
|
|
14483
|
+
display_name: string;
|
|
14484
|
+
door_type: "common_area" | "guest";
|
|
14469
14485
|
room_number: string;
|
|
14470
14486
|
}>>;
|
|
14471
14487
|
visionline_metadata: z.ZodOptional<z.ZodObject<{
|
|
@@ -14483,14 +14499,14 @@ declare const batch: z.ZodObject<{
|
|
|
14483
14499
|
}>, "many">>;
|
|
14484
14500
|
}, "strip", z.ZodTypeAny, {
|
|
14485
14501
|
door_name: string;
|
|
14486
|
-
door_category: "
|
|
14502
|
+
door_category: "guest" | "entrance" | "elevator reader" | "common" | "common (PMS)";
|
|
14487
14503
|
profiles?: {
|
|
14488
14504
|
visionline_door_profile_id: string;
|
|
14489
14505
|
visionline_door_profile_type: "BLE" | "commonDoor" | "touch";
|
|
14490
14506
|
}[] | undefined;
|
|
14491
14507
|
}, {
|
|
14492
14508
|
door_name: string;
|
|
14493
|
-
door_category: "
|
|
14509
|
+
door_category: "guest" | "entrance" | "elevator reader" | "common" | "common (PMS)";
|
|
14494
14510
|
profiles?: {
|
|
14495
14511
|
visionline_door_profile_id: string;
|
|
14496
14512
|
visionline_door_profile_type: "BLE" | "commonDoor" | "touch";
|
|
@@ -14608,7 +14624,7 @@ declare const batch: z.ZodObject<{
|
|
|
14608
14624
|
} | undefined;
|
|
14609
14625
|
visionline_metadata?: {
|
|
14610
14626
|
door_name: string;
|
|
14611
|
-
door_category: "
|
|
14627
|
+
door_category: "guest" | "entrance" | "elevator reader" | "common" | "common (PMS)";
|
|
14612
14628
|
profiles?: {
|
|
14613
14629
|
visionline_door_profile_id: string;
|
|
14614
14630
|
visionline_door_profile_type: "BLE" | "commonDoor" | "touch";
|
|
@@ -14631,6 +14647,8 @@ declare const batch: z.ZodObject<{
|
|
|
14631
14647
|
accessibility_type: string;
|
|
14632
14648
|
} | undefined;
|
|
14633
14649
|
hotek_metadata?: {
|
|
14650
|
+
display_name: string;
|
|
14651
|
+
door_type: "common_area" | "guest";
|
|
14634
14652
|
room_number: string;
|
|
14635
14653
|
} | undefined;
|
|
14636
14654
|
dormakaba_community_metadata?: {
|
|
@@ -14670,7 +14688,7 @@ declare const batch: z.ZodObject<{
|
|
|
14670
14688
|
} | undefined;
|
|
14671
14689
|
visionline_metadata?: {
|
|
14672
14690
|
door_name: string;
|
|
14673
|
-
door_category: "
|
|
14691
|
+
door_category: "guest" | "entrance" | "elevator reader" | "common" | "common (PMS)";
|
|
14674
14692
|
profiles?: {
|
|
14675
14693
|
visionline_door_profile_id: string;
|
|
14676
14694
|
visionline_door_profile_type: "BLE" | "commonDoor" | "touch";
|
|
@@ -14693,6 +14711,8 @@ declare const batch: z.ZodObject<{
|
|
|
14693
14711
|
accessibility_type: string;
|
|
14694
14712
|
} | undefined;
|
|
14695
14713
|
hotek_metadata?: {
|
|
14714
|
+
display_name: string;
|
|
14715
|
+
door_type: "common_area" | "guest";
|
|
14696
14716
|
room_number: string;
|
|
14697
14717
|
} | undefined;
|
|
14698
14718
|
dormakaba_community_metadata?: {
|
|
@@ -31298,7 +31318,7 @@ declare const batch: z.ZodObject<{
|
|
|
31298
31318
|
} | undefined;
|
|
31299
31319
|
visionline_metadata?: {
|
|
31300
31320
|
door_name: string;
|
|
31301
|
-
door_category: "
|
|
31321
|
+
door_category: "guest" | "entrance" | "elevator reader" | "common" | "common (PMS)";
|
|
31302
31322
|
profiles?: {
|
|
31303
31323
|
visionline_door_profile_id: string;
|
|
31304
31324
|
visionline_door_profile_type: "BLE" | "commonDoor" | "touch";
|
|
@@ -31321,6 +31341,8 @@ declare const batch: z.ZodObject<{
|
|
|
31321
31341
|
accessibility_type: string;
|
|
31322
31342
|
} | undefined;
|
|
31323
31343
|
hotek_metadata?: {
|
|
31344
|
+
display_name: string;
|
|
31345
|
+
door_type: "common_area" | "guest";
|
|
31324
31346
|
room_number: string;
|
|
31325
31347
|
} | undefined;
|
|
31326
31348
|
dormakaba_community_metadata?: {
|
|
@@ -35158,7 +35180,7 @@ declare const batch: z.ZodObject<{
|
|
|
35158
35180
|
} | undefined;
|
|
35159
35181
|
visionline_metadata?: {
|
|
35160
35182
|
door_name: string;
|
|
35161
|
-
door_category: "
|
|
35183
|
+
door_category: "guest" | "entrance" | "elevator reader" | "common" | "common (PMS)";
|
|
35162
35184
|
profiles?: {
|
|
35163
35185
|
visionline_door_profile_id: string;
|
|
35164
35186
|
visionline_door_profile_type: "BLE" | "commonDoor" | "touch";
|
|
@@ -35181,6 +35203,8 @@ declare const batch: z.ZodObject<{
|
|
|
35181
35203
|
accessibility_type: string;
|
|
35182
35204
|
} | undefined;
|
|
35183
35205
|
hotek_metadata?: {
|
|
35206
|
+
display_name: string;
|
|
35207
|
+
door_type: "common_area" | "guest";
|
|
35184
35208
|
room_number: string;
|
|
35185
35209
|
} | undefined;
|
|
35186
35210
|
dormakaba_community_metadata?: {
|
|
@@ -51876,6 +51900,15 @@ declare const _default: {
|
|
|
51876
51900
|
hotek_metadata: {
|
|
51877
51901
|
description: string;
|
|
51878
51902
|
properties: {
|
|
51903
|
+
display_name: {
|
|
51904
|
+
description: string;
|
|
51905
|
+
type: string;
|
|
51906
|
+
};
|
|
51907
|
+
door_type: {
|
|
51908
|
+
description: string;
|
|
51909
|
+
enum: string[];
|
|
51910
|
+
type: string;
|
|
51911
|
+
};
|
|
51879
51912
|
room_number: {
|
|
51880
51913
|
description: string;
|
|
51881
51914
|
type: string;
|
|
@@ -61842,6 +61875,15 @@ declare const _default: {
|
|
|
61842
61875
|
hotek_metadata: {
|
|
61843
61876
|
description: string;
|
|
61844
61877
|
properties: {
|
|
61878
|
+
display_name: {
|
|
61879
|
+
description: string;
|
|
61880
|
+
type: string;
|
|
61881
|
+
};
|
|
61882
|
+
door_type: {
|
|
61883
|
+
description: string;
|
|
61884
|
+
enum: string[];
|
|
61885
|
+
type: string;
|
|
61886
|
+
};
|
|
61845
61887
|
room_number: {
|
|
61846
61888
|
description: string;
|
|
61847
61889
|
type: string;
|
|
@@ -113787,6 +113829,10 @@ type Routes = {
|
|
|
113787
113829
|
hotek_metadata?: {
|
|
113788
113830
|
/** Room number of the entrance. */
|
|
113789
113831
|
room_number: string;
|
|
113832
|
+
/** Display name of the entrance. */
|
|
113833
|
+
display_name: string;
|
|
113834
|
+
/** Type of door. */
|
|
113835
|
+
door_type: 'common_area' | 'guest';
|
|
113790
113836
|
} | undefined;
|
|
113791
113837
|
/** Visionline-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
113792
113838
|
visionline_metadata?: {
|
|
@@ -116917,6 +116963,10 @@ type Routes = {
|
|
|
116917
116963
|
hotek_metadata?: {
|
|
116918
116964
|
/** Room number of the entrance. */
|
|
116919
116965
|
room_number: string;
|
|
116966
|
+
/** Display name of the entrance. */
|
|
116967
|
+
display_name: string;
|
|
116968
|
+
/** Type of door. */
|
|
116969
|
+
door_type: 'common_area' | 'guest';
|
|
116920
116970
|
} | undefined;
|
|
116921
116971
|
/** Visionline-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
116922
116972
|
visionline_metadata?: {
|
|
@@ -122832,6 +122882,10 @@ type Routes = {
|
|
|
122832
122882
|
hotek_metadata?: {
|
|
122833
122883
|
/** Room number of the entrance. */
|
|
122834
122884
|
room_number: string;
|
|
122885
|
+
/** Display name of the entrance. */
|
|
122886
|
+
display_name: string;
|
|
122887
|
+
/** Type of door. */
|
|
122888
|
+
door_type: 'common_area' | 'guest';
|
|
122835
122889
|
} | undefined;
|
|
122836
122890
|
/** Visionline-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
122837
122891
|
visionline_metadata?: {
|
|
@@ -124189,6 +124243,10 @@ type Routes = {
|
|
|
124189
124243
|
hotek_metadata?: {
|
|
124190
124244
|
/** Room number of the entrance. */
|
|
124191
124245
|
room_number: string;
|
|
124246
|
+
/** Display name of the entrance. */
|
|
124247
|
+
display_name: string;
|
|
124248
|
+
/** Type of door. */
|
|
124249
|
+
door_type: 'common_area' | 'guest';
|
|
124192
124250
|
} | undefined;
|
|
124193
124251
|
/** Visionline-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
124194
124252
|
visionline_metadata?: {
|
|
@@ -127631,6 +127689,10 @@ type Routes = {
|
|
|
127631
127689
|
hotek_metadata?: {
|
|
127632
127690
|
/** Room number of the entrance. */
|
|
127633
127691
|
room_number: string;
|
|
127692
|
+
/** Display name of the entrance. */
|
|
127693
|
+
display_name: string;
|
|
127694
|
+
/** Type of door. */
|
|
127695
|
+
door_type: 'common_area' | 'guest';
|
|
127634
127696
|
} | undefined;
|
|
127635
127697
|
/** Visionline-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
127636
127698
|
visionline_metadata?: {
|
|
@@ -127794,6 +127856,10 @@ type Routes = {
|
|
|
127794
127856
|
hotek_metadata?: {
|
|
127795
127857
|
/** Room number of the entrance. */
|
|
127796
127858
|
room_number: string;
|
|
127859
|
+
/** Display name of the entrance. */
|
|
127860
|
+
display_name: string;
|
|
127861
|
+
/** Type of door. */
|
|
127862
|
+
door_type: 'common_area' | 'guest';
|
|
127797
127863
|
} | undefined;
|
|
127798
127864
|
/** Visionline-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
127799
127865
|
visionline_metadata?: {
|
|
@@ -129231,6 +129297,10 @@ type Routes = {
|
|
|
129231
129297
|
hotek_metadata?: {
|
|
129232
129298
|
/** Room number of the entrance. */
|
|
129233
129299
|
room_number: string;
|
|
129300
|
+
/** Display name of the entrance. */
|
|
129301
|
+
display_name: string;
|
|
129302
|
+
/** Type of door. */
|
|
129303
|
+
door_type: 'common_area' | 'guest';
|
|
129234
129304
|
} | undefined;
|
|
129235
129305
|
/** Visionline-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
129236
129306
|
visionline_metadata?: {
|
|
@@ -160636,6 +160706,10 @@ type Routes = {
|
|
|
160636
160706
|
hotek_metadata?: {
|
|
160637
160707
|
/** Room number of the entrance. */
|
|
160638
160708
|
room_number: string;
|
|
160709
|
+
/** Display name of the entrance. */
|
|
160710
|
+
display_name: string;
|
|
160711
|
+
/** Type of door. */
|
|
160712
|
+
door_type: 'common_area' | 'guest';
|
|
160639
160713
|
} | undefined;
|
|
160640
160714
|
/** Visionline-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
160641
160715
|
visionline_metadata?: {
|
|
@@ -162155,6 +162229,10 @@ type Routes = {
|
|
|
162155
162229
|
hotek_metadata?: {
|
|
162156
162230
|
/** Room number of the entrance. */
|
|
162157
162231
|
room_number: string;
|
|
162232
|
+
/** Display name of the entrance. */
|
|
162233
|
+
display_name: string;
|
|
162234
|
+
/** Type of door. */
|
|
162235
|
+
door_type: 'common_area' | 'guest';
|
|
162158
162236
|
} | undefined;
|
|
162159
162237
|
/** Visionline-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
162160
162238
|
visionline_metadata?: {
|
|
@@ -182866,6 +182944,10 @@ type Routes = {
|
|
|
182866
182944
|
hotek_metadata?: {
|
|
182867
182945
|
/** Room number of the entrance. */
|
|
182868
182946
|
room_number: string;
|
|
182947
|
+
/** Display name of the entrance. */
|
|
182948
|
+
display_name: string;
|
|
182949
|
+
/** Type of door. */
|
|
182950
|
+
door_type: 'common_area' | 'guest';
|
|
182869
182951
|
} | undefined;
|
|
182870
182952
|
/** Visionline-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
182871
182953
|
visionline_metadata?: {
|
package/dist/index.cjs
CHANGED
|
@@ -2468,7 +2468,9 @@ var acs_entrance_dormakaba_community_metadata = zod.z.object({
|
|
|
2468
2468
|
"dormakaba Community-specific metadata associated with the entrance."
|
|
2469
2469
|
);
|
|
2470
2470
|
var acs_entrance_hotek_metadata = zod.z.object({
|
|
2471
|
-
room_number: zod.z.string().describe("Room number of the entrance.")
|
|
2471
|
+
room_number: zod.z.string().describe("Room number of the entrance."),
|
|
2472
|
+
display_name: zod.z.string().describe("Display name of the entrance."),
|
|
2473
|
+
door_type: zod.z.enum(["common_area", "guest"]).describe("Type of door.")
|
|
2472
2474
|
}).describe("Hotek-specific metadata associated with the entrance.");
|
|
2473
2475
|
var acs_entrance_latch_metadata = zod.z.object({
|
|
2474
2476
|
accessibility_type: zod.z.string().describe("Accessibility type in the Latch access system."),
|
|
@@ -8070,12 +8072,21 @@ var openapi_default = {
|
|
|
8070
8072
|
hotek_metadata: {
|
|
8071
8073
|
description: "Hotek-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).",
|
|
8072
8074
|
properties: {
|
|
8075
|
+
display_name: {
|
|
8076
|
+
description: "Display name of the entrance.",
|
|
8077
|
+
type: "string"
|
|
8078
|
+
},
|
|
8079
|
+
door_type: {
|
|
8080
|
+
description: "Type of door.",
|
|
8081
|
+
enum: ["common_area", "guest"],
|
|
8082
|
+
type: "string"
|
|
8083
|
+
},
|
|
8073
8084
|
room_number: {
|
|
8074
8085
|
description: "Room number of the entrance.",
|
|
8075
8086
|
type: "string"
|
|
8076
8087
|
}
|
|
8077
8088
|
},
|
|
8078
|
-
required: ["room_number"],
|
|
8089
|
+
required: ["room_number", "display_name", "door_type"],
|
|
8079
8090
|
type: "object"
|
|
8080
8091
|
},
|
|
8081
8092
|
latch_metadata: {
|
|
@@ -23240,12 +23251,25 @@ var openapi_default = {
|
|
|
23240
23251
|
hotek_metadata: {
|
|
23241
23252
|
description: "Hotek-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).",
|
|
23242
23253
|
properties: {
|
|
23254
|
+
display_name: {
|
|
23255
|
+
description: "Display name of the entrance.",
|
|
23256
|
+
type: "string"
|
|
23257
|
+
},
|
|
23258
|
+
door_type: {
|
|
23259
|
+
description: "Type of door.",
|
|
23260
|
+
enum: ["common_area", "guest"],
|
|
23261
|
+
type: "string"
|
|
23262
|
+
},
|
|
23243
23263
|
room_number: {
|
|
23244
23264
|
description: "Room number of the entrance.",
|
|
23245
23265
|
type: "string"
|
|
23246
23266
|
}
|
|
23247
23267
|
},
|
|
23248
|
-
required: [
|
|
23268
|
+
required: [
|
|
23269
|
+
"room_number",
|
|
23270
|
+
"display_name",
|
|
23271
|
+
"door_type"
|
|
23272
|
+
],
|
|
23249
23273
|
type: "object"
|
|
23250
23274
|
},
|
|
23251
23275
|
latch_metadata: {
|