edge-impulse-linux 1.3.4 → 1.3.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (314) hide show
  1. package/build/cli/config.d.ts +11 -1
  2. package/build/cli/config.js +43 -12
  3. package/build/cli/config.js.map +1 -1
  4. package/build/cli/init-cli-app.js +18 -2
  5. package/build/cli/init-cli-app.js.map +1 -1
  6. package/build/cli/linux/linux.js +8 -13
  7. package/build/cli/linux/linux.js.map +1 -1
  8. package/build/cli/linux/runner.js +2 -1
  9. package/build/cli/linux/runner.js.map +1 -1
  10. package/build/cli/make-image.d.ts +14 -49
  11. package/build/cli/make-image.js +75 -345
  12. package/build/cli/make-image.js.map +1 -1
  13. package/build/library/classifier/linux-impulse-runner.js +1 -1
  14. package/build/library/classifier/linux-impulse-runner.js.map +1 -1
  15. package/build/library/sensors/gstreamer.d.ts +15 -2
  16. package/build/library/sensors/gstreamer.js +96 -33
  17. package/build/library/sensors/gstreamer.js.map +1 -1
  18. package/build/library/sensors/spawn-helper.d.ts +4 -0
  19. package/build/library/sensors/spawn-helper.js.map +1 -1
  20. package/build/sdk/studio/api/adminApi.d.ts +15 -0
  21. package/build/sdk/studio/api/adminApi.js +72 -0
  22. package/build/sdk/studio/api/adminApi.js.map +1 -1
  23. package/build/sdk/studio/api/applicationTestingApi.d.ts +20 -4
  24. package/build/sdk/studio/api/applicationTestingApi.js +79 -4
  25. package/build/sdk/studio/api/applicationTestingApi.js.map +1 -1
  26. package/build/sdk/studio/api/jobsApi.d.ts +14 -1
  27. package/build/sdk/studio/api/jobsApi.js +67 -1
  28. package/build/sdk/studio/api/jobsApi.js.map +1 -1
  29. package/build/sdk/studio/api/organizationBlocksApi.d.ts +44 -0
  30. package/build/sdk/studio/api/organizationBlocksApi.js +210 -0
  31. package/build/sdk/studio/api/organizationBlocksApi.js.map +1 -1
  32. package/build/sdk/studio/api/organizationDataApi.d.ts +47 -1
  33. package/build/sdk/studio/api/organizationDataApi.js +223 -1
  34. package/build/sdk/studio/api/organizationDataApi.js.map +1 -1
  35. package/build/sdk/studio/api/organizationPortalsApi.d.ts +15 -0
  36. package/build/sdk/studio/api/organizationPortalsApi.js +72 -0
  37. package/build/sdk/studio/api/organizationPortalsApi.js.map +1 -1
  38. package/build/sdk/studio/api/organizationsApi.d.ts +3 -1
  39. package/build/sdk/studio/api/organizationsApi.js +7 -1
  40. package/build/sdk/studio/api/organizationsApi.js.map +1 -1
  41. package/build/sdk/studio/api/projectsApi.d.ts +14 -0
  42. package/build/sdk/studio/api/projectsApi.js +66 -0
  43. package/build/sdk/studio/api/projectsApi.js.map +1 -1
  44. package/build/sdk/studio/api/rawDataApi.d.ts +74 -1
  45. package/build/sdk/studio/api/rawDataApi.js +352 -1
  46. package/build/sdk/studio/api/rawDataApi.js.map +1 -1
  47. package/build/sdk/studio/api/requiresSudoApi.d.ts +16 -1
  48. package/build/sdk/studio/api/requiresSudoApi.js +73 -1
  49. package/build/sdk/studio/api/requiresSudoApi.js.map +1 -1
  50. package/build/sdk/studio/api/uploadPortalApi.d.ts +1 -1
  51. package/build/sdk/studio/api/uploadPortalApi.js +1 -1
  52. package/build/sdk/studio/api/userApi.d.ts +34 -2
  53. package/build/sdk/studio/api/userApi.js +142 -2
  54. package/build/sdk/studio/api/userApi.js.map +1 -1
  55. package/build/sdk/studio/api/whitelabelsApi.d.ts +15 -1
  56. package/build/sdk/studio/api/whitelabelsApi.js +67 -1
  57. package/build/sdk/studio/api/whitelabelsApi.js.map +1 -1
  58. package/build/sdk/studio/model/addMemberRequest.d.ts +4 -0
  59. package/build/sdk/studio/model/addMemberRequest.js +5 -0
  60. package/build/sdk/studio/model/addMemberRequest.js.map +1 -1
  61. package/build/sdk/studio/model/addOrganizationSecretRequest.d.ts +27 -0
  62. package/build/sdk/studio/model/addOrganizationSecretRequest.js +42 -0
  63. package/build/sdk/studio/model/addOrganizationSecretRequest.js.map +1 -0
  64. package/build/sdk/studio/model/addOrganizationSecretResponse.d.ts +36 -0
  65. package/build/sdk/studio/model/addOrganizationSecretResponse.js +42 -0
  66. package/build/sdk/studio/model/addOrganizationSecretResponse.js.map +1 -0
  67. package/build/sdk/studio/model/addOrganizationSecretResponseAllOf.d.ts +28 -0
  68. package/build/sdk/studio/model/addOrganizationSecretResponseAllOf.js +32 -0
  69. package/build/sdk/studio/model/addOrganizationSecretResponseAllOf.js.map +1 -0
  70. package/build/sdk/studio/model/addOrganizationTransferLearningBlockRequest.d.ts +2 -3
  71. package/build/sdk/studio/model/addOrganizationTransferLearningBlockRequest.js +2 -3
  72. package/build/sdk/studio/model/addOrganizationTransferLearningBlockRequest.js.map +1 -1
  73. package/build/sdk/studio/model/addOrganizationTransformationBlockRequest.d.ts +1 -0
  74. package/build/sdk/studio/model/addOrganizationTransformationBlockRequest.js +5 -0
  75. package/build/sdk/studio/model/addOrganizationTransformationBlockRequest.js.map +1 -1
  76. package/build/sdk/studio/model/adminUpdateUserRequest.d.ts +31 -0
  77. package/build/sdk/studio/model/adminUpdateUserRequest.js +35 -0
  78. package/build/sdk/studio/model/adminUpdateUserRequest.js.map +1 -0
  79. package/build/sdk/studio/model/anomalyModelMetadataClusters.js +1 -1
  80. package/build/sdk/studio/model/anomalyModelMetadataClusters.js.map +1 -1
  81. package/build/sdk/studio/model/applicationTestingUploadLabeledAudioRequest.d.ts +33 -0
  82. package/build/sdk/studio/model/applicationTestingUploadLabeledAudioRequest.js +32 -0
  83. package/build/sdk/studio/model/applicationTestingUploadLabeledAudioRequest.js.map +1 -0
  84. package/build/sdk/studio/model/applicationTestingUploadLabeledAudioResponse.d.ts +33 -0
  85. package/build/sdk/studio/model/applicationTestingUploadLabeledAudioResponse.js +42 -0
  86. package/build/sdk/studio/model/applicationTestingUploadLabeledAudioResponse.js.map +1 -0
  87. package/build/sdk/studio/model/applicationTestingUploadLabeledAudioResponseAllOf.d.ts +25 -0
  88. package/build/sdk/studio/model/applicationTestingUploadLabeledAudioResponseAllOf.js +32 -0
  89. package/build/sdk/studio/model/applicationTestingUploadLabeledAudioResponseAllOf.js.map +1 -0
  90. package/build/sdk/studio/model/buildOnDeviceModelRequest.d.ts +1 -1
  91. package/build/sdk/studio/model/buildOnDeviceModelRequest.js +1 -1
  92. package/build/sdk/studio/model/buildOnDeviceModelRequest.js.map +1 -1
  93. package/build/sdk/studio/model/buildOrganizationOnDeviceModelRequest.d.ts +1 -1
  94. package/build/sdk/studio/model/buildOrganizationOnDeviceModelRequest.js +1 -1
  95. package/build/sdk/studio/model/buildOrganizationOnDeviceModelRequest.js.map +1 -1
  96. package/build/sdk/studio/model/classifyJobResponseAllOfResult.d.ts +2 -0
  97. package/build/sdk/studio/model/classifyJobResponseAllOfResult.js +5 -0
  98. package/build/sdk/studio/model/classifyJobResponseAllOfResult.js.map +1 -1
  99. package/build/sdk/studio/model/classifySampleResponseClassification.d.ts +2 -0
  100. package/build/sdk/studio/model/classifySampleResponseClassification.js +5 -0
  101. package/build/sdk/studio/model/classifySampleResponseClassification.js.map +1 -1
  102. package/build/sdk/studio/model/convertUserRequest.d.ts +4 -0
  103. package/build/sdk/studio/model/convertUserRequest.js +5 -0
  104. package/build/sdk/studio/model/convertUserRequest.js.map +1 -1
  105. package/build/sdk/studio/model/createProjectRequest.d.ts +4 -0
  106. package/build/sdk/studio/model/createProjectRequest.js +5 -0
  107. package/build/sdk/studio/model/createProjectRequest.js.map +1 -1
  108. package/build/sdk/studio/model/createUserRequest.d.ts +13 -1
  109. package/build/sdk/studio/model/createUserRequest.js +15 -0
  110. package/build/sdk/studio/model/createUserRequest.js.map +1 -1
  111. package/build/sdk/studio/model/createUserThirdPartyRequest.d.ts +4 -0
  112. package/build/sdk/studio/model/createUserThirdPartyRequest.js +5 -0
  113. package/build/sdk/studio/model/createUserThirdPartyRequest.js.map +1 -1
  114. package/build/sdk/studio/model/createWhitelabelRequest.d.ts +8 -0
  115. package/build/sdk/studio/model/createWhitelabelRequest.js +10 -0
  116. package/build/sdk/studio/model/createWhitelabelRequest.js.map +1 -1
  117. package/build/sdk/studio/model/dataExplorerFeaturesResponse.d.ts +37 -0
  118. package/build/sdk/studio/model/dataExplorerFeaturesResponse.js +52 -0
  119. package/build/sdk/studio/model/dataExplorerFeaturesResponse.js.map +1 -0
  120. package/build/sdk/studio/model/dataExplorerFeaturesResponseAllOf.d.ts +29 -0
  121. package/build/sdk/studio/model/dataExplorerFeaturesResponseAllOf.js +42 -0
  122. package/build/sdk/studio/model/dataExplorerFeaturesResponseAllOf.js.map +1 -0
  123. package/build/sdk/studio/model/dataExplorerSettings.d.ts +30 -0
  124. package/build/sdk/studio/model/dataExplorerSettings.js +33 -0
  125. package/build/sdk/studio/model/dataExplorerSettings.js.map +1 -0
  126. package/build/sdk/studio/model/getApplicationTestingStatusResponse.d.ts +2 -0
  127. package/build/sdk/studio/model/getApplicationTestingStatusResponse.js +5 -0
  128. package/build/sdk/studio/model/getApplicationTestingStatusResponse.js.map +1 -1
  129. package/build/sdk/studio/model/getApplicationTestingStatusResponseAllOf.d.ts +2 -0
  130. package/build/sdk/studio/model/getApplicationTestingStatusResponseAllOf.js +5 -0
  131. package/build/sdk/studio/model/getApplicationTestingStatusResponseAllOf.js.map +1 -1
  132. package/build/sdk/studio/model/getDataExplorerSettingsResponse.d.ts +38 -0
  133. package/build/sdk/studio/model/getDataExplorerSettingsResponse.js +43 -0
  134. package/build/sdk/studio/model/getDataExplorerSettingsResponse.js.map +1 -0
  135. package/build/sdk/studio/model/getOrganizationDatasetResponse.d.ts +34 -0
  136. package/build/sdk/studio/model/getOrganizationDatasetResponse.js +42 -0
  137. package/build/sdk/studio/model/getOrganizationDatasetResponse.js.map +1 -0
  138. package/build/sdk/studio/model/getOrganizationDatasetResponseAllOf.d.ts +26 -0
  139. package/build/sdk/studio/model/getOrganizationDatasetResponseAllOf.js +32 -0
  140. package/build/sdk/studio/model/getOrganizationDatasetResponseAllOf.js.map +1 -0
  141. package/build/sdk/studio/model/getUserNeedToSetPasswordResponse.d.ts +44 -0
  142. package/build/sdk/studio/model/getUserNeedToSetPasswordResponse.js +52 -0
  143. package/build/sdk/studio/model/getUserNeedToSetPasswordResponse.js.map +1 -0
  144. package/build/sdk/studio/model/getUserNeedToSetPasswordResponseAllOf.d.ts +36 -0
  145. package/build/sdk/studio/model/getUserNeedToSetPasswordResponseAllOf.js +42 -0
  146. package/build/sdk/studio/model/getUserNeedToSetPasswordResponseAllOf.js.map +1 -0
  147. package/build/sdk/studio/model/inviteMemberRequest.d.ts +4 -0
  148. package/build/sdk/studio/model/inviteMemberRequest.js +5 -0
  149. package/build/sdk/studio/model/inviteMemberRequest.js.map +1 -1
  150. package/build/sdk/studio/model/kerasModelMetadata.d.ts +3 -1
  151. package/build/sdk/studio/model/kerasModelMetadata.js +10 -5
  152. package/build/sdk/studio/model/kerasModelMetadata.js.map +1 -1
  153. package/build/sdk/studio/model/kerasModelMetadataAllOf.d.ts +3 -1
  154. package/build/sdk/studio/model/kerasModelMetadataAllOf.js +10 -5
  155. package/build/sdk/studio/model/kerasModelMetadataAllOf.js.map +1 -1
  156. package/build/sdk/studio/model/kerasModelMetadataMetrics.js +1 -1
  157. package/build/sdk/studio/model/kerasModelMetadataMetrics.js.map +1 -1
  158. package/build/sdk/studio/model/kerasResponse.d.ts +4 -0
  159. package/build/sdk/studio/model/kerasResponse.js +5 -0
  160. package/build/sdk/studio/model/kerasResponse.js.map +1 -1
  161. package/build/sdk/studio/model/kerasResponseAllOf.d.ts +4 -0
  162. package/build/sdk/studio/model/kerasResponseAllOf.js +5 -0
  163. package/build/sdk/studio/model/kerasResponseAllOf.js.map +1 -1
  164. package/build/sdk/studio/model/kerasResponseAllOfTransferLearningModels.d.ts +2 -0
  165. package/build/sdk/studio/model/kerasResponseAllOfTransferLearningModels.js +10 -0
  166. package/build/sdk/studio/model/kerasResponseAllOfTransferLearningModels.js.map +1 -1
  167. package/build/sdk/studio/model/kerasVisualLayerType.d.ts +1 -1
  168. package/build/sdk/studio/model/kerasVisualLayerType.js +1 -1
  169. package/build/sdk/studio/model/kerasVisualLayerType.js.map +1 -1
  170. package/build/sdk/studio/model/lastModificationDateResponse.d.ts +34 -0
  171. package/build/sdk/studio/model/lastModificationDateResponse.js +47 -0
  172. package/build/sdk/studio/model/lastModificationDateResponse.js.map +1 -0
  173. package/build/sdk/studio/model/lastModificationDateResponseAllOf.d.ts +26 -0
  174. package/build/sdk/studio/model/lastModificationDateResponseAllOf.js +37 -0
  175. package/build/sdk/studio/model/lastModificationDateResponseAllOf.js.map +1 -0
  176. package/build/sdk/studio/model/listOrganizationSecretsResponse.d.ts +34 -0
  177. package/build/sdk/studio/model/listOrganizationSecretsResponse.js +42 -0
  178. package/build/sdk/studio/model/listOrganizationSecretsResponse.js.map +1 -0
  179. package/build/sdk/studio/model/listOrganizationSecretsResponseAllOf.d.ts +26 -0
  180. package/build/sdk/studio/model/listOrganizationSecretsResponseAllOf.js +32 -0
  181. package/build/sdk/studio/model/listOrganizationSecretsResponseAllOf.js.map +1 -0
  182. package/build/sdk/studio/model/listOrganizationSecretsResponseAllOfSecrets.d.ts +28 -0
  183. package/build/sdk/studio/model/listOrganizationSecretsResponseAllOfSecrets.js +47 -0
  184. package/build/sdk/studio/model/listOrganizationSecretsResponseAllOfSecrets.js.map +1 -0
  185. package/build/sdk/studio/model/listVersionsResponseAllOfVersions.d.ts +3 -0
  186. package/build/sdk/studio/model/listVersionsResponseAllOfVersions.js +15 -0
  187. package/build/sdk/studio/model/listVersionsResponseAllOfVersions.js.map +1 -1
  188. package/build/sdk/studio/model/models.d.ts +32 -3
  189. package/build/sdk/studio/model/models.js +100 -12
  190. package/build/sdk/studio/model/models.js.map +1 -1
  191. package/build/sdk/studio/model/objectDetectionLastLayer.d.ts +13 -0
  192. package/build/sdk/studio/model/objectDetectionLastLayer.js +16 -0
  193. package/build/sdk/studio/model/objectDetectionLastLayer.js.map +1 -0
  194. package/build/sdk/studio/model/organizationCreateProject.d.ts +4 -0
  195. package/build/sdk/studio/model/organizationCreateProject.js +12 -1
  196. package/build/sdk/studio/model/organizationCreateProject.js.map +1 -1
  197. package/build/sdk/studio/model/organizationCreateProjectRequest.d.ts +9 -0
  198. package/build/sdk/studio/model/organizationCreateProjectRequest.js +15 -0
  199. package/build/sdk/studio/model/organizationCreateProjectRequest.js.map +1 -1
  200. package/build/sdk/studio/model/organizationDataset.d.ts +30 -0
  201. package/build/sdk/studio/model/organizationDataset.js +57 -0
  202. package/build/sdk/studio/model/organizationDataset.js.map +1 -0
  203. package/build/sdk/studio/model/organizationGetCreateProjectsResponseAllOfJobs.d.ts +1 -0
  204. package/build/sdk/studio/model/organizationGetCreateProjectsResponseAllOfJobs.js +5 -0
  205. package/build/sdk/studio/model/organizationGetCreateProjectsResponseAllOfJobs.js.map +1 -1
  206. package/build/sdk/studio/model/organizationInfoResponse.d.ts +2 -2
  207. package/build/sdk/studio/model/organizationInfoResponse.js +1 -1
  208. package/build/sdk/studio/model/organizationInfoResponse.js.map +1 -1
  209. package/build/sdk/studio/model/organizationInfoResponseAllOf.d.ts +2 -2
  210. package/build/sdk/studio/model/organizationInfoResponseAllOf.js +1 -1
  211. package/build/sdk/studio/model/organizationInfoResponseAllOf.js.map +1 -1
  212. package/build/sdk/studio/model/organizationPipeline.d.ts +6 -0
  213. package/build/sdk/studio/model/organizationPipeline.js +17 -1
  214. package/build/sdk/studio/model/organizationPipeline.js.map +1 -1
  215. package/build/sdk/studio/model/organizationPipelineFeedingIntoProject.d.ts +28 -0
  216. package/build/sdk/studio/model/organizationPipelineFeedingIntoProject.js +47 -0
  217. package/build/sdk/studio/model/organizationPipelineFeedingIntoProject.js.map +1 -0
  218. package/build/sdk/studio/model/organizationPipelineRun.d.ts +4 -0
  219. package/build/sdk/studio/model/organizationPipelineRun.js +5 -0
  220. package/build/sdk/studio/model/organizationPipelineRun.js.map +1 -1
  221. package/build/sdk/studio/model/organizationPipelineRunStep.d.ts +2 -0
  222. package/build/sdk/studio/model/organizationPipelineRunStep.js +10 -0
  223. package/build/sdk/studio/model/organizationPipelineRunStep.js.map +1 -1
  224. package/build/sdk/studio/model/organizationPipelineStep.d.ts +2 -0
  225. package/build/sdk/studio/model/organizationPipelineStep.js +10 -0
  226. package/build/sdk/studio/model/organizationPipelineStep.js.map +1 -1
  227. package/build/sdk/studio/model/organizationTransferLearningBlock.d.ts +2 -3
  228. package/build/sdk/studio/model/organizationTransferLearningBlock.js +2 -3
  229. package/build/sdk/studio/model/organizationTransferLearningBlock.js.map +1 -1
  230. package/build/sdk/studio/model/organizationTransformationBlock.d.ts +1 -0
  231. package/build/sdk/studio/model/organizationTransformationBlock.js +5 -0
  232. package/build/sdk/studio/model/organizationTransformationBlock.js.map +1 -1
  233. package/build/sdk/studio/model/organizationUpdatePipelineBody.d.ts +5 -0
  234. package/build/sdk/studio/model/organizationUpdatePipelineBody.js +17 -1
  235. package/build/sdk/studio/model/organizationUpdatePipelineBody.js.map +1 -1
  236. package/build/sdk/studio/model/project.d.ts +1 -0
  237. package/build/sdk/studio/model/project.js +5 -0
  238. package/build/sdk/studio/model/project.js.map +1 -1
  239. package/build/sdk/studio/model/projectInfoResponse.d.ts +1 -0
  240. package/build/sdk/studio/model/projectInfoResponse.js +5 -0
  241. package/build/sdk/studio/model/projectInfoResponse.js.map +1 -1
  242. package/build/sdk/studio/model/projectInfoResponseAllOf.d.ts +1 -0
  243. package/build/sdk/studio/model/projectInfoResponseAllOf.js +5 -0
  244. package/build/sdk/studio/model/projectInfoResponseAllOf.js.map +1 -1
  245. package/build/sdk/studio/model/rawSamplePayload.js +2 -2
  246. package/build/sdk/studio/model/rawSamplePayload.js.map +1 -1
  247. package/build/sdk/studio/model/requestActivationRequest.d.ts +28 -0
  248. package/build/sdk/studio/model/requestActivationRequest.js +32 -0
  249. package/build/sdk/studio/model/requestActivationRequest.js.map +1 -0
  250. package/build/sdk/studio/model/requestResetPasswordRequest.d.ts +4 -0
  251. package/build/sdk/studio/model/requestResetPasswordRequest.js +5 -0
  252. package/build/sdk/studio/model/requestResetPasswordRequest.js.map +1 -1
  253. package/build/sdk/studio/model/resendOrganizationMemberInviteRequest.d.ts +28 -0
  254. package/build/sdk/studio/model/resendOrganizationMemberInviteRequest.js +32 -0
  255. package/build/sdk/studio/model/resendOrganizationMemberInviteRequest.js.map +1 -0
  256. package/build/sdk/studio/model/setUserPasswordRequest.d.ts +27 -0
  257. package/build/sdk/studio/model/setUserPasswordRequest.js +42 -0
  258. package/build/sdk/studio/model/setUserPasswordRequest.js.map +1 -0
  259. package/build/sdk/studio/model/splitSampleInFramesRequest.d.ts +28 -0
  260. package/build/sdk/studio/model/splitSampleInFramesRequest.js +32 -0
  261. package/build/sdk/studio/model/splitSampleInFramesRequest.js.map +1 -0
  262. package/build/sdk/studio/model/startApplicationTestingRequest.d.ts +8 -0
  263. package/build/sdk/studio/model/startApplicationTestingRequest.js +10 -0
  264. package/build/sdk/studio/model/startApplicationTestingRequest.js.map +1 -1
  265. package/build/sdk/studio/model/themeColors.d.ts +2 -4
  266. package/build/sdk/studio/model/themeColors.js +4 -14
  267. package/build/sdk/studio/model/themeColors.js.map +1 -1
  268. package/build/sdk/studio/model/updateOrganizationCreateEmptyProjectRequest.d.ts +4 -0
  269. package/build/sdk/studio/model/updateOrganizationCreateEmptyProjectRequest.js +5 -0
  270. package/build/sdk/studio/model/updateOrganizationCreateEmptyProjectRequest.js.map +1 -1
  271. package/build/sdk/studio/model/updateOrganizationCreateProjectRequest.d.ts +4 -0
  272. package/build/sdk/studio/model/updateOrganizationCreateProjectRequest.js +5 -0
  273. package/build/sdk/studio/model/updateOrganizationCreateProjectRequest.js.map +1 -1
  274. package/build/sdk/studio/model/updateOrganizationDatasetRequest.d.ts +26 -0
  275. package/build/sdk/studio/model/updateOrganizationDatasetRequest.js +37 -0
  276. package/build/sdk/studio/model/updateOrganizationDatasetRequest.js.map +1 -0
  277. package/build/sdk/studio/model/updateOrganizationTransferLearningBlockRequest.d.ts +2 -3
  278. package/build/sdk/studio/model/updateOrganizationTransferLearningBlockRequest.js +2 -3
  279. package/build/sdk/studio/model/updateOrganizationTransferLearningBlockRequest.js.map +1 -1
  280. package/build/sdk/studio/model/updateOrganizationTransformationBlockRequest.d.ts +1 -0
  281. package/build/sdk/studio/model/updateOrganizationTransformationBlockRequest.js +5 -0
  282. package/build/sdk/studio/model/updateOrganizationTransformationBlockRequest.js.map +1 -1
  283. package/build/sdk/studio/model/updateThemeColorsRequest.d.ts +2 -6
  284. package/build/sdk/studio/model/updateThemeColorsRequest.js +2 -7
  285. package/build/sdk/studio/model/updateThemeColorsRequest.js.map +1 -1
  286. package/build/sdk/studio/model/uploadImageRequest.d.ts +33 -0
  287. package/build/sdk/studio/model/uploadImageRequest.js +32 -0
  288. package/build/sdk/studio/model/uploadImageRequest.js.map +1 -0
  289. package/build/sdk/studio/model/verifyOrganizationBucketResponse.d.ts +37 -0
  290. package/build/sdk/studio/model/verifyOrganizationBucketResponse.js +42 -0
  291. package/build/sdk/studio/model/verifyOrganizationBucketResponse.js.map +1 -0
  292. package/build/sdk/studio/model/verifyOrganizationBucketResponseAllOf.d.ts +29 -0
  293. package/build/sdk/studio/model/verifyOrganizationBucketResponseAllOf.js +32 -0
  294. package/build/sdk/studio/model/verifyOrganizationBucketResponseAllOf.js.map +1 -0
  295. package/build/sdk/studio/model/verifyOrganizationBucketResponseAllOfFiles.d.ts +27 -0
  296. package/build/sdk/studio/model/verifyOrganizationBucketResponseAllOfFiles.js +42 -0
  297. package/build/sdk/studio/model/verifyOrganizationBucketResponseAllOfFiles.js.map +1 -0
  298. package/build/sdk/studio/model/whitelabel.d.ts +2 -0
  299. package/build/sdk/studio/model/whitelabel.js +10 -0
  300. package/build/sdk/studio/model/whitelabel.js.map +1 -1
  301. package/build/shared/bounding-box-file-types.d.ts +15 -0
  302. package/build/shared/bounding-box-file-types.js +18 -0
  303. package/build/shared/bounding-box-file-types.js.map +1 -0
  304. package/build/shared/viewmodels/init.d.ts +21 -0
  305. package/build/shared/viewmodels/init.js +3 -0
  306. package/build/shared/viewmodels/init.js.map +1 -1
  307. package/build/test/gstreamer.test.d.ts +1 -0
  308. package/build/test/gstreamer.test.js +1807 -0
  309. package/build/test/gstreamer.test.js.map +1 -0
  310. package/cli/linux/linux.ts +9 -17
  311. package/cli/linux/runner.ts +2 -1
  312. package/package.json +9 -3
  313. package/test/.mocharc.js +5 -0
  314. package/test/gstreamer.test.ts +1836 -0
@@ -663,6 +663,72 @@ class RawDataApi {
663
663
  });
664
664
  });
665
665
  }
666
+ /**
667
+ * Remove the current data explorer state
668
+ * @summary Clear data explorer
669
+ * @param projectId Project ID
670
+ */
671
+ async clearDataExplorer(projectId, options = { headers: {} }) {
672
+ const localVarPath = this.basePath + '/api/{projectId}/raw-data/data-explorer/clear'
673
+ .replace('{' + 'projectId' + '}', encodeURIComponent(String(projectId)));
674
+ let localVarQueryParameters = {};
675
+ let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
676
+ const produces = ['application/json'];
677
+ // give precedence to 'application/json'
678
+ if (produces.indexOf('application/json') >= 0) {
679
+ localVarHeaderParams.Accept = 'application/json';
680
+ }
681
+ else {
682
+ localVarHeaderParams.Accept = produces.join(',');
683
+ }
684
+ let localVarFormParams = {};
685
+ // verify required parameter 'projectId' is not null or undefined
686
+ if (projectId === null || projectId === undefined) {
687
+ throw new Error('Required parameter projectId was null or undefined when calling clearDataExplorer.');
688
+ }
689
+ Object.assign(localVarHeaderParams, options.headers);
690
+ let localVarUseFormData = false;
691
+ let localVarRequestOptions = {
692
+ method: 'POST',
693
+ qs: localVarQueryParameters,
694
+ headers: localVarHeaderParams,
695
+ uri: localVarPath,
696
+ useQuerystring: this._useQuerystring,
697
+ agentOptions: (process.env.EI_HOST && process.env.EI_HOST !== "edgeimpulse.com") ? { keepAlive: true } : undefined,
698
+ json: true,
699
+ };
700
+ let authenticationPromise = Promise.resolve();
701
+ authenticationPromise = authenticationPromise.then(() => this.authentications.ApiKeyAuthentication.applyToRequest(localVarRequestOptions));
702
+ authenticationPromise = authenticationPromise.then(() => this.authentications.JWTAuthentication.applyToRequest(localVarRequestOptions));
703
+ authenticationPromise = authenticationPromise.then(() => this.authentications.JWTHttpHeaderAuthentication.applyToRequest(localVarRequestOptions));
704
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
705
+ return authenticationPromise.then(() => {
706
+ if (Object.keys(localVarFormParams).length) {
707
+ if (localVarUseFormData) {
708
+ localVarRequestOptions.formData = localVarFormParams;
709
+ }
710
+ else {
711
+ localVarRequestOptions.form = localVarFormParams;
712
+ }
713
+ }
714
+ return new Promise((resolve, reject) => {
715
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
716
+ if (error) {
717
+ reject(error);
718
+ }
719
+ else {
720
+ body = models_1.ObjectSerializer.deserialize(body, "GenericApiResponse");
721
+ if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
722
+ resolve({ response: response, body: body });
723
+ }
724
+ else {
725
+ reject(new apis_1.HttpError(response, body, response.statusCode));
726
+ }
727
+ }
728
+ });
729
+ });
730
+ });
731
+ }
666
732
  /**
667
733
  * Count all raw data by category.
668
734
  * @summary Count samples
@@ -1349,6 +1415,138 @@ class RawDataApi {
1349
1415
  });
1350
1416
  });
1351
1417
  }
1418
+ /**
1419
+ * t-SNE2 output of the raw dataset
1420
+ * @summary Get data explorer features
1421
+ * @param projectId Project ID
1422
+ */
1423
+ async getDataExplorerFeatures(projectId, options = { headers: {} }) {
1424
+ const localVarPath = this.basePath + '/api/{projectId}/raw-data/data-explorer/features'
1425
+ .replace('{' + 'projectId' + '}', encodeURIComponent(String(projectId)));
1426
+ let localVarQueryParameters = {};
1427
+ let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
1428
+ const produces = ['application/json'];
1429
+ // give precedence to 'application/json'
1430
+ if (produces.indexOf('application/json') >= 0) {
1431
+ localVarHeaderParams.Accept = 'application/json';
1432
+ }
1433
+ else {
1434
+ localVarHeaderParams.Accept = produces.join(',');
1435
+ }
1436
+ let localVarFormParams = {};
1437
+ // verify required parameter 'projectId' is not null or undefined
1438
+ if (projectId === null || projectId === undefined) {
1439
+ throw new Error('Required parameter projectId was null or undefined when calling getDataExplorerFeatures.');
1440
+ }
1441
+ Object.assign(localVarHeaderParams, options.headers);
1442
+ let localVarUseFormData = false;
1443
+ let localVarRequestOptions = {
1444
+ method: 'GET',
1445
+ qs: localVarQueryParameters,
1446
+ headers: localVarHeaderParams,
1447
+ uri: localVarPath,
1448
+ useQuerystring: this._useQuerystring,
1449
+ agentOptions: (process.env.EI_HOST && process.env.EI_HOST !== "edgeimpulse.com") ? { keepAlive: true } : undefined,
1450
+ json: true,
1451
+ };
1452
+ let authenticationPromise = Promise.resolve();
1453
+ authenticationPromise = authenticationPromise.then(() => this.authentications.ApiKeyAuthentication.applyToRequest(localVarRequestOptions));
1454
+ authenticationPromise = authenticationPromise.then(() => this.authentications.JWTAuthentication.applyToRequest(localVarRequestOptions));
1455
+ authenticationPromise = authenticationPromise.then(() => this.authentications.JWTHttpHeaderAuthentication.applyToRequest(localVarRequestOptions));
1456
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
1457
+ return authenticationPromise.then(() => {
1458
+ if (Object.keys(localVarFormParams).length) {
1459
+ if (localVarUseFormData) {
1460
+ localVarRequestOptions.formData = localVarFormParams;
1461
+ }
1462
+ else {
1463
+ localVarRequestOptions.form = localVarFormParams;
1464
+ }
1465
+ }
1466
+ return new Promise((resolve, reject) => {
1467
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
1468
+ if (error) {
1469
+ reject(error);
1470
+ }
1471
+ else {
1472
+ body = models_1.ObjectSerializer.deserialize(body, "DataExplorerFeaturesResponse");
1473
+ if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
1474
+ resolve({ response: response, body: body });
1475
+ }
1476
+ else {
1477
+ reject(new apis_1.HttpError(response, body, response.statusCode));
1478
+ }
1479
+ }
1480
+ });
1481
+ });
1482
+ });
1483
+ }
1484
+ /**
1485
+ * Get data explorer configuration, like the type of data, and the input / dsp block to use.
1486
+ * @summary Get data explorer settings
1487
+ * @param projectId Project ID
1488
+ */
1489
+ async getDataExplorerSettings(projectId, options = { headers: {} }) {
1490
+ const localVarPath = this.basePath + '/api/{projectId}/raw-data/data-explorer/settings'
1491
+ .replace('{' + 'projectId' + '}', encodeURIComponent(String(projectId)));
1492
+ let localVarQueryParameters = {};
1493
+ let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
1494
+ const produces = ['application/json'];
1495
+ // give precedence to 'application/json'
1496
+ if (produces.indexOf('application/json') >= 0) {
1497
+ localVarHeaderParams.Accept = 'application/json';
1498
+ }
1499
+ else {
1500
+ localVarHeaderParams.Accept = produces.join(',');
1501
+ }
1502
+ let localVarFormParams = {};
1503
+ // verify required parameter 'projectId' is not null or undefined
1504
+ if (projectId === null || projectId === undefined) {
1505
+ throw new Error('Required parameter projectId was null or undefined when calling getDataExplorerSettings.');
1506
+ }
1507
+ Object.assign(localVarHeaderParams, options.headers);
1508
+ let localVarUseFormData = false;
1509
+ let localVarRequestOptions = {
1510
+ method: 'GET',
1511
+ qs: localVarQueryParameters,
1512
+ headers: localVarHeaderParams,
1513
+ uri: localVarPath,
1514
+ useQuerystring: this._useQuerystring,
1515
+ agentOptions: (process.env.EI_HOST && process.env.EI_HOST !== "edgeimpulse.com") ? { keepAlive: true } : undefined,
1516
+ json: true,
1517
+ };
1518
+ let authenticationPromise = Promise.resolve();
1519
+ authenticationPromise = authenticationPromise.then(() => this.authentications.ApiKeyAuthentication.applyToRequest(localVarRequestOptions));
1520
+ authenticationPromise = authenticationPromise.then(() => this.authentications.JWTAuthentication.applyToRequest(localVarRequestOptions));
1521
+ authenticationPromise = authenticationPromise.then(() => this.authentications.JWTHttpHeaderAuthentication.applyToRequest(localVarRequestOptions));
1522
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
1523
+ return authenticationPromise.then(() => {
1524
+ if (Object.keys(localVarFormParams).length) {
1525
+ if (localVarUseFormData) {
1526
+ localVarRequestOptions.formData = localVarFormParams;
1527
+ }
1528
+ else {
1529
+ localVarRequestOptions.form = localVarFormParams;
1530
+ }
1531
+ }
1532
+ return new Promise((resolve, reject) => {
1533
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
1534
+ if (error) {
1535
+ reject(error);
1536
+ }
1537
+ else {
1538
+ body = models_1.ObjectSerializer.deserialize(body, "GetDataExplorerSettingsResponse");
1539
+ if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
1540
+ resolve({ response: response, body: body });
1541
+ }
1542
+ else {
1543
+ reject(new apis_1.HttpError(response, body, response.statusCode));
1544
+ }
1545
+ }
1546
+ });
1547
+ });
1548
+ });
1549
+ }
1352
1550
  /**
1353
1551
  * Get all unlabeled items from the object detection queue.
1354
1552
  * @summary Object detection label queue
@@ -2385,6 +2583,78 @@ class RawDataApi {
2385
2583
  });
2386
2584
  });
2387
2585
  }
2586
+ /**
2587
+ * Set data explorer configuration, like the type of data, and the input / dsp block to use.
2588
+ * @summary Set data explorer settings
2589
+ * @param projectId Project ID
2590
+ * @param dataExplorerSettings
2591
+ */
2592
+ async setDataExplorerSettings(projectId, dataExplorerSettings, options = { headers: {} }) {
2593
+ const localVarPath = this.basePath + '/api/{projectId}/raw-data/data-explorer/settings'
2594
+ .replace('{' + 'projectId' + '}', encodeURIComponent(String(projectId)));
2595
+ let localVarQueryParameters = {};
2596
+ let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
2597
+ const produces = ['application/json'];
2598
+ // give precedence to 'application/json'
2599
+ if (produces.indexOf('application/json') >= 0) {
2600
+ localVarHeaderParams.Accept = 'application/json';
2601
+ }
2602
+ else {
2603
+ localVarHeaderParams.Accept = produces.join(',');
2604
+ }
2605
+ let localVarFormParams = {};
2606
+ // verify required parameter 'projectId' is not null or undefined
2607
+ if (projectId === null || projectId === undefined) {
2608
+ throw new Error('Required parameter projectId was null or undefined when calling setDataExplorerSettings.');
2609
+ }
2610
+ // verify required parameter 'dataExplorerSettings' is not null or undefined
2611
+ if (dataExplorerSettings === null || dataExplorerSettings === undefined) {
2612
+ throw new Error('Required parameter dataExplorerSettings was null or undefined when calling setDataExplorerSettings.');
2613
+ }
2614
+ Object.assign(localVarHeaderParams, options.headers);
2615
+ let localVarUseFormData = false;
2616
+ let localVarRequestOptions = {
2617
+ method: 'POST',
2618
+ qs: localVarQueryParameters,
2619
+ headers: localVarHeaderParams,
2620
+ uri: localVarPath,
2621
+ useQuerystring: this._useQuerystring,
2622
+ agentOptions: (process.env.EI_HOST && process.env.EI_HOST !== "edgeimpulse.com") ? { keepAlive: true } : undefined,
2623
+ json: true,
2624
+ body: models_1.ObjectSerializer.serialize(dataExplorerSettings, "DataExplorerSettings")
2625
+ };
2626
+ let authenticationPromise = Promise.resolve();
2627
+ authenticationPromise = authenticationPromise.then(() => this.authentications.ApiKeyAuthentication.applyToRequest(localVarRequestOptions));
2628
+ authenticationPromise = authenticationPromise.then(() => this.authentications.JWTAuthentication.applyToRequest(localVarRequestOptions));
2629
+ authenticationPromise = authenticationPromise.then(() => this.authentications.JWTHttpHeaderAuthentication.applyToRequest(localVarRequestOptions));
2630
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
2631
+ return authenticationPromise.then(() => {
2632
+ if (Object.keys(localVarFormParams).length) {
2633
+ if (localVarUseFormData) {
2634
+ localVarRequestOptions.formData = localVarFormParams;
2635
+ }
2636
+ else {
2637
+ localVarRequestOptions.form = localVarFormParams;
2638
+ }
2639
+ }
2640
+ return new Promise((resolve, reject) => {
2641
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
2642
+ if (error) {
2643
+ reject(error);
2644
+ }
2645
+ else {
2646
+ body = models_1.ObjectSerializer.deserialize(body, "GenericApiResponse");
2647
+ if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
2648
+ resolve({ response: response, body: body });
2649
+ }
2650
+ else {
2651
+ reject(new apis_1.HttpError(response, body, response.statusCode));
2652
+ }
2653
+ }
2654
+ });
2655
+ });
2656
+ });
2657
+ }
2388
2658
  /**
2389
2659
  * Set the bounding boxes for a sample
2390
2660
  * @summary Set bounding boxes
@@ -2468,8 +2738,9 @@ class RawDataApi {
2468
2738
  * @summary Split sample into frames
2469
2739
  * @param projectId Project ID
2470
2740
  * @param sampleId Sample ID
2741
+ * @param splitSampleInFramesRequest
2471
2742
  */
2472
- async splitSampleInFrames(projectId, sampleId, options = { headers: {} }) {
2743
+ async splitSampleInFrames(projectId, sampleId, splitSampleInFramesRequest, options = { headers: {} }) {
2473
2744
  const localVarPath = this.basePath + '/api/{projectId}/raw-data/{sampleId}/split'
2474
2745
  .replace('{' + 'projectId' + '}', encodeURIComponent(String(projectId)))
2475
2746
  .replace('{' + 'sampleId' + '}', encodeURIComponent(String(sampleId)));
@@ -2492,6 +2763,10 @@ class RawDataApi {
2492
2763
  if (sampleId === null || sampleId === undefined) {
2493
2764
  throw new Error('Required parameter sampleId was null or undefined when calling splitSampleInFrames.');
2494
2765
  }
2766
+ // verify required parameter 'splitSampleInFramesRequest' is not null or undefined
2767
+ if (splitSampleInFramesRequest === null || splitSampleInFramesRequest === undefined) {
2768
+ throw new Error('Required parameter splitSampleInFramesRequest was null or undefined when calling splitSampleInFrames.');
2769
+ }
2495
2770
  Object.assign(localVarHeaderParams, options.headers);
2496
2771
  let localVarUseFormData = false;
2497
2772
  let localVarRequestOptions = {
@@ -2502,6 +2777,7 @@ class RawDataApi {
2502
2777
  useQuerystring: this._useQuerystring,
2503
2778
  agentOptions: (process.env.EI_HOST && process.env.EI_HOST !== "edgeimpulse.com") ? { keepAlive: true } : undefined,
2504
2779
  json: true,
2780
+ body: models_1.ObjectSerializer.serialize(splitSampleInFramesRequest, "SplitSampleInFramesRequest")
2505
2781
  };
2506
2782
  let authenticationPromise = Promise.resolve();
2507
2783
  authenticationPromise = authenticationPromise.then(() => this.authentications.ApiKeyAuthentication.applyToRequest(localVarRequestOptions));
@@ -2679,6 +2955,81 @@ class RawDataApi {
2679
2955
  });
2680
2956
  });
2681
2957
  }
2958
+ /**
2959
+ * Used internally (from a data pipeline) to upload a picture of the data explorer
2960
+ * @summary Upload a data explorer screenshot
2961
+ * @param projectId Project ID
2962
+ * @param image
2963
+ */
2964
+ async uploadDataExplorerScreenshot(projectId, image, options = { headers: {} }) {
2965
+ const localVarPath = this.basePath + '/api/{projectId}/raw-data/data-explorer/screenshot'
2966
+ .replace('{' + 'projectId' + '}', encodeURIComponent(String(projectId)));
2967
+ let localVarQueryParameters = {};
2968
+ let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
2969
+ const produces = ['application/json'];
2970
+ // give precedence to 'application/json'
2971
+ if (produces.indexOf('application/json') >= 0) {
2972
+ localVarHeaderParams.Accept = 'application/json';
2973
+ }
2974
+ else {
2975
+ localVarHeaderParams.Accept = produces.join(',');
2976
+ }
2977
+ let localVarFormParams = {};
2978
+ // verify required parameter 'projectId' is not null or undefined
2979
+ if (projectId === null || projectId === undefined) {
2980
+ throw new Error('Required parameter projectId was null or undefined when calling uploadDataExplorerScreenshot.');
2981
+ }
2982
+ // verify required parameter 'image' is not null or undefined
2983
+ if (image === null || image === undefined) {
2984
+ throw new Error('Required parameter image was null or undefined when calling uploadDataExplorerScreenshot.');
2985
+ }
2986
+ Object.assign(localVarHeaderParams, options.headers);
2987
+ let localVarUseFormData = false;
2988
+ if (image !== undefined) {
2989
+ localVarFormParams['image'] = image;
2990
+ }
2991
+ localVarUseFormData = true;
2992
+ let localVarRequestOptions = {
2993
+ method: 'POST',
2994
+ qs: localVarQueryParameters,
2995
+ headers: localVarHeaderParams,
2996
+ uri: localVarPath,
2997
+ useQuerystring: this._useQuerystring,
2998
+ agentOptions: (process.env.EI_HOST && process.env.EI_HOST !== "edgeimpulse.com") ? { keepAlive: true } : undefined,
2999
+ json: true,
3000
+ };
3001
+ let authenticationPromise = Promise.resolve();
3002
+ authenticationPromise = authenticationPromise.then(() => this.authentications.ApiKeyAuthentication.applyToRequest(localVarRequestOptions));
3003
+ authenticationPromise = authenticationPromise.then(() => this.authentications.JWTAuthentication.applyToRequest(localVarRequestOptions));
3004
+ authenticationPromise = authenticationPromise.then(() => this.authentications.JWTHttpHeaderAuthentication.applyToRequest(localVarRequestOptions));
3005
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
3006
+ return authenticationPromise.then(() => {
3007
+ if (Object.keys(localVarFormParams).length) {
3008
+ if (localVarUseFormData) {
3009
+ localVarRequestOptions.formData = localVarFormParams;
3010
+ }
3011
+ else {
3012
+ localVarRequestOptions.form = localVarFormParams;
3013
+ }
3014
+ }
3015
+ return new Promise((resolve, reject) => {
3016
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
3017
+ if (error) {
3018
+ reject(error);
3019
+ }
3020
+ else {
3021
+ body = models_1.ObjectSerializer.deserialize(body, "GenericApiResponse");
3022
+ if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
3023
+ resolve({ response: response, body: body });
3024
+ }
3025
+ else {
3026
+ reject(new apis_1.HttpError(response, body, response.statusCode));
3027
+ }
3028
+ }
3029
+ });
3030
+ });
3031
+ });
3032
+ }
2682
3033
  }
2683
3034
  exports.RawDataApi = RawDataApi;
2684
3035
  //# sourceMappingURL=rawDataApi.js.map