@seamapi/types 1.621.0 → 1.622.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.
@@ -17525,6 +17525,67 @@ export default {
17525
17525
  type: 'object',
17526
17526
  'x-route-path': '/phones',
17527
17527
  },
17528
+ {
17529
+ description: 'A device was added or removed from a space.',
17530
+ properties: {
17531
+ acs_entrance_ids: {
17532
+ description: 'IDs of all ACS entrances currently attached to the space.',
17533
+ items: { format: 'uuid', type: 'string' },
17534
+ type: 'array',
17535
+ },
17536
+ created_at: {
17537
+ description: 'Date and time at which the event was created.',
17538
+ format: 'date-time',
17539
+ type: 'string',
17540
+ },
17541
+ device_ids: {
17542
+ description: 'IDs of all devices currently attached to the space.',
17543
+ items: { format: 'uuid', type: 'string' },
17544
+ type: 'array',
17545
+ },
17546
+ event_id: {
17547
+ description: 'ID of the event.',
17548
+ format: 'uuid',
17549
+ type: 'string',
17550
+ },
17551
+ event_type: {
17552
+ description: 'Type of the event.',
17553
+ enum: ['space.device_membership_changed'],
17554
+ type: 'string',
17555
+ },
17556
+ occurred_at: {
17557
+ description: 'Date and time at which the event occurred.',
17558
+ format: 'date-time',
17559
+ type: 'string',
17560
+ },
17561
+ space_id: {
17562
+ description: 'ID of the affected space.',
17563
+ format: 'uuid',
17564
+ type: 'string',
17565
+ },
17566
+ space_key: {
17567
+ description: 'Unique key for the space within the workspace.',
17568
+ type: 'string',
17569
+ },
17570
+ workspace_id: {
17571
+ description: 'ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event.',
17572
+ format: 'uuid',
17573
+ type: 'string',
17574
+ },
17575
+ },
17576
+ required: [
17577
+ 'event_id',
17578
+ 'workspace_id',
17579
+ 'created_at',
17580
+ 'occurred_at',
17581
+ 'space_id',
17582
+ 'event_type',
17583
+ 'device_ids',
17584
+ 'acs_entrance_ids',
17585
+ ],
17586
+ type: 'object',
17587
+ 'x-route-path': '/spaces',
17588
+ },
17528
17589
  ],
17529
17590
  'x-route-path': '/events',
17530
17591
  },
@@ -38606,6 +38667,15 @@ export default {
38606
38667
  type: 'array',
38607
38668
  },
38608
38669
  },
38670
+ {
38671
+ in: 'query',
38672
+ name: 'staff_member_keys',
38673
+ schema: {
38674
+ description: 'List of staff member keys to delete.',
38675
+ items: { type: 'string' },
38676
+ type: 'array',
38677
+ },
38678
+ },
38609
38679
  ],
38610
38680
  responses: {
38611
38681
  200: {
@@ -38713,6 +38783,11 @@ export default {
38713
38783
  items: { type: 'string' },
38714
38784
  type: 'array',
38715
38785
  },
38786
+ staff_member_keys: {
38787
+ description: 'List of staff member keys to delete.',
38788
+ items: { type: 'string' },
38789
+ type: 'array',
38790
+ },
38716
38791
  tenant_keys: {
38717
38792
  description: 'List of tenant keys to delete.',
38718
38793
  items: { type: 'string' },
@@ -42437,6 +42512,7 @@ export default {
42437
42512
  'device.name_changed',
42438
42513
  'enrollment_automation.deleted',
42439
42514
  'phone.deactivated',
42515
+ 'space.device_membership_changed',
42440
42516
  ],
42441
42517
  type: 'string',
42442
42518
  },
@@ -42540,6 +42616,7 @@ export default {
42540
42616
  'device.name_changed',
42541
42617
  'enrollment_automation.deleted',
42542
42618
  'phone.deactivated',
42619
+ 'space.device_membership_changed',
42543
42620
  ],
42544
42621
  type: 'string',
42545
42622
  },
@@ -42785,6 +42862,7 @@ export default {
42785
42862
  'device.name_changed',
42786
42863
  'enrollment_automation.deleted',
42787
42864
  'phone.deactivated',
42865
+ 'space.device_membership_changed',
42788
42866
  ],
42789
42867
  type: 'string',
42790
42868
  },
@@ -42884,6 +42962,7 @@ export default {
42884
42962
  'device.name_changed',
42885
42963
  'enrollment_automation.deleted',
42886
42964
  'phone.deactivated',
42965
+ 'space.device_membership_changed',
42887
42966
  ],
42888
42967
  type: 'string',
42889
42968
  },
@@ -48498,6 +48577,7 @@ export default {
48498
48577
  'device.name_changed',
48499
48578
  'enrollment_automation.deleted',
48500
48579
  'phone.deactivated',
48580
+ 'space.device_membership_changed',
48501
48581
  ],
48502
48582
  type: 'string',
48503
48583
  },
@@ -48602,6 +48682,7 @@ export default {
48602
48682
  'device.name_changed',
48603
48683
  'enrollment_automation.deleted',
48604
48684
  'phone.deactivated',
48685
+ 'space.device_membership_changed',
48605
48686
  ],
48606
48687
  type: 'string',
48607
48688
  },
@@ -48767,6 +48848,7 @@ export default {
48767
48848
  'device.name_changed',
48768
48849
  'enrollment_automation.deleted',
48769
48850
  'phone.deactivated',
48851
+ 'space.device_membership_changed',
48770
48852
  ],
48771
48853
  type: 'string',
48772
48854
  },
@@ -48866,6 +48948,7 @@ export default {
48866
48948
  'device.name_changed',
48867
48949
  'enrollment_automation.deleted',
48868
48950
  'phone.deactivated',
48951
+ 'space.device_membership_changed',
48869
48952
  ],
48870
48953
  type: 'string',
48871
48954
  },