@seamapi/http 1.70.0 → 1.71.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 +130 -0
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +34 -3
  4. package/dist/index.cjs +132 -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/index.d.ts +1 -0
  8. package/lib/seam/connect/routes/seam/customer/v1/index.js +1 -0
  9. package/lib/seam/connect/routes/seam/customer/v1/index.js.map +1 -1
  10. package/lib/seam/connect/routes/seam/customer/v1/reservations/index.d.ts +1 -0
  11. package/lib/seam/connect/routes/seam/customer/v1/reservations/index.js +6 -0
  12. package/lib/seam/connect/routes/seam/customer/v1/reservations/index.js.map +1 -0
  13. package/lib/seam/connect/routes/seam/customer/v1/reservations/reservations.d.ts +34 -0
  14. package/lib/seam/connect/routes/seam/customer/v1/reservations/reservations.js +104 -0
  15. package/lib/seam/connect/routes/seam/customer/v1/reservations/reservations.js.map +1 -0
  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/index.ts +1 -0
  26. package/src/lib/seam/connect/routes/seam/customer/v1/reservations/index.ts +6 -0
  27. package/src/lib/seam/connect/routes/seam/customer/v1/reservations/reservations.ts +214 -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 +29 -0
  30. package/src/lib/version.ts +1 -1
@@ -584,6 +584,12 @@ import {
584
584
  type SeamCustomerV1PortalsGetRequest,
585
585
  SeamHttpSeamCustomerV1Portals,
586
586
  } from './seam/customer/v1/portals/index.js'
587
+ import {
588
+ type SeamCustomerV1ReservationsListOptions,
589
+ type SeamCustomerV1ReservationsListParameters,
590
+ type SeamCustomerV1ReservationsListRequest,
591
+ SeamHttpSeamCustomerV1Reservations,
592
+ } from './seam/customer/v1/reservations/index.js'
587
593
  import {
588
594
  type SeamCustomerV1SettingsGetOptions,
589
595
  type SeamCustomerV1SettingsGetParameters,
@@ -2985,6 +2991,27 @@ export class SeamHttpEndpoints {
2985
2991
  }
2986
2992
  }
2987
2993
 
2994
+ get '/seam/customer/v1/reservations/list'(): (
2995
+ parameters?: SeamCustomerV1ReservationsListParameters,
2996
+ options?: SeamCustomerV1ReservationsListOptions,
2997
+ ) => SeamCustomerV1ReservationsListRequest {
2998
+ const { client, defaults } = this
2999
+ if (!this.defaults.isUndocumentedApiEnabled) {
3000
+ throw new Error(
3001
+ 'Cannot use undocumented API without isUndocumentedApiEnabled',
3002
+ )
3003
+ }
3004
+ return function seamCustomerV1ReservationsList(
3005
+ ...args: Parameters<SeamHttpSeamCustomerV1Reservations['list']>
3006
+ ): ReturnType<SeamHttpSeamCustomerV1Reservations['list']> {
3007
+ const seam = SeamHttpSeamCustomerV1Reservations.fromClient(
3008
+ client,
3009
+ defaults,
3010
+ )
3011
+ return seam.list(...args)
3012
+ }
3013
+ }
3014
+
2988
3015
  get '/seam/customer/v1/settings/get'(): (
2989
3016
  parameters?: SeamCustomerV1SettingsGetParameters,
2990
3017
  options?: SeamCustomerV1SettingsGetOptions,
@@ -4172,6 +4199,7 @@ export type SeamHttpEndpointQueryPaths =
4172
4199
  | '/seam/customer/v1/automations/get'
4173
4200
  | '/seam/customer/v1/events/list'
4174
4201
  | '/seam/customer/v1/portals/get'
4202
+ | '/seam/customer/v1/reservations/list'
4175
4203
  | '/seam/customer/v1/settings/get'
4176
4204
  | '/seam/partner/v1/building_blocks/spaces/auto_map'
4177
4205
  | '/spaces/get'
@@ -4209,6 +4237,7 @@ export type SeamHttpEndpointPaginatedQueryPaths =
4209
4237
  | '/devices/list'
4210
4238
  | '/seam/console/v1/timelines/get'
4211
4239
  | '/seam/customer/v1/automation_runs/list'
4240
+ | '/seam/customer/v1/reservations/list'
4212
4241
 
4213
4242
  export type SeamHttpEndpointMutationPaths =
4214
4243
  | '/access_codes/create'
@@ -1,3 +1,3 @@
1
- const seamapiJavascriptHttpVersion = '1.70.0'
1
+ const seamapiJavascriptHttpVersion = '1.71.0'
2
2
 
3
3
  export default seamapiJavascriptHttpVersion