@seamapi/http 1.5.0 → 1.6.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
@@ -1847,6 +1847,15 @@ var SeamHttpAcsCredentials = class _SeamHttpAcsCredentials {
1847
1847
  responseKey: "acs_entrances"
1848
1848
  });
1849
1849
  }
1850
+ readCard(body, options = {}) {
1851
+ return new SeamHttpRequest(this, {
1852
+ path: "/acs/credentials/read_card",
1853
+ method: "post",
1854
+ body,
1855
+ responseKey: "action_attempt",
1856
+ options
1857
+ });
1858
+ }
1850
1859
  unassign(body) {
1851
1860
  return new SeamHttpRequest(this, {
1852
1861
  path: "/acs/credentials/unassign",
@@ -4111,7 +4120,7 @@ var SeamHttpThermostats = class _SeamHttpThermostats {
4111
4120
  path: "/thermostats/create_climate_preset",
4112
4121
  method: "post",
4113
4122
  body,
4114
- responseKey: void 0
4123
+ responseKey: "climate_preset"
4115
4124
  });
4116
4125
  }
4117
4126
  deleteClimatePreset(body) {
@@ -4187,7 +4196,7 @@ var SeamHttpThermostats = class _SeamHttpThermostats {
4187
4196
  path: "/thermostats/update_climate_preset",
4188
4197
  method: "post",
4189
4198
  body,
4190
- responseKey: "climate_preset"
4199
+ responseKey: void 0
4191
4200
  });
4192
4201
  }
4193
4202
  };
@@ -4963,5 +4972,5 @@ Object.keys(urlSearchParamsSerializer).forEach(function (k) {
4963
4972
  get: function () { return urlSearchParamsSerializer[k]; }
4964
4973
  });
4965
4974
  });
4966
- //# sourceMappingURL=out.js.map
4975
+ //# sourceMappingURL=connect.cjs.map
4967
4976
  //# sourceMappingURL=connect.cjs.map