@seamapi/http 1.11.1 → 1.13.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
@@ -2532,9 +2532,9 @@ var SeamHttpAcsEncoders = class _SeamHttpAcsEncoders {
2532
2532
  const clientSessions = SeamHttpClientSessions.fromClient(this.client);
2533
2533
  await clientSessions.get();
2534
2534
  }
2535
- encodeCard(body, options = {}) {
2535
+ encodeCredential(body, options = {}) {
2536
2536
  return new SeamHttpRequest(this, {
2537
- path: "/acs/encoders/encode_card",
2537
+ path: "/acs/encoders/encode_credential",
2538
2538
  method: "post",
2539
2539
  body,
2540
2540
  responseKey: "action_attempt",
@@ -2549,9 +2549,9 @@ var SeamHttpAcsEncoders = class _SeamHttpAcsEncoders {
2549
2549
  responseKey: "devices"
2550
2550
  });
2551
2551
  }
2552
- scanCard(body, options = {}) {
2552
+ scanCredential(body, options = {}) {
2553
2553
  return new SeamHttpRequest(this, {
2554
- path: "/acs/encoders/scan_card",
2554
+ path: "/acs/encoders/scan_credential",
2555
2555
  method: "post",
2556
2556
  body,
2557
2557
  responseKey: "action_attempt",
@@ -4295,6 +4295,14 @@ var SeamHttpThermostats = class _SeamHttpThermostats {
4295
4295
  options
4296
4296
  });
4297
4297
  }
4298
+ setTemperatureThreshold(body) {
4299
+ return new SeamHttpRequest(this, {
4300
+ path: "/thermostats/set_temperature_threshold",
4301
+ method: "post",
4302
+ body,
4303
+ responseKey: void 0
4304
+ });
4305
+ }
4298
4306
  updateClimatePreset(body) {
4299
4307
  return new SeamHttpRequest(this, {
4300
4308
  path: "/thermostats/update_climate_preset",