@seamapi/http 1.70.0 → 1.72.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.
- package/dist/connect.cjs +159 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +48 -3
- package/dist/index.cjs +161 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/lib/seam/connect/routes/seam/customer/v1/index.d.ts +1 -0
- package/lib/seam/connect/routes/seam/customer/v1/index.js +1 -0
- package/lib/seam/connect/routes/seam/customer/v1/index.js.map +1 -1
- package/lib/seam/connect/routes/seam/customer/v1/reservations/index.d.ts +1 -0
- package/lib/seam/connect/routes/seam/customer/v1/reservations/index.js +6 -0
- package/lib/seam/connect/routes/seam/customer/v1/reservations/index.js.map +1 -0
- package/lib/seam/connect/routes/seam/customer/v1/reservations/reservations.d.ts +47 -0
- package/lib/seam/connect/routes/seam/customer/v1/reservations/reservations.js +116 -0
- package/lib/seam/connect/routes/seam/customer/v1/reservations/reservations.js.map +1 -0
- package/lib/seam/connect/routes/seam/customer/v1/v1.d.ts +2 -0
- package/lib/seam/connect/routes/seam/customer/v1/v1.js +4 -0
- package/lib/seam/connect/routes/seam/customer/v1/v1.js.map +1 -1
- package/lib/seam/connect/routes/seam-http-endpoints.d.ts +5 -2
- package/lib/seam/connect/routes/seam-http-endpoints.js +21 -0
- package/lib/seam/connect/routes/seam-http-endpoints.js.map +1 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +3 -3
- package/src/lib/seam/connect/routes/seam/customer/v1/index.ts +1 -0
- package/src/lib/seam/connect/routes/seam/customer/v1/reservations/index.ts +6 -0
- package/src/lib/seam/connect/routes/seam/customer/v1/reservations/reservations.ts +255 -0
- package/src/lib/seam/connect/routes/seam/customer/v1/v1.ts +8 -0
- package/src/lib/seam/connect/routes/seam-http-endpoints.ts +54 -0
- package/src/lib/version.ts +1 -1
|
@@ -584,6 +584,15 @@ import {
|
|
|
584
584
|
type SeamCustomerV1PortalsGetRequest,
|
|
585
585
|
SeamHttpSeamCustomerV1Portals,
|
|
586
586
|
} from './seam/customer/v1/portals/index.js'
|
|
587
|
+
import {
|
|
588
|
+
type SeamCustomerV1ReservationsGetOptions,
|
|
589
|
+
type SeamCustomerV1ReservationsGetParameters,
|
|
590
|
+
type SeamCustomerV1ReservationsGetRequest,
|
|
591
|
+
type SeamCustomerV1ReservationsListOptions,
|
|
592
|
+
type SeamCustomerV1ReservationsListParameters,
|
|
593
|
+
type SeamCustomerV1ReservationsListRequest,
|
|
594
|
+
SeamHttpSeamCustomerV1Reservations,
|
|
595
|
+
} from './seam/customer/v1/reservations/index.js'
|
|
587
596
|
import {
|
|
588
597
|
type SeamCustomerV1SettingsGetOptions,
|
|
589
598
|
type SeamCustomerV1SettingsGetParameters,
|
|
@@ -2985,6 +2994,48 @@ export class SeamHttpEndpoints {
|
|
|
2985
2994
|
}
|
|
2986
2995
|
}
|
|
2987
2996
|
|
|
2997
|
+
get '/seam/customer/v1/reservations/get'(): (
|
|
2998
|
+
parameters?: SeamCustomerV1ReservationsGetParameters,
|
|
2999
|
+
options?: SeamCustomerV1ReservationsGetOptions,
|
|
3000
|
+
) => SeamCustomerV1ReservationsGetRequest {
|
|
3001
|
+
const { client, defaults } = this
|
|
3002
|
+
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
3003
|
+
throw new Error(
|
|
3004
|
+
'Cannot use undocumented API without isUndocumentedApiEnabled',
|
|
3005
|
+
)
|
|
3006
|
+
}
|
|
3007
|
+
return function seamCustomerV1ReservationsGet(
|
|
3008
|
+
...args: Parameters<SeamHttpSeamCustomerV1Reservations['get']>
|
|
3009
|
+
): ReturnType<SeamHttpSeamCustomerV1Reservations['get']> {
|
|
3010
|
+
const seam = SeamHttpSeamCustomerV1Reservations.fromClient(
|
|
3011
|
+
client,
|
|
3012
|
+
defaults,
|
|
3013
|
+
)
|
|
3014
|
+
return seam.get(...args)
|
|
3015
|
+
}
|
|
3016
|
+
}
|
|
3017
|
+
|
|
3018
|
+
get '/seam/customer/v1/reservations/list'(): (
|
|
3019
|
+
parameters?: SeamCustomerV1ReservationsListParameters,
|
|
3020
|
+
options?: SeamCustomerV1ReservationsListOptions,
|
|
3021
|
+
) => SeamCustomerV1ReservationsListRequest {
|
|
3022
|
+
const { client, defaults } = this
|
|
3023
|
+
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
3024
|
+
throw new Error(
|
|
3025
|
+
'Cannot use undocumented API without isUndocumentedApiEnabled',
|
|
3026
|
+
)
|
|
3027
|
+
}
|
|
3028
|
+
return function seamCustomerV1ReservationsList(
|
|
3029
|
+
...args: Parameters<SeamHttpSeamCustomerV1Reservations['list']>
|
|
3030
|
+
): ReturnType<SeamHttpSeamCustomerV1Reservations['list']> {
|
|
3031
|
+
const seam = SeamHttpSeamCustomerV1Reservations.fromClient(
|
|
3032
|
+
client,
|
|
3033
|
+
defaults,
|
|
3034
|
+
)
|
|
3035
|
+
return seam.list(...args)
|
|
3036
|
+
}
|
|
3037
|
+
}
|
|
3038
|
+
|
|
2988
3039
|
get '/seam/customer/v1/settings/get'(): (
|
|
2989
3040
|
parameters?: SeamCustomerV1SettingsGetParameters,
|
|
2990
3041
|
options?: SeamCustomerV1SettingsGetOptions,
|
|
@@ -4172,6 +4223,8 @@ export type SeamHttpEndpointQueryPaths =
|
|
|
4172
4223
|
| '/seam/customer/v1/automations/get'
|
|
4173
4224
|
| '/seam/customer/v1/events/list'
|
|
4174
4225
|
| '/seam/customer/v1/portals/get'
|
|
4226
|
+
| '/seam/customer/v1/reservations/get'
|
|
4227
|
+
| '/seam/customer/v1/reservations/list'
|
|
4175
4228
|
| '/seam/customer/v1/settings/get'
|
|
4176
4229
|
| '/seam/partner/v1/building_blocks/spaces/auto_map'
|
|
4177
4230
|
| '/spaces/get'
|
|
@@ -4209,6 +4262,7 @@ export type SeamHttpEndpointPaginatedQueryPaths =
|
|
|
4209
4262
|
| '/devices/list'
|
|
4210
4263
|
| '/seam/console/v1/timelines/get'
|
|
4211
4264
|
| '/seam/customer/v1/automation_runs/list'
|
|
4265
|
+
| '/seam/customer/v1/reservations/list'
|
|
4212
4266
|
|
|
4213
4267
|
export type SeamHttpEndpointMutationPaths =
|
|
4214
4268
|
| '/access_codes/create'
|
package/src/lib/version.ts
CHANGED