@seamapi/http 1.14.0 → 1.16.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 CHANGED
@@ -1823,6 +1823,14 @@ var SeamHttpAcsCredentials = class _SeamHttpAcsCredentials {
1823
1823
  responseKey: "acs_credential"
1824
1824
  });
1825
1825
  }
1826
+ createOfflineCode(body) {
1827
+ return new SeamHttpRequest(this, {
1828
+ path: "/acs/credentials/create_offline_code",
1829
+ method: "post",
1830
+ body,
1831
+ responseKey: "acs_credential"
1832
+ });
1833
+ }
1826
1834
  delete(body) {
1827
1835
  return new SeamHttpRequest(this, {
1828
1836
  path: "/acs/credentials/delete",
@@ -4295,6 +4303,15 @@ var SeamHttpThermostats = class _SeamHttpThermostats {
4295
4303
  options
4296
4304
  });
4297
4305
  }
4306
+ setHvacMode(body, options = {}) {
4307
+ return new SeamHttpRequest(this, {
4308
+ path: "/thermostats/set_hvac_mode",
4309
+ method: "post",
4310
+ body,
4311
+ responseKey: "action_attempt",
4312
+ options
4313
+ });
4314
+ }
4298
4315
  setTemperatureThreshold(body) {
4299
4316
  return new SeamHttpRequest(this, {
4300
4317
  path: "/thermostats/set_temperature_threshold",