@ray-js/api 1.7.69 → 1.7.71

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 (154) hide show
  1. package/@types/AIKit.d.ts +5509 -610
  2. package/@types/AIStreamKit.d.ts +2641 -0
  3. package/@types/AVideoKit.d.ts +1827 -0
  4. package/@types/BaseKit.d.ts +8682 -1893
  5. package/@types/BizKit.d.ts +6639 -1038
  6. package/@types/CategoryCommonBizKit.d.ts +1459 -0
  7. package/@types/CommunityKit.d.ts +154 -0
  8. package/@types/DeviceKit.d.ts +18475 -5662
  9. package/@types/GroupCITestKit.d.ts +651 -0
  10. package/@types/HealthKit.d.ts +2290 -357
  11. package/@types/HomeKit.d.ts +4068 -182
  12. package/@types/IPCKit.d.ts +4327 -1227
  13. package/@types/LightKit.d.ts +125 -0
  14. package/@types/MapKit.d.ts +1560 -204
  15. package/@types/MediaKit.d.ts +136 -16
  16. package/@types/MediaPlayerKit.d.ts +47 -0
  17. package/@types/MiniKit.d.ts +2976 -628
  18. package/@types/OutdoorKit.d.ts +1337 -24
  19. package/@types/P2PKit.d.ts +622 -103
  20. package/@types/PayKit.d.ts +115 -0
  21. package/@types/PlayNetKit.d.ts +3454 -1309
  22. package/@types/SweeperKit.d.ts +154 -0
  23. package/@types/ThirdAuthKit.d.ts +324 -0
  24. package/@types/ThirdPartyDeviceKit.d.ts +410 -0
  25. package/@types/WearKit.d.ts +10177 -375
  26. package/@types/gateway.d.ts +349 -61
  27. package/@types/health.d.ts +486 -304
  28. package/lib/AIKit-1.6.0.d.ts +265 -41
  29. package/lib/AIKit-1.6.0.js +374 -120
  30. package/lib/BaseKit-3.17.7.d.ts +704 -0
  31. package/lib/BaseKit-3.17.7.js +720 -1
  32. package/lib/BizKit-4.10.4.d.ts +336 -0
  33. package/lib/BizKit-4.10.4.js +342 -5
  34. package/lib/DeviceKit-4.13.1.d.ts +996 -0
  35. package/lib/DeviceKit-4.13.1.js +1247 -249
  36. package/lib/HealthKit-6.5.0.d.ts +210 -44
  37. package/lib/HealthKit-6.5.0.js +295 -128
  38. package/lib/HomeKit-3.1.4.d.ts +20 -6
  39. package/lib/HomeKit-3.1.4.js +29 -14
  40. package/lib/IPCKit-6.4.5.d.ts +375 -77
  41. package/lib/IPCKit-6.4.5.js +525 -228
  42. package/lib/MapKit-3.4.13.d.ts +70 -16
  43. package/lib/MapKit-3.4.13.js +98 -47
  44. package/lib/MediaKit-3.4.1.d.ts +5 -3
  45. package/lib/MediaKit-3.4.1.js +7 -6
  46. package/lib/MiniKit-3.14.1.d.ts +300 -0
  47. package/lib/MiniKit-3.14.1.js +302 -0
  48. package/lib/OutdoorKit-1.0.4.d.ts +55 -13
  49. package/lib/OutdoorKit-1.0.4.js +78 -35
  50. package/lib/P2PKit-2.0.3.d.ts +125 -27
  51. package/lib/P2PKit-2.0.3.js +175 -78
  52. package/lib/PlayNetKit-1.3.30.d.ts +290 -60
  53. package/lib/PlayNetKit-1.3.30.js +407 -176
  54. package/lib/WearKit-1.1.6.d.ts +125 -27
  55. package/lib/WearKit-1.1.6.js +176 -77
  56. package/lib/all-kits.d.ts +10 -10
  57. package/lib/all-kits.js +10 -10
  58. package/lib/cloud/core.d.ts +31 -1
  59. package/lib/cloud/core.js +31 -1
  60. package/lib/cloud/device.d.ts +155 -24
  61. package/lib/cloud/device.js +153 -22
  62. package/lib/cloud/gateway.d.ts +254 -0
  63. package/lib/cloud/gateway.js +269 -9
  64. package/lib/cloud/health.d.ts +1 -0
  65. package/lib/cloud/health.js +121 -0
  66. package/lib/cloud/interface.d.ts +222 -44
  67. package/lib/cloud/interface.js +15 -2
  68. package/lib/cloud/laser-clean/deleteCleaningRecord/index.d.ts +27 -0
  69. package/lib/cloud/laser-clean/deleteCleaningRecord/index.js +28 -0
  70. package/lib/cloud/laser-clean/deleteCleaningRecord/type.d.ts +7 -0
  71. package/lib/cloud/laser-clean/deleteCleaningRecord/type.js +1 -0
  72. package/lib/cloud/laser-clean/deleteGyroCleanRecord/index.d.ts +27 -0
  73. package/lib/cloud/laser-clean/deleteGyroCleanRecord/index.js +28 -0
  74. package/lib/cloud/laser-clean/deleteGyroCleanRecord/type.d.ts +7 -0
  75. package/lib/cloud/laser-clean/deleteGyroCleanRecord/type.js +1 -0
  76. package/lib/cloud/laser-clean/deleteMultipleMapFiles/index.d.ts +27 -0
  77. package/lib/cloud/laser-clean/deleteMultipleMapFiles/index.js +28 -0
  78. package/lib/cloud/laser-clean/deleteMultipleMapFiles/type.d.ts +7 -0
  79. package/lib/cloud/laser-clean/deleteMultipleMapFiles/type.js +1 -0
  80. package/lib/cloud/laser-clean/getCleaningRecords/index.d.ts +30 -0
  81. package/lib/cloud/laser-clean/getCleaningRecords/index.js +31 -0
  82. package/lib/cloud/laser-clean/getCleaningRecords/type.d.ts +39 -0
  83. package/lib/cloud/laser-clean/getCleaningRecords/type.js +1 -0
  84. package/lib/cloud/laser-clean/getGyroCleanRecordDetail/index.d.ts +29 -0
  85. package/lib/cloud/laser-clean/getGyroCleanRecordDetail/index.js +30 -0
  86. package/lib/cloud/laser-clean/getGyroCleanRecordDetail/type.d.ts +30 -0
  87. package/lib/cloud/laser-clean/getGyroCleanRecordDetail/type.js +1 -0
  88. package/lib/cloud/laser-clean/getGyroCleanRecords/index.d.ts +29 -0
  89. package/lib/cloud/laser-clean/getGyroCleanRecords/index.js +30 -0
  90. package/lib/cloud/laser-clean/getGyroCleanRecords/type.d.ts +35 -0
  91. package/lib/cloud/laser-clean/getGyroCleanRecords/type.js +1 -0
  92. package/lib/cloud/laser-clean/getGyroLatestCleanMap/index.d.ts +28 -0
  93. package/lib/cloud/laser-clean/getGyroLatestCleanMap/index.js +29 -0
  94. package/lib/cloud/laser-clean/getGyroLatestCleanMap/type.d.ts +28 -0
  95. package/lib/cloud/laser-clean/getGyroLatestCleanMap/type.js +1 -0
  96. package/lib/cloud/laser-clean/getMultipleMapFiles/index.d.ts +24 -0
  97. package/lib/cloud/laser-clean/getMultipleMapFiles/index.js +25 -0
  98. package/lib/cloud/laser-clean/getMultipleMapFiles/type.d.ts +29 -0
  99. package/lib/cloud/laser-clean/getMultipleMapFiles/type.js +1 -0
  100. package/lib/cloud/laser-clean/getSweeperStorageConfig/index.d.ts +24 -0
  101. package/lib/cloud/laser-clean/getSweeperStorageConfig/index.js +25 -0
  102. package/lib/cloud/laser-clean/getSweeperStorageConfig/type.d.ts +26 -0
  103. package/lib/cloud/laser-clean/getSweeperStorageConfig/type.js +1 -0
  104. package/lib/cloud/laser-clean/getVoiceList/index.d.ts +28 -0
  105. package/lib/cloud/laser-clean/getVoiceList/index.js +29 -0
  106. package/lib/cloud/laser-clean/getVoiceList/type.d.ts +48 -0
  107. package/lib/cloud/laser-clean/getVoiceList/type.js +1 -0
  108. package/lib/cloud/laser-clean/index.d.ts +1 -1
  109. package/lib/cloud/laser-clean/index.js +1 -1
  110. package/lib/cloud/laser-clean/map.d.ts +5 -7
  111. package/lib/cloud/laser-clean/map.js +5 -9
  112. package/lib/cloud/laser-clean/record.d.ts +5 -6
  113. package/lib/cloud/laser-clean/record.js +5 -7
  114. package/lib/cloud/laser-clean/renameHistoryMap/index.d.ts +28 -0
  115. package/lib/cloud/laser-clean/renameHistoryMap/index.js +29 -0
  116. package/lib/cloud/laser-clean/renameHistoryMap/type.d.ts +9 -0
  117. package/lib/cloud/laser-clean/renameHistoryMap/type.js +1 -0
  118. package/lib/cloud/laser-clean/voice.d.ts +1 -3
  119. package/lib/cloud/laser-clean/voice.js +1 -4
  120. package/lib/cloud/linkage.d.ts +271 -53
  121. package/lib/cloud/linkage.js +256 -51
  122. package/lib/cloud/remoteGroup.d.ts +37 -0
  123. package/lib/cloud/remoteGroup.js +37 -0
  124. package/lib/cloud/timer.d.ts +104 -26
  125. package/lib/cloud/timer.js +104 -26
  126. package/lib/getApp/index.thing.d.ts +47 -1
  127. package/lib/getApp/index.thing.js +40 -2
  128. package/lib/getBoundingClientRect/index.thing.d.ts +101 -1
  129. package/lib/getBoundingClientRect/index.thing.js +59 -0
  130. package/lib/getCurrentPages/index.thing.d.ts +40 -15
  131. package/lib/getCurrentPages/index.thing.js +36 -15
  132. package/lib/getCustomConfig/index.d.ts +5 -2
  133. package/lib/getCustomConfig/index.thing.d.ts +68 -2
  134. package/lib/getCustomConfig/index.thing.js +62 -0
  135. package/lib/getCustomConfig/index.wechat.d.ts +5 -2
  136. package/lib/getCustomConfig/type.d.ts +26 -15
  137. package/lib/getElementById/index.thing.d.ts +42 -1
  138. package/lib/getElementById/index.thing.js +40 -0
  139. package/lib/index.d.ts +3 -0
  140. package/lib/index.js +4 -2
  141. package/lib/nativeRouters/common.d.ts +8 -0
  142. package/lib/nativeRouters/device.d.ts +137 -5
  143. package/lib/nativeRouters/device.js +138 -6
  144. package/lib/nativeRouters/gw.d.ts +58 -8
  145. package/lib/nativeRouters/gw.js +57 -8
  146. package/lib/nativeRouters/outdoors.d.ts +16 -3
  147. package/lib/nativeRouters/outdoors.js +16 -3
  148. package/lib/nativeRouters/remoteGroup.d.ts +23 -0
  149. package/lib/nativeRouters/remoteGroup.js +23 -0
  150. package/lib/nativeRouters/root.d.ts +19 -0
  151. package/lib/nativeRouters/root.js +17 -0
  152. package/lib/openGroupCreate/index.d.ts +45 -0
  153. package/lib/openGroupCreate/index.js +32 -0
  154. package/package.json +5 -5
@@ -2,79 +2,381 @@
2
2
 
3
3
  import { createFactory } from './utils';
4
4
  const factory = createFactory('MiniKit');
5
+
6
+ /**
7
+ * @public
8
+ * @since @ray-js/ray 0.3.23
9
+ */
5
10
  export const nativeDisabled = factory('nativeDisabled');
11
+ /**
12
+ * @public
13
+ * @since @ray-js/ray 0.3.23
14
+ */
6
15
  export const nativeInovke = factory('nativeInovke');
16
+ /**
17
+ * @public
18
+ * @since @ray-js/ray 0.5.9
19
+ */
7
20
  export const getPermissionConfig = factory('getPermissionConfig');
21
+ /**
22
+ * @public
23
+ * @since @ray-js/ray 0.5.9
24
+ */
8
25
  export const getPermissionConfigSync = factory('getPermissionConfigSync');
26
+ /**
27
+ * @public
28
+ * @since @ray-js/ray 0.5.9
29
+ */
9
30
  export const openSetting = factory('openSetting');
31
+ /**
32
+ * @public
33
+ * @since @ray-js/ray 0.5.9
34
+ */
10
35
  export const changeDebugMode = factory('changeDebugMode');
36
+ /**
37
+ * @public
38
+ * @since @ray-js/ray 1.4.49
39
+ */
11
40
  export const openHelpCenter = factory('openHelpCenter'); // 已废弃TTT能力封装有问题使用ty.router封装的api,见nativeRouters
41
+ /**
42
+ * @public
43
+ * @since @ray-js/ray 0.3.23
44
+ */
12
45
  export const showTabBarRedDot = factory('showTabBarRedDot');
46
+ /**
47
+ * @public
48
+ * @since @ray-js/ray 0.3.23
49
+ */
13
50
  export const showTabBar = factory('showTabBar');
51
+ /**
52
+ * @public
53
+ * @since @ray-js/ray 0.3.23
54
+ */
14
55
  export const setTabBarStyle = factory('setTabBarStyle');
56
+ /**
57
+ * @public
58
+ * @since @ray-js/ray 0.3.23
59
+ */
15
60
  export const setTabBarItem = factory('setTabBarItem');
61
+ /**
62
+ * @public
63
+ * @since @ray-js/ray 0.3.23
64
+ */
16
65
  export const setTabBarBadge = factory('setTabBarBadge');
66
+ /**
67
+ * @public
68
+ * @since @ray-js/ray 0.3.23
69
+ */
17
70
  export const removeTabBarBadge = factory('removeTabBarBadge');
71
+ /**
72
+ * @public
73
+ * @since @ray-js/ray 0.3.23
74
+ */
18
75
  export const hideTabBarRedDot = factory('hideTabBarRedDot');
76
+ /**
77
+ * @public
78
+ * @since @ray-js/ray 0.3.23
79
+ */
19
80
  export const hideTabBar = factory('hideTabBar');
81
+ /**
82
+ * @public
83
+ * @since @ray-js/ray 0.5.9
84
+ */
20
85
  export const apiRequestByHighway = factory('apiRequestByHighway');
86
+ /**
87
+ * @public
88
+ * @since @ray-js/ray 0.3.23
89
+ */
21
90
  export const navigateBackMiniProgram = factory('navigateBackMiniProgram');
91
+ /**
92
+ * @public
93
+ * @since @ray-js/ray 0.3.23
94
+ */
22
95
  export const exitMiniProgram = factory('exitMiniProgram');
96
+ /**
97
+ * @public
98
+ * @since @ray-js/ray 0.3.23
99
+ */
23
100
  export const getLaunchOptions = factory('getLaunchOptions');
101
+ /**
102
+ * @public
103
+ * @since @ray-js/ray 0.3.23
104
+ */
24
105
  export const getLaunchOptionsSync = factory('getLaunchOptionsSync');
106
+ /**
107
+ * @public
108
+ * @since @ray-js/ray 0.3.23
109
+ */
25
110
  export const getEnterOptions = factory('getEnterOptions');
111
+ /**
112
+ * @public
113
+ * @since @ray-js/ray 0.3.23
114
+ */
26
115
  export const getEnterOptionsSync = factory('getEnterOptionsSync');
116
+ /**
117
+ * @public
118
+ * @since @ray-js/ray 0.3.23
119
+ */
27
120
  export const setBoardTitle = factory('setBoardTitle');
121
+ /**
122
+ * @public
123
+ * @since @ray-js/ray 0.3.23
124
+ */
28
125
  export const setBoardTitleSync = factory('setBoardTitleSync');
126
+ /**
127
+ * @public
128
+ * @since @ray-js/ray 0.3.23
129
+ */
29
130
  export const getMenuButtonBoundingClientRect = factory('getMenuButtonBoundingClientRect');
131
+ /**
132
+ * @public
133
+ * @since @ray-js/ray 0.3.23
134
+ */
30
135
  export const getMenuButtonBoundingClientRectSync = factory('getMenuButtonBoundingClientRectSync');
136
+ /**
137
+ * @public
138
+ * @since @ray-js/ray 0.3.23
139
+ */
31
140
  export const preDownloadMiniApp = factory('preDownloadMiniApp');
141
+ /**
142
+ * @public
143
+ * @since @ray-js/ray 0.3.23
144
+ */
32
145
  export const login = factory('login');
146
+ /**
147
+ * @public
148
+ * @since @ray-js/ray 0.3.23
149
+ */
33
150
  export const setPageOrientation = factory('setPageOrientation');
151
+ /**
152
+ * @public
153
+ * @since @ray-js/ray 0.5.9
154
+ */
34
155
  export const hideMenuButton = factory('hideMenuButton');
156
+ /**
157
+ * @public
158
+ * @since @ray-js/ray 0.5.9
159
+ */
35
160
  export const showMenuButton = factory('showMenuButton');
161
+ /**
162
+ * @public
163
+ * @since @ray-js/ray 0.5.9
164
+ */
36
165
  export const showStatusBar = factory('showStatusBar');
166
+ /**
167
+ * @public
168
+ * @since @ray-js/ray 0.5.9
169
+ */
37
170
  export const hideStatusBar = factory('hideStatusBar');
171
+ /**
172
+ * @public
173
+ * @since @ray-js/ray 0.5.9
174
+ */
38
175
  export const exitMiniWidget = factory('exitMiniWidget');
176
+ /**
177
+ * @public
178
+ * @since @ray-js/ray 0.5.9
179
+ */
39
180
  export const canOpenURL = factory('canOpenURL');
181
+ /**
182
+ * @public
183
+ * @since @ray-js/ray 0.5.9
184
+ */
40
185
  export const canOpenURLSync = factory('canOpenURLSync');
186
+ /**
187
+ * @public
188
+ * @since @ray-js/ray 0.5.9
189
+ */
41
190
  export const openURL = factory('openURL');
191
+ /**
192
+ * @public
193
+ * @since @ray-js/ray 0.3.23
194
+ */
42
195
  export const showNavigationBarLoading = factory('showNavigationBarLoading');
196
+ /**
197
+ * @public
198
+ * @since @ray-js/ray 0.3.23
199
+ */
43
200
  export const setNavigationBarTitle = factory('setNavigationBarTitle');
201
+ /**
202
+ * @public
203
+ * @since @ray-js/ray 0.3.23
204
+ */
44
205
  export const setNavigationBarColor = factory('setNavigationBarColor');
206
+ /**
207
+ * @public
208
+ * @since @ray-js/ray 0.3.23
209
+ */
45
210
  export const hideNavigationBarLoading = factory('hideNavigationBarLoading');
211
+ /**
212
+ * @public
213
+ * @since @ray-js/ray 0.3.23
214
+ */
46
215
  export const hideHomeButton = factory('hideHomeButton');
216
+ /**
217
+ * @public
218
+ * @since @ray-js/ray 0.3.23
219
+ */
47
220
  export const navigateTo = factory('navigateTo');
221
+ /**
222
+ * @public
223
+ * @since @ray-js/ray 0.3.23
224
+ */
48
225
  export const navigateBack = factory('navigateBack');
226
+ /**
227
+ * @public
228
+ * @since @ray-js/ray 0.3.23
229
+ */
49
230
  export const redirectTo = factory('redirectTo');
231
+ /**
232
+ * @public
233
+ * @since @ray-js/ray 0.3.23
234
+ */
50
235
  export const reLaunch = factory('reLaunch');
236
+ /**
237
+ * @public
238
+ * @since @ray-js/ray 0.3.23
239
+ */
51
240
  export const switchTab = factory('switchTab');
241
+ /**
242
+ * @public
243
+ * @since @ray-js/ray 0.3.23
244
+ */
52
245
  export const extApiCanIUse = factory('extApiCanIUse');
246
+ /**
247
+ * @public
248
+ * @since @ray-js/ray 0.3.23
249
+ */
53
250
  export const extApiCanIUseSync = factory('extApiCanIUseSync');
251
+ /**
252
+ * @public
253
+ * @since @ray-js/ray 0.3.23
254
+ */
54
255
  export const extApiInvoke = factory('extApiInvoke');
256
+ /**
257
+ * @public
258
+ * @since @ray-js/ray 0.3.23
259
+ */
55
260
  export const extApiInvokeSync = factory('extApiInvokeSync');
261
+ /**
262
+ * @public
263
+ * @since @ray-js/ray 0.3.23
264
+ */
56
265
  export const startPullDownRefresh = factory('startPullDownRefresh');
266
+ /**
267
+ * @public
268
+ * @since @ray-js/ray 0.3.23
269
+ */
57
270
  export const stopPullDownRefresh = factory('stopPullDownRefresh');
271
+ /**
272
+ * @public
273
+ * @since @ray-js/ray 0.3.23
274
+ */
58
275
  export const onNativeEvent = factory('onNativeEvent');
276
+ /**
277
+ * @public
278
+ * @since @ray-js/ray 0.9.0
279
+ */
59
280
  export const offNativeEvent = factory('offNativeEvent');
60
281
  // 3.1.0 新增 - 4.8.0 容器
282
+ /**
283
+ * @public
284
+ * @since @ray-js/ray 0.9.0
285
+ */
61
286
  export const getAccountInfo = factory('getAccountInfo');
287
+ /**
288
+ * @public
289
+ * @since @ray-js/ray 0.9.0
290
+ */
62
291
  export const getAccountInfoSync = factory('getAccountInfoSync');
292
+ /**
293
+ * @public
294
+ * @since @ray-js/ray 0.9.0
295
+ */
63
296
  export const hideBoardTitleIcon = factory('hideBoardTitleIcon');
297
+ /**
298
+ * @public
299
+ * @since @ray-js/ray 0.9.0
300
+ */
64
301
  export const hideBoardTitleIconSync = factory('hideBoardTitleIconSync');
302
+ /**
303
+ * @public
304
+ * @since @ray-js/ray 0.9.0
305
+ */
65
306
  export const setBoardIcon = factory('setBoardIcon');
307
+ /**
308
+ * @public
309
+ * @since @ray-js/ray 0.9.0
310
+ */
66
311
  export const setBoardIconSync = factory('setBoardIconSync');
312
+ /**
313
+ * @public
314
+ * @since @ray-js/ray 0.9.0
315
+ */
67
316
  export const showBoardTitleIcon = factory('showBoardTitleIcon');
317
+ /**
318
+ * @public
319
+ * @since @ray-js/ray 1.4.57
320
+ */
68
321
  export const showBoardTitleIconSync = factory('showBoardTitleIconSync');
322
+
323
+ /**
324
+ * @public
325
+ * @since @ray-js/ray 1.5.30
326
+ */
69
327
  export const getMiniAppConfig = factory('getMiniAppConfig');
328
+ /**
329
+ * @public
330
+ * @since @ray-js/ray 1.5.30
331
+ */
70
332
  export const getMiniAppConfigSync = factory('getMiniAppConfigSync');
333
+ /**
334
+ * @public
335
+ * @since @ray-js/ray 1.5.30
336
+ */
71
337
  export const showBoard = factory('showBoard');
338
+ /**
339
+ * @public
340
+ * @since @ray-js/ray 1.5.30
341
+ */
72
342
  export const resetBoardMenus = factory('resetBoardMenus');
343
+ /**
344
+ * @public
345
+ * @since @ray-js/ray 1.5.30
346
+ */
73
347
  export const resetSystemMenus = factory('resetSystemMenus');
348
+ /**
349
+ * @public
350
+ * @since @ray-js/ray 1.5.30
351
+ */
74
352
  export const showRedBot = factory('showRedBot');
353
+ /**
354
+ * @public
355
+ * @since @ray-js/ray 1.5.30
356
+ */
75
357
  export const hiddenRedBot = factory('hiddenRedBot');
358
+ /**
359
+ * @public
360
+ * @since @ray-js/ray 1.5.30
361
+ */
76
362
  export const hideRenderLoading = factory('hideRenderLoading');
363
+ /**
364
+ * @public
365
+ * @since @ray-js/ray 1.5.30
366
+ */
77
367
  export const setBackgroundImage = factory('setBackgroundImage');
368
+ /**
369
+ * @public
370
+ * @since @ray-js/ray 1.5.30
371
+ */
78
372
  export const widgetRemove = factory('widgetRemove');
373
+ /**
374
+ * @public
375
+ * @since @ray-js/ray 1.6.9
376
+ */
79
377
  export const createNativeEventManager = factory('createNativeEventManager');
378
+ /**
379
+ * @public
380
+ * @since @ray-js/ray 1.6.9
381
+ */
80
382
  export const setBackgroundColor = factory('setBackgroundColor');
@@ -1,14 +1,56 @@
1
1
  /// <reference path="../@types/OutdoorKit.d.ts" />
2
- export declare const outdoor: {
3
- bindSlaveDevice: typeof ty.outdoor.bindSlaveDevice;
4
- currentDevice: typeof ty.outdoor.currentDevice;
5
- getBoundDeviceIdList: typeof ty.outdoor.getBoundDeviceIdList;
6
- getTTSData: typeof ty.outdoor.getTTSData;
7
- getUnbindDeviceIdList: typeof ty.outdoor.getUnbindDeviceIdList;
8
- isCallPhoneGranted: typeof ty.outdoor.isCallPhoneGranted;
9
- requestCallPhonePermission: typeof ty.outdoor.requestCallPhonePermission;
10
- saveDialViewTag: typeof ty.outdoor.saveDialViewTag;
11
- saveTTSData: typeof ty.outdoor.saveTTSData;
12
- switchDevice: typeof ty.outdoor.switchDevice;
13
- unbindDevice: typeof ty.outdoor.unbindDevice;
14
- };
2
+ /**
3
+ * @public
4
+ * @since @ray-js/ray 1.4.40
5
+ */
6
+ export declare const bindSlaveDevice: typeof ty.outdoor.bindSlaveDevice;
7
+ /**
8
+ * @public
9
+ * @since @ray-js/ray 1.4.40
10
+ */
11
+ export declare const currentDevice: typeof ty.outdoor.currentDevice;
12
+ /**
13
+ * @public
14
+ * @since @ray-js/ray 1.4.40
15
+ */
16
+ export declare const getBoundDeviceIdList: typeof ty.outdoor.getBoundDeviceIdList;
17
+ /**
18
+ * @public
19
+ * @since @ray-js/ray 1.4.40
20
+ */
21
+ export declare const getTTSData: typeof ty.outdoor.getTTSData;
22
+ /**
23
+ * @public
24
+ * @since @ray-js/ray 1.4.40
25
+ */
26
+ export declare const getUnbindDeviceIdList: typeof ty.outdoor.getUnbindDeviceIdList;
27
+ /**
28
+ * @public
29
+ * @since @ray-js/ray 1.4.40
30
+ */
31
+ export declare const isCallPhoneGranted: typeof ty.outdoor.isCallPhoneGranted;
32
+ /**
33
+ * @public
34
+ * @since @ray-js/ray 1.4.40
35
+ */
36
+ export declare const requestCallPhonePermission: typeof ty.outdoor.requestCallPhonePermission;
37
+ /**
38
+ * @public
39
+ * @since @ray-js/ray 1.4.40
40
+ */
41
+ export declare const saveDialViewTag: typeof ty.outdoor.saveDialViewTag;
42
+ /**
43
+ * @public
44
+ * @since @ray-js/ray 1.4.40
45
+ */
46
+ export declare const saveTTSData: typeof ty.outdoor.saveTTSData;
47
+ /**
48
+ * @public
49
+ * @since @ray-js/ray 1.4.40
50
+ */
51
+ export declare const switchDevice: typeof ty.outdoor.switchDevice;
52
+ /**
53
+ * @public
54
+ * @since @ray-js/ray 1.4.40
55
+ */
56
+ export declare const unbindDevice: typeof ty.outdoor.unbindDevice;
@@ -2,38 +2,81 @@
2
2
 
3
3
  import { createFactory } from './utils';
4
4
  const factory = createFactory('OutdoorKit');
5
- export const outdoor = {
6
- bindSlaveDevice: factory('bindSlaveDevice', {
7
- "namespace": "outdoor"
8
- }),
9
- currentDevice: factory('currentDevice', {
10
- "namespace": "outdoor"
11
- }),
12
- getBoundDeviceIdList: factory('getBoundDeviceIdList', {
13
- "namespace": "outdoor"
14
- }),
15
- getTTSData: factory('getTTSData', {
16
- "namespace": "outdoor"
17
- }),
18
- getUnbindDeviceIdList: factory('getUnbindDeviceIdList', {
19
- "namespace": "outdoor"
20
- }),
21
- isCallPhoneGranted: factory('isCallPhoneGranted', {
22
- "namespace": "outdoor"
23
- }),
24
- requestCallPhonePermission: factory('requestCallPhonePermission', {
25
- "namespace": "outdoor"
26
- }),
27
- saveDialViewTag: factory('saveDialViewTag', {
28
- "namespace": "outdoor"
29
- }),
30
- saveTTSData: factory('saveTTSData', {
31
- "namespace": "outdoor"
32
- }),
33
- switchDevice: factory('switchDevice', {
34
- "namespace": "outdoor"
35
- }),
36
- unbindDevice: factory('unbindDevice', {
37
- "namespace": "outdoor"
38
- })
39
- };
5
+
6
+ /**
7
+ * @public
8
+ * @since @ray-js/ray 1.4.40
9
+ */
10
+ export const bindSlaveDevice = factory('bindSlaveDevice', {
11
+ namespace: 'outdoor'
12
+ });
13
+ /**
14
+ * @public
15
+ * @since @ray-js/ray 1.4.40
16
+ */
17
+ export const currentDevice = factory('currentDevice', {
18
+ namespace: 'outdoor'
19
+ });
20
+ /**
21
+ * @public
22
+ * @since @ray-js/ray 1.4.40
23
+ */
24
+ export const getBoundDeviceIdList = factory('getBoundDeviceIdList', {
25
+ namespace: 'outdoor'
26
+ });
27
+ /**
28
+ * @public
29
+ * @since @ray-js/ray 1.4.40
30
+ */
31
+ export const getTTSData = factory('getTTSData', {
32
+ namespace: 'outdoor'
33
+ });
34
+ /**
35
+ * @public
36
+ * @since @ray-js/ray 1.4.40
37
+ */
38
+ export const getUnbindDeviceIdList = factory('getUnbindDeviceIdList', {
39
+ namespace: 'outdoor'
40
+ });
41
+ /**
42
+ * @public
43
+ * @since @ray-js/ray 1.4.40
44
+ */
45
+ export const isCallPhoneGranted = factory('isCallPhoneGranted', {
46
+ namespace: 'outdoor'
47
+ });
48
+ /**
49
+ * @public
50
+ * @since @ray-js/ray 1.4.40
51
+ */
52
+ export const requestCallPhonePermission = factory('requestCallPhonePermission', {
53
+ namespace: 'outdoor'
54
+ });
55
+ /**
56
+ * @public
57
+ * @since @ray-js/ray 1.4.40
58
+ */
59
+ export const saveDialViewTag = factory('saveDialViewTag', {
60
+ namespace: 'outdoor'
61
+ });
62
+ /**
63
+ * @public
64
+ * @since @ray-js/ray 1.4.40
65
+ */
66
+ export const saveTTSData = factory('saveTTSData', {
67
+ namespace: 'outdoor'
68
+ });
69
+ /**
70
+ * @public
71
+ * @since @ray-js/ray 1.4.40
72
+ */
73
+ export const switchDevice = factory('switchDevice', {
74
+ namespace: 'outdoor'
75
+ });
76
+ /**
77
+ * @public
78
+ * @since @ray-js/ray 1.4.40
79
+ */
80
+ export const unbindDevice = factory('unbindDevice', {
81
+ namespace: 'outdoor'
82
+ });