@seamapi/types 1.127.0 → 1.129.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.
- package/dist/connect.cjs +47 -17
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +148 -11
- package/lib/seam/connect/openapi.d.ts +25 -3
- package/lib/seam/connect/openapi.js +42 -12
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +123 -8
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +42 -12
- package/src/lib/seam/connect/route-types.ts +144 -16
package/dist/connect.d.cts
CHANGED
|
@@ -11358,6 +11358,11 @@ declare const _default: {
|
|
|
11358
11358
|
};
|
|
11359
11359
|
type: string;
|
|
11360
11360
|
};
|
|
11361
|
+
limit: {
|
|
11362
|
+
default: number;
|
|
11363
|
+
nullable: boolean;
|
|
11364
|
+
type: string;
|
|
11365
|
+
};
|
|
11361
11366
|
since: {
|
|
11362
11367
|
type: string;
|
|
11363
11368
|
};
|
|
@@ -11379,9 +11384,6 @@ declare const _default: {
|
|
|
11379
11384
|
};
|
|
11380
11385
|
type: string;
|
|
11381
11386
|
};
|
|
11382
|
-
message: {
|
|
11383
|
-
type: string;
|
|
11384
|
-
};
|
|
11385
11387
|
ok: {
|
|
11386
11388
|
type: string;
|
|
11387
11389
|
};
|
|
@@ -13850,6 +13852,9 @@ declare const _default: {
|
|
|
13850
13852
|
'application/json': {
|
|
13851
13853
|
schema: {
|
|
13852
13854
|
properties: {
|
|
13855
|
+
action_attempt: {
|
|
13856
|
+
$ref: string;
|
|
13857
|
+
};
|
|
13853
13858
|
ok: {
|
|
13854
13859
|
type: string;
|
|
13855
13860
|
};
|
|
@@ -13888,6 +13893,7 @@ declare const _default: {
|
|
|
13888
13893
|
tags: string[];
|
|
13889
13894
|
'x-fern-sdk-group-name': string[];
|
|
13890
13895
|
'x-fern-sdk-method-name': string;
|
|
13896
|
+
'x-fern-sdk-return-value': string;
|
|
13891
13897
|
};
|
|
13892
13898
|
};
|
|
13893
13899
|
'/thermostats/get': {
|
|
@@ -13996,6 +14002,9 @@ declare const _default: {
|
|
|
13996
14002
|
'application/json': {
|
|
13997
14003
|
schema: {
|
|
13998
14004
|
properties: {
|
|
14005
|
+
action_attempt: {
|
|
14006
|
+
$ref: string;
|
|
14007
|
+
};
|
|
13999
14008
|
ok: {
|
|
14000
14009
|
type: string;
|
|
14001
14010
|
};
|
|
@@ -14034,6 +14043,7 @@ declare const _default: {
|
|
|
14034
14043
|
tags: string[];
|
|
14035
14044
|
'x-fern-sdk-group-name': string[];
|
|
14036
14045
|
'x-fern-sdk-method-name': string;
|
|
14046
|
+
'x-fern-sdk-return-value': string;
|
|
14037
14047
|
};
|
|
14038
14048
|
};
|
|
14039
14049
|
'/thermostats/heat_cool': {
|
|
@@ -14077,6 +14087,9 @@ declare const _default: {
|
|
|
14077
14087
|
'application/json': {
|
|
14078
14088
|
schema: {
|
|
14079
14089
|
properties: {
|
|
14090
|
+
action_attempt: {
|
|
14091
|
+
$ref: string;
|
|
14092
|
+
};
|
|
14080
14093
|
ok: {
|
|
14081
14094
|
type: string;
|
|
14082
14095
|
};
|
|
@@ -14115,6 +14128,7 @@ declare const _default: {
|
|
|
14115
14128
|
tags: string[];
|
|
14116
14129
|
'x-fern-sdk-group-name': string[];
|
|
14117
14130
|
'x-fern-sdk-method-name': string;
|
|
14131
|
+
'x-fern-sdk-return-value': string;
|
|
14118
14132
|
};
|
|
14119
14133
|
};
|
|
14120
14134
|
'/thermostats/list': {
|
|
@@ -14287,6 +14301,9 @@ declare const _default: {
|
|
|
14287
14301
|
'application/json': {
|
|
14288
14302
|
schema: {
|
|
14289
14303
|
properties: {
|
|
14304
|
+
action_attempt: {
|
|
14305
|
+
$ref: string;
|
|
14306
|
+
};
|
|
14290
14307
|
ok: {
|
|
14291
14308
|
type: string;
|
|
14292
14309
|
};
|
|
@@ -14325,6 +14342,7 @@ declare const _default: {
|
|
|
14325
14342
|
tags: string[];
|
|
14326
14343
|
'x-fern-sdk-group-name': string[];
|
|
14327
14344
|
'x-fern-sdk-method-name': string;
|
|
14345
|
+
'x-fern-sdk-return-value': string;
|
|
14328
14346
|
};
|
|
14329
14347
|
};
|
|
14330
14348
|
'/thermostats/set_fan_mode': {
|
|
@@ -14364,6 +14382,9 @@ declare const _default: {
|
|
|
14364
14382
|
'application/json': {
|
|
14365
14383
|
schema: {
|
|
14366
14384
|
properties: {
|
|
14385
|
+
action_attempt: {
|
|
14386
|
+
$ref: string;
|
|
14387
|
+
};
|
|
14367
14388
|
ok: {
|
|
14368
14389
|
type: string;
|
|
14369
14390
|
};
|
|
@@ -14402,6 +14423,7 @@ declare const _default: {
|
|
|
14402
14423
|
tags: string[];
|
|
14403
14424
|
'x-fern-sdk-group-name': string[];
|
|
14404
14425
|
'x-fern-sdk-method-name': string;
|
|
14426
|
+
'x-fern-sdk-return-value': string;
|
|
14405
14427
|
};
|
|
14406
14428
|
};
|
|
14407
14429
|
'/thermostats/update': {
|
|
@@ -20046,18 +20068,18 @@ interface Routes {
|
|
|
20046
20068
|
event_type?: ('device.connected' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.removed' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | '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' | 'access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.deleted' | 'access_code.removed_from_device' | 'access_code.failed_to_set_on_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_remove_from_device' | 'access_code.delay_in_removing_from_device' | 'access_code.deleted_external_to_seam' | 'access_code.modified_external_to_seam' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'lock.locked' | 'lock.unlocked' | 'phone.deactivated' | 'connected_account.connected' | 'connected_account.successful_login' | 'connected_account.created' | 'connected_account.deleted' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.completed_first_sync_after_reconnection' | 'noise_sensor.noise_threshold_triggered' | 'access_code.backup_access_code_pulled' | 'acs_user.deleted' | 'acs_credential.deleted' | 'enrollment_automation.deleted' | 'client_session.deleted') | undefined;
|
|
20047
20069
|
event_types?: Array<'device.connected' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.removed' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | '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' | 'access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.deleted' | 'access_code.removed_from_device' | 'access_code.failed_to_set_on_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_remove_from_device' | 'access_code.delay_in_removing_from_device' | 'access_code.deleted_external_to_seam' | 'access_code.modified_external_to_seam' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'lock.locked' | 'lock.unlocked' | 'phone.deactivated' | 'connected_account.connected' | 'connected_account.successful_login' | 'connected_account.created' | 'connected_account.deleted' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.completed_first_sync_after_reconnection' | 'noise_sensor.noise_threshold_triggered' | 'access_code.backup_access_code_pulled' | 'acs_user.deleted' | 'acs_credential.deleted' | 'enrollment_automation.deleted' | 'client_session.deleted'> | undefined;
|
|
20048
20070
|
connected_account_id?: string | undefined;
|
|
20071
|
+
limit?: number;
|
|
20049
20072
|
};
|
|
20050
20073
|
formData: {};
|
|
20051
20074
|
jsonResponse: {
|
|
20052
|
-
events
|
|
20075
|
+
events: Array<{
|
|
20053
20076
|
event_id: string;
|
|
20054
20077
|
device_id?: string | undefined;
|
|
20055
20078
|
event_type: string;
|
|
20056
20079
|
workspace_id: string;
|
|
20057
20080
|
created_at: string;
|
|
20058
20081
|
occurred_at: string;
|
|
20059
|
-
}
|
|
20060
|
-
message?: string | undefined;
|
|
20082
|
+
}>;
|
|
20061
20083
|
};
|
|
20062
20084
|
};
|
|
20063
20085
|
'/health': {
|
|
@@ -22629,7 +22651,30 @@ interface Routes {
|
|
|
22629
22651
|
};
|
|
22630
22652
|
commonParams: {};
|
|
22631
22653
|
formData: {};
|
|
22632
|
-
jsonResponse: {
|
|
22654
|
+
jsonResponse: {
|
|
22655
|
+
action_attempt: {
|
|
22656
|
+
status: 'success';
|
|
22657
|
+
action_type: string;
|
|
22658
|
+
action_attempt_id: string;
|
|
22659
|
+
result?: any;
|
|
22660
|
+
error: null;
|
|
22661
|
+
} | {
|
|
22662
|
+
status: 'pending';
|
|
22663
|
+
action_type: string;
|
|
22664
|
+
action_attempt_id: string;
|
|
22665
|
+
result: null;
|
|
22666
|
+
error: null;
|
|
22667
|
+
} | {
|
|
22668
|
+
status: 'error';
|
|
22669
|
+
action_type: string;
|
|
22670
|
+
action_attempt_id: string;
|
|
22671
|
+
result: null;
|
|
22672
|
+
error: {
|
|
22673
|
+
type: string;
|
|
22674
|
+
message: string;
|
|
22675
|
+
};
|
|
22676
|
+
};
|
|
22677
|
+
};
|
|
22633
22678
|
};
|
|
22634
22679
|
'/thermostats/get': {
|
|
22635
22680
|
route: '/thermostats/get';
|
|
@@ -23123,7 +23168,30 @@ interface Routes {
|
|
|
23123
23168
|
};
|
|
23124
23169
|
commonParams: {};
|
|
23125
23170
|
formData: {};
|
|
23126
|
-
jsonResponse: {
|
|
23171
|
+
jsonResponse: {
|
|
23172
|
+
action_attempt: {
|
|
23173
|
+
status: 'success';
|
|
23174
|
+
action_type: string;
|
|
23175
|
+
action_attempt_id: string;
|
|
23176
|
+
result?: any;
|
|
23177
|
+
error: null;
|
|
23178
|
+
} | {
|
|
23179
|
+
status: 'pending';
|
|
23180
|
+
action_type: string;
|
|
23181
|
+
action_attempt_id: string;
|
|
23182
|
+
result: null;
|
|
23183
|
+
error: null;
|
|
23184
|
+
} | {
|
|
23185
|
+
status: 'error';
|
|
23186
|
+
action_type: string;
|
|
23187
|
+
action_attempt_id: string;
|
|
23188
|
+
result: null;
|
|
23189
|
+
error: {
|
|
23190
|
+
type: string;
|
|
23191
|
+
message: string;
|
|
23192
|
+
};
|
|
23193
|
+
};
|
|
23194
|
+
};
|
|
23127
23195
|
};
|
|
23128
23196
|
'/thermostats/heat_cool': {
|
|
23129
23197
|
route: '/thermostats/heat_cool';
|
|
@@ -23139,7 +23207,30 @@ interface Routes {
|
|
|
23139
23207
|
};
|
|
23140
23208
|
commonParams: {};
|
|
23141
23209
|
formData: {};
|
|
23142
|
-
jsonResponse: {
|
|
23210
|
+
jsonResponse: {
|
|
23211
|
+
action_attempt: {
|
|
23212
|
+
status: 'success';
|
|
23213
|
+
action_type: string;
|
|
23214
|
+
action_attempt_id: string;
|
|
23215
|
+
result?: any;
|
|
23216
|
+
error: null;
|
|
23217
|
+
} | {
|
|
23218
|
+
status: 'pending';
|
|
23219
|
+
action_type: string;
|
|
23220
|
+
action_attempt_id: string;
|
|
23221
|
+
result: null;
|
|
23222
|
+
error: null;
|
|
23223
|
+
} | {
|
|
23224
|
+
status: 'error';
|
|
23225
|
+
action_type: string;
|
|
23226
|
+
action_attempt_id: string;
|
|
23227
|
+
result: null;
|
|
23228
|
+
error: {
|
|
23229
|
+
type: string;
|
|
23230
|
+
message: string;
|
|
23231
|
+
};
|
|
23232
|
+
};
|
|
23233
|
+
};
|
|
23143
23234
|
};
|
|
23144
23235
|
'/thermostats/list': {
|
|
23145
23236
|
route: '/thermostats/list';
|
|
@@ -23641,7 +23732,30 @@ interface Routes {
|
|
|
23641
23732
|
};
|
|
23642
23733
|
commonParams: {};
|
|
23643
23734
|
formData: {};
|
|
23644
|
-
jsonResponse: {
|
|
23735
|
+
jsonResponse: {
|
|
23736
|
+
action_attempt: {
|
|
23737
|
+
status: 'success';
|
|
23738
|
+
action_type: string;
|
|
23739
|
+
action_attempt_id: string;
|
|
23740
|
+
result?: any;
|
|
23741
|
+
error: null;
|
|
23742
|
+
} | {
|
|
23743
|
+
status: 'pending';
|
|
23744
|
+
action_type: string;
|
|
23745
|
+
action_attempt_id: string;
|
|
23746
|
+
result: null;
|
|
23747
|
+
error: null;
|
|
23748
|
+
} | {
|
|
23749
|
+
status: 'error';
|
|
23750
|
+
action_type: string;
|
|
23751
|
+
action_attempt_id: string;
|
|
23752
|
+
result: null;
|
|
23753
|
+
error: {
|
|
23754
|
+
type: string;
|
|
23755
|
+
message: string;
|
|
23756
|
+
};
|
|
23757
|
+
};
|
|
23758
|
+
};
|
|
23645
23759
|
};
|
|
23646
23760
|
'/thermostats/set_fan_mode': {
|
|
23647
23761
|
route: '/thermostats/set_fan_mode';
|
|
@@ -23655,7 +23769,30 @@ interface Routes {
|
|
|
23655
23769
|
};
|
|
23656
23770
|
commonParams: {};
|
|
23657
23771
|
formData: {};
|
|
23658
|
-
jsonResponse: {
|
|
23772
|
+
jsonResponse: {
|
|
23773
|
+
action_attempt: {
|
|
23774
|
+
status: 'success';
|
|
23775
|
+
action_type: string;
|
|
23776
|
+
action_attempt_id: string;
|
|
23777
|
+
result?: any;
|
|
23778
|
+
error: null;
|
|
23779
|
+
} | {
|
|
23780
|
+
status: 'pending';
|
|
23781
|
+
action_type: string;
|
|
23782
|
+
action_attempt_id: string;
|
|
23783
|
+
result: null;
|
|
23784
|
+
error: null;
|
|
23785
|
+
} | {
|
|
23786
|
+
status: 'error';
|
|
23787
|
+
action_type: string;
|
|
23788
|
+
action_attempt_id: string;
|
|
23789
|
+
result: null;
|
|
23790
|
+
error: {
|
|
23791
|
+
type: string;
|
|
23792
|
+
message: string;
|
|
23793
|
+
};
|
|
23794
|
+
};
|
|
23795
|
+
};
|
|
23659
23796
|
};
|
|
23660
23797
|
'/thermostats/update': {
|
|
23661
23798
|
route: '/thermostats/update';
|
|
@@ -11284,6 +11284,11 @@ declare const _default: {
|
|
|
11284
11284
|
};
|
|
11285
11285
|
type: string;
|
|
11286
11286
|
};
|
|
11287
|
+
limit: {
|
|
11288
|
+
default: number;
|
|
11289
|
+
nullable: boolean;
|
|
11290
|
+
type: string;
|
|
11291
|
+
};
|
|
11287
11292
|
since: {
|
|
11288
11293
|
type: string;
|
|
11289
11294
|
};
|
|
@@ -11305,9 +11310,6 @@ declare const _default: {
|
|
|
11305
11310
|
};
|
|
11306
11311
|
type: string;
|
|
11307
11312
|
};
|
|
11308
|
-
message: {
|
|
11309
|
-
type: string;
|
|
11310
|
-
};
|
|
11311
11313
|
ok: {
|
|
11312
11314
|
type: string;
|
|
11313
11315
|
};
|
|
@@ -13776,6 +13778,9 @@ declare const _default: {
|
|
|
13776
13778
|
'application/json': {
|
|
13777
13779
|
schema: {
|
|
13778
13780
|
properties: {
|
|
13781
|
+
action_attempt: {
|
|
13782
|
+
$ref: string;
|
|
13783
|
+
};
|
|
13779
13784
|
ok: {
|
|
13780
13785
|
type: string;
|
|
13781
13786
|
};
|
|
@@ -13814,6 +13819,7 @@ declare const _default: {
|
|
|
13814
13819
|
tags: string[];
|
|
13815
13820
|
'x-fern-sdk-group-name': string[];
|
|
13816
13821
|
'x-fern-sdk-method-name': string;
|
|
13822
|
+
'x-fern-sdk-return-value': string;
|
|
13817
13823
|
};
|
|
13818
13824
|
};
|
|
13819
13825
|
'/thermostats/get': {
|
|
@@ -13922,6 +13928,9 @@ declare const _default: {
|
|
|
13922
13928
|
'application/json': {
|
|
13923
13929
|
schema: {
|
|
13924
13930
|
properties: {
|
|
13931
|
+
action_attempt: {
|
|
13932
|
+
$ref: string;
|
|
13933
|
+
};
|
|
13925
13934
|
ok: {
|
|
13926
13935
|
type: string;
|
|
13927
13936
|
};
|
|
@@ -13960,6 +13969,7 @@ declare const _default: {
|
|
|
13960
13969
|
tags: string[];
|
|
13961
13970
|
'x-fern-sdk-group-name': string[];
|
|
13962
13971
|
'x-fern-sdk-method-name': string;
|
|
13972
|
+
'x-fern-sdk-return-value': string;
|
|
13963
13973
|
};
|
|
13964
13974
|
};
|
|
13965
13975
|
'/thermostats/heat_cool': {
|
|
@@ -14003,6 +14013,9 @@ declare const _default: {
|
|
|
14003
14013
|
'application/json': {
|
|
14004
14014
|
schema: {
|
|
14005
14015
|
properties: {
|
|
14016
|
+
action_attempt: {
|
|
14017
|
+
$ref: string;
|
|
14018
|
+
};
|
|
14006
14019
|
ok: {
|
|
14007
14020
|
type: string;
|
|
14008
14021
|
};
|
|
@@ -14041,6 +14054,7 @@ declare const _default: {
|
|
|
14041
14054
|
tags: string[];
|
|
14042
14055
|
'x-fern-sdk-group-name': string[];
|
|
14043
14056
|
'x-fern-sdk-method-name': string;
|
|
14057
|
+
'x-fern-sdk-return-value': string;
|
|
14044
14058
|
};
|
|
14045
14059
|
};
|
|
14046
14060
|
'/thermostats/list': {
|
|
@@ -14213,6 +14227,9 @@ declare const _default: {
|
|
|
14213
14227
|
'application/json': {
|
|
14214
14228
|
schema: {
|
|
14215
14229
|
properties: {
|
|
14230
|
+
action_attempt: {
|
|
14231
|
+
$ref: string;
|
|
14232
|
+
};
|
|
14216
14233
|
ok: {
|
|
14217
14234
|
type: string;
|
|
14218
14235
|
};
|
|
@@ -14251,6 +14268,7 @@ declare const _default: {
|
|
|
14251
14268
|
tags: string[];
|
|
14252
14269
|
'x-fern-sdk-group-name': string[];
|
|
14253
14270
|
'x-fern-sdk-method-name': string;
|
|
14271
|
+
'x-fern-sdk-return-value': string;
|
|
14254
14272
|
};
|
|
14255
14273
|
};
|
|
14256
14274
|
'/thermostats/set_fan_mode': {
|
|
@@ -14290,6 +14308,9 @@ declare const _default: {
|
|
|
14290
14308
|
'application/json': {
|
|
14291
14309
|
schema: {
|
|
14292
14310
|
properties: {
|
|
14311
|
+
action_attempt: {
|
|
14312
|
+
$ref: string;
|
|
14313
|
+
};
|
|
14293
14314
|
ok: {
|
|
14294
14315
|
type: string;
|
|
14295
14316
|
};
|
|
@@ -14328,6 +14349,7 @@ declare const _default: {
|
|
|
14328
14349
|
tags: string[];
|
|
14329
14350
|
'x-fern-sdk-group-name': string[];
|
|
14330
14351
|
'x-fern-sdk-method-name': string;
|
|
14352
|
+
'x-fern-sdk-return-value': string;
|
|
14331
14353
|
};
|
|
14332
14354
|
};
|
|
14333
14355
|
'/thermostats/update': {
|
|
@@ -8500,6 +8500,7 @@ export default {
|
|
|
8500
8500
|
},
|
|
8501
8501
|
type: 'array',
|
|
8502
8502
|
},
|
|
8503
|
+
limit: { default: 500, nullable: true, type: 'number' },
|
|
8503
8504
|
since: { type: 'string' },
|
|
8504
8505
|
},
|
|
8505
8506
|
type: 'object',
|
|
@@ -8517,10 +8518,9 @@ export default {
|
|
|
8517
8518
|
items: { $ref: '#/components/schemas/event' },
|
|
8518
8519
|
type: 'array',
|
|
8519
8520
|
},
|
|
8520
|
-
message: { type: 'string' },
|
|
8521
8521
|
ok: { type: 'boolean' },
|
|
8522
8522
|
},
|
|
8523
|
-
required: ['ok'],
|
|
8523
|
+
required: ['events', 'ok'],
|
|
8524
8524
|
type: 'object',
|
|
8525
8525
|
},
|
|
8526
8526
|
},
|
|
@@ -10333,8 +10333,13 @@ export default {
|
|
|
10333
10333
|
content: {
|
|
10334
10334
|
'application/json': {
|
|
10335
10335
|
schema: {
|
|
10336
|
-
properties: {
|
|
10337
|
-
|
|
10336
|
+
properties: {
|
|
10337
|
+
action_attempt: {
|
|
10338
|
+
$ref: '#/components/schemas/action_attempt',
|
|
10339
|
+
},
|
|
10340
|
+
ok: { type: 'boolean' },
|
|
10341
|
+
},
|
|
10342
|
+
required: ['action_attempt', 'ok'],
|
|
10338
10343
|
type: 'object',
|
|
10339
10344
|
},
|
|
10340
10345
|
},
|
|
@@ -10353,6 +10358,7 @@ export default {
|
|
|
10353
10358
|
tags: ['/thermostats'],
|
|
10354
10359
|
'x-fern-sdk-group-name': ['thermostats'],
|
|
10355
10360
|
'x-fern-sdk-method-name': 'cool',
|
|
10361
|
+
'x-fern-sdk-return-value': 'action_attempt',
|
|
10356
10362
|
},
|
|
10357
10363
|
},
|
|
10358
10364
|
'/thermostats/get': {
|
|
@@ -10426,8 +10432,13 @@ export default {
|
|
|
10426
10432
|
content: {
|
|
10427
10433
|
'application/json': {
|
|
10428
10434
|
schema: {
|
|
10429
|
-
properties: {
|
|
10430
|
-
|
|
10435
|
+
properties: {
|
|
10436
|
+
action_attempt: {
|
|
10437
|
+
$ref: '#/components/schemas/action_attempt',
|
|
10438
|
+
},
|
|
10439
|
+
ok: { type: 'boolean' },
|
|
10440
|
+
},
|
|
10441
|
+
required: ['action_attempt', 'ok'],
|
|
10431
10442
|
type: 'object',
|
|
10432
10443
|
},
|
|
10433
10444
|
},
|
|
@@ -10446,6 +10457,7 @@ export default {
|
|
|
10446
10457
|
tags: ['/thermostats'],
|
|
10447
10458
|
'x-fern-sdk-group-name': ['thermostats'],
|
|
10448
10459
|
'x-fern-sdk-method-name': 'heat',
|
|
10460
|
+
'x-fern-sdk-return-value': 'action_attempt',
|
|
10449
10461
|
},
|
|
10450
10462
|
},
|
|
10451
10463
|
'/thermostats/heat_cool': {
|
|
@@ -10474,8 +10486,13 @@ export default {
|
|
|
10474
10486
|
content: {
|
|
10475
10487
|
'application/json': {
|
|
10476
10488
|
schema: {
|
|
10477
|
-
properties: {
|
|
10478
|
-
|
|
10489
|
+
properties: {
|
|
10490
|
+
action_attempt: {
|
|
10491
|
+
$ref: '#/components/schemas/action_attempt',
|
|
10492
|
+
},
|
|
10493
|
+
ok: { type: 'boolean' },
|
|
10494
|
+
},
|
|
10495
|
+
required: ['action_attempt', 'ok'],
|
|
10479
10496
|
type: 'object',
|
|
10480
10497
|
},
|
|
10481
10498
|
},
|
|
@@ -10494,6 +10511,7 @@ export default {
|
|
|
10494
10511
|
tags: ['/thermostats'],
|
|
10495
10512
|
'x-fern-sdk-group-name': ['thermostats'],
|
|
10496
10513
|
'x-fern-sdk-method-name': 'heat_cool',
|
|
10514
|
+
'x-fern-sdk-return-value': 'action_attempt',
|
|
10497
10515
|
},
|
|
10498
10516
|
},
|
|
10499
10517
|
'/thermostats/list': {
|
|
@@ -10739,8 +10757,13 @@ export default {
|
|
|
10739
10757
|
content: {
|
|
10740
10758
|
'application/json': {
|
|
10741
10759
|
schema: {
|
|
10742
|
-
properties: {
|
|
10743
|
-
|
|
10760
|
+
properties: {
|
|
10761
|
+
action_attempt: {
|
|
10762
|
+
$ref: '#/components/schemas/action_attempt',
|
|
10763
|
+
},
|
|
10764
|
+
ok: { type: 'boolean' },
|
|
10765
|
+
},
|
|
10766
|
+
required: ['action_attempt', 'ok'],
|
|
10744
10767
|
type: 'object',
|
|
10745
10768
|
},
|
|
10746
10769
|
},
|
|
@@ -10759,6 +10782,7 @@ export default {
|
|
|
10759
10782
|
tags: ['/thermostats'],
|
|
10760
10783
|
'x-fern-sdk-group-name': ['thermostats'],
|
|
10761
10784
|
'x-fern-sdk-method-name': 'off',
|
|
10785
|
+
'x-fern-sdk-return-value': 'action_attempt',
|
|
10762
10786
|
},
|
|
10763
10787
|
},
|
|
10764
10788
|
'/thermostats/set_fan_mode': {
|
|
@@ -10785,8 +10809,13 @@ export default {
|
|
|
10785
10809
|
content: {
|
|
10786
10810
|
'application/json': {
|
|
10787
10811
|
schema: {
|
|
10788
|
-
properties: {
|
|
10789
|
-
|
|
10812
|
+
properties: {
|
|
10813
|
+
action_attempt: {
|
|
10814
|
+
$ref: '#/components/schemas/action_attempt',
|
|
10815
|
+
},
|
|
10816
|
+
ok: { type: 'boolean' },
|
|
10817
|
+
},
|
|
10818
|
+
required: ['action_attempt', 'ok'],
|
|
10790
10819
|
type: 'object',
|
|
10791
10820
|
},
|
|
10792
10821
|
},
|
|
@@ -10805,6 +10834,7 @@ export default {
|
|
|
10805
10834
|
tags: ['/thermostats'],
|
|
10806
10835
|
'x-fern-sdk-group-name': ['thermostats'],
|
|
10807
10836
|
'x-fern-sdk-method-name': 'set_fan_mode',
|
|
10837
|
+
'x-fern-sdk-return-value': 'action_attempt',
|
|
10808
10838
|
},
|
|
10809
10839
|
},
|
|
10810
10840
|
'/thermostats/update': {
|