ob-bms-sdk 0.0.35 → 0.0.36
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/api/api.ts +132 -21
- package/dist/api/api.d.ts +132 -21
- package/package.json +1 -1
package/api/api.ts
CHANGED
|
@@ -47,6 +47,18 @@ export interface CommandData {
|
|
|
47
47
|
* @memberof CommandData
|
|
48
48
|
*/
|
|
49
49
|
'data'?: PrismaJsonValue | null;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof CommandData
|
|
54
|
+
*/
|
|
55
|
+
'status'?: string;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {PrismaJsonValue}
|
|
59
|
+
* @memberof CommandData
|
|
60
|
+
*/
|
|
61
|
+
'result'?: PrismaJsonValue | null;
|
|
50
62
|
/**
|
|
51
63
|
*
|
|
52
64
|
* @type {string}
|
|
@@ -501,6 +513,37 @@ export interface LiftCallCommandData {
|
|
|
501
513
|
*/
|
|
502
514
|
'location_id': string;
|
|
503
515
|
}
|
|
516
|
+
/**
|
|
517
|
+
*
|
|
518
|
+
* @export
|
|
519
|
+
* @interface LiftCalledPayload
|
|
520
|
+
*/
|
|
521
|
+
export interface LiftCalledPayload {
|
|
522
|
+
/**
|
|
523
|
+
*
|
|
524
|
+
* @type {string}
|
|
525
|
+
* @memberof LiftCalledPayload
|
|
526
|
+
*/
|
|
527
|
+
'personID': string;
|
|
528
|
+
/**
|
|
529
|
+
*
|
|
530
|
+
* @type {string}
|
|
531
|
+
* @memberof LiftCalledPayload
|
|
532
|
+
*/
|
|
533
|
+
'liftName': string;
|
|
534
|
+
/**
|
|
535
|
+
*
|
|
536
|
+
* @type {string}
|
|
537
|
+
* @memberof LiftCalledPayload
|
|
538
|
+
*/
|
|
539
|
+
'floorName': string;
|
|
540
|
+
/**
|
|
541
|
+
*
|
|
542
|
+
* @type {string}
|
|
543
|
+
* @memberof LiftCalledPayload
|
|
544
|
+
*/
|
|
545
|
+
'towerName': string;
|
|
546
|
+
}
|
|
504
547
|
/**
|
|
505
548
|
*
|
|
506
549
|
* @export
|
|
@@ -801,6 +844,12 @@ export interface PassConsentResponse {
|
|
|
801
844
|
* @memberof PassConsentResponse
|
|
802
845
|
*/
|
|
803
846
|
'id': string;
|
|
847
|
+
/**
|
|
848
|
+
*
|
|
849
|
+
* @type {string}
|
|
850
|
+
* @memberof PassConsentResponse
|
|
851
|
+
*/
|
|
852
|
+
'status': PassConsentResponseStatusEnum;
|
|
804
853
|
/**
|
|
805
854
|
*
|
|
806
855
|
* @type {string}
|
|
@@ -843,12 +892,6 @@ export interface PassConsentResponse {
|
|
|
843
892
|
* @memberof PassConsentResponse
|
|
844
893
|
*/
|
|
845
894
|
'issuer_id': string;
|
|
846
|
-
/**
|
|
847
|
-
*
|
|
848
|
-
* @type {string}
|
|
849
|
-
* @memberof PassConsentResponse
|
|
850
|
-
*/
|
|
851
|
-
'status': PassConsentResponseStatusEnum;
|
|
852
895
|
/**
|
|
853
896
|
*
|
|
854
897
|
* @type {string}
|
|
@@ -1005,6 +1048,12 @@ export interface PersonData {
|
|
|
1005
1048
|
* @memberof PersonData
|
|
1006
1049
|
*/
|
|
1007
1050
|
'status': string;
|
|
1051
|
+
/**
|
|
1052
|
+
*
|
|
1053
|
+
* @type {boolean}
|
|
1054
|
+
* @memberof PersonData
|
|
1055
|
+
*/
|
|
1056
|
+
'canPreRegister': boolean;
|
|
1008
1057
|
}
|
|
1009
1058
|
/**
|
|
1010
1059
|
* From https://github.com/sindresorhus/type-fest/ Matches any valid JSON value.
|
|
@@ -1359,6 +1408,12 @@ export interface TowerData {
|
|
|
1359
1408
|
* @memberof TowerData
|
|
1360
1409
|
*/
|
|
1361
1410
|
'floors': Array<FloorData>;
|
|
1411
|
+
/**
|
|
1412
|
+
*
|
|
1413
|
+
* @type {Array<FloorData>}
|
|
1414
|
+
* @memberof TowerData
|
|
1415
|
+
*/
|
|
1416
|
+
'locations': Array<FloorData>;
|
|
1362
1417
|
}
|
|
1363
1418
|
/**
|
|
1364
1419
|
*
|
|
@@ -1470,6 +1525,37 @@ export interface VisitorData {
|
|
|
1470
1525
|
*/
|
|
1471
1526
|
'id': string;
|
|
1472
1527
|
}
|
|
1528
|
+
/**
|
|
1529
|
+
*
|
|
1530
|
+
* @export
|
|
1531
|
+
* @interface VisitorPassedPayload
|
|
1532
|
+
*/
|
|
1533
|
+
export interface VisitorPassedPayload {
|
|
1534
|
+
/**
|
|
1535
|
+
*
|
|
1536
|
+
* @type {string}
|
|
1537
|
+
* @memberof VisitorPassedPayload
|
|
1538
|
+
*/
|
|
1539
|
+
'inviteID': string;
|
|
1540
|
+
/**
|
|
1541
|
+
*
|
|
1542
|
+
* @type {string}
|
|
1543
|
+
* @memberof VisitorPassedPayload
|
|
1544
|
+
*/
|
|
1545
|
+
'liftName': string;
|
|
1546
|
+
/**
|
|
1547
|
+
*
|
|
1548
|
+
* @type {string}
|
|
1549
|
+
* @memberof VisitorPassedPayload
|
|
1550
|
+
*/
|
|
1551
|
+
'floorName': string;
|
|
1552
|
+
/**
|
|
1553
|
+
*
|
|
1554
|
+
* @type {string}
|
|
1555
|
+
* @memberof VisitorPassedPayload
|
|
1556
|
+
*/
|
|
1557
|
+
'towerName': string;
|
|
1558
|
+
}
|
|
1473
1559
|
/**
|
|
1474
1560
|
*
|
|
1475
1561
|
* @export
|
|
@@ -1622,37 +1708,50 @@ export interface WebhookCreateBody {
|
|
|
1622
1708
|
* @type {string}
|
|
1623
1709
|
* @memberof WebhookCreateBody
|
|
1624
1710
|
*/
|
|
1625
|
-
'
|
|
1711
|
+
'action': string;
|
|
1626
1712
|
/**
|
|
1627
1713
|
*
|
|
1628
|
-
* @type {
|
|
1714
|
+
* @type {WebhookCreateBodyPayload}
|
|
1629
1715
|
* @memberof WebhookCreateBody
|
|
1630
1716
|
*/
|
|
1717
|
+
'payload': WebhookCreateBodyPayload;
|
|
1718
|
+
}
|
|
1719
|
+
/**
|
|
1720
|
+
*
|
|
1721
|
+
* @export
|
|
1722
|
+
* @interface WebhookCreateBodyPayload
|
|
1723
|
+
*/
|
|
1724
|
+
export interface WebhookCreateBodyPayload {
|
|
1725
|
+
/**
|
|
1726
|
+
*
|
|
1727
|
+
* @type {string}
|
|
1728
|
+
* @memberof WebhookCreateBodyPayload
|
|
1729
|
+
*/
|
|
1631
1730
|
'personID': string;
|
|
1632
1731
|
/**
|
|
1633
1732
|
*
|
|
1634
1733
|
* @type {string}
|
|
1635
|
-
* @memberof
|
|
1734
|
+
* @memberof WebhookCreateBodyPayload
|
|
1636
1735
|
*/
|
|
1637
1736
|
'liftName': string;
|
|
1638
1737
|
/**
|
|
1639
1738
|
*
|
|
1640
1739
|
* @type {string}
|
|
1641
|
-
* @memberof
|
|
1740
|
+
* @memberof WebhookCreateBodyPayload
|
|
1642
1741
|
*/
|
|
1643
1742
|
'floorName': string;
|
|
1644
1743
|
/**
|
|
1645
1744
|
*
|
|
1646
|
-
* @type {
|
|
1647
|
-
* @memberof
|
|
1745
|
+
* @type {string}
|
|
1746
|
+
* @memberof WebhookCreateBodyPayload
|
|
1648
1747
|
*/
|
|
1649
|
-
'
|
|
1748
|
+
'towerName': string;
|
|
1650
1749
|
/**
|
|
1651
1750
|
*
|
|
1652
1751
|
* @type {string}
|
|
1653
|
-
* @memberof
|
|
1752
|
+
* @memberof WebhookCreateBodyPayload
|
|
1654
1753
|
*/
|
|
1655
|
-
'
|
|
1754
|
+
'inviteID': string;
|
|
1656
1755
|
}
|
|
1657
1756
|
/**
|
|
1658
1757
|
*
|
|
@@ -1691,6 +1790,18 @@ export interface WrappedResponseCommandsCreateResponseData {
|
|
|
1691
1790
|
* @memberof WrappedResponseCommandsCreateResponseData
|
|
1692
1791
|
*/
|
|
1693
1792
|
'data'?: PrismaJsonValue | null;
|
|
1793
|
+
/**
|
|
1794
|
+
*
|
|
1795
|
+
* @type {string}
|
|
1796
|
+
* @memberof WrappedResponseCommandsCreateResponseData
|
|
1797
|
+
*/
|
|
1798
|
+
'status'?: string;
|
|
1799
|
+
/**
|
|
1800
|
+
*
|
|
1801
|
+
* @type {PrismaJsonValue}
|
|
1802
|
+
* @memberof WrappedResponseCommandsCreateResponseData
|
|
1803
|
+
*/
|
|
1804
|
+
'result'?: PrismaJsonValue | null;
|
|
1694
1805
|
/**
|
|
1695
1806
|
*
|
|
1696
1807
|
* @type {string}
|
|
@@ -2027,6 +2138,12 @@ export interface WrappedResponsePassConsentResponseData {
|
|
|
2027
2138
|
* @memberof WrappedResponsePassConsentResponseData
|
|
2028
2139
|
*/
|
|
2029
2140
|
'id': string;
|
|
2141
|
+
/**
|
|
2142
|
+
*
|
|
2143
|
+
* @type {string}
|
|
2144
|
+
* @memberof WrappedResponsePassConsentResponseData
|
|
2145
|
+
*/
|
|
2146
|
+
'status': WrappedResponsePassConsentResponseDataStatusEnum;
|
|
2030
2147
|
/**
|
|
2031
2148
|
*
|
|
2032
2149
|
* @type {string}
|
|
@@ -2069,12 +2186,6 @@ export interface WrappedResponsePassConsentResponseData {
|
|
|
2069
2186
|
* @memberof WrappedResponsePassConsentResponseData
|
|
2070
2187
|
*/
|
|
2071
2188
|
'issuer_id': string;
|
|
2072
|
-
/**
|
|
2073
|
-
*
|
|
2074
|
-
* @type {string}
|
|
2075
|
-
* @memberof WrappedResponsePassConsentResponseData
|
|
2076
|
-
*/
|
|
2077
|
-
'status': WrappedResponsePassConsentResponseDataStatusEnum;
|
|
2078
2189
|
/**
|
|
2079
2190
|
*
|
|
2080
2191
|
* @type {string}
|
package/dist/api/api.d.ts
CHANGED
|
@@ -37,6 +37,18 @@ export interface CommandData {
|
|
|
37
37
|
* @memberof CommandData
|
|
38
38
|
*/
|
|
39
39
|
'data'?: PrismaJsonValue | null;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof CommandData
|
|
44
|
+
*/
|
|
45
|
+
'status'?: string;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {PrismaJsonValue}
|
|
49
|
+
* @memberof CommandData
|
|
50
|
+
*/
|
|
51
|
+
'result'?: PrismaJsonValue | null;
|
|
40
52
|
/**
|
|
41
53
|
*
|
|
42
54
|
* @type {string}
|
|
@@ -499,6 +511,37 @@ export interface LiftCallCommandData {
|
|
|
499
511
|
*/
|
|
500
512
|
'location_id': string;
|
|
501
513
|
}
|
|
514
|
+
/**
|
|
515
|
+
*
|
|
516
|
+
* @export
|
|
517
|
+
* @interface LiftCalledPayload
|
|
518
|
+
*/
|
|
519
|
+
export interface LiftCalledPayload {
|
|
520
|
+
/**
|
|
521
|
+
*
|
|
522
|
+
* @type {string}
|
|
523
|
+
* @memberof LiftCalledPayload
|
|
524
|
+
*/
|
|
525
|
+
'personID': string;
|
|
526
|
+
/**
|
|
527
|
+
*
|
|
528
|
+
* @type {string}
|
|
529
|
+
* @memberof LiftCalledPayload
|
|
530
|
+
*/
|
|
531
|
+
'liftName': string;
|
|
532
|
+
/**
|
|
533
|
+
*
|
|
534
|
+
* @type {string}
|
|
535
|
+
* @memberof LiftCalledPayload
|
|
536
|
+
*/
|
|
537
|
+
'floorName': string;
|
|
538
|
+
/**
|
|
539
|
+
*
|
|
540
|
+
* @type {string}
|
|
541
|
+
* @memberof LiftCalledPayload
|
|
542
|
+
*/
|
|
543
|
+
'towerName': string;
|
|
544
|
+
}
|
|
502
545
|
/**
|
|
503
546
|
*
|
|
504
547
|
* @export
|
|
@@ -799,6 +842,12 @@ export interface PassConsentResponse {
|
|
|
799
842
|
* @memberof PassConsentResponse
|
|
800
843
|
*/
|
|
801
844
|
'id': string;
|
|
845
|
+
/**
|
|
846
|
+
*
|
|
847
|
+
* @type {string}
|
|
848
|
+
* @memberof PassConsentResponse
|
|
849
|
+
*/
|
|
850
|
+
'status': PassConsentResponseStatusEnum;
|
|
802
851
|
/**
|
|
803
852
|
*
|
|
804
853
|
* @type {string}
|
|
@@ -841,12 +890,6 @@ export interface PassConsentResponse {
|
|
|
841
890
|
* @memberof PassConsentResponse
|
|
842
891
|
*/
|
|
843
892
|
'issuer_id': string;
|
|
844
|
-
/**
|
|
845
|
-
*
|
|
846
|
-
* @type {string}
|
|
847
|
-
* @memberof PassConsentResponse
|
|
848
|
-
*/
|
|
849
|
-
'status': PassConsentResponseStatusEnum;
|
|
850
893
|
/**
|
|
851
894
|
*
|
|
852
895
|
* @type {string}
|
|
@@ -997,6 +1040,12 @@ export interface PersonData {
|
|
|
997
1040
|
* @memberof PersonData
|
|
998
1041
|
*/
|
|
999
1042
|
'status': string;
|
|
1043
|
+
/**
|
|
1044
|
+
*
|
|
1045
|
+
* @type {boolean}
|
|
1046
|
+
* @memberof PersonData
|
|
1047
|
+
*/
|
|
1048
|
+
'canPreRegister': boolean;
|
|
1000
1049
|
}
|
|
1001
1050
|
/**
|
|
1002
1051
|
* From https://github.com/sindresorhus/type-fest/ Matches any valid JSON value.
|
|
@@ -1348,6 +1397,12 @@ export interface TowerData {
|
|
|
1348
1397
|
* @memberof TowerData
|
|
1349
1398
|
*/
|
|
1350
1399
|
'floors': Array<FloorData>;
|
|
1400
|
+
/**
|
|
1401
|
+
*
|
|
1402
|
+
* @type {Array<FloorData>}
|
|
1403
|
+
* @memberof TowerData
|
|
1404
|
+
*/
|
|
1405
|
+
'locations': Array<FloorData>;
|
|
1351
1406
|
}
|
|
1352
1407
|
/**
|
|
1353
1408
|
*
|
|
@@ -1459,6 +1514,37 @@ export interface VisitorData {
|
|
|
1459
1514
|
*/
|
|
1460
1515
|
'id': string;
|
|
1461
1516
|
}
|
|
1517
|
+
/**
|
|
1518
|
+
*
|
|
1519
|
+
* @export
|
|
1520
|
+
* @interface VisitorPassedPayload
|
|
1521
|
+
*/
|
|
1522
|
+
export interface VisitorPassedPayload {
|
|
1523
|
+
/**
|
|
1524
|
+
*
|
|
1525
|
+
* @type {string}
|
|
1526
|
+
* @memberof VisitorPassedPayload
|
|
1527
|
+
*/
|
|
1528
|
+
'inviteID': string;
|
|
1529
|
+
/**
|
|
1530
|
+
*
|
|
1531
|
+
* @type {string}
|
|
1532
|
+
* @memberof VisitorPassedPayload
|
|
1533
|
+
*/
|
|
1534
|
+
'liftName': string;
|
|
1535
|
+
/**
|
|
1536
|
+
*
|
|
1537
|
+
* @type {string}
|
|
1538
|
+
* @memberof VisitorPassedPayload
|
|
1539
|
+
*/
|
|
1540
|
+
'floorName': string;
|
|
1541
|
+
/**
|
|
1542
|
+
*
|
|
1543
|
+
* @type {string}
|
|
1544
|
+
* @memberof VisitorPassedPayload
|
|
1545
|
+
*/
|
|
1546
|
+
'towerName': string;
|
|
1547
|
+
}
|
|
1462
1548
|
/**
|
|
1463
1549
|
*
|
|
1464
1550
|
* @export
|
|
@@ -1611,37 +1697,50 @@ export interface WebhookCreateBody {
|
|
|
1611
1697
|
* @type {string}
|
|
1612
1698
|
* @memberof WebhookCreateBody
|
|
1613
1699
|
*/
|
|
1614
|
-
'
|
|
1700
|
+
'action': string;
|
|
1615
1701
|
/**
|
|
1616
1702
|
*
|
|
1617
|
-
* @type {
|
|
1703
|
+
* @type {WebhookCreateBodyPayload}
|
|
1618
1704
|
* @memberof WebhookCreateBody
|
|
1619
1705
|
*/
|
|
1706
|
+
'payload': WebhookCreateBodyPayload;
|
|
1707
|
+
}
|
|
1708
|
+
/**
|
|
1709
|
+
*
|
|
1710
|
+
* @export
|
|
1711
|
+
* @interface WebhookCreateBodyPayload
|
|
1712
|
+
*/
|
|
1713
|
+
export interface WebhookCreateBodyPayload {
|
|
1714
|
+
/**
|
|
1715
|
+
*
|
|
1716
|
+
* @type {string}
|
|
1717
|
+
* @memberof WebhookCreateBodyPayload
|
|
1718
|
+
*/
|
|
1620
1719
|
'personID': string;
|
|
1621
1720
|
/**
|
|
1622
1721
|
*
|
|
1623
1722
|
* @type {string}
|
|
1624
|
-
* @memberof
|
|
1723
|
+
* @memberof WebhookCreateBodyPayload
|
|
1625
1724
|
*/
|
|
1626
1725
|
'liftName': string;
|
|
1627
1726
|
/**
|
|
1628
1727
|
*
|
|
1629
1728
|
* @type {string}
|
|
1630
|
-
* @memberof
|
|
1729
|
+
* @memberof WebhookCreateBodyPayload
|
|
1631
1730
|
*/
|
|
1632
1731
|
'floorName': string;
|
|
1633
1732
|
/**
|
|
1634
1733
|
*
|
|
1635
|
-
* @type {
|
|
1636
|
-
* @memberof
|
|
1734
|
+
* @type {string}
|
|
1735
|
+
* @memberof WebhookCreateBodyPayload
|
|
1637
1736
|
*/
|
|
1638
|
-
'
|
|
1737
|
+
'towerName': string;
|
|
1639
1738
|
/**
|
|
1640
1739
|
*
|
|
1641
1740
|
* @type {string}
|
|
1642
|
-
* @memberof
|
|
1741
|
+
* @memberof WebhookCreateBodyPayload
|
|
1643
1742
|
*/
|
|
1644
|
-
'
|
|
1743
|
+
'inviteID': string;
|
|
1645
1744
|
}
|
|
1646
1745
|
/**
|
|
1647
1746
|
*
|
|
@@ -1680,6 +1779,18 @@ export interface WrappedResponseCommandsCreateResponseData {
|
|
|
1680
1779
|
* @memberof WrappedResponseCommandsCreateResponseData
|
|
1681
1780
|
*/
|
|
1682
1781
|
'data'?: PrismaJsonValue | null;
|
|
1782
|
+
/**
|
|
1783
|
+
*
|
|
1784
|
+
* @type {string}
|
|
1785
|
+
* @memberof WrappedResponseCommandsCreateResponseData
|
|
1786
|
+
*/
|
|
1787
|
+
'status'?: string;
|
|
1788
|
+
/**
|
|
1789
|
+
*
|
|
1790
|
+
* @type {PrismaJsonValue}
|
|
1791
|
+
* @memberof WrappedResponseCommandsCreateResponseData
|
|
1792
|
+
*/
|
|
1793
|
+
'result'?: PrismaJsonValue | null;
|
|
1683
1794
|
/**
|
|
1684
1795
|
*
|
|
1685
1796
|
* @type {string}
|
|
@@ -2013,6 +2124,12 @@ export interface WrappedResponsePassConsentResponseData {
|
|
|
2013
2124
|
* @memberof WrappedResponsePassConsentResponseData
|
|
2014
2125
|
*/
|
|
2015
2126
|
'id': string;
|
|
2127
|
+
/**
|
|
2128
|
+
*
|
|
2129
|
+
* @type {string}
|
|
2130
|
+
* @memberof WrappedResponsePassConsentResponseData
|
|
2131
|
+
*/
|
|
2132
|
+
'status': WrappedResponsePassConsentResponseDataStatusEnum;
|
|
2016
2133
|
/**
|
|
2017
2134
|
*
|
|
2018
2135
|
* @type {string}
|
|
@@ -2055,12 +2172,6 @@ export interface WrappedResponsePassConsentResponseData {
|
|
|
2055
2172
|
* @memberof WrappedResponsePassConsentResponseData
|
|
2056
2173
|
*/
|
|
2057
2174
|
'issuer_id': string;
|
|
2058
|
-
/**
|
|
2059
|
-
*
|
|
2060
|
-
* @type {string}
|
|
2061
|
-
* @memberof WrappedResponsePassConsentResponseData
|
|
2062
|
-
*/
|
|
2063
|
-
'status': WrappedResponsePassConsentResponseDataStatusEnum;
|
|
2064
2175
|
/**
|
|
2065
2176
|
*
|
|
2066
2177
|
* @type {string}
|