@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
|
@@ -215,6 +215,13 @@ declare const phone_provider_session: z.ZodObject<{
|
|
|
215
215
|
door_type: string;
|
|
216
216
|
accessibility_type: string;
|
|
217
217
|
}>>;
|
|
218
|
+
hotek_metadata: z.ZodOptional<z.ZodObject<{
|
|
219
|
+
room_number: z.ZodString;
|
|
220
|
+
}, "strip", z.ZodTypeAny, {
|
|
221
|
+
room_number: string;
|
|
222
|
+
}, {
|
|
223
|
+
room_number: string;
|
|
224
|
+
}>>;
|
|
218
225
|
visionline_metadata: z.ZodOptional<z.ZodObject<{
|
|
219
226
|
door_name: z.ZodString;
|
|
220
227
|
door_category: z.ZodEnum<["entrance", "guest", "elevator reader", "common", "common (PMS)"]>;
|
|
@@ -374,6 +381,9 @@ declare const phone_provider_session: z.ZodObject<{
|
|
|
374
381
|
door_type: string;
|
|
375
382
|
accessibility_type: string;
|
|
376
383
|
} | undefined;
|
|
384
|
+
hotek_metadata?: {
|
|
385
|
+
room_number: string;
|
|
386
|
+
} | undefined;
|
|
377
387
|
dormakaba_community_metadata?: {
|
|
378
388
|
access_point_name: string;
|
|
379
389
|
} | undefined;
|
|
@@ -432,6 +442,9 @@ declare const phone_provider_session: z.ZodObject<{
|
|
|
432
442
|
door_type: string;
|
|
433
443
|
accessibility_type: string;
|
|
434
444
|
} | undefined;
|
|
445
|
+
hotek_metadata?: {
|
|
446
|
+
room_number: string;
|
|
447
|
+
} | undefined;
|
|
435
448
|
dormakaba_community_metadata?: {
|
|
436
449
|
access_point_name: string;
|
|
437
450
|
} | undefined;
|
|
@@ -529,6 +542,9 @@ declare const phone_provider_session: z.ZodObject<{
|
|
|
529
542
|
door_type: string;
|
|
530
543
|
accessibility_type: string;
|
|
531
544
|
} | undefined;
|
|
545
|
+
hotek_metadata?: {
|
|
546
|
+
room_number: string;
|
|
547
|
+
} | undefined;
|
|
532
548
|
dormakaba_community_metadata?: {
|
|
533
549
|
access_point_name: string;
|
|
534
550
|
} | undefined;
|
|
@@ -660,6 +676,9 @@ declare const phone_provider_session: z.ZodObject<{
|
|
|
660
676
|
door_type: string;
|
|
661
677
|
accessibility_type: string;
|
|
662
678
|
} | undefined;
|
|
679
|
+
hotek_metadata?: {
|
|
680
|
+
room_number: string;
|
|
681
|
+
} | undefined;
|
|
663
682
|
dormakaba_community_metadata?: {
|
|
664
683
|
access_point_name: string;
|
|
665
684
|
} | undefined;
|
|
@@ -793,6 +812,9 @@ declare const phone_provider_session: z.ZodObject<{
|
|
|
793
812
|
door_type: string;
|
|
794
813
|
accessibility_type: string;
|
|
795
814
|
} | undefined;
|
|
815
|
+
hotek_metadata?: {
|
|
816
|
+
room_number: string;
|
|
817
|
+
} | undefined;
|
|
796
818
|
dormakaba_community_metadata?: {
|
|
797
819
|
access_point_name: string;
|
|
798
820
|
} | undefined;
|
|
@@ -932,6 +954,9 @@ declare const phone_provider_session: z.ZodObject<{
|
|
|
932
954
|
door_type: string;
|
|
933
955
|
accessibility_type: string;
|
|
934
956
|
} | undefined;
|
|
957
|
+
hotek_metadata?: {
|
|
958
|
+
room_number: string;
|
|
959
|
+
} | undefined;
|
|
935
960
|
dormakaba_community_metadata?: {
|
|
936
961
|
access_point_name: string;
|
|
937
962
|
} | undefined;
|
|
@@ -1206,6 +1231,13 @@ export declare const phone_session: z.ZodObject<{
|
|
|
1206
1231
|
door_type: string;
|
|
1207
1232
|
accessibility_type: string;
|
|
1208
1233
|
}>>;
|
|
1234
|
+
hotek_metadata: z.ZodOptional<z.ZodObject<{
|
|
1235
|
+
room_number: z.ZodString;
|
|
1236
|
+
}, "strip", z.ZodTypeAny, {
|
|
1237
|
+
room_number: string;
|
|
1238
|
+
}, {
|
|
1239
|
+
room_number: string;
|
|
1240
|
+
}>>;
|
|
1209
1241
|
visionline_metadata: z.ZodOptional<z.ZodObject<{
|
|
1210
1242
|
door_name: z.ZodString;
|
|
1211
1243
|
door_category: z.ZodEnum<["entrance", "guest", "elevator reader", "common", "common (PMS)"]>;
|
|
@@ -1365,6 +1397,9 @@ export declare const phone_session: z.ZodObject<{
|
|
|
1365
1397
|
door_type: string;
|
|
1366
1398
|
accessibility_type: string;
|
|
1367
1399
|
} | undefined;
|
|
1400
|
+
hotek_metadata?: {
|
|
1401
|
+
room_number: string;
|
|
1402
|
+
} | undefined;
|
|
1368
1403
|
dormakaba_community_metadata?: {
|
|
1369
1404
|
access_point_name: string;
|
|
1370
1405
|
} | undefined;
|
|
@@ -1423,6 +1458,9 @@ export declare const phone_session: z.ZodObject<{
|
|
|
1423
1458
|
door_type: string;
|
|
1424
1459
|
accessibility_type: string;
|
|
1425
1460
|
} | undefined;
|
|
1461
|
+
hotek_metadata?: {
|
|
1462
|
+
room_number: string;
|
|
1463
|
+
} | undefined;
|
|
1426
1464
|
dormakaba_community_metadata?: {
|
|
1427
1465
|
access_point_name: string;
|
|
1428
1466
|
} | undefined;
|
|
@@ -1520,6 +1558,9 @@ export declare const phone_session: z.ZodObject<{
|
|
|
1520
1558
|
door_type: string;
|
|
1521
1559
|
accessibility_type: string;
|
|
1522
1560
|
} | undefined;
|
|
1561
|
+
hotek_metadata?: {
|
|
1562
|
+
room_number: string;
|
|
1563
|
+
} | undefined;
|
|
1523
1564
|
dormakaba_community_metadata?: {
|
|
1524
1565
|
access_point_name: string;
|
|
1525
1566
|
} | undefined;
|
|
@@ -1651,6 +1692,9 @@ export declare const phone_session: z.ZodObject<{
|
|
|
1651
1692
|
door_type: string;
|
|
1652
1693
|
accessibility_type: string;
|
|
1653
1694
|
} | undefined;
|
|
1695
|
+
hotek_metadata?: {
|
|
1696
|
+
room_number: string;
|
|
1697
|
+
} | undefined;
|
|
1654
1698
|
dormakaba_community_metadata?: {
|
|
1655
1699
|
access_point_name: string;
|
|
1656
1700
|
} | undefined;
|
|
@@ -1784,6 +1828,9 @@ export declare const phone_session: z.ZodObject<{
|
|
|
1784
1828
|
door_type: string;
|
|
1785
1829
|
accessibility_type: string;
|
|
1786
1830
|
} | undefined;
|
|
1831
|
+
hotek_metadata?: {
|
|
1832
|
+
room_number: string;
|
|
1833
|
+
} | undefined;
|
|
1787
1834
|
dormakaba_community_metadata?: {
|
|
1788
1835
|
access_point_name: string;
|
|
1789
1836
|
} | undefined;
|
|
@@ -1923,6 +1970,9 @@ export declare const phone_session: z.ZodObject<{
|
|
|
1923
1970
|
door_type: string;
|
|
1924
1971
|
accessibility_type: string;
|
|
1925
1972
|
} | undefined;
|
|
1973
|
+
hotek_metadata?: {
|
|
1974
|
+
room_number: string;
|
|
1975
|
+
} | undefined;
|
|
1926
1976
|
dormakaba_community_metadata?: {
|
|
1927
1977
|
access_point_name: string;
|
|
1928
1978
|
} | undefined;
|
|
@@ -2176,6 +2226,9 @@ export declare const phone_session: z.ZodObject<{
|
|
|
2176
2226
|
door_type: string;
|
|
2177
2227
|
accessibility_type: string;
|
|
2178
2228
|
} | undefined;
|
|
2229
|
+
hotek_metadata?: {
|
|
2230
|
+
room_number: string;
|
|
2231
|
+
} | undefined;
|
|
2179
2232
|
dormakaba_community_metadata?: {
|
|
2180
2233
|
access_point_name: string;
|
|
2181
2234
|
} | undefined;
|
|
@@ -2345,6 +2398,9 @@ export declare const phone_session: z.ZodObject<{
|
|
|
2345
2398
|
door_type: string;
|
|
2346
2399
|
accessibility_type: string;
|
|
2347
2400
|
} | undefined;
|
|
2401
|
+
hotek_metadata?: {
|
|
2402
|
+
room_number: string;
|
|
2403
|
+
} | undefined;
|
|
2348
2404
|
dormakaba_community_metadata?: {
|
|
2349
2405
|
access_point_name: string;
|
|
2350
2406
|
} | undefined;
|
|
@@ -1156,6 +1156,17 @@ declare const _default: {
|
|
|
1156
1156
|
};
|
|
1157
1157
|
type: string;
|
|
1158
1158
|
};
|
|
1159
|
+
hotek_metadata: {
|
|
1160
|
+
description: string;
|
|
1161
|
+
properties: {
|
|
1162
|
+
room_number: {
|
|
1163
|
+
description: string;
|
|
1164
|
+
type: string;
|
|
1165
|
+
};
|
|
1166
|
+
};
|
|
1167
|
+
required: string[];
|
|
1168
|
+
type: string;
|
|
1169
|
+
};
|
|
1159
1170
|
latch_metadata: {
|
|
1160
1171
|
description: string;
|
|
1161
1172
|
properties: {
|
|
@@ -10970,6 +10981,17 @@ declare const _default: {
|
|
|
10970
10981
|
};
|
|
10971
10982
|
type: string;
|
|
10972
10983
|
};
|
|
10984
|
+
hotek_metadata: {
|
|
10985
|
+
description: string;
|
|
10986
|
+
properties: {
|
|
10987
|
+
room_number: {
|
|
10988
|
+
description: string;
|
|
10989
|
+
type: string;
|
|
10990
|
+
};
|
|
10991
|
+
};
|
|
10992
|
+
required: string[];
|
|
10993
|
+
type: string;
|
|
10994
|
+
};
|
|
10973
10995
|
latch_metadata: {
|
|
10974
10996
|
description: string;
|
|
10975
10997
|
properties: {
|
|
@@ -2482,6 +2482,17 @@ export default {
|
|
|
2482
2482
|
},
|
|
2483
2483
|
type: 'array',
|
|
2484
2484
|
},
|
|
2485
|
+
hotek_metadata: {
|
|
2486
|
+
description: 'Hotek-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).',
|
|
2487
|
+
properties: {
|
|
2488
|
+
room_number: {
|
|
2489
|
+
description: 'Room number of the entrance.',
|
|
2490
|
+
type: 'string',
|
|
2491
|
+
},
|
|
2492
|
+
},
|
|
2493
|
+
required: ['room_number'],
|
|
2494
|
+
type: 'object',
|
|
2495
|
+
},
|
|
2485
2496
|
latch_metadata: {
|
|
2486
2497
|
description: 'Latch-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).',
|
|
2487
2498
|
properties: {
|
|
@@ -11450,6 +11461,7 @@ export default {
|
|
|
11450
11461
|
can_unlock_with_code: { type: 'boolean' },
|
|
11451
11462
|
device_provider_name: {
|
|
11452
11463
|
enum: [
|
|
11464
|
+
'hotek',
|
|
11453
11465
|
'dormakaba_community',
|
|
11454
11466
|
'legic_connect',
|
|
11455
11467
|
'akuvox',
|
|
@@ -13228,6 +13240,10 @@ export default {
|
|
|
13228
13240
|
format: 'uuid',
|
|
13229
13241
|
type: 'string',
|
|
13230
13242
|
},
|
|
13243
|
+
code: {
|
|
13244
|
+
description: "The actual PIN code for code access methods (only present when mode is 'code').",
|
|
13245
|
+
type: 'string',
|
|
13246
|
+
},
|
|
13231
13247
|
created_at: {
|
|
13232
13248
|
description: 'Date and time at which the event was created.',
|
|
13233
13249
|
format: 'date-time',
|
|
@@ -17620,6 +17636,17 @@ export default {
|
|
|
17620
17636
|
},
|
|
17621
17637
|
type: 'array',
|
|
17622
17638
|
},
|
|
17639
|
+
hotek_metadata: {
|
|
17640
|
+
description: 'Hotek-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).',
|
|
17641
|
+
properties: {
|
|
17642
|
+
room_number: {
|
|
17643
|
+
description: 'Room number of the entrance.',
|
|
17644
|
+
type: 'string',
|
|
17645
|
+
},
|
|
17646
|
+
},
|
|
17647
|
+
required: ['room_number'],
|
|
17648
|
+
type: 'object',
|
|
17649
|
+
},
|
|
17623
17650
|
latch_metadata: {
|
|
17624
17651
|
description: 'Latch-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).',
|
|
17625
17652
|
properties: {
|
|
@@ -33902,6 +33929,7 @@ export default {
|
|
|
33902
33929
|
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.',
|
|
33903
33930
|
items: {
|
|
33904
33931
|
enum: [
|
|
33932
|
+
'hotek',
|
|
33905
33933
|
'dormakaba_community',
|
|
33906
33934
|
'legic_connect',
|
|
33907
33935
|
'akuvox',
|