@bota.dev/react-native-app-sdk 2.0.0-beta.0 → 2.0.0-beta.3
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.
- package/README.md +66 -2
- package/android/build.gradle +1 -0
- package/android/src/main/java/dev/bota/sdk/reactnative/BotaDeviceSDKAndroidDiagnostics.kt +53 -0
- package/android/src/main/java/dev/bota/sdk/reactnative/BotaDeviceSDKAndroidLogs.kt +16 -0
- package/android/src/main/java/dev/bota/sdk/reactnative/BotaDeviceSDKAndroidRecordingUploads.kt +144 -14
- package/android/src/main/java/dev/bota/sdk/reactnative/BotaDeviceSDKAndroidRecordings.kt +150 -29
- package/android/src/main/java/dev/bota/sdk/reactnative/BotaDeviceSDKEncryptedUploadV2Materials.kt +27 -0
- package/android/src/main/java/dev/bota/sdk/reactnative/BotaDeviceSDKModule.kt +68 -3
- package/android/src/test/java/dev/bota/sdk/reactnative/BotaDeviceSDKAndroidLogsTest.kt +33 -0
- package/android/src/test/java/dev/bota/sdk/reactnative/BotaDeviceSDKAndroidRecordingUploadsTest.kt +135 -6
- package/android/src/test/java/dev/bota/sdk/reactnative/BotaDeviceSDKAndroidRecordingsTest.kt +236 -10
- package/generated/codegen-contract.json +495 -8
- package/ios/BotaDeviceSDK.mm +102 -0
- package/ios/BotaDeviceSDKAppleBridge.swift +126 -4
- package/ios/BotaDeviceSDKAppleDiagnostics.swift +40 -0
- package/ios/BotaDeviceSDKAppleLogs.swift +18 -0
- package/ios/BotaDeviceSDKAppleRecordingUploads.swift +138 -6
- package/ios/BotaDeviceSDKAppleRecordings.swift +113 -5
- package/ios/BotaDeviceSDKEncryptedUploadV2Materials.swift +40 -0
- package/lib/commonjs/BotaClient.js +13 -2
- package/lib/commonjs/BotaClient.js.map +1 -1
- package/lib/commonjs/ble/constants.js +5 -1
- package/lib/commonjs/ble/constants.js.map +1 -1
- package/lib/commonjs/ble/deviceDiagnostics.js +240 -0
- package/lib/commonjs/ble/deviceDiagnostics.js.map +1 -0
- package/lib/commonjs/client.js +163 -28
- package/lib/commonjs/client.js.map +1 -1
- package/lib/commonjs/index.js +15 -0
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/managers/DeviceManager.js +8 -0
- package/lib/commonjs/managers/DeviceManager.js.map +1 -1
- package/lib/commonjs/managers/NativeUploadQueue.js +386 -0
- package/lib/commonjs/managers/NativeUploadQueue.js.map +1 -0
- package/lib/commonjs/managers/RecordingManager.js +83 -102
- package/lib/commonjs/managers/RecordingManager.js.map +1 -1
- package/lib/commonjs/managers/uploadRecoveryMetadata.js +83 -0
- package/lib/commonjs/managers/uploadRecoveryMetadata.js.map +1 -0
- package/lib/commonjs/specs/NativeBotaDeviceSDK.js.map +1 -1
- package/lib/module/BotaClient.js +13 -2
- package/lib/module/BotaClient.js.map +1 -1
- package/lib/module/ble/constants.js +4 -0
- package/lib/module/ble/constants.js.map +1 -1
- package/lib/module/ble/deviceDiagnostics.js +234 -0
- package/lib/module/ble/deviceDiagnostics.js.map +1 -0
- package/lib/module/client.js +163 -28
- package/lib/module/client.js.map +1 -1
- package/lib/module/index.js +2 -0
- package/lib/module/index.js.map +1 -1
- package/lib/module/managers/DeviceManager.js +8 -0
- package/lib/module/managers/DeviceManager.js.map +1 -1
- package/lib/module/managers/NativeUploadQueue.js +380 -0
- package/lib/module/managers/NativeUploadQueue.js.map +1 -0
- package/lib/module/managers/RecordingManager.js +83 -102
- package/lib/module/managers/RecordingManager.js.map +1 -1
- package/lib/module/managers/uploadRecoveryMetadata.js +77 -0
- package/lib/module/managers/uploadRecoveryMetadata.js.map +1 -0
- package/lib/module/specs/NativeBotaDeviceSDK.js.map +1 -1
- package/lib/typescript/BotaClient.d.ts.map +1 -1
- package/lib/typescript/ble/constants.d.ts +4 -0
- package/lib/typescript/ble/constants.d.ts.map +1 -1
- package/lib/typescript/ble/deviceDiagnostics.d.ts +10 -0
- package/lib/typescript/ble/deviceDiagnostics.d.ts.map +1 -0
- package/lib/typescript/client.d.ts +18 -2
- package/lib/typescript/client.d.ts.map +1 -1
- package/lib/typescript/index.d.ts +6 -4
- package/lib/typescript/index.d.ts.map +1 -1
- package/lib/typescript/managers/DeviceManager.d.ts +3 -1
- package/lib/typescript/managers/DeviceManager.d.ts.map +1 -1
- package/lib/typescript/managers/NativeUploadQueue.d.ts +41 -0
- package/lib/typescript/managers/NativeUploadQueue.d.ts.map +1 -0
- package/lib/typescript/managers/RecordingManager.d.ts +3 -8
- package/lib/typescript/managers/RecordingManager.d.ts.map +1 -1
- package/lib/typescript/managers/types.d.ts +6 -1
- package/lib/typescript/managers/types.d.ts.map +1 -1
- package/lib/typescript/managers/uploadRecoveryMetadata.d.ts +6 -0
- package/lib/typescript/managers/uploadRecoveryMetadata.d.ts.map +1 -0
- package/lib/typescript/models/Device.d.ts +42 -0
- package/lib/typescript/models/Device.d.ts.map +1 -1
- package/lib/typescript/models/Recording.d.ts +47 -0
- package/lib/typescript/models/Recording.d.ts.map +1 -1
- package/lib/typescript/models/Status.d.ts +5 -1
- package/lib/typescript/models/Status.d.ts.map +1 -1
- package/lib/typescript/specs/NativeBotaDeviceSDK.d.ts +61 -0
- package/lib/typescript/specs/NativeBotaDeviceSDK.d.ts.map +1 -1
- package/package.json +1 -1
- package/scripts/bota_device_sdk_spm_workaround.rb +26 -15
- package/src/BotaClient.ts +13 -3
- package/src/ble/constants.ts +5 -0
- package/src/ble/deviceDiagnostics.ts +238 -0
- package/src/client.ts +166 -18
- package/src/index.ts +12 -0
- package/src/managers/DeviceManager.ts +11 -0
- package/src/managers/NativeUploadQueue.ts +330 -0
- package/src/managers/RecordingManager.ts +83 -116
- package/src/managers/types.ts +7 -1
- package/src/managers/uploadRecoveryMetadata.ts +59 -0
- package/src/models/Device.ts +43 -0
- package/src/models/Recording.ts +52 -0
- package/src/models/Status.ts +5 -1
- package/src/specs/NativeBotaDeviceSDK.ts +56 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
3
|
"package": "@bota.dev/react-native-app-sdk",
|
|
4
|
-
"packageVersion": "2.0.0-beta.
|
|
4
|
+
"packageVersion": "2.0.0-beta.3",
|
|
5
5
|
"reactNativeVersion": "0.86.3",
|
|
6
6
|
"codegenLibrary": "BotaDeviceSDKSpec",
|
|
7
7
|
"nativeModule": "BotaDeviceSDK",
|
|
@@ -456,6 +456,266 @@
|
|
|
456
456
|
}
|
|
457
457
|
]
|
|
458
458
|
},
|
|
459
|
+
"NativeDiagnosticBreadcrumb": {
|
|
460
|
+
"type": "ObjectTypeAnnotation",
|
|
461
|
+
"properties": [
|
|
462
|
+
{
|
|
463
|
+
"name": "delta_ms",
|
|
464
|
+
"optional": false,
|
|
465
|
+
"typeAnnotation": {
|
|
466
|
+
"type": "NumberTypeAnnotation"
|
|
467
|
+
}
|
|
468
|
+
},
|
|
469
|
+
{
|
|
470
|
+
"name": "code",
|
|
471
|
+
"optional": false,
|
|
472
|
+
"typeAnnotation": {
|
|
473
|
+
"type": "StringTypeAnnotation"
|
|
474
|
+
}
|
|
475
|
+
},
|
|
476
|
+
{
|
|
477
|
+
"name": "arg0",
|
|
478
|
+
"optional": false,
|
|
479
|
+
"typeAnnotation": {
|
|
480
|
+
"type": "NumberTypeAnnotation"
|
|
481
|
+
}
|
|
482
|
+
}
|
|
483
|
+
]
|
|
484
|
+
},
|
|
485
|
+
"NativeDiagnosticEvent": {
|
|
486
|
+
"type": "ObjectTypeAnnotation",
|
|
487
|
+
"properties": [
|
|
488
|
+
{
|
|
489
|
+
"name": "event_id",
|
|
490
|
+
"optional": false,
|
|
491
|
+
"typeAnnotation": {
|
|
492
|
+
"type": "StringTypeAnnotation"
|
|
493
|
+
}
|
|
494
|
+
},
|
|
495
|
+
{
|
|
496
|
+
"name": "event_type",
|
|
497
|
+
"optional": false,
|
|
498
|
+
"typeAnnotation": {
|
|
499
|
+
"type": "StringTypeAnnotation"
|
|
500
|
+
}
|
|
501
|
+
},
|
|
502
|
+
{
|
|
503
|
+
"name": "reason_code",
|
|
504
|
+
"optional": false,
|
|
505
|
+
"typeAnnotation": {
|
|
506
|
+
"type": "StringTypeAnnotation"
|
|
507
|
+
}
|
|
508
|
+
},
|
|
509
|
+
{
|
|
510
|
+
"name": "uptime_ms",
|
|
511
|
+
"optional": false,
|
|
512
|
+
"typeAnnotation": {
|
|
513
|
+
"type": "NumberTypeAnnotation"
|
|
514
|
+
}
|
|
515
|
+
},
|
|
516
|
+
{
|
|
517
|
+
"name": "signature",
|
|
518
|
+
"optional": false,
|
|
519
|
+
"typeAnnotation": {
|
|
520
|
+
"type": "StringTypeAnnotation"
|
|
521
|
+
}
|
|
522
|
+
},
|
|
523
|
+
{
|
|
524
|
+
"name": "firmware_build_id",
|
|
525
|
+
"optional": false,
|
|
526
|
+
"typeAnnotation": {
|
|
527
|
+
"type": "StringTypeAnnotation"
|
|
528
|
+
}
|
|
529
|
+
},
|
|
530
|
+
{
|
|
531
|
+
"name": "subsystem",
|
|
532
|
+
"optional": false,
|
|
533
|
+
"typeAnnotation": {
|
|
534
|
+
"type": "StringTypeAnnotation"
|
|
535
|
+
}
|
|
536
|
+
},
|
|
537
|
+
{
|
|
538
|
+
"name": "state_before_event",
|
|
539
|
+
"optional": false,
|
|
540
|
+
"typeAnnotation": {
|
|
541
|
+
"type": "StringTypeAnnotation"
|
|
542
|
+
}
|
|
543
|
+
},
|
|
544
|
+
{
|
|
545
|
+
"name": "report",
|
|
546
|
+
"optional": true,
|
|
547
|
+
"typeAnnotation": {
|
|
548
|
+
"type": "TypeAliasTypeAnnotation",
|
|
549
|
+
"name": "NativeDiagnosticReport"
|
|
550
|
+
}
|
|
551
|
+
}
|
|
552
|
+
]
|
|
553
|
+
},
|
|
554
|
+
"NativeDiagnosticExecution": {
|
|
555
|
+
"type": "ObjectTypeAnnotation",
|
|
556
|
+
"properties": [
|
|
557
|
+
{
|
|
558
|
+
"name": "task",
|
|
559
|
+
"optional": true,
|
|
560
|
+
"typeAnnotation": {
|
|
561
|
+
"type": "StringTypeAnnotation"
|
|
562
|
+
}
|
|
563
|
+
},
|
|
564
|
+
{
|
|
565
|
+
"name": "reti",
|
|
566
|
+
"optional": true,
|
|
567
|
+
"typeAnnotation": {
|
|
568
|
+
"type": "StringTypeAnnotation"
|
|
569
|
+
}
|
|
570
|
+
},
|
|
571
|
+
{
|
|
572
|
+
"name": "rets",
|
|
573
|
+
"optional": true,
|
|
574
|
+
"typeAnnotation": {
|
|
575
|
+
"type": "StringTypeAnnotation"
|
|
576
|
+
}
|
|
577
|
+
},
|
|
578
|
+
{
|
|
579
|
+
"name": "pc_trace",
|
|
580
|
+
"optional": false,
|
|
581
|
+
"typeAnnotation": {
|
|
582
|
+
"type": "ArrayTypeAnnotation",
|
|
583
|
+
"elementType": {
|
|
584
|
+
"type": "StringTypeAnnotation"
|
|
585
|
+
}
|
|
586
|
+
}
|
|
587
|
+
}
|
|
588
|
+
]
|
|
589
|
+
},
|
|
590
|
+
"NativeDiagnosticFault": {
|
|
591
|
+
"type": "ObjectTypeAnnotation",
|
|
592
|
+
"properties": [
|
|
593
|
+
{
|
|
594
|
+
"name": "cpu_id",
|
|
595
|
+
"optional": false,
|
|
596
|
+
"typeAnnotation": {
|
|
597
|
+
"type": "NumberTypeAnnotation"
|
|
598
|
+
}
|
|
599
|
+
},
|
|
600
|
+
{
|
|
601
|
+
"name": "cpu_emu",
|
|
602
|
+
"optional": false,
|
|
603
|
+
"typeAnnotation": {
|
|
604
|
+
"type": "StringTypeAnnotation"
|
|
605
|
+
}
|
|
606
|
+
},
|
|
607
|
+
{
|
|
608
|
+
"name": "core_emu",
|
|
609
|
+
"optional": false,
|
|
610
|
+
"typeAnnotation": {
|
|
611
|
+
"type": "StringTypeAnnotation"
|
|
612
|
+
}
|
|
613
|
+
},
|
|
614
|
+
{
|
|
615
|
+
"name": "hsb_emu",
|
|
616
|
+
"optional": false,
|
|
617
|
+
"typeAnnotation": {
|
|
618
|
+
"type": "StringTypeAnnotation"
|
|
619
|
+
}
|
|
620
|
+
},
|
|
621
|
+
{
|
|
622
|
+
"name": "audio_emu",
|
|
623
|
+
"optional": false,
|
|
624
|
+
"typeAnnotation": {
|
|
625
|
+
"type": "StringTypeAnnotation"
|
|
626
|
+
}
|
|
627
|
+
},
|
|
628
|
+
{
|
|
629
|
+
"name": "wireless_emu",
|
|
630
|
+
"optional": false,
|
|
631
|
+
"typeAnnotation": {
|
|
632
|
+
"type": "StringTypeAnnotation"
|
|
633
|
+
}
|
|
634
|
+
}
|
|
635
|
+
]
|
|
636
|
+
},
|
|
637
|
+
"NativeDiagnosticReport": {
|
|
638
|
+
"type": "ObjectTypeAnnotation",
|
|
639
|
+
"properties": [
|
|
640
|
+
{
|
|
641
|
+
"name": "fault",
|
|
642
|
+
"optional": false,
|
|
643
|
+
"typeAnnotation": {
|
|
644
|
+
"type": "TypeAliasTypeAnnotation",
|
|
645
|
+
"name": "NativeDiagnosticFault"
|
|
646
|
+
}
|
|
647
|
+
},
|
|
648
|
+
{
|
|
649
|
+
"name": "execution",
|
|
650
|
+
"optional": false,
|
|
651
|
+
"typeAnnotation": {
|
|
652
|
+
"type": "TypeAliasTypeAnnotation",
|
|
653
|
+
"name": "NativeDiagnosticExecution"
|
|
654
|
+
}
|
|
655
|
+
},
|
|
656
|
+
{
|
|
657
|
+
"name": "runtime",
|
|
658
|
+
"optional": true,
|
|
659
|
+
"typeAnnotation": {
|
|
660
|
+
"type": "TypeAliasTypeAnnotation",
|
|
661
|
+
"name": "NativeDiagnosticRuntime"
|
|
662
|
+
}
|
|
663
|
+
},
|
|
664
|
+
{
|
|
665
|
+
"name": "breadcrumbs",
|
|
666
|
+
"optional": true,
|
|
667
|
+
"typeAnnotation": {
|
|
668
|
+
"type": "ArrayTypeAnnotation",
|
|
669
|
+
"elementType": {
|
|
670
|
+
"type": "TypeAliasTypeAnnotation",
|
|
671
|
+
"name": "NativeDiagnosticBreadcrumb"
|
|
672
|
+
}
|
|
673
|
+
}
|
|
674
|
+
}
|
|
675
|
+
]
|
|
676
|
+
},
|
|
677
|
+
"NativeDiagnosticRuntime": {
|
|
678
|
+
"type": "ObjectTypeAnnotation",
|
|
679
|
+
"properties": [
|
|
680
|
+
{
|
|
681
|
+
"name": "heap_free_bytes",
|
|
682
|
+
"optional": true,
|
|
683
|
+
"typeAnnotation": {
|
|
684
|
+
"type": "NumberTypeAnnotation"
|
|
685
|
+
}
|
|
686
|
+
},
|
|
687
|
+
{
|
|
688
|
+
"name": "task_stack_remaining_bytes",
|
|
689
|
+
"optional": true,
|
|
690
|
+
"typeAnnotation": {
|
|
691
|
+
"type": "NumberTypeAnnotation"
|
|
692
|
+
}
|
|
693
|
+
}
|
|
694
|
+
]
|
|
695
|
+
},
|
|
696
|
+
"NativeDiagnosticsBatch": {
|
|
697
|
+
"type": "ObjectTypeAnnotation",
|
|
698
|
+
"properties": [
|
|
699
|
+
{
|
|
700
|
+
"name": "schema_version",
|
|
701
|
+
"optional": false,
|
|
702
|
+
"typeAnnotation": {
|
|
703
|
+
"type": "NumberTypeAnnotation"
|
|
704
|
+
}
|
|
705
|
+
},
|
|
706
|
+
{
|
|
707
|
+
"name": "events",
|
|
708
|
+
"optional": false,
|
|
709
|
+
"typeAnnotation": {
|
|
710
|
+
"type": "ArrayTypeAnnotation",
|
|
711
|
+
"elementType": {
|
|
712
|
+
"type": "TypeAliasTypeAnnotation",
|
|
713
|
+
"name": "NativeDiagnosticEvent"
|
|
714
|
+
}
|
|
715
|
+
}
|
|
716
|
+
}
|
|
717
|
+
]
|
|
718
|
+
},
|
|
459
719
|
"NativeDiscoveredDevice": {
|
|
460
720
|
"type": "ObjectTypeAnnotation",
|
|
461
721
|
"properties": [
|
|
@@ -881,6 +1141,34 @@
|
|
|
881
1141
|
"typeAnnotation": {
|
|
882
1142
|
"type": "StringTypeAnnotation"
|
|
883
1143
|
}
|
|
1144
|
+
},
|
|
1145
|
+
{
|
|
1146
|
+
"name": "startedAtMs",
|
|
1147
|
+
"optional": true,
|
|
1148
|
+
"typeAnnotation": {
|
|
1149
|
+
"type": "StringTypeAnnotation"
|
|
1150
|
+
}
|
|
1151
|
+
},
|
|
1152
|
+
{
|
|
1153
|
+
"name": "durationMs",
|
|
1154
|
+
"optional": true,
|
|
1155
|
+
"typeAnnotation": {
|
|
1156
|
+
"type": "StringTypeAnnotation"
|
|
1157
|
+
}
|
|
1158
|
+
},
|
|
1159
|
+
{
|
|
1160
|
+
"name": "plaintextLength",
|
|
1161
|
+
"optional": true,
|
|
1162
|
+
"typeAnnotation": {
|
|
1163
|
+
"type": "StringTypeAnnotation"
|
|
1164
|
+
}
|
|
1165
|
+
},
|
|
1166
|
+
{
|
|
1167
|
+
"name": "storageFormat",
|
|
1168
|
+
"optional": true,
|
|
1169
|
+
"typeAnnotation": {
|
|
1170
|
+
"type": "NumberTypeAnnotation"
|
|
1171
|
+
}
|
|
884
1172
|
}
|
|
885
1173
|
]
|
|
886
1174
|
},
|
|
@@ -1110,6 +1398,34 @@
|
|
|
1110
1398
|
}
|
|
1111
1399
|
]
|
|
1112
1400
|
},
|
|
1401
|
+
"NativePendingRecording": {
|
|
1402
|
+
"type": "ObjectTypeAnnotation",
|
|
1403
|
+
"properties": [
|
|
1404
|
+
{
|
|
1405
|
+
"name": "profile",
|
|
1406
|
+
"optional": false,
|
|
1407
|
+
"typeAnnotation": {
|
|
1408
|
+
"type": "StringTypeAnnotation"
|
|
1409
|
+
}
|
|
1410
|
+
},
|
|
1411
|
+
{
|
|
1412
|
+
"name": "legacy",
|
|
1413
|
+
"optional": true,
|
|
1414
|
+
"typeAnnotation": {
|
|
1415
|
+
"type": "TypeAliasTypeAnnotation",
|
|
1416
|
+
"name": "NativeDeviceRecording"
|
|
1417
|
+
}
|
|
1418
|
+
},
|
|
1419
|
+
{
|
|
1420
|
+
"name": "encrypted",
|
|
1421
|
+
"optional": true,
|
|
1422
|
+
"typeAnnotation": {
|
|
1423
|
+
"type": "TypeAliasTypeAnnotation",
|
|
1424
|
+
"name": "NativeEncryptedUploadV2Recording"
|
|
1425
|
+
}
|
|
1426
|
+
}
|
|
1427
|
+
]
|
|
1428
|
+
},
|
|
1113
1429
|
"NativePowerManagement": {
|
|
1114
1430
|
"type": "ObjectTypeAnnotation",
|
|
1115
1431
|
"properties": [
|
|
@@ -1294,6 +1610,13 @@
|
|
|
1294
1610
|
"typeAnnotation": {
|
|
1295
1611
|
"type": "StringTypeAnnotation"
|
|
1296
1612
|
}
|
|
1613
|
+
},
|
|
1614
|
+
{
|
|
1615
|
+
"name": "fileSizeBytes",
|
|
1616
|
+
"optional": false,
|
|
1617
|
+
"typeAnnotation": {
|
|
1618
|
+
"type": "NumberTypeAnnotation"
|
|
1619
|
+
}
|
|
1297
1620
|
}
|
|
1298
1621
|
]
|
|
1299
1622
|
},
|
|
@@ -1354,6 +1677,13 @@
|
|
|
1354
1677
|
"type": "StringTypeAnnotation"
|
|
1355
1678
|
}
|
|
1356
1679
|
},
|
|
1680
|
+
{
|
|
1681
|
+
"name": "fileSizeBytes",
|
|
1682
|
+
"optional": true,
|
|
1683
|
+
"typeAnnotation": {
|
|
1684
|
+
"type": "NumberTypeAnnotation"
|
|
1685
|
+
}
|
|
1686
|
+
},
|
|
1357
1687
|
{
|
|
1358
1688
|
"name": "uploadUrl",
|
|
1359
1689
|
"optional": false,
|
|
@@ -3002,6 +3332,63 @@
|
|
|
3002
3332
|
"params": []
|
|
3003
3333
|
}
|
|
3004
3334
|
},
|
|
3335
|
+
{
|
|
3336
|
+
"name": "readDiagnosticEvents",
|
|
3337
|
+
"optional": false,
|
|
3338
|
+
"typeAnnotation": {
|
|
3339
|
+
"type": "FunctionTypeAnnotation",
|
|
3340
|
+
"returnTypeAnnotation": {
|
|
3341
|
+
"type": "PromiseTypeAnnotation",
|
|
3342
|
+
"elementType": {
|
|
3343
|
+
"type": "TypeAliasTypeAnnotation",
|
|
3344
|
+
"name": "NativeDiagnosticsBatch"
|
|
3345
|
+
}
|
|
3346
|
+
},
|
|
3347
|
+
"params": [
|
|
3348
|
+
{
|
|
3349
|
+
"name": "device",
|
|
3350
|
+
"optional": false,
|
|
3351
|
+
"typeAnnotation": {
|
|
3352
|
+
"type": "TypeAliasTypeAnnotation",
|
|
3353
|
+
"name": "NativeConnectedDevice"
|
|
3354
|
+
}
|
|
3355
|
+
}
|
|
3356
|
+
]
|
|
3357
|
+
}
|
|
3358
|
+
},
|
|
3359
|
+
{
|
|
3360
|
+
"name": "acknowledgeDiagnosticEvents",
|
|
3361
|
+
"optional": false,
|
|
3362
|
+
"typeAnnotation": {
|
|
3363
|
+
"type": "FunctionTypeAnnotation",
|
|
3364
|
+
"returnTypeAnnotation": {
|
|
3365
|
+
"type": "PromiseTypeAnnotation",
|
|
3366
|
+
"elementType": {
|
|
3367
|
+
"type": "VoidTypeAnnotation"
|
|
3368
|
+
}
|
|
3369
|
+
},
|
|
3370
|
+
"params": [
|
|
3371
|
+
{
|
|
3372
|
+
"name": "device",
|
|
3373
|
+
"optional": false,
|
|
3374
|
+
"typeAnnotation": {
|
|
3375
|
+
"type": "TypeAliasTypeAnnotation",
|
|
3376
|
+
"name": "NativeConnectedDevice"
|
|
3377
|
+
}
|
|
3378
|
+
},
|
|
3379
|
+
{
|
|
3380
|
+
"name": "acceptedEventIds",
|
|
3381
|
+
"optional": false,
|
|
3382
|
+
"typeAnnotation": {
|
|
3383
|
+
"type": "ArrayTypeAnnotation",
|
|
3384
|
+
"elementType": {
|
|
3385
|
+
"type": "StringTypeAnnotation"
|
|
3386
|
+
}
|
|
3387
|
+
}
|
|
3388
|
+
}
|
|
3389
|
+
]
|
|
3390
|
+
}
|
|
3391
|
+
},
|
|
3005
3392
|
{
|
|
3006
3393
|
"name": "stopStatusUpdates",
|
|
3007
3394
|
"optional": false,
|
|
@@ -3121,6 +3508,77 @@
|
|
|
3121
3508
|
]
|
|
3122
3509
|
}
|
|
3123
3510
|
},
|
|
3511
|
+
{
|
|
3512
|
+
"name": "listPendingRecordings",
|
|
3513
|
+
"optional": false,
|
|
3514
|
+
"typeAnnotation": {
|
|
3515
|
+
"type": "FunctionTypeAnnotation",
|
|
3516
|
+
"returnTypeAnnotation": {
|
|
3517
|
+
"type": "PromiseTypeAnnotation",
|
|
3518
|
+
"elementType": {
|
|
3519
|
+
"type": "ArrayTypeAnnotation",
|
|
3520
|
+
"elementType": {
|
|
3521
|
+
"type": "TypeAliasTypeAnnotation",
|
|
3522
|
+
"name": "NativePendingRecording"
|
|
3523
|
+
}
|
|
3524
|
+
}
|
|
3525
|
+
},
|
|
3526
|
+
"params": [
|
|
3527
|
+
{
|
|
3528
|
+
"name": "device",
|
|
3529
|
+
"optional": false,
|
|
3530
|
+
"typeAnnotation": {
|
|
3531
|
+
"type": "TypeAliasTypeAnnotation",
|
|
3532
|
+
"name": "NativeConnectedDevice"
|
|
3533
|
+
}
|
|
3534
|
+
}
|
|
3535
|
+
]
|
|
3536
|
+
}
|
|
3537
|
+
},
|
|
3538
|
+
{
|
|
3539
|
+
"name": "cancelEncryptedRecordingV2",
|
|
3540
|
+
"optional": false,
|
|
3541
|
+
"typeAnnotation": {
|
|
3542
|
+
"type": "FunctionTypeAnnotation",
|
|
3543
|
+
"returnTypeAnnotation": {
|
|
3544
|
+
"type": "PromiseTypeAnnotation",
|
|
3545
|
+
"elementType": {
|
|
3546
|
+
"type": "VoidTypeAnnotation"
|
|
3547
|
+
}
|
|
3548
|
+
},
|
|
3549
|
+
"params": [
|
|
3550
|
+
{
|
|
3551
|
+
"name": "operationId",
|
|
3552
|
+
"optional": false,
|
|
3553
|
+
"typeAnnotation": {
|
|
3554
|
+
"type": "StringTypeAnnotation"
|
|
3555
|
+
}
|
|
3556
|
+
}
|
|
3557
|
+
]
|
|
3558
|
+
}
|
|
3559
|
+
},
|
|
3560
|
+
{
|
|
3561
|
+
"name": "releaseEncryptedUploadV2Material",
|
|
3562
|
+
"optional": false,
|
|
3563
|
+
"typeAnnotation": {
|
|
3564
|
+
"type": "FunctionTypeAnnotation",
|
|
3565
|
+
"returnTypeAnnotation": {
|
|
3566
|
+
"type": "PromiseTypeAnnotation",
|
|
3567
|
+
"elementType": {
|
|
3568
|
+
"type": "VoidTypeAnnotation"
|
|
3569
|
+
}
|
|
3570
|
+
},
|
|
3571
|
+
"params": [
|
|
3572
|
+
{
|
|
3573
|
+
"name": "materialRegistrationId",
|
|
3574
|
+
"optional": false,
|
|
3575
|
+
"typeAnnotation": {
|
|
3576
|
+
"type": "StringTypeAnnotation"
|
|
3577
|
+
}
|
|
3578
|
+
}
|
|
3579
|
+
]
|
|
3580
|
+
}
|
|
3581
|
+
},
|
|
3124
3582
|
{
|
|
3125
3583
|
"name": "resolveEncryptedUploadV2Profile",
|
|
3126
3584
|
"optional": false,
|
|
@@ -3255,6 +3713,35 @@
|
|
|
3255
3713
|
]
|
|
3256
3714
|
}
|
|
3257
3715
|
},
|
|
3716
|
+
{
|
|
3717
|
+
"name": "releaseRecordingFile",
|
|
3718
|
+
"optional": false,
|
|
3719
|
+
"typeAnnotation": {
|
|
3720
|
+
"type": "FunctionTypeAnnotation",
|
|
3721
|
+
"returnTypeAnnotation": {
|
|
3722
|
+
"type": "PromiseTypeAnnotation",
|
|
3723
|
+
"elementType": {
|
|
3724
|
+
"type": "VoidTypeAnnotation"
|
|
3725
|
+
}
|
|
3726
|
+
},
|
|
3727
|
+
"params": [
|
|
3728
|
+
{
|
|
3729
|
+
"name": "taskId",
|
|
3730
|
+
"optional": false,
|
|
3731
|
+
"typeAnnotation": {
|
|
3732
|
+
"type": "StringTypeAnnotation"
|
|
3733
|
+
}
|
|
3734
|
+
},
|
|
3735
|
+
{
|
|
3736
|
+
"name": "localPath",
|
|
3737
|
+
"optional": false,
|
|
3738
|
+
"typeAnnotation": {
|
|
3739
|
+
"type": "StringTypeAnnotation"
|
|
3740
|
+
}
|
|
3741
|
+
}
|
|
3742
|
+
]
|
|
3743
|
+
}
|
|
3744
|
+
},
|
|
3258
3745
|
{
|
|
3259
3746
|
"name": "loadCompatibilityUploadQueue",
|
|
3260
3747
|
"optional": false,
|
|
@@ -3555,11 +4042,11 @@
|
|
|
3555
4042
|
"android": [
|
|
3556
4043
|
{
|
|
3557
4044
|
"path": "java/dev/bota/sdk/reactnative/NativeBotaDeviceSDKSpec.java",
|
|
3558
|
-
"sha256": "
|
|
4045
|
+
"sha256": "b63ae90d7b856526c6cff3d8f53d5705935d5dafceac79101a05651b244f791e"
|
|
3559
4046
|
},
|
|
3560
4047
|
{
|
|
3561
4048
|
"path": "jni/BotaDeviceSDKSpec-generated.cpp",
|
|
3562
|
-
"sha256": "
|
|
4049
|
+
"sha256": "c6016f6841d7450acc24a9d5f5d74e4561f1eec1d7d5cdb04bc760c075d830dc"
|
|
3563
4050
|
},
|
|
3564
4051
|
{
|
|
3565
4052
|
"path": "jni/BotaDeviceSDKSpec.h",
|
|
@@ -3571,23 +4058,23 @@
|
|
|
3571
4058
|
},
|
|
3572
4059
|
{
|
|
3573
4060
|
"path": "jni/react/renderer/components/BotaDeviceSDKSpec/BotaDeviceSDKSpecJSI.h",
|
|
3574
|
-
"sha256": "
|
|
4061
|
+
"sha256": "e16fbdc9f13585c244d6d75064a78c34bb942ab992ca3eeeebf5b80f1285eb62"
|
|
3575
4062
|
}
|
|
3576
4063
|
],
|
|
3577
4064
|
"ios": [
|
|
3578
4065
|
{
|
|
3579
4066
|
"path": "BotaDeviceSDKSpec/BotaDeviceSDKSpec-generated.mm",
|
|
3580
|
-
"sha256": "
|
|
4067
|
+
"sha256": "353536b9ec5e64a723cf9986e39707129dc9e5cc4fc40a16d4623152f69d9611"
|
|
3581
4068
|
},
|
|
3582
4069
|
{
|
|
3583
4070
|
"path": "BotaDeviceSDKSpec/BotaDeviceSDKSpec.h",
|
|
3584
|
-
"sha256": "
|
|
4071
|
+
"sha256": "57bbdd0381e69aa6396c660234c9e26f8f7c89aaaba7e216a957b946d904899c"
|
|
3585
4072
|
},
|
|
3586
4073
|
{
|
|
3587
4074
|
"path": "BotaDeviceSDKSpecJSI.h",
|
|
3588
|
-
"sha256": "
|
|
4075
|
+
"sha256": "e16fbdc9f13585c244d6d75064a78c34bb942ab992ca3eeeebf5b80f1285eb62"
|
|
3589
4076
|
}
|
|
3590
4077
|
]
|
|
3591
4078
|
},
|
|
3592
|
-
"contractDigest": "
|
|
4079
|
+
"contractDigest": "1d7b3512402ec29fbc391fbf9e2280c5864b902d95adbfcf7851f7a684602b18"
|
|
3593
4080
|
}
|