@seamapi/types 1.939.0 → 1.941.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 +661 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +113 -0
- package/dist/index.cjs +661 -0
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/openapi.js +661 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +113 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +683 -0
- package/src/lib/seam/connect/route-types.ts +127 -0
|
@@ -60196,6 +60196,577 @@ const openapi = {
|
|
|
60196
60196
|
'x-undocumented': 'Internal endpoint for Console',
|
|
60197
60197
|
},
|
|
60198
60198
|
},
|
|
60199
|
+
'/seam/console/v1/lynx_migration/get_property_migration_status': {
|
|
60200
|
+
get: {
|
|
60201
|
+
description: 'Returns the most recent Lynx cutover run for a property (space), including a\nrollup of its per-reservation child runs by status. Returns a null run when the\nproperty has never been migrated.',
|
|
60202
|
+
operationId: 'seamConsoleV1LynxMigrationGetPropertyMigrationStatusGet',
|
|
60203
|
+
parameters: [
|
|
60204
|
+
{
|
|
60205
|
+
in: 'query',
|
|
60206
|
+
name: 'space_id',
|
|
60207
|
+
required: true,
|
|
60208
|
+
schema: {
|
|
60209
|
+
description: 'ID of the space (property) to get the migration status for.',
|
|
60210
|
+
format: 'uuid',
|
|
60211
|
+
type: 'string',
|
|
60212
|
+
},
|
|
60213
|
+
},
|
|
60214
|
+
],
|
|
60215
|
+
responses: {
|
|
60216
|
+
200: {
|
|
60217
|
+
content: {
|
|
60218
|
+
'application/json': {
|
|
60219
|
+
schema: {
|
|
60220
|
+
properties: {
|
|
60221
|
+
lynx_migration_property_run: {
|
|
60222
|
+
nullable: true,
|
|
60223
|
+
properties: {
|
|
60224
|
+
child_status_counts: {
|
|
60225
|
+
additionalProperties: {
|
|
60226
|
+
format: 'float',
|
|
60227
|
+
type: 'number',
|
|
60228
|
+
},
|
|
60229
|
+
type: 'object',
|
|
60230
|
+
},
|
|
60231
|
+
created_at: { type: 'string' },
|
|
60232
|
+
lynx_migration_property_run_id: {
|
|
60233
|
+
format: 'uuid',
|
|
60234
|
+
type: 'string',
|
|
60235
|
+
},
|
|
60236
|
+
space_id: { format: 'uuid', type: 'string' },
|
|
60237
|
+
status: { type: 'string' },
|
|
60238
|
+
updated_at: { type: 'string' },
|
|
60239
|
+
},
|
|
60240
|
+
required: [
|
|
60241
|
+
'lynx_migration_property_run_id',
|
|
60242
|
+
'space_id',
|
|
60243
|
+
'status',
|
|
60244
|
+
'created_at',
|
|
60245
|
+
'updated_at',
|
|
60246
|
+
'child_status_counts',
|
|
60247
|
+
],
|
|
60248
|
+
type: 'object',
|
|
60249
|
+
},
|
|
60250
|
+
ok: { type: 'boolean' },
|
|
60251
|
+
},
|
|
60252
|
+
required: ['lynx_migration_property_run', 'ok'],
|
|
60253
|
+
type: 'object',
|
|
60254
|
+
},
|
|
60255
|
+
},
|
|
60256
|
+
},
|
|
60257
|
+
description: 'OK',
|
|
60258
|
+
},
|
|
60259
|
+
400: { description: 'Bad Request' },
|
|
60260
|
+
401: { description: 'Unauthorized' },
|
|
60261
|
+
},
|
|
60262
|
+
security: [
|
|
60263
|
+
{ pat_with_workspace: [] },
|
|
60264
|
+
{ console_session_with_workspace: [] },
|
|
60265
|
+
{ api_key: [] },
|
|
60266
|
+
],
|
|
60267
|
+
summary: '/seam/console/v1/lynx_migration/get_property_migration_status',
|
|
60268
|
+
tags: [],
|
|
60269
|
+
'x-fern-sdk-group-name': ['seam', 'console', 'v1', 'lynx_migration'],
|
|
60270
|
+
'x-fern-sdk-method-name': 'get_property_migration_status',
|
|
60271
|
+
'x-fern-sdk-return-value': 'lynx_migration_property_run',
|
|
60272
|
+
'x-response-key': 'lynx_migration_property_run',
|
|
60273
|
+
'x-title': 'Get Lynx Migration Property Status',
|
|
60274
|
+
'x-undocumented': 'Internal endpoint for Console',
|
|
60275
|
+
},
|
|
60276
|
+
post: {
|
|
60277
|
+
description: 'Returns the most recent Lynx cutover run for a property (space), including a\nrollup of its per-reservation child runs by status. Returns a null run when the\nproperty has never been migrated.',
|
|
60278
|
+
operationId: 'seamConsoleV1LynxMigrationGetPropertyMigrationStatusPost',
|
|
60279
|
+
requestBody: {
|
|
60280
|
+
content: {
|
|
60281
|
+
'application/json': {
|
|
60282
|
+
schema: {
|
|
60283
|
+
properties: {
|
|
60284
|
+
space_id: {
|
|
60285
|
+
description: 'ID of the space (property) to get the migration status for.',
|
|
60286
|
+
format: 'uuid',
|
|
60287
|
+
type: 'string',
|
|
60288
|
+
},
|
|
60289
|
+
},
|
|
60290
|
+
required: ['space_id'],
|
|
60291
|
+
type: 'object',
|
|
60292
|
+
},
|
|
60293
|
+
},
|
|
60294
|
+
},
|
|
60295
|
+
},
|
|
60296
|
+
responses: {
|
|
60297
|
+
200: {
|
|
60298
|
+
content: {
|
|
60299
|
+
'application/json': {
|
|
60300
|
+
schema: {
|
|
60301
|
+
properties: {
|
|
60302
|
+
lynx_migration_property_run: {
|
|
60303
|
+
nullable: true,
|
|
60304
|
+
properties: {
|
|
60305
|
+
child_status_counts: {
|
|
60306
|
+
additionalProperties: {
|
|
60307
|
+
format: 'float',
|
|
60308
|
+
type: 'number',
|
|
60309
|
+
},
|
|
60310
|
+
type: 'object',
|
|
60311
|
+
},
|
|
60312
|
+
created_at: { type: 'string' },
|
|
60313
|
+
lynx_migration_property_run_id: {
|
|
60314
|
+
format: 'uuid',
|
|
60315
|
+
type: 'string',
|
|
60316
|
+
},
|
|
60317
|
+
space_id: { format: 'uuid', type: 'string' },
|
|
60318
|
+
status: { type: 'string' },
|
|
60319
|
+
updated_at: { type: 'string' },
|
|
60320
|
+
},
|
|
60321
|
+
required: [
|
|
60322
|
+
'lynx_migration_property_run_id',
|
|
60323
|
+
'space_id',
|
|
60324
|
+
'status',
|
|
60325
|
+
'created_at',
|
|
60326
|
+
'updated_at',
|
|
60327
|
+
'child_status_counts',
|
|
60328
|
+
],
|
|
60329
|
+
type: 'object',
|
|
60330
|
+
},
|
|
60331
|
+
ok: { type: 'boolean' },
|
|
60332
|
+
},
|
|
60333
|
+
required: ['lynx_migration_property_run', 'ok'],
|
|
60334
|
+
type: 'object',
|
|
60335
|
+
},
|
|
60336
|
+
},
|
|
60337
|
+
},
|
|
60338
|
+
description: 'OK',
|
|
60339
|
+
},
|
|
60340
|
+
400: { description: 'Bad Request' },
|
|
60341
|
+
401: { description: 'Unauthorized' },
|
|
60342
|
+
},
|
|
60343
|
+
security: [
|
|
60344
|
+
{ pat_with_workspace: [] },
|
|
60345
|
+
{ console_session_with_workspace: [] },
|
|
60346
|
+
{ api_key: [] },
|
|
60347
|
+
],
|
|
60348
|
+
summary: '/seam/console/v1/lynx_migration/get_property_migration_status',
|
|
60349
|
+
tags: [],
|
|
60350
|
+
'x-fern-sdk-group-name': ['seam', 'console', 'v1', 'lynx_migration'],
|
|
60351
|
+
'x-fern-sdk-method-name': 'get_property_migration_status',
|
|
60352
|
+
'x-fern-sdk-return-value': 'lynx_migration_property_run',
|
|
60353
|
+
'x-response-key': 'lynx_migration_property_run',
|
|
60354
|
+
'x-title': 'Get Lynx Migration Property Status',
|
|
60355
|
+
'x-undocumented': 'Internal endpoint for Console',
|
|
60356
|
+
},
|
|
60357
|
+
},
|
|
60358
|
+
'/seam/console/v1/lynx_migration/get_reservation_migration_status': {
|
|
60359
|
+
get: {
|
|
60360
|
+
description: 'Returns the most recent per-reservation Lynx cutover run for an access grant.\nReturns a null run when the reservation has never been migrated. Keyed by\naccess_grant_id — a successful cutover deletes the access grant, but the run\nrecord outlives it, so status remains available after the migration completes.',
|
|
60361
|
+
operationId: 'seamConsoleV1LynxMigrationGetReservationMigrationStatusGet',
|
|
60362
|
+
parameters: [
|
|
60363
|
+
{
|
|
60364
|
+
in: 'query',
|
|
60365
|
+
name: 'access_grant_id',
|
|
60366
|
+
required: true,
|
|
60367
|
+
schema: {
|
|
60368
|
+
description: 'ID of the access grant (reservation) to get the migration status for.',
|
|
60369
|
+
format: 'uuid',
|
|
60370
|
+
type: 'string',
|
|
60371
|
+
},
|
|
60372
|
+
},
|
|
60373
|
+
],
|
|
60374
|
+
responses: {
|
|
60375
|
+
200: {
|
|
60376
|
+
content: {
|
|
60377
|
+
'application/json': {
|
|
60378
|
+
schema: {
|
|
60379
|
+
properties: {
|
|
60380
|
+
lynx_migration_reservation_run: {
|
|
60381
|
+
nullable: true,
|
|
60382
|
+
properties: {
|
|
60383
|
+
access_grant_id: { format: 'uuid', type: 'string' },
|
|
60384
|
+
created_at: { type: 'string' },
|
|
60385
|
+
lynx_migration_run_id: {
|
|
60386
|
+
format: 'uuid',
|
|
60387
|
+
type: 'string',
|
|
60388
|
+
},
|
|
60389
|
+
status: { type: 'string' },
|
|
60390
|
+
updated_at: { type: 'string' },
|
|
60391
|
+
},
|
|
60392
|
+
required: [
|
|
60393
|
+
'lynx_migration_run_id',
|
|
60394
|
+
'access_grant_id',
|
|
60395
|
+
'status',
|
|
60396
|
+
'created_at',
|
|
60397
|
+
'updated_at',
|
|
60398
|
+
],
|
|
60399
|
+
type: 'object',
|
|
60400
|
+
},
|
|
60401
|
+
ok: { type: 'boolean' },
|
|
60402
|
+
},
|
|
60403
|
+
required: ['lynx_migration_reservation_run', 'ok'],
|
|
60404
|
+
type: 'object',
|
|
60405
|
+
},
|
|
60406
|
+
},
|
|
60407
|
+
},
|
|
60408
|
+
description: 'OK',
|
|
60409
|
+
},
|
|
60410
|
+
400: { description: 'Bad Request' },
|
|
60411
|
+
401: { description: 'Unauthorized' },
|
|
60412
|
+
},
|
|
60413
|
+
security: [
|
|
60414
|
+
{ pat_with_workspace: [] },
|
|
60415
|
+
{ console_session_with_workspace: [] },
|
|
60416
|
+
{ api_key: [] },
|
|
60417
|
+
],
|
|
60418
|
+
summary: '/seam/console/v1/lynx_migration/get_reservation_migration_status',
|
|
60419
|
+
tags: [],
|
|
60420
|
+
'x-fern-sdk-group-name': ['seam', 'console', 'v1', 'lynx_migration'],
|
|
60421
|
+
'x-fern-sdk-method-name': 'get_reservation_migration_status',
|
|
60422
|
+
'x-fern-sdk-return-value': 'lynx_migration_reservation_run',
|
|
60423
|
+
'x-response-key': 'lynx_migration_reservation_run',
|
|
60424
|
+
'x-title': 'Get Lynx Migration Reservation Status',
|
|
60425
|
+
'x-undocumented': 'Internal endpoint for Console',
|
|
60426
|
+
},
|
|
60427
|
+
post: {
|
|
60428
|
+
description: 'Returns the most recent per-reservation Lynx cutover run for an access grant.\nReturns a null run when the reservation has never been migrated. Keyed by\naccess_grant_id — a successful cutover deletes the access grant, but the run\nrecord outlives it, so status remains available after the migration completes.',
|
|
60429
|
+
operationId: 'seamConsoleV1LynxMigrationGetReservationMigrationStatusPost',
|
|
60430
|
+
requestBody: {
|
|
60431
|
+
content: {
|
|
60432
|
+
'application/json': {
|
|
60433
|
+
schema: {
|
|
60434
|
+
properties: {
|
|
60435
|
+
access_grant_id: {
|
|
60436
|
+
description: 'ID of the access grant (reservation) to get the migration status for.',
|
|
60437
|
+
format: 'uuid',
|
|
60438
|
+
type: 'string',
|
|
60439
|
+
},
|
|
60440
|
+
},
|
|
60441
|
+
required: ['access_grant_id'],
|
|
60442
|
+
type: 'object',
|
|
60443
|
+
},
|
|
60444
|
+
},
|
|
60445
|
+
},
|
|
60446
|
+
},
|
|
60447
|
+
responses: {
|
|
60448
|
+
200: {
|
|
60449
|
+
content: {
|
|
60450
|
+
'application/json': {
|
|
60451
|
+
schema: {
|
|
60452
|
+
properties: {
|
|
60453
|
+
lynx_migration_reservation_run: {
|
|
60454
|
+
nullable: true,
|
|
60455
|
+
properties: {
|
|
60456
|
+
access_grant_id: { format: 'uuid', type: 'string' },
|
|
60457
|
+
created_at: { type: 'string' },
|
|
60458
|
+
lynx_migration_run_id: {
|
|
60459
|
+
format: 'uuid',
|
|
60460
|
+
type: 'string',
|
|
60461
|
+
},
|
|
60462
|
+
status: { type: 'string' },
|
|
60463
|
+
updated_at: { type: 'string' },
|
|
60464
|
+
},
|
|
60465
|
+
required: [
|
|
60466
|
+
'lynx_migration_run_id',
|
|
60467
|
+
'access_grant_id',
|
|
60468
|
+
'status',
|
|
60469
|
+
'created_at',
|
|
60470
|
+
'updated_at',
|
|
60471
|
+
],
|
|
60472
|
+
type: 'object',
|
|
60473
|
+
},
|
|
60474
|
+
ok: { type: 'boolean' },
|
|
60475
|
+
},
|
|
60476
|
+
required: ['lynx_migration_reservation_run', 'ok'],
|
|
60477
|
+
type: 'object',
|
|
60478
|
+
},
|
|
60479
|
+
},
|
|
60480
|
+
},
|
|
60481
|
+
description: 'OK',
|
|
60482
|
+
},
|
|
60483
|
+
400: { description: 'Bad Request' },
|
|
60484
|
+
401: { description: 'Unauthorized' },
|
|
60485
|
+
},
|
|
60486
|
+
security: [
|
|
60487
|
+
{ pat_with_workspace: [] },
|
|
60488
|
+
{ console_session_with_workspace: [] },
|
|
60489
|
+
{ api_key: [] },
|
|
60490
|
+
],
|
|
60491
|
+
summary: '/seam/console/v1/lynx_migration/get_reservation_migration_status',
|
|
60492
|
+
tags: [],
|
|
60493
|
+
'x-fern-sdk-group-name': ['seam', 'console', 'v1', 'lynx_migration'],
|
|
60494
|
+
'x-fern-sdk-method-name': 'get_reservation_migration_status',
|
|
60495
|
+
'x-fern-sdk-return-value': 'lynx_migration_reservation_run',
|
|
60496
|
+
'x-response-key': 'lynx_migration_reservation_run',
|
|
60497
|
+
'x-title': 'Get Lynx Migration Reservation Status',
|
|
60498
|
+
'x-undocumented': 'Internal endpoint for Console',
|
|
60499
|
+
},
|
|
60500
|
+
},
|
|
60501
|
+
'/seam/console/v1/lynx_migration/list_property_reservations': {
|
|
60502
|
+
get: {
|
|
60503
|
+
description: 'Lists the reservations in a property (space) and classifies each for a Lynx\ncutover: which are eligible to migrate to Seam-managed access, and which are\nskipped (with a reason). Read-only — does not start a migration.',
|
|
60504
|
+
operationId: 'seamConsoleV1LynxMigrationListPropertyReservationsGet',
|
|
60505
|
+
parameters: [
|
|
60506
|
+
{
|
|
60507
|
+
in: 'query',
|
|
60508
|
+
name: 'space_id',
|
|
60509
|
+
required: true,
|
|
60510
|
+
schema: {
|
|
60511
|
+
description: 'ID of the space (property) to plan a Lynx migration for.',
|
|
60512
|
+
format: 'uuid',
|
|
60513
|
+
type: 'string',
|
|
60514
|
+
},
|
|
60515
|
+
},
|
|
60516
|
+
],
|
|
60517
|
+
responses: {
|
|
60518
|
+
200: {
|
|
60519
|
+
content: {
|
|
60520
|
+
'application/json': {
|
|
60521
|
+
schema: {
|
|
60522
|
+
properties: {
|
|
60523
|
+
lynx_migration_property_plan: {
|
|
60524
|
+
properties: {
|
|
60525
|
+
eligible: {
|
|
60526
|
+
items: {
|
|
60527
|
+
properties: {
|
|
60528
|
+
access_grant_id: {
|
|
60529
|
+
format: 'uuid',
|
|
60530
|
+
type: 'string',
|
|
60531
|
+
},
|
|
60532
|
+
guest_name: { nullable: true, type: 'string' },
|
|
60533
|
+
},
|
|
60534
|
+
required: ['access_grant_id', 'guest_name'],
|
|
60535
|
+
type: 'object',
|
|
60536
|
+
},
|
|
60537
|
+
type: 'array',
|
|
60538
|
+
},
|
|
60539
|
+
eligible_count: { format: 'float', type: 'number' },
|
|
60540
|
+
skipped: {
|
|
60541
|
+
items: {
|
|
60542
|
+
properties: {
|
|
60543
|
+
access_grant_id: {
|
|
60544
|
+
format: 'uuid',
|
|
60545
|
+
type: 'string',
|
|
60546
|
+
},
|
|
60547
|
+
guest_name: { nullable: true, type: 'string' },
|
|
60548
|
+
reason: { nullable: true, type: 'string' },
|
|
60549
|
+
},
|
|
60550
|
+
required: [
|
|
60551
|
+
'access_grant_id',
|
|
60552
|
+
'guest_name',
|
|
60553
|
+
'reason',
|
|
60554
|
+
],
|
|
60555
|
+
type: 'object',
|
|
60556
|
+
},
|
|
60557
|
+
type: 'array',
|
|
60558
|
+
},
|
|
60559
|
+
space_id: { format: 'uuid', type: 'string' },
|
|
60560
|
+
total: { format: 'float', type: 'number' },
|
|
60561
|
+
},
|
|
60562
|
+
required: [
|
|
60563
|
+
'space_id',
|
|
60564
|
+
'total',
|
|
60565
|
+
'eligible_count',
|
|
60566
|
+
'eligible',
|
|
60567
|
+
'skipped',
|
|
60568
|
+
],
|
|
60569
|
+
type: 'object',
|
|
60570
|
+
},
|
|
60571
|
+
ok: { type: 'boolean' },
|
|
60572
|
+
},
|
|
60573
|
+
required: ['lynx_migration_property_plan', 'ok'],
|
|
60574
|
+
type: 'object',
|
|
60575
|
+
},
|
|
60576
|
+
},
|
|
60577
|
+
},
|
|
60578
|
+
description: 'OK',
|
|
60579
|
+
},
|
|
60580
|
+
400: { description: 'Bad Request' },
|
|
60581
|
+
401: { description: 'Unauthorized' },
|
|
60582
|
+
},
|
|
60583
|
+
security: [
|
|
60584
|
+
{ pat_with_workspace: [] },
|
|
60585
|
+
{ console_session_with_workspace: [] },
|
|
60586
|
+
{ api_key: [] },
|
|
60587
|
+
],
|
|
60588
|
+
summary: '/seam/console/v1/lynx_migration/list_property_reservations',
|
|
60589
|
+
tags: [],
|
|
60590
|
+
'x-fern-sdk-group-name': ['seam', 'console', 'v1', 'lynx_migration'],
|
|
60591
|
+
'x-fern-sdk-method-name': 'list_property_reservations',
|
|
60592
|
+
'x-fern-sdk-return-value': 'lynx_migration_property_plan',
|
|
60593
|
+
'x-response-key': 'lynx_migration_property_plan',
|
|
60594
|
+
'x-title': 'List Lynx Migration Property Reservations',
|
|
60595
|
+
'x-undocumented': 'Internal endpoint for Console',
|
|
60596
|
+
},
|
|
60597
|
+
post: {
|
|
60598
|
+
description: 'Lists the reservations in a property (space) and classifies each for a Lynx\ncutover: which are eligible to migrate to Seam-managed access, and which are\nskipped (with a reason). Read-only — does not start a migration.',
|
|
60599
|
+
operationId: 'seamConsoleV1LynxMigrationListPropertyReservationsPost',
|
|
60600
|
+
requestBody: {
|
|
60601
|
+
content: {
|
|
60602
|
+
'application/json': {
|
|
60603
|
+
schema: {
|
|
60604
|
+
properties: {
|
|
60605
|
+
space_id: {
|
|
60606
|
+
description: 'ID of the space (property) to plan a Lynx migration for.',
|
|
60607
|
+
format: 'uuid',
|
|
60608
|
+
type: 'string',
|
|
60609
|
+
},
|
|
60610
|
+
},
|
|
60611
|
+
required: ['space_id'],
|
|
60612
|
+
type: 'object',
|
|
60613
|
+
},
|
|
60614
|
+
},
|
|
60615
|
+
},
|
|
60616
|
+
},
|
|
60617
|
+
responses: {
|
|
60618
|
+
200: {
|
|
60619
|
+
content: {
|
|
60620
|
+
'application/json': {
|
|
60621
|
+
schema: {
|
|
60622
|
+
properties: {
|
|
60623
|
+
lynx_migration_property_plan: {
|
|
60624
|
+
properties: {
|
|
60625
|
+
eligible: {
|
|
60626
|
+
items: {
|
|
60627
|
+
properties: {
|
|
60628
|
+
access_grant_id: {
|
|
60629
|
+
format: 'uuid',
|
|
60630
|
+
type: 'string',
|
|
60631
|
+
},
|
|
60632
|
+
guest_name: { nullable: true, type: 'string' },
|
|
60633
|
+
},
|
|
60634
|
+
required: ['access_grant_id', 'guest_name'],
|
|
60635
|
+
type: 'object',
|
|
60636
|
+
},
|
|
60637
|
+
type: 'array',
|
|
60638
|
+
},
|
|
60639
|
+
eligible_count: { format: 'float', type: 'number' },
|
|
60640
|
+
skipped: {
|
|
60641
|
+
items: {
|
|
60642
|
+
properties: {
|
|
60643
|
+
access_grant_id: {
|
|
60644
|
+
format: 'uuid',
|
|
60645
|
+
type: 'string',
|
|
60646
|
+
},
|
|
60647
|
+
guest_name: { nullable: true, type: 'string' },
|
|
60648
|
+
reason: { nullable: true, type: 'string' },
|
|
60649
|
+
},
|
|
60650
|
+
required: [
|
|
60651
|
+
'access_grant_id',
|
|
60652
|
+
'guest_name',
|
|
60653
|
+
'reason',
|
|
60654
|
+
],
|
|
60655
|
+
type: 'object',
|
|
60656
|
+
},
|
|
60657
|
+
type: 'array',
|
|
60658
|
+
},
|
|
60659
|
+
space_id: { format: 'uuid', type: 'string' },
|
|
60660
|
+
total: { format: 'float', type: 'number' },
|
|
60661
|
+
},
|
|
60662
|
+
required: [
|
|
60663
|
+
'space_id',
|
|
60664
|
+
'total',
|
|
60665
|
+
'eligible_count',
|
|
60666
|
+
'eligible',
|
|
60667
|
+
'skipped',
|
|
60668
|
+
],
|
|
60669
|
+
type: 'object',
|
|
60670
|
+
},
|
|
60671
|
+
ok: { type: 'boolean' },
|
|
60672
|
+
},
|
|
60673
|
+
required: ['lynx_migration_property_plan', 'ok'],
|
|
60674
|
+
type: 'object',
|
|
60675
|
+
},
|
|
60676
|
+
},
|
|
60677
|
+
},
|
|
60678
|
+
description: 'OK',
|
|
60679
|
+
},
|
|
60680
|
+
400: { description: 'Bad Request' },
|
|
60681
|
+
401: { description: 'Unauthorized' },
|
|
60682
|
+
},
|
|
60683
|
+
security: [
|
|
60684
|
+
{ pat_with_workspace: [] },
|
|
60685
|
+
{ console_session_with_workspace: [] },
|
|
60686
|
+
{ api_key: [] },
|
|
60687
|
+
],
|
|
60688
|
+
summary: '/seam/console/v1/lynx_migration/list_property_reservations',
|
|
60689
|
+
tags: [],
|
|
60690
|
+
'x-fern-sdk-group-name': ['seam', 'console', 'v1', 'lynx_migration'],
|
|
60691
|
+
'x-fern-sdk-method-name': 'list_property_reservations',
|
|
60692
|
+
'x-fern-sdk-return-value': 'lynx_migration_property_plan',
|
|
60693
|
+
'x-response-key': 'lynx_migration_property_plan',
|
|
60694
|
+
'x-title': 'List Lynx Migration Property Reservations',
|
|
60695
|
+
'x-undocumented': 'Internal endpoint for Console',
|
|
60696
|
+
},
|
|
60697
|
+
},
|
|
60698
|
+
'/seam/console/v1/lynx_migration/migrate_property': {
|
|
60699
|
+
post: {
|
|
60700
|
+
description: 'Starts a Lynx cutover for a property (space): schedules a background task that\nplans the eligible reservations and migrates them to Seam-managed access a\nbounded number at a time. Idempotent — if a migration is already running for\nthe property, returns that run with `already_running: true`. Poll\n`/seam/console/v1/lynx_migration/get_property_migration_status` for progress.',
|
|
60701
|
+
operationId: 'seamConsoleV1LynxMigrationMigratePropertyPost',
|
|
60702
|
+
requestBody: {
|
|
60703
|
+
content: {
|
|
60704
|
+
'application/json': {
|
|
60705
|
+
schema: {
|
|
60706
|
+
properties: {
|
|
60707
|
+
space_id: {
|
|
60708
|
+
description: 'ID of the space (property) to migrate.',
|
|
60709
|
+
format: 'uuid',
|
|
60710
|
+
type: 'string',
|
|
60711
|
+
},
|
|
60712
|
+
},
|
|
60713
|
+
required: ['space_id'],
|
|
60714
|
+
type: 'object',
|
|
60715
|
+
},
|
|
60716
|
+
},
|
|
60717
|
+
},
|
|
60718
|
+
},
|
|
60719
|
+
responses: {
|
|
60720
|
+
200: {
|
|
60721
|
+
content: {
|
|
60722
|
+
'application/json': {
|
|
60723
|
+
schema: {
|
|
60724
|
+
properties: {
|
|
60725
|
+
lynx_migration_property_run: {
|
|
60726
|
+
properties: {
|
|
60727
|
+
already_running: { type: 'boolean' },
|
|
60728
|
+
lynx_migration_property_run_id: {
|
|
60729
|
+
format: 'uuid',
|
|
60730
|
+
type: 'string',
|
|
60731
|
+
},
|
|
60732
|
+
space_id: { format: 'uuid', type: 'string' },
|
|
60733
|
+
status: { type: 'string' },
|
|
60734
|
+
},
|
|
60735
|
+
required: [
|
|
60736
|
+
'lynx_migration_property_run_id',
|
|
60737
|
+
'space_id',
|
|
60738
|
+
'status',
|
|
60739
|
+
'already_running',
|
|
60740
|
+
],
|
|
60741
|
+
type: 'object',
|
|
60742
|
+
},
|
|
60743
|
+
ok: { type: 'boolean' },
|
|
60744
|
+
},
|
|
60745
|
+
required: ['lynx_migration_property_run', 'ok'],
|
|
60746
|
+
type: 'object',
|
|
60747
|
+
},
|
|
60748
|
+
},
|
|
60749
|
+
},
|
|
60750
|
+
description: 'OK',
|
|
60751
|
+
},
|
|
60752
|
+
400: { description: 'Bad Request' },
|
|
60753
|
+
401: { description: 'Unauthorized' },
|
|
60754
|
+
},
|
|
60755
|
+
security: [
|
|
60756
|
+
{ pat_with_workspace: [] },
|
|
60757
|
+
{ console_session_with_workspace: [] },
|
|
60758
|
+
{ api_key: [] },
|
|
60759
|
+
],
|
|
60760
|
+
summary: '/seam/console/v1/lynx_migration/migrate_property',
|
|
60761
|
+
tags: [],
|
|
60762
|
+
'x-fern-sdk-group-name': ['seam', 'console', 'v1', 'lynx_migration'],
|
|
60763
|
+
'x-fern-sdk-method-name': 'migrate_property',
|
|
60764
|
+
'x-fern-sdk-return-value': 'lynx_migration_property_run',
|
|
60765
|
+
'x-response-key': 'lynx_migration_property_run',
|
|
60766
|
+
'x-title': 'Migrate a Property to Seam-Managed Access',
|
|
60767
|
+
'x-undocumented': 'Internal endpoint for Console',
|
|
60768
|
+
},
|
|
60769
|
+
},
|
|
60199
60770
|
'/seam/console/v1/sites/create': {
|
|
60200
60771
|
post: {
|
|
60201
60772
|
description: 'Creates a new site, a top-level space in the property hierarchy.',
|
|
@@ -61481,6 +62052,96 @@ const openapi = {
|
|
|
61481
62052
|
'x-undocumented': 'Internal endpoint for Console',
|
|
61482
62053
|
},
|
|
61483
62054
|
},
|
|
62055
|
+
'/seam/console/v1/workspace/feature_flags/update': {
|
|
62056
|
+
post: {
|
|
62057
|
+
description: 'Enables or disables a per-workspace feature flag (e.g. whether the Lynx\nmigration is enabled for the workspace). Only flags in the workspace-toggleable\nset can be updated.',
|
|
62058
|
+
operationId: 'seamConsoleV1WorkspaceFeatureFlagsUpdatePost',
|
|
62059
|
+
requestBody: {
|
|
62060
|
+
content: {
|
|
62061
|
+
'application/json': {
|
|
62062
|
+
schema: {
|
|
62063
|
+
properties: {
|
|
62064
|
+
enabled: {
|
|
62065
|
+
description: 'Whether the feature flag should be enabled for the workspace.',
|
|
62066
|
+
type: 'boolean',
|
|
62067
|
+
},
|
|
62068
|
+
feature_flag_name: {
|
|
62069
|
+
description: 'Name of the workspace feature flag to update.',
|
|
62070
|
+
enum: [
|
|
62071
|
+
'RESERVATION_LEGACY',
|
|
62072
|
+
'EXPERIMENTAL_DASHBOARD_API_ENABLED',
|
|
62073
|
+
'ICAL_CONNECTOR',
|
|
62074
|
+
'VISIONLINE_SERIALIZE_BRIDGE_REQUESTS',
|
|
62075
|
+
'SALTO_KS_ENTRANCES_ONLY_FOR_SPACES',
|
|
62076
|
+
'MANAGE_DEVICES_CONFIRMATION_MODAL',
|
|
62077
|
+
'LYNX_MIGRATION_ENABLED',
|
|
62078
|
+
],
|
|
62079
|
+
type: 'string',
|
|
62080
|
+
},
|
|
62081
|
+
},
|
|
62082
|
+
required: ['feature_flag_name', 'enabled'],
|
|
62083
|
+
type: 'object',
|
|
62084
|
+
},
|
|
62085
|
+
},
|
|
62086
|
+
},
|
|
62087
|
+
},
|
|
62088
|
+
responses: {
|
|
62089
|
+
200: {
|
|
62090
|
+
content: {
|
|
62091
|
+
'application/json': {
|
|
62092
|
+
schema: {
|
|
62093
|
+
properties: {
|
|
62094
|
+
feature_flag: {
|
|
62095
|
+
properties: {
|
|
62096
|
+
enabled: { type: 'boolean' },
|
|
62097
|
+
feature_flag_name: {
|
|
62098
|
+
enum: [
|
|
62099
|
+
'RESERVATION_LEGACY',
|
|
62100
|
+
'EXPERIMENTAL_DASHBOARD_API_ENABLED',
|
|
62101
|
+
'ICAL_CONNECTOR',
|
|
62102
|
+
'VISIONLINE_SERIALIZE_BRIDGE_REQUESTS',
|
|
62103
|
+
'SALTO_KS_ENTRANCES_ONLY_FOR_SPACES',
|
|
62104
|
+
'MANAGE_DEVICES_CONFIRMATION_MODAL',
|
|
62105
|
+
'LYNX_MIGRATION_ENABLED',
|
|
62106
|
+
],
|
|
62107
|
+
type: 'string',
|
|
62108
|
+
},
|
|
62109
|
+
},
|
|
62110
|
+
required: ['feature_flag_name', 'enabled'],
|
|
62111
|
+
type: 'object',
|
|
62112
|
+
},
|
|
62113
|
+
ok: { type: 'boolean' },
|
|
62114
|
+
},
|
|
62115
|
+
required: ['feature_flag', 'ok'],
|
|
62116
|
+
type: 'object',
|
|
62117
|
+
},
|
|
62118
|
+
},
|
|
62119
|
+
},
|
|
62120
|
+
description: 'OK',
|
|
62121
|
+
},
|
|
62122
|
+
400: { description: 'Bad Request' },
|
|
62123
|
+
401: { description: 'Unauthorized' },
|
|
62124
|
+
},
|
|
62125
|
+
security: [
|
|
62126
|
+
{ pat_with_workspace: [] },
|
|
62127
|
+
{ console_session_with_workspace: [] },
|
|
62128
|
+
{ api_key: [] },
|
|
62129
|
+
],
|
|
62130
|
+
summary: '/seam/console/v1/workspace/feature_flags/update',
|
|
62131
|
+
tags: [],
|
|
62132
|
+
'x-fern-sdk-group-name': [
|
|
62133
|
+
'seam',
|
|
62134
|
+
'console',
|
|
62135
|
+
'v1',
|
|
62136
|
+
'workspace',
|
|
62137
|
+
'feature_flags',
|
|
62138
|
+
],
|
|
62139
|
+
'x-fern-sdk-method-name': 'update',
|
|
62140
|
+
'x-fern-sdk-return-value': 'feature_flag',
|
|
62141
|
+
'x-response-key': 'feature_flag',
|
|
62142
|
+
'x-undocumented': 'Internal endpoint for Console',
|
|
62143
|
+
},
|
|
62144
|
+
},
|
|
61484
62145
|
'/seam/customer/v1/access_grants/list': {
|
|
61485
62146
|
get: {
|
|
61486
62147
|
description: 'Gets an Access Grant.',
|