edge-impulse-api 1.93.25 → 1.93.27

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 (139) hide show
  1. package/build/browser/edge-impulse-api.d.ts +2385 -12
  2. package/build/browser/edge-impulse-api.js +7228 -803
  3. package/build/browser/edge-impulse-api.js.map +1 -1
  4. package/build/library/sdk/api/adminApi.d.ts +297 -0
  5. package/build/library/sdk/api/adminApi.js +891 -99
  6. package/build/library/sdk/api/adminApi.js.map +1 -1
  7. package/build/library/sdk/api/authApi.d.ts +3 -0
  8. package/build/library/sdk/api/authApi.js +9 -1
  9. package/build/library/sdk/api/authApi.js.map +1 -1
  10. package/build/library/sdk/api/cDNApi.d.ts +3 -0
  11. package/build/library/sdk/api/cDNApi.js +9 -1
  12. package/build/library/sdk/api/cDNApi.js.map +1 -1
  13. package/build/library/sdk/api/canaryApi.d.ts +3 -0
  14. package/build/library/sdk/api/canaryApi.js +9 -1
  15. package/build/library/sdk/api/canaryApi.js.map +1 -1
  16. package/build/library/sdk/api/classifyApi.d.ts +30 -0
  17. package/build/library/sdk/api/classifyApi.js +90 -10
  18. package/build/library/sdk/api/classifyApi.js.map +1 -1
  19. package/build/library/sdk/api/dSPApi.d.ts +57 -0
  20. package/build/library/sdk/api/dSPApi.js +171 -19
  21. package/build/library/sdk/api/dSPApi.js.map +1 -1
  22. package/build/library/sdk/api/datasetVersionsApi.d.ts +18 -0
  23. package/build/library/sdk/api/datasetVersionsApi.js +54 -6
  24. package/build/library/sdk/api/datasetVersionsApi.js.map +1 -1
  25. package/build/library/sdk/api/deploymentApi.d.ts +51 -0
  26. package/build/library/sdk/api/deploymentApi.js +153 -17
  27. package/build/library/sdk/api/deploymentApi.js.map +1 -1
  28. package/build/library/sdk/api/devicesApi.d.ts +48 -0
  29. package/build/library/sdk/api/devicesApi.js +144 -16
  30. package/build/library/sdk/api/devicesApi.js.map +1 -1
  31. package/build/library/sdk/api/emailVerificationApi.d.ts +12 -0
  32. package/build/library/sdk/api/emailVerificationApi.js +36 -4
  33. package/build/library/sdk/api/emailVerificationApi.js.map +1 -1
  34. package/build/library/sdk/api/exportApi.d.ts +6 -0
  35. package/build/library/sdk/api/exportApi.js +18 -2
  36. package/build/library/sdk/api/exportApi.js.map +1 -1
  37. package/build/library/sdk/api/featureFlagsApi.d.ts +3 -0
  38. package/build/library/sdk/api/featureFlagsApi.js +9 -1
  39. package/build/library/sdk/api/featureFlagsApi.js.map +1 -1
  40. package/build/library/sdk/api/healthApi.d.ts +6 -0
  41. package/build/library/sdk/api/healthApi.js +18 -2
  42. package/build/library/sdk/api/healthApi.js.map +1 -1
  43. package/build/library/sdk/api/impulseApi.d.ts +54 -0
  44. package/build/library/sdk/api/impulseApi.js +162 -18
  45. package/build/library/sdk/api/impulseApi.js.map +1 -1
  46. package/build/library/sdk/api/integrationsApi.d.ts +6 -0
  47. package/build/library/sdk/api/integrationsApi.js +18 -2
  48. package/build/library/sdk/api/integrationsApi.js.map +1 -1
  49. package/build/library/sdk/api/jobsApi.d.ts +135 -0
  50. package/build/library/sdk/api/jobsApi.js +409 -45
  51. package/build/library/sdk/api/jobsApi.js.map +1 -1
  52. package/build/library/sdk/api/learnApi.d.ts +87 -0
  53. package/build/library/sdk/api/learnApi.js +261 -29
  54. package/build/library/sdk/api/learnApi.js.map +1 -1
  55. package/build/library/sdk/api/loginApi.d.ts +6 -0
  56. package/build/library/sdk/api/loginApi.js +18 -2
  57. package/build/library/sdk/api/loginApi.js.map +1 -1
  58. package/build/library/sdk/api/metricsApi.d.ts +9 -0
  59. package/build/library/sdk/api/metricsApi.js +27 -3
  60. package/build/library/sdk/api/metricsApi.js.map +1 -1
  61. package/build/library/sdk/api/monitoringApi.d.ts +39 -0
  62. package/build/library/sdk/api/monitoringApi.js +117 -13
  63. package/build/library/sdk/api/monitoringApi.js.map +1 -1
  64. package/build/library/sdk/api/optimizationApi.d.ts +51 -0
  65. package/build/library/sdk/api/optimizationApi.js +153 -17
  66. package/build/library/sdk/api/optimizationApi.js.map +1 -1
  67. package/build/library/sdk/api/organizationBlocksApi.d.ts +105 -0
  68. package/build/library/sdk/api/organizationBlocksApi.js +315 -35
  69. package/build/library/sdk/api/organizationBlocksApi.js.map +1 -1
  70. package/build/library/sdk/api/organizationCreateProjectApi.d.ts +45 -0
  71. package/build/library/sdk/api/organizationCreateProjectApi.js +135 -15
  72. package/build/library/sdk/api/organizationCreateProjectApi.js.map +1 -1
  73. package/build/library/sdk/api/organizationDataApi.d.ts +120 -0
  74. package/build/library/sdk/api/organizationDataApi.js +360 -40
  75. package/build/library/sdk/api/organizationDataApi.js.map +1 -1
  76. package/build/library/sdk/api/organizationDataCampaignsApi.d.ts +36 -0
  77. package/build/library/sdk/api/organizationDataCampaignsApi.js +108 -12
  78. package/build/library/sdk/api/organizationDataCampaignsApi.js.map +1 -1
  79. package/build/library/sdk/api/organizationJobsApi.d.ts +24 -0
  80. package/build/library/sdk/api/organizationJobsApi.js +72 -8
  81. package/build/library/sdk/api/organizationJobsApi.js.map +1 -1
  82. package/build/library/sdk/api/organizationPipelinesApi.d.ts +24 -0
  83. package/build/library/sdk/api/organizationPipelinesApi.js +72 -8
  84. package/build/library/sdk/api/organizationPipelinesApi.js.map +1 -1
  85. package/build/library/sdk/api/organizationPortalsApi.d.ts +21 -0
  86. package/build/library/sdk/api/organizationPortalsApi.js +63 -7
  87. package/build/library/sdk/api/organizationPortalsApi.js.map +1 -1
  88. package/build/library/sdk/api/organizationsApi.d.ts +242 -2
  89. package/build/library/sdk/api/organizationsApi.js +722 -82
  90. package/build/library/sdk/api/organizationsApi.js.map +1 -1
  91. package/build/library/sdk/api/performanceCalibrationApi.d.ts +33 -0
  92. package/build/library/sdk/api/performanceCalibrationApi.js +99 -11
  93. package/build/library/sdk/api/performanceCalibrationApi.js.map +1 -1
  94. package/build/library/sdk/api/postProcessingApi.d.ts +15 -0
  95. package/build/library/sdk/api/postProcessingApi.js +45 -5
  96. package/build/library/sdk/api/postProcessingApi.js.map +1 -1
  97. package/build/library/sdk/api/projectsApi.d.ts +282 -1
  98. package/build/library/sdk/api/projectsApi.js +991 -66
  99. package/build/library/sdk/api/projectsApi.js.map +1 -1
  100. package/build/library/sdk/api/rawDataApi.d.ts +207 -0
  101. package/build/library/sdk/api/rawDataApi.js +621 -69
  102. package/build/library/sdk/api/rawDataApi.js.map +1 -1
  103. package/build/library/sdk/api/testApi.d.ts +12 -0
  104. package/build/library/sdk/api/testApi.js +36 -4
  105. package/build/library/sdk/api/testApi.js.map +1 -1
  106. package/build/library/sdk/api/themesApi.d.ts +18 -0
  107. package/build/library/sdk/api/themesApi.js +54 -6
  108. package/build/library/sdk/api/themesApi.js.map +1 -1
  109. package/build/library/sdk/api/thirdPartyAuthApi.d.ts +21 -0
  110. package/build/library/sdk/api/thirdPartyAuthApi.js +63 -7
  111. package/build/library/sdk/api/thirdPartyAuthApi.js.map +1 -1
  112. package/build/library/sdk/api/uploadPortalApi.d.ts +21 -0
  113. package/build/library/sdk/api/uploadPortalApi.js +63 -7
  114. package/build/library/sdk/api/uploadPortalApi.js.map +1 -1
  115. package/build/library/sdk/api/userApi.d.ts +147 -0
  116. package/build/library/sdk/api/userApi.js +441 -49
  117. package/build/library/sdk/api/userApi.js.map +1 -1
  118. package/build/library/sdk/api/vlmApi.d.ts +15 -0
  119. package/build/library/sdk/api/vlmApi.js +45 -5
  120. package/build/library/sdk/api/vlmApi.js.map +1 -1
  121. package/build/library/sdk/api/whitelabelsApi.d.ts +24 -0
  122. package/build/library/sdk/api/whitelabelsApi.js +72 -8
  123. package/build/library/sdk/api/whitelabelsApi.js.map +1 -1
  124. package/build/library/sdk/model/getExtensionSharedStateListResponse.d.ts +14 -0
  125. package/build/library/sdk/model/getExtensionSharedStateListResponse.js +4 -0
  126. package/build/library/sdk/model/getExtensionSharedStateListResponse.js.map +1 -0
  127. package/build/library/sdk/model/models.d.ts +3 -0
  128. package/build/library/sdk/model/models.js +3 -0
  129. package/build/library/sdk/model/models.js.map +1 -1
  130. package/build/library/sdk/model/oAuthScope.d.ts +1 -1
  131. package/build/library/sdk/model/oAuthScope.js +1 -1
  132. package/build/library/sdk/model/oAuthScope.js.map +1 -1
  133. package/build/library/sdk/model/setExtensionSharedStateRequest.d.ts +13 -0
  134. package/build/library/sdk/model/setExtensionSharedStateRequest.js +4 -0
  135. package/build/library/sdk/model/setExtensionSharedStateRequest.js.map +1 -0
  136. package/build/library/sdk/model/setExtensionSharedStateResponse.d.ts +11 -0
  137. package/build/library/sdk/model/setExtensionSharedStateResponse.js +4 -0
  138. package/build/library/sdk/model/setExtensionSharedStateResponse.js.map +1 -0
  139. package/package.json +1 -1
@@ -473,6 +473,9 @@ export declare class RawDataApi {
473
473
  headers: {
474
474
  [name: string]: string;
475
475
  };
476
+ responseHeadersCallback?: (headers: {
477
+ [name: string]: string;
478
+ }) => void;
476
479
  }): Promise<GenericApiResponse | StartJobResponse>;
477
480
  /**
478
481
  * Batch operation to put multiple samples back into the object detection labeling queue. Depending on the number of affected samples this will either execute immediately or return the ID of a job that will perform this action in batches.
@@ -504,6 +507,9 @@ export declare class RawDataApi {
504
507
  headers: {
505
508
  [name: string]: string;
506
509
  };
510
+ responseHeadersCallback?: (headers: {
511
+ [name: string]: string;
512
+ }) => void;
507
513
  }): Promise<GenericApiResponse | StartJobResponse>;
508
514
  /**
509
515
  * Clears all metadata for multiple samples.
@@ -534,6 +540,9 @@ export declare class RawDataApi {
534
540
  headers: {
535
541
  [name: string]: string;
536
542
  };
543
+ responseHeadersCallback?: (headers: {
544
+ [name: string]: string;
545
+ }) => void;
537
546
  }): Promise<GenericApiResponse>;
538
547
  /**
539
548
  * Clears a specific metadata field (by key) for multiple samples.
@@ -565,6 +574,9 @@ export declare class RawDataApi {
565
574
  headers: {
566
575
  [name: string]: string;
567
576
  };
577
+ responseHeadersCallback?: (headers: {
578
+ [name: string]: string;
579
+ }) => void;
568
580
  }): Promise<GenericApiResponse | StartJobResponse>;
569
581
  /**
570
582
  * Deletes samples. Note that this does not delete the data from cold storage. Depending on the number of affected samples this will either execute immediately or return the ID of a job that will perform this action in batches.
@@ -595,6 +607,9 @@ export declare class RawDataApi {
595
607
  headers: {
596
608
  [name: string]: string;
597
609
  };
610
+ responseHeadersCallback?: (headers: {
611
+ [name: string]: string;
612
+ }) => void;
598
613
  }): Promise<GenericApiResponse | StartJobResponse>;
599
614
  /**
600
615
  * Disables samples, ensuring that they are excluded from the dataset. Depending on the number of affected samples this will either execute immediately or return the ID of a job that will perform this action in batches.
@@ -625,6 +640,9 @@ export declare class RawDataApi {
625
640
  headers: {
626
641
  [name: string]: string;
627
642
  };
643
+ responseHeadersCallback?: (headers: {
644
+ [name: string]: string;
645
+ }) => void;
628
646
  }): Promise<GenericApiResponse | StartJobResponse>;
629
647
  /**
630
648
  * Relabels (or removes) bounding boxes for multiple samples. Depending on the number of affected samples this will either execute immediately or return the ID of a job that will perform this action in batches.
@@ -656,6 +674,9 @@ export declare class RawDataApi {
656
674
  headers: {
657
675
  [name: string]: string;
658
676
  };
677
+ responseHeadersCallback?: (headers: {
678
+ [name: string]: string;
679
+ }) => void;
659
680
  }): Promise<GenericApiResponse | StartJobResponse>;
660
681
  /**
661
682
  * Sets the label (also known as class) of multiple samples. If you want to relabel bounding boxes, use \"batchEditBoundingBoxes\" instead. Depending on the number of affected samples this will either execute immediately or return the ID of a job that will perform this action in batches.
@@ -687,6 +708,9 @@ export declare class RawDataApi {
687
708
  headers: {
688
709
  [name: string]: string;
689
710
  };
711
+ responseHeadersCallback?: (headers: {
712
+ [name: string]: string;
713
+ }) => void;
690
714
  }): Promise<GenericApiResponse | StartJobResponse>;
691
715
  /**
692
716
  * Enables samples, ensuring that they are not excluded from the dataset. Depending on the number of affected samples this will either execute immediately or return the ID of a job that will perform this action in batches.
@@ -717,6 +741,9 @@ export declare class RawDataApi {
717
741
  headers: {
718
742
  [name: string]: string;
719
743
  };
744
+ responseHeadersCallback?: (headers: {
745
+ [name: string]: string;
746
+ }) => void;
720
747
  }): Promise<GenericApiResponse | StartJobResponse>;
721
748
  /**
722
749
  * Move multiple samples to another category (e.g. from test to training). Depending on the number of affected samples this will either execute immediately or return the ID of a job that will perform this action in batches.
@@ -748,6 +775,9 @@ export declare class RawDataApi {
748
775
  headers: {
749
776
  [name: string]: string;
750
777
  };
778
+ responseHeadersCallback?: (headers: {
779
+ [name: string]: string;
780
+ }) => void;
751
781
  }): Promise<GenericApiResponse | StartJobResponse>;
752
782
  /**
753
783
  * Classify an image using another neural network.
@@ -760,6 +790,9 @@ export declare class RawDataApi {
760
790
  headers: {
761
791
  [name: string]: string;
762
792
  };
793
+ responseHeadersCallback?: (headers: {
794
+ [name: string]: string;
795
+ }) => void;
763
796
  }): Promise<ObjectDetectionAutoLabelResponse>;
764
797
  /**
765
798
  * Clears all object detection labels for this dataset, and places all images back in the labeling queue.
@@ -770,6 +803,9 @@ export declare class RawDataApi {
770
803
  headers: {
771
804
  [name: string]: string;
772
805
  };
806
+ responseHeadersCallback?: (headers: {
807
+ [name: string]: string;
808
+ }) => void;
773
809
  }): Promise<GenericApiResponse>;
774
810
  /**
775
811
  * Remove the current data explorer state
@@ -780,6 +816,9 @@ export declare class RawDataApi {
780
816
  headers: {
781
817
  [name: string]: string;
782
818
  };
819
+ responseHeadersCallback?: (headers: {
820
+ [name: string]: string;
821
+ }) => void;
783
822
  }): Promise<GenericApiResponse>;
784
823
  /**
785
824
  * Count all raw data by category.
@@ -808,6 +847,9 @@ export declare class RawDataApi {
808
847
  headers: {
809
848
  [name: string]: string;
810
849
  };
850
+ responseHeadersCallback?: (headers: {
851
+ [name: string]: string;
852
+ }) => void;
811
853
  }): Promise<CountSamplesResponse>;
812
854
  /**
813
855
  * Crop a sample to within a new range. cropStart/cropEnd are relative to the selected datastream. If you have multiple datastreams and OptionalDatastreamIndexParameter is not passed in, the first datastream is used.
@@ -821,6 +863,9 @@ export declare class RawDataApi {
821
863
  headers: {
822
864
  [name: string]: string;
823
865
  };
866
+ responseHeadersCallback?: (headers: {
867
+ [name: string]: string;
868
+ }) => void;
824
869
  }): Promise<CropSampleResponse>;
825
870
  /**
826
871
  * Deletes all samples for this project over all categories. This also invalidates all DSP and learn blocks. Note that this does not delete the data from cold storage.
@@ -831,6 +876,9 @@ export declare class RawDataApi {
831
876
  headers: {
832
877
  [name: string]: string;
833
878
  };
879
+ responseHeadersCallback?: (headers: {
880
+ [name: string]: string;
881
+ }) => void;
834
882
  }): Promise<GenericApiResponse>;
835
883
  /**
836
884
  * Deletes all samples for this project over a single category. Note that this does not delete the data from cold storage.
@@ -842,6 +890,9 @@ export declare class RawDataApi {
842
890
  headers: {
843
891
  [name: string]: string;
844
892
  };
893
+ responseHeadersCallback?: (headers: {
894
+ [name: string]: string;
895
+ }) => void;
845
896
  }): Promise<GenericApiResponse>;
846
897
  /**
847
898
  * Deletes the sample. Note that this does not delete the data from cold storage.
@@ -853,6 +904,9 @@ export declare class RawDataApi {
853
904
  headers: {
854
905
  [name: string]: string;
855
906
  };
907
+ responseHeadersCallback?: (headers: {
908
+ [name: string]: string;
909
+ }) => void;
856
910
  }): Promise<GenericApiResponse>;
857
911
  /**
858
912
  * Disable a sample, ensuring that it is excluded from the dataset.
@@ -864,6 +918,9 @@ export declare class RawDataApi {
864
918
  headers: {
865
919
  [name: string]: string;
866
920
  };
921
+ responseHeadersCallback?: (headers: {
922
+ [name: string]: string;
923
+ }) => void;
867
924
  }): Promise<GenericApiResponse>;
868
925
  /**
869
926
  * Sets the label (also known as class) of the sample. Use the same label for similar types of data, as they are used during training.
@@ -876,6 +933,9 @@ export declare class RawDataApi {
876
933
  headers: {
877
934
  [name: string]: string;
878
935
  };
936
+ responseHeadersCallback?: (headers: {
937
+ [name: string]: string;
938
+ }) => void;
879
939
  }): Promise<GenericApiResponse>;
880
940
  /**
881
941
  * Enable a sample, ensuring that it is not excluded from the dataset.
@@ -887,6 +947,9 @@ export declare class RawDataApi {
887
947
  headers: {
888
948
  [name: string]: string;
889
949
  };
950
+ responseHeadersCallback?: (headers: {
951
+ [name: string]: string;
952
+ }) => void;
890
953
  }): Promise<GenericApiResponse>;
891
954
  /**
892
955
  * Find start and end times for all non-noise events in a sample. If you have multiple datastreams and OptionalDatastreamIndexParameter is not passed in, the first datastream is used.
@@ -900,6 +963,9 @@ export declare class RawDataApi {
900
963
  headers: {
901
964
  [name: string]: string;
902
965
  };
966
+ responseHeadersCallback?: (headers: {
967
+ [name: string]: string;
968
+ }) => void;
903
969
  }): Promise<FindSegmentSampleResponse>;
904
970
  /**
905
971
  * Get proposed changes from an AI Actions job.
@@ -911,6 +977,9 @@ export declare class RawDataApi {
911
977
  headers: {
912
978
  [name: string]: string;
913
979
  };
980
+ responseHeadersCallback?: (headers: {
981
+ [name: string]: string;
982
+ }) => void;
914
983
  }): Promise<GetAIActionsProposedChangesResponse>;
915
984
  /**
916
985
  * Lists all data with an \'imported from\' metadata key. Used to check in a data source which items are already in a project.
@@ -923,6 +992,9 @@ export declare class RawDataApi {
923
992
  headers: {
924
993
  [name: string]: string;
925
994
  };
995
+ responseHeadersCallback?: (headers: {
996
+ [name: string]: string;
997
+ }) => void;
926
998
  }): Promise<GetAllImportedFromResponse>;
927
999
  /**
928
1000
  * t-SNE2 output of the raw dataset
@@ -933,6 +1005,9 @@ export declare class RawDataApi {
933
1005
  headers: {
934
1006
  [name: string]: string;
935
1007
  };
1008
+ responseHeadersCallback?: (headers: {
1009
+ [name: string]: string;
1010
+ }) => void;
936
1011
  }): Promise<GetDataExplorerFeaturesResponse>;
937
1012
  /**
938
1013
  * Predictions for every data explorer point (only available when using current impulse to populate data explorer)
@@ -943,6 +1018,9 @@ export declare class RawDataApi {
943
1018
  headers: {
944
1019
  [name: string]: string;
945
1020
  };
1021
+ responseHeadersCallback?: (headers: {
1022
+ [name: string]: string;
1023
+ }) => void;
946
1024
  }): Promise<DataExplorerPredictionsResponse>;
947
1025
  /**
948
1026
  * Get data explorer configuration, like the type of data, and the input / dsp block to use.
@@ -953,6 +1031,9 @@ export declare class RawDataApi {
953
1031
  headers: {
954
1032
  [name: string]: string;
955
1033
  };
1034
+ responseHeadersCallback?: (headers: {
1035
+ [name: string]: string;
1036
+ }) => void;
956
1037
  }): Promise<GetDataExplorerSettingsResponse>;
957
1038
  /**
958
1039
  * Retrieve number of samples in train and test set.
@@ -963,6 +1044,9 @@ export declare class RawDataApi {
963
1044
  headers: {
964
1045
  [name: string]: string;
965
1046
  };
1047
+ responseHeadersCallback?: (headers: {
1048
+ [name: string]: string;
1049
+ }) => void;
966
1050
  }): Promise<GetDatasetRatioResponse>;
967
1051
  /**
968
1052
  * Obtain metrics that describe the similarity and diversity of a dataset. To calculate these metrics, use the `calculateDataQualityMetrics` endpoint.
@@ -973,6 +1057,9 @@ export declare class RawDataApi {
973
1057
  headers: {
974
1058
  [name: string]: string;
975
1059
  };
1060
+ responseHeadersCallback?: (headers: {
1061
+ [name: string]: string;
1062
+ }) => void;
976
1063
  }): Promise<GetDiversityDataResponse>;
977
1064
  /**
978
1065
  * Obtain metrics that describe potential label noise issues in the dataset. To calculate these metrics, use the `calculateDataQualityMetrics` endpoint.
@@ -983,6 +1070,9 @@ export declare class RawDataApi {
983
1070
  headers: {
984
1071
  [name: string]: string;
985
1072
  };
1073
+ responseHeadersCallback?: (headers: {
1074
+ [name: string]: string;
1075
+ }) => void;
986
1076
  }): Promise<GetLabelNoiseDataResponse>;
987
1077
  /**
988
1078
  * Get all unlabeled items from the object detection queue.
@@ -993,6 +1083,9 @@ export declare class RawDataApi {
993
1083
  headers: {
994
1084
  [name: string]: string;
995
1085
  };
1086
+ responseHeadersCallback?: (headers: {
1087
+ [name: string]: string;
1088
+ }) => void;
996
1089
  }): Promise<ObjectDetectionLabelQueueResponse>;
997
1090
  /**
998
1091
  * Get count for unlabeled items from the object detection queue.
@@ -1003,6 +1096,9 @@ export declare class RawDataApi {
1003
1096
  headers: {
1004
1097
  [name: string]: string;
1005
1098
  };
1099
+ responseHeadersCallback?: (headers: {
1100
+ [name: string]: string;
1101
+ }) => void;
1006
1102
  }): Promise<ObjectDetectionLabelQueueCountResponse>;
1007
1103
  /**
1008
1104
  * Get co-occurrence counts for two metadata keys in a project category. This is experimental and may change in the future.
@@ -1020,6 +1116,9 @@ export declare class RawDataApi {
1020
1116
  headers: {
1021
1117
  [name: string]: string;
1022
1118
  };
1119
+ responseHeadersCallback?: (headers: {
1120
+ [name: string]: string;
1121
+ }) => void;
1023
1122
  }): Promise<GetRawDataMetadataCooccurrenceResponse>;
1024
1123
  /**
1025
1124
  * Get metadata value distribution for a specific metadata key in a project category. Numeric values are returned as histogram buckets, non-numeric values as categorical counts. This is experimental and may change in the future.
@@ -1036,6 +1135,9 @@ export declare class RawDataApi {
1036
1135
  headers: {
1037
1136
  [name: string]: string;
1038
1137
  };
1138
+ responseHeadersCallback?: (headers: {
1139
+ [name: string]: string;
1140
+ }) => void;
1039
1141
  }): Promise<GetRawDataMetadataDistributionResponse>;
1040
1142
  /**
1041
1143
  * Get the raw data metadata for this project
@@ -1048,6 +1150,9 @@ export declare class RawDataApi {
1048
1150
  headers: {
1049
1151
  [name: string]: string;
1050
1152
  };
1153
+ responseHeadersCallback?: (headers: {
1154
+ [name: string]: string;
1155
+ }) => void;
1051
1156
  }): Promise<GetRawDataProjectMetadataResponse>;
1052
1157
  /**
1053
1158
  * Get a sample.
@@ -1064,6 +1169,9 @@ export declare class RawDataApi {
1064
1169
  headers: {
1065
1170
  [name: string]: string;
1066
1171
  };
1172
+ responseHeadersCallback?: (headers: {
1173
+ [name: string]: string;
1174
+ }) => void;
1067
1175
  }): Promise<GetSampleResponse>;
1068
1176
  /**
1069
1177
  * Get a sample as a WAV file. This only applies to samples with an audio axis.
@@ -1079,6 +1187,9 @@ export declare class RawDataApi {
1079
1187
  headers: {
1080
1188
  [name: string]: string;
1081
1189
  };
1190
+ responseHeadersCallback?: (headers: {
1191
+ [name: string]: string;
1192
+ }) => void;
1082
1193
  }): Promise<Buffer>;
1083
1194
  /**
1084
1195
  * Get a sample as an image file. This only applies to samples with RGBA data.
@@ -1094,6 +1205,9 @@ export declare class RawDataApi {
1094
1205
  headers: {
1095
1206
  [name: string]: string;
1096
1207
  };
1208
+ responseHeadersCallback?: (headers: {
1209
+ [name: string]: string;
1210
+ }) => void;
1097
1211
  }): Promise<Buffer>;
1098
1212
  /**
1099
1213
  * Download a sample in it\'s original format as uploaded to the ingestion service.
@@ -1105,6 +1219,9 @@ export declare class RawDataApi {
1105
1219
  headers: {
1106
1220
  [name: string]: string;
1107
1221
  };
1222
+ responseHeadersCallback?: (headers: {
1223
+ [name: string]: string;
1224
+ }) => void;
1108
1225
  }): Promise<Buffer>;
1109
1226
  /**
1110
1227
  * Get a sample as an video file. This only applies to samples with video data.
@@ -1120,6 +1237,9 @@ export declare class RawDataApi {
1120
1237
  headers: {
1121
1238
  [name: string]: string;
1122
1239
  };
1240
+ responseHeadersCallback?: (headers: {
1241
+ [name: string]: string;
1242
+ }) => void;
1123
1243
  }): Promise<Buffer>;
1124
1244
  /**
1125
1245
  * Get metadata for all samples in a project.
@@ -1131,6 +1251,9 @@ export declare class RawDataApi {
1131
1251
  headers: {
1132
1252
  [name: string]: string;
1133
1253
  };
1254
+ responseHeadersCallback?: (headers: {
1255
+ [name: string]: string;
1256
+ }) => void;
1134
1257
  }): Promise<GetSampleMetadataResponse>;
1135
1258
  /**
1136
1259
  * Get a list of unique key value pairs across all samples in a project that can be applied as filters to the /api/{projectId}/raw-data endpoint
@@ -1144,6 +1267,9 @@ export declare class RawDataApi {
1144
1267
  headers: {
1145
1268
  [name: string]: string;
1146
1269
  };
1270
+ responseHeadersCallback?: (headers: {
1271
+ [name: string]: string;
1272
+ }) => void;
1147
1273
  }): Promise<GetSampleMetadataFilterOptionsResponse>;
1148
1274
  /**
1149
1275
  * Get a slice of a sample. If you have multiple datastreams and OptionalDatastreamIndexParameter is not passed in, the first datastream is returned. sliceStart / sliceEnd are relative to the datastream.
@@ -1160,6 +1286,9 @@ export declare class RawDataApi {
1160
1286
  headers: {
1161
1287
  [name: string]: string;
1162
1288
  };
1289
+ responseHeadersCallback?: (headers: {
1290
+ [name: string]: string;
1291
+ }) => void;
1163
1292
  }): Promise<GetSampleDspResponse>;
1164
1293
  /**
1165
1294
  * Returns the results of a previously requested split preview job. This endpoint is used to retrieve the results after a split preview job has been started.
@@ -1170,6 +1299,9 @@ export declare class RawDataApi {
1170
1299
  headers: {
1171
1300
  [name: string]: string;
1172
1301
  };
1302
+ responseHeadersCallback?: (headers: {
1303
+ [name: string]: string;
1304
+ }) => void;
1173
1305
  }): Promise<DatasetSplitPreviewResponse>;
1174
1306
  /**
1175
1307
  * Get the original, uncropped, downsampled data. If you have multiple datastreams and OptionalDatastreamIndexParameter is not passed in, the first datastream is returned. The ZoomStart/ZoomEnd parameters should be relative to the selected datastream.
@@ -1187,6 +1319,9 @@ export declare class RawDataApi {
1187
1319
  headers: {
1188
1320
  [name: string]: string;
1189
1321
  };
1322
+ responseHeadersCallback?: (headers: {
1323
+ [name: string]: string;
1324
+ }) => void;
1190
1325
  }): Promise<GetSampleDspResponse>;
1191
1326
  /**
1192
1327
  * t-SNE2 output of the raw dataset
@@ -1197,6 +1332,9 @@ export declare class RawDataApi {
1197
1332
  headers: {
1198
1333
  [name: string]: string;
1199
1334
  };
1335
+ responseHeadersCallback?: (headers: {
1336
+ [name: string]: string;
1337
+ }) => void;
1200
1338
  }): Promise<HasDataExplorerFeaturesResponse>;
1201
1339
  /**
1202
1340
  * Determine if data diversity metrics have been calculated. To calculate these metrics, use the `calculateDataQualityMetrics` endpoint.
@@ -1207,6 +1345,9 @@ export declare class RawDataApi {
1207
1345
  headers: {
1208
1346
  [name: string]: string;
1209
1347
  };
1348
+ responseHeadersCallback?: (headers: {
1349
+ [name: string]: string;
1350
+ }) => void;
1210
1351
  }): Promise<HasDataExplorerFeaturesResponse>;
1211
1352
  /**
1212
1353
  * Determine if label noise metrics have been calculated. To calculate these metrics, use the `calculateDataQualityMetrics` endpoint.
@@ -1217,6 +1358,9 @@ export declare class RawDataApi {
1217
1358
  headers: {
1218
1359
  [name: string]: string;
1219
1360
  };
1361
+ responseHeadersCallback?: (headers: {
1362
+ [name: string]: string;
1363
+ }) => void;
1220
1364
  }): Promise<HasDataExplorerFeaturesResponse>;
1221
1365
  /**
1222
1366
  * Retrieve all raw data by category.
@@ -1251,6 +1395,9 @@ export declare class RawDataApi {
1251
1395
  headers: {
1252
1396
  [name: string]: string;
1253
1397
  };
1398
+ responseHeadersCallback?: (headers: {
1399
+ [name: string]: string;
1400
+ }) => void;
1254
1401
  }): Promise<ListSamplesResponse>;
1255
1402
  /**
1256
1403
  * Move a sample to another category (e.g. from test to training).
@@ -1263,6 +1410,9 @@ export declare class RawDataApi {
1263
1410
  headers: {
1264
1411
  [name: string]: string;
1265
1412
  };
1413
+ responseHeadersCallback?: (headers: {
1414
+ [name: string]: string;
1415
+ }) => void;
1266
1416
  }): Promise<GenericApiResponse>;
1267
1417
  /**
1268
1418
  * Clears the bounding box labels and moves item back to labeling queue
@@ -1274,6 +1424,9 @@ export declare class RawDataApi {
1274
1424
  headers: {
1275
1425
  [name: string]: string;
1276
1426
  };
1427
+ responseHeadersCallback?: (headers: {
1428
+ [name: string]: string;
1429
+ }) => void;
1277
1430
  }): Promise<GenericApiResponse>;
1278
1431
  /**
1279
1432
  * This API is deprecated, use rebalanceDatasetV2 instead (`/v1/api/{projectId}/v2/rebalance`). Rebalances the dataset over training / testing categories. This resets the category for all data and splits it 80%/20% between training and testing. This is a deterministic process based on the hash of the name of the data.
@@ -1284,6 +1437,9 @@ export declare class RawDataApi {
1284
1437
  headers: {
1285
1438
  [name: string]: string;
1286
1439
  };
1440
+ responseHeadersCallback?: (headers: {
1441
+ [name: string]: string;
1442
+ }) => void;
1287
1443
  }): Promise<RebalanceDatasetResponse>;
1288
1444
  /**
1289
1445
  * Rebalances the dataset over training / testing categories. This resets the category for all data and splits it 80%/20% between training and testing. This is a deterministic process based on the hash of the name of the data. Returns immediately on small datasets, or starts a job on larger datasets. To get the dataset ratio (as returned by the v1 endpoint), use getDatasetRatio. For richer, more powerful dataset splitting with configurable ratios, stratification, and grouping, use splitDataset (`/v1/api/{projectId}/split`).
@@ -1294,6 +1450,9 @@ export declare class RawDataApi {
1294
1450
  headers: {
1295
1451
  [name: string]: string;
1296
1452
  };
1453
+ responseHeadersCallback?: (headers: {
1454
+ [name: string]: string;
1455
+ }) => void;
1297
1456
  }): Promise<GenericApiResponse | StartJobResponse>;
1298
1457
  /**
1299
1458
  * Sets the file name of the sample. This name does not need to be unique, but it\'s highly recommended to do so.
@@ -1306,6 +1465,9 @@ export declare class RawDataApi {
1306
1465
  headers: {
1307
1466
  [name: string]: string;
1308
1467
  };
1468
+ responseHeadersCallback?: (headers: {
1469
+ [name: string]: string;
1470
+ }) => void;
1309
1471
  }): Promise<GenericApiResponse>;
1310
1472
  /**
1311
1473
  * If a sample failed processing, retry the processing operation.
@@ -1317,6 +1479,9 @@ export declare class RawDataApi {
1317
1479
  headers: {
1318
1480
  [name: string]: string;
1319
1481
  };
1482
+ responseHeadersCallback?: (headers: {
1483
+ [name: string]: string;
1484
+ }) => void;
1320
1485
  }): Promise<GenericApiResponse>;
1321
1486
  /**
1322
1487
  * Slice a sample into multiple segments. The original file will be marked as deleted, but you can crop any created segment to retrieve the original file.
@@ -1329,6 +1494,9 @@ export declare class RawDataApi {
1329
1494
  headers: {
1330
1495
  [name: string]: string;
1331
1496
  };
1497
+ responseHeadersCallback?: (headers: {
1498
+ [name: string]: string;
1499
+ }) => void;
1332
1500
  }): Promise<GenericApiResponse>;
1333
1501
  /**
1334
1502
  * Set data explorer configuration, like the type of data, and the input / dsp block to use.
@@ -1340,6 +1508,9 @@ export declare class RawDataApi {
1340
1508
  headers: {
1341
1509
  [name: string]: string;
1342
1510
  };
1511
+ responseHeadersCallback?: (headers: {
1512
+ [name: string]: string;
1513
+ }) => void;
1343
1514
  }): Promise<GenericApiResponse>;
1344
1515
  /**
1345
1516
  * Set the bounding boxes for a sample
@@ -1352,6 +1523,9 @@ export declare class RawDataApi {
1352
1523
  headers: {
1353
1524
  [name: string]: string;
1354
1525
  };
1526
+ responseHeadersCallback?: (headers: {
1527
+ [name: string]: string;
1528
+ }) => void;
1355
1529
  }): Promise<GenericApiResponse>;
1356
1530
  /**
1357
1531
  * Update key/value labels for a sample. This is experimental and may change in the future.
@@ -1364,6 +1538,9 @@ export declare class RawDataApi {
1364
1538
  headers: {
1365
1539
  [name: string]: string;
1366
1540
  };
1541
+ responseHeadersCallback?: (headers: {
1542
+ [name: string]: string;
1543
+ }) => void;
1367
1544
  }): Promise<GenericApiResponse>;
1368
1545
  /**
1369
1546
  * Adds or updates the metadata associated to a sample.
@@ -1376,6 +1553,9 @@ export declare class RawDataApi {
1376
1553
  headers: {
1377
1554
  [name: string]: string;
1378
1555
  };
1556
+ responseHeadersCallback?: (headers: {
1557
+ [name: string]: string;
1558
+ }) => void;
1379
1559
  }): Promise<GenericApiResponse>;
1380
1560
  /**
1381
1561
  * Queue up changes to an object as part of the AI Actions flow. This overwrites any previous proposed changes.
@@ -1388,6 +1568,9 @@ export declare class RawDataApi {
1388
1568
  headers: {
1389
1569
  [name: string]: string;
1390
1570
  };
1571
+ responseHeadersCallback?: (headers: {
1572
+ [name: string]: string;
1573
+ }) => void;
1391
1574
  }): Promise<GenericApiResponse>;
1392
1575
  /**
1393
1576
  * Set structured labels for a sample. If a sample has structured labels the `label` column is ignored, and the sample is allowed to have multiple labels. An array of { startIndex, endIndex, label } needs to be passed in with labels for the complete sample (see `valuesCount` to get the upper bound). endIndex is _inclusive_. If you pass in an incorrect array (e.g. missing values) you\'ll get an error back.
@@ -1400,6 +1583,9 @@ export declare class RawDataApi {
1400
1583
  headers: {
1401
1584
  [name: string]: string;
1402
1585
  };
1586
+ responseHeadersCallback?: (headers: {
1587
+ [name: string]: string;
1588
+ }) => void;
1403
1589
  }): Promise<GenericApiResponse>;
1404
1590
  /**
1405
1591
  * Update the video dimensions for a sample. This is only available for video files that do not have dimensions set yet.
@@ -1412,6 +1598,9 @@ export declare class RawDataApi {
1412
1598
  headers: {
1413
1599
  [name: string]: string;
1414
1600
  };
1601
+ responseHeadersCallback?: (headers: {
1602
+ [name: string]: string;
1603
+ }) => void;
1415
1604
  }): Promise<GenericApiResponse>;
1416
1605
  /**
1417
1606
  * Performs a deterministic, in-place split of the project\'s dataset into \"training\", \"testing\", and optional \"validation\" sets. Split balancing can use the label, one or more metadata keys, or both as a composite grouping signal. Related samples can also be kept together across splits by metadata key. This is a deterministic process based on the hash of the name of the data. Returns immediately on small datasets, or starts a job on larger datasets. For example: { \"trainingSplitRatio\": 0.8, \"testingSplitRatio\": 0.1, \"validationSplitRatio\": 0.1, \"excludeDisabledSamples\": false, \"stratifyBy\": { \"label\": true, \"metadataKeys\": [\"site\", \"scanner\"] }, \"keepTogetherMetadataKeys\": [\"capture_group\"] } With these options, label/site/scanner are used to balance the split, while samples sharing the same capture_group value stay in the same split bucket.
@@ -1423,6 +1612,9 @@ export declare class RawDataApi {
1423
1612
  headers: {
1424
1613
  [name: string]: string;
1425
1614
  };
1615
+ responseHeadersCallback?: (headers: {
1616
+ [name: string]: string;
1617
+ }) => void;
1426
1618
  }): Promise<GenericApiResponse | StartJobResponse>;
1427
1619
  /**
1428
1620
  * Returns a preview of how the project\'s dataset would be split if the current split options were applied. For each group (composite of label and/or metadata keys, or keep-together group), shows the number and percentage of samples that would be assigned to each split. This does not update the dataset, only provides a summary. Returns immediately on small datasets, or starts a job on larger datasets.
@@ -1434,6 +1626,9 @@ export declare class RawDataApi {
1434
1626
  headers: {
1435
1627
  [name: string]: string;
1436
1628
  };
1629
+ responseHeadersCallback?: (headers: {
1630
+ [name: string]: string;
1631
+ }) => void;
1437
1632
  }): Promise<DatasetSplitPreviewResponse | StartJobResponse>;
1438
1633
  /**
1439
1634
  * Split a video sample into individual frames. Depending on the length of the video sample this will either execute immediately or return the ID of a job that will perform this action.
@@ -1446,6 +1641,9 @@ export declare class RawDataApi {
1446
1641
  headers: {
1447
1642
  [name: string]: string;
1448
1643
  };
1644
+ responseHeadersCallback?: (headers: {
1645
+ [name: string]: string;
1646
+ }) => void;
1449
1647
  }): Promise<GenericApiResponse | StartJobResponse>;
1450
1648
  /**
1451
1649
  * When segmenting a sample into smaller segments, store the segment length to ensure uniform segment lengths.
@@ -1457,6 +1655,9 @@ export declare class RawDataApi {
1457
1655
  headers: {
1458
1656
  [name: string]: string;
1459
1657
  };
1658
+ responseHeadersCallback?: (headers: {
1659
+ [name: string]: string;
1660
+ }) => void;
1460
1661
  }): Promise<GenericApiResponse>;
1461
1662
  /**
1462
1663
  * Track objects between two samples. Source sample should have bounding boxes set.
@@ -1468,6 +1669,9 @@ export declare class RawDataApi {
1468
1669
  headers: {
1469
1670
  [name: string]: string;
1470
1671
  };
1672
+ responseHeadersCallback?: (headers: {
1673
+ [name: string]: string;
1674
+ }) => void;
1471
1675
  }): Promise<TrackObjectsResponse>;
1472
1676
  /**
1473
1677
  * Used internally (from a data pipeline) to upload a picture of the data explorer
@@ -1479,6 +1683,9 @@ export declare class RawDataApi {
1479
1683
  headers: {
1480
1684
  [name: string]: string;
1481
1685
  };
1686
+ responseHeadersCallback?: (headers: {
1687
+ [name: string]: string;
1688
+ }) => void;
1482
1689
  }): Promise<GenericApiResponse>;
1483
1690
  }
1484
1691
  export {};