@seamapi/types 1.340.1 → 1.342.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.
@@ -1032,7 +1032,7 @@ export default {
1032
1032
  },
1033
1033
  acs_credential: {
1034
1034
  description:
1035
- 'Means by which a user gains access at an entrance.\nThe `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code.',
1035
+ 'Means by which a user gains access at an entrance. The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code.',
1036
1036
  properties: {
1037
1037
  access_method: {
1038
1038
  description:
@@ -2607,7 +2607,7 @@ export default {
2607
2607
  oneOf: [
2608
2608
  {
2609
2609
  description:
2610
- 'Means by which a user gains access at an entrance.\nThe `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code.',
2610
+ 'Means by which a user gains access at an entrance. The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code.',
2611
2611
  properties: {
2612
2612
  access_method: {
2613
2613
  description:
@@ -2988,7 +2988,7 @@ export default {
2988
2988
  },
2989
2989
  {
2990
2990
  description:
2991
- 'Means by which a user gains access at an entrance.\nThe `unmanaged_acs_credential` object, which is not managed by Seam, represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code.',
2991
+ 'Means by which a user gains access at an entrance. The `unmanaged_acs_credential` object, which is not managed by Seam, represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code.',
2992
2992
  properties: {
2993
2993
  access_method: {
2994
2994
  description:
@@ -3500,11 +3500,11 @@ export default {
3500
3500
  error: { nullable: true },
3501
3501
  result: {
3502
3502
  description:
3503
- 'Means by which a user gains access at an entrance.\nThe `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code.',
3503
+ 'Means by which a user gains access at an entrance. The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code.',
3504
3504
  oneOf: [
3505
3505
  {
3506
3506
  description:
3507
- 'Means by which a user gains access at an entrance.\nThe `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code.',
3507
+ 'Means by which a user gains access at an entrance. The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code.',
3508
3508
  properties: {
3509
3509
  access_method: {
3510
3510
  description:
@@ -3882,7 +3882,7 @@ export default {
3882
3882
  },
3883
3883
  {
3884
3884
  description:
3885
- 'Means by which a user gains access at an entrance.\nThe `unmanaged_acs_credential` object, which is not managed by Seam, represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code.',
3885
+ 'Means by which a user gains access at an entrance. The `unmanaged_acs_credential` object, which is not managed by Seam, represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code.',
3886
3886
  properties: {
3887
3887
  access_method: {
3888
3888
  description:
@@ -11679,6 +11679,73 @@ export default {
11679
11679
  type: 'object',
11680
11680
  'x-route-path': '/thermostats',
11681
11681
  },
11682
+ {
11683
+ description:
11684
+ "A [thermostat's](https://docs.seam.co/latest/capability-guides/thermostats) reported temperature changed by at least 1 °C.",
11685
+ properties: {
11686
+ connected_account_id: {
11687
+ description:
11688
+ 'ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts).',
11689
+ format: 'uuid',
11690
+ type: 'string',
11691
+ },
11692
+ created_at: {
11693
+ description: 'Date and time at which the event was created.',
11694
+ format: 'date-time',
11695
+ type: 'string',
11696
+ },
11697
+ device_id: {
11698
+ description: 'ID of the device.',
11699
+ format: 'uuid',
11700
+ type: 'string',
11701
+ },
11702
+ event_id: {
11703
+ description: 'ID of the event.',
11704
+ format: 'uuid',
11705
+ type: 'string',
11706
+ },
11707
+ event_type: {
11708
+ enum: ['thermostat.temperature_changed_event'],
11709
+ type: 'string',
11710
+ },
11711
+ occurred_at: {
11712
+ description: 'Date and time at which the event occurred.',
11713
+ format: 'date-time',
11714
+ type: 'string',
11715
+ },
11716
+ temperature_celsius: {
11717
+ description:
11718
+ 'Temperature, in °C, reported by the [thermostat](https://docs.seam.co/latest/capability-guides/thermostats).',
11719
+ format: 'float',
11720
+ type: 'number',
11721
+ },
11722
+ temperature_fahrenheit: {
11723
+ description:
11724
+ 'Temperature, in °F, reported by the [thermostat](https://docs.seam.co/latest/capability-guides/thermostats).',
11725
+ format: 'float',
11726
+ type: 'number',
11727
+ },
11728
+ workspace_id: {
11729
+ description:
11730
+ 'ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces).',
11731
+ format: 'uuid',
11732
+ type: 'string',
11733
+ },
11734
+ },
11735
+ required: [
11736
+ 'event_id',
11737
+ 'workspace_id',
11738
+ 'created_at',
11739
+ 'occurred_at',
11740
+ 'device_id',
11741
+ 'connected_account_id',
11742
+ 'event_type',
11743
+ 'temperature_celsius',
11744
+ 'temperature_fahrenheit',
11745
+ ],
11746
+ type: 'object',
11747
+ 'x-route-path': '/thermostats',
11748
+ },
11682
11749
  {
11683
11750
  description:
11684
11751
  'An [enrollment automation](https://docs.seam.co/latest/capability-guides/mobile-access/issuing-mobile-credentials-from-an-access-control-system#prepare-the-phones-for-a-user-identity-to-start-receiving-mobile-credentials-using-an-enrollment-aut) was deleted.',
@@ -13488,7 +13555,7 @@ export default {
13488
13555
  },
13489
13556
  unmanaged_acs_credential: {
13490
13557
  description:
13491
- 'Means by which a user gains access at an entrance.\nThe `unmanaged_acs_credential` object, which is not managed by Seam, represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code.',
13558
+ 'Means by which a user gains access at an entrance. The `unmanaged_acs_credential` object, which is not managed by Seam, represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code.',
13492
13559
  properties: {
13493
13560
  access_method: {
13494
13561
  description:
@@ -22309,6 +22376,7 @@ export default {
22309
22376
  'thermostat.temperature_threshold_exceeded',
22310
22377
  'thermostat.temperature_threshold_no_longer_exceeded',
22311
22378
  'thermostat.temperature_reached_set_point',
22379
+ 'thermostat.temperature_changed_event',
22312
22380
  'enrollment_automation.deleted',
22313
22381
  'phone.deactivated',
22314
22382
  ],
@@ -22389,6 +22457,7 @@ export default {
22389
22457
  'thermostat.temperature_threshold_exceeded',
22390
22458
  'thermostat.temperature_threshold_no_longer_exceeded',
22391
22459
  'thermostat.temperature_reached_set_point',
22460
+ 'thermostat.temperature_changed_event',
22392
22461
  'enrollment_automation.deleted',
22393
22462
  'phone.deactivated',
22394
22463
  ],
@@ -25645,6 +25714,158 @@ export default {
25645
25714
  'x-title': 'Set a Temperature Threshold',
25646
25715
  },
25647
25716
  },
25717
+ '/thermostats/simulate/hvac_mode_adjusted': {
25718
+ post: {
25719
+ operationId: 'thermostatsSimulateHvacModeAdjustedPost',
25720
+ requestBody: {
25721
+ content: {
25722
+ 'application/json': {
25723
+ schema: {
25724
+ discriminator: { propertyName: 'hvac_mode' },
25725
+ oneOf: [
25726
+ {
25727
+ properties: {
25728
+ device_id: { format: 'uuid', type: 'string' },
25729
+ hvac_mode: { enum: ['off'], type: 'string' },
25730
+ },
25731
+ required: ['hvac_mode', 'device_id'],
25732
+ type: 'object',
25733
+ },
25734
+ {
25735
+ properties: {
25736
+ cooling_set_point_celsius: {
25737
+ format: 'float',
25738
+ type: 'number',
25739
+ },
25740
+ cooling_set_point_fahrenheit: {
25741
+ format: 'float',
25742
+ type: 'number',
25743
+ },
25744
+ device_id: { format: 'uuid', type: 'string' },
25745
+ hvac_mode: { enum: ['cool'], type: 'string' },
25746
+ },
25747
+ required: ['hvac_mode', 'device_id'],
25748
+ type: 'object',
25749
+ },
25750
+ {
25751
+ properties: {
25752
+ device_id: { format: 'uuid', type: 'string' },
25753
+ heating_set_point_celsius: {
25754
+ format: 'float',
25755
+ type: 'number',
25756
+ },
25757
+ heating_set_point_fahrenheit: {
25758
+ format: 'float',
25759
+ type: 'number',
25760
+ },
25761
+ hvac_mode: { enum: ['heat'], type: 'string' },
25762
+ },
25763
+ required: ['hvac_mode', 'device_id'],
25764
+ type: 'object',
25765
+ },
25766
+ {
25767
+ properties: {
25768
+ cooling_set_point_celsius: {
25769
+ format: 'float',
25770
+ type: 'number',
25771
+ },
25772
+ cooling_set_point_fahrenheit: {
25773
+ format: 'float',
25774
+ type: 'number',
25775
+ },
25776
+ device_id: { format: 'uuid', type: 'string' },
25777
+ heating_set_point_celsius: {
25778
+ format: 'float',
25779
+ type: 'number',
25780
+ },
25781
+ heating_set_point_fahrenheit: {
25782
+ format: 'float',
25783
+ type: 'number',
25784
+ },
25785
+ hvac_mode: { enum: ['heat_cool'], type: 'string' },
25786
+ },
25787
+ required: ['hvac_mode', 'device_id'],
25788
+ type: 'object',
25789
+ },
25790
+ ],
25791
+ },
25792
+ },
25793
+ },
25794
+ },
25795
+ responses: {
25796
+ 200: {
25797
+ content: {
25798
+ 'application/json': {
25799
+ schema: {
25800
+ properties: { ok: { type: 'boolean' } },
25801
+ required: ['ok'],
25802
+ type: 'object',
25803
+ },
25804
+ },
25805
+ },
25806
+ description: 'OK',
25807
+ },
25808
+ 400: { description: 'Bad Request' },
25809
+ 401: { description: 'Unauthorized' },
25810
+ },
25811
+ security: [
25812
+ { api_key: [] },
25813
+ { pat_with_workspace: [] },
25814
+ { console_session_with_workspace: [] },
25815
+ ],
25816
+ summary: '/thermostats/simulate/hvac_mode_adjusted',
25817
+ tags: ['/thermostats'],
25818
+ 'x-fern-sdk-group-name': ['thermostats', 'simulate'],
25819
+ 'x-fern-sdk-method-name': 'hvac_mode_adjusted',
25820
+ 'x-response-key': null,
25821
+ },
25822
+ },
25823
+ '/thermostats/simulate/temperature_reached': {
25824
+ post: {
25825
+ operationId: 'thermostatsSimulateTemperatureReachedPost',
25826
+ requestBody: {
25827
+ content: {
25828
+ 'application/json': {
25829
+ schema: {
25830
+ properties: {
25831
+ device_id: { format: 'uuid', type: 'string' },
25832
+ temperature_celsius: { format: 'float', type: 'number' },
25833
+ temperature_fahrenheit: { format: 'float', type: 'number' },
25834
+ },
25835
+ required: ['device_id'],
25836
+ type: 'object',
25837
+ },
25838
+ },
25839
+ },
25840
+ },
25841
+ responses: {
25842
+ 200: {
25843
+ content: {
25844
+ 'application/json': {
25845
+ schema: {
25846
+ properties: { ok: { type: 'boolean' } },
25847
+ required: ['ok'],
25848
+ type: 'object',
25849
+ },
25850
+ },
25851
+ },
25852
+ description: 'OK',
25853
+ },
25854
+ 400: { description: 'Bad Request' },
25855
+ 401: { description: 'Unauthorized' },
25856
+ },
25857
+ security: [
25858
+ { api_key: [] },
25859
+ { pat_with_workspace: [] },
25860
+ { console_session_with_workspace: [] },
25861
+ ],
25862
+ summary: '/thermostats/simulate/temperature_reached',
25863
+ tags: ['/thermostats'],
25864
+ 'x-fern-sdk-group-name': ['thermostats', 'simulate'],
25865
+ 'x-fern-sdk-method-name': 'temperature_reached',
25866
+ 'x-response-key': null,
25867
+ },
25868
+ },
25648
25869
  '/thermostats/update_climate_preset': {
25649
25870
  patch: {
25650
25871
  description: