@seamapi/types 1.534.0 → 1.536.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 +274 -98
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +397 -49
- package/dist/index.cjs +274 -98
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/instant-keys/index.d.ts +1 -0
- package/lib/seam/connect/models/instant-keys/index.js +1 -0
- package/lib/seam/connect/models/instant-keys/index.js.map +1 -1
- package/lib/seam/connect/models/instant-keys/instant-key-preview.d.ts +240 -0
- package/lib/seam/connect/models/instant-keys/instant-key-preview.js +48 -0
- package/lib/seam/connect/models/instant-keys/instant-key-preview.js.map +1 -0
- package/lib/seam/connect/openapi.d.ts +346 -35
- package/lib/seam/connect/openapi.js +274 -98
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +51 -14
- package/package.json +1 -1
- package/src/lib/seam/connect/internal/schemas.ts +1 -0
- package/src/lib/seam/connect/models/instant-keys/index.ts +1 -0
- package/src/lib/seam/connect/models/instant-keys/instant-key-preview.ts +58 -0
- package/src/lib/seam/connect/openapi.ts +278 -112
- package/src/lib/seam/connect/route-types.ts +51 -14
|
@@ -29383,10 +29383,6 @@ export type Routes = {
|
|
|
29383
29383
|
location_id?: (string | null) | undefined
|
|
29384
29384
|
/** ID of the space for which you want to list entrances. */
|
|
29385
29385
|
space_id?: string | undefined
|
|
29386
|
-
/** ID of the access grant for which you want to retrieve all entrances. */
|
|
29387
|
-
access_grant_id?: string | undefined
|
|
29388
|
-
/** ID of the access method for which you want to retrieve all entrances. */
|
|
29389
|
-
access_method_id?: string | undefined
|
|
29390
29386
|
/** ID of the connected account for which you want to retrieve all entrances. */
|
|
29391
29387
|
connected_account_id?: string | undefined
|
|
29392
29388
|
/** IDs of the entrances for which you want to retrieve all entrances. */
|
|
@@ -38375,8 +38371,6 @@ export type Routes = {
|
|
|
38375
38371
|
space_id?: string | undefined
|
|
38376
38372
|
/** String for which to search. Filters returned devices to include all records that satisfy a partial match using `device_id`, `display_name`, `custom_metadata` or `location.location_name`. */
|
|
38377
38373
|
search?: string | undefined
|
|
38378
|
-
/** ID of the access method for which you want to retrieve all devices. */
|
|
38379
|
-
access_method_id?: string | undefined
|
|
38380
38374
|
}
|
|
38381
38375
|
formData: {}
|
|
38382
38376
|
jsonResponse: {
|
|
@@ -40742,8 +40736,6 @@ export type Routes = {
|
|
|
40742
40736
|
space_id?: string | undefined
|
|
40743
40737
|
/** String for which to search. Filters returned devices to include all records that satisfy a partial match using `device_id`, `display_name`, `custom_metadata` or `location.location_name`. */
|
|
40744
40738
|
search?: string | undefined
|
|
40745
|
-
/** ID of the access method for which you want to retrieve all devices. */
|
|
40746
|
-
access_method_id?: string | undefined
|
|
40747
40739
|
}
|
|
40748
40740
|
formData: {}
|
|
40749
40741
|
jsonResponse: {
|
|
@@ -49138,8 +49130,6 @@ export type Routes = {
|
|
|
49138
49130
|
space_id?: string | undefined
|
|
49139
49131
|
/** String for which to search. Filters returned devices to include all records that satisfy a partial match using `device_id`, `display_name`, `custom_metadata` or `location.location_name`. */
|
|
49140
49132
|
search?: string | undefined
|
|
49141
|
-
/** ID of the access method for which you want to retrieve all devices. */
|
|
49142
|
-
access_method_id?: string | undefined
|
|
49143
49133
|
}
|
|
49144
49134
|
formData: {}
|
|
49145
49135
|
jsonResponse: {
|
|
@@ -57958,8 +57948,6 @@ export type Routes = {
|
|
|
57958
57948
|
space_id?: string | undefined
|
|
57959
57949
|
/** String for which to search. Filters returned devices to include all records that satisfy a partial match using `device_id`, `display_name`, `custom_metadata` or `location.location_name`. */
|
|
57960
57950
|
search?: string | undefined
|
|
57961
|
-
/** ID of the access method for which you want to retrieve all devices. */
|
|
57962
|
-
access_method_id?: string | undefined
|
|
57963
57951
|
}
|
|
57964
57952
|
formData: {}
|
|
57965
57953
|
jsonResponse: {
|
|
@@ -68732,6 +68720,57 @@ export type Routes = {
|
|
|
68732
68720
|
}
|
|
68733
68721
|
}
|
|
68734
68722
|
}
|
|
68723
|
+
'/seam/instant_key/v1/preview/get': {
|
|
68724
|
+
route: '/seam/instant_key/v1/preview/get'
|
|
68725
|
+
method: 'GET' | 'POST'
|
|
68726
|
+
queryParams: {}
|
|
68727
|
+
jsonBody: {
|
|
68728
|
+
/** The short code of the instant key to preview. */
|
|
68729
|
+
instant_key_url: string
|
|
68730
|
+
}
|
|
68731
|
+
commonParams: {}
|
|
68732
|
+
formData: {}
|
|
68733
|
+
jsonResponse: {
|
|
68734
|
+
/** Represents a preview of an Instant Key with hotel, guest, and access information. */
|
|
68735
|
+
instant_key_preview: {
|
|
68736
|
+
shortcode: string
|
|
68737
|
+
hotel: {
|
|
68738
|
+
hotel_name: string
|
|
68739
|
+
primary_color: string
|
|
68740
|
+
accent_color: string
|
|
68741
|
+
secondary_color: string
|
|
68742
|
+
logo_url?: string | undefined
|
|
68743
|
+
verified: boolean
|
|
68744
|
+
}
|
|
68745
|
+
guest: {
|
|
68746
|
+
first_name: string
|
|
68747
|
+
last_name: string
|
|
68748
|
+
full_name: string
|
|
68749
|
+
email: string
|
|
68750
|
+
check_in_date: string
|
|
68751
|
+
check_out_date: string
|
|
68752
|
+
}
|
|
68753
|
+
room: {
|
|
68754
|
+
room_number: string
|
|
68755
|
+
room_type: string
|
|
68756
|
+
floor: number
|
|
68757
|
+
}
|
|
68758
|
+
access: {
|
|
68759
|
+
name: string
|
|
68760
|
+
icon: string
|
|
68761
|
+
hours?: string | undefined
|
|
68762
|
+
location?: string | undefined
|
|
68763
|
+
available: boolean
|
|
68764
|
+
}[]
|
|
68765
|
+
key_status: 'ready' | 'expired' | 'used'
|
|
68766
|
+
support_phone: string
|
|
68767
|
+
support_email: string
|
|
68768
|
+
created_at: string
|
|
68769
|
+
updated_at: string
|
|
68770
|
+
expires_at: string
|
|
68771
|
+
}
|
|
68772
|
+
}
|
|
68773
|
+
}
|
|
68735
68774
|
'/seam/mobile_sdk/v1/acs/credentials/list': {
|
|
68736
68775
|
route: '/seam/mobile_sdk/v1/acs/credentials/list'
|
|
68737
68776
|
method: 'GET' | 'POST'
|
|
@@ -80525,8 +80564,6 @@ export type Routes = {
|
|
|
80525
80564
|
space_id?: string | undefined
|
|
80526
80565
|
/** String for which to search. Filters returned devices to include all records that satisfy a partial match using `device_id`, `display_name`, `custom_metadata` or `location.location_name`. */
|
|
80527
80566
|
search?: string | undefined
|
|
80528
|
-
/** ID of the access method for which you want to retrieve all devices. */
|
|
80529
|
-
access_method_id?: string | undefined
|
|
80530
80567
|
}
|
|
80531
80568
|
formData: {}
|
|
80532
80569
|
jsonResponse: {
|