@seamapi/types 1.599.0 → 1.601.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 +255 -20
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +487 -77
- package/dist/index.cjs +255 -20
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +90 -35
- package/lib/seam/connect/models/devices/device-metadata.d.ts +5 -0
- package/lib/seam/connect/models/devices/device-metadata.js +3 -2
- package/lib/seam/connect/models/devices/device-metadata.js.map +1 -1
- package/lib/seam/connect/models/devices/device-type.d.ts +1 -0
- package/lib/seam/connect/models/devices/device-type.js +1 -0
- package/lib/seam/connect/models/devices/device-type.js.map +1 -1
- package/lib/seam/connect/models/devices/device.d.ts +10 -3
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +8 -3
- package/lib/seam/connect/openapi.d.ts +285 -0
- package/lib/seam/connect/openapi.js +236 -3
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +160 -61
- package/package.json +1 -1
- package/src/lib/seam/connect/models/devices/device-metadata.ts +4 -2
- package/src/lib/seam/connect/models/devices/device-type.ts +1 -0
- package/src/lib/seam/connect/openapi.ts +242 -3
- package/src/lib/seam/connect/route-types.ts +164 -34
|
@@ -8331,6 +8331,7 @@ export default {
|
|
|
8331
8331
|
'dormakaba_oracode_door',
|
|
8332
8332
|
'tedee_lock',
|
|
8333
8333
|
'akiles_lock',
|
|
8334
|
+
'ultraloq_lock',
|
|
8334
8335
|
],
|
|
8335
8336
|
type: 'string',
|
|
8336
8337
|
},
|
|
@@ -10206,14 +10207,18 @@ export default {
|
|
|
10206
10207
|
type: 'object',
|
|
10207
10208
|
},
|
|
10208
10209
|
ultraloq_metadata: {
|
|
10209
|
-
description: 'Metadata for
|
|
10210
|
+
description: 'Metadata for an Ultraloq device.',
|
|
10210
10211
|
properties: {
|
|
10211
10212
|
device_id: {
|
|
10212
|
-
description: 'Device ID for
|
|
10213
|
+
description: 'Device ID for an Ultraloq device.',
|
|
10214
|
+
type: 'string',
|
|
10215
|
+
},
|
|
10216
|
+
device_name: {
|
|
10217
|
+
description: 'Device name for an Ultraloq device.',
|
|
10213
10218
|
type: 'string',
|
|
10214
10219
|
},
|
|
10215
10220
|
},
|
|
10216
|
-
required: ['device_id'],
|
|
10221
|
+
required: ['device_id', 'device_name'],
|
|
10217
10222
|
type: 'object',
|
|
10218
10223
|
},
|
|
10219
10224
|
visionline_metadata: {
|
|
@@ -21584,6 +21589,7 @@ export default {
|
|
|
21584
21589
|
'dormakaba_oracode_door',
|
|
21585
21590
|
'tedee_lock',
|
|
21586
21591
|
'akiles_lock',
|
|
21592
|
+
'ultraloq_lock',
|
|
21587
21593
|
],
|
|
21588
21594
|
type: 'string',
|
|
21589
21595
|
},
|
|
@@ -39211,6 +39217,7 @@ export default {
|
|
|
39211
39217
|
'dormakaba_oracode_door',
|
|
39212
39218
|
'tedee_lock',
|
|
39213
39219
|
'akiles_lock',
|
|
39220
|
+
'ultraloq_lock',
|
|
39214
39221
|
],
|
|
39215
39222
|
type: 'string',
|
|
39216
39223
|
},
|
|
@@ -39281,6 +39288,7 @@ export default {
|
|
|
39281
39288
|
'dormakaba_oracode_door',
|
|
39282
39289
|
'tedee_lock',
|
|
39283
39290
|
'akiles_lock',
|
|
39291
|
+
'ultraloq_lock',
|
|
39284
39292
|
],
|
|
39285
39293
|
type: 'string',
|
|
39286
39294
|
},
|
|
@@ -39632,6 +39640,7 @@ export default {
|
|
|
39632
39640
|
'dormakaba_oracode_door',
|
|
39633
39641
|
'tedee_lock',
|
|
39634
39642
|
'akiles_lock',
|
|
39643
|
+
'ultraloq_lock',
|
|
39635
39644
|
],
|
|
39636
39645
|
type: 'string',
|
|
39637
39646
|
},
|
|
@@ -39698,6 +39707,7 @@ export default {
|
|
|
39698
39707
|
'dormakaba_oracode_door',
|
|
39699
39708
|
'tedee_lock',
|
|
39700
39709
|
'akiles_lock',
|
|
39710
|
+
'ultraloq_lock',
|
|
39701
39711
|
],
|
|
39702
39712
|
type: 'string',
|
|
39703
39713
|
},
|
|
@@ -40523,6 +40533,7 @@ export default {
|
|
|
40523
40533
|
'dormakaba_oracode_door',
|
|
40524
40534
|
'tedee_lock',
|
|
40525
40535
|
'akiles_lock',
|
|
40536
|
+
'ultraloq_lock',
|
|
40526
40537
|
],
|
|
40527
40538
|
type: 'string',
|
|
40528
40539
|
},
|
|
@@ -40593,6 +40604,7 @@ export default {
|
|
|
40593
40604
|
'dormakaba_oracode_door',
|
|
40594
40605
|
'tedee_lock',
|
|
40595
40606
|
'akiles_lock',
|
|
40607
|
+
'ultraloq_lock',
|
|
40596
40608
|
],
|
|
40597
40609
|
type: 'string',
|
|
40598
40610
|
},
|
|
@@ -40942,6 +40954,7 @@ export default {
|
|
|
40942
40954
|
'dormakaba_oracode_door',
|
|
40943
40955
|
'tedee_lock',
|
|
40944
40956
|
'akiles_lock',
|
|
40957
|
+
'ultraloq_lock',
|
|
40945
40958
|
],
|
|
40946
40959
|
type: 'string',
|
|
40947
40960
|
},
|
|
@@ -41008,6 +41021,7 @@ export default {
|
|
|
41008
41021
|
'dormakaba_oracode_door',
|
|
41009
41022
|
'tedee_lock',
|
|
41010
41023
|
'akiles_lock',
|
|
41024
|
+
'ultraloq_lock',
|
|
41011
41025
|
],
|
|
41012
41026
|
type: 'string',
|
|
41013
41027
|
},
|
|
@@ -42855,6 +42869,7 @@ export default {
|
|
|
42855
42869
|
'dormakaba_oracode_door',
|
|
42856
42870
|
'tedee_lock',
|
|
42857
42871
|
'akiles_lock',
|
|
42872
|
+
'ultraloq_lock',
|
|
42858
42873
|
],
|
|
42859
42874
|
type: 'string',
|
|
42860
42875
|
},
|
|
@@ -42894,6 +42909,7 @@ export default {
|
|
|
42894
42909
|
'dormakaba_oracode_door',
|
|
42895
42910
|
'tedee_lock',
|
|
42896
42911
|
'akiles_lock',
|
|
42912
|
+
'ultraloq_lock',
|
|
42897
42913
|
],
|
|
42898
42914
|
type: 'string',
|
|
42899
42915
|
},
|
|
@@ -43203,6 +43219,7 @@ export default {
|
|
|
43203
43219
|
'dormakaba_oracode_door',
|
|
43204
43220
|
'tedee_lock',
|
|
43205
43221
|
'akiles_lock',
|
|
43222
|
+
'ultraloq_lock',
|
|
43206
43223
|
],
|
|
43207
43224
|
type: 'string',
|
|
43208
43225
|
},
|
|
@@ -43238,6 +43255,7 @@ export default {
|
|
|
43238
43255
|
'dormakaba_oracode_door',
|
|
43239
43256
|
'tedee_lock',
|
|
43240
43257
|
'akiles_lock',
|
|
43258
|
+
'ultraloq_lock',
|
|
43241
43259
|
],
|
|
43242
43260
|
type: 'string',
|
|
43243
43261
|
},
|
|
@@ -47247,6 +47265,171 @@ export default {
|
|
|
47247
47265
|
'x-undocumented': 'Internal endpoint for customer portals.',
|
|
47248
47266
|
},
|
|
47249
47267
|
},
|
|
47268
|
+
'/seam/customer/v1/connectors/create': {
|
|
47269
|
+
post: {
|
|
47270
|
+
description: 'Creates a new connector for a customer in a workspace. The connector will be activated and start syncing data from the external API.',
|
|
47271
|
+
operationId: 'seamCustomerV1ConnectorsCreatePost',
|
|
47272
|
+
requestBody: {
|
|
47273
|
+
content: {
|
|
47274
|
+
'application/json': {
|
|
47275
|
+
schema: {
|
|
47276
|
+
properties: {
|
|
47277
|
+
config: {
|
|
47278
|
+
description: 'Instance-specific configuration for the connector',
|
|
47279
|
+
oneOf: [
|
|
47280
|
+
{
|
|
47281
|
+
properties: {
|
|
47282
|
+
access_token: { minLength: 1, type: 'string' },
|
|
47283
|
+
client: { minLength: 1, type: 'string' },
|
|
47284
|
+
client_token: { minLength: 1, type: 'string' },
|
|
47285
|
+
enterprise_ids: {
|
|
47286
|
+
items: { format: 'uuid', type: 'string' },
|
|
47287
|
+
type: 'array',
|
|
47288
|
+
},
|
|
47289
|
+
},
|
|
47290
|
+
required: ['client_token', 'access_token', 'client'],
|
|
47291
|
+
type: 'object',
|
|
47292
|
+
},
|
|
47293
|
+
{ properties: {}, type: 'object' },
|
|
47294
|
+
],
|
|
47295
|
+
},
|
|
47296
|
+
connector_type: {
|
|
47297
|
+
description: 'Type of connector to create',
|
|
47298
|
+
enum: ['mews', 'mock'],
|
|
47299
|
+
type: 'string',
|
|
47300
|
+
},
|
|
47301
|
+
customer_key: {
|
|
47302
|
+
description: 'Key identifying the customer',
|
|
47303
|
+
minLength: 1,
|
|
47304
|
+
type: 'string',
|
|
47305
|
+
},
|
|
47306
|
+
},
|
|
47307
|
+
required: ['connector_type', 'customer_key', 'config'],
|
|
47308
|
+
type: 'object',
|
|
47309
|
+
},
|
|
47310
|
+
},
|
|
47311
|
+
},
|
|
47312
|
+
},
|
|
47313
|
+
responses: {
|
|
47314
|
+
200: {
|
|
47315
|
+
content: {
|
|
47316
|
+
'application/json': {
|
|
47317
|
+
schema: {
|
|
47318
|
+
properties: {
|
|
47319
|
+
connector: {
|
|
47320
|
+
properties: {
|
|
47321
|
+
connector_id: { type: 'string' },
|
|
47322
|
+
connector_type: { type: 'string' },
|
|
47323
|
+
error: { type: 'string' },
|
|
47324
|
+
status: {
|
|
47325
|
+
enum: ['active', 'inactive', 'error'],
|
|
47326
|
+
type: 'string',
|
|
47327
|
+
},
|
|
47328
|
+
webhook_subscription: {
|
|
47329
|
+
properties: {
|
|
47330
|
+
events: {
|
|
47331
|
+
items: { type: 'string' },
|
|
47332
|
+
type: 'array',
|
|
47333
|
+
},
|
|
47334
|
+
status: {
|
|
47335
|
+
enum: ['active', 'inactive', 'error'],
|
|
47336
|
+
type: 'string',
|
|
47337
|
+
},
|
|
47338
|
+
subscription_id: { type: 'string' },
|
|
47339
|
+
webhook_url: { type: 'string' },
|
|
47340
|
+
},
|
|
47341
|
+
required: [
|
|
47342
|
+
'subscription_id',
|
|
47343
|
+
'webhook_url',
|
|
47344
|
+
'events',
|
|
47345
|
+
'status',
|
|
47346
|
+
],
|
|
47347
|
+
type: 'object',
|
|
47348
|
+
},
|
|
47349
|
+
},
|
|
47350
|
+
required: ['connector_id', 'connector_type', 'status'],
|
|
47351
|
+
type: 'object',
|
|
47352
|
+
},
|
|
47353
|
+
ok: { type: 'boolean' },
|
|
47354
|
+
},
|
|
47355
|
+
required: ['connector', 'ok'],
|
|
47356
|
+
type: 'object',
|
|
47357
|
+
},
|
|
47358
|
+
},
|
|
47359
|
+
},
|
|
47360
|
+
description: 'OK',
|
|
47361
|
+
},
|
|
47362
|
+
400: { description: 'Bad Request' },
|
|
47363
|
+
401: { description: 'Unauthorized' },
|
|
47364
|
+
},
|
|
47365
|
+
security: [{ api_key: [] }],
|
|
47366
|
+
summary: '/seam/customer/v1/connectors/create',
|
|
47367
|
+
tags: [],
|
|
47368
|
+
'x-fern-sdk-group-name': ['seam', 'customer', 'v1', 'connectors'],
|
|
47369
|
+
'x-fern-sdk-method-name': 'create',
|
|
47370
|
+
'x-fern-sdk-return-value': 'connector',
|
|
47371
|
+
'x-response-key': 'connector',
|
|
47372
|
+
'x-title': 'Create Connector',
|
|
47373
|
+
},
|
|
47374
|
+
},
|
|
47375
|
+
'/seam/customer/v1/connectors/sync': {
|
|
47376
|
+
post: {
|
|
47377
|
+
description: 'Triggers an immediate data sync for a connector by scheduling a polling task.',
|
|
47378
|
+
operationId: 'seamCustomerV1ConnectorsSyncPost',
|
|
47379
|
+
requestBody: {
|
|
47380
|
+
content: {
|
|
47381
|
+
'application/json': {
|
|
47382
|
+
schema: {
|
|
47383
|
+
properties: {
|
|
47384
|
+
connector_id: {
|
|
47385
|
+
description: 'ID of the connector to sync',
|
|
47386
|
+
format: 'uuid',
|
|
47387
|
+
type: 'string',
|
|
47388
|
+
},
|
|
47389
|
+
},
|
|
47390
|
+
required: ['connector_id'],
|
|
47391
|
+
type: 'object',
|
|
47392
|
+
},
|
|
47393
|
+
},
|
|
47394
|
+
},
|
|
47395
|
+
},
|
|
47396
|
+
responses: {
|
|
47397
|
+
200: {
|
|
47398
|
+
content: {
|
|
47399
|
+
'application/json': {
|
|
47400
|
+
schema: {
|
|
47401
|
+
properties: {
|
|
47402
|
+
connector_sync: {
|
|
47403
|
+
properties: {
|
|
47404
|
+
connector_id: { type: 'string' },
|
|
47405
|
+
message: { type: 'string' },
|
|
47406
|
+
status: { type: 'string' },
|
|
47407
|
+
},
|
|
47408
|
+
required: ['connector_id', 'status', 'message'],
|
|
47409
|
+
type: 'object',
|
|
47410
|
+
},
|
|
47411
|
+
ok: { type: 'boolean' },
|
|
47412
|
+
},
|
|
47413
|
+
required: ['connector_sync', 'ok'],
|
|
47414
|
+
type: 'object',
|
|
47415
|
+
},
|
|
47416
|
+
},
|
|
47417
|
+
},
|
|
47418
|
+
description: 'OK',
|
|
47419
|
+
},
|
|
47420
|
+
400: { description: 'Bad Request' },
|
|
47421
|
+
401: { description: 'Unauthorized' },
|
|
47422
|
+
},
|
|
47423
|
+
security: [{ api_key: [] }],
|
|
47424
|
+
summary: '/seam/customer/v1/connectors/sync',
|
|
47425
|
+
tags: [],
|
|
47426
|
+
'x-fern-sdk-group-name': ['seam', 'customer', 'v1', 'connectors'],
|
|
47427
|
+
'x-fern-sdk-method-name': 'sync',
|
|
47428
|
+
'x-fern-sdk-return-value': 'connector_sync',
|
|
47429
|
+
'x-response-key': 'connector_sync',
|
|
47430
|
+
'x-title': 'Sync Connector Data',
|
|
47431
|
+
},
|
|
47432
|
+
},
|
|
47250
47433
|
'/seam/customer/v1/events/list': {
|
|
47251
47434
|
get: {
|
|
47252
47435
|
description: 'Returns a list of events for devices in a specific space. This endpoint is designed for customer portals and only supports filtering by space_id.',
|
|
@@ -49249,6 +49432,56 @@ export default {
|
|
|
49249
49432
|
'x-title': 'List Spaces',
|
|
49250
49433
|
},
|
|
49251
49434
|
},
|
|
49435
|
+
'/seam/customer/v1/webhooks/connectors/[workspace_id]/[connector_id]': {
|
|
49436
|
+
post: {
|
|
49437
|
+
description: 'Receives webhook events from external connector APIs and processes them into partner resources.',
|
|
49438
|
+
operationId: 'seamCustomerV1WebhooksConnectorsByWorkspaceIdByConnectorIdPost',
|
|
49439
|
+
requestBody: {
|
|
49440
|
+
content: {
|
|
49441
|
+
'application/json': { schema: { properties: {}, type: 'object' } },
|
|
49442
|
+
},
|
|
49443
|
+
},
|
|
49444
|
+
responses: {
|
|
49445
|
+
200: {
|
|
49446
|
+
content: {
|
|
49447
|
+
'application/json': {
|
|
49448
|
+
schema: {
|
|
49449
|
+
properties: {
|
|
49450
|
+
error: { type: 'string' },
|
|
49451
|
+
ok: { type: 'boolean' },
|
|
49452
|
+
processed_events: { format: 'float', type: 'number' },
|
|
49453
|
+
success: { type: 'boolean' },
|
|
49454
|
+
},
|
|
49455
|
+
required: ['success', 'processed_events', 'ok'],
|
|
49456
|
+
type: 'object',
|
|
49457
|
+
},
|
|
49458
|
+
},
|
|
49459
|
+
},
|
|
49460
|
+
description: 'OK',
|
|
49461
|
+
},
|
|
49462
|
+
400: { description: 'Bad Request' },
|
|
49463
|
+
401: { description: 'Unauthorized' },
|
|
49464
|
+
},
|
|
49465
|
+
security: [
|
|
49466
|
+
{ pat_with_workspace: [] },
|
|
49467
|
+
{ console_session_with_workspace: [] },
|
|
49468
|
+
{ api_key: [] },
|
|
49469
|
+
],
|
|
49470
|
+
summary: '/seam/customer/v1/webhooks/connectors/[workspace_id]/[connector_id]',
|
|
49471
|
+
tags: ['/webhooks'],
|
|
49472
|
+
'x-fern-sdk-group-name': [
|
|
49473
|
+
'seam',
|
|
49474
|
+
'customer',
|
|
49475
|
+
'v1',
|
|
49476
|
+
'webhooks',
|
|
49477
|
+
'connectors',
|
|
49478
|
+
'[workspace_id]',
|
|
49479
|
+
],
|
|
49480
|
+
'x-fern-sdk-method-name': 'by_connector_id',
|
|
49481
|
+
'x-response-key': null,
|
|
49482
|
+
'x-title': 'Connector Webhook Endpoint',
|
|
49483
|
+
},
|
|
49484
|
+
},
|
|
49252
49485
|
'/seam/instant_key/v1/client_sessions/exchange_short_code': {
|
|
49253
49486
|
post: {
|
|
49254
49487
|
description: 'Exchanges a short code for a client session token. Mobile apps use this endpoint to retrieve a client session token securely using a short code obtained from an Instant Key URL.',
|