@seamapi/types 1.1181.0 → 1.1182.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.
@@ -27621,6 +27621,213 @@ const openapi = {
27621
27621
  type: 'object',
27622
27622
  'x-route-path': '/locks',
27623
27623
  },
27624
+ {
27625
+ description: 'The [lock](https://www.seam.co/docs/low-level-apis/smart-locks) reported that its bolt is jammed.',
27626
+ properties: {
27627
+ connected_account_custom_metadata: {
27628
+ additionalProperties: {
27629
+ oneOf: [{ type: 'string' }, { type: 'boolean' }],
27630
+ },
27631
+ description: 'Custom metadata of the connected account, present when connected_account_id is provided.',
27632
+ type: 'object',
27633
+ },
27634
+ connected_account_id: {
27635
+ description: 'ID of the connected account associated with the event.',
27636
+ format: 'uuid',
27637
+ type: 'string',
27638
+ },
27639
+ created_at: {
27640
+ description: 'Date and time at which the event was created.',
27641
+ format: 'date-time',
27642
+ type: 'string',
27643
+ },
27644
+ customer_key: {
27645
+ description: 'The customer key associated with the device, if any.',
27646
+ type: 'string',
27647
+ },
27648
+ device_custom_metadata: {
27649
+ additionalProperties: {
27650
+ oneOf: [{ type: 'string' }, { type: 'boolean' }],
27651
+ },
27652
+ description: 'Custom metadata of the device, present when device_id is provided.',
27653
+ type: 'object',
27654
+ },
27655
+ device_id: {
27656
+ description: 'ID of the affected device.',
27657
+ format: 'uuid',
27658
+ type: 'string',
27659
+ },
27660
+ event_description: {
27661
+ description: 'Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.',
27662
+ type: 'string',
27663
+ },
27664
+ event_id: {
27665
+ description: 'ID of the event.',
27666
+ format: 'uuid',
27667
+ type: 'string',
27668
+ },
27669
+ event_type: { enum: ['lock.jammed'], type: 'string' },
27670
+ occurred_at: {
27671
+ description: 'Date and time at which the event occurred.',
27672
+ format: 'date-time',
27673
+ type: 'string',
27674
+ },
27675
+ workspace_id: {
27676
+ description: 'ID of the workspace associated with the event.',
27677
+ format: 'uuid',
27678
+ type: 'string',
27679
+ },
27680
+ },
27681
+ required: [
27682
+ 'event_id',
27683
+ 'workspace_id',
27684
+ 'created_at',
27685
+ 'occurred_at',
27686
+ 'device_id',
27687
+ 'connected_account_id',
27688
+ 'event_type',
27689
+ ],
27690
+ type: 'object',
27691
+ 'x-route-path': '/locks',
27692
+ },
27693
+ {
27694
+ description: 'The door sensor of the [lock](https://www.seam.co/docs/low-level-apis/smart-locks) reported that the door was opened.',
27695
+ properties: {
27696
+ connected_account_custom_metadata: {
27697
+ additionalProperties: {
27698
+ oneOf: [{ type: 'string' }, { type: 'boolean' }],
27699
+ },
27700
+ description: 'Custom metadata of the connected account, present when connected_account_id is provided.',
27701
+ type: 'object',
27702
+ },
27703
+ connected_account_id: {
27704
+ description: 'ID of the connected account associated with the event.',
27705
+ format: 'uuid',
27706
+ type: 'string',
27707
+ },
27708
+ created_at: {
27709
+ description: 'Date and time at which the event was created.',
27710
+ format: 'date-time',
27711
+ type: 'string',
27712
+ },
27713
+ customer_key: {
27714
+ description: 'The customer key associated with the device, if any.',
27715
+ type: 'string',
27716
+ },
27717
+ device_custom_metadata: {
27718
+ additionalProperties: {
27719
+ oneOf: [{ type: 'string' }, { type: 'boolean' }],
27720
+ },
27721
+ description: 'Custom metadata of the device, present when device_id is provided.',
27722
+ type: 'object',
27723
+ },
27724
+ device_id: {
27725
+ description: 'ID of the affected device.',
27726
+ format: 'uuid',
27727
+ type: 'string',
27728
+ },
27729
+ event_description: {
27730
+ description: 'Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.',
27731
+ type: 'string',
27732
+ },
27733
+ event_id: {
27734
+ description: 'ID of the event.',
27735
+ format: 'uuid',
27736
+ type: 'string',
27737
+ },
27738
+ event_type: { enum: ['lock.door_opened'], type: 'string' },
27739
+ occurred_at: {
27740
+ description: 'Date and time at which the event occurred.',
27741
+ format: 'date-time',
27742
+ type: 'string',
27743
+ },
27744
+ workspace_id: {
27745
+ description: 'ID of the workspace associated with the event.',
27746
+ format: 'uuid',
27747
+ type: 'string',
27748
+ },
27749
+ },
27750
+ required: [
27751
+ 'event_id',
27752
+ 'workspace_id',
27753
+ 'created_at',
27754
+ 'occurred_at',
27755
+ 'device_id',
27756
+ 'connected_account_id',
27757
+ 'event_type',
27758
+ ],
27759
+ type: 'object',
27760
+ 'x-route-path': '/locks',
27761
+ },
27762
+ {
27763
+ description: 'The door sensor of the [lock](https://www.seam.co/docs/low-level-apis/smart-locks) reported that the door was closed.',
27764
+ properties: {
27765
+ connected_account_custom_metadata: {
27766
+ additionalProperties: {
27767
+ oneOf: [{ type: 'string' }, { type: 'boolean' }],
27768
+ },
27769
+ description: 'Custom metadata of the connected account, present when connected_account_id is provided.',
27770
+ type: 'object',
27771
+ },
27772
+ connected_account_id: {
27773
+ description: 'ID of the connected account associated with the event.',
27774
+ format: 'uuid',
27775
+ type: 'string',
27776
+ },
27777
+ created_at: {
27778
+ description: 'Date and time at which the event was created.',
27779
+ format: 'date-time',
27780
+ type: 'string',
27781
+ },
27782
+ customer_key: {
27783
+ description: 'The customer key associated with the device, if any.',
27784
+ type: 'string',
27785
+ },
27786
+ device_custom_metadata: {
27787
+ additionalProperties: {
27788
+ oneOf: [{ type: 'string' }, { type: 'boolean' }],
27789
+ },
27790
+ description: 'Custom metadata of the device, present when device_id is provided.',
27791
+ type: 'object',
27792
+ },
27793
+ device_id: {
27794
+ description: 'ID of the affected device.',
27795
+ format: 'uuid',
27796
+ type: 'string',
27797
+ },
27798
+ event_description: {
27799
+ description: 'Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.',
27800
+ type: 'string',
27801
+ },
27802
+ event_id: {
27803
+ description: 'ID of the event.',
27804
+ format: 'uuid',
27805
+ type: 'string',
27806
+ },
27807
+ event_type: { enum: ['lock.door_closed'], type: 'string' },
27808
+ occurred_at: {
27809
+ description: 'Date and time at which the event occurred.',
27810
+ format: 'date-time',
27811
+ type: 'string',
27812
+ },
27813
+ workspace_id: {
27814
+ description: 'ID of the workspace associated with the event.',
27815
+ format: 'uuid',
27816
+ type: 'string',
27817
+ },
27818
+ },
27819
+ required: [
27820
+ 'event_id',
27821
+ 'workspace_id',
27822
+ 'created_at',
27823
+ 'occurred_at',
27824
+ 'device_id',
27825
+ 'connected_account_id',
27826
+ 'event_type',
27827
+ ],
27828
+ type: 'object',
27829
+ 'x-route-path': '/locks',
27830
+ },
27624
27831
  {
27625
27832
  description: 'A thermostat [climate preset](https://www.seam.co/docs/capability-guides/thermostats/creating-and-managing-climate-presets) was activated.',
27626
27833
  properties: {
@@ -53625,6 +53832,9 @@ const openapi = {
53625
53832
  'lock.locked',
53626
53833
  'lock.unlocked',
53627
53834
  'lock.access_denied',
53835
+ 'lock.jammed',
53836
+ 'lock.door_opened',
53837
+ 'lock.door_closed',
53628
53838
  'thermostat.climate_preset_activated',
53629
53839
  'thermostat.manually_adjusted',
53630
53840
  'thermostat.temperature_threshold_exceeded',
@@ -53750,6 +53960,9 @@ const openapi = {
53750
53960
  'lock.locked',
53751
53961
  'lock.unlocked',
53752
53962
  'lock.access_denied',
53963
+ 'lock.jammed',
53964
+ 'lock.door_opened',
53965
+ 'lock.door_closed',
53753
53966
  'thermostat.climate_preset_activated',
53754
53967
  'thermostat.manually_adjusted',
53755
53968
  'thermostat.temperature_threshold_exceeded',
@@ -65136,6 +65349,9 @@ const openapi = {
65136
65349
  'lock.locked',
65137
65350
  'lock.unlocked',
65138
65351
  'lock.access_denied',
65352
+ 'lock.jammed',
65353
+ 'lock.door_opened',
65354
+ 'lock.door_closed',
65139
65355
  'thermostat.climate_preset_activated',
65140
65356
  'thermostat.manually_adjusted',
65141
65357
  'thermostat.temperature_threshold_exceeded',
@@ -65262,6 +65478,9 @@ const openapi = {
65262
65478
  'lock.locked',
65263
65479
  'lock.unlocked',
65264
65480
  'lock.access_denied',
65481
+ 'lock.jammed',
65482
+ 'lock.door_opened',
65483
+ 'lock.door_closed',
65265
65484
  'thermostat.climate_preset_activated',
65266
65485
  'thermostat.manually_adjusted',
65267
65486
  'thermostat.temperature_threshold_exceeded',
@@ -68767,6 +68986,9 @@ const openapi = {
68767
68986
  'lock.locked',
68768
68987
  'lock.unlocked',
68769
68988
  'lock.access_denied',
68989
+ 'lock.jammed',
68990
+ 'lock.door_opened',
68991
+ 'lock.door_closed',
68770
68992
  'thermostat.climate_preset_activated',
68771
68993
  'thermostat.manually_adjusted',
68772
68994
  'thermostat.temperature_threshold_exceeded',
@@ -68970,6 +69192,9 @@ const openapi = {
68970
69192
  'lock.locked',
68971
69193
  'lock.unlocked',
68972
69194
  'lock.access_denied',
69195
+ 'lock.jammed',
69196
+ 'lock.door_opened',
69197
+ 'lock.door_closed',
68973
69198
  'thermostat.climate_preset_activated',
68974
69199
  'thermostat.manually_adjusted',
68975
69200
  'thermostat.temperature_threshold_exceeded',