@seamapi/http 1.102.0 → 1.105.1

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 (101) hide show
  1. package/README.md +0 -1
  2. package/dist/connect.cjs +601 -235
  3. package/dist/connect.cjs.map +1 -1
  4. package/dist/connect.d.cts +184 -52
  5. package/dist/index.cjs +609 -239
  6. package/dist/index.cjs.map +1 -1
  7. package/dist/index.d.cts +1 -1
  8. package/lib/seam/connect/routes/access-codes/access-codes.d.ts +13 -0
  9. package/lib/seam/connect/routes/access-codes/access-codes.js +9 -0
  10. package/lib/seam/connect/routes/access-codes/access-codes.js.map +1 -1
  11. package/lib/seam/connect/routes/access-methods/access-methods.d.ts +2 -2
  12. package/lib/seam/connect/routes/access-methods/access-methods.js +2 -2
  13. package/lib/seam/connect/routes/access-methods/access-methods.js.map +1 -1
  14. package/lib/seam/connect/routes/customers/customers.d.ts +2 -0
  15. package/lib/seam/connect/routes/customers/customers.js +4 -0
  16. package/lib/seam/connect/routes/customers/customers.js.map +1 -1
  17. package/lib/seam/connect/routes/customers/index.d.ts +1 -0
  18. package/lib/seam/connect/routes/customers/index.js +1 -0
  19. package/lib/seam/connect/routes/customers/index.js.map +1 -1
  20. package/lib/seam/connect/routes/customers/reservations/index.d.ts +1 -0
  21. package/lib/seam/connect/routes/{seam/v1 → customers/reservations}/index.js +1 -2
  22. package/lib/seam/connect/routes/customers/reservations/index.js.map +1 -0
  23. package/lib/seam/connect/routes/{seam/v1/v1.d.ts → customers/reservations/reservations.d.ts} +23 -10
  24. package/lib/seam/connect/routes/{seam/v1/v1.js → customers/reservations/reservations.js} +18 -12
  25. package/lib/seam/connect/routes/customers/reservations/reservations.js.map +1 -0
  26. package/lib/seam/connect/routes/seam/customer/v1/access-grants/access-grants.d.ts +13 -0
  27. package/lib/seam/connect/routes/seam/customer/v1/access-grants/access-grants.js +12 -0
  28. package/lib/seam/connect/routes/seam/customer/v1/access-grants/access-grants.js.map +1 -1
  29. package/lib/seam/connect/routes/seam/customer/v1/access-methods/access-methods.d.ts +33 -0
  30. package/lib/seam/connect/routes/seam/customer/v1/access-methods/access-methods.js +104 -0
  31. package/lib/seam/connect/routes/seam/customer/v1/access-methods/access-methods.js.map +1 -0
  32. package/lib/seam/connect/routes/seam/customer/v1/access-methods/index.d.ts +1 -0
  33. package/lib/seam/connect/routes/seam/customer/v1/access-methods/index.js +6 -0
  34. package/lib/seam/connect/routes/seam/customer/v1/access-methods/index.js.map +1 -0
  35. package/lib/seam/connect/routes/seam/customer/v1/customers/customers.d.ts +14 -1
  36. package/lib/seam/connect/routes/seam/customer/v1/customers/customers.js +9 -3
  37. package/lib/seam/connect/routes/seam/customer/v1/customers/customers.js.map +1 -1
  38. package/lib/seam/connect/routes/seam/{v1/customers/customers.d.ts → customer/v1/encoders/encoders.d.ts} +20 -20
  39. package/lib/seam/connect/routes/seam/{v1/customers/customers.js → customer/v1/encoders/encoders.js} +26 -20
  40. package/lib/seam/connect/routes/seam/customer/v1/encoders/encoders.js.map +1 -0
  41. package/lib/seam/connect/routes/seam/customer/v1/encoders/index.d.ts +1 -0
  42. package/lib/seam/connect/routes/seam/{v1/customers → customer/v1/encoders}/index.js +1 -1
  43. package/lib/seam/connect/routes/seam/customer/v1/encoders/index.js.map +1 -0
  44. package/lib/seam/connect/routes/seam/customer/v1/index.d.ts +2 -0
  45. package/lib/seam/connect/routes/seam/customer/v1/index.js +2 -0
  46. package/lib/seam/connect/routes/seam/customer/v1/index.js.map +1 -1
  47. package/lib/seam/connect/routes/seam/customer/v1/settings/index.d.ts +1 -0
  48. package/lib/seam/connect/routes/seam/customer/v1/settings/index.js +1 -0
  49. package/lib/seam/connect/routes/seam/customer/v1/settings/index.js.map +1 -1
  50. package/lib/seam/connect/routes/seam/customer/v1/settings/settings.d.ts +2 -0
  51. package/lib/seam/connect/routes/seam/customer/v1/settings/settings.js +4 -0
  52. package/lib/seam/connect/routes/seam/customer/v1/settings/settings.js.map +1 -1
  53. package/lib/seam/connect/routes/seam/customer/v1/settings/vertical-resource-aliases/index.d.ts +1 -0
  54. package/lib/seam/connect/routes/seam/customer/v1/settings/vertical-resource-aliases/index.js +6 -0
  55. package/lib/seam/connect/routes/seam/customer/v1/settings/vertical-resource-aliases/index.js.map +1 -0
  56. package/lib/seam/connect/routes/seam/customer/v1/settings/vertical-resource-aliases/vertical-resource-aliases.d.ts +34 -0
  57. package/lib/seam/connect/routes/seam/customer/v1/settings/vertical-resource-aliases/vertical-resource-aliases.js +104 -0
  58. package/lib/seam/connect/routes/seam/customer/v1/settings/vertical-resource-aliases/vertical-resource-aliases.js.map +1 -0
  59. package/lib/seam/connect/routes/seam/customer/v1/spaces/spaces.d.ts +13 -0
  60. package/lib/seam/connect/routes/seam/customer/v1/spaces/spaces.js +9 -3
  61. package/lib/seam/connect/routes/seam/customer/v1/spaces/spaces.js.map +1 -1
  62. package/lib/seam/connect/routes/seam/customer/v1/v1.d.ts +4 -0
  63. package/lib/seam/connect/routes/seam/customer/v1/v1.js +8 -3
  64. package/lib/seam/connect/routes/seam/customer/v1/v1.js.map +1 -1
  65. package/lib/seam/connect/routes/seam/index.d.ts +0 -1
  66. package/lib/seam/connect/routes/seam/index.js +0 -1
  67. package/lib/seam/connect/routes/seam/index.js.map +1 -1
  68. package/lib/seam/connect/routes/seam-http-endpoints.d.ts +19 -9
  69. package/lib/seam/connect/routes/seam-http-endpoints.js +72 -8
  70. package/lib/seam/connect/routes/seam-http-endpoints.js.map +1 -1
  71. package/lib/version.d.ts +1 -1
  72. package/lib/version.js +1 -1
  73. package/package.json +6 -6
  74. package/src/lib/seam/connect/routes/access-codes/access-codes.ts +35 -0
  75. package/src/lib/seam/connect/routes/access-methods/access-methods.ts +8 -4
  76. package/src/lib/seam/connect/routes/customers/customers.ts +6 -0
  77. package/src/lib/seam/connect/routes/customers/index.ts +1 -0
  78. package/src/lib/seam/connect/routes/{seam/v1 → customers/reservations}/index.ts +1 -2
  79. package/src/lib/seam/connect/routes/{seam/v1/customers/customers.ts → customers/reservations/reservations.ts} +33 -29
  80. package/src/lib/seam/connect/routes/seam/customer/v1/access-grants/access-grants.ts +41 -0
  81. package/src/lib/seam/connect/routes/seam/customer/v1/access-methods/access-methods.ts +217 -0
  82. package/src/lib/seam/connect/routes/seam/customer/v1/access-methods/index.ts +6 -0
  83. package/src/lib/seam/connect/routes/seam/customer/v1/customers/customers.ts +38 -6
  84. package/src/lib/seam/connect/routes/seam/{v1/v1.ts → customer/v1/encoders/encoders.ts} +62 -19
  85. package/src/lib/seam/connect/routes/seam/{v1/customers → customer/v1/encoders}/index.ts +1 -1
  86. package/src/lib/seam/connect/routes/seam/customer/v1/index.ts +2 -0
  87. package/src/lib/seam/connect/routes/seam/customer/v1/settings/index.ts +1 -0
  88. package/src/lib/seam/connect/routes/seam/customer/v1/settings/settings.ts +9 -0
  89. package/src/lib/seam/connect/routes/seam/customer/v1/settings/vertical-resource-aliases/index.ts +6 -0
  90. package/src/lib/seam/connect/routes/seam/customer/v1/settings/vertical-resource-aliases/vertical-resource-aliases.ts +228 -0
  91. package/src/lib/seam/connect/routes/seam/customer/v1/spaces/spaces.ts +36 -5
  92. package/src/lib/seam/connect/routes/seam/customer/v1/v1.ts +13 -5
  93. package/src/lib/seam/connect/routes/seam/index.ts +0 -1
  94. package/src/lib/seam/connect/routes/seam-http-endpoints.ts +182 -21
  95. package/src/lib/version.ts +1 -1
  96. package/lib/seam/connect/routes/seam/v1/customers/customers.js.map +0 -1
  97. package/lib/seam/connect/routes/seam/v1/customers/index.d.ts +0 -1
  98. package/lib/seam/connect/routes/seam/v1/customers/index.js.map +0 -1
  99. package/lib/seam/connect/routes/seam/v1/index.d.ts +0 -2
  100. package/lib/seam/connect/routes/seam/v1/index.js.map +0 -1
  101. package/lib/seam/connect/routes/seam/v1/v1.js.map +0 -1
package/dist/index.cjs CHANGED
@@ -81,6 +81,7 @@ __export(index_exports, {
81
81
  SeamHttpConnectedAccounts: () => SeamHttpConnectedAccounts,
82
82
  SeamHttpConnectedAccountsSimulate: () => SeamHttpConnectedAccountsSimulate,
83
83
  SeamHttpCustomers: () => SeamHttpCustomers,
84
+ SeamHttpCustomersReservations: () => SeamHttpCustomersReservations,
84
85
  SeamHttpDevices: () => SeamHttpDevices,
85
86
  SeamHttpDevicesSimulate: () => SeamHttpDevicesSimulate,
86
87
  SeamHttpDevicesUnmanaged: () => SeamHttpDevicesUnmanaged,
@@ -105,21 +106,22 @@ __export(index_exports, {
105
106
  SeamHttpSeamConsoleV1Timelines: () => SeamHttpSeamConsoleV1Timelines,
106
107
  SeamHttpSeamCustomerV1: () => SeamHttpSeamCustomerV1,
107
108
  SeamHttpSeamCustomerV1AccessGrants: () => SeamHttpSeamCustomerV1AccessGrants,
109
+ SeamHttpSeamCustomerV1AccessMethods: () => SeamHttpSeamCustomerV1AccessMethods,
108
110
  SeamHttpSeamCustomerV1AutomationRuns: () => SeamHttpSeamCustomerV1AutomationRuns,
109
111
  SeamHttpSeamCustomerV1Automations: () => SeamHttpSeamCustomerV1Automations,
110
112
  SeamHttpSeamCustomerV1ConnectorCustomers: () => SeamHttpSeamCustomerV1ConnectorCustomers,
111
113
  SeamHttpSeamCustomerV1Connectors: () => SeamHttpSeamCustomerV1Connectors,
112
114
  SeamHttpSeamCustomerV1Customers: () => SeamHttpSeamCustomerV1Customers,
115
+ SeamHttpSeamCustomerV1Encoders: () => SeamHttpSeamCustomerV1Encoders,
113
116
  SeamHttpSeamCustomerV1Events: () => SeamHttpSeamCustomerV1Events,
114
117
  SeamHttpSeamCustomerV1Portals: () => SeamHttpSeamCustomerV1Portals,
115
118
  SeamHttpSeamCustomerV1Reservations: () => SeamHttpSeamCustomerV1Reservations,
116
119
  SeamHttpSeamCustomerV1Settings: () => SeamHttpSeamCustomerV1Settings,
120
+ SeamHttpSeamCustomerV1SettingsVerticalResourceAliases: () => SeamHttpSeamCustomerV1SettingsVerticalResourceAliases,
117
121
  SeamHttpSeamCustomerV1Spaces: () => SeamHttpSeamCustomerV1Spaces,
118
122
  SeamHttpSeamCustomerV1StaffMembers: () => SeamHttpSeamCustomerV1StaffMembers,
119
123
  SeamHttpSeamPartnerV1BuildingBlocks: () => SeamHttpSeamPartnerV1BuildingBlocks,
120
124
  SeamHttpSeamPartnerV1BuildingBlocksSpaces: () => SeamHttpSeamPartnerV1BuildingBlocksSpaces,
121
- SeamHttpSeamV1: () => SeamHttpSeamV1,
122
- SeamHttpSeamV1Customers: () => SeamHttpSeamV1Customers,
123
125
  SeamHttpSpaces: () => SeamHttpSpaces,
124
126
  SeamHttpThermostats: () => SeamHttpThermostats,
125
127
  SeamHttpThermostatsDailyPrograms: () => SeamHttpThermostatsDailyPrograms,
@@ -195,6 +197,7 @@ __export(connect_exports, {
195
197
  SeamHttpConnectedAccounts: () => SeamHttpConnectedAccounts,
196
198
  SeamHttpConnectedAccountsSimulate: () => SeamHttpConnectedAccountsSimulate,
197
199
  SeamHttpCustomers: () => SeamHttpCustomers,
200
+ SeamHttpCustomersReservations: () => SeamHttpCustomersReservations,
198
201
  SeamHttpDevices: () => SeamHttpDevices,
199
202
  SeamHttpDevicesSimulate: () => SeamHttpDevicesSimulate,
200
203
  SeamHttpDevicesUnmanaged: () => SeamHttpDevicesUnmanaged,
@@ -219,21 +222,22 @@ __export(connect_exports, {
219
222
  SeamHttpSeamConsoleV1Timelines: () => SeamHttpSeamConsoleV1Timelines,
220
223
  SeamHttpSeamCustomerV1: () => SeamHttpSeamCustomerV1,
221
224
  SeamHttpSeamCustomerV1AccessGrants: () => SeamHttpSeamCustomerV1AccessGrants,
225
+ SeamHttpSeamCustomerV1AccessMethods: () => SeamHttpSeamCustomerV1AccessMethods,
222
226
  SeamHttpSeamCustomerV1AutomationRuns: () => SeamHttpSeamCustomerV1AutomationRuns,
223
227
  SeamHttpSeamCustomerV1Automations: () => SeamHttpSeamCustomerV1Automations,
224
228
  SeamHttpSeamCustomerV1ConnectorCustomers: () => SeamHttpSeamCustomerV1ConnectorCustomers,
225
229
  SeamHttpSeamCustomerV1Connectors: () => SeamHttpSeamCustomerV1Connectors,
226
230
  SeamHttpSeamCustomerV1Customers: () => SeamHttpSeamCustomerV1Customers,
231
+ SeamHttpSeamCustomerV1Encoders: () => SeamHttpSeamCustomerV1Encoders,
227
232
  SeamHttpSeamCustomerV1Events: () => SeamHttpSeamCustomerV1Events,
228
233
  SeamHttpSeamCustomerV1Portals: () => SeamHttpSeamCustomerV1Portals,
229
234
  SeamHttpSeamCustomerV1Reservations: () => SeamHttpSeamCustomerV1Reservations,
230
235
  SeamHttpSeamCustomerV1Settings: () => SeamHttpSeamCustomerV1Settings,
236
+ SeamHttpSeamCustomerV1SettingsVerticalResourceAliases: () => SeamHttpSeamCustomerV1SettingsVerticalResourceAliases,
231
237
  SeamHttpSeamCustomerV1Spaces: () => SeamHttpSeamCustomerV1Spaces,
232
238
  SeamHttpSeamCustomerV1StaffMembers: () => SeamHttpSeamCustomerV1StaffMembers,
233
239
  SeamHttpSeamPartnerV1BuildingBlocks: () => SeamHttpSeamPartnerV1BuildingBlocks,
234
240
  SeamHttpSeamPartnerV1BuildingBlocksSpaces: () => SeamHttpSeamPartnerV1BuildingBlocksSpaces,
235
- SeamHttpSeamV1: () => SeamHttpSeamV1,
236
- SeamHttpSeamV1Customers: () => SeamHttpSeamV1Customers,
237
241
  SeamHttpSpaces: () => SeamHttpSpaces,
238
242
  SeamHttpThermostats: () => SeamHttpThermostats,
239
243
  SeamHttpThermostatsDailyPrograms: () => SeamHttpThermostatsDailyPrograms,
@@ -1610,6 +1614,15 @@ var SeamHttpAccessCodes = class _SeamHttpAccessCodes {
1610
1614
  options
1611
1615
  });
1612
1616
  }
1617
+ getTimeline(parameters, options = {}) {
1618
+ return new SeamHttpRequest(this, {
1619
+ pathname: "/access_codes/get_timeline",
1620
+ method: "POST",
1621
+ body: parameters,
1622
+ responseKey: "timeline_events",
1623
+ options
1624
+ });
1625
+ }
1613
1626
  list(parameters, options = {}) {
1614
1627
  return new SeamHttpRequest(this, {
1615
1628
  pathname: "/access_codes/list",
@@ -2116,8 +2129,8 @@ var SeamHttpAccessMethods = class _SeamHttpAccessMethods {
2116
2129
  delete(parameters, options = {}) {
2117
2130
  return new SeamHttpRequest(this, {
2118
2131
  pathname: "/access_methods/delete",
2119
- method: "POST",
2120
- body: parameters,
2132
+ method: "DELETE",
2133
+ params: parameters,
2121
2134
  responseKey: void 0,
2122
2135
  options
2123
2136
  });
@@ -4441,6 +4454,101 @@ var SeamHttpConnectedAccounts = class _SeamHttpConnectedAccounts {
4441
4454
  }
4442
4455
  };
4443
4456
 
4457
+ // src/lib/seam/connect/routes/customers/reservations/reservations.ts
4458
+ var SeamHttpCustomersReservations = class _SeamHttpCustomersReservations {
4459
+ client;
4460
+ defaults;
4461
+ ltsVersion = seamApiLtsVersion;
4462
+ static ltsVersion = seamApiLtsVersion;
4463
+ constructor(apiKeyOrOptions = {}) {
4464
+ const options = parseOptions(apiKeyOrOptions);
4465
+ this.client = "client" in options ? options.client : createClient(options);
4466
+ this.defaults = limitToSeamHttpRequestOptions(options);
4467
+ }
4468
+ static fromClient(client, options = {}) {
4469
+ const constructorOptions = { ...options, client };
4470
+ if (!isSeamHttpOptionsWithClient(constructorOptions)) {
4471
+ throw new SeamHttpInvalidOptionsError("Missing client");
4472
+ }
4473
+ return new _SeamHttpCustomersReservations(constructorOptions);
4474
+ }
4475
+ static fromApiKey(apiKey, options = {}) {
4476
+ const constructorOptions = { ...options, apiKey };
4477
+ if (!isSeamHttpOptionsWithApiKey(constructorOptions)) {
4478
+ throw new SeamHttpInvalidOptionsError("Missing apiKey");
4479
+ }
4480
+ return new _SeamHttpCustomersReservations(constructorOptions);
4481
+ }
4482
+ static fromClientSessionToken(clientSessionToken, options = {}) {
4483
+ const constructorOptions = { ...options, clientSessionToken };
4484
+ if (!isSeamHttpOptionsWithClientSessionToken(constructorOptions)) {
4485
+ throw new SeamHttpInvalidOptionsError("Missing clientSessionToken");
4486
+ }
4487
+ return new _SeamHttpCustomersReservations(constructorOptions);
4488
+ }
4489
+ static async fromPublishableKey(publishableKey, userIdentifierKey, options = {}) {
4490
+ warnOnInsecureuserIdentifierKey(userIdentifierKey);
4491
+ const clientOptions = parseOptions({ ...options, publishableKey });
4492
+ if (isSeamHttpOptionsWithClient(clientOptions)) {
4493
+ throw new SeamHttpInvalidOptionsError(
4494
+ "The client option cannot be used with SeamHttpCustomersReservations.fromPublishableKey"
4495
+ );
4496
+ }
4497
+ const client = createClient(clientOptions);
4498
+ const clientSessions = SeamHttpClientSessions.fromClient(client);
4499
+ const { token } = await clientSessions.getOrCreate({
4500
+ user_identifier_key: userIdentifierKey
4501
+ });
4502
+ return _SeamHttpCustomersReservations.fromClientSessionToken(token, options);
4503
+ }
4504
+ static fromConsoleSessionToken(consoleSessionToken, workspaceId, options = {}) {
4505
+ const constructorOptions = { ...options, consoleSessionToken, workspaceId };
4506
+ if (!isSeamHttpOptionsWithConsoleSessionToken(constructorOptions)) {
4507
+ throw new SeamHttpInvalidOptionsError(
4508
+ "Missing consoleSessionToken or workspaceId"
4509
+ );
4510
+ }
4511
+ return new _SeamHttpCustomersReservations(constructorOptions);
4512
+ }
4513
+ static fromPersonalAccessToken(personalAccessToken, workspaceId, options = {}) {
4514
+ const constructorOptions = { ...options, personalAccessToken, workspaceId };
4515
+ if (!isSeamHttpOptionsWithPersonalAccessToken(constructorOptions)) {
4516
+ throw new SeamHttpInvalidOptionsError(
4517
+ "Missing personalAccessToken or workspaceId"
4518
+ );
4519
+ }
4520
+ return new _SeamHttpCustomersReservations(constructorOptions);
4521
+ }
4522
+ createPaginator(request) {
4523
+ return new SeamPaginator(this, request);
4524
+ }
4525
+ async updateClientSessionToken(clientSessionToken) {
4526
+ const { headers } = this.client.defaults;
4527
+ const authHeaders = getAuthHeadersForClientSessionToken({
4528
+ clientSessionToken
4529
+ });
4530
+ for (const key of Object.keys(authHeaders)) {
4531
+ if (headers[key] == null) {
4532
+ throw new Error(
4533
+ "Cannot update a clientSessionToken on a client created without a clientSessionToken"
4534
+ );
4535
+ }
4536
+ }
4537
+ this.client.defaults.headers = { ...headers, ...authHeaders };
4538
+ const clientSessions = SeamHttpClientSessions.fromClient(this.client);
4539
+ await clientSessions.get();
4540
+ }
4541
+ createDeepLink(parameters, options = {}) {
4542
+ return new SeamHttpRequest(this, {
4543
+ pathname: "/customers/reservations/create_deep_link",
4544
+ method: "POST",
4545
+ body: parameters,
4546
+ responseKey: "deep_link",
4547
+ options
4548
+ });
4549
+ }
4550
+ };
4551
+
4444
4552
  // src/lib/seam/connect/routes/customers/customers.ts
4445
4553
  var SeamHttpCustomers = class _SeamHttpCustomers {
4446
4554
  client;
@@ -4525,6 +4633,9 @@ var SeamHttpCustomers = class _SeamHttpCustomers {
4525
4633
  const clientSessions = SeamHttpClientSessions.fromClient(this.client);
4526
4634
  await clientSessions.get();
4527
4635
  }
4636
+ get reservations() {
4637
+ return SeamHttpCustomersReservations.fromClient(this.client, this.defaults);
4638
+ }
4528
4639
  createPortal(parameters, options = {}) {
4529
4640
  return new SeamHttpRequest(this, {
4530
4641
  pathname: "/customers/create_portal",
@@ -6361,6 +6472,128 @@ var SeamHttpSeamCustomerV1AccessGrants = class _SeamHttpSeamCustomerV1AccessGran
6361
6472
  options
6362
6473
  });
6363
6474
  }
6475
+ update(parameters, options = {}) {
6476
+ if (!this.defaults.isUndocumentedApiEnabled) {
6477
+ throw new Error(
6478
+ "Cannot use undocumented API without isUndocumentedApiEnabled"
6479
+ );
6480
+ }
6481
+ return new SeamHttpRequest(this, {
6482
+ pathname: "/seam/customer/v1/access_grants/update",
6483
+ method: "PATCH",
6484
+ body: parameters,
6485
+ responseKey: void 0,
6486
+ options
6487
+ });
6488
+ }
6489
+ };
6490
+
6491
+ // src/lib/seam/connect/routes/seam/customer/v1/access-methods/access-methods.ts
6492
+ var SeamHttpSeamCustomerV1AccessMethods = class _SeamHttpSeamCustomerV1AccessMethods {
6493
+ client;
6494
+ defaults;
6495
+ ltsVersion = seamApiLtsVersion;
6496
+ static ltsVersion = seamApiLtsVersion;
6497
+ constructor(apiKeyOrOptions = {}) {
6498
+ const options = parseOptions(apiKeyOrOptions);
6499
+ if (!options.isUndocumentedApiEnabled) {
6500
+ throw new Error(
6501
+ "Cannot use undocumented API without isUndocumentedApiEnabled"
6502
+ );
6503
+ }
6504
+ this.client = "client" in options ? options.client : createClient(options);
6505
+ this.defaults = limitToSeamHttpRequestOptions(options);
6506
+ }
6507
+ static fromClient(client, options = {}) {
6508
+ const constructorOptions = { ...options, client };
6509
+ if (!isSeamHttpOptionsWithClient(constructorOptions)) {
6510
+ throw new SeamHttpInvalidOptionsError("Missing client");
6511
+ }
6512
+ return new _SeamHttpSeamCustomerV1AccessMethods(constructorOptions);
6513
+ }
6514
+ static fromApiKey(apiKey, options = {}) {
6515
+ const constructorOptions = { ...options, apiKey };
6516
+ if (!isSeamHttpOptionsWithApiKey(constructorOptions)) {
6517
+ throw new SeamHttpInvalidOptionsError("Missing apiKey");
6518
+ }
6519
+ return new _SeamHttpSeamCustomerV1AccessMethods(constructorOptions);
6520
+ }
6521
+ static fromClientSessionToken(clientSessionToken, options = {}) {
6522
+ const constructorOptions = { ...options, clientSessionToken };
6523
+ if (!isSeamHttpOptionsWithClientSessionToken(constructorOptions)) {
6524
+ throw new SeamHttpInvalidOptionsError("Missing clientSessionToken");
6525
+ }
6526
+ return new _SeamHttpSeamCustomerV1AccessMethods(constructorOptions);
6527
+ }
6528
+ static async fromPublishableKey(publishableKey, userIdentifierKey, options = {}) {
6529
+ warnOnInsecureuserIdentifierKey(userIdentifierKey);
6530
+ const clientOptions = parseOptions({ ...options, publishableKey });
6531
+ if (isSeamHttpOptionsWithClient(clientOptions)) {
6532
+ throw new SeamHttpInvalidOptionsError(
6533
+ "The client option cannot be used with SeamHttpSeamCustomerV1AccessMethods.fromPublishableKey"
6534
+ );
6535
+ }
6536
+ const client = createClient(clientOptions);
6537
+ const clientSessions = SeamHttpClientSessions.fromClient(client);
6538
+ const { token } = await clientSessions.getOrCreate({
6539
+ user_identifier_key: userIdentifierKey
6540
+ });
6541
+ return _SeamHttpSeamCustomerV1AccessMethods.fromClientSessionToken(
6542
+ token,
6543
+ options
6544
+ );
6545
+ }
6546
+ static fromConsoleSessionToken(consoleSessionToken, workspaceId, options = {}) {
6547
+ const constructorOptions = { ...options, consoleSessionToken, workspaceId };
6548
+ if (!isSeamHttpOptionsWithConsoleSessionToken(constructorOptions)) {
6549
+ throw new SeamHttpInvalidOptionsError(
6550
+ "Missing consoleSessionToken or workspaceId"
6551
+ );
6552
+ }
6553
+ return new _SeamHttpSeamCustomerV1AccessMethods(constructorOptions);
6554
+ }
6555
+ static fromPersonalAccessToken(personalAccessToken, workspaceId, options = {}) {
6556
+ const constructorOptions = { ...options, personalAccessToken, workspaceId };
6557
+ if (!isSeamHttpOptionsWithPersonalAccessToken(constructorOptions)) {
6558
+ throw new SeamHttpInvalidOptionsError(
6559
+ "Missing personalAccessToken or workspaceId"
6560
+ );
6561
+ }
6562
+ return new _SeamHttpSeamCustomerV1AccessMethods(constructorOptions);
6563
+ }
6564
+ createPaginator(request) {
6565
+ return new SeamPaginator(this, request);
6566
+ }
6567
+ async updateClientSessionToken(clientSessionToken) {
6568
+ const { headers } = this.client.defaults;
6569
+ const authHeaders = getAuthHeadersForClientSessionToken({
6570
+ clientSessionToken
6571
+ });
6572
+ for (const key of Object.keys(authHeaders)) {
6573
+ if (headers[key] == null) {
6574
+ throw new Error(
6575
+ "Cannot update a clientSessionToken on a client created without a clientSessionToken"
6576
+ );
6577
+ }
6578
+ }
6579
+ this.client.defaults.headers = { ...headers, ...authHeaders };
6580
+ const clientSessions = SeamHttpClientSessions.fromClient(this.client);
6581
+ await clientSessions.get();
6582
+ }
6583
+ encode(parameters, options = {}) {
6584
+ if (!this.defaults.isUndocumentedApiEnabled) {
6585
+ throw new Error(
6586
+ "Cannot use undocumented API without isUndocumentedApiEnabled"
6587
+ );
6588
+ }
6589
+ return new SeamHttpRequest(this, {
6590
+ pathname: "/seam/customer/v1/access_methods/encode",
6591
+ method: "POST",
6592
+ body: parameters,
6593
+ responseKey: "action_attempt",
6594
+ options
6595
+ });
6596
+ }
6364
6597
  };
6365
6598
 
6366
6599
  // src/lib/seam/connect/routes/seam/customer/v1/automation-runs/automation-runs.ts
@@ -6915,11 +7148,6 @@ var SeamHttpSeamCustomerV1Customers = class _SeamHttpSeamCustomerV1Customers {
6915
7148
  static ltsVersion = seamApiLtsVersion;
6916
7149
  constructor(apiKeyOrOptions = {}) {
6917
7150
  const options = parseOptions(apiKeyOrOptions);
6918
- if (!options.isUndocumentedApiEnabled) {
6919
- throw new Error(
6920
- "Cannot use undocumented API without isUndocumentedApiEnabled"
6921
- );
6922
- }
6923
7151
  this.client = "client" in options ? options.client : createClient(options);
6924
7152
  this.defaults = limitToSeamHttpRequestOptions(options);
6925
7153
  }
@@ -7013,6 +7241,15 @@ var SeamHttpSeamCustomerV1Customers = class _SeamHttpSeamCustomerV1Customers {
7013
7241
  options
7014
7242
  });
7015
7243
  }
7244
+ me(parameters, options = {}) {
7245
+ return new SeamHttpRequest(this, {
7246
+ pathname: "/seam/customer/v1/customers/me",
7247
+ method: "GET",
7248
+ params: parameters,
7249
+ responseKey: void 0,
7250
+ options
7251
+ });
7252
+ }
7016
7253
  openPortal(parameters, options = {}) {
7017
7254
  if (!this.defaults.isUndocumentedApiEnabled) {
7018
7255
  throw new Error(
@@ -7029,8 +7266,8 @@ var SeamHttpSeamCustomerV1Customers = class _SeamHttpSeamCustomerV1Customers {
7029
7266
  }
7030
7267
  };
7031
7268
 
7032
- // src/lib/seam/connect/routes/seam/customer/v1/events/events.ts
7033
- var SeamHttpSeamCustomerV1Events = class _SeamHttpSeamCustomerV1Events {
7269
+ // src/lib/seam/connect/routes/seam/customer/v1/encoders/encoders.ts
7270
+ var SeamHttpSeamCustomerV1Encoders = class _SeamHttpSeamCustomerV1Encoders {
7034
7271
  client;
7035
7272
  defaults;
7036
7273
  ltsVersion = seamApiLtsVersion;
@@ -7050,28 +7287,28 @@ var SeamHttpSeamCustomerV1Events = class _SeamHttpSeamCustomerV1Events {
7050
7287
  if (!isSeamHttpOptionsWithClient(constructorOptions)) {
7051
7288
  throw new SeamHttpInvalidOptionsError("Missing client");
7052
7289
  }
7053
- return new _SeamHttpSeamCustomerV1Events(constructorOptions);
7290
+ return new _SeamHttpSeamCustomerV1Encoders(constructorOptions);
7054
7291
  }
7055
7292
  static fromApiKey(apiKey, options = {}) {
7056
7293
  const constructorOptions = { ...options, apiKey };
7057
7294
  if (!isSeamHttpOptionsWithApiKey(constructorOptions)) {
7058
7295
  throw new SeamHttpInvalidOptionsError("Missing apiKey");
7059
7296
  }
7060
- return new _SeamHttpSeamCustomerV1Events(constructorOptions);
7297
+ return new _SeamHttpSeamCustomerV1Encoders(constructorOptions);
7061
7298
  }
7062
7299
  static fromClientSessionToken(clientSessionToken, options = {}) {
7063
7300
  const constructorOptions = { ...options, clientSessionToken };
7064
7301
  if (!isSeamHttpOptionsWithClientSessionToken(constructorOptions)) {
7065
7302
  throw new SeamHttpInvalidOptionsError("Missing clientSessionToken");
7066
7303
  }
7067
- return new _SeamHttpSeamCustomerV1Events(constructorOptions);
7304
+ return new _SeamHttpSeamCustomerV1Encoders(constructorOptions);
7068
7305
  }
7069
7306
  static async fromPublishableKey(publishableKey, userIdentifierKey, options = {}) {
7070
7307
  warnOnInsecureuserIdentifierKey(userIdentifierKey);
7071
7308
  const clientOptions = parseOptions({ ...options, publishableKey });
7072
7309
  if (isSeamHttpOptionsWithClient(clientOptions)) {
7073
7310
  throw new SeamHttpInvalidOptionsError(
7074
- "The client option cannot be used with SeamHttpSeamCustomerV1Events.fromPublishableKey"
7311
+ "The client option cannot be used with SeamHttpSeamCustomerV1Encoders.fromPublishableKey"
7075
7312
  );
7076
7313
  }
7077
7314
  const client = createClient(clientOptions);
@@ -7079,7 +7316,7 @@ var SeamHttpSeamCustomerV1Events = class _SeamHttpSeamCustomerV1Events {
7079
7316
  const { token } = await clientSessions.getOrCreate({
7080
7317
  user_identifier_key: userIdentifierKey
7081
7318
  });
7082
- return _SeamHttpSeamCustomerV1Events.fromClientSessionToken(token, options);
7319
+ return _SeamHttpSeamCustomerV1Encoders.fromClientSessionToken(token, options);
7083
7320
  }
7084
7321
  static fromConsoleSessionToken(consoleSessionToken, workspaceId, options = {}) {
7085
7322
  const constructorOptions = { ...options, consoleSessionToken, workspaceId };
@@ -7088,7 +7325,7 @@ var SeamHttpSeamCustomerV1Events = class _SeamHttpSeamCustomerV1Events {
7088
7325
  "Missing consoleSessionToken or workspaceId"
7089
7326
  );
7090
7327
  }
7091
- return new _SeamHttpSeamCustomerV1Events(constructorOptions);
7328
+ return new _SeamHttpSeamCustomerV1Encoders(constructorOptions);
7092
7329
  }
7093
7330
  static fromPersonalAccessToken(personalAccessToken, workspaceId, options = {}) {
7094
7331
  const constructorOptions = { ...options, personalAccessToken, workspaceId };
@@ -7097,7 +7334,7 @@ var SeamHttpSeamCustomerV1Events = class _SeamHttpSeamCustomerV1Events {
7097
7334
  "Missing personalAccessToken or workspaceId"
7098
7335
  );
7099
7336
  }
7100
- return new _SeamHttpSeamCustomerV1Events(constructorOptions);
7337
+ return new _SeamHttpSeamCustomerV1Encoders(constructorOptions);
7101
7338
  }
7102
7339
  createPaginator(request) {
7103
7340
  return new SeamPaginator(this, request);
@@ -7125,17 +7362,17 @@ var SeamHttpSeamCustomerV1Events = class _SeamHttpSeamCustomerV1Events {
7125
7362
  );
7126
7363
  }
7127
7364
  return new SeamHttpRequest(this, {
7128
- pathname: "/seam/customer/v1/events/list",
7365
+ pathname: "/seam/customer/v1/encoders/list",
7129
7366
  method: "POST",
7130
7367
  body: parameters,
7131
- responseKey: "events",
7368
+ responseKey: "encoders",
7132
7369
  options
7133
7370
  });
7134
7371
  }
7135
7372
  };
7136
7373
 
7137
- // src/lib/seam/connect/routes/seam/customer/v1/portals/portals.ts
7138
- var SeamHttpSeamCustomerV1Portals = class _SeamHttpSeamCustomerV1Portals {
7374
+ // src/lib/seam/connect/routes/seam/customer/v1/events/events.ts
7375
+ var SeamHttpSeamCustomerV1Events = class _SeamHttpSeamCustomerV1Events {
7139
7376
  client;
7140
7377
  defaults;
7141
7378
  ltsVersion = seamApiLtsVersion;
@@ -7155,28 +7392,28 @@ var SeamHttpSeamCustomerV1Portals = class _SeamHttpSeamCustomerV1Portals {
7155
7392
  if (!isSeamHttpOptionsWithClient(constructorOptions)) {
7156
7393
  throw new SeamHttpInvalidOptionsError("Missing client");
7157
7394
  }
7158
- return new _SeamHttpSeamCustomerV1Portals(constructorOptions);
7395
+ return new _SeamHttpSeamCustomerV1Events(constructorOptions);
7159
7396
  }
7160
7397
  static fromApiKey(apiKey, options = {}) {
7161
7398
  const constructorOptions = { ...options, apiKey };
7162
7399
  if (!isSeamHttpOptionsWithApiKey(constructorOptions)) {
7163
7400
  throw new SeamHttpInvalidOptionsError("Missing apiKey");
7164
7401
  }
7165
- return new _SeamHttpSeamCustomerV1Portals(constructorOptions);
7402
+ return new _SeamHttpSeamCustomerV1Events(constructorOptions);
7166
7403
  }
7167
7404
  static fromClientSessionToken(clientSessionToken, options = {}) {
7168
7405
  const constructorOptions = { ...options, clientSessionToken };
7169
7406
  if (!isSeamHttpOptionsWithClientSessionToken(constructorOptions)) {
7170
7407
  throw new SeamHttpInvalidOptionsError("Missing clientSessionToken");
7171
7408
  }
7172
- return new _SeamHttpSeamCustomerV1Portals(constructorOptions);
7409
+ return new _SeamHttpSeamCustomerV1Events(constructorOptions);
7173
7410
  }
7174
7411
  static async fromPublishableKey(publishableKey, userIdentifierKey, options = {}) {
7175
7412
  warnOnInsecureuserIdentifierKey(userIdentifierKey);
7176
7413
  const clientOptions = parseOptions({ ...options, publishableKey });
7177
7414
  if (isSeamHttpOptionsWithClient(clientOptions)) {
7178
7415
  throw new SeamHttpInvalidOptionsError(
7179
- "The client option cannot be used with SeamHttpSeamCustomerV1Portals.fromPublishableKey"
7416
+ "The client option cannot be used with SeamHttpSeamCustomerV1Events.fromPublishableKey"
7180
7417
  );
7181
7418
  }
7182
7419
  const client = createClient(clientOptions);
@@ -7184,7 +7421,7 @@ var SeamHttpSeamCustomerV1Portals = class _SeamHttpSeamCustomerV1Portals {
7184
7421
  const { token } = await clientSessions.getOrCreate({
7185
7422
  user_identifier_key: userIdentifierKey
7186
7423
  });
7187
- return _SeamHttpSeamCustomerV1Portals.fromClientSessionToken(token, options);
7424
+ return _SeamHttpSeamCustomerV1Events.fromClientSessionToken(token, options);
7188
7425
  }
7189
7426
  static fromConsoleSessionToken(consoleSessionToken, workspaceId, options = {}) {
7190
7427
  const constructorOptions = { ...options, consoleSessionToken, workspaceId };
@@ -7193,7 +7430,7 @@ var SeamHttpSeamCustomerV1Portals = class _SeamHttpSeamCustomerV1Portals {
7193
7430
  "Missing consoleSessionToken or workspaceId"
7194
7431
  );
7195
7432
  }
7196
- return new _SeamHttpSeamCustomerV1Portals(constructorOptions);
7433
+ return new _SeamHttpSeamCustomerV1Events(constructorOptions);
7197
7434
  }
7198
7435
  static fromPersonalAccessToken(personalAccessToken, workspaceId, options = {}) {
7199
7436
  const constructorOptions = { ...options, personalAccessToken, workspaceId };
@@ -7202,7 +7439,7 @@ var SeamHttpSeamCustomerV1Portals = class _SeamHttpSeamCustomerV1Portals {
7202
7439
  "Missing personalAccessToken or workspaceId"
7203
7440
  );
7204
7441
  }
7205
- return new _SeamHttpSeamCustomerV1Portals(constructorOptions);
7442
+ return new _SeamHttpSeamCustomerV1Events(constructorOptions);
7206
7443
  }
7207
7444
  createPaginator(request) {
7208
7445
  return new SeamPaginator(this, request);
@@ -7223,24 +7460,129 @@ var SeamHttpSeamCustomerV1Portals = class _SeamHttpSeamCustomerV1Portals {
7223
7460
  const clientSessions = SeamHttpClientSessions.fromClient(this.client);
7224
7461
  await clientSessions.get();
7225
7462
  }
7226
- get(parameters, options = {}) {
7463
+ list(parameters, options = {}) {
7227
7464
  if (!this.defaults.isUndocumentedApiEnabled) {
7228
7465
  throw new Error(
7229
7466
  "Cannot use undocumented API without isUndocumentedApiEnabled"
7230
7467
  );
7231
7468
  }
7232
7469
  return new SeamHttpRequest(this, {
7233
- pathname: "/seam/customer/v1/portals/get",
7470
+ pathname: "/seam/customer/v1/events/list",
7234
7471
  method: "POST",
7235
7472
  body: parameters,
7236
- responseKey: "customer_portal",
7473
+ responseKey: "events",
7237
7474
  options
7238
7475
  });
7239
7476
  }
7240
7477
  };
7241
7478
 
7242
- // src/lib/seam/connect/routes/seam/customer/v1/reservations/reservations.ts
7243
- var SeamHttpSeamCustomerV1Reservations = class _SeamHttpSeamCustomerV1Reservations {
7479
+ // src/lib/seam/connect/routes/seam/customer/v1/portals/portals.ts
7480
+ var SeamHttpSeamCustomerV1Portals = class _SeamHttpSeamCustomerV1Portals {
7481
+ client;
7482
+ defaults;
7483
+ ltsVersion = seamApiLtsVersion;
7484
+ static ltsVersion = seamApiLtsVersion;
7485
+ constructor(apiKeyOrOptions = {}) {
7486
+ const options = parseOptions(apiKeyOrOptions);
7487
+ if (!options.isUndocumentedApiEnabled) {
7488
+ throw new Error(
7489
+ "Cannot use undocumented API without isUndocumentedApiEnabled"
7490
+ );
7491
+ }
7492
+ this.client = "client" in options ? options.client : createClient(options);
7493
+ this.defaults = limitToSeamHttpRequestOptions(options);
7494
+ }
7495
+ static fromClient(client, options = {}) {
7496
+ const constructorOptions = { ...options, client };
7497
+ if (!isSeamHttpOptionsWithClient(constructorOptions)) {
7498
+ throw new SeamHttpInvalidOptionsError("Missing client");
7499
+ }
7500
+ return new _SeamHttpSeamCustomerV1Portals(constructorOptions);
7501
+ }
7502
+ static fromApiKey(apiKey, options = {}) {
7503
+ const constructorOptions = { ...options, apiKey };
7504
+ if (!isSeamHttpOptionsWithApiKey(constructorOptions)) {
7505
+ throw new SeamHttpInvalidOptionsError("Missing apiKey");
7506
+ }
7507
+ return new _SeamHttpSeamCustomerV1Portals(constructorOptions);
7508
+ }
7509
+ static fromClientSessionToken(clientSessionToken, options = {}) {
7510
+ const constructorOptions = { ...options, clientSessionToken };
7511
+ if (!isSeamHttpOptionsWithClientSessionToken(constructorOptions)) {
7512
+ throw new SeamHttpInvalidOptionsError("Missing clientSessionToken");
7513
+ }
7514
+ return new _SeamHttpSeamCustomerV1Portals(constructorOptions);
7515
+ }
7516
+ static async fromPublishableKey(publishableKey, userIdentifierKey, options = {}) {
7517
+ warnOnInsecureuserIdentifierKey(userIdentifierKey);
7518
+ const clientOptions = parseOptions({ ...options, publishableKey });
7519
+ if (isSeamHttpOptionsWithClient(clientOptions)) {
7520
+ throw new SeamHttpInvalidOptionsError(
7521
+ "The client option cannot be used with SeamHttpSeamCustomerV1Portals.fromPublishableKey"
7522
+ );
7523
+ }
7524
+ const client = createClient(clientOptions);
7525
+ const clientSessions = SeamHttpClientSessions.fromClient(client);
7526
+ const { token } = await clientSessions.getOrCreate({
7527
+ user_identifier_key: userIdentifierKey
7528
+ });
7529
+ return _SeamHttpSeamCustomerV1Portals.fromClientSessionToken(token, options);
7530
+ }
7531
+ static fromConsoleSessionToken(consoleSessionToken, workspaceId, options = {}) {
7532
+ const constructorOptions = { ...options, consoleSessionToken, workspaceId };
7533
+ if (!isSeamHttpOptionsWithConsoleSessionToken(constructorOptions)) {
7534
+ throw new SeamHttpInvalidOptionsError(
7535
+ "Missing consoleSessionToken or workspaceId"
7536
+ );
7537
+ }
7538
+ return new _SeamHttpSeamCustomerV1Portals(constructorOptions);
7539
+ }
7540
+ static fromPersonalAccessToken(personalAccessToken, workspaceId, options = {}) {
7541
+ const constructorOptions = { ...options, personalAccessToken, workspaceId };
7542
+ if (!isSeamHttpOptionsWithPersonalAccessToken(constructorOptions)) {
7543
+ throw new SeamHttpInvalidOptionsError(
7544
+ "Missing personalAccessToken or workspaceId"
7545
+ );
7546
+ }
7547
+ return new _SeamHttpSeamCustomerV1Portals(constructorOptions);
7548
+ }
7549
+ createPaginator(request) {
7550
+ return new SeamPaginator(this, request);
7551
+ }
7552
+ async updateClientSessionToken(clientSessionToken) {
7553
+ const { headers } = this.client.defaults;
7554
+ const authHeaders = getAuthHeadersForClientSessionToken({
7555
+ clientSessionToken
7556
+ });
7557
+ for (const key of Object.keys(authHeaders)) {
7558
+ if (headers[key] == null) {
7559
+ throw new Error(
7560
+ "Cannot update a clientSessionToken on a client created without a clientSessionToken"
7561
+ );
7562
+ }
7563
+ }
7564
+ this.client.defaults.headers = { ...headers, ...authHeaders };
7565
+ const clientSessions = SeamHttpClientSessions.fromClient(this.client);
7566
+ await clientSessions.get();
7567
+ }
7568
+ get(parameters, options = {}) {
7569
+ if (!this.defaults.isUndocumentedApiEnabled) {
7570
+ throw new Error(
7571
+ "Cannot use undocumented API without isUndocumentedApiEnabled"
7572
+ );
7573
+ }
7574
+ return new SeamHttpRequest(this, {
7575
+ pathname: "/seam/customer/v1/portals/get",
7576
+ method: "POST",
7577
+ body: parameters,
7578
+ responseKey: "customer_portal",
7579
+ options
7580
+ });
7581
+ }
7582
+ };
7583
+
7584
+ // src/lib/seam/connect/routes/seam/customer/v1/reservations/reservations.ts
7585
+ var SeamHttpSeamCustomerV1Reservations = class _SeamHttpSeamCustomerV1Reservations {
7244
7586
  client;
7245
7587
  defaults;
7246
7588
  ltsVersion = seamApiLtsVersion;
@@ -7361,6 +7703,124 @@ var SeamHttpSeamCustomerV1Reservations = class _SeamHttpSeamCustomerV1Reservatio
7361
7703
  }
7362
7704
  };
7363
7705
 
7706
+ // src/lib/seam/connect/routes/seam/customer/v1/settings/vertical-resource-aliases/vertical-resource-aliases.ts
7707
+ var SeamHttpSeamCustomerV1SettingsVerticalResourceAliases = class _SeamHttpSeamCustomerV1SettingsVerticalResourceAliases {
7708
+ client;
7709
+ defaults;
7710
+ ltsVersion = seamApiLtsVersion;
7711
+ static ltsVersion = seamApiLtsVersion;
7712
+ constructor(apiKeyOrOptions = {}) {
7713
+ const options = parseOptions(apiKeyOrOptions);
7714
+ if (!options.isUndocumentedApiEnabled) {
7715
+ throw new Error(
7716
+ "Cannot use undocumented API without isUndocumentedApiEnabled"
7717
+ );
7718
+ }
7719
+ this.client = "client" in options ? options.client : createClient(options);
7720
+ this.defaults = limitToSeamHttpRequestOptions(options);
7721
+ }
7722
+ static fromClient(client, options = {}) {
7723
+ const constructorOptions = { ...options, client };
7724
+ if (!isSeamHttpOptionsWithClient(constructorOptions)) {
7725
+ throw new SeamHttpInvalidOptionsError("Missing client");
7726
+ }
7727
+ return new _SeamHttpSeamCustomerV1SettingsVerticalResourceAliases(
7728
+ constructorOptions
7729
+ );
7730
+ }
7731
+ static fromApiKey(apiKey, options = {}) {
7732
+ const constructorOptions = { ...options, apiKey };
7733
+ if (!isSeamHttpOptionsWithApiKey(constructorOptions)) {
7734
+ throw new SeamHttpInvalidOptionsError("Missing apiKey");
7735
+ }
7736
+ return new _SeamHttpSeamCustomerV1SettingsVerticalResourceAliases(
7737
+ constructorOptions
7738
+ );
7739
+ }
7740
+ static fromClientSessionToken(clientSessionToken, options = {}) {
7741
+ const constructorOptions = { ...options, clientSessionToken };
7742
+ if (!isSeamHttpOptionsWithClientSessionToken(constructorOptions)) {
7743
+ throw new SeamHttpInvalidOptionsError("Missing clientSessionToken");
7744
+ }
7745
+ return new _SeamHttpSeamCustomerV1SettingsVerticalResourceAliases(
7746
+ constructorOptions
7747
+ );
7748
+ }
7749
+ static async fromPublishableKey(publishableKey, userIdentifierKey, options = {}) {
7750
+ warnOnInsecureuserIdentifierKey(userIdentifierKey);
7751
+ const clientOptions = parseOptions({ ...options, publishableKey });
7752
+ if (isSeamHttpOptionsWithClient(clientOptions)) {
7753
+ throw new SeamHttpInvalidOptionsError(
7754
+ "The client option cannot be used with SeamHttpSeamCustomerV1SettingsVerticalResourceAliases.fromPublishableKey"
7755
+ );
7756
+ }
7757
+ const client = createClient(clientOptions);
7758
+ const clientSessions = SeamHttpClientSessions.fromClient(client);
7759
+ const { token } = await clientSessions.getOrCreate({
7760
+ user_identifier_key: userIdentifierKey
7761
+ });
7762
+ return _SeamHttpSeamCustomerV1SettingsVerticalResourceAliases.fromClientSessionToken(
7763
+ token,
7764
+ options
7765
+ );
7766
+ }
7767
+ static fromConsoleSessionToken(consoleSessionToken, workspaceId, options = {}) {
7768
+ const constructorOptions = { ...options, consoleSessionToken, workspaceId };
7769
+ if (!isSeamHttpOptionsWithConsoleSessionToken(constructorOptions)) {
7770
+ throw new SeamHttpInvalidOptionsError(
7771
+ "Missing consoleSessionToken or workspaceId"
7772
+ );
7773
+ }
7774
+ return new _SeamHttpSeamCustomerV1SettingsVerticalResourceAliases(
7775
+ constructorOptions
7776
+ );
7777
+ }
7778
+ static fromPersonalAccessToken(personalAccessToken, workspaceId, options = {}) {
7779
+ const constructorOptions = { ...options, personalAccessToken, workspaceId };
7780
+ if (!isSeamHttpOptionsWithPersonalAccessToken(constructorOptions)) {
7781
+ throw new SeamHttpInvalidOptionsError(
7782
+ "Missing personalAccessToken or workspaceId"
7783
+ );
7784
+ }
7785
+ return new _SeamHttpSeamCustomerV1SettingsVerticalResourceAliases(
7786
+ constructorOptions
7787
+ );
7788
+ }
7789
+ createPaginator(request) {
7790
+ return new SeamPaginator(this, request);
7791
+ }
7792
+ async updateClientSessionToken(clientSessionToken) {
7793
+ const { headers } = this.client.defaults;
7794
+ const authHeaders = getAuthHeadersForClientSessionToken({
7795
+ clientSessionToken
7796
+ });
7797
+ for (const key of Object.keys(authHeaders)) {
7798
+ if (headers[key] == null) {
7799
+ throw new Error(
7800
+ "Cannot update a clientSessionToken on a client created without a clientSessionToken"
7801
+ );
7802
+ }
7803
+ }
7804
+ this.client.defaults.headers = { ...headers, ...authHeaders };
7805
+ const clientSessions = SeamHttpClientSessions.fromClient(this.client);
7806
+ await clientSessions.get();
7807
+ }
7808
+ get(parameters, options = {}) {
7809
+ if (!this.defaults.isUndocumentedApiEnabled) {
7810
+ throw new Error(
7811
+ "Cannot use undocumented API without isUndocumentedApiEnabled"
7812
+ );
7813
+ }
7814
+ return new SeamHttpRequest(this, {
7815
+ pathname: "/seam/customer/v1/settings/vertical_resource_aliases/get",
7816
+ method: "POST",
7817
+ body: parameters,
7818
+ responseKey: "vertical_resource_aliases",
7819
+ options
7820
+ });
7821
+ }
7822
+ };
7823
+
7364
7824
  // src/lib/seam/connect/routes/seam/customer/v1/settings/settings.ts
7365
7825
  var SeamHttpSeamCustomerV1Settings = class _SeamHttpSeamCustomerV1Settings {
7366
7826
  client;
@@ -7450,6 +7910,12 @@ var SeamHttpSeamCustomerV1Settings = class _SeamHttpSeamCustomerV1Settings {
7450
7910
  const clientSessions = SeamHttpClientSessions.fromClient(this.client);
7451
7911
  await clientSessions.get();
7452
7912
  }
7913
+ get verticalResourceAliases() {
7914
+ return SeamHttpSeamCustomerV1SettingsVerticalResourceAliases.fromClient(
7915
+ this.client,
7916
+ this.defaults
7917
+ );
7918
+ }
7453
7919
  get(parameters, options = {}) {
7454
7920
  if (!this.defaults.isUndocumentedApiEnabled) {
7455
7921
  throw new Error(
@@ -7488,11 +7954,6 @@ var SeamHttpSeamCustomerV1Spaces = class _SeamHttpSeamCustomerV1Spaces {
7488
7954
  static ltsVersion = seamApiLtsVersion;
7489
7955
  constructor(apiKeyOrOptions = {}) {
7490
7956
  const options = parseOptions(apiKeyOrOptions);
7491
- if (!options.isUndocumentedApiEnabled) {
7492
- throw new Error(
7493
- "Cannot use undocumented API without isUndocumentedApiEnabled"
7494
- );
7495
- }
7496
7957
  this.client = "client" in options ? options.client : createClient(options);
7497
7958
  this.defaults = limitToSeamHttpRequestOptions(options);
7498
7959
  }
@@ -7611,6 +8072,15 @@ var SeamHttpSeamCustomerV1Spaces = class _SeamHttpSeamCustomerV1Spaces {
7611
8072
  options
7612
8073
  });
7613
8074
  }
8075
+ pushCommonAreas(parameters, options = {}) {
8076
+ return new SeamHttpRequest(this, {
8077
+ pathname: "/seam/customer/v1/spaces/push_common_areas",
8078
+ method: "POST",
8079
+ body: parameters,
8080
+ responseKey: void 0,
8081
+ options
8082
+ });
8083
+ }
7614
8084
  };
7615
8085
 
7616
8086
  // src/lib/seam/connect/routes/seam/customer/v1/staff-members/staff-members.ts
@@ -7743,11 +8213,6 @@ var SeamHttpSeamCustomerV1 = class _SeamHttpSeamCustomerV1 {
7743
8213
  static ltsVersion = seamApiLtsVersion;
7744
8214
  constructor(apiKeyOrOptions = {}) {
7745
8215
  const options = parseOptions(apiKeyOrOptions);
7746
- if (!options.isUndocumentedApiEnabled) {
7747
- throw new Error(
7748
- "Cannot use undocumented API without isUndocumentedApiEnabled"
7749
- );
7750
- }
7751
8216
  this.client = "client" in options ? options.client : createClient(options);
7752
8217
  this.defaults = limitToSeamHttpRequestOptions(options);
7753
8218
  }
@@ -7830,6 +8295,12 @@ var SeamHttpSeamCustomerV1 = class _SeamHttpSeamCustomerV1 {
7830
8295
  this.defaults
7831
8296
  );
7832
8297
  }
8298
+ get accessMethods() {
8299
+ return SeamHttpSeamCustomerV1AccessMethods.fromClient(
8300
+ this.client,
8301
+ this.defaults
8302
+ );
8303
+ }
7833
8304
  get automationRuns() {
7834
8305
  return SeamHttpSeamCustomerV1AutomationRuns.fromClient(
7835
8306
  this.client,
@@ -7860,6 +8331,9 @@ var SeamHttpSeamCustomerV1 = class _SeamHttpSeamCustomerV1 {
7860
8331
  this.defaults
7861
8332
  );
7862
8333
  }
8334
+ get encoders() {
8335
+ return SeamHttpSeamCustomerV1Encoders.fromClient(this.client, this.defaults);
8336
+ }
7863
8337
  get events() {
7864
8338
  return SeamHttpSeamCustomerV1Events.fromClient(this.client, this.defaults);
7865
8339
  }
@@ -8094,190 +8568,6 @@ var SeamHttpSeamPartnerV1BuildingBlocks = class _SeamHttpSeamPartnerV1BuildingBl
8094
8568
  }
8095
8569
  };
8096
8570
 
8097
- // src/lib/seam/connect/routes/seam/v1/customers/customers.ts
8098
- var SeamHttpSeamV1Customers = class _SeamHttpSeamV1Customers {
8099
- client;
8100
- defaults;
8101
- ltsVersion = seamApiLtsVersion;
8102
- static ltsVersion = seamApiLtsVersion;
8103
- constructor(apiKeyOrOptions = {}) {
8104
- const options = parseOptions(apiKeyOrOptions);
8105
- this.client = "client" in options ? options.client : createClient(options);
8106
- this.defaults = limitToSeamHttpRequestOptions(options);
8107
- }
8108
- static fromClient(client, options = {}) {
8109
- const constructorOptions = { ...options, client };
8110
- if (!isSeamHttpOptionsWithClient(constructorOptions)) {
8111
- throw new SeamHttpInvalidOptionsError("Missing client");
8112
- }
8113
- return new _SeamHttpSeamV1Customers(constructorOptions);
8114
- }
8115
- static fromApiKey(apiKey, options = {}) {
8116
- const constructorOptions = { ...options, apiKey };
8117
- if (!isSeamHttpOptionsWithApiKey(constructorOptions)) {
8118
- throw new SeamHttpInvalidOptionsError("Missing apiKey");
8119
- }
8120
- return new _SeamHttpSeamV1Customers(constructorOptions);
8121
- }
8122
- static fromClientSessionToken(clientSessionToken, options = {}) {
8123
- const constructorOptions = { ...options, clientSessionToken };
8124
- if (!isSeamHttpOptionsWithClientSessionToken(constructorOptions)) {
8125
- throw new SeamHttpInvalidOptionsError("Missing clientSessionToken");
8126
- }
8127
- return new _SeamHttpSeamV1Customers(constructorOptions);
8128
- }
8129
- static async fromPublishableKey(publishableKey, userIdentifierKey, options = {}) {
8130
- warnOnInsecureuserIdentifierKey(userIdentifierKey);
8131
- const clientOptions = parseOptions({ ...options, publishableKey });
8132
- if (isSeamHttpOptionsWithClient(clientOptions)) {
8133
- throw new SeamHttpInvalidOptionsError(
8134
- "The client option cannot be used with SeamHttpSeamV1Customers.fromPublishableKey"
8135
- );
8136
- }
8137
- const client = createClient(clientOptions);
8138
- const clientSessions = SeamHttpClientSessions.fromClient(client);
8139
- const { token } = await clientSessions.getOrCreate({
8140
- user_identifier_key: userIdentifierKey
8141
- });
8142
- return _SeamHttpSeamV1Customers.fromClientSessionToken(token, options);
8143
- }
8144
- static fromConsoleSessionToken(consoleSessionToken, workspaceId, options = {}) {
8145
- const constructorOptions = { ...options, consoleSessionToken, workspaceId };
8146
- if (!isSeamHttpOptionsWithConsoleSessionToken(constructorOptions)) {
8147
- throw new SeamHttpInvalidOptionsError(
8148
- "Missing consoleSessionToken or workspaceId"
8149
- );
8150
- }
8151
- return new _SeamHttpSeamV1Customers(constructorOptions);
8152
- }
8153
- static fromPersonalAccessToken(personalAccessToken, workspaceId, options = {}) {
8154
- const constructorOptions = { ...options, personalAccessToken, workspaceId };
8155
- if (!isSeamHttpOptionsWithPersonalAccessToken(constructorOptions)) {
8156
- throw new SeamHttpInvalidOptionsError(
8157
- "Missing personalAccessToken or workspaceId"
8158
- );
8159
- }
8160
- return new _SeamHttpSeamV1Customers(constructorOptions);
8161
- }
8162
- createPaginator(request) {
8163
- return new SeamPaginator(this, request);
8164
- }
8165
- async updateClientSessionToken(clientSessionToken) {
8166
- const { headers } = this.client.defaults;
8167
- const authHeaders = getAuthHeadersForClientSessionToken({
8168
- clientSessionToken
8169
- });
8170
- for (const key of Object.keys(authHeaders)) {
8171
- if (headers[key] == null) {
8172
- throw new Error(
8173
- "Cannot update a clientSessionToken on a client created without a clientSessionToken"
8174
- );
8175
- }
8176
- }
8177
- this.client.defaults.headers = { ...headers, ...authHeaders };
8178
- const clientSessions = SeamHttpClientSessions.fromClient(this.client);
8179
- await clientSessions.get();
8180
- }
8181
- pushData(parameters, options = {}) {
8182
- return new SeamHttpRequest(this, {
8183
- pathname: "/seam/v1/customers/push_data",
8184
- method: "POST",
8185
- body: parameters,
8186
- responseKey: void 0,
8187
- options
8188
- });
8189
- }
8190
- };
8191
-
8192
- // src/lib/seam/connect/routes/seam/v1/v1.ts
8193
- var SeamHttpSeamV1 = class _SeamHttpSeamV1 {
8194
- client;
8195
- defaults;
8196
- ltsVersion = seamApiLtsVersion;
8197
- static ltsVersion = seamApiLtsVersion;
8198
- constructor(apiKeyOrOptions = {}) {
8199
- const options = parseOptions(apiKeyOrOptions);
8200
- this.client = "client" in options ? options.client : createClient(options);
8201
- this.defaults = limitToSeamHttpRequestOptions(options);
8202
- }
8203
- static fromClient(client, options = {}) {
8204
- const constructorOptions = { ...options, client };
8205
- if (!isSeamHttpOptionsWithClient(constructorOptions)) {
8206
- throw new SeamHttpInvalidOptionsError("Missing client");
8207
- }
8208
- return new _SeamHttpSeamV1(constructorOptions);
8209
- }
8210
- static fromApiKey(apiKey, options = {}) {
8211
- const constructorOptions = { ...options, apiKey };
8212
- if (!isSeamHttpOptionsWithApiKey(constructorOptions)) {
8213
- throw new SeamHttpInvalidOptionsError("Missing apiKey");
8214
- }
8215
- return new _SeamHttpSeamV1(constructorOptions);
8216
- }
8217
- static fromClientSessionToken(clientSessionToken, options = {}) {
8218
- const constructorOptions = { ...options, clientSessionToken };
8219
- if (!isSeamHttpOptionsWithClientSessionToken(constructorOptions)) {
8220
- throw new SeamHttpInvalidOptionsError("Missing clientSessionToken");
8221
- }
8222
- return new _SeamHttpSeamV1(constructorOptions);
8223
- }
8224
- static async fromPublishableKey(publishableKey, userIdentifierKey, options = {}) {
8225
- warnOnInsecureuserIdentifierKey(userIdentifierKey);
8226
- const clientOptions = parseOptions({ ...options, publishableKey });
8227
- if (isSeamHttpOptionsWithClient(clientOptions)) {
8228
- throw new SeamHttpInvalidOptionsError(
8229
- "The client option cannot be used with SeamHttpSeamV1.fromPublishableKey"
8230
- );
8231
- }
8232
- const client = createClient(clientOptions);
8233
- const clientSessions = SeamHttpClientSessions.fromClient(client);
8234
- const { token } = await clientSessions.getOrCreate({
8235
- user_identifier_key: userIdentifierKey
8236
- });
8237
- return _SeamHttpSeamV1.fromClientSessionToken(token, options);
8238
- }
8239
- static fromConsoleSessionToken(consoleSessionToken, workspaceId, options = {}) {
8240
- const constructorOptions = { ...options, consoleSessionToken, workspaceId };
8241
- if (!isSeamHttpOptionsWithConsoleSessionToken(constructorOptions)) {
8242
- throw new SeamHttpInvalidOptionsError(
8243
- "Missing consoleSessionToken or workspaceId"
8244
- );
8245
- }
8246
- return new _SeamHttpSeamV1(constructorOptions);
8247
- }
8248
- static fromPersonalAccessToken(personalAccessToken, workspaceId, options = {}) {
8249
- const constructorOptions = { ...options, personalAccessToken, workspaceId };
8250
- if (!isSeamHttpOptionsWithPersonalAccessToken(constructorOptions)) {
8251
- throw new SeamHttpInvalidOptionsError(
8252
- "Missing personalAccessToken or workspaceId"
8253
- );
8254
- }
8255
- return new _SeamHttpSeamV1(constructorOptions);
8256
- }
8257
- createPaginator(request) {
8258
- return new SeamPaginator(this, request);
8259
- }
8260
- async updateClientSessionToken(clientSessionToken) {
8261
- const { headers } = this.client.defaults;
8262
- const authHeaders = getAuthHeadersForClientSessionToken({
8263
- clientSessionToken
8264
- });
8265
- for (const key of Object.keys(authHeaders)) {
8266
- if (headers[key] == null) {
8267
- throw new Error(
8268
- "Cannot update a clientSessionToken on a client created without a clientSessionToken"
8269
- );
8270
- }
8271
- }
8272
- this.client.defaults.headers = { ...headers, ...authHeaders };
8273
- const clientSessions = SeamHttpClientSessions.fromClient(this.client);
8274
- await clientSessions.get();
8275
- }
8276
- get customers() {
8277
- return SeamHttpSeamV1Customers.fromClient(this.client, this.defaults);
8278
- }
8279
- };
8280
-
8281
8571
  // src/lib/seam/connect/routes/spaces/spaces.ts
8282
8572
  var SeamHttpSpaces = class _SeamHttpSpaces {
8283
8573
  client;
@@ -10488,6 +10778,13 @@ var SeamHttpEndpoints = class _SeamHttpEndpoints {
10488
10778
  return seam.get(...args);
10489
10779
  };
10490
10780
  }
10781
+ get "/access_codes/get_timeline"() {
10782
+ const { client, defaults } = this;
10783
+ return function accessCodesGetTimeline(...args) {
10784
+ const seam = SeamHttpAccessCodes.fromClient(client, defaults);
10785
+ return seam.getTimeline(...args);
10786
+ };
10787
+ }
10491
10788
  get "/access_codes/list"() {
10492
10789
  const { client, defaults } = this;
10493
10790
  return function accessCodesList(...args) {
@@ -11270,6 +11567,13 @@ var SeamHttpEndpoints = class _SeamHttpEndpoints {
11270
11567
  return seam.pushData(...args);
11271
11568
  };
11272
11569
  }
11570
+ get "/customers/reservations/create_deep_link"() {
11571
+ const { client, defaults } = this;
11572
+ return function customersReservationsCreateDeepLink(...args) {
11573
+ const seam = SeamHttpCustomersReservations.fromClient(client, defaults);
11574
+ return seam.createDeepLink(...args);
11575
+ };
11576
+ }
11273
11577
  get "/devices/delete"() {
11274
11578
  const { client, defaults } = this;
11275
11579
  if (!this.defaults.isUndocumentedApiEnabled) {
@@ -11588,6 +11892,36 @@ var SeamHttpEndpoints = class _SeamHttpEndpoints {
11588
11892
  return seam.list(...args);
11589
11893
  };
11590
11894
  }
11895
+ get "/seam/customer/v1/access_grants/update"() {
11896
+ const { client, defaults } = this;
11897
+ if (!this.defaults.isUndocumentedApiEnabled) {
11898
+ throw new Error(
11899
+ "Cannot use undocumented API without isUndocumentedApiEnabled"
11900
+ );
11901
+ }
11902
+ return function seamCustomerV1AccessGrantsUpdate(...args) {
11903
+ const seam = SeamHttpSeamCustomerV1AccessGrants.fromClient(
11904
+ client,
11905
+ defaults
11906
+ );
11907
+ return seam.update(...args);
11908
+ };
11909
+ }
11910
+ get "/seam/customer/v1/access_methods/encode"() {
11911
+ const { client, defaults } = this;
11912
+ if (!this.defaults.isUndocumentedApiEnabled) {
11913
+ throw new Error(
11914
+ "Cannot use undocumented API without isUndocumentedApiEnabled"
11915
+ );
11916
+ }
11917
+ return function seamCustomerV1AccessMethodsEncode(...args) {
11918
+ const seam = SeamHttpSeamCustomerV1AccessMethods.fromClient(
11919
+ client,
11920
+ defaults
11921
+ );
11922
+ return seam.encode(...args);
11923
+ };
11924
+ }
11591
11925
  get "/seam/customer/v1/automation_runs/list"() {
11592
11926
  const { client, defaults } = this;
11593
11927
  if (!this.defaults.isUndocumentedApiEnabled) {
@@ -11759,6 +12093,13 @@ var SeamHttpEndpoints = class _SeamHttpEndpoints {
11759
12093
  return seam.list(...args);
11760
12094
  };
11761
12095
  }
12096
+ get "/seam/customer/v1/customers/me"() {
12097
+ const { client, defaults } = this;
12098
+ return function seamCustomerV1CustomersMe(...args) {
12099
+ const seam = SeamHttpSeamCustomerV1Customers.fromClient(client, defaults);
12100
+ return seam.me(...args);
12101
+ };
12102
+ }
11762
12103
  get "/seam/customer/v1/customers/open_portal"() {
11763
12104
  const { client, defaults } = this;
11764
12105
  if (!this.defaults.isUndocumentedApiEnabled) {
@@ -11771,6 +12112,18 @@ var SeamHttpEndpoints = class _SeamHttpEndpoints {
11771
12112
  return seam.openPortal(...args);
11772
12113
  };
11773
12114
  }
12115
+ get "/seam/customer/v1/encoders/list"() {
12116
+ const { client, defaults } = this;
12117
+ if (!this.defaults.isUndocumentedApiEnabled) {
12118
+ throw new Error(
12119
+ "Cannot use undocumented API without isUndocumentedApiEnabled"
12120
+ );
12121
+ }
12122
+ return function seamCustomerV1EncodersList(...args) {
12123
+ const seam = SeamHttpSeamCustomerV1Encoders.fromClient(client, defaults);
12124
+ return seam.list(...args);
12125
+ };
12126
+ }
11774
12127
  get "/seam/customer/v1/events/list"() {
11775
12128
  const { client, defaults } = this;
11776
12129
  if (!this.defaults.isUndocumentedApiEnabled) {
@@ -11849,6 +12202,21 @@ var SeamHttpEndpoints = class _SeamHttpEndpoints {
11849
12202
  return seam.update(...args);
11850
12203
  };
11851
12204
  }
12205
+ get "/seam/customer/v1/settings/vertical_resource_aliases/get"() {
12206
+ const { client, defaults } = this;
12207
+ if (!this.defaults.isUndocumentedApiEnabled) {
12208
+ throw new Error(
12209
+ "Cannot use undocumented API without isUndocumentedApiEnabled"
12210
+ );
12211
+ }
12212
+ return function seamCustomerV1SettingsVerticalResourceAliasesGet(...args) {
12213
+ const seam = SeamHttpSeamCustomerV1SettingsVerticalResourceAliases.fromClient(
12214
+ client,
12215
+ defaults
12216
+ );
12217
+ return seam.get(...args);
12218
+ };
12219
+ }
11852
12220
  get "/seam/customer/v1/spaces/create"() {
11853
12221
  const { client, defaults } = this;
11854
12222
  if (!this.defaults.isUndocumentedApiEnabled) {
@@ -11885,6 +12253,13 @@ var SeamHttpEndpoints = class _SeamHttpEndpoints {
11885
12253
  return seam.listReservations(...args);
11886
12254
  };
11887
12255
  }
12256
+ get "/seam/customer/v1/spaces/push_common_areas"() {
12257
+ const { client, defaults } = this;
12258
+ return function seamCustomerV1SpacesPushCommonAreas(...args) {
12259
+ const seam = SeamHttpSeamCustomerV1Spaces.fromClient(client, defaults);
12260
+ return seam.pushCommonAreas(...args);
12261
+ };
12262
+ }
11888
12263
  get "/seam/customer/v1/staff_members/get"() {
11889
12264
  const { client, defaults } = this;
11890
12265
  if (!this.defaults.isUndocumentedApiEnabled) {
@@ -11930,13 +12305,6 @@ var SeamHttpEndpoints = class _SeamHttpEndpoints {
11930
12305
  return seam.autoMap(...args);
11931
12306
  };
11932
12307
  }
11933
- get "/seam/v1/customers/push_data"() {
11934
- const { client, defaults } = this;
11935
- return function seamV1CustomersPushData(...args) {
11936
- const seam = SeamHttpSeamV1Customers.fromClient(client, defaults);
11937
- return seam.pushData(...args);
11938
- };
11939
- }
11940
12308
  get "/spaces/add_acs_entrances"() {
11941
12309
  const { client, defaults } = this;
11942
12310
  return function spacesAddAcsEntrances(...args) {
@@ -12730,6 +13098,7 @@ exports.SeamHttpConnectWebviews = SeamHttpConnectWebviews;
12730
13098
  exports.SeamHttpConnectedAccounts = SeamHttpConnectedAccounts;
12731
13099
  exports.SeamHttpConnectedAccountsSimulate = SeamHttpConnectedAccountsSimulate;
12732
13100
  exports.SeamHttpCustomers = SeamHttpCustomers;
13101
+ exports.SeamHttpCustomersReservations = SeamHttpCustomersReservations;
12733
13102
  exports.SeamHttpDevices = SeamHttpDevices;
12734
13103
  exports.SeamHttpDevicesSimulate = SeamHttpDevicesSimulate;
12735
13104
  exports.SeamHttpDevicesUnmanaged = SeamHttpDevicesUnmanaged;
@@ -12754,21 +13123,22 @@ exports.SeamHttpSeamConsoleV1 = SeamHttpSeamConsoleV1;
12754
13123
  exports.SeamHttpSeamConsoleV1Timelines = SeamHttpSeamConsoleV1Timelines;
12755
13124
  exports.SeamHttpSeamCustomerV1 = SeamHttpSeamCustomerV1;
12756
13125
  exports.SeamHttpSeamCustomerV1AccessGrants = SeamHttpSeamCustomerV1AccessGrants;
13126
+ exports.SeamHttpSeamCustomerV1AccessMethods = SeamHttpSeamCustomerV1AccessMethods;
12757
13127
  exports.SeamHttpSeamCustomerV1AutomationRuns = SeamHttpSeamCustomerV1AutomationRuns;
12758
13128
  exports.SeamHttpSeamCustomerV1Automations = SeamHttpSeamCustomerV1Automations;
12759
13129
  exports.SeamHttpSeamCustomerV1ConnectorCustomers = SeamHttpSeamCustomerV1ConnectorCustomers;
12760
13130
  exports.SeamHttpSeamCustomerV1Connectors = SeamHttpSeamCustomerV1Connectors;
12761
13131
  exports.SeamHttpSeamCustomerV1Customers = SeamHttpSeamCustomerV1Customers;
13132
+ exports.SeamHttpSeamCustomerV1Encoders = SeamHttpSeamCustomerV1Encoders;
12762
13133
  exports.SeamHttpSeamCustomerV1Events = SeamHttpSeamCustomerV1Events;
12763
13134
  exports.SeamHttpSeamCustomerV1Portals = SeamHttpSeamCustomerV1Portals;
12764
13135
  exports.SeamHttpSeamCustomerV1Reservations = SeamHttpSeamCustomerV1Reservations;
12765
13136
  exports.SeamHttpSeamCustomerV1Settings = SeamHttpSeamCustomerV1Settings;
13137
+ exports.SeamHttpSeamCustomerV1SettingsVerticalResourceAliases = SeamHttpSeamCustomerV1SettingsVerticalResourceAliases;
12766
13138
  exports.SeamHttpSeamCustomerV1Spaces = SeamHttpSeamCustomerV1Spaces;
12767
13139
  exports.SeamHttpSeamCustomerV1StaffMembers = SeamHttpSeamCustomerV1StaffMembers;
12768
13140
  exports.SeamHttpSeamPartnerV1BuildingBlocks = SeamHttpSeamPartnerV1BuildingBlocks;
12769
13141
  exports.SeamHttpSeamPartnerV1BuildingBlocksSpaces = SeamHttpSeamPartnerV1BuildingBlocksSpaces;
12770
- exports.SeamHttpSeamV1 = SeamHttpSeamV1;
12771
- exports.SeamHttpSeamV1Customers = SeamHttpSeamV1Customers;
12772
13142
  exports.SeamHttpSpaces = SeamHttpSpaces;
12773
13143
  exports.SeamHttpThermostats = SeamHttpThermostats;
12774
13144
  exports.SeamHttpThermostatsDailyPrograms = SeamHttpThermostatsDailyPrograms;