@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
package/dist/connect.cjs
CHANGED
|
@@ -35901,24 +35901,6 @@ var openapi_default = {
|
|
|
35901
35901
|
type: "string"
|
|
35902
35902
|
}
|
|
35903
35903
|
},
|
|
35904
|
-
{
|
|
35905
|
-
in: "query",
|
|
35906
|
-
name: "access_grant_id",
|
|
35907
|
-
schema: {
|
|
35908
|
-
description: "ID of the access grant for which you want to retrieve all entrances.",
|
|
35909
|
-
format: "uuid",
|
|
35910
|
-
type: "string"
|
|
35911
|
-
}
|
|
35912
|
-
},
|
|
35913
|
-
{
|
|
35914
|
-
in: "query",
|
|
35915
|
-
name: "access_method_id",
|
|
35916
|
-
schema: {
|
|
35917
|
-
description: "ID of the access method for which you want to retrieve all entrances.",
|
|
35918
|
-
format: "uuid",
|
|
35919
|
-
type: "string"
|
|
35920
|
-
}
|
|
35921
|
-
},
|
|
35922
35904
|
{
|
|
35923
35905
|
in: "query",
|
|
35924
35906
|
name: "connected_account_id",
|
|
@@ -36013,16 +35995,6 @@ var openapi_default = {
|
|
|
36013
35995
|
"application/json": {
|
|
36014
35996
|
schema: {
|
|
36015
35997
|
properties: {
|
|
36016
|
-
access_grant_id: {
|
|
36017
|
-
description: "ID of the access grant for which you want to retrieve all entrances.",
|
|
36018
|
-
format: "uuid",
|
|
36019
|
-
type: "string"
|
|
36020
|
-
},
|
|
36021
|
-
access_method_id: {
|
|
36022
|
-
description: "ID of the access method for which you want to retrieve all entrances.",
|
|
36023
|
-
format: "uuid",
|
|
36024
|
-
type: "string"
|
|
36025
|
-
},
|
|
36026
35998
|
acs_credential_id: {
|
|
36027
35999
|
description: "ID of the credential for which you want to retrieve all entrances.",
|
|
36028
36000
|
format: "uuid",
|
|
@@ -42792,15 +42764,6 @@ var openapi_default = {
|
|
|
42792
42764
|
minLength: 1,
|
|
42793
42765
|
type: "string"
|
|
42794
42766
|
}
|
|
42795
|
-
},
|
|
42796
|
-
{
|
|
42797
|
-
in: "query",
|
|
42798
|
-
name: "access_method_id",
|
|
42799
|
-
schema: {
|
|
42800
|
-
description: "ID of the access method for which you want to retrieve all devices.",
|
|
42801
|
-
format: "uuid",
|
|
42802
|
-
type: "string"
|
|
42803
|
-
}
|
|
42804
42767
|
}
|
|
42805
42768
|
],
|
|
42806
42769
|
responses: {
|
|
@@ -42849,11 +42812,6 @@ var openapi_default = {
|
|
|
42849
42812
|
"application/json": {
|
|
42850
42813
|
schema: {
|
|
42851
42814
|
properties: {
|
|
42852
|
-
access_method_id: {
|
|
42853
|
-
description: "ID of the access method for which you want to retrieve all devices.",
|
|
42854
|
-
format: "uuid",
|
|
42855
|
-
type: "string"
|
|
42856
|
-
},
|
|
42857
42815
|
connect_webview_id: {
|
|
42858
42816
|
description: "ID of the Connect Webview for which you want to list devices.",
|
|
42859
42817
|
format: "uuid",
|
|
@@ -44084,15 +44042,6 @@ var openapi_default = {
|
|
|
44084
44042
|
minLength: 1,
|
|
44085
44043
|
type: "string"
|
|
44086
44044
|
}
|
|
44087
|
-
},
|
|
44088
|
-
{
|
|
44089
|
-
in: "query",
|
|
44090
|
-
name: "access_method_id",
|
|
44091
|
-
schema: {
|
|
44092
|
-
description: "ID of the access method for which you want to retrieve all devices.",
|
|
44093
|
-
format: "uuid",
|
|
44094
|
-
type: "string"
|
|
44095
|
-
}
|
|
44096
44045
|
}
|
|
44097
44046
|
],
|
|
44098
44047
|
responses: {
|
|
@@ -44138,11 +44087,6 @@ var openapi_default = {
|
|
|
44138
44087
|
"application/json": {
|
|
44139
44088
|
schema: {
|
|
44140
44089
|
properties: {
|
|
44141
|
-
access_method_id: {
|
|
44142
|
-
description: "ID of the access method for which you want to retrieve all devices.",
|
|
44143
|
-
format: "uuid",
|
|
44144
|
-
type: "string"
|
|
44145
|
-
},
|
|
44146
44090
|
connect_webview_id: {
|
|
44147
44091
|
description: "ID of the Connect Webview for which you want to list devices.",
|
|
44148
44092
|
format: "uuid",
|
|
@@ -46324,15 +46268,6 @@ var openapi_default = {
|
|
|
46324
46268
|
minLength: 1,
|
|
46325
46269
|
type: "string"
|
|
46326
46270
|
}
|
|
46327
|
-
},
|
|
46328
|
-
{
|
|
46329
|
-
in: "query",
|
|
46330
|
-
name: "access_method_id",
|
|
46331
|
-
schema: {
|
|
46332
|
-
description: "ID of the access method for which you want to retrieve all devices.",
|
|
46333
|
-
format: "uuid",
|
|
46334
|
-
type: "string"
|
|
46335
|
-
}
|
|
46336
46271
|
}
|
|
46337
46272
|
],
|
|
46338
46273
|
responses: {
|
|
@@ -46383,11 +46318,6 @@ var openapi_default = {
|
|
|
46383
46318
|
"application/json": {
|
|
46384
46319
|
schema: {
|
|
46385
46320
|
properties: {
|
|
46386
|
-
access_method_id: {
|
|
46387
|
-
description: "ID of the access method for which you want to retrieve all devices.",
|
|
46388
|
-
format: "uuid",
|
|
46389
|
-
type: "string"
|
|
46390
|
-
},
|
|
46391
46321
|
connect_webview_id: {
|
|
46392
46322
|
description: "ID of the Connect Webview for which you want to list devices.",
|
|
46393
46323
|
format: "uuid",
|
|
@@ -47116,15 +47046,6 @@ var openapi_default = {
|
|
|
47116
47046
|
minLength: 1,
|
|
47117
47047
|
type: "string"
|
|
47118
47048
|
}
|
|
47119
|
-
},
|
|
47120
|
-
{
|
|
47121
|
-
in: "query",
|
|
47122
|
-
name: "access_method_id",
|
|
47123
|
-
schema: {
|
|
47124
|
-
description: "ID of the access method for which you want to retrieve all devices.",
|
|
47125
|
-
format: "uuid",
|
|
47126
|
-
type: "string"
|
|
47127
|
-
}
|
|
47128
47049
|
}
|
|
47129
47050
|
],
|
|
47130
47051
|
responses: {
|
|
@@ -47175,11 +47096,6 @@ var openapi_default = {
|
|
|
47175
47096
|
"application/json": {
|
|
47176
47097
|
schema: {
|
|
47177
47098
|
properties: {
|
|
47178
|
-
access_method_id: {
|
|
47179
|
-
description: "ID of the access method for which you want to retrieve all devices.",
|
|
47180
|
-
format: "uuid",
|
|
47181
|
-
type: "string"
|
|
47182
|
-
},
|
|
47183
47099
|
connect_webview_id: {
|
|
47184
47100
|
description: "ID of the Connect Webview for which you want to list devices.",
|
|
47185
47101
|
format: "uuid",
|
|
@@ -51333,6 +51249,280 @@ var openapi_default = {
|
|
|
51333
51249
|
"x-undocumented": "Seam Instant Key only."
|
|
51334
51250
|
}
|
|
51335
51251
|
},
|
|
51252
|
+
"/seam/instant_key/v1/preview/get": {
|
|
51253
|
+
get: {
|
|
51254
|
+
operationId: "seamInstantKeyV1PreviewGetGet",
|
|
51255
|
+
requestBody: {
|
|
51256
|
+
content: {
|
|
51257
|
+
"application/json": {
|
|
51258
|
+
schema: {
|
|
51259
|
+
properties: {
|
|
51260
|
+
instant_key_url: {
|
|
51261
|
+
description: "The short code of the instant key to preview.",
|
|
51262
|
+
type: "string"
|
|
51263
|
+
}
|
|
51264
|
+
},
|
|
51265
|
+
required: ["instant_key_url"],
|
|
51266
|
+
type: "object"
|
|
51267
|
+
}
|
|
51268
|
+
}
|
|
51269
|
+
}
|
|
51270
|
+
},
|
|
51271
|
+
responses: {
|
|
51272
|
+
200: {
|
|
51273
|
+
content: {
|
|
51274
|
+
"application/json": {
|
|
51275
|
+
schema: {
|
|
51276
|
+
properties: {
|
|
51277
|
+
instant_key_preview: {
|
|
51278
|
+
description: "Represents a preview of an Instant Key with hotel, guest, and access information.",
|
|
51279
|
+
properties: {
|
|
51280
|
+
access: {
|
|
51281
|
+
items: {
|
|
51282
|
+
properties: {
|
|
51283
|
+
available: { type: "boolean" },
|
|
51284
|
+
hours: { type: "string" },
|
|
51285
|
+
icon: { type: "string" },
|
|
51286
|
+
location: { type: "string" },
|
|
51287
|
+
name: { type: "string" }
|
|
51288
|
+
},
|
|
51289
|
+
required: ["name", "icon", "available"],
|
|
51290
|
+
type: "object"
|
|
51291
|
+
},
|
|
51292
|
+
type: "array"
|
|
51293
|
+
},
|
|
51294
|
+
created_at: { type: "string" },
|
|
51295
|
+
expires_at: { type: "string" },
|
|
51296
|
+
guest: {
|
|
51297
|
+
properties: {
|
|
51298
|
+
check_in_date: { type: "string" },
|
|
51299
|
+
check_out_date: { type: "string" },
|
|
51300
|
+
email: { type: "string" },
|
|
51301
|
+
first_name: { type: "string" },
|
|
51302
|
+
full_name: { type: "string" },
|
|
51303
|
+
last_name: { type: "string" }
|
|
51304
|
+
},
|
|
51305
|
+
required: [
|
|
51306
|
+
"first_name",
|
|
51307
|
+
"last_name",
|
|
51308
|
+
"full_name",
|
|
51309
|
+
"email",
|
|
51310
|
+
"check_in_date",
|
|
51311
|
+
"check_out_date"
|
|
51312
|
+
],
|
|
51313
|
+
type: "object"
|
|
51314
|
+
},
|
|
51315
|
+
hotel: {
|
|
51316
|
+
properties: {
|
|
51317
|
+
accent_color: { type: "string" },
|
|
51318
|
+
hotel_name: { type: "string" },
|
|
51319
|
+
logo_url: { type: "string" },
|
|
51320
|
+
primary_color: { type: "string" },
|
|
51321
|
+
secondary_color: { type: "string" },
|
|
51322
|
+
verified: { type: "boolean" }
|
|
51323
|
+
},
|
|
51324
|
+
required: [
|
|
51325
|
+
"hotel_name",
|
|
51326
|
+
"primary_color",
|
|
51327
|
+
"accent_color",
|
|
51328
|
+
"secondary_color",
|
|
51329
|
+
"verified"
|
|
51330
|
+
],
|
|
51331
|
+
type: "object"
|
|
51332
|
+
},
|
|
51333
|
+
key_status: {
|
|
51334
|
+
enum: ["ready", "expired", "used"],
|
|
51335
|
+
type: "string"
|
|
51336
|
+
},
|
|
51337
|
+
room: {
|
|
51338
|
+
properties: {
|
|
51339
|
+
floor: { format: "float", type: "number" },
|
|
51340
|
+
room_number: { type: "string" },
|
|
51341
|
+
room_type: { type: "string" }
|
|
51342
|
+
},
|
|
51343
|
+
required: ["room_number", "room_type", "floor"],
|
|
51344
|
+
type: "object"
|
|
51345
|
+
},
|
|
51346
|
+
shortcode: { type: "string" },
|
|
51347
|
+
support_email: { type: "string" },
|
|
51348
|
+
support_phone: { type: "string" },
|
|
51349
|
+
updated_at: { type: "string" }
|
|
51350
|
+
},
|
|
51351
|
+
required: [
|
|
51352
|
+
"shortcode",
|
|
51353
|
+
"hotel",
|
|
51354
|
+
"guest",
|
|
51355
|
+
"room",
|
|
51356
|
+
"access",
|
|
51357
|
+
"key_status",
|
|
51358
|
+
"support_phone",
|
|
51359
|
+
"support_email",
|
|
51360
|
+
"created_at",
|
|
51361
|
+
"updated_at",
|
|
51362
|
+
"expires_at"
|
|
51363
|
+
],
|
|
51364
|
+
type: "object",
|
|
51365
|
+
"x-route-path": "/instant_keys/preview"
|
|
51366
|
+
},
|
|
51367
|
+
ok: { type: "boolean" }
|
|
51368
|
+
},
|
|
51369
|
+
required: ["instant_key_preview", "ok"],
|
|
51370
|
+
type: "object"
|
|
51371
|
+
}
|
|
51372
|
+
}
|
|
51373
|
+
},
|
|
51374
|
+
description: "OK"
|
|
51375
|
+
},
|
|
51376
|
+
400: { description: "Bad Request" },
|
|
51377
|
+
401: { description: "Unauthorized" }
|
|
51378
|
+
},
|
|
51379
|
+
security: [{ certified_client: [] }],
|
|
51380
|
+
summary: "/seam/instant_key/v1/preview/get",
|
|
51381
|
+
tags: [],
|
|
51382
|
+
"x-fern-sdk-group-name": ["seam", "instant_key", "v1", "preview"],
|
|
51383
|
+
"x-fern-sdk-method-name": "get",
|
|
51384
|
+
"x-fern-sdk-return-value": "instant_key_preview",
|
|
51385
|
+
"x-response-key": "instant_key_preview",
|
|
51386
|
+
"x-title": "Preview Instant Key",
|
|
51387
|
+
"x-undocumented": "Seam Instant Key only."
|
|
51388
|
+
},
|
|
51389
|
+
post: {
|
|
51390
|
+
operationId: "seamInstantKeyV1PreviewGetPost",
|
|
51391
|
+
requestBody: {
|
|
51392
|
+
content: {
|
|
51393
|
+
"application/json": {
|
|
51394
|
+
schema: {
|
|
51395
|
+
properties: {
|
|
51396
|
+
instant_key_url: {
|
|
51397
|
+
description: "The short code of the instant key to preview.",
|
|
51398
|
+
type: "string"
|
|
51399
|
+
}
|
|
51400
|
+
},
|
|
51401
|
+
required: ["instant_key_url"],
|
|
51402
|
+
type: "object"
|
|
51403
|
+
}
|
|
51404
|
+
}
|
|
51405
|
+
}
|
|
51406
|
+
},
|
|
51407
|
+
responses: {
|
|
51408
|
+
200: {
|
|
51409
|
+
content: {
|
|
51410
|
+
"application/json": {
|
|
51411
|
+
schema: {
|
|
51412
|
+
properties: {
|
|
51413
|
+
instant_key_preview: {
|
|
51414
|
+
description: "Represents a preview of an Instant Key with hotel, guest, and access information.",
|
|
51415
|
+
properties: {
|
|
51416
|
+
access: {
|
|
51417
|
+
items: {
|
|
51418
|
+
properties: {
|
|
51419
|
+
available: { type: "boolean" },
|
|
51420
|
+
hours: { type: "string" },
|
|
51421
|
+
icon: { type: "string" },
|
|
51422
|
+
location: { type: "string" },
|
|
51423
|
+
name: { type: "string" }
|
|
51424
|
+
},
|
|
51425
|
+
required: ["name", "icon", "available"],
|
|
51426
|
+
type: "object"
|
|
51427
|
+
},
|
|
51428
|
+
type: "array"
|
|
51429
|
+
},
|
|
51430
|
+
created_at: { type: "string" },
|
|
51431
|
+
expires_at: { type: "string" },
|
|
51432
|
+
guest: {
|
|
51433
|
+
properties: {
|
|
51434
|
+
check_in_date: { type: "string" },
|
|
51435
|
+
check_out_date: { type: "string" },
|
|
51436
|
+
email: { type: "string" },
|
|
51437
|
+
first_name: { type: "string" },
|
|
51438
|
+
full_name: { type: "string" },
|
|
51439
|
+
last_name: { type: "string" }
|
|
51440
|
+
},
|
|
51441
|
+
required: [
|
|
51442
|
+
"first_name",
|
|
51443
|
+
"last_name",
|
|
51444
|
+
"full_name",
|
|
51445
|
+
"email",
|
|
51446
|
+
"check_in_date",
|
|
51447
|
+
"check_out_date"
|
|
51448
|
+
],
|
|
51449
|
+
type: "object"
|
|
51450
|
+
},
|
|
51451
|
+
hotel: {
|
|
51452
|
+
properties: {
|
|
51453
|
+
accent_color: { type: "string" },
|
|
51454
|
+
hotel_name: { type: "string" },
|
|
51455
|
+
logo_url: { type: "string" },
|
|
51456
|
+
primary_color: { type: "string" },
|
|
51457
|
+
secondary_color: { type: "string" },
|
|
51458
|
+
verified: { type: "boolean" }
|
|
51459
|
+
},
|
|
51460
|
+
required: [
|
|
51461
|
+
"hotel_name",
|
|
51462
|
+
"primary_color",
|
|
51463
|
+
"accent_color",
|
|
51464
|
+
"secondary_color",
|
|
51465
|
+
"verified"
|
|
51466
|
+
],
|
|
51467
|
+
type: "object"
|
|
51468
|
+
},
|
|
51469
|
+
key_status: {
|
|
51470
|
+
enum: ["ready", "expired", "used"],
|
|
51471
|
+
type: "string"
|
|
51472
|
+
},
|
|
51473
|
+
room: {
|
|
51474
|
+
properties: {
|
|
51475
|
+
floor: { format: "float", type: "number" },
|
|
51476
|
+
room_number: { type: "string" },
|
|
51477
|
+
room_type: { type: "string" }
|
|
51478
|
+
},
|
|
51479
|
+
required: ["room_number", "room_type", "floor"],
|
|
51480
|
+
type: "object"
|
|
51481
|
+
},
|
|
51482
|
+
shortcode: { type: "string" },
|
|
51483
|
+
support_email: { type: "string" },
|
|
51484
|
+
support_phone: { type: "string" },
|
|
51485
|
+
updated_at: { type: "string" }
|
|
51486
|
+
},
|
|
51487
|
+
required: [
|
|
51488
|
+
"shortcode",
|
|
51489
|
+
"hotel",
|
|
51490
|
+
"guest",
|
|
51491
|
+
"room",
|
|
51492
|
+
"access",
|
|
51493
|
+
"key_status",
|
|
51494
|
+
"support_phone",
|
|
51495
|
+
"support_email",
|
|
51496
|
+
"created_at",
|
|
51497
|
+
"updated_at",
|
|
51498
|
+
"expires_at"
|
|
51499
|
+
],
|
|
51500
|
+
type: "object",
|
|
51501
|
+
"x-route-path": "/instant_keys/preview"
|
|
51502
|
+
},
|
|
51503
|
+
ok: { type: "boolean" }
|
|
51504
|
+
},
|
|
51505
|
+
required: ["instant_key_preview", "ok"],
|
|
51506
|
+
type: "object"
|
|
51507
|
+
}
|
|
51508
|
+
}
|
|
51509
|
+
},
|
|
51510
|
+
description: "OK"
|
|
51511
|
+
},
|
|
51512
|
+
400: { description: "Bad Request" },
|
|
51513
|
+
401: { description: "Unauthorized" }
|
|
51514
|
+
},
|
|
51515
|
+
security: [{ certified_client: [] }],
|
|
51516
|
+
summary: "/seam/instant_key/v1/preview/get",
|
|
51517
|
+
tags: [],
|
|
51518
|
+
"x-fern-sdk-group-name": ["seam", "instant_key", "v1", "preview"],
|
|
51519
|
+
"x-fern-sdk-method-name": "get",
|
|
51520
|
+
"x-fern-sdk-return-value": "instant_key_preview",
|
|
51521
|
+
"x-response-key": "instant_key_preview",
|
|
51522
|
+
"x-title": "Preview Instant Key",
|
|
51523
|
+
"x-undocumented": "Seam Instant Key only."
|
|
51524
|
+
}
|
|
51525
|
+
},
|
|
51336
51526
|
"/seam/mobile_sdk/v1/acs/credentials/list": {
|
|
51337
51527
|
get: {
|
|
51338
51528
|
description: "Returns a list of all [credentials](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials).",
|
|
@@ -54150,15 +54340,6 @@ var openapi_default = {
|
|
|
54150
54340
|
minLength: 1,
|
|
54151
54341
|
type: "string"
|
|
54152
54342
|
}
|
|
54153
|
-
},
|
|
54154
|
-
{
|
|
54155
|
-
in: "query",
|
|
54156
|
-
name: "access_method_id",
|
|
54157
|
-
schema: {
|
|
54158
|
-
description: "ID of the access method for which you want to retrieve all devices.",
|
|
54159
|
-
format: "uuid",
|
|
54160
|
-
type: "string"
|
|
54161
|
-
}
|
|
54162
54343
|
}
|
|
54163
54344
|
],
|
|
54164
54345
|
responses: {
|
|
@@ -54209,11 +54390,6 @@ var openapi_default = {
|
|
|
54209
54390
|
"application/json": {
|
|
54210
54391
|
schema: {
|
|
54211
54392
|
properties: {
|
|
54212
|
-
access_method_id: {
|
|
54213
|
-
description: "ID of the access method for which you want to retrieve all devices.",
|
|
54214
|
-
format: "uuid",
|
|
54215
|
-
type: "string"
|
|
54216
|
-
},
|
|
54217
54393
|
connect_webview_id: {
|
|
54218
54394
|
description: "ID of the Connect Webview for which you want to list devices.",
|
|
54219
54395
|
format: "uuid",
|