@seamapi/http 1.57.0 → 1.59.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/dist/connect.cjs +200 -328
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +90 -146
  4. package/dist/index.cjs +202 -330
  5. package/dist/index.cjs.map +1 -1
  6. package/dist/index.d.cts +1 -1
  7. package/lib/seam/connect/routes/index.d.ts +0 -1
  8. package/lib/seam/connect/routes/index.js +0 -1
  9. package/lib/seam/connect/routes/index.js.map +1 -1
  10. package/lib/seam/connect/routes/seam-http-endpoints.d.ts +8 -12
  11. package/lib/seam/connect/routes/seam-http-endpoints.js +39 -91
  12. package/lib/seam/connect/routes/seam-http-endpoints.js.map +1 -1
  13. package/lib/seam/connect/routes/seam-http.d.ts +0 -2
  14. package/lib/seam/connect/routes/seam-http.js +0 -4
  15. package/lib/seam/connect/routes/seam-http.js.map +1 -1
  16. package/lib/seam/connect/routes/workspaces/customization-profiles/customization-profiles.d.ts +86 -0
  17. package/lib/seam/connect/routes/{unstable-locations/unstable-locations.js → workspaces/customization-profiles/customization-profiles.js} +29 -92
  18. package/lib/seam/connect/routes/workspaces/customization-profiles/customization-profiles.js.map +1 -0
  19. package/lib/seam/connect/routes/workspaces/customization-profiles/index.d.ts +1 -0
  20. package/lib/seam/connect/routes/{unstable-locations → workspaces/customization-profiles}/index.js +1 -1
  21. package/lib/seam/connect/routes/workspaces/customization-profiles/index.js.map +1 -0
  22. package/lib/seam/connect/routes/workspaces/index.d.ts +1 -0
  23. package/lib/seam/connect/routes/workspaces/index.js +1 -0
  24. package/lib/seam/connect/routes/workspaces/index.js.map +1 -1
  25. package/lib/seam/connect/routes/workspaces/workspaces.d.ts +2 -0
  26. package/lib/seam/connect/routes/workspaces/workspaces.js +4 -0
  27. package/lib/seam/connect/routes/workspaces/workspaces.js.map +1 -1
  28. package/lib/version.d.ts +1 -1
  29. package/lib/version.js +1 -1
  30. package/package.json +3 -3
  31. package/src/lib/seam/connect/routes/index.ts +0 -1
  32. package/src/lib/seam/connect/routes/seam-http-endpoints.ts +110 -201
  33. package/src/lib/seam/connect/routes/seam-http.ts +0 -5
  34. package/src/lib/seam/connect/routes/workspaces/customization-profiles/customization-profiles.ts +361 -0
  35. package/src/lib/seam/connect/routes/{unstable-locations → workspaces/customization-profiles}/index.ts +1 -1
  36. package/src/lib/seam/connect/routes/workspaces/index.ts +1 -0
  37. package/src/lib/seam/connect/routes/workspaces/workspaces.ts +9 -0
  38. package/src/lib/version.ts +1 -1
  39. package/lib/seam/connect/routes/unstable-locations/index.d.ts +0 -1
  40. package/lib/seam/connect/routes/unstable-locations/index.js.map +0 -1
  41. package/lib/seam/connect/routes/unstable-locations/unstable-locations.d.ts +0 -138
  42. package/lib/seam/connect/routes/unstable-locations/unstable-locations.js.map +0 -1
  43. package/src/lib/seam/connect/routes/unstable-locations/unstable-locations.ts +0 -544
package/dist/index.cjs CHANGED
@@ -121,7 +121,6 @@ __export(index_exports, {
121
121
  SeamHttpThermostatsSchedules: () => SeamHttpThermostatsSchedules,
122
122
  SeamHttpThermostatsSimulate: () => SeamHttpThermostatsSimulate,
123
123
  SeamHttpUnauthorizedError: () => SeamHttpUnauthorizedError,
124
- SeamHttpUnstableLocations: () => SeamHttpUnstableLocations,
125
124
  SeamHttpUnstablePartner: () => SeamHttpUnstablePartner,
126
125
  SeamHttpUnstablePartnerBuildingBlocks: () => SeamHttpUnstablePartnerBuildingBlocks,
127
126
  SeamHttpUserIdentities: () => SeamHttpUserIdentities,
@@ -130,6 +129,7 @@ __export(index_exports, {
130
129
  SeamHttpWithoutWorkspace: () => SeamHttpWithoutWorkspace,
131
130
  SeamHttpWithoutWorkspaceInvalidOptionsError: () => SeamHttpWithoutWorkspaceInvalidOptionsError,
132
131
  SeamHttpWorkspaces: () => SeamHttpWorkspaces,
132
+ SeamHttpWorkspacesCustomizationProfiles: () => SeamHttpWorkspacesCustomizationProfiles,
133
133
  SeamPaginator: () => SeamPaginator,
134
134
  errorInterceptor: () => errorInterceptor,
135
135
  getOpenapiSchema: () => getOpenapiSchema,
@@ -221,7 +221,6 @@ __export(connect_exports, {
221
221
  SeamHttpThermostatsSchedules: () => SeamHttpThermostatsSchedules,
222
222
  SeamHttpThermostatsSimulate: () => SeamHttpThermostatsSimulate,
223
223
  SeamHttpUnauthorizedError: () => SeamHttpUnauthorizedError,
224
- SeamHttpUnstableLocations: () => SeamHttpUnstableLocations,
225
224
  SeamHttpUnstablePartner: () => SeamHttpUnstablePartner,
226
225
  SeamHttpUnstablePartnerBuildingBlocks: () => SeamHttpUnstablePartnerBuildingBlocks,
227
226
  SeamHttpUserIdentities: () => SeamHttpUserIdentities,
@@ -230,6 +229,7 @@ __export(connect_exports, {
230
229
  SeamHttpWithoutWorkspace: () => SeamHttpWithoutWorkspace,
231
230
  SeamHttpWithoutWorkspaceInvalidOptionsError: () => SeamHttpWithoutWorkspaceInvalidOptionsError,
232
231
  SeamHttpWorkspaces: () => SeamHttpWorkspaces,
232
+ SeamHttpWorkspacesCustomizationProfiles: () => SeamHttpWorkspacesCustomizationProfiles,
233
233
  SeamPaginator: () => SeamPaginator,
234
234
  errorInterceptor: () => errorInterceptor,
235
235
  getOpenapiSchema: () => getOpenapiSchema,
@@ -7355,222 +7355,6 @@ var _SeamHttpThermostats = class _SeamHttpThermostats {
7355
7355
  _SeamHttpThermostats.ltsVersion = seamApiLtsVersion;
7356
7356
  var SeamHttpThermostats = _SeamHttpThermostats;
7357
7357
 
7358
- // src/lib/seam/connect/routes/unstable-locations/unstable-locations.ts
7359
- var _SeamHttpUnstableLocations = class _SeamHttpUnstableLocations {
7360
- constructor(apiKeyOrOptions = {}) {
7361
- this.ltsVersion = seamApiLtsVersion;
7362
- const options = parseOptions(apiKeyOrOptions);
7363
- if (!options.isUndocumentedApiEnabled) {
7364
- throw new Error(
7365
- "Cannot use undocumented API without isUndocumentedApiEnabled"
7366
- );
7367
- }
7368
- this.client = "client" in options ? options.client : createClient(options);
7369
- this.defaults = limitToSeamHttpRequestOptions(options);
7370
- }
7371
- static fromClient(client, options = {}) {
7372
- const constructorOptions = { ...options, client };
7373
- if (!isSeamHttpOptionsWithClient(constructorOptions)) {
7374
- throw new SeamHttpInvalidOptionsError("Missing client");
7375
- }
7376
- return new _SeamHttpUnstableLocations(constructorOptions);
7377
- }
7378
- static fromApiKey(apiKey, options = {}) {
7379
- const constructorOptions = { ...options, apiKey };
7380
- if (!isSeamHttpOptionsWithApiKey(constructorOptions)) {
7381
- throw new SeamHttpInvalidOptionsError("Missing apiKey");
7382
- }
7383
- return new _SeamHttpUnstableLocations(constructorOptions);
7384
- }
7385
- static fromClientSessionToken(clientSessionToken, options = {}) {
7386
- const constructorOptions = { ...options, clientSessionToken };
7387
- if (!isSeamHttpOptionsWithClientSessionToken(constructorOptions)) {
7388
- throw new SeamHttpInvalidOptionsError("Missing clientSessionToken");
7389
- }
7390
- return new _SeamHttpUnstableLocations(constructorOptions);
7391
- }
7392
- static async fromPublishableKey(publishableKey, userIdentifierKey, options = {}) {
7393
- warnOnInsecureuserIdentifierKey(userIdentifierKey);
7394
- const clientOptions = parseOptions({ ...options, publishableKey });
7395
- if (isSeamHttpOptionsWithClient(clientOptions)) {
7396
- throw new SeamHttpInvalidOptionsError(
7397
- "The client option cannot be used with SeamHttpUnstableLocations.fromPublishableKey"
7398
- );
7399
- }
7400
- const client = createClient(clientOptions);
7401
- const clientSessions = SeamHttpClientSessions.fromClient(client);
7402
- const { token } = await clientSessions.getOrCreate({
7403
- user_identifier_key: userIdentifierKey
7404
- });
7405
- return _SeamHttpUnstableLocations.fromClientSessionToken(token, options);
7406
- }
7407
- static fromConsoleSessionToken(consoleSessionToken, workspaceId, options = {}) {
7408
- const constructorOptions = { ...options, consoleSessionToken, workspaceId };
7409
- if (!isSeamHttpOptionsWithConsoleSessionToken(constructorOptions)) {
7410
- throw new SeamHttpInvalidOptionsError(
7411
- "Missing consoleSessionToken or workspaceId"
7412
- );
7413
- }
7414
- return new _SeamHttpUnstableLocations(constructorOptions);
7415
- }
7416
- static fromPersonalAccessToken(personalAccessToken, workspaceId, options = {}) {
7417
- const constructorOptions = { ...options, personalAccessToken, workspaceId };
7418
- if (!isSeamHttpOptionsWithPersonalAccessToken(constructorOptions)) {
7419
- throw new SeamHttpInvalidOptionsError(
7420
- "Missing personalAccessToken or workspaceId"
7421
- );
7422
- }
7423
- return new _SeamHttpUnstableLocations(constructorOptions);
7424
- }
7425
- createPaginator(request) {
7426
- return new SeamPaginator(this, request);
7427
- }
7428
- async updateClientSessionToken(clientSessionToken) {
7429
- const { headers } = this.client.defaults;
7430
- const authHeaders = getAuthHeadersForClientSessionToken({
7431
- clientSessionToken
7432
- });
7433
- for (const key of Object.keys(authHeaders)) {
7434
- if (headers[key] == null) {
7435
- throw new Error(
7436
- "Cannot update a clientSessionToken on a client created without a clientSessionToken"
7437
- );
7438
- }
7439
- }
7440
- this.client.defaults.headers = { ...headers, ...authHeaders };
7441
- const clientSessions = SeamHttpClientSessions.fromClient(this.client);
7442
- await clientSessions.get();
7443
- }
7444
- addAcsEntrances(parameters, options = {}) {
7445
- if (!this.defaults.isUndocumentedApiEnabled) {
7446
- throw new Error(
7447
- "Cannot use undocumented API without isUndocumentedApiEnabled"
7448
- );
7449
- }
7450
- return new SeamHttpRequest(this, {
7451
- pathname: "/unstable_locations/add_acs_entrances",
7452
- method: "PUT",
7453
- body: parameters,
7454
- responseKey: void 0,
7455
- options
7456
- });
7457
- }
7458
- addDevices(parameters, options = {}) {
7459
- if (!this.defaults.isUndocumentedApiEnabled) {
7460
- throw new Error(
7461
- "Cannot use undocumented API without isUndocumentedApiEnabled"
7462
- );
7463
- }
7464
- return new SeamHttpRequest(this, {
7465
- pathname: "/unstable_locations/add_devices",
7466
- method: "PUT",
7467
- body: parameters,
7468
- responseKey: void 0,
7469
- options
7470
- });
7471
- }
7472
- create(parameters, options = {}) {
7473
- if (!this.defaults.isUndocumentedApiEnabled) {
7474
- throw new Error(
7475
- "Cannot use undocumented API without isUndocumentedApiEnabled"
7476
- );
7477
- }
7478
- return new SeamHttpRequest(this, {
7479
- pathname: "/unstable_locations/create",
7480
- method: "POST",
7481
- body: parameters,
7482
- responseKey: "location",
7483
- options
7484
- });
7485
- }
7486
- delete(parameters, options = {}) {
7487
- if (!this.defaults.isUndocumentedApiEnabled) {
7488
- throw new Error(
7489
- "Cannot use undocumented API without isUndocumentedApiEnabled"
7490
- );
7491
- }
7492
- return new SeamHttpRequest(this, {
7493
- pathname: "/unstable_locations/delete",
7494
- method: "POST",
7495
- body: parameters,
7496
- responseKey: void 0,
7497
- options
7498
- });
7499
- }
7500
- get(parameters, options = {}) {
7501
- if (!this.defaults.isUndocumentedApiEnabled) {
7502
- throw new Error(
7503
- "Cannot use undocumented API without isUndocumentedApiEnabled"
7504
- );
7505
- }
7506
- return new SeamHttpRequest(this, {
7507
- pathname: "/unstable_locations/get",
7508
- method: "POST",
7509
- body: parameters,
7510
- responseKey: "location",
7511
- options
7512
- });
7513
- }
7514
- list(parameters, options = {}) {
7515
- if (!this.defaults.isUndocumentedApiEnabled) {
7516
- throw new Error(
7517
- "Cannot use undocumented API without isUndocumentedApiEnabled"
7518
- );
7519
- }
7520
- return new SeamHttpRequest(this, {
7521
- pathname: "/unstable_locations/list",
7522
- method: "GET",
7523
- params: parameters,
7524
- responseKey: "locations",
7525
- options
7526
- });
7527
- }
7528
- removeAcsEntrances(parameters, options = {}) {
7529
- if (!this.defaults.isUndocumentedApiEnabled) {
7530
- throw new Error(
7531
- "Cannot use undocumented API without isUndocumentedApiEnabled"
7532
- );
7533
- }
7534
- return new SeamHttpRequest(this, {
7535
- pathname: "/unstable_locations/remove_acs_entrances",
7536
- method: "POST",
7537
- body: parameters,
7538
- responseKey: void 0,
7539
- options
7540
- });
7541
- }
7542
- removeDevices(parameters, options = {}) {
7543
- if (!this.defaults.isUndocumentedApiEnabled) {
7544
- throw new Error(
7545
- "Cannot use undocumented API without isUndocumentedApiEnabled"
7546
- );
7547
- }
7548
- return new SeamHttpRequest(this, {
7549
- pathname: "/unstable_locations/remove_devices",
7550
- method: "POST",
7551
- body: parameters,
7552
- responseKey: void 0,
7553
- options
7554
- });
7555
- }
7556
- update(parameters, options = {}) {
7557
- if (!this.defaults.isUndocumentedApiEnabled) {
7558
- throw new Error(
7559
- "Cannot use undocumented API without isUndocumentedApiEnabled"
7560
- );
7561
- }
7562
- return new SeamHttpRequest(this, {
7563
- pathname: "/unstable_locations/update",
7564
- method: "PATCH",
7565
- body: parameters,
7566
- responseKey: "location",
7567
- options
7568
- });
7569
- }
7570
- };
7571
- _SeamHttpUnstableLocations.ltsVersion = seamApiLtsVersion;
7572
- var SeamHttpUnstableLocations = _SeamHttpUnstableLocations;
7573
-
7574
7358
  // src/lib/seam/connect/routes/unstable-partner/building-blocks/building-blocks.ts
7575
7359
  var _SeamHttpUnstablePartnerBuildingBlocks = class _SeamHttpUnstablePartnerBuildingBlocks {
7576
7360
  constructor(apiKeyOrOptions = {}) {
@@ -8303,6 +8087,144 @@ var _SeamHttpWebhooks = class _SeamHttpWebhooks {
8303
8087
  _SeamHttpWebhooks.ltsVersion = seamApiLtsVersion;
8304
8088
  var SeamHttpWebhooks = _SeamHttpWebhooks;
8305
8089
 
8090
+ // src/lib/seam/connect/routes/workspaces/customization-profiles/customization-profiles.ts
8091
+ var _SeamHttpWorkspacesCustomizationProfiles = class _SeamHttpWorkspacesCustomizationProfiles {
8092
+ constructor(apiKeyOrOptions = {}) {
8093
+ this.ltsVersion = seamApiLtsVersion;
8094
+ const options = parseOptions(apiKeyOrOptions);
8095
+ this.client = "client" in options ? options.client : createClient(options);
8096
+ this.defaults = limitToSeamHttpRequestOptions(options);
8097
+ }
8098
+ static fromClient(client, options = {}) {
8099
+ const constructorOptions = { ...options, client };
8100
+ if (!isSeamHttpOptionsWithClient(constructorOptions)) {
8101
+ throw new SeamHttpInvalidOptionsError("Missing client");
8102
+ }
8103
+ return new _SeamHttpWorkspacesCustomizationProfiles(constructorOptions);
8104
+ }
8105
+ static fromApiKey(apiKey, options = {}) {
8106
+ const constructorOptions = { ...options, apiKey };
8107
+ if (!isSeamHttpOptionsWithApiKey(constructorOptions)) {
8108
+ throw new SeamHttpInvalidOptionsError("Missing apiKey");
8109
+ }
8110
+ return new _SeamHttpWorkspacesCustomizationProfiles(constructorOptions);
8111
+ }
8112
+ static fromClientSessionToken(clientSessionToken, options = {}) {
8113
+ const constructorOptions = { ...options, clientSessionToken };
8114
+ if (!isSeamHttpOptionsWithClientSessionToken(constructorOptions)) {
8115
+ throw new SeamHttpInvalidOptionsError("Missing clientSessionToken");
8116
+ }
8117
+ return new _SeamHttpWorkspacesCustomizationProfiles(constructorOptions);
8118
+ }
8119
+ static async fromPublishableKey(publishableKey, userIdentifierKey, options = {}) {
8120
+ warnOnInsecureuserIdentifierKey(userIdentifierKey);
8121
+ const clientOptions = parseOptions({ ...options, publishableKey });
8122
+ if (isSeamHttpOptionsWithClient(clientOptions)) {
8123
+ throw new SeamHttpInvalidOptionsError(
8124
+ "The client option cannot be used with SeamHttpWorkspacesCustomizationProfiles.fromPublishableKey"
8125
+ );
8126
+ }
8127
+ const client = createClient(clientOptions);
8128
+ const clientSessions = SeamHttpClientSessions.fromClient(client);
8129
+ const { token } = await clientSessions.getOrCreate({
8130
+ user_identifier_key: userIdentifierKey
8131
+ });
8132
+ return _SeamHttpWorkspacesCustomizationProfiles.fromClientSessionToken(
8133
+ token,
8134
+ options
8135
+ );
8136
+ }
8137
+ static fromConsoleSessionToken(consoleSessionToken, workspaceId, options = {}) {
8138
+ const constructorOptions = { ...options, consoleSessionToken, workspaceId };
8139
+ if (!isSeamHttpOptionsWithConsoleSessionToken(constructorOptions)) {
8140
+ throw new SeamHttpInvalidOptionsError(
8141
+ "Missing consoleSessionToken or workspaceId"
8142
+ );
8143
+ }
8144
+ return new _SeamHttpWorkspacesCustomizationProfiles(constructorOptions);
8145
+ }
8146
+ static fromPersonalAccessToken(personalAccessToken, workspaceId, options = {}) {
8147
+ const constructorOptions = { ...options, personalAccessToken, workspaceId };
8148
+ if (!isSeamHttpOptionsWithPersonalAccessToken(constructorOptions)) {
8149
+ throw new SeamHttpInvalidOptionsError(
8150
+ "Missing personalAccessToken or workspaceId"
8151
+ );
8152
+ }
8153
+ return new _SeamHttpWorkspacesCustomizationProfiles(constructorOptions);
8154
+ }
8155
+ createPaginator(request) {
8156
+ return new SeamPaginator(this, request);
8157
+ }
8158
+ async updateClientSessionToken(clientSessionToken) {
8159
+ const { headers } = this.client.defaults;
8160
+ const authHeaders = getAuthHeadersForClientSessionToken({
8161
+ clientSessionToken
8162
+ });
8163
+ for (const key of Object.keys(authHeaders)) {
8164
+ if (headers[key] == null) {
8165
+ throw new Error(
8166
+ "Cannot update a clientSessionToken on a client created without a clientSessionToken"
8167
+ );
8168
+ }
8169
+ }
8170
+ this.client.defaults.headers = { ...headers, ...authHeaders };
8171
+ const clientSessions = SeamHttpClientSessions.fromClient(this.client);
8172
+ await clientSessions.get();
8173
+ }
8174
+ create(parameters, options = {}) {
8175
+ return new SeamHttpRequest(this, {
8176
+ pathname: "/workspaces/customization_profiles/create",
8177
+ method: "POST",
8178
+ body: parameters,
8179
+ responseKey: "customization_profile",
8180
+ options
8181
+ });
8182
+ }
8183
+ get(parameters, options = {}) {
8184
+ return new SeamHttpRequest(this, {
8185
+ pathname: "/workspaces/customization_profiles/get",
8186
+ method: "POST",
8187
+ body: parameters,
8188
+ responseKey: "customization_profile",
8189
+ options
8190
+ });
8191
+ }
8192
+ list(parameters, options = {}) {
8193
+ return new SeamHttpRequest(this, {
8194
+ pathname: "/workspaces/customization_profiles/list",
8195
+ method: "GET",
8196
+ params: parameters,
8197
+ responseKey: "customization_profiles",
8198
+ options
8199
+ });
8200
+ }
8201
+ update(parameters, options = {}) {
8202
+ return new SeamHttpRequest(this, {
8203
+ pathname: "/workspaces/customization_profiles/update",
8204
+ method: "PATCH",
8205
+ body: parameters,
8206
+ responseKey: void 0,
8207
+ options
8208
+ });
8209
+ }
8210
+ uploadImages(parameters, options = {}) {
8211
+ if (!this.defaults.isUndocumentedApiEnabled) {
8212
+ throw new Error(
8213
+ "Cannot use undocumented API without isUndocumentedApiEnabled"
8214
+ );
8215
+ }
8216
+ return new SeamHttpRequest(this, {
8217
+ pathname: "/workspaces/customization_profiles/upload_images",
8218
+ method: "POST",
8219
+ body: parameters,
8220
+ responseKey: void 0,
8221
+ options
8222
+ });
8223
+ }
8224
+ };
8225
+ _SeamHttpWorkspacesCustomizationProfiles.ltsVersion = seamApiLtsVersion;
8226
+ var SeamHttpWorkspacesCustomizationProfiles = _SeamHttpWorkspacesCustomizationProfiles;
8227
+
8306
8228
  // src/lib/seam/connect/routes/workspaces/workspaces.ts
8307
8229
  var _SeamHttpWorkspaces = class _SeamHttpWorkspaces {
8308
8230
  constructor(apiKeyOrOptions = {}) {
@@ -8384,6 +8306,12 @@ var _SeamHttpWorkspaces = class _SeamHttpWorkspaces {
8384
8306
  const clientSessions = SeamHttpClientSessions.fromClient(this.client);
8385
8307
  await clientSessions.get();
8386
8308
  }
8309
+ get customizationProfiles() {
8310
+ return SeamHttpWorkspacesCustomizationProfiles.fromClient(
8311
+ this.client,
8312
+ this.defaults
8313
+ );
8314
+ }
8387
8315
  create(parameters, options = {}) {
8388
8316
  return new SeamHttpRequest(this, {
8389
8317
  pathname: "/workspaces/create",
@@ -8582,9 +8510,6 @@ var _SeamHttp = class _SeamHttp {
8582
8510
  get thermostats() {
8583
8511
  return SeamHttpThermostats.fromClient(this.client, this.defaults);
8584
8512
  }
8585
- get unstableLocations() {
8586
- return SeamHttpUnstableLocations.fromClient(this.client, this.defaults);
8587
- }
8588
8513
  get unstablePartner() {
8589
8514
  return SeamHttpUnstablePartner.fromClient(this.client, this.defaults);
8590
8515
  }
@@ -10076,114 +10001,6 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
10076
10001
  return seam.temperatureReached(...args);
10077
10002
  };
10078
10003
  }
10079
- get ["/unstable_locations/add_acs_entrances"]() {
10080
- const { client, defaults } = this;
10081
- if (!this.defaults.isUndocumentedApiEnabled) {
10082
- throw new Error(
10083
- "Cannot use undocumented API without isUndocumentedApiEnabled"
10084
- );
10085
- }
10086
- return function unstableLocationsAddAcsEntrances(...args) {
10087
- const seam = SeamHttpUnstableLocations.fromClient(client, defaults);
10088
- return seam.addAcsEntrances(...args);
10089
- };
10090
- }
10091
- get ["/unstable_locations/add_devices"]() {
10092
- const { client, defaults } = this;
10093
- if (!this.defaults.isUndocumentedApiEnabled) {
10094
- throw new Error(
10095
- "Cannot use undocumented API without isUndocumentedApiEnabled"
10096
- );
10097
- }
10098
- return function unstableLocationsAddDevices(...args) {
10099
- const seam = SeamHttpUnstableLocations.fromClient(client, defaults);
10100
- return seam.addDevices(...args);
10101
- };
10102
- }
10103
- get ["/unstable_locations/create"]() {
10104
- const { client, defaults } = this;
10105
- if (!this.defaults.isUndocumentedApiEnabled) {
10106
- throw new Error(
10107
- "Cannot use undocumented API without isUndocumentedApiEnabled"
10108
- );
10109
- }
10110
- return function unstableLocationsCreate(...args) {
10111
- const seam = SeamHttpUnstableLocations.fromClient(client, defaults);
10112
- return seam.create(...args);
10113
- };
10114
- }
10115
- get ["/unstable_locations/delete"]() {
10116
- const { client, defaults } = this;
10117
- if (!this.defaults.isUndocumentedApiEnabled) {
10118
- throw new Error(
10119
- "Cannot use undocumented API without isUndocumentedApiEnabled"
10120
- );
10121
- }
10122
- return function unstableLocationsDelete(...args) {
10123
- const seam = SeamHttpUnstableLocations.fromClient(client, defaults);
10124
- return seam.delete(...args);
10125
- };
10126
- }
10127
- get ["/unstable_locations/get"]() {
10128
- const { client, defaults } = this;
10129
- if (!this.defaults.isUndocumentedApiEnabled) {
10130
- throw new Error(
10131
- "Cannot use undocumented API without isUndocumentedApiEnabled"
10132
- );
10133
- }
10134
- return function unstableLocationsGet(...args) {
10135
- const seam = SeamHttpUnstableLocations.fromClient(client, defaults);
10136
- return seam.get(...args);
10137
- };
10138
- }
10139
- get ["/unstable_locations/list"]() {
10140
- const { client, defaults } = this;
10141
- if (!this.defaults.isUndocumentedApiEnabled) {
10142
- throw new Error(
10143
- "Cannot use undocumented API without isUndocumentedApiEnabled"
10144
- );
10145
- }
10146
- return function unstableLocationsList(...args) {
10147
- const seam = SeamHttpUnstableLocations.fromClient(client, defaults);
10148
- return seam.list(...args);
10149
- };
10150
- }
10151
- get ["/unstable_locations/remove_acs_entrances"]() {
10152
- const { client, defaults } = this;
10153
- if (!this.defaults.isUndocumentedApiEnabled) {
10154
- throw new Error(
10155
- "Cannot use undocumented API without isUndocumentedApiEnabled"
10156
- );
10157
- }
10158
- return function unstableLocationsRemoveAcsEntrances(...args) {
10159
- const seam = SeamHttpUnstableLocations.fromClient(client, defaults);
10160
- return seam.removeAcsEntrances(...args);
10161
- };
10162
- }
10163
- get ["/unstable_locations/remove_devices"]() {
10164
- const { client, defaults } = this;
10165
- if (!this.defaults.isUndocumentedApiEnabled) {
10166
- throw new Error(
10167
- "Cannot use undocumented API without isUndocumentedApiEnabled"
10168
- );
10169
- }
10170
- return function unstableLocationsRemoveDevices(...args) {
10171
- const seam = SeamHttpUnstableLocations.fromClient(client, defaults);
10172
- return seam.removeDevices(...args);
10173
- };
10174
- }
10175
- get ["/unstable_locations/update"]() {
10176
- const { client, defaults } = this;
10177
- if (!this.defaults.isUndocumentedApiEnabled) {
10178
- throw new Error(
10179
- "Cannot use undocumented API without isUndocumentedApiEnabled"
10180
- );
10181
- }
10182
- return function unstableLocationsUpdate(...args) {
10183
- const seam = SeamHttpUnstableLocations.fromClient(client, defaults);
10184
- return seam.update(...args);
10185
- };
10186
- }
10187
10004
  get ["/unstable_partner/building_blocks/connect_accounts"]() {
10188
10005
  const { client, defaults } = this;
10189
10006
  if (!this.defaults.isUndocumentedApiEnabled) {
@@ -10477,6 +10294,61 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
10477
10294
  return seam.update(...args);
10478
10295
  };
10479
10296
  }
10297
+ get ["/workspaces/customization_profiles/create"]() {
10298
+ const { client, defaults } = this;
10299
+ return function workspacesCustomizationProfilesCreate(...args) {
10300
+ const seam = SeamHttpWorkspacesCustomizationProfiles.fromClient(
10301
+ client,
10302
+ defaults
10303
+ );
10304
+ return seam.create(...args);
10305
+ };
10306
+ }
10307
+ get ["/workspaces/customization_profiles/get"]() {
10308
+ const { client, defaults } = this;
10309
+ return function workspacesCustomizationProfilesGet(...args) {
10310
+ const seam = SeamHttpWorkspacesCustomizationProfiles.fromClient(
10311
+ client,
10312
+ defaults
10313
+ );
10314
+ return seam.get(...args);
10315
+ };
10316
+ }
10317
+ get ["/workspaces/customization_profiles/list"]() {
10318
+ const { client, defaults } = this;
10319
+ return function workspacesCustomizationProfilesList(...args) {
10320
+ const seam = SeamHttpWorkspacesCustomizationProfiles.fromClient(
10321
+ client,
10322
+ defaults
10323
+ );
10324
+ return seam.list(...args);
10325
+ };
10326
+ }
10327
+ get ["/workspaces/customization_profiles/update"]() {
10328
+ const { client, defaults } = this;
10329
+ return function workspacesCustomizationProfilesUpdate(...args) {
10330
+ const seam = SeamHttpWorkspacesCustomizationProfiles.fromClient(
10331
+ client,
10332
+ defaults
10333
+ );
10334
+ return seam.update(...args);
10335
+ };
10336
+ }
10337
+ get ["/workspaces/customization_profiles/upload_images"]() {
10338
+ const { client, defaults } = this;
10339
+ if (!this.defaults.isUndocumentedApiEnabled) {
10340
+ throw new Error(
10341
+ "Cannot use undocumented API without isUndocumentedApiEnabled"
10342
+ );
10343
+ }
10344
+ return function workspacesCustomizationProfilesUploadImages(...args) {
10345
+ const seam = SeamHttpWorkspacesCustomizationProfiles.fromClient(
10346
+ client,
10347
+ defaults
10348
+ );
10349
+ return seam.uploadImages(...args);
10350
+ };
10351
+ }
10480
10352
  };
10481
10353
  _SeamHttpEndpoints.ltsVersion = seamApiLtsVersion;
10482
10354
  var SeamHttpEndpoints = _SeamHttpEndpoints;
@@ -10651,7 +10523,6 @@ exports.SeamHttpThermostatsDailyPrograms = SeamHttpThermostatsDailyPrograms;
10651
10523
  exports.SeamHttpThermostatsSchedules = SeamHttpThermostatsSchedules;
10652
10524
  exports.SeamHttpThermostatsSimulate = SeamHttpThermostatsSimulate;
10653
10525
  exports.SeamHttpUnauthorizedError = SeamHttpUnauthorizedError;
10654
- exports.SeamHttpUnstableLocations = SeamHttpUnstableLocations;
10655
10526
  exports.SeamHttpUnstablePartner = SeamHttpUnstablePartner;
10656
10527
  exports.SeamHttpUnstablePartnerBuildingBlocks = SeamHttpUnstablePartnerBuildingBlocks;
10657
10528
  exports.SeamHttpUserIdentities = SeamHttpUserIdentities;
@@ -10660,6 +10531,7 @@ exports.SeamHttpWebhooks = SeamHttpWebhooks;
10660
10531
  exports.SeamHttpWithoutWorkspace = SeamHttpWithoutWorkspace;
10661
10532
  exports.SeamHttpWithoutWorkspaceInvalidOptionsError = SeamHttpWithoutWorkspaceInvalidOptionsError;
10662
10533
  exports.SeamHttpWorkspaces = SeamHttpWorkspaces;
10534
+ exports.SeamHttpWorkspacesCustomizationProfiles = SeamHttpWorkspacesCustomizationProfiles;
10663
10535
  exports.SeamPaginator = SeamPaginator;
10664
10536
  exports.errorInterceptor = errorInterceptor;
10665
10537
  exports.getOpenapiSchema = getOpenapiSchema;