@seamapi/types 1.269.1 → 1.271.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.
@@ -926,6 +926,7 @@ declare const _default: {
926
926
  properties?: never;
927
927
  type?: never;
928
928
  required?: never;
929
+ oneOf?: never;
929
930
  };
930
931
  status: {
931
932
  enum: string[];
@@ -963,6 +964,7 @@ declare const _default: {
963
964
  type: string;
964
965
  nullable?: never;
965
966
  required?: never;
967
+ oneOf?: never;
966
968
  };
967
969
  status: {
968
970
  enum: string[];
@@ -1003,6 +1005,7 @@ declare const _default: {
1003
1005
  properties?: never;
1004
1006
  type?: never;
1005
1007
  required?: never;
1008
+ oneOf?: never;
1006
1009
  };
1007
1010
  status: {
1008
1011
  enum: string[];
@@ -1286,6 +1289,7 @@ declare const _default: {
1286
1289
  required: string[];
1287
1290
  type: string;
1288
1291
  nullable?: never;
1292
+ oneOf?: never;
1289
1293
  };
1290
1294
  status: {
1291
1295
  enum: string[];
@@ -1326,6 +1330,197 @@ declare const _default: {
1326
1330
  properties?: never;
1327
1331
  type?: never;
1328
1332
  required?: never;
1333
+ oneOf?: never;
1334
+ };
1335
+ status: {
1336
+ enum: string[];
1337
+ type: string;
1338
+ };
1339
+ };
1340
+ required: string[];
1341
+ type: string;
1342
+ } | {
1343
+ description: string;
1344
+ properties: {
1345
+ action_attempt_id: {
1346
+ description: string;
1347
+ format: string;
1348
+ type: string;
1349
+ 'x-title': string;
1350
+ };
1351
+ action_type: {
1352
+ enum: string[];
1353
+ type: string;
1354
+ };
1355
+ error: {
1356
+ nullable: boolean;
1357
+ properties?: never;
1358
+ required?: never;
1359
+ type?: never;
1360
+ };
1361
+ result: {
1362
+ oneOf: {
1363
+ properties: {
1364
+ access_method: {
1365
+ enum: string[];
1366
+ type: string;
1367
+ };
1368
+ acs_credential_id: {
1369
+ format: string;
1370
+ type: string;
1371
+ };
1372
+ acs_credential_pool_id: {
1373
+ format: string;
1374
+ type: string;
1375
+ };
1376
+ acs_system_id: {
1377
+ format: string;
1378
+ type: string;
1379
+ };
1380
+ acs_user_id: {
1381
+ format: string;
1382
+ type: string;
1383
+ };
1384
+ card_number: {
1385
+ nullable: boolean;
1386
+ type: string;
1387
+ };
1388
+ code: {
1389
+ nullable: boolean;
1390
+ type: string;
1391
+ };
1392
+ created_at: {
1393
+ format: string;
1394
+ type: string;
1395
+ };
1396
+ display_name: {
1397
+ minLength: number;
1398
+ type: string;
1399
+ };
1400
+ ends_at: {
1401
+ type: string;
1402
+ };
1403
+ errors: {
1404
+ items: {
1405
+ properties: {
1406
+ error_code: {
1407
+ type: string;
1408
+ };
1409
+ message: {
1410
+ type: string;
1411
+ };
1412
+ };
1413
+ required: string[];
1414
+ type: string;
1415
+ };
1416
+ type: string;
1417
+ };
1418
+ external_type: {
1419
+ enum: string[];
1420
+ type: string;
1421
+ };
1422
+ external_type_display_name: {
1423
+ type: string;
1424
+ };
1425
+ is_issued: {
1426
+ type: string;
1427
+ };
1428
+ is_latest_desired_state_synced_with_provider: {
1429
+ type: string;
1430
+ };
1431
+ is_managed: {
1432
+ enum: boolean[];
1433
+ type: string;
1434
+ };
1435
+ is_multi_phone_sync_credential: {
1436
+ type: string;
1437
+ };
1438
+ issued_at: {
1439
+ format: string;
1440
+ nullable: boolean;
1441
+ type: string;
1442
+ };
1443
+ latest_desired_state_synced_with_provider_at: {
1444
+ format: string;
1445
+ type: string;
1446
+ };
1447
+ parent_acs_credential_id: {
1448
+ format: string;
1449
+ type: string;
1450
+ };
1451
+ starts_at: {
1452
+ type: string;
1453
+ };
1454
+ visionline_metadata: {
1455
+ properties: {
1456
+ auto_join: {
1457
+ type: string;
1458
+ };
1459
+ card_function_type: {
1460
+ enum: string[];
1461
+ type: string;
1462
+ };
1463
+ card_id: {
1464
+ type: string;
1465
+ };
1466
+ common_acs_entrance_ids: {
1467
+ items: {
1468
+ format: string;
1469
+ type: string;
1470
+ };
1471
+ type: string;
1472
+ };
1473
+ credential_id: {
1474
+ type: string;
1475
+ };
1476
+ guest_acs_entrance_ids: {
1477
+ items: {
1478
+ format: string;
1479
+ type: string;
1480
+ };
1481
+ type: string;
1482
+ };
1483
+ is_valid: {
1484
+ type: string;
1485
+ };
1486
+ joiner_acs_credential_ids: {
1487
+ items: {
1488
+ format: string;
1489
+ type: string;
1490
+ };
1491
+ type: string;
1492
+ };
1493
+ };
1494
+ required: string[];
1495
+ type: string;
1496
+ };
1497
+ warnings: {
1498
+ items: {
1499
+ properties: {
1500
+ message: {
1501
+ type: string;
1502
+ };
1503
+ warning_code: {
1504
+ type: string;
1505
+ };
1506
+ };
1507
+ required: string[];
1508
+ type: string;
1509
+ };
1510
+ type: string;
1511
+ };
1512
+ workspace_id: {
1513
+ format: string;
1514
+ type: string;
1515
+ };
1516
+ };
1517
+ required: string[];
1518
+ type: string;
1519
+ }[];
1520
+ nullable?: never;
1521
+ properties?: never;
1522
+ type?: never;
1523
+ required?: never;
1329
1524
  };
1330
1525
  status: {
1331
1526
  enum: string[];
@@ -1357,6 +1552,7 @@ declare const _default: {
1357
1552
  properties?: never;
1358
1553
  type?: never;
1359
1554
  required?: never;
1555
+ oneOf?: never;
1360
1556
  };
1361
1557
  status: {
1362
1558
  enum: string[];
@@ -1394,6 +1590,7 @@ declare const _default: {
1394
1590
  type: string;
1395
1591
  nullable?: never;
1396
1592
  required?: never;
1593
+ oneOf?: never;
1397
1594
  };
1398
1595
  status: {
1399
1596
  enum: string[];
@@ -1434,6 +1631,7 @@ declare const _default: {
1434
1631
  properties?: never;
1435
1632
  type?: never;
1436
1633
  required?: never;
1634
+ oneOf?: never;
1437
1635
  };
1438
1636
  status: {
1439
1637
  enum: string[];
@@ -1471,6 +1669,7 @@ declare const _default: {
1471
1669
  type: string;
1472
1670
  nullable?: never;
1473
1671
  required?: never;
1672
+ oneOf?: never;
1474
1673
  };
1475
1674
  status: {
1476
1675
  enum: string[];
@@ -1508,6 +1707,7 @@ declare const _default: {
1508
1707
  type: string;
1509
1708
  nullable?: never;
1510
1709
  required?: never;
1710
+ oneOf?: never;
1511
1711
  };
1512
1712
  status: {
1513
1713
  enum: string[];
@@ -8524,6 +8724,10 @@ declare const _default: {
8524
8724
  schema: {
8525
8725
  oneOf: ({
8526
8726
  properties: {
8727
+ acs_credential_id: {
8728
+ format: string;
8729
+ type: string;
8730
+ };
8527
8731
  acs_system_id: {
8528
8732
  format: string;
8529
8733
  type: string;
@@ -8537,11 +8741,18 @@ declare const _default: {
8537
8741
  type: string;
8538
8742
  } | {
8539
8743
  properties: {
8744
+ acs_credential_id: {
8745
+ format: string;
8746
+ type: string;
8747
+ };
8748
+ acs_system_id: {
8749
+ format: string;
8750
+ type: string;
8751
+ };
8540
8752
  device_id: {
8541
8753
  format: string;
8542
8754
  type: string;
8543
8755
  };
8544
- acs_system_id?: never;
8545
8756
  device_name?: never;
8546
8757
  };
8547
8758
  required: string[];
@@ -1573,7 +1573,234 @@ export default {
1573
1573
  },
1574
1574
  action_type: { enum: ['ENCODE_CARD'], type: 'string' },
1575
1575
  error: { nullable: true },
1576
- result: { properties: {}, type: 'object' },
1576
+ result: {
1577
+ oneOf: [
1578
+ {
1579
+ properties: {
1580
+ access_method: {
1581
+ enum: ['code', 'card', 'mobile_key'],
1582
+ type: 'string',
1583
+ },
1584
+ acs_credential_id: { format: 'uuid', type: 'string' },
1585
+ acs_credential_pool_id: {
1586
+ format: 'uuid',
1587
+ type: 'string',
1588
+ },
1589
+ acs_system_id: { format: 'uuid', type: 'string' },
1590
+ acs_user_id: { format: 'uuid', type: 'string' },
1591
+ card_number: { nullable: true, type: 'string' },
1592
+ code: { nullable: true, type: 'string' },
1593
+ created_at: { format: 'date-time', type: 'string' },
1594
+ display_name: { minLength: 1, type: 'string' },
1595
+ ends_at: { type: 'string' },
1596
+ errors: {
1597
+ items: {
1598
+ properties: {
1599
+ error_code: { type: 'string' },
1600
+ message: { type: 'string' },
1601
+ },
1602
+ required: ['error_code', 'message'],
1603
+ type: 'object',
1604
+ },
1605
+ type: 'array',
1606
+ },
1607
+ external_type: {
1608
+ enum: [
1609
+ 'pti_card',
1610
+ 'brivo_credential',
1611
+ 'hid_credential',
1612
+ 'visionline_card',
1613
+ 'salto_ks_credential',
1614
+ ],
1615
+ type: 'string',
1616
+ },
1617
+ external_type_display_name: { type: 'string' },
1618
+ is_issued: { type: 'boolean' },
1619
+ is_latest_desired_state_synced_with_provider: {
1620
+ type: 'boolean',
1621
+ },
1622
+ is_managed: { enum: [true], type: 'boolean' },
1623
+ is_multi_phone_sync_credential: { type: 'boolean' },
1624
+ issued_at: {
1625
+ format: 'date-time',
1626
+ nullable: true,
1627
+ type: 'string',
1628
+ },
1629
+ latest_desired_state_synced_with_provider_at: {
1630
+ format: 'date-time',
1631
+ type: 'string',
1632
+ },
1633
+ parent_acs_credential_id: {
1634
+ format: 'uuid',
1635
+ type: 'string',
1636
+ },
1637
+ starts_at: { type: 'string' },
1638
+ visionline_metadata: {
1639
+ properties: {
1640
+ auto_join: { type: 'boolean' },
1641
+ card_function_type: {
1642
+ enum: ['guest', 'staff'],
1643
+ type: 'string',
1644
+ },
1645
+ card_id: { type: 'string' },
1646
+ common_acs_entrance_ids: {
1647
+ items: { format: 'uuid', type: 'string' },
1648
+ type: 'array',
1649
+ },
1650
+ credential_id: { type: 'string' },
1651
+ guest_acs_entrance_ids: {
1652
+ items: { format: 'uuid', type: 'string' },
1653
+ type: 'array',
1654
+ },
1655
+ is_valid: { type: 'boolean' },
1656
+ joiner_acs_credential_ids: {
1657
+ items: { format: 'uuid', type: 'string' },
1658
+ type: 'array',
1659
+ },
1660
+ },
1661
+ required: ['card_function_type'],
1662
+ type: 'object',
1663
+ },
1664
+ warnings: {
1665
+ items: {
1666
+ properties: {
1667
+ message: { type: 'string' },
1668
+ warning_code: { type: 'string' },
1669
+ },
1670
+ required: ['warning_code', 'message'],
1671
+ type: 'object',
1672
+ },
1673
+ type: 'array',
1674
+ },
1675
+ workspace_id: { format: 'uuid', type: 'string' },
1676
+ },
1677
+ required: [
1678
+ 'acs_credential_id',
1679
+ 'acs_system_id',
1680
+ 'display_name',
1681
+ 'access_method',
1682
+ 'created_at',
1683
+ 'workspace_id',
1684
+ 'errors',
1685
+ 'warnings',
1686
+ 'is_managed',
1687
+ ],
1688
+ type: 'object',
1689
+ },
1690
+ {
1691
+ properties: {
1692
+ access_method: {
1693
+ enum: ['code', 'card', 'mobile_key'],
1694
+ type: 'string',
1695
+ },
1696
+ acs_credential_id: { format: 'uuid', type: 'string' },
1697
+ acs_credential_pool_id: {
1698
+ format: 'uuid',
1699
+ type: 'string',
1700
+ },
1701
+ acs_system_id: { format: 'uuid', type: 'string' },
1702
+ acs_user_id: { format: 'uuid', type: 'string' },
1703
+ card_number: { nullable: true, type: 'string' },
1704
+ code: { nullable: true, type: 'string' },
1705
+ created_at: { format: 'date-time', type: 'string' },
1706
+ display_name: { minLength: 1, type: 'string' },
1707
+ ends_at: { type: 'string' },
1708
+ errors: {
1709
+ items: {
1710
+ properties: {
1711
+ error_code: { type: 'string' },
1712
+ message: { type: 'string' },
1713
+ },
1714
+ required: ['error_code', 'message'],
1715
+ type: 'object',
1716
+ },
1717
+ type: 'array',
1718
+ },
1719
+ external_type: {
1720
+ enum: [
1721
+ 'pti_card',
1722
+ 'brivo_credential',
1723
+ 'hid_credential',
1724
+ 'visionline_card',
1725
+ 'salto_ks_credential',
1726
+ ],
1727
+ type: 'string',
1728
+ },
1729
+ external_type_display_name: { type: 'string' },
1730
+ is_issued: { type: 'boolean' },
1731
+ is_latest_desired_state_synced_with_provider: {
1732
+ type: 'boolean',
1733
+ },
1734
+ is_managed: { enum: [false], type: 'boolean' },
1735
+ is_multi_phone_sync_credential: { type: 'boolean' },
1736
+ issued_at: {
1737
+ format: 'date-time',
1738
+ nullable: true,
1739
+ type: 'string',
1740
+ },
1741
+ latest_desired_state_synced_with_provider_at: {
1742
+ format: 'date-time',
1743
+ type: 'string',
1744
+ },
1745
+ parent_acs_credential_id: {
1746
+ format: 'uuid',
1747
+ type: 'string',
1748
+ },
1749
+ starts_at: { type: 'string' },
1750
+ visionline_metadata: {
1751
+ properties: {
1752
+ auto_join: { type: 'boolean' },
1753
+ card_function_type: {
1754
+ enum: ['guest', 'staff'],
1755
+ type: 'string',
1756
+ },
1757
+ card_id: { type: 'string' },
1758
+ common_acs_entrance_ids: {
1759
+ items: { format: 'uuid', type: 'string' },
1760
+ type: 'array',
1761
+ },
1762
+ credential_id: { type: 'string' },
1763
+ guest_acs_entrance_ids: {
1764
+ items: { format: 'uuid', type: 'string' },
1765
+ type: 'array',
1766
+ },
1767
+ is_valid: { type: 'boolean' },
1768
+ joiner_acs_credential_ids: {
1769
+ items: { format: 'uuid', type: 'string' },
1770
+ type: 'array',
1771
+ },
1772
+ },
1773
+ required: ['card_function_type'],
1774
+ type: 'object',
1775
+ },
1776
+ warnings: {
1777
+ items: {
1778
+ properties: {
1779
+ message: { type: 'string' },
1780
+ warning_code: { type: 'string' },
1781
+ },
1782
+ required: ['warning_code', 'message'],
1783
+ type: 'object',
1784
+ },
1785
+ type: 'array',
1786
+ },
1787
+ workspace_id: { format: 'uuid', type: 'string' },
1788
+ },
1789
+ required: [
1790
+ 'acs_credential_id',
1791
+ 'acs_system_id',
1792
+ 'display_name',
1793
+ 'access_method',
1794
+ 'created_at',
1795
+ 'workspace_id',
1796
+ 'errors',
1797
+ 'warnings',
1798
+ 'is_managed',
1799
+ ],
1800
+ type: 'object',
1801
+ },
1802
+ ],
1803
+ },
1577
1804
  status: { enum: ['success'], type: 'string' },
1578
1805
  },
1579
1806
  required: [
@@ -4111,6 +4338,7 @@ export default {
4111
4338
  'honeywell_resideo',
4112
4339
  'latch',
4113
4340
  'akiles',
4341
+ 'vostio',
4114
4342
  ],
4115
4343
  type: 'string',
4116
4344
  },
@@ -7838,17 +8066,28 @@ export default {
7838
8066
  oneOf: [
7839
8067
  {
7840
8068
  properties: {
8069
+ acs_credential_id: { format: 'uuid', type: 'string' },
7841
8070
  acs_system_id: { format: 'uuid', type: 'string' },
7842
8071
  device_name: { type: 'string' },
7843
8072
  },
7844
- required: ['acs_system_id', 'device_name'],
8073
+ required: [
8074
+ 'acs_system_id',
8075
+ 'device_name',
8076
+ 'acs_credential_id',
8077
+ ],
7845
8078
  type: 'object',
7846
8079
  },
7847
8080
  {
7848
8081
  properties: {
8082
+ acs_credential_id: { format: 'uuid', type: 'string' },
8083
+ acs_system_id: { format: 'uuid', type: 'string' },
7849
8084
  device_id: { format: 'uuid', type: 'string' },
7850
8085
  },
7851
- required: ['device_id'],
8086
+ required: [
8087
+ 'acs_system_id',
8088
+ 'device_id',
8089
+ 'acs_credential_id',
8090
+ ],
7852
8091
  type: 'object',
7853
8092
  },
7854
8093
  ],
@@ -10599,6 +10838,7 @@ export default {
10599
10838
  'honeywell_resideo',
10600
10839
  'latch',
10601
10840
  'akiles',
10841
+ 'vostio',
10602
10842
  'yale_access',
10603
10843
  'hid_cm',
10604
10844
  'google_nest',