@seamapi/http 1.53.0 → 1.55.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 +236 -0
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +47 -2
  4. package/dist/index.cjs +238 -0
  5. package/dist/index.cjs.map +1 -1
  6. package/dist/index.d.cts +1 -1
  7. package/lib/seam/connect/routes/seam/customer/v1/events/events.d.ts +34 -0
  8. package/lib/seam/connect/routes/seam/customer/v1/events/events.js +102 -0
  9. package/lib/seam/connect/routes/seam/customer/v1/events/events.js.map +1 -0
  10. package/lib/seam/connect/routes/seam/customer/v1/events/index.d.ts +1 -0
  11. package/lib/seam/connect/routes/seam/customer/v1/events/index.js +6 -0
  12. package/lib/seam/connect/routes/seam/customer/v1/events/index.js.map +1 -0
  13. package/lib/seam/connect/routes/seam/customer/v1/index.d.ts +1 -0
  14. package/lib/seam/connect/routes/seam/customer/v1/index.js +1 -0
  15. package/lib/seam/connect/routes/seam/customer/v1/index.js.map +1 -1
  16. package/lib/seam/connect/routes/seam/customer/v1/settings/settings.d.ts +14 -1
  17. package/lib/seam/connect/routes/seam/customer/v1/settings/settings.js +12 -0
  18. package/lib/seam/connect/routes/seam/customer/v1/settings/settings.js.map +1 -1
  19. package/lib/seam/connect/routes/seam/customer/v1/v1.d.ts +2 -0
  20. package/lib/seam/connect/routes/seam/customer/v1/v1.js +4 -0
  21. package/lib/seam/connect/routes/seam/customer/v1/v1.js.map +1 -1
  22. package/lib/seam/connect/routes/seam-http-endpoints.d.ts +5 -2
  23. package/lib/seam/connect/routes/seam-http-endpoints.js +45 -0
  24. package/lib/seam/connect/routes/seam-http-endpoints.js.map +1 -1
  25. package/lib/seam/connect/routes/thermostats/daily-programs/daily-programs.js +12 -0
  26. package/lib/seam/connect/routes/thermostats/daily-programs/daily-programs.js.map +1 -1
  27. package/lib/seam/connect/routes/thermostats/thermostats.js +3 -0
  28. package/lib/seam/connect/routes/thermostats/thermostats.js.map +1 -1
  29. package/lib/seam/connect/routes/user-identities/enrollment-automations/enrollment-automations.js +15 -0
  30. package/lib/seam/connect/routes/user-identities/enrollment-automations/enrollment-automations.js.map +1 -1
  31. package/lib/version.d.ts +1 -1
  32. package/lib/version.js +1 -1
  33. package/package.json +3 -3
  34. package/src/lib/seam/connect/routes/seam/customer/v1/events/events.ts +211 -0
  35. package/src/lib/seam/connect/routes/seam/customer/v1/events/index.ts +6 -0
  36. package/src/lib/seam/connect/routes/seam/customer/v1/index.ts +1 -0
  37. package/src/lib/seam/connect/routes/seam/customer/v1/settings/settings.ts +47 -1
  38. package/src/lib/seam/connect/routes/seam/customer/v1/v1.ts +5 -0
  39. package/src/lib/seam/connect/routes/seam-http-endpoints.ts +87 -0
  40. package/src/lib/seam/connect/routes/thermostats/daily-programs/daily-programs.ts +20 -0
  41. package/src/lib/seam/connect/routes/thermostats/thermostats.ts +5 -0
  42. package/src/lib/seam/connect/routes/user-identities/enrollment-automations/enrollment-automations.ts +25 -0
  43. package/src/lib/version.ts +1 -1
package/dist/index.cjs CHANGED
@@ -110,6 +110,7 @@ __export(index_exports, {
110
110
  SeamHttpSeamCustomerV1: () => SeamHttpSeamCustomerV1,
111
111
  SeamHttpSeamCustomerV1AutomationRuns: () => SeamHttpSeamCustomerV1AutomationRuns,
112
112
  SeamHttpSeamCustomerV1Automations: () => SeamHttpSeamCustomerV1Automations,
113
+ SeamHttpSeamCustomerV1Events: () => SeamHttpSeamCustomerV1Events,
113
114
  SeamHttpSeamCustomerV1Portals: () => SeamHttpSeamCustomerV1Portals,
114
115
  SeamHttpSeamCustomerV1Settings: () => SeamHttpSeamCustomerV1Settings,
115
116
  SeamHttpSeamPartnerV1BuildingBlocks: () => SeamHttpSeamPartnerV1BuildingBlocks,
@@ -211,6 +212,7 @@ __export(connect_exports, {
211
212
  SeamHttpSeamCustomerV1: () => SeamHttpSeamCustomerV1,
212
213
  SeamHttpSeamCustomerV1AutomationRuns: () => SeamHttpSeamCustomerV1AutomationRuns,
213
214
  SeamHttpSeamCustomerV1Automations: () => SeamHttpSeamCustomerV1Automations,
215
+ SeamHttpSeamCustomerV1Events: () => SeamHttpSeamCustomerV1Events,
214
216
  SeamHttpSeamCustomerV1Portals: () => SeamHttpSeamCustomerV1Portals,
215
217
  SeamHttpSeamCustomerV1Settings: () => SeamHttpSeamCustomerV1Settings,
216
218
  SeamHttpSeamPartnerV1BuildingBlocks: () => SeamHttpSeamPartnerV1BuildingBlocks,
@@ -5954,6 +5956,110 @@ var _SeamHttpSeamCustomerV1Automations = class _SeamHttpSeamCustomerV1Automation
5954
5956
  _SeamHttpSeamCustomerV1Automations.ltsVersion = seamApiLtsVersion;
5955
5957
  var SeamHttpSeamCustomerV1Automations = _SeamHttpSeamCustomerV1Automations;
5956
5958
 
5959
+ // src/lib/seam/connect/routes/seam/customer/v1/events/events.ts
5960
+ var _SeamHttpSeamCustomerV1Events = class _SeamHttpSeamCustomerV1Events {
5961
+ constructor(apiKeyOrOptions = {}) {
5962
+ this.ltsVersion = seamApiLtsVersion;
5963
+ const options = parseOptions(apiKeyOrOptions);
5964
+ if (!options.isUndocumentedApiEnabled) {
5965
+ throw new Error(
5966
+ "Cannot use undocumented API without isUndocumentedApiEnabled"
5967
+ );
5968
+ }
5969
+ this.client = "client" in options ? options.client : createClient(options);
5970
+ this.defaults = limitToSeamHttpRequestOptions(options);
5971
+ }
5972
+ static fromClient(client, options = {}) {
5973
+ const constructorOptions = { ...options, client };
5974
+ if (!isSeamHttpOptionsWithClient(constructorOptions)) {
5975
+ throw new SeamHttpInvalidOptionsError("Missing client");
5976
+ }
5977
+ return new _SeamHttpSeamCustomerV1Events(constructorOptions);
5978
+ }
5979
+ static fromApiKey(apiKey, options = {}) {
5980
+ const constructorOptions = { ...options, apiKey };
5981
+ if (!isSeamHttpOptionsWithApiKey(constructorOptions)) {
5982
+ throw new SeamHttpInvalidOptionsError("Missing apiKey");
5983
+ }
5984
+ return new _SeamHttpSeamCustomerV1Events(constructorOptions);
5985
+ }
5986
+ static fromClientSessionToken(clientSessionToken, options = {}) {
5987
+ const constructorOptions = { ...options, clientSessionToken };
5988
+ if (!isSeamHttpOptionsWithClientSessionToken(constructorOptions)) {
5989
+ throw new SeamHttpInvalidOptionsError("Missing clientSessionToken");
5990
+ }
5991
+ return new _SeamHttpSeamCustomerV1Events(constructorOptions);
5992
+ }
5993
+ static async fromPublishableKey(publishableKey, userIdentifierKey, options = {}) {
5994
+ warnOnInsecureuserIdentifierKey(userIdentifierKey);
5995
+ const clientOptions = parseOptions({ ...options, publishableKey });
5996
+ if (isSeamHttpOptionsWithClient(clientOptions)) {
5997
+ throw new SeamHttpInvalidOptionsError(
5998
+ "The client option cannot be used with SeamHttpSeamCustomerV1Events.fromPublishableKey"
5999
+ );
6000
+ }
6001
+ const client = createClient(clientOptions);
6002
+ const clientSessions = SeamHttpClientSessions.fromClient(client);
6003
+ const { token } = await clientSessions.getOrCreate({
6004
+ user_identifier_key: userIdentifierKey
6005
+ });
6006
+ return _SeamHttpSeamCustomerV1Events.fromClientSessionToken(token, options);
6007
+ }
6008
+ static fromConsoleSessionToken(consoleSessionToken, workspaceId, options = {}) {
6009
+ const constructorOptions = { ...options, consoleSessionToken, workspaceId };
6010
+ if (!isSeamHttpOptionsWithConsoleSessionToken(constructorOptions)) {
6011
+ throw new SeamHttpInvalidOptionsError(
6012
+ "Missing consoleSessionToken or workspaceId"
6013
+ );
6014
+ }
6015
+ return new _SeamHttpSeamCustomerV1Events(constructorOptions);
6016
+ }
6017
+ static fromPersonalAccessToken(personalAccessToken, workspaceId, options = {}) {
6018
+ const constructorOptions = { ...options, personalAccessToken, workspaceId };
6019
+ if (!isSeamHttpOptionsWithPersonalAccessToken(constructorOptions)) {
6020
+ throw new SeamHttpInvalidOptionsError(
6021
+ "Missing personalAccessToken or workspaceId"
6022
+ );
6023
+ }
6024
+ return new _SeamHttpSeamCustomerV1Events(constructorOptions);
6025
+ }
6026
+ createPaginator(request) {
6027
+ return new SeamPaginator(this, request);
6028
+ }
6029
+ async updateClientSessionToken(clientSessionToken) {
6030
+ const { headers } = this.client.defaults;
6031
+ const authHeaders = getAuthHeadersForClientSessionToken({
6032
+ clientSessionToken
6033
+ });
6034
+ for (const key of Object.keys(authHeaders)) {
6035
+ if (headers[key] == null) {
6036
+ throw new Error(
6037
+ "Cannot update a clientSessionToken on a client created without a clientSessionToken"
6038
+ );
6039
+ }
6040
+ }
6041
+ this.client.defaults.headers = { ...headers, ...authHeaders };
6042
+ const clientSessions = SeamHttpClientSessions.fromClient(this.client);
6043
+ await clientSessions.get();
6044
+ }
6045
+ list(parameters, options = {}) {
6046
+ if (!this.defaults.isUndocumentedApiEnabled) {
6047
+ throw new Error(
6048
+ "Cannot use undocumented API without isUndocumentedApiEnabled"
6049
+ );
6050
+ }
6051
+ return new SeamHttpRequest(this, {
6052
+ pathname: "/seam/customer/v1/events/list",
6053
+ method: "POST",
6054
+ body: parameters,
6055
+ responseKey: "events",
6056
+ options
6057
+ });
6058
+ }
6059
+ };
6060
+ _SeamHttpSeamCustomerV1Events.ltsVersion = seamApiLtsVersion;
6061
+ var SeamHttpSeamCustomerV1Events = _SeamHttpSeamCustomerV1Events;
6062
+
5957
6063
  // src/lib/seam/connect/routes/seam/customer/v1/portals/portals.ts
5958
6064
  var _SeamHttpSeamCustomerV1Portals = class _SeamHttpSeamCustomerV1Portals {
5959
6065
  constructor(apiKeyOrOptions = {}) {
@@ -6144,6 +6250,20 @@ var _SeamHttpSeamCustomerV1Settings = class _SeamHttpSeamCustomerV1Settings {
6144
6250
  const clientSessions = SeamHttpClientSessions.fromClient(this.client);
6145
6251
  await clientSessions.get();
6146
6252
  }
6253
+ get(parameters, options = {}) {
6254
+ if (!this.defaults.isUndocumentedApiEnabled) {
6255
+ throw new Error(
6256
+ "Cannot use undocumented API without isUndocumentedApiEnabled"
6257
+ );
6258
+ }
6259
+ return new SeamHttpRequest(this, {
6260
+ pathname: "/seam/customer/v1/settings/get",
6261
+ method: "GET",
6262
+ params: parameters,
6263
+ responseKey: "business_vertical",
6264
+ options
6265
+ });
6266
+ }
6147
6267
  update(parameters, options = {}) {
6148
6268
  if (!this.defaults.isUndocumentedApiEnabled) {
6149
6269
  throw new Error(
@@ -6260,6 +6380,9 @@ var _SeamHttpSeamCustomerV1 = class _SeamHttpSeamCustomerV1 {
6260
6380
  this.defaults
6261
6381
  );
6262
6382
  }
6383
+ get events() {
6384
+ return SeamHttpSeamCustomerV1Events.fromClient(this.client, this.defaults);
6385
+ }
6263
6386
  get portals() {
6264
6387
  return SeamHttpSeamCustomerV1Portals.fromClient(this.client, this.defaults);
6265
6388
  }
@@ -6656,6 +6779,11 @@ var _SeamHttpThermostatsDailyPrograms = class _SeamHttpThermostatsDailyPrograms
6656
6779
  constructor(apiKeyOrOptions = {}) {
6657
6780
  this.ltsVersion = seamApiLtsVersion;
6658
6781
  const options = parseOptions(apiKeyOrOptions);
6782
+ if (!options.isUndocumentedApiEnabled) {
6783
+ throw new Error(
6784
+ "Cannot use undocumented API without isUndocumentedApiEnabled"
6785
+ );
6786
+ }
6659
6787
  this.client = "client" in options ? options.client : createClient(options);
6660
6788
  this.defaults = limitToSeamHttpRequestOptions(options);
6661
6789
  }
@@ -6736,6 +6864,11 @@ var _SeamHttpThermostatsDailyPrograms = class _SeamHttpThermostatsDailyPrograms
6736
6864
  await clientSessions.get();
6737
6865
  }
6738
6866
  create(parameters, options = {}) {
6867
+ if (!this.defaults.isUndocumentedApiEnabled) {
6868
+ throw new Error(
6869
+ "Cannot use undocumented API without isUndocumentedApiEnabled"
6870
+ );
6871
+ }
6739
6872
  return new SeamHttpRequest(this, {
6740
6873
  pathname: "/thermostats/daily_programs/create",
6741
6874
  method: "POST",
@@ -6745,6 +6878,11 @@ var _SeamHttpThermostatsDailyPrograms = class _SeamHttpThermostatsDailyPrograms
6745
6878
  });
6746
6879
  }
6747
6880
  delete(parameters, options = {}) {
6881
+ if (!this.defaults.isUndocumentedApiEnabled) {
6882
+ throw new Error(
6883
+ "Cannot use undocumented API without isUndocumentedApiEnabled"
6884
+ );
6885
+ }
6748
6886
  return new SeamHttpRequest(this, {
6749
6887
  pathname: "/thermostats/daily_programs/delete",
6750
6888
  method: "POST",
@@ -6754,6 +6892,11 @@ var _SeamHttpThermostatsDailyPrograms = class _SeamHttpThermostatsDailyPrograms
6754
6892
  });
6755
6893
  }
6756
6894
  update(parameters, options = {}) {
6895
+ if (!this.defaults.isUndocumentedApiEnabled) {
6896
+ throw new Error(
6897
+ "Cannot use undocumented API without isUndocumentedApiEnabled"
6898
+ );
6899
+ }
6757
6900
  return new SeamHttpRequest(this, {
6758
6901
  pathname: "/thermostats/daily_programs/update",
6759
6902
  method: "PATCH",
@@ -7224,6 +7367,11 @@ var _SeamHttpThermostats = class _SeamHttpThermostats {
7224
7367
  });
7225
7368
  }
7226
7369
  updateWeeklyProgram(parameters, options = {}) {
7370
+ if (!this.defaults.isUndocumentedApiEnabled) {
7371
+ throw new Error(
7372
+ "Cannot use undocumented API without isUndocumentedApiEnabled"
7373
+ );
7374
+ }
7227
7375
  return new SeamHttpRequest(this, {
7228
7376
  pathname: "/thermostats/update_weekly_program",
7229
7377
  method: "POST",
@@ -7980,6 +8128,11 @@ var _SeamHttpUserIdentitiesEnrollmentAutomations = class _SeamHttpUserIdentities
7980
8128
  constructor(apiKeyOrOptions = {}) {
7981
8129
  this.ltsVersion = seamApiLtsVersion;
7982
8130
  const options = parseOptions(apiKeyOrOptions);
8131
+ if (!options.isUndocumentedApiEnabled) {
8132
+ throw new Error(
8133
+ "Cannot use undocumented API without isUndocumentedApiEnabled"
8134
+ );
8135
+ }
7983
8136
  this.client = "client" in options ? options.client : createClient(options);
7984
8137
  this.defaults = limitToSeamHttpRequestOptions(options);
7985
8138
  }
@@ -8060,6 +8213,11 @@ var _SeamHttpUserIdentitiesEnrollmentAutomations = class _SeamHttpUserIdentities
8060
8213
  await clientSessions.get();
8061
8214
  }
8062
8215
  delete(parameters, options = {}) {
8216
+ if (!this.defaults.isUndocumentedApiEnabled) {
8217
+ throw new Error(
8218
+ "Cannot use undocumented API without isUndocumentedApiEnabled"
8219
+ );
8220
+ }
8063
8221
  return new SeamHttpRequest(this, {
8064
8222
  pathname: "/user_identities/enrollment_automations/delete",
8065
8223
  method: "POST",
@@ -8069,6 +8227,11 @@ var _SeamHttpUserIdentitiesEnrollmentAutomations = class _SeamHttpUserIdentities
8069
8227
  });
8070
8228
  }
8071
8229
  get(parameters, options = {}) {
8230
+ if (!this.defaults.isUndocumentedApiEnabled) {
8231
+ throw new Error(
8232
+ "Cannot use undocumented API without isUndocumentedApiEnabled"
8233
+ );
8234
+ }
8072
8235
  return new SeamHttpRequest(this, {
8073
8236
  pathname: "/user_identities/enrollment_automations/get",
8074
8237
  method: "POST",
@@ -8078,6 +8241,11 @@ var _SeamHttpUserIdentitiesEnrollmentAutomations = class _SeamHttpUserIdentities
8078
8241
  });
8079
8242
  }
8080
8243
  launch(parameters, options = {}) {
8244
+ if (!this.defaults.isUndocumentedApiEnabled) {
8245
+ throw new Error(
8246
+ "Cannot use undocumented API without isUndocumentedApiEnabled"
8247
+ );
8248
+ }
8081
8249
  return new SeamHttpRequest(this, {
8082
8250
  pathname: "/user_identities/enrollment_automations/launch",
8083
8251
  method: "POST",
@@ -8087,6 +8255,11 @@ var _SeamHttpUserIdentitiesEnrollmentAutomations = class _SeamHttpUserIdentities
8087
8255
  });
8088
8256
  }
8089
8257
  list(parameters, options = {}) {
8258
+ if (!this.defaults.isUndocumentedApiEnabled) {
8259
+ throw new Error(
8260
+ "Cannot use undocumented API without isUndocumentedApiEnabled"
8261
+ );
8262
+ }
8090
8263
  return new SeamHttpRequest(this, {
8091
8264
  pathname: "/user_identities/enrollment_automations/list",
8092
8265
  method: "POST",
@@ -9903,6 +10076,18 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
9903
10076
  return seam.update(...args);
9904
10077
  };
9905
10078
  }
10079
+ get ["/seam/customer/v1/events/list"]() {
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 seamCustomerV1EventsList(...args) {
10087
+ const seam = SeamHttpSeamCustomerV1Events.fromClient(client, defaults);
10088
+ return seam.list(...args);
10089
+ };
10090
+ }
9906
10091
  get ["/seam/customer/v1/portals/get"]() {
9907
10092
  const { client, defaults } = this;
9908
10093
  if (!this.defaults.isUndocumentedApiEnabled) {
@@ -9915,6 +10100,18 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
9915
10100
  return seam.get(...args);
9916
10101
  };
9917
10102
  }
10103
+ get ["/seam/customer/v1/settings/get"]() {
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 seamCustomerV1SettingsGet(...args) {
10111
+ const seam = SeamHttpSeamCustomerV1Settings.fromClient(client, defaults);
10112
+ return seam.get(...args);
10113
+ };
10114
+ }
9918
10115
  get ["/seam/customer/v1/settings/update"]() {
9919
10116
  const { client, defaults } = this;
9920
10117
  if (!this.defaults.isUndocumentedApiEnabled) {
@@ -10117,6 +10314,11 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
10117
10314
  }
10118
10315
  get ["/thermostats/update_weekly_program"]() {
10119
10316
  const { client, defaults } = this;
10317
+ if (!this.defaults.isUndocumentedApiEnabled) {
10318
+ throw new Error(
10319
+ "Cannot use undocumented API without isUndocumentedApiEnabled"
10320
+ );
10321
+ }
10120
10322
  return function thermostatsUpdateWeeklyProgram(...args) {
10121
10323
  const seam = SeamHttpThermostats.fromClient(client, defaults);
10122
10324
  return seam.updateWeeklyProgram(...args);
@@ -10124,6 +10326,11 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
10124
10326
  }
10125
10327
  get ["/thermostats/daily_programs/create"]() {
10126
10328
  const { client, defaults } = this;
10329
+ if (!this.defaults.isUndocumentedApiEnabled) {
10330
+ throw new Error(
10331
+ "Cannot use undocumented API without isUndocumentedApiEnabled"
10332
+ );
10333
+ }
10127
10334
  return function thermostatsDailyProgramsCreate(...args) {
10128
10335
  const seam = SeamHttpThermostatsDailyPrograms.fromClient(client, defaults);
10129
10336
  return seam.create(...args);
@@ -10131,6 +10338,11 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
10131
10338
  }
10132
10339
  get ["/thermostats/daily_programs/delete"]() {
10133
10340
  const { client, defaults } = this;
10341
+ if (!this.defaults.isUndocumentedApiEnabled) {
10342
+ throw new Error(
10343
+ "Cannot use undocumented API without isUndocumentedApiEnabled"
10344
+ );
10345
+ }
10134
10346
  return function thermostatsDailyProgramsDelete(...args) {
10135
10347
  const seam = SeamHttpThermostatsDailyPrograms.fromClient(client, defaults);
10136
10348
  return seam.delete(...args);
@@ -10138,6 +10350,11 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
10138
10350
  }
10139
10351
  get ["/thermostats/daily_programs/update"]() {
10140
10352
  const { client, defaults } = this;
10353
+ if (!this.defaults.isUndocumentedApiEnabled) {
10354
+ throw new Error(
10355
+ "Cannot use undocumented API without isUndocumentedApiEnabled"
10356
+ );
10357
+ }
10141
10358
  return function thermostatsDailyProgramsUpdate(...args) {
10142
10359
  const seam = SeamHttpThermostatsDailyPrograms.fromClient(client, defaults);
10143
10360
  return seam.update(...args);
@@ -10537,6 +10754,11 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
10537
10754
  }
10538
10755
  get ["/user_identities/enrollment_automations/delete"]() {
10539
10756
  const { client, defaults } = this;
10757
+ if (!this.defaults.isUndocumentedApiEnabled) {
10758
+ throw new Error(
10759
+ "Cannot use undocumented API without isUndocumentedApiEnabled"
10760
+ );
10761
+ }
10540
10762
  return function userIdentitiesEnrollmentAutomationsDelete(...args) {
10541
10763
  const seam = SeamHttpUserIdentitiesEnrollmentAutomations.fromClient(
10542
10764
  client,
@@ -10547,6 +10769,11 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
10547
10769
  }
10548
10770
  get ["/user_identities/enrollment_automations/get"]() {
10549
10771
  const { client, defaults } = this;
10772
+ if (!this.defaults.isUndocumentedApiEnabled) {
10773
+ throw new Error(
10774
+ "Cannot use undocumented API without isUndocumentedApiEnabled"
10775
+ );
10776
+ }
10550
10777
  return function userIdentitiesEnrollmentAutomationsGet(...args) {
10551
10778
  const seam = SeamHttpUserIdentitiesEnrollmentAutomations.fromClient(
10552
10779
  client,
@@ -10557,6 +10784,11 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
10557
10784
  }
10558
10785
  get ["/user_identities/enrollment_automations/launch"]() {
10559
10786
  const { client, defaults } = this;
10787
+ if (!this.defaults.isUndocumentedApiEnabled) {
10788
+ throw new Error(
10789
+ "Cannot use undocumented API without isUndocumentedApiEnabled"
10790
+ );
10791
+ }
10560
10792
  return function userIdentitiesEnrollmentAutomationsLaunch(...args) {
10561
10793
  const seam = SeamHttpUserIdentitiesEnrollmentAutomations.fromClient(
10562
10794
  client,
@@ -10567,6 +10799,11 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
10567
10799
  }
10568
10800
  get ["/user_identities/enrollment_automations/list"]() {
10569
10801
  const { client, defaults } = this;
10802
+ if (!this.defaults.isUndocumentedApiEnabled) {
10803
+ throw new Error(
10804
+ "Cannot use undocumented API without isUndocumentedApiEnabled"
10805
+ );
10806
+ }
10570
10807
  return function userIdentitiesEnrollmentAutomationsList(...args) {
10571
10808
  const seam = SeamHttpUserIdentitiesEnrollmentAutomations.fromClient(
10572
10809
  client,
@@ -10820,6 +11057,7 @@ exports.SeamHttpSeamConsoleV1 = SeamHttpSeamConsoleV1;
10820
11057
  exports.SeamHttpSeamCustomerV1 = SeamHttpSeamCustomerV1;
10821
11058
  exports.SeamHttpSeamCustomerV1AutomationRuns = SeamHttpSeamCustomerV1AutomationRuns;
10822
11059
  exports.SeamHttpSeamCustomerV1Automations = SeamHttpSeamCustomerV1Automations;
11060
+ exports.SeamHttpSeamCustomerV1Events = SeamHttpSeamCustomerV1Events;
10823
11061
  exports.SeamHttpSeamCustomerV1Portals = SeamHttpSeamCustomerV1Portals;
10824
11062
  exports.SeamHttpSeamCustomerV1Settings = SeamHttpSeamCustomerV1Settings;
10825
11063
  exports.SeamHttpSeamPartnerV1BuildingBlocks = SeamHttpSeamPartnerV1BuildingBlocks;