@ray-js/api 1.7.79 → 1.7.81

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 (57) hide show
  1. package/@types/AIKit.d.ts +1140 -1009
  2. package/@types/AVideoKit.d.ts +26 -101
  3. package/@types/BaseKit.d.ts +234 -210
  4. package/@types/BizKit.d.ts +271 -296
  5. package/@types/DeviceKit.d.ts +57 -88
  6. package/@types/GroupCITestKit.d.ts +1 -3
  7. package/@types/HealthKit.d.ts +273 -230
  8. package/@types/HomeKit.d.ts +1062 -891
  9. package/@types/IPCKit.d.ts +23 -50
  10. package/@types/LightKit.d.ts +2 -2
  11. package/@types/MapKit.d.ts +592 -381
  12. package/@types/MediaPlayerKit.d.ts +4 -28
  13. package/@types/MiniKit.d.ts +198 -375
  14. package/@types/P2PKit.d.ts +139 -205
  15. package/@types/PayKit.d.ts +10 -79
  16. package/@types/SweeperKit.d.ts +10 -10
  17. package/@types/ThirdAuthKit.d.ts +28 -252
  18. package/@types/WearKit.d.ts +630 -1593
  19. package/@types/api-extend.d.ts +0 -63
  20. package/lib/AIKit-1.6.0.d.ts +732 -35
  21. package/lib/AIKit-1.6.0.js +732 -51
  22. package/lib/BaseKit-3.17.7.d.ts +0 -214
  23. package/lib/BaseKit-3.17.7.js +1 -227
  24. package/lib/DeviceKit-4.13.1.d.ts +3666 -0
  25. package/lib/DeviceKit-4.13.1.js +3666 -0
  26. package/lib/HealthKit-6.5.0.d.ts +603 -0
  27. package/lib/HealthKit-6.5.0.js +603 -0
  28. package/lib/HomeKit-3.1.4.d.ts +4 -0
  29. package/lib/HomeKit-3.1.4.js +4 -0
  30. package/lib/IPCKit-6.4.5.d.ts +0 -1
  31. package/lib/IPCKit-6.4.5.js +0 -1
  32. package/lib/MapKit-3.4.13.d.ts +251 -0
  33. package/lib/MapKit-3.4.13.js +251 -0
  34. package/lib/MediaKit-3.4.1.d.ts +16 -0
  35. package/lib/MediaKit-3.4.1.js +16 -0
  36. package/lib/PlayNetKit-1.3.30.d.ts +930 -0
  37. package/lib/PlayNetKit-1.3.30.js +930 -0
  38. package/lib/cloud/alarm.d.ts +38 -5
  39. package/lib/cloud/alarm.js +38 -5
  40. package/lib/cloud/device.d.ts +42 -6
  41. package/lib/cloud/device.js +42 -6
  42. package/lib/cloud/gateway.d.ts +16 -0
  43. package/lib/cloud/gateway.js +16 -0
  44. package/lib/cloud/health.d.ts +1 -0
  45. package/lib/cloud/health.js +272 -0
  46. package/lib/cloud/interface.d.ts +161 -0
  47. package/lib/cloud/interface.js +18 -0
  48. package/lib/cloud/statistic.d.ts +112 -26
  49. package/lib/cloud/statistic.js +112 -26
  50. package/lib/cloud/timer.d.ts +2 -4
  51. package/lib/nativeRouters/outdoors.d.ts +2 -0
  52. package/lib/nativeRouters/outdoors.js +2 -0
  53. package/lib/nativeRouters/remoteGroup.d.ts +2 -0
  54. package/lib/nativeRouters/remoteGroup.js +2 -0
  55. package/lib/panel/publishDps.js +1 -1
  56. package/package.json +5 -5
  57. package/LICENSE.md +0 -9
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * IPCKit
3
3
  *
4
- * @version 7.7.12
4
+ * @version 7.7.10
5
5
  */
6
6
  declare namespace ty.ipc {
7
7
  /**
@@ -110,7 +110,7 @@ declare namespace ty.ipc {
110
110
  }): void
111
111
 
112
112
  /**
113
- * 是否支持摄像头预置点配置路由
113
+ * whether supports camera preset point config router
114
114
  * @public
115
115
  * @since IPCKit 7.1.0
116
116
  * @platform iOS Android
@@ -569,10 +569,7 @@ declare namespace ty.ipc {
569
569
  complete?: () => void
570
570
  /** 接口调用成功的回调函数 */
571
571
  success?: (params: {
572
- /**
573
- * 下载文件路径
574
- * @since IPCKit 5.15.3
575
- */
572
+ /** @since IPCKit 5.15.3 */
576
573
  path: string
577
574
  }) => void
578
575
  /** 接口调用失败的回调函数 */
@@ -877,7 +874,7 @@ declare namespace ty.ipc {
877
874
  */
878
875
  identifier: string
879
876
  /**
880
- * 主题样式,0 为默认主题
877
+ * download url
881
878
  * @since IPCKit 6.1.2
882
879
  * @defaultValue 0
883
880
  */
@@ -940,7 +937,7 @@ declare namespace ty.ipc {
940
937
  }): void
941
938
 
942
939
  /**
943
- * 截图保存到沙盒
940
+ * snapshoot to sandbox
944
941
  * @public
945
942
  * @since IPCKit 6.1.2
946
943
  * @platform iOS Android
@@ -998,7 +995,7 @@ declare namespace ty.ipc {
998
995
  }): void
999
996
 
1000
997
  /**
1001
- * 上传 AI 特征图片
998
+ * upload AI feature image
1002
999
  * @public
1003
1000
  * @since IPCKit 6.1.2
1004
1001
  * @platform iOS Android
@@ -1076,7 +1073,7 @@ declare namespace ty.ipc {
1076
1073
  }): void
1077
1074
 
1078
1075
  /**
1079
- * 从沙盒中删除截图
1076
+ * remove snapshoot from sandbox
1080
1077
  * @public
1081
1078
  * @since IPCKit 6.1.2
1082
1079
  * @platform iOS Android
@@ -1130,7 +1127,7 @@ declare namespace ty.ipc {
1130
1127
  */
1131
1128
  deviceId: string
1132
1129
  /**
1133
- * 文件名
1130
+ * fileName
1134
1131
  * @since IPCKit 6.1.2
1135
1132
  */
1136
1133
  fileName: string
@@ -1138,10 +1135,7 @@ declare namespace ty.ipc {
1138
1135
  complete?: () => void
1139
1136
  /** 接口调用成功的回调函数 */
1140
1137
  success?: (params: {
1141
- /**
1142
- * 文件路径
1143
- * @since IPCKit 6.1.2
1144
- */
1138
+ /** @since IPCKit 6.1.2 */
1145
1139
  path: string
1146
1140
  }) => void
1147
1141
  /** 接口调用失败的回调函数 */
@@ -2544,7 +2538,7 @@ declare namespace ty.ipc {
2544
2538
  }): void
2545
2539
 
2546
2540
  /**
2547
- * 允许显示设备权限弹窗
2541
+ * allow show device persionssion alert
2548
2542
  * @public
2549
2543
  * @since IPCKit 7.5.0
2550
2544
  * @platform iOS Android
@@ -2986,7 +2980,7 @@ declare namespace ty.ipc {
2986
2980
  /**
2987
2981
  * 创建视图完成回调
2988
2982
  * @public
2989
- * @since IPCKit 6.3.11
2983
+ * @since IPCKit 6.3.1
2990
2984
  * @platform iOS Android
2991
2985
  */
2992
2986
  export function onCreateViewSuccess(
@@ -2996,7 +2990,7 @@ declare namespace ty.ipc {
2996
2990
  /**
2997
2991
  * 创建视图完成回调
2998
2992
  * @public
2999
- * @since IPCKit 6.3.11
2993
+ * @since IPCKit 6.3.1
3000
2994
  * @platform iOS Android
3001
2995
  */
3002
2996
  export function offCreateViewSuccess(
@@ -3321,11 +3315,11 @@ declare namespace ty.ipc {
3321
3315
  signedUrl: string
3322
3316
  }
3323
3317
 
3324
- /** @since IPCKit 6.3.11 */
3318
+ /** @since IPCKit 6.3.1 */
3325
3319
  export interface MessageCreateViewModel {
3326
3320
  /**
3327
3321
  * 创建成功
3328
- * @since IPCKit 6.3.11
3322
+ * @since IPCKit 6.3.1
3329
3323
  */
3330
3324
  success: boolean
3331
3325
  }
@@ -3574,10 +3568,7 @@ declare namespace ty.ipc {
3574
3568
 
3575
3569
  /** @since IPCKit 5.16.0 */
3576
3570
  export interface CloudPlayBackDownloadSuccessModel {
3577
- /**
3578
- * 下载文件路径
3579
- * @since IPCKit 5.16.0
3580
- */
3571
+ /** @since IPCKit 5.16.0 */
3581
3572
  path: string
3582
3573
  }
3583
3574
 
@@ -3727,7 +3718,7 @@ declare namespace ty.ipc {
3727
3718
  */
3728
3719
  identifier: string
3729
3720
  /**
3730
- * 主题样式,0 为默认主题
3721
+ * download url
3731
3722
  * @since IPCKit 6.1.2
3732
3723
  * @defaultValue 0
3733
3724
  */
@@ -3882,7 +3873,7 @@ declare namespace ty.ipc {
3882
3873
  */
3883
3874
  deviceId: string
3884
3875
  /**
3885
- * 文件名
3876
+ * fileName
3886
3877
  * @since IPCKit 6.1.2
3887
3878
  */
3888
3879
  fileName: string
@@ -3890,10 +3881,7 @@ declare namespace ty.ipc {
3890
3881
 
3891
3882
  /** @since IPCKit 6.1.2 */
3892
3883
  export interface StringCallbackClass {
3893
- /**
3894
- * 文件路径
3895
- * @since IPCKit 6.1.2
3896
- */
3884
+ /** @since IPCKit 6.1.2 */
3897
3885
  path: string
3898
3886
  }
3899
3887
 
@@ -4556,10 +4544,7 @@ declare namespace ty.ipc {
4556
4544
  deviceId: string
4557
4545
  }
4558
4546
 
4559
- /**
4560
- * 路由跳转参数
4561
- * @since IPCKit 1.0.0
4562
- */
4547
+ /** @since IPCKit 1.0.0 */
4563
4548
  export interface RouterParamsBean {
4564
4549
  /**
4565
4550
  * Router url: "thingSmart://" + 路由名 + "?" + 参数名1 + "=" + 参数1 + "&" + 参数名2 + "=" +参数2 +...
@@ -4569,10 +4554,7 @@ declare namespace ty.ipc {
4569
4554
  url: string
4570
4555
  }
4571
4556
 
4572
- /**
4573
- * 设备参数
4574
- * @since IPCKit 1.0.0
4575
- */
4557
+ /** @since IPCKit 1.0.0 */
4576
4558
  export interface DeviceParamsBean {
4577
4559
  /**
4578
4560
  * 设备ID
@@ -4581,10 +4563,7 @@ declare namespace ty.ipc {
4581
4563
  devId: string
4582
4564
  }
4583
4565
 
4584
- /**
4585
- * 门铃呼叫配置参数
4586
- * @since IPCKit 1.3.0
4587
- */
4566
+ /** @since IPCKit 1.3.0 */
4588
4567
  export interface DoorbellConfigParams {
4589
4568
  /**
4590
4569
  * 是否忽略门铃呼叫
@@ -4600,10 +4579,7 @@ declare namespace ty.ipc {
4600
4579
  doorbellRingTimeOut?: number
4601
4580
  }
4602
4581
 
4603
- /**
4604
- * 门铃呼叫操作参数
4605
- * @since IPCKit 1.3.0
4606
- */
4582
+ /** @since IPCKit 1.3.0 */
4607
4583
  export interface DoorbellCallParams {
4608
4584
  /**
4609
4585
  * 门铃呼叫消息id
@@ -4612,10 +4588,7 @@ declare namespace ty.ipc {
4612
4588
  messageId: string
4613
4589
  }
4614
4590
 
4615
- /**
4616
- * 门铃呼叫事件响应
4617
- * @since IPCKit 1.3.0
4618
- */
4591
+ /** @since IPCKit 1.3.0 */
4619
4592
  export interface DoorbellCallEventResponse {
4620
4593
  /**
4621
4594
  * 返回结果
@@ -1,11 +1,11 @@
1
1
  /**
2
2
  * LightKit
3
3
  *
4
- * @version 1.0.18
4
+ * @version 1.0.17
5
5
  */
6
6
  declare namespace ty.light {
7
7
  /**
8
- * 设置蓝牙设备是否支持手机直连开关状态切换,传入 true 表示开启支持,false 表示关闭支持。
8
+ * 蓝牙设备是否支持手机直连开关状态切换
9
9
  * @public
10
10
  * @since LightKit 1.0.0
11
11
  * @platform iOS Android