@seamapi/types 1.855.0 → 1.857.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 +72 -3
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +247 -0
- package/dist/index.cjs +72 -3
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/acs/acs-entrance.d.ts +45 -0
- package/lib/seam/connect/models/acs/acs-entrance.js +9 -0
- package/lib/seam/connect/models/acs/acs-entrance.js.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +57 -0
- package/lib/seam/connect/models/devices/device-metadata.d.ts +10 -0
- package/lib/seam/connect/models/devices/device-metadata.js +7 -0
- package/lib/seam/connect/models/devices/device-metadata.js.map +1 -1
- package/lib/seam/connect/models/devices/device.d.ts +14 -0
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +10 -0
- package/lib/seam/connect/models/phones/phone-session.d.ts +82 -0
- package/lib/seam/connect/openapi.js +56 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +145 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-entrance.ts +12 -0
- package/src/lib/seam/connect/models/devices/device-metadata.ts +11 -0
- package/src/lib/seam/connect/openapi.ts +66 -0
- package/src/lib/seam/connect/route-types.ts +156 -0
|
@@ -226,6 +226,19 @@ declare const phone_provider_session: z.ZodObject<{
|
|
|
226
226
|
message: string;
|
|
227
227
|
created_at: string;
|
|
228
228
|
warning_code: "entrance_shares_zone";
|
|
229
|
+
}>, z.ZodObject<{
|
|
230
|
+
created_at: z.ZodString;
|
|
231
|
+
message: z.ZodString;
|
|
232
|
+
} & {
|
|
233
|
+
warning_code: z.ZodLiteral<"entrance_setup_required">;
|
|
234
|
+
}, "strip", z.ZodTypeAny, {
|
|
235
|
+
message: string;
|
|
236
|
+
created_at: string;
|
|
237
|
+
warning_code: "entrance_setup_required";
|
|
238
|
+
}, {
|
|
239
|
+
message: string;
|
|
240
|
+
created_at: string;
|
|
241
|
+
warning_code: "entrance_setup_required";
|
|
229
242
|
}>]>, "many">;
|
|
230
243
|
latch_metadata: z.ZodOptional<z.ZodObject<{
|
|
231
244
|
accessibility_type: z.ZodString;
|
|
@@ -427,6 +440,10 @@ declare const phone_provider_session: z.ZodObject<{
|
|
|
427
440
|
message: string;
|
|
428
441
|
created_at: string;
|
|
429
442
|
warning_code: "entrance_shares_zone";
|
|
443
|
+
} | {
|
|
444
|
+
message: string;
|
|
445
|
+
created_at: string;
|
|
446
|
+
warning_code: "entrance_setup_required";
|
|
430
447
|
})[];
|
|
431
448
|
space_ids: string[];
|
|
432
449
|
acs_entrance_id: string;
|
|
@@ -516,6 +533,10 @@ declare const phone_provider_session: z.ZodObject<{
|
|
|
516
533
|
message: string;
|
|
517
534
|
created_at: string;
|
|
518
535
|
warning_code: "entrance_shares_zone";
|
|
536
|
+
} | {
|
|
537
|
+
message: string;
|
|
538
|
+
created_at: string;
|
|
539
|
+
warning_code: "entrance_setup_required";
|
|
519
540
|
})[];
|
|
520
541
|
space_ids: string[];
|
|
521
542
|
acs_entrance_id: string;
|
|
@@ -644,6 +665,10 @@ declare const phone_provider_session: z.ZodObject<{
|
|
|
644
665
|
message: string;
|
|
645
666
|
created_at: string;
|
|
646
667
|
warning_code: "entrance_shares_zone";
|
|
668
|
+
} | {
|
|
669
|
+
message: string;
|
|
670
|
+
created_at: string;
|
|
671
|
+
warning_code: "entrance_setup_required";
|
|
647
672
|
})[];
|
|
648
673
|
space_ids: string[];
|
|
649
674
|
acs_entrance_id: string;
|
|
@@ -806,6 +831,10 @@ declare const phone_provider_session: z.ZodObject<{
|
|
|
806
831
|
message: string;
|
|
807
832
|
created_at: string;
|
|
808
833
|
warning_code: "entrance_shares_zone";
|
|
834
|
+
} | {
|
|
835
|
+
message: string;
|
|
836
|
+
created_at: string;
|
|
837
|
+
warning_code: "entrance_setup_required";
|
|
809
838
|
})[];
|
|
810
839
|
space_ids: string[];
|
|
811
840
|
acs_entrance_id: string;
|
|
@@ -970,6 +999,10 @@ declare const phone_provider_session: z.ZodObject<{
|
|
|
970
999
|
message: string;
|
|
971
1000
|
created_at: string;
|
|
972
1001
|
warning_code: "entrance_shares_zone";
|
|
1002
|
+
} | {
|
|
1003
|
+
message: string;
|
|
1004
|
+
created_at: string;
|
|
1005
|
+
warning_code: "entrance_setup_required";
|
|
973
1006
|
})[];
|
|
974
1007
|
space_ids: string[];
|
|
975
1008
|
acs_entrance_id: string;
|
|
@@ -1140,6 +1173,10 @@ declare const phone_provider_session: z.ZodObject<{
|
|
|
1140
1173
|
message: string;
|
|
1141
1174
|
created_at: string;
|
|
1142
1175
|
warning_code: "entrance_shares_zone";
|
|
1176
|
+
} | {
|
|
1177
|
+
message: string;
|
|
1178
|
+
created_at: string;
|
|
1179
|
+
warning_code: "entrance_setup_required";
|
|
1143
1180
|
})[];
|
|
1144
1181
|
space_ids: string[];
|
|
1145
1182
|
acs_entrance_id: string;
|
|
@@ -1484,6 +1521,19 @@ export declare const phone_session: z.ZodObject<{
|
|
|
1484
1521
|
message: string;
|
|
1485
1522
|
created_at: string;
|
|
1486
1523
|
warning_code: "entrance_shares_zone";
|
|
1524
|
+
}>, z.ZodObject<{
|
|
1525
|
+
created_at: z.ZodString;
|
|
1526
|
+
message: z.ZodString;
|
|
1527
|
+
} & {
|
|
1528
|
+
warning_code: z.ZodLiteral<"entrance_setup_required">;
|
|
1529
|
+
}, "strip", z.ZodTypeAny, {
|
|
1530
|
+
message: string;
|
|
1531
|
+
created_at: string;
|
|
1532
|
+
warning_code: "entrance_setup_required";
|
|
1533
|
+
}, {
|
|
1534
|
+
message: string;
|
|
1535
|
+
created_at: string;
|
|
1536
|
+
warning_code: "entrance_setup_required";
|
|
1487
1537
|
}>]>, "many">;
|
|
1488
1538
|
latch_metadata: z.ZodOptional<z.ZodObject<{
|
|
1489
1539
|
accessibility_type: z.ZodString;
|
|
@@ -1685,6 +1735,10 @@ export declare const phone_session: z.ZodObject<{
|
|
|
1685
1735
|
message: string;
|
|
1686
1736
|
created_at: string;
|
|
1687
1737
|
warning_code: "entrance_shares_zone";
|
|
1738
|
+
} | {
|
|
1739
|
+
message: string;
|
|
1740
|
+
created_at: string;
|
|
1741
|
+
warning_code: "entrance_setup_required";
|
|
1688
1742
|
})[];
|
|
1689
1743
|
space_ids: string[];
|
|
1690
1744
|
acs_entrance_id: string;
|
|
@@ -1774,6 +1828,10 @@ export declare const phone_session: z.ZodObject<{
|
|
|
1774
1828
|
message: string;
|
|
1775
1829
|
created_at: string;
|
|
1776
1830
|
warning_code: "entrance_shares_zone";
|
|
1831
|
+
} | {
|
|
1832
|
+
message: string;
|
|
1833
|
+
created_at: string;
|
|
1834
|
+
warning_code: "entrance_setup_required";
|
|
1777
1835
|
})[];
|
|
1778
1836
|
space_ids: string[];
|
|
1779
1837
|
acs_entrance_id: string;
|
|
@@ -1902,6 +1960,10 @@ export declare const phone_session: z.ZodObject<{
|
|
|
1902
1960
|
message: string;
|
|
1903
1961
|
created_at: string;
|
|
1904
1962
|
warning_code: "entrance_shares_zone";
|
|
1963
|
+
} | {
|
|
1964
|
+
message: string;
|
|
1965
|
+
created_at: string;
|
|
1966
|
+
warning_code: "entrance_setup_required";
|
|
1905
1967
|
})[];
|
|
1906
1968
|
space_ids: string[];
|
|
1907
1969
|
acs_entrance_id: string;
|
|
@@ -2064,6 +2126,10 @@ export declare const phone_session: z.ZodObject<{
|
|
|
2064
2126
|
message: string;
|
|
2065
2127
|
created_at: string;
|
|
2066
2128
|
warning_code: "entrance_shares_zone";
|
|
2129
|
+
} | {
|
|
2130
|
+
message: string;
|
|
2131
|
+
created_at: string;
|
|
2132
|
+
warning_code: "entrance_setup_required";
|
|
2067
2133
|
})[];
|
|
2068
2134
|
space_ids: string[];
|
|
2069
2135
|
acs_entrance_id: string;
|
|
@@ -2228,6 +2294,10 @@ export declare const phone_session: z.ZodObject<{
|
|
|
2228
2294
|
message: string;
|
|
2229
2295
|
created_at: string;
|
|
2230
2296
|
warning_code: "entrance_shares_zone";
|
|
2297
|
+
} | {
|
|
2298
|
+
message: string;
|
|
2299
|
+
created_at: string;
|
|
2300
|
+
warning_code: "entrance_setup_required";
|
|
2231
2301
|
})[];
|
|
2232
2302
|
space_ids: string[];
|
|
2233
2303
|
acs_entrance_id: string;
|
|
@@ -2398,6 +2468,10 @@ export declare const phone_session: z.ZodObject<{
|
|
|
2398
2468
|
message: string;
|
|
2399
2469
|
created_at: string;
|
|
2400
2470
|
warning_code: "entrance_shares_zone";
|
|
2471
|
+
} | {
|
|
2472
|
+
message: string;
|
|
2473
|
+
created_at: string;
|
|
2474
|
+
warning_code: "entrance_setup_required";
|
|
2401
2475
|
})[];
|
|
2402
2476
|
space_ids: string[];
|
|
2403
2477
|
acs_entrance_id: string;
|
|
@@ -2683,6 +2757,10 @@ export declare const phone_session: z.ZodObject<{
|
|
|
2683
2757
|
message: string;
|
|
2684
2758
|
created_at: string;
|
|
2685
2759
|
warning_code: "entrance_shares_zone";
|
|
2760
|
+
} | {
|
|
2761
|
+
message: string;
|
|
2762
|
+
created_at: string;
|
|
2763
|
+
warning_code: "entrance_setup_required";
|
|
2686
2764
|
})[];
|
|
2687
2765
|
space_ids: string[];
|
|
2688
2766
|
acs_entrance_id: string;
|
|
@@ -2884,6 +2962,10 @@ export declare const phone_session: z.ZodObject<{
|
|
|
2884
2962
|
message: string;
|
|
2885
2963
|
created_at: string;
|
|
2886
2964
|
warning_code: "entrance_shares_zone";
|
|
2965
|
+
} | {
|
|
2966
|
+
message: string;
|
|
2967
|
+
created_at: string;
|
|
2968
|
+
warning_code: "entrance_setup_required";
|
|
2887
2969
|
})[];
|
|
2888
2970
|
space_ids: string[];
|
|
2889
2971
|
acs_entrance_id: string;
|
|
@@ -4144,6 +4144,27 @@ const openapi = {
|
|
|
4144
4144
|
required: ['created_at', 'message', 'warning_code'],
|
|
4145
4145
|
type: 'object',
|
|
4146
4146
|
},
|
|
4147
|
+
{
|
|
4148
|
+
description: 'Indicates that this entrance requires additional configuration in the access control system before Seam can fully manage it.',
|
|
4149
|
+
properties: {
|
|
4150
|
+
created_at: {
|
|
4151
|
+
description: 'Date and time at which Seam created the warning.',
|
|
4152
|
+
format: 'date-time',
|
|
4153
|
+
type: 'string',
|
|
4154
|
+
},
|
|
4155
|
+
message: {
|
|
4156
|
+
description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
4157
|
+
type: 'string',
|
|
4158
|
+
},
|
|
4159
|
+
warning_code: {
|
|
4160
|
+
description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
4161
|
+
enum: ['entrance_setup_required'],
|
|
4162
|
+
type: 'string',
|
|
4163
|
+
},
|
|
4164
|
+
},
|
|
4165
|
+
required: ['created_at', 'message', 'warning_code'],
|
|
4166
|
+
type: 'object',
|
|
4167
|
+
},
|
|
4147
4168
|
],
|
|
4148
4169
|
},
|
|
4149
4170
|
type: 'array',
|
|
@@ -12616,12 +12637,22 @@ const openapi = {
|
|
|
12616
12637
|
description: 'Lock name for an Omnitec device.',
|
|
12617
12638
|
type: 'string',
|
|
12618
12639
|
},
|
|
12640
|
+
time_zone: {
|
|
12641
|
+
description: 'IANA timezone of the Omnitec lock, set during connect webview. Used for DST-aware timestamp adjustment.',
|
|
12642
|
+
type: 'string',
|
|
12643
|
+
},
|
|
12644
|
+
timezone_raw_offset_ms: {
|
|
12645
|
+
description: 'Static UTC offset of the Omnitec lock in milliseconds. Does not account for DST.',
|
|
12646
|
+
format: 'float',
|
|
12647
|
+
type: 'number',
|
|
12648
|
+
},
|
|
12619
12649
|
},
|
|
12620
12650
|
required: [
|
|
12621
12651
|
'lock_id',
|
|
12622
12652
|
'lock_name',
|
|
12623
12653
|
'lock_mac',
|
|
12624
12654
|
'has_gateway',
|
|
12655
|
+
'timezone_raw_offset_ms',
|
|
12625
12656
|
],
|
|
12626
12657
|
type: 'object',
|
|
12627
12658
|
},
|
|
@@ -23523,6 +23554,31 @@ const openapi = {
|
|
|
23523
23554
|
],
|
|
23524
23555
|
type: 'object',
|
|
23525
23556
|
},
|
|
23557
|
+
{
|
|
23558
|
+
description: 'Indicates that this entrance requires additional configuration in the access control system before Seam can fully manage it.',
|
|
23559
|
+
properties: {
|
|
23560
|
+
created_at: {
|
|
23561
|
+
description: 'Date and time at which Seam created the warning.',
|
|
23562
|
+
format: 'date-time',
|
|
23563
|
+
type: 'string',
|
|
23564
|
+
},
|
|
23565
|
+
message: {
|
|
23566
|
+
description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
23567
|
+
type: 'string',
|
|
23568
|
+
},
|
|
23569
|
+
warning_code: {
|
|
23570
|
+
description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
23571
|
+
enum: ['entrance_setup_required'],
|
|
23572
|
+
type: 'string',
|
|
23573
|
+
},
|
|
23574
|
+
},
|
|
23575
|
+
required: [
|
|
23576
|
+
'created_at',
|
|
23577
|
+
'message',
|
|
23578
|
+
'warning_code',
|
|
23579
|
+
],
|
|
23580
|
+
type: 'object',
|
|
23581
|
+
},
|
|
23526
23582
|
],
|
|
23527
23583
|
},
|
|
23528
23584
|
type: 'array',
|