@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 +12 -3
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +79 -3
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/resolve-action-attempt.d.ts +96 -0
- package/lib/seam/connect/routes/acs-credentials.d.ts +4 -0
- package/lib/seam/connect/routes/acs-credentials.js +9 -0
- package/lib/seam/connect/routes/acs-credentials.js.map +1 -1
- package/lib/seam/connect/routes/thermostats.d.ts +2 -2
- package/lib/seam/connect/routes/thermostats.js +2 -2
- package/lib/seam/connect/routes/thermostats.js.map +1 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +4 -4
- package/src/lib/seam/connect/routes/acs-credentials.ts +25 -0
- package/src/lib/seam/connect/routes/thermostats.ts +4 -4
- package/src/lib/version.ts +1 -1
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:
|
|
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:
|
|
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=
|
|
4975
|
+
//# sourceMappingURL=connect.cjs.map
|
|
4967
4976
|
//# sourceMappingURL=connect.cjs.map
|