edge-impulse-linux 1.25.0 → 1.25.1
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/cli/linux/linux-device.js +3 -0
- package/build/cli/linux/linux-device.js.map +1 -1
- package/build/cli/linux/linux.js +0 -0
- package/build/cli/linux/runner.js +0 -0
- package/build/cli/linux/webserver/public/webserver.js +8 -10
- package/build/cli/linux/webserver/public/webserver.js.map +1 -1
- package/build/cli-common/make-image.d.ts +4 -0
- package/build/cli-common/make-image.js +36 -0
- package/build/cli-common/make-image.js.map +1 -1
- package/build/sdk/studio/sdk/api/adminApi.d.ts +15 -0
- package/build/sdk/studio/sdk/api/adminApi.js +77 -0
- package/build/sdk/studio/sdk/api/adminApi.js.map +1 -1
- package/build/sdk/studio/sdk/api/apis.d.ts +3 -1
- package/build/sdk/studio/sdk/api/apis.js +3 -1
- package/build/sdk/studio/sdk/api/apis.js.map +1 -1
- package/build/sdk/studio/sdk/api/classifyApi.d.ts +4 -2
- package/build/sdk/studio/sdk/api/classifyApi.js +5 -1
- package/build/sdk/studio/sdk/api/classifyApi.js.map +1 -1
- package/build/sdk/studio/sdk/api/dSPApi.d.ts +6 -6
- package/build/sdk/studio/sdk/api/dSPApi.js +5 -5
- package/build/sdk/studio/sdk/api/dSPApi.js.map +1 -1
- package/build/sdk/studio/sdk/api/datasetVersionsApi.d.ts +204 -0
- package/build/sdk/studio/sdk/api/datasetVersionsApi.js +873 -0
- package/build/sdk/studio/sdk/api/datasetVersionsApi.js.map +1 -0
- package/build/sdk/studio/sdk/api/exportApi.d.ts +10 -0
- package/build/sdk/studio/sdk/api/exportApi.js +65 -0
- package/build/sdk/studio/sdk/api/exportApi.js.map +1 -1
- package/build/sdk/studio/sdk/api/projectsApi.d.ts +10 -0
- package/build/sdk/studio/sdk/api/projectsApi.js +73 -0
- package/build/sdk/studio/sdk/api/projectsApi.js.map +1 -1
- package/build/sdk/studio/sdk/api/rawDataApi.d.ts +102 -33
- package/build/sdk/studio/sdk/api/rawDataApi.js +306 -64
- package/build/sdk/studio/sdk/api/rawDataApi.js.map +1 -1
- package/build/sdk/studio/sdk/api/testApi.d.ts +24 -0
- package/build/sdk/studio/sdk/api/testApi.js +146 -0
- package/build/sdk/studio/sdk/api/testApi.js.map +1 -1
- package/build/sdk/studio/sdk/model/actorOAuthClient.d.ts +33 -0
- package/build/sdk/studio/sdk/model/actorOAuthClient.js +55 -0
- package/build/sdk/studio/sdk/model/actorOAuthClient.js.map +1 -0
- package/build/sdk/studio/sdk/model/actorProjectApiKey.d.ts +43 -0
- package/build/sdk/studio/sdk/model/actorProjectApiKey.js +76 -0
- package/build/sdk/studio/sdk/model/actorProjectApiKey.js.map +1 -0
- package/build/sdk/studio/sdk/model/actorProjectApiKeyAllOf.d.ts +27 -0
- package/build/sdk/studio/sdk/model/actorProjectApiKeyAllOf.js +30 -0
- package/build/sdk/studio/sdk/model/actorProjectApiKeyAllOf.js.map +1 -0
- package/build/sdk/studio/sdk/model/actorUser.d.ts +31 -0
- package/build/sdk/studio/sdk/model/actorUser.js +50 -0
- package/build/sdk/studio/sdk/model/actorUser.js.map +1 -0
- package/build/sdk/studio/sdk/model/{datasetStratificationPreviewData.d.ts → actorUserAllOf.d.ts} +4 -3
- package/build/sdk/studio/sdk/model/actorUserAllOf.js +30 -0
- package/build/sdk/studio/sdk/model/actorUserAllOf.js.map +1 -0
- package/build/sdk/studio/sdk/model/adminProjectKillSwitchResponse.d.ts +40 -0
- package/build/sdk/studio/sdk/model/adminProjectKillSwitchResponse.js +44 -0
- package/build/sdk/studio/sdk/model/adminProjectKillSwitchResponse.js.map +1 -0
- package/build/sdk/studio/sdk/model/adminProjectKillSwitchResponseAllOf.d.ts +32 -0
- package/build/sdk/studio/sdk/model/adminProjectKillSwitchResponseAllOf.js +34 -0
- package/build/sdk/studio/sdk/model/adminProjectKillSwitchResponseAllOf.js.map +1 -0
- package/build/sdk/studio/sdk/model/autotuneDspRequest.d.ts +6 -0
- package/build/sdk/studio/sdk/model/autotuneDspRequest.js +5 -0
- package/build/sdk/studio/sdk/model/autotuneDspRequest.js.map +1 -1
- package/build/sdk/studio/sdk/model/classifySampleResponse.d.ts +2 -2
- package/build/sdk/studio/sdk/model/classifySampleResponse.js +1 -1
- package/build/sdk/studio/sdk/model/classifySampleResponse.js.map +1 -1
- package/build/sdk/studio/sdk/model/classifySampleResponseAllOf.d.ts +2 -2
- package/build/sdk/studio/sdk/model/classifySampleResponseAllOf.js +1 -1
- package/build/sdk/studio/sdk/model/classifySampleResponseAllOf.js.map +1 -1
- package/build/sdk/studio/sdk/model/classifySampleResponseClassification.d.ts +8 -0
- package/build/sdk/studio/sdk/model/classifySampleResponseClassification.js +10 -0
- package/build/sdk/studio/sdk/model/classifySampleResponseClassification.js.map +1 -1
- package/build/sdk/studio/sdk/model/classifySampleResponseMultipleVariants.d.ts +2 -2
- package/build/sdk/studio/sdk/model/classifySampleResponseMultipleVariants.js +1 -1
- package/build/sdk/studio/sdk/model/classifySampleResponseMultipleVariants.js.map +1 -1
- package/build/sdk/studio/sdk/model/classifySampleResponseMultipleVariantsAllOf.d.ts +2 -2
- package/build/sdk/studio/sdk/model/classifySampleResponseMultipleVariantsAllOf.js +1 -1
- package/build/sdk/studio/sdk/model/classifySampleResponseMultipleVariantsAllOf.js.map +1 -1
- package/build/sdk/studio/sdk/model/createTestUserRequest.d.ts +40 -0
- package/build/sdk/studio/sdk/model/createTestUserRequest.js +44 -0
- package/build/sdk/studio/sdk/model/createTestUserRequest.js.map +1 -0
- package/build/sdk/studio/sdk/model/createTestUserResponse.d.ts +46 -0
- package/build/sdk/studio/sdk/model/createTestUserResponse.js +59 -0
- package/build/sdk/studio/sdk/model/createTestUserResponse.js.map +1 -0
- package/build/sdk/studio/sdk/model/createTestUserResponseAllOf.d.ts +38 -0
- package/build/sdk/studio/sdk/model/createTestUserResponseAllOf.js +49 -0
- package/build/sdk/studio/sdk/model/createTestUserResponseAllOf.js.map +1 -0
- package/build/sdk/studio/sdk/model/dBAction.d.ts +13 -0
- package/build/sdk/studio/sdk/model/dBAction.js +16 -0
- package/build/sdk/studio/sdk/model/dBAction.js.map +1 -0
- package/build/sdk/studio/sdk/model/datasetRatioDataRatio.d.ts +6 -2
- package/build/sdk/studio/sdk/model/datasetRatioDataRatio.js +5 -0
- package/build/sdk/studio/sdk/model/datasetRatioDataRatio.js.map +1 -1
- package/build/sdk/studio/sdk/model/{datasetStratificationOptions.d.ts → datasetSplitOptions.d.ts} +13 -7
- package/build/sdk/studio/sdk/model/datasetSplitOptions.js +54 -0
- package/build/sdk/studio/sdk/model/datasetSplitOptions.js.map +1 -0
- package/build/sdk/studio/sdk/model/datasetSplitOptionsStratifyBy.d.ts +35 -0
- package/build/sdk/studio/sdk/model/datasetSplitOptionsStratifyBy.js +37 -0
- package/build/sdk/studio/sdk/model/datasetSplitOptionsStratifyBy.js.map +1 -0
- package/build/sdk/studio/sdk/model/datasetSplitPreview.d.ts +27 -0
- package/build/sdk/studio/sdk/model/datasetSplitPreview.js +34 -0
- package/build/sdk/studio/sdk/model/datasetSplitPreview.js.map +1 -0
- package/build/sdk/studio/sdk/model/{datasetStratificationPreviewResponse.d.ts → datasetSplitPreviewResponse.d.ts} +3 -3
- package/build/sdk/studio/sdk/model/{datasetStratificationPreviewResponse.js → datasetSplitPreviewResponse.js} +8 -8
- package/build/sdk/studio/sdk/model/datasetSplitPreviewResponse.js.map +1 -0
- package/build/sdk/studio/sdk/model/{datasetStratificationPreviewDataData.d.ts → datasetSplitPreviewResponseAllOf.d.ts} +3 -5
- package/build/sdk/studio/sdk/model/{datasetStratificationPreviewData.js → datasetSplitPreviewResponseAllOf.js} +8 -8
- package/build/sdk/studio/sdk/model/{datasetStratificationPreviewData.js.map → datasetSplitPreviewResponseAllOf.js.map} +1 -1
- package/build/sdk/studio/sdk/model/datasetSplitPreviewRow.d.ts +32 -0
- package/build/sdk/studio/sdk/model/datasetSplitPreviewRow.js +55 -0
- package/build/sdk/studio/sdk/model/datasetSplitPreviewRow.js.map +1 -0
- package/build/sdk/studio/sdk/model/datasetSplitPreviewSection.d.ts +29 -0
- package/build/sdk/studio/sdk/model/datasetSplitPreviewSection.js +44 -0
- package/build/sdk/studio/sdk/model/datasetSplitPreviewSection.js.map +1 -0
- package/build/sdk/studio/sdk/model/datasetVersion.d.ts +67 -0
- package/build/sdk/studio/sdk/model/datasetVersion.js +79 -0
- package/build/sdk/studio/sdk/model/datasetVersion.js.map +1 -0
- package/build/sdk/studio/sdk/model/datasetVersionChangeItem.d.ts +35 -0
- package/build/sdk/studio/sdk/model/datasetVersionChangeItem.js +44 -0
- package/build/sdk/studio/sdk/model/datasetVersionChangeItem.js.map +1 -0
- package/build/sdk/studio/sdk/model/datasetVersionPendingWindow.d.ts +36 -0
- package/build/sdk/studio/sdk/model/datasetVersionPendingWindow.js +39 -0
- package/build/sdk/studio/sdk/model/datasetVersionPendingWindow.js.map +1 -0
- package/build/sdk/studio/sdk/model/datasetVersionSummary.d.ts +34 -0
- package/build/sdk/studio/sdk/model/datasetVersionSummary.js +39 -0
- package/build/sdk/studio/sdk/model/datasetVersionSummary.js.map +1 -0
- package/build/sdk/studio/sdk/model/datasetVersionSummaryActionCounts.d.ts +39 -0
- package/build/sdk/studio/sdk/model/datasetVersionSummaryActionCounts.js +42 -0
- package/build/sdk/studio/sdk/model/datasetVersionSummaryActionCounts.js.map +1 -0
- package/build/sdk/studio/sdk/model/datasetVersionType.d.ts +13 -0
- package/build/sdk/studio/sdk/model/datasetVersionType.js +16 -0
- package/build/sdk/studio/sdk/model/datasetVersionType.js.map +1 -0
- package/build/sdk/studio/sdk/model/deleteTestUserRequest.d.ts +28 -0
- package/build/sdk/studio/sdk/model/deleteTestUserRequest.js +29 -0
- package/build/sdk/studio/sdk/model/deleteTestUserRequest.js.map +1 -0
- package/build/sdk/studio/sdk/model/deleteTestUserResponse.d.ts +36 -0
- package/build/sdk/studio/sdk/model/deleteTestUserResponse.js +39 -0
- package/build/sdk/studio/sdk/model/deleteTestUserResponse.js.map +1 -0
- package/build/sdk/studio/sdk/model/deleteTestUserResponseAllOf.d.ts +28 -0
- package/build/sdk/studio/sdk/model/deleteTestUserResponseAllOf.js +29 -0
- package/build/sdk/studio/sdk/model/deleteTestUserResponseAllOf.js.map +1 -0
- package/build/sdk/studio/sdk/model/getDataExplorerFeaturesResponseAllOfSample.d.ts +1 -1
- package/build/sdk/studio/sdk/model/getDataExplorerFeaturesResponseAllOfSample.js +1 -1
- package/build/sdk/studio/sdk/model/getDataExplorerFeaturesResponseAllOfSample.js.map +1 -1
- package/build/sdk/studio/sdk/model/getDatasetVersionRawDataResponse.d.ts +35 -0
- package/build/sdk/studio/sdk/model/getDatasetVersionRawDataResponse.js +44 -0
- package/build/sdk/studio/sdk/model/getDatasetVersionRawDataResponse.js.map +1 -0
- package/build/sdk/studio/sdk/model/getDatasetVersionRawDataSampleResponse.d.ts +34 -0
- package/build/sdk/studio/sdk/model/getDatasetVersionRawDataSampleResponse.js +39 -0
- package/build/sdk/studio/sdk/model/getDatasetVersionRawDataSampleResponse.js.map +1 -0
- package/build/sdk/studio/sdk/model/getDatasetVersionRawDataSampleResponseAllOf.d.ts +26 -0
- package/build/sdk/studio/sdk/model/getDatasetVersionRawDataSampleResponseAllOf.js +29 -0
- package/build/sdk/studio/sdk/model/getDatasetVersionRawDataSampleResponseAllOf.js.map +1 -0
- package/build/sdk/studio/sdk/model/getDatasetVersionResponse.d.ts +34 -0
- package/build/sdk/studio/sdk/model/getDatasetVersionResponse.js +39 -0
- package/build/sdk/studio/sdk/model/getDatasetVersionResponse.js.map +1 -0
- package/build/sdk/studio/sdk/model/getDatasetVersionResponseAllOf.d.ts +26 -0
- package/build/sdk/studio/sdk/model/getDatasetVersionResponseAllOf.js +29 -0
- package/build/sdk/studio/sdk/model/getDatasetVersionResponseAllOf.js.map +1 -0
- package/build/sdk/studio/sdk/model/getDatasetVersionSampleChangeDetailsResponse.d.ts +34 -0
- package/build/sdk/studio/sdk/model/getDatasetVersionSampleChangeDetailsResponse.js +39 -0
- package/build/sdk/studio/sdk/model/getDatasetVersionSampleChangeDetailsResponse.js.map +1 -0
- package/build/sdk/studio/sdk/model/getDatasetVersionSampleChangeDetailsResponseAllOf.d.ts +26 -0
- package/build/sdk/studio/sdk/model/getDatasetVersionSampleChangeDetailsResponseAllOf.js +29 -0
- package/build/sdk/studio/sdk/model/getDatasetVersionSampleChangeDetailsResponseAllOf.js.map +1 -0
- package/build/sdk/studio/sdk/model/getRawDataMetadataCooccurrenceResponse.d.ts +58 -0
- package/build/sdk/studio/sdk/model/getRawDataMetadataCooccurrenceResponse.js +150 -0
- package/build/sdk/studio/sdk/model/getRawDataMetadataCooccurrenceResponse.js.map +1 -0
- package/build/sdk/studio/sdk/model/getRawDataMetadataCooccurrenceResponseAllOf.d.ts +50 -0
- package/build/sdk/studio/sdk/model/getRawDataMetadataCooccurrenceResponseAllOf.js +140 -0
- package/build/sdk/studio/sdk/model/getRawDataMetadataCooccurrenceResponseAllOf.js.map +1 -0
- package/build/sdk/studio/sdk/model/getRawDataMetadataDistributionResponse.d.ts +47 -0
- package/build/sdk/studio/sdk/model/getRawDataMetadataDistributionResponse.js +85 -0
- package/build/sdk/studio/sdk/model/getRawDataMetadataDistributionResponse.js.map +1 -0
- package/build/sdk/studio/sdk/model/getRawDataMetadataDistributionResponseAllOf.d.ts +39 -0
- package/build/sdk/studio/sdk/model/getRawDataMetadataDistributionResponseAllOf.js +75 -0
- package/build/sdk/studio/sdk/model/getRawDataMetadataDistributionResponseAllOf.js.map +1 -0
- package/build/sdk/studio/sdk/model/getSampleDspResponse.d.ts +40 -0
- package/build/sdk/studio/sdk/model/getSampleDspResponse.js +49 -0
- package/build/sdk/studio/sdk/model/getSampleDspResponse.js.map +1 -0
- package/build/sdk/studio/sdk/model/getSampleResponse.d.ts +2 -0
- package/build/sdk/studio/sdk/model/getSampleResponse.js +5 -0
- package/build/sdk/studio/sdk/model/getSampleResponse.js.map +1 -1
- package/build/sdk/studio/sdk/model/impulseInputBlock.d.ts +6 -6
- package/build/sdk/studio/sdk/model/impulseInputBlock.js +7 -3
- package/build/sdk/studio/sdk/model/impulseInputBlock.js.map +1 -1
- package/build/sdk/studio/sdk/model/inputBlock.d.ts +2 -3
- package/build/sdk/studio/sdk/model/inputBlock.js +2 -3
- package/build/sdk/studio/sdk/model/inputBlock.js.map +1 -1
- package/build/sdk/studio/sdk/model/inputBlockType.d.ts +13 -0
- package/build/sdk/studio/sdk/model/inputBlockType.js +16 -0
- package/build/sdk/studio/sdk/model/inputBlockType.js.map +1 -0
- package/build/sdk/studio/sdk/model/lastUpdatedByDatasetVersionRestore.d.ts +45 -0
- package/build/sdk/studio/sdk/model/lastUpdatedByDatasetVersionRestore.js +48 -0
- package/build/sdk/studio/sdk/model/lastUpdatedByDatasetVersionRestore.js.map +1 -0
- package/build/sdk/studio/sdk/model/lastUpdatedByOAuthClient.d.ts +38 -0
- package/build/sdk/studio/sdk/model/lastUpdatedByOAuthClient.js +43 -0
- package/build/sdk/studio/sdk/model/lastUpdatedByOAuthClient.js.map +1 -0
- package/build/sdk/studio/sdk/model/lastUpdatedByProjectApiKey.d.ts +34 -0
- package/build/sdk/studio/sdk/model/lastUpdatedByProjectApiKey.js +38 -0
- package/build/sdk/studio/sdk/model/lastUpdatedByProjectApiKey.js.map +1 -0
- package/build/sdk/studio/sdk/model/lastUpdatedByUser.d.ts +34 -0
- package/build/sdk/studio/sdk/model/lastUpdatedByUser.js +38 -0
- package/build/sdk/studio/sdk/model/lastUpdatedByUser.js.map +1 -0
- package/build/sdk/studio/sdk/model/listDatasetVersionChangesResponse.d.ts +35 -0
- package/build/sdk/studio/sdk/model/listDatasetVersionChangesResponse.js +44 -0
- package/build/sdk/studio/sdk/model/listDatasetVersionChangesResponse.js.map +1 -0
- package/build/sdk/studio/sdk/model/listDatasetVersionChangesResponseAllOf.d.ts +27 -0
- package/build/sdk/studio/sdk/model/listDatasetVersionChangesResponseAllOf.js +34 -0
- package/build/sdk/studio/sdk/model/listDatasetVersionChangesResponseAllOf.js.map +1 -0
- package/build/sdk/studio/sdk/model/listDatasetVersionsResponse.d.ts +37 -0
- package/build/sdk/studio/sdk/model/listDatasetVersionsResponse.js +49 -0
- package/build/sdk/studio/sdk/model/listDatasetVersionsResponse.js.map +1 -0
- package/build/sdk/studio/sdk/model/listDatasetVersionsResponseAllOf.d.ts +29 -0
- package/build/sdk/studio/sdk/model/listDatasetVersionsResponseAllOf.js +39 -0
- package/build/sdk/studio/sdk/model/listDatasetVersionsResponseAllOf.js.map +1 -0
- package/build/sdk/studio/sdk/model/metadataDistributionBucket.d.ts +29 -0
- package/build/sdk/studio/sdk/model/metadataDistributionBucket.js +49 -0
- package/build/sdk/studio/sdk/model/metadataDistributionBucket.js.map +1 -0
- package/build/sdk/studio/sdk/model/metadataDistributionLabelBreakdown.d.ts +27 -0
- package/build/sdk/studio/sdk/model/metadataDistributionLabelBreakdown.js +39 -0
- package/build/sdk/studio/sdk/model/metadataDistributionLabelBreakdown.js.map +1 -0
- package/build/sdk/studio/sdk/model/models.d.ts +58 -5
- package/build/sdk/studio/sdk/model/models.js +188 -17
- package/build/sdk/studio/sdk/model/models.js.map +1 -1
- package/build/sdk/studio/sdk/model/permission.d.ts +1 -1
- package/build/sdk/studio/sdk/model/permission.js +1 -1
- package/build/sdk/studio/sdk/model/permission.js.map +1 -1
- package/build/sdk/studio/sdk/model/projectDataIntervalResponse.d.ts +6 -0
- package/build/sdk/studio/sdk/model/projectDataIntervalResponse.js +10 -0
- package/build/sdk/studio/sdk/model/projectDataIntervalResponse.js.map +1 -1
- package/build/sdk/studio/sdk/model/projectDataIntervalResponseAllOf.d.ts +6 -0
- package/build/sdk/studio/sdk/model/projectDataIntervalResponseAllOf.js +10 -0
- package/build/sdk/studio/sdk/model/projectDataIntervalResponseAllOf.js.map +1 -1
- package/build/sdk/studio/sdk/model/projectDataIntervalResponseAllOfByDatastream.d.ts +31 -0
- package/build/sdk/studio/sdk/model/projectDataIntervalResponseAllOfByDatastream.js +45 -0
- package/build/sdk/studio/sdk/model/projectDataIntervalResponseAllOfByDatastream.js.map +1 -0
- package/build/sdk/studio/sdk/model/projectDataIntervalResponseAllOfSensors.d.ts +32 -0
- package/build/sdk/studio/sdk/model/projectDataIntervalResponseAllOfSensors.js +34 -0
- package/build/sdk/studio/sdk/model/projectDataIntervalResponseAllOfSensors.js.map +1 -0
- package/build/sdk/studio/sdk/model/projectInfoResponse.d.ts +3 -2
- package/build/sdk/studio/sdk/model/projectInfoResponse.js +8 -3
- package/build/sdk/studio/sdk/model/projectInfoResponse.js.map +1 -1
- package/build/sdk/studio/sdk/model/projectInfoResponseAllOf.d.ts +3 -2
- package/build/sdk/studio/sdk/model/projectInfoResponseAllOf.js +8 -3
- package/build/sdk/studio/sdk/model/projectInfoResponseAllOf.js.map +1 -1
- package/build/sdk/studio/sdk/model/projectInfoResponseAllOfDataSummaryPerCategory.d.ts +1 -0
- package/build/sdk/studio/sdk/model/projectInfoResponseAllOfDataSummaryPerCategory.js +5 -0
- package/build/sdk/studio/sdk/model/projectInfoResponseAllOfDataSummaryPerCategory.js.map +1 -1
- package/build/sdk/studio/sdk/model/rawDataCategory.d.ts +1 -1
- package/build/sdk/studio/sdk/model/rawDataCategory.js +1 -1
- package/build/sdk/studio/sdk/model/rawDataCategory.js.map +1 -1
- package/build/sdk/studio/sdk/model/rawDataFilterCategory.d.ts +1 -1
- package/build/sdk/studio/sdk/model/rawDataFilterCategory.js +1 -1
- package/build/sdk/studio/sdk/model/rawDataFilterCategory.js.map +1 -1
- package/build/sdk/studio/sdk/model/rawSampleDataStreamPayloads.d.ts +26 -0
- package/build/sdk/studio/sdk/model/rawSampleDataStreamPayloads.js +29 -0
- package/build/sdk/studio/sdk/model/rawSampleDataStreamPayloads.js.map +1 -0
- package/build/sdk/studio/sdk/model/rawSampleDataStreamPayloadsDatastreamPayloads.d.ts +34 -0
- package/build/sdk/studio/sdk/model/rawSampleDataStreamPayloadsDatastreamPayloads.js +39 -0
- package/build/sdk/studio/sdk/model/rawSampleDataStreamPayloadsDatastreamPayloads.js.map +1 -0
- package/build/sdk/studio/sdk/model/rawSampleDataWithDataStreamPayloads.d.ts +34 -0
- package/build/sdk/studio/sdk/model/rawSampleDataWithDataStreamPayloads.js +44 -0
- package/build/sdk/studio/sdk/model/rawSampleDataWithDataStreamPayloads.js.map +1 -0
- package/build/sdk/studio/sdk/model/rawSamplePayload.d.ts +8 -0
- package/build/sdk/studio/sdk/model/rawSamplePayload.js +10 -0
- package/build/sdk/studio/sdk/model/rawSamplePayload.js.map +1 -1
- package/build/sdk/studio/sdk/model/sample.d.ts +17 -7
- package/build/sdk/studio/sdk/model/sample.js +11 -1
- package/build/sdk/studio/sdk/model/sample.js.map +1 -1
- package/build/sdk/studio/sdk/model/sampleDatastream.d.ts +48 -0
- package/build/sdk/studio/sdk/model/sampleDatastream.js +65 -0
- package/build/sdk/studio/sdk/model/sampleDatastream.js.map +1 -0
- package/build/sdk/studio/sdk/model/{sampleImageDimensions.d.ts → sampleDatastreamImageDimensions.d.ts} +1 -1
- package/build/sdk/studio/sdk/model/{sampleImageDimensions.js → sampleDatastreamImageDimensions.js} +7 -7
- package/build/sdk/studio/sdk/model/sampleDatastreamImageDimensions.js.map +1 -0
- package/build/sdk/studio/sdk/model/sensor.d.ts +4 -0
- package/build/sdk/studio/sdk/model/sensor.js +5 -0
- package/build/sdk/studio/sdk/model/sensor.js.map +1 -1
- package/build/sdk/studio/sdk/model/updateDatasetVersionRequest.d.ts +25 -0
- package/build/sdk/studio/sdk/model/updateDatasetVersionRequest.js +29 -0
- package/build/sdk/studio/sdk/model/updateDatasetVersionRequest.js.map +1 -0
- package/build/sdk/studio/sdk/model/updateProjectRequest.d.ts +4 -0
- package/build/sdk/studio/sdk/model/updateProjectRequest.js +5 -0
- package/build/sdk/studio/sdk/model/updateProjectRequest.js.map +1 -1
- package/build/shared/bounding-box-file-types.d.ts +14 -1
- package/build/shared/bounding-box-file-types.js +29 -1
- package/build/shared/bounding-box-file-types.js.map +1 -1
- package/cli/linux/webserver/public/webserver.js +11 -10
- package/package.json +1 -1
- package/build/sdk/studio/sdk/model/datasetStratificationOptions.js +0 -44
- package/build/sdk/studio/sdk/model/datasetStratificationOptions.js.map +0 -1
- package/build/sdk/studio/sdk/model/datasetStratificationPreviewDataData.js +0 -44
- package/build/sdk/studio/sdk/model/datasetStratificationPreviewDataData.js.map +0 -1
- package/build/sdk/studio/sdk/model/datasetStratificationPreviewResponse.js.map +0 -1
- package/build/sdk/studio/sdk/model/sampleImageDimensions.js.map +0 -1
|
@@ -2099,13 +2099,14 @@ class RawDataApi {
|
|
|
2099
2099
|
return this.handleResponse(response, 'CountSamplesResponse');
|
|
2100
2100
|
}
|
|
2101
2101
|
/**
|
|
2102
|
-
* Crop a sample to within a new range.
|
|
2102
|
+
* 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.
|
|
2103
2103
|
* @summary Crop sample
|
|
2104
2104
|
* @param projectId Project ID
|
|
2105
2105
|
* @param sampleId Sample ID
|
|
2106
2106
|
* @param cropSampleRequest
|
|
2107
|
+
* @param datastreamIndex Datastream index (defaults to 0)
|
|
2107
2108
|
*/
|
|
2108
|
-
async cropSample(projectId, sampleId, cropSampleRequest, options = { headers: {} }) {
|
|
2109
|
+
async cropSample(projectId, sampleId, cropSampleRequest, queryParams, options = { headers: {} }) {
|
|
2109
2110
|
const localVarPath = this.basePath + '/api/{projectId}/raw-data/{sampleId}/crop'
|
|
2110
2111
|
.replace('{' + 'projectId' + '}', encodeURIComponent(String(projectId)))
|
|
2111
2112
|
.replace('{' + 'sampleId' + '}', encodeURIComponent(String(sampleId)));
|
|
@@ -2136,6 +2137,9 @@ class RawDataApi {
|
|
|
2136
2137
|
if (cropSampleRequest === null || cropSampleRequest === undefined) {
|
|
2137
2138
|
throw new Error('Required parameter cropSampleRequest was null or undefined when calling cropSample.');
|
|
2138
2139
|
}
|
|
2140
|
+
if (queryParams?.datastreamIndex !== undefined) {
|
|
2141
|
+
localVarQueryParameters['datastreamIndex'] = models_1.ObjectSerializer.serialize(queryParams.datastreamIndex, "number");
|
|
2142
|
+
}
|
|
2139
2143
|
localVarHeaderParams = {
|
|
2140
2144
|
...localVarHeaderParams,
|
|
2141
2145
|
...options.headers,
|
|
@@ -2658,13 +2662,14 @@ class RawDataApi {
|
|
|
2658
2662
|
return this.handleResponse(response, 'GenericApiResponse');
|
|
2659
2663
|
}
|
|
2660
2664
|
/**
|
|
2661
|
-
* Find start and end times for all non-noise events in a sample
|
|
2665
|
+
* 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.
|
|
2662
2666
|
* @summary Find segments
|
|
2663
2667
|
* @param projectId Project ID
|
|
2664
2668
|
* @param sampleId Sample ID
|
|
2665
2669
|
* @param findSegmentSampleRequest
|
|
2670
|
+
* @param datastreamIndex Datastream index (defaults to 0)
|
|
2666
2671
|
*/
|
|
2667
|
-
async findSegmentsInSample(projectId, sampleId, findSegmentSampleRequest, options = { headers: {} }) {
|
|
2672
|
+
async findSegmentsInSample(projectId, sampleId, findSegmentSampleRequest, queryParams, options = { headers: {} }) {
|
|
2668
2673
|
const localVarPath = this.basePath + '/api/{projectId}/raw-data/{sampleId}/find-segments'
|
|
2669
2674
|
.replace('{' + 'projectId' + '}', encodeURIComponent(String(projectId)))
|
|
2670
2675
|
.replace('{' + 'sampleId' + '}', encodeURIComponent(String(sampleId)));
|
|
@@ -2695,6 +2700,9 @@ class RawDataApi {
|
|
|
2695
2700
|
if (findSegmentSampleRequest === null || findSegmentSampleRequest === undefined) {
|
|
2696
2701
|
throw new Error('Required parameter findSegmentSampleRequest was null or undefined when calling findSegmentsInSample.');
|
|
2697
2702
|
}
|
|
2703
|
+
if (queryParams?.datastreamIndex !== undefined) {
|
|
2704
|
+
localVarQueryParameters['datastreamIndex'] = models_1.ObjectSerializer.serialize(queryParams.datastreamIndex, "number");
|
|
2705
|
+
}
|
|
2698
2706
|
localVarHeaderParams = {
|
|
2699
2707
|
...localVarHeaderParams,
|
|
2700
2708
|
...options.headers,
|
|
@@ -3486,6 +3494,224 @@ class RawDataApi {
|
|
|
3486
3494
|
const response = await fetch(url, requestOptions);
|
|
3487
3495
|
return this.handleResponse(response, 'ObjectDetectionLabelQueueCountResponse');
|
|
3488
3496
|
}
|
|
3497
|
+
/**
|
|
3498
|
+
* Get co-occurrence counts for two metadata keys in a project category. This is experimental and may change in the future.
|
|
3499
|
+
* @summary Get project metadata co-occurrence matrix
|
|
3500
|
+
* @param projectId Project ID
|
|
3501
|
+
* @param category Which of the three acquisition categories to retrieve data from
|
|
3502
|
+
* @param keyA First metadata key to aggregate values for
|
|
3503
|
+
* @param keyB Second metadata key to aggregate values for
|
|
3504
|
+
* @param topNKeyA Maximum number of top values to return for keyA
|
|
3505
|
+
* @param topNKeyB Maximum number of top values to return for keyB
|
|
3506
|
+
* @param normalize Controls how normalizedMatrix is computed. Use none to disable normalization (normalizedMatrix omitted), or global to return percentages across all matrix cells.
|
|
3507
|
+
* @param excludeDisabledSamples Whether to exclude samples that are marked as disabled.
|
|
3508
|
+
*/
|
|
3509
|
+
async getRawDataMetadataCooccurrence(projectId, queryParams, options = { headers: {} }) {
|
|
3510
|
+
const localVarPath = this.basePath + '/api/{projectId}/raw-data/metadata-cooccurrence'
|
|
3511
|
+
.replace('{' + 'projectId' + '}', encodeURIComponent(String(projectId)));
|
|
3512
|
+
let localVarQueryParameters = {};
|
|
3513
|
+
let localVarHeaderParams = {
|
|
3514
|
+
'User-Agent': 'edgeimpulse-api nodejs',
|
|
3515
|
+
'Content-Type': 'application/json',
|
|
3516
|
+
...this.defaultHeaders,
|
|
3517
|
+
};
|
|
3518
|
+
const produces = ['application/json'];
|
|
3519
|
+
// give precedence to 'application/json'
|
|
3520
|
+
if (produces.indexOf('application/json') >= 0) {
|
|
3521
|
+
localVarHeaderParams.Accept = 'application/json';
|
|
3522
|
+
}
|
|
3523
|
+
else {
|
|
3524
|
+
localVarHeaderParams.Accept = produces.join(',');
|
|
3525
|
+
}
|
|
3526
|
+
let localVarFormParams;
|
|
3527
|
+
// verify required parameter 'projectId' is not null or undefined
|
|
3528
|
+
if (projectId === null || projectId === undefined) {
|
|
3529
|
+
throw new Error('Required parameter projectId was null or undefined when calling getRawDataMetadataCooccurrence.');
|
|
3530
|
+
}
|
|
3531
|
+
// verify required parameter 'category' is not null or undefined
|
|
3532
|
+
if (queryParams.category === null || queryParams.category === undefined) {
|
|
3533
|
+
throw new Error('Required parameter queryParams.category was null or undefined when calling getRawDataMetadataCooccurrence.');
|
|
3534
|
+
}
|
|
3535
|
+
// verify required parameter 'keyA' is not null or undefined
|
|
3536
|
+
if (queryParams.keyA === null || queryParams.keyA === undefined) {
|
|
3537
|
+
throw new Error('Required parameter queryParams.keyA was null or undefined when calling getRawDataMetadataCooccurrence.');
|
|
3538
|
+
}
|
|
3539
|
+
// verify required parameter 'keyB' is not null or undefined
|
|
3540
|
+
if (queryParams.keyB === null || queryParams.keyB === undefined) {
|
|
3541
|
+
throw new Error('Required parameter queryParams.keyB was null or undefined when calling getRawDataMetadataCooccurrence.');
|
|
3542
|
+
}
|
|
3543
|
+
if (queryParams?.category !== undefined) {
|
|
3544
|
+
localVarQueryParameters['category'] = models_1.ObjectSerializer.serialize(queryParams.category, "RawDataCategory");
|
|
3545
|
+
}
|
|
3546
|
+
if (queryParams?.keyA !== undefined) {
|
|
3547
|
+
localVarQueryParameters['keyA'] = models_1.ObjectSerializer.serialize(queryParams.keyA, "string");
|
|
3548
|
+
}
|
|
3549
|
+
if (queryParams?.keyB !== undefined) {
|
|
3550
|
+
localVarQueryParameters['keyB'] = models_1.ObjectSerializer.serialize(queryParams.keyB, "string");
|
|
3551
|
+
}
|
|
3552
|
+
if (queryParams?.topNKeyA !== undefined) {
|
|
3553
|
+
localVarQueryParameters['topNKeyA'] = models_1.ObjectSerializer.serialize(queryParams.topNKeyA, "number");
|
|
3554
|
+
}
|
|
3555
|
+
if (queryParams?.topNKeyB !== undefined) {
|
|
3556
|
+
localVarQueryParameters['topNKeyB'] = models_1.ObjectSerializer.serialize(queryParams.topNKeyB, "number");
|
|
3557
|
+
}
|
|
3558
|
+
if (queryParams?.normalize !== undefined) {
|
|
3559
|
+
localVarQueryParameters['normalize'] = models_1.ObjectSerializer.serialize(queryParams.normalize, "'none' | 'global'");
|
|
3560
|
+
}
|
|
3561
|
+
if (queryParams?.excludeDisabledSamples !== undefined) {
|
|
3562
|
+
localVarQueryParameters['excludeDisabledSamples'] = models_1.ObjectSerializer.serialize(queryParams.excludeDisabledSamples, "boolean");
|
|
3563
|
+
}
|
|
3564
|
+
localVarHeaderParams = {
|
|
3565
|
+
...localVarHeaderParams,
|
|
3566
|
+
...options.headers,
|
|
3567
|
+
...this.opts.extraHeaders,
|
|
3568
|
+
};
|
|
3569
|
+
const queryString = Object.entries(localVarQueryParameters)
|
|
3570
|
+
.filter(([, value]) => value !== undefined)
|
|
3571
|
+
.map(([key, value]) => `${key}=${encodeURIComponent(String(value))}`)
|
|
3572
|
+
.join('&');
|
|
3573
|
+
let localVarUrl = localVarPath + (queryString ? `?${queryString}` : '');
|
|
3574
|
+
let localVarRequestOptions = {
|
|
3575
|
+
method: 'GET',
|
|
3576
|
+
headers: { ...localVarHeaderParams },
|
|
3577
|
+
};
|
|
3578
|
+
let requestOptions = localVarRequestOptions;
|
|
3579
|
+
let url = localVarUrl;
|
|
3580
|
+
const auth_ApiKeyAuthentication = await this.authentications.ApiKeyAuthentication.applyToRequest(requestOptions, url);
|
|
3581
|
+
requestOptions = auth_ApiKeyAuthentication.requestOptions;
|
|
3582
|
+
url = auth_ApiKeyAuthentication.url;
|
|
3583
|
+
const auth_JWTAuthentication = await this.authentications.JWTAuthentication.applyToRequest(requestOptions, url);
|
|
3584
|
+
requestOptions = auth_JWTAuthentication.requestOptions;
|
|
3585
|
+
url = auth_JWTAuthentication.url;
|
|
3586
|
+
const auth_JWTHttpHeaderAuthentication = await this.authentications.JWTHttpHeaderAuthentication.applyToRequest(requestOptions, url);
|
|
3587
|
+
requestOptions = auth_JWTHttpHeaderAuthentication.requestOptions;
|
|
3588
|
+
url = auth_JWTHttpHeaderAuthentication.url;
|
|
3589
|
+
const auth_OAuth2 = await this.authentications.OAuth2.applyToRequest(requestOptions, url);
|
|
3590
|
+
requestOptions = auth_OAuth2.requestOptions;
|
|
3591
|
+
url = auth_OAuth2.url;
|
|
3592
|
+
const authDefault = await this.authentications.default.applyToRequest(requestOptions, url);
|
|
3593
|
+
requestOptions = authDefault.requestOptions;
|
|
3594
|
+
url = authDefault.url;
|
|
3595
|
+
if (localVarFormParams) {
|
|
3596
|
+
delete requestOptions.headers['Content-Type'];
|
|
3597
|
+
if (localVarFormParams instanceof FormData) {
|
|
3598
|
+
// FormData: fetch will handle Content-Type automatically.
|
|
3599
|
+
requestOptions.body = localVarFormParams;
|
|
3600
|
+
}
|
|
3601
|
+
else if (Object.keys(localVarFormParams).length > 0) {
|
|
3602
|
+
// URL-encoded form
|
|
3603
|
+
requestOptions.body = new URLSearchParams(localVarFormParams).toString();
|
|
3604
|
+
requestOptions.headers['Content-Type'] = 'application/x-www-form-urlencoded';
|
|
3605
|
+
}
|
|
3606
|
+
}
|
|
3607
|
+
const response = await fetch(url, requestOptions);
|
|
3608
|
+
return this.handleResponse(response, 'GetRawDataMetadataCooccurrenceResponse');
|
|
3609
|
+
}
|
|
3610
|
+
/**
|
|
3611
|
+
* 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.
|
|
3612
|
+
* @summary Get project sample metadata distribution
|
|
3613
|
+
* @param projectId Project ID
|
|
3614
|
+
* @param category Which of the three acquisition categories to retrieve data from
|
|
3615
|
+
* @param key Metadata key to aggregate values for
|
|
3616
|
+
* @param topN Maximum number of top categories to return for categorical values
|
|
3617
|
+
* @param binCount Number of bins to use for numeric histogram values
|
|
3618
|
+
* @param groupByLabel Include per-label breakdown for each bucket
|
|
3619
|
+
* @param excludeDisabledSamples Whether to exclude samples that are marked as disabled.
|
|
3620
|
+
*/
|
|
3621
|
+
async getRawDataMetadataDistribution(projectId, queryParams, options = { headers: {} }) {
|
|
3622
|
+
const localVarPath = this.basePath + '/api/{projectId}/raw-data/metadata-distribution'
|
|
3623
|
+
.replace('{' + 'projectId' + '}', encodeURIComponent(String(projectId)));
|
|
3624
|
+
let localVarQueryParameters = {};
|
|
3625
|
+
let localVarHeaderParams = {
|
|
3626
|
+
'User-Agent': 'edgeimpulse-api nodejs',
|
|
3627
|
+
'Content-Type': 'application/json',
|
|
3628
|
+
...this.defaultHeaders,
|
|
3629
|
+
};
|
|
3630
|
+
const produces = ['application/json'];
|
|
3631
|
+
// give precedence to 'application/json'
|
|
3632
|
+
if (produces.indexOf('application/json') >= 0) {
|
|
3633
|
+
localVarHeaderParams.Accept = 'application/json';
|
|
3634
|
+
}
|
|
3635
|
+
else {
|
|
3636
|
+
localVarHeaderParams.Accept = produces.join(',');
|
|
3637
|
+
}
|
|
3638
|
+
let localVarFormParams;
|
|
3639
|
+
// verify required parameter 'projectId' is not null or undefined
|
|
3640
|
+
if (projectId === null || projectId === undefined) {
|
|
3641
|
+
throw new Error('Required parameter projectId was null or undefined when calling getRawDataMetadataDistribution.');
|
|
3642
|
+
}
|
|
3643
|
+
// verify required parameter 'category' is not null or undefined
|
|
3644
|
+
if (queryParams.category === null || queryParams.category === undefined) {
|
|
3645
|
+
throw new Error('Required parameter queryParams.category was null or undefined when calling getRawDataMetadataDistribution.');
|
|
3646
|
+
}
|
|
3647
|
+
// verify required parameter 'key' is not null or undefined
|
|
3648
|
+
if (queryParams.key === null || queryParams.key === undefined) {
|
|
3649
|
+
throw new Error('Required parameter queryParams.key was null or undefined when calling getRawDataMetadataDistribution.');
|
|
3650
|
+
}
|
|
3651
|
+
if (queryParams?.category !== undefined) {
|
|
3652
|
+
localVarQueryParameters['category'] = models_1.ObjectSerializer.serialize(queryParams.category, "RawDataCategory");
|
|
3653
|
+
}
|
|
3654
|
+
if (queryParams?.key !== undefined) {
|
|
3655
|
+
localVarQueryParameters['key'] = models_1.ObjectSerializer.serialize(queryParams.key, "string");
|
|
3656
|
+
}
|
|
3657
|
+
if (queryParams?.topN !== undefined) {
|
|
3658
|
+
localVarQueryParameters['topN'] = models_1.ObjectSerializer.serialize(queryParams.topN, "number");
|
|
3659
|
+
}
|
|
3660
|
+
if (queryParams?.binCount !== undefined) {
|
|
3661
|
+
localVarQueryParameters['binCount'] = models_1.ObjectSerializer.serialize(queryParams.binCount, "number");
|
|
3662
|
+
}
|
|
3663
|
+
if (queryParams?.groupByLabel !== undefined) {
|
|
3664
|
+
localVarQueryParameters['groupByLabel'] = models_1.ObjectSerializer.serialize(queryParams.groupByLabel, "boolean");
|
|
3665
|
+
}
|
|
3666
|
+
if (queryParams?.excludeDisabledSamples !== undefined) {
|
|
3667
|
+
localVarQueryParameters['excludeDisabledSamples'] = models_1.ObjectSerializer.serialize(queryParams.excludeDisabledSamples, "boolean");
|
|
3668
|
+
}
|
|
3669
|
+
localVarHeaderParams = {
|
|
3670
|
+
...localVarHeaderParams,
|
|
3671
|
+
...options.headers,
|
|
3672
|
+
...this.opts.extraHeaders,
|
|
3673
|
+
};
|
|
3674
|
+
const queryString = Object.entries(localVarQueryParameters)
|
|
3675
|
+
.filter(([, value]) => value !== undefined)
|
|
3676
|
+
.map(([key, value]) => `${key}=${encodeURIComponent(String(value))}`)
|
|
3677
|
+
.join('&');
|
|
3678
|
+
let localVarUrl = localVarPath + (queryString ? `?${queryString}` : '');
|
|
3679
|
+
let localVarRequestOptions = {
|
|
3680
|
+
method: 'GET',
|
|
3681
|
+
headers: { ...localVarHeaderParams },
|
|
3682
|
+
};
|
|
3683
|
+
let requestOptions = localVarRequestOptions;
|
|
3684
|
+
let url = localVarUrl;
|
|
3685
|
+
const auth_ApiKeyAuthentication = await this.authentications.ApiKeyAuthentication.applyToRequest(requestOptions, url);
|
|
3686
|
+
requestOptions = auth_ApiKeyAuthentication.requestOptions;
|
|
3687
|
+
url = auth_ApiKeyAuthentication.url;
|
|
3688
|
+
const auth_JWTAuthentication = await this.authentications.JWTAuthentication.applyToRequest(requestOptions, url);
|
|
3689
|
+
requestOptions = auth_JWTAuthentication.requestOptions;
|
|
3690
|
+
url = auth_JWTAuthentication.url;
|
|
3691
|
+
const auth_JWTHttpHeaderAuthentication = await this.authentications.JWTHttpHeaderAuthentication.applyToRequest(requestOptions, url);
|
|
3692
|
+
requestOptions = auth_JWTHttpHeaderAuthentication.requestOptions;
|
|
3693
|
+
url = auth_JWTHttpHeaderAuthentication.url;
|
|
3694
|
+
const auth_OAuth2 = await this.authentications.OAuth2.applyToRequest(requestOptions, url);
|
|
3695
|
+
requestOptions = auth_OAuth2.requestOptions;
|
|
3696
|
+
url = auth_OAuth2.url;
|
|
3697
|
+
const authDefault = await this.authentications.default.applyToRequest(requestOptions, url);
|
|
3698
|
+
requestOptions = authDefault.requestOptions;
|
|
3699
|
+
url = authDefault.url;
|
|
3700
|
+
if (localVarFormParams) {
|
|
3701
|
+
delete requestOptions.headers['Content-Type'];
|
|
3702
|
+
if (localVarFormParams instanceof FormData) {
|
|
3703
|
+
// FormData: fetch will handle Content-Type automatically.
|
|
3704
|
+
requestOptions.body = localVarFormParams;
|
|
3705
|
+
}
|
|
3706
|
+
else if (Object.keys(localVarFormParams).length > 0) {
|
|
3707
|
+
// URL-encoded form
|
|
3708
|
+
requestOptions.body = new URLSearchParams(localVarFormParams).toString();
|
|
3709
|
+
requestOptions.headers['Content-Type'] = 'application/x-www-form-urlencoded';
|
|
3710
|
+
}
|
|
3711
|
+
}
|
|
3712
|
+
const response = await fetch(url, requestOptions);
|
|
3713
|
+
return this.handleResponse(response, 'GetRawDataMetadataDistributionResponse');
|
|
3714
|
+
}
|
|
3489
3715
|
/**
|
|
3490
3716
|
* Get a sample.
|
|
3491
3717
|
* @summary Get sample
|
|
@@ -3692,6 +3918,7 @@ class RawDataApi {
|
|
|
3692
3918
|
* @param afterInputBlock Whether to process the image through the input block first
|
|
3693
3919
|
* @param cacheKey If set, then a long cache header is sent. If this is omitted then a no-cache header is sent. You can use this if you f.e. know the last modified date of a sample. Stick the last modified date in the cache key, so the sample can be stored in browser cache (and will automatically be invalidated if the modified date changes).
|
|
3694
3920
|
* @param impulseId Impulse ID. If this is unset then the default impulse is used.
|
|
3921
|
+
* @param datastreamIndex Datastream index (defaults to 0)
|
|
3695
3922
|
*/
|
|
3696
3923
|
async getSampleAsImage(projectId, sampleId, queryParams, options = { headers: {} }) {
|
|
3697
3924
|
const localVarPath = this.basePath + '/api/{projectId}/raw-data/{sampleId}/image'
|
|
@@ -3729,6 +3956,9 @@ class RawDataApi {
|
|
|
3729
3956
|
if (queryParams?.impulseId !== undefined) {
|
|
3730
3957
|
localVarQueryParameters['impulseId'] = models_1.ObjectSerializer.serialize(queryParams.impulseId, "number");
|
|
3731
3958
|
}
|
|
3959
|
+
if (queryParams?.datastreamIndex !== undefined) {
|
|
3960
|
+
localVarQueryParameters['datastreamIndex'] = models_1.ObjectSerializer.serialize(queryParams.datastreamIndex, "number");
|
|
3961
|
+
}
|
|
3732
3962
|
localVarHeaderParams = {
|
|
3733
3963
|
...localVarHeaderParams,
|
|
3734
3964
|
...options.headers,
|
|
@@ -3862,6 +4092,7 @@ class RawDataApi {
|
|
|
3862
4092
|
* @param afterInputBlock Whether to process the image through the input block first
|
|
3863
4093
|
* @param cacheKey If set, then a long cache header is sent. If this is omitted then a no-cache header is sent. You can use this if you f.e. know the last modified date of a sample. Stick the last modified date in the cache key, so the sample can be stored in browser cache (and will automatically be invalidated if the modified date changes).
|
|
3864
4094
|
* @param impulseId Impulse ID. If this is unset then the default impulse is used.
|
|
4095
|
+
* @param datastreamIndex Datastream index (defaults to 0)
|
|
3865
4096
|
*/
|
|
3866
4097
|
async getSampleAsVideo(projectId, sampleId, queryParams, options = { headers: {} }) {
|
|
3867
4098
|
const localVarPath = this.basePath + '/api/{projectId}/raw-data/{sampleId}/video'
|
|
@@ -3899,6 +4130,9 @@ class RawDataApi {
|
|
|
3899
4130
|
if (queryParams?.impulseId !== undefined) {
|
|
3900
4131
|
localVarQueryParameters['impulseId'] = models_1.ObjectSerializer.serialize(queryParams.impulseId, "number");
|
|
3901
4132
|
}
|
|
4133
|
+
if (queryParams?.datastreamIndex !== undefined) {
|
|
4134
|
+
localVarQueryParameters['datastreamIndex'] = models_1.ObjectSerializer.serialize(queryParams.datastreamIndex, "number");
|
|
4135
|
+
}
|
|
3902
4136
|
localVarHeaderParams = {
|
|
3903
4137
|
...localVarHeaderParams,
|
|
3904
4138
|
...options.headers,
|
|
@@ -4116,13 +4350,14 @@ class RawDataApi {
|
|
|
4116
4350
|
return this.handleResponse(response, 'GetSampleMetadataFilterOptionsResponse');
|
|
4117
4351
|
}
|
|
4118
4352
|
/**
|
|
4119
|
-
* Get a slice of a sample.
|
|
4353
|
+
* 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.
|
|
4120
4354
|
* @summary Get sample slice
|
|
4121
4355
|
* @param projectId Project ID
|
|
4122
4356
|
* @param sampleId Sample ID
|
|
4123
4357
|
* @param sliceStart Begin index of the slice
|
|
4124
4358
|
* @param sliceEnd End index of the slice. If not given, the sample will be sliced to the same length as the impulse input block window length.
|
|
4125
4359
|
* @param impulseId Impulse ID. If this is unset then the default impulse is used.
|
|
4360
|
+
* @param datastreamIndex Datastream index (defaults to 0)
|
|
4126
4361
|
* @param truncateStructuredLabels If true, only a slice of labels will be returned for samples with multiple labels.
|
|
4127
4362
|
*/
|
|
4128
4363
|
async getSampleSlice(projectId, sampleId, queryParams, options = { headers: {} }) {
|
|
@@ -4165,6 +4400,9 @@ class RawDataApi {
|
|
|
4165
4400
|
if (queryParams?.impulseId !== undefined) {
|
|
4166
4401
|
localVarQueryParameters['impulseId'] = models_1.ObjectSerializer.serialize(queryParams.impulseId, "number");
|
|
4167
4402
|
}
|
|
4403
|
+
if (queryParams?.datastreamIndex !== undefined) {
|
|
4404
|
+
localVarQueryParameters['datastreamIndex'] = models_1.ObjectSerializer.serialize(queryParams.datastreamIndex, "number");
|
|
4405
|
+
}
|
|
4168
4406
|
if (queryParams?.truncateStructuredLabels !== undefined) {
|
|
4169
4407
|
localVarQueryParameters['truncateStructuredLabels'] = models_1.ObjectSerializer.serialize(queryParams.truncateStructuredLabels, "boolean");
|
|
4170
4408
|
}
|
|
@@ -4212,15 +4450,15 @@ class RawDataApi {
|
|
|
4212
4450
|
}
|
|
4213
4451
|
}
|
|
4214
4452
|
const response = await fetch(url, requestOptions);
|
|
4215
|
-
return this.handleResponse(response, '
|
|
4453
|
+
return this.handleResponse(response, 'GetSampleDspResponse');
|
|
4216
4454
|
}
|
|
4217
4455
|
/**
|
|
4218
|
-
* Returns the results of a previously requested
|
|
4219
|
-
* @summary Get
|
|
4456
|
+
* 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.
|
|
4457
|
+
* @summary Get split preview results
|
|
4220
4458
|
* @param projectId Project ID
|
|
4221
4459
|
*/
|
|
4222
|
-
async
|
|
4223
|
-
const localVarPath = this.basePath + '/api/{projectId}/get-
|
|
4460
|
+
async getSplitPreviewResults(projectId, options = { headers: {} }) {
|
|
4461
|
+
const localVarPath = this.basePath + '/api/{projectId}/get-split-preview-results'
|
|
4224
4462
|
.replace('{' + 'projectId' + '}', encodeURIComponent(String(projectId)));
|
|
4225
4463
|
let localVarQueryParameters = {};
|
|
4226
4464
|
let localVarHeaderParams = {
|
|
@@ -4239,7 +4477,7 @@ class RawDataApi {
|
|
|
4239
4477
|
let localVarFormParams;
|
|
4240
4478
|
// verify required parameter 'projectId' is not null or undefined
|
|
4241
4479
|
if (projectId === null || projectId === undefined) {
|
|
4242
|
-
throw new Error('Required parameter projectId was null or undefined when calling
|
|
4480
|
+
throw new Error('Required parameter projectId was null or undefined when calling getSplitPreviewResults.');
|
|
4243
4481
|
}
|
|
4244
4482
|
localVarHeaderParams = {
|
|
4245
4483
|
...localVarHeaderParams,
|
|
@@ -4285,10 +4523,10 @@ class RawDataApi {
|
|
|
4285
4523
|
}
|
|
4286
4524
|
}
|
|
4287
4525
|
const response = await fetch(url, requestOptions);
|
|
4288
|
-
return this.handleResponse(response, '
|
|
4526
|
+
return this.handleResponse(response, 'DatasetSplitPreviewResponse');
|
|
4289
4527
|
}
|
|
4290
4528
|
/**
|
|
4291
|
-
* Get the original, uncropped, downsampled data.
|
|
4529
|
+
* 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.
|
|
4292
4530
|
* @summary Get the original downsampled data
|
|
4293
4531
|
* @param projectId Project ID
|
|
4294
4532
|
* @param sampleId Sample ID
|
|
@@ -4296,6 +4534,7 @@ class RawDataApi {
|
|
|
4296
4534
|
* @param zoomStart Zoom into the sample, with the focus starting at this index
|
|
4297
4535
|
* @param zoomEnd Zoom into the sample, with the focus ending at this index
|
|
4298
4536
|
* @param impulseId Impulse ID. If this is unset then the default impulse is used.
|
|
4537
|
+
* @param datastreamIndex Datastream index (defaults to 0)
|
|
4299
4538
|
* @param truncateStructuredLabels If true, only a slice of labels will be returned for samples with multiple labels.
|
|
4300
4539
|
*/
|
|
4301
4540
|
async getUncroppedDownsampledSample(projectId, sampleId, queryParams, options = { headers: {} }) {
|
|
@@ -4337,6 +4576,9 @@ class RawDataApi {
|
|
|
4337
4576
|
if (queryParams?.impulseId !== undefined) {
|
|
4338
4577
|
localVarQueryParameters['impulseId'] = models_1.ObjectSerializer.serialize(queryParams.impulseId, "number");
|
|
4339
4578
|
}
|
|
4579
|
+
if (queryParams?.datastreamIndex !== undefined) {
|
|
4580
|
+
localVarQueryParameters['datastreamIndex'] = models_1.ObjectSerializer.serialize(queryParams.datastreamIndex, "number");
|
|
4581
|
+
}
|
|
4340
4582
|
if (queryParams?.truncateStructuredLabels !== undefined) {
|
|
4341
4583
|
localVarQueryParameters['truncateStructuredLabels'] = models_1.ObjectSerializer.serialize(queryParams.truncateStructuredLabels, "boolean");
|
|
4342
4584
|
}
|
|
@@ -4384,7 +4626,7 @@ class RawDataApi {
|
|
|
4384
4626
|
}
|
|
4385
4627
|
}
|
|
4386
4628
|
const response = await fetch(url, requestOptions);
|
|
4387
|
-
return this.handleResponse(response, '
|
|
4629
|
+
return this.handleResponse(response, 'GetSampleDspResponse');
|
|
4388
4630
|
}
|
|
4389
4631
|
/**
|
|
4390
4632
|
* t-SNE2 output of the raw dataset
|
|
@@ -5927,16 +6169,14 @@ class RawDataApi {
|
|
|
5927
6169
|
return this.handleResponse(response, 'GenericApiResponse');
|
|
5928
6170
|
}
|
|
5929
6171
|
/**
|
|
5930
|
-
*
|
|
5931
|
-
* @summary Split
|
|
6172
|
+
* 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.
|
|
6173
|
+
* @summary Split dataset
|
|
5932
6174
|
* @param projectId Project ID
|
|
5933
|
-
* @param
|
|
5934
|
-
* @param splitSampleInFramesRequest
|
|
6175
|
+
* @param datasetSplitOptions
|
|
5935
6176
|
*/
|
|
5936
|
-
async
|
|
5937
|
-
const localVarPath = this.basePath + '/api/{projectId}/
|
|
5938
|
-
.replace('{' + 'projectId' + '}', encodeURIComponent(String(projectId)))
|
|
5939
|
-
.replace('{' + 'sampleId' + '}', encodeURIComponent(String(sampleId)));
|
|
6177
|
+
async splitDataset(projectId, datasetSplitOptions, options = { headers: {} }) {
|
|
6178
|
+
const localVarPath = this.basePath + '/api/{projectId}/split'
|
|
6179
|
+
.replace('{' + 'projectId' + '}', encodeURIComponent(String(projectId)));
|
|
5940
6180
|
let localVarQueryParameters = {};
|
|
5941
6181
|
let localVarHeaderParams = {
|
|
5942
6182
|
'User-Agent': 'edgeimpulse-api nodejs',
|
|
@@ -5954,15 +6194,11 @@ class RawDataApi {
|
|
|
5954
6194
|
let localVarFormParams;
|
|
5955
6195
|
// verify required parameter 'projectId' is not null or undefined
|
|
5956
6196
|
if (projectId === null || projectId === undefined) {
|
|
5957
|
-
throw new Error('Required parameter projectId was null or undefined when calling
|
|
6197
|
+
throw new Error('Required parameter projectId was null or undefined when calling splitDataset.');
|
|
5958
6198
|
}
|
|
5959
|
-
// verify required parameter '
|
|
5960
|
-
if (
|
|
5961
|
-
throw new Error('Required parameter
|
|
5962
|
-
}
|
|
5963
|
-
// verify required parameter 'splitSampleInFramesRequest' is not null or undefined
|
|
5964
|
-
if (splitSampleInFramesRequest === null || splitSampleInFramesRequest === undefined) {
|
|
5965
|
-
throw new Error('Required parameter splitSampleInFramesRequest was null or undefined when calling splitSampleInFrames.');
|
|
6199
|
+
// verify required parameter 'datasetSplitOptions' is not null or undefined
|
|
6200
|
+
if (datasetSplitOptions === null || datasetSplitOptions === undefined) {
|
|
6201
|
+
throw new Error('Required parameter datasetSplitOptions was null or undefined when calling splitDataset.');
|
|
5966
6202
|
}
|
|
5967
6203
|
localVarHeaderParams = {
|
|
5968
6204
|
...localVarHeaderParams,
|
|
@@ -5978,7 +6214,7 @@ class RawDataApi {
|
|
|
5978
6214
|
method: 'POST',
|
|
5979
6215
|
headers: { ...localVarHeaderParams },
|
|
5980
6216
|
};
|
|
5981
|
-
localVarRequestOptions.body = JSON.stringify(models_1.ObjectSerializer.serialize(
|
|
6217
|
+
localVarRequestOptions.body = JSON.stringify(models_1.ObjectSerializer.serialize(datasetSplitOptions, "DatasetSplitOptions"));
|
|
5982
6218
|
let requestOptions = localVarRequestOptions;
|
|
5983
6219
|
let url = localVarUrl;
|
|
5984
6220
|
const auth_ApiKeyAuthentication = await this.authentications.ApiKeyAuthentication.applyToRequest(requestOptions, url);
|
|
@@ -6012,13 +6248,13 @@ class RawDataApi {
|
|
|
6012
6248
|
return this.handleResponse(response, 'GenericApiResponse | StartJobResponse');
|
|
6013
6249
|
}
|
|
6014
6250
|
/**
|
|
6015
|
-
*
|
|
6016
|
-
* @summary
|
|
6251
|
+
* 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.
|
|
6252
|
+
* @summary Split dataset preview
|
|
6017
6253
|
* @param projectId Project ID
|
|
6018
|
-
* @param
|
|
6254
|
+
* @param datasetSplitOptions
|
|
6019
6255
|
*/
|
|
6020
|
-
async
|
|
6021
|
-
const localVarPath = this.basePath + '/api/{projectId}/
|
|
6256
|
+
async splitDatasetPreview(projectId, datasetSplitOptions, options = { headers: {} }) {
|
|
6257
|
+
const localVarPath = this.basePath + '/api/{projectId}/split-preview'
|
|
6022
6258
|
.replace('{' + 'projectId' + '}', encodeURIComponent(String(projectId)));
|
|
6023
6259
|
let localVarQueryParameters = {};
|
|
6024
6260
|
let localVarHeaderParams = {
|
|
@@ -6037,11 +6273,11 @@ class RawDataApi {
|
|
|
6037
6273
|
let localVarFormParams;
|
|
6038
6274
|
// verify required parameter 'projectId' is not null or undefined
|
|
6039
6275
|
if (projectId === null || projectId === undefined) {
|
|
6040
|
-
throw new Error('Required parameter projectId was null or undefined when calling
|
|
6276
|
+
throw new Error('Required parameter projectId was null or undefined when calling splitDatasetPreview.');
|
|
6041
6277
|
}
|
|
6042
|
-
// verify required parameter '
|
|
6043
|
-
if (
|
|
6044
|
-
throw new Error('Required parameter
|
|
6278
|
+
// verify required parameter 'datasetSplitOptions' is not null or undefined
|
|
6279
|
+
if (datasetSplitOptions === null || datasetSplitOptions === undefined) {
|
|
6280
|
+
throw new Error('Required parameter datasetSplitOptions was null or undefined when calling splitDatasetPreview.');
|
|
6045
6281
|
}
|
|
6046
6282
|
localVarHeaderParams = {
|
|
6047
6283
|
...localVarHeaderParams,
|
|
@@ -6057,7 +6293,7 @@ class RawDataApi {
|
|
|
6057
6293
|
method: 'POST',
|
|
6058
6294
|
headers: { ...localVarHeaderParams },
|
|
6059
6295
|
};
|
|
6060
|
-
localVarRequestOptions.body = JSON.stringify(models_1.ObjectSerializer.serialize(
|
|
6296
|
+
localVarRequestOptions.body = JSON.stringify(models_1.ObjectSerializer.serialize(datasetSplitOptions, "DatasetSplitOptions"));
|
|
6061
6297
|
let requestOptions = localVarRequestOptions;
|
|
6062
6298
|
let url = localVarUrl;
|
|
6063
6299
|
const auth_ApiKeyAuthentication = await this.authentications.ApiKeyAuthentication.applyToRequest(requestOptions, url);
|
|
@@ -6088,17 +6324,19 @@ class RawDataApi {
|
|
|
6088
6324
|
}
|
|
6089
6325
|
}
|
|
6090
6326
|
const response = await fetch(url, requestOptions);
|
|
6091
|
-
return this.handleResponse(response, '
|
|
6327
|
+
return this.handleResponse(response, 'DatasetSplitPreviewResponse | StartJobResponse');
|
|
6092
6328
|
}
|
|
6093
6329
|
/**
|
|
6094
|
-
*
|
|
6095
|
-
* @summary
|
|
6330
|
+
* 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.
|
|
6331
|
+
* @summary Split sample into frames
|
|
6096
6332
|
* @param projectId Project ID
|
|
6097
|
-
* @param
|
|
6333
|
+
* @param sampleId Sample ID
|
|
6334
|
+
* @param splitSampleInFramesRequest
|
|
6098
6335
|
*/
|
|
6099
|
-
async
|
|
6100
|
-
const localVarPath = this.basePath + '/api/{projectId}/
|
|
6101
|
-
.replace('{' + 'projectId' + '}', encodeURIComponent(String(projectId)))
|
|
6336
|
+
async splitSampleInFrames(projectId, sampleId, splitSampleInFramesRequest, options = { headers: {} }) {
|
|
6337
|
+
const localVarPath = this.basePath + '/api/{projectId}/raw-data/{sampleId}/split'
|
|
6338
|
+
.replace('{' + 'projectId' + '}', encodeURIComponent(String(projectId)))
|
|
6339
|
+
.replace('{' + 'sampleId' + '}', encodeURIComponent(String(sampleId)));
|
|
6102
6340
|
let localVarQueryParameters = {};
|
|
6103
6341
|
let localVarHeaderParams = {
|
|
6104
6342
|
'User-Agent': 'edgeimpulse-api nodejs',
|
|
@@ -6116,11 +6354,15 @@ class RawDataApi {
|
|
|
6116
6354
|
let localVarFormParams;
|
|
6117
6355
|
// verify required parameter 'projectId' is not null or undefined
|
|
6118
6356
|
if (projectId === null || projectId === undefined) {
|
|
6119
|
-
throw new Error('Required parameter projectId was null or undefined when calling
|
|
6357
|
+
throw new Error('Required parameter projectId was null or undefined when calling splitSampleInFrames.');
|
|
6120
6358
|
}
|
|
6121
|
-
// verify required parameter '
|
|
6122
|
-
if (
|
|
6123
|
-
throw new Error('Required parameter
|
|
6359
|
+
// verify required parameter 'sampleId' is not null or undefined
|
|
6360
|
+
if (sampleId === null || sampleId === undefined) {
|
|
6361
|
+
throw new Error('Required parameter sampleId was null or undefined when calling splitSampleInFrames.');
|
|
6362
|
+
}
|
|
6363
|
+
// verify required parameter 'splitSampleInFramesRequest' is not null or undefined
|
|
6364
|
+
if (splitSampleInFramesRequest === null || splitSampleInFramesRequest === undefined) {
|
|
6365
|
+
throw new Error('Required parameter splitSampleInFramesRequest was null or undefined when calling splitSampleInFrames.');
|
|
6124
6366
|
}
|
|
6125
6367
|
localVarHeaderParams = {
|
|
6126
6368
|
...localVarHeaderParams,
|
|
@@ -6136,7 +6378,7 @@ class RawDataApi {
|
|
|
6136
6378
|
method: 'POST',
|
|
6137
6379
|
headers: { ...localVarHeaderParams },
|
|
6138
6380
|
};
|
|
6139
|
-
localVarRequestOptions.body = JSON.stringify(models_1.ObjectSerializer.serialize(
|
|
6381
|
+
localVarRequestOptions.body = JSON.stringify(models_1.ObjectSerializer.serialize(splitSampleInFramesRequest, "SplitSampleInFramesRequest"));
|
|
6140
6382
|
let requestOptions = localVarRequestOptions;
|
|
6141
6383
|
let url = localVarUrl;
|
|
6142
6384
|
const auth_ApiKeyAuthentication = await this.authentications.ApiKeyAuthentication.applyToRequest(requestOptions, url);
|
|
@@ -6170,13 +6412,13 @@ class RawDataApi {
|
|
|
6170
6412
|
return this.handleResponse(response, 'GenericApiResponse | StartJobResponse');
|
|
6171
6413
|
}
|
|
6172
6414
|
/**
|
|
6173
|
-
*
|
|
6174
|
-
* @summary
|
|
6415
|
+
* When segmenting a sample into smaller segments, store the segment length to ensure uniform segment lengths.
|
|
6416
|
+
* @summary Store the last segment length
|
|
6175
6417
|
* @param projectId Project ID
|
|
6176
|
-
* @param
|
|
6418
|
+
* @param storeSegmentLengthRequest
|
|
6177
6419
|
*/
|
|
6178
|
-
async
|
|
6179
|
-
const localVarPath = this.basePath + '/api/{projectId}/
|
|
6420
|
+
async storeSegmentLength(projectId, storeSegmentLengthRequest, options = { headers: {} }) {
|
|
6421
|
+
const localVarPath = this.basePath + '/api/{projectId}/raw-data/store-segment-length'
|
|
6180
6422
|
.replace('{' + 'projectId' + '}', encodeURIComponent(String(projectId)));
|
|
6181
6423
|
let localVarQueryParameters = {};
|
|
6182
6424
|
let localVarHeaderParams = {
|
|
@@ -6195,11 +6437,11 @@ class RawDataApi {
|
|
|
6195
6437
|
let localVarFormParams;
|
|
6196
6438
|
// verify required parameter 'projectId' is not null or undefined
|
|
6197
6439
|
if (projectId === null || projectId === undefined) {
|
|
6198
|
-
throw new Error('Required parameter projectId was null or undefined when calling
|
|
6440
|
+
throw new Error('Required parameter projectId was null or undefined when calling storeSegmentLength.');
|
|
6199
6441
|
}
|
|
6200
|
-
// verify required parameter '
|
|
6201
|
-
if (
|
|
6202
|
-
throw new Error('Required parameter
|
|
6442
|
+
// verify required parameter 'storeSegmentLengthRequest' is not null or undefined
|
|
6443
|
+
if (storeSegmentLengthRequest === null || storeSegmentLengthRequest === undefined) {
|
|
6444
|
+
throw new Error('Required parameter storeSegmentLengthRequest was null or undefined when calling storeSegmentLength.');
|
|
6203
6445
|
}
|
|
6204
6446
|
localVarHeaderParams = {
|
|
6205
6447
|
...localVarHeaderParams,
|
|
@@ -6215,7 +6457,7 @@ class RawDataApi {
|
|
|
6215
6457
|
method: 'POST',
|
|
6216
6458
|
headers: { ...localVarHeaderParams },
|
|
6217
6459
|
};
|
|
6218
|
-
localVarRequestOptions.body = JSON.stringify(models_1.ObjectSerializer.serialize(
|
|
6460
|
+
localVarRequestOptions.body = JSON.stringify(models_1.ObjectSerializer.serialize(storeSegmentLengthRequest, "StoreSegmentLengthRequest"));
|
|
6219
6461
|
let requestOptions = localVarRequestOptions;
|
|
6220
6462
|
let url = localVarUrl;
|
|
6221
6463
|
const auth_ApiKeyAuthentication = await this.authentications.ApiKeyAuthentication.applyToRequest(requestOptions, url);
|
|
@@ -6246,7 +6488,7 @@ class RawDataApi {
|
|
|
6246
6488
|
}
|
|
6247
6489
|
}
|
|
6248
6490
|
const response = await fetch(url, requestOptions);
|
|
6249
|
-
return this.handleResponse(response, '
|
|
6491
|
+
return this.handleResponse(response, 'GenericApiResponse');
|
|
6250
6492
|
}
|
|
6251
6493
|
/**
|
|
6252
6494
|
* Track objects between two samples. Source sample should have bounding boxes set.
|