edge-impulse-api 1.95.5 → 1.95.7
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/build/browser/edge-impulse-api.d.ts +94 -4
- package/build/browser/edge-impulse-api.js +12 -0
- package/build/browser/edge-impulse-api.js.map +1 -1
- package/build/library/sdk/api/projectsApi.d.ts +4 -0
- package/build/library/sdk/api/projectsApi.js +8 -0
- package/build/library/sdk/api/projectsApi.js.map +1 -1
- package/build/library/sdk/api/rawDataApi.d.ts +2 -0
- package/build/library/sdk/api/rawDataApi.js +4 -0
- package/build/library/sdk/api/rawDataApi.js.map +1 -1
- package/build/library/sdk/model/projectDataSummary.d.ts +17 -1
- package/build/library/sdk/model/projectDatasetMetadataRegressionCategory.d.ts +4 -0
- package/build/library/sdk/model/projectDatasetMetadataRegressionCategory.js.map +1 -1
- package/build/library/sdk/model/projectInfoResponse.d.ts +51 -3
- package/build/library/sdk/model/projectInfoResponse.js.map +1 -1
- package/build/library/sdk/model/projectTrainingDataSummaryResponse.d.ts +16 -0
- package/package.json +1 -1
|
@@ -341,6 +341,7 @@ type getRawDataMetadataDistributionQueryParams = {
|
|
|
341
341
|
};
|
|
342
342
|
type getRawDataProjectMetadataQueryParams = {
|
|
343
343
|
datasetVersionId?: number;
|
|
344
|
+
truncateLabels?: boolean;
|
|
344
345
|
includeDisabled?: 'both' | 'enabled';
|
|
345
346
|
};
|
|
346
347
|
type getSampleQueryParams = {
|
|
@@ -1144,6 +1145,7 @@ export declare class RawDataApi {
|
|
|
1144
1145
|
* @summary Get project dataset metadata
|
|
1145
1146
|
* @param projectId Project ID
|
|
1146
1147
|
* @param datasetVersionId Dataset version ID. If not set, the current dataset version is used
|
|
1148
|
+
* @param truncateLabels If true, only a slice of labels will be returned.
|
|
1147
1149
|
* @param includeDisabled Whether to include enabled-only samples, or both enabled and disabled samples (defaults to both).
|
|
1148
1150
|
*/
|
|
1149
1151
|
getRawDataProjectMetadata(projectId: number, queryParams?: getRawDataProjectMetadataQueryParams, options?: {
|
|
@@ -3601,6 +3601,7 @@ class RawDataApi {
|
|
|
3601
3601
|
* @summary Get project dataset metadata
|
|
3602
3602
|
* @param projectId Project ID
|
|
3603
3603
|
* @param datasetVersionId Dataset version ID. If not set, the current dataset version is used
|
|
3604
|
+
* @param truncateLabels If true, only a slice of labels will be returned.
|
|
3604
3605
|
* @param includeDisabled Whether to include enabled-only samples, or both enabled and disabled samples (defaults to both).
|
|
3605
3606
|
*/
|
|
3606
3607
|
async getRawDataProjectMetadata(projectId, queryParams, options = { headers: {} }) {
|
|
@@ -3628,6 +3629,9 @@ class RawDataApi {
|
|
|
3628
3629
|
if (typeof (queryParams === null || queryParams === void 0 ? void 0 : queryParams.datasetVersionId) !== 'undefined' && (queryParams === null || queryParams === void 0 ? void 0 : queryParams.datasetVersionId) !== null) {
|
|
3629
3630
|
queryParameters['datasetVersionId'] = queryParams.datasetVersionId;
|
|
3630
3631
|
}
|
|
3632
|
+
if (typeof (queryParams === null || queryParams === void 0 ? void 0 : queryParams.truncateLabels) !== 'undefined' && (queryParams === null || queryParams === void 0 ? void 0 : queryParams.truncateLabels) !== null) {
|
|
3633
|
+
queryParameters['truncateLabels'] = queryParams.truncateLabels;
|
|
3634
|
+
}
|
|
3631
3635
|
if (typeof (queryParams === null || queryParams === void 0 ? void 0 : queryParams.includeDisabled) !== 'undefined' && (queryParams === null || queryParams === void 0 ? void 0 : queryParams.includeDisabled) !== null) {
|
|
3632
3636
|
queryParameters['includeDisabled'] = queryParams.includeDisabled;
|
|
3633
3637
|
}
|