@bota.dev/react-native-app-sdk 2.0.0-beta.1 → 2.0.0-beta.4
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 +75 -3
- package/android/build.gradle +1 -0
- package/android/src/main/java/dev/bota/sdk/reactnative/BotaDeviceSDKAndroidDevices.kt +4 -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 +83 -3
- package/android/src/test/java/dev/bota/sdk/reactnative/BotaDeviceSDKAndroidDevicesTest.kt +1 -0
- 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 +568 -8
- package/ios/BotaDeviceSDK.mm +114 -0
- package/ios/BotaDeviceSDKAppleBridge.swift +141 -4
- package/ios/BotaDeviceSDKAppleDevices.swift +11 -0
- 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 +183 -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/sdkIdentity.js +10 -0
- package/lib/commonjs/sdkIdentity.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 +183 -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/sdkIdentity.js +6 -0
- package/lib/module/sdkIdentity.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 +24 -3
- 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/sdkIdentity.d.ts +3 -0
- package/lib/typescript/sdkIdentity.d.ts.map +1 -0
- package/lib/typescript/specs/NativeBotaDeviceSDK.d.ts +70 -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 +189 -18
- package/src/index.ts +14 -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/sdkIdentity.ts +3 -0
- package/src/specs/NativeBotaDeviceSDK.ts +66 -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.4",
|
|
5
5
|
"reactNativeVersion": "0.86.3",
|
|
6
6
|
"codegenLibrary": "BotaDeviceSDKSpec",
|
|
7
7
|
"nativeModule": "BotaDeviceSDK",
|
|
@@ -51,6 +51,53 @@
|
|
|
51
51
|
}
|
|
52
52
|
]
|
|
53
53
|
},
|
|
54
|
+
"NativeClientContext": {
|
|
55
|
+
"type": "ObjectTypeAnnotation",
|
|
56
|
+
"properties": [
|
|
57
|
+
{
|
|
58
|
+
"name": "schemaVersion",
|
|
59
|
+
"optional": false,
|
|
60
|
+
"typeAnnotation": {
|
|
61
|
+
"type": "NumberTypeAnnotation"
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"name": "sessionId",
|
|
66
|
+
"optional": false,
|
|
67
|
+
"typeAnnotation": {
|
|
68
|
+
"type": "StringTypeAnnotation"
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"name": "sequence",
|
|
73
|
+
"optional": false,
|
|
74
|
+
"typeAnnotation": {
|
|
75
|
+
"type": "NumberTypeAnnotation"
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"name": "platform",
|
|
80
|
+
"optional": false,
|
|
81
|
+
"typeAnnotation": {
|
|
82
|
+
"type": "StringTypeAnnotation"
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"name": "sdkPackage",
|
|
87
|
+
"optional": false,
|
|
88
|
+
"typeAnnotation": {
|
|
89
|
+
"type": "StringTypeAnnotation"
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"name": "sdkVersion",
|
|
94
|
+
"optional": false,
|
|
95
|
+
"typeAnnotation": {
|
|
96
|
+
"type": "StringTypeAnnotation"
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
]
|
|
100
|
+
},
|
|
54
101
|
"NativeConfiguration": {
|
|
55
102
|
"type": "ObjectTypeAnnotation",
|
|
56
103
|
"properties": [
|
|
@@ -456,6 +503,266 @@
|
|
|
456
503
|
}
|
|
457
504
|
]
|
|
458
505
|
},
|
|
506
|
+
"NativeDiagnosticBreadcrumb": {
|
|
507
|
+
"type": "ObjectTypeAnnotation",
|
|
508
|
+
"properties": [
|
|
509
|
+
{
|
|
510
|
+
"name": "delta_ms",
|
|
511
|
+
"optional": false,
|
|
512
|
+
"typeAnnotation": {
|
|
513
|
+
"type": "NumberTypeAnnotation"
|
|
514
|
+
}
|
|
515
|
+
},
|
|
516
|
+
{
|
|
517
|
+
"name": "code",
|
|
518
|
+
"optional": false,
|
|
519
|
+
"typeAnnotation": {
|
|
520
|
+
"type": "StringTypeAnnotation"
|
|
521
|
+
}
|
|
522
|
+
},
|
|
523
|
+
{
|
|
524
|
+
"name": "arg0",
|
|
525
|
+
"optional": false,
|
|
526
|
+
"typeAnnotation": {
|
|
527
|
+
"type": "NumberTypeAnnotation"
|
|
528
|
+
}
|
|
529
|
+
}
|
|
530
|
+
]
|
|
531
|
+
},
|
|
532
|
+
"NativeDiagnosticEvent": {
|
|
533
|
+
"type": "ObjectTypeAnnotation",
|
|
534
|
+
"properties": [
|
|
535
|
+
{
|
|
536
|
+
"name": "event_id",
|
|
537
|
+
"optional": false,
|
|
538
|
+
"typeAnnotation": {
|
|
539
|
+
"type": "StringTypeAnnotation"
|
|
540
|
+
}
|
|
541
|
+
},
|
|
542
|
+
{
|
|
543
|
+
"name": "event_type",
|
|
544
|
+
"optional": false,
|
|
545
|
+
"typeAnnotation": {
|
|
546
|
+
"type": "StringTypeAnnotation"
|
|
547
|
+
}
|
|
548
|
+
},
|
|
549
|
+
{
|
|
550
|
+
"name": "reason_code",
|
|
551
|
+
"optional": false,
|
|
552
|
+
"typeAnnotation": {
|
|
553
|
+
"type": "StringTypeAnnotation"
|
|
554
|
+
}
|
|
555
|
+
},
|
|
556
|
+
{
|
|
557
|
+
"name": "uptime_ms",
|
|
558
|
+
"optional": false,
|
|
559
|
+
"typeAnnotation": {
|
|
560
|
+
"type": "NumberTypeAnnotation"
|
|
561
|
+
}
|
|
562
|
+
},
|
|
563
|
+
{
|
|
564
|
+
"name": "signature",
|
|
565
|
+
"optional": false,
|
|
566
|
+
"typeAnnotation": {
|
|
567
|
+
"type": "StringTypeAnnotation"
|
|
568
|
+
}
|
|
569
|
+
},
|
|
570
|
+
{
|
|
571
|
+
"name": "firmware_build_id",
|
|
572
|
+
"optional": false,
|
|
573
|
+
"typeAnnotation": {
|
|
574
|
+
"type": "StringTypeAnnotation"
|
|
575
|
+
}
|
|
576
|
+
},
|
|
577
|
+
{
|
|
578
|
+
"name": "subsystem",
|
|
579
|
+
"optional": false,
|
|
580
|
+
"typeAnnotation": {
|
|
581
|
+
"type": "StringTypeAnnotation"
|
|
582
|
+
}
|
|
583
|
+
},
|
|
584
|
+
{
|
|
585
|
+
"name": "state_before_event",
|
|
586
|
+
"optional": false,
|
|
587
|
+
"typeAnnotation": {
|
|
588
|
+
"type": "StringTypeAnnotation"
|
|
589
|
+
}
|
|
590
|
+
},
|
|
591
|
+
{
|
|
592
|
+
"name": "report",
|
|
593
|
+
"optional": true,
|
|
594
|
+
"typeAnnotation": {
|
|
595
|
+
"type": "TypeAliasTypeAnnotation",
|
|
596
|
+
"name": "NativeDiagnosticReport"
|
|
597
|
+
}
|
|
598
|
+
}
|
|
599
|
+
]
|
|
600
|
+
},
|
|
601
|
+
"NativeDiagnosticExecution": {
|
|
602
|
+
"type": "ObjectTypeAnnotation",
|
|
603
|
+
"properties": [
|
|
604
|
+
{
|
|
605
|
+
"name": "task",
|
|
606
|
+
"optional": true,
|
|
607
|
+
"typeAnnotation": {
|
|
608
|
+
"type": "StringTypeAnnotation"
|
|
609
|
+
}
|
|
610
|
+
},
|
|
611
|
+
{
|
|
612
|
+
"name": "reti",
|
|
613
|
+
"optional": true,
|
|
614
|
+
"typeAnnotation": {
|
|
615
|
+
"type": "StringTypeAnnotation"
|
|
616
|
+
}
|
|
617
|
+
},
|
|
618
|
+
{
|
|
619
|
+
"name": "rets",
|
|
620
|
+
"optional": true,
|
|
621
|
+
"typeAnnotation": {
|
|
622
|
+
"type": "StringTypeAnnotation"
|
|
623
|
+
}
|
|
624
|
+
},
|
|
625
|
+
{
|
|
626
|
+
"name": "pc_trace",
|
|
627
|
+
"optional": false,
|
|
628
|
+
"typeAnnotation": {
|
|
629
|
+
"type": "ArrayTypeAnnotation",
|
|
630
|
+
"elementType": {
|
|
631
|
+
"type": "StringTypeAnnotation"
|
|
632
|
+
}
|
|
633
|
+
}
|
|
634
|
+
}
|
|
635
|
+
]
|
|
636
|
+
},
|
|
637
|
+
"NativeDiagnosticFault": {
|
|
638
|
+
"type": "ObjectTypeAnnotation",
|
|
639
|
+
"properties": [
|
|
640
|
+
{
|
|
641
|
+
"name": "cpu_id",
|
|
642
|
+
"optional": false,
|
|
643
|
+
"typeAnnotation": {
|
|
644
|
+
"type": "NumberTypeAnnotation"
|
|
645
|
+
}
|
|
646
|
+
},
|
|
647
|
+
{
|
|
648
|
+
"name": "cpu_emu",
|
|
649
|
+
"optional": false,
|
|
650
|
+
"typeAnnotation": {
|
|
651
|
+
"type": "StringTypeAnnotation"
|
|
652
|
+
}
|
|
653
|
+
},
|
|
654
|
+
{
|
|
655
|
+
"name": "core_emu",
|
|
656
|
+
"optional": false,
|
|
657
|
+
"typeAnnotation": {
|
|
658
|
+
"type": "StringTypeAnnotation"
|
|
659
|
+
}
|
|
660
|
+
},
|
|
661
|
+
{
|
|
662
|
+
"name": "hsb_emu",
|
|
663
|
+
"optional": false,
|
|
664
|
+
"typeAnnotation": {
|
|
665
|
+
"type": "StringTypeAnnotation"
|
|
666
|
+
}
|
|
667
|
+
},
|
|
668
|
+
{
|
|
669
|
+
"name": "audio_emu",
|
|
670
|
+
"optional": false,
|
|
671
|
+
"typeAnnotation": {
|
|
672
|
+
"type": "StringTypeAnnotation"
|
|
673
|
+
}
|
|
674
|
+
},
|
|
675
|
+
{
|
|
676
|
+
"name": "wireless_emu",
|
|
677
|
+
"optional": false,
|
|
678
|
+
"typeAnnotation": {
|
|
679
|
+
"type": "StringTypeAnnotation"
|
|
680
|
+
}
|
|
681
|
+
}
|
|
682
|
+
]
|
|
683
|
+
},
|
|
684
|
+
"NativeDiagnosticReport": {
|
|
685
|
+
"type": "ObjectTypeAnnotation",
|
|
686
|
+
"properties": [
|
|
687
|
+
{
|
|
688
|
+
"name": "fault",
|
|
689
|
+
"optional": false,
|
|
690
|
+
"typeAnnotation": {
|
|
691
|
+
"type": "TypeAliasTypeAnnotation",
|
|
692
|
+
"name": "NativeDiagnosticFault"
|
|
693
|
+
}
|
|
694
|
+
},
|
|
695
|
+
{
|
|
696
|
+
"name": "execution",
|
|
697
|
+
"optional": false,
|
|
698
|
+
"typeAnnotation": {
|
|
699
|
+
"type": "TypeAliasTypeAnnotation",
|
|
700
|
+
"name": "NativeDiagnosticExecution"
|
|
701
|
+
}
|
|
702
|
+
},
|
|
703
|
+
{
|
|
704
|
+
"name": "runtime",
|
|
705
|
+
"optional": true,
|
|
706
|
+
"typeAnnotation": {
|
|
707
|
+
"type": "TypeAliasTypeAnnotation",
|
|
708
|
+
"name": "NativeDiagnosticRuntime"
|
|
709
|
+
}
|
|
710
|
+
},
|
|
711
|
+
{
|
|
712
|
+
"name": "breadcrumbs",
|
|
713
|
+
"optional": true,
|
|
714
|
+
"typeAnnotation": {
|
|
715
|
+
"type": "ArrayTypeAnnotation",
|
|
716
|
+
"elementType": {
|
|
717
|
+
"type": "TypeAliasTypeAnnotation",
|
|
718
|
+
"name": "NativeDiagnosticBreadcrumb"
|
|
719
|
+
}
|
|
720
|
+
}
|
|
721
|
+
}
|
|
722
|
+
]
|
|
723
|
+
},
|
|
724
|
+
"NativeDiagnosticRuntime": {
|
|
725
|
+
"type": "ObjectTypeAnnotation",
|
|
726
|
+
"properties": [
|
|
727
|
+
{
|
|
728
|
+
"name": "heap_free_bytes",
|
|
729
|
+
"optional": true,
|
|
730
|
+
"typeAnnotation": {
|
|
731
|
+
"type": "NumberTypeAnnotation"
|
|
732
|
+
}
|
|
733
|
+
},
|
|
734
|
+
{
|
|
735
|
+
"name": "task_stack_remaining_bytes",
|
|
736
|
+
"optional": true,
|
|
737
|
+
"typeAnnotation": {
|
|
738
|
+
"type": "NumberTypeAnnotation"
|
|
739
|
+
}
|
|
740
|
+
}
|
|
741
|
+
]
|
|
742
|
+
},
|
|
743
|
+
"NativeDiagnosticsBatch": {
|
|
744
|
+
"type": "ObjectTypeAnnotation",
|
|
745
|
+
"properties": [
|
|
746
|
+
{
|
|
747
|
+
"name": "schema_version",
|
|
748
|
+
"optional": false,
|
|
749
|
+
"typeAnnotation": {
|
|
750
|
+
"type": "NumberTypeAnnotation"
|
|
751
|
+
}
|
|
752
|
+
},
|
|
753
|
+
{
|
|
754
|
+
"name": "events",
|
|
755
|
+
"optional": false,
|
|
756
|
+
"typeAnnotation": {
|
|
757
|
+
"type": "ArrayTypeAnnotation",
|
|
758
|
+
"elementType": {
|
|
759
|
+
"type": "TypeAliasTypeAnnotation",
|
|
760
|
+
"name": "NativeDiagnosticEvent"
|
|
761
|
+
}
|
|
762
|
+
}
|
|
763
|
+
}
|
|
764
|
+
]
|
|
765
|
+
},
|
|
459
766
|
"NativeDiscoveredDevice": {
|
|
460
767
|
"type": "ObjectTypeAnnotation",
|
|
461
768
|
"properties": [
|
|
@@ -881,6 +1188,34 @@
|
|
|
881
1188
|
"typeAnnotation": {
|
|
882
1189
|
"type": "StringTypeAnnotation"
|
|
883
1190
|
}
|
|
1191
|
+
},
|
|
1192
|
+
{
|
|
1193
|
+
"name": "startedAtMs",
|
|
1194
|
+
"optional": true,
|
|
1195
|
+
"typeAnnotation": {
|
|
1196
|
+
"type": "StringTypeAnnotation"
|
|
1197
|
+
}
|
|
1198
|
+
},
|
|
1199
|
+
{
|
|
1200
|
+
"name": "durationMs",
|
|
1201
|
+
"optional": true,
|
|
1202
|
+
"typeAnnotation": {
|
|
1203
|
+
"type": "StringTypeAnnotation"
|
|
1204
|
+
}
|
|
1205
|
+
},
|
|
1206
|
+
{
|
|
1207
|
+
"name": "plaintextLength",
|
|
1208
|
+
"optional": true,
|
|
1209
|
+
"typeAnnotation": {
|
|
1210
|
+
"type": "StringTypeAnnotation"
|
|
1211
|
+
}
|
|
1212
|
+
},
|
|
1213
|
+
{
|
|
1214
|
+
"name": "storageFormat",
|
|
1215
|
+
"optional": true,
|
|
1216
|
+
"typeAnnotation": {
|
|
1217
|
+
"type": "NumberTypeAnnotation"
|
|
1218
|
+
}
|
|
884
1219
|
}
|
|
885
1220
|
]
|
|
886
1221
|
},
|
|
@@ -1110,6 +1445,34 @@
|
|
|
1110
1445
|
}
|
|
1111
1446
|
]
|
|
1112
1447
|
},
|
|
1448
|
+
"NativePendingRecording": {
|
|
1449
|
+
"type": "ObjectTypeAnnotation",
|
|
1450
|
+
"properties": [
|
|
1451
|
+
{
|
|
1452
|
+
"name": "profile",
|
|
1453
|
+
"optional": false,
|
|
1454
|
+
"typeAnnotation": {
|
|
1455
|
+
"type": "StringTypeAnnotation"
|
|
1456
|
+
}
|
|
1457
|
+
},
|
|
1458
|
+
{
|
|
1459
|
+
"name": "legacy",
|
|
1460
|
+
"optional": true,
|
|
1461
|
+
"typeAnnotation": {
|
|
1462
|
+
"type": "TypeAliasTypeAnnotation",
|
|
1463
|
+
"name": "NativeDeviceRecording"
|
|
1464
|
+
}
|
|
1465
|
+
},
|
|
1466
|
+
{
|
|
1467
|
+
"name": "encrypted",
|
|
1468
|
+
"optional": true,
|
|
1469
|
+
"typeAnnotation": {
|
|
1470
|
+
"type": "TypeAliasTypeAnnotation",
|
|
1471
|
+
"name": "NativeEncryptedUploadV2Recording"
|
|
1472
|
+
}
|
|
1473
|
+
}
|
|
1474
|
+
]
|
|
1475
|
+
},
|
|
1113
1476
|
"NativePowerManagement": {
|
|
1114
1477
|
"type": "ObjectTypeAnnotation",
|
|
1115
1478
|
"properties": [
|
|
@@ -1294,6 +1657,13 @@
|
|
|
1294
1657
|
"typeAnnotation": {
|
|
1295
1658
|
"type": "StringTypeAnnotation"
|
|
1296
1659
|
}
|
|
1660
|
+
},
|
|
1661
|
+
{
|
|
1662
|
+
"name": "fileSizeBytes",
|
|
1663
|
+
"optional": false,
|
|
1664
|
+
"typeAnnotation": {
|
|
1665
|
+
"type": "NumberTypeAnnotation"
|
|
1666
|
+
}
|
|
1297
1667
|
}
|
|
1298
1668
|
]
|
|
1299
1669
|
},
|
|
@@ -1354,6 +1724,13 @@
|
|
|
1354
1724
|
"type": "StringTypeAnnotation"
|
|
1355
1725
|
}
|
|
1356
1726
|
},
|
|
1727
|
+
{
|
|
1728
|
+
"name": "fileSizeBytes",
|
|
1729
|
+
"optional": true,
|
|
1730
|
+
"typeAnnotation": {
|
|
1731
|
+
"type": "NumberTypeAnnotation"
|
|
1732
|
+
}
|
|
1733
|
+
},
|
|
1357
1734
|
{
|
|
1358
1735
|
"name": "uploadUrl",
|
|
1359
1736
|
"optional": false,
|
|
@@ -1951,6 +2328,32 @@
|
|
|
1951
2328
|
}
|
|
1952
2329
|
],
|
|
1953
2330
|
"methods": [
|
|
2331
|
+
{
|
|
2332
|
+
"name": "nextClientPresence",
|
|
2333
|
+
"optional": false,
|
|
2334
|
+
"typeAnnotation": {
|
|
2335
|
+
"type": "FunctionTypeAnnotation",
|
|
2336
|
+
"returnTypeAnnotation": {
|
|
2337
|
+
"type": "PromiseTypeAnnotation",
|
|
2338
|
+
"elementType": {
|
|
2339
|
+
"type": "NullableTypeAnnotation",
|
|
2340
|
+
"typeAnnotation": {
|
|
2341
|
+
"type": "TypeAliasTypeAnnotation",
|
|
2342
|
+
"name": "NativeClientContext"
|
|
2343
|
+
}
|
|
2344
|
+
}
|
|
2345
|
+
},
|
|
2346
|
+
"params": [
|
|
2347
|
+
{
|
|
2348
|
+
"name": "deviceId",
|
|
2349
|
+
"optional": false,
|
|
2350
|
+
"typeAnnotation": {
|
|
2351
|
+
"type": "StringTypeAnnotation"
|
|
2352
|
+
}
|
|
2353
|
+
}
|
|
2354
|
+
]
|
|
2355
|
+
}
|
|
2356
|
+
},
|
|
1954
2357
|
{
|
|
1955
2358
|
"name": "configure",
|
|
1956
2359
|
"optional": false,
|
|
@@ -3002,6 +3405,63 @@
|
|
|
3002
3405
|
"params": []
|
|
3003
3406
|
}
|
|
3004
3407
|
},
|
|
3408
|
+
{
|
|
3409
|
+
"name": "readDiagnosticEvents",
|
|
3410
|
+
"optional": false,
|
|
3411
|
+
"typeAnnotation": {
|
|
3412
|
+
"type": "FunctionTypeAnnotation",
|
|
3413
|
+
"returnTypeAnnotation": {
|
|
3414
|
+
"type": "PromiseTypeAnnotation",
|
|
3415
|
+
"elementType": {
|
|
3416
|
+
"type": "TypeAliasTypeAnnotation",
|
|
3417
|
+
"name": "NativeDiagnosticsBatch"
|
|
3418
|
+
}
|
|
3419
|
+
},
|
|
3420
|
+
"params": [
|
|
3421
|
+
{
|
|
3422
|
+
"name": "device",
|
|
3423
|
+
"optional": false,
|
|
3424
|
+
"typeAnnotation": {
|
|
3425
|
+
"type": "TypeAliasTypeAnnotation",
|
|
3426
|
+
"name": "NativeConnectedDevice"
|
|
3427
|
+
}
|
|
3428
|
+
}
|
|
3429
|
+
]
|
|
3430
|
+
}
|
|
3431
|
+
},
|
|
3432
|
+
{
|
|
3433
|
+
"name": "acknowledgeDiagnosticEvents",
|
|
3434
|
+
"optional": false,
|
|
3435
|
+
"typeAnnotation": {
|
|
3436
|
+
"type": "FunctionTypeAnnotation",
|
|
3437
|
+
"returnTypeAnnotation": {
|
|
3438
|
+
"type": "PromiseTypeAnnotation",
|
|
3439
|
+
"elementType": {
|
|
3440
|
+
"type": "VoidTypeAnnotation"
|
|
3441
|
+
}
|
|
3442
|
+
},
|
|
3443
|
+
"params": [
|
|
3444
|
+
{
|
|
3445
|
+
"name": "device",
|
|
3446
|
+
"optional": false,
|
|
3447
|
+
"typeAnnotation": {
|
|
3448
|
+
"type": "TypeAliasTypeAnnotation",
|
|
3449
|
+
"name": "NativeConnectedDevice"
|
|
3450
|
+
}
|
|
3451
|
+
},
|
|
3452
|
+
{
|
|
3453
|
+
"name": "acceptedEventIds",
|
|
3454
|
+
"optional": false,
|
|
3455
|
+
"typeAnnotation": {
|
|
3456
|
+
"type": "ArrayTypeAnnotation",
|
|
3457
|
+
"elementType": {
|
|
3458
|
+
"type": "StringTypeAnnotation"
|
|
3459
|
+
}
|
|
3460
|
+
}
|
|
3461
|
+
}
|
|
3462
|
+
]
|
|
3463
|
+
}
|
|
3464
|
+
},
|
|
3005
3465
|
{
|
|
3006
3466
|
"name": "stopStatusUpdates",
|
|
3007
3467
|
"optional": false,
|
|
@@ -3121,6 +3581,77 @@
|
|
|
3121
3581
|
]
|
|
3122
3582
|
}
|
|
3123
3583
|
},
|
|
3584
|
+
{
|
|
3585
|
+
"name": "listPendingRecordings",
|
|
3586
|
+
"optional": false,
|
|
3587
|
+
"typeAnnotation": {
|
|
3588
|
+
"type": "FunctionTypeAnnotation",
|
|
3589
|
+
"returnTypeAnnotation": {
|
|
3590
|
+
"type": "PromiseTypeAnnotation",
|
|
3591
|
+
"elementType": {
|
|
3592
|
+
"type": "ArrayTypeAnnotation",
|
|
3593
|
+
"elementType": {
|
|
3594
|
+
"type": "TypeAliasTypeAnnotation",
|
|
3595
|
+
"name": "NativePendingRecording"
|
|
3596
|
+
}
|
|
3597
|
+
}
|
|
3598
|
+
},
|
|
3599
|
+
"params": [
|
|
3600
|
+
{
|
|
3601
|
+
"name": "device",
|
|
3602
|
+
"optional": false,
|
|
3603
|
+
"typeAnnotation": {
|
|
3604
|
+
"type": "TypeAliasTypeAnnotation",
|
|
3605
|
+
"name": "NativeConnectedDevice"
|
|
3606
|
+
}
|
|
3607
|
+
}
|
|
3608
|
+
]
|
|
3609
|
+
}
|
|
3610
|
+
},
|
|
3611
|
+
{
|
|
3612
|
+
"name": "cancelEncryptedRecordingV2",
|
|
3613
|
+
"optional": false,
|
|
3614
|
+
"typeAnnotation": {
|
|
3615
|
+
"type": "FunctionTypeAnnotation",
|
|
3616
|
+
"returnTypeAnnotation": {
|
|
3617
|
+
"type": "PromiseTypeAnnotation",
|
|
3618
|
+
"elementType": {
|
|
3619
|
+
"type": "VoidTypeAnnotation"
|
|
3620
|
+
}
|
|
3621
|
+
},
|
|
3622
|
+
"params": [
|
|
3623
|
+
{
|
|
3624
|
+
"name": "operationId",
|
|
3625
|
+
"optional": false,
|
|
3626
|
+
"typeAnnotation": {
|
|
3627
|
+
"type": "StringTypeAnnotation"
|
|
3628
|
+
}
|
|
3629
|
+
}
|
|
3630
|
+
]
|
|
3631
|
+
}
|
|
3632
|
+
},
|
|
3633
|
+
{
|
|
3634
|
+
"name": "releaseEncryptedUploadV2Material",
|
|
3635
|
+
"optional": false,
|
|
3636
|
+
"typeAnnotation": {
|
|
3637
|
+
"type": "FunctionTypeAnnotation",
|
|
3638
|
+
"returnTypeAnnotation": {
|
|
3639
|
+
"type": "PromiseTypeAnnotation",
|
|
3640
|
+
"elementType": {
|
|
3641
|
+
"type": "VoidTypeAnnotation"
|
|
3642
|
+
}
|
|
3643
|
+
},
|
|
3644
|
+
"params": [
|
|
3645
|
+
{
|
|
3646
|
+
"name": "materialRegistrationId",
|
|
3647
|
+
"optional": false,
|
|
3648
|
+
"typeAnnotation": {
|
|
3649
|
+
"type": "StringTypeAnnotation"
|
|
3650
|
+
}
|
|
3651
|
+
}
|
|
3652
|
+
]
|
|
3653
|
+
}
|
|
3654
|
+
},
|
|
3124
3655
|
{
|
|
3125
3656
|
"name": "resolveEncryptedUploadV2Profile",
|
|
3126
3657
|
"optional": false,
|
|
@@ -3255,6 +3786,35 @@
|
|
|
3255
3786
|
]
|
|
3256
3787
|
}
|
|
3257
3788
|
},
|
|
3789
|
+
{
|
|
3790
|
+
"name": "releaseRecordingFile",
|
|
3791
|
+
"optional": false,
|
|
3792
|
+
"typeAnnotation": {
|
|
3793
|
+
"type": "FunctionTypeAnnotation",
|
|
3794
|
+
"returnTypeAnnotation": {
|
|
3795
|
+
"type": "PromiseTypeAnnotation",
|
|
3796
|
+
"elementType": {
|
|
3797
|
+
"type": "VoidTypeAnnotation"
|
|
3798
|
+
}
|
|
3799
|
+
},
|
|
3800
|
+
"params": [
|
|
3801
|
+
{
|
|
3802
|
+
"name": "taskId",
|
|
3803
|
+
"optional": false,
|
|
3804
|
+
"typeAnnotation": {
|
|
3805
|
+
"type": "StringTypeAnnotation"
|
|
3806
|
+
}
|
|
3807
|
+
},
|
|
3808
|
+
{
|
|
3809
|
+
"name": "localPath",
|
|
3810
|
+
"optional": false,
|
|
3811
|
+
"typeAnnotation": {
|
|
3812
|
+
"type": "StringTypeAnnotation"
|
|
3813
|
+
}
|
|
3814
|
+
}
|
|
3815
|
+
]
|
|
3816
|
+
}
|
|
3817
|
+
},
|
|
3258
3818
|
{
|
|
3259
3819
|
"name": "loadCompatibilityUploadQueue",
|
|
3260
3820
|
"optional": false,
|
|
@@ -3555,11 +4115,11 @@
|
|
|
3555
4115
|
"android": [
|
|
3556
4116
|
{
|
|
3557
4117
|
"path": "java/dev/bota/sdk/reactnative/NativeBotaDeviceSDKSpec.java",
|
|
3558
|
-
"sha256": "
|
|
4118
|
+
"sha256": "3f1acef6907956745c7db721b5ec768a7d099da4a8e85bc50ae960451c261e2d"
|
|
3559
4119
|
},
|
|
3560
4120
|
{
|
|
3561
4121
|
"path": "jni/BotaDeviceSDKSpec-generated.cpp",
|
|
3562
|
-
"sha256": "
|
|
4122
|
+
"sha256": "544e060e90cf43640d48192c784a354c26c96ea47950a58967a70bbbfd010e38"
|
|
3563
4123
|
},
|
|
3564
4124
|
{
|
|
3565
4125
|
"path": "jni/BotaDeviceSDKSpec.h",
|
|
@@ -3571,23 +4131,23 @@
|
|
|
3571
4131
|
},
|
|
3572
4132
|
{
|
|
3573
4133
|
"path": "jni/react/renderer/components/BotaDeviceSDKSpec/BotaDeviceSDKSpecJSI.h",
|
|
3574
|
-
"sha256": "
|
|
4134
|
+
"sha256": "23446d334170a7dab1df1d655e942e052b857ba286a7d18e1729301182ed27f3"
|
|
3575
4135
|
}
|
|
3576
4136
|
],
|
|
3577
4137
|
"ios": [
|
|
3578
4138
|
{
|
|
3579
4139
|
"path": "BotaDeviceSDKSpec/BotaDeviceSDKSpec-generated.mm",
|
|
3580
|
-
"sha256": "
|
|
4140
|
+
"sha256": "26fe0dc191f982056702506a2159a7ee813241333434f0c90e7306b9a9c70a00"
|
|
3581
4141
|
},
|
|
3582
4142
|
{
|
|
3583
4143
|
"path": "BotaDeviceSDKSpec/BotaDeviceSDKSpec.h",
|
|
3584
|
-
"sha256": "
|
|
4144
|
+
"sha256": "5a680da391ab9fabbe0422bf692be4023ea26575c86231657a17518d22ef3260"
|
|
3585
4145
|
},
|
|
3586
4146
|
{
|
|
3587
4147
|
"path": "BotaDeviceSDKSpecJSI.h",
|
|
3588
|
-
"sha256": "
|
|
4148
|
+
"sha256": "23446d334170a7dab1df1d655e942e052b857ba286a7d18e1729301182ed27f3"
|
|
3589
4149
|
}
|
|
3590
4150
|
]
|
|
3591
4151
|
},
|
|
3592
|
-
"contractDigest": "
|
|
4152
|
+
"contractDigest": "d93bf217e50f3418c2c12ab09617f0537dccec30a60caa4bc88fd695b032bc1b"
|
|
3593
4153
|
}
|