@seamapi/types 1.341.0 → 1.343.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.
@@ -6434,6 +6434,98 @@ declare const _default: {
6434
6434
  'x-route-path': string;
6435
6435
  deprecated?: never;
6436
6436
  'x-deprecated'?: never;
6437
+ } | {
6438
+ description: string;
6439
+ properties: {
6440
+ connected_account_id: {
6441
+ description: string;
6442
+ format: string;
6443
+ type: string;
6444
+ };
6445
+ created_at: {
6446
+ description: string;
6447
+ format: string;
6448
+ type: string;
6449
+ };
6450
+ device_id: {
6451
+ description: string;
6452
+ format: string;
6453
+ type: string;
6454
+ };
6455
+ event_id: {
6456
+ description: string;
6457
+ format: string;
6458
+ type: string;
6459
+ };
6460
+ event_type: {
6461
+ enum: string[];
6462
+ type: string;
6463
+ };
6464
+ occurred_at: {
6465
+ description: string;
6466
+ format: string;
6467
+ type: string;
6468
+ };
6469
+ temperature_celsius: {
6470
+ description: string;
6471
+ format: string;
6472
+ type: string;
6473
+ };
6474
+ temperature_fahrenheit: {
6475
+ description: string;
6476
+ format: string;
6477
+ type: string;
6478
+ };
6479
+ workspace_id: {
6480
+ description: string;
6481
+ format: string;
6482
+ type: string;
6483
+ };
6484
+ access_code_id?: never;
6485
+ code?: never;
6486
+ backup_access_code_id?: never;
6487
+ acs_system_id?: never;
6488
+ acs_credential_id?: never;
6489
+ acs_user_id?: never;
6490
+ acs_encoder_id?: never;
6491
+ acs_access_group_id?: never;
6492
+ client_session_id?: never;
6493
+ connect_webview_id?: never;
6494
+ action_attempt_id?: never;
6495
+ action_type?: never;
6496
+ status?: never;
6497
+ error_code?: never;
6498
+ battery_level?: never;
6499
+ battery_status?: never;
6500
+ minut_metadata?: never;
6501
+ noise_level_decibels?: never;
6502
+ noise_level_nrs?: never;
6503
+ noise_threshold_id?: never;
6504
+ noise_threshold_name?: never;
6505
+ noiseaware_metadata?: never;
6506
+ method?: never;
6507
+ climate_preset_key?: never;
6508
+ is_fallback_climate_preset?: never;
6509
+ thermostat_schedule_id?: never;
6510
+ cooling_set_point_celsius?: never;
6511
+ cooling_set_point_fahrenheit?: never;
6512
+ fan_mode_setting?: never;
6513
+ heating_set_point_celsius?: never;
6514
+ heating_set_point_fahrenheit?: never;
6515
+ hvac_mode_setting?: never;
6516
+ lower_limit_celsius?: never;
6517
+ lower_limit_fahrenheit?: never;
6518
+ upper_limit_celsius?: never;
6519
+ upper_limit_fahrenheit?: never;
6520
+ desired_temperature_celsius?: never;
6521
+ desired_temperature_fahrenheit?: never;
6522
+ enrollment_automation_id?: never;
6523
+ };
6524
+ required: string[];
6525
+ type: string;
6526
+ 'x-route-path': string;
6527
+ deprecated?: never;
6528
+ 'x-deprecated'?: never;
6437
6529
  } | {
6438
6530
  description: string;
6439
6531
  properties: {
@@ -20950,6 +21042,157 @@ declare const _default: {
20950
21042
  'x-title': string;
20951
21043
  };
20952
21044
  };
21045
+ '/thermostats/simulate/hvac_mode_adjusted': {
21046
+ post: {
21047
+ operationId: string;
21048
+ requestBody: {
21049
+ content: {
21050
+ 'application/json': {
21051
+ schema: {
21052
+ discriminator: {
21053
+ propertyName: string;
21054
+ };
21055
+ oneOf: ({
21056
+ properties: {
21057
+ device_id: {
21058
+ format: string;
21059
+ type: string;
21060
+ };
21061
+ hvac_mode: {
21062
+ enum: string[];
21063
+ type: string;
21064
+ };
21065
+ cooling_set_point_celsius?: never;
21066
+ cooling_set_point_fahrenheit?: never;
21067
+ heating_set_point_celsius?: never;
21068
+ heating_set_point_fahrenheit?: never;
21069
+ };
21070
+ required: string[];
21071
+ type: string;
21072
+ } | {
21073
+ properties: {
21074
+ cooling_set_point_celsius: {
21075
+ format: string;
21076
+ type: string;
21077
+ };
21078
+ cooling_set_point_fahrenheit: {
21079
+ format: string;
21080
+ type: string;
21081
+ };
21082
+ device_id: {
21083
+ format: string;
21084
+ type: string;
21085
+ };
21086
+ hvac_mode: {
21087
+ enum: string[];
21088
+ type: string;
21089
+ };
21090
+ heating_set_point_celsius?: never;
21091
+ heating_set_point_fahrenheit?: never;
21092
+ };
21093
+ required: string[];
21094
+ type: string;
21095
+ } | {
21096
+ properties: {
21097
+ device_id: {
21098
+ format: string;
21099
+ type: string;
21100
+ };
21101
+ heating_set_point_celsius: {
21102
+ format: string;
21103
+ type: string;
21104
+ };
21105
+ heating_set_point_fahrenheit: {
21106
+ format: string;
21107
+ type: string;
21108
+ };
21109
+ hvac_mode: {
21110
+ enum: string[];
21111
+ type: string;
21112
+ };
21113
+ cooling_set_point_celsius?: never;
21114
+ cooling_set_point_fahrenheit?: never;
21115
+ };
21116
+ required: string[];
21117
+ type: string;
21118
+ } | {
21119
+ properties: {
21120
+ cooling_set_point_celsius: {
21121
+ format: string;
21122
+ type: string;
21123
+ };
21124
+ cooling_set_point_fahrenheit: {
21125
+ format: string;
21126
+ type: string;
21127
+ };
21128
+ device_id: {
21129
+ format: string;
21130
+ type: string;
21131
+ };
21132
+ heating_set_point_celsius: {
21133
+ format: string;
21134
+ type: string;
21135
+ };
21136
+ heating_set_point_fahrenheit: {
21137
+ format: string;
21138
+ type: string;
21139
+ };
21140
+ hvac_mode: {
21141
+ enum: string[];
21142
+ type: string;
21143
+ };
21144
+ };
21145
+ required: string[];
21146
+ type: string;
21147
+ })[];
21148
+ };
21149
+ };
21150
+ };
21151
+ };
21152
+ responses: {
21153
+ 200: {
21154
+ content: {
21155
+ 'application/json': {
21156
+ schema: {
21157
+ properties: {
21158
+ ok: {
21159
+ type: string;
21160
+ };
21161
+ };
21162
+ required: string[];
21163
+ type: string;
21164
+ };
21165
+ };
21166
+ };
21167
+ description: string;
21168
+ };
21169
+ 400: {
21170
+ description: string;
21171
+ };
21172
+ 401: {
21173
+ description: string;
21174
+ };
21175
+ };
21176
+ security: ({
21177
+ api_key: never[];
21178
+ pat_with_workspace?: never;
21179
+ console_session_with_workspace?: never;
21180
+ } | {
21181
+ pat_with_workspace: never[];
21182
+ api_key?: never;
21183
+ console_session_with_workspace?: never;
21184
+ } | {
21185
+ console_session_with_workspace: never[];
21186
+ api_key?: never;
21187
+ pat_with_workspace?: never;
21188
+ })[];
21189
+ summary: string;
21190
+ tags: string[];
21191
+ 'x-fern-sdk-group-name': string[];
21192
+ 'x-fern-sdk-method-name': string;
21193
+ 'x-response-key': null;
21194
+ };
21195
+ };
20953
21196
  '/thermostats/simulate/temperature_reached': {
20954
21197
  post: {
20955
21198
  operationId: string;
@@ -10854,6 +10854,68 @@ export default {
10854
10854
  type: 'object',
10855
10855
  'x-route-path': '/thermostats',
10856
10856
  },
10857
+ {
10858
+ description: "A [thermostat's](https://docs.seam.co/latest/capability-guides/thermostats) reported temperature changed by at least 1 °C.",
10859
+ properties: {
10860
+ connected_account_id: {
10861
+ description: 'ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts).',
10862
+ format: 'uuid',
10863
+ type: 'string',
10864
+ },
10865
+ created_at: {
10866
+ description: 'Date and time at which the event was created.',
10867
+ format: 'date-time',
10868
+ type: 'string',
10869
+ },
10870
+ device_id: {
10871
+ description: 'ID of the device.',
10872
+ format: 'uuid',
10873
+ type: 'string',
10874
+ },
10875
+ event_id: {
10876
+ description: 'ID of the event.',
10877
+ format: 'uuid',
10878
+ type: 'string',
10879
+ },
10880
+ event_type: {
10881
+ enum: ['thermostat.temperature_changed'],
10882
+ type: 'string',
10883
+ },
10884
+ occurred_at: {
10885
+ description: 'Date and time at which the event occurred.',
10886
+ format: 'date-time',
10887
+ type: 'string',
10888
+ },
10889
+ temperature_celsius: {
10890
+ description: 'Temperature, in °C, reported by the [thermostat](https://docs.seam.co/latest/capability-guides/thermostats).',
10891
+ format: 'float',
10892
+ type: 'number',
10893
+ },
10894
+ temperature_fahrenheit: {
10895
+ description: 'Temperature, in °F, reported by the [thermostat](https://docs.seam.co/latest/capability-guides/thermostats).',
10896
+ format: 'float',
10897
+ type: 'number',
10898
+ },
10899
+ workspace_id: {
10900
+ description: 'ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces).',
10901
+ format: 'uuid',
10902
+ type: 'string',
10903
+ },
10904
+ },
10905
+ required: [
10906
+ 'event_id',
10907
+ 'workspace_id',
10908
+ 'created_at',
10909
+ 'occurred_at',
10910
+ 'device_id',
10911
+ 'connected_account_id',
10912
+ 'event_type',
10913
+ 'temperature_celsius',
10914
+ 'temperature_fahrenheit',
10915
+ ],
10916
+ type: 'object',
10917
+ 'x-route-path': '/thermostats',
10918
+ },
10857
10919
  {
10858
10920
  description: '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.',
10859
10921
  properties: {
@@ -21076,6 +21138,7 @@ export default {
21076
21138
  'thermostat.temperature_threshold_exceeded',
21077
21139
  'thermostat.temperature_threshold_no_longer_exceeded',
21078
21140
  'thermostat.temperature_reached_set_point',
21141
+ 'thermostat.temperature_changed',
21079
21142
  'enrollment_automation.deleted',
21080
21143
  'phone.deactivated',
21081
21144
  ],
@@ -21156,6 +21219,7 @@ export default {
21156
21219
  'thermostat.temperature_threshold_exceeded',
21157
21220
  'thermostat.temperature_threshold_no_longer_exceeded',
21158
21221
  'thermostat.temperature_reached_set_point',
21222
+ 'thermostat.temperature_changed',
21159
21223
  'enrollment_automation.deleted',
21160
21224
  'phone.deactivated',
21161
21225
  ],
@@ -24308,6 +24372,112 @@ export default {
24308
24372
  'x-title': 'Set a Temperature Threshold',
24309
24373
  },
24310
24374
  },
24375
+ '/thermostats/simulate/hvac_mode_adjusted': {
24376
+ post: {
24377
+ operationId: 'thermostatsSimulateHvacModeAdjustedPost',
24378
+ requestBody: {
24379
+ content: {
24380
+ 'application/json': {
24381
+ schema: {
24382
+ discriminator: { propertyName: 'hvac_mode' },
24383
+ oneOf: [
24384
+ {
24385
+ properties: {
24386
+ device_id: { format: 'uuid', type: 'string' },
24387
+ hvac_mode: { enum: ['off'], type: 'string' },
24388
+ },
24389
+ required: ['hvac_mode', 'device_id'],
24390
+ type: 'object',
24391
+ },
24392
+ {
24393
+ properties: {
24394
+ cooling_set_point_celsius: {
24395
+ format: 'float',
24396
+ type: 'number',
24397
+ },
24398
+ cooling_set_point_fahrenheit: {
24399
+ format: 'float',
24400
+ type: 'number',
24401
+ },
24402
+ device_id: { format: 'uuid', type: 'string' },
24403
+ hvac_mode: { enum: ['cool'], type: 'string' },
24404
+ },
24405
+ required: ['hvac_mode', 'device_id'],
24406
+ type: 'object',
24407
+ },
24408
+ {
24409
+ properties: {
24410
+ device_id: { format: 'uuid', type: 'string' },
24411
+ heating_set_point_celsius: {
24412
+ format: 'float',
24413
+ type: 'number',
24414
+ },
24415
+ heating_set_point_fahrenheit: {
24416
+ format: 'float',
24417
+ type: 'number',
24418
+ },
24419
+ hvac_mode: { enum: ['heat'], type: 'string' },
24420
+ },
24421
+ required: ['hvac_mode', 'device_id'],
24422
+ type: 'object',
24423
+ },
24424
+ {
24425
+ properties: {
24426
+ cooling_set_point_celsius: {
24427
+ format: 'float',
24428
+ type: 'number',
24429
+ },
24430
+ cooling_set_point_fahrenheit: {
24431
+ format: 'float',
24432
+ type: 'number',
24433
+ },
24434
+ device_id: { format: 'uuid', type: 'string' },
24435
+ heating_set_point_celsius: {
24436
+ format: 'float',
24437
+ type: 'number',
24438
+ },
24439
+ heating_set_point_fahrenheit: {
24440
+ format: 'float',
24441
+ type: 'number',
24442
+ },
24443
+ hvac_mode: { enum: ['heat_cool'], type: 'string' },
24444
+ },
24445
+ required: ['hvac_mode', 'device_id'],
24446
+ type: 'object',
24447
+ },
24448
+ ],
24449
+ },
24450
+ },
24451
+ },
24452
+ },
24453
+ responses: {
24454
+ 200: {
24455
+ content: {
24456
+ 'application/json': {
24457
+ schema: {
24458
+ properties: { ok: { type: 'boolean' } },
24459
+ required: ['ok'],
24460
+ type: 'object',
24461
+ },
24462
+ },
24463
+ },
24464
+ description: 'OK',
24465
+ },
24466
+ 400: { description: 'Bad Request' },
24467
+ 401: { description: 'Unauthorized' },
24468
+ },
24469
+ security: [
24470
+ { api_key: [] },
24471
+ { pat_with_workspace: [] },
24472
+ { console_session_with_workspace: [] },
24473
+ ],
24474
+ summary: '/thermostats/simulate/hvac_mode_adjusted',
24475
+ tags: ['/thermostats'],
24476
+ 'x-fern-sdk-group-name': ['thermostats', 'simulate'],
24477
+ 'x-fern-sdk-method-name': 'hvac_mode_adjusted',
24478
+ 'x-response-key': null,
24479
+ },
24480
+ },
24311
24481
  '/thermostats/simulate/temperature_reached': {
24312
24482
  post: {
24313
24483
  operationId: 'thermostatsSimulateTemperatureReachedPost',