@ray-js/api 1.7.81 → 1.7.82

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.
@@ -0,0 +1,599 @@
1
+ /// <reference path="../@types/WearKit.d.ts" />
2
+
3
+ import { createFactory } from './utils';
4
+ const factory = createFactory('WearKit');
5
+ /**
6
+ * @public
7
+ * @since @ray-js/ray 1.7.14
8
+ */
9
+ export const pauseRecordTransfer = factory('pauseRecordTransfer', {
10
+ namespace: 'wear'
11
+ });
12
+ /**
13
+ * @public
14
+ * @since @ray-js/ray 1.7.14
15
+ */
16
+ export const resumeRecordTransfer = factory('resumeRecordTransfer', {
17
+ namespace: 'wear'
18
+ });
19
+ /**
20
+ * @public
21
+ * @since @ray-js/ray 1.7.14
22
+ */
23
+ export const stopRecordTransfer = factory('stopRecordTransfer', {
24
+ namespace: 'wear'
25
+ });
26
+ /**
27
+ * @public
28
+ * @since @ray-js/ray 1.7.14
29
+ */
30
+ export const recordTransferTask = factory('recordTransferTask', {
31
+ namespace: 'wear'
32
+ });
33
+ /**
34
+ * @public
35
+ * @since @ray-js/ray 1.7.14
36
+ */
37
+ export const getRecordTransferRealTimeResult = factory('getRecordTransferRealTimeResult', {
38
+ namespace: 'wear'
39
+ });
40
+ /**
41
+ * @public
42
+ * @since @ray-js/ray 1.7.14
43
+ */
44
+ export const getRecordTransferResultList = factory('getRecordTransferResultList', {
45
+ namespace: 'wear'
46
+ });
47
+ /**
48
+ * @public
49
+ * @since @ray-js/ray 1.7.14
50
+ */
51
+ export const getRecordTransferResultDetail = factory('getRecordTransferResultDetail', {
52
+ namespace: 'wear'
53
+ });
54
+ /**
55
+ * @public
56
+ * @since @ray-js/ray 1.7.14
57
+ */
58
+ export const updateRecordTransferResult = factory('updateRecordTransferResult', {
59
+ namespace: 'wear'
60
+ });
61
+ /**
62
+ * @public
63
+ * @since @ray-js/ray 1.7.14
64
+ */
65
+ export const removeFileList = factory('removeFileList', {
66
+ namespace: 'wear'
67
+ });
68
+ /**
69
+ * @public
70
+ * @since @ray-js/ray 1.7.14
71
+ */
72
+ export const saveRecordTransferRecognizeResult = factory('saveRecordTransferRecognizeResult', {
73
+ namespace: 'wear'
74
+ });
75
+ /**
76
+ * @public
77
+ * @since @ray-js/ray 1.7.14
78
+ */
79
+ export const saveRecordTransferSummaryResult = factory('saveRecordTransferSummaryResult', {
80
+ namespace: 'wear'
81
+ });
82
+ /**
83
+ * @public
84
+ * @since @ray-js/ray 1.7.14
85
+ */
86
+ export const saveRecordTransferRealTimeRecognizeResult = factory('saveRecordTransferRealTimeRecognizeResult', {
87
+ namespace: 'wear'
88
+ });
89
+ /**
90
+ * @public
91
+ * @since @ray-js/ray 1.7.14
92
+ */
93
+ export const getRecordTransferProcessStatus = factory('getRecordTransferProcessStatus', {
94
+ namespace: 'wear'
95
+ });
96
+ /**
97
+ * @public
98
+ * @since @ray-js/ray 1.7.14
99
+ */
100
+ export const getRecordTransferRecognizeResult = factory('getRecordTransferRecognizeResult', {
101
+ namespace: 'wear'
102
+ });
103
+ /**
104
+ * @public
105
+ * @since @ray-js/ray 1.7.14
106
+ */
107
+ export const processRecordTransferResult = factory('processRecordTransferResult', {
108
+ namespace: 'wear'
109
+ });
110
+ /**
111
+ * @public
112
+ * @since @ray-js/ray 1.7.14
113
+ */
114
+ export const getRecordTransferSummaryResult = factory('getRecordTransferSummaryResult', {
115
+ namespace: 'wear'
116
+ });
117
+ /**
118
+ * @public
119
+ * @since @ray-js/ray 1.7.14
120
+ */
121
+ export const onRecordTransferRealTimeRecognizeStatusUpdateEvent = factory('onRecordTransferRealTimeRecognizeStatusUpdateEvent', {
122
+ namespace: 'wear'
123
+ });
124
+ /**
125
+ * @public
126
+ * @since @ray-js/ray 1.7.14
127
+ */
128
+ export const onRecordTransferAmplitudeUpdateEvent = factory('onRecordTransferAmplitudeUpdateEvent', {
129
+ namespace: 'wear'
130
+ });
131
+ /**
132
+ * @public
133
+ * @since @ray-js/ray 1.7.14
134
+ */
135
+ export const onRecordTransferStatusUpdateEvent = factory('onRecordTransferStatusUpdateEvent', {
136
+ namespace: 'wear'
137
+ });
138
+ /**
139
+ * @public
140
+ * @since @ray-js/ray 1.7.14
141
+ */
142
+ export const onRecordTransferFinishEvent = factory('onRecordTransferFinishEvent', {
143
+ namespace: 'wear'
144
+ });
145
+ /**
146
+ * @public
147
+ * @since @ray-js/ray 1.7.14
148
+ */
149
+ export const offRecordTransferRealTimeRecognizeStatusUpdateEvent = factory('offRecordTransferRealTimeRecognizeStatusUpdateEvent', {
150
+ namespace: 'wear'
151
+ });
152
+ /**
153
+ * @public
154
+ * @since @ray-js/ray 1.7.14
155
+ */
156
+ export const offRecordTransferAmplitudeUpdateEvent = factory('offRecordTransferAmplitudeUpdateEvent', {
157
+ namespace: 'wear'
158
+ });
159
+ /**
160
+ * @public
161
+ * @since @ray-js/ray 1.7.14
162
+ */
163
+ export const offRecordTransferStatusUpdateEvent = factory('offRecordTransferStatusUpdateEvent', {
164
+ namespace: 'wear'
165
+ });
166
+ /**
167
+ * @public
168
+ * @since @ray-js/ray 1.7.14
169
+ */
170
+ export const offRecordTransferFinishEvent = factory('offRecordTransferFinishEvent', {
171
+ namespace: 'wear'
172
+ });
173
+ /**
174
+ * @public
175
+ * @since @ray-js/ray 1.7.82
176
+ */
177
+ export const startAudioRecording = factory('startAudioRecording', {
178
+ namespace: 'wear'
179
+ });
180
+ /**
181
+ * @public
182
+ * @since @ray-js/ray 1.7.82
183
+ */
184
+ export const updateParams = factory('updateParams', {
185
+ namespace: 'wear'
186
+ });
187
+ /**
188
+ * @public
189
+ * @since @ray-js/ray 1.7.82
190
+ */
191
+ export const switchRecordChannel = factory('switchRecordChannel', {
192
+ namespace: 'wear'
193
+ });
194
+ /**
195
+ * @public
196
+ * @since @ray-js/ray 1.7.82
197
+ */
198
+ export const searchRecordTransferResult = factory('searchRecordTransferResult', {
199
+ namespace: 'wear'
200
+ });
201
+ /**
202
+ * @public
203
+ * @since @ray-js/ray 1.7.82
204
+ */
205
+ export const getAudioFilesSize = factory('getAudioFilesSize', {
206
+ namespace: 'wear'
207
+ });
208
+ /**
209
+ * @public
210
+ * @since @ray-js/ray 1.7.82
211
+ */
212
+ export const loadOfflineFile = factory('loadOfflineFile', {
213
+ namespace: 'wear'
214
+ });
215
+ /**
216
+ * @public
217
+ * @since @ray-js/ray 1.7.82
218
+ */
219
+ export const getDeviceOfflineFileStatus = factory('getDeviceOfflineFileStatus', {
220
+ namespace: 'wear'
221
+ });
222
+ /**
223
+ * @public
224
+ * @since @ray-js/ray 1.7.82
225
+ */
226
+ export const switchModeLoadOfflineFile = factory('switchModeLoadOfflineFile', {
227
+ namespace: 'wear'
228
+ });
229
+ /**
230
+ * @public
231
+ * @since @ray-js/ray 1.7.82
232
+ */
233
+ export const getCloudSyncSwitchStatus = factory('getCloudSyncSwitchStatus', {
234
+ namespace: 'wear'
235
+ });
236
+ /**
237
+ * @public
238
+ * @since @ray-js/ray 1.7.82
239
+ */
240
+ export const syncNoteRecord = factory('syncNoteRecord', {
241
+ namespace: 'wear'
242
+ });
243
+ /**
244
+ * @public
245
+ * @since @ray-js/ray 1.7.82
246
+ */
247
+ export const syncDownloadNoteAudio = factory('syncDownloadNoteAudio', {
248
+ namespace: 'wear'
249
+ });
250
+ /**
251
+ * @public
252
+ * @since @ray-js/ray 1.7.82
253
+ */
254
+ export const startImport = factory('startImport', {
255
+ namespace: 'wear'
256
+ });
257
+ /**
258
+ * @public
259
+ * @since @ray-js/ray 1.7.82
260
+ */
261
+ export const retryImport = factory('retryImport', {
262
+ namespace: 'wear'
263
+ });
264
+ /**
265
+ * @public
266
+ * @since @ray-js/ray 1.7.82
267
+ */
268
+ export const cancelImport = factory('cancelImport', {
269
+ namespace: 'wear'
270
+ });
271
+ /**
272
+ * @public
273
+ * @since @ray-js/ray 1.7.82
274
+ */
275
+ export const cancelRetry = factory('cancelRetry', {
276
+ namespace: 'wear'
277
+ });
278
+ /**
279
+ * @public
280
+ * @since @ray-js/ray 1.7.82
281
+ */
282
+ export const getAudioImportStatus = factory('getAudioImportStatus', {
283
+ namespace: 'wear'
284
+ });
285
+ /**
286
+ * @public
287
+ * @since @ray-js/ray 1.7.82
288
+ */
289
+ export const operateAudioFileSafePath = factory('operateAudioFileSafePath', {
290
+ namespace: 'wear'
291
+ });
292
+ /**
293
+ * @public
294
+ * @since @ray-js/ray 1.7.82
295
+ */
296
+ export const operateEventLimit = factory('operateEventLimit', {
297
+ namespace: 'wear'
298
+ });
299
+ /**
300
+ * @public
301
+ * @since @ray-js/ray 1.7.82
302
+ */
303
+ export const getEarPhoneBTConntectedStatus = factory('getEarPhoneBTConntectedStatus', {
304
+ namespace: 'wear'
305
+ });
306
+ /**
307
+ * @public
308
+ * @since @ray-js/ray 1.7.82
309
+ */
310
+ export const operateRecordShareLink = factory('operateRecordShareLink', {
311
+ namespace: 'wear'
312
+ });
313
+ /**
314
+ * @public
315
+ * @since @ray-js/ray 1.7.82
316
+ */
317
+ export const mergeRecordList = factory('mergeRecordList', {
318
+ namespace: 'wear'
319
+ });
320
+ /**
321
+ * @public
322
+ * @since @ray-js/ray 1.7.82
323
+ */
324
+ export const cancelMergeRecordList = factory('cancelMergeRecordList', {
325
+ namespace: 'wear'
326
+ });
327
+ /**
328
+ * @public
329
+ * @since @ray-js/ray 1.7.82
330
+ */
331
+ export const getFileMergeStatus = factory('getFileMergeStatus', {
332
+ namespace: 'wear'
333
+ });
334
+ /**
335
+ * @public
336
+ * @since @ray-js/ray 1.7.82
337
+ */
338
+ export const operateRecordingFloat = factory('operateRecordingFloat', {
339
+ namespace: 'wear'
340
+ });
341
+ /**
342
+ * @public
343
+ * @since @ray-js/ray 1.7.82
344
+ */
345
+ export const getQuickEntryList = factory('getQuickEntryList', {
346
+ namespace: 'wear'
347
+ });
348
+ /**
349
+ * @public
350
+ * @since @ray-js/ray 1.7.82
351
+ */
352
+ export const setQuickEntryEnabled = factory('setQuickEntryEnabled', {
353
+ namespace: 'wear'
354
+ });
355
+ /**
356
+ * @public
357
+ * @since @ray-js/ray 1.7.82
358
+ */
359
+ export const updateRecordTagResult = factory('updateRecordTagResult', {
360
+ namespace: 'wear'
361
+ });
362
+ /**
363
+ * @public
364
+ * @since @ray-js/ray 1.7.82
365
+ */
366
+ export const readyToSetupNativeChannel = factory('readyToSetupNativeChannel', {
367
+ namespace: 'wear'
368
+ });
369
+ /**
370
+ * @public
371
+ * @since @ray-js/ray 1.7.82
372
+ */
373
+ export const startTranslate = factory('startTranslate', {
374
+ namespace: 'wear'
375
+ });
376
+ /**
377
+ * @public
378
+ * @since @ray-js/ray 1.7.82
379
+ */
380
+ export const getTranslateFileList = factory('getTranslateFileList', {
381
+ namespace: 'wear'
382
+ });
383
+ /**
384
+ * @public
385
+ * @since @ray-js/ray 1.7.82
386
+ */
387
+ export const getTranslateFileDetail = factory('getTranslateFileDetail', {
388
+ namespace: 'wear'
389
+ });
390
+ /**
391
+ * @public
392
+ * @since @ray-js/ray 1.7.82
393
+ */
394
+ export const sendToNote = factory('sendToNote', {
395
+ namespace: 'wear'
396
+ });
397
+ /**
398
+ * @public
399
+ * @since @ray-js/ray 1.7.82
400
+ */
401
+ export const batchRemoveTranslationFiles = factory('batchRemoveTranslationFiles', {
402
+ namespace: 'wear'
403
+ });
404
+ /**
405
+ * @public
406
+ * @since @ray-js/ray 1.7.82
407
+ */
408
+ export const onRecordTransferFileUploadEvent = factory('onRecordTransferFileUploadEvent', {
409
+ namespace: 'wear'
410
+ });
411
+ /**
412
+ * @public
413
+ * @since @ray-js/ray 1.7.82
414
+ */
415
+ export const offRecordTransferFileUploadEvent = factory('offRecordTransferFileUploadEvent', {
416
+ namespace: 'wear'
417
+ });
418
+ /**
419
+ * @public
420
+ * @since @ray-js/ray 1.7.82
421
+ */
422
+ export const onRecordSwitchAudioSourceEvent = factory('onRecordSwitchAudioSourceEvent', {
423
+ namespace: 'wear'
424
+ });
425
+ /**
426
+ * @public
427
+ * @since @ray-js/ray 1.7.82
428
+ */
429
+ export const offRecordSwitchAudioSourceEvent = factory('offRecordSwitchAudioSourceEvent', {
430
+ namespace: 'wear'
431
+ });
432
+ /**
433
+ * @public
434
+ * @since @ray-js/ray 1.7.82
435
+ */
436
+ export const onRecordBatteryChangeEvent = factory('onRecordBatteryChangeEvent', {
437
+ namespace: 'wear'
438
+ });
439
+ /**
440
+ * @public
441
+ * @since @ray-js/ray 1.7.82
442
+ */
443
+ export const offRecordBatteryChangeEvent = factory('offRecordBatteryChangeEvent', {
444
+ namespace: 'wear'
445
+ });
446
+ /**
447
+ * @public
448
+ * @since @ray-js/ray 1.7.82
449
+ */
450
+ export const onRecordQualityChangeEvent = factory('onRecordQualityChangeEvent', {
451
+ namespace: 'wear'
452
+ });
453
+ /**
454
+ * @public
455
+ * @since @ray-js/ray 1.7.82
456
+ */
457
+ export const offRecordQualityChangeEvent = factory('offRecordQualityChangeEvent', {
458
+ namespace: 'wear'
459
+ });
460
+ /**
461
+ * @public
462
+ * @since @ray-js/ray 1.7.82
463
+ */
464
+ export const onEarPhoneBTConnectedStatusChangeEvent = factory('onEarPhoneBTConnectedStatusChangeEvent', {
465
+ namespace: 'wear'
466
+ });
467
+ /**
468
+ * @public
469
+ * @since @ray-js/ray 1.7.82
470
+ */
471
+ export const offEarPhoneBTConnectedStatusChangeEvent = factory('offEarPhoneBTConnectedStatusChangeEvent', {
472
+ namespace: 'wear'
473
+ });
474
+ /**
475
+ * @public
476
+ * @since @ray-js/ray 1.7.82
477
+ */
478
+ export const onOfflineFilesProgressEvent = factory('onOfflineFilesProgressEvent', {
479
+ namespace: 'wear'
480
+ });
481
+ /**
482
+ * @public
483
+ * @since @ray-js/ray 1.7.82
484
+ */
485
+ export const offOfflineFilesProgressEvent = factory('offOfflineFilesProgressEvent', {
486
+ namespace: 'wear'
487
+ });
488
+ /**
489
+ * @public
490
+ * @since @ray-js/ray 1.7.82
491
+ */
492
+ export const onFileImportStatusEvent = factory('onFileImportStatusEvent', {
493
+ namespace: 'wear'
494
+ });
495
+ /**
496
+ * @public
497
+ * @since @ray-js/ray 1.7.82
498
+ */
499
+ export const offFileImportStatusEvent = factory('offFileImportStatusEvent', {
500
+ namespace: 'wear'
501
+ });
502
+ /**
503
+ * @public
504
+ * @since @ray-js/ray 1.7.82
505
+ */
506
+ export const onCloudSyncSwitchStatusEvent = factory('onCloudSyncSwitchStatusEvent', {
507
+ namespace: 'wear'
508
+ });
509
+ /**
510
+ * @public
511
+ * @since @ray-js/ray 1.7.82
512
+ */
513
+ export const offCloudSyncSwitchStatusEvent = factory('offCloudSyncSwitchStatusEvent', {
514
+ namespace: 'wear'
515
+ });
516
+ /**
517
+ * @public
518
+ * @since @ray-js/ray 1.7.82
519
+ */
520
+ export const onPartialRecordUpdate = factory('onPartialRecordUpdate', {
521
+ namespace: 'wear'
522
+ });
523
+ /**
524
+ * @public
525
+ * @since @ray-js/ray 1.7.82
526
+ */
527
+ export const offPartialRecordUpdate = factory('offPartialRecordUpdate', {
528
+ namespace: 'wear'
529
+ });
530
+ /**
531
+ * @public
532
+ * @since @ray-js/ray 1.7.82
533
+ */
534
+ export const onFileListUpdateStatusEvent = factory('onFileListUpdateStatusEvent', {
535
+ namespace: 'wear'
536
+ });
537
+ /**
538
+ * @public
539
+ * @since @ray-js/ray 1.7.82
540
+ */
541
+ export const offFileListUpdateStatusEvent = factory('offFileListUpdateStatusEvent', {
542
+ namespace: 'wear'
543
+ });
544
+ /**
545
+ * @public
546
+ * @since @ray-js/ray 1.7.82
547
+ */
548
+ export const onFileMergeStatusEvent = factory('onFileMergeStatusEvent', {
549
+ namespace: 'wear'
550
+ });
551
+ /**
552
+ * @public
553
+ * @since @ray-js/ray 1.7.82
554
+ */
555
+ export const offFileMergeStatusEvent = factory('offFileMergeStatusEvent', {
556
+ namespace: 'wear'
557
+ });
558
+ /**
559
+ * @public
560
+ * @since @ray-js/ray 1.7.82
561
+ */
562
+ export const onPushRouteInfoEvent = factory('onPushRouteInfoEvent', {
563
+ namespace: 'wear'
564
+ });
565
+ /**
566
+ * @public
567
+ * @since @ray-js/ray 1.7.82
568
+ */
569
+ export const offPushRouteInfoEvent = factory('offPushRouteInfoEvent', {
570
+ namespace: 'wear'
571
+ });
572
+ /**
573
+ * @public
574
+ * @since @ray-js/ray 1.7.82
575
+ */
576
+ export const onQuickEntryAddEvent = factory('onQuickEntryAddEvent', {
577
+ namespace: 'wear'
578
+ });
579
+ /**
580
+ * @public
581
+ * @since @ray-js/ray 1.7.82
582
+ */
583
+ export const offQuickEntryAddEvent = factory('offQuickEntryAddEvent', {
584
+ namespace: 'wear'
585
+ });
586
+ /**
587
+ * @public
588
+ * @since @ray-js/ray 1.7.82
589
+ */
590
+ export const onTextTranslateTtsCompleteEvent = factory('onTextTranslateTtsCompleteEvent', {
591
+ namespace: 'wear'
592
+ });
593
+ /**
594
+ * @public
595
+ * @since @ray-js/ray 1.7.82
596
+ */
597
+ export const offTextTranslateTtsCompleteEvent = factory('offTextTranslateTtsCompleteEvent', {
598
+ namespace: 'wear'
599
+ });
package/lib/all-kits.d.ts CHANGED
@@ -11,5 +11,5 @@ import * as outdoor from './OutdoorKit-1.0.4';
11
11
  import * as media from './MediaKit-3.4.1';
12
12
  import * as ai from './AIKit-1.6.0';
13
13
  import * as ipc from './IPCKit-6.4.5';
14
- import * as wear from './WearKit-1.1.6';
14
+ import * as wear from './WearKit-3.1.0';
15
15
  export { device, playnet, map, home, p2p, outdoor, media, ai, ipc, wear };
package/lib/all-kits.js CHANGED
@@ -11,5 +11,5 @@ import * as outdoor from './OutdoorKit-1.0.4';
11
11
  import * as media from './MediaKit-3.4.1';
12
12
  import * as ai from './AIKit-1.6.0';
13
13
  import * as ipc from './IPCKit-6.4.5';
14
- import * as wear from './WearKit-1.1.6';
14
+ import * as wear from './WearKit-3.1.0';
15
15
  export { device, playnet, map, home, p2p, outdoor, media, ai, ipc, wear };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ray-js/api",
3
- "version": "1.7.81",
3
+ "version": "1.7.82",
4
4
  "description": "Ray universal api",
5
5
  "keywords": [
6
6
  "ray"
@@ -29,8 +29,8 @@
29
29
  "watch": "ray start --type=component"
30
30
  },
31
31
  "dependencies": {
32
- "@ray-js/framework": "1.7.81",
33
- "@ray-js/router": "1.7.81",
32
+ "@ray-js/framework": "1.7.82",
33
+ "@ray-js/router": "1.7.82",
34
34
  "base64-browser": "^1.0.1",
35
35
  "query-string": "^7.1.3"
36
36
  },
@@ -38,7 +38,7 @@
38
38
  "@ray-js/wechat": "^0.3.13"
39
39
  },
40
40
  "devDependencies": {
41
- "@ray-js/cli": "1.7.81",
41
+ "@ray-js/cli": "1.7.82",
42
42
  "art-template": "^4.13.4",
43
43
  "fs-extra": "^10.1.0",
44
44
  "miniprogram-api-typings": "^3.12.3",
@@ -48,5 +48,5 @@
48
48
  "access": "public",
49
49
  "registry": "https://registry.npmjs.org"
50
50
  },
51
- "gitHead": "511cd3f8d57c2888411700526781e65959037c5b"
51
+ "gitHead": "195284fb0c06336d906ba8ccf81fb3b21fca6318"
52
52
  }