@seamapi/http 1.100.0 → 1.102.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 (50) hide show
  1. package/dist/connect.cjs +323 -0
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +81 -3
  4. package/dist/index.cjs +329 -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/connector-customers/connector-customers.d.ts +34 -0
  8. package/lib/seam/connect/routes/seam/customer/v1/connector-customers/connector-customers.js +104 -0
  9. package/lib/seam/connect/routes/seam/customer/v1/connector-customers/connector-customers.js.map +1 -0
  10. package/lib/seam/connect/routes/seam/customer/v1/connector-customers/index.d.ts +1 -0
  11. package/lib/seam/connect/routes/seam/customer/v1/connector-customers/index.js +6 -0
  12. package/lib/seam/connect/routes/seam/customer/v1/connector-customers/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/v1.d.ts +2 -0
  17. package/lib/seam/connect/routes/seam/customer/v1/v1.js +4 -0
  18. package/lib/seam/connect/routes/seam/customer/v1/v1.js.map +1 -1
  19. package/lib/seam/connect/routes/seam/index.d.ts +1 -0
  20. package/lib/seam/connect/routes/seam/index.js +1 -0
  21. package/lib/seam/connect/routes/seam/index.js.map +1 -1
  22. package/lib/seam/connect/routes/seam/v1/customers/customers.d.ts +34 -0
  23. package/lib/seam/connect/routes/seam/v1/customers/customers.js +98 -0
  24. package/lib/seam/connect/routes/seam/v1/customers/customers.js.map +1 -0
  25. package/lib/seam/connect/routes/seam/v1/customers/index.d.ts +1 -0
  26. package/lib/seam/connect/routes/seam/v1/customers/index.js +6 -0
  27. package/lib/seam/connect/routes/seam/v1/customers/index.js.map +1 -0
  28. package/lib/seam/connect/routes/seam/v1/index.d.ts +2 -0
  29. package/lib/seam/connect/routes/seam/v1/index.js +7 -0
  30. package/lib/seam/connect/routes/seam/v1/index.js.map +1 -0
  31. package/lib/seam/connect/routes/seam/v1/v1.d.ts +21 -0
  32. package/lib/seam/connect/routes/seam/v1/v1.js +92 -0
  33. package/lib/seam/connect/routes/seam/v1/v1.js.map +1 -0
  34. package/lib/seam/connect/routes/seam-http-endpoints.d.ts +6 -2
  35. package/lib/seam/connect/routes/seam-http-endpoints.js +19 -0
  36. package/lib/seam/connect/routes/seam-http-endpoints.js.map +1 -1
  37. package/lib/version.d.ts +1 -1
  38. package/lib/version.js +1 -1
  39. package/package.json +3 -3
  40. package/src/lib/seam/connect/routes/seam/customer/v1/connector-customers/connector-customers.ts +214 -0
  41. package/src/lib/seam/connect/routes/seam/customer/v1/connector-customers/index.ts +6 -0
  42. package/src/lib/seam/connect/routes/seam/customer/v1/index.ts +1 -0
  43. package/src/lib/seam/connect/routes/seam/customer/v1/v1.ts +8 -0
  44. package/src/lib/seam/connect/routes/seam/index.ts +1 -0
  45. package/src/lib/seam/connect/routes/seam/v1/customers/customers.ts +197 -0
  46. package/src/lib/seam/connect/routes/seam/v1/customers/index.ts +6 -0
  47. package/src/lib/seam/connect/routes/seam/v1/index.ts +7 -0
  48. package/src/lib/seam/connect/routes/seam/v1/v1.ts +168 -0
  49. package/src/lib/seam/connect/routes/seam-http-endpoints.ts +48 -0
  50. package/src/lib/version.ts +1 -1
package/dist/index.cjs CHANGED
@@ -107,6 +107,7 @@ __export(index_exports, {
107
107
  SeamHttpSeamCustomerV1AccessGrants: () => SeamHttpSeamCustomerV1AccessGrants,
108
108
  SeamHttpSeamCustomerV1AutomationRuns: () => SeamHttpSeamCustomerV1AutomationRuns,
109
109
  SeamHttpSeamCustomerV1Automations: () => SeamHttpSeamCustomerV1Automations,
110
+ SeamHttpSeamCustomerV1ConnectorCustomers: () => SeamHttpSeamCustomerV1ConnectorCustomers,
110
111
  SeamHttpSeamCustomerV1Connectors: () => SeamHttpSeamCustomerV1Connectors,
111
112
  SeamHttpSeamCustomerV1Customers: () => SeamHttpSeamCustomerV1Customers,
112
113
  SeamHttpSeamCustomerV1Events: () => SeamHttpSeamCustomerV1Events,
@@ -117,6 +118,8 @@ __export(index_exports, {
117
118
  SeamHttpSeamCustomerV1StaffMembers: () => SeamHttpSeamCustomerV1StaffMembers,
118
119
  SeamHttpSeamPartnerV1BuildingBlocks: () => SeamHttpSeamPartnerV1BuildingBlocks,
119
120
  SeamHttpSeamPartnerV1BuildingBlocksSpaces: () => SeamHttpSeamPartnerV1BuildingBlocksSpaces,
121
+ SeamHttpSeamV1: () => SeamHttpSeamV1,
122
+ SeamHttpSeamV1Customers: () => SeamHttpSeamV1Customers,
120
123
  SeamHttpSpaces: () => SeamHttpSpaces,
121
124
  SeamHttpThermostats: () => SeamHttpThermostats,
122
125
  SeamHttpThermostatsDailyPrograms: () => SeamHttpThermostatsDailyPrograms,
@@ -218,6 +221,7 @@ __export(connect_exports, {
218
221
  SeamHttpSeamCustomerV1AccessGrants: () => SeamHttpSeamCustomerV1AccessGrants,
219
222
  SeamHttpSeamCustomerV1AutomationRuns: () => SeamHttpSeamCustomerV1AutomationRuns,
220
223
  SeamHttpSeamCustomerV1Automations: () => SeamHttpSeamCustomerV1Automations,
224
+ SeamHttpSeamCustomerV1ConnectorCustomers: () => SeamHttpSeamCustomerV1ConnectorCustomers,
221
225
  SeamHttpSeamCustomerV1Connectors: () => SeamHttpSeamCustomerV1Connectors,
222
226
  SeamHttpSeamCustomerV1Customers: () => SeamHttpSeamCustomerV1Customers,
223
227
  SeamHttpSeamCustomerV1Events: () => SeamHttpSeamCustomerV1Events,
@@ -228,6 +232,8 @@ __export(connect_exports, {
228
232
  SeamHttpSeamCustomerV1StaffMembers: () => SeamHttpSeamCustomerV1StaffMembers,
229
233
  SeamHttpSeamPartnerV1BuildingBlocks: () => SeamHttpSeamPartnerV1BuildingBlocks,
230
234
  SeamHttpSeamPartnerV1BuildingBlocksSpaces: () => SeamHttpSeamPartnerV1BuildingBlocksSpaces,
235
+ SeamHttpSeamV1: () => SeamHttpSeamV1,
236
+ SeamHttpSeamV1Customers: () => SeamHttpSeamV1Customers,
231
237
  SeamHttpSpaces: () => SeamHttpSpaces,
232
238
  SeamHttpThermostats: () => SeamHttpThermostats,
233
239
  SeamHttpThermostatsDailyPrograms: () => SeamHttpThermostatsDailyPrograms,
@@ -6601,6 +6607,114 @@ var SeamHttpSeamCustomerV1Automations = class _SeamHttpSeamCustomerV1Automations
6601
6607
  }
6602
6608
  };
6603
6609
 
6610
+ // src/lib/seam/connect/routes/seam/customer/v1/connector-customers/connector-customers.ts
6611
+ var SeamHttpSeamCustomerV1ConnectorCustomers = class _SeamHttpSeamCustomerV1ConnectorCustomers {
6612
+ client;
6613
+ defaults;
6614
+ ltsVersion = seamApiLtsVersion;
6615
+ static ltsVersion = seamApiLtsVersion;
6616
+ constructor(apiKeyOrOptions = {}) {
6617
+ const options = parseOptions(apiKeyOrOptions);
6618
+ if (!options.isUndocumentedApiEnabled) {
6619
+ throw new Error(
6620
+ "Cannot use undocumented API without isUndocumentedApiEnabled"
6621
+ );
6622
+ }
6623
+ this.client = "client" in options ? options.client : createClient(options);
6624
+ this.defaults = limitToSeamHttpRequestOptions(options);
6625
+ }
6626
+ static fromClient(client, options = {}) {
6627
+ const constructorOptions = { ...options, client };
6628
+ if (!isSeamHttpOptionsWithClient(constructorOptions)) {
6629
+ throw new SeamHttpInvalidOptionsError("Missing client");
6630
+ }
6631
+ return new _SeamHttpSeamCustomerV1ConnectorCustomers(constructorOptions);
6632
+ }
6633
+ static fromApiKey(apiKey, options = {}) {
6634
+ const constructorOptions = { ...options, apiKey };
6635
+ if (!isSeamHttpOptionsWithApiKey(constructorOptions)) {
6636
+ throw new SeamHttpInvalidOptionsError("Missing apiKey");
6637
+ }
6638
+ return new _SeamHttpSeamCustomerV1ConnectorCustomers(constructorOptions);
6639
+ }
6640
+ static fromClientSessionToken(clientSessionToken, options = {}) {
6641
+ const constructorOptions = { ...options, clientSessionToken };
6642
+ if (!isSeamHttpOptionsWithClientSessionToken(constructorOptions)) {
6643
+ throw new SeamHttpInvalidOptionsError("Missing clientSessionToken");
6644
+ }
6645
+ return new _SeamHttpSeamCustomerV1ConnectorCustomers(constructorOptions);
6646
+ }
6647
+ static async fromPublishableKey(publishableKey, userIdentifierKey, options = {}) {
6648
+ warnOnInsecureuserIdentifierKey(userIdentifierKey);
6649
+ const clientOptions = parseOptions({ ...options, publishableKey });
6650
+ if (isSeamHttpOptionsWithClient(clientOptions)) {
6651
+ throw new SeamHttpInvalidOptionsError(
6652
+ "The client option cannot be used with SeamHttpSeamCustomerV1ConnectorCustomers.fromPublishableKey"
6653
+ );
6654
+ }
6655
+ const client = createClient(clientOptions);
6656
+ const clientSessions = SeamHttpClientSessions.fromClient(client);
6657
+ const { token } = await clientSessions.getOrCreate({
6658
+ user_identifier_key: userIdentifierKey
6659
+ });
6660
+ return _SeamHttpSeamCustomerV1ConnectorCustomers.fromClientSessionToken(
6661
+ token,
6662
+ options
6663
+ );
6664
+ }
6665
+ static fromConsoleSessionToken(consoleSessionToken, workspaceId, options = {}) {
6666
+ const constructorOptions = { ...options, consoleSessionToken, workspaceId };
6667
+ if (!isSeamHttpOptionsWithConsoleSessionToken(constructorOptions)) {
6668
+ throw new SeamHttpInvalidOptionsError(
6669
+ "Missing consoleSessionToken or workspaceId"
6670
+ );
6671
+ }
6672
+ return new _SeamHttpSeamCustomerV1ConnectorCustomers(constructorOptions);
6673
+ }
6674
+ static fromPersonalAccessToken(personalAccessToken, workspaceId, options = {}) {
6675
+ const constructorOptions = { ...options, personalAccessToken, workspaceId };
6676
+ if (!isSeamHttpOptionsWithPersonalAccessToken(constructorOptions)) {
6677
+ throw new SeamHttpInvalidOptionsError(
6678
+ "Missing personalAccessToken or workspaceId"
6679
+ );
6680
+ }
6681
+ return new _SeamHttpSeamCustomerV1ConnectorCustomers(constructorOptions);
6682
+ }
6683
+ createPaginator(request) {
6684
+ return new SeamPaginator(this, request);
6685
+ }
6686
+ async updateClientSessionToken(clientSessionToken) {
6687
+ const { headers } = this.client.defaults;
6688
+ const authHeaders = getAuthHeadersForClientSessionToken({
6689
+ clientSessionToken
6690
+ });
6691
+ for (const key of Object.keys(authHeaders)) {
6692
+ if (headers[key] == null) {
6693
+ throw new Error(
6694
+ "Cannot update a clientSessionToken on a client created without a clientSessionToken"
6695
+ );
6696
+ }
6697
+ }
6698
+ this.client.defaults.headers = { ...headers, ...authHeaders };
6699
+ const clientSessions = SeamHttpClientSessions.fromClient(this.client);
6700
+ await clientSessions.get();
6701
+ }
6702
+ list(parameters, options = {}) {
6703
+ if (!this.defaults.isUndocumentedApiEnabled) {
6704
+ throw new Error(
6705
+ "Cannot use undocumented API without isUndocumentedApiEnabled"
6706
+ );
6707
+ }
6708
+ return new SeamHttpRequest(this, {
6709
+ pathname: "/seam/customer/v1/connector_customers/list",
6710
+ method: "POST",
6711
+ body: parameters,
6712
+ responseKey: "connector_customers",
6713
+ options
6714
+ });
6715
+ }
6716
+ };
6717
+
6604
6718
  // src/lib/seam/connect/routes/seam/customer/v1/connectors/connectors.ts
6605
6719
  var SeamHttpSeamCustomerV1Connectors = class _SeamHttpSeamCustomerV1Connectors {
6606
6720
  client;
@@ -7728,6 +7842,12 @@ var SeamHttpSeamCustomerV1 = class _SeamHttpSeamCustomerV1 {
7728
7842
  this.defaults
7729
7843
  );
7730
7844
  }
7845
+ get connectorCustomers() {
7846
+ return SeamHttpSeamCustomerV1ConnectorCustomers.fromClient(
7847
+ this.client,
7848
+ this.defaults
7849
+ );
7850
+ }
7731
7851
  get connectors() {
7732
7852
  return SeamHttpSeamCustomerV1Connectors.fromClient(
7733
7853
  this.client,
@@ -7974,6 +8094,190 @@ var SeamHttpSeamPartnerV1BuildingBlocks = class _SeamHttpSeamPartnerV1BuildingBl
7974
8094
  }
7975
8095
  };
7976
8096
 
8097
+ // src/lib/seam/connect/routes/seam/v1/customers/customers.ts
8098
+ var SeamHttpSeamV1Customers = class _SeamHttpSeamV1Customers {
8099
+ client;
8100
+ defaults;
8101
+ ltsVersion = seamApiLtsVersion;
8102
+ static ltsVersion = seamApiLtsVersion;
8103
+ constructor(apiKeyOrOptions = {}) {
8104
+ const options = parseOptions(apiKeyOrOptions);
8105
+ this.client = "client" in options ? options.client : createClient(options);
8106
+ this.defaults = limitToSeamHttpRequestOptions(options);
8107
+ }
8108
+ static fromClient(client, options = {}) {
8109
+ const constructorOptions = { ...options, client };
8110
+ if (!isSeamHttpOptionsWithClient(constructorOptions)) {
8111
+ throw new SeamHttpInvalidOptionsError("Missing client");
8112
+ }
8113
+ return new _SeamHttpSeamV1Customers(constructorOptions);
8114
+ }
8115
+ static fromApiKey(apiKey, options = {}) {
8116
+ const constructorOptions = { ...options, apiKey };
8117
+ if (!isSeamHttpOptionsWithApiKey(constructorOptions)) {
8118
+ throw new SeamHttpInvalidOptionsError("Missing apiKey");
8119
+ }
8120
+ return new _SeamHttpSeamV1Customers(constructorOptions);
8121
+ }
8122
+ static fromClientSessionToken(clientSessionToken, options = {}) {
8123
+ const constructorOptions = { ...options, clientSessionToken };
8124
+ if (!isSeamHttpOptionsWithClientSessionToken(constructorOptions)) {
8125
+ throw new SeamHttpInvalidOptionsError("Missing clientSessionToken");
8126
+ }
8127
+ return new _SeamHttpSeamV1Customers(constructorOptions);
8128
+ }
8129
+ static async fromPublishableKey(publishableKey, userIdentifierKey, options = {}) {
8130
+ warnOnInsecureuserIdentifierKey(userIdentifierKey);
8131
+ const clientOptions = parseOptions({ ...options, publishableKey });
8132
+ if (isSeamHttpOptionsWithClient(clientOptions)) {
8133
+ throw new SeamHttpInvalidOptionsError(
8134
+ "The client option cannot be used with SeamHttpSeamV1Customers.fromPublishableKey"
8135
+ );
8136
+ }
8137
+ const client = createClient(clientOptions);
8138
+ const clientSessions = SeamHttpClientSessions.fromClient(client);
8139
+ const { token } = await clientSessions.getOrCreate({
8140
+ user_identifier_key: userIdentifierKey
8141
+ });
8142
+ return _SeamHttpSeamV1Customers.fromClientSessionToken(token, options);
8143
+ }
8144
+ static fromConsoleSessionToken(consoleSessionToken, workspaceId, options = {}) {
8145
+ const constructorOptions = { ...options, consoleSessionToken, workspaceId };
8146
+ if (!isSeamHttpOptionsWithConsoleSessionToken(constructorOptions)) {
8147
+ throw new SeamHttpInvalidOptionsError(
8148
+ "Missing consoleSessionToken or workspaceId"
8149
+ );
8150
+ }
8151
+ return new _SeamHttpSeamV1Customers(constructorOptions);
8152
+ }
8153
+ static fromPersonalAccessToken(personalAccessToken, workspaceId, options = {}) {
8154
+ const constructorOptions = { ...options, personalAccessToken, workspaceId };
8155
+ if (!isSeamHttpOptionsWithPersonalAccessToken(constructorOptions)) {
8156
+ throw new SeamHttpInvalidOptionsError(
8157
+ "Missing personalAccessToken or workspaceId"
8158
+ );
8159
+ }
8160
+ return new _SeamHttpSeamV1Customers(constructorOptions);
8161
+ }
8162
+ createPaginator(request) {
8163
+ return new SeamPaginator(this, request);
8164
+ }
8165
+ async updateClientSessionToken(clientSessionToken) {
8166
+ const { headers } = this.client.defaults;
8167
+ const authHeaders = getAuthHeadersForClientSessionToken({
8168
+ clientSessionToken
8169
+ });
8170
+ for (const key of Object.keys(authHeaders)) {
8171
+ if (headers[key] == null) {
8172
+ throw new Error(
8173
+ "Cannot update a clientSessionToken on a client created without a clientSessionToken"
8174
+ );
8175
+ }
8176
+ }
8177
+ this.client.defaults.headers = { ...headers, ...authHeaders };
8178
+ const clientSessions = SeamHttpClientSessions.fromClient(this.client);
8179
+ await clientSessions.get();
8180
+ }
8181
+ pushData(parameters, options = {}) {
8182
+ return new SeamHttpRequest(this, {
8183
+ pathname: "/seam/v1/customers/push_data",
8184
+ method: "POST",
8185
+ body: parameters,
8186
+ responseKey: void 0,
8187
+ options
8188
+ });
8189
+ }
8190
+ };
8191
+
8192
+ // src/lib/seam/connect/routes/seam/v1/v1.ts
8193
+ var SeamHttpSeamV1 = class _SeamHttpSeamV1 {
8194
+ client;
8195
+ defaults;
8196
+ ltsVersion = seamApiLtsVersion;
8197
+ static ltsVersion = seamApiLtsVersion;
8198
+ constructor(apiKeyOrOptions = {}) {
8199
+ const options = parseOptions(apiKeyOrOptions);
8200
+ this.client = "client" in options ? options.client : createClient(options);
8201
+ this.defaults = limitToSeamHttpRequestOptions(options);
8202
+ }
8203
+ static fromClient(client, options = {}) {
8204
+ const constructorOptions = { ...options, client };
8205
+ if (!isSeamHttpOptionsWithClient(constructorOptions)) {
8206
+ throw new SeamHttpInvalidOptionsError("Missing client");
8207
+ }
8208
+ return new _SeamHttpSeamV1(constructorOptions);
8209
+ }
8210
+ static fromApiKey(apiKey, options = {}) {
8211
+ const constructorOptions = { ...options, apiKey };
8212
+ if (!isSeamHttpOptionsWithApiKey(constructorOptions)) {
8213
+ throw new SeamHttpInvalidOptionsError("Missing apiKey");
8214
+ }
8215
+ return new _SeamHttpSeamV1(constructorOptions);
8216
+ }
8217
+ static fromClientSessionToken(clientSessionToken, options = {}) {
8218
+ const constructorOptions = { ...options, clientSessionToken };
8219
+ if (!isSeamHttpOptionsWithClientSessionToken(constructorOptions)) {
8220
+ throw new SeamHttpInvalidOptionsError("Missing clientSessionToken");
8221
+ }
8222
+ return new _SeamHttpSeamV1(constructorOptions);
8223
+ }
8224
+ static async fromPublishableKey(publishableKey, userIdentifierKey, options = {}) {
8225
+ warnOnInsecureuserIdentifierKey(userIdentifierKey);
8226
+ const clientOptions = parseOptions({ ...options, publishableKey });
8227
+ if (isSeamHttpOptionsWithClient(clientOptions)) {
8228
+ throw new SeamHttpInvalidOptionsError(
8229
+ "The client option cannot be used with SeamHttpSeamV1.fromPublishableKey"
8230
+ );
8231
+ }
8232
+ const client = createClient(clientOptions);
8233
+ const clientSessions = SeamHttpClientSessions.fromClient(client);
8234
+ const { token } = await clientSessions.getOrCreate({
8235
+ user_identifier_key: userIdentifierKey
8236
+ });
8237
+ return _SeamHttpSeamV1.fromClientSessionToken(token, options);
8238
+ }
8239
+ static fromConsoleSessionToken(consoleSessionToken, workspaceId, options = {}) {
8240
+ const constructorOptions = { ...options, consoleSessionToken, workspaceId };
8241
+ if (!isSeamHttpOptionsWithConsoleSessionToken(constructorOptions)) {
8242
+ throw new SeamHttpInvalidOptionsError(
8243
+ "Missing consoleSessionToken or workspaceId"
8244
+ );
8245
+ }
8246
+ return new _SeamHttpSeamV1(constructorOptions);
8247
+ }
8248
+ static fromPersonalAccessToken(personalAccessToken, workspaceId, options = {}) {
8249
+ const constructorOptions = { ...options, personalAccessToken, workspaceId };
8250
+ if (!isSeamHttpOptionsWithPersonalAccessToken(constructorOptions)) {
8251
+ throw new SeamHttpInvalidOptionsError(
8252
+ "Missing personalAccessToken or workspaceId"
8253
+ );
8254
+ }
8255
+ return new _SeamHttpSeamV1(constructorOptions);
8256
+ }
8257
+ createPaginator(request) {
8258
+ return new SeamPaginator(this, request);
8259
+ }
8260
+ async updateClientSessionToken(clientSessionToken) {
8261
+ const { headers } = this.client.defaults;
8262
+ const authHeaders = getAuthHeadersForClientSessionToken({
8263
+ clientSessionToken
8264
+ });
8265
+ for (const key of Object.keys(authHeaders)) {
8266
+ if (headers[key] == null) {
8267
+ throw new Error(
8268
+ "Cannot update a clientSessionToken on a client created without a clientSessionToken"
8269
+ );
8270
+ }
8271
+ }
8272
+ this.client.defaults.headers = { ...headers, ...authHeaders };
8273
+ const clientSessions = SeamHttpClientSessions.fromClient(this.client);
8274
+ await clientSessions.get();
8275
+ }
8276
+ get customers() {
8277
+ return SeamHttpSeamV1Customers.fromClient(this.client, this.defaults);
8278
+ }
8279
+ };
8280
+
7977
8281
  // src/lib/seam/connect/routes/spaces/spaces.ts
7978
8282
  var SeamHttpSpaces = class _SeamHttpSpaces {
7979
8283
  client;
@@ -11344,6 +11648,21 @@ var SeamHttpEndpoints = class _SeamHttpEndpoints {
11344
11648
  return seam.update(...args);
11345
11649
  };
11346
11650
  }
11651
+ get "/seam/customer/v1/connector_customers/list"() {
11652
+ const { client, defaults } = this;
11653
+ if (!this.defaults.isUndocumentedApiEnabled) {
11654
+ throw new Error(
11655
+ "Cannot use undocumented API without isUndocumentedApiEnabled"
11656
+ );
11657
+ }
11658
+ return function seamCustomerV1ConnectorCustomersList(...args) {
11659
+ const seam = SeamHttpSeamCustomerV1ConnectorCustomers.fromClient(
11660
+ client,
11661
+ defaults
11662
+ );
11663
+ return seam.list(...args);
11664
+ };
11665
+ }
11347
11666
  get "/seam/customer/v1/connectors/authorize"() {
11348
11667
  const { client, defaults } = this;
11349
11668
  if (!this.defaults.isUndocumentedApiEnabled) {
@@ -11611,6 +11930,13 @@ var SeamHttpEndpoints = class _SeamHttpEndpoints {
11611
11930
  return seam.autoMap(...args);
11612
11931
  };
11613
11932
  }
11933
+ get "/seam/v1/customers/push_data"() {
11934
+ const { client, defaults } = this;
11935
+ return function seamV1CustomersPushData(...args) {
11936
+ const seam = SeamHttpSeamV1Customers.fromClient(client, defaults);
11937
+ return seam.pushData(...args);
11938
+ };
11939
+ }
11614
11940
  get "/spaces/add_acs_entrances"() {
11615
11941
  const { client, defaults } = this;
11616
11942
  return function spacesAddAcsEntrances(...args) {
@@ -12430,6 +12756,7 @@ exports.SeamHttpSeamCustomerV1 = SeamHttpSeamCustomerV1;
12430
12756
  exports.SeamHttpSeamCustomerV1AccessGrants = SeamHttpSeamCustomerV1AccessGrants;
12431
12757
  exports.SeamHttpSeamCustomerV1AutomationRuns = SeamHttpSeamCustomerV1AutomationRuns;
12432
12758
  exports.SeamHttpSeamCustomerV1Automations = SeamHttpSeamCustomerV1Automations;
12759
+ exports.SeamHttpSeamCustomerV1ConnectorCustomers = SeamHttpSeamCustomerV1ConnectorCustomers;
12433
12760
  exports.SeamHttpSeamCustomerV1Connectors = SeamHttpSeamCustomerV1Connectors;
12434
12761
  exports.SeamHttpSeamCustomerV1Customers = SeamHttpSeamCustomerV1Customers;
12435
12762
  exports.SeamHttpSeamCustomerV1Events = SeamHttpSeamCustomerV1Events;
@@ -12440,6 +12767,8 @@ exports.SeamHttpSeamCustomerV1Spaces = SeamHttpSeamCustomerV1Spaces;
12440
12767
  exports.SeamHttpSeamCustomerV1StaffMembers = SeamHttpSeamCustomerV1StaffMembers;
12441
12768
  exports.SeamHttpSeamPartnerV1BuildingBlocks = SeamHttpSeamPartnerV1BuildingBlocks;
12442
12769
  exports.SeamHttpSeamPartnerV1BuildingBlocksSpaces = SeamHttpSeamPartnerV1BuildingBlocksSpaces;
12770
+ exports.SeamHttpSeamV1 = SeamHttpSeamV1;
12771
+ exports.SeamHttpSeamV1Customers = SeamHttpSeamV1Customers;
12443
12772
  exports.SeamHttpSpaces = SeamHttpSpaces;
12444
12773
  exports.SeamHttpThermostats = SeamHttpThermostats;
12445
12774
  exports.SeamHttpThermostatsDailyPrograms = SeamHttpThermostatsDailyPrograms;