@seamapi/types 1.128.0 → 1.130.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.
@@ -827,6 +827,16 @@ declare const _default: {
827
827
  allOf: ({
828
828
  allOf: ({
829
829
  properties: {
830
+ appearance: {
831
+ properties: {
832
+ name: {
833
+ description: string;
834
+ type: string;
835
+ };
836
+ };
837
+ required: string[];
838
+ type: string;
839
+ };
830
840
  battery: {
831
841
  description: string;
832
842
  properties: {
@@ -896,6 +906,10 @@ declare const _default: {
896
906
  description: string;
897
907
  type: string;
898
908
  };
909
+ nickname: {
910
+ description: string;
911
+ type: string;
912
+ };
899
913
  offline_access_codes_enabled: {
900
914
  description: string;
901
915
  type: string;
@@ -950,6 +964,7 @@ declare const _default: {
950
964
  required: string[];
951
965
  type: string;
952
966
  };
967
+ appearance?: never;
953
968
  battery?: never;
954
969
  battery_level?: never;
955
970
  has_direct_power?: never;
@@ -958,6 +973,7 @@ declare const _default: {
958
973
  manufacturer?: never;
959
974
  model?: never;
960
975
  name?: never;
976
+ nickname?: never;
961
977
  offline_access_codes_enabled?: never;
962
978
  online?: never;
963
979
  online_access_codes_enabled?: never;
@@ -12055,20 +12071,25 @@ declare const _default: {
12055
12071
  };
12056
12072
  };
12057
12073
  security: ({
12058
- access_token: never[];
12059
- seam_workspace: never[];
12060
- seam_client_session_token?: never;
12061
- client_session_token?: never;
12074
+ client_session: never[];
12075
+ pat_with_workspace?: never;
12076
+ console_session?: never;
12077
+ api_key?: never;
12062
12078
  } | {
12063
- seam_client_session_token: never[];
12064
- access_token?: never;
12065
- seam_workspace?: never;
12066
- client_session_token?: never;
12079
+ pat_with_workspace: never[];
12080
+ client_session?: never;
12081
+ console_session?: never;
12082
+ api_key?: never;
12067
12083
  } | {
12068
- client_session_token: never[];
12069
- access_token?: never;
12070
- seam_workspace?: never;
12071
- seam_client_session_token?: never;
12084
+ console_session: never[];
12085
+ client_session?: never;
12086
+ pat_with_workspace?: never;
12087
+ api_key?: never;
12088
+ } | {
12089
+ api_key: never[];
12090
+ client_session?: never;
12091
+ pat_with_workspace?: never;
12092
+ console_session?: never;
12072
12093
  })[];
12073
12094
  summary: string;
12074
12095
  tags: string[];
@@ -13852,6 +13873,9 @@ declare const _default: {
13852
13873
  'application/json': {
13853
13874
  schema: {
13854
13875
  properties: {
13876
+ action_attempt: {
13877
+ $ref: string;
13878
+ };
13855
13879
  ok: {
13856
13880
  type: string;
13857
13881
  };
@@ -13890,6 +13914,7 @@ declare const _default: {
13890
13914
  tags: string[];
13891
13915
  'x-fern-sdk-group-name': string[];
13892
13916
  'x-fern-sdk-method-name': string;
13917
+ 'x-fern-sdk-return-value': string;
13893
13918
  };
13894
13919
  };
13895
13920
  '/thermostats/get': {
@@ -13998,6 +14023,9 @@ declare const _default: {
13998
14023
  'application/json': {
13999
14024
  schema: {
14000
14025
  properties: {
14026
+ action_attempt: {
14027
+ $ref: string;
14028
+ };
14001
14029
  ok: {
14002
14030
  type: string;
14003
14031
  };
@@ -14036,6 +14064,7 @@ declare const _default: {
14036
14064
  tags: string[];
14037
14065
  'x-fern-sdk-group-name': string[];
14038
14066
  'x-fern-sdk-method-name': string;
14067
+ 'x-fern-sdk-return-value': string;
14039
14068
  };
14040
14069
  };
14041
14070
  '/thermostats/heat_cool': {
@@ -14079,6 +14108,9 @@ declare const _default: {
14079
14108
  'application/json': {
14080
14109
  schema: {
14081
14110
  properties: {
14111
+ action_attempt: {
14112
+ $ref: string;
14113
+ };
14082
14114
  ok: {
14083
14115
  type: string;
14084
14116
  };
@@ -14117,6 +14149,7 @@ declare const _default: {
14117
14149
  tags: string[];
14118
14150
  'x-fern-sdk-group-name': string[];
14119
14151
  'x-fern-sdk-method-name': string;
14152
+ 'x-fern-sdk-return-value': string;
14120
14153
  };
14121
14154
  };
14122
14155
  '/thermostats/list': {
@@ -14289,6 +14322,9 @@ declare const _default: {
14289
14322
  'application/json': {
14290
14323
  schema: {
14291
14324
  properties: {
14325
+ action_attempt: {
14326
+ $ref: string;
14327
+ };
14292
14328
  ok: {
14293
14329
  type: string;
14294
14330
  };
@@ -14327,6 +14363,7 @@ declare const _default: {
14327
14363
  tags: string[];
14328
14364
  'x-fern-sdk-group-name': string[];
14329
14365
  'x-fern-sdk-method-name': string;
14366
+ 'x-fern-sdk-return-value': string;
14330
14367
  };
14331
14368
  };
14332
14369
  '/thermostats/set_fan_mode': {
@@ -14366,6 +14403,9 @@ declare const _default: {
14366
14403
  'application/json': {
14367
14404
  schema: {
14368
14405
  properties: {
14406
+ action_attempt: {
14407
+ $ref: string;
14408
+ };
14369
14409
  ok: {
14370
14410
  type: string;
14371
14411
  };
@@ -14404,6 +14444,7 @@ declare const _default: {
14404
14444
  tags: string[];
14405
14445
  'x-fern-sdk-group-name': string[];
14406
14446
  'x-fern-sdk-method-name': string;
14447
+ 'x-fern-sdk-return-value': string;
14407
14448
  };
14408
14449
  };
14409
14450
  '/thermostats/update': {
@@ -18857,6 +18898,12 @@ interface Routes {
18857
18898
  online: boolean;
18858
18899
  /** Name of the device. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
18859
18900
  name: string;
18901
+ /** Optional nickname to describe the device, settable through Seam. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
18902
+ nickname?: string | undefined;
18903
+ appearance: {
18904
+ /** Name of the device as seen from the provider API and application, not settable through Seam. */
18905
+ name: string;
18906
+ };
18860
18907
  model: {
18861
18908
  /** Display name of the device model. */
18862
18909
  display_name: string;
@@ -19347,6 +19394,12 @@ interface Routes {
19347
19394
  online: boolean;
19348
19395
  /** Name of the device. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
19349
19396
  name: string;
19397
+ /** Optional nickname to describe the device, settable through Seam. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
19398
+ nickname?: string | undefined;
19399
+ appearance: {
19400
+ /** Name of the device as seen from the provider API and application, not settable through Seam. */
19401
+ name: string;
19402
+ };
19350
19403
  model: {
19351
19404
  /** Display name of the device model. */
19352
19405
  display_name: string;
@@ -20160,6 +20213,12 @@ interface Routes {
20160
20213
  online: boolean;
20161
20214
  /** Name of the device. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
20162
20215
  name: string;
20216
+ /** Optional nickname to describe the device, settable through Seam. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
20217
+ nickname?: string | undefined;
20218
+ appearance: {
20219
+ /** Name of the device as seen from the provider API and application, not settable through Seam. */
20220
+ name: string;
20221
+ };
20163
20222
  model: {
20164
20223
  /** Display name of the device model. */
20165
20224
  display_name: string;
@@ -20627,6 +20686,12 @@ interface Routes {
20627
20686
  online: boolean;
20628
20687
  /** Name of the device. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
20629
20688
  name: string;
20689
+ /** Optional nickname to describe the device, settable through Seam. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
20690
+ nickname?: string | undefined;
20691
+ appearance: {
20692
+ /** Name of the device as seen from the provider API and application, not settable through Seam. */
20693
+ name: string;
20694
+ };
20630
20695
  model: {
20631
20696
  /** Display name of the device model. */
20632
20697
  display_name: string;
@@ -21117,6 +21182,12 @@ interface Routes {
21117
21182
  online: boolean;
21118
21183
  /** Name of the device. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
21119
21184
  name: string;
21185
+ /** Optional nickname to describe the device, settable through Seam. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
21186
+ nickname?: string | undefined;
21187
+ appearance: {
21188
+ /** Name of the device as seen from the provider API and application, not settable through Seam. */
21189
+ name: string;
21190
+ };
21120
21191
  model: {
21121
21192
  /** Display name of the device model. */
21122
21193
  display_name: string;
@@ -21584,6 +21655,12 @@ interface Routes {
21584
21655
  online: boolean;
21585
21656
  /** Name of the device. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
21586
21657
  name: string;
21658
+ /** Optional nickname to describe the device, settable through Seam. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
21659
+ nickname?: string | undefined;
21660
+ appearance: {
21661
+ /** Name of the device as seen from the provider API and application, not settable through Seam. */
21662
+ name: string;
21663
+ };
21587
21664
  model: {
21588
21665
  /** Display name of the device model. */
21589
21666
  display_name: string;
@@ -22631,7 +22708,30 @@ interface Routes {
22631
22708
  };
22632
22709
  commonParams: {};
22633
22710
  formData: {};
22634
- jsonResponse: {};
22711
+ jsonResponse: {
22712
+ action_attempt: {
22713
+ status: 'success';
22714
+ action_type: string;
22715
+ action_attempt_id: string;
22716
+ result?: any;
22717
+ error: null;
22718
+ } | {
22719
+ status: 'pending';
22720
+ action_type: string;
22721
+ action_attempt_id: string;
22722
+ result: null;
22723
+ error: null;
22724
+ } | {
22725
+ status: 'error';
22726
+ action_type: string;
22727
+ action_attempt_id: string;
22728
+ result: null;
22729
+ error: {
22730
+ type: string;
22731
+ message: string;
22732
+ };
22733
+ };
22734
+ };
22635
22735
  };
22636
22736
  '/thermostats/get': {
22637
22737
  route: '/thermostats/get';
@@ -22657,6 +22757,12 @@ interface Routes {
22657
22757
  online: boolean;
22658
22758
  /** Name of the device. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
22659
22759
  name: string;
22760
+ /** Optional nickname to describe the device, settable through Seam. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
22761
+ nickname?: string | undefined;
22762
+ appearance: {
22763
+ /** Name of the device as seen from the provider API and application, not settable through Seam. */
22764
+ name: string;
22765
+ };
22660
22766
  model: {
22661
22767
  /** Display name of the device model. */
22662
22768
  display_name: string;
@@ -23125,7 +23231,30 @@ interface Routes {
23125
23231
  };
23126
23232
  commonParams: {};
23127
23233
  formData: {};
23128
- jsonResponse: {};
23234
+ jsonResponse: {
23235
+ action_attempt: {
23236
+ status: 'success';
23237
+ action_type: string;
23238
+ action_attempt_id: string;
23239
+ result?: any;
23240
+ error: null;
23241
+ } | {
23242
+ status: 'pending';
23243
+ action_type: string;
23244
+ action_attempt_id: string;
23245
+ result: null;
23246
+ error: null;
23247
+ } | {
23248
+ status: 'error';
23249
+ action_type: string;
23250
+ action_attempt_id: string;
23251
+ result: null;
23252
+ error: {
23253
+ type: string;
23254
+ message: string;
23255
+ };
23256
+ };
23257
+ };
23129
23258
  };
23130
23259
  '/thermostats/heat_cool': {
23131
23260
  route: '/thermostats/heat_cool';
@@ -23141,7 +23270,30 @@ interface Routes {
23141
23270
  };
23142
23271
  commonParams: {};
23143
23272
  formData: {};
23144
- jsonResponse: {};
23273
+ jsonResponse: {
23274
+ action_attempt: {
23275
+ status: 'success';
23276
+ action_type: string;
23277
+ action_attempt_id: string;
23278
+ result?: any;
23279
+ error: null;
23280
+ } | {
23281
+ status: 'pending';
23282
+ action_type: string;
23283
+ action_attempt_id: string;
23284
+ result: null;
23285
+ error: null;
23286
+ } | {
23287
+ status: 'error';
23288
+ action_type: string;
23289
+ action_attempt_id: string;
23290
+ result: null;
23291
+ error: {
23292
+ type: string;
23293
+ message: string;
23294
+ };
23295
+ };
23296
+ };
23145
23297
  };
23146
23298
  '/thermostats/list': {
23147
23299
  route: '/thermostats/list';
@@ -23177,6 +23329,12 @@ interface Routes {
23177
23329
  online: boolean;
23178
23330
  /** Name of the device. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
23179
23331
  name: string;
23332
+ /** Optional nickname to describe the device, settable through Seam. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
23333
+ nickname?: string | undefined;
23334
+ appearance: {
23335
+ /** Name of the device as seen from the provider API and application, not settable through Seam. */
23336
+ name: string;
23337
+ };
23180
23338
  model: {
23181
23339
  /** Display name of the device model. */
23182
23340
  display_name: string;
@@ -23643,7 +23801,30 @@ interface Routes {
23643
23801
  };
23644
23802
  commonParams: {};
23645
23803
  formData: {};
23646
- jsonResponse: {};
23804
+ jsonResponse: {
23805
+ action_attempt: {
23806
+ status: 'success';
23807
+ action_type: string;
23808
+ action_attempt_id: string;
23809
+ result?: any;
23810
+ error: null;
23811
+ } | {
23812
+ status: 'pending';
23813
+ action_type: string;
23814
+ action_attempt_id: string;
23815
+ result: null;
23816
+ error: null;
23817
+ } | {
23818
+ status: 'error';
23819
+ action_type: string;
23820
+ action_attempt_id: string;
23821
+ result: null;
23822
+ error: {
23823
+ type: string;
23824
+ message: string;
23825
+ };
23826
+ };
23827
+ };
23647
23828
  };
23648
23829
  '/thermostats/set_fan_mode': {
23649
23830
  route: '/thermostats/set_fan_mode';
@@ -23657,7 +23838,30 @@ interface Routes {
23657
23838
  };
23658
23839
  commonParams: {};
23659
23840
  formData: {};
23660
- jsonResponse: {};
23841
+ jsonResponse: {
23842
+ action_attempt: {
23843
+ status: 'success';
23844
+ action_type: string;
23845
+ action_attempt_id: string;
23846
+ result?: any;
23847
+ error: null;
23848
+ } | {
23849
+ status: 'pending';
23850
+ action_type: string;
23851
+ action_attempt_id: string;
23852
+ result: null;
23853
+ error: null;
23854
+ } | {
23855
+ status: 'error';
23856
+ action_type: string;
23857
+ action_attempt_id: string;
23858
+ result: null;
23859
+ error: {
23860
+ type: string;
23861
+ message: string;
23862
+ };
23863
+ };
23864
+ };
23661
23865
  };
23662
23866
  '/thermostats/update': {
23663
23867
  route: '/thermostats/update';
@@ -23882,6 +24086,12 @@ interface Routes {
23882
24086
  online: boolean;
23883
24087
  /** Name of the device. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
23884
24088
  name: string;
24089
+ /** Optional nickname to describe the device, settable through Seam. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
24090
+ nickname?: string | undefined;
24091
+ appearance: {
24092
+ /** Name of the device as seen from the provider API and application, not settable through Seam. */
24093
+ name: string;
24094
+ };
23885
24095
  model: {
23886
24096
  /** Display name of the device model. */
23887
24097
  display_name: string;
@@ -753,6 +753,16 @@ declare const _default: {
753
753
  allOf: ({
754
754
  allOf: ({
755
755
  properties: {
756
+ appearance: {
757
+ properties: {
758
+ name: {
759
+ description: string;
760
+ type: string;
761
+ };
762
+ };
763
+ required: string[];
764
+ type: string;
765
+ };
756
766
  battery: {
757
767
  description: string;
758
768
  properties: {
@@ -822,6 +832,10 @@ declare const _default: {
822
832
  description: string;
823
833
  type: string;
824
834
  };
835
+ nickname: {
836
+ description: string;
837
+ type: string;
838
+ };
825
839
  offline_access_codes_enabled: {
826
840
  description: string;
827
841
  type: string;
@@ -876,6 +890,7 @@ declare const _default: {
876
890
  required: string[];
877
891
  type: string;
878
892
  };
893
+ appearance?: never;
879
894
  battery?: never;
880
895
  battery_level?: never;
881
896
  has_direct_power?: never;
@@ -884,6 +899,7 @@ declare const _default: {
884
899
  manufacturer?: never;
885
900
  model?: never;
886
901
  name?: never;
902
+ nickname?: never;
887
903
  offline_access_codes_enabled?: never;
888
904
  online?: never;
889
905
  online_access_codes_enabled?: never;
@@ -11981,20 +11997,25 @@ declare const _default: {
11981
11997
  };
11982
11998
  };
11983
11999
  security: ({
11984
- access_token: never[];
11985
- seam_workspace: never[];
11986
- seam_client_session_token?: never;
11987
- client_session_token?: never;
12000
+ client_session: never[];
12001
+ pat_with_workspace?: never;
12002
+ console_session?: never;
12003
+ api_key?: never;
11988
12004
  } | {
11989
- seam_client_session_token: never[];
11990
- access_token?: never;
11991
- seam_workspace?: never;
11992
- client_session_token?: never;
12005
+ pat_with_workspace: never[];
12006
+ client_session?: never;
12007
+ console_session?: never;
12008
+ api_key?: never;
11993
12009
  } | {
11994
- client_session_token: never[];
11995
- access_token?: never;
11996
- seam_workspace?: never;
11997
- seam_client_session_token?: never;
12010
+ console_session: never[];
12011
+ client_session?: never;
12012
+ pat_with_workspace?: never;
12013
+ api_key?: never;
12014
+ } | {
12015
+ api_key: never[];
12016
+ client_session?: never;
12017
+ pat_with_workspace?: never;
12018
+ console_session?: never;
11998
12019
  })[];
11999
12020
  summary: string;
12000
12021
  tags: string[];
@@ -13778,6 +13799,9 @@ declare const _default: {
13778
13799
  'application/json': {
13779
13800
  schema: {
13780
13801
  properties: {
13802
+ action_attempt: {
13803
+ $ref: string;
13804
+ };
13781
13805
  ok: {
13782
13806
  type: string;
13783
13807
  };
@@ -13816,6 +13840,7 @@ declare const _default: {
13816
13840
  tags: string[];
13817
13841
  'x-fern-sdk-group-name': string[];
13818
13842
  'x-fern-sdk-method-name': string;
13843
+ 'x-fern-sdk-return-value': string;
13819
13844
  };
13820
13845
  };
13821
13846
  '/thermostats/get': {
@@ -13924,6 +13949,9 @@ declare const _default: {
13924
13949
  'application/json': {
13925
13950
  schema: {
13926
13951
  properties: {
13952
+ action_attempt: {
13953
+ $ref: string;
13954
+ };
13927
13955
  ok: {
13928
13956
  type: string;
13929
13957
  };
@@ -13962,6 +13990,7 @@ declare const _default: {
13962
13990
  tags: string[];
13963
13991
  'x-fern-sdk-group-name': string[];
13964
13992
  'x-fern-sdk-method-name': string;
13993
+ 'x-fern-sdk-return-value': string;
13965
13994
  };
13966
13995
  };
13967
13996
  '/thermostats/heat_cool': {
@@ -14005,6 +14034,9 @@ declare const _default: {
14005
14034
  'application/json': {
14006
14035
  schema: {
14007
14036
  properties: {
14037
+ action_attempt: {
14038
+ $ref: string;
14039
+ };
14008
14040
  ok: {
14009
14041
  type: string;
14010
14042
  };
@@ -14043,6 +14075,7 @@ declare const _default: {
14043
14075
  tags: string[];
14044
14076
  'x-fern-sdk-group-name': string[];
14045
14077
  'x-fern-sdk-method-name': string;
14078
+ 'x-fern-sdk-return-value': string;
14046
14079
  };
14047
14080
  };
14048
14081
  '/thermostats/list': {
@@ -14215,6 +14248,9 @@ declare const _default: {
14215
14248
  'application/json': {
14216
14249
  schema: {
14217
14250
  properties: {
14251
+ action_attempt: {
14252
+ $ref: string;
14253
+ };
14218
14254
  ok: {
14219
14255
  type: string;
14220
14256
  };
@@ -14253,6 +14289,7 @@ declare const _default: {
14253
14289
  tags: string[];
14254
14290
  'x-fern-sdk-group-name': string[];
14255
14291
  'x-fern-sdk-method-name': string;
14292
+ 'x-fern-sdk-return-value': string;
14256
14293
  };
14257
14294
  };
14258
14295
  '/thermostats/set_fan_mode': {
@@ -14292,6 +14329,9 @@ declare const _default: {
14292
14329
  'application/json': {
14293
14330
  schema: {
14294
14331
  properties: {
14332
+ action_attempt: {
14333
+ $ref: string;
14334
+ };
14295
14335
  ok: {
14296
14336
  type: string;
14297
14337
  };
@@ -14330,6 +14370,7 @@ declare const _default: {
14330
14370
  tags: string[];
14331
14371
  'x-fern-sdk-group-name': string[];
14332
14372
  'x-fern-sdk-method-name': string;
14373
+ 'x-fern-sdk-return-value': string;
14333
14374
  };
14334
14375
  };
14335
14376
  '/thermostats/update': {