@seamapi/types 1.871.0 → 1.873.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 +367 -30
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +825 -0
- package/dist/index.cjs +367 -30
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +210 -10
- package/lib/seam/connect/models/access-codes/managed-access-code.js +85 -10
- package/lib/seam/connect/models/access-codes/managed-access-code.js.map +1 -1
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +73 -0
- package/lib/seam/connect/models/acs/acs-entrance.d.ts +48 -0
- package/lib/seam/connect/models/acs/acs-entrance.js +13 -0
- package/lib/seam/connect/models/acs/acs-entrance.js.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +236 -0
- package/lib/seam/connect/models/phones/phone-session.d.ts +98 -0
- package/lib/seam/connect/openapi.js +240 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +374 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +110 -10
- package/src/lib/seam/connect/models/acs/acs-entrance.ts +18 -0
- package/src/lib/seam/connect/openapi.ts +282 -0
- package/src/lib/seam/connect/route-types.ts +418 -0
|
@@ -239,6 +239,19 @@ declare const phone_provider_session: z.ZodObject<{
|
|
|
239
239
|
message: string;
|
|
240
240
|
created_at: string;
|
|
241
241
|
warning_code: "entrance_setup_required";
|
|
242
|
+
}>, z.ZodObject<{
|
|
243
|
+
created_at: z.ZodString;
|
|
244
|
+
message: z.ZodString;
|
|
245
|
+
} & {
|
|
246
|
+
warning_code: z.ZodLiteral<"salto_ks_privacy_mode">;
|
|
247
|
+
}, "strip", z.ZodTypeAny, {
|
|
248
|
+
message: string;
|
|
249
|
+
created_at: string;
|
|
250
|
+
warning_code: "salto_ks_privacy_mode";
|
|
251
|
+
}, {
|
|
252
|
+
message: string;
|
|
253
|
+
created_at: string;
|
|
254
|
+
warning_code: "salto_ks_privacy_mode";
|
|
242
255
|
}>]>, "many">;
|
|
243
256
|
latch_metadata: z.ZodOptional<z.ZodObject<{
|
|
244
257
|
accessibility_type: z.ZodString;
|
|
@@ -418,6 +431,7 @@ declare const phone_provider_session: z.ZodObject<{
|
|
|
418
431
|
zone_name: string;
|
|
419
432
|
entry_relays_total_count: number;
|
|
420
433
|
}>>;
|
|
434
|
+
is_locked: z.ZodOptional<z.ZodBoolean>;
|
|
421
435
|
} & {
|
|
422
436
|
can_unlock_with_mobile_key: z.ZodOptional<z.ZodBoolean>;
|
|
423
437
|
can_unlock_with_card: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -444,6 +458,10 @@ declare const phone_provider_session: z.ZodObject<{
|
|
|
444
458
|
message: string;
|
|
445
459
|
created_at: string;
|
|
446
460
|
warning_code: "entrance_setup_required";
|
|
461
|
+
} | {
|
|
462
|
+
message: string;
|
|
463
|
+
created_at: string;
|
|
464
|
+
warning_code: "salto_ks_privacy_mode";
|
|
447
465
|
})[];
|
|
448
466
|
space_ids: string[];
|
|
449
467
|
acs_entrance_id: string;
|
|
@@ -517,6 +535,7 @@ declare const phone_provider_session: z.ZodObject<{
|
|
|
517
535
|
dormakaba_ambiance_metadata?: {
|
|
518
536
|
access_point_name: string;
|
|
519
537
|
} | undefined;
|
|
538
|
+
is_locked?: boolean | undefined;
|
|
520
539
|
}, {
|
|
521
540
|
display_name: string;
|
|
522
541
|
created_at: string;
|
|
@@ -537,6 +556,10 @@ declare const phone_provider_session: z.ZodObject<{
|
|
|
537
556
|
message: string;
|
|
538
557
|
created_at: string;
|
|
539
558
|
warning_code: "entrance_setup_required";
|
|
559
|
+
} | {
|
|
560
|
+
message: string;
|
|
561
|
+
created_at: string;
|
|
562
|
+
warning_code: "salto_ks_privacy_mode";
|
|
540
563
|
})[];
|
|
541
564
|
space_ids: string[];
|
|
542
565
|
acs_entrance_id: string;
|
|
@@ -610,6 +633,7 @@ declare const phone_provider_session: z.ZodObject<{
|
|
|
610
633
|
dormakaba_ambiance_metadata?: {
|
|
611
634
|
access_point_name: string;
|
|
612
635
|
} | undefined;
|
|
636
|
+
is_locked?: boolean | undefined;
|
|
613
637
|
}>, "many">;
|
|
614
638
|
}, "strip", z.ZodTypeAny, {
|
|
615
639
|
display_name: string;
|
|
@@ -669,6 +693,10 @@ declare const phone_provider_session: z.ZodObject<{
|
|
|
669
693
|
message: string;
|
|
670
694
|
created_at: string;
|
|
671
695
|
warning_code: "entrance_setup_required";
|
|
696
|
+
} | {
|
|
697
|
+
message: string;
|
|
698
|
+
created_at: string;
|
|
699
|
+
warning_code: "salto_ks_privacy_mode";
|
|
672
700
|
})[];
|
|
673
701
|
space_ids: string[];
|
|
674
702
|
acs_entrance_id: string;
|
|
@@ -742,6 +770,7 @@ declare const phone_provider_session: z.ZodObject<{
|
|
|
742
770
|
dormakaba_ambiance_metadata?: {
|
|
743
771
|
access_point_name: string;
|
|
744
772
|
} | undefined;
|
|
773
|
+
is_locked?: boolean | undefined;
|
|
745
774
|
}[];
|
|
746
775
|
code?: string | null | undefined;
|
|
747
776
|
starts_at?: string | undefined;
|
|
@@ -835,6 +864,10 @@ declare const phone_provider_session: z.ZodObject<{
|
|
|
835
864
|
message: string;
|
|
836
865
|
created_at: string;
|
|
837
866
|
warning_code: "entrance_setup_required";
|
|
867
|
+
} | {
|
|
868
|
+
message: string;
|
|
869
|
+
created_at: string;
|
|
870
|
+
warning_code: "salto_ks_privacy_mode";
|
|
838
871
|
})[];
|
|
839
872
|
space_ids: string[];
|
|
840
873
|
acs_entrance_id: string;
|
|
@@ -908,6 +941,7 @@ declare const phone_provider_session: z.ZodObject<{
|
|
|
908
941
|
dormakaba_ambiance_metadata?: {
|
|
909
942
|
access_point_name: string;
|
|
910
943
|
} | undefined;
|
|
944
|
+
is_locked?: boolean | undefined;
|
|
911
945
|
}[];
|
|
912
946
|
code?: string | null | undefined;
|
|
913
947
|
starts_at?: string | undefined;
|
|
@@ -1003,6 +1037,10 @@ declare const phone_provider_session: z.ZodObject<{
|
|
|
1003
1037
|
message: string;
|
|
1004
1038
|
created_at: string;
|
|
1005
1039
|
warning_code: "entrance_setup_required";
|
|
1040
|
+
} | {
|
|
1041
|
+
message: string;
|
|
1042
|
+
created_at: string;
|
|
1043
|
+
warning_code: "salto_ks_privacy_mode";
|
|
1006
1044
|
})[];
|
|
1007
1045
|
space_ids: string[];
|
|
1008
1046
|
acs_entrance_id: string;
|
|
@@ -1076,6 +1114,7 @@ declare const phone_provider_session: z.ZodObject<{
|
|
|
1076
1114
|
dormakaba_ambiance_metadata?: {
|
|
1077
1115
|
access_point_name: string;
|
|
1078
1116
|
} | undefined;
|
|
1117
|
+
is_locked?: boolean | undefined;
|
|
1079
1118
|
}[];
|
|
1080
1119
|
code?: string | null | undefined;
|
|
1081
1120
|
starts_at?: string | undefined;
|
|
@@ -1177,6 +1216,10 @@ declare const phone_provider_session: z.ZodObject<{
|
|
|
1177
1216
|
message: string;
|
|
1178
1217
|
created_at: string;
|
|
1179
1218
|
warning_code: "entrance_setup_required";
|
|
1219
|
+
} | {
|
|
1220
|
+
message: string;
|
|
1221
|
+
created_at: string;
|
|
1222
|
+
warning_code: "salto_ks_privacy_mode";
|
|
1180
1223
|
})[];
|
|
1181
1224
|
space_ids: string[];
|
|
1182
1225
|
acs_entrance_id: string;
|
|
@@ -1250,6 +1293,7 @@ declare const phone_provider_session: z.ZodObject<{
|
|
|
1250
1293
|
dormakaba_ambiance_metadata?: {
|
|
1251
1294
|
access_point_name: string;
|
|
1252
1295
|
} | undefined;
|
|
1296
|
+
is_locked?: boolean | undefined;
|
|
1253
1297
|
}[];
|
|
1254
1298
|
code?: string | null | undefined;
|
|
1255
1299
|
starts_at?: string | undefined;
|
|
@@ -1534,6 +1578,19 @@ export declare const phone_session: z.ZodObject<{
|
|
|
1534
1578
|
message: string;
|
|
1535
1579
|
created_at: string;
|
|
1536
1580
|
warning_code: "entrance_setup_required";
|
|
1581
|
+
}>, z.ZodObject<{
|
|
1582
|
+
created_at: z.ZodString;
|
|
1583
|
+
message: z.ZodString;
|
|
1584
|
+
} & {
|
|
1585
|
+
warning_code: z.ZodLiteral<"salto_ks_privacy_mode">;
|
|
1586
|
+
}, "strip", z.ZodTypeAny, {
|
|
1587
|
+
message: string;
|
|
1588
|
+
created_at: string;
|
|
1589
|
+
warning_code: "salto_ks_privacy_mode";
|
|
1590
|
+
}, {
|
|
1591
|
+
message: string;
|
|
1592
|
+
created_at: string;
|
|
1593
|
+
warning_code: "salto_ks_privacy_mode";
|
|
1537
1594
|
}>]>, "many">;
|
|
1538
1595
|
latch_metadata: z.ZodOptional<z.ZodObject<{
|
|
1539
1596
|
accessibility_type: z.ZodString;
|
|
@@ -1713,6 +1770,7 @@ export declare const phone_session: z.ZodObject<{
|
|
|
1713
1770
|
zone_name: string;
|
|
1714
1771
|
entry_relays_total_count: number;
|
|
1715
1772
|
}>>;
|
|
1773
|
+
is_locked: z.ZodOptional<z.ZodBoolean>;
|
|
1716
1774
|
} & {
|
|
1717
1775
|
can_unlock_with_mobile_key: z.ZodOptional<z.ZodBoolean>;
|
|
1718
1776
|
can_unlock_with_card: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1739,6 +1797,10 @@ export declare const phone_session: z.ZodObject<{
|
|
|
1739
1797
|
message: string;
|
|
1740
1798
|
created_at: string;
|
|
1741
1799
|
warning_code: "entrance_setup_required";
|
|
1800
|
+
} | {
|
|
1801
|
+
message: string;
|
|
1802
|
+
created_at: string;
|
|
1803
|
+
warning_code: "salto_ks_privacy_mode";
|
|
1742
1804
|
})[];
|
|
1743
1805
|
space_ids: string[];
|
|
1744
1806
|
acs_entrance_id: string;
|
|
@@ -1812,6 +1874,7 @@ export declare const phone_session: z.ZodObject<{
|
|
|
1812
1874
|
dormakaba_ambiance_metadata?: {
|
|
1813
1875
|
access_point_name: string;
|
|
1814
1876
|
} | undefined;
|
|
1877
|
+
is_locked?: boolean | undefined;
|
|
1815
1878
|
}, {
|
|
1816
1879
|
display_name: string;
|
|
1817
1880
|
created_at: string;
|
|
@@ -1832,6 +1895,10 @@ export declare const phone_session: z.ZodObject<{
|
|
|
1832
1895
|
message: string;
|
|
1833
1896
|
created_at: string;
|
|
1834
1897
|
warning_code: "entrance_setup_required";
|
|
1898
|
+
} | {
|
|
1899
|
+
message: string;
|
|
1900
|
+
created_at: string;
|
|
1901
|
+
warning_code: "salto_ks_privacy_mode";
|
|
1835
1902
|
})[];
|
|
1836
1903
|
space_ids: string[];
|
|
1837
1904
|
acs_entrance_id: string;
|
|
@@ -1905,6 +1972,7 @@ export declare const phone_session: z.ZodObject<{
|
|
|
1905
1972
|
dormakaba_ambiance_metadata?: {
|
|
1906
1973
|
access_point_name: string;
|
|
1907
1974
|
} | undefined;
|
|
1975
|
+
is_locked?: boolean | undefined;
|
|
1908
1976
|
}>, "many">;
|
|
1909
1977
|
}, "strip", z.ZodTypeAny, {
|
|
1910
1978
|
display_name: string;
|
|
@@ -1964,6 +2032,10 @@ export declare const phone_session: z.ZodObject<{
|
|
|
1964
2032
|
message: string;
|
|
1965
2033
|
created_at: string;
|
|
1966
2034
|
warning_code: "entrance_setup_required";
|
|
2035
|
+
} | {
|
|
2036
|
+
message: string;
|
|
2037
|
+
created_at: string;
|
|
2038
|
+
warning_code: "salto_ks_privacy_mode";
|
|
1967
2039
|
})[];
|
|
1968
2040
|
space_ids: string[];
|
|
1969
2041
|
acs_entrance_id: string;
|
|
@@ -2037,6 +2109,7 @@ export declare const phone_session: z.ZodObject<{
|
|
|
2037
2109
|
dormakaba_ambiance_metadata?: {
|
|
2038
2110
|
access_point_name: string;
|
|
2039
2111
|
} | undefined;
|
|
2112
|
+
is_locked?: boolean | undefined;
|
|
2040
2113
|
}[];
|
|
2041
2114
|
code?: string | null | undefined;
|
|
2042
2115
|
starts_at?: string | undefined;
|
|
@@ -2130,6 +2203,10 @@ export declare const phone_session: z.ZodObject<{
|
|
|
2130
2203
|
message: string;
|
|
2131
2204
|
created_at: string;
|
|
2132
2205
|
warning_code: "entrance_setup_required";
|
|
2206
|
+
} | {
|
|
2207
|
+
message: string;
|
|
2208
|
+
created_at: string;
|
|
2209
|
+
warning_code: "salto_ks_privacy_mode";
|
|
2133
2210
|
})[];
|
|
2134
2211
|
space_ids: string[];
|
|
2135
2212
|
acs_entrance_id: string;
|
|
@@ -2203,6 +2280,7 @@ export declare const phone_session: z.ZodObject<{
|
|
|
2203
2280
|
dormakaba_ambiance_metadata?: {
|
|
2204
2281
|
access_point_name: string;
|
|
2205
2282
|
} | undefined;
|
|
2283
|
+
is_locked?: boolean | undefined;
|
|
2206
2284
|
}[];
|
|
2207
2285
|
code?: string | null | undefined;
|
|
2208
2286
|
starts_at?: string | undefined;
|
|
@@ -2298,6 +2376,10 @@ export declare const phone_session: z.ZodObject<{
|
|
|
2298
2376
|
message: string;
|
|
2299
2377
|
created_at: string;
|
|
2300
2378
|
warning_code: "entrance_setup_required";
|
|
2379
|
+
} | {
|
|
2380
|
+
message: string;
|
|
2381
|
+
created_at: string;
|
|
2382
|
+
warning_code: "salto_ks_privacy_mode";
|
|
2301
2383
|
})[];
|
|
2302
2384
|
space_ids: string[];
|
|
2303
2385
|
acs_entrance_id: string;
|
|
@@ -2371,6 +2453,7 @@ export declare const phone_session: z.ZodObject<{
|
|
|
2371
2453
|
dormakaba_ambiance_metadata?: {
|
|
2372
2454
|
access_point_name: string;
|
|
2373
2455
|
} | undefined;
|
|
2456
|
+
is_locked?: boolean | undefined;
|
|
2374
2457
|
}[];
|
|
2375
2458
|
code?: string | null | undefined;
|
|
2376
2459
|
starts_at?: string | undefined;
|
|
@@ -2472,6 +2555,10 @@ export declare const phone_session: z.ZodObject<{
|
|
|
2472
2555
|
message: string;
|
|
2473
2556
|
created_at: string;
|
|
2474
2557
|
warning_code: "entrance_setup_required";
|
|
2558
|
+
} | {
|
|
2559
|
+
message: string;
|
|
2560
|
+
created_at: string;
|
|
2561
|
+
warning_code: "salto_ks_privacy_mode";
|
|
2475
2562
|
})[];
|
|
2476
2563
|
space_ids: string[];
|
|
2477
2564
|
acs_entrance_id: string;
|
|
@@ -2545,6 +2632,7 @@ export declare const phone_session: z.ZodObject<{
|
|
|
2545
2632
|
dormakaba_ambiance_metadata?: {
|
|
2546
2633
|
access_point_name: string;
|
|
2547
2634
|
} | undefined;
|
|
2635
|
+
is_locked?: boolean | undefined;
|
|
2548
2636
|
}[];
|
|
2549
2637
|
code?: string | null | undefined;
|
|
2550
2638
|
starts_at?: string | undefined;
|
|
@@ -2761,6 +2849,10 @@ export declare const phone_session: z.ZodObject<{
|
|
|
2761
2849
|
message: string;
|
|
2762
2850
|
created_at: string;
|
|
2763
2851
|
warning_code: "entrance_setup_required";
|
|
2852
|
+
} | {
|
|
2853
|
+
message: string;
|
|
2854
|
+
created_at: string;
|
|
2855
|
+
warning_code: "salto_ks_privacy_mode";
|
|
2764
2856
|
})[];
|
|
2765
2857
|
space_ids: string[];
|
|
2766
2858
|
acs_entrance_id: string;
|
|
@@ -2834,6 +2926,7 @@ export declare const phone_session: z.ZodObject<{
|
|
|
2834
2926
|
dormakaba_ambiance_metadata?: {
|
|
2835
2927
|
access_point_name: string;
|
|
2836
2928
|
} | undefined;
|
|
2929
|
+
is_locked?: boolean | undefined;
|
|
2837
2930
|
}[];
|
|
2838
2931
|
code?: string | null | undefined;
|
|
2839
2932
|
starts_at?: string | undefined;
|
|
@@ -2966,6 +3059,10 @@ export declare const phone_session: z.ZodObject<{
|
|
|
2966
3059
|
message: string;
|
|
2967
3060
|
created_at: string;
|
|
2968
3061
|
warning_code: "entrance_setup_required";
|
|
3062
|
+
} | {
|
|
3063
|
+
message: string;
|
|
3064
|
+
created_at: string;
|
|
3065
|
+
warning_code: "salto_ks_privacy_mode";
|
|
2969
3066
|
})[];
|
|
2970
3067
|
space_ids: string[];
|
|
2971
3068
|
acs_entrance_id: string;
|
|
@@ -3039,6 +3136,7 @@ export declare const phone_session: z.ZodObject<{
|
|
|
3039
3136
|
dormakaba_ambiance_metadata?: {
|
|
3040
3137
|
access_point_name: string;
|
|
3041
3138
|
} | undefined;
|
|
3139
|
+
is_locked?: boolean | undefined;
|
|
3042
3140
|
}[];
|
|
3043
3141
|
code?: string | null | undefined;
|
|
3044
3142
|
starts_at?: string | undefined;
|