@seamapi/types 1.842.0 → 1.843.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 +127 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +18 -0
- package/dist/index.cjs +127 -0
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/openapi.js +127 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +18 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +131 -0
- package/src/lib/seam/connect/route-types.ts +18 -0
|
@@ -60384,6 +60384,133 @@ const openapi = {
|
|
|
60384
60384
|
'x-undocumented': 'Internal endpoint for Console.',
|
|
60385
60385
|
},
|
|
60386
60386
|
},
|
|
60387
|
+
'/seam/customer/v1/connectors/external_sites/list': {
|
|
60388
|
+
get: {
|
|
60389
|
+
description: "Lists sites/properties available from the external system for a given connected account by calling the connector's live API.",
|
|
60390
|
+
operationId: 'seamCustomerV1ConnectorsExternalSitesListGet',
|
|
60391
|
+
parameters: [
|
|
60392
|
+
{
|
|
60393
|
+
in: 'query',
|
|
60394
|
+
name: 'connected_account_id',
|
|
60395
|
+
required: true,
|
|
60396
|
+
schema: {
|
|
60397
|
+
description: 'ID of the connected account to list external sites for',
|
|
60398
|
+
format: 'uuid',
|
|
60399
|
+
type: 'string',
|
|
60400
|
+
},
|
|
60401
|
+
},
|
|
60402
|
+
],
|
|
60403
|
+
responses: {
|
|
60404
|
+
200: {
|
|
60405
|
+
content: {
|
|
60406
|
+
'application/json': {
|
|
60407
|
+
schema: {
|
|
60408
|
+
properties: {
|
|
60409
|
+
external_sites: {
|
|
60410
|
+
items: {
|
|
60411
|
+
properties: {
|
|
60412
|
+
key: { type: 'string' },
|
|
60413
|
+
name: { type: 'string' },
|
|
60414
|
+
},
|
|
60415
|
+
required: ['key', 'name'],
|
|
60416
|
+
type: 'object',
|
|
60417
|
+
},
|
|
60418
|
+
type: 'array',
|
|
60419
|
+
},
|
|
60420
|
+
ok: { type: 'boolean' },
|
|
60421
|
+
},
|
|
60422
|
+
required: ['external_sites', 'ok'],
|
|
60423
|
+
type: 'object',
|
|
60424
|
+
},
|
|
60425
|
+
},
|
|
60426
|
+
},
|
|
60427
|
+
description: 'OK',
|
|
60428
|
+
},
|
|
60429
|
+
400: { description: 'Bad Request' },
|
|
60430
|
+
401: { description: 'Unauthorized' },
|
|
60431
|
+
},
|
|
60432
|
+
security: [{ api_key: [] }, { console_session_with_workspace: [] }],
|
|
60433
|
+
summary: '/seam/customer/v1/connectors/external_sites/list',
|
|
60434
|
+
tags: [],
|
|
60435
|
+
'x-fern-sdk-group-name': [
|
|
60436
|
+
'seam',
|
|
60437
|
+
'customer',
|
|
60438
|
+
'v1',
|
|
60439
|
+
'connectors',
|
|
60440
|
+
'external_sites',
|
|
60441
|
+
],
|
|
60442
|
+
'x-fern-sdk-method-name': 'list',
|
|
60443
|
+
'x-fern-sdk-return-value': 'external_sites',
|
|
60444
|
+
'x-response-key': 'external_sites',
|
|
60445
|
+
'x-title': 'List External Sites for a Connected Account',
|
|
60446
|
+
'x-undocumented': 'Internal endpoint for Console.',
|
|
60447
|
+
},
|
|
60448
|
+
post: {
|
|
60449
|
+
description: "Lists sites/properties available from the external system for a given connected account by calling the connector's live API.",
|
|
60450
|
+
operationId: 'seamCustomerV1ConnectorsExternalSitesListPost',
|
|
60451
|
+
requestBody: {
|
|
60452
|
+
content: {
|
|
60453
|
+
'application/json': {
|
|
60454
|
+
schema: {
|
|
60455
|
+
properties: {
|
|
60456
|
+
connected_account_id: {
|
|
60457
|
+
description: 'ID of the connected account to list external sites for',
|
|
60458
|
+
format: 'uuid',
|
|
60459
|
+
type: 'string',
|
|
60460
|
+
},
|
|
60461
|
+
},
|
|
60462
|
+
required: ['connected_account_id'],
|
|
60463
|
+
type: 'object',
|
|
60464
|
+
},
|
|
60465
|
+
},
|
|
60466
|
+
},
|
|
60467
|
+
},
|
|
60468
|
+
responses: {
|
|
60469
|
+
200: {
|
|
60470
|
+
content: {
|
|
60471
|
+
'application/json': {
|
|
60472
|
+
schema: {
|
|
60473
|
+
properties: {
|
|
60474
|
+
external_sites: {
|
|
60475
|
+
items: {
|
|
60476
|
+
properties: {
|
|
60477
|
+
key: { type: 'string' },
|
|
60478
|
+
name: { type: 'string' },
|
|
60479
|
+
},
|
|
60480
|
+
required: ['key', 'name'],
|
|
60481
|
+
type: 'object',
|
|
60482
|
+
},
|
|
60483
|
+
type: 'array',
|
|
60484
|
+
},
|
|
60485
|
+
ok: { type: 'boolean' },
|
|
60486
|
+
},
|
|
60487
|
+
required: ['external_sites', 'ok'],
|
|
60488
|
+
type: 'object',
|
|
60489
|
+
},
|
|
60490
|
+
},
|
|
60491
|
+
},
|
|
60492
|
+
description: 'OK',
|
|
60493
|
+
},
|
|
60494
|
+
400: { description: 'Bad Request' },
|
|
60495
|
+
401: { description: 'Unauthorized' },
|
|
60496
|
+
},
|
|
60497
|
+
security: [{ api_key: [] }, { console_session_with_workspace: [] }],
|
|
60498
|
+
summary: '/seam/customer/v1/connectors/external_sites/list',
|
|
60499
|
+
tags: [],
|
|
60500
|
+
'x-fern-sdk-group-name': [
|
|
60501
|
+
'seam',
|
|
60502
|
+
'customer',
|
|
60503
|
+
'v1',
|
|
60504
|
+
'connectors',
|
|
60505
|
+
'external_sites',
|
|
60506
|
+
],
|
|
60507
|
+
'x-fern-sdk-method-name': 'list',
|
|
60508
|
+
'x-fern-sdk-return-value': 'external_sites',
|
|
60509
|
+
'x-response-key': 'external_sites',
|
|
60510
|
+
'x-title': 'List External Sites for a Connected Account',
|
|
60511
|
+
'x-undocumented': 'Internal endpoint for Console.',
|
|
60512
|
+
},
|
|
60513
|
+
},
|
|
60387
60514
|
'/seam/customer/v1/connectors/ical/validate-config': {
|
|
60388
60515
|
post: {
|
|
60389
60516
|
description: 'Fetches a sample iCal feed and validates the config against it,\nreturning the parsed reservations so the caller can verify\nextraction is correct.',
|