@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.
Files changed (110) hide show
  1. package/README.md +75 -3
  2. package/android/build.gradle +1 -0
  3. package/android/src/main/java/dev/bota/sdk/reactnative/BotaDeviceSDKAndroidDevices.kt +4 -0
  4. package/android/src/main/java/dev/bota/sdk/reactnative/BotaDeviceSDKAndroidDiagnostics.kt +53 -0
  5. package/android/src/main/java/dev/bota/sdk/reactnative/BotaDeviceSDKAndroidLogs.kt +16 -0
  6. package/android/src/main/java/dev/bota/sdk/reactnative/BotaDeviceSDKAndroidRecordingUploads.kt +144 -14
  7. package/android/src/main/java/dev/bota/sdk/reactnative/BotaDeviceSDKAndroidRecordings.kt +150 -29
  8. package/android/src/main/java/dev/bota/sdk/reactnative/BotaDeviceSDKEncryptedUploadV2Materials.kt +27 -0
  9. package/android/src/main/java/dev/bota/sdk/reactnative/BotaDeviceSDKModule.kt +83 -3
  10. package/android/src/test/java/dev/bota/sdk/reactnative/BotaDeviceSDKAndroidDevicesTest.kt +1 -0
  11. package/android/src/test/java/dev/bota/sdk/reactnative/BotaDeviceSDKAndroidLogsTest.kt +33 -0
  12. package/android/src/test/java/dev/bota/sdk/reactnative/BotaDeviceSDKAndroidRecordingUploadsTest.kt +135 -6
  13. package/android/src/test/java/dev/bota/sdk/reactnative/BotaDeviceSDKAndroidRecordingsTest.kt +236 -10
  14. package/generated/codegen-contract.json +568 -8
  15. package/ios/BotaDeviceSDK.mm +114 -0
  16. package/ios/BotaDeviceSDKAppleBridge.swift +141 -4
  17. package/ios/BotaDeviceSDKAppleDevices.swift +11 -0
  18. package/ios/BotaDeviceSDKAppleDiagnostics.swift +40 -0
  19. package/ios/BotaDeviceSDKAppleLogs.swift +18 -0
  20. package/ios/BotaDeviceSDKAppleRecordingUploads.swift +138 -6
  21. package/ios/BotaDeviceSDKAppleRecordings.swift +113 -5
  22. package/ios/BotaDeviceSDKEncryptedUploadV2Materials.swift +40 -0
  23. package/lib/commonjs/BotaClient.js +13 -2
  24. package/lib/commonjs/BotaClient.js.map +1 -1
  25. package/lib/commonjs/ble/constants.js +5 -1
  26. package/lib/commonjs/ble/constants.js.map +1 -1
  27. package/lib/commonjs/ble/deviceDiagnostics.js +240 -0
  28. package/lib/commonjs/ble/deviceDiagnostics.js.map +1 -0
  29. package/lib/commonjs/client.js +183 -28
  30. package/lib/commonjs/client.js.map +1 -1
  31. package/lib/commonjs/index.js +15 -0
  32. package/lib/commonjs/index.js.map +1 -1
  33. package/lib/commonjs/managers/DeviceManager.js +8 -0
  34. package/lib/commonjs/managers/DeviceManager.js.map +1 -1
  35. package/lib/commonjs/managers/NativeUploadQueue.js +386 -0
  36. package/lib/commonjs/managers/NativeUploadQueue.js.map +1 -0
  37. package/lib/commonjs/managers/RecordingManager.js +83 -102
  38. package/lib/commonjs/managers/RecordingManager.js.map +1 -1
  39. package/lib/commonjs/managers/uploadRecoveryMetadata.js +83 -0
  40. package/lib/commonjs/managers/uploadRecoveryMetadata.js.map +1 -0
  41. package/lib/commonjs/sdkIdentity.js +10 -0
  42. package/lib/commonjs/sdkIdentity.js.map +1 -0
  43. package/lib/commonjs/specs/NativeBotaDeviceSDK.js.map +1 -1
  44. package/lib/module/BotaClient.js +13 -2
  45. package/lib/module/BotaClient.js.map +1 -1
  46. package/lib/module/ble/constants.js +4 -0
  47. package/lib/module/ble/constants.js.map +1 -1
  48. package/lib/module/ble/deviceDiagnostics.js +234 -0
  49. package/lib/module/ble/deviceDiagnostics.js.map +1 -0
  50. package/lib/module/client.js +183 -28
  51. package/lib/module/client.js.map +1 -1
  52. package/lib/module/index.js +2 -0
  53. package/lib/module/index.js.map +1 -1
  54. package/lib/module/managers/DeviceManager.js +8 -0
  55. package/lib/module/managers/DeviceManager.js.map +1 -1
  56. package/lib/module/managers/NativeUploadQueue.js +380 -0
  57. package/lib/module/managers/NativeUploadQueue.js.map +1 -0
  58. package/lib/module/managers/RecordingManager.js +83 -102
  59. package/lib/module/managers/RecordingManager.js.map +1 -1
  60. package/lib/module/managers/uploadRecoveryMetadata.js +77 -0
  61. package/lib/module/managers/uploadRecoveryMetadata.js.map +1 -0
  62. package/lib/module/sdkIdentity.js +6 -0
  63. package/lib/module/sdkIdentity.js.map +1 -0
  64. package/lib/module/specs/NativeBotaDeviceSDK.js.map +1 -1
  65. package/lib/typescript/BotaClient.d.ts.map +1 -1
  66. package/lib/typescript/ble/constants.d.ts +4 -0
  67. package/lib/typescript/ble/constants.d.ts.map +1 -1
  68. package/lib/typescript/ble/deviceDiagnostics.d.ts +10 -0
  69. package/lib/typescript/ble/deviceDiagnostics.d.ts.map +1 -0
  70. package/lib/typescript/client.d.ts +24 -3
  71. package/lib/typescript/client.d.ts.map +1 -1
  72. package/lib/typescript/index.d.ts +6 -4
  73. package/lib/typescript/index.d.ts.map +1 -1
  74. package/lib/typescript/managers/DeviceManager.d.ts +3 -1
  75. package/lib/typescript/managers/DeviceManager.d.ts.map +1 -1
  76. package/lib/typescript/managers/NativeUploadQueue.d.ts +41 -0
  77. package/lib/typescript/managers/NativeUploadQueue.d.ts.map +1 -0
  78. package/lib/typescript/managers/RecordingManager.d.ts +3 -8
  79. package/lib/typescript/managers/RecordingManager.d.ts.map +1 -1
  80. package/lib/typescript/managers/types.d.ts +6 -1
  81. package/lib/typescript/managers/types.d.ts.map +1 -1
  82. package/lib/typescript/managers/uploadRecoveryMetadata.d.ts +6 -0
  83. package/lib/typescript/managers/uploadRecoveryMetadata.d.ts.map +1 -0
  84. package/lib/typescript/models/Device.d.ts +42 -0
  85. package/lib/typescript/models/Device.d.ts.map +1 -1
  86. package/lib/typescript/models/Recording.d.ts +47 -0
  87. package/lib/typescript/models/Recording.d.ts.map +1 -1
  88. package/lib/typescript/models/Status.d.ts +5 -1
  89. package/lib/typescript/models/Status.d.ts.map +1 -1
  90. package/lib/typescript/sdkIdentity.d.ts +3 -0
  91. package/lib/typescript/sdkIdentity.d.ts.map +1 -0
  92. package/lib/typescript/specs/NativeBotaDeviceSDK.d.ts +70 -0
  93. package/lib/typescript/specs/NativeBotaDeviceSDK.d.ts.map +1 -1
  94. package/package.json +1 -1
  95. package/scripts/bota_device_sdk_spm_workaround.rb +26 -15
  96. package/src/BotaClient.ts +13 -3
  97. package/src/ble/constants.ts +5 -0
  98. package/src/ble/deviceDiagnostics.ts +238 -0
  99. package/src/client.ts +189 -18
  100. package/src/index.ts +14 -0
  101. package/src/managers/DeviceManager.ts +11 -0
  102. package/src/managers/NativeUploadQueue.ts +330 -0
  103. package/src/managers/RecordingManager.ts +83 -116
  104. package/src/managers/types.ts +7 -1
  105. package/src/managers/uploadRecoveryMetadata.ts +59 -0
  106. package/src/models/Device.ts +43 -0
  107. package/src/models/Recording.ts +52 -0
  108. package/src/models/Status.ts +5 -1
  109. package/src/sdkIdentity.ts +3 -0
  110. 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.1",
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": "82e288251f50d1c53d3640e979585242ef07eb838872f5db48c37e4cb3c839cd"
4118
+ "sha256": "3f1acef6907956745c7db721b5ec768a7d099da4a8e85bc50ae960451c261e2d"
3559
4119
  },
3560
4120
  {
3561
4121
  "path": "jni/BotaDeviceSDKSpec-generated.cpp",
3562
- "sha256": "d8f56a124885f1c415f263c729e2f6c436133745a7ad4ade3edf8360b2596f54"
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": "4b354a2d62aa5113c5eb78c395bb706ded19e5663d91a692e6e0c3f5cb7c4412"
4134
+ "sha256": "23446d334170a7dab1df1d655e942e052b857ba286a7d18e1729301182ed27f3"
3575
4135
  }
3576
4136
  ],
3577
4137
  "ios": [
3578
4138
  {
3579
4139
  "path": "BotaDeviceSDKSpec/BotaDeviceSDKSpec-generated.mm",
3580
- "sha256": "1ed6a1cdf0005a89698fc1efb606feaa7b0f3a7db32ec044d03fe18a58eeafdb"
4140
+ "sha256": "26fe0dc191f982056702506a2159a7ee813241333434f0c90e7306b9a9c70a00"
3581
4141
  },
3582
4142
  {
3583
4143
  "path": "BotaDeviceSDKSpec/BotaDeviceSDKSpec.h",
3584
- "sha256": "b82ad40be5f970788d4ad43b4152c48ec389bb91d56cd7f50ae23741e4ead9c2"
4144
+ "sha256": "5a680da391ab9fabbe0422bf692be4023ea26575c86231657a17518d22ef3260"
3585
4145
  },
3586
4146
  {
3587
4147
  "path": "BotaDeviceSDKSpecJSI.h",
3588
- "sha256": "4b354a2d62aa5113c5eb78c395bb706ded19e5663d91a692e6e0c3f5cb7c4412"
4148
+ "sha256": "23446d334170a7dab1df1d655e942e052b857ba286a7d18e1729301182ed27f3"
3589
4149
  }
3590
4150
  ]
3591
4151
  },
3592
- "contractDigest": "06be80912746cdb154585b1a3f12ce9062e3a91b44cee97410405517eaf331f3"
4152
+ "contractDigest": "d93bf217e50f3418c2c12ab09617f0537dccec30a60caa4bc88fd695b032bc1b"
3593
4153
  }