@ray-js/api 1.7.8 → 1.7.10

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.
Files changed (58) hide show
  1. package/@types/IPCKit.d.ts +15 -39
  2. package/@types/api-cloud.d.ts +12 -24
  3. package/lib/{AIKit-1.0.0.d.ts → AIKit-1.2.0.d.ts} +2 -0
  4. package/lib/{AIKit-1.0.0.js → AIKit-1.2.0.js} +3 -0
  5. package/lib/BaseKit-3.17.7.d.ts +1 -0
  6. package/lib/BizKit-4.10.4.d.ts +1 -0
  7. package/lib/DeviceKit-4.13.1.d.ts +1 -0
  8. package/lib/HealthKit-6.5.0.d.ts +1 -0
  9. package/lib/HomeKit-3.1.4.d.ts +1 -0
  10. package/lib/{IPCKit-6.2.3.d.ts → IPCKit-6.4.5.d.ts} +4 -0
  11. package/lib/{IPCKit-6.2.3.js → IPCKit-6.4.5.js} +9 -0
  12. package/lib/MapKit-3.4.13.d.ts +1 -0
  13. package/lib/MediaKit-3.4.1.d.ts +1 -0
  14. package/lib/MiniKit-3.14.1.d.ts +1 -0
  15. package/lib/OutdoorKit-1.0.4.d.ts +1 -0
  16. package/lib/P2PKit-2.0.3.d.ts +1 -0
  17. package/lib/PlayNetKit-1.3.30.d.ts +1 -0
  18. package/lib/all-kits.d.ts +2 -2
  19. package/lib/all-kits.js +2 -2
  20. package/lib/cloud/doorlock/offline-pwd.d.ts +1 -1
  21. package/lib/cloud/energy.d.ts +1 -0
  22. package/lib/cloud/gateway.d.ts +1 -0
  23. package/lib/cloud/highlights.d.ts +117 -0
  24. package/lib/cloud/highlights.js +265 -0
  25. package/lib/cloud/index.d.ts +1 -0
  26. package/lib/cloud/index.js +1 -0
  27. package/lib/cloud/interface.d.ts +478 -0
  28. package/lib/cloud/interface.js +47 -1
  29. package/lib/cloud/laser-clean/index.d.ts +1 -1
  30. package/lib/cloud/laser-clean/map.d.ts +1 -0
  31. package/lib/cloud/laser-clean/record.d.ts +1 -0
  32. package/lib/cloud/laser-clean/voice.d.ts +1 -0
  33. package/lib/hideTabBar/index.d.ts +1 -0
  34. package/lib/index.d.ts +1 -0
  35. package/lib/lifecycles/offAppEvent/index.d.ts +1 -0
  36. package/lib/lifecycles/offAppHide/index.d.ts +1 -0
  37. package/lib/lifecycles/offAppShow/index.d.ts +1 -0
  38. package/lib/lifecycles/offError/index.d.ts +1 -0
  39. package/lib/lifecycles/offThemeChange/index.d.ts +1 -0
  40. package/lib/lifecycles/offWindowResize/index.d.ts +1 -0
  41. package/lib/lifecycles/onAppEvent/index.d.ts +1 -0
  42. package/lib/lifecycles/onAppHide/index.d.ts +1 -0
  43. package/lib/lifecycles/onAppShow/index.d.ts +1 -0
  44. package/lib/lifecycles/onError/index.d.ts +1 -0
  45. package/lib/lifecycles/onPageNotFound/index.d.ts +1 -0
  46. package/lib/lifecycles/onThemeChange/index.d.ts +1 -0
  47. package/lib/lifecycles/onWindowResize/index.d.ts +1 -0
  48. package/lib/navigateBack/index.d.ts +1 -0
  49. package/lib/navigateTo/index.d.ts +1 -0
  50. package/lib/reLaunch/index.d.ts +1 -0
  51. package/lib/redirectTo/index.d.ts +1 -0
  52. package/lib/requestCloud/index.d.ts +1 -0
  53. package/lib/setNavigationBarColor/index.d.ts +1 -0
  54. package/lib/setNavigationBarTitle/index.d.ts +1 -0
  55. package/lib/showTabBar/index.d.ts +1 -0
  56. package/lib/switchTab/index.d.ts +1 -0
  57. package/lib/viewAPI.d.ts +1 -0
  58. package/package.json +5 -5
@@ -1421,4 +1421,482 @@ export type IGetZigbeeLocalGroupDeviceListResponse = Array<{
1421
1421
  */
1422
1422
  gwOnline: boolean;
1423
1423
  }>;
1424
+ export type QueryGetMessageList = {
1425
+ sourceIds: string[];
1426
+ limit: number;
1427
+ offset: number;
1428
+ };
1429
+ export interface VisionBoxMessage {
1430
+ msgTypeContent: string;
1431
+ msgContent: string;
1432
+ time: number;
1433
+ msgTitle: string;
1434
+ dateTime: string;
1435
+ attachPics: string;
1436
+ id: number;
1437
+ idStr: string;
1438
+ homeId: number;
1439
+ msgSrcId: string;
1440
+ businessKey: string;
1441
+ }
1442
+ export type GetMessageListRes = {
1443
+ pageNo: number;
1444
+ datas: VisionBoxMessage[];
1445
+ totalCount: number;
1446
+ class: string;
1447
+ };
1448
+ export type Options = {
1449
+ toastError?: boolean;
1450
+ transError?: boolean;
1451
+ };
1452
+ export type GetAiVisualMessageKey = {
1453
+ businessNo: string;
1454
+ deviceId: string;
1455
+ time: number;
1456
+ homeId: string;
1457
+ };
1458
+ export type GetAiVisualMessageKeyRes = {
1459
+ businessNo: string;
1460
+ businessKey: string;
1461
+ };
1462
+ export type QueryGetAiVisualReportList = {
1463
+ gid: string;
1464
+ visionBoxId: string;
1465
+ offset: number;
1466
+ limit: number;
1467
+ };
1468
+ export declare const enum ReportType {
1469
+ DAILY = 1,
1470
+ WEEKLY = 2
1471
+ }
1472
+ export interface EventInfo {
1473
+ eventOrderValue: number;
1474
+ eventCode: string;
1475
+ eventName: string;
1476
+ eventNum: number;
1477
+ eventAverageNumPerDay?: number;
1478
+ }
1479
+ export interface relatedFileList {
1480
+ bucket: string;
1481
+ filePath: string;
1482
+ signUrl: string;
1483
+ uuid: string;
1484
+ }
1485
+ export interface VisionBoxReport {
1486
+ visionBoxId: string;
1487
+ modelName: string;
1488
+ reportId: string;
1489
+ reportType: ReportType;
1490
+ reportTitleName: string;
1491
+ reportContent?: {
1492
+ totalEventNum: number;
1493
+ eventInfoList: EventInfo[];
1494
+ };
1495
+ summaryAndSuggestion: string;
1496
+ detailTitle: string;
1497
+ totalNumTitle: string;
1498
+ reportState: number;
1499
+ reportStateName: string;
1500
+ relatedFileList?: relatedFileList[];
1501
+ reportKey?: string;
1502
+ }
1503
+ export type DeleteAiVisualMessageList = {
1504
+ msgType: number;
1505
+ ids?: string;
1506
+ msgSrcIds?: string;
1507
+ };
1508
+ export type GetAiVisualBoxInfoParams = {
1509
+ stockId: string;
1510
+ visionBoxId?: string;
1511
+ gid: string;
1512
+ };
1513
+ export declare const enum VisionEventType {
1514
+ PRESET = 0,
1515
+ CUSTOM = 1
1516
+ }
1517
+ export declare const enum SceneType {
1518
+ security = 0,
1519
+ album = 1
1520
+ }
1521
+ export interface VisionBoxEvent {
1522
+ eventCode: string;
1523
+ eventValue: string;
1524
+ eventType: VisionEventType;
1525
+ }
1526
+ export interface AiVisualBox {
1527
+ visionBoxId: string;
1528
+ visionBoxName: string;
1529
+ serviceStockId: string;
1530
+ visionBoxState: 0 | 1;
1531
+ generateDescState: 0 | 1;
1532
+ reportTypeList: ReportType[];
1533
+ reportLangType: string;
1534
+ visionBoxEventList: VisionBoxEvent[];
1535
+ sceneType: SceneType;
1536
+ }
1537
+ export interface SaveAiVisualBoxInfoParams {
1538
+ gid: string;
1539
+ stockId: string;
1540
+ visionBoxId?: string;
1541
+ visionBoxInfoContent: Omit<AiVisualBox, 'visionBoxId' | 'serviceStockId'>;
1542
+ }
1543
+ export type AiVisualNeedCopyQueryParams = {
1544
+ stockId: string;
1545
+ gid: string;
1546
+ };
1547
+ export type AiVisualNeedCopyQueryResult = {
1548
+ scenesType: SceneType;
1549
+ visionBoxId?: number;
1550
+ needCopyEvent: boolean;
1551
+ };
1552
+ export type QueryGetDeviceDetailsById = {
1553
+ homeId: string;
1554
+ uuid: string;
1555
+ categoryCode: string;
1556
+ };
1557
+ export declare const enum PlanStatus {
1558
+ USING = 1
1559
+ }
1560
+ export declare const enum DeviceBindStatus {
1561
+ BINDING = 1,// 已绑定
1562
+ NOT_SUPPORT = 2,// 不支持
1563
+ NOT_BIND = 3
1564
+ }
1565
+ export interface DeviceBaseInfo {
1566
+ icon: string;
1567
+ name: string;
1568
+ ownerId: string;
1569
+ uuid: string;
1570
+ roomName: string;
1571
+ deviceId: string;
1572
+ isBind: DeviceBindStatus;
1573
+ status: boolean;
1574
+ aiSmartFreeDev: boolean;
1575
+ }
1576
+ export interface PlanInfoDto {
1577
+ commodityCode: string;
1578
+ commodityName: string;
1579
+ env: number;
1580
+ instanceId: string;
1581
+ isSubscribe: 0 | 1;
1582
+ orderNo: number;
1583
+ planStatus: PlanStatus;
1584
+ serviceBeginTime: number;
1585
+ serviceEndTime: number;
1586
+ stockId: string;
1587
+ isCanceled: 0 | 1;
1588
+ isAdditional: 0 | 1;
1589
+ }
1590
+ export interface DeviceInfo extends DeviceBaseInfo {
1591
+ productId: string;
1592
+ planList?: PlanInfoDto[];
1593
+ isUseFreeService: 0 | 1;
1594
+ isUseCommonUserTrail: 0 | 1;
1595
+ isUseCommonDeviceTrail: 0 | 1;
1596
+ isTried?: 0 | 1;
1597
+ hasServiceOrder?: boolean;
1598
+ }
1599
+ export interface DeviceDetails extends DeviceInfo {
1600
+ haveAvailableService: 0 | 1;
1601
+ activeStockIdList: string[];
1602
+ }
1603
+ export type QueryCameraListDto = {
1604
+ homeId: string;
1605
+ stockId?: string;
1606
+ pids?: string;
1607
+ /** 0 设备级,1 账号级 */
1608
+ ownerType?: 1 | 0;
1609
+ serviceCode?: string;
1610
+ commodityCode?: string;
1611
+ categoryCode: string;
1612
+ };
1613
+ export type BindDeviceInfo = DeviceInfo & {
1614
+ isBindCurrentService: boolean;
1615
+ };
1616
+ export type ResBindDeviceDto = {
1617
+ totalDevices: number;
1618
+ bindDeviceNum: number;
1619
+ list: BindDeviceInfo[];
1620
+ };
1621
+ export type QueryBindDeviceDto = {
1622
+ homeId: string;
1623
+ stockId: string;
1624
+ bindUuidList?: string[];
1625
+ unBindUuidList?: string[];
1626
+ };
1627
+ export type ServiceBusinessType = 'aiSmartFreeEvent' | 'aiSmartFreeEventImage2Text';
1628
+ export type CustomEventCheckParams = {
1629
+ eventValue: string;
1630
+ devId: string;
1631
+ serviceBusinessType: ServiceBusinessType;
1632
+ };
1633
+ export type CustomEventCheckResult = {
1634
+ available: boolean;
1635
+ recommend?: string[];
1636
+ };
1637
+ export type GetSmartEventSwitchStateParams = {
1638
+ devId: string;
1639
+ serviceBusinessType: ServiceBusinessType;
1640
+ };
1641
+ export type GetSmartEventSwitchStateResult = {
1642
+ hadService: boolean;
1643
+ switchState: 0 | 1;
1644
+ extContent: string;
1645
+ };
1646
+ export type UpdateSwitchStateParams = {
1647
+ devId: string;
1648
+ switchState: 0 | 1;
1649
+ serviceBusinessType: ServiceBusinessType;
1650
+ extContent: string;
1651
+ };
1652
+ export type GetDeviceConfigParams = {
1653
+ devId: string;
1654
+ serviceBusinessType: ServiceBusinessType;
1655
+ };
1656
+ export declare const enum DeviceServiceConfigState {
1657
+ Delete = 0,
1658
+ Available = 1,
1659
+ Unavailable = 2
1660
+ }
1661
+ export interface DeviceServiceConfigItemDto {
1662
+ configId: number;
1663
+ configCode: string;
1664
+ configType: VisionEventType;
1665
+ configValue: string;
1666
+ configCodeIcon?: string;
1667
+ configState: DeviceServiceConfigState;
1668
+ }
1669
+ export type GetDeviceConfigResult = {
1670
+ hadService: boolean;
1671
+ switchState: 0 | 1;
1672
+ configItemList: DeviceServiceConfigItemDto[];
1673
+ };
1674
+ export type UpdateDeviceConfigParams = {
1675
+ devId: string;
1676
+ configId?: DeviceServiceConfigItemDto['configId'];
1677
+ configCode: DeviceServiceConfigItemDto['configCode'];
1678
+ configValue?: DeviceServiceConfigItemDto['configValue'];
1679
+ configType: DeviceServiceConfigItemDto['configType'];
1680
+ enableState: DeviceServiceConfigItemDto['configState'];
1681
+ serviceBusinessType: ServiceBusinessType;
1682
+ };
1683
+ export type QueryServiceDetailDto = {
1684
+ homeId: string;
1685
+ stockId: string;
1686
+ };
1687
+ export declare const enum StockStatus {
1688
+ NO_ENABLE = 1,// 未启用
1689
+ ENABLED = 2
1690
+ }
1691
+ export interface BaseServiceInfo {
1692
+ /**
1693
+ * 封面
1694
+ */
1695
+ cover: string;
1696
+ /**
1697
+ * 套餐名
1698
+ */
1699
+ commodityName: string;
1700
+ /**
1701
+ * 购买库存 ID
1702
+ */
1703
+ stockId: string;
1704
+ /**
1705
+ * 套餐编码
1706
+ */
1707
+ commodityCode: string;
1708
+ /**
1709
+ * 服务周期
1710
+ */
1711
+ duration: number;
1712
+ /**
1713
+ * 服务周期的字符串表示
1714
+ */
1715
+ durationDesc: string;
1716
+ /**
1717
+ * 服务开始时间
1718
+ */
1719
+ serviceBeginTime?: number;
1720
+ /**
1721
+ * 服务到期时间
1722
+ */
1723
+ serviceEndTime?: number;
1724
+ /**
1725
+ * 是否为订阅商品
1726
+ */
1727
+ isSubscribe: 0 | 1;
1728
+ /**
1729
+ * 是否未来支付
1730
+ */
1731
+ isFuturePayments: 0 | 1;
1732
+ /**
1733
+ * 是否已退订
1734
+ * 0 未退订; 1 已退订
1735
+ */
1736
+ isCanceled?: 0 | 1;
1737
+ /**
1738
+ * 启用状态
1739
+ * 1 未启用 2 启用中
1740
+ */
1741
+ stockStatus: StockStatus;
1742
+ /**
1743
+ * 是否随机服务
1744
+ */
1745
+ isAdditional?: 1 | 0;
1746
+ }
1747
+ export interface ServiceDetailDto extends BaseServiceInfo {
1748
+ /**
1749
+ * 订阅 ID
1750
+ */
1751
+ subscribeId?: string;
1752
+ /**
1753
+ * 未来支付计划 ID
1754
+ */
1755
+ planId?: string;
1756
+ /**
1757
+ * 云存储已绑定设备列表
1758
+ */
1759
+ instanceList?: DeviceInfo[];
1760
+ /**
1761
+ * 是否支持退订
1762
+ * 0 不支持; 1 支持
1763
+ */
1764
+ supportCancel?: 0 | 1;
1765
+ /**
1766
+ * 服务对应的商品的上架状态
1767
+ */
1768
+ isPublish: 0 | 1;
1769
+ /**
1770
+ * 根机服务绑定的 uuid
1771
+ */
1772
+ additionalUuid: string;
1773
+ /**
1774
+ * 是否允许智能魔方能力的服务
1775
+ */
1776
+ hasAigcProtectService?: boolean;
1777
+ /**
1778
+ * 服务大类
1779
+ */
1780
+ categoryCode: string;
1781
+ cloudService?: {
1782
+ /**
1783
+ * 绑定设备数量
1784
+ */
1785
+ bindDeviceNum: number;
1786
+ /**
1787
+ * 总数量
1788
+ */
1789
+ totalDevices: number;
1790
+ };
1791
+ }
1792
+ export interface IAlbumVideoDateCountReq {
1793
+ stockId: number;
1794
+ gid: string;
1795
+ timeAlbumId: number;
1796
+ type?: string;
1797
+ }
1798
+ interface IFileUrl {
1799
+ fileUrl: string;
1800
+ fileName?: string;
1801
+ }
1802
+ export interface IAlbumVideoDateCountRes {
1803
+ type: string;
1804
+ description: string;
1805
+ startTime: number;
1806
+ endTime: number;
1807
+ coverInfo: IFileUrl;
1808
+ }
1809
+ export interface IAlbumVideoFileListRes {
1810
+ total: number;
1811
+ list: IAlbumVideoFileList[];
1812
+ }
1813
+ export interface IAlbumVideoFileList {
1814
+ id: number;
1815
+ captureTime?: number;
1816
+ type?: 0 | 1 | 2;
1817
+ coverInfo?: IFileUrl;
1818
+ mediaInfo?: IFileUrl;
1819
+ }
1820
+ export interface IAlbumVideoFileListReq {
1821
+ stockId: number;
1822
+ gid: string;
1823
+ timeAlbumId: number;
1824
+ beginTime?: number;
1825
+ endTime?: number;
1826
+ pageNum?: number;
1827
+ pageSize?: number;
1828
+ queryIdFlag?: boolean;
1829
+ }
1830
+ export interface IAlbumFileDeleteReq {
1831
+ stockId: number;
1832
+ gid: string;
1833
+ timeAlbumId: number;
1834
+ albumRecordIds: string;
1835
+ }
1836
+ export interface IAlbumFileDeleteRes {
1837
+ result: boolean;
1838
+ }
1839
+ export interface TimeAlbumSettingDto {
1840
+ id: string;
1841
+ albumName: string;
1842
+ enableStatus: 0 | 1;
1843
+ timedCaptureConfig: string[];
1844
+ smartCaptureConfig: VisionBoxEvent[];
1845
+ }
1846
+ export type AlbumSettingSaveReq = {
1847
+ stockId: string;
1848
+ gid: string;
1849
+ } & Omit<TimeAlbumSettingDto, 'id'>;
1850
+ export type AlbumSettingEditReq = {
1851
+ albumId: TimeAlbumSettingDto['id'];
1852
+ stockId: string;
1853
+ gid: string;
1854
+ } & Omit<TimeAlbumSettingDto, 'id'>;
1855
+ export type GetAlbumSettingReq = {
1856
+ stockId: string;
1857
+ gid: string;
1858
+ };
1859
+ export type QueryGetAiVisualList = {
1860
+ gid: string;
1861
+ };
1862
+ export interface VisionBoxDto {
1863
+ visionBoxId: string;
1864
+ visionBoxName: string;
1865
+ gmtCreate: string;
1866
+ serviceStockId: string;
1867
+ serviceName: string;
1868
+ enableState: number;
1869
+ expiredTime: number;
1870
+ scenesType: SceneType;
1871
+ }
1872
+ export declare const enum BusinessType {
1873
+ aigcProtect = "aigcProtect",
1874
+ aiTimePhotoAlbumDetect = "aiTimePhotoAlbumDetect",
1875
+ aiSmartFreeEvent = "aiSmartFreeEvent"
1876
+ }
1877
+ export type GetAiVisualPresetEventParams = {
1878
+ gid: string;
1879
+ businessType: BusinessType;
1880
+ };
1881
+ export interface PresetEvent {
1882
+ configCode: string;
1883
+ configCodeIcon: string;
1884
+ configCodeDesc: string;
1885
+ }
1886
+ export type CustomVisionEventCheckParams = {
1887
+ eventValue: string;
1888
+ gid: string;
1889
+ stockId: string;
1890
+ };
1891
+ export type CustomVisionEventCheckRet = {
1892
+ available: boolean;
1893
+ recommend?: string[];
1894
+ };
1895
+ export interface IAlbumVideoFileDetailReq {
1896
+ stockId: number;
1897
+ gid: string;
1898
+ timeAlbumId: number;
1899
+ timeAlbumRecordId: number;
1900
+ }
1901
+ export type IAlbumVideoFileDetailRes = IAlbumVideoFileList;
1424
1902
  export {};
@@ -20,4 +20,50 @@ var EntityType = /*#__PURE__*/function (EntityType) {
20
20
  EntityType[EntityType["RULE"] = 2] = "RULE"; // 关联实体为联动规则
21
21
  return EntityType;
22
22
  }(EntityType || {});
23
- export {};
23
+ export let ReportType = /*#__PURE__*/function (ReportType) {
24
+ ReportType[ReportType["DAILY"] = 1] = "DAILY";
25
+ ReportType[ReportType["WEEKLY"] = 2] = "WEEKLY";
26
+ return ReportType;
27
+ }({});
28
+ export let VisionEventType = /*#__PURE__*/function (VisionEventType) {
29
+ VisionEventType[VisionEventType["PRESET"] = 0] = "PRESET";
30
+ VisionEventType[VisionEventType["CUSTOM"] = 1] = "CUSTOM";
31
+ return VisionEventType;
32
+ }({});
33
+ export let SceneType = /*#__PURE__*/function (SceneType) {
34
+ SceneType[SceneType["security"] = 0] = "security";
35
+ SceneType[SceneType["album"] = 1] = "album";
36
+ return SceneType;
37
+ }({});
38
+ export let PlanStatus = /*#__PURE__*/function (PlanStatus) {
39
+ PlanStatus[PlanStatus["USING"] = 1] = "USING"; // 使用中
40
+ return PlanStatus;
41
+ }({});
42
+ export let DeviceBindStatus = /*#__PURE__*/function (DeviceBindStatus) {
43
+ DeviceBindStatus[DeviceBindStatus["BINDING"] = 1] = "BINDING";
44
+ // 已绑定
45
+ DeviceBindStatus[DeviceBindStatus["NOT_SUPPORT"] = 2] = "NOT_SUPPORT";
46
+ // 不支持
47
+ DeviceBindStatus[DeviceBindStatus["NOT_BIND"] = 3] = "NOT_BIND"; // 未绑定
48
+ return DeviceBindStatus;
49
+ }({});
50
+ export let DeviceServiceConfigState = /*#__PURE__*/function (DeviceServiceConfigState) {
51
+ DeviceServiceConfigState[DeviceServiceConfigState["Delete"] = 0] = "Delete";
52
+ DeviceServiceConfigState[DeviceServiceConfigState["Available"] = 1] = "Available";
53
+ DeviceServiceConfigState[DeviceServiceConfigState["Unavailable"] = 2] = "Unavailable";
54
+ return DeviceServiceConfigState;
55
+ }({});
56
+ export let StockStatus = /*#__PURE__*/function (StockStatus) {
57
+ StockStatus[StockStatus["NO_ENABLE"] = 1] = "NO_ENABLE";
58
+ // 未启用
59
+ StockStatus[StockStatus["ENABLED"] = 2] = "ENABLED"; // 已启用
60
+ return StockStatus;
61
+ }({});
62
+ export let BusinessType = /*#__PURE__*/function (BusinessType) {
63
+ BusinessType["aigcProtect"] = "aigcProtect";
64
+ BusinessType["aiTimePhotoAlbumDetect"] = "aiTimePhotoAlbumDetect";
65
+ BusinessType["aiSmartFreeEvent"] = "aiSmartFreeEvent";
66
+ return BusinessType;
67
+ }({});
68
+
69
+ // 预制检测事件
@@ -1,3 +1,3 @@
1
- export { getCleaningRecords, deleteCleaningRecord, getGyroCleanRecords, getGyroCleanRecordDetail, } from './record';
1
+ export { getCleaningRecords, deleteCleaningRecord, getGyroCleanRecords, getGyroCleanRecordDetail } from './record';
2
2
  export { getVoiceList } from './voice';
3
3
  export { getMultipleMapFiles, getSweeperStorageConfig, deleteMultipleMapFiles, getGyroLatestCleanMap, renameHistoryMap, } from './map';
@@ -1,3 +1,4 @@
1
+ /// <reference path="../../../@types/api-cloud.d.ts" />
1
2
  declare const getMultipleMapFiles: typeof ty.getMultipleMapFiles;
2
3
  declare const getSweeperStorageConfig: typeof ty.getSweeperStorageConfig;
3
4
  declare const deleteMultipleMapFiles: typeof ty.deleteMultipleMapFiles;
@@ -1,3 +1,4 @@
1
+ /// <reference path="../../../@types/api-cloud.d.ts" />
1
2
  declare const getCleaningRecords: typeof ty.getCleaningRecords;
2
3
  declare const deleteCleaningRecord: typeof ty.deleteCleaningRecord;
3
4
  declare const getGyroCleanRecords: typeof ty.getGyroCleanRecords;
@@ -1,2 +1,3 @@
1
+ /// <reference path="../../../@types/api-cloud.d.ts" />
1
2
  declare const getVoiceList: typeof ty.getVoiceList;
2
3
  export { getVoiceList };
@@ -1,3 +1,4 @@
1
+ /// <reference path="../../@types/api.d.ts" />
1
2
  declare const _default: (arg?: {
2
3
  animation?: boolean;
3
4
  } & {
package/lib/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ /// <reference path="../@types/api.d.ts" />
1
2
  export * from './constants';
2
3
  export * from './all-kits';
3
4
  export declare const health: {
@@ -1,2 +1,3 @@
1
+ /// <reference path="../../@types/api.d.ts" />
1
2
  declare const offAppEvent: typeof ty.offAppEvent;
2
3
  export default offAppEvent;
@@ -1,2 +1,3 @@
1
+ /// <reference path="../../@types/api.d.ts" />
1
2
  declare const offAppHide: typeof ty.offAppHide;
2
3
  export default offAppHide;
@@ -1,2 +1,3 @@
1
+ /// <reference path="../../@types/api.d.ts" />
1
2
  declare const offAppShow: typeof ty.offAppShow;
2
3
  export default offAppShow;
@@ -1,2 +1,3 @@
1
+ /// <reference path="../../@types/api.d.ts" />
1
2
  declare const offError: typeof ty.offError;
2
3
  export default offError;
@@ -1,2 +1,3 @@
1
+ /// <reference path="../../@types/api.d.ts" />
1
2
  declare const offThemeChange: typeof ty.offThemeChange;
2
3
  export default offThemeChange;
@@ -1,2 +1,3 @@
1
+ /// <reference path="../../@types/api.d.ts" />
1
2
  declare const offWindowResize: typeof ty.offWindowResize;
2
3
  export default offWindowResize;
@@ -1,2 +1,3 @@
1
+ /// <reference path="../../@types/api.d.ts" />
1
2
  declare const onAppEvent: typeof ty.onAppEvent;
2
3
  export default onAppEvent;
@@ -1,2 +1,3 @@
1
+ /// <reference path="../../@types/api.d.ts" />
1
2
  declare const onAppHide: typeof ty.onAppHide;
2
3
  export default onAppHide;
@@ -1,2 +1,3 @@
1
+ /// <reference path="../../@types/api.d.ts" />
1
2
  declare const onAppShow: typeof ty.onAppShow;
2
3
  export default onAppShow;
@@ -1,2 +1,3 @@
1
+ /// <reference path="../../@types/api.d.ts" />
1
2
  declare const onError: typeof ty.onError;
2
3
  export default onError;
@@ -1,2 +1,3 @@
1
+ /// <reference path="../../@types/api.d.ts" />
1
2
  declare const onPageNotFound: typeof ty.onPageNotFound;
2
3
  export default onPageNotFound;
@@ -1,2 +1,3 @@
1
+ /// <reference path="../../@types/api.d.ts" />
1
2
  declare const onThemeChange: typeof ty.onThemeChange;
2
3
  export default onThemeChange;
@@ -1,2 +1,3 @@
1
+ /// <reference path="../../@types/api.d.ts" />
1
2
  declare const onWindowResize: typeof ty.onWindowResize;
2
3
  export default onWindowResize;
@@ -1,2 +1,3 @@
1
+ /// <reference path="../../@types/api.d.ts" />
1
2
  declare const _default: typeof ty.navigateBack;
2
3
  export default _default;
@@ -1,2 +1,3 @@
1
+ /// <reference path="../../@types/api.d.ts" />
1
2
  declare const navigateTo: typeof ty.navigateTo;
2
3
  export default navigateTo;
@@ -1,2 +1,3 @@
1
+ /// <reference path="../../@types/api.d.ts" />
1
2
  declare const reLaunch: typeof ty.reLaunch;
2
3
  export default reLaunch;
@@ -1,2 +1,3 @@
1
+ /// <reference path="../../@types/api.d.ts" />
1
2
  declare const redirectTo: typeof ty.redirectTo;
2
3
  export default redirectTo;
@@ -1,2 +1,3 @@
1
+ /// <reference path="../../@types/api.d.ts" />
1
2
  declare const requestCloud: typeof ty.requestCloud;
2
3
  export default requestCloud;
@@ -1,2 +1,3 @@
1
+ /// <reference path="../../@types/api.d.ts" />
1
2
  declare const _default: typeof ty.setNavigationBarColor;
2
3
  export default _default;
@@ -1,2 +1,3 @@
1
+ /// <reference path="../../@types/api.d.ts" />
1
2
  declare const _default: typeof ty.setNavigationBarTitle;
2
3
  export default _default;
@@ -1,3 +1,4 @@
1
+ /// <reference path="../../@types/api.d.ts" />
1
2
  declare const _default: (arg?: {
2
3
  animation?: boolean;
3
4
  } & {
@@ -1,2 +1,3 @@
1
+ /// <reference path="../../@types/api.d.ts" />
1
2
  declare const _default: typeof ty.switchTab;
2
3
  export default _default;