@seamapi/types 1.895.0 → 1.897.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 +398 -9
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +180 -18
- package/dist/index.cjs +398 -9
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/events/access-codes.d.ts +20 -20
- package/lib/seam/connect/models/events/access-codes.js +2 -2
- package/lib/seam/connect/models/events/access-codes.js.map +1 -1
- package/lib/seam/connect/models/events/seam-event.d.ts +10 -10
- package/lib/seam/connect/openapi.js +396 -7
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +170 -8
- package/package.json +1 -1
- package/src/lib/seam/connect/models/events/access-codes.ts +2 -2
- package/src/lib/seam/connect/openapi.ts +403 -8
- package/src/lib/seam/connect/route-types.ts +176 -8
|
@@ -55411,9 +55411,9 @@ export type Routes = {
|
|
|
55411
55411
|
/** Name of the property that changed (e.g. `code`). */
|
|
55412
55412
|
property: string
|
|
55413
55413
|
/** Previous value of the property, or null if not set. */
|
|
55414
|
-
|
|
55414
|
+
from: string | null
|
|
55415
55415
|
/** New value of the property, or null if cleared. */
|
|
55416
|
-
|
|
55416
|
+
to: string | null
|
|
55417
55417
|
}[]
|
|
55418
55418
|
| undefined
|
|
55419
55419
|
/** Human-readable reason for the change (e.g. `ongoing code auto-renewed`). */
|
|
@@ -58844,9 +58844,9 @@ export type Routes = {
|
|
|
58844
58844
|
/** Name of the property that changed (e.g. `code`). */
|
|
58845
58845
|
property: string
|
|
58846
58846
|
/** Previous value of the property, or null if not set. */
|
|
58847
|
-
|
|
58847
|
+
from: string | null
|
|
58848
58848
|
/** New value of the property, or null if cleared. */
|
|
58849
|
-
|
|
58849
|
+
to: string | null
|
|
58850
58850
|
}[]
|
|
58851
58851
|
| undefined
|
|
58852
58852
|
/** Human-readable reason for the change (e.g. `ongoing code auto-renewed`). */
|
|
@@ -88910,6 +88910,174 @@ export type Routes = {
|
|
|
88910
88910
|
}
|
|
88911
88911
|
maxDuration: undefined
|
|
88912
88912
|
}
|
|
88913
|
+
'/seam/console/v1/sites/create': {
|
|
88914
|
+
route: '/seam/console/v1/sites/create'
|
|
88915
|
+
method: 'POST'
|
|
88916
|
+
queryParams: {}
|
|
88917
|
+
jsonBody: {
|
|
88918
|
+
/** Name of the site that you want to create. */
|
|
88919
|
+
name: string
|
|
88920
|
+
/** Unique key for the site within the workspace. */
|
|
88921
|
+
site_key?: string | undefined
|
|
88922
|
+
}
|
|
88923
|
+
commonParams: {}
|
|
88924
|
+
formData: {}
|
|
88925
|
+
jsonResponse: {
|
|
88926
|
+
/** Represents a space that is a logical grouping of devices and entrances. You can assign access to an entire space, thereby making granting access more efficient. */
|
|
88927
|
+
site: {
|
|
88928
|
+
/** ID of the space. */
|
|
88929
|
+
space_id: string
|
|
88930
|
+
/** ID of the [workspace](https://docs.seam.co/core-concepts/workspaces) associated with the space. */
|
|
88931
|
+
workspace_id: string
|
|
88932
|
+
/** Unique key for the space within the workspace. */
|
|
88933
|
+
space_key?: string | undefined
|
|
88934
|
+
/** Name of the space. */
|
|
88935
|
+
name: string
|
|
88936
|
+
/** Display name for the space. */
|
|
88937
|
+
display_name: string
|
|
88938
|
+
/** Date and time at which the space was created. */
|
|
88939
|
+
created_at: string
|
|
88940
|
+
/** Number of devices in the space. */
|
|
88941
|
+
device_count: number
|
|
88942
|
+
/** Number of entrances in the space. */
|
|
88943
|
+
acs_entrance_count: number
|
|
88944
|
+
/** Customer key associated with the space. */
|
|
88945
|
+
customer_key?: string | undefined
|
|
88946
|
+
/** Reservation/stay-related defaults for the space. */
|
|
88947
|
+
customer_data?:
|
|
88948
|
+
| {
|
|
88949
|
+
/** IANA time zone for the space, e.g. America/Los_Angeles. */
|
|
88950
|
+
time_zone?: (string | null) | undefined
|
|
88951
|
+
/** Default check-in time for reservations at the space, as HH:mm or HH:mm:ss. */
|
|
88952
|
+
default_checkin_time?: (string | null) | undefined
|
|
88953
|
+
/** Default check-out time for reservations at the space, as HH:mm or HH:mm:ss. */
|
|
88954
|
+
default_checkout_time?: (string | null) | undefined
|
|
88955
|
+
}
|
|
88956
|
+
| undefined
|
|
88957
|
+
/** */
|
|
88958
|
+
parent_space_id?: string | undefined
|
|
88959
|
+
/** */
|
|
88960
|
+
parent_space_key?: string | undefined
|
|
88961
|
+
}
|
|
88962
|
+
}
|
|
88963
|
+
maxDuration: undefined
|
|
88964
|
+
}
|
|
88965
|
+
'/seam/console/v1/sites/delete': {
|
|
88966
|
+
route: '/seam/console/v1/sites/delete'
|
|
88967
|
+
method: 'DELETE' | 'POST'
|
|
88968
|
+
queryParams: {}
|
|
88969
|
+
jsonBody: {
|
|
88970
|
+
/** ID of the site that you want to delete. */
|
|
88971
|
+
site_id: string
|
|
88972
|
+
}
|
|
88973
|
+
commonParams: {}
|
|
88974
|
+
formData: {}
|
|
88975
|
+
jsonResponse: {}
|
|
88976
|
+
maxDuration: undefined
|
|
88977
|
+
}
|
|
88978
|
+
'/seam/console/v1/sites/list': {
|
|
88979
|
+
route: '/seam/console/v1/sites/list'
|
|
88980
|
+
method: 'GET' | 'POST'
|
|
88981
|
+
queryParams: {}
|
|
88982
|
+
jsonBody: {}
|
|
88983
|
+
commonParams: {
|
|
88984
|
+
/** String for which to search. Filters sites to those with a partial match on `name` or `site_key`. */
|
|
88985
|
+
search?: string | undefined
|
|
88986
|
+
}
|
|
88987
|
+
formData: {}
|
|
88988
|
+
jsonResponse: {
|
|
88989
|
+
sites: {
|
|
88990
|
+
/** ID of the space. */
|
|
88991
|
+
space_id: string
|
|
88992
|
+
/** ID of the [workspace](https://docs.seam.co/core-concepts/workspaces) associated with the space. */
|
|
88993
|
+
workspace_id: string
|
|
88994
|
+
/** Unique key for the space within the workspace. */
|
|
88995
|
+
space_key?: string | undefined
|
|
88996
|
+
/** Name of the space. */
|
|
88997
|
+
name: string
|
|
88998
|
+
/** Display name for the space. */
|
|
88999
|
+
display_name: string
|
|
89000
|
+
/** Date and time at which the space was created. */
|
|
89001
|
+
created_at: string
|
|
89002
|
+
/** Number of devices in the space. */
|
|
89003
|
+
device_count: number
|
|
89004
|
+
/** Number of entrances in the space. */
|
|
89005
|
+
acs_entrance_count: number
|
|
89006
|
+
/** Customer key associated with the space. */
|
|
89007
|
+
customer_key?: string | undefined
|
|
89008
|
+
/** Reservation/stay-related defaults for the space. */
|
|
89009
|
+
customer_data?:
|
|
89010
|
+
| {
|
|
89011
|
+
/** IANA time zone for the space, e.g. America/Los_Angeles. */
|
|
89012
|
+
time_zone?: (string | null) | undefined
|
|
89013
|
+
/** Default check-in time for reservations at the space, as HH:mm or HH:mm:ss. */
|
|
89014
|
+
default_checkin_time?: (string | null) | undefined
|
|
89015
|
+
/** Default check-out time for reservations at the space, as HH:mm or HH:mm:ss. */
|
|
89016
|
+
default_checkout_time?: (string | null) | undefined
|
|
89017
|
+
}
|
|
89018
|
+
| undefined
|
|
89019
|
+
/** */
|
|
89020
|
+
parent_space_id?: string | undefined
|
|
89021
|
+
/** */
|
|
89022
|
+
parent_space_key?: string | undefined
|
|
89023
|
+
}[]
|
|
89024
|
+
}
|
|
89025
|
+
maxDuration: undefined
|
|
89026
|
+
}
|
|
89027
|
+
'/seam/console/v1/sites/update': {
|
|
89028
|
+
route: '/seam/console/v1/sites/update'
|
|
89029
|
+
method: 'POST' | 'PATCH'
|
|
89030
|
+
queryParams: {}
|
|
89031
|
+
jsonBody: {
|
|
89032
|
+
/** ID of the site that you want to update. */
|
|
89033
|
+
site_id: string
|
|
89034
|
+
/** New name for the site. */
|
|
89035
|
+
name?: string | undefined
|
|
89036
|
+
/** New unique key for the site within the workspace. */
|
|
89037
|
+
site_key?: string | undefined
|
|
89038
|
+
}
|
|
89039
|
+
commonParams: {}
|
|
89040
|
+
formData: {}
|
|
89041
|
+
jsonResponse: {
|
|
89042
|
+
/** Represents a space that is a logical grouping of devices and entrances. You can assign access to an entire space, thereby making granting access more efficient. */
|
|
89043
|
+
site: {
|
|
89044
|
+
/** ID of the space. */
|
|
89045
|
+
space_id: string
|
|
89046
|
+
/** ID of the [workspace](https://docs.seam.co/core-concepts/workspaces) associated with the space. */
|
|
89047
|
+
workspace_id: string
|
|
89048
|
+
/** Unique key for the space within the workspace. */
|
|
89049
|
+
space_key?: string | undefined
|
|
89050
|
+
/** Name of the space. */
|
|
89051
|
+
name: string
|
|
89052
|
+
/** Display name for the space. */
|
|
89053
|
+
display_name: string
|
|
89054
|
+
/** Date and time at which the space was created. */
|
|
89055
|
+
created_at: string
|
|
89056
|
+
/** Number of devices in the space. */
|
|
89057
|
+
device_count: number
|
|
89058
|
+
/** Number of entrances in the space. */
|
|
89059
|
+
acs_entrance_count: number
|
|
89060
|
+
/** Customer key associated with the space. */
|
|
89061
|
+
customer_key?: string | undefined
|
|
89062
|
+
/** Reservation/stay-related defaults for the space. */
|
|
89063
|
+
customer_data?:
|
|
89064
|
+
| {
|
|
89065
|
+
/** IANA time zone for the space, e.g. America/Los_Angeles. */
|
|
89066
|
+
time_zone?: (string | null) | undefined
|
|
89067
|
+
/** Default check-in time for reservations at the space, as HH:mm or HH:mm:ss. */
|
|
89068
|
+
default_checkin_time?: (string | null) | undefined
|
|
89069
|
+
/** Default check-out time for reservations at the space, as HH:mm or HH:mm:ss. */
|
|
89070
|
+
default_checkout_time?: (string | null) | undefined
|
|
89071
|
+
}
|
|
89072
|
+
| undefined
|
|
89073
|
+
/** */
|
|
89074
|
+
parent_space_id?: string | undefined
|
|
89075
|
+
/** */
|
|
89076
|
+
parent_space_key?: string | undefined
|
|
89077
|
+
}
|
|
89078
|
+
}
|
|
89079
|
+
maxDuration: undefined
|
|
89080
|
+
}
|
|
88913
89081
|
'/seam/console/v1/timelines/get': {
|
|
88914
89082
|
route: '/seam/console/v1/timelines/get'
|
|
88915
89083
|
method: 'GET' | 'POST'
|
|
@@ -92532,9 +92700,9 @@ export type Routes = {
|
|
|
92532
92700
|
/** Name of the property that changed (e.g. `code`). */
|
|
92533
92701
|
property: string
|
|
92534
92702
|
/** Previous value of the property, or null if not set. */
|
|
92535
|
-
|
|
92703
|
+
from: string | null
|
|
92536
92704
|
/** New value of the property, or null if cleared. */
|
|
92537
|
-
|
|
92705
|
+
to: string | null
|
|
92538
92706
|
}[]
|
|
92539
92707
|
| undefined
|
|
92540
92708
|
/** Human-readable reason for the change (e.g. `ongoing code auto-renewed`). */
|
|
@@ -135604,9 +135772,9 @@ export type Routes = {
|
|
|
135604
135772
|
/** Name of the property that changed (e.g. `code`). */
|
|
135605
135773
|
property: string
|
|
135606
135774
|
/** Previous value of the property, or null if not set. */
|
|
135607
|
-
|
|
135775
|
+
from: string | null
|
|
135608
135776
|
/** New value of the property, or null if cleared. */
|
|
135609
|
-
|
|
135777
|
+
to: string | null
|
|
135610
135778
|
}[]
|
|
135611
135779
|
| undefined
|
|
135612
135780
|
/** Human-readable reason for the change (e.g. `ongoing code auto-renewed`). */
|