@seamapi/types 1.620.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
  },
@@ -47419,6 +47498,32 @@ export default {
47419
47498
  required: ['rule'],
47420
47499
  type: 'object',
47421
47500
  },
47501
+ staff_member_created: {
47502
+ properties: {
47503
+ config: {
47504
+ $ref: '#/components/schemas/access_code',
47505
+ },
47506
+ rule: {
47507
+ enum: ['staff_member_created'],
47508
+ type: 'string',
47509
+ },
47510
+ },
47511
+ required: ['rule', 'config'],
47512
+ type: 'object',
47513
+ },
47514
+ staff_member_name_updated: {
47515
+ properties: {
47516
+ config: {
47517
+ $ref: '#/components/schemas/access_code',
47518
+ },
47519
+ rule: {
47520
+ enum: ['staff_member_name_updated'],
47521
+ type: 'string',
47522
+ },
47523
+ },
47524
+ required: ['rule'],
47525
+ type: 'object',
47526
+ },
47422
47527
  user_identity_name_updated: {
47423
47528
  properties: {
47424
47529
  config: {
@@ -47608,6 +47713,32 @@ export default {
47608
47713
  required: ['rule'],
47609
47714
  type: 'object',
47610
47715
  },
47716
+ staff_member_created: {
47717
+ properties: {
47718
+ config: {
47719
+ $ref: '#/components/schemas/access_code',
47720
+ },
47721
+ rule: {
47722
+ enum: ['staff_member_created'],
47723
+ type: 'string',
47724
+ },
47725
+ },
47726
+ required: ['rule', 'config'],
47727
+ type: 'object',
47728
+ },
47729
+ staff_member_name_updated: {
47730
+ properties: {
47731
+ config: {
47732
+ $ref: '#/components/schemas/access_code',
47733
+ },
47734
+ rule: {
47735
+ enum: ['staff_member_name_updated'],
47736
+ type: 'string',
47737
+ },
47738
+ },
47739
+ required: ['rule'],
47740
+ type: 'object',
47741
+ },
47611
47742
  user_identity_name_updated: {
47612
47743
  properties: {
47613
47744
  config: {
@@ -47793,6 +47924,28 @@ export default {
47793
47924
  required: ['rule'],
47794
47925
  type: 'object',
47795
47926
  },
47927
+ staff_member_created: {
47928
+ properties: {
47929
+ config: { properties: {}, type: 'object' },
47930
+ rule: {
47931
+ enum: ['staff_member_created'],
47932
+ type: 'string',
47933
+ },
47934
+ },
47935
+ required: ['rule', 'config'],
47936
+ type: 'object',
47937
+ },
47938
+ staff_member_name_updated: {
47939
+ properties: {
47940
+ config: { properties: {}, type: 'object' },
47941
+ rule: {
47942
+ enum: ['staff_member_name_updated'],
47943
+ type: 'string',
47944
+ },
47945
+ },
47946
+ required: ['rule'],
47947
+ type: 'object',
47948
+ },
47796
47949
  user_identity_name_updated: {
47797
47950
  properties: {
47798
47951
  config: { properties: {}, type: 'object' },
@@ -47984,6 +48137,28 @@ export default {
47984
48137
  required: ['rule'],
47985
48138
  type: 'object',
47986
48139
  },
48140
+ staff_member_created: {
48141
+ properties: {
48142
+ config: { properties: {}, type: 'object' },
48143
+ rule: {
48144
+ enum: ['staff_member_created'],
48145
+ type: 'string',
48146
+ },
48147
+ },
48148
+ required: ['rule', 'config'],
48149
+ type: 'object',
48150
+ },
48151
+ staff_member_name_updated: {
48152
+ properties: {
48153
+ config: { properties: {}, type: 'object' },
48154
+ rule: {
48155
+ enum: ['staff_member_name_updated'],
48156
+ type: 'string',
48157
+ },
48158
+ },
48159
+ required: ['rule'],
48160
+ type: 'object',
48161
+ },
47987
48162
  user_identity_name_updated: {
47988
48163
  properties: {
47989
48164
  config: { properties: {}, type: 'object' },
@@ -48402,6 +48577,7 @@ export default {
48402
48577
  'device.name_changed',
48403
48578
  'enrollment_automation.deleted',
48404
48579
  'phone.deactivated',
48580
+ 'space.device_membership_changed',
48405
48581
  ],
48406
48582
  type: 'string',
48407
48583
  },
@@ -48506,6 +48682,7 @@ export default {
48506
48682
  'device.name_changed',
48507
48683
  'enrollment_automation.deleted',
48508
48684
  'phone.deactivated',
48685
+ 'space.device_membership_changed',
48509
48686
  ],
48510
48687
  type: 'string',
48511
48688
  },
@@ -48671,6 +48848,7 @@ export default {
48671
48848
  'device.name_changed',
48672
48849
  'enrollment_automation.deleted',
48673
48850
  'phone.deactivated',
48851
+ 'space.device_membership_changed',
48674
48852
  ],
48675
48853
  type: 'string',
48676
48854
  },
@@ -48770,6 +48948,7 @@ export default {
48770
48948
  'device.name_changed',
48771
48949
  'enrollment_automation.deleted',
48772
48950
  'phone.deactivated',
48951
+ 'space.device_membership_changed',
48773
48952
  ],
48774
48953
  type: 'string',
48775
48954
  },