@seamapi/types 1.563.0 → 1.564.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.
@@ -60259,6 +60259,7 @@ export type Routes = {
60259
60259
  can_simulate_hub_connection?: boolean | undefined;
60260
60260
  can_simulate_hub_disconnection?: boolean | undefined;
60261
60261
  can_simulate_paid_subscription?: boolean | undefined;
60262
+ space_ids: string[];
60262
60263
  }[] | undefined;
60263
60264
  acs_entrances?: {
60264
60265
  /** ID of the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) that contains the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
@@ -60378,6 +60379,7 @@ export type Routes = {
60378
60379
  can_unlock_with_card?: boolean | undefined;
60379
60380
  /** Indicates whether the ACS entrance can be unlocked with pin codes. */
60380
60381
  can_unlock_with_code?: boolean | undefined;
60382
+ space_ids: string[];
60381
60383
  }[] | undefined;
60382
60384
  connected_accounts?: {
60383
60385
  /** ID of the connected account. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.563.0",
3
+ "version": "1.564.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -36,8 +36,18 @@ export const spaces_batch = z
36
36
  .object({
37
37
  batch_type: z.literal('spaces'),
38
38
  spaces: space.array().optional(),
39
- devices: device.array().optional(),
40
- acs_entrances: acs_entrance.array().optional(),
39
+ devices: device
40
+ .extend({
41
+ space_ids: z.array(z.string().uuid()),
42
+ })
43
+ .array()
44
+ .optional(),
45
+ acs_entrances: acs_entrance
46
+ .extend({
47
+ space_ids: z.array(z.string().uuid()),
48
+ })
49
+ .array()
50
+ .optional(),
41
51
  connected_accounts: connected_account.array().optional(),
42
52
  acs_systems: acs_system.array().optional(),
43
53
  })