@seamapi/types 1.396.0 → 1.396.1
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 +84 -85
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +86 -79
- package/lib/seam/connect/models/acs/acs-users/acs-user.d.ts +0 -53
- package/lib/seam/connect/models/acs/acs-users/acs-user.js +0 -23
- package/lib/seam/connect/models/acs/acs-users/acs-user.js.map +1 -1
- package/lib/seam/connect/models/thermostats/thermostat-program.js +16 -6
- package/lib/seam/connect/models/thermostats/thermostat-program.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +10 -5
- package/lib/seam/connect/openapi.js +64 -56
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +76 -74
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-users/acs-user.ts +0 -35
- package/src/lib/seam/connect/models/thermostats/thermostat-program.ts +29 -15
- package/src/lib/seam/connect/openapi.ts +103 -56
- package/src/lib/seam/connect/route-types.ts +76 -74
package/dist/connect.cjs
CHANGED
|
@@ -156,15 +156,19 @@ var climate_preset = zod.z.object({
|
|
|
156
156
|
var climate_setting = climate_preset.partial();
|
|
157
157
|
var thermostat_daily_program_period = zod.z.object({
|
|
158
158
|
starts_at_time: zod.z.string().regex(/^([01]\d|2[0-3]):([0-5]\d):([0-5]\d)$/).describe(
|
|
159
|
-
"Time at which the thermostat daily program
|
|
159
|
+
"Time at which the thermostat daily program period starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format."
|
|
160
160
|
),
|
|
161
161
|
climate_preset_key: zod.z.string().describe(
|
|
162
|
-
"Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) to activate at the starts_at_time
|
|
162
|
+
"Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) to activate at the `starts_at_time`."
|
|
163
163
|
)
|
|
164
|
-
})
|
|
164
|
+
}).describe(
|
|
165
|
+
"Period for a thermostat daily program. Consists of a starts at time and the key that identifies the configured climate preset to apply at the starting time."
|
|
166
|
+
);
|
|
165
167
|
var thermostat_daily_program = zod.z.object({
|
|
166
168
|
thermostat_daily_program_id: zod.z.string().uuid().describe("ID of the thermostat daily program."),
|
|
167
|
-
device_id: zod.z.string().uuid().describe(
|
|
169
|
+
device_id: zod.z.string().uuid().describe(
|
|
170
|
+
"ID of the thermostat device on which the thermostat daily program is configured."
|
|
171
|
+
),
|
|
168
172
|
name: zod.z.string().nullable().describe("User-friendly name to identify the thermostat daily program."),
|
|
169
173
|
periods: zod.z.array(thermostat_daily_program_period).describe("Array of thermostat daily program periods."),
|
|
170
174
|
workspace_id: zod.z.string().uuid().describe(
|
|
@@ -173,7 +177,12 @@ var thermostat_daily_program = zod.z.object({
|
|
|
173
177
|
created_at: zod.z.string().datetime().describe(
|
|
174
178
|
"Date and time at which the thermostat daily program was created."
|
|
175
179
|
)
|
|
176
|
-
})
|
|
180
|
+
}).describe(`
|
|
181
|
+
---
|
|
182
|
+
route_path: /thermostats/thermostat_daily_programs
|
|
183
|
+
---
|
|
184
|
+
Represents a thermostat daily program, consisting of a set of periods, each of which has a starting time and the key that identifies the climate preset to apply at the starting time.
|
|
185
|
+
`);
|
|
177
186
|
var thermostat_weekly_program = zod.z.object({
|
|
178
187
|
monday_program_id: zod.z.string().uuid().nullable().describe("ID of the thermostat daily program to run on Mondays."),
|
|
179
188
|
tuesday_program_id: zod.z.string().uuid().nullable().describe("ID of the thermostat daily program to run on Tuesdays."),
|
|
@@ -2686,24 +2695,6 @@ var acs_users_warnings = zod.z.discriminatedUnion("warning_code", [
|
|
|
2686
2695
|
]).describe(
|
|
2687
2696
|
"Warnings associated with the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management)."
|
|
2688
2697
|
);
|
|
2689
|
-
var common_acs_user_modification = zod.z.object({
|
|
2690
|
-
created_at: zod.z.string().datetime().describe("Date and time at which this modification was requested."),
|
|
2691
|
-
message: zod.z.string().describe("Detailed description of the modification.")
|
|
2692
|
-
});
|
|
2693
|
-
var acs_user_suspension_state_modification = common_acs_user_modification.extend({
|
|
2694
|
-
modification_code: zod.z.literal("suspension_state")
|
|
2695
|
-
}).describe(
|
|
2696
|
-
"Indicates that the [ACS user's](https://docs.seam.co/latest/capability-guides/access-systems/user-management) `is_suspended` state was updated on Seam and will soon be applied to the ACS user on the [access control system](https://docs.seam.co/latest/capability-guides/access-systems)."
|
|
2697
|
-
);
|
|
2698
|
-
var acs_user_profile_modification = common_acs_user_modification.extend({
|
|
2699
|
-
modification_code: zod.z.literal("profile")
|
|
2700
|
-
}).describe(
|
|
2701
|
-
"Indicates that the [ACS user's](https://docs.seam.co/latest/capability-guides/access-systems/user-management) profile details (name, email, phone) were updated on Seam and will soon be applied to the ACS user on the [access control system](https://docs.seam.co/latest/capability-guides/access-systems)."
|
|
2702
|
-
);
|
|
2703
|
-
zod.z.object({
|
|
2704
|
-
suspension_state: acs_user_suspension_state_modification.optional().nullable(),
|
|
2705
|
-
profile: acs_user_profile_modification.optional().nullable()
|
|
2706
|
-
});
|
|
2707
2698
|
var user_fields = zod.z.object({
|
|
2708
2699
|
full_name: zod.z.string().trim().min(1).optional().describe(
|
|
2709
2700
|
"Full name of the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management)."
|
|
@@ -13035,6 +13026,7 @@ var openapi_default = {
|
|
|
13035
13026
|
},
|
|
13036
13027
|
thermostat_daily_programs: {
|
|
13037
13028
|
items: {
|
|
13029
|
+
description: "Represents a thermostat daily program, consisting of a set of periods, each of which has a starting time and the key that identifies the climate preset to apply at the starting time.",
|
|
13038
13030
|
properties: {
|
|
13039
13031
|
created_at: {
|
|
13040
13032
|
description: "Date and time at which the thermostat daily program was created.",
|
|
@@ -13042,7 +13034,7 @@ var openapi_default = {
|
|
|
13042
13034
|
type: "string"
|
|
13043
13035
|
},
|
|
13044
13036
|
device_id: {
|
|
13045
|
-
description: "ID of the
|
|
13037
|
+
description: "ID of the thermostat device on which the thermostat daily program is configured.",
|
|
13046
13038
|
format: "uuid",
|
|
13047
13039
|
type: "string"
|
|
13048
13040
|
},
|
|
@@ -13054,13 +13046,14 @@ var openapi_default = {
|
|
|
13054
13046
|
periods: {
|
|
13055
13047
|
description: "Array of thermostat daily program periods.",
|
|
13056
13048
|
items: {
|
|
13049
|
+
description: "Period for a thermostat daily program. Consists of a starts at time and the key that identifies the configured climate preset to apply at the starting time.",
|
|
13057
13050
|
properties: {
|
|
13058
13051
|
climate_preset_key: {
|
|
13059
|
-
description: "Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) to activate at the starts_at_time
|
|
13052
|
+
description: "Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) to activate at the `starts_at_time`.",
|
|
13060
13053
|
type: "string"
|
|
13061
13054
|
},
|
|
13062
13055
|
starts_at_time: {
|
|
13063
|
-
description: "Time at which the thermostat daily program
|
|
13056
|
+
description: "Time at which the thermostat daily program period starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.",
|
|
13064
13057
|
pattern: "^([01]\\d|2[0-3]):([0-5]\\d):([0-5]\\d)$",
|
|
13065
13058
|
type: "string"
|
|
13066
13059
|
}
|
|
@@ -13092,7 +13085,8 @@ var openapi_default = {
|
|
|
13092
13085
|
"workspace_id",
|
|
13093
13086
|
"created_at"
|
|
13094
13087
|
],
|
|
13095
|
-
type: "object"
|
|
13088
|
+
type: "object",
|
|
13089
|
+
"x-route-path": "/thermostats/thermostat_daily_programs"
|
|
13096
13090
|
},
|
|
13097
13091
|
type: "array"
|
|
13098
13092
|
},
|
|
@@ -32593,11 +32587,11 @@ var openapi_default = {
|
|
|
32593
32587
|
schema: {
|
|
32594
32588
|
properties: {
|
|
32595
32589
|
climate_preset_key: {
|
|
32596
|
-
description: "Climate preset key of the
|
|
32590
|
+
description: "Climate preset key of the climate preset that you want to activate.",
|
|
32597
32591
|
type: "string"
|
|
32598
32592
|
},
|
|
32599
32593
|
device_id: {
|
|
32600
|
-
description: "ID of the
|
|
32594
|
+
description: "ID of the thermostat device for which you want to activate a climate preset.",
|
|
32601
32595
|
format: "uuid",
|
|
32602
32596
|
type: "string"
|
|
32603
32597
|
}
|
|
@@ -32664,7 +32658,7 @@ var openapi_default = {
|
|
|
32664
32658
|
type: "number"
|
|
32665
32659
|
},
|
|
32666
32660
|
device_id: {
|
|
32667
|
-
description: "ID of the
|
|
32661
|
+
description: "ID of the thermostat device that you want to set to cool mode.",
|
|
32668
32662
|
format: "uuid",
|
|
32669
32663
|
type: "string"
|
|
32670
32664
|
},
|
|
@@ -32741,7 +32735,7 @@ var openapi_default = {
|
|
|
32741
32735
|
type: "number"
|
|
32742
32736
|
},
|
|
32743
32737
|
device_id: {
|
|
32744
|
-
description: "ID of the
|
|
32738
|
+
description: "ID of the thermostat device for which you want create a climate preset.",
|
|
32745
32739
|
format: "uuid",
|
|
32746
32740
|
type: "string"
|
|
32747
32741
|
},
|
|
@@ -32817,7 +32811,7 @@ var openapi_default = {
|
|
|
32817
32811
|
},
|
|
32818
32812
|
"/thermostats/daily_programs/create": {
|
|
32819
32813
|
post: {
|
|
32820
|
-
description: "Creates a thermostat daily program.",
|
|
32814
|
+
description: "Creates a thermostat daily program. A daily program consists of a set of periods, where each period includes a start time and the key of a configured climate preset. Once you have defined a daily program, you can assign it to one or more days within a weekly program.",
|
|
32821
32815
|
operationId: "thermostatsDailyProgramsCreatePost",
|
|
32822
32816
|
requestBody: {
|
|
32823
32817
|
content: {
|
|
@@ -32825,7 +32819,7 @@ var openapi_default = {
|
|
|
32825
32819
|
schema: {
|
|
32826
32820
|
properties: {
|
|
32827
32821
|
device_id: {
|
|
32828
|
-
description: "ID of the
|
|
32822
|
+
description: "ID of the thermostat device for which you want to create a daily program.",
|
|
32829
32823
|
format: "uuid",
|
|
32830
32824
|
type: "string"
|
|
32831
32825
|
},
|
|
@@ -32836,13 +32830,14 @@ var openapi_default = {
|
|
|
32836
32830
|
periods: {
|
|
32837
32831
|
description: "Array of thermostat daily program periods.",
|
|
32838
32832
|
items: {
|
|
32833
|
+
description: "Period for a thermostat daily program. Consists of a starts at time and the key that identifies the configured climate preset to apply at the starting time.",
|
|
32839
32834
|
properties: {
|
|
32840
32835
|
climate_preset_key: {
|
|
32841
|
-
description: "Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) to activate at the starts_at_time
|
|
32836
|
+
description: "Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) to activate at the `starts_at_time`.",
|
|
32842
32837
|
type: "string"
|
|
32843
32838
|
},
|
|
32844
32839
|
starts_at_time: {
|
|
32845
|
-
description: "Time at which the thermostat daily program
|
|
32840
|
+
description: "Time at which the thermostat daily program period starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.",
|
|
32846
32841
|
pattern: "^([01]\\d|2[0-3]):([0-5]\\d):([0-5]\\d)$",
|
|
32847
32842
|
type: "string"
|
|
32848
32843
|
}
|
|
@@ -32867,6 +32862,7 @@ var openapi_default = {
|
|
|
32867
32862
|
properties: {
|
|
32868
32863
|
ok: { type: "boolean" },
|
|
32869
32864
|
thermostat_daily_program: {
|
|
32865
|
+
description: "Represents a thermostat daily program, consisting of a set of periods, each of which has a starting time and the key that identifies the climate preset to apply at the starting time.",
|
|
32870
32866
|
properties: {
|
|
32871
32867
|
created_at: {
|
|
32872
32868
|
description: "Date and time at which the thermostat daily program was created.",
|
|
@@ -32874,7 +32870,7 @@ var openapi_default = {
|
|
|
32874
32870
|
type: "string"
|
|
32875
32871
|
},
|
|
32876
32872
|
device_id: {
|
|
32877
|
-
description: "ID of the
|
|
32873
|
+
description: "ID of the thermostat device on which the thermostat daily program is configured.",
|
|
32878
32874
|
format: "uuid",
|
|
32879
32875
|
type: "string"
|
|
32880
32876
|
},
|
|
@@ -32886,13 +32882,14 @@ var openapi_default = {
|
|
|
32886
32882
|
periods: {
|
|
32887
32883
|
description: "Array of thermostat daily program periods.",
|
|
32888
32884
|
items: {
|
|
32885
|
+
description: "Period for a thermostat daily program. Consists of a starts at time and the key that identifies the configured climate preset to apply at the starting time.",
|
|
32889
32886
|
properties: {
|
|
32890
32887
|
climate_preset_key: {
|
|
32891
|
-
description: "Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) to activate at the starts_at_time
|
|
32888
|
+
description: "Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) to activate at the `starts_at_time`.",
|
|
32892
32889
|
type: "string"
|
|
32893
32890
|
},
|
|
32894
32891
|
starts_at_time: {
|
|
32895
|
-
description: "Time at which the thermostat daily program
|
|
32892
|
+
description: "Time at which the thermostat daily program period starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.",
|
|
32896
32893
|
pattern: "^([01]\\d|2[0-3]):([0-5]\\d):([0-5]\\d)$",
|
|
32897
32894
|
type: "string"
|
|
32898
32895
|
}
|
|
@@ -32921,7 +32918,8 @@ var openapi_default = {
|
|
|
32921
32918
|
"workspace_id",
|
|
32922
32919
|
"created_at"
|
|
32923
32920
|
],
|
|
32924
|
-
type: "object"
|
|
32921
|
+
type: "object",
|
|
32922
|
+
"x-route-path": "/thermostats/thermostat_daily_programs"
|
|
32925
32923
|
}
|
|
32926
32924
|
},
|
|
32927
32925
|
required: ["thermostat_daily_program", "ok"],
|
|
@@ -32946,8 +32944,7 @@ var openapi_default = {
|
|
|
32946
32944
|
"x-fern-sdk-method-name": "create",
|
|
32947
32945
|
"x-fern-sdk-return-value": "thermostat_daily_program",
|
|
32948
32946
|
"x-response-key": "thermostat_daily_program",
|
|
32949
|
-
"x-title": "Create a Thermostat Daily Program"
|
|
32950
|
-
"x-undocumented": "Unreleased."
|
|
32947
|
+
"x-title": "Create a Thermostat Daily Program"
|
|
32951
32948
|
}
|
|
32952
32949
|
},
|
|
32953
32950
|
"/thermostats/daily_programs/delete": {
|
|
@@ -32960,7 +32957,7 @@ var openapi_default = {
|
|
|
32960
32957
|
schema: {
|
|
32961
32958
|
properties: {
|
|
32962
32959
|
thermostat_daily_program_id: {
|
|
32963
|
-
description: "ID of the
|
|
32960
|
+
description: "ID of the thermostat daily program that you want to delete.",
|
|
32964
32961
|
format: "uuid",
|
|
32965
32962
|
type: "string"
|
|
32966
32963
|
}
|
|
@@ -32998,13 +32995,12 @@ var openapi_default = {
|
|
|
32998
32995
|
"x-fern-sdk-group-name": ["thermostats", "daily_programs"],
|
|
32999
32996
|
"x-fern-sdk-method-name": "delete",
|
|
33000
32997
|
"x-response-key": null,
|
|
33001
|
-
"x-title": "Delete a Thermostat Daily Program"
|
|
33002
|
-
"x-undocumented": "Unreleased."
|
|
32998
|
+
"x-title": "Delete a Thermostat Daily Program"
|
|
33003
32999
|
}
|
|
33004
33000
|
},
|
|
33005
33001
|
"/thermostats/daily_programs/update": {
|
|
33006
33002
|
patch: {
|
|
33007
|
-
description: "Updates a specified thermostat daily program.",
|
|
33003
|
+
description: "Updates a specified thermostat daily program. The periods that you specify overwrite any existing periods for the daily program.",
|
|
33008
33004
|
operationId: "thermostatsDailyProgramsUpdatePatch",
|
|
33009
33005
|
requestBody: {
|
|
33010
33006
|
content: {
|
|
@@ -33012,19 +33008,20 @@ var openapi_default = {
|
|
|
33012
33008
|
schema: {
|
|
33013
33009
|
properties: {
|
|
33014
33010
|
name: {
|
|
33015
|
-
description: "User-friendly name to identify the thermostat daily program.",
|
|
33011
|
+
description: "User-friendly name to identify the thermostat daily program that you want to update.",
|
|
33016
33012
|
type: "string"
|
|
33017
33013
|
},
|
|
33018
33014
|
periods: {
|
|
33019
|
-
description: "Array of thermostat daily program periods.",
|
|
33015
|
+
description: "Array of thermostat daily program periods. The periods that you specify overwrite any existing periods for the daily program.",
|
|
33020
33016
|
items: {
|
|
33017
|
+
description: "Period for a thermostat daily program. Consists of a starts at time and the key that identifies the configured climate preset to apply at the starting time.",
|
|
33021
33018
|
properties: {
|
|
33022
33019
|
climate_preset_key: {
|
|
33023
|
-
description: "Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) to activate at the starts_at_time
|
|
33020
|
+
description: "Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) to activate at the `starts_at_time`.",
|
|
33024
33021
|
type: "string"
|
|
33025
33022
|
},
|
|
33026
33023
|
starts_at_time: {
|
|
33027
|
-
description: "Time at which the thermostat daily program
|
|
33024
|
+
description: "Time at which the thermostat daily program period starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.",
|
|
33028
33025
|
pattern: "^([01]\\d|2[0-3]):([0-5]\\d):([0-5]\\d)$",
|
|
33029
33026
|
type: "string"
|
|
33030
33027
|
}
|
|
@@ -33035,7 +33032,7 @@ var openapi_default = {
|
|
|
33035
33032
|
type: "array"
|
|
33036
33033
|
},
|
|
33037
33034
|
thermostat_daily_program_id: {
|
|
33038
|
-
description: "ID of the
|
|
33035
|
+
description: "ID of the thermostat daily program that you want to update.",
|
|
33039
33036
|
format: "uuid",
|
|
33040
33037
|
type: "string"
|
|
33041
33038
|
}
|
|
@@ -33078,11 +33075,10 @@ var openapi_default = {
|
|
|
33078
33075
|
"x-action-attempt-type": "PUSH_THERMOSTAT_PROGRAMS",
|
|
33079
33076
|
"x-fern-ignore": true,
|
|
33080
33077
|
"x-response-key": "action_attempt",
|
|
33081
|
-
"x-title": "Update a Thermostat Daily Program"
|
|
33082
|
-
"x-undocumented": "Unreleased."
|
|
33078
|
+
"x-title": "Update a Thermostat Daily Program"
|
|
33083
33079
|
},
|
|
33084
33080
|
post: {
|
|
33085
|
-
description: "Updates a specified thermostat daily program.",
|
|
33081
|
+
description: "Updates a specified thermostat daily program. The periods that you specify overwrite any existing periods for the daily program.",
|
|
33086
33082
|
operationId: "thermostatsDailyProgramsUpdatePost",
|
|
33087
33083
|
requestBody: {
|
|
33088
33084
|
content: {
|
|
@@ -33090,19 +33086,20 @@ var openapi_default = {
|
|
|
33090
33086
|
schema: {
|
|
33091
33087
|
properties: {
|
|
33092
33088
|
name: {
|
|
33093
|
-
description: "User-friendly name to identify the thermostat daily program.",
|
|
33089
|
+
description: "User-friendly name to identify the thermostat daily program that you want to update.",
|
|
33094
33090
|
type: "string"
|
|
33095
33091
|
},
|
|
33096
33092
|
periods: {
|
|
33097
|
-
description: "Array of thermostat daily program periods.",
|
|
33093
|
+
description: "Array of thermostat daily program periods. The periods that you specify overwrite any existing periods for the daily program.",
|
|
33098
33094
|
items: {
|
|
33095
|
+
description: "Period for a thermostat daily program. Consists of a starts at time and the key that identifies the configured climate preset to apply at the starting time.",
|
|
33099
33096
|
properties: {
|
|
33100
33097
|
climate_preset_key: {
|
|
33101
|
-
description: "Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) to activate at the starts_at_time
|
|
33098
|
+
description: "Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) to activate at the `starts_at_time`.",
|
|
33102
33099
|
type: "string"
|
|
33103
33100
|
},
|
|
33104
33101
|
starts_at_time: {
|
|
33105
|
-
description: "Time at which the thermostat daily program
|
|
33102
|
+
description: "Time at which the thermostat daily program period starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.",
|
|
33106
33103
|
pattern: "^([01]\\d|2[0-3]):([0-5]\\d):([0-5]\\d)$",
|
|
33107
33104
|
type: "string"
|
|
33108
33105
|
}
|
|
@@ -33113,7 +33110,7 @@ var openapi_default = {
|
|
|
33113
33110
|
type: "array"
|
|
33114
33111
|
},
|
|
33115
33112
|
thermostat_daily_program_id: {
|
|
33116
|
-
description: "ID of the
|
|
33113
|
+
description: "ID of the thermostat daily program that you want to update.",
|
|
33117
33114
|
format: "uuid",
|
|
33118
33115
|
type: "string"
|
|
33119
33116
|
}
|
|
@@ -33158,8 +33155,7 @@ var openapi_default = {
|
|
|
33158
33155
|
"x-fern-sdk-method-name": "update",
|
|
33159
33156
|
"x-fern-sdk-return-value": "action_attempt",
|
|
33160
33157
|
"x-response-key": "action_attempt",
|
|
33161
|
-
"x-title": "Update a Thermostat Daily Program"
|
|
33162
|
-
"x-undocumented": "Unreleased."
|
|
33158
|
+
"x-title": "Update a Thermostat Daily Program"
|
|
33163
33159
|
}
|
|
33164
33160
|
},
|
|
33165
33161
|
"/thermostats/delete_climate_preset": {
|
|
@@ -33172,11 +33168,11 @@ var openapi_default = {
|
|
|
33172
33168
|
schema: {
|
|
33173
33169
|
properties: {
|
|
33174
33170
|
climate_preset_key: {
|
|
33175
|
-
description: "Climate preset key of the
|
|
33171
|
+
description: "Climate preset key of the climate preset that you want to delete.",
|
|
33176
33172
|
type: "string"
|
|
33177
33173
|
},
|
|
33178
33174
|
device_id: {
|
|
33179
|
-
description: "ID of the
|
|
33175
|
+
description: "ID of the thermostat device for which you want to delete a climate preset.",
|
|
33180
33176
|
format: "uuid",
|
|
33181
33177
|
type: "string"
|
|
33182
33178
|
}
|
|
@@ -33227,12 +33223,12 @@ var openapi_default = {
|
|
|
33227
33223
|
schema: {
|
|
33228
33224
|
properties: {
|
|
33229
33225
|
device_id: {
|
|
33230
|
-
description: "ID of the
|
|
33226
|
+
description: "ID of the thermostat device that you want to retrieve.",
|
|
33231
33227
|
format: "uuid",
|
|
33232
33228
|
type: "string"
|
|
33233
33229
|
},
|
|
33234
33230
|
name: {
|
|
33235
|
-
description: "User-friendly name of the
|
|
33231
|
+
description: "User-friendly name of the thermostat device that you want to retrieve.",
|
|
33236
33232
|
type: "string"
|
|
33237
33233
|
}
|
|
33238
33234
|
},
|
|
@@ -33287,7 +33283,7 @@ var openapi_default = {
|
|
|
33287
33283
|
schema: {
|
|
33288
33284
|
properties: {
|
|
33289
33285
|
device_id: {
|
|
33290
|
-
description: "ID of the
|
|
33286
|
+
description: "ID of the thermostat device that you want to set to heat mode.",
|
|
33291
33287
|
format: "uuid",
|
|
33292
33288
|
type: "string"
|
|
33293
33289
|
},
|
|
@@ -33370,7 +33366,7 @@ var openapi_default = {
|
|
|
33370
33366
|
type: "number"
|
|
33371
33367
|
},
|
|
33372
33368
|
device_id: {
|
|
33373
|
-
description: "ID of the
|
|
33369
|
+
description: "ID of the thermostat device that you want to set to heat-cool mode.",
|
|
33374
33370
|
format: "uuid",
|
|
33375
33371
|
type: "string"
|
|
33376
33372
|
},
|
|
@@ -33479,7 +33475,7 @@ var openapi_default = {
|
|
|
33479
33475
|
type: "array"
|
|
33480
33476
|
},
|
|
33481
33477
|
device_type: {
|
|
33482
|
-
description: "Device type by which to filter devices.",
|
|
33478
|
+
description: "Device type by which to filter thermostat devices.",
|
|
33483
33479
|
enum: [
|
|
33484
33480
|
"ecobee_thermostat",
|
|
33485
33481
|
"nest_thermostat",
|
|
@@ -33490,7 +33486,7 @@ var openapi_default = {
|
|
|
33490
33486
|
type: "string"
|
|
33491
33487
|
},
|
|
33492
33488
|
device_types: {
|
|
33493
|
-
description: "Array of device types by which to filter devices.",
|
|
33489
|
+
description: "Array of device types by which to filter thermostat devices.",
|
|
33494
33490
|
items: {
|
|
33495
33491
|
enum: [
|
|
33496
33492
|
"ecobee_thermostat",
|
|
@@ -33550,7 +33546,7 @@ var openapi_default = {
|
|
|
33550
33546
|
type: "number"
|
|
33551
33547
|
},
|
|
33552
33548
|
manufacturer: {
|
|
33553
|
-
description: "Manufacturer by which to filter devices.",
|
|
33549
|
+
description: "Manufacturer by which to filter thermostat devices.",
|
|
33554
33550
|
enum: [
|
|
33555
33551
|
"ecobee",
|
|
33556
33552
|
"honeywell_resideo",
|
|
@@ -33632,7 +33628,7 @@ var openapi_default = {
|
|
|
33632
33628
|
schema: {
|
|
33633
33629
|
properties: {
|
|
33634
33630
|
device_id: {
|
|
33635
|
-
description: "ID of the
|
|
33631
|
+
description: "ID of the thermostat device that you want to set to off mode.",
|
|
33636
33632
|
format: "uuid",
|
|
33637
33633
|
type: "string"
|
|
33638
33634
|
},
|
|
@@ -34108,11 +34104,11 @@ var openapi_default = {
|
|
|
34108
34104
|
schema: {
|
|
34109
34105
|
properties: {
|
|
34110
34106
|
climate_preset_key: {
|
|
34111
|
-
description: "Climate preset key of the
|
|
34107
|
+
description: "Climate preset key of the climate preset that you want to set as the fallback climate preset.",
|
|
34112
34108
|
type: "string"
|
|
34113
34109
|
},
|
|
34114
34110
|
device_id: {
|
|
34115
|
-
description: "ID of the
|
|
34111
|
+
description: "ID of the thermostat device for which you want to set the fallback climate preset.",
|
|
34116
34112
|
format: "uuid",
|
|
34117
34113
|
type: "string"
|
|
34118
34114
|
}
|
|
@@ -34161,7 +34157,11 @@ var openapi_default = {
|
|
|
34161
34157
|
"application/json": {
|
|
34162
34158
|
schema: {
|
|
34163
34159
|
properties: {
|
|
34164
|
-
device_id: {
|
|
34160
|
+
device_id: {
|
|
34161
|
+
description: "ID of the thermostat device for which you want to set the fan mode.",
|
|
34162
|
+
format: "uuid",
|
|
34163
|
+
type: "string"
|
|
34164
|
+
},
|
|
34165
34165
|
fan_mode: {
|
|
34166
34166
|
deprecated: true,
|
|
34167
34167
|
enum: ["auto", "on", "circulate"],
|
|
@@ -34235,7 +34235,7 @@ var openapi_default = {
|
|
|
34235
34235
|
{
|
|
34236
34236
|
properties: {
|
|
34237
34237
|
device_id: {
|
|
34238
|
-
description: "ID of the
|
|
34238
|
+
description: "ID of the thermostat device for which you want to set the HVAC mode.",
|
|
34239
34239
|
format: "uuid",
|
|
34240
34240
|
type: "string"
|
|
34241
34241
|
},
|
|
@@ -34257,7 +34257,7 @@ var openapi_default = {
|
|
|
34257
34257
|
type: "number"
|
|
34258
34258
|
},
|
|
34259
34259
|
device_id: {
|
|
34260
|
-
description: "ID of the
|
|
34260
|
+
description: "ID of the thermostat device for which you want to set the HVAC mode.",
|
|
34261
34261
|
format: "uuid",
|
|
34262
34262
|
type: "string"
|
|
34263
34263
|
},
|
|
@@ -34269,7 +34269,7 @@ var openapi_default = {
|
|
|
34269
34269
|
{
|
|
34270
34270
|
properties: {
|
|
34271
34271
|
device_id: {
|
|
34272
|
-
description: "ID of the
|
|
34272
|
+
description: "ID of the thermostat device for which you want to set the HVAC mode.",
|
|
34273
34273
|
format: "uuid",
|
|
34274
34274
|
type: "string"
|
|
34275
34275
|
},
|
|
@@ -34301,7 +34301,7 @@ var openapi_default = {
|
|
|
34301
34301
|
type: "number"
|
|
34302
34302
|
},
|
|
34303
34303
|
device_id: {
|
|
34304
|
-
description: "ID of the
|
|
34304
|
+
description: "ID of the thermostat device for which you want to set the HVAC mode.",
|
|
34305
34305
|
format: "uuid",
|
|
34306
34306
|
type: "string"
|
|
34307
34307
|
},
|
|
@@ -34375,7 +34375,7 @@ var openapi_default = {
|
|
|
34375
34375
|
schema: {
|
|
34376
34376
|
properties: {
|
|
34377
34377
|
device_id: {
|
|
34378
|
-
description: "ID of the
|
|
34378
|
+
description: "ID of the thermostat device for which you want to set a temperature threshold.",
|
|
34379
34379
|
format: "uuid",
|
|
34380
34380
|
type: "string"
|
|
34381
34381
|
},
|
|
@@ -34450,7 +34450,7 @@ var openapi_default = {
|
|
|
34450
34450
|
schema: {
|
|
34451
34451
|
properties: {
|
|
34452
34452
|
device_id: {
|
|
34453
|
-
description: "ID of the
|
|
34453
|
+
description: "ID of the thermostat device for which you want to set a temperature threshold.",
|
|
34454
34454
|
format: "uuid",
|
|
34455
34455
|
type: "string"
|
|
34456
34456
|
},
|
|
@@ -34750,7 +34750,7 @@ var openapi_default = {
|
|
|
34750
34750
|
type: "number"
|
|
34751
34751
|
},
|
|
34752
34752
|
device_id: {
|
|
34753
|
-
description: "ID of the
|
|
34753
|
+
description: "ID of the thermostat device for which you want to update a climate preset.",
|
|
34754
34754
|
format: "uuid",
|
|
34755
34755
|
type: "string"
|
|
34756
34756
|
},
|
|
@@ -34848,7 +34848,7 @@ var openapi_default = {
|
|
|
34848
34848
|
type: "number"
|
|
34849
34849
|
},
|
|
34850
34850
|
device_id: {
|
|
34851
|
-
description: "ID of the
|
|
34851
|
+
description: "ID of the thermostat device for which you want to update a climate preset.",
|
|
34852
34852
|
format: "uuid",
|
|
34853
34853
|
type: "string"
|
|
34854
34854
|
},
|
|
@@ -34927,7 +34927,7 @@ var openapi_default = {
|
|
|
34927
34927
|
},
|
|
34928
34928
|
"/thermostats/update_weekly_program": {
|
|
34929
34929
|
post: {
|
|
34930
|
-
description: "
|
|
34930
|
+
description: "Updates the thermostat weekly program for a thermostat device. To configure a weekly program, specify the ID of the daily program that you want to use for each day of the week. When you update a weekly program, the set of programs that you specify overwrites any previous weekly program for the thermostat.",
|
|
34931
34931
|
operationId: "thermostatsUpdateWeeklyProgramPost",
|
|
34932
34932
|
requestBody: {
|
|
34933
34933
|
content: {
|
|
@@ -34935,7 +34935,7 @@ var openapi_default = {
|
|
|
34935
34935
|
schema: {
|
|
34936
34936
|
properties: {
|
|
34937
34937
|
device_id: {
|
|
34938
|
-
description: "ID of the thermostat device
|
|
34938
|
+
description: "ID of the thermostat device for which you want to update the weekly program.",
|
|
34939
34939
|
format: "uuid",
|
|
34940
34940
|
type: "string"
|
|
34941
34941
|
},
|
|
@@ -35022,8 +35022,7 @@ var openapi_default = {
|
|
|
35022
35022
|
"x-fern-sdk-method-name": "update_weekly_program",
|
|
35023
35023
|
"x-fern-sdk-return-value": "action_attempt",
|
|
35024
35024
|
"x-response-key": "action_attempt",
|
|
35025
|
-
"x-title": "
|
|
35026
|
-
"x-undocumented": "Unreleased."
|
|
35025
|
+
"x-title": "Update the Thermostat Weekly Program"
|
|
35027
35026
|
}
|
|
35028
35027
|
},
|
|
35029
35028
|
"/unstable_access_grants/create": {
|