@seamapi/http 1.3.0 → 1.5.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.
Files changed (38) hide show
  1. package/dist/connect.cjs +265 -28
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +157 -34
  4. package/lib/seam/connect/resolve-action-attempt.d.ts +84 -0
  5. package/lib/seam/connect/routes/acs-access-groups-unmanaged.d.ts +25 -0
  6. package/lib/seam/connect/routes/acs-access-groups-unmanaged.js +96 -0
  7. package/lib/seam/connect/routes/acs-access-groups-unmanaged.js.map +1 -0
  8. package/lib/seam/connect/routes/acs-access-groups.d.ts +2 -0
  9. package/lib/seam/connect/routes/acs-access-groups.js +4 -0
  10. package/lib/seam/connect/routes/acs-access-groups.js.map +1 -1
  11. package/lib/seam/connect/routes/acs-credentials-unmanaged.d.ts +25 -0
  12. package/lib/seam/connect/routes/acs-credentials-unmanaged.js +96 -0
  13. package/lib/seam/connect/routes/acs-credentials-unmanaged.js.map +1 -0
  14. package/lib/seam/connect/routes/acs-credentials.d.ts +2 -0
  15. package/lib/seam/connect/routes/acs-credentials.js +4 -0
  16. package/lib/seam/connect/routes/acs-credentials.js.map +1 -1
  17. package/lib/seam/connect/routes/index.d.ts +3 -1
  18. package/lib/seam/connect/routes/index.js +3 -1
  19. package/lib/seam/connect/routes/index.js.map +1 -1
  20. package/lib/seam/connect/routes/thermostats-schedules.d.ts +37 -0
  21. package/lib/seam/connect/routes/{thermostats-climate-setting-schedules.js → thermostats-schedules.js} +16 -16
  22. package/lib/seam/connect/routes/thermostats-schedules.js.map +1 -0
  23. package/lib/seam/connect/routes/thermostats.d.ts +22 -6
  24. package/lib/seam/connect/routes/thermostats.js +39 -6
  25. package/lib/seam/connect/routes/thermostats.js.map +1 -1
  26. package/lib/version.d.ts +1 -1
  27. package/lib/version.js +1 -1
  28. package/package.json +3 -3
  29. package/src/lib/seam/connect/routes/acs-access-groups-unmanaged.ts +202 -0
  30. package/src/lib/seam/connect/routes/acs-access-groups.ts +8 -0
  31. package/src/lib/seam/connect/routes/acs-credentials-unmanaged.ts +199 -0
  32. package/src/lib/seam/connect/routes/acs-credentials.ts +8 -0
  33. package/src/lib/seam/connect/routes/index.ts +3 -1
  34. package/src/lib/seam/connect/routes/{thermostats-climate-setting-schedules.ts → thermostats-schedules.ts} +55 -64
  35. package/src/lib/seam/connect/routes/thermostats.ts +101 -13
  36. package/src/lib/version.ts +1 -1
  37. package/lib/seam/connect/routes/thermostats-climate-setting-schedules.d.ts +0 -37
  38. package/lib/seam/connect/routes/thermostats-climate-setting-schedules.js.map +0 -1
package/dist/connect.cjs CHANGED
@@ -1210,6 +1210,104 @@ var SeamHttpAccessCodes = class _SeamHttpAccessCodes {
1210
1210
  }
1211
1211
  };
1212
1212
 
1213
+ // src/lib/seam/connect/routes/acs-access-groups-unmanaged.ts
1214
+ var SeamHttpAcsAccessGroupsUnmanaged = class _SeamHttpAcsAccessGroupsUnmanaged {
1215
+ constructor(apiKeyOrOptions = {}) {
1216
+ const options = parseOptions(apiKeyOrOptions);
1217
+ this.client = "client" in options ? options.client : createClient(options);
1218
+ this.defaults = limitToSeamHttpRequestOptions(options);
1219
+ }
1220
+ static fromClient(client, options = {}) {
1221
+ const constructorOptions = { ...options, client };
1222
+ if (!isSeamHttpOptionsWithClient(constructorOptions)) {
1223
+ throw new SeamHttpInvalidOptionsError("Missing client");
1224
+ }
1225
+ return new _SeamHttpAcsAccessGroupsUnmanaged(constructorOptions);
1226
+ }
1227
+ static fromApiKey(apiKey, options = {}) {
1228
+ const constructorOptions = { ...options, apiKey };
1229
+ if (!isSeamHttpOptionsWithApiKey(constructorOptions)) {
1230
+ throw new SeamHttpInvalidOptionsError("Missing apiKey");
1231
+ }
1232
+ return new _SeamHttpAcsAccessGroupsUnmanaged(constructorOptions);
1233
+ }
1234
+ static fromClientSessionToken(clientSessionToken, options = {}) {
1235
+ const constructorOptions = { ...options, clientSessionToken };
1236
+ if (!isSeamHttpOptionsWithClientSessionToken(constructorOptions)) {
1237
+ throw new SeamHttpInvalidOptionsError("Missing clientSessionToken");
1238
+ }
1239
+ return new _SeamHttpAcsAccessGroupsUnmanaged(constructorOptions);
1240
+ }
1241
+ static async fromPublishableKey(publishableKey, userIdentifierKey, options = {}) {
1242
+ warnOnInsecureuserIdentifierKey(userIdentifierKey);
1243
+ const clientOptions = parseOptions({ ...options, publishableKey });
1244
+ if (isSeamHttpOptionsWithClient(clientOptions)) {
1245
+ throw new SeamHttpInvalidOptionsError(
1246
+ "The client option cannot be used with SeamHttp.fromPublishableKey"
1247
+ );
1248
+ }
1249
+ const client = createClient(clientOptions);
1250
+ const clientSessions = SeamHttpClientSessions.fromClient(client);
1251
+ const { token } = await clientSessions.getOrCreate({
1252
+ user_identifier_key: userIdentifierKey
1253
+ });
1254
+ return _SeamHttpAcsAccessGroupsUnmanaged.fromClientSessionToken(
1255
+ token,
1256
+ options
1257
+ );
1258
+ }
1259
+ static fromConsoleSessionToken(consoleSessionToken, workspaceId, options = {}) {
1260
+ const constructorOptions = { ...options, consoleSessionToken, workspaceId };
1261
+ if (!isSeamHttpOptionsWithConsoleSessionToken(constructorOptions)) {
1262
+ throw new SeamHttpInvalidOptionsError(
1263
+ "Missing consoleSessionToken or workspaceId"
1264
+ );
1265
+ }
1266
+ return new _SeamHttpAcsAccessGroupsUnmanaged(constructorOptions);
1267
+ }
1268
+ static fromPersonalAccessToken(personalAccessToken, workspaceId, options = {}) {
1269
+ const constructorOptions = { ...options, personalAccessToken, workspaceId };
1270
+ if (!isSeamHttpOptionsWithPersonalAccessToken(constructorOptions)) {
1271
+ throw new SeamHttpInvalidOptionsError(
1272
+ "Missing personalAccessToken or workspaceId"
1273
+ );
1274
+ }
1275
+ return new _SeamHttpAcsAccessGroupsUnmanaged(constructorOptions);
1276
+ }
1277
+ async updateClientSessionToken(clientSessionToken) {
1278
+ const { headers } = this.client.defaults;
1279
+ const authHeaders = getAuthHeadersForClientSessionToken({
1280
+ clientSessionToken
1281
+ });
1282
+ for (const key of Object.keys(authHeaders)) {
1283
+ if (headers[key] == null) {
1284
+ throw new Error(
1285
+ "Cannot update a clientSessionToken on a client created without a clientSessionToken"
1286
+ );
1287
+ }
1288
+ }
1289
+ this.client.defaults.headers = { ...headers, ...authHeaders };
1290
+ const clientSessions = SeamHttpClientSessions.fromClient(this.client);
1291
+ await clientSessions.get();
1292
+ }
1293
+ get(body) {
1294
+ return new SeamHttpRequest(this, {
1295
+ path: "/acs/access_groups/unmanaged/get",
1296
+ method: "post",
1297
+ body,
1298
+ responseKey: "acs_access_group"
1299
+ });
1300
+ }
1301
+ list(body) {
1302
+ return new SeamHttpRequest(this, {
1303
+ path: "/acs/access_groups/unmanaged/list",
1304
+ method: "post",
1305
+ body,
1306
+ responseKey: "acs_access_groups"
1307
+ });
1308
+ }
1309
+ };
1310
+
1213
1311
  // src/lib/seam/connect/routes/acs-access-groups.ts
1214
1312
  var SeamHttpAcsAccessGroups = class _SeamHttpAcsAccessGroups {
1215
1313
  constructor(apiKeyOrOptions = {}) {
@@ -1287,6 +1385,12 @@ var SeamHttpAcsAccessGroups = class _SeamHttpAcsAccessGroups {
1287
1385
  const clientSessions = SeamHttpClientSessions.fromClient(this.client);
1288
1386
  await clientSessions.get();
1289
1387
  }
1388
+ get unmanaged() {
1389
+ return SeamHttpAcsAccessGroupsUnmanaged.fromClient(
1390
+ this.client,
1391
+ this.defaults
1392
+ );
1393
+ }
1290
1394
  addUser(body) {
1291
1395
  return new SeamHttpRequest(this, {
1292
1396
  path: "/acs/access_groups/add_user",
@@ -1514,6 +1618,104 @@ var SeamHttpAcsCredentialProvisioningAutomations = class _SeamHttpAcsCredentialP
1514
1618
  }
1515
1619
  };
1516
1620
 
1621
+ // src/lib/seam/connect/routes/acs-credentials-unmanaged.ts
1622
+ var SeamHttpAcsCredentialsUnmanaged = class _SeamHttpAcsCredentialsUnmanaged {
1623
+ constructor(apiKeyOrOptions = {}) {
1624
+ const options = parseOptions(apiKeyOrOptions);
1625
+ this.client = "client" in options ? options.client : createClient(options);
1626
+ this.defaults = limitToSeamHttpRequestOptions(options);
1627
+ }
1628
+ static fromClient(client, options = {}) {
1629
+ const constructorOptions = { ...options, client };
1630
+ if (!isSeamHttpOptionsWithClient(constructorOptions)) {
1631
+ throw new SeamHttpInvalidOptionsError("Missing client");
1632
+ }
1633
+ return new _SeamHttpAcsCredentialsUnmanaged(constructorOptions);
1634
+ }
1635
+ static fromApiKey(apiKey, options = {}) {
1636
+ const constructorOptions = { ...options, apiKey };
1637
+ if (!isSeamHttpOptionsWithApiKey(constructorOptions)) {
1638
+ throw new SeamHttpInvalidOptionsError("Missing apiKey");
1639
+ }
1640
+ return new _SeamHttpAcsCredentialsUnmanaged(constructorOptions);
1641
+ }
1642
+ static fromClientSessionToken(clientSessionToken, options = {}) {
1643
+ const constructorOptions = { ...options, clientSessionToken };
1644
+ if (!isSeamHttpOptionsWithClientSessionToken(constructorOptions)) {
1645
+ throw new SeamHttpInvalidOptionsError("Missing clientSessionToken");
1646
+ }
1647
+ return new _SeamHttpAcsCredentialsUnmanaged(constructorOptions);
1648
+ }
1649
+ static async fromPublishableKey(publishableKey, userIdentifierKey, options = {}) {
1650
+ warnOnInsecureuserIdentifierKey(userIdentifierKey);
1651
+ const clientOptions = parseOptions({ ...options, publishableKey });
1652
+ if (isSeamHttpOptionsWithClient(clientOptions)) {
1653
+ throw new SeamHttpInvalidOptionsError(
1654
+ "The client option cannot be used with SeamHttp.fromPublishableKey"
1655
+ );
1656
+ }
1657
+ const client = createClient(clientOptions);
1658
+ const clientSessions = SeamHttpClientSessions.fromClient(client);
1659
+ const { token } = await clientSessions.getOrCreate({
1660
+ user_identifier_key: userIdentifierKey
1661
+ });
1662
+ return _SeamHttpAcsCredentialsUnmanaged.fromClientSessionToken(
1663
+ token,
1664
+ options
1665
+ );
1666
+ }
1667
+ static fromConsoleSessionToken(consoleSessionToken, workspaceId, options = {}) {
1668
+ const constructorOptions = { ...options, consoleSessionToken, workspaceId };
1669
+ if (!isSeamHttpOptionsWithConsoleSessionToken(constructorOptions)) {
1670
+ throw new SeamHttpInvalidOptionsError(
1671
+ "Missing consoleSessionToken or workspaceId"
1672
+ );
1673
+ }
1674
+ return new _SeamHttpAcsCredentialsUnmanaged(constructorOptions);
1675
+ }
1676
+ static fromPersonalAccessToken(personalAccessToken, workspaceId, options = {}) {
1677
+ const constructorOptions = { ...options, personalAccessToken, workspaceId };
1678
+ if (!isSeamHttpOptionsWithPersonalAccessToken(constructorOptions)) {
1679
+ throw new SeamHttpInvalidOptionsError(
1680
+ "Missing personalAccessToken or workspaceId"
1681
+ );
1682
+ }
1683
+ return new _SeamHttpAcsCredentialsUnmanaged(constructorOptions);
1684
+ }
1685
+ async updateClientSessionToken(clientSessionToken) {
1686
+ const { headers } = this.client.defaults;
1687
+ const authHeaders = getAuthHeadersForClientSessionToken({
1688
+ clientSessionToken
1689
+ });
1690
+ for (const key of Object.keys(authHeaders)) {
1691
+ if (headers[key] == null) {
1692
+ throw new Error(
1693
+ "Cannot update a clientSessionToken on a client created without a clientSessionToken"
1694
+ );
1695
+ }
1696
+ }
1697
+ this.client.defaults.headers = { ...headers, ...authHeaders };
1698
+ const clientSessions = SeamHttpClientSessions.fromClient(this.client);
1699
+ await clientSessions.get();
1700
+ }
1701
+ get(body) {
1702
+ return new SeamHttpRequest(this, {
1703
+ path: "/acs/credentials/unmanaged/get",
1704
+ method: "post",
1705
+ body,
1706
+ responseKey: "acs_credential"
1707
+ });
1708
+ }
1709
+ list(body) {
1710
+ return new SeamHttpRequest(this, {
1711
+ path: "/acs/credentials/unmanaged/list",
1712
+ method: "post",
1713
+ body,
1714
+ responseKey: "acs_credentials"
1715
+ });
1716
+ }
1717
+ };
1718
+
1517
1719
  // src/lib/seam/connect/routes/acs-credentials.ts
1518
1720
  var SeamHttpAcsCredentials = class _SeamHttpAcsCredentials {
1519
1721
  constructor(apiKeyOrOptions = {}) {
@@ -1591,6 +1793,12 @@ var SeamHttpAcsCredentials = class _SeamHttpAcsCredentials {
1591
1793
  const clientSessions = SeamHttpClientSessions.fromClient(this.client);
1592
1794
  await clientSessions.get();
1593
1795
  }
1796
+ get unmanaged() {
1797
+ return SeamHttpAcsCredentialsUnmanaged.fromClient(
1798
+ this.client,
1799
+ this.defaults
1800
+ );
1801
+ }
1594
1802
  assign(body) {
1595
1803
  return new SeamHttpRequest(this, {
1596
1804
  path: "/acs/credentials/assign",
@@ -3681,8 +3889,8 @@ var SeamHttpPhones = class _SeamHttpPhones {
3681
3889
  }
3682
3890
  };
3683
3891
 
3684
- // src/lib/seam/connect/routes/thermostats-climate-setting-schedules.ts
3685
- var SeamHttpThermostatsClimateSettingSchedules = class _SeamHttpThermostatsClimateSettingSchedules {
3892
+ // src/lib/seam/connect/routes/thermostats-schedules.ts
3893
+ var SeamHttpThermostatsSchedules = class _SeamHttpThermostatsSchedules {
3686
3894
  constructor(apiKeyOrOptions = {}) {
3687
3895
  const options = parseOptions(apiKeyOrOptions);
3688
3896
  this.client = "client" in options ? options.client : createClient(options);
@@ -3693,21 +3901,21 @@ var SeamHttpThermostatsClimateSettingSchedules = class _SeamHttpThermostatsClima
3693
3901
  if (!isSeamHttpOptionsWithClient(constructorOptions)) {
3694
3902
  throw new SeamHttpInvalidOptionsError("Missing client");
3695
3903
  }
3696
- return new _SeamHttpThermostatsClimateSettingSchedules(constructorOptions);
3904
+ return new _SeamHttpThermostatsSchedules(constructorOptions);
3697
3905
  }
3698
3906
  static fromApiKey(apiKey, options = {}) {
3699
3907
  const constructorOptions = { ...options, apiKey };
3700
3908
  if (!isSeamHttpOptionsWithApiKey(constructorOptions)) {
3701
3909
  throw new SeamHttpInvalidOptionsError("Missing apiKey");
3702
3910
  }
3703
- return new _SeamHttpThermostatsClimateSettingSchedules(constructorOptions);
3911
+ return new _SeamHttpThermostatsSchedules(constructorOptions);
3704
3912
  }
3705
3913
  static fromClientSessionToken(clientSessionToken, options = {}) {
3706
3914
  const constructorOptions = { ...options, clientSessionToken };
3707
3915
  if (!isSeamHttpOptionsWithClientSessionToken(constructorOptions)) {
3708
3916
  throw new SeamHttpInvalidOptionsError("Missing clientSessionToken");
3709
3917
  }
3710
- return new _SeamHttpThermostatsClimateSettingSchedules(constructorOptions);
3918
+ return new _SeamHttpThermostatsSchedules(constructorOptions);
3711
3919
  }
3712
3920
  static async fromPublishableKey(publishableKey, userIdentifierKey, options = {}) {
3713
3921
  warnOnInsecureuserIdentifierKey(userIdentifierKey);
@@ -3722,10 +3930,7 @@ var SeamHttpThermostatsClimateSettingSchedules = class _SeamHttpThermostatsClima
3722
3930
  const { token } = await clientSessions.getOrCreate({
3723
3931
  user_identifier_key: userIdentifierKey
3724
3932
  });
3725
- return _SeamHttpThermostatsClimateSettingSchedules.fromClientSessionToken(
3726
- token,
3727
- options
3728
- );
3933
+ return _SeamHttpThermostatsSchedules.fromClientSessionToken(token, options);
3729
3934
  }
3730
3935
  static fromConsoleSessionToken(consoleSessionToken, workspaceId, options = {}) {
3731
3936
  const constructorOptions = { ...options, consoleSessionToken, workspaceId };
@@ -3734,7 +3939,7 @@ var SeamHttpThermostatsClimateSettingSchedules = class _SeamHttpThermostatsClima
3734
3939
  "Missing consoleSessionToken or workspaceId"
3735
3940
  );
3736
3941
  }
3737
- return new _SeamHttpThermostatsClimateSettingSchedules(constructorOptions);
3942
+ return new _SeamHttpThermostatsSchedules(constructorOptions);
3738
3943
  }
3739
3944
  static fromPersonalAccessToken(personalAccessToken, workspaceId, options = {}) {
3740
3945
  const constructorOptions = { ...options, personalAccessToken, workspaceId };
@@ -3743,7 +3948,7 @@ var SeamHttpThermostatsClimateSettingSchedules = class _SeamHttpThermostatsClima
3743
3948
  "Missing personalAccessToken or workspaceId"
3744
3949
  );
3745
3950
  }
3746
- return new _SeamHttpThermostatsClimateSettingSchedules(constructorOptions);
3951
+ return new _SeamHttpThermostatsSchedules(constructorOptions);
3747
3952
  }
3748
3953
  async updateClientSessionToken(clientSessionToken) {
3749
3954
  const { headers } = this.client.defaults;
@@ -3763,15 +3968,15 @@ var SeamHttpThermostatsClimateSettingSchedules = class _SeamHttpThermostatsClima
3763
3968
  }
3764
3969
  create(body) {
3765
3970
  return new SeamHttpRequest(this, {
3766
- path: "/thermostats/climate_setting_schedules/create",
3971
+ path: "/thermostats/schedules/create",
3767
3972
  method: "post",
3768
3973
  body,
3769
- responseKey: "climate_setting_schedule"
3974
+ responseKey: "thermostat_schedule"
3770
3975
  });
3771
3976
  }
3772
3977
  delete(body) {
3773
3978
  return new SeamHttpRequest(this, {
3774
- path: "/thermostats/climate_setting_schedules/delete",
3979
+ path: "/thermostats/schedules/delete",
3775
3980
  method: "post",
3776
3981
  body,
3777
3982
  responseKey: void 0
@@ -3779,23 +3984,23 @@ var SeamHttpThermostatsClimateSettingSchedules = class _SeamHttpThermostatsClima
3779
3984
  }
3780
3985
  get(body) {
3781
3986
  return new SeamHttpRequest(this, {
3782
- path: "/thermostats/climate_setting_schedules/get",
3987
+ path: "/thermostats/schedules/get",
3783
3988
  method: "post",
3784
3989
  body,
3785
- responseKey: "climate_setting_schedule"
3990
+ responseKey: "thermostat_schedule"
3786
3991
  });
3787
3992
  }
3788
3993
  list(body) {
3789
3994
  return new SeamHttpRequest(this, {
3790
- path: "/thermostats/climate_setting_schedules/list",
3995
+ path: "/thermostats/schedules/list",
3791
3996
  method: "post",
3792
3997
  body,
3793
- responseKey: "climate_setting_schedules"
3998
+ responseKey: "thermostat_schedules"
3794
3999
  });
3795
4000
  }
3796
4001
  update(body) {
3797
4002
  return new SeamHttpRequest(this, {
3798
- path: "/thermostats/climate_setting_schedules/update",
4003
+ path: "/thermostats/schedules/update",
3799
4004
  method: "post",
3800
4005
  body,
3801
4006
  responseKey: void 0
@@ -3880,11 +4085,17 @@ var SeamHttpThermostats = class _SeamHttpThermostats {
3880
4085
  const clientSessions = SeamHttpClientSessions.fromClient(this.client);
3881
4086
  await clientSessions.get();
3882
4087
  }
3883
- get climateSettingSchedules() {
3884
- return SeamHttpThermostatsClimateSettingSchedules.fromClient(
3885
- this.client,
3886
- this.defaults
3887
- );
4088
+ get schedules() {
4089
+ return SeamHttpThermostatsSchedules.fromClient(this.client, this.defaults);
4090
+ }
4091
+ activateClimatePreset(body, options = {}) {
4092
+ return new SeamHttpRequest(this, {
4093
+ path: "/thermostats/activate_climate_preset",
4094
+ method: "post",
4095
+ body,
4096
+ responseKey: "action_attempt",
4097
+ options
4098
+ });
3888
4099
  }
3889
4100
  cool(body, options = {}) {
3890
4101
  return new SeamHttpRequest(this, {
@@ -3895,6 +4106,22 @@ var SeamHttpThermostats = class _SeamHttpThermostats {
3895
4106
  options
3896
4107
  });
3897
4108
  }
4109
+ createClimatePreset(body) {
4110
+ return new SeamHttpRequest(this, {
4111
+ path: "/thermostats/create_climate_preset",
4112
+ method: "post",
4113
+ body,
4114
+ responseKey: void 0
4115
+ });
4116
+ }
4117
+ deleteClimatePreset(body) {
4118
+ return new SeamHttpRequest(this, {
4119
+ path: "/thermostats/delete_climate_preset",
4120
+ method: "post",
4121
+ body,
4122
+ responseKey: void 0
4123
+ });
4124
+ }
3898
4125
  get(body) {
3899
4126
  return new SeamHttpRequest(this, {
3900
4127
  path: "/thermostats/get",
@@ -3938,6 +4165,14 @@ var SeamHttpThermostats = class _SeamHttpThermostats {
3938
4165
  options
3939
4166
  });
3940
4167
  }
4168
+ setFallbackClimatePreset(body) {
4169
+ return new SeamHttpRequest(this, {
4170
+ path: "/thermostats/set_fallback_climate_preset",
4171
+ method: "post",
4172
+ body,
4173
+ responseKey: void 0
4174
+ });
4175
+ }
3941
4176
  setFanMode(body, options = {}) {
3942
4177
  return new SeamHttpRequest(this, {
3943
4178
  path: "/thermostats/set_fan_mode",
@@ -3947,12 +4182,12 @@ var SeamHttpThermostats = class _SeamHttpThermostats {
3947
4182
  options
3948
4183
  });
3949
4184
  }
3950
- update(body) {
4185
+ updateClimatePreset(body) {
3951
4186
  return new SeamHttpRequest(this, {
3952
- path: "/thermostats/update",
4187
+ path: "/thermostats/update_climate_preset",
3953
4188
  method: "post",
3954
4189
  body,
3955
- responseKey: void 0
4190
+ responseKey: "climate_preset"
3956
4191
  });
3957
4192
  }
3958
4193
  };
@@ -4663,9 +4898,11 @@ exports.SeamHttpAccessCodesSimulate = SeamHttpAccessCodesSimulate;
4663
4898
  exports.SeamHttpAccessCodesUnmanaged = SeamHttpAccessCodesUnmanaged;
4664
4899
  exports.SeamHttpAcs = SeamHttpAcs;
4665
4900
  exports.SeamHttpAcsAccessGroups = SeamHttpAcsAccessGroups;
4901
+ exports.SeamHttpAcsAccessGroupsUnmanaged = SeamHttpAcsAccessGroupsUnmanaged;
4666
4902
  exports.SeamHttpAcsCredentialPools = SeamHttpAcsCredentialPools;
4667
4903
  exports.SeamHttpAcsCredentialProvisioningAutomations = SeamHttpAcsCredentialProvisioningAutomations;
4668
4904
  exports.SeamHttpAcsCredentials = SeamHttpAcsCredentials;
4905
+ exports.SeamHttpAcsCredentialsUnmanaged = SeamHttpAcsCredentialsUnmanaged;
4669
4906
  exports.SeamHttpAcsEntrances = SeamHttpAcsEntrances;
4670
4907
  exports.SeamHttpAcsSystems = SeamHttpAcsSystems;
4671
4908
  exports.SeamHttpAcsUsers = SeamHttpAcsUsers;
@@ -4693,7 +4930,7 @@ exports.SeamHttpPhones = SeamHttpPhones;
4693
4930
  exports.SeamHttpPhonesSimulate = SeamHttpPhonesSimulate;
4694
4931
  exports.SeamHttpRequest = SeamHttpRequest;
4695
4932
  exports.SeamHttpThermostats = SeamHttpThermostats;
4696
- exports.SeamHttpThermostatsClimateSettingSchedules = SeamHttpThermostatsClimateSettingSchedules;
4933
+ exports.SeamHttpThermostatsSchedules = SeamHttpThermostatsSchedules;
4697
4934
  exports.SeamHttpUnauthorizedError = SeamHttpUnauthorizedError;
4698
4935
  exports.SeamHttpUserIdentities = SeamHttpUserIdentities;
4699
4936
  exports.SeamHttpUserIdentitiesEnrollmentAutomations = SeamHttpUserIdentitiesEnrollmentAutomations;