@seamapi/types 1.566.0 → 1.567.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 +21 -620
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +104 -599
- package/dist/index.cjs +21 -620
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/acs/acs-entrance.d.ts +3 -0
- package/lib/seam/connect/models/acs/acs-entrance.js +3 -0
- package/lib/seam/connect/models/acs/acs-entrance.js.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +552 -118
- package/lib/seam/connect/models/batch.js +5 -6
- package/lib/seam/connect/models/batch.js.map +1 -1
- package/lib/seam/connect/models/phones/phone-session.d.ts +16 -0
- package/lib/seam/connect/openapi.d.ts +18 -540
- package/lib/seam/connect/openapi.js +14 -616
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +20 -1
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-entrance.ts +3 -0
- package/src/lib/seam/connect/models/batch.ts +5 -6
- package/src/lib/seam/connect/openapi.ts +15 -718
- package/src/lib/seam/connect/route-types.ts +20 -1
|
@@ -11369,6 +11369,8 @@ export type Routes = {
|
|
|
11369
11369
|
acs_system_id: string;
|
|
11370
11370
|
/** ID of the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
11371
11371
|
acs_entrance_id: string;
|
|
11372
|
+
/** IDs of the spaces that the entrance is in. */
|
|
11373
|
+
space_ids: string[];
|
|
11372
11374
|
/** Date and time at which the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details) was created. */
|
|
11373
11375
|
created_at: string;
|
|
11374
11376
|
/** Display name for the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
@@ -14548,6 +14550,8 @@ export type Routes = {
|
|
|
14548
14550
|
acs_system_id: string;
|
|
14549
14551
|
/** ID of the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
14550
14552
|
acs_entrance_id: string;
|
|
14553
|
+
/** IDs of the spaces that the entrance is in. */
|
|
14554
|
+
space_ids: string[];
|
|
14551
14555
|
/** Date and time at which the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details) was created. */
|
|
14552
14556
|
created_at: string;
|
|
14553
14557
|
/** Display name for the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
@@ -20517,6 +20521,8 @@ export type Routes = {
|
|
|
20517
20521
|
acs_system_id: string;
|
|
20518
20522
|
/** ID of the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
20519
20523
|
acs_entrance_id: string;
|
|
20524
|
+
/** IDs of the spaces that the entrance is in. */
|
|
20525
|
+
space_ids: string[];
|
|
20520
20526
|
/** Date and time at which the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details) was created. */
|
|
20521
20527
|
created_at: string;
|
|
20522
20528
|
/** Display name for the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
@@ -21883,6 +21889,8 @@ export type Routes = {
|
|
|
21883
21889
|
acs_system_id: string;
|
|
21884
21890
|
/** ID of the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
21885
21891
|
acs_entrance_id: string;
|
|
21892
|
+
/** IDs of the spaces that the entrance is in. */
|
|
21893
|
+
space_ids: string[];
|
|
21886
21894
|
/** Date and time at which the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details) was created. */
|
|
21887
21895
|
created_at: string;
|
|
21888
21896
|
/** Display name for the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
@@ -25329,6 +25337,8 @@ export type Routes = {
|
|
|
25329
25337
|
acs_system_id: string;
|
|
25330
25338
|
/** ID of the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
25331
25339
|
acs_entrance_id: string;
|
|
25340
|
+
/** IDs of the spaces that the entrance is in. */
|
|
25341
|
+
space_ids: string[];
|
|
25332
25342
|
/** Date and time at which the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details) was created. */
|
|
25333
25343
|
created_at: string;
|
|
25334
25344
|
/** Display name for the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
@@ -25496,6 +25506,8 @@ export type Routes = {
|
|
|
25496
25506
|
acs_system_id: string;
|
|
25497
25507
|
/** ID of the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
25498
25508
|
acs_entrance_id: string;
|
|
25509
|
+
/** IDs of the spaces that the entrance is in. */
|
|
25510
|
+
space_ids: string[];
|
|
25499
25511
|
/** Date and time at which the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details) was created. */
|
|
25500
25512
|
created_at: string;
|
|
25501
25513
|
/** Display name for the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
@@ -26937,6 +26949,8 @@ export type Routes = {
|
|
|
26937
26949
|
acs_system_id: string;
|
|
26938
26950
|
/** ID of the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
26939
26951
|
acs_entrance_id: string;
|
|
26952
|
+
/** IDs of the spaces that the entrance is in. */
|
|
26953
|
+
space_ids: string[];
|
|
26940
26954
|
/** Date and time at which the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details) was created. */
|
|
26941
26955
|
created_at: string;
|
|
26942
26956
|
/** Display name for the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
@@ -58742,6 +58756,8 @@ export type Routes = {
|
|
|
58742
58756
|
acs_system_id: string;
|
|
58743
58757
|
/** ID of the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
58744
58758
|
acs_entrance_id: string;
|
|
58759
|
+
/** IDs of the spaces that the entrance is in. */
|
|
58760
|
+
space_ids: string[];
|
|
58745
58761
|
/** Date and time at which the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details) was created. */
|
|
58746
58762
|
created_at: string;
|
|
58747
58763
|
/** Display name for the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
@@ -60293,6 +60309,8 @@ export type Routes = {
|
|
|
60293
60309
|
acs_system_id: string;
|
|
60294
60310
|
/** ID of the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
60295
60311
|
acs_entrance_id: string;
|
|
60312
|
+
/** IDs of the spaces that the entrance is in. */
|
|
60313
|
+
space_ids: string[];
|
|
60296
60314
|
/** Date and time at which the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details) was created. */
|
|
60297
60315
|
created_at: string;
|
|
60298
60316
|
/** Display name for the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
@@ -60406,7 +60424,6 @@ export type Routes = {
|
|
|
60406
60424
|
can_unlock_with_card?: boolean | undefined;
|
|
60407
60425
|
/** Indicates whether the ACS entrance can be unlocked with pin codes. */
|
|
60408
60426
|
can_unlock_with_code?: boolean | undefined;
|
|
60409
|
-
space_ids: string[];
|
|
60410
60427
|
}[] | undefined;
|
|
60411
60428
|
connected_accounts?: {
|
|
60412
60429
|
/** ID of the connected account. */
|
|
@@ -81175,6 +81192,8 @@ export type Routes = {
|
|
|
81175
81192
|
acs_system_id: string;
|
|
81176
81193
|
/** ID of the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
81177
81194
|
acs_entrance_id: string;
|
|
81195
|
+
/** IDs of the spaces that the entrance is in. */
|
|
81196
|
+
space_ids: string[];
|
|
81178
81197
|
/** Date and time at which the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details) was created. */
|
|
81179
81198
|
created_at: string;
|
|
81180
81199
|
/** Display name for the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
package/package.json
CHANGED
|
@@ -46,6 +46,9 @@ export const acs_entrance = z
|
|
|
46
46
|
.describe(
|
|
47
47
|
'ID of the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).',
|
|
48
48
|
),
|
|
49
|
+
space_ids: z
|
|
50
|
+
.array(z.string().uuid())
|
|
51
|
+
.describe('IDs of the spaces that the entrance is in.'),
|
|
49
52
|
created_at: z
|
|
50
53
|
.string()
|
|
51
54
|
.datetime()
|
|
@@ -42,12 +42,7 @@ export const spaces_batch = z
|
|
|
42
42
|
})
|
|
43
43
|
.array()
|
|
44
44
|
.optional(),
|
|
45
|
-
acs_entrances: acs_entrance
|
|
46
|
-
.extend({
|
|
47
|
-
space_ids: z.array(z.string().uuid()),
|
|
48
|
-
})
|
|
49
|
-
.array()
|
|
50
|
-
.optional(),
|
|
45
|
+
acs_entrances: acs_entrance.array().optional(),
|
|
51
46
|
connected_accounts: connected_account.array().optional(),
|
|
52
47
|
acs_systems: acs_system.array().optional(),
|
|
53
48
|
})
|
|
@@ -69,6 +64,10 @@ export const access_methods_batch = z.object({
|
|
|
69
64
|
spaces: space.array().optional(),
|
|
70
65
|
devices: device.array().optional(),
|
|
71
66
|
acs_entrances: acs_entrance.array().optional(),
|
|
67
|
+
access_grants: access_grant.array().optional(),
|
|
68
|
+
access_methods: access_method.array().optional(),
|
|
69
|
+
instant_keys: instant_key.array().optional(),
|
|
70
|
+
client_sessions: client_session.array().optional(),
|
|
72
71
|
})
|
|
73
72
|
|
|
74
73
|
export const workspaces_batch = z
|