@seamapi/http 1.101.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 (109) hide show
  1. package/README.md +0 -1
  2. package/dist/connect.cjs +790 -294
  3. package/dist/connect.cjs.map +1 -1
  4. package/dist/connect.d.cts +215 -52
  5. package/dist/index.cjs +800 -298
  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/connector-customers/connector-customers.d.ts +34 -0
  36. package/lib/seam/connect/routes/seam/customer/v1/connector-customers/connector-customers.js +104 -0
  37. package/lib/seam/connect/routes/seam/customer/v1/connector-customers/connector-customers.js.map +1 -0
  38. package/lib/seam/connect/routes/seam/customer/v1/connector-customers/index.d.ts +1 -0
  39. package/lib/seam/connect/routes/seam/customer/v1/connector-customers/index.js +6 -0
  40. package/lib/seam/connect/routes/seam/customer/v1/connector-customers/index.js.map +1 -0
  41. package/lib/seam/connect/routes/seam/customer/v1/customers/customers.d.ts +14 -1
  42. package/lib/seam/connect/routes/seam/customer/v1/customers/customers.js +9 -3
  43. package/lib/seam/connect/routes/seam/customer/v1/customers/customers.js.map +1 -1
  44. package/lib/seam/connect/routes/seam/{v1/customers/customers.d.ts → customer/v1/encoders/encoders.d.ts} +20 -20
  45. package/lib/seam/connect/routes/seam/{v1/customers/customers.js → customer/v1/encoders/encoders.js} +26 -20
  46. package/lib/seam/connect/routes/seam/customer/v1/encoders/encoders.js.map +1 -0
  47. package/lib/seam/connect/routes/seam/customer/v1/encoders/index.d.ts +1 -0
  48. package/lib/seam/connect/routes/seam/{v1/customers → customer/v1/encoders}/index.js +1 -1
  49. package/lib/seam/connect/routes/seam/customer/v1/encoders/index.js.map +1 -0
  50. package/lib/seam/connect/routes/seam/customer/v1/index.d.ts +3 -0
  51. package/lib/seam/connect/routes/seam/customer/v1/index.js +3 -0
  52. package/lib/seam/connect/routes/seam/customer/v1/index.js.map +1 -1
  53. package/lib/seam/connect/routes/seam/customer/v1/settings/index.d.ts +1 -0
  54. package/lib/seam/connect/routes/seam/customer/v1/settings/index.js +1 -0
  55. package/lib/seam/connect/routes/seam/customer/v1/settings/index.js.map +1 -1
  56. package/lib/seam/connect/routes/seam/customer/v1/settings/settings.d.ts +2 -0
  57. package/lib/seam/connect/routes/seam/customer/v1/settings/settings.js +4 -0
  58. package/lib/seam/connect/routes/seam/customer/v1/settings/settings.js.map +1 -1
  59. package/lib/seam/connect/routes/seam/customer/v1/settings/vertical-resource-aliases/index.d.ts +1 -0
  60. package/lib/seam/connect/routes/seam/customer/v1/settings/vertical-resource-aliases/index.js +6 -0
  61. package/lib/seam/connect/routes/seam/customer/v1/settings/vertical-resource-aliases/index.js.map +1 -0
  62. package/lib/seam/connect/routes/seam/customer/v1/settings/vertical-resource-aliases/vertical-resource-aliases.d.ts +34 -0
  63. package/lib/seam/connect/routes/seam/customer/v1/settings/vertical-resource-aliases/vertical-resource-aliases.js +104 -0
  64. package/lib/seam/connect/routes/seam/customer/v1/settings/vertical-resource-aliases/vertical-resource-aliases.js.map +1 -0
  65. package/lib/seam/connect/routes/seam/customer/v1/spaces/spaces.d.ts +13 -0
  66. package/lib/seam/connect/routes/seam/customer/v1/spaces/spaces.js +9 -3
  67. package/lib/seam/connect/routes/seam/customer/v1/spaces/spaces.js.map +1 -1
  68. package/lib/seam/connect/routes/seam/customer/v1/v1.d.ts +6 -0
  69. package/lib/seam/connect/routes/seam/customer/v1/v1.js +12 -3
  70. package/lib/seam/connect/routes/seam/customer/v1/v1.js.map +1 -1
  71. package/lib/seam/connect/routes/seam/index.d.ts +0 -1
  72. package/lib/seam/connect/routes/seam/index.js +0 -1
  73. package/lib/seam/connect/routes/seam/index.js.map +1 -1
  74. package/lib/seam/connect/routes/seam-http-endpoints.d.ts +21 -9
  75. package/lib/seam/connect/routes/seam-http-endpoints.js +83 -8
  76. package/lib/seam/connect/routes/seam-http-endpoints.js.map +1 -1
  77. package/lib/version.d.ts +1 -1
  78. package/lib/version.js +1 -1
  79. package/package.json +6 -6
  80. package/src/lib/seam/connect/routes/access-codes/access-codes.ts +35 -0
  81. package/src/lib/seam/connect/routes/access-methods/access-methods.ts +8 -4
  82. package/src/lib/seam/connect/routes/customers/customers.ts +6 -0
  83. package/src/lib/seam/connect/routes/customers/index.ts +1 -0
  84. package/src/lib/seam/connect/routes/{seam/v1 → customers/reservations}/index.ts +1 -2
  85. package/src/lib/seam/connect/routes/{seam/v1/customers/customers.ts → customers/reservations/reservations.ts} +33 -29
  86. package/src/lib/seam/connect/routes/seam/customer/v1/access-grants/access-grants.ts +41 -0
  87. package/src/lib/seam/connect/routes/seam/customer/v1/access-methods/access-methods.ts +217 -0
  88. package/src/lib/seam/connect/routes/seam/customer/v1/access-methods/index.ts +6 -0
  89. package/src/lib/seam/connect/routes/seam/customer/v1/connector-customers/connector-customers.ts +214 -0
  90. package/src/lib/seam/connect/routes/seam/customer/v1/connector-customers/index.ts +6 -0
  91. package/src/lib/seam/connect/routes/seam/customer/v1/customers/customers.ts +38 -6
  92. package/src/lib/seam/connect/routes/seam/{v1/v1.ts → customer/v1/encoders/encoders.ts} +62 -19
  93. package/src/lib/seam/connect/routes/seam/{v1/customers → customer/v1/encoders}/index.ts +1 -1
  94. package/src/lib/seam/connect/routes/seam/customer/v1/index.ts +3 -0
  95. package/src/lib/seam/connect/routes/seam/customer/v1/settings/index.ts +1 -0
  96. package/src/lib/seam/connect/routes/seam/customer/v1/settings/settings.ts +9 -0
  97. package/src/lib/seam/connect/routes/seam/customer/v1/settings/vertical-resource-aliases/index.ts +6 -0
  98. package/src/lib/seam/connect/routes/seam/customer/v1/settings/vertical-resource-aliases/vertical-resource-aliases.ts +228 -0
  99. package/src/lib/seam/connect/routes/seam/customer/v1/spaces/spaces.ts +36 -5
  100. package/src/lib/seam/connect/routes/seam/customer/v1/v1.ts +21 -5
  101. package/src/lib/seam/connect/routes/seam/index.ts +0 -1
  102. package/src/lib/seam/connect/routes/seam-http-endpoints.ts +210 -21
  103. package/src/lib/version.ts +1 -1
  104. package/lib/seam/connect/routes/seam/v1/customers/customers.js.map +0 -1
  105. package/lib/seam/connect/routes/seam/v1/customers/index.d.ts +0 -1
  106. package/lib/seam/connect/routes/seam/v1/customers/index.js.map +0 -1
  107. package/lib/seam/connect/routes/seam/v1/index.d.ts +0 -2
  108. package/lib/seam/connect/routes/seam/v1/index.js.map +0 -1
  109. 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,20 +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,
112
+ SeamHttpSeamCustomerV1ConnectorCustomers: () => SeamHttpSeamCustomerV1ConnectorCustomers,
110
113
  SeamHttpSeamCustomerV1Connectors: () => SeamHttpSeamCustomerV1Connectors,
111
114
  SeamHttpSeamCustomerV1Customers: () => SeamHttpSeamCustomerV1Customers,
115
+ SeamHttpSeamCustomerV1Encoders: () => SeamHttpSeamCustomerV1Encoders,
112
116
  SeamHttpSeamCustomerV1Events: () => SeamHttpSeamCustomerV1Events,
113
117
  SeamHttpSeamCustomerV1Portals: () => SeamHttpSeamCustomerV1Portals,
114
118
  SeamHttpSeamCustomerV1Reservations: () => SeamHttpSeamCustomerV1Reservations,
115
119
  SeamHttpSeamCustomerV1Settings: () => SeamHttpSeamCustomerV1Settings,
120
+ SeamHttpSeamCustomerV1SettingsVerticalResourceAliases: () => SeamHttpSeamCustomerV1SettingsVerticalResourceAliases,
116
121
  SeamHttpSeamCustomerV1Spaces: () => SeamHttpSeamCustomerV1Spaces,
117
122
  SeamHttpSeamCustomerV1StaffMembers: () => SeamHttpSeamCustomerV1StaffMembers,
118
123
  SeamHttpSeamPartnerV1BuildingBlocks: () => SeamHttpSeamPartnerV1BuildingBlocks,
119
124
  SeamHttpSeamPartnerV1BuildingBlocksSpaces: () => SeamHttpSeamPartnerV1BuildingBlocksSpaces,
120
- SeamHttpSeamV1: () => SeamHttpSeamV1,
121
- SeamHttpSeamV1Customers: () => SeamHttpSeamV1Customers,
122
125
  SeamHttpSpaces: () => SeamHttpSpaces,
123
126
  SeamHttpThermostats: () => SeamHttpThermostats,
124
127
  SeamHttpThermostatsDailyPrograms: () => SeamHttpThermostatsDailyPrograms,
@@ -194,6 +197,7 @@ __export(connect_exports, {
194
197
  SeamHttpConnectedAccounts: () => SeamHttpConnectedAccounts,
195
198
  SeamHttpConnectedAccountsSimulate: () => SeamHttpConnectedAccountsSimulate,
196
199
  SeamHttpCustomers: () => SeamHttpCustomers,
200
+ SeamHttpCustomersReservations: () => SeamHttpCustomersReservations,
197
201
  SeamHttpDevices: () => SeamHttpDevices,
198
202
  SeamHttpDevicesSimulate: () => SeamHttpDevicesSimulate,
199
203
  SeamHttpDevicesUnmanaged: () => SeamHttpDevicesUnmanaged,
@@ -218,20 +222,22 @@ __export(connect_exports, {
218
222
  SeamHttpSeamConsoleV1Timelines: () => SeamHttpSeamConsoleV1Timelines,
219
223
  SeamHttpSeamCustomerV1: () => SeamHttpSeamCustomerV1,
220
224
  SeamHttpSeamCustomerV1AccessGrants: () => SeamHttpSeamCustomerV1AccessGrants,
225
+ SeamHttpSeamCustomerV1AccessMethods: () => SeamHttpSeamCustomerV1AccessMethods,
221
226
  SeamHttpSeamCustomerV1AutomationRuns: () => SeamHttpSeamCustomerV1AutomationRuns,
222
227
  SeamHttpSeamCustomerV1Automations: () => SeamHttpSeamCustomerV1Automations,
228
+ SeamHttpSeamCustomerV1ConnectorCustomers: () => SeamHttpSeamCustomerV1ConnectorCustomers,
223
229
  SeamHttpSeamCustomerV1Connectors: () => SeamHttpSeamCustomerV1Connectors,
224
230
  SeamHttpSeamCustomerV1Customers: () => SeamHttpSeamCustomerV1Customers,
231
+ SeamHttpSeamCustomerV1Encoders: () => SeamHttpSeamCustomerV1Encoders,
225
232
  SeamHttpSeamCustomerV1Events: () => SeamHttpSeamCustomerV1Events,
226
233
  SeamHttpSeamCustomerV1Portals: () => SeamHttpSeamCustomerV1Portals,
227
234
  SeamHttpSeamCustomerV1Reservations: () => SeamHttpSeamCustomerV1Reservations,
228
235
  SeamHttpSeamCustomerV1Settings: () => SeamHttpSeamCustomerV1Settings,
236
+ SeamHttpSeamCustomerV1SettingsVerticalResourceAliases: () => SeamHttpSeamCustomerV1SettingsVerticalResourceAliases,
229
237
  SeamHttpSeamCustomerV1Spaces: () => SeamHttpSeamCustomerV1Spaces,
230
238
  SeamHttpSeamCustomerV1StaffMembers: () => SeamHttpSeamCustomerV1StaffMembers,
231
239
  SeamHttpSeamPartnerV1BuildingBlocks: () => SeamHttpSeamPartnerV1BuildingBlocks,
232
240
  SeamHttpSeamPartnerV1BuildingBlocksSpaces: () => SeamHttpSeamPartnerV1BuildingBlocksSpaces,
233
- SeamHttpSeamV1: () => SeamHttpSeamV1,
234
- SeamHttpSeamV1Customers: () => SeamHttpSeamV1Customers,
235
241
  SeamHttpSpaces: () => SeamHttpSpaces,
236
242
  SeamHttpThermostats: () => SeamHttpThermostats,
237
243
  SeamHttpThermostatsDailyPrograms: () => SeamHttpThermostatsDailyPrograms,
@@ -1608,6 +1614,15 @@ var SeamHttpAccessCodes = class _SeamHttpAccessCodes {
1608
1614
  options
1609
1615
  });
1610
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
+ }
1611
1626
  list(parameters, options = {}) {
1612
1627
  return new SeamHttpRequest(this, {
1613
1628
  pathname: "/access_codes/list",
@@ -2114,8 +2129,8 @@ var SeamHttpAccessMethods = class _SeamHttpAccessMethods {
2114
2129
  delete(parameters, options = {}) {
2115
2130
  return new SeamHttpRequest(this, {
2116
2131
  pathname: "/access_methods/delete",
2117
- method: "POST",
2118
- body: parameters,
2132
+ method: "DELETE",
2133
+ params: parameters,
2119
2134
  responseKey: void 0,
2120
2135
  options
2121
2136
  });
@@ -4439,6 +4454,101 @@ var SeamHttpConnectedAccounts = class _SeamHttpConnectedAccounts {
4439
4454
  }
4440
4455
  };
4441
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
+
4442
4552
  // src/lib/seam/connect/routes/customers/customers.ts
4443
4553
  var SeamHttpCustomers = class _SeamHttpCustomers {
4444
4554
  client;
@@ -4523,6 +4633,9 @@ var SeamHttpCustomers = class _SeamHttpCustomers {
4523
4633
  const clientSessions = SeamHttpClientSessions.fromClient(this.client);
4524
4634
  await clientSessions.get();
4525
4635
  }
4636
+ get reservations() {
4637
+ return SeamHttpCustomersReservations.fromClient(this.client, this.defaults);
4638
+ }
4526
4639
  createPortal(parameters, options = {}) {
4527
4640
  return new SeamHttpRequest(this, {
4528
4641
  pathname: "/customers/create_portal",
@@ -6359,6 +6472,128 @@ var SeamHttpSeamCustomerV1AccessGrants = class _SeamHttpSeamCustomerV1AccessGran
6359
6472
  options
6360
6473
  });
6361
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
+ }
6362
6597
  };
6363
6598
 
6364
6599
  // src/lib/seam/connect/routes/seam/customer/v1/automation-runs/automation-runs.ts
@@ -6605,8 +6840,8 @@ var SeamHttpSeamCustomerV1Automations = class _SeamHttpSeamCustomerV1Automations
6605
6840
  }
6606
6841
  };
6607
6842
 
6608
- // src/lib/seam/connect/routes/seam/customer/v1/connectors/connectors.ts
6609
- var SeamHttpSeamCustomerV1Connectors = class _SeamHttpSeamCustomerV1Connectors {
6843
+ // src/lib/seam/connect/routes/seam/customer/v1/connector-customers/connector-customers.ts
6844
+ var SeamHttpSeamCustomerV1ConnectorCustomers = class _SeamHttpSeamCustomerV1ConnectorCustomers {
6610
6845
  client;
6611
6846
  defaults;
6612
6847
  ltsVersion = seamApiLtsVersion;
@@ -6626,28 +6861,28 @@ var SeamHttpSeamCustomerV1Connectors = class _SeamHttpSeamCustomerV1Connectors {
6626
6861
  if (!isSeamHttpOptionsWithClient(constructorOptions)) {
6627
6862
  throw new SeamHttpInvalidOptionsError("Missing client");
6628
6863
  }
6629
- return new _SeamHttpSeamCustomerV1Connectors(constructorOptions);
6864
+ return new _SeamHttpSeamCustomerV1ConnectorCustomers(constructorOptions);
6630
6865
  }
6631
6866
  static fromApiKey(apiKey, options = {}) {
6632
6867
  const constructorOptions = { ...options, apiKey };
6633
6868
  if (!isSeamHttpOptionsWithApiKey(constructorOptions)) {
6634
6869
  throw new SeamHttpInvalidOptionsError("Missing apiKey");
6635
6870
  }
6636
- return new _SeamHttpSeamCustomerV1Connectors(constructorOptions);
6871
+ return new _SeamHttpSeamCustomerV1ConnectorCustomers(constructorOptions);
6637
6872
  }
6638
6873
  static fromClientSessionToken(clientSessionToken, options = {}) {
6639
6874
  const constructorOptions = { ...options, clientSessionToken };
6640
6875
  if (!isSeamHttpOptionsWithClientSessionToken(constructorOptions)) {
6641
6876
  throw new SeamHttpInvalidOptionsError("Missing clientSessionToken");
6642
6877
  }
6643
- return new _SeamHttpSeamCustomerV1Connectors(constructorOptions);
6878
+ return new _SeamHttpSeamCustomerV1ConnectorCustomers(constructorOptions);
6644
6879
  }
6645
6880
  static async fromPublishableKey(publishableKey, userIdentifierKey, options = {}) {
6646
6881
  warnOnInsecureuserIdentifierKey(userIdentifierKey);
6647
6882
  const clientOptions = parseOptions({ ...options, publishableKey });
6648
6883
  if (isSeamHttpOptionsWithClient(clientOptions)) {
6649
6884
  throw new SeamHttpInvalidOptionsError(
6650
- "The client option cannot be used with SeamHttpSeamCustomerV1Connectors.fromPublishableKey"
6885
+ "The client option cannot be used with SeamHttpSeamCustomerV1ConnectorCustomers.fromPublishableKey"
6651
6886
  );
6652
6887
  }
6653
6888
  const client = createClient(clientOptions);
@@ -6655,7 +6890,7 @@ var SeamHttpSeamCustomerV1Connectors = class _SeamHttpSeamCustomerV1Connectors {
6655
6890
  const { token } = await clientSessions.getOrCreate({
6656
6891
  user_identifier_key: userIdentifierKey
6657
6892
  });
6658
- return _SeamHttpSeamCustomerV1Connectors.fromClientSessionToken(
6893
+ return _SeamHttpSeamCustomerV1ConnectorCustomers.fromClientSessionToken(
6659
6894
  token,
6660
6895
  options
6661
6896
  );
@@ -6667,7 +6902,7 @@ var SeamHttpSeamCustomerV1Connectors = class _SeamHttpSeamCustomerV1Connectors {
6667
6902
  "Missing consoleSessionToken or workspaceId"
6668
6903
  );
6669
6904
  }
6670
- return new _SeamHttpSeamCustomerV1Connectors(constructorOptions);
6905
+ return new _SeamHttpSeamCustomerV1ConnectorCustomers(constructorOptions);
6671
6906
  }
6672
6907
  static fromPersonalAccessToken(personalAccessToken, workspaceId, options = {}) {
6673
6908
  const constructorOptions = { ...options, personalAccessToken, workspaceId };
@@ -6676,7 +6911,7 @@ var SeamHttpSeamCustomerV1Connectors = class _SeamHttpSeamCustomerV1Connectors {
6676
6911
  "Missing personalAccessToken or workspaceId"
6677
6912
  );
6678
6913
  }
6679
- return new _SeamHttpSeamCustomerV1Connectors(constructorOptions);
6914
+ return new _SeamHttpSeamCustomerV1ConnectorCustomers(constructorOptions);
6680
6915
  }
6681
6916
  createPaginator(request) {
6682
6917
  return new SeamPaginator(this, request);
@@ -6697,47 +6932,155 @@ var SeamHttpSeamCustomerV1Connectors = class _SeamHttpSeamCustomerV1Connectors {
6697
6932
  const clientSessions = SeamHttpClientSessions.fromClient(this.client);
6698
6933
  await clientSessions.get();
6699
6934
  }
6700
- authorize(parameters, options = {}) {
6935
+ list(parameters, options = {}) {
6701
6936
  if (!this.defaults.isUndocumentedApiEnabled) {
6702
6937
  throw new Error(
6703
6938
  "Cannot use undocumented API without isUndocumentedApiEnabled"
6704
6939
  );
6705
6940
  }
6706
6941
  return new SeamHttpRequest(this, {
6707
- pathname: "/seam/customer/v1/connectors/authorize",
6942
+ pathname: "/seam/customer/v1/connector_customers/list",
6708
6943
  method: "POST",
6709
6944
  body: parameters,
6710
- responseKey: "connector_authorize",
6945
+ responseKey: "connector_customers",
6711
6946
  options
6712
6947
  });
6713
6948
  }
6714
- connectorTypes(parameters, options = {}) {
6715
- if (!this.defaults.isUndocumentedApiEnabled) {
6949
+ };
6950
+
6951
+ // src/lib/seam/connect/routes/seam/customer/v1/connectors/connectors.ts
6952
+ var SeamHttpSeamCustomerV1Connectors = class _SeamHttpSeamCustomerV1Connectors {
6953
+ client;
6954
+ defaults;
6955
+ ltsVersion = seamApiLtsVersion;
6956
+ static ltsVersion = seamApiLtsVersion;
6957
+ constructor(apiKeyOrOptions = {}) {
6958
+ const options = parseOptions(apiKeyOrOptions);
6959
+ if (!options.isUndocumentedApiEnabled) {
6716
6960
  throw new Error(
6717
6961
  "Cannot use undocumented API without isUndocumentedApiEnabled"
6718
6962
  );
6719
6963
  }
6720
- return new SeamHttpRequest(this, {
6721
- pathname: "/seam/customer/v1/connectors/connector_types",
6722
- method: "GET",
6723
- params: parameters,
6724
- responseKey: "connector_types",
6725
- options
6726
- });
6964
+ this.client = "client" in options ? options.client : createClient(options);
6965
+ this.defaults = limitToSeamHttpRequestOptions(options);
6727
6966
  }
6728
- create(parameters, options = {}) {
6729
- if (!this.defaults.isUndocumentedApiEnabled) {
6730
- throw new Error(
6731
- "Cannot use undocumented API without isUndocumentedApiEnabled"
6732
- );
6967
+ static fromClient(client, options = {}) {
6968
+ const constructorOptions = { ...options, client };
6969
+ if (!isSeamHttpOptionsWithClient(constructorOptions)) {
6970
+ throw new SeamHttpInvalidOptionsError("Missing client");
6733
6971
  }
6734
- return new SeamHttpRequest(this, {
6735
- pathname: "/seam/customer/v1/connectors/create",
6736
- method: "POST",
6737
- body: parameters,
6738
- responseKey: "connector",
6739
- options
6740
- });
6972
+ return new _SeamHttpSeamCustomerV1Connectors(constructorOptions);
6973
+ }
6974
+ static fromApiKey(apiKey, options = {}) {
6975
+ const constructorOptions = { ...options, apiKey };
6976
+ if (!isSeamHttpOptionsWithApiKey(constructorOptions)) {
6977
+ throw new SeamHttpInvalidOptionsError("Missing apiKey");
6978
+ }
6979
+ return new _SeamHttpSeamCustomerV1Connectors(constructorOptions);
6980
+ }
6981
+ static fromClientSessionToken(clientSessionToken, options = {}) {
6982
+ const constructorOptions = { ...options, clientSessionToken };
6983
+ if (!isSeamHttpOptionsWithClientSessionToken(constructorOptions)) {
6984
+ throw new SeamHttpInvalidOptionsError("Missing clientSessionToken");
6985
+ }
6986
+ return new _SeamHttpSeamCustomerV1Connectors(constructorOptions);
6987
+ }
6988
+ static async fromPublishableKey(publishableKey, userIdentifierKey, options = {}) {
6989
+ warnOnInsecureuserIdentifierKey(userIdentifierKey);
6990
+ const clientOptions = parseOptions({ ...options, publishableKey });
6991
+ if (isSeamHttpOptionsWithClient(clientOptions)) {
6992
+ throw new SeamHttpInvalidOptionsError(
6993
+ "The client option cannot be used with SeamHttpSeamCustomerV1Connectors.fromPublishableKey"
6994
+ );
6995
+ }
6996
+ const client = createClient(clientOptions);
6997
+ const clientSessions = SeamHttpClientSessions.fromClient(client);
6998
+ const { token } = await clientSessions.getOrCreate({
6999
+ user_identifier_key: userIdentifierKey
7000
+ });
7001
+ return _SeamHttpSeamCustomerV1Connectors.fromClientSessionToken(
7002
+ token,
7003
+ options
7004
+ );
7005
+ }
7006
+ static fromConsoleSessionToken(consoleSessionToken, workspaceId, options = {}) {
7007
+ const constructorOptions = { ...options, consoleSessionToken, workspaceId };
7008
+ if (!isSeamHttpOptionsWithConsoleSessionToken(constructorOptions)) {
7009
+ throw new SeamHttpInvalidOptionsError(
7010
+ "Missing consoleSessionToken or workspaceId"
7011
+ );
7012
+ }
7013
+ return new _SeamHttpSeamCustomerV1Connectors(constructorOptions);
7014
+ }
7015
+ static fromPersonalAccessToken(personalAccessToken, workspaceId, options = {}) {
7016
+ const constructorOptions = { ...options, personalAccessToken, workspaceId };
7017
+ if (!isSeamHttpOptionsWithPersonalAccessToken(constructorOptions)) {
7018
+ throw new SeamHttpInvalidOptionsError(
7019
+ "Missing personalAccessToken or workspaceId"
7020
+ );
7021
+ }
7022
+ return new _SeamHttpSeamCustomerV1Connectors(constructorOptions);
7023
+ }
7024
+ createPaginator(request) {
7025
+ return new SeamPaginator(this, request);
7026
+ }
7027
+ async updateClientSessionToken(clientSessionToken) {
7028
+ const { headers } = this.client.defaults;
7029
+ const authHeaders = getAuthHeadersForClientSessionToken({
7030
+ clientSessionToken
7031
+ });
7032
+ for (const key of Object.keys(authHeaders)) {
7033
+ if (headers[key] == null) {
7034
+ throw new Error(
7035
+ "Cannot update a clientSessionToken on a client created without a clientSessionToken"
7036
+ );
7037
+ }
7038
+ }
7039
+ this.client.defaults.headers = { ...headers, ...authHeaders };
7040
+ const clientSessions = SeamHttpClientSessions.fromClient(this.client);
7041
+ await clientSessions.get();
7042
+ }
7043
+ authorize(parameters, options = {}) {
7044
+ if (!this.defaults.isUndocumentedApiEnabled) {
7045
+ throw new Error(
7046
+ "Cannot use undocumented API without isUndocumentedApiEnabled"
7047
+ );
7048
+ }
7049
+ return new SeamHttpRequest(this, {
7050
+ pathname: "/seam/customer/v1/connectors/authorize",
7051
+ method: "POST",
7052
+ body: parameters,
7053
+ responseKey: "connector_authorize",
7054
+ options
7055
+ });
7056
+ }
7057
+ connectorTypes(parameters, options = {}) {
7058
+ if (!this.defaults.isUndocumentedApiEnabled) {
7059
+ throw new Error(
7060
+ "Cannot use undocumented API without isUndocumentedApiEnabled"
7061
+ );
7062
+ }
7063
+ return new SeamHttpRequest(this, {
7064
+ pathname: "/seam/customer/v1/connectors/connector_types",
7065
+ method: "GET",
7066
+ params: parameters,
7067
+ responseKey: "connector_types",
7068
+ options
7069
+ });
7070
+ }
7071
+ create(parameters, options = {}) {
7072
+ if (!this.defaults.isUndocumentedApiEnabled) {
7073
+ throw new Error(
7074
+ "Cannot use undocumented API without isUndocumentedApiEnabled"
7075
+ );
7076
+ }
7077
+ return new SeamHttpRequest(this, {
7078
+ pathname: "/seam/customer/v1/connectors/create",
7079
+ method: "POST",
7080
+ body: parameters,
7081
+ responseKey: "connector",
7082
+ options
7083
+ });
6741
7084
  }
6742
7085
  delete(parameters, options = {}) {
6743
7086
  if (!this.defaults.isUndocumentedApiEnabled) {
@@ -6805,11 +7148,6 @@ var SeamHttpSeamCustomerV1Customers = class _SeamHttpSeamCustomerV1Customers {
6805
7148
  static ltsVersion = seamApiLtsVersion;
6806
7149
  constructor(apiKeyOrOptions = {}) {
6807
7150
  const options = parseOptions(apiKeyOrOptions);
6808
- if (!options.isUndocumentedApiEnabled) {
6809
- throw new Error(
6810
- "Cannot use undocumented API without isUndocumentedApiEnabled"
6811
- );
6812
- }
6813
7151
  this.client = "client" in options ? options.client : createClient(options);
6814
7152
  this.defaults = limitToSeamHttpRequestOptions(options);
6815
7153
  }
@@ -6903,6 +7241,15 @@ var SeamHttpSeamCustomerV1Customers = class _SeamHttpSeamCustomerV1Customers {
6903
7241
  options
6904
7242
  });
6905
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
+ }
6906
7253
  openPortal(parameters, options = {}) {
6907
7254
  if (!this.defaults.isUndocumentedApiEnabled) {
6908
7255
  throw new Error(
@@ -6919,8 +7266,8 @@ var SeamHttpSeamCustomerV1Customers = class _SeamHttpSeamCustomerV1Customers {
6919
7266
  }
6920
7267
  };
6921
7268
 
6922
- // src/lib/seam/connect/routes/seam/customer/v1/events/events.ts
6923
- var SeamHttpSeamCustomerV1Events = class _SeamHttpSeamCustomerV1Events {
7269
+ // src/lib/seam/connect/routes/seam/customer/v1/encoders/encoders.ts
7270
+ var SeamHttpSeamCustomerV1Encoders = class _SeamHttpSeamCustomerV1Encoders {
6924
7271
  client;
6925
7272
  defaults;
6926
7273
  ltsVersion = seamApiLtsVersion;
@@ -6940,28 +7287,28 @@ var SeamHttpSeamCustomerV1Events = class _SeamHttpSeamCustomerV1Events {
6940
7287
  if (!isSeamHttpOptionsWithClient(constructorOptions)) {
6941
7288
  throw new SeamHttpInvalidOptionsError("Missing client");
6942
7289
  }
6943
- return new _SeamHttpSeamCustomerV1Events(constructorOptions);
7290
+ return new _SeamHttpSeamCustomerV1Encoders(constructorOptions);
6944
7291
  }
6945
7292
  static fromApiKey(apiKey, options = {}) {
6946
7293
  const constructorOptions = { ...options, apiKey };
6947
7294
  if (!isSeamHttpOptionsWithApiKey(constructorOptions)) {
6948
7295
  throw new SeamHttpInvalidOptionsError("Missing apiKey");
6949
7296
  }
6950
- return new _SeamHttpSeamCustomerV1Events(constructorOptions);
7297
+ return new _SeamHttpSeamCustomerV1Encoders(constructorOptions);
6951
7298
  }
6952
7299
  static fromClientSessionToken(clientSessionToken, options = {}) {
6953
7300
  const constructorOptions = { ...options, clientSessionToken };
6954
7301
  if (!isSeamHttpOptionsWithClientSessionToken(constructorOptions)) {
6955
7302
  throw new SeamHttpInvalidOptionsError("Missing clientSessionToken");
6956
7303
  }
6957
- return new _SeamHttpSeamCustomerV1Events(constructorOptions);
7304
+ return new _SeamHttpSeamCustomerV1Encoders(constructorOptions);
6958
7305
  }
6959
7306
  static async fromPublishableKey(publishableKey, userIdentifierKey, options = {}) {
6960
7307
  warnOnInsecureuserIdentifierKey(userIdentifierKey);
6961
7308
  const clientOptions = parseOptions({ ...options, publishableKey });
6962
7309
  if (isSeamHttpOptionsWithClient(clientOptions)) {
6963
7310
  throw new SeamHttpInvalidOptionsError(
6964
- "The client option cannot be used with SeamHttpSeamCustomerV1Events.fromPublishableKey"
7311
+ "The client option cannot be used with SeamHttpSeamCustomerV1Encoders.fromPublishableKey"
6965
7312
  );
6966
7313
  }
6967
7314
  const client = createClient(clientOptions);
@@ -6969,7 +7316,7 @@ var SeamHttpSeamCustomerV1Events = class _SeamHttpSeamCustomerV1Events {
6969
7316
  const { token } = await clientSessions.getOrCreate({
6970
7317
  user_identifier_key: userIdentifierKey
6971
7318
  });
6972
- return _SeamHttpSeamCustomerV1Events.fromClientSessionToken(token, options);
7319
+ return _SeamHttpSeamCustomerV1Encoders.fromClientSessionToken(token, options);
6973
7320
  }
6974
7321
  static fromConsoleSessionToken(consoleSessionToken, workspaceId, options = {}) {
6975
7322
  const constructorOptions = { ...options, consoleSessionToken, workspaceId };
@@ -6978,7 +7325,7 @@ var SeamHttpSeamCustomerV1Events = class _SeamHttpSeamCustomerV1Events {
6978
7325
  "Missing consoleSessionToken or workspaceId"
6979
7326
  );
6980
7327
  }
6981
- return new _SeamHttpSeamCustomerV1Events(constructorOptions);
7328
+ return new _SeamHttpSeamCustomerV1Encoders(constructorOptions);
6982
7329
  }
6983
7330
  static fromPersonalAccessToken(personalAccessToken, workspaceId, options = {}) {
6984
7331
  const constructorOptions = { ...options, personalAccessToken, workspaceId };
@@ -6987,7 +7334,7 @@ var SeamHttpSeamCustomerV1Events = class _SeamHttpSeamCustomerV1Events {
6987
7334
  "Missing personalAccessToken or workspaceId"
6988
7335
  );
6989
7336
  }
6990
- return new _SeamHttpSeamCustomerV1Events(constructorOptions);
7337
+ return new _SeamHttpSeamCustomerV1Encoders(constructorOptions);
6991
7338
  }
6992
7339
  createPaginator(request) {
6993
7340
  return new SeamPaginator(this, request);
@@ -7015,17 +7362,17 @@ var SeamHttpSeamCustomerV1Events = class _SeamHttpSeamCustomerV1Events {
7015
7362
  );
7016
7363
  }
7017
7364
  return new SeamHttpRequest(this, {
7018
- pathname: "/seam/customer/v1/events/list",
7365
+ pathname: "/seam/customer/v1/encoders/list",
7019
7366
  method: "POST",
7020
7367
  body: parameters,
7021
- responseKey: "events",
7368
+ responseKey: "encoders",
7022
7369
  options
7023
7370
  });
7024
7371
  }
7025
7372
  };
7026
7373
 
7027
- // src/lib/seam/connect/routes/seam/customer/v1/portals/portals.ts
7028
- var SeamHttpSeamCustomerV1Portals = class _SeamHttpSeamCustomerV1Portals {
7374
+ // src/lib/seam/connect/routes/seam/customer/v1/events/events.ts
7375
+ var SeamHttpSeamCustomerV1Events = class _SeamHttpSeamCustomerV1Events {
7029
7376
  client;
7030
7377
  defaults;
7031
7378
  ltsVersion = seamApiLtsVersion;
@@ -7045,28 +7392,28 @@ var SeamHttpSeamCustomerV1Portals = class _SeamHttpSeamCustomerV1Portals {
7045
7392
  if (!isSeamHttpOptionsWithClient(constructorOptions)) {
7046
7393
  throw new SeamHttpInvalidOptionsError("Missing client");
7047
7394
  }
7048
- return new _SeamHttpSeamCustomerV1Portals(constructorOptions);
7395
+ return new _SeamHttpSeamCustomerV1Events(constructorOptions);
7049
7396
  }
7050
7397
  static fromApiKey(apiKey, options = {}) {
7051
7398
  const constructorOptions = { ...options, apiKey };
7052
7399
  if (!isSeamHttpOptionsWithApiKey(constructorOptions)) {
7053
7400
  throw new SeamHttpInvalidOptionsError("Missing apiKey");
7054
7401
  }
7055
- return new _SeamHttpSeamCustomerV1Portals(constructorOptions);
7402
+ return new _SeamHttpSeamCustomerV1Events(constructorOptions);
7056
7403
  }
7057
7404
  static fromClientSessionToken(clientSessionToken, options = {}) {
7058
7405
  const constructorOptions = { ...options, clientSessionToken };
7059
7406
  if (!isSeamHttpOptionsWithClientSessionToken(constructorOptions)) {
7060
7407
  throw new SeamHttpInvalidOptionsError("Missing clientSessionToken");
7061
7408
  }
7062
- return new _SeamHttpSeamCustomerV1Portals(constructorOptions);
7409
+ return new _SeamHttpSeamCustomerV1Events(constructorOptions);
7063
7410
  }
7064
7411
  static async fromPublishableKey(publishableKey, userIdentifierKey, options = {}) {
7065
7412
  warnOnInsecureuserIdentifierKey(userIdentifierKey);
7066
7413
  const clientOptions = parseOptions({ ...options, publishableKey });
7067
7414
  if (isSeamHttpOptionsWithClient(clientOptions)) {
7068
7415
  throw new SeamHttpInvalidOptionsError(
7069
- "The client option cannot be used with SeamHttpSeamCustomerV1Portals.fromPublishableKey"
7416
+ "The client option cannot be used with SeamHttpSeamCustomerV1Events.fromPublishableKey"
7070
7417
  );
7071
7418
  }
7072
7419
  const client = createClient(clientOptions);
@@ -7074,7 +7421,7 @@ var SeamHttpSeamCustomerV1Portals = class _SeamHttpSeamCustomerV1Portals {
7074
7421
  const { token } = await clientSessions.getOrCreate({
7075
7422
  user_identifier_key: userIdentifierKey
7076
7423
  });
7077
- return _SeamHttpSeamCustomerV1Portals.fromClientSessionToken(token, options);
7424
+ return _SeamHttpSeamCustomerV1Events.fromClientSessionToken(token, options);
7078
7425
  }
7079
7426
  static fromConsoleSessionToken(consoleSessionToken, workspaceId, options = {}) {
7080
7427
  const constructorOptions = { ...options, consoleSessionToken, workspaceId };
@@ -7083,7 +7430,7 @@ var SeamHttpSeamCustomerV1Portals = class _SeamHttpSeamCustomerV1Portals {
7083
7430
  "Missing consoleSessionToken or workspaceId"
7084
7431
  );
7085
7432
  }
7086
- return new _SeamHttpSeamCustomerV1Portals(constructorOptions);
7433
+ return new _SeamHttpSeamCustomerV1Events(constructorOptions);
7087
7434
  }
7088
7435
  static fromPersonalAccessToken(personalAccessToken, workspaceId, options = {}) {
7089
7436
  const constructorOptions = { ...options, personalAccessToken, workspaceId };
@@ -7092,7 +7439,7 @@ var SeamHttpSeamCustomerV1Portals = class _SeamHttpSeamCustomerV1Portals {
7092
7439
  "Missing personalAccessToken or workspaceId"
7093
7440
  );
7094
7441
  }
7095
- return new _SeamHttpSeamCustomerV1Portals(constructorOptions);
7442
+ return new _SeamHttpSeamCustomerV1Events(constructorOptions);
7096
7443
  }
7097
7444
  createPaginator(request) {
7098
7445
  return new SeamPaginator(this, request);
@@ -7113,24 +7460,24 @@ var SeamHttpSeamCustomerV1Portals = class _SeamHttpSeamCustomerV1Portals {
7113
7460
  const clientSessions = SeamHttpClientSessions.fromClient(this.client);
7114
7461
  await clientSessions.get();
7115
7462
  }
7116
- get(parameters, options = {}) {
7463
+ list(parameters, options = {}) {
7117
7464
  if (!this.defaults.isUndocumentedApiEnabled) {
7118
7465
  throw new Error(
7119
7466
  "Cannot use undocumented API without isUndocumentedApiEnabled"
7120
7467
  );
7121
7468
  }
7122
7469
  return new SeamHttpRequest(this, {
7123
- pathname: "/seam/customer/v1/portals/get",
7470
+ pathname: "/seam/customer/v1/events/list",
7124
7471
  method: "POST",
7125
7472
  body: parameters,
7126
- responseKey: "customer_portal",
7473
+ responseKey: "events",
7127
7474
  options
7128
7475
  });
7129
7476
  }
7130
7477
  };
7131
7478
 
7132
- // src/lib/seam/connect/routes/seam/customer/v1/reservations/reservations.ts
7133
- var SeamHttpSeamCustomerV1Reservations = class _SeamHttpSeamCustomerV1Reservations {
7479
+ // src/lib/seam/connect/routes/seam/customer/v1/portals/portals.ts
7480
+ var SeamHttpSeamCustomerV1Portals = class _SeamHttpSeamCustomerV1Portals {
7134
7481
  client;
7135
7482
  defaults;
7136
7483
  ltsVersion = seamApiLtsVersion;
@@ -7150,28 +7497,28 @@ var SeamHttpSeamCustomerV1Reservations = class _SeamHttpSeamCustomerV1Reservatio
7150
7497
  if (!isSeamHttpOptionsWithClient(constructorOptions)) {
7151
7498
  throw new SeamHttpInvalidOptionsError("Missing client");
7152
7499
  }
7153
- return new _SeamHttpSeamCustomerV1Reservations(constructorOptions);
7500
+ return new _SeamHttpSeamCustomerV1Portals(constructorOptions);
7154
7501
  }
7155
7502
  static fromApiKey(apiKey, options = {}) {
7156
7503
  const constructorOptions = { ...options, apiKey };
7157
7504
  if (!isSeamHttpOptionsWithApiKey(constructorOptions)) {
7158
7505
  throw new SeamHttpInvalidOptionsError("Missing apiKey");
7159
7506
  }
7160
- return new _SeamHttpSeamCustomerV1Reservations(constructorOptions);
7507
+ return new _SeamHttpSeamCustomerV1Portals(constructorOptions);
7161
7508
  }
7162
7509
  static fromClientSessionToken(clientSessionToken, options = {}) {
7163
7510
  const constructorOptions = { ...options, clientSessionToken };
7164
7511
  if (!isSeamHttpOptionsWithClientSessionToken(constructorOptions)) {
7165
7512
  throw new SeamHttpInvalidOptionsError("Missing clientSessionToken");
7166
7513
  }
7167
- return new _SeamHttpSeamCustomerV1Reservations(constructorOptions);
7514
+ return new _SeamHttpSeamCustomerV1Portals(constructorOptions);
7168
7515
  }
7169
7516
  static async fromPublishableKey(publishableKey, userIdentifierKey, options = {}) {
7170
7517
  warnOnInsecureuserIdentifierKey(userIdentifierKey);
7171
7518
  const clientOptions = parseOptions({ ...options, publishableKey });
7172
7519
  if (isSeamHttpOptionsWithClient(clientOptions)) {
7173
7520
  throw new SeamHttpInvalidOptionsError(
7174
- "The client option cannot be used with SeamHttpSeamCustomerV1Reservations.fromPublishableKey"
7521
+ "The client option cannot be used with SeamHttpSeamCustomerV1Portals.fromPublishableKey"
7175
7522
  );
7176
7523
  }
7177
7524
  const client = createClient(clientOptions);
@@ -7179,10 +7526,7 @@ var SeamHttpSeamCustomerV1Reservations = class _SeamHttpSeamCustomerV1Reservatio
7179
7526
  const { token } = await clientSessions.getOrCreate({
7180
7527
  user_identifier_key: userIdentifierKey
7181
7528
  });
7182
- return _SeamHttpSeamCustomerV1Reservations.fromClientSessionToken(
7183
- token,
7184
- options
7185
- );
7529
+ return _SeamHttpSeamCustomerV1Portals.fromClientSessionToken(token, options);
7186
7530
  }
7187
7531
  static fromConsoleSessionToken(consoleSessionToken, workspaceId, options = {}) {
7188
7532
  const constructorOptions = { ...options, consoleSessionToken, workspaceId };
@@ -7191,7 +7535,7 @@ var SeamHttpSeamCustomerV1Reservations = class _SeamHttpSeamCustomerV1Reservatio
7191
7535
  "Missing consoleSessionToken or workspaceId"
7192
7536
  );
7193
7537
  }
7194
- return new _SeamHttpSeamCustomerV1Reservations(constructorOptions);
7538
+ return new _SeamHttpSeamCustomerV1Portals(constructorOptions);
7195
7539
  }
7196
7540
  static fromPersonalAccessToken(personalAccessToken, workspaceId, options = {}) {
7197
7541
  const constructorOptions = { ...options, personalAccessToken, workspaceId };
@@ -7200,7 +7544,7 @@ var SeamHttpSeamCustomerV1Reservations = class _SeamHttpSeamCustomerV1Reservatio
7200
7544
  "Missing personalAccessToken or workspaceId"
7201
7545
  );
7202
7546
  }
7203
- return new _SeamHttpSeamCustomerV1Reservations(constructorOptions);
7547
+ return new _SeamHttpSeamCustomerV1Portals(constructorOptions);
7204
7548
  }
7205
7549
  createPaginator(request) {
7206
7550
  return new SeamPaginator(this, request);
@@ -7228,31 +7572,17 @@ var SeamHttpSeamCustomerV1Reservations = class _SeamHttpSeamCustomerV1Reservatio
7228
7572
  );
7229
7573
  }
7230
7574
  return new SeamHttpRequest(this, {
7231
- pathname: "/seam/customer/v1/reservations/get",
7232
- method: "POST",
7233
- body: parameters,
7234
- responseKey: "reservation",
7235
- options
7236
- });
7237
- }
7238
- list(parameters, options = {}) {
7239
- if (!this.defaults.isUndocumentedApiEnabled) {
7240
- throw new Error(
7241
- "Cannot use undocumented API without isUndocumentedApiEnabled"
7242
- );
7243
- }
7244
- return new SeamHttpRequest(this, {
7245
- pathname: "/seam/customer/v1/reservations/list",
7575
+ pathname: "/seam/customer/v1/portals/get",
7246
7576
  method: "POST",
7247
7577
  body: parameters,
7248
- responseKey: "reservations",
7578
+ responseKey: "customer_portal",
7249
7579
  options
7250
7580
  });
7251
7581
  }
7252
7582
  };
7253
7583
 
7254
- // src/lib/seam/connect/routes/seam/customer/v1/settings/settings.ts
7255
- var SeamHttpSeamCustomerV1Settings = class _SeamHttpSeamCustomerV1Settings {
7584
+ // src/lib/seam/connect/routes/seam/customer/v1/reservations/reservations.ts
7585
+ var SeamHttpSeamCustomerV1Reservations = class _SeamHttpSeamCustomerV1Reservations {
7256
7586
  client;
7257
7587
  defaults;
7258
7588
  ltsVersion = seamApiLtsVersion;
@@ -7272,28 +7602,28 @@ var SeamHttpSeamCustomerV1Settings = class _SeamHttpSeamCustomerV1Settings {
7272
7602
  if (!isSeamHttpOptionsWithClient(constructorOptions)) {
7273
7603
  throw new SeamHttpInvalidOptionsError("Missing client");
7274
7604
  }
7275
- return new _SeamHttpSeamCustomerV1Settings(constructorOptions);
7605
+ return new _SeamHttpSeamCustomerV1Reservations(constructorOptions);
7276
7606
  }
7277
7607
  static fromApiKey(apiKey, options = {}) {
7278
7608
  const constructorOptions = { ...options, apiKey };
7279
7609
  if (!isSeamHttpOptionsWithApiKey(constructorOptions)) {
7280
7610
  throw new SeamHttpInvalidOptionsError("Missing apiKey");
7281
7611
  }
7282
- return new _SeamHttpSeamCustomerV1Settings(constructorOptions);
7612
+ return new _SeamHttpSeamCustomerV1Reservations(constructorOptions);
7283
7613
  }
7284
7614
  static fromClientSessionToken(clientSessionToken, options = {}) {
7285
7615
  const constructorOptions = { ...options, clientSessionToken };
7286
7616
  if (!isSeamHttpOptionsWithClientSessionToken(constructorOptions)) {
7287
7617
  throw new SeamHttpInvalidOptionsError("Missing clientSessionToken");
7288
7618
  }
7289
- return new _SeamHttpSeamCustomerV1Settings(constructorOptions);
7619
+ return new _SeamHttpSeamCustomerV1Reservations(constructorOptions);
7290
7620
  }
7291
7621
  static async fromPublishableKey(publishableKey, userIdentifierKey, options = {}) {
7292
7622
  warnOnInsecureuserIdentifierKey(userIdentifierKey);
7293
7623
  const clientOptions = parseOptions({ ...options, publishableKey });
7294
7624
  if (isSeamHttpOptionsWithClient(clientOptions)) {
7295
7625
  throw new SeamHttpInvalidOptionsError(
7296
- "The client option cannot be used with SeamHttpSeamCustomerV1Settings.fromPublishableKey"
7626
+ "The client option cannot be used with SeamHttpSeamCustomerV1Reservations.fromPublishableKey"
7297
7627
  );
7298
7628
  }
7299
7629
  const client = createClient(clientOptions);
@@ -7301,7 +7631,10 @@ var SeamHttpSeamCustomerV1Settings = class _SeamHttpSeamCustomerV1Settings {
7301
7631
  const { token } = await clientSessions.getOrCreate({
7302
7632
  user_identifier_key: userIdentifierKey
7303
7633
  });
7304
- return _SeamHttpSeamCustomerV1Settings.fromClientSessionToken(token, options);
7634
+ return _SeamHttpSeamCustomerV1Reservations.fromClientSessionToken(
7635
+ token,
7636
+ options
7637
+ );
7305
7638
  }
7306
7639
  static fromConsoleSessionToken(consoleSessionToken, workspaceId, options = {}) {
7307
7640
  const constructorOptions = { ...options, consoleSessionToken, workspaceId };
@@ -7310,7 +7643,7 @@ var SeamHttpSeamCustomerV1Settings = class _SeamHttpSeamCustomerV1Settings {
7310
7643
  "Missing consoleSessionToken or workspaceId"
7311
7644
  );
7312
7645
  }
7313
- return new _SeamHttpSeamCustomerV1Settings(constructorOptions);
7646
+ return new _SeamHttpSeamCustomerV1Reservations(constructorOptions);
7314
7647
  }
7315
7648
  static fromPersonalAccessToken(personalAccessToken, workspaceId, options = {}) {
7316
7649
  const constructorOptions = { ...options, personalAccessToken, workspaceId };
@@ -7319,7 +7652,7 @@ var SeamHttpSeamCustomerV1Settings = class _SeamHttpSeamCustomerV1Settings {
7319
7652
  "Missing personalAccessToken or workspaceId"
7320
7653
  );
7321
7654
  }
7322
- return new _SeamHttpSeamCustomerV1Settings(constructorOptions);
7655
+ return new _SeamHttpSeamCustomerV1Reservations(constructorOptions);
7323
7656
  }
7324
7657
  createPaginator(request) {
7325
7658
  return new SeamPaginator(this, request);
@@ -7347,31 +7680,31 @@ var SeamHttpSeamCustomerV1Settings = class _SeamHttpSeamCustomerV1Settings {
7347
7680
  );
7348
7681
  }
7349
7682
  return new SeamHttpRequest(this, {
7350
- pathname: "/seam/customer/v1/settings/get",
7351
- method: "GET",
7352
- params: parameters,
7353
- responseKey: "business_vertical",
7683
+ pathname: "/seam/customer/v1/reservations/get",
7684
+ method: "POST",
7685
+ body: parameters,
7686
+ responseKey: "reservation",
7354
7687
  options
7355
7688
  });
7356
7689
  }
7357
- update(parameters, options = {}) {
7690
+ list(parameters, options = {}) {
7358
7691
  if (!this.defaults.isUndocumentedApiEnabled) {
7359
7692
  throw new Error(
7360
7693
  "Cannot use undocumented API without isUndocumentedApiEnabled"
7361
7694
  );
7362
7695
  }
7363
7696
  return new SeamHttpRequest(this, {
7364
- pathname: "/seam/customer/v1/settings/update",
7365
- method: "PATCH",
7697
+ pathname: "/seam/customer/v1/reservations/list",
7698
+ method: "POST",
7366
7699
  body: parameters,
7367
- responseKey: void 0,
7700
+ responseKey: "reservations",
7368
7701
  options
7369
7702
  });
7370
7703
  }
7371
7704
  };
7372
7705
 
7373
- // src/lib/seam/connect/routes/seam/customer/v1/spaces/spaces.ts
7374
- var SeamHttpSeamCustomerV1Spaces = class _SeamHttpSeamCustomerV1Spaces {
7706
+ // src/lib/seam/connect/routes/seam/customer/v1/settings/vertical-resource-aliases/vertical-resource-aliases.ts
7707
+ var SeamHttpSeamCustomerV1SettingsVerticalResourceAliases = class _SeamHttpSeamCustomerV1SettingsVerticalResourceAliases {
7375
7708
  client;
7376
7709
  defaults;
7377
7710
  ltsVersion = seamApiLtsVersion;
@@ -7391,28 +7724,34 @@ var SeamHttpSeamCustomerV1Spaces = class _SeamHttpSeamCustomerV1Spaces {
7391
7724
  if (!isSeamHttpOptionsWithClient(constructorOptions)) {
7392
7725
  throw new SeamHttpInvalidOptionsError("Missing client");
7393
7726
  }
7394
- return new _SeamHttpSeamCustomerV1Spaces(constructorOptions);
7727
+ return new _SeamHttpSeamCustomerV1SettingsVerticalResourceAliases(
7728
+ constructorOptions
7729
+ );
7395
7730
  }
7396
7731
  static fromApiKey(apiKey, options = {}) {
7397
7732
  const constructorOptions = { ...options, apiKey };
7398
7733
  if (!isSeamHttpOptionsWithApiKey(constructorOptions)) {
7399
7734
  throw new SeamHttpInvalidOptionsError("Missing apiKey");
7400
7735
  }
7401
- return new _SeamHttpSeamCustomerV1Spaces(constructorOptions);
7736
+ return new _SeamHttpSeamCustomerV1SettingsVerticalResourceAliases(
7737
+ constructorOptions
7738
+ );
7402
7739
  }
7403
7740
  static fromClientSessionToken(clientSessionToken, options = {}) {
7404
7741
  const constructorOptions = { ...options, clientSessionToken };
7405
7742
  if (!isSeamHttpOptionsWithClientSessionToken(constructorOptions)) {
7406
7743
  throw new SeamHttpInvalidOptionsError("Missing clientSessionToken");
7407
7744
  }
7408
- return new _SeamHttpSeamCustomerV1Spaces(constructorOptions);
7745
+ return new _SeamHttpSeamCustomerV1SettingsVerticalResourceAliases(
7746
+ constructorOptions
7747
+ );
7409
7748
  }
7410
7749
  static async fromPublishableKey(publishableKey, userIdentifierKey, options = {}) {
7411
7750
  warnOnInsecureuserIdentifierKey(userIdentifierKey);
7412
7751
  const clientOptions = parseOptions({ ...options, publishableKey });
7413
7752
  if (isSeamHttpOptionsWithClient(clientOptions)) {
7414
7753
  throw new SeamHttpInvalidOptionsError(
7415
- "The client option cannot be used with SeamHttpSeamCustomerV1Spaces.fromPublishableKey"
7754
+ "The client option cannot be used with SeamHttpSeamCustomerV1SettingsVerticalResourceAliases.fromPublishableKey"
7416
7755
  );
7417
7756
  }
7418
7757
  const client = createClient(clientOptions);
@@ -7420,7 +7759,10 @@ var SeamHttpSeamCustomerV1Spaces = class _SeamHttpSeamCustomerV1Spaces {
7420
7759
  const { token } = await clientSessions.getOrCreate({
7421
7760
  user_identifier_key: userIdentifierKey
7422
7761
  });
7423
- return _SeamHttpSeamCustomerV1Spaces.fromClientSessionToken(token, options);
7762
+ return _SeamHttpSeamCustomerV1SettingsVerticalResourceAliases.fromClientSessionToken(
7763
+ token,
7764
+ options
7765
+ );
7424
7766
  }
7425
7767
  static fromConsoleSessionToken(consoleSessionToken, workspaceId, options = {}) {
7426
7768
  const constructorOptions = { ...options, consoleSessionToken, workspaceId };
@@ -7429,7 +7771,9 @@ var SeamHttpSeamCustomerV1Spaces = class _SeamHttpSeamCustomerV1Spaces {
7429
7771
  "Missing consoleSessionToken or workspaceId"
7430
7772
  );
7431
7773
  }
7432
- return new _SeamHttpSeamCustomerV1Spaces(constructorOptions);
7774
+ return new _SeamHttpSeamCustomerV1SettingsVerticalResourceAliases(
7775
+ constructorOptions
7776
+ );
7433
7777
  }
7434
7778
  static fromPersonalAccessToken(personalAccessToken, workspaceId, options = {}) {
7435
7779
  const constructorOptions = { ...options, personalAccessToken, workspaceId };
@@ -7438,7 +7782,9 @@ var SeamHttpSeamCustomerV1Spaces = class _SeamHttpSeamCustomerV1Spaces {
7438
7782
  "Missing personalAccessToken or workspaceId"
7439
7783
  );
7440
7784
  }
7441
- return new _SeamHttpSeamCustomerV1Spaces(constructorOptions);
7785
+ return new _SeamHttpSeamCustomerV1SettingsVerticalResourceAliases(
7786
+ constructorOptions
7787
+ );
7442
7788
  }
7443
7789
  createPaginator(request) {
7444
7790
  return new SeamPaginator(this, request);
@@ -7459,52 +7805,24 @@ var SeamHttpSeamCustomerV1Spaces = class _SeamHttpSeamCustomerV1Spaces {
7459
7805
  const clientSessions = SeamHttpClientSessions.fromClient(this.client);
7460
7806
  await clientSessions.get();
7461
7807
  }
7462
- create(parameters, options = {}) {
7463
- if (!this.defaults.isUndocumentedApiEnabled) {
7464
- throw new Error(
7465
- "Cannot use undocumented API without isUndocumentedApiEnabled"
7466
- );
7467
- }
7468
- return new SeamHttpRequest(this, {
7469
- pathname: "/seam/customer/v1/spaces/create",
7470
- method: "POST",
7471
- body: parameters,
7472
- responseKey: "space",
7473
- options
7474
- });
7475
- }
7476
- list(parameters, options = {}) {
7477
- if (!this.defaults.isUndocumentedApiEnabled) {
7478
- throw new Error(
7479
- "Cannot use undocumented API without isUndocumentedApiEnabled"
7480
- );
7481
- }
7482
- return new SeamHttpRequest(this, {
7483
- pathname: "/seam/customer/v1/spaces/list",
7484
- method: "POST",
7485
- body: parameters,
7486
- responseKey: "spaces",
7487
- options
7488
- });
7489
- }
7490
- listReservations(parameters, options = {}) {
7808
+ get(parameters, options = {}) {
7491
7809
  if (!this.defaults.isUndocumentedApiEnabled) {
7492
7810
  throw new Error(
7493
7811
  "Cannot use undocumented API without isUndocumentedApiEnabled"
7494
7812
  );
7495
7813
  }
7496
7814
  return new SeamHttpRequest(this, {
7497
- pathname: "/seam/customer/v1/spaces/list_reservations",
7815
+ pathname: "/seam/customer/v1/settings/vertical_resource_aliases/get",
7498
7816
  method: "POST",
7499
7817
  body: parameters,
7500
- responseKey: "reservations",
7818
+ responseKey: "vertical_resource_aliases",
7501
7819
  options
7502
7820
  });
7503
7821
  }
7504
7822
  };
7505
7823
 
7506
- // src/lib/seam/connect/routes/seam/customer/v1/staff-members/staff-members.ts
7507
- var SeamHttpSeamCustomerV1StaffMembers = class _SeamHttpSeamCustomerV1StaffMembers {
7824
+ // src/lib/seam/connect/routes/seam/customer/v1/settings/settings.ts
7825
+ var SeamHttpSeamCustomerV1Settings = class _SeamHttpSeamCustomerV1Settings {
7508
7826
  client;
7509
7827
  defaults;
7510
7828
  ltsVersion = seamApiLtsVersion;
@@ -7524,28 +7842,28 @@ var SeamHttpSeamCustomerV1StaffMembers = class _SeamHttpSeamCustomerV1StaffMembe
7524
7842
  if (!isSeamHttpOptionsWithClient(constructorOptions)) {
7525
7843
  throw new SeamHttpInvalidOptionsError("Missing client");
7526
7844
  }
7527
- return new _SeamHttpSeamCustomerV1StaffMembers(constructorOptions);
7845
+ return new _SeamHttpSeamCustomerV1Settings(constructorOptions);
7528
7846
  }
7529
7847
  static fromApiKey(apiKey, options = {}) {
7530
7848
  const constructorOptions = { ...options, apiKey };
7531
7849
  if (!isSeamHttpOptionsWithApiKey(constructorOptions)) {
7532
7850
  throw new SeamHttpInvalidOptionsError("Missing apiKey");
7533
7851
  }
7534
- return new _SeamHttpSeamCustomerV1StaffMembers(constructorOptions);
7852
+ return new _SeamHttpSeamCustomerV1Settings(constructorOptions);
7535
7853
  }
7536
7854
  static fromClientSessionToken(clientSessionToken, options = {}) {
7537
7855
  const constructorOptions = { ...options, clientSessionToken };
7538
7856
  if (!isSeamHttpOptionsWithClientSessionToken(constructorOptions)) {
7539
7857
  throw new SeamHttpInvalidOptionsError("Missing clientSessionToken");
7540
7858
  }
7541
- return new _SeamHttpSeamCustomerV1StaffMembers(constructorOptions);
7859
+ return new _SeamHttpSeamCustomerV1Settings(constructorOptions);
7542
7860
  }
7543
7861
  static async fromPublishableKey(publishableKey, userIdentifierKey, options = {}) {
7544
7862
  warnOnInsecureuserIdentifierKey(userIdentifierKey);
7545
7863
  const clientOptions = parseOptions({ ...options, publishableKey });
7546
7864
  if (isSeamHttpOptionsWithClient(clientOptions)) {
7547
7865
  throw new SeamHttpInvalidOptionsError(
7548
- "The client option cannot be used with SeamHttpSeamCustomerV1StaffMembers.fromPublishableKey"
7866
+ "The client option cannot be used with SeamHttpSeamCustomerV1Settings.fromPublishableKey"
7549
7867
  );
7550
7868
  }
7551
7869
  const client = createClient(clientOptions);
@@ -7553,10 +7871,7 @@ var SeamHttpSeamCustomerV1StaffMembers = class _SeamHttpSeamCustomerV1StaffMembe
7553
7871
  const { token } = await clientSessions.getOrCreate({
7554
7872
  user_identifier_key: userIdentifierKey
7555
7873
  });
7556
- return _SeamHttpSeamCustomerV1StaffMembers.fromClientSessionToken(
7557
- token,
7558
- options
7559
- );
7874
+ return _SeamHttpSeamCustomerV1Settings.fromClientSessionToken(token, options);
7560
7875
  }
7561
7876
  static fromConsoleSessionToken(consoleSessionToken, workspaceId, options = {}) {
7562
7877
  const constructorOptions = { ...options, consoleSessionToken, workspaceId };
@@ -7565,7 +7880,7 @@ var SeamHttpSeamCustomerV1StaffMembers = class _SeamHttpSeamCustomerV1StaffMembe
7565
7880
  "Missing consoleSessionToken or workspaceId"
7566
7881
  );
7567
7882
  }
7568
- return new _SeamHttpSeamCustomerV1StaffMembers(constructorOptions);
7883
+ return new _SeamHttpSeamCustomerV1Settings(constructorOptions);
7569
7884
  }
7570
7885
  static fromPersonalAccessToken(personalAccessToken, workspaceId, options = {}) {
7571
7886
  const constructorOptions = { ...options, personalAccessToken, workspaceId };
@@ -7574,7 +7889,7 @@ var SeamHttpSeamCustomerV1StaffMembers = class _SeamHttpSeamCustomerV1StaffMembe
7574
7889
  "Missing personalAccessToken or workspaceId"
7575
7890
  );
7576
7891
  }
7577
- return new _SeamHttpSeamCustomerV1StaffMembers(constructorOptions);
7892
+ return new _SeamHttpSeamCustomerV1Settings(constructorOptions);
7578
7893
  }
7579
7894
  createPaginator(request) {
7580
7895
  return new SeamPaginator(this, request);
@@ -7595,6 +7910,12 @@ var SeamHttpSeamCustomerV1StaffMembers = class _SeamHttpSeamCustomerV1StaffMembe
7595
7910
  const clientSessions = SeamHttpClientSessions.fromClient(this.client);
7596
7911
  await clientSessions.get();
7597
7912
  }
7913
+ get verticalResourceAliases() {
7914
+ return SeamHttpSeamCustomerV1SettingsVerticalResourceAliases.fromClient(
7915
+ this.client,
7916
+ this.defaults
7917
+ );
7918
+ }
7598
7919
  get(parameters, options = {}) {
7599
7920
  if (!this.defaults.isUndocumentedApiEnabled) {
7600
7921
  throw new Error(
@@ -7602,42 +7923,37 @@ var SeamHttpSeamCustomerV1StaffMembers = class _SeamHttpSeamCustomerV1StaffMembe
7602
7923
  );
7603
7924
  }
7604
7925
  return new SeamHttpRequest(this, {
7605
- pathname: "/seam/customer/v1/staff_members/get",
7606
- method: "POST",
7607
- body: parameters,
7608
- responseKey: "staff_member",
7926
+ pathname: "/seam/customer/v1/settings/get",
7927
+ method: "GET",
7928
+ params: parameters,
7929
+ responseKey: "business_vertical",
7609
7930
  options
7610
7931
  });
7611
7932
  }
7612
- list(parameters, options = {}) {
7933
+ update(parameters, options = {}) {
7613
7934
  if (!this.defaults.isUndocumentedApiEnabled) {
7614
7935
  throw new Error(
7615
7936
  "Cannot use undocumented API without isUndocumentedApiEnabled"
7616
7937
  );
7617
7938
  }
7618
7939
  return new SeamHttpRequest(this, {
7619
- pathname: "/seam/customer/v1/staff_members/list",
7620
- method: "POST",
7940
+ pathname: "/seam/customer/v1/settings/update",
7941
+ method: "PATCH",
7621
7942
  body: parameters,
7622
- responseKey: "staff_members",
7943
+ responseKey: void 0,
7623
7944
  options
7624
7945
  });
7625
7946
  }
7626
7947
  };
7627
7948
 
7628
- // src/lib/seam/connect/routes/seam/customer/v1/v1.ts
7629
- var SeamHttpSeamCustomerV1 = class _SeamHttpSeamCustomerV1 {
7949
+ // src/lib/seam/connect/routes/seam/customer/v1/spaces/spaces.ts
7950
+ var SeamHttpSeamCustomerV1Spaces = class _SeamHttpSeamCustomerV1Spaces {
7630
7951
  client;
7631
7952
  defaults;
7632
7953
  ltsVersion = seamApiLtsVersion;
7633
7954
  static ltsVersion = seamApiLtsVersion;
7634
7955
  constructor(apiKeyOrOptions = {}) {
7635
7956
  const options = parseOptions(apiKeyOrOptions);
7636
- if (!options.isUndocumentedApiEnabled) {
7637
- throw new Error(
7638
- "Cannot use undocumented API without isUndocumentedApiEnabled"
7639
- );
7640
- }
7641
7957
  this.client = "client" in options ? options.client : createClient(options);
7642
7958
  this.defaults = limitToSeamHttpRequestOptions(options);
7643
7959
  }
@@ -7646,28 +7962,28 @@ var SeamHttpSeamCustomerV1 = class _SeamHttpSeamCustomerV1 {
7646
7962
  if (!isSeamHttpOptionsWithClient(constructorOptions)) {
7647
7963
  throw new SeamHttpInvalidOptionsError("Missing client");
7648
7964
  }
7649
- return new _SeamHttpSeamCustomerV1(constructorOptions);
7965
+ return new _SeamHttpSeamCustomerV1Spaces(constructorOptions);
7650
7966
  }
7651
7967
  static fromApiKey(apiKey, options = {}) {
7652
7968
  const constructorOptions = { ...options, apiKey };
7653
7969
  if (!isSeamHttpOptionsWithApiKey(constructorOptions)) {
7654
7970
  throw new SeamHttpInvalidOptionsError("Missing apiKey");
7655
7971
  }
7656
- return new _SeamHttpSeamCustomerV1(constructorOptions);
7972
+ return new _SeamHttpSeamCustomerV1Spaces(constructorOptions);
7657
7973
  }
7658
7974
  static fromClientSessionToken(clientSessionToken, options = {}) {
7659
7975
  const constructorOptions = { ...options, clientSessionToken };
7660
7976
  if (!isSeamHttpOptionsWithClientSessionToken(constructorOptions)) {
7661
7977
  throw new SeamHttpInvalidOptionsError("Missing clientSessionToken");
7662
7978
  }
7663
- return new _SeamHttpSeamCustomerV1(constructorOptions);
7979
+ return new _SeamHttpSeamCustomerV1Spaces(constructorOptions);
7664
7980
  }
7665
7981
  static async fromPublishableKey(publishableKey, userIdentifierKey, options = {}) {
7666
7982
  warnOnInsecureuserIdentifierKey(userIdentifierKey);
7667
7983
  const clientOptions = parseOptions({ ...options, publishableKey });
7668
7984
  if (isSeamHttpOptionsWithClient(clientOptions)) {
7669
7985
  throw new SeamHttpInvalidOptionsError(
7670
- "The client option cannot be used with SeamHttpSeamCustomerV1.fromPublishableKey"
7986
+ "The client option cannot be used with SeamHttpSeamCustomerV1Spaces.fromPublishableKey"
7671
7987
  );
7672
7988
  }
7673
7989
  const client = createClient(clientOptions);
@@ -7675,7 +7991,7 @@ var SeamHttpSeamCustomerV1 = class _SeamHttpSeamCustomerV1 {
7675
7991
  const { token } = await clientSessions.getOrCreate({
7676
7992
  user_identifier_key: userIdentifierKey
7677
7993
  });
7678
- return _SeamHttpSeamCustomerV1.fromClientSessionToken(token, options);
7994
+ return _SeamHttpSeamCustomerV1Spaces.fromClientSessionToken(token, options);
7679
7995
  }
7680
7996
  static fromConsoleSessionToken(consoleSessionToken, workspaceId, options = {}) {
7681
7997
  const constructorOptions = { ...options, consoleSessionToken, workspaceId };
@@ -7684,7 +8000,7 @@ var SeamHttpSeamCustomerV1 = class _SeamHttpSeamCustomerV1 {
7684
8000
  "Missing consoleSessionToken or workspaceId"
7685
8001
  );
7686
8002
  }
7687
- return new _SeamHttpSeamCustomerV1(constructorOptions);
8003
+ return new _SeamHttpSeamCustomerV1Spaces(constructorOptions);
7688
8004
  }
7689
8005
  static fromPersonalAccessToken(personalAccessToken, workspaceId, options = {}) {
7690
8006
  const constructorOptions = { ...options, personalAccessToken, workspaceId };
@@ -7693,7 +8009,7 @@ var SeamHttpSeamCustomerV1 = class _SeamHttpSeamCustomerV1 {
7693
8009
  "Missing personalAccessToken or workspaceId"
7694
8010
  );
7695
8011
  }
7696
- return new _SeamHttpSeamCustomerV1(constructorOptions);
8012
+ return new _SeamHttpSeamCustomerV1Spaces(constructorOptions);
7697
8013
  }
7698
8014
  createPaginator(request) {
7699
8015
  return new SeamPaginator(this, request);
@@ -7714,64 +8030,61 @@ var SeamHttpSeamCustomerV1 = class _SeamHttpSeamCustomerV1 {
7714
8030
  const clientSessions = SeamHttpClientSessions.fromClient(this.client);
7715
8031
  await clientSessions.get();
7716
8032
  }
7717
- get accessGrants() {
7718
- return SeamHttpSeamCustomerV1AccessGrants.fromClient(
7719
- this.client,
7720
- this.defaults
7721
- );
7722
- }
7723
- get automationRuns() {
7724
- return SeamHttpSeamCustomerV1AutomationRuns.fromClient(
7725
- this.client,
7726
- this.defaults
7727
- );
7728
- }
7729
- get automations() {
7730
- return SeamHttpSeamCustomerV1Automations.fromClient(
7731
- this.client,
7732
- this.defaults
7733
- );
7734
- }
7735
- get connectors() {
7736
- return SeamHttpSeamCustomerV1Connectors.fromClient(
7737
- this.client,
7738
- this.defaults
7739
- );
7740
- }
7741
- get customers() {
7742
- return SeamHttpSeamCustomerV1Customers.fromClient(
7743
- this.client,
7744
- this.defaults
7745
- );
7746
- }
7747
- get events() {
7748
- return SeamHttpSeamCustomerV1Events.fromClient(this.client, this.defaults);
7749
- }
7750
- get portals() {
7751
- return SeamHttpSeamCustomerV1Portals.fromClient(this.client, this.defaults);
7752
- }
7753
- get reservations() {
7754
- return SeamHttpSeamCustomerV1Reservations.fromClient(
7755
- this.client,
7756
- this.defaults
7757
- );
8033
+ create(parameters, options = {}) {
8034
+ if (!this.defaults.isUndocumentedApiEnabled) {
8035
+ throw new Error(
8036
+ "Cannot use undocumented API without isUndocumentedApiEnabled"
8037
+ );
8038
+ }
8039
+ return new SeamHttpRequest(this, {
8040
+ pathname: "/seam/customer/v1/spaces/create",
8041
+ method: "POST",
8042
+ body: parameters,
8043
+ responseKey: "space",
8044
+ options
8045
+ });
7758
8046
  }
7759
- get settings() {
7760
- return SeamHttpSeamCustomerV1Settings.fromClient(this.client, this.defaults);
8047
+ list(parameters, options = {}) {
8048
+ if (!this.defaults.isUndocumentedApiEnabled) {
8049
+ throw new Error(
8050
+ "Cannot use undocumented API without isUndocumentedApiEnabled"
8051
+ );
8052
+ }
8053
+ return new SeamHttpRequest(this, {
8054
+ pathname: "/seam/customer/v1/spaces/list",
8055
+ method: "POST",
8056
+ body: parameters,
8057
+ responseKey: "spaces",
8058
+ options
8059
+ });
7761
8060
  }
7762
- get spaces() {
7763
- return SeamHttpSeamCustomerV1Spaces.fromClient(this.client, this.defaults);
8061
+ listReservations(parameters, options = {}) {
8062
+ if (!this.defaults.isUndocumentedApiEnabled) {
8063
+ throw new Error(
8064
+ "Cannot use undocumented API without isUndocumentedApiEnabled"
8065
+ );
8066
+ }
8067
+ return new SeamHttpRequest(this, {
8068
+ pathname: "/seam/customer/v1/spaces/list_reservations",
8069
+ method: "POST",
8070
+ body: parameters,
8071
+ responseKey: "reservations",
8072
+ options
8073
+ });
7764
8074
  }
7765
- get staffMembers() {
7766
- return SeamHttpSeamCustomerV1StaffMembers.fromClient(
7767
- this.client,
7768
- this.defaults
7769
- );
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
+ });
7770
8083
  }
7771
8084
  };
7772
8085
 
7773
- // src/lib/seam/connect/routes/seam/partner/v1/building-blocks/spaces/spaces.ts
7774
- var SeamHttpSeamPartnerV1BuildingBlocksSpaces = class _SeamHttpSeamPartnerV1BuildingBlocksSpaces {
8086
+ // src/lib/seam/connect/routes/seam/customer/v1/staff-members/staff-members.ts
8087
+ var SeamHttpSeamCustomerV1StaffMembers = class _SeamHttpSeamCustomerV1StaffMembers {
7775
8088
  client;
7776
8089
  defaults;
7777
8090
  ltsVersion = seamApiLtsVersion;
@@ -7791,28 +8104,28 @@ var SeamHttpSeamPartnerV1BuildingBlocksSpaces = class _SeamHttpSeamPartnerV1Buil
7791
8104
  if (!isSeamHttpOptionsWithClient(constructorOptions)) {
7792
8105
  throw new SeamHttpInvalidOptionsError("Missing client");
7793
8106
  }
7794
- return new _SeamHttpSeamPartnerV1BuildingBlocksSpaces(constructorOptions);
8107
+ return new _SeamHttpSeamCustomerV1StaffMembers(constructorOptions);
7795
8108
  }
7796
8109
  static fromApiKey(apiKey, options = {}) {
7797
8110
  const constructorOptions = { ...options, apiKey };
7798
8111
  if (!isSeamHttpOptionsWithApiKey(constructorOptions)) {
7799
8112
  throw new SeamHttpInvalidOptionsError("Missing apiKey");
7800
8113
  }
7801
- return new _SeamHttpSeamPartnerV1BuildingBlocksSpaces(constructorOptions);
8114
+ return new _SeamHttpSeamCustomerV1StaffMembers(constructorOptions);
7802
8115
  }
7803
8116
  static fromClientSessionToken(clientSessionToken, options = {}) {
7804
8117
  const constructorOptions = { ...options, clientSessionToken };
7805
8118
  if (!isSeamHttpOptionsWithClientSessionToken(constructorOptions)) {
7806
8119
  throw new SeamHttpInvalidOptionsError("Missing clientSessionToken");
7807
8120
  }
7808
- return new _SeamHttpSeamPartnerV1BuildingBlocksSpaces(constructorOptions);
8121
+ return new _SeamHttpSeamCustomerV1StaffMembers(constructorOptions);
7809
8122
  }
7810
8123
  static async fromPublishableKey(publishableKey, userIdentifierKey, options = {}) {
7811
8124
  warnOnInsecureuserIdentifierKey(userIdentifierKey);
7812
8125
  const clientOptions = parseOptions({ ...options, publishableKey });
7813
8126
  if (isSeamHttpOptionsWithClient(clientOptions)) {
7814
8127
  throw new SeamHttpInvalidOptionsError(
7815
- "The client option cannot be used with SeamHttpSeamPartnerV1BuildingBlocksSpaces.fromPublishableKey"
8128
+ "The client option cannot be used with SeamHttpSeamCustomerV1StaffMembers.fromPublishableKey"
7816
8129
  );
7817
8130
  }
7818
8131
  const client = createClient(clientOptions);
@@ -7820,7 +8133,7 @@ var SeamHttpSeamPartnerV1BuildingBlocksSpaces = class _SeamHttpSeamPartnerV1Buil
7820
8133
  const { token } = await clientSessions.getOrCreate({
7821
8134
  user_identifier_key: userIdentifierKey
7822
8135
  });
7823
- return _SeamHttpSeamPartnerV1BuildingBlocksSpaces.fromClientSessionToken(
8136
+ return _SeamHttpSeamCustomerV1StaffMembers.fromClientSessionToken(
7824
8137
  token,
7825
8138
  options
7826
8139
  );
@@ -7832,7 +8145,7 @@ var SeamHttpSeamPartnerV1BuildingBlocksSpaces = class _SeamHttpSeamPartnerV1Buil
7832
8145
  "Missing consoleSessionToken or workspaceId"
7833
8146
  );
7834
8147
  }
7835
- return new _SeamHttpSeamPartnerV1BuildingBlocksSpaces(constructorOptions);
8148
+ return new _SeamHttpSeamCustomerV1StaffMembers(constructorOptions);
7836
8149
  }
7837
8150
  static fromPersonalAccessToken(personalAccessToken, workspaceId, options = {}) {
7838
8151
  const constructorOptions = { ...options, personalAccessToken, workspaceId };
@@ -7841,7 +8154,7 @@ var SeamHttpSeamPartnerV1BuildingBlocksSpaces = class _SeamHttpSeamPartnerV1Buil
7841
8154
  "Missing personalAccessToken or workspaceId"
7842
8155
  );
7843
8156
  }
7844
- return new _SeamHttpSeamPartnerV1BuildingBlocksSpaces(constructorOptions);
8157
+ return new _SeamHttpSeamCustomerV1StaffMembers(constructorOptions);
7845
8158
  }
7846
8159
  createPaginator(request) {
7847
8160
  return new SeamPaginator(this, request);
@@ -7862,35 +8175,44 @@ var SeamHttpSeamPartnerV1BuildingBlocksSpaces = class _SeamHttpSeamPartnerV1Buil
7862
8175
  const clientSessions = SeamHttpClientSessions.fromClient(this.client);
7863
8176
  await clientSessions.get();
7864
8177
  }
7865
- autoMap(parameters, options = {}) {
8178
+ get(parameters, options = {}) {
7866
8179
  if (!this.defaults.isUndocumentedApiEnabled) {
7867
8180
  throw new Error(
7868
8181
  "Cannot use undocumented API without isUndocumentedApiEnabled"
7869
8182
  );
7870
8183
  }
7871
8184
  return new SeamHttpRequest(this, {
7872
- pathname: "/seam/partner/v1/building_blocks/spaces/auto_map",
8185
+ pathname: "/seam/customer/v1/staff_members/get",
7873
8186
  method: "POST",
7874
8187
  body: parameters,
7875
- responseKey: "spaces",
8188
+ responseKey: "staff_member",
8189
+ options
8190
+ });
8191
+ }
8192
+ list(parameters, options = {}) {
8193
+ if (!this.defaults.isUndocumentedApiEnabled) {
8194
+ throw new Error(
8195
+ "Cannot use undocumented API without isUndocumentedApiEnabled"
8196
+ );
8197
+ }
8198
+ return new SeamHttpRequest(this, {
8199
+ pathname: "/seam/customer/v1/staff_members/list",
8200
+ method: "POST",
8201
+ body: parameters,
8202
+ responseKey: "staff_members",
7876
8203
  options
7877
8204
  });
7878
8205
  }
7879
8206
  };
7880
8207
 
7881
- // src/lib/seam/connect/routes/seam/partner/v1/building-blocks/building-blocks.ts
7882
- var SeamHttpSeamPartnerV1BuildingBlocks = class _SeamHttpSeamPartnerV1BuildingBlocks {
8208
+ // src/lib/seam/connect/routes/seam/customer/v1/v1.ts
8209
+ var SeamHttpSeamCustomerV1 = class _SeamHttpSeamCustomerV1 {
7883
8210
  client;
7884
8211
  defaults;
7885
8212
  ltsVersion = seamApiLtsVersion;
7886
8213
  static ltsVersion = seamApiLtsVersion;
7887
8214
  constructor(apiKeyOrOptions = {}) {
7888
8215
  const options = parseOptions(apiKeyOrOptions);
7889
- if (!options.isUndocumentedApiEnabled) {
7890
- throw new Error(
7891
- "Cannot use undocumented API without isUndocumentedApiEnabled"
7892
- );
7893
- }
7894
8216
  this.client = "client" in options ? options.client : createClient(options);
7895
8217
  this.defaults = limitToSeamHttpRequestOptions(options);
7896
8218
  }
@@ -7899,28 +8221,28 @@ var SeamHttpSeamPartnerV1BuildingBlocks = class _SeamHttpSeamPartnerV1BuildingBl
7899
8221
  if (!isSeamHttpOptionsWithClient(constructorOptions)) {
7900
8222
  throw new SeamHttpInvalidOptionsError("Missing client");
7901
8223
  }
7902
- return new _SeamHttpSeamPartnerV1BuildingBlocks(constructorOptions);
8224
+ return new _SeamHttpSeamCustomerV1(constructorOptions);
7903
8225
  }
7904
8226
  static fromApiKey(apiKey, options = {}) {
7905
8227
  const constructorOptions = { ...options, apiKey };
7906
8228
  if (!isSeamHttpOptionsWithApiKey(constructorOptions)) {
7907
8229
  throw new SeamHttpInvalidOptionsError("Missing apiKey");
7908
8230
  }
7909
- return new _SeamHttpSeamPartnerV1BuildingBlocks(constructorOptions);
8231
+ return new _SeamHttpSeamCustomerV1(constructorOptions);
7910
8232
  }
7911
8233
  static fromClientSessionToken(clientSessionToken, options = {}) {
7912
8234
  const constructorOptions = { ...options, clientSessionToken };
7913
8235
  if (!isSeamHttpOptionsWithClientSessionToken(constructorOptions)) {
7914
8236
  throw new SeamHttpInvalidOptionsError("Missing clientSessionToken");
7915
8237
  }
7916
- return new _SeamHttpSeamPartnerV1BuildingBlocks(constructorOptions);
8238
+ return new _SeamHttpSeamCustomerV1(constructorOptions);
7917
8239
  }
7918
8240
  static async fromPublishableKey(publishableKey, userIdentifierKey, options = {}) {
7919
8241
  warnOnInsecureuserIdentifierKey(userIdentifierKey);
7920
8242
  const clientOptions = parseOptions({ ...options, publishableKey });
7921
8243
  if (isSeamHttpOptionsWithClient(clientOptions)) {
7922
8244
  throw new SeamHttpInvalidOptionsError(
7923
- "The client option cannot be used with SeamHttpSeamPartnerV1BuildingBlocks.fromPublishableKey"
8245
+ "The client option cannot be used with SeamHttpSeamCustomerV1.fromPublishableKey"
7924
8246
  );
7925
8247
  }
7926
8248
  const client = createClient(clientOptions);
@@ -7928,10 +8250,7 @@ var SeamHttpSeamPartnerV1BuildingBlocks = class _SeamHttpSeamPartnerV1BuildingBl
7928
8250
  const { token } = await clientSessions.getOrCreate({
7929
8251
  user_identifier_key: userIdentifierKey
7930
8252
  });
7931
- return _SeamHttpSeamPartnerV1BuildingBlocks.fromClientSessionToken(
7932
- token,
7933
- options
7934
- );
8253
+ return _SeamHttpSeamCustomerV1.fromClientSessionToken(token, options);
7935
8254
  }
7936
8255
  static fromConsoleSessionToken(consoleSessionToken, workspaceId, options = {}) {
7937
8256
  const constructorOptions = { ...options, consoleSessionToken, workspaceId };
@@ -7940,7 +8259,7 @@ var SeamHttpSeamPartnerV1BuildingBlocks = class _SeamHttpSeamPartnerV1BuildingBl
7940
8259
  "Missing consoleSessionToken or workspaceId"
7941
8260
  );
7942
8261
  }
7943
- return new _SeamHttpSeamPartnerV1BuildingBlocks(constructorOptions);
8262
+ return new _SeamHttpSeamCustomerV1(constructorOptions);
7944
8263
  }
7945
8264
  static fromPersonalAccessToken(personalAccessToken, workspaceId, options = {}) {
7946
8265
  const constructorOptions = { ...options, personalAccessToken, workspaceId };
@@ -7949,7 +8268,7 @@ var SeamHttpSeamPartnerV1BuildingBlocks = class _SeamHttpSeamPartnerV1BuildingBl
7949
8268
  "Missing personalAccessToken or workspaceId"
7950
8269
  );
7951
8270
  }
7952
- return new _SeamHttpSeamPartnerV1BuildingBlocks(constructorOptions);
8271
+ return new _SeamHttpSeamCustomerV1(constructorOptions);
7953
8272
  }
7954
8273
  createPaginator(request) {
7955
8274
  return new SeamPaginator(this, request);
@@ -7970,22 +8289,90 @@ var SeamHttpSeamPartnerV1BuildingBlocks = class _SeamHttpSeamPartnerV1BuildingBl
7970
8289
  const clientSessions = SeamHttpClientSessions.fromClient(this.client);
7971
8290
  await clientSessions.get();
7972
8291
  }
8292
+ get accessGrants() {
8293
+ return SeamHttpSeamCustomerV1AccessGrants.fromClient(
8294
+ this.client,
8295
+ this.defaults
8296
+ );
8297
+ }
8298
+ get accessMethods() {
8299
+ return SeamHttpSeamCustomerV1AccessMethods.fromClient(
8300
+ this.client,
8301
+ this.defaults
8302
+ );
8303
+ }
8304
+ get automationRuns() {
8305
+ return SeamHttpSeamCustomerV1AutomationRuns.fromClient(
8306
+ this.client,
8307
+ this.defaults
8308
+ );
8309
+ }
8310
+ get automations() {
8311
+ return SeamHttpSeamCustomerV1Automations.fromClient(
8312
+ this.client,
8313
+ this.defaults
8314
+ );
8315
+ }
8316
+ get connectorCustomers() {
8317
+ return SeamHttpSeamCustomerV1ConnectorCustomers.fromClient(
8318
+ this.client,
8319
+ this.defaults
8320
+ );
8321
+ }
8322
+ get connectors() {
8323
+ return SeamHttpSeamCustomerV1Connectors.fromClient(
8324
+ this.client,
8325
+ this.defaults
8326
+ );
8327
+ }
8328
+ get customers() {
8329
+ return SeamHttpSeamCustomerV1Customers.fromClient(
8330
+ this.client,
8331
+ this.defaults
8332
+ );
8333
+ }
8334
+ get encoders() {
8335
+ return SeamHttpSeamCustomerV1Encoders.fromClient(this.client, this.defaults);
8336
+ }
8337
+ get events() {
8338
+ return SeamHttpSeamCustomerV1Events.fromClient(this.client, this.defaults);
8339
+ }
8340
+ get portals() {
8341
+ return SeamHttpSeamCustomerV1Portals.fromClient(this.client, this.defaults);
8342
+ }
8343
+ get reservations() {
8344
+ return SeamHttpSeamCustomerV1Reservations.fromClient(
8345
+ this.client,
8346
+ this.defaults
8347
+ );
8348
+ }
8349
+ get settings() {
8350
+ return SeamHttpSeamCustomerV1Settings.fromClient(this.client, this.defaults);
8351
+ }
7973
8352
  get spaces() {
7974
- return SeamHttpSeamPartnerV1BuildingBlocksSpaces.fromClient(
8353
+ return SeamHttpSeamCustomerV1Spaces.fromClient(this.client, this.defaults);
8354
+ }
8355
+ get staffMembers() {
8356
+ return SeamHttpSeamCustomerV1StaffMembers.fromClient(
7975
8357
  this.client,
7976
8358
  this.defaults
7977
8359
  );
7978
8360
  }
7979
8361
  };
7980
8362
 
7981
- // src/lib/seam/connect/routes/seam/v1/customers/customers.ts
7982
- var SeamHttpSeamV1Customers = class _SeamHttpSeamV1Customers {
8363
+ // src/lib/seam/connect/routes/seam/partner/v1/building-blocks/spaces/spaces.ts
8364
+ var SeamHttpSeamPartnerV1BuildingBlocksSpaces = class _SeamHttpSeamPartnerV1BuildingBlocksSpaces {
7983
8365
  client;
7984
8366
  defaults;
7985
8367
  ltsVersion = seamApiLtsVersion;
7986
8368
  static ltsVersion = seamApiLtsVersion;
7987
8369
  constructor(apiKeyOrOptions = {}) {
7988
8370
  const options = parseOptions(apiKeyOrOptions);
8371
+ if (!options.isUndocumentedApiEnabled) {
8372
+ throw new Error(
8373
+ "Cannot use undocumented API without isUndocumentedApiEnabled"
8374
+ );
8375
+ }
7989
8376
  this.client = "client" in options ? options.client : createClient(options);
7990
8377
  this.defaults = limitToSeamHttpRequestOptions(options);
7991
8378
  }
@@ -7994,28 +8381,28 @@ var SeamHttpSeamV1Customers = class _SeamHttpSeamV1Customers {
7994
8381
  if (!isSeamHttpOptionsWithClient(constructorOptions)) {
7995
8382
  throw new SeamHttpInvalidOptionsError("Missing client");
7996
8383
  }
7997
- return new _SeamHttpSeamV1Customers(constructorOptions);
8384
+ return new _SeamHttpSeamPartnerV1BuildingBlocksSpaces(constructorOptions);
7998
8385
  }
7999
8386
  static fromApiKey(apiKey, options = {}) {
8000
8387
  const constructorOptions = { ...options, apiKey };
8001
8388
  if (!isSeamHttpOptionsWithApiKey(constructorOptions)) {
8002
8389
  throw new SeamHttpInvalidOptionsError("Missing apiKey");
8003
8390
  }
8004
- return new _SeamHttpSeamV1Customers(constructorOptions);
8391
+ return new _SeamHttpSeamPartnerV1BuildingBlocksSpaces(constructorOptions);
8005
8392
  }
8006
8393
  static fromClientSessionToken(clientSessionToken, options = {}) {
8007
8394
  const constructorOptions = { ...options, clientSessionToken };
8008
8395
  if (!isSeamHttpOptionsWithClientSessionToken(constructorOptions)) {
8009
8396
  throw new SeamHttpInvalidOptionsError("Missing clientSessionToken");
8010
8397
  }
8011
- return new _SeamHttpSeamV1Customers(constructorOptions);
8398
+ return new _SeamHttpSeamPartnerV1BuildingBlocksSpaces(constructorOptions);
8012
8399
  }
8013
8400
  static async fromPublishableKey(publishableKey, userIdentifierKey, options = {}) {
8014
8401
  warnOnInsecureuserIdentifierKey(userIdentifierKey);
8015
8402
  const clientOptions = parseOptions({ ...options, publishableKey });
8016
8403
  if (isSeamHttpOptionsWithClient(clientOptions)) {
8017
8404
  throw new SeamHttpInvalidOptionsError(
8018
- "The client option cannot be used with SeamHttpSeamV1Customers.fromPublishableKey"
8405
+ "The client option cannot be used with SeamHttpSeamPartnerV1BuildingBlocksSpaces.fromPublishableKey"
8019
8406
  );
8020
8407
  }
8021
8408
  const client = createClient(clientOptions);
@@ -8023,7 +8410,10 @@ var SeamHttpSeamV1Customers = class _SeamHttpSeamV1Customers {
8023
8410
  const { token } = await clientSessions.getOrCreate({
8024
8411
  user_identifier_key: userIdentifierKey
8025
8412
  });
8026
- return _SeamHttpSeamV1Customers.fromClientSessionToken(token, options);
8413
+ return _SeamHttpSeamPartnerV1BuildingBlocksSpaces.fromClientSessionToken(
8414
+ token,
8415
+ options
8416
+ );
8027
8417
  }
8028
8418
  static fromConsoleSessionToken(consoleSessionToken, workspaceId, options = {}) {
8029
8419
  const constructorOptions = { ...options, consoleSessionToken, workspaceId };
@@ -8032,7 +8422,7 @@ var SeamHttpSeamV1Customers = class _SeamHttpSeamV1Customers {
8032
8422
  "Missing consoleSessionToken or workspaceId"
8033
8423
  );
8034
8424
  }
8035
- return new _SeamHttpSeamV1Customers(constructorOptions);
8425
+ return new _SeamHttpSeamPartnerV1BuildingBlocksSpaces(constructorOptions);
8036
8426
  }
8037
8427
  static fromPersonalAccessToken(personalAccessToken, workspaceId, options = {}) {
8038
8428
  const constructorOptions = { ...options, personalAccessToken, workspaceId };
@@ -8041,7 +8431,7 @@ var SeamHttpSeamV1Customers = class _SeamHttpSeamV1Customers {
8041
8431
  "Missing personalAccessToken or workspaceId"
8042
8432
  );
8043
8433
  }
8044
- return new _SeamHttpSeamV1Customers(constructorOptions);
8434
+ return new _SeamHttpSeamPartnerV1BuildingBlocksSpaces(constructorOptions);
8045
8435
  }
8046
8436
  createPaginator(request) {
8047
8437
  return new SeamPaginator(this, request);
@@ -8062,25 +8452,35 @@ var SeamHttpSeamV1Customers = class _SeamHttpSeamV1Customers {
8062
8452
  const clientSessions = SeamHttpClientSessions.fromClient(this.client);
8063
8453
  await clientSessions.get();
8064
8454
  }
8065
- pushData(parameters, options = {}) {
8455
+ autoMap(parameters, options = {}) {
8456
+ if (!this.defaults.isUndocumentedApiEnabled) {
8457
+ throw new Error(
8458
+ "Cannot use undocumented API without isUndocumentedApiEnabled"
8459
+ );
8460
+ }
8066
8461
  return new SeamHttpRequest(this, {
8067
- pathname: "/seam/v1/customers/push_data",
8462
+ pathname: "/seam/partner/v1/building_blocks/spaces/auto_map",
8068
8463
  method: "POST",
8069
8464
  body: parameters,
8070
- responseKey: void 0,
8465
+ responseKey: "spaces",
8071
8466
  options
8072
8467
  });
8073
8468
  }
8074
8469
  };
8075
8470
 
8076
- // src/lib/seam/connect/routes/seam/v1/v1.ts
8077
- var SeamHttpSeamV1 = class _SeamHttpSeamV1 {
8471
+ // src/lib/seam/connect/routes/seam/partner/v1/building-blocks/building-blocks.ts
8472
+ var SeamHttpSeamPartnerV1BuildingBlocks = class _SeamHttpSeamPartnerV1BuildingBlocks {
8078
8473
  client;
8079
8474
  defaults;
8080
8475
  ltsVersion = seamApiLtsVersion;
8081
8476
  static ltsVersion = seamApiLtsVersion;
8082
8477
  constructor(apiKeyOrOptions = {}) {
8083
8478
  const options = parseOptions(apiKeyOrOptions);
8479
+ if (!options.isUndocumentedApiEnabled) {
8480
+ throw new Error(
8481
+ "Cannot use undocumented API without isUndocumentedApiEnabled"
8482
+ );
8483
+ }
8084
8484
  this.client = "client" in options ? options.client : createClient(options);
8085
8485
  this.defaults = limitToSeamHttpRequestOptions(options);
8086
8486
  }
@@ -8089,28 +8489,28 @@ var SeamHttpSeamV1 = class _SeamHttpSeamV1 {
8089
8489
  if (!isSeamHttpOptionsWithClient(constructorOptions)) {
8090
8490
  throw new SeamHttpInvalidOptionsError("Missing client");
8091
8491
  }
8092
- return new _SeamHttpSeamV1(constructorOptions);
8492
+ return new _SeamHttpSeamPartnerV1BuildingBlocks(constructorOptions);
8093
8493
  }
8094
8494
  static fromApiKey(apiKey, options = {}) {
8095
8495
  const constructorOptions = { ...options, apiKey };
8096
8496
  if (!isSeamHttpOptionsWithApiKey(constructorOptions)) {
8097
8497
  throw new SeamHttpInvalidOptionsError("Missing apiKey");
8098
8498
  }
8099
- return new _SeamHttpSeamV1(constructorOptions);
8499
+ return new _SeamHttpSeamPartnerV1BuildingBlocks(constructorOptions);
8100
8500
  }
8101
8501
  static fromClientSessionToken(clientSessionToken, options = {}) {
8102
8502
  const constructorOptions = { ...options, clientSessionToken };
8103
8503
  if (!isSeamHttpOptionsWithClientSessionToken(constructorOptions)) {
8104
8504
  throw new SeamHttpInvalidOptionsError("Missing clientSessionToken");
8105
8505
  }
8106
- return new _SeamHttpSeamV1(constructorOptions);
8506
+ return new _SeamHttpSeamPartnerV1BuildingBlocks(constructorOptions);
8107
8507
  }
8108
8508
  static async fromPublishableKey(publishableKey, userIdentifierKey, options = {}) {
8109
8509
  warnOnInsecureuserIdentifierKey(userIdentifierKey);
8110
8510
  const clientOptions = parseOptions({ ...options, publishableKey });
8111
8511
  if (isSeamHttpOptionsWithClient(clientOptions)) {
8112
8512
  throw new SeamHttpInvalidOptionsError(
8113
- "The client option cannot be used with SeamHttpSeamV1.fromPublishableKey"
8513
+ "The client option cannot be used with SeamHttpSeamPartnerV1BuildingBlocks.fromPublishableKey"
8114
8514
  );
8115
8515
  }
8116
8516
  const client = createClient(clientOptions);
@@ -8118,7 +8518,10 @@ var SeamHttpSeamV1 = class _SeamHttpSeamV1 {
8118
8518
  const { token } = await clientSessions.getOrCreate({
8119
8519
  user_identifier_key: userIdentifierKey
8120
8520
  });
8121
- return _SeamHttpSeamV1.fromClientSessionToken(token, options);
8521
+ return _SeamHttpSeamPartnerV1BuildingBlocks.fromClientSessionToken(
8522
+ token,
8523
+ options
8524
+ );
8122
8525
  }
8123
8526
  static fromConsoleSessionToken(consoleSessionToken, workspaceId, options = {}) {
8124
8527
  const constructorOptions = { ...options, consoleSessionToken, workspaceId };
@@ -8127,7 +8530,7 @@ var SeamHttpSeamV1 = class _SeamHttpSeamV1 {
8127
8530
  "Missing consoleSessionToken or workspaceId"
8128
8531
  );
8129
8532
  }
8130
- return new _SeamHttpSeamV1(constructorOptions);
8533
+ return new _SeamHttpSeamPartnerV1BuildingBlocks(constructorOptions);
8131
8534
  }
8132
8535
  static fromPersonalAccessToken(personalAccessToken, workspaceId, options = {}) {
8133
8536
  const constructorOptions = { ...options, personalAccessToken, workspaceId };
@@ -8136,7 +8539,7 @@ var SeamHttpSeamV1 = class _SeamHttpSeamV1 {
8136
8539
  "Missing personalAccessToken or workspaceId"
8137
8540
  );
8138
8541
  }
8139
- return new _SeamHttpSeamV1(constructorOptions);
8542
+ return new _SeamHttpSeamPartnerV1BuildingBlocks(constructorOptions);
8140
8543
  }
8141
8544
  createPaginator(request) {
8142
8545
  return new SeamPaginator(this, request);
@@ -8157,8 +8560,11 @@ var SeamHttpSeamV1 = class _SeamHttpSeamV1 {
8157
8560
  const clientSessions = SeamHttpClientSessions.fromClient(this.client);
8158
8561
  await clientSessions.get();
8159
8562
  }
8160
- get customers() {
8161
- return SeamHttpSeamV1Customers.fromClient(this.client, this.defaults);
8563
+ get spaces() {
8564
+ return SeamHttpSeamPartnerV1BuildingBlocksSpaces.fromClient(
8565
+ this.client,
8566
+ this.defaults
8567
+ );
8162
8568
  }
8163
8569
  };
8164
8570
 
@@ -10372,6 +10778,13 @@ var SeamHttpEndpoints = class _SeamHttpEndpoints {
10372
10778
  return seam.get(...args);
10373
10779
  };
10374
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
+ }
10375
10788
  get "/access_codes/list"() {
10376
10789
  const { client, defaults } = this;
10377
10790
  return function accessCodesList(...args) {
@@ -11154,6 +11567,13 @@ var SeamHttpEndpoints = class _SeamHttpEndpoints {
11154
11567
  return seam.pushData(...args);
11155
11568
  };
11156
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
+ }
11157
11577
  get "/devices/delete"() {
11158
11578
  const { client, defaults } = this;
11159
11579
  if (!this.defaults.isUndocumentedApiEnabled) {
@@ -11472,6 +11892,36 @@ var SeamHttpEndpoints = class _SeamHttpEndpoints {
11472
11892
  return seam.list(...args);
11473
11893
  };
11474
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
+ }
11475
11925
  get "/seam/customer/v1/automation_runs/list"() {
11476
11926
  const { client, defaults } = this;
11477
11927
  if (!this.defaults.isUndocumentedApiEnabled) {
@@ -11532,6 +11982,21 @@ var SeamHttpEndpoints = class _SeamHttpEndpoints {
11532
11982
  return seam.update(...args);
11533
11983
  };
11534
11984
  }
11985
+ get "/seam/customer/v1/connector_customers/list"() {
11986
+ const { client, defaults } = this;
11987
+ if (!this.defaults.isUndocumentedApiEnabled) {
11988
+ throw new Error(
11989
+ "Cannot use undocumented API without isUndocumentedApiEnabled"
11990
+ );
11991
+ }
11992
+ return function seamCustomerV1ConnectorCustomersList(...args) {
11993
+ const seam = SeamHttpSeamCustomerV1ConnectorCustomers.fromClient(
11994
+ client,
11995
+ defaults
11996
+ );
11997
+ return seam.list(...args);
11998
+ };
11999
+ }
11535
12000
  get "/seam/customer/v1/connectors/authorize"() {
11536
12001
  const { client, defaults } = this;
11537
12002
  if (!this.defaults.isUndocumentedApiEnabled) {
@@ -11628,6 +12093,13 @@ var SeamHttpEndpoints = class _SeamHttpEndpoints {
11628
12093
  return seam.list(...args);
11629
12094
  };
11630
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
+ }
11631
12103
  get "/seam/customer/v1/customers/open_portal"() {
11632
12104
  const { client, defaults } = this;
11633
12105
  if (!this.defaults.isUndocumentedApiEnabled) {
@@ -11640,6 +12112,18 @@ var SeamHttpEndpoints = class _SeamHttpEndpoints {
11640
12112
  return seam.openPortal(...args);
11641
12113
  };
11642
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
+ }
11643
12127
  get "/seam/customer/v1/events/list"() {
11644
12128
  const { client, defaults } = this;
11645
12129
  if (!this.defaults.isUndocumentedApiEnabled) {
@@ -11718,6 +12202,21 @@ var SeamHttpEndpoints = class _SeamHttpEndpoints {
11718
12202
  return seam.update(...args);
11719
12203
  };
11720
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
+ }
11721
12220
  get "/seam/customer/v1/spaces/create"() {
11722
12221
  const { client, defaults } = this;
11723
12222
  if (!this.defaults.isUndocumentedApiEnabled) {
@@ -11754,6 +12253,13 @@ var SeamHttpEndpoints = class _SeamHttpEndpoints {
11754
12253
  return seam.listReservations(...args);
11755
12254
  };
11756
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
+ }
11757
12263
  get "/seam/customer/v1/staff_members/get"() {
11758
12264
  const { client, defaults } = this;
11759
12265
  if (!this.defaults.isUndocumentedApiEnabled) {
@@ -11799,13 +12305,6 @@ var SeamHttpEndpoints = class _SeamHttpEndpoints {
11799
12305
  return seam.autoMap(...args);
11800
12306
  };
11801
12307
  }
11802
- get "/seam/v1/customers/push_data"() {
11803
- const { client, defaults } = this;
11804
- return function seamV1CustomersPushData(...args) {
11805
- const seam = SeamHttpSeamV1Customers.fromClient(client, defaults);
11806
- return seam.pushData(...args);
11807
- };
11808
- }
11809
12308
  get "/spaces/add_acs_entrances"() {
11810
12309
  const { client, defaults } = this;
11811
12310
  return function spacesAddAcsEntrances(...args) {
@@ -12599,6 +13098,7 @@ exports.SeamHttpConnectWebviews = SeamHttpConnectWebviews;
12599
13098
  exports.SeamHttpConnectedAccounts = SeamHttpConnectedAccounts;
12600
13099
  exports.SeamHttpConnectedAccountsSimulate = SeamHttpConnectedAccountsSimulate;
12601
13100
  exports.SeamHttpCustomers = SeamHttpCustomers;
13101
+ exports.SeamHttpCustomersReservations = SeamHttpCustomersReservations;
12602
13102
  exports.SeamHttpDevices = SeamHttpDevices;
12603
13103
  exports.SeamHttpDevicesSimulate = SeamHttpDevicesSimulate;
12604
13104
  exports.SeamHttpDevicesUnmanaged = SeamHttpDevicesUnmanaged;
@@ -12623,20 +13123,22 @@ exports.SeamHttpSeamConsoleV1 = SeamHttpSeamConsoleV1;
12623
13123
  exports.SeamHttpSeamConsoleV1Timelines = SeamHttpSeamConsoleV1Timelines;
12624
13124
  exports.SeamHttpSeamCustomerV1 = SeamHttpSeamCustomerV1;
12625
13125
  exports.SeamHttpSeamCustomerV1AccessGrants = SeamHttpSeamCustomerV1AccessGrants;
13126
+ exports.SeamHttpSeamCustomerV1AccessMethods = SeamHttpSeamCustomerV1AccessMethods;
12626
13127
  exports.SeamHttpSeamCustomerV1AutomationRuns = SeamHttpSeamCustomerV1AutomationRuns;
12627
13128
  exports.SeamHttpSeamCustomerV1Automations = SeamHttpSeamCustomerV1Automations;
13129
+ exports.SeamHttpSeamCustomerV1ConnectorCustomers = SeamHttpSeamCustomerV1ConnectorCustomers;
12628
13130
  exports.SeamHttpSeamCustomerV1Connectors = SeamHttpSeamCustomerV1Connectors;
12629
13131
  exports.SeamHttpSeamCustomerV1Customers = SeamHttpSeamCustomerV1Customers;
13132
+ exports.SeamHttpSeamCustomerV1Encoders = SeamHttpSeamCustomerV1Encoders;
12630
13133
  exports.SeamHttpSeamCustomerV1Events = SeamHttpSeamCustomerV1Events;
12631
13134
  exports.SeamHttpSeamCustomerV1Portals = SeamHttpSeamCustomerV1Portals;
12632
13135
  exports.SeamHttpSeamCustomerV1Reservations = SeamHttpSeamCustomerV1Reservations;
12633
13136
  exports.SeamHttpSeamCustomerV1Settings = SeamHttpSeamCustomerV1Settings;
13137
+ exports.SeamHttpSeamCustomerV1SettingsVerticalResourceAliases = SeamHttpSeamCustomerV1SettingsVerticalResourceAliases;
12634
13138
  exports.SeamHttpSeamCustomerV1Spaces = SeamHttpSeamCustomerV1Spaces;
12635
13139
  exports.SeamHttpSeamCustomerV1StaffMembers = SeamHttpSeamCustomerV1StaffMembers;
12636
13140
  exports.SeamHttpSeamPartnerV1BuildingBlocks = SeamHttpSeamPartnerV1BuildingBlocks;
12637
13141
  exports.SeamHttpSeamPartnerV1BuildingBlocksSpaces = SeamHttpSeamPartnerV1BuildingBlocksSpaces;
12638
- exports.SeamHttpSeamV1 = SeamHttpSeamV1;
12639
- exports.SeamHttpSeamV1Customers = SeamHttpSeamV1Customers;
12640
13142
  exports.SeamHttpSpaces = SeamHttpSpaces;
12641
13143
  exports.SeamHttpThermostats = SeamHttpThermostats;
12642
13144
  exports.SeamHttpThermostatsDailyPrograms = SeamHttpThermostatsDailyPrograms;