@seamapi/types 1.896.0 → 1.898.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.
@@ -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'
@@ -100581,6 +100749,10 @@ export type Routes = {
100581
100749
  default_checkout_time?: (string | null) | undefined
100582
100750
  }
100583
100751
  | undefined
100752
+ /** Reassign this space to the parent space (site) with this `parent_space_id`. */
100753
+ parent_space_id?: string | undefined
100754
+ /** Reassign this space to the parent space (site) with this `parent_space_key`. */
100755
+ parent_space_key?: string | undefined
100584
100756
  }
100585
100757
  commonParams: {}
100586
100758
  formData: {}