@seamapi/http 1.35.0 → 1.36.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 (60) hide show
  1. package/README.md +12 -0
  2. package/dist/connect.cjs +1331 -20
  3. package/dist/connect.cjs.map +1 -1
  4. package/dist/connect.d.cts +207 -17
  5. package/lib/seam/connect/routes/access-codes/access-codes.d.ts +2 -2
  6. package/lib/seam/connect/routes/access-codes/access-codes.js +2 -2
  7. package/lib/seam/connect/routes/access-codes/access-codes.js.map +1 -1
  8. package/lib/seam/connect/routes/access-grants/access-grants.d.ts +4 -0
  9. package/lib/seam/connect/routes/access-grants/access-grants.js +8 -0
  10. package/lib/seam/connect/routes/access-grants/access-grants.js.map +1 -1
  11. package/lib/seam/connect/routes/acs/credentials/credentials.d.ts +2 -2
  12. package/lib/seam/connect/routes/acs/credentials/credentials.js +2 -2
  13. package/lib/seam/connect/routes/acs/credentials/credentials.js.map +1 -1
  14. package/lib/seam/connect/routes/acs/encoders/encoders.d.ts +2 -2
  15. package/lib/seam/connect/routes/acs/encoders/encoders.js +2 -2
  16. package/lib/seam/connect/routes/acs/encoders/encoders.js.map +1 -1
  17. package/lib/seam/connect/routes/acs/users/users.d.ts +2 -2
  18. package/lib/seam/connect/routes/acs/users/users.js +2 -2
  19. package/lib/seam/connect/routes/acs/users/users.js.map +1 -1
  20. package/lib/seam/connect/routes/client-sessions/client-sessions.d.ts +2 -2
  21. package/lib/seam/connect/routes/client-sessions/client-sessions.js +2 -2
  22. package/lib/seam/connect/routes/client-sessions/client-sessions.js.map +1 -1
  23. package/lib/seam/connect/routes/connected-accounts/connected-accounts.d.ts +2 -2
  24. package/lib/seam/connect/routes/connected-accounts/connected-accounts.js +2 -2
  25. package/lib/seam/connect/routes/connected-accounts/connected-accounts.js.map +1 -1
  26. package/lib/seam/connect/routes/devices/simulate/simulate.d.ts +2 -2
  27. package/lib/seam/connect/routes/devices/simulate/simulate.js +2 -2
  28. package/lib/seam/connect/routes/devices/simulate/simulate.js.map +1 -1
  29. package/lib/seam/connect/routes/index.d.ts +1 -0
  30. package/lib/seam/connect/routes/index.js +1 -0
  31. package/lib/seam/connect/routes/index.js.map +1 -1
  32. package/lib/seam/connect/routes/phones/simulate/simulate.d.ts +2 -2
  33. package/lib/seam/connect/routes/phones/simulate/simulate.js +2 -2
  34. package/lib/seam/connect/routes/phones/simulate/simulate.js.map +1 -1
  35. package/lib/seam/connect/routes/seam-http-endpoints.d.ts +224 -0
  36. package/lib/seam/connect/routes/seam-http-endpoints.js +1310 -0
  37. package/lib/seam/connect/routes/seam-http-endpoints.js.map +1 -0
  38. package/lib/seam/connect/routes/thermostats/thermostats.d.ts +2 -2
  39. package/lib/seam/connect/routes/thermostats/thermostats.js +2 -2
  40. package/lib/seam/connect/routes/thermostats/thermostats.js.map +1 -1
  41. package/lib/seam/connect/routes/user-identities/user-identities.d.ts +2 -2
  42. package/lib/seam/connect/routes/user-identities/user-identities.js +2 -2
  43. package/lib/seam/connect/routes/user-identities/user-identities.js.map +1 -1
  44. package/lib/version.d.ts +1 -1
  45. package/lib/version.js +1 -1
  46. package/package.json +4 -4
  47. package/src/lib/seam/connect/routes/access-codes/access-codes.ts +3 -3
  48. package/src/lib/seam/connect/routes/access-grants/access-grants.ts +17 -0
  49. package/src/lib/seam/connect/routes/acs/credentials/credentials.ts +9 -4
  50. package/src/lib/seam/connect/routes/acs/encoders/encoders.ts +8 -4
  51. package/src/lib/seam/connect/routes/acs/users/users.ts +3 -3
  52. package/src/lib/seam/connect/routes/client-sessions/client-sessions.ts +3 -5
  53. package/src/lib/seam/connect/routes/connected-accounts/connected-accounts.ts +8 -4
  54. package/src/lib/seam/connect/routes/devices/simulate/simulate.ts +5 -3
  55. package/src/lib/seam/connect/routes/index.ts +1 -0
  56. package/src/lib/seam/connect/routes/phones/simulate/simulate.ts +3 -3
  57. package/src/lib/seam/connect/routes/seam-http-endpoints.ts +1942 -0
  58. package/src/lib/seam/connect/routes/thermostats/thermostats.ts +3 -3
  59. package/src/lib/seam/connect/routes/user-identities/user-identities.ts +8 -4
  60. package/src/lib/version.ts +1 -1
package/dist/connect.cjs CHANGED
@@ -973,11 +973,11 @@ var _SeamHttpClientSessions = class _SeamHttpClientSessions {
973
973
  responseKey: "client_sessions"
974
974
  });
975
975
  }
976
- revoke(params) {
976
+ revoke(body) {
977
977
  return new SeamHttpRequest(this, {
978
978
  pathname: "/client_sessions/revoke",
979
979
  method: "POST",
980
- body: params,
980
+ body,
981
981
  responseKey: void 0
982
982
  });
983
983
  }
@@ -1314,11 +1314,11 @@ var _SeamHttpAccessCodes = class _SeamHttpAccessCodes {
1314
1314
  responseKey: void 0
1315
1315
  });
1316
1316
  }
1317
- generateCode(body) {
1317
+ generateCode(params) {
1318
1318
  return new SeamHttpRequest(this, {
1319
1319
  pathname: "/access_codes/generate_code",
1320
1320
  method: "POST",
1321
- body,
1321
+ body: params,
1322
1322
  responseKey: "generated_code"
1323
1323
  });
1324
1324
  }
@@ -1487,6 +1487,14 @@ var _SeamHttpAccessGrants = class _SeamHttpAccessGrants {
1487
1487
  responseKey: "access_grants"
1488
1488
  });
1489
1489
  }
1490
+ update(body) {
1491
+ return new SeamHttpRequest(this, {
1492
+ pathname: "/access_grants/update",
1493
+ method: "PATCH",
1494
+ body,
1495
+ responseKey: void 0
1496
+ });
1497
+ }
1490
1498
  };
1491
1499
  _SeamHttpAccessGrants.ltsVersion = seamApiLtsVersion;
1492
1500
  var SeamHttpAccessGrants = _SeamHttpAccessGrants;
@@ -1849,8 +1857,8 @@ var _SeamHttpAcsCredentials = class _SeamHttpAcsCredentials {
1849
1857
  list(params) {
1850
1858
  return new SeamHttpRequest(this, {
1851
1859
  pathname: "/acs/credentials/list",
1852
- method: "POST",
1853
- body: params,
1860
+ method: "GET",
1861
+ params,
1854
1862
  responseKey: "acs_credentials"
1855
1863
  });
1856
1864
  }
@@ -2112,8 +2120,8 @@ var _SeamHttpAcsEncoders = class _SeamHttpAcsEncoders {
2112
2120
  list(params) {
2113
2121
  return new SeamHttpRequest(this, {
2114
2122
  pathname: "/acs/encoders/list",
2115
- method: "POST",
2116
- body: params,
2123
+ method: "GET",
2124
+ params,
2117
2125
  responseKey: "acs_encoders"
2118
2126
  });
2119
2127
  }
@@ -2493,11 +2501,11 @@ var _SeamHttpAcsUsers = class _SeamHttpAcsUsers {
2493
2501
  responseKey: void 0
2494
2502
  });
2495
2503
  }
2496
- revokeAccessToAllEntrances(params) {
2504
+ revokeAccessToAllEntrances(body) {
2497
2505
  return new SeamHttpRequest(this, {
2498
2506
  pathname: "/acs/users/revoke_access_to_all_entrances",
2499
2507
  method: "POST",
2500
- body: params,
2508
+ body,
2501
2509
  responseKey: void 0
2502
2510
  });
2503
2511
  }
@@ -2943,8 +2951,8 @@ var _SeamHttpConnectedAccounts = class _SeamHttpConnectedAccounts {
2943
2951
  get(params) {
2944
2952
  return new SeamHttpRequest(this, {
2945
2953
  pathname: "/connected_accounts/get",
2946
- method: "POST",
2947
- body: params,
2954
+ method: "GET",
2955
+ params,
2948
2956
  responseKey: "connected_account"
2949
2957
  });
2950
2958
  }
@@ -3073,11 +3081,11 @@ var _SeamHttpDevicesSimulate = class _SeamHttpDevicesSimulate {
3073
3081
  responseKey: void 0
3074
3082
  });
3075
3083
  }
3076
- remove(body) {
3084
+ remove(params) {
3077
3085
  return new SeamHttpRequest(this, {
3078
3086
  pathname: "/devices/simulate/remove",
3079
3087
  method: "POST",
3080
- body,
3088
+ body: params,
3081
3089
  responseKey: void 0
3082
3090
  });
3083
3091
  }
@@ -3941,11 +3949,11 @@ var _SeamHttpPhonesSimulate = class _SeamHttpPhonesSimulate {
3941
3949
  const clientSessions = SeamHttpClientSessions.fromClient(this.client);
3942
3950
  await clientSessions.get();
3943
3951
  }
3944
- createSandboxPhone(body) {
3952
+ createSandboxPhone(params) {
3945
3953
  return new SeamHttpRequest(this, {
3946
3954
  pathname: "/phones/simulate/create_sandbox_phone",
3947
3955
  method: "POST",
3948
- body,
3956
+ body: params,
3949
3957
  responseKey: "phone"
3950
3958
  });
3951
3959
  }
@@ -4680,11 +4688,11 @@ var _SeamHttpThermostats = class _SeamHttpThermostats {
4680
4688
  responseKey: void 0
4681
4689
  });
4682
4690
  }
4683
- deleteClimatePreset(body) {
4691
+ deleteClimatePreset(params) {
4684
4692
  return new SeamHttpRequest(this, {
4685
4693
  pathname: "/thermostats/delete_climate_preset",
4686
4694
  method: "POST",
4687
- body,
4695
+ body: params,
4688
4696
  responseKey: void 0
4689
4697
  });
4690
4698
  }
@@ -5020,8 +5028,8 @@ var _SeamHttpUserIdentities = class _SeamHttpUserIdentities {
5020
5028
  get(params) {
5021
5029
  return new SeamHttpRequest(this, {
5022
5030
  pathname: "/user_identities/get",
5023
- method: "POST",
5024
- body: params,
5031
+ method: "GET",
5032
+ params,
5025
5033
  responseKey: "user_identity"
5026
5034
  });
5027
5035
  }
@@ -5483,6 +5491,1308 @@ var _SeamHttp = class _SeamHttp {
5483
5491
  _SeamHttp.ltsVersion = seamApiLtsVersion;
5484
5492
  var SeamHttp = _SeamHttp;
5485
5493
 
5494
+ // src/lib/seam/connect/routes/seam-http-endpoints.ts
5495
+ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
5496
+ constructor(apiKeyOrOptions = {}) {
5497
+ this.ltsVersion = seamApiLtsVersion;
5498
+ const options = parseOptions(apiKeyOrOptions);
5499
+ this.client = "client" in options ? options.client : createClient(options);
5500
+ this.defaults = limitToSeamHttpRequestOptions(options);
5501
+ }
5502
+ static fromClient(client, options = {}) {
5503
+ const constructorOptions = { ...options, client };
5504
+ if (!isSeamHttpOptionsWithClient(constructorOptions)) {
5505
+ throw new SeamHttpInvalidOptionsError("Missing client");
5506
+ }
5507
+ return new _SeamHttpEndpoints(constructorOptions);
5508
+ }
5509
+ static fromApiKey(apiKey, options = {}) {
5510
+ const constructorOptions = { ...options, apiKey };
5511
+ if (!isSeamHttpOptionsWithApiKey(constructorOptions)) {
5512
+ throw new SeamHttpInvalidOptionsError("Missing apiKey");
5513
+ }
5514
+ return new _SeamHttpEndpoints(constructorOptions);
5515
+ }
5516
+ static fromClientSessionToken(clientSessionToken, options = {}) {
5517
+ const constructorOptions = { ...options, clientSessionToken };
5518
+ if (!isSeamHttpOptionsWithClientSessionToken(constructorOptions)) {
5519
+ throw new SeamHttpInvalidOptionsError("Missing clientSessionToken");
5520
+ }
5521
+ return new _SeamHttpEndpoints(constructorOptions);
5522
+ }
5523
+ static async fromPublishableKey(publishableKey, userIdentifierKey, options = {}) {
5524
+ warnOnInsecureuserIdentifierKey(userIdentifierKey);
5525
+ const clientOptions = parseOptions({ ...options, publishableKey });
5526
+ if (isSeamHttpOptionsWithClient(clientOptions)) {
5527
+ throw new SeamHttpInvalidOptionsError(
5528
+ "The client option cannot be used with SeamHttpEndpoints.fromPublishableKey"
5529
+ );
5530
+ }
5531
+ const client = createClient(clientOptions);
5532
+ const clientSessions = SeamHttpClientSessions.fromClient(client);
5533
+ const { token } = await clientSessions.getOrCreate({
5534
+ user_identifier_key: userIdentifierKey
5535
+ });
5536
+ return _SeamHttpEndpoints.fromClientSessionToken(token, options);
5537
+ }
5538
+ static fromConsoleSessionToken(consoleSessionToken, workspaceId, options = {}) {
5539
+ const constructorOptions = { ...options, consoleSessionToken, workspaceId };
5540
+ if (!isSeamHttpOptionsWithConsoleSessionToken(constructorOptions)) {
5541
+ throw new SeamHttpInvalidOptionsError(
5542
+ "Missing consoleSessionToken or workspaceId"
5543
+ );
5544
+ }
5545
+ return new _SeamHttpEndpoints(constructorOptions);
5546
+ }
5547
+ static fromPersonalAccessToken(personalAccessToken, workspaceId, options = {}) {
5548
+ const constructorOptions = { ...options, personalAccessToken, workspaceId };
5549
+ if (!isSeamHttpOptionsWithPersonalAccessToken(constructorOptions)) {
5550
+ throw new SeamHttpInvalidOptionsError(
5551
+ "Missing personalAccessToken or workspaceId"
5552
+ );
5553
+ }
5554
+ return new _SeamHttpEndpoints(constructorOptions);
5555
+ }
5556
+ createPaginator(request) {
5557
+ return new SeamPaginator(this, request);
5558
+ }
5559
+ async updateClientSessionToken(clientSessionToken) {
5560
+ const { headers } = this.client.defaults;
5561
+ const authHeaders = getAuthHeadersForClientSessionToken({
5562
+ clientSessionToken
5563
+ });
5564
+ for (const key of Object.keys(authHeaders)) {
5565
+ if (headers[key] == null) {
5566
+ throw new Error(
5567
+ "Cannot update a clientSessionToken on a client created without a clientSessionToken"
5568
+ );
5569
+ }
5570
+ }
5571
+ this.client.defaults.headers = { ...headers, ...authHeaders };
5572
+ const clientSessions = SeamHttpClientSessions.fromClient(this.client);
5573
+ await clientSessions.get();
5574
+ }
5575
+ get ["/access_codes/create"]() {
5576
+ const { client, defaults } = this;
5577
+ return function accessCodesCreate(...args) {
5578
+ const seam = SeamHttpAccessCodes.fromClient(client, defaults);
5579
+ return seam.create(...args);
5580
+ };
5581
+ }
5582
+ get ["/access_codes/create_multiple"]() {
5583
+ const { client, defaults } = this;
5584
+ return function accessCodesCreateMultiple(...args) {
5585
+ const seam = SeamHttpAccessCodes.fromClient(client, defaults);
5586
+ return seam.createMultiple(...args);
5587
+ };
5588
+ }
5589
+ get ["/access_codes/delete"]() {
5590
+ const { client, defaults } = this;
5591
+ return function accessCodesDelete(...args) {
5592
+ const seam = SeamHttpAccessCodes.fromClient(client, defaults);
5593
+ return seam.delete(...args);
5594
+ };
5595
+ }
5596
+ get ["/access_codes/generate_code"]() {
5597
+ const { client, defaults } = this;
5598
+ return function accessCodesGenerateCode(...args) {
5599
+ const seam = SeamHttpAccessCodes.fromClient(client, defaults);
5600
+ return seam.generateCode(...args);
5601
+ };
5602
+ }
5603
+ get ["/access_codes/get"]() {
5604
+ const { client, defaults } = this;
5605
+ return function accessCodesGet(...args) {
5606
+ const seam = SeamHttpAccessCodes.fromClient(client, defaults);
5607
+ return seam.get(...args);
5608
+ };
5609
+ }
5610
+ get ["/access_codes/list"]() {
5611
+ const { client, defaults } = this;
5612
+ return function accessCodesList(...args) {
5613
+ const seam = SeamHttpAccessCodes.fromClient(client, defaults);
5614
+ return seam.list(...args);
5615
+ };
5616
+ }
5617
+ get ["/access_codes/pull_backup_access_code"]() {
5618
+ const { client, defaults } = this;
5619
+ return function accessCodesPullBackupAccessCode(...args) {
5620
+ const seam = SeamHttpAccessCodes.fromClient(client, defaults);
5621
+ return seam.pullBackupAccessCode(...args);
5622
+ };
5623
+ }
5624
+ get ["/access_codes/report_device_constraints"]() {
5625
+ const { client, defaults } = this;
5626
+ return function accessCodesReportDeviceConstraints(...args) {
5627
+ const seam = SeamHttpAccessCodes.fromClient(client, defaults);
5628
+ return seam.reportDeviceConstraints(...args);
5629
+ };
5630
+ }
5631
+ get ["/access_codes/update"]() {
5632
+ const { client, defaults } = this;
5633
+ return function accessCodesUpdate(...args) {
5634
+ const seam = SeamHttpAccessCodes.fromClient(client, defaults);
5635
+ return seam.update(...args);
5636
+ };
5637
+ }
5638
+ get ["/access_codes/update_multiple"]() {
5639
+ const { client, defaults } = this;
5640
+ return function accessCodesUpdateMultiple(...args) {
5641
+ const seam = SeamHttpAccessCodes.fromClient(client, defaults);
5642
+ return seam.updateMultiple(...args);
5643
+ };
5644
+ }
5645
+ get ["/access_codes/simulate/create_unmanaged_access_code"]() {
5646
+ const { client, defaults } = this;
5647
+ return function accessCodesSimulateCreateUnmanagedAccessCode(...args) {
5648
+ const seam = SeamHttpAccessCodesSimulate.fromClient(client, defaults);
5649
+ return seam.createUnmanagedAccessCode(...args);
5650
+ };
5651
+ }
5652
+ get ["/access_codes/unmanaged/convert_to_managed"]() {
5653
+ const { client, defaults } = this;
5654
+ return function accessCodesUnmanagedConvertToManaged(...args) {
5655
+ const seam = SeamHttpAccessCodesUnmanaged.fromClient(client, defaults);
5656
+ return seam.convertToManaged(...args);
5657
+ };
5658
+ }
5659
+ get ["/access_codes/unmanaged/delete"]() {
5660
+ const { client, defaults } = this;
5661
+ return function accessCodesUnmanagedDelete(...args) {
5662
+ const seam = SeamHttpAccessCodesUnmanaged.fromClient(client, defaults);
5663
+ return seam.delete(...args);
5664
+ };
5665
+ }
5666
+ get ["/access_codes/unmanaged/get"]() {
5667
+ const { client, defaults } = this;
5668
+ return function accessCodesUnmanagedGet(...args) {
5669
+ const seam = SeamHttpAccessCodesUnmanaged.fromClient(client, defaults);
5670
+ return seam.get(...args);
5671
+ };
5672
+ }
5673
+ get ["/access_codes/unmanaged/list"]() {
5674
+ const { client, defaults } = this;
5675
+ return function accessCodesUnmanagedList(...args) {
5676
+ const seam = SeamHttpAccessCodesUnmanaged.fromClient(client, defaults);
5677
+ return seam.list(...args);
5678
+ };
5679
+ }
5680
+ get ["/access_codes/unmanaged/update"]() {
5681
+ const { client, defaults } = this;
5682
+ return function accessCodesUnmanagedUpdate(...args) {
5683
+ const seam = SeamHttpAccessCodesUnmanaged.fromClient(client, defaults);
5684
+ return seam.update(...args);
5685
+ };
5686
+ }
5687
+ get ["/access_grants/create"]() {
5688
+ const { client, defaults } = this;
5689
+ return function accessGrantsCreate(...args) {
5690
+ const seam = SeamHttpAccessGrants.fromClient(client, defaults);
5691
+ return seam.create(...args);
5692
+ };
5693
+ }
5694
+ get ["/access_grants/delete"]() {
5695
+ const { client, defaults } = this;
5696
+ return function accessGrantsDelete(...args) {
5697
+ const seam = SeamHttpAccessGrants.fromClient(client, defaults);
5698
+ return seam.delete(...args);
5699
+ };
5700
+ }
5701
+ get ["/access_grants/get"]() {
5702
+ const { client, defaults } = this;
5703
+ return function accessGrantsGet(...args) {
5704
+ const seam = SeamHttpAccessGrants.fromClient(client, defaults);
5705
+ return seam.get(...args);
5706
+ };
5707
+ }
5708
+ get ["/access_grants/list"]() {
5709
+ const { client, defaults } = this;
5710
+ return function accessGrantsList(...args) {
5711
+ const seam = SeamHttpAccessGrants.fromClient(client, defaults);
5712
+ return seam.list(...args);
5713
+ };
5714
+ }
5715
+ get ["/access_grants/update"]() {
5716
+ const { client, defaults } = this;
5717
+ return function accessGrantsUpdate(...args) {
5718
+ const seam = SeamHttpAccessGrants.fromClient(client, defaults);
5719
+ return seam.update(...args);
5720
+ };
5721
+ }
5722
+ get ["/access_methods/delete"]() {
5723
+ const { client, defaults } = this;
5724
+ return function accessMethodsDelete(...args) {
5725
+ const seam = SeamHttpAccessMethods.fromClient(client, defaults);
5726
+ return seam.delete(...args);
5727
+ };
5728
+ }
5729
+ get ["/access_methods/get"]() {
5730
+ const { client, defaults } = this;
5731
+ return function accessMethodsGet(...args) {
5732
+ const seam = SeamHttpAccessMethods.fromClient(client, defaults);
5733
+ return seam.get(...args);
5734
+ };
5735
+ }
5736
+ get ["/access_methods/list"]() {
5737
+ const { client, defaults } = this;
5738
+ return function accessMethodsList(...args) {
5739
+ const seam = SeamHttpAccessMethods.fromClient(client, defaults);
5740
+ return seam.list(...args);
5741
+ };
5742
+ }
5743
+ get ["/acs/access_groups/add_user"]() {
5744
+ const { client, defaults } = this;
5745
+ return function acsAccessGroupsAddUser(...args) {
5746
+ const seam = SeamHttpAcsAccessGroups.fromClient(client, defaults);
5747
+ return seam.addUser(...args);
5748
+ };
5749
+ }
5750
+ get ["/acs/access_groups/get"]() {
5751
+ const { client, defaults } = this;
5752
+ return function acsAccessGroupsGet(...args) {
5753
+ const seam = SeamHttpAcsAccessGroups.fromClient(client, defaults);
5754
+ return seam.get(...args);
5755
+ };
5756
+ }
5757
+ get ["/acs/access_groups/list"]() {
5758
+ const { client, defaults } = this;
5759
+ return function acsAccessGroupsList(...args) {
5760
+ const seam = SeamHttpAcsAccessGroups.fromClient(client, defaults);
5761
+ return seam.list(...args);
5762
+ };
5763
+ }
5764
+ get ["/acs/access_groups/list_accessible_entrances"]() {
5765
+ const { client, defaults } = this;
5766
+ return function acsAccessGroupsListAccessibleEntrances(...args) {
5767
+ const seam = SeamHttpAcsAccessGroups.fromClient(client, defaults);
5768
+ return seam.listAccessibleEntrances(...args);
5769
+ };
5770
+ }
5771
+ get ["/acs/access_groups/list_users"]() {
5772
+ const { client, defaults } = this;
5773
+ return function acsAccessGroupsListUsers(...args) {
5774
+ const seam = SeamHttpAcsAccessGroups.fromClient(client, defaults);
5775
+ return seam.listUsers(...args);
5776
+ };
5777
+ }
5778
+ get ["/acs/access_groups/remove_user"]() {
5779
+ const { client, defaults } = this;
5780
+ return function acsAccessGroupsRemoveUser(...args) {
5781
+ const seam = SeamHttpAcsAccessGroups.fromClient(client, defaults);
5782
+ return seam.removeUser(...args);
5783
+ };
5784
+ }
5785
+ get ["/acs/credentials/assign"]() {
5786
+ const { client, defaults } = this;
5787
+ return function acsCredentialsAssign(...args) {
5788
+ const seam = SeamHttpAcsCredentials.fromClient(client, defaults);
5789
+ return seam.assign(...args);
5790
+ };
5791
+ }
5792
+ get ["/acs/credentials/create"]() {
5793
+ const { client, defaults } = this;
5794
+ return function acsCredentialsCreate(...args) {
5795
+ const seam = SeamHttpAcsCredentials.fromClient(client, defaults);
5796
+ return seam.create(...args);
5797
+ };
5798
+ }
5799
+ get ["/acs/credentials/delete"]() {
5800
+ const { client, defaults } = this;
5801
+ return function acsCredentialsDelete(...args) {
5802
+ const seam = SeamHttpAcsCredentials.fromClient(client, defaults);
5803
+ return seam.delete(...args);
5804
+ };
5805
+ }
5806
+ get ["/acs/credentials/get"]() {
5807
+ const { client, defaults } = this;
5808
+ return function acsCredentialsGet(...args) {
5809
+ const seam = SeamHttpAcsCredentials.fromClient(client, defaults);
5810
+ return seam.get(...args);
5811
+ };
5812
+ }
5813
+ get ["/acs/credentials/list"]() {
5814
+ const { client, defaults } = this;
5815
+ return function acsCredentialsList(...args) {
5816
+ const seam = SeamHttpAcsCredentials.fromClient(client, defaults);
5817
+ return seam.list(...args);
5818
+ };
5819
+ }
5820
+ get ["/acs/credentials/list_accessible_entrances"]() {
5821
+ const { client, defaults } = this;
5822
+ return function acsCredentialsListAccessibleEntrances(...args) {
5823
+ const seam = SeamHttpAcsCredentials.fromClient(client, defaults);
5824
+ return seam.listAccessibleEntrances(...args);
5825
+ };
5826
+ }
5827
+ get ["/acs/credentials/unassign"]() {
5828
+ const { client, defaults } = this;
5829
+ return function acsCredentialsUnassign(...args) {
5830
+ const seam = SeamHttpAcsCredentials.fromClient(client, defaults);
5831
+ return seam.unassign(...args);
5832
+ };
5833
+ }
5834
+ get ["/acs/credentials/update"]() {
5835
+ const { client, defaults } = this;
5836
+ return function acsCredentialsUpdate(...args) {
5837
+ const seam = SeamHttpAcsCredentials.fromClient(client, defaults);
5838
+ return seam.update(...args);
5839
+ };
5840
+ }
5841
+ get ["/acs/encoders/encode_access_method"]() {
5842
+ const { client, defaults } = this;
5843
+ return function acsEncodersEncodeAccessMethod(...args) {
5844
+ const seam = SeamHttpAcsEncoders.fromClient(client, defaults);
5845
+ return seam.encodeAccessMethod(...args);
5846
+ };
5847
+ }
5848
+ get ["/acs/encoders/encode_credential"]() {
5849
+ const { client, defaults } = this;
5850
+ return function acsEncodersEncodeCredential(...args) {
5851
+ const seam = SeamHttpAcsEncoders.fromClient(client, defaults);
5852
+ return seam.encodeCredential(...args);
5853
+ };
5854
+ }
5855
+ get ["/acs/encoders/get"]() {
5856
+ const { client, defaults } = this;
5857
+ return function acsEncodersGet(...args) {
5858
+ const seam = SeamHttpAcsEncoders.fromClient(client, defaults);
5859
+ return seam.get(...args);
5860
+ };
5861
+ }
5862
+ get ["/acs/encoders/list"]() {
5863
+ const { client, defaults } = this;
5864
+ return function acsEncodersList(...args) {
5865
+ const seam = SeamHttpAcsEncoders.fromClient(client, defaults);
5866
+ return seam.list(...args);
5867
+ };
5868
+ }
5869
+ get ["/acs/encoders/scan_credential"]() {
5870
+ const { client, defaults } = this;
5871
+ return function acsEncodersScanCredential(...args) {
5872
+ const seam = SeamHttpAcsEncoders.fromClient(client, defaults);
5873
+ return seam.scanCredential(...args);
5874
+ };
5875
+ }
5876
+ get ["/acs/encoders/simulate/next_credential_encode_will_fail"]() {
5877
+ const { client, defaults } = this;
5878
+ return function acsEncodersSimulateNextCredentialEncodeWillFail(...args) {
5879
+ const seam = SeamHttpAcsEncodersSimulate.fromClient(client, defaults);
5880
+ return seam.nextCredentialEncodeWillFail(...args);
5881
+ };
5882
+ }
5883
+ get ["/acs/encoders/simulate/next_credential_encode_will_succeed"]() {
5884
+ const { client, defaults } = this;
5885
+ return function acsEncodersSimulateNextCredentialEncodeWillSucceed(...args) {
5886
+ const seam = SeamHttpAcsEncodersSimulate.fromClient(client, defaults);
5887
+ return seam.nextCredentialEncodeWillSucceed(...args);
5888
+ };
5889
+ }
5890
+ get ["/acs/encoders/simulate/next_credential_scan_will_fail"]() {
5891
+ const { client, defaults } = this;
5892
+ return function acsEncodersSimulateNextCredentialScanWillFail(...args) {
5893
+ const seam = SeamHttpAcsEncodersSimulate.fromClient(client, defaults);
5894
+ return seam.nextCredentialScanWillFail(...args);
5895
+ };
5896
+ }
5897
+ get ["/acs/encoders/simulate/next_credential_scan_will_succeed"]() {
5898
+ const { client, defaults } = this;
5899
+ return function acsEncodersSimulateNextCredentialScanWillSucceed(...args) {
5900
+ const seam = SeamHttpAcsEncodersSimulate.fromClient(client, defaults);
5901
+ return seam.nextCredentialScanWillSucceed(...args);
5902
+ };
5903
+ }
5904
+ get ["/acs/entrances/get"]() {
5905
+ const { client, defaults } = this;
5906
+ return function acsEntrancesGet(...args) {
5907
+ const seam = SeamHttpAcsEntrances.fromClient(client, defaults);
5908
+ return seam.get(...args);
5909
+ };
5910
+ }
5911
+ get ["/acs/entrances/grant_access"]() {
5912
+ const { client, defaults } = this;
5913
+ return function acsEntrancesGrantAccess(...args) {
5914
+ const seam = SeamHttpAcsEntrances.fromClient(client, defaults);
5915
+ return seam.grantAccess(...args);
5916
+ };
5917
+ }
5918
+ get ["/acs/entrances/list"]() {
5919
+ const { client, defaults } = this;
5920
+ return function acsEntrancesList(...args) {
5921
+ const seam = SeamHttpAcsEntrances.fromClient(client, defaults);
5922
+ return seam.list(...args);
5923
+ };
5924
+ }
5925
+ get ["/acs/entrances/list_credentials_with_access"]() {
5926
+ const { client, defaults } = this;
5927
+ return function acsEntrancesListCredentialsWithAccess(...args) {
5928
+ const seam = SeamHttpAcsEntrances.fromClient(client, defaults);
5929
+ return seam.listCredentialsWithAccess(...args);
5930
+ };
5931
+ }
5932
+ get ["/acs/systems/get"]() {
5933
+ const { client, defaults } = this;
5934
+ return function acsSystemsGet(...args) {
5935
+ const seam = SeamHttpAcsSystems.fromClient(client, defaults);
5936
+ return seam.get(...args);
5937
+ };
5938
+ }
5939
+ get ["/acs/systems/list"]() {
5940
+ const { client, defaults } = this;
5941
+ return function acsSystemsList(...args) {
5942
+ const seam = SeamHttpAcsSystems.fromClient(client, defaults);
5943
+ return seam.list(...args);
5944
+ };
5945
+ }
5946
+ get ["/acs/systems/list_compatible_credential_manager_acs_systems"]() {
5947
+ const { client, defaults } = this;
5948
+ return function acsSystemsListCompatibleCredentialManagerAcsSystems(...args) {
5949
+ const seam = SeamHttpAcsSystems.fromClient(client, defaults);
5950
+ return seam.listCompatibleCredentialManagerAcsSystems(...args);
5951
+ };
5952
+ }
5953
+ get ["/acs/users/add_to_access_group"]() {
5954
+ const { client, defaults } = this;
5955
+ return function acsUsersAddToAccessGroup(...args) {
5956
+ const seam = SeamHttpAcsUsers.fromClient(client, defaults);
5957
+ return seam.addToAccessGroup(...args);
5958
+ };
5959
+ }
5960
+ get ["/acs/users/create"]() {
5961
+ const { client, defaults } = this;
5962
+ return function acsUsersCreate(...args) {
5963
+ const seam = SeamHttpAcsUsers.fromClient(client, defaults);
5964
+ return seam.create(...args);
5965
+ };
5966
+ }
5967
+ get ["/acs/users/delete"]() {
5968
+ const { client, defaults } = this;
5969
+ return function acsUsersDelete(...args) {
5970
+ const seam = SeamHttpAcsUsers.fromClient(client, defaults);
5971
+ return seam.delete(...args);
5972
+ };
5973
+ }
5974
+ get ["/acs/users/get"]() {
5975
+ const { client, defaults } = this;
5976
+ return function acsUsersGet(...args) {
5977
+ const seam = SeamHttpAcsUsers.fromClient(client, defaults);
5978
+ return seam.get(...args);
5979
+ };
5980
+ }
5981
+ get ["/acs/users/list"]() {
5982
+ const { client, defaults } = this;
5983
+ return function acsUsersList(...args) {
5984
+ const seam = SeamHttpAcsUsers.fromClient(client, defaults);
5985
+ return seam.list(...args);
5986
+ };
5987
+ }
5988
+ get ["/acs/users/list_accessible_entrances"]() {
5989
+ const { client, defaults } = this;
5990
+ return function acsUsersListAccessibleEntrances(...args) {
5991
+ const seam = SeamHttpAcsUsers.fromClient(client, defaults);
5992
+ return seam.listAccessibleEntrances(...args);
5993
+ };
5994
+ }
5995
+ get ["/acs/users/remove_from_access_group"]() {
5996
+ const { client, defaults } = this;
5997
+ return function acsUsersRemoveFromAccessGroup(...args) {
5998
+ const seam = SeamHttpAcsUsers.fromClient(client, defaults);
5999
+ return seam.removeFromAccessGroup(...args);
6000
+ };
6001
+ }
6002
+ get ["/acs/users/revoke_access_to_all_entrances"]() {
6003
+ const { client, defaults } = this;
6004
+ return function acsUsersRevokeAccessToAllEntrances(...args) {
6005
+ const seam = SeamHttpAcsUsers.fromClient(client, defaults);
6006
+ return seam.revokeAccessToAllEntrances(...args);
6007
+ };
6008
+ }
6009
+ get ["/acs/users/suspend"]() {
6010
+ const { client, defaults } = this;
6011
+ return function acsUsersSuspend(...args) {
6012
+ const seam = SeamHttpAcsUsers.fromClient(client, defaults);
6013
+ return seam.suspend(...args);
6014
+ };
6015
+ }
6016
+ get ["/acs/users/unsuspend"]() {
6017
+ const { client, defaults } = this;
6018
+ return function acsUsersUnsuspend(...args) {
6019
+ const seam = SeamHttpAcsUsers.fromClient(client, defaults);
6020
+ return seam.unsuspend(...args);
6021
+ };
6022
+ }
6023
+ get ["/acs/users/update"]() {
6024
+ const { client, defaults } = this;
6025
+ return function acsUsersUpdate(...args) {
6026
+ const seam = SeamHttpAcsUsers.fromClient(client, defaults);
6027
+ return seam.update(...args);
6028
+ };
6029
+ }
6030
+ get ["/action_attempts/get"]() {
6031
+ const { client, defaults } = this;
6032
+ return function actionAttemptsGet(...args) {
6033
+ const seam = SeamHttpActionAttempts.fromClient(client, defaults);
6034
+ return seam.get(...args);
6035
+ };
6036
+ }
6037
+ get ["/action_attempts/list"]() {
6038
+ const { client, defaults } = this;
6039
+ return function actionAttemptsList(...args) {
6040
+ const seam = SeamHttpActionAttempts.fromClient(client, defaults);
6041
+ return seam.list(...args);
6042
+ };
6043
+ }
6044
+ get ["/client_sessions/create"]() {
6045
+ const { client, defaults } = this;
6046
+ return function clientSessionsCreate(...args) {
6047
+ const seam = SeamHttpClientSessions.fromClient(client, defaults);
6048
+ return seam.create(...args);
6049
+ };
6050
+ }
6051
+ get ["/client_sessions/delete"]() {
6052
+ const { client, defaults } = this;
6053
+ return function clientSessionsDelete(...args) {
6054
+ const seam = SeamHttpClientSessions.fromClient(client, defaults);
6055
+ return seam.delete(...args);
6056
+ };
6057
+ }
6058
+ get ["/client_sessions/get"]() {
6059
+ const { client, defaults } = this;
6060
+ return function clientSessionsGet(...args) {
6061
+ const seam = SeamHttpClientSessions.fromClient(client, defaults);
6062
+ return seam.get(...args);
6063
+ };
6064
+ }
6065
+ get ["/client_sessions/get_or_create"]() {
6066
+ const { client, defaults } = this;
6067
+ return function clientSessionsGetOrCreate(...args) {
6068
+ const seam = SeamHttpClientSessions.fromClient(client, defaults);
6069
+ return seam.getOrCreate(...args);
6070
+ };
6071
+ }
6072
+ get ["/client_sessions/grant_access"]() {
6073
+ const { client, defaults } = this;
6074
+ return function clientSessionsGrantAccess(...args) {
6075
+ const seam = SeamHttpClientSessions.fromClient(client, defaults);
6076
+ return seam.grantAccess(...args);
6077
+ };
6078
+ }
6079
+ get ["/client_sessions/list"]() {
6080
+ const { client, defaults } = this;
6081
+ return function clientSessionsList(...args) {
6082
+ const seam = SeamHttpClientSessions.fromClient(client, defaults);
6083
+ return seam.list(...args);
6084
+ };
6085
+ }
6086
+ get ["/client_sessions/revoke"]() {
6087
+ const { client, defaults } = this;
6088
+ return function clientSessionsRevoke(...args) {
6089
+ const seam = SeamHttpClientSessions.fromClient(client, defaults);
6090
+ return seam.revoke(...args);
6091
+ };
6092
+ }
6093
+ get ["/connect_webviews/create"]() {
6094
+ const { client, defaults } = this;
6095
+ return function connectWebviewsCreate(...args) {
6096
+ const seam = SeamHttpConnectWebviews.fromClient(client, defaults);
6097
+ return seam.create(...args);
6098
+ };
6099
+ }
6100
+ get ["/connect_webviews/delete"]() {
6101
+ const { client, defaults } = this;
6102
+ return function connectWebviewsDelete(...args) {
6103
+ const seam = SeamHttpConnectWebviews.fromClient(client, defaults);
6104
+ return seam.delete(...args);
6105
+ };
6106
+ }
6107
+ get ["/connect_webviews/get"]() {
6108
+ const { client, defaults } = this;
6109
+ return function connectWebviewsGet(...args) {
6110
+ const seam = SeamHttpConnectWebviews.fromClient(client, defaults);
6111
+ return seam.get(...args);
6112
+ };
6113
+ }
6114
+ get ["/connect_webviews/list"]() {
6115
+ const { client, defaults } = this;
6116
+ return function connectWebviewsList(...args) {
6117
+ const seam = SeamHttpConnectWebviews.fromClient(client, defaults);
6118
+ return seam.list(...args);
6119
+ };
6120
+ }
6121
+ get ["/connected_accounts/delete"]() {
6122
+ const { client, defaults } = this;
6123
+ return function connectedAccountsDelete(...args) {
6124
+ const seam = SeamHttpConnectedAccounts.fromClient(client, defaults);
6125
+ return seam.delete(...args);
6126
+ };
6127
+ }
6128
+ get ["/connected_accounts/get"]() {
6129
+ const { client, defaults } = this;
6130
+ return function connectedAccountsGet(...args) {
6131
+ const seam = SeamHttpConnectedAccounts.fromClient(client, defaults);
6132
+ return seam.get(...args);
6133
+ };
6134
+ }
6135
+ get ["/connected_accounts/list"]() {
6136
+ const { client, defaults } = this;
6137
+ return function connectedAccountsList(...args) {
6138
+ const seam = SeamHttpConnectedAccounts.fromClient(client, defaults);
6139
+ return seam.list(...args);
6140
+ };
6141
+ }
6142
+ get ["/connected_accounts/sync"]() {
6143
+ const { client, defaults } = this;
6144
+ return function connectedAccountsSync(...args) {
6145
+ const seam = SeamHttpConnectedAccounts.fromClient(client, defaults);
6146
+ return seam.sync(...args);
6147
+ };
6148
+ }
6149
+ get ["/connected_accounts/update"]() {
6150
+ const { client, defaults } = this;
6151
+ return function connectedAccountsUpdate(...args) {
6152
+ const seam = SeamHttpConnectedAccounts.fromClient(client, defaults);
6153
+ return seam.update(...args);
6154
+ };
6155
+ }
6156
+ get ["/devices/get"]() {
6157
+ const { client, defaults } = this;
6158
+ return function devicesGet(...args) {
6159
+ const seam = SeamHttpDevices.fromClient(client, defaults);
6160
+ return seam.get(...args);
6161
+ };
6162
+ }
6163
+ get ["/devices/list"]() {
6164
+ const { client, defaults } = this;
6165
+ return function devicesList(...args) {
6166
+ const seam = SeamHttpDevices.fromClient(client, defaults);
6167
+ return seam.list(...args);
6168
+ };
6169
+ }
6170
+ get ["/devices/list_device_providers"]() {
6171
+ const { client, defaults } = this;
6172
+ return function devicesListDeviceProviders(...args) {
6173
+ const seam = SeamHttpDevices.fromClient(client, defaults);
6174
+ return seam.listDeviceProviders(...args);
6175
+ };
6176
+ }
6177
+ get ["/devices/update"]() {
6178
+ const { client, defaults } = this;
6179
+ return function devicesUpdate(...args) {
6180
+ const seam = SeamHttpDevices.fromClient(client, defaults);
6181
+ return seam.update(...args);
6182
+ };
6183
+ }
6184
+ get ["/devices/simulate/connect"]() {
6185
+ const { client, defaults } = this;
6186
+ return function devicesSimulateConnect(...args) {
6187
+ const seam = SeamHttpDevicesSimulate.fromClient(client, defaults);
6188
+ return seam.connect(...args);
6189
+ };
6190
+ }
6191
+ get ["/devices/simulate/disconnect"]() {
6192
+ const { client, defaults } = this;
6193
+ return function devicesSimulateDisconnect(...args) {
6194
+ const seam = SeamHttpDevicesSimulate.fromClient(client, defaults);
6195
+ return seam.disconnect(...args);
6196
+ };
6197
+ }
6198
+ get ["/devices/simulate/remove"]() {
6199
+ const { client, defaults } = this;
6200
+ return function devicesSimulateRemove(...args) {
6201
+ const seam = SeamHttpDevicesSimulate.fromClient(client, defaults);
6202
+ return seam.remove(...args);
6203
+ };
6204
+ }
6205
+ get ["/devices/unmanaged/get"]() {
6206
+ const { client, defaults } = this;
6207
+ return function devicesUnmanagedGet(...args) {
6208
+ const seam = SeamHttpDevicesUnmanaged.fromClient(client, defaults);
6209
+ return seam.get(...args);
6210
+ };
6211
+ }
6212
+ get ["/devices/unmanaged/list"]() {
6213
+ const { client, defaults } = this;
6214
+ return function devicesUnmanagedList(...args) {
6215
+ const seam = SeamHttpDevicesUnmanaged.fromClient(client, defaults);
6216
+ return seam.list(...args);
6217
+ };
6218
+ }
6219
+ get ["/devices/unmanaged/update"]() {
6220
+ const { client, defaults } = this;
6221
+ return function devicesUnmanagedUpdate(...args) {
6222
+ const seam = SeamHttpDevicesUnmanaged.fromClient(client, defaults);
6223
+ return seam.update(...args);
6224
+ };
6225
+ }
6226
+ get ["/events/get"]() {
6227
+ const { client, defaults } = this;
6228
+ return function eventsGet(...args) {
6229
+ const seam = SeamHttpEvents.fromClient(client, defaults);
6230
+ return seam.get(...args);
6231
+ };
6232
+ }
6233
+ get ["/events/list"]() {
6234
+ const { client, defaults } = this;
6235
+ return function eventsList(...args) {
6236
+ const seam = SeamHttpEvents.fromClient(client, defaults);
6237
+ return seam.list(...args);
6238
+ };
6239
+ }
6240
+ get ["/locks/get"]() {
6241
+ const { client, defaults } = this;
6242
+ return function locksGet(...args) {
6243
+ const seam = SeamHttpLocks.fromClient(client, defaults);
6244
+ return seam.get(...args);
6245
+ };
6246
+ }
6247
+ get ["/locks/list"]() {
6248
+ const { client, defaults } = this;
6249
+ return function locksList(...args) {
6250
+ const seam = SeamHttpLocks.fromClient(client, defaults);
6251
+ return seam.list(...args);
6252
+ };
6253
+ }
6254
+ get ["/locks/lock_door"]() {
6255
+ const { client, defaults } = this;
6256
+ return function locksLockDoor(...args) {
6257
+ const seam = SeamHttpLocks.fromClient(client, defaults);
6258
+ return seam.lockDoor(...args);
6259
+ };
6260
+ }
6261
+ get ["/locks/unlock_door"]() {
6262
+ const { client, defaults } = this;
6263
+ return function locksUnlockDoor(...args) {
6264
+ const seam = SeamHttpLocks.fromClient(client, defaults);
6265
+ return seam.unlockDoor(...args);
6266
+ };
6267
+ }
6268
+ get ["/noise_sensors/list"]() {
6269
+ const { client, defaults } = this;
6270
+ return function noiseSensorsList(...args) {
6271
+ const seam = SeamHttpNoiseSensors.fromClient(client, defaults);
6272
+ return seam.list(...args);
6273
+ };
6274
+ }
6275
+ get ["/noise_sensors/noise_thresholds/create"]() {
6276
+ const { client, defaults } = this;
6277
+ return function noiseSensorsNoiseThresholdsCreate(...args) {
6278
+ const seam = SeamHttpNoiseSensorsNoiseThresholds.fromClient(
6279
+ client,
6280
+ defaults
6281
+ );
6282
+ return seam.create(...args);
6283
+ };
6284
+ }
6285
+ get ["/noise_sensors/noise_thresholds/delete"]() {
6286
+ const { client, defaults } = this;
6287
+ return function noiseSensorsNoiseThresholdsDelete(...args) {
6288
+ const seam = SeamHttpNoiseSensorsNoiseThresholds.fromClient(
6289
+ client,
6290
+ defaults
6291
+ );
6292
+ return seam.delete(...args);
6293
+ };
6294
+ }
6295
+ get ["/noise_sensors/noise_thresholds/get"]() {
6296
+ const { client, defaults } = this;
6297
+ return function noiseSensorsNoiseThresholdsGet(...args) {
6298
+ const seam = SeamHttpNoiseSensorsNoiseThresholds.fromClient(
6299
+ client,
6300
+ defaults
6301
+ );
6302
+ return seam.get(...args);
6303
+ };
6304
+ }
6305
+ get ["/noise_sensors/noise_thresholds/list"]() {
6306
+ const { client, defaults } = this;
6307
+ return function noiseSensorsNoiseThresholdsList(...args) {
6308
+ const seam = SeamHttpNoiseSensorsNoiseThresholds.fromClient(
6309
+ client,
6310
+ defaults
6311
+ );
6312
+ return seam.list(...args);
6313
+ };
6314
+ }
6315
+ get ["/noise_sensors/noise_thresholds/update"]() {
6316
+ const { client, defaults } = this;
6317
+ return function noiseSensorsNoiseThresholdsUpdate(...args) {
6318
+ const seam = SeamHttpNoiseSensorsNoiseThresholds.fromClient(
6319
+ client,
6320
+ defaults
6321
+ );
6322
+ return seam.update(...args);
6323
+ };
6324
+ }
6325
+ get ["/noise_sensors/simulate/trigger_noise_threshold"]() {
6326
+ const { client, defaults } = this;
6327
+ return function noiseSensorsSimulateTriggerNoiseThreshold(...args) {
6328
+ const seam = SeamHttpNoiseSensorsSimulate.fromClient(client, defaults);
6329
+ return seam.triggerNoiseThreshold(...args);
6330
+ };
6331
+ }
6332
+ get ["/phones/deactivate"]() {
6333
+ const { client, defaults } = this;
6334
+ return function phonesDeactivate(...args) {
6335
+ const seam = SeamHttpPhones.fromClient(client, defaults);
6336
+ return seam.deactivate(...args);
6337
+ };
6338
+ }
6339
+ get ["/phones/get"]() {
6340
+ const { client, defaults } = this;
6341
+ return function phonesGet(...args) {
6342
+ const seam = SeamHttpPhones.fromClient(client, defaults);
6343
+ return seam.get(...args);
6344
+ };
6345
+ }
6346
+ get ["/phones/list"]() {
6347
+ const { client, defaults } = this;
6348
+ return function phonesList(...args) {
6349
+ const seam = SeamHttpPhones.fromClient(client, defaults);
6350
+ return seam.list(...args);
6351
+ };
6352
+ }
6353
+ get ["/phones/simulate/create_sandbox_phone"]() {
6354
+ const { client, defaults } = this;
6355
+ return function phonesSimulateCreateSandboxPhone(...args) {
6356
+ const seam = SeamHttpPhonesSimulate.fromClient(client, defaults);
6357
+ return seam.createSandboxPhone(...args);
6358
+ };
6359
+ }
6360
+ get ["/spaces/add_acs_entrances"]() {
6361
+ const { client, defaults } = this;
6362
+ return function spacesAddAcsEntrances(...args) {
6363
+ const seam = SeamHttpSpaces.fromClient(client, defaults);
6364
+ return seam.addAcsEntrances(...args);
6365
+ };
6366
+ }
6367
+ get ["/spaces/add_devices"]() {
6368
+ const { client, defaults } = this;
6369
+ return function spacesAddDevices(...args) {
6370
+ const seam = SeamHttpSpaces.fromClient(client, defaults);
6371
+ return seam.addDevices(...args);
6372
+ };
6373
+ }
6374
+ get ["/spaces/create"]() {
6375
+ const { client, defaults } = this;
6376
+ return function spacesCreate(...args) {
6377
+ const seam = SeamHttpSpaces.fromClient(client, defaults);
6378
+ return seam.create(...args);
6379
+ };
6380
+ }
6381
+ get ["/spaces/delete"]() {
6382
+ const { client, defaults } = this;
6383
+ return function spacesDelete(...args) {
6384
+ const seam = SeamHttpSpaces.fromClient(client, defaults);
6385
+ return seam.delete(...args);
6386
+ };
6387
+ }
6388
+ get ["/spaces/get"]() {
6389
+ const { client, defaults } = this;
6390
+ return function spacesGet(...args) {
6391
+ const seam = SeamHttpSpaces.fromClient(client, defaults);
6392
+ return seam.get(...args);
6393
+ };
6394
+ }
6395
+ get ["/spaces/list"]() {
6396
+ const { client, defaults } = this;
6397
+ return function spacesList(...args) {
6398
+ const seam = SeamHttpSpaces.fromClient(client, defaults);
6399
+ return seam.list(...args);
6400
+ };
6401
+ }
6402
+ get ["/spaces/remove_acs_entrances"]() {
6403
+ const { client, defaults } = this;
6404
+ return function spacesRemoveAcsEntrances(...args) {
6405
+ const seam = SeamHttpSpaces.fromClient(client, defaults);
6406
+ return seam.removeAcsEntrances(...args);
6407
+ };
6408
+ }
6409
+ get ["/spaces/remove_devices"]() {
6410
+ const { client, defaults } = this;
6411
+ return function spacesRemoveDevices(...args) {
6412
+ const seam = SeamHttpSpaces.fromClient(client, defaults);
6413
+ return seam.removeDevices(...args);
6414
+ };
6415
+ }
6416
+ get ["/spaces/update"]() {
6417
+ const { client, defaults } = this;
6418
+ return function spacesUpdate(...args) {
6419
+ const seam = SeamHttpSpaces.fromClient(client, defaults);
6420
+ return seam.update(...args);
6421
+ };
6422
+ }
6423
+ get ["/thermostats/activate_climate_preset"]() {
6424
+ const { client, defaults } = this;
6425
+ return function thermostatsActivateClimatePreset(...args) {
6426
+ const seam = SeamHttpThermostats.fromClient(client, defaults);
6427
+ return seam.activateClimatePreset(...args);
6428
+ };
6429
+ }
6430
+ get ["/thermostats/cool"]() {
6431
+ const { client, defaults } = this;
6432
+ return function thermostatsCool(...args) {
6433
+ const seam = SeamHttpThermostats.fromClient(client, defaults);
6434
+ return seam.cool(...args);
6435
+ };
6436
+ }
6437
+ get ["/thermostats/create_climate_preset"]() {
6438
+ const { client, defaults } = this;
6439
+ return function thermostatsCreateClimatePreset(...args) {
6440
+ const seam = SeamHttpThermostats.fromClient(client, defaults);
6441
+ return seam.createClimatePreset(...args);
6442
+ };
6443
+ }
6444
+ get ["/thermostats/delete_climate_preset"]() {
6445
+ const { client, defaults } = this;
6446
+ return function thermostatsDeleteClimatePreset(...args) {
6447
+ const seam = SeamHttpThermostats.fromClient(client, defaults);
6448
+ return seam.deleteClimatePreset(...args);
6449
+ };
6450
+ }
6451
+ get ["/thermostats/heat"]() {
6452
+ const { client, defaults } = this;
6453
+ return function thermostatsHeat(...args) {
6454
+ const seam = SeamHttpThermostats.fromClient(client, defaults);
6455
+ return seam.heat(...args);
6456
+ };
6457
+ }
6458
+ get ["/thermostats/heat_cool"]() {
6459
+ const { client, defaults } = this;
6460
+ return function thermostatsHeatCool(...args) {
6461
+ const seam = SeamHttpThermostats.fromClient(client, defaults);
6462
+ return seam.heatCool(...args);
6463
+ };
6464
+ }
6465
+ get ["/thermostats/list"]() {
6466
+ const { client, defaults } = this;
6467
+ return function thermostatsList(...args) {
6468
+ const seam = SeamHttpThermostats.fromClient(client, defaults);
6469
+ return seam.list(...args);
6470
+ };
6471
+ }
6472
+ get ["/thermostats/off"]() {
6473
+ const { client, defaults } = this;
6474
+ return function thermostatsOff(...args) {
6475
+ const seam = SeamHttpThermostats.fromClient(client, defaults);
6476
+ return seam.off(...args);
6477
+ };
6478
+ }
6479
+ get ["/thermostats/set_fallback_climate_preset"]() {
6480
+ const { client, defaults } = this;
6481
+ return function thermostatsSetFallbackClimatePreset(...args) {
6482
+ const seam = SeamHttpThermostats.fromClient(client, defaults);
6483
+ return seam.setFallbackClimatePreset(...args);
6484
+ };
6485
+ }
6486
+ get ["/thermostats/set_fan_mode"]() {
6487
+ const { client, defaults } = this;
6488
+ return function thermostatsSetFanMode(...args) {
6489
+ const seam = SeamHttpThermostats.fromClient(client, defaults);
6490
+ return seam.setFanMode(...args);
6491
+ };
6492
+ }
6493
+ get ["/thermostats/set_hvac_mode"]() {
6494
+ const { client, defaults } = this;
6495
+ return function thermostatsSetHvacMode(...args) {
6496
+ const seam = SeamHttpThermostats.fromClient(client, defaults);
6497
+ return seam.setHvacMode(...args);
6498
+ };
6499
+ }
6500
+ get ["/thermostats/set_temperature_threshold"]() {
6501
+ const { client, defaults } = this;
6502
+ return function thermostatsSetTemperatureThreshold(...args) {
6503
+ const seam = SeamHttpThermostats.fromClient(client, defaults);
6504
+ return seam.setTemperatureThreshold(...args);
6505
+ };
6506
+ }
6507
+ get ["/thermostats/update_climate_preset"]() {
6508
+ const { client, defaults } = this;
6509
+ return function thermostatsUpdateClimatePreset(...args) {
6510
+ const seam = SeamHttpThermostats.fromClient(client, defaults);
6511
+ return seam.updateClimatePreset(...args);
6512
+ };
6513
+ }
6514
+ get ["/thermostats/update_weekly_program"]() {
6515
+ const { client, defaults } = this;
6516
+ return function thermostatsUpdateWeeklyProgram(...args) {
6517
+ const seam = SeamHttpThermostats.fromClient(client, defaults);
6518
+ return seam.updateWeeklyProgram(...args);
6519
+ };
6520
+ }
6521
+ get ["/thermostats/daily_programs/create"]() {
6522
+ const { client, defaults } = this;
6523
+ return function thermostatsDailyProgramsCreate(...args) {
6524
+ const seam = SeamHttpThermostatsDailyPrograms.fromClient(client, defaults);
6525
+ return seam.create(...args);
6526
+ };
6527
+ }
6528
+ get ["/thermostats/daily_programs/delete"]() {
6529
+ const { client, defaults } = this;
6530
+ return function thermostatsDailyProgramsDelete(...args) {
6531
+ const seam = SeamHttpThermostatsDailyPrograms.fromClient(client, defaults);
6532
+ return seam.delete(...args);
6533
+ };
6534
+ }
6535
+ get ["/thermostats/daily_programs/update"]() {
6536
+ const { client, defaults } = this;
6537
+ return function thermostatsDailyProgramsUpdate(...args) {
6538
+ const seam = SeamHttpThermostatsDailyPrograms.fromClient(client, defaults);
6539
+ return seam.update(...args);
6540
+ };
6541
+ }
6542
+ get ["/thermostats/schedules/create"]() {
6543
+ const { client, defaults } = this;
6544
+ return function thermostatsSchedulesCreate(...args) {
6545
+ const seam = SeamHttpThermostatsSchedules.fromClient(client, defaults);
6546
+ return seam.create(...args);
6547
+ };
6548
+ }
6549
+ get ["/thermostats/schedules/delete"]() {
6550
+ const { client, defaults } = this;
6551
+ return function thermostatsSchedulesDelete(...args) {
6552
+ const seam = SeamHttpThermostatsSchedules.fromClient(client, defaults);
6553
+ return seam.delete(...args);
6554
+ };
6555
+ }
6556
+ get ["/thermostats/schedules/get"]() {
6557
+ const { client, defaults } = this;
6558
+ return function thermostatsSchedulesGet(...args) {
6559
+ const seam = SeamHttpThermostatsSchedules.fromClient(client, defaults);
6560
+ return seam.get(...args);
6561
+ };
6562
+ }
6563
+ get ["/thermostats/schedules/list"]() {
6564
+ const { client, defaults } = this;
6565
+ return function thermostatsSchedulesList(...args) {
6566
+ const seam = SeamHttpThermostatsSchedules.fromClient(client, defaults);
6567
+ return seam.list(...args);
6568
+ };
6569
+ }
6570
+ get ["/thermostats/schedules/update"]() {
6571
+ const { client, defaults } = this;
6572
+ return function thermostatsSchedulesUpdate(...args) {
6573
+ const seam = SeamHttpThermostatsSchedules.fromClient(client, defaults);
6574
+ return seam.update(...args);
6575
+ };
6576
+ }
6577
+ get ["/thermostats/simulate/hvac_mode_adjusted"]() {
6578
+ const { client, defaults } = this;
6579
+ return function thermostatsSimulateHvacModeAdjusted(...args) {
6580
+ const seam = SeamHttpThermostatsSimulate.fromClient(client, defaults);
6581
+ return seam.hvacModeAdjusted(...args);
6582
+ };
6583
+ }
6584
+ get ["/thermostats/simulate/temperature_reached"]() {
6585
+ const { client, defaults } = this;
6586
+ return function thermostatsSimulateTemperatureReached(...args) {
6587
+ const seam = SeamHttpThermostatsSimulate.fromClient(client, defaults);
6588
+ return seam.temperatureReached(...args);
6589
+ };
6590
+ }
6591
+ get ["/user_identities/add_acs_user"]() {
6592
+ const { client, defaults } = this;
6593
+ return function userIdentitiesAddAcsUser(...args) {
6594
+ const seam = SeamHttpUserIdentities.fromClient(client, defaults);
6595
+ return seam.addAcsUser(...args);
6596
+ };
6597
+ }
6598
+ get ["/user_identities/create"]() {
6599
+ const { client, defaults } = this;
6600
+ return function userIdentitiesCreate(...args) {
6601
+ const seam = SeamHttpUserIdentities.fromClient(client, defaults);
6602
+ return seam.create(...args);
6603
+ };
6604
+ }
6605
+ get ["/user_identities/delete"]() {
6606
+ const { client, defaults } = this;
6607
+ return function userIdentitiesDelete(...args) {
6608
+ const seam = SeamHttpUserIdentities.fromClient(client, defaults);
6609
+ return seam.delete(...args);
6610
+ };
6611
+ }
6612
+ get ["/user_identities/generate_instant_key"]() {
6613
+ const { client, defaults } = this;
6614
+ return function userIdentitiesGenerateInstantKey(...args) {
6615
+ const seam = SeamHttpUserIdentities.fromClient(client, defaults);
6616
+ return seam.generateInstantKey(...args);
6617
+ };
6618
+ }
6619
+ get ["/user_identities/get"]() {
6620
+ const { client, defaults } = this;
6621
+ return function userIdentitiesGet(...args) {
6622
+ const seam = SeamHttpUserIdentities.fromClient(client, defaults);
6623
+ return seam.get(...args);
6624
+ };
6625
+ }
6626
+ get ["/user_identities/grant_access_to_device"]() {
6627
+ const { client, defaults } = this;
6628
+ return function userIdentitiesGrantAccessToDevice(...args) {
6629
+ const seam = SeamHttpUserIdentities.fromClient(client, defaults);
6630
+ return seam.grantAccessToDevice(...args);
6631
+ };
6632
+ }
6633
+ get ["/user_identities/list"]() {
6634
+ const { client, defaults } = this;
6635
+ return function userIdentitiesList(...args) {
6636
+ const seam = SeamHttpUserIdentities.fromClient(client, defaults);
6637
+ return seam.list(...args);
6638
+ };
6639
+ }
6640
+ get ["/user_identities/list_accessible_devices"]() {
6641
+ const { client, defaults } = this;
6642
+ return function userIdentitiesListAccessibleDevices(...args) {
6643
+ const seam = SeamHttpUserIdentities.fromClient(client, defaults);
6644
+ return seam.listAccessibleDevices(...args);
6645
+ };
6646
+ }
6647
+ get ["/user_identities/list_acs_systems"]() {
6648
+ const { client, defaults } = this;
6649
+ return function userIdentitiesListAcsSystems(...args) {
6650
+ const seam = SeamHttpUserIdentities.fromClient(client, defaults);
6651
+ return seam.listAcsSystems(...args);
6652
+ };
6653
+ }
6654
+ get ["/user_identities/list_acs_users"]() {
6655
+ const { client, defaults } = this;
6656
+ return function userIdentitiesListAcsUsers(...args) {
6657
+ const seam = SeamHttpUserIdentities.fromClient(client, defaults);
6658
+ return seam.listAcsUsers(...args);
6659
+ };
6660
+ }
6661
+ get ["/user_identities/remove_acs_user"]() {
6662
+ const { client, defaults } = this;
6663
+ return function userIdentitiesRemoveAcsUser(...args) {
6664
+ const seam = SeamHttpUserIdentities.fromClient(client, defaults);
6665
+ return seam.removeAcsUser(...args);
6666
+ };
6667
+ }
6668
+ get ["/user_identities/revoke_access_to_device"]() {
6669
+ const { client, defaults } = this;
6670
+ return function userIdentitiesRevokeAccessToDevice(...args) {
6671
+ const seam = SeamHttpUserIdentities.fromClient(client, defaults);
6672
+ return seam.revokeAccessToDevice(...args);
6673
+ };
6674
+ }
6675
+ get ["/user_identities/update"]() {
6676
+ const { client, defaults } = this;
6677
+ return function userIdentitiesUpdate(...args) {
6678
+ const seam = SeamHttpUserIdentities.fromClient(client, defaults);
6679
+ return seam.update(...args);
6680
+ };
6681
+ }
6682
+ get ["/user_identities/enrollment_automations/delete"]() {
6683
+ const { client, defaults } = this;
6684
+ return function userIdentitiesEnrollmentAutomationsDelete(...args) {
6685
+ const seam = SeamHttpUserIdentitiesEnrollmentAutomations.fromClient(
6686
+ client,
6687
+ defaults
6688
+ );
6689
+ return seam.delete(...args);
6690
+ };
6691
+ }
6692
+ get ["/user_identities/enrollment_automations/get"]() {
6693
+ const { client, defaults } = this;
6694
+ return function userIdentitiesEnrollmentAutomationsGet(...args) {
6695
+ const seam = SeamHttpUserIdentitiesEnrollmentAutomations.fromClient(
6696
+ client,
6697
+ defaults
6698
+ );
6699
+ return seam.get(...args);
6700
+ };
6701
+ }
6702
+ get ["/user_identities/enrollment_automations/launch"]() {
6703
+ const { client, defaults } = this;
6704
+ return function userIdentitiesEnrollmentAutomationsLaunch(...args) {
6705
+ const seam = SeamHttpUserIdentitiesEnrollmentAutomations.fromClient(
6706
+ client,
6707
+ defaults
6708
+ );
6709
+ return seam.launch(...args);
6710
+ };
6711
+ }
6712
+ get ["/user_identities/enrollment_automations/list"]() {
6713
+ const { client, defaults } = this;
6714
+ return function userIdentitiesEnrollmentAutomationsList(...args) {
6715
+ const seam = SeamHttpUserIdentitiesEnrollmentAutomations.fromClient(
6716
+ client,
6717
+ defaults
6718
+ );
6719
+ return seam.list(...args);
6720
+ };
6721
+ }
6722
+ get ["/webhooks/create"]() {
6723
+ const { client, defaults } = this;
6724
+ return function webhooksCreate(...args) {
6725
+ const seam = SeamHttpWebhooks.fromClient(client, defaults);
6726
+ return seam.create(...args);
6727
+ };
6728
+ }
6729
+ get ["/webhooks/delete"]() {
6730
+ const { client, defaults } = this;
6731
+ return function webhooksDelete(...args) {
6732
+ const seam = SeamHttpWebhooks.fromClient(client, defaults);
6733
+ return seam.delete(...args);
6734
+ };
6735
+ }
6736
+ get ["/webhooks/get"]() {
6737
+ const { client, defaults } = this;
6738
+ return function webhooksGet(...args) {
6739
+ const seam = SeamHttpWebhooks.fromClient(client, defaults);
6740
+ return seam.get(...args);
6741
+ };
6742
+ }
6743
+ get ["/webhooks/list"]() {
6744
+ const { client, defaults } = this;
6745
+ return function webhooksList(...args) {
6746
+ const seam = SeamHttpWebhooks.fromClient(client, defaults);
6747
+ return seam.list(...args);
6748
+ };
6749
+ }
6750
+ get ["/webhooks/update"]() {
6751
+ const { client, defaults } = this;
6752
+ return function webhooksUpdate(...args) {
6753
+ const seam = SeamHttpWebhooks.fromClient(client, defaults);
6754
+ return seam.update(...args);
6755
+ };
6756
+ }
6757
+ get ["/workspaces/create"]() {
6758
+ const { client, defaults } = this;
6759
+ return function workspacesCreate(...args) {
6760
+ const seam = SeamHttpWorkspaces.fromClient(client, defaults);
6761
+ return seam.create(...args);
6762
+ };
6763
+ }
6764
+ get ["/workspaces/get"]() {
6765
+ const { client, defaults } = this;
6766
+ return function workspacesGet(...args) {
6767
+ const seam = SeamHttpWorkspaces.fromClient(client, defaults);
6768
+ return seam.get(...args);
6769
+ };
6770
+ }
6771
+ get ["/workspaces/list"]() {
6772
+ const { client, defaults } = this;
6773
+ return function workspacesList(...args) {
6774
+ const seam = SeamHttpWorkspaces.fromClient(client, defaults);
6775
+ return seam.list(...args);
6776
+ };
6777
+ }
6778
+ get ["/workspaces/reset_sandbox"]() {
6779
+ const { client, defaults } = this;
6780
+ return function workspacesResetSandbox(...args) {
6781
+ const seam = SeamHttpWorkspaces.fromClient(client, defaults);
6782
+ return seam.resetSandbox(...args);
6783
+ };
6784
+ }
6785
+ get ["/workspaces/update"]() {
6786
+ const { client, defaults } = this;
6787
+ return function workspacesUpdate(...args) {
6788
+ const seam = SeamHttpWorkspaces.fromClient(client, defaults);
6789
+ return seam.update(...args);
6790
+ };
6791
+ }
6792
+ };
6793
+ _SeamHttpEndpoints.ltsVersion = seamApiLtsVersion;
6794
+ var SeamHttpEndpoints = _SeamHttpEndpoints;
6795
+
5486
6796
  // src/lib/seam/connect/seam-http-multi-workspace.ts
5487
6797
  var SeamHttpMultiWorkspace = class _SeamHttpMultiWorkspace {
5488
6798
  constructor(options = {}) {
@@ -5549,6 +6859,7 @@ exports.SeamHttpConnectedAccounts = SeamHttpConnectedAccounts;
5549
6859
  exports.SeamHttpDevices = SeamHttpDevices;
5550
6860
  exports.SeamHttpDevicesSimulate = SeamHttpDevicesSimulate;
5551
6861
  exports.SeamHttpDevicesUnmanaged = SeamHttpDevicesUnmanaged;
6862
+ exports.SeamHttpEndpoints = SeamHttpEndpoints;
5552
6863
  exports.SeamHttpEvents = SeamHttpEvents;
5553
6864
  exports.SeamHttpInvalidInputError = SeamHttpInvalidInputError;
5554
6865
  exports.SeamHttpInvalidOptionsError = SeamHttpInvalidOptionsError;