edge-impulse-linux 1.5.1 → 1.6.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.
Files changed (266) hide show
  1. package/build/cli/config.js +35 -4
  2. package/build/cli/config.js.map +1 -1
  3. package/build/cli/linux/camera-debug.js +0 -0
  4. package/build/cli/linux/linux.js +0 -0
  5. package/build/cli/linux/runner.js +0 -0
  6. package/build/cli/linux/webserver/escape-html-template-tag/escape.d.ts +12 -0
  7. package/build/cli/linux/webserver/escape-html-template-tag/escape.js +59 -0
  8. package/build/cli/linux/webserver/escape-html-template-tag/escape.js.map +1 -0
  9. package/build/cli/linux/webserver/escape-html-template-tag/index.d.ts +7 -0
  10. package/build/cli/linux/webserver/escape-html-template-tag/index.js +24 -0
  11. package/build/cli/linux/webserver/escape-html-template-tag/index.js.map +1 -0
  12. package/build/debug.d.ts +1 -0
  13. package/build/debug.js +26 -0
  14. package/build/debug.js.map +1 -0
  15. package/build/sdk/studio/sdk/api/adminApi.d.ts +36 -0
  16. package/build/sdk/studio/sdk/api/adminApi.js +243 -0
  17. package/build/sdk/studio/sdk/api/adminApi.js.map +1 -1
  18. package/build/sdk/studio/sdk/api/classifyApi.d.ts +13 -0
  19. package/build/sdk/studio/sdk/api/classifyApi.js +85 -0
  20. package/build/sdk/studio/sdk/api/classifyApi.js.map +1 -1
  21. package/build/sdk/studio/sdk/api/dSPApi.d.ts +6 -6
  22. package/build/sdk/studio/sdk/api/dSPApi.js +3 -15
  23. package/build/sdk/studio/sdk/api/dSPApi.js.map +1 -1
  24. package/build/sdk/studio/sdk/api/organizationBlocksApi.d.ts +95 -2
  25. package/build/sdk/studio/sdk/api/organizationBlocksApi.js +634 -2
  26. package/build/sdk/studio/sdk/api/organizationBlocksApi.js.map +1 -1
  27. package/build/sdk/studio/sdk/api/organizationDataApi.d.ts +27 -0
  28. package/build/sdk/studio/sdk/api/organizationDataApi.js +166 -0
  29. package/build/sdk/studio/sdk/api/organizationDataApi.js.map +1 -1
  30. package/build/sdk/studio/sdk/api/organizationRequiresAdminApi.d.ts +55 -0
  31. package/build/sdk/studio/sdk/api/organizationRequiresAdminApi.js +158 -0
  32. package/build/sdk/studio/sdk/api/organizationRequiresAdminApi.js.map +1 -0
  33. package/build/sdk/studio/sdk/api/organizationRequiresWhitelabelAdminApi.d.ts +55 -0
  34. package/build/sdk/studio/sdk/api/organizationRequiresWhitelabelAdminApi.js +158 -0
  35. package/build/sdk/studio/sdk/api/organizationRequiresWhitelabelAdminApi.js.map +1 -0
  36. package/build/sdk/studio/sdk/api/organizationsApi.d.ts +83 -43
  37. package/build/sdk/studio/sdk/api/organizationsApi.js +273 -43
  38. package/build/sdk/studio/sdk/api/organizationsApi.js.map +1 -1
  39. package/build/sdk/studio/sdk/api/projectsApi.d.ts +46 -0
  40. package/build/sdk/studio/sdk/api/projectsApi.js +301 -0
  41. package/build/sdk/studio/sdk/api/projectsApi.js.map +1 -1
  42. package/build/sdk/studio/sdk/api/rawDataApi.d.ts +28 -4
  43. package/build/sdk/studio/sdk/api/rawDataApi.js +51 -7
  44. package/build/sdk/studio/sdk/api/rawDataApi.js.map +1 -1
  45. package/build/sdk/studio/sdk/api/userApi.d.ts +33 -0
  46. package/build/sdk/studio/sdk/api/userApi.js +213 -0
  47. package/build/sdk/studio/sdk/api/userApi.js.map +1 -1
  48. package/build/sdk/studio/sdk/model/addOrganizationTransformationBlockRequest.d.ts +1 -1
  49. package/build/sdk/studio/sdk/model/addOrganizationTransformationBlockRequest.js +1 -1
  50. package/build/sdk/studio/sdk/model/addOrganizationTransformationBlockRequest.js.map +1 -1
  51. package/build/sdk/studio/sdk/model/adminApiUser.d.ts +4 -0
  52. package/build/sdk/studio/sdk/model/adminApiUser.js +5 -0
  53. package/build/sdk/studio/sdk/model/adminApiUser.js.map +1 -1
  54. package/build/sdk/studio/sdk/model/adminCreateOrganizationDataExportRequest.d.ts +36 -0
  55. package/build/sdk/studio/sdk/model/adminCreateOrganizationDataExportRequest.js +42 -0
  56. package/build/sdk/studio/sdk/model/adminCreateOrganizationDataExportRequest.js.map +1 -0
  57. package/build/sdk/studio/sdk/model/adminGetOrganizationUsageReportsResponse.d.ts +1 -1
  58. package/build/sdk/studio/sdk/model/adminGetOrganizationUsageReportsResponseAllOf.d.ts +1 -1
  59. package/build/sdk/studio/sdk/model/adminUpdateOrganizationDataExportRequest.d.ts +32 -0
  60. package/build/sdk/studio/sdk/model/adminUpdateOrganizationDataExportRequest.js +37 -0
  61. package/build/sdk/studio/sdk/model/adminUpdateOrganizationDataExportRequest.js.map +1 -0
  62. package/build/sdk/studio/sdk/model/deploymentTargetEngine.d.ts +1 -1
  63. package/build/sdk/studio/sdk/model/deploymentTargetEngine.js +1 -1
  64. package/build/sdk/studio/sdk/model/deploymentTargetEngine.js.map +1 -1
  65. package/build/sdk/studio/sdk/model/exportBlockResponse.d.ts +37 -0
  66. package/build/sdk/studio/sdk/model/exportBlockResponse.js +47 -0
  67. package/build/sdk/studio/sdk/model/exportBlockResponse.js.map +1 -0
  68. package/build/sdk/studio/sdk/model/exportBlockResponseAllOf.d.ts +29 -0
  69. package/build/sdk/studio/sdk/model/exportBlockResponseAllOf.js +37 -0
  70. package/build/sdk/studio/sdk/model/exportBlockResponseAllOf.js.map +1 -0
  71. package/build/sdk/studio/sdk/model/getCsvWizardUploadedFileInfo.d.ts +34 -0
  72. package/build/sdk/studio/sdk/model/getCsvWizardUploadedFileInfo.js +47 -0
  73. package/build/sdk/studio/sdk/model/getCsvWizardUploadedFileInfo.js.map +1 -0
  74. package/build/sdk/studio/sdk/model/getCsvWizardUploadedFileInfoAllOf.d.ts +26 -0
  75. package/build/sdk/studio/sdk/model/getCsvWizardUploadedFileInfoAllOf.js +37 -0
  76. package/build/sdk/studio/sdk/model/getCsvWizardUploadedFileInfoAllOf.js.map +1 -0
  77. package/build/sdk/studio/sdk/model/getJWTRequest.d.ts +4 -0
  78. package/build/sdk/studio/sdk/model/getJWTRequest.js +5 -0
  79. package/build/sdk/studio/sdk/model/getJWTRequest.js.map +1 -1
  80. package/build/sdk/studio/sdk/model/getOrganizationBucketResponse.d.ts +34 -0
  81. package/build/sdk/studio/sdk/model/getOrganizationBucketResponse.js +42 -0
  82. package/build/sdk/studio/sdk/model/getOrganizationBucketResponse.js.map +1 -0
  83. package/build/sdk/studio/sdk/model/getOrganizationBucketResponseAllOf.d.ts +26 -0
  84. package/build/sdk/studio/sdk/model/getOrganizationBucketResponseAllOf.js +32 -0
  85. package/build/sdk/studio/sdk/model/getOrganizationBucketResponseAllOf.js.map +1 -0
  86. package/build/sdk/studio/sdk/model/getOrganizationDataExportResponse.d.ts +34 -0
  87. package/build/sdk/studio/sdk/model/getOrganizationDataExportResponse.js +42 -0
  88. package/build/sdk/studio/sdk/model/getOrganizationDataExportResponse.js.map +1 -0
  89. package/build/sdk/studio/sdk/model/getOrganizationDataExportResponseAllOf.d.ts +26 -0
  90. package/build/sdk/studio/sdk/model/getOrganizationDataExportResponseAllOf.js +32 -0
  91. package/build/sdk/studio/sdk/model/getOrganizationDataExportResponseAllOf.js.map +1 -0
  92. package/build/sdk/studio/sdk/model/getOrganizationDataExportsResponse.d.ts +38 -0
  93. package/build/sdk/studio/sdk/model/getOrganizationDataExportsResponse.js +47 -0
  94. package/build/sdk/studio/sdk/model/getOrganizationDataExportsResponse.js.map +1 -0
  95. package/build/sdk/studio/sdk/model/getOrganizationDataExportsResponseAllOf.d.ts +30 -0
  96. package/build/sdk/studio/sdk/model/getOrganizationDataExportsResponseAllOf.js +37 -0
  97. package/build/sdk/studio/sdk/model/getOrganizationDataExportsResponseAllOf.js.map +1 -0
  98. package/build/sdk/studio/sdk/model/getOrganizationDeployBlockResponse.d.ts +34 -0
  99. package/build/sdk/studio/sdk/model/getOrganizationDeployBlockResponse.js +42 -0
  100. package/build/sdk/studio/sdk/model/getOrganizationDeployBlockResponse.js.map +1 -0
  101. package/build/sdk/studio/sdk/model/getOrganizationDeployBlockResponseAllOf.d.ts +26 -0
  102. package/build/sdk/studio/sdk/model/getOrganizationDeployBlockResponseAllOf.js +32 -0
  103. package/build/sdk/studio/sdk/model/getOrganizationDeployBlockResponseAllOf.js.map +1 -0
  104. package/build/sdk/studio/sdk/model/getOrganizationDspBlockResponse.d.ts +34 -0
  105. package/build/sdk/studio/sdk/model/getOrganizationDspBlockResponse.js +42 -0
  106. package/build/sdk/studio/sdk/model/getOrganizationDspBlockResponse.js.map +1 -0
  107. package/build/sdk/studio/sdk/model/getOrganizationDspBlockResponseAllOf.d.ts +26 -0
  108. package/build/sdk/studio/sdk/model/getOrganizationDspBlockResponseAllOf.js +32 -0
  109. package/build/sdk/studio/sdk/model/getOrganizationDspBlockResponseAllOf.js.map +1 -0
  110. package/build/sdk/studio/sdk/model/getOrganizationTransferLearningBlockResponse.d.ts +34 -0
  111. package/build/sdk/studio/sdk/model/getOrganizationTransferLearningBlockResponse.js +42 -0
  112. package/build/sdk/studio/sdk/model/getOrganizationTransferLearningBlockResponse.js.map +1 -0
  113. package/build/sdk/studio/sdk/model/getOrganizationTransferLearningBlockResponseAllOf.d.ts +26 -0
  114. package/build/sdk/studio/sdk/model/getOrganizationTransferLearningBlockResponseAllOf.js +32 -0
  115. package/build/sdk/studio/sdk/model/getOrganizationTransferLearningBlockResponseAllOf.js.map +1 -0
  116. package/build/sdk/studio/sdk/model/getOrganizationTransformationBlockResponse.d.ts +34 -0
  117. package/build/sdk/studio/sdk/model/getOrganizationTransformationBlockResponse.js +42 -0
  118. package/build/sdk/studio/sdk/model/getOrganizationTransformationBlockResponse.js.map +1 -0
  119. package/build/sdk/studio/sdk/model/getOrganizationTransformationBlockResponseAllOf.d.ts +26 -0
  120. package/build/sdk/studio/sdk/model/getOrganizationTransformationBlockResponseAllOf.js +32 -0
  121. package/build/sdk/studio/sdk/model/getOrganizationTransformationBlockResponseAllOf.js.map +1 -0
  122. package/build/sdk/studio/sdk/model/getUserResponse.d.ts +4 -0
  123. package/build/sdk/studio/sdk/model/getUserResponse.js +5 -0
  124. package/build/sdk/studio/sdk/model/getUserResponse.js.map +1 -1
  125. package/build/sdk/studio/sdk/model/imageInputScaling.d.ts +2 -2
  126. package/build/sdk/studio/sdk/model/imageInputScaling.js +1 -1
  127. package/build/sdk/studio/sdk/model/imageInputScaling.js.map +1 -1
  128. package/build/sdk/studio/sdk/model/kerasModelMetadataMetricsOnDevicePerformance.d.ts +1 -0
  129. package/build/sdk/studio/sdk/model/kerasModelMetadataMetricsOnDevicePerformance.js +5 -0
  130. package/build/sdk/studio/sdk/model/kerasModelMetadataMetricsOnDevicePerformance.js.map +1 -1
  131. package/build/sdk/studio/sdk/model/kerasResponse.d.ts +4 -6
  132. package/build/sdk/studio/sdk/model/kerasResponse.js +7 -7
  133. package/build/sdk/studio/sdk/model/kerasResponse.js.map +1 -1
  134. package/build/sdk/studio/sdk/model/kerasResponseAllOf.d.ts +4 -6
  135. package/build/sdk/studio/sdk/model/kerasResponseAllOf.js +7 -7
  136. package/build/sdk/studio/sdk/model/kerasResponseAllOf.js.map +1 -1
  137. package/build/sdk/studio/sdk/model/listOrganizationBucketsResponse.d.ts +2 -2
  138. package/build/sdk/studio/sdk/model/listOrganizationBucketsResponse.js +1 -1
  139. package/build/sdk/studio/sdk/model/listOrganizationBucketsResponse.js.map +1 -1
  140. package/build/sdk/studio/sdk/model/listOrganizationBucketsResponseAllOf.d.ts +2 -2
  141. package/build/sdk/studio/sdk/model/listOrganizationBucketsResponseAllOf.js +1 -1
  142. package/build/sdk/studio/sdk/model/listOrganizationBucketsResponseAllOf.js.map +1 -1
  143. package/build/sdk/studio/sdk/model/listOrganizationUsageReportsResponseAllOf.d.ts +30 -0
  144. package/build/sdk/studio/sdk/model/listOrganizationUsageReportsResponseAllOf.js +37 -0
  145. package/build/sdk/studio/sdk/model/listOrganizationUsageReportsResponseAllOf.js.map +1 -0
  146. package/build/sdk/studio/sdk/model/listPortalFilesInFolderRequest.d.ts +9 -1
  147. package/build/sdk/studio/sdk/model/listPortalFilesInFolderRequest.js +10 -0
  148. package/build/sdk/studio/sdk/model/listPortalFilesInFolderRequest.js.map +1 -1
  149. package/build/sdk/studio/sdk/model/modelEngineShortEnum.d.ts +13 -0
  150. package/build/sdk/studio/sdk/model/modelEngineShortEnum.js +16 -0
  151. package/build/sdk/studio/sdk/model/modelEngineShortEnum.js.map +1 -0
  152. package/build/sdk/studio/sdk/model/models.d.ts +34 -1
  153. package/build/sdk/studio/sdk/model/models.js +102 -8
  154. package/build/sdk/studio/sdk/model/models.js.map +1 -1
  155. package/build/sdk/studio/sdk/model/organizationBucket.d.ts +49 -0
  156. package/build/sdk/studio/sdk/model/organizationBucket.js +62 -0
  157. package/build/sdk/studio/sdk/model/organizationBucket.js.map +1 -0
  158. package/build/sdk/studio/sdk/model/organizationCreateProject.d.ts +2 -3
  159. package/build/sdk/studio/sdk/model/organizationCreateProject.js +2 -3
  160. package/build/sdk/studio/sdk/model/organizationCreateProject.js.map +1 -1
  161. package/build/sdk/studio/sdk/model/organizationCreateProjectOutputDatasetPathRule.d.ts +16 -0
  162. package/build/sdk/studio/sdk/model/organizationCreateProjectOutputDatasetPathRule.js +16 -0
  163. package/build/sdk/studio/sdk/model/organizationCreateProjectOutputDatasetPathRule.js.map +1 -0
  164. package/build/sdk/studio/sdk/model/organizationCreateProjectPathFilter.d.ts +35 -0
  165. package/build/sdk/studio/sdk/model/organizationCreateProjectPathFilter.js +40 -0
  166. package/build/sdk/studio/sdk/model/organizationCreateProjectPathFilter.js.map +1 -0
  167. package/build/sdk/studio/sdk/model/organizationCreateProjectRequest.d.ts +17 -0
  168. package/build/sdk/studio/sdk/model/organizationCreateProjectRequest.js +15 -0
  169. package/build/sdk/studio/sdk/model/organizationCreateProjectRequest.js.map +1 -1
  170. package/build/sdk/studio/sdk/model/organizationCreateProjectWithFiles.d.ts +2 -3
  171. package/build/sdk/studio/sdk/model/organizationCreateProjectWithFiles.js +2 -3
  172. package/build/sdk/studio/sdk/model/organizationCreateProjectWithFiles.js.map +1 -1
  173. package/build/sdk/studio/sdk/model/organizationCreateProjectWithFilesAllOfFiles.d.ts +4 -2
  174. package/build/sdk/studio/sdk/model/organizationCreateProjectWithFilesAllOfFiles.js +9 -8
  175. package/build/sdk/studio/sdk/model/organizationCreateProjectWithFilesAllOfFiles.js.map +1 -1
  176. package/build/sdk/studio/sdk/model/organizationDataExport.d.ts +35 -0
  177. package/build/sdk/studio/sdk/model/organizationDataExport.js +52 -0
  178. package/build/sdk/studio/sdk/model/organizationDataExport.js.map +1 -0
  179. package/build/sdk/studio/sdk/model/organizationDataset.d.ts +4 -0
  180. package/build/sdk/studio/sdk/model/organizationDataset.js +5 -0
  181. package/build/sdk/studio/sdk/model/organizationDataset.js.map +1 -1
  182. package/build/sdk/studio/sdk/model/organizationDeployBlock.d.ts +1 -0
  183. package/build/sdk/studio/sdk/model/organizationDeployBlock.js +5 -0
  184. package/build/sdk/studio/sdk/model/organizationDeployBlock.js.map +1 -1
  185. package/build/sdk/studio/sdk/model/organizationDspBlock.d.ts +1 -0
  186. package/build/sdk/studio/sdk/model/organizationDspBlock.js +5 -0
  187. package/build/sdk/studio/sdk/model/organizationDspBlock.js.map +1 -1
  188. package/build/sdk/studio/sdk/model/organizationGetCreateProjectsResponseAllOfJobs.d.ts +2 -3
  189. package/build/sdk/studio/sdk/model/organizationGetCreateProjectsResponseAllOfJobs.js +2 -3
  190. package/build/sdk/studio/sdk/model/organizationGetCreateProjectsResponseAllOfJobs.js.map +1 -1
  191. package/build/sdk/studio/sdk/model/organizationPipelineStep.d.ts +11 -0
  192. package/build/sdk/studio/sdk/model/organizationPipelineStep.js +15 -0
  193. package/build/sdk/studio/sdk/model/organizationPipelineStep.js.map +1 -1
  194. package/build/sdk/studio/sdk/model/organizationTransferLearningBlock.d.ts +1 -0
  195. package/build/sdk/studio/sdk/model/organizationTransferLearningBlock.js +5 -0
  196. package/build/sdk/studio/sdk/model/organizationTransferLearningBlock.js.map +1 -1
  197. package/build/sdk/studio/sdk/model/organizationTransformationBlock.d.ts +3 -3
  198. package/build/sdk/studio/sdk/model/organizationTransformationBlock.js +7 -3
  199. package/build/sdk/studio/sdk/model/organizationTransformationBlock.js.map +1 -1
  200. package/build/sdk/studio/sdk/model/organizationUser.d.ts +4 -0
  201. package/build/sdk/studio/sdk/model/organizationUser.js +5 -0
  202. package/build/sdk/studio/sdk/model/organizationUser.js.map +1 -1
  203. package/build/sdk/studio/sdk/model/profileModelInfoMemory.d.ts +1 -0
  204. package/build/sdk/studio/sdk/model/profileModelInfoMemory.js +5 -0
  205. package/build/sdk/studio/sdk/model/profileModelInfoMemory.js.map +1 -1
  206. package/build/sdk/studio/sdk/model/profileModelTableMcuMemory.d.ts +1 -0
  207. package/build/sdk/studio/sdk/model/profileModelTableMcuMemory.js +5 -0
  208. package/build/sdk/studio/sdk/model/profileModelTableMcuMemory.js.map +1 -1
  209. package/build/sdk/studio/sdk/model/project.d.ts +4 -0
  210. package/build/sdk/studio/sdk/model/project.js +5 -0
  211. package/build/sdk/studio/sdk/model/project.js.map +1 -1
  212. package/build/sdk/studio/sdk/model/projectCollaborator.d.ts +4 -0
  213. package/build/sdk/studio/sdk/model/projectCollaborator.js +5 -0
  214. package/build/sdk/studio/sdk/model/projectCollaborator.js.map +1 -1
  215. package/build/sdk/studio/sdk/model/projectInfoResponseAllOfAcquisitionSettings.d.ts +18 -0
  216. package/build/sdk/studio/sdk/model/projectInfoResponseAllOfAcquisitionSettings.js +22 -1
  217. package/build/sdk/studio/sdk/model/projectInfoResponseAllOfAcquisitionSettings.js.map +1 -1
  218. package/build/sdk/studio/sdk/model/projectInfoResponseAllOfDeploySettings.d.ts +2 -0
  219. package/build/sdk/studio/sdk/model/projectInfoResponseAllOfDeploySettings.js +5 -0
  220. package/build/sdk/studio/sdk/model/projectInfoResponseAllOfDeploySettings.js.map +1 -1
  221. package/build/sdk/studio/sdk/model/sample.d.ts +4 -0
  222. package/build/sdk/studio/sdk/model/sample.js +5 -0
  223. package/build/sdk/studio/sdk/model/sample.js.map +1 -1
  224. package/build/sdk/studio/sdk/model/setKerasParameterRequest.d.ts +4 -6
  225. package/build/sdk/studio/sdk/model/setKerasParameterRequest.js +7 -7
  226. package/build/sdk/studio/sdk/model/setKerasParameterRequest.js.map +1 -1
  227. package/build/sdk/studio/sdk/model/targetConstraintsDevice.d.ts +0 -4
  228. package/build/sdk/studio/sdk/model/targetConstraintsDevice.js +0 -5
  229. package/build/sdk/studio/sdk/model/targetConstraintsDevice.js.map +1 -1
  230. package/build/sdk/studio/sdk/model/transformationJobOperatesOnEnum.d.ts +13 -0
  231. package/build/sdk/studio/sdk/model/transformationJobOperatesOnEnum.js +16 -0
  232. package/build/sdk/studio/sdk/model/transformationJobOperatesOnEnum.js.map +1 -0
  233. package/build/sdk/studio/sdk/model/updateOrganizationTransformationBlockRequest.d.ts +2 -3
  234. package/build/sdk/studio/sdk/model/updateOrganizationTransformationBlockRequest.js +2 -3
  235. package/build/sdk/studio/sdk/model/updateOrganizationTransformationBlockRequest.js.map +1 -1
  236. package/build/sdk/studio/sdk/model/updateProjectRequest.d.ts +21 -1
  237. package/build/sdk/studio/sdk/model/updateProjectRequest.js +27 -1
  238. package/build/sdk/studio/sdk/model/updateProjectRequest.js.map +1 -1
  239. package/build/sdk/studio/sdk/model/uploadCsvWizardUploadedFileRequest.d.ts +33 -0
  240. package/build/sdk/studio/sdk/model/uploadCsvWizardUploadedFileRequest.js +32 -0
  241. package/build/sdk/studio/sdk/model/uploadCsvWizardUploadedFileRequest.js.map +1 -0
  242. package/build/sdk/studio/sdk/model/user.d.ts +4 -0
  243. package/build/sdk/studio/sdk/model/user.js +5 -0
  244. package/build/sdk/studio/sdk/model/user.js.map +1 -1
  245. package/build/sdk/studio/sdk/model/userDeleteTotpMfaKeyRequest.d.ts +28 -0
  246. package/build/sdk/studio/sdk/model/userDeleteTotpMfaKeyRequest.js +32 -0
  247. package/build/sdk/studio/sdk/model/userDeleteTotpMfaKeyRequest.js.map +1 -0
  248. package/build/sdk/studio/sdk/model/userGenerateNewMfaKeyResponse.d.ts +40 -0
  249. package/build/sdk/studio/sdk/model/userGenerateNewMfaKeyResponse.js +47 -0
  250. package/build/sdk/studio/sdk/model/userGenerateNewMfaKeyResponse.js.map +1 -0
  251. package/build/sdk/studio/sdk/model/userGenerateNewMfaKeyResponseAllOf.d.ts +32 -0
  252. package/build/sdk/studio/sdk/model/userGenerateNewMfaKeyResponseAllOf.js +37 -0
  253. package/build/sdk/studio/sdk/model/userGenerateNewMfaKeyResponseAllOf.js.map +1 -0
  254. package/build/sdk/studio/sdk/model/userSetTotpMfaKeyRequest.d.ts +32 -0
  255. package/build/sdk/studio/sdk/model/userSetTotpMfaKeyRequest.js +37 -0
  256. package/build/sdk/studio/sdk/model/userSetTotpMfaKeyRequest.js.map +1 -0
  257. package/build/sdk/studio/sdk/model/userSetTotpMfaKeyResponse.d.ts +36 -0
  258. package/build/sdk/studio/sdk/model/userSetTotpMfaKeyResponse.js +42 -0
  259. package/build/sdk/studio/sdk/model/userSetTotpMfaKeyResponse.js.map +1 -0
  260. package/build/sdk/studio/sdk/model/userSetTotpMfaKeyResponseAllOf.d.ts +28 -0
  261. package/build/sdk/studio/sdk/model/userSetTotpMfaKeyResponseAllOf.js +32 -0
  262. package/build/sdk/studio/sdk/model/userSetTotpMfaKeyResponseAllOf.js.map +1 -0
  263. package/build/shared/viewmodels/init.d.ts +12 -2
  264. package/build/shared/viewmodels/init.js +6 -1
  265. package/build/shared/viewmodels/init.js.map +1 -1
  266. package/package.json +1 -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: number;
171
+ sliceEnd?: number;
162
172
  };
163
173
  declare type getUncroppedDownsampledSampleQueryParams = {
164
174
  limitPayloadValues?: number;
@@ -178,6 +188,8 @@ declare type listSamplesQueryParams = {
178
188
  maxFrequency?: number;
179
189
  signatureValidity?: 'both' | 'valid' | 'invalid';
180
190
  includeDisabled?: 'both' | 'enabled' | 'disabled';
191
+ saveAsDefaultLimit?: boolean;
192
+ search?: string;
181
193
  };
182
194
  declare type uploadDataExplorerScreenshotFormParams = {
183
195
  image: RequestFile;
@@ -221,6 +233,7 @@ export declare class RawDataApi {
221
233
  * @param includeDisabled Include only enabled or disabled samples (or both)
222
234
  * @param ids Only include samples with an ID within the given list of IDs, given as a JSON string
223
235
  * @param excludeIds Exclude samples with an ID within the given list of IDs, given as a JSON string
236
+ * @param search Search query
224
237
  */
225
238
  batchDelete(projectId: number, queryParams: batchDeleteQueryParams, options?: {
226
239
  headers: {
@@ -242,6 +255,7 @@ export declare class RawDataApi {
242
255
  * @param includeDisabled Include only enabled or disabled samples (or both)
243
256
  * @param ids Only include samples with an ID within the given list of IDs, given as a JSON string
244
257
  * @param excludeIds Exclude samples with an ID within the given list of IDs, given as a JSON string
258
+ * @param search Search query
245
259
  */
246
260
  batchDisable(projectId: number, queryParams: batchDisableQueryParams, options?: {
247
261
  headers: {
@@ -264,6 +278,7 @@ export declare class RawDataApi {
264
278
  * @param includeDisabled Include only enabled or disabled samples (or both)
265
279
  * @param ids Only include samples with an ID within the given list of IDs, given as a JSON string
266
280
  * @param excludeIds Exclude samples with an ID within the given list of IDs, given as a JSON string
281
+ * @param search Search query
267
282
  */
268
283
  batchEditLabels(projectId: number, editSampleLabelRequest: EditSampleLabelRequest, queryParams: batchEditLabelsQueryParams, options?: {
269
284
  headers: {
@@ -285,6 +300,7 @@ export declare class RawDataApi {
285
300
  * @param includeDisabled Include only enabled or disabled samples (or both)
286
301
  * @param ids Only include samples with an ID within the given list of IDs, given as a JSON string
287
302
  * @param excludeIds Exclude samples with an ID within the given list of IDs, given as a JSON string
303
+ * @param search Search query
288
304
  */
289
305
  batchEnable(projectId: number, queryParams: batchEnableQueryParams, options?: {
290
306
  headers: {
@@ -307,6 +323,7 @@ export declare class RawDataApi {
307
323
  * @param includeDisabled Include only enabled or disabled samples (or both)
308
324
  * @param ids Only include samples with an ID within the given list of IDs, given as a JSON string
309
325
  * @param excludeIds Exclude samples with an ID within the given list of IDs, given as a JSON string
326
+ * @param search Search query
310
327
  */
311
328
  batchMove(projectId: number, moveRawDataRequest: MoveRawDataRequest, queryParams: batchMoveQueryParams, options?: {
312
329
  headers: {
@@ -358,6 +375,7 @@ export declare class RawDataApi {
358
375
  * @param maxFrequency Only include samples with lower frequency than given frequency, in hertz
359
376
  * @param signatureValidity Include samples with either valid or invalid signatures
360
377
  * @param includeDisabled Include only enabled or disabled samples (or both)
378
+ * @param search Search query
361
379
  */
362
380
  countSamples(projectId: number, queryParams: countSamplesQueryParams, options?: {
363
381
  headers: {
@@ -563,6 +581,7 @@ export declare class RawDataApi {
563
581
  * @param projectId Project ID
564
582
  * @param sampleId Sample ID
565
583
  * @param limitPayloadValues Limit the number of payload values in the response
584
+ * @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
585
  */
567
586
  getSample(projectId: number, sampleId: number, queryParams: getSampleQueryParams, options?: {
568
587
  headers: {
@@ -575,8 +594,9 @@ export declare class RawDataApi {
575
594
  * @param projectId Project ID
576
595
  * @param sampleId Sample ID
577
596
  * @param axisIx Axis index
578
- * @param sliceStart Begin index of the slice
579
- * @param sliceEnd End index of the slice
597
+ * @param sliceStart Begin index of the slice. If not given, the whole sample is used.
598
+ * @param sliceEnd End index of the slice. If not given, the whole sample is used.
599
+ * @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
600
  */
581
601
  getSampleAsAudio(projectId: number, sampleId: number, queryParams: getSampleAsAudioQueryParams, options?: {
582
602
  headers: {
@@ -589,6 +609,7 @@ export declare class RawDataApi {
589
609
  * @param projectId Project ID
590
610
  * @param sampleId Sample ID
591
611
  * @param afterInputBlock Whether to process the image through the input block first
612
+ * @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
613
  */
593
614
  getSampleAsImage(projectId: number, sampleId: number, queryParams: getSampleAsImageQueryParams, options?: {
594
615
  headers: {
@@ -612,6 +633,7 @@ export declare class RawDataApi {
612
633
  * @param projectId Project ID
613
634
  * @param sampleId Sample ID
614
635
  * @param afterInputBlock Whether to process the image through the input block first
636
+ * @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
637
  */
616
638
  getSampleAsVideo(projectId: number, sampleId: number, queryParams: getSampleAsVideoQueryParams, options?: {
617
639
  headers: {
@@ -635,7 +657,7 @@ export declare class RawDataApi {
635
657
  * @param projectId Project ID
636
658
  * @param sampleId Sample ID
637
659
  * @param sliceStart Begin index of the slice
638
- * @param sliceEnd End index of the slice
660
+ * @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
661
  */
640
662
  getSampleSlice(projectId: number, sampleId: number, queryParams: getSampleSliceQueryParams, options?: {
641
663
  headers: {
@@ -702,6 +724,8 @@ export declare class RawDataApi {
702
724
  * @param maxFrequency Only include samples with lower frequency than given frequency, in hertz
703
725
  * @param signatureValidity Include samples with either valid or invalid signatures
704
726
  * @param includeDisabled Include only enabled or disabled samples (or both)
727
+ * @param saveAsDefaultLimit If set, then the default page size is overwritten with the current limit.
728
+ * @param search Search query
705
729
  */
706
730
  listSamples(projectId: number, queryParams: listSamplesQueryParams, options?: {
707
731
  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,8 @@ 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 saveAsDefaultLimit If set, then the default page size is overwritten with the current limit.
3390
+ * @param search Search query
3353
3391
  */
3354
3392
  async listSamples(projectId, queryParams, options = { headers: {} }) {
3355
3393
  const localVarPath = this.basePath + '/api/{projectId}/raw-data'
@@ -3411,6 +3449,12 @@ class RawDataApi {
3411
3449
  if (queryParams.includeDisabled !== undefined) {
3412
3450
  localVarQueryParameters['includeDisabled'] = models_1.ObjectSerializer.serialize(queryParams.includeDisabled, "'both' | 'enabled' | 'disabled'");
3413
3451
  }
3452
+ if (queryParams.saveAsDefaultLimit !== undefined) {
3453
+ localVarQueryParameters['saveAsDefaultLimit'] = models_1.ObjectSerializer.serialize(queryParams.saveAsDefaultLimit, "boolean");
3454
+ }
3455
+ if (queryParams.search !== undefined) {
3456
+ localVarQueryParameters['search'] = models_1.ObjectSerializer.serialize(queryParams.search, "string");
3457
+ }
3414
3458
  Object.assign(localVarHeaderParams, options.headers);
3415
3459
  Object.assign(localVarHeaderParams, this.opts.extraHeaders);
3416
3460
  let localVarUseFormData = false;