edge-impulse-linux 1.5.1 → 1.7.0
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/config.js +35 -4
- package/build/cli/config.js.map +1 -1
- package/build/cli/linux/camera-debug.js +0 -0
- package/build/cli/linux/linux.js +6 -1
- package/build/cli/linux/linux.js.map +1 -1
- package/build/cli/linux/runner-downloader.js +14 -0
- package/build/cli/linux/runner-downloader.js.map +1 -1
- package/build/cli/linux/runner.js +32 -6
- package/build/cli/linux/runner.js.map +1 -1
- package/build/cli/linux/webserver/public/inference-server.js +29 -2
- package/build/cli/linux/webserver/public/inference-server.js.map +1 -1
- package/build/cli/linux/webserver/public/webserver.js +58 -6
- package/build/cli/linux/webserver/public/webserver.js.map +1 -1
- package/build/cli/linux/webserver/views/inference-server-view.d.ts +1 -1
- package/build/cli/linux/webserver/views/inference-server-view.js +1 -1
- package/build/cli/linux/webserver/views/inference-server-view.js.map +1 -1
- package/build/library/argv-split.d.ts +1 -0
- package/build/library/argv-split.js +184 -0
- package/build/library/argv-split.js.map +1 -0
- package/build/library/classifier/linux-impulse-runner.d.ts +35 -2
- package/build/library/classifier/linux-impulse-runner.js +76 -7
- package/build/library/classifier/linux-impulse-runner.js.map +1 -1
- package/build/library/index.d.ts +2 -1
- package/build/library/index.js +2 -1
- package/build/library/index.js.map +1 -1
- package/build/library/moving-average-filter.d.ts +10 -0
- package/build/library/sensors/gstreamer.d.ts +19 -2
- package/build/library/sensors/gstreamer.js +328 -76
- package/build/library/sensors/gstreamer.js.map +1 -1
- package/build/sdk/studio/sdk/api/adminApi.d.ts +36 -0
- package/build/sdk/studio/sdk/api/adminApi.js +243 -0
- package/build/sdk/studio/sdk/api/adminApi.js.map +1 -1
- package/build/sdk/studio/sdk/api/classifyApi.d.ts +13 -0
- package/build/sdk/studio/sdk/api/classifyApi.js +85 -0
- 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 +3 -15
- package/build/sdk/studio/sdk/api/dSPApi.js.map +1 -1
- package/build/sdk/studio/sdk/api/organizationBlocksApi.d.ts +95 -2
- package/build/sdk/studio/sdk/api/organizationBlocksApi.js +634 -2
- package/build/sdk/studio/sdk/api/organizationBlocksApi.js.map +1 -1
- package/build/sdk/studio/sdk/api/organizationDataApi.d.ts +41 -0
- package/build/sdk/studio/sdk/api/organizationDataApi.js +251 -0
- package/build/sdk/studio/sdk/api/organizationDataApi.js.map +1 -1
- package/build/sdk/studio/sdk/api/organizationsApi.d.ts +83 -43
- package/build/sdk/studio/sdk/api/organizationsApi.js +273 -43
- package/build/sdk/studio/sdk/api/organizationsApi.js.map +1 -1
- package/build/sdk/studio/sdk/api/projectsApi.d.ts +46 -0
- package/build/sdk/studio/sdk/api/projectsApi.js +301 -0
- package/build/sdk/studio/sdk/api/projectsApi.js.map +1 -1
- package/build/sdk/studio/sdk/api/rawDataApi.d.ts +26 -4
- package/build/sdk/studio/sdk/api/rawDataApi.js +47 -7
- package/build/sdk/studio/sdk/api/rawDataApi.js.map +1 -1
- package/build/sdk/studio/sdk/api/userApi.d.ts +33 -0
- package/build/sdk/studio/sdk/api/userApi.js +213 -0
- package/build/sdk/studio/sdk/api/userApi.js.map +1 -1
- package/build/sdk/studio/sdk/model/addOrganizationTransformationBlockRequest.d.ts +1 -1
- package/build/sdk/studio/sdk/model/addOrganizationTransformationBlockRequest.js +1 -1
- package/build/sdk/studio/sdk/model/addOrganizationTransformationBlockRequest.js.map +1 -1
- package/build/sdk/studio/sdk/model/adminApiUser.d.ts +4 -0
- package/build/sdk/studio/sdk/model/adminApiUser.js +5 -0
- package/build/sdk/studio/sdk/model/adminApiUser.js.map +1 -1
- package/build/sdk/studio/sdk/model/adminCreateOrganizationDataExportRequest.d.ts +36 -0
- package/build/sdk/studio/sdk/model/adminCreateOrganizationDataExportRequest.js +42 -0
- package/build/sdk/studio/sdk/model/adminCreateOrganizationDataExportRequest.js.map +1 -0
- package/build/sdk/studio/sdk/model/adminGetOrganizationUsageReportsResponse.d.ts +1 -1
- package/build/sdk/studio/sdk/model/adminGetOrganizationUsageReportsResponseAllOf.d.ts +1 -1
- package/build/sdk/studio/sdk/model/adminUpdateOrganizationDataExportRequest.d.ts +32 -0
- package/build/sdk/studio/sdk/model/adminUpdateOrganizationDataExportRequest.js +37 -0
- package/build/sdk/studio/sdk/model/adminUpdateOrganizationDataExportRequest.js.map +1 -0
- package/build/sdk/studio/sdk/model/blockType.d.ts +13 -0
- package/build/sdk/studio/sdk/model/blockType.js +16 -0
- package/build/sdk/studio/sdk/model/blockType.js.map +1 -0
- package/build/sdk/studio/sdk/model/dSPBlock.d.ts +2 -0
- package/build/sdk/studio/sdk/model/dSPBlock.js +5 -0
- package/build/sdk/studio/sdk/model/dSPBlock.js.map +1 -1
- package/build/sdk/studio/sdk/model/dSPGroupItem.d.ts +1 -1
- package/build/sdk/studio/sdk/model/dSPGroupItem.js +1 -1
- package/build/sdk/studio/sdk/model/dSPGroupItem.js.map +1 -1
- package/build/sdk/studio/sdk/model/deployPretrainedModelRequest.d.ts +1 -1
- package/build/sdk/studio/sdk/model/deployPretrainedModelRequest.js +1 -1
- package/build/sdk/studio/sdk/model/deployPretrainedModelRequest.js.map +1 -1
- package/build/sdk/studio/sdk/model/deploymentTargetEngine.d.ts +1 -1
- package/build/sdk/studio/sdk/model/deploymentTargetEngine.js +1 -1
- package/build/sdk/studio/sdk/model/deploymentTargetEngine.js.map +1 -1
- package/build/sdk/studio/sdk/model/exportBlockResponse.d.ts +37 -0
- package/build/sdk/studio/sdk/model/exportBlockResponse.js +47 -0
- package/build/sdk/studio/sdk/model/exportBlockResponse.js.map +1 -0
- package/build/sdk/studio/sdk/model/exportBlockResponseAllOf.d.ts +29 -0
- package/build/sdk/studio/sdk/model/exportBlockResponseAllOf.js +37 -0
- package/build/sdk/studio/sdk/model/exportBlockResponseAllOf.js.map +1 -0
- package/build/sdk/studio/sdk/model/getCsvWizardUploadedFileInfo.d.ts +34 -0
- package/build/sdk/studio/sdk/model/getCsvWizardUploadedFileInfo.js +47 -0
- package/build/sdk/studio/sdk/model/getCsvWizardUploadedFileInfo.js.map +1 -0
- package/build/sdk/studio/sdk/model/getCsvWizardUploadedFileInfoAllOf.d.ts +26 -0
- package/build/sdk/studio/sdk/model/getCsvWizardUploadedFileInfoAllOf.js +37 -0
- package/build/sdk/studio/sdk/model/getCsvWizardUploadedFileInfoAllOf.js.map +1 -0
- package/build/sdk/studio/sdk/model/getJWTRequest.d.ts +4 -0
- package/build/sdk/studio/sdk/model/getJWTRequest.js +5 -0
- package/build/sdk/studio/sdk/model/getJWTRequest.js.map +1 -1
- package/build/sdk/studio/sdk/model/getOrganizationBucketResponse.d.ts +34 -0
- package/build/sdk/studio/sdk/model/getOrganizationBucketResponse.js +42 -0
- package/build/sdk/studio/sdk/model/getOrganizationBucketResponse.js.map +1 -0
- package/build/sdk/studio/sdk/model/getOrganizationBucketResponseAllOf.d.ts +26 -0
- package/build/sdk/studio/sdk/model/getOrganizationBucketResponseAllOf.js +32 -0
- package/build/sdk/studio/sdk/model/getOrganizationBucketResponseAllOf.js.map +1 -0
- package/build/sdk/studio/sdk/model/getOrganizationDataExportResponse.d.ts +34 -0
- package/build/sdk/studio/sdk/model/getOrganizationDataExportResponse.js +42 -0
- package/build/sdk/studio/sdk/model/getOrganizationDataExportResponse.js.map +1 -0
- package/build/sdk/studio/sdk/model/getOrganizationDataExportResponseAllOf.d.ts +26 -0
- package/build/sdk/studio/sdk/model/getOrganizationDataExportResponseAllOf.js +32 -0
- package/build/sdk/studio/sdk/model/getOrganizationDataExportResponseAllOf.js.map +1 -0
- package/build/sdk/studio/sdk/model/getOrganizationDataExportsResponse.d.ts +38 -0
- package/build/sdk/studio/sdk/model/getOrganizationDataExportsResponse.js +47 -0
- package/build/sdk/studio/sdk/model/getOrganizationDataExportsResponse.js.map +1 -0
- package/build/sdk/studio/sdk/model/getOrganizationDataExportsResponseAllOf.d.ts +30 -0
- package/build/sdk/studio/sdk/model/getOrganizationDataExportsResponseAllOf.js +37 -0
- package/build/sdk/studio/sdk/model/getOrganizationDataExportsResponseAllOf.js.map +1 -0
- package/build/sdk/studio/sdk/model/getOrganizationDeployBlockResponse.d.ts +34 -0
- package/build/sdk/studio/sdk/model/getOrganizationDeployBlockResponse.js +42 -0
- package/build/sdk/studio/sdk/model/getOrganizationDeployBlockResponse.js.map +1 -0
- package/build/sdk/studio/sdk/model/getOrganizationDeployBlockResponseAllOf.d.ts +26 -0
- package/build/sdk/studio/sdk/model/getOrganizationDeployBlockResponseAllOf.js +32 -0
- package/build/sdk/studio/sdk/model/getOrganizationDeployBlockResponseAllOf.js.map +1 -0
- package/build/sdk/studio/sdk/model/getOrganizationDspBlockResponse.d.ts +34 -0
- package/build/sdk/studio/sdk/model/getOrganizationDspBlockResponse.js +42 -0
- package/build/sdk/studio/sdk/model/getOrganizationDspBlockResponse.js.map +1 -0
- package/build/sdk/studio/sdk/model/getOrganizationDspBlockResponseAllOf.d.ts +26 -0
- package/build/sdk/studio/sdk/model/getOrganizationDspBlockResponseAllOf.js +32 -0
- package/build/sdk/studio/sdk/model/getOrganizationDspBlockResponseAllOf.js.map +1 -0
- package/build/sdk/studio/sdk/model/getOrganizationTransferLearningBlockResponse.d.ts +34 -0
- package/build/sdk/studio/sdk/model/getOrganizationTransferLearningBlockResponse.js +42 -0
- package/build/sdk/studio/sdk/model/getOrganizationTransferLearningBlockResponse.js.map +1 -0
- package/build/sdk/studio/sdk/model/getOrganizationTransferLearningBlockResponseAllOf.d.ts +26 -0
- package/build/sdk/studio/sdk/model/getOrganizationTransferLearningBlockResponseAllOf.js +32 -0
- package/build/sdk/studio/sdk/model/getOrganizationTransferLearningBlockResponseAllOf.js.map +1 -0
- package/build/sdk/studio/sdk/model/getOrganizationTransformationBlockResponse.d.ts +34 -0
- package/build/sdk/studio/sdk/model/getOrganizationTransformationBlockResponse.js +42 -0
- package/build/sdk/studio/sdk/model/getOrganizationTransformationBlockResponse.js.map +1 -0
- package/build/sdk/studio/sdk/model/getOrganizationTransformationBlockResponseAllOf.d.ts +26 -0
- package/build/sdk/studio/sdk/model/getOrganizationTransformationBlockResponseAllOf.js +32 -0
- package/build/sdk/studio/sdk/model/getOrganizationTransformationBlockResponseAllOf.js.map +1 -0
- package/build/sdk/studio/sdk/model/getPretrainedModelResponseAllOfModel.d.ts +1 -0
- package/build/sdk/studio/sdk/model/getPretrainedModelResponseAllOfModel.js +5 -0
- package/build/sdk/studio/sdk/model/getPretrainedModelResponseAllOfModel.js.map +1 -1
- package/build/sdk/studio/sdk/model/getUserResponse.d.ts +4 -0
- package/build/sdk/studio/sdk/model/getUserResponse.js +5 -0
- package/build/sdk/studio/sdk/model/getUserResponse.js.map +1 -1
- package/build/sdk/studio/sdk/model/imageInputScaling.d.ts +2 -2
- package/build/sdk/studio/sdk/model/imageInputScaling.js +1 -1
- package/build/sdk/studio/sdk/model/imageInputScaling.js.map +1 -1
- package/build/sdk/studio/sdk/model/inputBlock.d.ts +2 -0
- package/build/sdk/studio/sdk/model/inputBlock.js +5 -0
- package/build/sdk/studio/sdk/model/inputBlock.js.map +1 -1
- package/build/sdk/studio/sdk/model/kerasModelMetadataMetricsOnDevicePerformance.d.ts +1 -0
- package/build/sdk/studio/sdk/model/kerasModelMetadataMetricsOnDevicePerformance.js +5 -0
- package/build/sdk/studio/sdk/model/kerasModelMetadataMetricsOnDevicePerformance.js.map +1 -1
- package/build/sdk/studio/sdk/model/kerasResponse.d.ts +8 -6
- package/build/sdk/studio/sdk/model/kerasResponse.js +12 -7
- package/build/sdk/studio/sdk/model/kerasResponse.js.map +1 -1
- package/build/sdk/studio/sdk/model/kerasResponseAllOf.d.ts +8 -6
- package/build/sdk/studio/sdk/model/kerasResponseAllOf.js +12 -7
- package/build/sdk/studio/sdk/model/kerasResponseAllOf.js.map +1 -1
- package/build/sdk/studio/sdk/model/learnBlock.d.ts +2 -0
- package/build/sdk/studio/sdk/model/learnBlock.js +5 -0
- package/build/sdk/studio/sdk/model/learnBlock.js.map +1 -1
- package/build/sdk/studio/sdk/model/listOrganizationBucketsResponse.d.ts +2 -2
- package/build/sdk/studio/sdk/model/listOrganizationBucketsResponse.js +1 -1
- package/build/sdk/studio/sdk/model/listOrganizationBucketsResponse.js.map +1 -1
- package/build/sdk/studio/sdk/model/listOrganizationBucketsResponseAllOf.d.ts +2 -2
- package/build/sdk/studio/sdk/model/listOrganizationBucketsResponseAllOf.js +1 -1
- package/build/sdk/studio/sdk/model/listOrganizationBucketsResponseAllOf.js.map +1 -1
- package/build/sdk/studio/sdk/model/listOrganizationUsageReportsResponseAllOf.d.ts +30 -0
- package/build/sdk/studio/sdk/model/listOrganizationUsageReportsResponseAllOf.js +37 -0
- package/build/sdk/studio/sdk/model/listOrganizationUsageReportsResponseAllOf.js.map +1 -0
- package/build/sdk/studio/sdk/model/listPortalFilesInFolderRequest.d.ts +4 -4
- package/build/sdk/studio/sdk/model/listPortalFilesInFolderRequest.js +5 -5
- package/build/sdk/studio/sdk/model/listPortalFilesInFolderRequest.js.map +1 -1
- package/build/sdk/studio/sdk/model/modelEngineShortEnum.d.ts +13 -0
- package/build/sdk/studio/sdk/model/modelEngineShortEnum.js +16 -0
- package/build/sdk/studio/sdk/model/modelEngineShortEnum.js.map +1 -0
- package/build/sdk/studio/sdk/model/models.d.ts +38 -1
- package/build/sdk/studio/sdk/model/models.js +116 -9
- package/build/sdk/studio/sdk/model/models.js.map +1 -1
- package/build/sdk/studio/sdk/model/{listOrganizationBucketsResponseAllOfBuckets.d.ts → organizationBucket.d.ts} +1 -1
- package/build/sdk/studio/sdk/model/{listOrganizationBucketsResponseAllOfBuckets.js → organizationBucket.js} +9 -9
- package/build/sdk/studio/sdk/model/organizationBucket.js.map +1 -0
- package/build/sdk/studio/sdk/model/organizationCreateProject.d.ts +2 -3
- package/build/sdk/studio/sdk/model/organizationCreateProject.js +2 -3
- package/build/sdk/studio/sdk/model/organizationCreateProject.js.map +1 -1
- package/build/sdk/studio/sdk/model/organizationCreateProjectOutputDatasetPathRule.d.ts +16 -0
- package/build/sdk/studio/sdk/model/organizationCreateProjectOutputDatasetPathRule.js +16 -0
- package/build/sdk/studio/sdk/model/organizationCreateProjectOutputDatasetPathRule.js.map +1 -0
- package/build/sdk/studio/sdk/model/organizationCreateProjectPathFilter.d.ts +35 -0
- package/build/sdk/studio/sdk/model/organizationCreateProjectPathFilter.js +40 -0
- package/build/sdk/studio/sdk/model/organizationCreateProjectPathFilter.js.map +1 -0
- package/build/sdk/studio/sdk/model/organizationCreateProjectRequest.d.ts +17 -0
- package/build/sdk/studio/sdk/model/organizationCreateProjectRequest.js +15 -0
- package/build/sdk/studio/sdk/model/organizationCreateProjectRequest.js.map +1 -1
- package/build/sdk/studio/sdk/model/organizationCreateProjectWithFiles.d.ts +2 -3
- package/build/sdk/studio/sdk/model/organizationCreateProjectWithFiles.js +2 -3
- package/build/sdk/studio/sdk/model/organizationCreateProjectWithFiles.js.map +1 -1
- package/build/sdk/studio/sdk/model/organizationCreateProjectWithFilesAllOfFiles.d.ts +4 -2
- package/build/sdk/studio/sdk/model/organizationCreateProjectWithFilesAllOfFiles.js +9 -8
- package/build/sdk/studio/sdk/model/organizationCreateProjectWithFilesAllOfFiles.js.map +1 -1
- package/build/sdk/studio/sdk/model/organizationDataExport.d.ts +35 -0
- package/build/sdk/studio/sdk/model/organizationDataExport.js +52 -0
- package/build/sdk/studio/sdk/model/organizationDataExport.js.map +1 -0
- package/build/sdk/studio/sdk/model/organizationDataset.d.ts +4 -0
- package/build/sdk/studio/sdk/model/organizationDataset.js +5 -0
- package/build/sdk/studio/sdk/model/organizationDataset.js.map +1 -1
- package/build/sdk/studio/sdk/model/organizationDeployBlock.d.ts +1 -0
- package/build/sdk/studio/sdk/model/organizationDeployBlock.js +5 -0
- package/build/sdk/studio/sdk/model/organizationDeployBlock.js.map +1 -1
- package/build/sdk/studio/sdk/model/organizationDspBlock.d.ts +1 -0
- package/build/sdk/studio/sdk/model/organizationDspBlock.js +5 -0
- package/build/sdk/studio/sdk/model/organizationDspBlock.js.map +1 -1
- package/build/sdk/studio/sdk/model/organizationGetCreateProjectsResponseAllOfJobs.d.ts +2 -3
- package/build/sdk/studio/sdk/model/organizationGetCreateProjectsResponseAllOfJobs.js +2 -3
- package/build/sdk/studio/sdk/model/organizationGetCreateProjectsResponseAllOfJobs.js.map +1 -1
- package/build/sdk/studio/sdk/model/organizationPipelineStep.d.ts +11 -0
- package/build/sdk/studio/sdk/model/organizationPipelineStep.js +15 -0
- package/build/sdk/studio/sdk/model/organizationPipelineStep.js.map +1 -1
- package/build/sdk/studio/sdk/model/organizationTransferLearningBlock.d.ts +1 -0
- package/build/sdk/studio/sdk/model/organizationTransferLearningBlock.js +5 -0
- package/build/sdk/studio/sdk/model/organizationTransferLearningBlock.js.map +1 -1
- package/build/sdk/studio/sdk/model/organizationTransformationBlock.d.ts +3 -3
- package/build/sdk/studio/sdk/model/organizationTransformationBlock.js +7 -3
- package/build/sdk/studio/sdk/model/organizationTransformationBlock.js.map +1 -1
- package/build/sdk/studio/sdk/model/organizationUser.d.ts +4 -0
- package/build/sdk/studio/sdk/model/organizationUser.js +5 -0
- package/build/sdk/studio/sdk/model/organizationUser.js.map +1 -1
- package/build/sdk/studio/sdk/model/previewDefaultFilesInFolderRequest.d.ts +34 -0
- package/build/sdk/studio/sdk/model/previewDefaultFilesInFolderRequest.js +38 -0
- package/build/sdk/studio/sdk/model/previewDefaultFilesInFolderRequest.js.map +1 -0
- package/build/sdk/studio/sdk/model/previewDefaultFilesInFolderResponse.d.ts +44 -0
- package/build/sdk/studio/sdk/model/previewDefaultFilesInFolderResponse.js +53 -0
- package/build/sdk/studio/sdk/model/previewDefaultFilesInFolderResponse.js.map +1 -0
- package/build/sdk/studio/sdk/model/previewDefaultFilesInFolderResponseAllOf.d.ts +36 -0
- package/build/sdk/studio/sdk/model/previewDefaultFilesInFolderResponseAllOf.js +43 -0
- package/build/sdk/studio/sdk/model/previewDefaultFilesInFolderResponseAllOf.js.map +1 -0
- package/build/sdk/studio/sdk/model/profileModelInfoMemory.d.ts +1 -0
- package/build/sdk/studio/sdk/model/profileModelInfoMemory.js +5 -0
- package/build/sdk/studio/sdk/model/profileModelInfoMemory.js.map +1 -1
- package/build/sdk/studio/sdk/model/profileModelTableMcuMemory.d.ts +1 -0
- package/build/sdk/studio/sdk/model/profileModelTableMcuMemory.js +5 -0
- package/build/sdk/studio/sdk/model/profileModelTableMcuMemory.js.map +1 -1
- package/build/sdk/studio/sdk/model/project.d.ts +4 -0
- package/build/sdk/studio/sdk/model/project.js +5 -0
- package/build/sdk/studio/sdk/model/project.js.map +1 -1
- package/build/sdk/studio/sdk/model/projectCollaborator.d.ts +4 -0
- package/build/sdk/studio/sdk/model/projectCollaborator.js +5 -0
- package/build/sdk/studio/sdk/model/projectCollaborator.js.map +1 -1
- package/build/sdk/studio/sdk/model/projectInfoResponseAllOfAcquisitionSettings.d.ts +18 -0
- package/build/sdk/studio/sdk/model/projectInfoResponseAllOfAcquisitionSettings.js +22 -1
- package/build/sdk/studio/sdk/model/projectInfoResponseAllOfAcquisitionSettings.js.map +1 -1
- package/build/sdk/studio/sdk/model/projectInfoResponseAllOfDeploySettings.d.ts +2 -0
- package/build/sdk/studio/sdk/model/projectInfoResponseAllOfDeploySettings.js +5 -0
- package/build/sdk/studio/sdk/model/projectInfoResponseAllOfDeploySettings.js.map +1 -1
- package/build/sdk/studio/sdk/model/sample.d.ts +4 -0
- package/build/sdk/studio/sdk/model/sample.js +5 -0
- package/build/sdk/studio/sdk/model/sample.js.map +1 -1
- package/build/sdk/studio/sdk/model/setKerasParameterRequest.d.ts +8 -6
- package/build/sdk/studio/sdk/model/setKerasParameterRequest.js +12 -7
- package/build/sdk/studio/sdk/model/setKerasParameterRequest.js.map +1 -1
- package/build/sdk/studio/sdk/model/targetConstraintsDevice.d.ts +0 -4
- package/build/sdk/studio/sdk/model/targetConstraintsDevice.js +0 -5
- package/build/sdk/studio/sdk/model/targetConstraintsDevice.js.map +1 -1
- package/build/sdk/studio/sdk/model/transferLearningModel.d.ts +2 -3
- package/build/sdk/studio/sdk/model/transferLearningModel.js +2 -3
- package/build/sdk/studio/sdk/model/transferLearningModel.js.map +1 -1
- package/build/sdk/studio/sdk/model/transformationJobOperatesOnEnum.d.ts +13 -0
- package/build/sdk/studio/sdk/model/transformationJobOperatesOnEnum.js +16 -0
- package/build/sdk/studio/sdk/model/transformationJobOperatesOnEnum.js.map +1 -0
- package/build/sdk/studio/sdk/model/updateOrganizationTransformationBlockRequest.d.ts +2 -3
- package/build/sdk/studio/sdk/model/updateOrganizationTransformationBlockRequest.js +2 -3
- package/build/sdk/studio/sdk/model/updateOrganizationTransformationBlockRequest.js.map +1 -1
- package/build/sdk/studio/sdk/model/updateProjectRequest.d.ts +25 -1
- package/build/sdk/studio/sdk/model/updateProjectRequest.js +32 -1
- package/build/sdk/studio/sdk/model/updateProjectRequest.js.map +1 -1
- package/build/sdk/studio/sdk/model/uploadCsvWizardUploadedFileRequest.d.ts +33 -0
- package/build/sdk/studio/sdk/model/uploadCsvWizardUploadedFileRequest.js +32 -0
- package/build/sdk/studio/sdk/model/uploadCsvWizardUploadedFileRequest.js.map +1 -0
- package/build/sdk/studio/sdk/model/user.d.ts +4 -0
- package/build/sdk/studio/sdk/model/user.js +5 -0
- package/build/sdk/studio/sdk/model/user.js.map +1 -1
- package/build/sdk/studio/sdk/model/userDeleteTotpMfaKeyRequest.d.ts +28 -0
- package/build/sdk/studio/sdk/model/userDeleteTotpMfaKeyRequest.js +32 -0
- package/build/sdk/studio/sdk/model/userDeleteTotpMfaKeyRequest.js.map +1 -0
- package/build/sdk/studio/sdk/model/userGenerateNewMfaKeyResponse.d.ts +40 -0
- package/build/sdk/studio/sdk/model/userGenerateNewMfaKeyResponse.js +47 -0
- package/build/sdk/studio/sdk/model/userGenerateNewMfaKeyResponse.js.map +1 -0
- package/build/sdk/studio/sdk/model/userGenerateNewMfaKeyResponseAllOf.d.ts +32 -0
- package/build/sdk/studio/sdk/model/userGenerateNewMfaKeyResponseAllOf.js +37 -0
- package/build/sdk/studio/sdk/model/userGenerateNewMfaKeyResponseAllOf.js.map +1 -0
- package/build/sdk/studio/sdk/model/userSetTotpMfaKeyRequest.d.ts +32 -0
- package/build/sdk/studio/sdk/model/userSetTotpMfaKeyRequest.js +37 -0
- package/build/sdk/studio/sdk/model/userSetTotpMfaKeyRequest.js.map +1 -0
- package/build/sdk/studio/sdk/model/userSetTotpMfaKeyResponse.d.ts +36 -0
- package/build/sdk/studio/sdk/model/userSetTotpMfaKeyResponse.js +42 -0
- package/build/sdk/studio/sdk/model/userSetTotpMfaKeyResponse.js.map +1 -0
- package/build/sdk/studio/sdk/model/userSetTotpMfaKeyResponseAllOf.d.ts +28 -0
- package/build/sdk/studio/sdk/model/userSetTotpMfaKeyResponseAllOf.js +32 -0
- package/build/sdk/studio/sdk/model/userSetTotpMfaKeyResponseAllOf.js.map +1 -0
- package/build/shared/viewmodels/init.d.ts +13 -2
- package/build/shared/viewmodels/init.js +6 -1
- package/build/shared/viewmodels/init.js.map +1 -1
- package/build/test/gstreamer.test.js +1847 -16
- package/build/test/gstreamer.test.js.map +1 -1
- package/cli/linux/linux.ts +6 -1
- package/cli/linux/runner-downloader.ts +18 -0
- package/cli/linux/runner.ts +38 -7
- package/cli/linux/webserver/public/inference-server.js +33 -2
- package/cli/linux/webserver/public/webserver.js +67 -7
- package/cli/linux/webserver/views/inference-server-view.ts +2 -2
- package/examples/js/classify-camera.js +11 -3
- package/package.json +1 -1
- package/test/gstreamer.test.ts +1877 -19
- package/build/sdk/studio/sdk/model/listOrganizationBucketsResponseAllOfBuckets.js.map +0 -1
|
@@ -68,6 +68,7 @@ declare type batchDeleteQueryParams = {
|
|
|
68
68
|
includeDisabled?: 'both' | 'enabled' | 'disabled';
|
|
69
69
|
ids?: string;
|
|
70
70
|
excludeIds?: string;
|
|
71
|
+
search?: string;
|
|
71
72
|
};
|
|
72
73
|
declare type batchDisableQueryParams = {
|
|
73
74
|
category: 'training' | 'testing' | 'anomaly';
|
|
@@ -81,6 +82,7 @@ declare type batchDisableQueryParams = {
|
|
|
81
82
|
includeDisabled?: 'both' | 'enabled' | 'disabled';
|
|
82
83
|
ids?: string;
|
|
83
84
|
excludeIds?: string;
|
|
85
|
+
search?: string;
|
|
84
86
|
};
|
|
85
87
|
declare type batchEditLabelsQueryParams = {
|
|
86
88
|
category: 'training' | 'testing' | 'anomaly';
|
|
@@ -94,6 +96,7 @@ declare type batchEditLabelsQueryParams = {
|
|
|
94
96
|
includeDisabled?: 'both' | 'enabled' | 'disabled';
|
|
95
97
|
ids?: string;
|
|
96
98
|
excludeIds?: string;
|
|
99
|
+
search?: string;
|
|
97
100
|
};
|
|
98
101
|
declare type batchEnableQueryParams = {
|
|
99
102
|
category: 'training' | 'testing' | 'anomaly';
|
|
@@ -107,6 +110,7 @@ declare type batchEnableQueryParams = {
|
|
|
107
110
|
includeDisabled?: 'both' | 'enabled' | 'disabled';
|
|
108
111
|
ids?: string;
|
|
109
112
|
excludeIds?: string;
|
|
113
|
+
search?: string;
|
|
110
114
|
};
|
|
111
115
|
declare type batchMoveQueryParams = {
|
|
112
116
|
category: 'training' | 'testing' | 'anomaly';
|
|
@@ -120,6 +124,7 @@ declare type batchMoveQueryParams = {
|
|
|
120
124
|
includeDisabled?: 'both' | 'enabled' | 'disabled';
|
|
121
125
|
ids?: string;
|
|
122
126
|
excludeIds?: string;
|
|
127
|
+
search?: string;
|
|
123
128
|
};
|
|
124
129
|
declare type countSamplesQueryParams = {
|
|
125
130
|
category: 'training' | 'testing' | 'anomaly';
|
|
@@ -131,6 +136,7 @@ declare type countSamplesQueryParams = {
|
|
|
131
136
|
maxFrequency?: number;
|
|
132
137
|
signatureValidity?: 'both' | 'valid' | 'invalid';
|
|
133
138
|
includeDisabled?: 'both' | 'enabled' | 'disabled';
|
|
139
|
+
search?: string;
|
|
134
140
|
};
|
|
135
141
|
declare type getAllImportedFromQueryParams = {
|
|
136
142
|
limit?: number;
|
|
@@ -141,24 +147,28 @@ declare type getAutoLabelerImageQueryParams = {
|
|
|
141
147
|
};
|
|
142
148
|
declare type getSampleQueryParams = {
|
|
143
149
|
limitPayloadValues?: number;
|
|
150
|
+
cacheKey?: string;
|
|
144
151
|
};
|
|
145
152
|
declare type getSampleAsAudioQueryParams = {
|
|
146
153
|
axisIx: number;
|
|
147
154
|
sliceStart?: number;
|
|
148
155
|
sliceEnd?: number;
|
|
156
|
+
cacheKey?: string;
|
|
149
157
|
};
|
|
150
158
|
declare type getSampleAsImageQueryParams = {
|
|
151
159
|
afterInputBlock?: boolean;
|
|
160
|
+
cacheKey?: string;
|
|
152
161
|
};
|
|
153
162
|
declare type getSampleAsVideoQueryParams = {
|
|
154
163
|
afterInputBlock?: boolean;
|
|
164
|
+
cacheKey?: string;
|
|
155
165
|
};
|
|
156
166
|
declare type getSampleMetadataQueryParams = {
|
|
157
167
|
category: 'training' | 'testing' | 'anomaly';
|
|
158
168
|
};
|
|
159
169
|
declare type getSampleSliceQueryParams = {
|
|
160
170
|
sliceStart: number;
|
|
161
|
-
sliceEnd
|
|
171
|
+
sliceEnd?: number;
|
|
162
172
|
};
|
|
163
173
|
declare type getUncroppedDownsampledSampleQueryParams = {
|
|
164
174
|
limitPayloadValues?: number;
|
|
@@ -178,6 +188,7 @@ declare type listSamplesQueryParams = {
|
|
|
178
188
|
maxFrequency?: number;
|
|
179
189
|
signatureValidity?: 'both' | 'valid' | 'invalid';
|
|
180
190
|
includeDisabled?: 'both' | 'enabled' | 'disabled';
|
|
191
|
+
search?: string;
|
|
181
192
|
};
|
|
182
193
|
declare type uploadDataExplorerScreenshotFormParams = {
|
|
183
194
|
image: RequestFile;
|
|
@@ -221,6 +232,7 @@ export declare class RawDataApi {
|
|
|
221
232
|
* @param includeDisabled Include only enabled or disabled samples (or both)
|
|
222
233
|
* @param ids Only include samples with an ID within the given list of IDs, given as a JSON string
|
|
223
234
|
* @param excludeIds Exclude samples with an ID within the given list of IDs, given as a JSON string
|
|
235
|
+
* @param search Search query
|
|
224
236
|
*/
|
|
225
237
|
batchDelete(projectId: number, queryParams: batchDeleteQueryParams, options?: {
|
|
226
238
|
headers: {
|
|
@@ -242,6 +254,7 @@ export declare class RawDataApi {
|
|
|
242
254
|
* @param includeDisabled Include only enabled or disabled samples (or both)
|
|
243
255
|
* @param ids Only include samples with an ID within the given list of IDs, given as a JSON string
|
|
244
256
|
* @param excludeIds Exclude samples with an ID within the given list of IDs, given as a JSON string
|
|
257
|
+
* @param search Search query
|
|
245
258
|
*/
|
|
246
259
|
batchDisable(projectId: number, queryParams: batchDisableQueryParams, options?: {
|
|
247
260
|
headers: {
|
|
@@ -264,6 +277,7 @@ export declare class RawDataApi {
|
|
|
264
277
|
* @param includeDisabled Include only enabled or disabled samples (or both)
|
|
265
278
|
* @param ids Only include samples with an ID within the given list of IDs, given as a JSON string
|
|
266
279
|
* @param excludeIds Exclude samples with an ID within the given list of IDs, given as a JSON string
|
|
280
|
+
* @param search Search query
|
|
267
281
|
*/
|
|
268
282
|
batchEditLabels(projectId: number, editSampleLabelRequest: EditSampleLabelRequest, queryParams: batchEditLabelsQueryParams, options?: {
|
|
269
283
|
headers: {
|
|
@@ -285,6 +299,7 @@ export declare class RawDataApi {
|
|
|
285
299
|
* @param includeDisabled Include only enabled or disabled samples (or both)
|
|
286
300
|
* @param ids Only include samples with an ID within the given list of IDs, given as a JSON string
|
|
287
301
|
* @param excludeIds Exclude samples with an ID within the given list of IDs, given as a JSON string
|
|
302
|
+
* @param search Search query
|
|
288
303
|
*/
|
|
289
304
|
batchEnable(projectId: number, queryParams: batchEnableQueryParams, options?: {
|
|
290
305
|
headers: {
|
|
@@ -307,6 +322,7 @@ export declare class RawDataApi {
|
|
|
307
322
|
* @param includeDisabled Include only enabled or disabled samples (or both)
|
|
308
323
|
* @param ids Only include samples with an ID within the given list of IDs, given as a JSON string
|
|
309
324
|
* @param excludeIds Exclude samples with an ID within the given list of IDs, given as a JSON string
|
|
325
|
+
* @param search Search query
|
|
310
326
|
*/
|
|
311
327
|
batchMove(projectId: number, moveRawDataRequest: MoveRawDataRequest, queryParams: batchMoveQueryParams, options?: {
|
|
312
328
|
headers: {
|
|
@@ -358,6 +374,7 @@ export declare class RawDataApi {
|
|
|
358
374
|
* @param maxFrequency Only include samples with lower frequency than given frequency, in hertz
|
|
359
375
|
* @param signatureValidity Include samples with either valid or invalid signatures
|
|
360
376
|
* @param includeDisabled Include only enabled or disabled samples (or both)
|
|
377
|
+
* @param search Search query
|
|
361
378
|
*/
|
|
362
379
|
countSamples(projectId: number, queryParams: countSamplesQueryParams, options?: {
|
|
363
380
|
headers: {
|
|
@@ -563,6 +580,7 @@ export declare class RawDataApi {
|
|
|
563
580
|
* @param projectId Project ID
|
|
564
581
|
* @param sampleId Sample ID
|
|
565
582
|
* @param limitPayloadValues Limit the number of payload values in the response
|
|
583
|
+
* @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).
|
|
566
584
|
*/
|
|
567
585
|
getSample(projectId: number, sampleId: number, queryParams: getSampleQueryParams, options?: {
|
|
568
586
|
headers: {
|
|
@@ -575,8 +593,9 @@ export declare class RawDataApi {
|
|
|
575
593
|
* @param projectId Project ID
|
|
576
594
|
* @param sampleId Sample ID
|
|
577
595
|
* @param axisIx Axis index
|
|
578
|
-
* @param sliceStart Begin index of the slice
|
|
579
|
-
* @param sliceEnd End index of the slice
|
|
596
|
+
* @param sliceStart Begin index of the slice. If not given, the whole sample is used.
|
|
597
|
+
* @param sliceEnd End index of the slice. If not given, the whole sample is used.
|
|
598
|
+
* @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).
|
|
580
599
|
*/
|
|
581
600
|
getSampleAsAudio(projectId: number, sampleId: number, queryParams: getSampleAsAudioQueryParams, options?: {
|
|
582
601
|
headers: {
|
|
@@ -589,6 +608,7 @@ export declare class RawDataApi {
|
|
|
589
608
|
* @param projectId Project ID
|
|
590
609
|
* @param sampleId Sample ID
|
|
591
610
|
* @param afterInputBlock Whether to process the image through the input block first
|
|
611
|
+
* @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).
|
|
592
612
|
*/
|
|
593
613
|
getSampleAsImage(projectId: number, sampleId: number, queryParams: getSampleAsImageQueryParams, options?: {
|
|
594
614
|
headers: {
|
|
@@ -612,6 +632,7 @@ export declare class RawDataApi {
|
|
|
612
632
|
* @param projectId Project ID
|
|
613
633
|
* @param sampleId Sample ID
|
|
614
634
|
* @param afterInputBlock Whether to process the image through the input block first
|
|
635
|
+
* @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).
|
|
615
636
|
*/
|
|
616
637
|
getSampleAsVideo(projectId: number, sampleId: number, queryParams: getSampleAsVideoQueryParams, options?: {
|
|
617
638
|
headers: {
|
|
@@ -635,7 +656,7 @@ export declare class RawDataApi {
|
|
|
635
656
|
* @param projectId Project ID
|
|
636
657
|
* @param sampleId Sample ID
|
|
637
658
|
* @param sliceStart Begin index of the slice
|
|
638
|
-
* @param sliceEnd End index of the slice
|
|
659
|
+
* @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.
|
|
639
660
|
*/
|
|
640
661
|
getSampleSlice(projectId: number, sampleId: number, queryParams: getSampleSliceQueryParams, options?: {
|
|
641
662
|
headers: {
|
|
@@ -702,6 +723,7 @@ export declare class RawDataApi {
|
|
|
702
723
|
* @param maxFrequency Only include samples with lower frequency than given frequency, in hertz
|
|
703
724
|
* @param signatureValidity Include samples with either valid or invalid signatures
|
|
704
725
|
* @param includeDisabled Include only enabled or disabled samples (or both)
|
|
726
|
+
* @param search Search query
|
|
705
727
|
*/
|
|
706
728
|
listSamples(projectId: number, queryParams: listSamplesQueryParams, options?: {
|
|
707
729
|
headers: {
|
|
@@ -89,6 +89,7 @@ class RawDataApi {
|
|
|
89
89
|
* @param includeDisabled Include only enabled or disabled samples (or both)
|
|
90
90
|
* @param ids Only include samples with an ID within the given list of IDs, given as a JSON string
|
|
91
91
|
* @param excludeIds Exclude samples with an ID within the given list of IDs, given as a JSON string
|
|
92
|
+
* @param search Search query
|
|
92
93
|
*/
|
|
93
94
|
async batchDelete(projectId, queryParams, options = { headers: {} }) {
|
|
94
95
|
const localVarPath = this.basePath + '/api/{projectId}/raw-data/batch/delete'
|
|
@@ -147,6 +148,9 @@ class RawDataApi {
|
|
|
147
148
|
if (queryParams.excludeIds !== undefined) {
|
|
148
149
|
localVarQueryParameters['excludeIds'] = models_1.ObjectSerializer.serialize(queryParams.excludeIds, "string");
|
|
149
150
|
}
|
|
151
|
+
if (queryParams.search !== undefined) {
|
|
152
|
+
localVarQueryParameters['search'] = models_1.ObjectSerializer.serialize(queryParams.search, "string");
|
|
153
|
+
}
|
|
150
154
|
Object.assign(localVarHeaderParams, options.headers);
|
|
151
155
|
Object.assign(localVarHeaderParams, this.opts.extraHeaders);
|
|
152
156
|
let localVarUseFormData = false;
|
|
@@ -210,6 +214,7 @@ class RawDataApi {
|
|
|
210
214
|
* @param includeDisabled Include only enabled or disabled samples (or both)
|
|
211
215
|
* @param ids Only include samples with an ID within the given list of IDs, given as a JSON string
|
|
212
216
|
* @param excludeIds Exclude samples with an ID within the given list of IDs, given as a JSON string
|
|
217
|
+
* @param search Search query
|
|
213
218
|
*/
|
|
214
219
|
async batchDisable(projectId, queryParams, options = { headers: {} }) {
|
|
215
220
|
const localVarPath = this.basePath + '/api/{projectId}/raw-data/batch/disable-samples'
|
|
@@ -268,6 +273,9 @@ class RawDataApi {
|
|
|
268
273
|
if (queryParams.excludeIds !== undefined) {
|
|
269
274
|
localVarQueryParameters['excludeIds'] = models_1.ObjectSerializer.serialize(queryParams.excludeIds, "string");
|
|
270
275
|
}
|
|
276
|
+
if (queryParams.search !== undefined) {
|
|
277
|
+
localVarQueryParameters['search'] = models_1.ObjectSerializer.serialize(queryParams.search, "string");
|
|
278
|
+
}
|
|
271
279
|
Object.assign(localVarHeaderParams, options.headers);
|
|
272
280
|
Object.assign(localVarHeaderParams, this.opts.extraHeaders);
|
|
273
281
|
let localVarUseFormData = false;
|
|
@@ -332,6 +340,7 @@ class RawDataApi {
|
|
|
332
340
|
* @param includeDisabled Include only enabled or disabled samples (or both)
|
|
333
341
|
* @param ids Only include samples with an ID within the given list of IDs, given as a JSON string
|
|
334
342
|
* @param excludeIds Exclude samples with an ID within the given list of IDs, given as a JSON string
|
|
343
|
+
* @param search Search query
|
|
335
344
|
*/
|
|
336
345
|
async batchEditLabels(projectId, editSampleLabelRequest, queryParams, options = { headers: {} }) {
|
|
337
346
|
const localVarPath = this.basePath + '/api/{projectId}/raw-data/batch/edit-labels'
|
|
@@ -394,6 +403,9 @@ class RawDataApi {
|
|
|
394
403
|
if (queryParams.excludeIds !== undefined) {
|
|
395
404
|
localVarQueryParameters['excludeIds'] = models_1.ObjectSerializer.serialize(queryParams.excludeIds, "string");
|
|
396
405
|
}
|
|
406
|
+
if (queryParams.search !== undefined) {
|
|
407
|
+
localVarQueryParameters['search'] = models_1.ObjectSerializer.serialize(queryParams.search, "string");
|
|
408
|
+
}
|
|
397
409
|
Object.assign(localVarHeaderParams, options.headers);
|
|
398
410
|
Object.assign(localVarHeaderParams, this.opts.extraHeaders);
|
|
399
411
|
let localVarUseFormData = false;
|
|
@@ -458,6 +470,7 @@ class RawDataApi {
|
|
|
458
470
|
* @param includeDisabled Include only enabled or disabled samples (or both)
|
|
459
471
|
* @param ids Only include samples with an ID within the given list of IDs, given as a JSON string
|
|
460
472
|
* @param excludeIds Exclude samples with an ID within the given list of IDs, given as a JSON string
|
|
473
|
+
* @param search Search query
|
|
461
474
|
*/
|
|
462
475
|
async batchEnable(projectId, queryParams, options = { headers: {} }) {
|
|
463
476
|
const localVarPath = this.basePath + '/api/{projectId}/raw-data/batch/enable-samples'
|
|
@@ -516,6 +529,9 @@ class RawDataApi {
|
|
|
516
529
|
if (queryParams.excludeIds !== undefined) {
|
|
517
530
|
localVarQueryParameters['excludeIds'] = models_1.ObjectSerializer.serialize(queryParams.excludeIds, "string");
|
|
518
531
|
}
|
|
532
|
+
if (queryParams.search !== undefined) {
|
|
533
|
+
localVarQueryParameters['search'] = models_1.ObjectSerializer.serialize(queryParams.search, "string");
|
|
534
|
+
}
|
|
519
535
|
Object.assign(localVarHeaderParams, options.headers);
|
|
520
536
|
Object.assign(localVarHeaderParams, this.opts.extraHeaders);
|
|
521
537
|
let localVarUseFormData = false;
|
|
@@ -580,6 +596,7 @@ class RawDataApi {
|
|
|
580
596
|
* @param includeDisabled Include only enabled or disabled samples (or both)
|
|
581
597
|
* @param ids Only include samples with an ID within the given list of IDs, given as a JSON string
|
|
582
598
|
* @param excludeIds Exclude samples with an ID within the given list of IDs, given as a JSON string
|
|
599
|
+
* @param search Search query
|
|
583
600
|
*/
|
|
584
601
|
async batchMove(projectId, moveRawDataRequest, queryParams, options = { headers: {} }) {
|
|
585
602
|
const localVarPath = this.basePath + '/api/{projectId}/raw-data/batch/moveSamples'
|
|
@@ -642,6 +659,9 @@ class RawDataApi {
|
|
|
642
659
|
if (queryParams.excludeIds !== undefined) {
|
|
643
660
|
localVarQueryParameters['excludeIds'] = models_1.ObjectSerializer.serialize(queryParams.excludeIds, "string");
|
|
644
661
|
}
|
|
662
|
+
if (queryParams.search !== undefined) {
|
|
663
|
+
localVarQueryParameters['search'] = models_1.ObjectSerializer.serialize(queryParams.search, "string");
|
|
664
|
+
}
|
|
645
665
|
Object.assign(localVarHeaderParams, options.headers);
|
|
646
666
|
Object.assign(localVarHeaderParams, this.opts.extraHeaders);
|
|
647
667
|
let localVarUseFormData = false;
|
|
@@ -935,6 +955,7 @@ class RawDataApi {
|
|
|
935
955
|
* @param maxFrequency Only include samples with lower frequency than given frequency, in hertz
|
|
936
956
|
* @param signatureValidity Include samples with either valid or invalid signatures
|
|
937
957
|
* @param includeDisabled Include only enabled or disabled samples (or both)
|
|
958
|
+
* @param search Search query
|
|
938
959
|
*/
|
|
939
960
|
async countSamples(projectId, queryParams, options = { headers: {} }) {
|
|
940
961
|
const localVarPath = this.basePath + '/api/{projectId}/raw-data/count'
|
|
@@ -987,6 +1008,9 @@ class RawDataApi {
|
|
|
987
1008
|
if (queryParams.includeDisabled !== undefined) {
|
|
988
1009
|
localVarQueryParameters['includeDisabled'] = models_1.ObjectSerializer.serialize(queryParams.includeDisabled, "'both' | 'enabled' | 'disabled'");
|
|
989
1010
|
}
|
|
1011
|
+
if (queryParams.search !== undefined) {
|
|
1012
|
+
localVarQueryParameters['search'] = models_1.ObjectSerializer.serialize(queryParams.search, "string");
|
|
1013
|
+
}
|
|
990
1014
|
Object.assign(localVarHeaderParams, options.headers);
|
|
991
1015
|
Object.assign(localVarHeaderParams, this.opts.extraHeaders);
|
|
992
1016
|
let localVarUseFormData = false;
|
|
@@ -2431,6 +2455,7 @@ class RawDataApi {
|
|
|
2431
2455
|
* @param projectId Project ID
|
|
2432
2456
|
* @param sampleId Sample ID
|
|
2433
2457
|
* @param limitPayloadValues Limit the number of payload values in the response
|
|
2458
|
+
* @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).
|
|
2434
2459
|
*/
|
|
2435
2460
|
async getSample(projectId, sampleId, queryParams, options = { headers: {} }) {
|
|
2436
2461
|
const localVarPath = this.basePath + '/api/{projectId}/raw-data/{sampleId}'
|
|
@@ -2460,6 +2485,9 @@ class RawDataApi {
|
|
|
2460
2485
|
if (queryParams.limitPayloadValues !== undefined) {
|
|
2461
2486
|
localVarQueryParameters['limitPayloadValues'] = models_1.ObjectSerializer.serialize(queryParams.limitPayloadValues, "number");
|
|
2462
2487
|
}
|
|
2488
|
+
if (queryParams.cacheKey !== undefined) {
|
|
2489
|
+
localVarQueryParameters['cacheKey'] = models_1.ObjectSerializer.serialize(queryParams.cacheKey, "string");
|
|
2490
|
+
}
|
|
2463
2491
|
Object.assign(localVarHeaderParams, options.headers);
|
|
2464
2492
|
Object.assign(localVarHeaderParams, this.opts.extraHeaders);
|
|
2465
2493
|
let localVarUseFormData = false;
|
|
@@ -2514,8 +2542,9 @@ class RawDataApi {
|
|
|
2514
2542
|
* @param projectId Project ID
|
|
2515
2543
|
* @param sampleId Sample ID
|
|
2516
2544
|
* @param axisIx Axis index
|
|
2517
|
-
* @param sliceStart Begin index of the slice
|
|
2518
|
-
* @param sliceEnd End index of the slice
|
|
2545
|
+
* @param sliceStart Begin index of the slice. If not given, the whole sample is used.
|
|
2546
|
+
* @param sliceEnd End index of the slice. If not given, the whole sample is used.
|
|
2547
|
+
* @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).
|
|
2519
2548
|
*/
|
|
2520
2549
|
async getSampleAsAudio(projectId, sampleId, queryParams, options = { headers: {} }) {
|
|
2521
2550
|
const localVarPath = this.basePath + '/api/{projectId}/raw-data/{sampleId}/wav'
|
|
@@ -2555,6 +2584,9 @@ class RawDataApi {
|
|
|
2555
2584
|
if (queryParams.sliceEnd !== undefined) {
|
|
2556
2585
|
localVarQueryParameters['sliceEnd'] = models_1.ObjectSerializer.serialize(queryParams.sliceEnd, "number");
|
|
2557
2586
|
}
|
|
2587
|
+
if (queryParams.cacheKey !== undefined) {
|
|
2588
|
+
localVarQueryParameters['cacheKey'] = models_1.ObjectSerializer.serialize(queryParams.cacheKey, "string");
|
|
2589
|
+
}
|
|
2558
2590
|
Object.assign(localVarHeaderParams, options.headers);
|
|
2559
2591
|
Object.assign(localVarHeaderParams, this.opts.extraHeaders);
|
|
2560
2592
|
let localVarUseFormData = false;
|
|
@@ -2609,6 +2641,7 @@ class RawDataApi {
|
|
|
2609
2641
|
* @param projectId Project ID
|
|
2610
2642
|
* @param sampleId Sample ID
|
|
2611
2643
|
* @param afterInputBlock Whether to process the image through the input block first
|
|
2644
|
+
* @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).
|
|
2612
2645
|
*/
|
|
2613
2646
|
async getSampleAsImage(projectId, sampleId, queryParams, options = { headers: {} }) {
|
|
2614
2647
|
const localVarPath = this.basePath + '/api/{projectId}/raw-data/{sampleId}/image'
|
|
@@ -2638,6 +2671,9 @@ class RawDataApi {
|
|
|
2638
2671
|
if (queryParams.afterInputBlock !== undefined) {
|
|
2639
2672
|
localVarQueryParameters['afterInputBlock'] = models_1.ObjectSerializer.serialize(queryParams.afterInputBlock, "boolean");
|
|
2640
2673
|
}
|
|
2674
|
+
if (queryParams.cacheKey !== undefined) {
|
|
2675
|
+
localVarQueryParameters['cacheKey'] = models_1.ObjectSerializer.serialize(queryParams.cacheKey, "string");
|
|
2676
|
+
}
|
|
2641
2677
|
Object.assign(localVarHeaderParams, options.headers);
|
|
2642
2678
|
Object.assign(localVarHeaderParams, this.opts.extraHeaders);
|
|
2643
2679
|
let localVarUseFormData = false;
|
|
@@ -2771,6 +2807,7 @@ class RawDataApi {
|
|
|
2771
2807
|
* @param projectId Project ID
|
|
2772
2808
|
* @param sampleId Sample ID
|
|
2773
2809
|
* @param afterInputBlock Whether to process the image through the input block first
|
|
2810
|
+
* @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).
|
|
2774
2811
|
*/
|
|
2775
2812
|
async getSampleAsVideo(projectId, sampleId, queryParams, options = { headers: {} }) {
|
|
2776
2813
|
const localVarPath = this.basePath + '/api/{projectId}/raw-data/{sampleId}/video'
|
|
@@ -2800,6 +2837,9 @@ class RawDataApi {
|
|
|
2800
2837
|
if (queryParams.afterInputBlock !== undefined) {
|
|
2801
2838
|
localVarQueryParameters['afterInputBlock'] = models_1.ObjectSerializer.serialize(queryParams.afterInputBlock, "boolean");
|
|
2802
2839
|
}
|
|
2840
|
+
if (queryParams.cacheKey !== undefined) {
|
|
2841
|
+
localVarQueryParameters['cacheKey'] = models_1.ObjectSerializer.serialize(queryParams.cacheKey, "string");
|
|
2842
|
+
}
|
|
2803
2843
|
Object.assign(localVarHeaderParams, options.headers);
|
|
2804
2844
|
Object.assign(localVarHeaderParams, this.opts.extraHeaders);
|
|
2805
2845
|
let localVarUseFormData = false;
|
|
@@ -2935,7 +2975,7 @@ class RawDataApi {
|
|
|
2935
2975
|
* @param projectId Project ID
|
|
2936
2976
|
* @param sampleId Sample ID
|
|
2937
2977
|
* @param sliceStart Begin index of the slice
|
|
2938
|
-
* @param sliceEnd End index of the slice
|
|
2978
|
+
* @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.
|
|
2939
2979
|
*/
|
|
2940
2980
|
async getSampleSlice(projectId, sampleId, queryParams, options = { headers: {} }) {
|
|
2941
2981
|
const localVarPath = this.basePath + '/api/{projectId}/raw-data/{sampleId}/slice'
|
|
@@ -2966,10 +3006,6 @@ class RawDataApi {
|
|
|
2966
3006
|
if (queryParams.sliceStart === null || queryParams.sliceStart === undefined) {
|
|
2967
3007
|
throw new Error('Required parameter queryParams.sliceStart was null or undefined when calling getSampleSlice.');
|
|
2968
3008
|
}
|
|
2969
|
-
// verify required parameter 'sliceEnd' is not null or undefined
|
|
2970
|
-
if (queryParams.sliceEnd === null || queryParams.sliceEnd === undefined) {
|
|
2971
|
-
throw new Error('Required parameter queryParams.sliceEnd was null or undefined when calling getSampleSlice.');
|
|
2972
|
-
}
|
|
2973
3009
|
if (queryParams.sliceStart !== undefined) {
|
|
2974
3010
|
localVarQueryParameters['sliceStart'] = models_1.ObjectSerializer.serialize(queryParams.sliceStart, "number");
|
|
2975
3011
|
}
|
|
@@ -3350,6 +3386,7 @@ class RawDataApi {
|
|
|
3350
3386
|
* @param maxFrequency Only include samples with lower frequency than given frequency, in hertz
|
|
3351
3387
|
* @param signatureValidity Include samples with either valid or invalid signatures
|
|
3352
3388
|
* @param includeDisabled Include only enabled or disabled samples (or both)
|
|
3389
|
+
* @param search Search query
|
|
3353
3390
|
*/
|
|
3354
3391
|
async listSamples(projectId, queryParams, options = { headers: {} }) {
|
|
3355
3392
|
const localVarPath = this.basePath + '/api/{projectId}/raw-data'
|
|
@@ -3411,6 +3448,9 @@ class RawDataApi {
|
|
|
3411
3448
|
if (queryParams.includeDisabled !== undefined) {
|
|
3412
3449
|
localVarQueryParameters['includeDisabled'] = models_1.ObjectSerializer.serialize(queryParams.includeDisabled, "'both' | 'enabled' | 'disabled'");
|
|
3413
3450
|
}
|
|
3451
|
+
if (queryParams.search !== undefined) {
|
|
3452
|
+
localVarQueryParameters['search'] = models_1.ObjectSerializer.serialize(queryParams.search, "string");
|
|
3453
|
+
}
|
|
3414
3454
|
Object.assign(localVarHeaderParams, options.headers);
|
|
3415
3455
|
Object.assign(localVarHeaderParams, this.opts.extraHeaders);
|
|
3416
3456
|
let localVarUseFormData = false;
|