@ray-js/api 1.7.81 → 1.7.83-beta.0

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