@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.
@@ -16382,6 +16382,38 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
16382
16382
  workspace_id: z.ZodString;
16383
16383
  created_at: z.ZodString;
16384
16384
  occurred_at: z.ZodString;
16385
+ }, {
16386
+ device_id: z.ZodString;
16387
+ connected_account_id: z.ZodString;
16388
+ }>, {
16389
+ event_type: z.ZodLiteral<"thermostat.temperature_changed_event">;
16390
+ temperature_celsius: z.ZodNumber;
16391
+ temperature_fahrenheit: z.ZodNumber;
16392
+ }>, "strip", z.ZodTypeAny, {
16393
+ connected_account_id: string;
16394
+ created_at: string;
16395
+ device_id: string;
16396
+ temperature_fahrenheit: number;
16397
+ temperature_celsius: number;
16398
+ workspace_id: string;
16399
+ event_id: string;
16400
+ occurred_at: string;
16401
+ event_type: "thermostat.temperature_changed_event";
16402
+ }, {
16403
+ connected_account_id: string;
16404
+ created_at: string;
16405
+ device_id: string;
16406
+ temperature_fahrenheit: number;
16407
+ temperature_celsius: number;
16408
+ workspace_id: string;
16409
+ event_id: string;
16410
+ occurred_at: string;
16411
+ event_type: "thermostat.temperature_changed_event";
16412
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
16413
+ event_id: z.ZodString;
16414
+ workspace_id: z.ZodString;
16415
+ created_at: z.ZodString;
16416
+ occurred_at: z.ZodString;
16385
16417
  }, {
16386
16418
  enrollment_automation_id: z.ZodString;
16387
16419
  }>, {
@@ -23042,6 +23074,98 @@ declare const _default: {
23042
23074
  'x-route-path': string;
23043
23075
  deprecated?: never;
23044
23076
  'x-deprecated'?: never;
23077
+ } | {
23078
+ description: string;
23079
+ properties: {
23080
+ connected_account_id: {
23081
+ description: string;
23082
+ format: string;
23083
+ type: string;
23084
+ };
23085
+ created_at: {
23086
+ description: string;
23087
+ format: string;
23088
+ type: string;
23089
+ };
23090
+ device_id: {
23091
+ description: string;
23092
+ format: string;
23093
+ type: string;
23094
+ };
23095
+ event_id: {
23096
+ description: string;
23097
+ format: string;
23098
+ type: string;
23099
+ };
23100
+ event_type: {
23101
+ enum: string[];
23102
+ type: string;
23103
+ };
23104
+ occurred_at: {
23105
+ description: string;
23106
+ format: string;
23107
+ type: string;
23108
+ };
23109
+ temperature_celsius: {
23110
+ description: string;
23111
+ format: string;
23112
+ type: string;
23113
+ };
23114
+ temperature_fahrenheit: {
23115
+ description: string;
23116
+ format: string;
23117
+ type: string;
23118
+ };
23119
+ workspace_id: {
23120
+ description: string;
23121
+ format: string;
23122
+ type: string;
23123
+ };
23124
+ access_code_id?: never;
23125
+ code?: never;
23126
+ backup_access_code_id?: never;
23127
+ acs_system_id?: never;
23128
+ acs_credential_id?: never;
23129
+ acs_user_id?: never;
23130
+ acs_encoder_id?: never;
23131
+ acs_access_group_id?: never;
23132
+ client_session_id?: never;
23133
+ connect_webview_id?: never;
23134
+ action_attempt_id?: never;
23135
+ action_type?: never;
23136
+ status?: never;
23137
+ error_code?: never;
23138
+ battery_level?: never;
23139
+ battery_status?: never;
23140
+ minut_metadata?: never;
23141
+ noise_level_decibels?: never;
23142
+ noise_level_nrs?: never;
23143
+ noise_threshold_id?: never;
23144
+ noise_threshold_name?: never;
23145
+ noiseaware_metadata?: never;
23146
+ method?: never;
23147
+ climate_preset_key?: never;
23148
+ is_fallback_climate_preset?: never;
23149
+ thermostat_schedule_id?: never;
23150
+ cooling_set_point_celsius?: never;
23151
+ cooling_set_point_fahrenheit?: never;
23152
+ fan_mode_setting?: never;
23153
+ heating_set_point_celsius?: never;
23154
+ heating_set_point_fahrenheit?: never;
23155
+ hvac_mode_setting?: never;
23156
+ lower_limit_celsius?: never;
23157
+ lower_limit_fahrenheit?: never;
23158
+ upper_limit_celsius?: never;
23159
+ upper_limit_fahrenheit?: never;
23160
+ desired_temperature_celsius?: never;
23161
+ desired_temperature_fahrenheit?: never;
23162
+ enrollment_automation_id?: never;
23163
+ };
23164
+ required: string[];
23165
+ type: string;
23166
+ 'x-route-path': string;
23167
+ deprecated?: never;
23168
+ 'x-deprecated'?: never;
23045
23169
  } | {
23046
23170
  description: string;
23047
23171
  properties: {
@@ -37558,6 +37682,228 @@ declare const _default: {
37558
37682
  'x-title': string;
37559
37683
  };
37560
37684
  };
37685
+ '/thermostats/simulate/hvac_mode_adjusted': {
37686
+ post: {
37687
+ operationId: string;
37688
+ requestBody: {
37689
+ content: {
37690
+ 'application/json': {
37691
+ schema: {
37692
+ discriminator: {
37693
+ propertyName: string;
37694
+ };
37695
+ oneOf: ({
37696
+ properties: {
37697
+ device_id: {
37698
+ format: string;
37699
+ type: string;
37700
+ };
37701
+ hvac_mode: {
37702
+ enum: string[];
37703
+ type: string;
37704
+ };
37705
+ cooling_set_point_celsius?: never;
37706
+ cooling_set_point_fahrenheit?: never;
37707
+ heating_set_point_celsius?: never;
37708
+ heating_set_point_fahrenheit?: never;
37709
+ };
37710
+ required: string[];
37711
+ type: string;
37712
+ } | {
37713
+ properties: {
37714
+ cooling_set_point_celsius: {
37715
+ format: string;
37716
+ type: string;
37717
+ };
37718
+ cooling_set_point_fahrenheit: {
37719
+ format: string;
37720
+ type: string;
37721
+ };
37722
+ device_id: {
37723
+ format: string;
37724
+ type: string;
37725
+ };
37726
+ hvac_mode: {
37727
+ enum: string[];
37728
+ type: string;
37729
+ };
37730
+ heating_set_point_celsius?: never;
37731
+ heating_set_point_fahrenheit?: never;
37732
+ };
37733
+ required: string[];
37734
+ type: string;
37735
+ } | {
37736
+ properties: {
37737
+ device_id: {
37738
+ format: string;
37739
+ type: string;
37740
+ };
37741
+ heating_set_point_celsius: {
37742
+ format: string;
37743
+ type: string;
37744
+ };
37745
+ heating_set_point_fahrenheit: {
37746
+ format: string;
37747
+ type: string;
37748
+ };
37749
+ hvac_mode: {
37750
+ enum: string[];
37751
+ type: string;
37752
+ };
37753
+ cooling_set_point_celsius?: never;
37754
+ cooling_set_point_fahrenheit?: never;
37755
+ };
37756
+ required: string[];
37757
+ type: string;
37758
+ } | {
37759
+ properties: {
37760
+ cooling_set_point_celsius: {
37761
+ format: string;
37762
+ type: string;
37763
+ };
37764
+ cooling_set_point_fahrenheit: {
37765
+ format: string;
37766
+ type: string;
37767
+ };
37768
+ device_id: {
37769
+ format: string;
37770
+ type: string;
37771
+ };
37772
+ heating_set_point_celsius: {
37773
+ format: string;
37774
+ type: string;
37775
+ };
37776
+ heating_set_point_fahrenheit: {
37777
+ format: string;
37778
+ type: string;
37779
+ };
37780
+ hvac_mode: {
37781
+ enum: string[];
37782
+ type: string;
37783
+ };
37784
+ };
37785
+ required: string[];
37786
+ type: string;
37787
+ })[];
37788
+ };
37789
+ };
37790
+ };
37791
+ };
37792
+ responses: {
37793
+ 200: {
37794
+ content: {
37795
+ 'application/json': {
37796
+ schema: {
37797
+ properties: {
37798
+ ok: {
37799
+ type: string;
37800
+ };
37801
+ };
37802
+ required: string[];
37803
+ type: string;
37804
+ };
37805
+ };
37806
+ };
37807
+ description: string;
37808
+ };
37809
+ 400: {
37810
+ description: string;
37811
+ };
37812
+ 401: {
37813
+ description: string;
37814
+ };
37815
+ };
37816
+ security: ({
37817
+ api_key: never[];
37818
+ pat_with_workspace?: never;
37819
+ console_session_with_workspace?: never;
37820
+ } | {
37821
+ pat_with_workspace: never[];
37822
+ api_key?: never;
37823
+ console_session_with_workspace?: never;
37824
+ } | {
37825
+ console_session_with_workspace: never[];
37826
+ api_key?: never;
37827
+ pat_with_workspace?: never;
37828
+ })[];
37829
+ summary: string;
37830
+ tags: string[];
37831
+ 'x-fern-sdk-group-name': string[];
37832
+ 'x-fern-sdk-method-name': string;
37833
+ 'x-response-key': null;
37834
+ };
37835
+ };
37836
+ '/thermostats/simulate/temperature_reached': {
37837
+ post: {
37838
+ operationId: string;
37839
+ requestBody: {
37840
+ content: {
37841
+ 'application/json': {
37842
+ schema: {
37843
+ properties: {
37844
+ device_id: {
37845
+ format: string;
37846
+ type: string;
37847
+ };
37848
+ temperature_celsius: {
37849
+ format: string;
37850
+ type: string;
37851
+ };
37852
+ temperature_fahrenheit: {
37853
+ format: string;
37854
+ type: string;
37855
+ };
37856
+ };
37857
+ required: string[];
37858
+ type: string;
37859
+ };
37860
+ };
37861
+ };
37862
+ };
37863
+ responses: {
37864
+ 200: {
37865
+ content: {
37866
+ 'application/json': {
37867
+ schema: {
37868
+ properties: {
37869
+ ok: {
37870
+ type: string;
37871
+ };
37872
+ };
37873
+ required: string[];
37874
+ type: string;
37875
+ };
37876
+ };
37877
+ };
37878
+ description: string;
37879
+ };
37880
+ 400: {
37881
+ description: string;
37882
+ };
37883
+ 401: {
37884
+ description: string;
37885
+ };
37886
+ };
37887
+ security: ({
37888
+ api_key: never[];
37889
+ pat_with_workspace?: never;
37890
+ console_session_with_workspace?: never;
37891
+ } | {
37892
+ pat_with_workspace: never[];
37893
+ api_key?: never;
37894
+ console_session_with_workspace?: never;
37895
+ } | {
37896
+ console_session_with_workspace: never[];
37897
+ api_key?: never;
37898
+ pat_with_workspace?: never;
37899
+ })[];
37900
+ summary: string;
37901
+ tags: string[];
37902
+ 'x-fern-sdk-group-name': string[];
37903
+ 'x-fern-sdk-method-name': string;
37904
+ 'x-response-key': null;
37905
+ };
37906
+ };
37561
37907
  '/thermostats/update_climate_preset': {
37562
37908
  patch: {
37563
37909
  description: string;
@@ -40497,8 +40843,7 @@ interface Routes {
40497
40843
  status: 'success';
40498
40844
  error: null;
40499
40845
  action_type: 'ENCODE_CREDENTIAL';
40500
- /** Means by which a user gains access at an entrance.
40501
- 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. */
40846
+ /** 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. */
40502
40847
  result: {
40503
40848
  /** ID of the credential. */
40504
40849
  acs_credential_id: string;
@@ -41907,8 +42252,7 @@ interface Routes {
41907
42252
  status: 'success';
41908
42253
  error: null;
41909
42254
  action_type: 'ENCODE_CREDENTIAL';
41910
- /** Means by which a user gains access at an entrance.
41911
- 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. */
42255
+ /** 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. */
41912
42256
  result: {
41913
42257
  /** ID of the credential. */
41914
42258
  acs_credential_id: string;
@@ -44123,8 +44467,7 @@ interface Routes {
44123
44467
  status: 'success';
44124
44468
  error: null;
44125
44469
  action_type: 'ENCODE_CREDENTIAL';
44126
- /** Means by which a user gains access at an entrance.
44127
- 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. */
44470
+ /** 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. */
44128
44471
  result: {
44129
44472
  /** ID of the credential. */
44130
44473
  acs_credential_id: string;
@@ -45520,8 +45863,7 @@ interface Routes {
45520
45863
  status: 'success';
45521
45864
  error: null;
45522
45865
  action_type: 'ENCODE_CREDENTIAL';
45523
- /** Means by which a user gains access at an entrance.
45524
- 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. */
45866
+ /** 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. */
45525
45867
  result: {
45526
45868
  /** ID of the credential. */
45527
45869
  acs_credential_id: string;
@@ -46500,8 +46842,7 @@ interface Routes {
46500
46842
  commonParams: {};
46501
46843
  formData: {};
46502
46844
  jsonResponse: {
46503
- /** Means by which a user gains access at an entrance.
46504
- 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. */
46845
+ /** 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. */
46505
46846
  acs_credential: {
46506
46847
  /** ID of the credential. */
46507
46848
  acs_credential_id: string;
@@ -46663,8 +47004,7 @@ interface Routes {
46663
47004
  };
46664
47005
  formData: {};
46665
47006
  jsonResponse: {
46666
- /** Means by which a user gains access at an entrance.
46667
- 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. */
47007
+ /** 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. */
46668
47008
  acs_credential: {
46669
47009
  /** ID of the credential. */
46670
47010
  acs_credential_id: string;
@@ -46795,8 +47135,7 @@ interface Routes {
46795
47135
  };
46796
47136
  formData: {};
46797
47137
  jsonResponse: {
46798
- /** Means by which a user gains access at an entrance.
46799
- 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. */
47138
+ /** 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. */
46800
47139
  acs_credential: {
46801
47140
  /** ID of the credential. */
46802
47141
  acs_credential_id: string;
@@ -46931,8 +47270,7 @@ interface Routes {
46931
47270
  };
46932
47271
  formData: {};
46933
47272
  jsonResponse: {
46934
- /** Means by which a user gains access at an entrance.
46935
- 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. */
47273
+ /** 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. */
46936
47274
  acs_credential: {
46937
47275
  /** ID of the credential. */
46938
47276
  acs_credential_id: string;
@@ -47263,8 +47601,7 @@ interface Routes {
47263
47601
  commonParams: {};
47264
47602
  formData: {};
47265
47603
  jsonResponse: {
47266
- /** Means by which a user gains access at an entrance.
47267
- 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. */
47604
+ /** 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. */
47268
47605
  acs_credential: {
47269
47606
  /** ID of the credential. */
47270
47607
  acs_credential_id: string;
@@ -47387,8 +47724,7 @@ interface Routes {
47387
47724
  };
47388
47725
  formData: {};
47389
47726
  jsonResponse: {
47390
- /** Means by which a user gains access at an entrance.
47391
- 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. */
47727
+ /** 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. */
47392
47728
  acs_credential: {
47393
47729
  /** ID of the credential. */
47394
47730
  acs_credential_id: string;
@@ -47648,8 +47984,7 @@ interface Routes {
47648
47984
  commonParams: {};
47649
47985
  formData: {};
47650
47986
  jsonResponse: {
47651
- /** Means by which a user gains access at an entrance.
47652
- 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. */
47987
+ /** 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. */
47653
47988
  acs_credential: {
47654
47989
  /** ID of the credential. */
47655
47990
  acs_credential_id: string;
@@ -48116,8 +48451,7 @@ interface Routes {
48116
48451
  status: 'success';
48117
48452
  error: null;
48118
48453
  action_type: 'ENCODE_CREDENTIAL';
48119
- /** Means by which a user gains access at an entrance.
48120
- 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. */
48454
+ /** 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. */
48121
48455
  result: {
48122
48456
  /** ID of the credential. */
48123
48457
  acs_credential_id: string;
@@ -49031,8 +49365,7 @@ interface Routes {
49031
49365
  status: 'success';
49032
49366
  error: null;
49033
49367
  action_type: 'ENCODE_CREDENTIAL';
49034
- /** Means by which a user gains access at an entrance.
49035
- 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. */
49368
+ /** 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. */
49036
49369
  result: {
49037
49370
  /** ID of the credential. */
49038
49371
  acs_credential_id: string;
@@ -51361,8 +51694,7 @@ interface Routes {
51361
51694
  status: 'success';
51362
51695
  error: null;
51363
51696
  action_type: 'ENCODE_CREDENTIAL';
51364
- /** Means by which a user gains access at an entrance.
51365
- 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. */
51697
+ /** 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. */
51366
51698
  result: {
51367
51699
  /** ID of the credential. */
51368
51700
  acs_credential_id: string;
@@ -52228,8 +52560,7 @@ interface Routes {
52228
52560
  status: 'success';
52229
52561
  error: null;
52230
52562
  action_type: 'ENCODE_CREDENTIAL';
52231
- /** Means by which a user gains access at an entrance.
52232
- 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. */
52563
+ /** 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. */
52233
52564
  result: {
52234
52565
  /** ID of the credential. */
52235
52566
  acs_credential_id: string;
@@ -56317,6 +56648,24 @@ interface Routes {
56317
56648
  desired_temperature_celsius?: number | undefined;
56318
56649
  /** Desired temperature, in °F, defined by the [thermostat's](https://docs.seam.co/latest/capability-guides/thermostats) cooling or heating [set point](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points). */
56319
56650
  desired_temperature_fahrenheit?: number | undefined;
56651
+ } | {
56652
+ /** ID of the event. */
56653
+ event_id: string;
56654
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
56655
+ workspace_id: string;
56656
+ /** Date and time at which the event was created. */
56657
+ created_at: string;
56658
+ /** Date and time at which the event occurred. */
56659
+ occurred_at: string;
56660
+ /** ID of the device. */
56661
+ device_id: string;
56662
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
56663
+ connected_account_id: string;
56664
+ event_type: 'thermostat.temperature_changed_event';
56665
+ /** Temperature, in °C, reported by the [thermostat](https://docs.seam.co/latest/capability-guides/thermostats). */
56666
+ temperature_celsius: number;
56667
+ /** Temperature, in °F, reported by the [thermostat](https://docs.seam.co/latest/capability-guides/thermostats). */
56668
+ temperature_fahrenheit: number;
56320
56669
  } | {
56321
56670
  /** ID of the event. */
56322
56671
  event_id: string;
@@ -56360,8 +56709,8 @@ interface Routes {
56360
56709
  acs_system_ids?: string[] | undefined;
56361
56710
  access_code_id?: string | undefined;
56362
56711
  access_code_ids?: string[] | undefined;
56363
- event_type?: ('access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.deleted' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | 'client_session.deleted' | 'connected_account.connected' | 'connected_account.created' | 'connected_account.successful_login' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.deleted' | 'connected_account.completed_first_sync_after_reconnection' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'device.connected' | 'device.added' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.removed' | 'device.deleted' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'noise_sensor.noise_threshold_triggered' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded' | 'thermostat.temperature_reached_set_point' | 'enrollment_automation.deleted' | 'phone.deactivated') | undefined;
56364
- event_types?: Array<'access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.deleted' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | 'client_session.deleted' | 'connected_account.connected' | 'connected_account.created' | 'connected_account.successful_login' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.deleted' | 'connected_account.completed_first_sync_after_reconnection' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'device.connected' | 'device.added' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.removed' | 'device.deleted' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'noise_sensor.noise_threshold_triggered' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded' | 'thermostat.temperature_reached_set_point' | 'enrollment_automation.deleted' | 'phone.deactivated'> | undefined;
56712
+ event_type?: ('access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.deleted' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | 'client_session.deleted' | 'connected_account.connected' | 'connected_account.created' | 'connected_account.successful_login' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.deleted' | 'connected_account.completed_first_sync_after_reconnection' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'device.connected' | 'device.added' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.removed' | 'device.deleted' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'noise_sensor.noise_threshold_triggered' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded' | 'thermostat.temperature_reached_set_point' | 'thermostat.temperature_changed_event' | 'enrollment_automation.deleted' | 'phone.deactivated') | undefined;
56713
+ event_types?: Array<'access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.deleted' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | 'client_session.deleted' | 'connected_account.connected' | 'connected_account.created' | 'connected_account.successful_login' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.deleted' | 'connected_account.completed_first_sync_after_reconnection' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'device.connected' | 'device.added' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.removed' | 'device.deleted' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'noise_sensor.noise_threshold_triggered' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded' | 'thermostat.temperature_reached_set_point' | 'thermostat.temperature_changed_event' | 'enrollment_automation.deleted' | 'phone.deactivated'> | undefined;
56365
56714
  connected_account_id?: string | undefined;
56366
56715
  connect_webview_id?: string | undefined;
56367
56716
  limit?: number;
@@ -57510,6 +57859,24 @@ interface Routes {
57510
57859
  desired_temperature_celsius?: number | undefined;
57511
57860
  /** Desired temperature, in °F, defined by the [thermostat's](https://docs.seam.co/latest/capability-guides/thermostats) cooling or heating [set point](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points). */
57512
57861
  desired_temperature_fahrenheit?: number | undefined;
57862
+ } | {
57863
+ /** ID of the event. */
57864
+ event_id: string;
57865
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
57866
+ workspace_id: string;
57867
+ /** Date and time at which the event was created. */
57868
+ created_at: string;
57869
+ /** Date and time at which the event occurred. */
57870
+ occurred_at: string;
57871
+ /** ID of the device. */
57872
+ device_id: string;
57873
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
57874
+ connected_account_id: string;
57875
+ event_type: 'thermostat.temperature_changed_event';
57876
+ /** Temperature, in °C, reported by the [thermostat](https://docs.seam.co/latest/capability-guides/thermostats). */
57877
+ temperature_celsius: number;
57878
+ /** Temperature, in °F, reported by the [thermostat](https://docs.seam.co/latest/capability-guides/thermostats). */
57879
+ temperature_fahrenheit: number;
57513
57880
  } | {
57514
57881
  /** ID of the event. */
57515
57882
  event_id: string;
@@ -60546,8 +60913,7 @@ interface Routes {
60546
60913
  status: 'success';
60547
60914
  error: null;
60548
60915
  action_type: 'ENCODE_CREDENTIAL';
60549
- /** Means by which a user gains access at an entrance.
60550
- 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. */
60916
+ /** 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. */
60551
60917
  result: {
60552
60918
  /** ID of the credential. */
60553
60919
  acs_credential_id: string;
@@ -61415,8 +61781,7 @@ interface Routes {
61415
61781
  status: 'success';
61416
61782
  error: null;
61417
61783
  action_type: 'ENCODE_CREDENTIAL';
61418
- /** Means by which a user gains access at an entrance.
61419
- 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. */
61784
+ /** 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. */
61420
61785
  result: {
61421
61786
  /** ID of the credential. */
61422
61787
  acs_credential_id: string;
@@ -63663,8 +64028,7 @@ interface Routes {
63663
64028
  status: 'success';
63664
64029
  error: null;
63665
64030
  action_type: 'ENCODE_CREDENTIAL';
63666
- /** Means by which a user gains access at an entrance.
63667
- 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. */
64031
+ /** 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. */
63668
64032
  result: {
63669
64033
  /** ID of the credential. */
63670
64034
  acs_credential_id: string;
@@ -64543,8 +64907,7 @@ interface Routes {
64543
64907
  status: 'success';
64544
64908
  error: null;
64545
64909
  action_type: 'ENCODE_CREDENTIAL';
64546
- /** Means by which a user gains access at an entrance.
64547
- 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. */
64910
+ /** 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. */
64548
64911
  result: {
64549
64912
  /** ID of the credential. */
64550
64913
  acs_credential_id: string;
@@ -65462,8 +65825,7 @@ interface Routes {
65462
65825
  status: 'success';
65463
65826
  error: null;
65464
65827
  action_type: 'ENCODE_CREDENTIAL';
65465
- /** Means by which a user gains access at an entrance.
65466
- 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. */
65828
+ /** 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. */
65467
65829
  result: {
65468
65830
  /** ID of the credential. */
65469
65831
  acs_credential_id: string;
@@ -66778,8 +67140,7 @@ interface Routes {
66778
67140
  status: 'success';
66779
67141
  error: null;
66780
67142
  action_type: 'ENCODE_CREDENTIAL';
66781
- /** Means by which a user gains access at an entrance.
66782
- 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. */
67143
+ /** 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. */
66783
67144
  result: {
66784
67145
  /** ID of the credential. */
66785
67146
  acs_credential_id: string;
@@ -67653,8 +68014,7 @@ interface Routes {
67653
68014
  status: 'success';
67654
68015
  error: null;
67655
68016
  action_type: 'ENCODE_CREDENTIAL';
67656
- /** Means by which a user gains access at an entrance.
67657
- 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. */
68017
+ /** 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. */
67658
68018
  result: {
67659
68019
  /** ID of the credential. */
67660
68020
  acs_credential_id: string;
@@ -69240,8 +69600,7 @@ interface Routes {
69240
69600
  status: 'success';
69241
69601
  error: null;
69242
69602
  action_type: 'ENCODE_CREDENTIAL';
69243
- /** Means by which a user gains access at an entrance.
69244
- 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. */
69603
+ /** 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. */
69245
69604
  result: {
69246
69605
  /** ID of the credential. */
69247
69606
  acs_credential_id: string;
@@ -70119,8 +70478,7 @@ interface Routes {
70119
70478
  status: 'success';
70120
70479
  error: null;
70121
70480
  action_type: 'ENCODE_CREDENTIAL';
70122
- /** Means by which a user gains access at an entrance.
70123
- 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. */
70481
+ /** 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. */
70124
70482
  result: {
70125
70483
  /** ID of the credential. */
70126
70484
  acs_credential_id: string;
@@ -72329,8 +72687,7 @@ interface Routes {
72329
72687
  status: 'success';
72330
72688
  error: null;
72331
72689
  action_type: 'ENCODE_CREDENTIAL';
72332
- /** Means by which a user gains access at an entrance.
72333
- 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. */
72690
+ /** 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. */
72334
72691
  result: {
72335
72692
  /** ID of the credential. */
72336
72693
  acs_credential_id: string;
@@ -73384,8 +73741,7 @@ interface Routes {
73384
73741
  status: 'success';
73385
73742
  error: null;
73386
73743
  action_type: 'ENCODE_CREDENTIAL';
73387
- /** Means by which a user gains access at an entrance.
73388
- 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. */
73744
+ /** 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. */
73389
73745
  result: {
73390
73746
  /** ID of the credential. */
73391
73747
  acs_credential_id: string;
@@ -74282,8 +74638,7 @@ interface Routes {
74282
74638
  status: 'success';
74283
74639
  error: null;
74284
74640
  action_type: 'ENCODE_CREDENTIAL';
74285
- /** Means by which a user gains access at an entrance.
74286
- 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. */
74641
+ /** 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. */
74287
74642
  result: {
74288
74643
  /** ID of the credential. */
74289
74644
  acs_credential_id: string;
@@ -74818,6 +75173,48 @@ interface Routes {
74818
75173
  formData: {};
74819
75174
  jsonResponse: {};
74820
75175
  };
75176
+ '/thermostats/simulate/hvac_mode_adjusted': {
75177
+ route: '/thermostats/simulate/hvac_mode_adjusted';
75178
+ method: 'POST';
75179
+ queryParams: {};
75180
+ jsonBody: {
75181
+ hvac_mode: 'off';
75182
+ device_id: string;
75183
+ } | {
75184
+ hvac_mode: 'cool';
75185
+ device_id: string;
75186
+ cooling_set_point_celsius?: number | undefined;
75187
+ cooling_set_point_fahrenheit?: number | undefined;
75188
+ } | {
75189
+ hvac_mode: 'heat';
75190
+ device_id: string;
75191
+ heating_set_point_celsius?: number | undefined;
75192
+ heating_set_point_fahrenheit?: number | undefined;
75193
+ } | {
75194
+ hvac_mode: 'heat_cool';
75195
+ device_id: string;
75196
+ cooling_set_point_celsius?: number | undefined;
75197
+ cooling_set_point_fahrenheit?: number | undefined;
75198
+ heating_set_point_celsius?: number | undefined;
75199
+ heating_set_point_fahrenheit?: number | undefined;
75200
+ };
75201
+ commonParams: {};
75202
+ formData: {};
75203
+ jsonResponse: {};
75204
+ };
75205
+ '/thermostats/simulate/temperature_reached': {
75206
+ route: '/thermostats/simulate/temperature_reached';
75207
+ method: 'POST';
75208
+ queryParams: {};
75209
+ jsonBody: {
75210
+ device_id: string;
75211
+ temperature_celsius?: number | undefined;
75212
+ temperature_fahrenheit?: number | undefined;
75213
+ };
75214
+ commonParams: {};
75215
+ formData: {};
75216
+ jsonResponse: {};
75217
+ };
74821
75218
  '/thermostats/update_climate_preset': {
74822
75219
  route: '/thermostats/update_climate_preset';
74823
75220
  method: 'POST' | 'PATCH';
@@ -77172,8 +77569,7 @@ interface Routes {
77172
77569
  status: 'success';
77173
77570
  error: null;
77174
77571
  action_type: 'ENCODE_CREDENTIAL';
77175
- /** Means by which a user gains access at an entrance.
77176
- 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. */
77572
+ /** 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. */
77177
77573
  result: {
77178
77574
  /** ID of the credential. */
77179
77575
  acs_credential_id: string;