edge-impulse-linux 1.8.10 → 1.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (721) hide show
  1. package/build/cli/check-new-version.js +1 -1
  2. package/build/cli/check-new-version.js.map +1 -1
  3. package/build/cli/config.d.ts +7 -0
  4. package/build/cli/config.js +16 -1
  5. package/build/cli/config.js.map +1 -1
  6. package/build/cli/init-cli-app.js +1 -1
  7. package/build/cli/init-cli-app.js.map +1 -1
  8. package/build/cli/linux/remote-mgmt-service.d.ts +3 -1
  9. package/build/cli/linux/remote-mgmt-service.js +1 -1
  10. package/build/cli/linux/remote-mgmt-service.js.map +1 -1
  11. package/build/cli/linux/runner-downloader.d.ts +17 -2
  12. package/build/cli/linux/runner-downloader.js +39 -17
  13. package/build/cli/linux/runner-downloader.js.map +1 -1
  14. package/build/cli/linux/runner.js +93 -14
  15. package/build/cli/linux/runner.js.map +1 -1
  16. package/build/cli/linux/webserver/views/escape-html-template-tag/escape.js.map +1 -1
  17. package/build/library/argv-split.js.map +1 -1
  18. package/build/library/sensors/gstreamer.d.ts +6 -2
  19. package/build/library/sensors/gstreamer.js +32 -13
  20. package/build/library/sensors/gstreamer.js.map +1 -1
  21. package/build/library/sensors/prophesee.js.map +1 -1
  22. package/build/library/sensors/recorder.js.map +1 -1
  23. package/build/sdk/studio/sdk/api/adminApi.d.ts +120 -22
  24. package/build/sdk/studio/sdk/api/adminApi.js +745 -138
  25. package/build/sdk/studio/sdk/api/adminApi.js.map +1 -1
  26. package/build/sdk/studio/sdk/api/authApi.js +2 -2
  27. package/build/sdk/studio/sdk/api/authApi.js.map +1 -1
  28. package/build/sdk/studio/sdk/api/cDNApi.js +1 -1
  29. package/build/sdk/studio/sdk/api/cDNApi.js.map +1 -1
  30. package/build/sdk/studio/sdk/api/canaryApi.js +1 -1
  31. package/build/sdk/studio/sdk/api/canaryApi.js.map +1 -1
  32. package/build/sdk/studio/sdk/api/classifyApi.d.ts +45 -7
  33. package/build/sdk/studio/sdk/api/classifyApi.js +127 -13
  34. package/build/sdk/studio/sdk/api/classifyApi.js.map +1 -1
  35. package/build/sdk/studio/sdk/api/dSPApi.d.ts +3 -3
  36. package/build/sdk/studio/sdk/api/dSPApi.js +12 -12
  37. package/build/sdk/studio/sdk/api/dSPApi.js.map +1 -1
  38. package/build/sdk/studio/sdk/api/deploymentApi.d.ts +45 -9
  39. package/build/sdk/studio/sdk/api/deploymentApi.js +57 -17
  40. package/build/sdk/studio/sdk/api/deploymentApi.js.map +1 -1
  41. package/build/sdk/studio/sdk/api/emailVerificationApi.d.ts +12 -0
  42. package/build/sdk/studio/sdk/api/emailVerificationApi.js +70 -0
  43. package/build/sdk/studio/sdk/api/emailVerificationApi.js.map +1 -1
  44. package/build/sdk/studio/sdk/api/healthApi.d.ts +2 -2
  45. package/build/sdk/studio/sdk/api/healthApi.js +2 -2
  46. package/build/sdk/studio/sdk/api/healthApi.js.map +1 -1
  47. package/build/sdk/studio/sdk/api/impulseApi.d.ts +121 -25
  48. package/build/sdk/studio/sdk/api/impulseApi.js +537 -52
  49. package/build/sdk/studio/sdk/api/impulseApi.js.map +1 -1
  50. package/build/sdk/studio/sdk/api/jobsApi.d.ts +125 -15
  51. package/build/sdk/studio/sdk/api/jobsApi.js +549 -29
  52. package/build/sdk/studio/sdk/api/jobsApi.js.map +1 -1
  53. package/build/sdk/studio/sdk/api/learnApi.d.ts +41 -17
  54. package/build/sdk/studio/sdk/api/learnApi.js +47 -15
  55. package/build/sdk/studio/sdk/api/learnApi.js.map +1 -1
  56. package/build/sdk/studio/sdk/api/optimizationApi.d.ts +36 -0
  57. package/build/sdk/studio/sdk/api/optimizationApi.js +245 -2
  58. package/build/sdk/studio/sdk/api/optimizationApi.js.map +1 -1
  59. package/build/sdk/studio/sdk/api/organizationBlocksApi.d.ts +14 -3
  60. package/build/sdk/studio/sdk/api/organizationBlocksApi.js +107 -28
  61. package/build/sdk/studio/sdk/api/organizationBlocksApi.js.map +1 -1
  62. package/build/sdk/studio/sdk/api/organizationCreateProjectApi.d.ts +2 -2
  63. package/build/sdk/studio/sdk/api/organizationCreateProjectApi.js +8 -8
  64. package/build/sdk/studio/sdk/api/organizationCreateProjectApi.js.map +1 -1
  65. package/build/sdk/studio/sdk/api/organizationDataApi.d.ts +8 -123
  66. package/build/sdk/studio/sdk/api/organizationDataApi.js +37 -621
  67. package/build/sdk/studio/sdk/api/organizationDataApi.js.map +1 -1
  68. package/build/sdk/studio/sdk/api/organizationDataCampaignsApi.d.ts +1 -2
  69. package/build/sdk/studio/sdk/api/organizationJobsApi.d.ts +8 -6
  70. package/build/sdk/studio/sdk/api/organizationJobsApi.js +22 -18
  71. package/build/sdk/studio/sdk/api/organizationJobsApi.js.map +1 -1
  72. package/build/sdk/studio/sdk/api/organizationPipelinesApi.d.ts +3 -3
  73. package/build/sdk/studio/sdk/api/organizationPipelinesApi.js +3 -3
  74. package/build/sdk/studio/sdk/api/organizationPipelinesApi.js.map +1 -1
  75. package/build/sdk/studio/sdk/api/organizationsApi.d.ts +48 -32
  76. package/build/sdk/studio/sdk/api/organizationsApi.js +161 -60
  77. package/build/sdk/studio/sdk/api/organizationsApi.js.map +1 -1
  78. package/build/sdk/studio/sdk/api/performanceCalibrationApi.d.ts +66 -11
  79. package/build/sdk/studio/sdk/api/performanceCalibrationApi.js +127 -10
  80. package/build/sdk/studio/sdk/api/performanceCalibrationApi.js.map +1 -1
  81. package/build/sdk/studio/sdk/api/projectsApi.d.ts +116 -12
  82. package/build/sdk/studio/sdk/api/projectsApi.js +685 -41
  83. package/build/sdk/studio/sdk/api/projectsApi.js.map +1 -1
  84. package/build/sdk/studio/sdk/api/rawDataApi.d.ts +163 -16
  85. package/build/sdk/studio/sdk/api/rawDataApi.js +683 -112
  86. package/build/sdk/studio/sdk/api/rawDataApi.js.map +1 -1
  87. package/build/sdk/studio/sdk/api/themesApi.d.ts +1 -2
  88. package/build/sdk/studio/sdk/api/thirdPartyAuthApi.d.ts +1 -2
  89. package/build/sdk/studio/sdk/api/thirdPartyAuthApi.js +1 -1
  90. package/build/sdk/studio/sdk/api/thirdPartyAuthApi.js.map +1 -1
  91. package/build/sdk/studio/sdk/api/uploadPortalApi.js +1 -1
  92. package/build/sdk/studio/sdk/api/uploadPortalApi.js.map +1 -1
  93. package/build/sdk/studio/sdk/api/userApi.d.ts +20 -4
  94. package/build/sdk/studio/sdk/api/userApi.js +79 -2
  95. package/build/sdk/studio/sdk/api/userApi.js.map +1 -1
  96. package/build/sdk/studio/sdk/model/aIAction.d.ts +51 -0
  97. package/build/sdk/studio/sdk/model/aIAction.js +69 -0
  98. package/build/sdk/studio/sdk/model/aIAction.js.map +1 -0
  99. package/build/sdk/studio/sdk/model/{listOrganizationProjectsDataResponseAllOf.d.ts → aIActionLastPreviewState.d.ts} +6 -3
  100. package/build/sdk/studio/sdk/model/aIActionLastPreviewState.js +37 -0
  101. package/build/sdk/studio/sdk/model/aIActionLastPreviewState.js.map +1 -0
  102. package/build/sdk/studio/sdk/model/aIActionLastPreviewStateProposedChanges.d.ts +27 -0
  103. package/build/sdk/studio/sdk/model/aIActionLastPreviewStateProposedChanges.js +34 -0
  104. package/build/sdk/studio/sdk/model/aIActionLastPreviewStateProposedChanges.js.map +1 -0
  105. package/build/sdk/studio/sdk/model/aIActionsConfig.d.ts +44 -0
  106. package/build/sdk/studio/sdk/model/aIActionsConfig.js +49 -0
  107. package/build/sdk/studio/sdk/model/aIActionsConfig.js.map +1 -0
  108. package/build/sdk/studio/sdk/model/aIActionsDataCategory.d.ts +13 -0
  109. package/build/sdk/studio/sdk/model/aIActionsDataCategory.js +16 -0
  110. package/build/sdk/studio/sdk/model/aIActionsDataCategory.js.map +1 -0
  111. package/build/sdk/studio/sdk/model/addOrganizationTransferLearningBlockRequest.d.ts +7 -0
  112. package/build/sdk/studio/sdk/model/addOrganizationTransferLearningBlockRequest.js +10 -0
  113. package/build/sdk/studio/sdk/model/addOrganizationTransferLearningBlockRequest.js.map +1 -1
  114. package/build/sdk/studio/sdk/model/addOrganizationTransformationBlockRequest.d.ts +6 -0
  115. package/build/sdk/studio/sdk/model/addOrganizationTransformationBlockRequest.js +10 -0
  116. package/build/sdk/studio/sdk/model/addOrganizationTransformationBlockRequest.js.map +1 -1
  117. package/build/sdk/studio/sdk/model/additionalMetric.d.ts +1 -0
  118. package/build/sdk/studio/sdk/model/additionalMetric.js +5 -0
  119. package/build/sdk/studio/sdk/model/additionalMetric.js.map +1 -1
  120. package/build/sdk/studio/sdk/model/adminGetOrganizationComputeTimeUsageResponse.d.ts +1 -1
  121. package/build/sdk/studio/sdk/model/adminGetOrganizationsResponseAllOfOrganizations.d.ts +1 -0
  122. package/build/sdk/studio/sdk/model/adminGetOrganizationsResponseAllOfOrganizations.js +5 -0
  123. package/build/sdk/studio/sdk/model/adminGetOrganizationsResponseAllOfOrganizations.js.map +1 -1
  124. package/build/sdk/studio/sdk/model/{organizationProjectsDataBatchDisableResponse.d.ts → adminGetReportResponse.d.ts} +3 -2
  125. package/build/sdk/studio/sdk/model/{adminGetOrganizationUsageReportResponse.js → adminGetReportResponse.js} +8 -8
  126. package/build/sdk/studio/sdk/model/adminGetReportResponse.js.map +1 -0
  127. package/build/sdk/studio/sdk/model/adminGetReportResponseAllOf.d.ts +26 -0
  128. package/build/sdk/studio/sdk/model/adminGetReportResponseAllOf.js +29 -0
  129. package/build/sdk/studio/sdk/model/adminGetReportResponseAllOf.js.map +1 -0
  130. package/build/sdk/studio/sdk/model/{adminGetOrganizationUsageReportsResponse.d.ts → adminGetReportsResponse.d.ts} +3 -3
  131. package/build/sdk/studio/sdk/model/{adminGetOrganizationUsageReportsResponse.js → adminGetReportsResponse.js} +8 -8
  132. package/build/sdk/studio/sdk/model/adminGetReportsResponse.js.map +1 -0
  133. package/build/sdk/studio/sdk/model/{adminGetOrganizationUsageReportsResponseAllOf.d.ts → adminGetReportsResponseAllOf.d.ts} +3 -3
  134. package/build/sdk/studio/sdk/model/{adminGetOrganizationUsageReportsResponseAllOf.js → adminGetReportsResponseAllOf.js} +8 -8
  135. package/build/sdk/studio/sdk/model/adminGetReportsResponseAllOf.js.map +1 -0
  136. package/build/sdk/studio/sdk/model/adminOrganizationInfoResponse.d.ts +1 -1
  137. package/build/sdk/studio/sdk/model/adminUpdateConfigRequest.d.ts +28 -0
  138. package/build/sdk/studio/sdk/model/adminUpdateConfigRequest.js +29 -0
  139. package/build/sdk/studio/sdk/model/adminUpdateConfigRequest.js.map +1 -0
  140. package/build/sdk/studio/sdk/model/allLearnBlocksResponse.d.ts +34 -0
  141. package/build/sdk/studio/sdk/model/allLearnBlocksResponse.js +39 -0
  142. package/build/sdk/studio/sdk/model/allLearnBlocksResponse.js.map +1 -0
  143. package/build/sdk/studio/sdk/model/allLearnBlocksResponseAllOf.d.ts +26 -0
  144. package/build/sdk/studio/sdk/model/allLearnBlocksResponseAllOf.js +29 -0
  145. package/build/sdk/studio/sdk/model/allLearnBlocksResponseAllOf.js.map +1 -0
  146. package/build/sdk/studio/sdk/model/allLearnBlocksResponseAllOfLearnBlocks.d.ts +36 -0
  147. package/build/sdk/studio/sdk/model/allLearnBlocksResponseAllOfLearnBlocks.js +69 -0
  148. package/build/sdk/studio/sdk/model/allLearnBlocksResponseAllOfLearnBlocks.js.map +1 -0
  149. package/build/sdk/studio/sdk/model/{anomalyResponseAllOf.d.ts → anomalyConfig.d.ts} +3 -3
  150. package/build/sdk/studio/sdk/model/{anomalyResponseAllOf.js → anomalyConfig.js} +8 -8
  151. package/build/sdk/studio/sdk/model/anomalyConfig.js.map +1 -0
  152. package/build/sdk/studio/sdk/model/{anomalyResponseAllOfAxes.d.ts → anomalyConfigAxes.d.ts} +1 -1
  153. package/build/sdk/studio/sdk/model/{anomalyResponseAllOfAxes.js → anomalyConfigAxes.js} +7 -7
  154. package/build/sdk/studio/sdk/model/anomalyConfigAxes.js.map +1 -0
  155. package/build/sdk/studio/sdk/model/{anomalyResponse.d.ts → anomalyConfigResponse.d.ts} +3 -3
  156. package/build/sdk/studio/sdk/model/{anomalyResponse.js → anomalyConfigResponse.js} +8 -8
  157. package/build/sdk/studio/sdk/model/anomalyConfigResponse.js.map +1 -0
  158. package/build/sdk/studio/sdk/model/anomalyGmmMetadata.d.ts +0 -8
  159. package/build/sdk/studio/sdk/model/anomalyGmmMetadata.js +0 -10
  160. package/build/sdk/studio/sdk/model/anomalyGmmMetadata.js.map +1 -1
  161. package/build/sdk/studio/sdk/model/{anomalyGmmMetadataAllOf.d.ts → anomalyGmmMetadataResponse.d.ts} +9 -1
  162. package/build/sdk/studio/sdk/model/{anomalyGmmMetadataAllOf.js → anomalyGmmMetadataResponse.js} +17 -7
  163. package/build/sdk/studio/sdk/model/anomalyGmmMetadataResponse.js.map +1 -0
  164. package/build/sdk/studio/sdk/model/anomalyModelMetadata.d.ts +2 -10
  165. package/build/sdk/studio/sdk/model/anomalyModelMetadata.js +1 -11
  166. package/build/sdk/studio/sdk/model/anomalyModelMetadata.js.map +1 -1
  167. package/build/sdk/studio/sdk/model/{anomalyModelMetadataAllOfClusters.d.ts → anomalyModelMetadataClusters.d.ts} +1 -1
  168. package/build/sdk/studio/sdk/model/{anomalyModelMetadataAllOfClusters.js → anomalyModelMetadataClusters.js} +7 -7
  169. package/build/sdk/studio/sdk/model/anomalyModelMetadataClusters.js.map +1 -0
  170. package/build/sdk/studio/sdk/model/{anomalyModelMetadataAllOf.d.ts → anomalyModelMetadataResponse.d.ts} +11 -3
  171. package/build/sdk/studio/sdk/model/{anomalyModelMetadataAllOf.js → anomalyModelMetadataResponse.js} +18 -8
  172. package/build/sdk/studio/sdk/model/anomalyModelMetadataResponse.js.map +1 -0
  173. package/build/sdk/studio/sdk/model/batchAddMetadataRequest.d.ts +26 -0
  174. package/build/sdk/studio/sdk/model/batchAddMetadataRequest.js +34 -0
  175. package/build/sdk/studio/sdk/model/batchAddMetadataRequest.js.map +1 -0
  176. package/build/sdk/studio/sdk/model/{organizationProjectsDataBatchRequest.d.ts → batchClearMetadataByKeyRequest.d.ts} +2 -2
  177. package/build/sdk/studio/sdk/model/batchClearMetadataByKeyRequest.js +29 -0
  178. package/build/sdk/studio/sdk/model/batchClearMetadataByKeyRequest.js.map +1 -0
  179. package/build/sdk/studio/sdk/model/blockParameters.d.ts +47 -0
  180. package/build/sdk/studio/sdk/model/blockParameters.js +52 -0
  181. package/build/sdk/studio/sdk/model/blockParameters.js.map +1 -0
  182. package/build/sdk/studio/sdk/model/blockParamsVisualAnomalyGmm.d.ts +28 -0
  183. package/build/sdk/studio/sdk/model/blockParamsVisualAnomalyGmm.js +29 -0
  184. package/build/sdk/studio/sdk/model/blockParamsVisualAnomalyGmm.js.map +1 -0
  185. package/build/sdk/studio/sdk/model/blockParamsVisualAnomalyPatchcore.d.ts +44 -0
  186. package/build/sdk/studio/sdk/model/blockParamsVisualAnomalyPatchcore.js +49 -0
  187. package/build/sdk/studio/sdk/model/blockParamsVisualAnomalyPatchcore.js.map +1 -0
  188. package/build/sdk/studio/sdk/model/classifySampleResponseClassification.d.ts +1 -1
  189. package/build/sdk/studio/sdk/model/{getNotesResponseAllOf.d.ts → cloneImpulseRequest.d.ts} +2 -3
  190. package/build/sdk/studio/sdk/model/{getNotesResponseAllOf.js → cloneImpulseRequest.js} +10 -10
  191. package/build/sdk/studio/sdk/model/cloneImpulseRequest.js.map +1 -0
  192. package/build/sdk/studio/sdk/model/{getOrganizationProjectsDataCountResponse.d.ts → createAIActionResponse.d.ts} +2 -2
  193. package/build/sdk/studio/sdk/model/{createBlockVersionResponse.js → createAIActionResponse.js} +7 -7
  194. package/build/sdk/studio/sdk/model/createAIActionResponse.js.map +1 -0
  195. package/build/sdk/studio/sdk/model/createImpulseRequest.d.ts +43 -0
  196. package/build/sdk/studio/sdk/model/createImpulseRequest.js +44 -0
  197. package/build/sdk/studio/sdk/model/createImpulseRequest.js.map +1 -0
  198. package/build/sdk/studio/sdk/model/{createBlockVersionResponse.d.ts → createImpulseResponse.d.ts} +2 -2
  199. package/build/sdk/studio/sdk/model/{getOrganizationProjectsDataCountResponse.js → createImpulseResponse.js} +9 -9
  200. package/build/sdk/studio/sdk/model/createImpulseResponse.js.map +1 -0
  201. package/build/sdk/studio/sdk/model/{createBlockVersionResponseAllOf.d.ts → createImpulseResponseAllOf.d.ts} +2 -2
  202. package/build/sdk/studio/sdk/model/{createBlockVersionResponseAllOf.js → createImpulseResponseAllOf.js} +7 -7
  203. package/build/sdk/studio/sdk/model/createImpulseResponseAllOf.js.map +1 -0
  204. package/build/sdk/studio/sdk/model/{adminGetOrganizationUsageReportResponse.d.ts → createNewEmptyImpulseResponse.d.ts} +9 -3
  205. package/build/sdk/studio/sdk/model/{organizationProjectsDataBatchEnableResponse.js → createNewEmptyImpulseResponse.js} +14 -9
  206. package/build/sdk/studio/sdk/model/createNewEmptyImpulseResponse.js.map +1 -0
  207. package/build/sdk/studio/sdk/model/createNewEmptyImpulseResponseAllOf.d.ts +32 -0
  208. package/build/sdk/studio/sdk/model/createNewEmptyImpulseResponseAllOf.js +34 -0
  209. package/build/sdk/studio/sdk/model/createNewEmptyImpulseResponseAllOf.js.map +1 -0
  210. package/build/sdk/studio/sdk/model/createPreviewAIActionsJobRequest.d.ts +35 -0
  211. package/build/sdk/studio/sdk/model/createPreviewAIActionsJobRequest.js +39 -0
  212. package/build/sdk/studio/sdk/model/createPreviewAIActionsJobRequest.js.map +1 -0
  213. package/build/sdk/studio/sdk/model/createProTierUserRequest.d.ts +4 -0
  214. package/build/sdk/studio/sdk/model/createProTierUserRequest.js +5 -0
  215. package/build/sdk/studio/sdk/model/createProTierUserRequest.js.map +1 -1
  216. package/build/sdk/studio/sdk/model/createUserRequest.d.ts +4 -0
  217. package/build/sdk/studio/sdk/model/createUserRequest.js +5 -0
  218. package/build/sdk/studio/sdk/model/createUserRequest.js.map +1 -1
  219. package/build/sdk/studio/sdk/model/{dSPConfigResponseAllOf.d.ts → dSPConfig.d.ts} +1 -1
  220. package/build/sdk/studio/sdk/model/{dSPConfigResponseAllOf.js → dSPConfig.js} +7 -7
  221. package/build/sdk/studio/sdk/model/dSPConfig.js.map +1 -0
  222. package/build/sdk/studio/sdk/model/dSPGroupItem.d.ts +1 -0
  223. package/build/sdk/studio/sdk/model/dSPGroupItem.js +5 -0
  224. package/build/sdk/studio/sdk/model/dSPGroupItem.js.map +1 -1
  225. package/build/sdk/studio/sdk/model/dataExplorerSettings.d.ts +4 -0
  226. package/build/sdk/studio/sdk/model/dataExplorerSettings.js +5 -0
  227. package/build/sdk/studio/sdk/model/dataExplorerSettings.js.map +1 -1
  228. package/build/sdk/studio/sdk/model/deployPretrainedModelRequest.d.ts +6 -0
  229. package/build/sdk/studio/sdk/model/deployPretrainedModelRequest.js +7 -1
  230. package/build/sdk/studio/sdk/model/deployPretrainedModelRequest.js.map +1 -1
  231. package/build/sdk/studio/sdk/model/deploymentTargetEngine.d.ts +1 -1
  232. package/build/sdk/studio/sdk/model/deploymentTargetEngine.js +1 -1
  233. package/build/sdk/studio/sdk/model/deploymentTargetEngine.js.map +1 -1
  234. package/build/sdk/studio/sdk/model/detailedImpulse.d.ts +48 -0
  235. package/build/sdk/studio/sdk/model/detailedImpulse.js +69 -0
  236. package/build/sdk/studio/sdk/model/detailedImpulse.js.map +1 -0
  237. package/build/sdk/studio/sdk/model/detailedImpulseDspBlockConfigs.d.ts +29 -0
  238. package/build/sdk/studio/sdk/model/detailedImpulseDspBlockConfigs.js +39 -0
  239. package/build/sdk/studio/sdk/model/detailedImpulseDspBlockConfigs.js.map +1 -0
  240. package/build/sdk/studio/sdk/model/detailedImpulseLearnBlockAnomalyConfigs.d.ts +31 -0
  241. package/build/sdk/studio/sdk/model/detailedImpulseLearnBlockAnomalyConfigs.js +44 -0
  242. package/build/sdk/studio/sdk/model/detailedImpulseLearnBlockAnomalyConfigs.js.map +1 -0
  243. package/build/sdk/studio/sdk/model/detailedImpulseLearnBlockKerasConfigs.d.ts +29 -0
  244. package/build/sdk/studio/sdk/model/detailedImpulseLearnBlockKerasConfigs.js +39 -0
  245. package/build/sdk/studio/sdk/model/detailedImpulseLearnBlockKerasConfigs.js.map +1 -0
  246. package/build/sdk/studio/sdk/model/detailedImpulseMetric.d.ts +40 -0
  247. package/build/sdk/studio/sdk/model/detailedImpulseMetric.js +70 -0
  248. package/build/sdk/studio/sdk/model/detailedImpulseMetric.js.map +1 -0
  249. package/build/sdk/studio/sdk/model/detailedImpulseMetricCategory.d.ts +13 -0
  250. package/build/sdk/studio/sdk/model/detailedImpulseMetricCategory.js +16 -0
  251. package/build/sdk/studio/sdk/model/detailedImpulseMetricCategory.js.map +1 -0
  252. package/build/sdk/studio/sdk/model/detailedImpulseMetricFilteringType.d.ts +28 -0
  253. package/build/sdk/studio/sdk/model/detailedImpulseMetricFilteringType.js +35 -0
  254. package/build/sdk/studio/sdk/model/detailedImpulseMetricFilteringType.js.map +1 -0
  255. package/build/sdk/studio/sdk/model/detailedImpulsePretrainedModelInfo.d.ts +25 -0
  256. package/build/sdk/studio/sdk/model/detailedImpulsePretrainedModelInfo.js +29 -0
  257. package/build/sdk/studio/sdk/model/detailedImpulsePretrainedModelInfo.js.map +1 -0
  258. package/build/sdk/studio/sdk/model/downgradeSubscriptionRequest.d.ts +28 -0
  259. package/build/sdk/studio/sdk/model/downgradeSubscriptionRequest.js +29 -0
  260. package/build/sdk/studio/sdk/model/downgradeSubscriptionRequest.js.map +1 -0
  261. package/build/sdk/studio/sdk/model/editSampleLabelRequest.d.ts +1 -1
  262. package/build/sdk/studio/sdk/model/emailValidationRequest.d.ts +28 -0
  263. package/build/sdk/studio/sdk/model/emailValidationRequest.js +29 -0
  264. package/build/sdk/studio/sdk/model/emailValidationRequest.js.map +1 -0
  265. package/build/sdk/studio/sdk/model/environmentVariable.d.ts +32 -0
  266. package/build/sdk/studio/sdk/model/environmentVariable.js +34 -0
  267. package/build/sdk/studio/sdk/model/environmentVariable.js.map +1 -0
  268. package/build/sdk/studio/sdk/model/feature.d.ts +1 -1
  269. package/build/sdk/studio/sdk/model/feature.js +1 -1
  270. package/build/sdk/studio/sdk/model/feature.js.map +1 -1
  271. package/build/sdk/studio/sdk/model/{getNotesResponse.d.ts → getAIActionResponse.d.ts} +3 -3
  272. package/build/sdk/studio/sdk/model/{getNotesResponse.js → getAIActionResponse.js} +10 -10
  273. package/build/sdk/studio/sdk/model/getAIActionResponse.js.map +1 -0
  274. package/build/sdk/studio/sdk/model/getAIActionResponseAllOf.d.ts +26 -0
  275. package/build/sdk/studio/sdk/model/getAIActionResponseAllOf.js +29 -0
  276. package/build/sdk/studio/sdk/model/getAIActionResponseAllOf.js.map +1 -0
  277. package/build/sdk/studio/sdk/model/getAIActionsProposedChangesResponse.d.ts +34 -0
  278. package/build/sdk/studio/sdk/model/getAIActionsProposedChangesResponse.js +39 -0
  279. package/build/sdk/studio/sdk/model/getAIActionsProposedChangesResponse.js.map +1 -0
  280. package/build/sdk/studio/sdk/model/getAIActionsProposedChangesResponseAllOf.d.ts +26 -0
  281. package/build/sdk/studio/sdk/model/getAIActionsProposedChangesResponseAllOf.js +29 -0
  282. package/build/sdk/studio/sdk/model/getAIActionsProposedChangesResponseAllOf.js.map +1 -0
  283. package/build/sdk/studio/sdk/model/getAllDetailedImpulsesResponse.d.ts +40 -0
  284. package/build/sdk/studio/sdk/model/getAllDetailedImpulsesResponse.js +49 -0
  285. package/build/sdk/studio/sdk/model/getAllDetailedImpulsesResponse.js.map +1 -0
  286. package/build/sdk/studio/sdk/model/getAllDetailedImpulsesResponseAllOf.d.ts +32 -0
  287. package/build/sdk/studio/sdk/model/getAllDetailedImpulsesResponseAllOf.js +39 -0
  288. package/build/sdk/studio/sdk/model/getAllDetailedImpulsesResponseAllOf.js.map +1 -0
  289. package/build/sdk/studio/sdk/model/getAllDetailedImpulsesResponseAllOfMetricKeys.d.ts +32 -0
  290. package/build/sdk/studio/sdk/model/getAllDetailedImpulsesResponseAllOfMetricKeys.js +50 -0
  291. package/build/sdk/studio/sdk/model/getAllDetailedImpulsesResponseAllOfMetricKeys.js.map +1 -0
  292. package/build/sdk/studio/sdk/model/getAllDetailedImpulsesResponseAllOfMetricKeysByCategory.d.ts +28 -0
  293. package/build/sdk/studio/sdk/model/getAllDetailedImpulsesResponseAllOfMetricKeysByCategory.js +34 -0
  294. package/build/sdk/studio/sdk/model/getAllDetailedImpulsesResponseAllOfMetricKeysByCategory.js.map +1 -0
  295. package/build/sdk/studio/sdk/model/getAllImpulsesResponse.d.ts +34 -0
  296. package/build/sdk/studio/sdk/model/getAllImpulsesResponse.js +39 -0
  297. package/build/sdk/studio/sdk/model/getAllImpulsesResponse.js.map +1 -0
  298. package/build/sdk/studio/sdk/model/getAllImpulsesResponseAllOf.d.ts +26 -0
  299. package/build/sdk/studio/sdk/model/getAllImpulsesResponseAllOf.js +29 -0
  300. package/build/sdk/studio/sdk/model/getAllImpulsesResponseAllOf.js.map +1 -0
  301. package/build/sdk/studio/sdk/model/getDataExplorerSettingsResponse.d.ts +4 -0
  302. package/build/sdk/studio/sdk/model/getDataExplorerSettingsResponse.js +5 -0
  303. package/build/sdk/studio/sdk/model/getDataExplorerSettingsResponse.js.map +1 -1
  304. package/build/sdk/studio/sdk/model/getJobResponse.d.ts +1 -1
  305. package/build/sdk/studio/sdk/model/getJobResponseAllOf.d.ts +1 -1
  306. package/build/sdk/studio/sdk/model/getModelVariantsResponse.d.ts +1 -1
  307. package/build/sdk/studio/sdk/model/getModelVariantsResponseAllOf.d.ts +1 -1
  308. package/build/sdk/studio/sdk/model/{organizationProjectsDataBatchEnableResponse.d.ts → getNewBlockIdResponse.d.ts} +2 -2
  309. package/build/sdk/studio/sdk/model/getNewBlockIdResponse.js +39 -0
  310. package/build/sdk/studio/sdk/model/getNewBlockIdResponse.js.map +1 -0
  311. package/build/sdk/studio/sdk/model/getNewBlockIdResponseAllOf.d.ts +25 -0
  312. package/build/sdk/studio/sdk/model/getNewBlockIdResponseAllOf.js +29 -0
  313. package/build/sdk/studio/sdk/model/getNewBlockIdResponseAllOf.js.map +1 -0
  314. package/build/sdk/studio/sdk/model/getOrganizationUsageReportResponse.d.ts +2 -2
  315. package/build/sdk/studio/sdk/model/getOrganizationUsageReportResponse.js +1 -1
  316. package/build/sdk/studio/sdk/model/getOrganizationUsageReportResponse.js.map +1 -1
  317. package/build/sdk/studio/sdk/model/getPostProcessingResultsResponse.d.ts +48 -0
  318. package/build/sdk/studio/sdk/model/getPostProcessingResultsResponse.js +54 -0
  319. package/build/sdk/studio/sdk/model/getPostProcessingResultsResponse.js.map +1 -0
  320. package/build/sdk/studio/sdk/model/{note.d.ts → getPostProcessingResultsResponseAllOf.d.ts} +9 -12
  321. package/build/sdk/studio/sdk/model/getPostProcessingResultsResponseAllOf.js +44 -0
  322. package/build/sdk/studio/sdk/model/getPostProcessingResultsResponseAllOf.js.map +1 -0
  323. package/build/sdk/studio/sdk/model/getPublicOrganizationTransformationBlockResponse.d.ts +34 -0
  324. package/build/sdk/studio/sdk/model/getPublicOrganizationTransformationBlockResponse.js +39 -0
  325. package/build/sdk/studio/sdk/model/getPublicOrganizationTransformationBlockResponse.js.map +1 -0
  326. package/build/sdk/studio/sdk/model/getPublicOrganizationTransformationBlockResponseAllOf.d.ts +26 -0
  327. package/build/sdk/studio/sdk/model/getPublicOrganizationTransformationBlockResponseAllOf.js +29 -0
  328. package/build/sdk/studio/sdk/model/getPublicOrganizationTransformationBlockResponseAllOf.js.map +1 -0
  329. package/build/sdk/studio/sdk/model/getStudioConfigResponse.d.ts +37 -0
  330. package/build/sdk/studio/sdk/model/getStudioConfigResponse.js +39 -0
  331. package/build/sdk/studio/sdk/model/getStudioConfigResponse.js.map +1 -0
  332. package/build/sdk/studio/sdk/model/getStudioConfigResponseAllOf.d.ts +29 -0
  333. package/build/sdk/studio/sdk/model/getStudioConfigResponseAllOf.js +29 -0
  334. package/build/sdk/studio/sdk/model/getStudioConfigResponseAllOf.js.map +1 -0
  335. package/build/sdk/studio/sdk/model/{adminGetOrganizationUsageReportResponseAllOf.d.ts → getStudioConfigResponseAllOfConfig.d.ts} +9 -3
  336. package/build/sdk/studio/sdk/model/getStudioConfigResponseAllOfConfig.js +34 -0
  337. package/build/sdk/studio/sdk/model/getStudioConfigResponseAllOfConfig.js.map +1 -0
  338. package/build/sdk/studio/sdk/model/getUserProjectsResponse.d.ts +34 -0
  339. package/build/sdk/studio/sdk/model/getUserProjectsResponse.js +39 -0
  340. package/build/sdk/studio/sdk/model/getUserProjectsResponse.js.map +1 -0
  341. package/build/sdk/studio/sdk/model/getUserProjectsResponseAllOf.d.ts +26 -0
  342. package/build/sdk/studio/sdk/model/getUserProjectsResponseAllOf.js +29 -0
  343. package/build/sdk/studio/sdk/model/getUserProjectsResponseAllOf.js.map +1 -0
  344. package/build/sdk/studio/sdk/model/getUserResponse.d.ts +13 -0
  345. package/build/sdk/studio/sdk/model/getUserResponse.js +15 -0
  346. package/build/sdk/studio/sdk/model/getUserResponse.js.map +1 -1
  347. package/build/sdk/studio/sdk/model/getUserResponseAllOf.d.ts +13 -0
  348. package/build/sdk/studio/sdk/model/getUserResponseAllOf.js +15 -0
  349. package/build/sdk/studio/sdk/model/getUserResponseAllOf.js.map +1 -1
  350. package/build/sdk/studio/sdk/model/getUserResponseAllOfLastAccessedProjects.d.ts +30 -0
  351. package/build/sdk/studio/sdk/model/getUserResponseAllOfLastAccessedProjects.js +37 -0
  352. package/build/sdk/studio/sdk/model/getUserResponseAllOfLastAccessedProjects.js.map +1 -0
  353. package/build/sdk/studio/sdk/model/{listOrganizationProjectsDataResponseAllOfProjects.d.ts → getUserResponseAllOfLastAccessedProjectsProjects.d.ts} +3 -3
  354. package/build/sdk/studio/sdk/model/{note.js → getUserResponseAllOfLastAccessedProjectsProjects.js} +12 -27
  355. package/build/sdk/studio/sdk/model/getUserResponseAllOfLastAccessedProjectsProjects.js.map +1 -0
  356. package/build/sdk/studio/sdk/model/impulse.d.ts +8 -0
  357. package/build/sdk/studio/sdk/model/impulse.js +10 -0
  358. package/build/sdk/studio/sdk/model/impulse.js.map +1 -1
  359. package/build/sdk/studio/sdk/model/impulseDspBlock.d.ts +5 -36
  360. package/build/sdk/studio/sdk/model/impulseDspBlock.js +5 -45
  361. package/build/sdk/studio/sdk/model/impulseDspBlock.js.map +1 -1
  362. package/build/sdk/studio/sdk/model/impulseDspBlockNamedAxes.d.ts +40 -0
  363. package/build/sdk/studio/sdk/model/{listOrganizationProjectsDataResponseAllOfProjects.js → impulseDspBlockNamedAxes.js} +16 -16
  364. package/build/sdk/studio/sdk/model/impulseDspBlockNamedAxes.js.map +1 -0
  365. package/build/sdk/studio/sdk/model/impulseInputBlock.d.ts +4 -38
  366. package/build/sdk/studio/sdk/model/impulseInputBlock.js +6 -46
  367. package/build/sdk/studio/sdk/model/impulseInputBlock.js.map +1 -1
  368. package/build/sdk/studio/sdk/model/impulseInputBlockDatasetSubset.d.ts +29 -0
  369. package/build/sdk/studio/sdk/model/impulseInputBlockDatasetSubset.js +37 -0
  370. package/build/sdk/studio/sdk/model/impulseInputBlockDatasetSubset.js.map +1 -0
  371. package/build/sdk/studio/sdk/model/impulseLearnBlock.d.ts +0 -36
  372. package/build/sdk/studio/sdk/model/impulseLearnBlock.js +0 -45
  373. package/build/sdk/studio/sdk/model/impulseLearnBlock.js.map +1 -1
  374. package/build/sdk/studio/sdk/model/inputBlock.d.ts +1 -1
  375. package/build/sdk/studio/sdk/model/inputBlock.js +1 -1
  376. package/build/sdk/studio/sdk/model/inputBlock.js.map +1 -1
  377. package/build/sdk/studio/sdk/model/{kerasResponseAllOf.d.ts → kerasConfig.d.ts} +6 -4
  378. package/build/sdk/studio/sdk/model/{kerasResponseAllOf.js → kerasConfig.js} +14 -9
  379. package/build/sdk/studio/sdk/model/kerasConfig.js.map +1 -0
  380. package/build/sdk/studio/sdk/model/kerasModelMetadata.d.ts +3 -10
  381. package/build/sdk/studio/sdk/model/kerasModelMetadata.js +3 -12
  382. package/build/sdk/studio/sdk/model/kerasModelMetadata.js.map +1 -1
  383. package/build/sdk/studio/sdk/model/{kerasModelMetadataAllOf.d.ts → kerasModelMetadataResponse.d.ts} +12 -3
  384. package/build/sdk/studio/sdk/model/{kerasModelMetadataAllOf.js → kerasModelMetadataResponse.js} +19 -8
  385. package/build/sdk/studio/sdk/model/kerasModelMetadataResponse.js.map +1 -0
  386. package/build/sdk/studio/sdk/model/kerasResponse.d.ts +2 -0
  387. package/build/sdk/studio/sdk/model/kerasResponse.js +5 -0
  388. package/build/sdk/studio/sdk/model/kerasResponse.js.map +1 -1
  389. package/build/sdk/studio/sdk/model/kerasVisualLayerType.d.ts +1 -1
  390. package/build/sdk/studio/sdk/model/kerasVisualLayerType.js +1 -1
  391. package/build/sdk/studio/sdk/model/kerasVisualLayerType.js.map +1 -1
  392. package/build/sdk/studio/sdk/model/listAIActionsResponse.d.ts +34 -0
  393. package/build/sdk/studio/sdk/model/listAIActionsResponse.js +39 -0
  394. package/build/sdk/studio/sdk/model/listAIActionsResponse.js.map +1 -0
  395. package/build/sdk/studio/sdk/model/listAIActionsResponseAllOf.d.ts +26 -0
  396. package/build/sdk/studio/sdk/model/listAIActionsResponseAllOf.js +29 -0
  397. package/build/sdk/studio/sdk/model/listAIActionsResponseAllOf.js.map +1 -0
  398. package/build/sdk/studio/sdk/model/listOrganizationUsageReportsResponse.d.ts +2 -2
  399. package/build/sdk/studio/sdk/model/listOrganizationUsageReportsResponse.js +1 -1
  400. package/build/sdk/studio/sdk/model/listOrganizationUsageReportsResponse.js.map +1 -1
  401. package/build/sdk/studio/sdk/model/listOrganizationUsageReportsResponseAllOf.d.ts +2 -2
  402. package/build/sdk/studio/sdk/model/listOrganizationUsageReportsResponseAllOf.js +1 -1
  403. package/build/sdk/studio/sdk/model/listOrganizationUsageReportsResponseAllOf.js.map +1 -1
  404. package/build/sdk/studio/sdk/model/listVersionsResponseAllOfVersions.d.ts +10 -0
  405. package/build/sdk/studio/sdk/model/listVersionsResponseAllOfVersions.js +5 -0
  406. package/build/sdk/studio/sdk/model/listVersionsResponseAllOfVersions.js.map +1 -1
  407. package/build/sdk/studio/sdk/model/modelPrediction.d.ts +1 -1
  408. package/build/sdk/studio/sdk/model/models.d.ts +96 -29
  409. package/build/sdk/studio/sdk/model/models.js +304 -99
  410. package/build/sdk/studio/sdk/model/models.js.map +1 -1
  411. package/build/sdk/studio/sdk/model/optimizeConfig.d.ts +76 -12
  412. package/build/sdk/studio/sdk/model/optimizeConfig.js +97 -13
  413. package/build/sdk/studio/sdk/model/optimizeConfig.js.map +1 -1
  414. package/build/sdk/studio/sdk/model/optimizeConfigResponse.d.ts +76 -12
  415. package/build/sdk/studio/sdk/model/optimizeConfigResponse.js +97 -13
  416. package/build/sdk/studio/sdk/model/optimizeConfigResponse.js.map +1 -1
  417. package/build/sdk/studio/sdk/model/optimizeConfigSearchSpaceTemplate.d.ts +45 -0
  418. package/build/sdk/studio/sdk/model/optimizeConfigSearchSpaceTemplate.js +48 -0
  419. package/build/sdk/studio/sdk/model/optimizeConfigSearchSpaceTemplate.js.map +1 -0
  420. package/build/sdk/studio/sdk/model/optimizeStateResponse.d.ts +5 -0
  421. package/build/sdk/studio/sdk/model/optimizeStateResponse.js +10 -0
  422. package/build/sdk/studio/sdk/model/optimizeStateResponse.js.map +1 -1
  423. package/build/sdk/studio/sdk/model/optimizeStateResponseAllOf.d.ts +5 -0
  424. package/build/sdk/studio/sdk/model/optimizeStateResponseAllOf.js +10 -0
  425. package/build/sdk/studio/sdk/model/optimizeStateResponseAllOf.js.map +1 -1
  426. package/build/sdk/studio/sdk/model/organizationAddDataFolderRequest.d.ts +2 -3
  427. package/build/sdk/studio/sdk/model/organizationAddDataFolderRequest.js +2 -3
  428. package/build/sdk/studio/sdk/model/organizationAddDataFolderRequest.js.map +1 -1
  429. package/build/sdk/studio/sdk/model/organizationAddDatasetRequest.d.ts +2 -3
  430. package/build/sdk/studio/sdk/model/organizationAddDatasetRequest.js +2 -3
  431. package/build/sdk/studio/sdk/model/organizationAddDatasetRequest.js.map +1 -1
  432. package/build/sdk/studio/sdk/model/organizationComputeTimeUsage.d.ts +1 -1
  433. package/build/sdk/studio/sdk/model/organizationCreateProjectWithFilesAllOfFiles.d.ts +2 -3
  434. package/build/sdk/studio/sdk/model/organizationCreateProjectWithFilesAllOfFiles.js +2 -3
  435. package/build/sdk/studio/sdk/model/organizationCreateProjectWithFilesAllOfFiles.js.map +1 -1
  436. package/build/sdk/studio/sdk/model/organizationDataset.d.ts +1 -2
  437. package/build/sdk/studio/sdk/model/organizationDataset.js +1 -2
  438. package/build/sdk/studio/sdk/model/organizationDataset.js.map +1 -1
  439. package/build/sdk/studio/sdk/model/organizationDatasetTypeEnum.d.ts +13 -0
  440. package/build/sdk/studio/sdk/model/organizationDatasetTypeEnum.js +16 -0
  441. package/build/sdk/studio/sdk/model/organizationDatasetTypeEnum.js.map +1 -0
  442. package/build/sdk/studio/sdk/model/organizationMetricsResponseAllOfMetrics.d.ts +2 -2
  443. package/build/sdk/studio/sdk/model/organizationPipelineFeedingIntoDataset.d.ts +2 -0
  444. package/build/sdk/studio/sdk/model/organizationPipelineFeedingIntoDataset.js +5 -0
  445. package/build/sdk/studio/sdk/model/organizationPipelineFeedingIntoDataset.js.map +1 -1
  446. package/build/sdk/studio/sdk/model/organizationTransferLearningBlock.d.ts +5 -0
  447. package/build/sdk/studio/sdk/model/organizationTransferLearningBlock.js +5 -0
  448. package/build/sdk/studio/sdk/model/organizationTransferLearningBlock.js.map +1 -1
  449. package/build/sdk/studio/sdk/model/organizationTransferLearningBlockCustomVariant.d.ts +34 -0
  450. package/build/sdk/studio/sdk/model/organizationTransferLearningBlockCustomVariant.js +39 -0
  451. package/build/sdk/studio/sdk/model/organizationTransferLearningBlockCustomVariant.js.map +1 -0
  452. package/build/sdk/studio/sdk/model/organizationTransferLearningBlockModelFile.d.ts +42 -0
  453. package/build/sdk/studio/sdk/model/organizationTransferLearningBlockModelFile.js +45 -0
  454. package/build/sdk/studio/sdk/model/organizationTransferLearningBlockModelFile.js.map +1 -0
  455. package/build/sdk/studio/sdk/model/organizationTransformationBlock.d.ts +9 -0
  456. package/build/sdk/studio/sdk/model/organizationTransformationBlock.js +10 -0
  457. package/build/sdk/studio/sdk/model/organizationTransformationBlock.js.map +1 -1
  458. package/build/sdk/studio/sdk/model/organizationUser.d.ts +8 -0
  459. package/build/sdk/studio/sdk/model/organizationUser.js +10 -0
  460. package/build/sdk/studio/sdk/model/organizationUser.js.map +1 -1
  461. package/build/sdk/studio/sdk/model/organizationUserAllOf.d.ts +8 -0
  462. package/build/sdk/studio/sdk/model/organizationUserAllOf.js +10 -0
  463. package/build/sdk/studio/sdk/model/organizationUserAllOf.js.map +1 -1
  464. package/build/sdk/studio/sdk/model/permission.d.ts +1 -1
  465. package/build/sdk/studio/sdk/model/permission.js +1 -1
  466. package/build/sdk/studio/sdk/model/permission.js.map +1 -1
  467. package/build/sdk/studio/sdk/model/previewAIActionsSamplesRequest.d.ts +42 -0
  468. package/build/sdk/studio/sdk/model/previewAIActionsSamplesRequest.js +49 -0
  469. package/build/sdk/studio/sdk/model/previewAIActionsSamplesRequest.js.map +1 -0
  470. package/build/sdk/studio/sdk/model/project.d.ts +5 -0
  471. package/build/sdk/studio/sdk/model/project.js +10 -0
  472. package/build/sdk/studio/sdk/model/project.js.map +1 -1
  473. package/build/sdk/studio/sdk/model/projectInfoResponse.d.ts +4 -0
  474. package/build/sdk/studio/sdk/model/projectInfoResponse.js +5 -0
  475. package/build/sdk/studio/sdk/model/projectInfoResponse.js.map +1 -1
  476. package/build/sdk/studio/sdk/model/projectInfoResponseAllOf.d.ts +4 -0
  477. package/build/sdk/studio/sdk/model/projectInfoResponseAllOf.js +5 -0
  478. package/build/sdk/studio/sdk/model/projectInfoResponseAllOf.js.map +1 -1
  479. package/build/sdk/studio/sdk/model/projectPublicData.d.ts +6 -0
  480. package/build/sdk/studio/sdk/model/projectPublicData.js.map +1 -1
  481. package/build/sdk/studio/sdk/model/publicOrganizationTransformationBlock.d.ts +4 -0
  482. package/build/sdk/studio/sdk/model/publicOrganizationTransformationBlock.js +5 -0
  483. package/build/sdk/studio/sdk/model/publicOrganizationTransformationBlock.js.map +1 -1
  484. package/build/sdk/studio/sdk/model/{organizationUsageReport.d.ts → report.d.ts} +1 -1
  485. package/build/sdk/studio/sdk/model/{organizationUsageReport.js → report.js} +7 -7
  486. package/build/sdk/studio/sdk/model/report.js.map +1 -0
  487. package/build/sdk/studio/sdk/model/sample.d.ts +1 -1
  488. package/build/sdk/studio/sdk/model/sample.js +1 -1
  489. package/build/sdk/studio/sdk/model/sample.js.map +1 -1
  490. package/build/sdk/studio/sdk/model/sampleProposedChanges.d.ts +48 -0
  491. package/build/sdk/studio/sdk/model/sampleProposedChanges.js +49 -0
  492. package/build/sdk/studio/sdk/model/sampleProposedChanges.js.map +1 -0
  493. package/build/sdk/studio/sdk/model/setAIActionsOrderRequest.d.ts +25 -0
  494. package/build/sdk/studio/sdk/model/{organizationProjectsDataBatchRequest.js → setAIActionsOrderRequest.js} +9 -9
  495. package/build/sdk/studio/sdk/model/setAIActionsOrderRequest.js.map +1 -0
  496. package/build/sdk/studio/sdk/model/setKerasParameterRequest.d.ts +2 -0
  497. package/build/sdk/studio/sdk/model/setKerasParameterRequest.js +5 -0
  498. package/build/sdk/studio/sdk/model/setKerasParameterRequest.js.map +1 -1
  499. package/build/sdk/studio/sdk/model/{organizationProjectsDataBulkMetadataRequest.d.ts → setLegacyImpulseStateInternalRequest.d.ts} +18 -3
  500. package/build/sdk/studio/sdk/model/setLegacyImpulseStateInternalRequest.js +39 -0
  501. package/build/sdk/studio/sdk/model/setLegacyImpulseStateInternalRequest.js.map +1 -0
  502. package/build/sdk/studio/sdk/model/setSampleProposedChangesRequest.d.ts +30 -0
  503. package/build/sdk/studio/sdk/model/setSampleProposedChangesRequest.js +34 -0
  504. package/build/sdk/studio/sdk/model/setSampleProposedChangesRequest.js.map +1 -0
  505. package/build/sdk/studio/sdk/model/setTunerPrimaryJobRequest.d.ts +28 -0
  506. package/build/sdk/studio/sdk/model/setTunerPrimaryJobRequest.js +29 -0
  507. package/build/sdk/studio/sdk/model/setTunerPrimaryJobRequest.js.map +1 -0
  508. package/build/sdk/studio/sdk/model/startClassifyJobRequest.d.ts +1 -1
  509. package/build/sdk/studio/sdk/model/startPostProcessingRequest.d.ts +60 -0
  510. package/build/sdk/studio/sdk/model/startPostProcessingRequest.js +70 -0
  511. package/build/sdk/studio/sdk/model/startPostProcessingRequest.js.map +1 -0
  512. package/build/sdk/studio/sdk/model/transferLearningModel.d.ts +1 -0
  513. package/build/sdk/studio/sdk/model/transferLearningModel.js +5 -0
  514. package/build/sdk/studio/sdk/model/transferLearningModel.js.map +1 -1
  515. package/build/sdk/studio/sdk/model/tunerCompleteSearch.d.ts +25 -0
  516. package/build/sdk/studio/sdk/model/tunerCompleteSearch.js +29 -0
  517. package/build/sdk/studio/sdk/model/tunerCompleteSearch.js.map +1 -0
  518. package/build/sdk/studio/sdk/model/tunerCreateTrialImpulse.d.ts +1 -0
  519. package/build/sdk/studio/sdk/model/tunerCreateTrialImpulse.js +5 -0
  520. package/build/sdk/studio/sdk/model/tunerCreateTrialImpulse.js.map +1 -1
  521. package/build/sdk/studio/sdk/model/tunerRun.d.ts +5 -0
  522. package/build/sdk/studio/sdk/model/tunerRun.js +5 -0
  523. package/build/sdk/studio/sdk/model/tunerRun.js.map +1 -1
  524. package/build/sdk/studio/sdk/model/tunerSpaceImpulse.d.ts +1 -1
  525. package/build/sdk/studio/sdk/model/tunerSpaceImpulse.js +1 -1
  526. package/build/sdk/studio/sdk/model/tunerSpaceImpulse.js.map +1 -1
  527. package/build/sdk/studio/sdk/model/tunerTrial.d.ts +8 -0
  528. package/build/sdk/studio/sdk/model/tunerTrial.js +25 -0
  529. package/build/sdk/studio/sdk/model/tunerTrial.js.map +1 -1
  530. package/build/sdk/studio/sdk/model/tunerTrialBlocks.d.ts +4 -0
  531. package/build/sdk/studio/sdk/model/tunerTrialBlocks.js +5 -0
  532. package/build/sdk/studio/sdk/model/tunerTrialBlocks.js.map +1 -1
  533. package/build/sdk/studio/sdk/model/tunerTrialImpulseAddedToProject.d.ts +26 -0
  534. package/build/sdk/studio/sdk/model/tunerTrialImpulseAddedToProject.js +34 -0
  535. package/build/sdk/studio/sdk/model/tunerTrialImpulseAddedToProject.js.map +1 -0
  536. package/build/sdk/studio/sdk/model/tunerTrialMetrics.d.ts +28 -0
  537. package/build/sdk/studio/sdk/model/tunerTrialMetrics.js +39 -0
  538. package/build/sdk/studio/sdk/model/tunerTrialMetrics.js.map +1 -0
  539. package/build/sdk/studio/sdk/model/tunerTrialMetricsTest.d.ts +27 -0
  540. package/build/sdk/studio/sdk/model/tunerTrialMetricsTest.js +34 -0
  541. package/build/sdk/studio/sdk/model/tunerTrialMetricsTest.js.map +1 -0
  542. package/build/sdk/studio/sdk/model/tunerTrialProgress.d.ts +29 -0
  543. package/build/sdk/studio/sdk/model/tunerTrialProgress.js +49 -0
  544. package/build/sdk/studio/sdk/model/tunerTrialProgress.js.map +1 -0
  545. package/build/sdk/studio/sdk/model/updateAIActionRequest.d.ts +57 -0
  546. package/build/sdk/studio/sdk/model/updateAIActionRequest.js +64 -0
  547. package/build/sdk/studio/sdk/model/updateAIActionRequest.js.map +1 -0
  548. package/build/sdk/studio/sdk/model/updateImpulseRequest.d.ts +26 -0
  549. package/build/sdk/studio/sdk/model/updateImpulseRequest.js +34 -0
  550. package/build/sdk/studio/sdk/model/updateImpulseRequest.js.map +1 -0
  551. package/build/sdk/studio/sdk/model/updateOrganizationDatasetRequest.d.ts +2 -3
  552. package/build/sdk/studio/sdk/model/updateOrganizationDatasetRequest.js +2 -3
  553. package/build/sdk/studio/sdk/model/updateOrganizationDatasetRequest.js.map +1 -1
  554. package/build/sdk/studio/sdk/model/updateOrganizationTransferLearningBlockRequest.d.ts +5 -0
  555. package/build/sdk/studio/sdk/model/updateOrganizationTransferLearningBlockRequest.js +5 -0
  556. package/build/sdk/studio/sdk/model/updateOrganizationTransferLearningBlockRequest.js.map +1 -1
  557. package/build/sdk/studio/sdk/model/updateOrganizationTransformationBlockRequest.d.ts +6 -0
  558. package/build/sdk/studio/sdk/model/updateOrganizationTransformationBlockRequest.js +10 -0
  559. package/build/sdk/studio/sdk/model/updateOrganizationTransformationBlockRequest.js.map +1 -1
  560. package/build/sdk/studio/sdk/model/updateProjectRequest.d.ts +16 -0
  561. package/build/sdk/studio/sdk/model/updateProjectRequest.js +20 -0
  562. package/build/sdk/studio/sdk/model/updateProjectRequest.js.map +1 -1
  563. package/build/sdk/studio/sdk/model/updateUserRequest.d.ts +4 -0
  564. package/build/sdk/studio/sdk/model/updateUserRequest.js +5 -0
  565. package/build/sdk/studio/sdk/model/updateUserRequest.js.map +1 -1
  566. package/build/sdk/studio/sdk/model/userOrganization.d.ts +15 -0
  567. package/build/sdk/studio/sdk/model/userOrganization.js +15 -0
  568. package/build/sdk/studio/sdk/model/userOrganization.js.map +1 -1
  569. package/build/sdk/studio/sdk/model/validateEmailResponse.d.ts +58 -0
  570. package/build/sdk/studio/sdk/model/validateEmailResponse.js +65 -0
  571. package/build/sdk/studio/sdk/model/validateEmailResponse.js.map +1 -0
  572. package/build/sdk/studio/sdk/model/validateEmailResponseAllOf.d.ts +50 -0
  573. package/build/sdk/studio/sdk/model/validateEmailResponseAllOf.js +55 -0
  574. package/build/sdk/studio/sdk/model/validateEmailResponseAllOf.js.map +1 -0
  575. package/build/sdk/studio/sdk/model/{windowSettingsResponseAllOfWindowSettings.d.ts → windowSettings.d.ts} +1 -1
  576. package/build/sdk/studio/sdk/model/{windowSettingsResponseAllOfWindowSettings.js → windowSettings.js} +7 -7
  577. package/build/sdk/studio/sdk/model/windowSettings.js.map +1 -0
  578. package/build/sdk/studio/sdk/model/windowSettingsResponse.d.ts +3 -2
  579. package/build/sdk/studio/sdk/model/windowSettingsResponse.js +8 -3
  580. package/build/sdk/studio/sdk/model/windowSettingsResponse.js.map +1 -1
  581. package/build/sdk/studio/sdk/model/windowSettingsResponseAllOf.d.ts +3 -2
  582. package/build/sdk/studio/sdk/model/windowSettingsResponseAllOf.js +8 -3
  583. package/build/sdk/studio/sdk/model/windowSettingsResponseAllOf.js.map +1 -1
  584. package/build/shared/bounding-box-file-types.d.ts +2 -0
  585. package/build/shared/bounding-box-file-types.js +52 -3
  586. package/build/shared/bounding-box-file-types.js.map +1 -1
  587. package/build/shared/daemon/ei-serial-protocol.d.ts +6 -0
  588. package/build/shared/daemon/ei-serial-protocol.js +31 -1
  589. package/build/shared/daemon/ei-serial-protocol.js.map +1 -1
  590. package/build/shared/daemon/remote-mgmt-service.d.ts +3 -1
  591. package/build/shared/daemon/remote-mgmt-service.js +1 -1
  592. package/build/shared/daemon/remote-mgmt-service.js.map +1 -1
  593. package/build/shared/viewmodels/init.d.ts +7 -1
  594. package/build/shared/viewmodels/init.js +14 -2
  595. package/build/shared/viewmodels/init.js.map +1 -1
  596. package/examples/ts/classify-audio.ts +83 -0
  597. package/examples/ts/classify-camera-webserver.ts +190 -0
  598. package/examples/ts/classify-camera.ts +113 -0
  599. package/examples/ts/classify-custom-from-test.ts +97 -0
  600. package/examples/ts/classify-custom.ts +63 -0
  601. package/examples/ts/collect-custom.ts +56 -0
  602. package/package.json +29 -16
  603. package/test/gstreamer.test.ts +797 -10
  604. package/build/sdk/studio/sdk/model/adminGetOrganizationUsageReportResponse.js.map +0 -1
  605. package/build/sdk/studio/sdk/model/adminGetOrganizationUsageReportResponseAllOf.js +0 -29
  606. package/build/sdk/studio/sdk/model/adminGetOrganizationUsageReportResponseAllOf.js.map +0 -1
  607. package/build/sdk/studio/sdk/model/adminGetOrganizationUsageReportsResponse.js.map +0 -1
  608. package/build/sdk/studio/sdk/model/adminGetOrganizationUsageReportsResponseAllOf.js.map +0 -1
  609. package/build/sdk/studio/sdk/model/anomalyGmmMetadataAllOf.js.map +0 -1
  610. package/build/sdk/studio/sdk/model/anomalyModelMetadataAllOf.js.map +0 -1
  611. package/build/sdk/studio/sdk/model/anomalyModelMetadataAllOfClusters.js.map +0 -1
  612. package/build/sdk/studio/sdk/model/anomalyResponse.js.map +0 -1
  613. package/build/sdk/studio/sdk/model/anomalyResponseAllOf.js.map +0 -1
  614. package/build/sdk/studio/sdk/model/anomalyResponseAllOfAxes.js.map +0 -1
  615. package/build/sdk/studio/sdk/model/createBlockVersionResponse.js.map +0 -1
  616. package/build/sdk/studio/sdk/model/createBlockVersionResponseAllOf.js.map +0 -1
  617. package/build/sdk/studio/sdk/model/dSPConfigResponseAllOf.js.map +0 -1
  618. package/build/sdk/studio/sdk/model/getNotesResponse.js.map +0 -1
  619. package/build/sdk/studio/sdk/model/getNotesResponseAllOf.js.map +0 -1
  620. package/build/sdk/studio/sdk/model/getOrganizationProjectsDataCountResponse.js.map +0 -1
  621. package/build/sdk/studio/sdk/model/impulseBlockVersion.d.ts +0 -98
  622. package/build/sdk/studio/sdk/model/impulseBlockVersion.js +0 -112
  623. package/build/sdk/studio/sdk/model/impulseBlockVersion.js.map +0 -1
  624. package/build/sdk/studio/sdk/model/kerasModelMetadataAllOf.js.map +0 -1
  625. package/build/sdk/studio/sdk/model/kerasResponseAllOf.js.map +0 -1
  626. package/build/sdk/studio/sdk/model/listOrganizationProjectsDataResponse.d.ts +0 -36
  627. package/build/sdk/studio/sdk/model/listOrganizationProjectsDataResponse.js +0 -44
  628. package/build/sdk/studio/sdk/model/listOrganizationProjectsDataResponse.js.map +0 -1
  629. package/build/sdk/studio/sdk/model/listOrganizationProjectsDataResponseAllOf.js +0 -34
  630. package/build/sdk/studio/sdk/model/listOrganizationProjectsDataResponseAllOf.js.map +0 -1
  631. package/build/sdk/studio/sdk/model/listOrganizationProjectsDataResponseAllOfProjects.js.map +0 -1
  632. package/build/sdk/studio/sdk/model/note.js.map +0 -1
  633. package/build/sdk/studio/sdk/model/organizationProjectsDataBatchDisableResponse.js +0 -39
  634. package/build/sdk/studio/sdk/model/organizationProjectsDataBatchDisableResponse.js.map +0 -1
  635. package/build/sdk/studio/sdk/model/organizationProjectsDataBatchEnableResponse.js.map +0 -1
  636. package/build/sdk/studio/sdk/model/organizationProjectsDataBatchRequest.js.map +0 -1
  637. package/build/sdk/studio/sdk/model/organizationProjectsDataBulkMetadataRequest.js +0 -34
  638. package/build/sdk/studio/sdk/model/organizationProjectsDataBulkMetadataRequest.js.map +0 -1
  639. package/build/sdk/studio/sdk/model/organizationUsageReport.js.map +0 -1
  640. package/build/sdk/studio/sdk/model/windowSettingsResponseAllOfWindowSettings.js.map +0 -1
  641. package/build/test/gstreamer.test.d.ts +0 -1
  642. package/build/test/gstreamer.test.js +0 -4248
  643. package/build/test/gstreamer.test.js.map +0 -1
  644. package/cli/linux/camera-debug.ts +0 -172
  645. package/cli/linux/linux.ts +0 -606
  646. package/cli/linux/model-monitor.ts +0 -838
  647. package/cli/linux/remote-mgmt-service.ts +0 -461
  648. package/cli/linux/runner-downloader.ts +0 -214
  649. package/cli/linux/runner.ts +0 -992
  650. package/cli/linux/webserver/middleware/asyncMiddleware.ts +0 -7
  651. package/cli/linux/webserver/public/assets/argon-dashboard.css +0 -20595
  652. package/cli/linux/webserver/public/assets/favicon-color/favicon-120.png +0 -0
  653. package/cli/linux/webserver/public/assets/favicon-color/favicon-128.png +0 -0
  654. package/cli/linux/webserver/public/assets/favicon-color/favicon-144.png +0 -0
  655. package/cli/linux/webserver/public/assets/favicon-color/favicon-152.png +0 -0
  656. package/cli/linux/webserver/public/assets/favicon-color/favicon-16.png +0 -0
  657. package/cli/linux/webserver/public/assets/favicon-color/favicon-180.png +0 -0
  658. package/cli/linux/webserver/public/assets/favicon-color/favicon-228.png +0 -0
  659. package/cli/linux/webserver/public/assets/favicon-color/favicon-32.png +0 -0
  660. package/cli/linux/webserver/public/assets/favicon-color/favicon-57.png +0 -0
  661. package/cli/linux/webserver/public/assets/favicon-color/favicon-76.png +0 -0
  662. package/cli/linux/webserver/public/assets/favicon-color/favicon-96.png +0 -0
  663. package/cli/linux/webserver/public/assets/logo-rgb.svg +0 -18
  664. package/cli/linux/webserver/public/assets/mark.svg +0 -20
  665. package/cli/linux/webserver/public/assets/mobileclient.css +0 -4179
  666. package/cli/linux/webserver/public/fonts/open-sans-v17-latin-300.eot +0 -0
  667. package/cli/linux/webserver/public/fonts/open-sans-v17-latin-300.svg +0 -332
  668. package/cli/linux/webserver/public/fonts/open-sans-v17-latin-300.ttf +0 -0
  669. package/cli/linux/webserver/public/fonts/open-sans-v17-latin-300.woff +0 -0
  670. package/cli/linux/webserver/public/fonts/open-sans-v17-latin-300.woff2 +0 -0
  671. package/cli/linux/webserver/public/fonts/open-sans-v17-latin-300italic.eot +0 -0
  672. package/cli/linux/webserver/public/fonts/open-sans-v17-latin-300italic.svg +0 -345
  673. package/cli/linux/webserver/public/fonts/open-sans-v17-latin-300italic.ttf +0 -0
  674. package/cli/linux/webserver/public/fonts/open-sans-v17-latin-300italic.woff +0 -0
  675. package/cli/linux/webserver/public/fonts/open-sans-v17-latin-300italic.woff2 +0 -0
  676. package/cli/linux/webserver/public/fonts/open-sans-v17-latin-600.eot +0 -0
  677. package/cli/linux/webserver/public/fonts/open-sans-v17-latin-600.svg +0 -336
  678. package/cli/linux/webserver/public/fonts/open-sans-v17-latin-600.ttf +0 -0
  679. package/cli/linux/webserver/public/fonts/open-sans-v17-latin-600.woff +0 -0
  680. package/cli/linux/webserver/public/fonts/open-sans-v17-latin-600.woff2 +0 -0
  681. package/cli/linux/webserver/public/fonts/open-sans-v17-latin-600italic.eot +0 -0
  682. package/cli/linux/webserver/public/fonts/open-sans-v17-latin-600italic.svg +0 -349
  683. package/cli/linux/webserver/public/fonts/open-sans-v17-latin-600italic.ttf +0 -0
  684. package/cli/linux/webserver/public/fonts/open-sans-v17-latin-600italic.woff +0 -0
  685. package/cli/linux/webserver/public/fonts/open-sans-v17-latin-600italic.woff2 +0 -0
  686. package/cli/linux/webserver/public/fonts/open-sans-v17-latin-700.eot +0 -0
  687. package/cli/linux/webserver/public/fonts/open-sans-v17-latin-700.svg +0 -334
  688. package/cli/linux/webserver/public/fonts/open-sans-v17-latin-700.ttf +0 -0
  689. package/cli/linux/webserver/public/fonts/open-sans-v17-latin-700.woff +0 -0
  690. package/cli/linux/webserver/public/fonts/open-sans-v17-latin-700.woff2 +0 -0
  691. package/cli/linux/webserver/public/fonts/open-sans-v17-latin-700italic.eot +0 -0
  692. package/cli/linux/webserver/public/fonts/open-sans-v17-latin-700italic.svg +0 -342
  693. package/cli/linux/webserver/public/fonts/open-sans-v17-latin-700italic.ttf +0 -0
  694. package/cli/linux/webserver/public/fonts/open-sans-v17-latin-700italic.woff +0 -0
  695. package/cli/linux/webserver/public/fonts/open-sans-v17-latin-700italic.woff2 +0 -0
  696. package/cli/linux/webserver/public/fonts/open-sans-v17-latin-800.eot +0 -0
  697. package/cli/linux/webserver/public/fonts/open-sans-v17-latin-800.svg +0 -336
  698. package/cli/linux/webserver/public/fonts/open-sans-v17-latin-800.ttf +0 -0
  699. package/cli/linux/webserver/public/fonts/open-sans-v17-latin-800.woff +0 -0
  700. package/cli/linux/webserver/public/fonts/open-sans-v17-latin-800.woff2 +0 -0
  701. package/cli/linux/webserver/public/fonts/open-sans-v17-latin-800italic.eot +0 -0
  702. package/cli/linux/webserver/public/fonts/open-sans-v17-latin-800italic.svg +0 -342
  703. package/cli/linux/webserver/public/fonts/open-sans-v17-latin-800italic.ttf +0 -0
  704. package/cli/linux/webserver/public/fonts/open-sans-v17-latin-800italic.woff +0 -0
  705. package/cli/linux/webserver/public/fonts/open-sans-v17-latin-800italic.woff2 +0 -0
  706. package/cli/linux/webserver/public/fonts/open-sans-v17-latin-italic.eot +0 -0
  707. package/cli/linux/webserver/public/fonts/open-sans-v17-latin-italic.svg +0 -349
  708. package/cli/linux/webserver/public/fonts/open-sans-v17-latin-italic.ttf +0 -0
  709. package/cli/linux/webserver/public/fonts/open-sans-v17-latin-italic.woff +0 -0
  710. package/cli/linux/webserver/public/fonts/open-sans-v17-latin-italic.woff2 +0 -0
  711. package/cli/linux/webserver/public/fonts/open-sans-v17-latin-regular.eot +0 -0
  712. package/cli/linux/webserver/public/fonts/open-sans-v17-latin-regular.svg +0 -336
  713. package/cli/linux/webserver/public/fonts/open-sans-v17-latin-regular.ttf +0 -0
  714. package/cli/linux/webserver/public/fonts/open-sans-v17-latin-regular.woff +0 -0
  715. package/cli/linux/webserver/public/fonts/open-sans-v17-latin-regular.woff2 +0 -0
  716. package/cli/linux/webserver/public/index.html +0 -114
  717. package/cli/linux/webserver/public/inference-server.js +0 -216
  718. package/cli/linux/webserver/public/webserver.js +0 -247
  719. package/cli/linux/webserver/views/escape-html-template-tag/escape.ts +0 -66
  720. package/cli/linux/webserver/views/escape-html-template-tag/index.ts +0 -2
  721. package/cli/linux/webserver/views/inference-server-view.ts +0 -179
@@ -75,7 +75,394 @@ class RawDataApi {
75
75
  this.authentications[RawDataApiApiKeys[key]].apiKey = value;
76
76
  }
77
77
  /**
78
- * Deletes samples. Note that this does not delete the data from cold storage.
78
+ * Add specific metadata for multiple samples.
79
+ * @summary Add metadata (multiple samples)
80
+ * @param projectId Project ID
81
+ * @param category Which of the three acquisition categories to retrieve data from
82
+ * @param batchAddMetadataRequest
83
+ * @param labels Only include samples with a label within the given list of labels, given as a JSON string
84
+ * @param filename Only include samples whose filename includes the given filename
85
+ * @param maxLength Only include samples shorter than the given length, in milliseconds
86
+ * @param minLength Only include samples longer than the given length, in milliseconds
87
+ * @param minFrequency Only include samples with higher frequency than given frequency, in hertz
88
+ * @param maxFrequency Only include samples with lower frequency than given frequency, in hertz
89
+ * @param signatureValidity Include samples with either valid or invalid signatures
90
+ * @param includeDisabled Include only enabled or disabled samples (or both)
91
+ * @param ids Only include samples with an ID within the given list of IDs, given as a JSON string
92
+ * @param excludeIds Exclude samples with an ID within the given list of IDs, given as a JSON string
93
+ * @param search Search query
94
+ */
95
+ async batchAddMetadata(projectId, batchAddMetadataRequest, queryParams, options = { headers: {} }) {
96
+ const localVarPath = this.basePath + '/api/{projectId}/raw-data/batch/add-metadata'
97
+ .replace('{' + 'projectId' + '}', encodeURIComponent(String(projectId)));
98
+ let localVarQueryParameters = {};
99
+ let localVarHeaderParams = Object.assign({
100
+ 'User-Agent': 'edgeimpulse-api nodejs'
101
+ }, this.defaultHeaders);
102
+ const produces = ['application/json'];
103
+ // give precedence to 'application/json'
104
+ if (produces.indexOf('application/json') >= 0) {
105
+ localVarHeaderParams.Accept = 'application/json';
106
+ }
107
+ else {
108
+ localVarHeaderParams.Accept = produces.join(',');
109
+ }
110
+ let localVarFormParams = {};
111
+ // verify required parameter 'projectId' is not null or undefined
112
+ if (projectId === null || projectId === undefined) {
113
+ throw new Error('Required parameter projectId was null or undefined when calling batchAddMetadata.');
114
+ }
115
+ // verify required parameter 'category' is not null or undefined
116
+ if (queryParams.category === null || queryParams.category === undefined) {
117
+ throw new Error('Required parameter queryParams.category was null or undefined when calling batchAddMetadata.');
118
+ }
119
+ // verify required parameter 'batchAddMetadataRequest' is not null or undefined
120
+ if (batchAddMetadataRequest === null || batchAddMetadataRequest === undefined) {
121
+ throw new Error('Required parameter batchAddMetadataRequest was null or undefined when calling batchAddMetadata.');
122
+ }
123
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.category) !== undefined) {
124
+ localVarQueryParameters['category'] = models_1.ObjectSerializer.serialize(queryParams.category, "'training' | 'testing' | 'anomaly'");
125
+ }
126
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.labels) !== undefined) {
127
+ localVarQueryParameters['labels'] = models_1.ObjectSerializer.serialize(queryParams.labels, "string");
128
+ }
129
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.filename) !== undefined) {
130
+ localVarQueryParameters['filename'] = models_1.ObjectSerializer.serialize(queryParams.filename, "string");
131
+ }
132
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.maxLength) !== undefined) {
133
+ localVarQueryParameters['maxLength'] = models_1.ObjectSerializer.serialize(queryParams.maxLength, "number");
134
+ }
135
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.minLength) !== undefined) {
136
+ localVarQueryParameters['minLength'] = models_1.ObjectSerializer.serialize(queryParams.minLength, "number");
137
+ }
138
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.minFrequency) !== undefined) {
139
+ localVarQueryParameters['minFrequency'] = models_1.ObjectSerializer.serialize(queryParams.minFrequency, "number");
140
+ }
141
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.maxFrequency) !== undefined) {
142
+ localVarQueryParameters['maxFrequency'] = models_1.ObjectSerializer.serialize(queryParams.maxFrequency, "number");
143
+ }
144
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.signatureValidity) !== undefined) {
145
+ localVarQueryParameters['signatureValidity'] = models_1.ObjectSerializer.serialize(queryParams.signatureValidity, "'both' | 'valid' | 'invalid'");
146
+ }
147
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.includeDisabled) !== undefined) {
148
+ localVarQueryParameters['includeDisabled'] = models_1.ObjectSerializer.serialize(queryParams.includeDisabled, "'both' | 'enabled' | 'disabled'");
149
+ }
150
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.ids) !== undefined) {
151
+ localVarQueryParameters['ids'] = models_1.ObjectSerializer.serialize(queryParams.ids, "string");
152
+ }
153
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.excludeIds) !== undefined) {
154
+ localVarQueryParameters['excludeIds'] = models_1.ObjectSerializer.serialize(queryParams.excludeIds, "string");
155
+ }
156
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.search) !== undefined) {
157
+ localVarQueryParameters['search'] = models_1.ObjectSerializer.serialize(queryParams.search, "string");
158
+ }
159
+ Object.assign(localVarHeaderParams, options.headers);
160
+ Object.assign(localVarHeaderParams, this.opts.extraHeaders);
161
+ let localVarUseFormData = false;
162
+ let localVarRequestOptions = {
163
+ method: 'POST',
164
+ qs: localVarQueryParameters,
165
+ headers: localVarHeaderParams,
166
+ uri: localVarPath,
167
+ useQuerystring: this._useQuerystring,
168
+ agentOptions: { keepAlive: false },
169
+ json: true,
170
+ body: models_1.ObjectSerializer.serialize(batchAddMetadataRequest, "BatchAddMetadataRequest")
171
+ };
172
+ let authenticationPromise = Promise.resolve();
173
+ authenticationPromise = authenticationPromise.then(() => this.authentications.ApiKeyAuthentication.applyToRequest(localVarRequestOptions));
174
+ authenticationPromise = authenticationPromise.then(() => this.authentications.JWTAuthentication.applyToRequest(localVarRequestOptions));
175
+ authenticationPromise = authenticationPromise.then(() => this.authentications.JWTHttpHeaderAuthentication.applyToRequest(localVarRequestOptions));
176
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
177
+ return authenticationPromise.then(() => {
178
+ if (Object.keys(localVarFormParams).length) {
179
+ if (localVarUseFormData) {
180
+ localVarRequestOptions.formData = localVarFormParams;
181
+ }
182
+ else {
183
+ localVarRequestOptions.form = localVarFormParams;
184
+ }
185
+ }
186
+ return new Promise((resolve, reject) => {
187
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
188
+ if (error) {
189
+ reject(error);
190
+ }
191
+ else {
192
+ body = models_1.ObjectSerializer.deserialize(body, "StartJobResponse");
193
+ const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
194
+ if (typeof body.success === 'boolean' && !body.success) {
195
+ reject(new Error(body.error || errString));
196
+ }
197
+ else if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
198
+ resolve(body);
199
+ }
200
+ else {
201
+ reject(errString);
202
+ }
203
+ }
204
+ });
205
+ });
206
+ });
207
+ }
208
+ /**
209
+ * Clears all metadata for multiple samples.
210
+ * @summary Clear all metadata (multiple samples)
211
+ * @param projectId Project ID
212
+ * @param category Which of the three acquisition categories to retrieve data from
213
+ * @param labels Only include samples with a label within the given list of labels, given as a JSON string
214
+ * @param filename Only include samples whose filename includes the given filename
215
+ * @param maxLength Only include samples shorter than the given length, in milliseconds
216
+ * @param minLength Only include samples longer than the given length, in milliseconds
217
+ * @param minFrequency Only include samples with higher frequency than given frequency, in hertz
218
+ * @param maxFrequency Only include samples with lower frequency than given frequency, in hertz
219
+ * @param signatureValidity Include samples with either valid or invalid signatures
220
+ * @param includeDisabled Include only enabled or disabled samples (or both)
221
+ * @param ids Only include samples with an ID within the given list of IDs, given as a JSON string
222
+ * @param excludeIds Exclude samples with an ID within the given list of IDs, given as a JSON string
223
+ * @param search Search query
224
+ */
225
+ async batchClearMetadata(projectId, queryParams, options = { headers: {} }) {
226
+ const localVarPath = this.basePath + '/api/{projectId}/raw-data/batch/clear-metadata'
227
+ .replace('{' + 'projectId' + '}', encodeURIComponent(String(projectId)));
228
+ let localVarQueryParameters = {};
229
+ let localVarHeaderParams = Object.assign({
230
+ 'User-Agent': 'edgeimpulse-api nodejs'
231
+ }, this.defaultHeaders);
232
+ const produces = ['application/json'];
233
+ // give precedence to 'application/json'
234
+ if (produces.indexOf('application/json') >= 0) {
235
+ localVarHeaderParams.Accept = 'application/json';
236
+ }
237
+ else {
238
+ localVarHeaderParams.Accept = produces.join(',');
239
+ }
240
+ let localVarFormParams = {};
241
+ // verify required parameter 'projectId' is not null or undefined
242
+ if (projectId === null || projectId === undefined) {
243
+ throw new Error('Required parameter projectId was null or undefined when calling batchClearMetadata.');
244
+ }
245
+ // verify required parameter 'category' is not null or undefined
246
+ if (queryParams.category === null || queryParams.category === undefined) {
247
+ throw new Error('Required parameter queryParams.category was null or undefined when calling batchClearMetadata.');
248
+ }
249
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.category) !== undefined) {
250
+ localVarQueryParameters['category'] = models_1.ObjectSerializer.serialize(queryParams.category, "'training' | 'testing' | 'anomaly'");
251
+ }
252
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.labels) !== undefined) {
253
+ localVarQueryParameters['labels'] = models_1.ObjectSerializer.serialize(queryParams.labels, "string");
254
+ }
255
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.filename) !== undefined) {
256
+ localVarQueryParameters['filename'] = models_1.ObjectSerializer.serialize(queryParams.filename, "string");
257
+ }
258
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.maxLength) !== undefined) {
259
+ localVarQueryParameters['maxLength'] = models_1.ObjectSerializer.serialize(queryParams.maxLength, "number");
260
+ }
261
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.minLength) !== undefined) {
262
+ localVarQueryParameters['minLength'] = models_1.ObjectSerializer.serialize(queryParams.minLength, "number");
263
+ }
264
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.minFrequency) !== undefined) {
265
+ localVarQueryParameters['minFrequency'] = models_1.ObjectSerializer.serialize(queryParams.minFrequency, "number");
266
+ }
267
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.maxFrequency) !== undefined) {
268
+ localVarQueryParameters['maxFrequency'] = models_1.ObjectSerializer.serialize(queryParams.maxFrequency, "number");
269
+ }
270
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.signatureValidity) !== undefined) {
271
+ localVarQueryParameters['signatureValidity'] = models_1.ObjectSerializer.serialize(queryParams.signatureValidity, "'both' | 'valid' | 'invalid'");
272
+ }
273
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.includeDisabled) !== undefined) {
274
+ localVarQueryParameters['includeDisabled'] = models_1.ObjectSerializer.serialize(queryParams.includeDisabled, "'both' | 'enabled' | 'disabled'");
275
+ }
276
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.ids) !== undefined) {
277
+ localVarQueryParameters['ids'] = models_1.ObjectSerializer.serialize(queryParams.ids, "string");
278
+ }
279
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.excludeIds) !== undefined) {
280
+ localVarQueryParameters['excludeIds'] = models_1.ObjectSerializer.serialize(queryParams.excludeIds, "string");
281
+ }
282
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.search) !== undefined) {
283
+ localVarQueryParameters['search'] = models_1.ObjectSerializer.serialize(queryParams.search, "string");
284
+ }
285
+ Object.assign(localVarHeaderParams, options.headers);
286
+ Object.assign(localVarHeaderParams, this.opts.extraHeaders);
287
+ let localVarUseFormData = false;
288
+ let localVarRequestOptions = {
289
+ method: 'POST',
290
+ qs: localVarQueryParameters,
291
+ headers: localVarHeaderParams,
292
+ uri: localVarPath,
293
+ useQuerystring: this._useQuerystring,
294
+ agentOptions: { keepAlive: false },
295
+ json: true,
296
+ };
297
+ let authenticationPromise = Promise.resolve();
298
+ authenticationPromise = authenticationPromise.then(() => this.authentications.ApiKeyAuthentication.applyToRequest(localVarRequestOptions));
299
+ authenticationPromise = authenticationPromise.then(() => this.authentications.JWTAuthentication.applyToRequest(localVarRequestOptions));
300
+ authenticationPromise = authenticationPromise.then(() => this.authentications.JWTHttpHeaderAuthentication.applyToRequest(localVarRequestOptions));
301
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
302
+ return authenticationPromise.then(() => {
303
+ if (Object.keys(localVarFormParams).length) {
304
+ if (localVarUseFormData) {
305
+ localVarRequestOptions.formData = localVarFormParams;
306
+ }
307
+ else {
308
+ localVarRequestOptions.form = localVarFormParams;
309
+ }
310
+ }
311
+ return new Promise((resolve, reject) => {
312
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
313
+ if (error) {
314
+ reject(error);
315
+ }
316
+ else {
317
+ body = models_1.ObjectSerializer.deserialize(body, "GenericApiResponse");
318
+ const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
319
+ if (typeof body.success === 'boolean' && !body.success) {
320
+ reject(new Error(body.error || errString));
321
+ }
322
+ else if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
323
+ resolve(body);
324
+ }
325
+ else {
326
+ reject(errString);
327
+ }
328
+ }
329
+ });
330
+ });
331
+ });
332
+ }
333
+ /**
334
+ * Clears a specific metadata field (by key) for multiple samples.
335
+ * @summary Clear metadata by key (multiple samples)
336
+ * @param projectId Project ID
337
+ * @param category Which of the three acquisition categories to retrieve data from
338
+ * @param batchClearMetadataByKeyRequest
339
+ * @param labels Only include samples with a label within the given list of labels, given as a JSON string
340
+ * @param filename Only include samples whose filename includes the given filename
341
+ * @param maxLength Only include samples shorter than the given length, in milliseconds
342
+ * @param minLength Only include samples longer than the given length, in milliseconds
343
+ * @param minFrequency Only include samples with higher frequency than given frequency, in hertz
344
+ * @param maxFrequency Only include samples with lower frequency than given frequency, in hertz
345
+ * @param signatureValidity Include samples with either valid or invalid signatures
346
+ * @param includeDisabled Include only enabled or disabled samples (or both)
347
+ * @param ids Only include samples with an ID within the given list of IDs, given as a JSON string
348
+ * @param excludeIds Exclude samples with an ID within the given list of IDs, given as a JSON string
349
+ * @param search Search query
350
+ */
351
+ async batchClearMetadataByKey(projectId, batchClearMetadataByKeyRequest, queryParams, options = { headers: {} }) {
352
+ const localVarPath = this.basePath + '/api/{projectId}/raw-data/batch/clear-metadata-by-key'
353
+ .replace('{' + 'projectId' + '}', encodeURIComponent(String(projectId)));
354
+ let localVarQueryParameters = {};
355
+ let localVarHeaderParams = Object.assign({
356
+ 'User-Agent': 'edgeimpulse-api nodejs'
357
+ }, this.defaultHeaders);
358
+ const produces = ['application/json'];
359
+ // give precedence to 'application/json'
360
+ if (produces.indexOf('application/json') >= 0) {
361
+ localVarHeaderParams.Accept = 'application/json';
362
+ }
363
+ else {
364
+ localVarHeaderParams.Accept = produces.join(',');
365
+ }
366
+ let localVarFormParams = {};
367
+ // verify required parameter 'projectId' is not null or undefined
368
+ if (projectId === null || projectId === undefined) {
369
+ throw new Error('Required parameter projectId was null or undefined when calling batchClearMetadataByKey.');
370
+ }
371
+ // verify required parameter 'category' is not null or undefined
372
+ if (queryParams.category === null || queryParams.category === undefined) {
373
+ throw new Error('Required parameter queryParams.category was null or undefined when calling batchClearMetadataByKey.');
374
+ }
375
+ // verify required parameter 'batchClearMetadataByKeyRequest' is not null or undefined
376
+ if (batchClearMetadataByKeyRequest === null || batchClearMetadataByKeyRequest === undefined) {
377
+ throw new Error('Required parameter batchClearMetadataByKeyRequest was null or undefined when calling batchClearMetadataByKey.');
378
+ }
379
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.category) !== undefined) {
380
+ localVarQueryParameters['category'] = models_1.ObjectSerializer.serialize(queryParams.category, "'training' | 'testing' | 'anomaly'");
381
+ }
382
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.labels) !== undefined) {
383
+ localVarQueryParameters['labels'] = models_1.ObjectSerializer.serialize(queryParams.labels, "string");
384
+ }
385
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.filename) !== undefined) {
386
+ localVarQueryParameters['filename'] = models_1.ObjectSerializer.serialize(queryParams.filename, "string");
387
+ }
388
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.maxLength) !== undefined) {
389
+ localVarQueryParameters['maxLength'] = models_1.ObjectSerializer.serialize(queryParams.maxLength, "number");
390
+ }
391
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.minLength) !== undefined) {
392
+ localVarQueryParameters['minLength'] = models_1.ObjectSerializer.serialize(queryParams.minLength, "number");
393
+ }
394
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.minFrequency) !== undefined) {
395
+ localVarQueryParameters['minFrequency'] = models_1.ObjectSerializer.serialize(queryParams.minFrequency, "number");
396
+ }
397
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.maxFrequency) !== undefined) {
398
+ localVarQueryParameters['maxFrequency'] = models_1.ObjectSerializer.serialize(queryParams.maxFrequency, "number");
399
+ }
400
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.signatureValidity) !== undefined) {
401
+ localVarQueryParameters['signatureValidity'] = models_1.ObjectSerializer.serialize(queryParams.signatureValidity, "'both' | 'valid' | 'invalid'");
402
+ }
403
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.includeDisabled) !== undefined) {
404
+ localVarQueryParameters['includeDisabled'] = models_1.ObjectSerializer.serialize(queryParams.includeDisabled, "'both' | 'enabled' | 'disabled'");
405
+ }
406
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.ids) !== undefined) {
407
+ localVarQueryParameters['ids'] = models_1.ObjectSerializer.serialize(queryParams.ids, "string");
408
+ }
409
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.excludeIds) !== undefined) {
410
+ localVarQueryParameters['excludeIds'] = models_1.ObjectSerializer.serialize(queryParams.excludeIds, "string");
411
+ }
412
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.search) !== undefined) {
413
+ localVarQueryParameters['search'] = models_1.ObjectSerializer.serialize(queryParams.search, "string");
414
+ }
415
+ Object.assign(localVarHeaderParams, options.headers);
416
+ Object.assign(localVarHeaderParams, this.opts.extraHeaders);
417
+ let localVarUseFormData = false;
418
+ let localVarRequestOptions = {
419
+ method: 'POST',
420
+ qs: localVarQueryParameters,
421
+ headers: localVarHeaderParams,
422
+ uri: localVarPath,
423
+ useQuerystring: this._useQuerystring,
424
+ agentOptions: { keepAlive: false },
425
+ json: true,
426
+ body: models_1.ObjectSerializer.serialize(batchClearMetadataByKeyRequest, "BatchClearMetadataByKeyRequest")
427
+ };
428
+ let authenticationPromise = Promise.resolve();
429
+ authenticationPromise = authenticationPromise.then(() => this.authentications.ApiKeyAuthentication.applyToRequest(localVarRequestOptions));
430
+ authenticationPromise = authenticationPromise.then(() => this.authentications.JWTAuthentication.applyToRequest(localVarRequestOptions));
431
+ authenticationPromise = authenticationPromise.then(() => this.authentications.JWTHttpHeaderAuthentication.applyToRequest(localVarRequestOptions));
432
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
433
+ return authenticationPromise.then(() => {
434
+ if (Object.keys(localVarFormParams).length) {
435
+ if (localVarUseFormData) {
436
+ localVarRequestOptions.formData = localVarFormParams;
437
+ }
438
+ else {
439
+ localVarRequestOptions.form = localVarFormParams;
440
+ }
441
+ }
442
+ return new Promise((resolve, reject) => {
443
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
444
+ if (error) {
445
+ reject(error);
446
+ }
447
+ else {
448
+ body = models_1.ObjectSerializer.deserialize(body, "StartJobResponse");
449
+ const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
450
+ if (typeof body.success === 'boolean' && !body.success) {
451
+ reject(new Error(body.error || errString));
452
+ }
453
+ else if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
454
+ resolve(body);
455
+ }
456
+ else {
457
+ reject(errString);
458
+ }
459
+ }
460
+ });
461
+ });
462
+ });
463
+ }
464
+ /**
465
+ * Deletes samples. Note that this does not delete the data from cold storage. Depending on the number of affected samples this will either execute immediately or return the ID of a job that will perform this action in batches.
79
466
  * @summary Remove multiple samples
80
467
  * @param projectId Project ID
81
468
  * @param category Which of the three acquisition categories to retrieve data from
@@ -115,40 +502,40 @@ class RawDataApi {
115
502
  if (queryParams.category === null || queryParams.category === undefined) {
116
503
  throw new Error('Required parameter queryParams.category was null or undefined when calling batchDelete.');
117
504
  }
118
- if (queryParams.category !== undefined) {
505
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.category) !== undefined) {
119
506
  localVarQueryParameters['category'] = models_1.ObjectSerializer.serialize(queryParams.category, "'training' | 'testing' | 'anomaly'");
120
507
  }
121
- if (queryParams.labels !== undefined) {
508
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.labels) !== undefined) {
122
509
  localVarQueryParameters['labels'] = models_1.ObjectSerializer.serialize(queryParams.labels, "string");
123
510
  }
124
- if (queryParams.filename !== undefined) {
511
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.filename) !== undefined) {
125
512
  localVarQueryParameters['filename'] = models_1.ObjectSerializer.serialize(queryParams.filename, "string");
126
513
  }
127
- if (queryParams.maxLength !== undefined) {
514
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.maxLength) !== undefined) {
128
515
  localVarQueryParameters['maxLength'] = models_1.ObjectSerializer.serialize(queryParams.maxLength, "number");
129
516
  }
130
- if (queryParams.minLength !== undefined) {
517
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.minLength) !== undefined) {
131
518
  localVarQueryParameters['minLength'] = models_1.ObjectSerializer.serialize(queryParams.minLength, "number");
132
519
  }
133
- if (queryParams.minFrequency !== undefined) {
520
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.minFrequency) !== undefined) {
134
521
  localVarQueryParameters['minFrequency'] = models_1.ObjectSerializer.serialize(queryParams.minFrequency, "number");
135
522
  }
136
- if (queryParams.maxFrequency !== undefined) {
523
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.maxFrequency) !== undefined) {
137
524
  localVarQueryParameters['maxFrequency'] = models_1.ObjectSerializer.serialize(queryParams.maxFrequency, "number");
138
525
  }
139
- if (queryParams.signatureValidity !== undefined) {
526
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.signatureValidity) !== undefined) {
140
527
  localVarQueryParameters['signatureValidity'] = models_1.ObjectSerializer.serialize(queryParams.signatureValidity, "'both' | 'valid' | 'invalid'");
141
528
  }
142
- if (queryParams.includeDisabled !== undefined) {
529
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.includeDisabled) !== undefined) {
143
530
  localVarQueryParameters['includeDisabled'] = models_1.ObjectSerializer.serialize(queryParams.includeDisabled, "'both' | 'enabled' | 'disabled'");
144
531
  }
145
- if (queryParams.ids !== undefined) {
532
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.ids) !== undefined) {
146
533
  localVarQueryParameters['ids'] = models_1.ObjectSerializer.serialize(queryParams.ids, "string");
147
534
  }
148
- if (queryParams.excludeIds !== undefined) {
535
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.excludeIds) !== undefined) {
149
536
  localVarQueryParameters['excludeIds'] = models_1.ObjectSerializer.serialize(queryParams.excludeIds, "string");
150
537
  }
151
- if (queryParams.search !== undefined) {
538
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.search) !== undefined) {
152
539
  localVarQueryParameters['search'] = models_1.ObjectSerializer.serialize(queryParams.search, "string");
153
540
  }
154
541
  Object.assign(localVarHeaderParams, options.headers);
@@ -183,7 +570,7 @@ class RawDataApi {
183
570
  reject(error);
184
571
  }
185
572
  else {
186
- body = models_1.ObjectSerializer.deserialize(body, "GenericApiResponse");
573
+ body = models_1.ObjectSerializer.deserialize(body, "GenericApiResponse | StartJobResponse");
187
574
  const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
188
575
  if (typeof body.success === 'boolean' && !body.success) {
189
576
  reject(new Error(body.error || errString));
@@ -200,7 +587,7 @@ class RawDataApi {
200
587
  });
201
588
  }
202
589
  /**
203
- * Disables samples, ensuring that they are excluded from the dataset.
590
+ * Disables samples, ensuring that they are excluded from the dataset. Depending on the number of affected samples this will either execute immediately or return the ID of a job that will perform this action in batches.
204
591
  * @summary Disable multiple samples
205
592
  * @param projectId Project ID
206
593
  * @param category Which of the three acquisition categories to retrieve data from
@@ -240,40 +627,40 @@ class RawDataApi {
240
627
  if (queryParams.category === null || queryParams.category === undefined) {
241
628
  throw new Error('Required parameter queryParams.category was null or undefined when calling batchDisable.');
242
629
  }
243
- if (queryParams.category !== undefined) {
630
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.category) !== undefined) {
244
631
  localVarQueryParameters['category'] = models_1.ObjectSerializer.serialize(queryParams.category, "'training' | 'testing' | 'anomaly'");
245
632
  }
246
- if (queryParams.labels !== undefined) {
633
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.labels) !== undefined) {
247
634
  localVarQueryParameters['labels'] = models_1.ObjectSerializer.serialize(queryParams.labels, "string");
248
635
  }
249
- if (queryParams.filename !== undefined) {
636
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.filename) !== undefined) {
250
637
  localVarQueryParameters['filename'] = models_1.ObjectSerializer.serialize(queryParams.filename, "string");
251
638
  }
252
- if (queryParams.maxLength !== undefined) {
639
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.maxLength) !== undefined) {
253
640
  localVarQueryParameters['maxLength'] = models_1.ObjectSerializer.serialize(queryParams.maxLength, "number");
254
641
  }
255
- if (queryParams.minLength !== undefined) {
642
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.minLength) !== undefined) {
256
643
  localVarQueryParameters['minLength'] = models_1.ObjectSerializer.serialize(queryParams.minLength, "number");
257
644
  }
258
- if (queryParams.minFrequency !== undefined) {
645
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.minFrequency) !== undefined) {
259
646
  localVarQueryParameters['minFrequency'] = models_1.ObjectSerializer.serialize(queryParams.minFrequency, "number");
260
647
  }
261
- if (queryParams.maxFrequency !== undefined) {
648
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.maxFrequency) !== undefined) {
262
649
  localVarQueryParameters['maxFrequency'] = models_1.ObjectSerializer.serialize(queryParams.maxFrequency, "number");
263
650
  }
264
- if (queryParams.signatureValidity !== undefined) {
651
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.signatureValidity) !== undefined) {
265
652
  localVarQueryParameters['signatureValidity'] = models_1.ObjectSerializer.serialize(queryParams.signatureValidity, "'both' | 'valid' | 'invalid'");
266
653
  }
267
- if (queryParams.includeDisabled !== undefined) {
654
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.includeDisabled) !== undefined) {
268
655
  localVarQueryParameters['includeDisabled'] = models_1.ObjectSerializer.serialize(queryParams.includeDisabled, "'both' | 'enabled' | 'disabled'");
269
656
  }
270
- if (queryParams.ids !== undefined) {
657
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.ids) !== undefined) {
271
658
  localVarQueryParameters['ids'] = models_1.ObjectSerializer.serialize(queryParams.ids, "string");
272
659
  }
273
- if (queryParams.excludeIds !== undefined) {
660
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.excludeIds) !== undefined) {
274
661
  localVarQueryParameters['excludeIds'] = models_1.ObjectSerializer.serialize(queryParams.excludeIds, "string");
275
662
  }
276
- if (queryParams.search !== undefined) {
663
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.search) !== undefined) {
277
664
  localVarQueryParameters['search'] = models_1.ObjectSerializer.serialize(queryParams.search, "string");
278
665
  }
279
666
  Object.assign(localVarHeaderParams, options.headers);
@@ -308,7 +695,7 @@ class RawDataApi {
308
695
  reject(error);
309
696
  }
310
697
  else {
311
- body = models_1.ObjectSerializer.deserialize(body, "GenericApiResponse");
698
+ body = models_1.ObjectSerializer.deserialize(body, "GenericApiResponse | StartJobResponse");
312
699
  const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
313
700
  if (typeof body.success === 'boolean' && !body.success) {
314
701
  reject(new Error(body.error || errString));
@@ -325,7 +712,7 @@ class RawDataApi {
325
712
  });
326
713
  }
327
714
  /**
328
- * Sets the label (also known as class) of multiple samples.
715
+ * Sets the label (also known as class) of multiple samples. Depending on the number of affected samples this will either execute immediately or return the ID of a job that will perform this action in batches.
329
716
  * @summary Edit labels for multiple samples
330
717
  * @param projectId Project ID
331
718
  * @param category Which of the three acquisition categories to retrieve data from
@@ -370,40 +757,40 @@ class RawDataApi {
370
757
  if (editSampleLabelRequest === null || editSampleLabelRequest === undefined) {
371
758
  throw new Error('Required parameter editSampleLabelRequest was null or undefined when calling batchEditLabels.');
372
759
  }
373
- if (queryParams.category !== undefined) {
760
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.category) !== undefined) {
374
761
  localVarQueryParameters['category'] = models_1.ObjectSerializer.serialize(queryParams.category, "'training' | 'testing' | 'anomaly'");
375
762
  }
376
- if (queryParams.labels !== undefined) {
763
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.labels) !== undefined) {
377
764
  localVarQueryParameters['labels'] = models_1.ObjectSerializer.serialize(queryParams.labels, "string");
378
765
  }
379
- if (queryParams.filename !== undefined) {
766
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.filename) !== undefined) {
380
767
  localVarQueryParameters['filename'] = models_1.ObjectSerializer.serialize(queryParams.filename, "string");
381
768
  }
382
- if (queryParams.maxLength !== undefined) {
769
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.maxLength) !== undefined) {
383
770
  localVarQueryParameters['maxLength'] = models_1.ObjectSerializer.serialize(queryParams.maxLength, "number");
384
771
  }
385
- if (queryParams.minLength !== undefined) {
772
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.minLength) !== undefined) {
386
773
  localVarQueryParameters['minLength'] = models_1.ObjectSerializer.serialize(queryParams.minLength, "number");
387
774
  }
388
- if (queryParams.minFrequency !== undefined) {
775
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.minFrequency) !== undefined) {
389
776
  localVarQueryParameters['minFrequency'] = models_1.ObjectSerializer.serialize(queryParams.minFrequency, "number");
390
777
  }
391
- if (queryParams.maxFrequency !== undefined) {
778
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.maxFrequency) !== undefined) {
392
779
  localVarQueryParameters['maxFrequency'] = models_1.ObjectSerializer.serialize(queryParams.maxFrequency, "number");
393
780
  }
394
- if (queryParams.signatureValidity !== undefined) {
781
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.signatureValidity) !== undefined) {
395
782
  localVarQueryParameters['signatureValidity'] = models_1.ObjectSerializer.serialize(queryParams.signatureValidity, "'both' | 'valid' | 'invalid'");
396
783
  }
397
- if (queryParams.includeDisabled !== undefined) {
784
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.includeDisabled) !== undefined) {
398
785
  localVarQueryParameters['includeDisabled'] = models_1.ObjectSerializer.serialize(queryParams.includeDisabled, "'both' | 'enabled' | 'disabled'");
399
786
  }
400
- if (queryParams.ids !== undefined) {
787
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.ids) !== undefined) {
401
788
  localVarQueryParameters['ids'] = models_1.ObjectSerializer.serialize(queryParams.ids, "string");
402
789
  }
403
- if (queryParams.excludeIds !== undefined) {
790
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.excludeIds) !== undefined) {
404
791
  localVarQueryParameters['excludeIds'] = models_1.ObjectSerializer.serialize(queryParams.excludeIds, "string");
405
792
  }
406
- if (queryParams.search !== undefined) {
793
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.search) !== undefined) {
407
794
  localVarQueryParameters['search'] = models_1.ObjectSerializer.serialize(queryParams.search, "string");
408
795
  }
409
796
  Object.assign(localVarHeaderParams, options.headers);
@@ -439,7 +826,7 @@ class RawDataApi {
439
826
  reject(error);
440
827
  }
441
828
  else {
442
- body = models_1.ObjectSerializer.deserialize(body, "GenericApiResponse");
829
+ body = models_1.ObjectSerializer.deserialize(body, "GenericApiResponse | StartJobResponse");
443
830
  const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
444
831
  if (typeof body.success === 'boolean' && !body.success) {
445
832
  reject(new Error(body.error || errString));
@@ -456,7 +843,7 @@ class RawDataApi {
456
843
  });
457
844
  }
458
845
  /**
459
- * Enables samples, ensuring that they are not excluded from the dataset.
846
+ * Enables samples, ensuring that they are not excluded from the dataset. Depending on the number of affected samples this will either execute immediately or return the ID of a job that will perform this action in batches.
460
847
  * @summary Enable multiple samples
461
848
  * @param projectId Project ID
462
849
  * @param category Which of the three acquisition categories to retrieve data from
@@ -496,40 +883,40 @@ class RawDataApi {
496
883
  if (queryParams.category === null || queryParams.category === undefined) {
497
884
  throw new Error('Required parameter queryParams.category was null or undefined when calling batchEnable.');
498
885
  }
499
- if (queryParams.category !== undefined) {
886
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.category) !== undefined) {
500
887
  localVarQueryParameters['category'] = models_1.ObjectSerializer.serialize(queryParams.category, "'training' | 'testing' | 'anomaly'");
501
888
  }
502
- if (queryParams.labels !== undefined) {
889
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.labels) !== undefined) {
503
890
  localVarQueryParameters['labels'] = models_1.ObjectSerializer.serialize(queryParams.labels, "string");
504
891
  }
505
- if (queryParams.filename !== undefined) {
892
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.filename) !== undefined) {
506
893
  localVarQueryParameters['filename'] = models_1.ObjectSerializer.serialize(queryParams.filename, "string");
507
894
  }
508
- if (queryParams.maxLength !== undefined) {
895
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.maxLength) !== undefined) {
509
896
  localVarQueryParameters['maxLength'] = models_1.ObjectSerializer.serialize(queryParams.maxLength, "number");
510
897
  }
511
- if (queryParams.minLength !== undefined) {
898
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.minLength) !== undefined) {
512
899
  localVarQueryParameters['minLength'] = models_1.ObjectSerializer.serialize(queryParams.minLength, "number");
513
900
  }
514
- if (queryParams.minFrequency !== undefined) {
901
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.minFrequency) !== undefined) {
515
902
  localVarQueryParameters['minFrequency'] = models_1.ObjectSerializer.serialize(queryParams.minFrequency, "number");
516
903
  }
517
- if (queryParams.maxFrequency !== undefined) {
904
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.maxFrequency) !== undefined) {
518
905
  localVarQueryParameters['maxFrequency'] = models_1.ObjectSerializer.serialize(queryParams.maxFrequency, "number");
519
906
  }
520
- if (queryParams.signatureValidity !== undefined) {
907
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.signatureValidity) !== undefined) {
521
908
  localVarQueryParameters['signatureValidity'] = models_1.ObjectSerializer.serialize(queryParams.signatureValidity, "'both' | 'valid' | 'invalid'");
522
909
  }
523
- if (queryParams.includeDisabled !== undefined) {
910
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.includeDisabled) !== undefined) {
524
911
  localVarQueryParameters['includeDisabled'] = models_1.ObjectSerializer.serialize(queryParams.includeDisabled, "'both' | 'enabled' | 'disabled'");
525
912
  }
526
- if (queryParams.ids !== undefined) {
913
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.ids) !== undefined) {
527
914
  localVarQueryParameters['ids'] = models_1.ObjectSerializer.serialize(queryParams.ids, "string");
528
915
  }
529
- if (queryParams.excludeIds !== undefined) {
916
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.excludeIds) !== undefined) {
530
917
  localVarQueryParameters['excludeIds'] = models_1.ObjectSerializer.serialize(queryParams.excludeIds, "string");
531
918
  }
532
- if (queryParams.search !== undefined) {
919
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.search) !== undefined) {
533
920
  localVarQueryParameters['search'] = models_1.ObjectSerializer.serialize(queryParams.search, "string");
534
921
  }
535
922
  Object.assign(localVarHeaderParams, options.headers);
@@ -564,7 +951,7 @@ class RawDataApi {
564
951
  reject(error);
565
952
  }
566
953
  else {
567
- body = models_1.ObjectSerializer.deserialize(body, "GenericApiResponse");
954
+ body = models_1.ObjectSerializer.deserialize(body, "GenericApiResponse | StartJobResponse");
568
955
  const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
569
956
  if (typeof body.success === 'boolean' && !body.success) {
570
957
  reject(new Error(body.error || errString));
@@ -581,7 +968,7 @@ class RawDataApi {
581
968
  });
582
969
  }
583
970
  /**
584
- * Move multiple samples to another category (e.g. from test to training).
971
+ * Move multiple samples to another category (e.g. from test to training). Depending on the number of affected samples this will either execute immediately or return the ID of a job that will perform this action in batches.
585
972
  * @summary Move multiple samples
586
973
  * @param projectId Project ID
587
974
  * @param category Which of the three acquisition categories to retrieve data from
@@ -626,40 +1013,40 @@ class RawDataApi {
626
1013
  if (moveRawDataRequest === null || moveRawDataRequest === undefined) {
627
1014
  throw new Error('Required parameter moveRawDataRequest was null or undefined when calling batchMove.');
628
1015
  }
629
- if (queryParams.category !== undefined) {
1016
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.category) !== undefined) {
630
1017
  localVarQueryParameters['category'] = models_1.ObjectSerializer.serialize(queryParams.category, "'training' | 'testing' | 'anomaly'");
631
1018
  }
632
- if (queryParams.labels !== undefined) {
1019
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.labels) !== undefined) {
633
1020
  localVarQueryParameters['labels'] = models_1.ObjectSerializer.serialize(queryParams.labels, "string");
634
1021
  }
635
- if (queryParams.filename !== undefined) {
1022
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.filename) !== undefined) {
636
1023
  localVarQueryParameters['filename'] = models_1.ObjectSerializer.serialize(queryParams.filename, "string");
637
1024
  }
638
- if (queryParams.maxLength !== undefined) {
1025
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.maxLength) !== undefined) {
639
1026
  localVarQueryParameters['maxLength'] = models_1.ObjectSerializer.serialize(queryParams.maxLength, "number");
640
1027
  }
641
- if (queryParams.minLength !== undefined) {
1028
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.minLength) !== undefined) {
642
1029
  localVarQueryParameters['minLength'] = models_1.ObjectSerializer.serialize(queryParams.minLength, "number");
643
1030
  }
644
- if (queryParams.minFrequency !== undefined) {
1031
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.minFrequency) !== undefined) {
645
1032
  localVarQueryParameters['minFrequency'] = models_1.ObjectSerializer.serialize(queryParams.minFrequency, "number");
646
1033
  }
647
- if (queryParams.maxFrequency !== undefined) {
1034
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.maxFrequency) !== undefined) {
648
1035
  localVarQueryParameters['maxFrequency'] = models_1.ObjectSerializer.serialize(queryParams.maxFrequency, "number");
649
1036
  }
650
- if (queryParams.signatureValidity !== undefined) {
1037
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.signatureValidity) !== undefined) {
651
1038
  localVarQueryParameters['signatureValidity'] = models_1.ObjectSerializer.serialize(queryParams.signatureValidity, "'both' | 'valid' | 'invalid'");
652
1039
  }
653
- if (queryParams.includeDisabled !== undefined) {
1040
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.includeDisabled) !== undefined) {
654
1041
  localVarQueryParameters['includeDisabled'] = models_1.ObjectSerializer.serialize(queryParams.includeDisabled, "'both' | 'enabled' | 'disabled'");
655
1042
  }
656
- if (queryParams.ids !== undefined) {
1043
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.ids) !== undefined) {
657
1044
  localVarQueryParameters['ids'] = models_1.ObjectSerializer.serialize(queryParams.ids, "string");
658
1045
  }
659
- if (queryParams.excludeIds !== undefined) {
1046
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.excludeIds) !== undefined) {
660
1047
  localVarQueryParameters['excludeIds'] = models_1.ObjectSerializer.serialize(queryParams.excludeIds, "string");
661
1048
  }
662
- if (queryParams.search !== undefined) {
1049
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.search) !== undefined) {
663
1050
  localVarQueryParameters['search'] = models_1.ObjectSerializer.serialize(queryParams.search, "string");
664
1051
  }
665
1052
  Object.assign(localVarHeaderParams, options.headers);
@@ -695,7 +1082,7 @@ class RawDataApi {
695
1082
  reject(error);
696
1083
  }
697
1084
  else {
698
- body = models_1.ObjectSerializer.deserialize(body, "GenericApiResponse");
1085
+ body = models_1.ObjectSerializer.deserialize(body, "GenericApiResponse | StartJobResponse");
699
1086
  const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
700
1087
  if (typeof body.success === 'boolean' && !body.success) {
701
1088
  reject(new Error(body.error || errString));
@@ -981,34 +1368,34 @@ class RawDataApi {
981
1368
  if (queryParams.category === null || queryParams.category === undefined) {
982
1369
  throw new Error('Required parameter queryParams.category was null or undefined when calling countSamples.');
983
1370
  }
984
- if (queryParams.category !== undefined) {
1371
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.category) !== undefined) {
985
1372
  localVarQueryParameters['category'] = models_1.ObjectSerializer.serialize(queryParams.category, "'training' | 'testing' | 'anomaly'");
986
1373
  }
987
- if (queryParams.labels !== undefined) {
1374
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.labels) !== undefined) {
988
1375
  localVarQueryParameters['labels'] = models_1.ObjectSerializer.serialize(queryParams.labels, "string");
989
1376
  }
990
- if (queryParams.filename !== undefined) {
1377
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.filename) !== undefined) {
991
1378
  localVarQueryParameters['filename'] = models_1.ObjectSerializer.serialize(queryParams.filename, "string");
992
1379
  }
993
- if (queryParams.maxLength !== undefined) {
1380
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.maxLength) !== undefined) {
994
1381
  localVarQueryParameters['maxLength'] = models_1.ObjectSerializer.serialize(queryParams.maxLength, "number");
995
1382
  }
996
- if (queryParams.minLength !== undefined) {
1383
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.minLength) !== undefined) {
997
1384
  localVarQueryParameters['minLength'] = models_1.ObjectSerializer.serialize(queryParams.minLength, "number");
998
1385
  }
999
- if (queryParams.minFrequency !== undefined) {
1386
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.minFrequency) !== undefined) {
1000
1387
  localVarQueryParameters['minFrequency'] = models_1.ObjectSerializer.serialize(queryParams.minFrequency, "number");
1001
1388
  }
1002
- if (queryParams.maxFrequency !== undefined) {
1389
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.maxFrequency) !== undefined) {
1003
1390
  localVarQueryParameters['maxFrequency'] = models_1.ObjectSerializer.serialize(queryParams.maxFrequency, "number");
1004
1391
  }
1005
- if (queryParams.signatureValidity !== undefined) {
1392
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.signatureValidity) !== undefined) {
1006
1393
  localVarQueryParameters['signatureValidity'] = models_1.ObjectSerializer.serialize(queryParams.signatureValidity, "'both' | 'valid' | 'invalid'");
1007
1394
  }
1008
- if (queryParams.includeDisabled !== undefined) {
1395
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.includeDisabled) !== undefined) {
1009
1396
  localVarQueryParameters['includeDisabled'] = models_1.ObjectSerializer.serialize(queryParams.includeDisabled, "'both' | 'enabled' | 'disabled'");
1010
1397
  }
1011
- if (queryParams.search !== undefined) {
1398
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.search) !== undefined) {
1012
1399
  localVarQueryParameters['search'] = models_1.ObjectSerializer.serialize(queryParams.search, "string");
1013
1400
  }
1014
1401
  Object.assign(localVarHeaderParams, options.headers);
@@ -1703,6 +2090,85 @@ class RawDataApi {
1703
2090
  });
1704
2091
  });
1705
2092
  }
2093
+ /**
2094
+ * Get proposed changes from an AI Actions job.
2095
+ * @summary Get AI Actions proposed changes
2096
+ * @param projectId Project ID
2097
+ * @param jobId Job ID
2098
+ */
2099
+ async getAIActionsProposedChanges(projectId, jobId, options = { headers: {} }) {
2100
+ const localVarPath = this.basePath + '/api/{projectId}/raw-data/ai-actions-preview/{jobId}/proposed-changes'
2101
+ .replace('{' + 'projectId' + '}', encodeURIComponent(String(projectId)))
2102
+ .replace('{' + 'jobId' + '}', encodeURIComponent(String(jobId)));
2103
+ let localVarQueryParameters = {};
2104
+ let localVarHeaderParams = Object.assign({
2105
+ 'User-Agent': 'edgeimpulse-api nodejs'
2106
+ }, this.defaultHeaders);
2107
+ const produces = ['application/json'];
2108
+ // give precedence to 'application/json'
2109
+ if (produces.indexOf('application/json') >= 0) {
2110
+ localVarHeaderParams.Accept = 'application/json';
2111
+ }
2112
+ else {
2113
+ localVarHeaderParams.Accept = produces.join(',');
2114
+ }
2115
+ let localVarFormParams = {};
2116
+ // verify required parameter 'projectId' is not null or undefined
2117
+ if (projectId === null || projectId === undefined) {
2118
+ throw new Error('Required parameter projectId was null or undefined when calling getAIActionsProposedChanges.');
2119
+ }
2120
+ // verify required parameter 'jobId' is not null or undefined
2121
+ if (jobId === null || jobId === undefined) {
2122
+ throw new Error('Required parameter jobId was null or undefined when calling getAIActionsProposedChanges.');
2123
+ }
2124
+ Object.assign(localVarHeaderParams, options.headers);
2125
+ Object.assign(localVarHeaderParams, this.opts.extraHeaders);
2126
+ let localVarUseFormData = false;
2127
+ let localVarRequestOptions = {
2128
+ method: 'GET',
2129
+ qs: localVarQueryParameters,
2130
+ headers: localVarHeaderParams,
2131
+ uri: localVarPath,
2132
+ useQuerystring: this._useQuerystring,
2133
+ agentOptions: { keepAlive: false },
2134
+ json: true,
2135
+ };
2136
+ let authenticationPromise = Promise.resolve();
2137
+ authenticationPromise = authenticationPromise.then(() => this.authentications.ApiKeyAuthentication.applyToRequest(localVarRequestOptions));
2138
+ authenticationPromise = authenticationPromise.then(() => this.authentications.JWTAuthentication.applyToRequest(localVarRequestOptions));
2139
+ authenticationPromise = authenticationPromise.then(() => this.authentications.JWTHttpHeaderAuthentication.applyToRequest(localVarRequestOptions));
2140
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
2141
+ return authenticationPromise.then(() => {
2142
+ if (Object.keys(localVarFormParams).length) {
2143
+ if (localVarUseFormData) {
2144
+ localVarRequestOptions.formData = localVarFormParams;
2145
+ }
2146
+ else {
2147
+ localVarRequestOptions.form = localVarFormParams;
2148
+ }
2149
+ }
2150
+ return new Promise((resolve, reject) => {
2151
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
2152
+ if (error) {
2153
+ reject(error);
2154
+ }
2155
+ else {
2156
+ body = models_1.ObjectSerializer.deserialize(body, "GetAIActionsProposedChangesResponse");
2157
+ const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
2158
+ if (typeof body.success === 'boolean' && !body.success) {
2159
+ reject(new Error(body.error || errString));
2160
+ }
2161
+ else if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
2162
+ resolve(body);
2163
+ }
2164
+ else {
2165
+ reject(errString);
2166
+ }
2167
+ }
2168
+ });
2169
+ });
2170
+ });
2171
+ }
1706
2172
  /**
1707
2173
  * Lists all data with an \'imported from\' metadata key. Used to check in a data source which items are already in a project.
1708
2174
  * @summary List data with \"imported from\" metadata key
@@ -1730,10 +2196,10 @@ class RawDataApi {
1730
2196
  if (projectId === null || projectId === undefined) {
1731
2197
  throw new Error('Required parameter projectId was null or undefined when calling getAllImportedFrom.');
1732
2198
  }
1733
- if (queryParams.limit !== undefined) {
2199
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.limit) !== undefined) {
1734
2200
  localVarQueryParameters['limit'] = models_1.ObjectSerializer.serialize(queryParams.limit, "number");
1735
2201
  }
1736
- if (queryParams.offset !== undefined) {
2202
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.offset) !== undefined) {
1737
2203
  localVarQueryParameters['offset'] = models_1.ObjectSerializer.serialize(queryParams.offset, "number");
1738
2204
  }
1739
2205
  Object.assign(localVarHeaderParams, options.headers);
@@ -1887,7 +2353,7 @@ class RawDataApi {
1887
2353
  if (queryParams.image === null || queryParams.image === undefined) {
1888
2354
  throw new Error('Required parameter queryParams.image was null or undefined when calling getAutoLabelerImage.');
1889
2355
  }
1890
- if (queryParams.image !== undefined) {
2356
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.image) !== undefined) {
1891
2357
  localVarQueryParameters['image'] = models_1.ObjectSerializer.serialize(queryParams.image, "string");
1892
2358
  }
1893
2359
  Object.assign(localVarHeaderParams, options.headers);
@@ -2535,6 +3001,7 @@ class RawDataApi {
2535
3001
  * @param sampleId Sample ID
2536
3002
  * @param limitPayloadValues Limit the number of payload values in the response
2537
3003
  * @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).
3004
+ * @param impulseId Impulse ID. If this is unset then the default impulse is used.
2538
3005
  */
2539
3006
  async getSample(projectId, sampleId, queryParams, options = { headers: {} }) {
2540
3007
  const localVarPath = this.basePath + '/api/{projectId}/raw-data/{sampleId}'
@@ -2561,12 +3028,15 @@ class RawDataApi {
2561
3028
  if (sampleId === null || sampleId === undefined) {
2562
3029
  throw new Error('Required parameter sampleId was null or undefined when calling getSample.');
2563
3030
  }
2564
- if (queryParams.limitPayloadValues !== undefined) {
3031
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.limitPayloadValues) !== undefined) {
2565
3032
  localVarQueryParameters['limitPayloadValues'] = models_1.ObjectSerializer.serialize(queryParams.limitPayloadValues, "number");
2566
3033
  }
2567
- if (queryParams.cacheKey !== undefined) {
3034
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.cacheKey) !== undefined) {
2568
3035
  localVarQueryParameters['cacheKey'] = models_1.ObjectSerializer.serialize(queryParams.cacheKey, "string");
2569
3036
  }
3037
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.impulseId) !== undefined) {
3038
+ localVarQueryParameters['impulseId'] = models_1.ObjectSerializer.serialize(queryParams.impulseId, "number");
3039
+ }
2570
3040
  Object.assign(localVarHeaderParams, options.headers);
2571
3041
  Object.assign(localVarHeaderParams, this.opts.extraHeaders);
2572
3042
  let localVarUseFormData = false;
@@ -2654,16 +3124,16 @@ class RawDataApi {
2654
3124
  if (queryParams.axisIx === null || queryParams.axisIx === undefined) {
2655
3125
  throw new Error('Required parameter queryParams.axisIx was null or undefined when calling getSampleAsAudio.');
2656
3126
  }
2657
- if (queryParams.axisIx !== undefined) {
3127
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.axisIx) !== undefined) {
2658
3128
  localVarQueryParameters['axisIx'] = models_1.ObjectSerializer.serialize(queryParams.axisIx, "number");
2659
3129
  }
2660
- if (queryParams.sliceStart !== undefined) {
3130
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.sliceStart) !== undefined) {
2661
3131
  localVarQueryParameters['sliceStart'] = models_1.ObjectSerializer.serialize(queryParams.sliceStart, "number");
2662
3132
  }
2663
- if (queryParams.sliceEnd !== undefined) {
3133
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.sliceEnd) !== undefined) {
2664
3134
  localVarQueryParameters['sliceEnd'] = models_1.ObjectSerializer.serialize(queryParams.sliceEnd, "number");
2665
3135
  }
2666
- if (queryParams.cacheKey !== undefined) {
3136
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.cacheKey) !== undefined) {
2667
3137
  localVarQueryParameters['cacheKey'] = models_1.ObjectSerializer.serialize(queryParams.cacheKey, "string");
2668
3138
  }
2669
3139
  Object.assign(localVarHeaderParams, options.headers);
@@ -2721,6 +3191,7 @@ class RawDataApi {
2721
3191
  * @param sampleId Sample ID
2722
3192
  * @param afterInputBlock Whether to process the image through the input block first
2723
3193
  * @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).
3194
+ * @param impulseId Impulse ID. If this is unset then the default impulse is used.
2724
3195
  */
2725
3196
  async getSampleAsImage(projectId, sampleId, queryParams, options = { headers: {} }) {
2726
3197
  const localVarPath = this.basePath + '/api/{projectId}/raw-data/{sampleId}/image'
@@ -2747,12 +3218,15 @@ class RawDataApi {
2747
3218
  if (sampleId === null || sampleId === undefined) {
2748
3219
  throw new Error('Required parameter sampleId was null or undefined when calling getSampleAsImage.');
2749
3220
  }
2750
- if (queryParams.afterInputBlock !== undefined) {
3221
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.afterInputBlock) !== undefined) {
2751
3222
  localVarQueryParameters['afterInputBlock'] = models_1.ObjectSerializer.serialize(queryParams.afterInputBlock, "boolean");
2752
3223
  }
2753
- if (queryParams.cacheKey !== undefined) {
3224
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.cacheKey) !== undefined) {
2754
3225
  localVarQueryParameters['cacheKey'] = models_1.ObjectSerializer.serialize(queryParams.cacheKey, "string");
2755
3226
  }
3227
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.impulseId) !== undefined) {
3228
+ localVarQueryParameters['impulseId'] = models_1.ObjectSerializer.serialize(queryParams.impulseId, "number");
3229
+ }
2756
3230
  Object.assign(localVarHeaderParams, options.headers);
2757
3231
  Object.assign(localVarHeaderParams, this.opts.extraHeaders);
2758
3232
  let localVarUseFormData = false;
@@ -2887,6 +3361,7 @@ class RawDataApi {
2887
3361
  * @param sampleId Sample ID
2888
3362
  * @param afterInputBlock Whether to process the image through the input block first
2889
3363
  * @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).
3364
+ * @param impulseId Impulse ID. If this is unset then the default impulse is used.
2890
3365
  */
2891
3366
  async getSampleAsVideo(projectId, sampleId, queryParams, options = { headers: {} }) {
2892
3367
  const localVarPath = this.basePath + '/api/{projectId}/raw-data/{sampleId}/video'
@@ -2913,12 +3388,15 @@ class RawDataApi {
2913
3388
  if (sampleId === null || sampleId === undefined) {
2914
3389
  throw new Error('Required parameter sampleId was null or undefined when calling getSampleAsVideo.');
2915
3390
  }
2916
- if (queryParams.afterInputBlock !== undefined) {
3391
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.afterInputBlock) !== undefined) {
2917
3392
  localVarQueryParameters['afterInputBlock'] = models_1.ObjectSerializer.serialize(queryParams.afterInputBlock, "boolean");
2918
3393
  }
2919
- if (queryParams.cacheKey !== undefined) {
3394
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.cacheKey) !== undefined) {
2920
3395
  localVarQueryParameters['cacheKey'] = models_1.ObjectSerializer.serialize(queryParams.cacheKey, "string");
2921
3396
  }
3397
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.impulseId) !== undefined) {
3398
+ localVarQueryParameters['impulseId'] = models_1.ObjectSerializer.serialize(queryParams.impulseId, "number");
3399
+ }
2922
3400
  Object.assign(localVarHeaderParams, options.headers);
2923
3401
  Object.assign(localVarHeaderParams, this.opts.extraHeaders);
2924
3402
  let localVarUseFormData = false;
@@ -2997,7 +3475,7 @@ class RawDataApi {
2997
3475
  if (queryParams.category === null || queryParams.category === undefined) {
2998
3476
  throw new Error('Required parameter queryParams.category was null or undefined when calling getSampleMetadata.');
2999
3477
  }
3000
- if (queryParams.category !== undefined) {
3478
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.category) !== undefined) {
3001
3479
  localVarQueryParameters['category'] = models_1.ObjectSerializer.serialize(queryParams.category, "'training' | 'testing' | 'anomaly'");
3002
3480
  }
3003
3481
  Object.assign(localVarHeaderParams, options.headers);
@@ -3055,6 +3533,7 @@ class RawDataApi {
3055
3533
  * @param sampleId Sample ID
3056
3534
  * @param sliceStart Begin index of the slice
3057
3535
  * @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.
3536
+ * @param impulseId Impulse ID. If this is unset then the default impulse is used.
3058
3537
  */
3059
3538
  async getSampleSlice(projectId, sampleId, queryParams, options = { headers: {} }) {
3060
3539
  const localVarPath = this.basePath + '/api/{projectId}/raw-data/{sampleId}/slice'
@@ -3085,12 +3564,15 @@ class RawDataApi {
3085
3564
  if (queryParams.sliceStart === null || queryParams.sliceStart === undefined) {
3086
3565
  throw new Error('Required parameter queryParams.sliceStart was null or undefined when calling getSampleSlice.');
3087
3566
  }
3088
- if (queryParams.sliceStart !== undefined) {
3567
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.sliceStart) !== undefined) {
3089
3568
  localVarQueryParameters['sliceStart'] = models_1.ObjectSerializer.serialize(queryParams.sliceStart, "number");
3090
3569
  }
3091
- if (queryParams.sliceEnd !== undefined) {
3570
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.sliceEnd) !== undefined) {
3092
3571
  localVarQueryParameters['sliceEnd'] = models_1.ObjectSerializer.serialize(queryParams.sliceEnd, "number");
3093
3572
  }
3573
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.impulseId) !== undefined) {
3574
+ localVarQueryParameters['impulseId'] = models_1.ObjectSerializer.serialize(queryParams.impulseId, "number");
3575
+ }
3094
3576
  Object.assign(localVarHeaderParams, options.headers);
3095
3577
  Object.assign(localVarHeaderParams, this.opts.extraHeaders);
3096
3578
  let localVarUseFormData = false;
@@ -3147,6 +3629,7 @@ class RawDataApi {
3147
3629
  * @param limitPayloadValues Limit the number of payload values in the response
3148
3630
  * @param zoomStart Zoom into the sample, with the focus starting at this index
3149
3631
  * @param zoomEnd Zoom into the sample, with the focus ending at this index
3632
+ * @param impulseId Impulse ID. If this is unset then the default impulse is used.
3150
3633
  */
3151
3634
  async getUncroppedDownsampledSample(projectId, sampleId, queryParams, options = { headers: {} }) {
3152
3635
  const localVarPath = this.basePath + '/api/{projectId}/raw-data/{sampleId}/original'
@@ -3173,15 +3656,18 @@ class RawDataApi {
3173
3656
  if (sampleId === null || sampleId === undefined) {
3174
3657
  throw new Error('Required parameter sampleId was null or undefined when calling getUncroppedDownsampledSample.');
3175
3658
  }
3176
- if (queryParams.limitPayloadValues !== undefined) {
3659
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.limitPayloadValues) !== undefined) {
3177
3660
  localVarQueryParameters['limitPayloadValues'] = models_1.ObjectSerializer.serialize(queryParams.limitPayloadValues, "number");
3178
3661
  }
3179
- if (queryParams.zoomStart !== undefined) {
3662
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.zoomStart) !== undefined) {
3180
3663
  localVarQueryParameters['zoomStart'] = models_1.ObjectSerializer.serialize(queryParams.zoomStart, "number");
3181
3664
  }
3182
- if (queryParams.zoomEnd !== undefined) {
3665
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.zoomEnd) !== undefined) {
3183
3666
  localVarQueryParameters['zoomEnd'] = models_1.ObjectSerializer.serialize(queryParams.zoomEnd, "number");
3184
3667
  }
3668
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.impulseId) !== undefined) {
3669
+ localVarQueryParameters['impulseId'] = models_1.ObjectSerializer.serialize(queryParams.impulseId, "number");
3670
+ }
3185
3671
  Object.assign(localVarHeaderParams, options.headers);
3186
3672
  Object.assign(localVarHeaderParams, this.opts.extraHeaders);
3187
3673
  let localVarUseFormData = false;
@@ -3491,43 +3977,43 @@ class RawDataApi {
3491
3977
  if (queryParams.category === null || queryParams.category === undefined) {
3492
3978
  throw new Error('Required parameter queryParams.category was null or undefined when calling listSamples.');
3493
3979
  }
3494
- if (queryParams.category !== undefined) {
3980
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.category) !== undefined) {
3495
3981
  localVarQueryParameters['category'] = models_1.ObjectSerializer.serialize(queryParams.category, "'training' | 'testing' | 'anomaly'");
3496
3982
  }
3497
- if (queryParams.limit !== undefined) {
3983
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.limit) !== undefined) {
3498
3984
  localVarQueryParameters['limit'] = models_1.ObjectSerializer.serialize(queryParams.limit, "number");
3499
3985
  }
3500
- if (queryParams.offset !== undefined) {
3986
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.offset) !== undefined) {
3501
3987
  localVarQueryParameters['offset'] = models_1.ObjectSerializer.serialize(queryParams.offset, "number");
3502
3988
  }
3503
- if (queryParams.excludeSensors !== undefined) {
3989
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.excludeSensors) !== undefined) {
3504
3990
  localVarQueryParameters['excludeSensors'] = models_1.ObjectSerializer.serialize(queryParams.excludeSensors, "boolean");
3505
3991
  }
3506
- if (queryParams.labels !== undefined) {
3992
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.labels) !== undefined) {
3507
3993
  localVarQueryParameters['labels'] = models_1.ObjectSerializer.serialize(queryParams.labels, "string");
3508
3994
  }
3509
- if (queryParams.filename !== undefined) {
3995
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.filename) !== undefined) {
3510
3996
  localVarQueryParameters['filename'] = models_1.ObjectSerializer.serialize(queryParams.filename, "string");
3511
3997
  }
3512
- if (queryParams.maxLength !== undefined) {
3998
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.maxLength) !== undefined) {
3513
3999
  localVarQueryParameters['maxLength'] = models_1.ObjectSerializer.serialize(queryParams.maxLength, "number");
3514
4000
  }
3515
- if (queryParams.minLength !== undefined) {
4001
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.minLength) !== undefined) {
3516
4002
  localVarQueryParameters['minLength'] = models_1.ObjectSerializer.serialize(queryParams.minLength, "number");
3517
4003
  }
3518
- if (queryParams.minFrequency !== undefined) {
4004
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.minFrequency) !== undefined) {
3519
4005
  localVarQueryParameters['minFrequency'] = models_1.ObjectSerializer.serialize(queryParams.minFrequency, "number");
3520
4006
  }
3521
- if (queryParams.maxFrequency !== undefined) {
4007
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.maxFrequency) !== undefined) {
3522
4008
  localVarQueryParameters['maxFrequency'] = models_1.ObjectSerializer.serialize(queryParams.maxFrequency, "number");
3523
4009
  }
3524
- if (queryParams.signatureValidity !== undefined) {
4010
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.signatureValidity) !== undefined) {
3525
4011
  localVarQueryParameters['signatureValidity'] = models_1.ObjectSerializer.serialize(queryParams.signatureValidity, "'both' | 'valid' | 'invalid'");
3526
4012
  }
3527
- if (queryParams.includeDisabled !== undefined) {
4013
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.includeDisabled) !== undefined) {
3528
4014
  localVarQueryParameters['includeDisabled'] = models_1.ObjectSerializer.serialize(queryParams.includeDisabled, "'both' | 'enabled' | 'disabled'");
3529
4015
  }
3530
- if (queryParams.search !== undefined) {
4016
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.search) !== undefined) {
3531
4017
  localVarQueryParameters['search'] = models_1.ObjectSerializer.serialize(queryParams.search, "string");
3532
4018
  }
3533
4019
  Object.assign(localVarHeaderParams, options.headers);
@@ -4471,6 +4957,91 @@ class RawDataApi {
4471
4957
  });
4472
4958
  });
4473
4959
  }
4960
+ /**
4961
+ * Queue up changes to an object as part of the AI Actions flow. This overwrites any previous proposed changes.
4962
+ * @summary Propose changes
4963
+ * @param projectId Project ID
4964
+ * @param sampleId Sample ID
4965
+ * @param setSampleProposedChangesRequest
4966
+ */
4967
+ async setSampleProposedChanges(projectId, sampleId, setSampleProposedChangesRequest, options = { headers: {} }) {
4968
+ const localVarPath = this.basePath + '/api/{projectId}/raw-data/{sampleId}/propose-changes'
4969
+ .replace('{' + 'projectId' + '}', encodeURIComponent(String(projectId)))
4970
+ .replace('{' + 'sampleId' + '}', encodeURIComponent(String(sampleId)));
4971
+ let localVarQueryParameters = {};
4972
+ let localVarHeaderParams = Object.assign({
4973
+ 'User-Agent': 'edgeimpulse-api nodejs'
4974
+ }, this.defaultHeaders);
4975
+ const produces = ['application/json'];
4976
+ // give precedence to 'application/json'
4977
+ if (produces.indexOf('application/json') >= 0) {
4978
+ localVarHeaderParams.Accept = 'application/json';
4979
+ }
4980
+ else {
4981
+ localVarHeaderParams.Accept = produces.join(',');
4982
+ }
4983
+ let localVarFormParams = {};
4984
+ // verify required parameter 'projectId' is not null or undefined
4985
+ if (projectId === null || projectId === undefined) {
4986
+ throw new Error('Required parameter projectId was null or undefined when calling setSampleProposedChanges.');
4987
+ }
4988
+ // verify required parameter 'sampleId' is not null or undefined
4989
+ if (sampleId === null || sampleId === undefined) {
4990
+ throw new Error('Required parameter sampleId was null or undefined when calling setSampleProposedChanges.');
4991
+ }
4992
+ // verify required parameter 'setSampleProposedChangesRequest' is not null or undefined
4993
+ if (setSampleProposedChangesRequest === null || setSampleProposedChangesRequest === undefined) {
4994
+ throw new Error('Required parameter setSampleProposedChangesRequest was null or undefined when calling setSampleProposedChanges.');
4995
+ }
4996
+ Object.assign(localVarHeaderParams, options.headers);
4997
+ Object.assign(localVarHeaderParams, this.opts.extraHeaders);
4998
+ let localVarUseFormData = false;
4999
+ let localVarRequestOptions = {
5000
+ method: 'POST',
5001
+ qs: localVarQueryParameters,
5002
+ headers: localVarHeaderParams,
5003
+ uri: localVarPath,
5004
+ useQuerystring: this._useQuerystring,
5005
+ agentOptions: { keepAlive: false },
5006
+ json: true,
5007
+ body: models_1.ObjectSerializer.serialize(setSampleProposedChangesRequest, "SetSampleProposedChangesRequest")
5008
+ };
5009
+ let authenticationPromise = Promise.resolve();
5010
+ authenticationPromise = authenticationPromise.then(() => this.authentications.ApiKeyAuthentication.applyToRequest(localVarRequestOptions));
5011
+ authenticationPromise = authenticationPromise.then(() => this.authentications.JWTAuthentication.applyToRequest(localVarRequestOptions));
5012
+ authenticationPromise = authenticationPromise.then(() => this.authentications.JWTHttpHeaderAuthentication.applyToRequest(localVarRequestOptions));
5013
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
5014
+ return authenticationPromise.then(() => {
5015
+ if (Object.keys(localVarFormParams).length) {
5016
+ if (localVarUseFormData) {
5017
+ localVarRequestOptions.formData = localVarFormParams;
5018
+ }
5019
+ else {
5020
+ localVarRequestOptions.form = localVarFormParams;
5021
+ }
5022
+ }
5023
+ return new Promise((resolve, reject) => {
5024
+ localVarRequest(localVarRequestOptions, (error, response, body) => {
5025
+ if (error) {
5026
+ reject(error);
5027
+ }
5028
+ else {
5029
+ body = models_1.ObjectSerializer.deserialize(body, "GenericApiResponse");
5030
+ const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
5031
+ if (typeof body.success === 'boolean' && !body.success) {
5032
+ reject(new Error(body.error || errString));
5033
+ }
5034
+ else if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
5035
+ resolve(body);
5036
+ }
5037
+ else {
5038
+ reject(errString);
5039
+ }
5040
+ }
5041
+ });
5042
+ });
5043
+ });
5044
+ }
4474
5045
  /**
4475
5046
  * Set structured labels for a sample. If a sample has structured labels the `label` column is ignored, and the sample is allowed to have multiple labels. An array of { startIndex, endIndex, label } needs to be passed in with labels for the complete sample (see `valuesCount` to get the upper bound). endIndex is _inclusive_. If you pass in an incorrect array (e.g. missing values) you\'ll get an error back.
4476
5047
  * @summary Update structured labels