@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.599.0",
3
+ "version": "1.601.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -684,11 +684,13 @@ export const device_metadata = z
684
684
  })
685
685
  .partial()
686
686
  .describe(`Metadata for a KeyNest device.`),
687
+
687
688
  ultraloq_metadata: z
688
689
  .object({
689
- device_id: z.string().describe(`Device ID for a Ultraloq device.`),
690
+ device_id: z.string().describe(`Device ID for an Ultraloq device.`),
691
+ device_name: z.string().describe(`Device name for an Ultraloq device.`),
690
692
  })
691
- .describe(`Metadata for a Ultraloq device.`),
693
+ .describe(`Metadata for an Ultraloq device.`),
692
694
  })
693
695
  .partial().describe(`
694
696
  ---
@@ -29,6 +29,7 @@ export const LOCK_DEVICE_TYPE = {
29
29
  DORMAKABA_ORACODE_DOOR: 'dormakaba_oracode_door',
30
30
  TEDEE_LOCK: 'tedee_lock',
31
31
  AKILES_LOCK: 'akiles_lock',
32
+ ULTRALOQ_LOCK: 'ultraloq_lock',
32
33
  } as const
33
34
 
34
35
  type LockDeviceTypeFromMapping =
@@ -9423,6 +9423,7 @@ export default {
9423
9423
  'dormakaba_oracode_door',
9424
9424
  'tedee_lock',
9425
9425
  'akiles_lock',
9426
+ 'ultraloq_lock',
9426
9427
  ],
9427
9428
  type: 'string',
9428
9429
  },
@@ -11495,14 +11496,18 @@ export default {
11495
11496
  type: 'object',
11496
11497
  },
11497
11498
  ultraloq_metadata: {
11498
- description: 'Metadata for a Ultraloq device.',
11499
+ description: 'Metadata for an Ultraloq device.',
11499
11500
  properties: {
11500
11501
  device_id: {
11501
- description: 'Device ID for a Ultraloq device.',
11502
+ description: 'Device ID for an Ultraloq device.',
11503
+ type: 'string',
11504
+ },
11505
+ device_name: {
11506
+ description: 'Device name for an Ultraloq device.',
11502
11507
  type: 'string',
11503
11508
  },
11504
11509
  },
11505
- required: ['device_id'],
11510
+ required: ['device_id', 'device_name'],
11506
11511
  type: 'object',
11507
11512
  },
11508
11513
  visionline_metadata: {
@@ -24080,6 +24085,7 @@ export default {
24080
24085
  'dormakaba_oracode_door',
24081
24086
  'tedee_lock',
24082
24087
  'akiles_lock',
24088
+ 'ultraloq_lock',
24083
24089
  ],
24084
24090
  type: 'string',
24085
24091
  },
@@ -43004,6 +43010,7 @@ export default {
43004
43010
  'dormakaba_oracode_door',
43005
43011
  'tedee_lock',
43006
43012
  'akiles_lock',
43013
+ 'ultraloq_lock',
43007
43014
  ],
43008
43015
  type: 'string',
43009
43016
  },
@@ -43075,6 +43082,7 @@ export default {
43075
43082
  'dormakaba_oracode_door',
43076
43083
  'tedee_lock',
43077
43084
  'akiles_lock',
43085
+ 'ultraloq_lock',
43078
43086
  ],
43079
43087
  type: 'string',
43080
43088
  },
@@ -43443,6 +43451,7 @@ export default {
43443
43451
  'dormakaba_oracode_door',
43444
43452
  'tedee_lock',
43445
43453
  'akiles_lock',
43454
+ 'ultraloq_lock',
43446
43455
  ],
43447
43456
  type: 'string',
43448
43457
  },
@@ -43512,6 +43521,7 @@ export default {
43512
43521
  'dormakaba_oracode_door',
43513
43522
  'tedee_lock',
43514
43523
  'akiles_lock',
43524
+ 'ultraloq_lock',
43515
43525
  ],
43516
43526
  type: 'string',
43517
43527
  },
@@ -44367,6 +44377,7 @@ export default {
44367
44377
  'dormakaba_oracode_door',
44368
44378
  'tedee_lock',
44369
44379
  'akiles_lock',
44380
+ 'ultraloq_lock',
44370
44381
  ],
44371
44382
  type: 'string',
44372
44383
  },
@@ -44438,6 +44449,7 @@ export default {
44438
44449
  'dormakaba_oracode_door',
44439
44450
  'tedee_lock',
44440
44451
  'akiles_lock',
44452
+ 'ultraloq_lock',
44441
44453
  ],
44442
44454
  type: 'string',
44443
44455
  },
@@ -44804,6 +44816,7 @@ export default {
44804
44816
  'dormakaba_oracode_door',
44805
44817
  'tedee_lock',
44806
44818
  'akiles_lock',
44819
+ 'ultraloq_lock',
44807
44820
  ],
44808
44821
  type: 'string',
44809
44822
  },
@@ -44873,6 +44886,7 @@ export default {
44873
44886
  'dormakaba_oracode_door',
44874
44887
  'tedee_lock',
44875
44888
  'akiles_lock',
44889
+ 'ultraloq_lock',
44876
44890
  ],
44877
44891
  type: 'string',
44878
44892
  },
@@ -46787,6 +46801,7 @@ export default {
46787
46801
  'dormakaba_oracode_door',
46788
46802
  'tedee_lock',
46789
46803
  'akiles_lock',
46804
+ 'ultraloq_lock',
46790
46805
  ],
46791
46806
  type: 'string',
46792
46807
  },
@@ -46826,6 +46841,7 @@ export default {
46826
46841
  'dormakaba_oracode_door',
46827
46842
  'tedee_lock',
46828
46843
  'akiles_lock',
46844
+ 'ultraloq_lock',
46829
46845
  ],
46830
46846
  type: 'string',
46831
46847
  },
@@ -47152,6 +47168,7 @@ export default {
47152
47168
  'dormakaba_oracode_door',
47153
47169
  'tedee_lock',
47154
47170
  'akiles_lock',
47171
+ 'ultraloq_lock',
47155
47172
  ],
47156
47173
  type: 'string',
47157
47174
  },
@@ -47188,6 +47205,7 @@ export default {
47188
47205
  'dormakaba_oracode_door',
47189
47206
  'tedee_lock',
47190
47207
  'akiles_lock',
47208
+ 'ultraloq_lock',
47191
47209
  ],
47192
47210
  type: 'string',
47193
47211
  },
@@ -51362,6 +51380,174 @@ export default {
51362
51380
  'x-undocumented': 'Internal endpoint for customer portals.',
51363
51381
  },
51364
51382
  },
51383
+ '/seam/customer/v1/connectors/create': {
51384
+ post: {
51385
+ description:
51386
+ 'Creates a new connector for a customer in a workspace. The connector will be activated and start syncing data from the external API.',
51387
+ operationId: 'seamCustomerV1ConnectorsCreatePost',
51388
+ requestBody: {
51389
+ content: {
51390
+ 'application/json': {
51391
+ schema: {
51392
+ properties: {
51393
+ config: {
51394
+ description:
51395
+ 'Instance-specific configuration for the connector',
51396
+ oneOf: [
51397
+ {
51398
+ properties: {
51399
+ access_token: { minLength: 1, type: 'string' },
51400
+ client: { minLength: 1, type: 'string' },
51401
+ client_token: { minLength: 1, type: 'string' },
51402
+ enterprise_ids: {
51403
+ items: { format: 'uuid', type: 'string' },
51404
+ type: 'array',
51405
+ },
51406
+ },
51407
+ required: ['client_token', 'access_token', 'client'],
51408
+ type: 'object',
51409
+ },
51410
+ { properties: {}, type: 'object' },
51411
+ ],
51412
+ },
51413
+ connector_type: {
51414
+ description: 'Type of connector to create',
51415
+ enum: ['mews', 'mock'],
51416
+ type: 'string',
51417
+ },
51418
+ customer_key: {
51419
+ description: 'Key identifying the customer',
51420
+ minLength: 1,
51421
+ type: 'string',
51422
+ },
51423
+ },
51424
+ required: ['connector_type', 'customer_key', 'config'],
51425
+ type: 'object',
51426
+ },
51427
+ },
51428
+ },
51429
+ },
51430
+ responses: {
51431
+ 200: {
51432
+ content: {
51433
+ 'application/json': {
51434
+ schema: {
51435
+ properties: {
51436
+ connector: {
51437
+ properties: {
51438
+ connector_id: { type: 'string' },
51439
+ connector_type: { type: 'string' },
51440
+ error: { type: 'string' },
51441
+ status: {
51442
+ enum: ['active', 'inactive', 'error'],
51443
+ type: 'string',
51444
+ },
51445
+ webhook_subscription: {
51446
+ properties: {
51447
+ events: {
51448
+ items: { type: 'string' },
51449
+ type: 'array',
51450
+ },
51451
+ status: {
51452
+ enum: ['active', 'inactive', 'error'],
51453
+ type: 'string',
51454
+ },
51455
+ subscription_id: { type: 'string' },
51456
+ webhook_url: { type: 'string' },
51457
+ },
51458
+ required: [
51459
+ 'subscription_id',
51460
+ 'webhook_url',
51461
+ 'events',
51462
+ 'status',
51463
+ ],
51464
+ type: 'object',
51465
+ },
51466
+ },
51467
+ required: ['connector_id', 'connector_type', 'status'],
51468
+ type: 'object',
51469
+ },
51470
+ ok: { type: 'boolean' },
51471
+ },
51472
+ required: ['connector', 'ok'],
51473
+ type: 'object',
51474
+ },
51475
+ },
51476
+ },
51477
+ description: 'OK',
51478
+ },
51479
+ 400: { description: 'Bad Request' },
51480
+ 401: { description: 'Unauthorized' },
51481
+ },
51482
+ security: [{ api_key: [] }],
51483
+ summary: '/seam/customer/v1/connectors/create',
51484
+ tags: [],
51485
+ 'x-fern-sdk-group-name': ['seam', 'customer', 'v1', 'connectors'],
51486
+ 'x-fern-sdk-method-name': 'create',
51487
+ 'x-fern-sdk-return-value': 'connector',
51488
+ 'x-response-key': 'connector',
51489
+ 'x-title': 'Create Connector',
51490
+ },
51491
+ },
51492
+ '/seam/customer/v1/connectors/sync': {
51493
+ post: {
51494
+ description:
51495
+ 'Triggers an immediate data sync for a connector by scheduling a polling task.',
51496
+ operationId: 'seamCustomerV1ConnectorsSyncPost',
51497
+ requestBody: {
51498
+ content: {
51499
+ 'application/json': {
51500
+ schema: {
51501
+ properties: {
51502
+ connector_id: {
51503
+ description: 'ID of the connector to sync',
51504
+ format: 'uuid',
51505
+ type: 'string',
51506
+ },
51507
+ },
51508
+ required: ['connector_id'],
51509
+ type: 'object',
51510
+ },
51511
+ },
51512
+ },
51513
+ },
51514
+ responses: {
51515
+ 200: {
51516
+ content: {
51517
+ 'application/json': {
51518
+ schema: {
51519
+ properties: {
51520
+ connector_sync: {
51521
+ properties: {
51522
+ connector_id: { type: 'string' },
51523
+ message: { type: 'string' },
51524
+ status: { type: 'string' },
51525
+ },
51526
+ required: ['connector_id', 'status', 'message'],
51527
+ type: 'object',
51528
+ },
51529
+ ok: { type: 'boolean' },
51530
+ },
51531
+ required: ['connector_sync', 'ok'],
51532
+ type: 'object',
51533
+ },
51534
+ },
51535
+ },
51536
+ description: 'OK',
51537
+ },
51538
+ 400: { description: 'Bad Request' },
51539
+ 401: { description: 'Unauthorized' },
51540
+ },
51541
+ security: [{ api_key: [] }],
51542
+ summary: '/seam/customer/v1/connectors/sync',
51543
+ tags: [],
51544
+ 'x-fern-sdk-group-name': ['seam', 'customer', 'v1', 'connectors'],
51545
+ 'x-fern-sdk-method-name': 'sync',
51546
+ 'x-fern-sdk-return-value': 'connector_sync',
51547
+ 'x-response-key': 'connector_sync',
51548
+ 'x-title': 'Sync Connector Data',
51549
+ },
51550
+ },
51365
51551
  '/seam/customer/v1/events/list': {
51366
51552
  get: {
51367
51553
  description:
@@ -53427,6 +53613,59 @@ export default {
53427
53613
  'x-title': 'List Spaces',
53428
53614
  },
53429
53615
  },
53616
+ '/seam/customer/v1/webhooks/connectors/[workspace_id]/[connector_id]': {
53617
+ post: {
53618
+ description:
53619
+ 'Receives webhook events from external connector APIs and processes them into partner resources.',
53620
+ operationId:
53621
+ 'seamCustomerV1WebhooksConnectorsByWorkspaceIdByConnectorIdPost',
53622
+ requestBody: {
53623
+ content: {
53624
+ 'application/json': { schema: { properties: {}, type: 'object' } },
53625
+ },
53626
+ },
53627
+ responses: {
53628
+ 200: {
53629
+ content: {
53630
+ 'application/json': {
53631
+ schema: {
53632
+ properties: {
53633
+ error: { type: 'string' },
53634
+ ok: { type: 'boolean' },
53635
+ processed_events: { format: 'float', type: 'number' },
53636
+ success: { type: 'boolean' },
53637
+ },
53638
+ required: ['success', 'processed_events', 'ok'],
53639
+ type: 'object',
53640
+ },
53641
+ },
53642
+ },
53643
+ description: 'OK',
53644
+ },
53645
+ 400: { description: 'Bad Request' },
53646
+ 401: { description: 'Unauthorized' },
53647
+ },
53648
+ security: [
53649
+ { pat_with_workspace: [] },
53650
+ { console_session_with_workspace: [] },
53651
+ { api_key: [] },
53652
+ ],
53653
+ summary:
53654
+ '/seam/customer/v1/webhooks/connectors/[workspace_id]/[connector_id]',
53655
+ tags: ['/webhooks'],
53656
+ 'x-fern-sdk-group-name': [
53657
+ 'seam',
53658
+ 'customer',
53659
+ 'v1',
53660
+ 'webhooks',
53661
+ 'connectors',
53662
+ '[workspace_id]',
53663
+ ],
53664
+ 'x-fern-sdk-method-name': 'by_connector_id',
53665
+ 'x-response-key': null,
53666
+ 'x-title': 'Connector Webhook Endpoint',
53667
+ },
53668
+ },
53430
53669
  '/seam/instant_key/v1/client_sessions/exchange_short_code': {
53431
53670
  post: {
53432
53671
  description: