@seamapi/http 1.96.0 → 1.97.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 (30) hide show
  1. package/dist/connect.cjs +127 -0
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +34 -3
  4. package/dist/index.cjs +129 -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/customers/customers.d.ts +34 -0
  8. package/lib/seam/connect/routes/seam/customer/v1/customers/customers.js +104 -0
  9. package/lib/seam/connect/routes/seam/customer/v1/customers/customers.js.map +1 -0
  10. package/lib/seam/connect/routes/seam/customer/v1/customers/index.d.ts +1 -0
  11. package/lib/seam/connect/routes/seam/customer/v1/customers/index.js +6 -0
  12. package/lib/seam/connect/routes/seam/customer/v1/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-http-endpoints.d.ts +4 -2
  20. package/lib/seam/connect/routes/seam-http-endpoints.js +11 -0
  21. package/lib/seam/connect/routes/seam-http-endpoints.js.map +1 -1
  22. package/lib/version.d.ts +1 -1
  23. package/lib/version.js +1 -1
  24. package/package.json +3 -3
  25. package/src/lib/seam/connect/routes/seam/customer/v1/customers/customers.ts +214 -0
  26. package/src/lib/seam/connect/routes/seam/customer/v1/customers/index.ts +6 -0
  27. package/src/lib/seam/connect/routes/seam/customer/v1/index.ts +1 -0
  28. package/src/lib/seam/connect/routes/seam/customer/v1/v1.ts +8 -0
  29. package/src/lib/seam/connect/routes/seam-http-endpoints.ts +26 -0
  30. package/src/lib/version.ts +1 -1
@@ -37,6 +37,7 @@ import { SeamHttpSeamCustomerV1AccessGrants } from './access-grants/index.js'
37
37
  import { SeamHttpSeamCustomerV1AutomationRuns } from './automation-runs/index.js'
38
38
  import { SeamHttpSeamCustomerV1Automations } from './automations/index.js'
39
39
  import { SeamHttpSeamCustomerV1Connectors } from './connectors/index.js'
40
+ import { SeamHttpSeamCustomerV1Customers } from './customers/index.js'
40
41
  import { SeamHttpSeamCustomerV1Events } from './events/index.js'
41
42
  import { SeamHttpSeamCustomerV1Portals } from './portals/index.js'
42
43
  import { SeamHttpSeamCustomerV1Reservations } from './reservations/index.js'
@@ -204,6 +205,13 @@ export class SeamHttpSeamCustomerV1 {
204
205
  )
205
206
  }
206
207
 
208
+ get customers(): SeamHttpSeamCustomerV1Customers {
209
+ return SeamHttpSeamCustomerV1Customers.fromClient(
210
+ this.client,
211
+ this.defaults,
212
+ )
213
+ }
214
+
207
215
  get events(): SeamHttpSeamCustomerV1Events {
208
216
  return SeamHttpSeamCustomerV1Events.fromClient(this.client, this.defaults)
209
217
  }
@@ -638,6 +638,12 @@ import {
638
638
  type SeamCustomerV1ConnectorsUpdateRequest,
639
639
  SeamHttpSeamCustomerV1Connectors,
640
640
  } from './seam/customer/v1/connectors/index.js'
641
+ import {
642
+ type SeamCustomerV1CustomersListOptions,
643
+ type SeamCustomerV1CustomersListParameters,
644
+ type SeamCustomerV1CustomersListRequest,
645
+ SeamHttpSeamCustomerV1Customers,
646
+ } from './seam/customer/v1/customers/index.js'
641
647
  import {
642
648
  type SeamCustomerV1EventsListOptions,
643
649
  type SeamCustomerV1EventsListParameters,
@@ -3324,6 +3330,24 @@ export class SeamHttpEndpoints {
3324
3330
  }
3325
3331
  }
3326
3332
 
3333
+ get '/seam/customer/v1/customers/list'(): (
3334
+ parameters?: SeamCustomerV1CustomersListParameters,
3335
+ options?: SeamCustomerV1CustomersListOptions,
3336
+ ) => SeamCustomerV1CustomersListRequest {
3337
+ const { client, defaults } = this
3338
+ if (!this.defaults.isUndocumentedApiEnabled) {
3339
+ throw new Error(
3340
+ 'Cannot use undocumented API without isUndocumentedApiEnabled',
3341
+ )
3342
+ }
3343
+ return function seamCustomerV1CustomersList(
3344
+ ...args: Parameters<SeamHttpSeamCustomerV1Customers['list']>
3345
+ ): ReturnType<SeamHttpSeamCustomerV1Customers['list']> {
3346
+ const seam = SeamHttpSeamCustomerV1Customers.fromClient(client, defaults)
3347
+ return seam.list(...args)
3348
+ }
3349
+ }
3350
+
3327
3351
  get '/seam/customer/v1/events/list'(): (
3328
3352
  parameters?: SeamCustomerV1EventsListParameters,
3329
3353
  options?: SeamCustomerV1EventsListOptions,
@@ -4730,6 +4754,7 @@ export type SeamHttpEndpointQueryPaths =
4730
4754
  | '/seam/customer/v1/connectors/authorize'
4731
4755
  | '/seam/customer/v1/connectors/connector_types'
4732
4756
  | '/seam/customer/v1/connectors/list'
4757
+ | '/seam/customer/v1/customers/list'
4733
4758
  | '/seam/customer/v1/events/list'
4734
4759
  | '/seam/customer/v1/portals/get'
4735
4760
  | '/seam/customer/v1/reservations/get'
@@ -4779,6 +4804,7 @@ export type SeamHttpEndpointPaginatedQueryPaths =
4779
4804
  | '/devices/unmanaged/list'
4780
4805
  | '/seam/console/v1/timelines/get'
4781
4806
  | '/seam/customer/v1/automation_runs/list'
4807
+ | '/seam/customer/v1/customers/list'
4782
4808
  | '/seam/customer/v1/reservations/list'
4783
4809
  | '/seam/customer/v1/staff_members/list'
4784
4810
  | '/user_identities/list'
@@ -1,3 +1,3 @@
1
- const seamapiJavascriptHttpVersion = '1.96.0'
1
+ const seamapiJavascriptHttpVersion = '1.97.0'
2
2
 
3
3
  export default seamapiJavascriptHttpVersion