edge-impulse-linux 1.11.0 → 1.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (168) hide show
  1. package/build/cli/linux/runner.js +31 -4
  2. package/build/cli/linux/runner.js.map +1 -1
  3. package/build/cli-common/aws-iotcore-connector.d.ts +97 -6
  4. package/build/cli-common/aws-iotcore-connector.js +952 -61
  5. package/build/cli-common/aws-iotcore-connector.js.map +1 -1
  6. package/build/cli-common/init-cli-app.js +5 -3
  7. package/build/cli-common/init-cli-app.js.map +1 -1
  8. package/build/sdk/studio/sdk/api/adminApi.d.ts +162 -8
  9. package/build/sdk/studio/sdk/api/adminApi.js +874 -7
  10. package/build/sdk/studio/sdk/api/adminApi.js.map +1 -1
  11. package/build/sdk/studio/sdk/api/learnApi.d.ts +5 -1
  12. package/build/sdk/studio/sdk/api/learnApi.js +5 -1
  13. package/build/sdk/studio/sdk/api/learnApi.js.map +1 -1
  14. package/build/sdk/studio/sdk/api/organizationBlocksApi.d.ts +6 -10
  15. package/build/sdk/studio/sdk/api/organizationBlocksApi.js +5 -5
  16. package/build/sdk/studio/sdk/api/organizationBlocksApi.js.map +1 -1
  17. package/build/sdk/studio/sdk/api/organizationDataApi.d.ts +3 -2
  18. package/build/sdk/studio/sdk/api/organizationDataApi.js +2 -2
  19. package/build/sdk/studio/sdk/api/organizationDataApi.js.map +1 -1
  20. package/build/sdk/studio/sdk/api/organizationPipelinesApi.d.ts +2 -2
  21. package/build/sdk/studio/sdk/api/organizationPipelinesApi.js +1 -1
  22. package/build/sdk/studio/sdk/api/organizationPipelinesApi.js.map +1 -1
  23. package/build/sdk/studio/sdk/api/organizationsApi.d.ts +11 -10
  24. package/build/sdk/studio/sdk/api/organizationsApi.js +8 -8
  25. package/build/sdk/studio/sdk/api/organizationsApi.js.map +1 -1
  26. package/build/sdk/studio/sdk/api/projectsApi.d.ts +6 -5
  27. package/build/sdk/studio/sdk/api/projectsApi.js +4 -4
  28. package/build/sdk/studio/sdk/api/projectsApi.js.map +1 -1
  29. package/build/sdk/studio/sdk/api/rawDataApi.d.ts +42 -2
  30. package/build/sdk/studio/sdk/api/rawDataApi.js +82 -2
  31. package/build/sdk/studio/sdk/api/rawDataApi.js.map +1 -1
  32. package/build/sdk/studio/sdk/model/addApiKeyRequest.d.ts +2 -2
  33. package/build/sdk/studio/sdk/model/{addOrganizationSecretResponse.d.ts → addApiKeyResponse.d.ts} +6 -2
  34. package/build/sdk/studio/sdk/model/{createPipelineResponse.js → addApiKeyResponse.js} +12 -7
  35. package/build/sdk/studio/sdk/model/addApiKeyResponse.js.map +1 -0
  36. package/build/sdk/studio/sdk/model/{addOrganizationSecretResponseAllOf.d.ts → addApiKeyResponseAllOf.d.ts} +6 -2
  37. package/build/sdk/studio/sdk/model/{addOrganizationSecretResponseAllOf.js → addApiKeyResponseAllOf.js} +12 -7
  38. package/build/sdk/studio/sdk/model/addApiKeyResponseAllOf.js.map +1 -0
  39. package/build/sdk/studio/sdk/model/addOrganizationApiKeyRequest.d.ts +2 -2
  40. package/build/sdk/studio/sdk/model/addProjectApiKeyRequest.d.ts +2 -2
  41. package/build/sdk/studio/sdk/model/adminAddOrganizationApiKeyRequest.d.ts +2 -2
  42. package/build/sdk/studio/sdk/model/adminAddProjectApiKeyRequest.d.ts +2 -2
  43. package/build/sdk/studio/sdk/model/adminApiOrganization.d.ts +4 -0
  44. package/build/sdk/studio/sdk/model/adminApiOrganization.js +5 -0
  45. package/build/sdk/studio/sdk/model/adminApiOrganization.js.map +1 -1
  46. package/build/sdk/studio/sdk/model/adminApiProject.d.ts +1 -0
  47. package/build/sdk/studio/sdk/model/adminApiProject.js +5 -0
  48. package/build/sdk/studio/sdk/model/adminApiProject.js.map +1 -1
  49. package/build/sdk/studio/sdk/model/{addOrganizationTransferLearningBlockResponse.d.ts → adminGetTrashBinResponse.d.ts} +7 -2
  50. package/build/sdk/studio/sdk/model/{addOrganizationSecretResponse.js → adminGetTrashBinResponse.js} +14 -9
  51. package/build/sdk/studio/sdk/model/adminGetTrashBinResponse.js.map +1 -0
  52. package/build/sdk/studio/sdk/model/adminGetTrashBinResponseAllOf.d.ts +33 -0
  53. package/build/sdk/studio/sdk/model/adminGetTrashBinResponseAllOf.js +37 -0
  54. package/build/sdk/studio/sdk/model/adminGetTrashBinResponseAllOf.js.map +1 -0
  55. package/build/sdk/studio/sdk/model/adminGetUsersResponseAllOfUsers.d.ts +1 -0
  56. package/build/sdk/studio/sdk/model/adminGetUsersResponseAllOfUsers.js +5 -0
  57. package/build/sdk/studio/sdk/model/adminGetUsersResponseAllOfUsers.js.map +1 -1
  58. package/build/sdk/studio/sdk/model/{addOrganizationDeployBlockResponse.d.ts → adminProjectInfoResponse.d.ts} +3 -2
  59. package/build/sdk/studio/sdk/model/{createAIActionResponse.js → adminProjectInfoResponse.js} +10 -10
  60. package/build/sdk/studio/sdk/model/adminProjectInfoResponse.js.map +1 -0
  61. package/build/sdk/studio/sdk/model/{dspRunResponseAllOfPerformance.d.ts → adminProjectInfoResponseAllOf.d.ts} +3 -3
  62. package/build/sdk/studio/sdk/model/adminProjectInfoResponseAllOf.js +29 -0
  63. package/build/sdk/studio/sdk/model/adminProjectInfoResponseAllOf.js.map +1 -0
  64. package/build/sdk/studio/sdk/model/createEnterpriseTrialResponse.d.ts +2 -2
  65. package/build/sdk/studio/sdk/model/dSPConfig.d.ts +1 -1
  66. package/build/sdk/studio/sdk/model/dSPConfigResponse.d.ts +1 -1
  67. package/build/sdk/studio/sdk/model/dSPInfo.d.ts +2 -2
  68. package/build/sdk/studio/sdk/model/dSPInfo.js +1 -1
  69. package/build/sdk/studio/sdk/model/dSPInfo.js.map +1 -1
  70. package/build/sdk/studio/sdk/model/deploymentTarget.d.ts +4 -0
  71. package/build/sdk/studio/sdk/model/deploymentTarget.js +5 -0
  72. package/build/sdk/studio/sdk/model/deploymentTarget.js.map +1 -1
  73. package/build/sdk/studio/sdk/model/deploymentTargetEngine.d.ts +1 -1
  74. package/build/sdk/studio/sdk/model/deploymentTargetEngine.js +1 -1
  75. package/build/sdk/studio/sdk/model/deploymentTargetEngine.js.map +1 -1
  76. package/build/sdk/studio/sdk/model/{addOrganizationDspBlockResponse.d.ts → dspPerformance.d.ts} +5 -8
  77. package/build/sdk/studio/sdk/model/{dspRunResponseAllOfPerformance.js → dspPerformance.js} +12 -7
  78. package/build/sdk/studio/sdk/model/dspPerformance.js.map +1 -0
  79. package/build/sdk/studio/sdk/model/dspRunResponse.d.ts +2 -2
  80. package/build/sdk/studio/sdk/model/dspRunResponse.js +1 -1
  81. package/build/sdk/studio/sdk/model/dspRunResponse.js.map +1 -1
  82. package/build/sdk/studio/sdk/model/dspRunResponseAllOf.d.ts +2 -2
  83. package/build/sdk/studio/sdk/model/dspRunResponseAllOf.js +1 -1
  84. package/build/sdk/studio/sdk/model/dspRunResponseAllOf.js.map +1 -1
  85. package/build/sdk/studio/sdk/model/dspRunResponseWithSample.d.ts +2 -2
  86. package/build/sdk/studio/sdk/model/dspRunResponseWithSample.js +1 -1
  87. package/build/sdk/studio/sdk/model/dspRunResponseWithSample.js.map +1 -1
  88. package/build/sdk/studio/sdk/model/dspRunResponseWithSampleAllOf.d.ts +2 -2
  89. package/build/sdk/studio/sdk/model/dspRunResponseWithSampleAllOf.js +1 -1
  90. package/build/sdk/studio/sdk/model/dspRunResponseWithSampleAllOf.js.map +1 -1
  91. package/build/sdk/studio/sdk/model/entityCreatedResponse.d.ts +2 -2
  92. package/build/sdk/studio/sdk/model/entityCreatedResponseAllOf.d.ts +2 -2
  93. package/build/sdk/studio/sdk/model/feature.d.ts +1 -1
  94. package/build/sdk/studio/sdk/model/feature.js +1 -1
  95. package/build/sdk/studio/sdk/model/feature.js.map +1 -1
  96. package/build/sdk/studio/sdk/model/findSyntiantPosteriorRequest.d.ts +1 -1
  97. package/build/sdk/studio/sdk/model/findSyntiantPosteriorRequest.js +1 -1
  98. package/build/sdk/studio/sdk/model/findSyntiantPosteriorRequest.js.map +1 -1
  99. package/build/sdk/studio/sdk/model/models.d.ts +11 -11
  100. package/build/sdk/studio/sdk/model/models.js +36 -33
  101. package/build/sdk/studio/sdk/model/models.js.map +1 -1
  102. package/build/sdk/studio/sdk/model/objectDetectionLabelQueueResponse.d.ts +2 -2
  103. package/build/sdk/studio/sdk/model/objectDetectionLabelQueueResponse.js +1 -1
  104. package/build/sdk/studio/sdk/model/objectDetectionLabelQueueResponse.js.map +1 -1
  105. package/build/sdk/studio/sdk/model/objectDetectionLabelQueueResponseAllOf.d.ts +2 -2
  106. package/build/sdk/studio/sdk/model/objectDetectionLabelQueueResponseAllOf.js +1 -1
  107. package/build/sdk/studio/sdk/model/objectDetectionLabelQueueResponseAllOf.js.map +1 -1
  108. package/build/sdk/studio/sdk/model/{addOrganizationTransformationBlockResponseAllOf.d.ts → objectDetectionLabelQueueResponseAllOfSamples.d.ts} +1 -1
  109. package/build/sdk/studio/sdk/model/{addOrganizationTransformationBlockResponseAllOf.js → objectDetectionLabelQueueResponseAllOfSamples.js} +7 -7
  110. package/build/sdk/studio/sdk/model/objectDetectionLabelQueueResponseAllOfSamples.js.map +1 -0
  111. package/build/sdk/studio/sdk/model/optimizeConfig.d.ts +13 -2
  112. package/build/sdk/studio/sdk/model/optimizeConfig.js +16 -1
  113. package/build/sdk/studio/sdk/model/optimizeConfig.js.map +1 -1
  114. package/build/sdk/studio/sdk/model/{createAIActionResponse.d.ts → optimizeConfigOptimizationObjectives.d.ts} +9 -6
  115. package/build/sdk/studio/sdk/model/optimizeConfigOptimizationObjectives.js +39 -0
  116. package/build/sdk/studio/sdk/model/optimizeConfigOptimizationObjectives.js.map +1 -0
  117. package/build/sdk/studio/sdk/model/optimizeConfigResponse.d.ts +13 -2
  118. package/build/sdk/studio/sdk/model/optimizeConfigResponse.js +16 -1
  119. package/build/sdk/studio/sdk/model/optimizeConfigResponse.js.map +1 -1
  120. package/build/sdk/studio/sdk/model/optimizeConfigSearchSpaceSource.d.ts +45 -0
  121. package/build/sdk/studio/sdk/model/optimizeConfigSearchSpaceSource.js +48 -0
  122. package/build/sdk/studio/sdk/model/optimizeConfigSearchSpaceSource.js.map +1 -0
  123. package/build/sdk/studio/sdk/model/optimizeStateResponse.d.ts +6 -0
  124. package/build/sdk/studio/sdk/model/optimizeStateResponse.js +7 -1
  125. package/build/sdk/studio/sdk/model/optimizeStateResponse.js.map +1 -1
  126. package/build/sdk/studio/sdk/model/optimizeStateResponseAllOf.d.ts +6 -0
  127. package/build/sdk/studio/sdk/model/optimizeStateResponseAllOf.js +7 -1
  128. package/build/sdk/studio/sdk/model/optimizeStateResponseAllOf.js.map +1 -1
  129. package/build/sdk/studio/sdk/model/organization.d.ts +4 -0
  130. package/build/sdk/studio/sdk/model/organization.js +5 -0
  131. package/build/sdk/studio/sdk/model/organization.js.map +1 -1
  132. package/build/sdk/studio/sdk/model/permission.d.ts +1 -1
  133. package/build/sdk/studio/sdk/model/permission.js +1 -1
  134. package/build/sdk/studio/sdk/model/permission.js.map +1 -1
  135. package/build/sdk/studio/sdk/model/project.d.ts +7 -0
  136. package/build/sdk/studio/sdk/model/project.js +20 -0
  137. package/build/sdk/studio/sdk/model/project.js.map +1 -1
  138. package/build/sdk/studio/sdk/model/projectDeploymentTarget.d.ts +4 -0
  139. package/build/sdk/studio/sdk/model/projectDeploymentTarget.js +5 -0
  140. package/build/sdk/studio/sdk/model/projectDeploymentTarget.js.map +1 -1
  141. package/build/sdk/studio/sdk/model/socketTokenResponse.d.ts +1 -1
  142. package/build/sdk/studio/sdk/model/socketTokenResponseAllOf.d.ts +1 -1
  143. package/build/sdk/studio/sdk/model/trashBinEntity.d.ts +55 -0
  144. package/build/sdk/studio/sdk/model/trashBinEntity.js +62 -0
  145. package/build/sdk/studio/sdk/model/trashBinEntity.js.map +1 -0
  146. package/build/sdk/studio/sdk/model/tunerRun.d.ts +1 -0
  147. package/build/sdk/studio/sdk/model/tunerRun.js +5 -0
  148. package/build/sdk/studio/sdk/model/tunerRun.js.map +1 -1
  149. package/package.json +5 -1
  150. package/build/sdk/studio/sdk/model/addOrganizationDeployBlockResponse.js +0 -39
  151. package/build/sdk/studio/sdk/model/addOrganizationDeployBlockResponse.js.map +0 -1
  152. package/build/sdk/studio/sdk/model/addOrganizationDspBlockResponse.js +0 -39
  153. package/build/sdk/studio/sdk/model/addOrganizationDspBlockResponse.js.map +0 -1
  154. package/build/sdk/studio/sdk/model/addOrganizationSecretResponse.js.map +0 -1
  155. package/build/sdk/studio/sdk/model/addOrganizationSecretResponseAllOf.js.map +0 -1
  156. package/build/sdk/studio/sdk/model/addOrganizationTransferLearningBlockResponse.js +0 -39
  157. package/build/sdk/studio/sdk/model/addOrganizationTransferLearningBlockResponse.js.map +0 -1
  158. package/build/sdk/studio/sdk/model/addOrganizationTransformationBlockResponse.d.ts +0 -33
  159. package/build/sdk/studio/sdk/model/addOrganizationTransformationBlockResponse.js +0 -39
  160. package/build/sdk/studio/sdk/model/addOrganizationTransformationBlockResponse.js.map +0 -1
  161. package/build/sdk/studio/sdk/model/addOrganizationTransformationBlockResponseAllOf.js.map +0 -1
  162. package/build/sdk/studio/sdk/model/createAIActionResponse.js.map +0 -1
  163. package/build/sdk/studio/sdk/model/createPipelineResponse.d.ts +0 -33
  164. package/build/sdk/studio/sdk/model/createPipelineResponse.js.map +0 -1
  165. package/build/sdk/studio/sdk/model/developmentBoardCreatedResponse.d.ts +0 -33
  166. package/build/sdk/studio/sdk/model/developmentBoardCreatedResponse.js +0 -39
  167. package/build/sdk/studio/sdk/model/developmentBoardCreatedResponse.js.map +0 -1
  168. package/build/sdk/studio/sdk/model/dspRunResponseAllOfPerformance.js.map +0 -1
@@ -68,6 +68,8 @@ type batchAddMetadataQueryParams = {
68
68
  includeDisabled?: 'both' | 'enabled' | 'disabled';
69
69
  ids?: string;
70
70
  excludeIds?: string;
71
+ minLabel?: number;
72
+ maxLabel?: number;
71
73
  search?: string;
72
74
  };
73
75
  type batchClearMetadataQueryParams = {
@@ -82,6 +84,8 @@ type batchClearMetadataQueryParams = {
82
84
  includeDisabled?: 'both' | 'enabled' | 'disabled';
83
85
  ids?: string;
84
86
  excludeIds?: string;
87
+ minLabel?: number;
88
+ maxLabel?: number;
85
89
  search?: string;
86
90
  };
87
91
  type batchClearMetadataByKeyQueryParams = {
@@ -96,6 +100,8 @@ type batchClearMetadataByKeyQueryParams = {
96
100
  includeDisabled?: 'both' | 'enabled' | 'disabled';
97
101
  ids?: string;
98
102
  excludeIds?: string;
103
+ minLabel?: number;
104
+ maxLabel?: number;
99
105
  search?: string;
100
106
  };
101
107
  type batchDeleteQueryParams = {
@@ -110,6 +116,8 @@ type batchDeleteQueryParams = {
110
116
  includeDisabled?: 'both' | 'enabled' | 'disabled';
111
117
  ids?: string;
112
118
  excludeIds?: string;
119
+ minLabel?: number;
120
+ maxLabel?: number;
113
121
  search?: string;
114
122
  };
115
123
  type batchDisableQueryParams = {
@@ -124,6 +132,8 @@ type batchDisableQueryParams = {
124
132
  includeDisabled?: 'both' | 'enabled' | 'disabled';
125
133
  ids?: string;
126
134
  excludeIds?: string;
135
+ minLabel?: number;
136
+ maxLabel?: number;
127
137
  search?: string;
128
138
  };
129
139
  type batchEditLabelsQueryParams = {
@@ -138,6 +148,8 @@ type batchEditLabelsQueryParams = {
138
148
  includeDisabled?: 'both' | 'enabled' | 'disabled';
139
149
  ids?: string;
140
150
  excludeIds?: string;
151
+ minLabel?: number;
152
+ maxLabel?: number;
141
153
  search?: string;
142
154
  };
143
155
  type batchEnableQueryParams = {
@@ -152,6 +164,8 @@ type batchEnableQueryParams = {
152
164
  includeDisabled?: 'both' | 'enabled' | 'disabled';
153
165
  ids?: string;
154
166
  excludeIds?: string;
167
+ minLabel?: number;
168
+ maxLabel?: number;
155
169
  search?: string;
156
170
  };
157
171
  type batchMoveQueryParams = {
@@ -166,6 +180,8 @@ type batchMoveQueryParams = {
166
180
  includeDisabled?: 'both' | 'enabled' | 'disabled';
167
181
  ids?: string;
168
182
  excludeIds?: string;
183
+ minLabel?: number;
184
+ maxLabel?: number;
169
185
  search?: string;
170
186
  };
171
187
  type countSamplesQueryParams = {
@@ -178,6 +194,8 @@ type countSamplesQueryParams = {
178
194
  maxFrequency?: number;
179
195
  signatureValidity?: 'both' | 'valid' | 'invalid';
180
196
  includeDisabled?: 'both' | 'enabled' | 'disabled';
197
+ minLabel?: number;
198
+ maxLabel?: number;
181
199
  search?: string;
182
200
  };
183
201
  type getAllImportedFromQueryParams = {
@@ -233,6 +251,8 @@ type listSamplesQueryParams = {
233
251
  maxFrequency?: number;
234
252
  signatureValidity?: 'both' | 'valid' | 'invalid';
235
253
  includeDisabled?: 'both' | 'enabled' | 'disabled';
254
+ minLabel?: number;
255
+ maxLabel?: number;
236
256
  search?: string;
237
257
  proposedActionsJobId?: number;
238
258
  };
@@ -279,6 +299,8 @@ export declare class RawDataApi {
279
299
  * @param includeDisabled Include only enabled or disabled samples (or both)
280
300
  * @param ids Only include samples with an ID within the given list of IDs, given as a JSON string
281
301
  * @param excludeIds Exclude samples with an ID within the given list of IDs, given as a JSON string
302
+ * @param minLabel Only include samples with a label >= this value
303
+ * @param maxLabel Only include samples with a label < this value
282
304
  * @param search Search query
283
305
  */
284
306
  batchAddMetadata(projectId: number, batchAddMetadataRequest: BatchAddMetadataRequest, queryParams: batchAddMetadataQueryParams, options?: {
@@ -301,6 +323,8 @@ export declare class RawDataApi {
301
323
  * @param includeDisabled Include only enabled or disabled samples (or both)
302
324
  * @param ids Only include samples with an ID within the given list of IDs, given as a JSON string
303
325
  * @param excludeIds Exclude samples with an ID within the given list of IDs, given as a JSON string
326
+ * @param minLabel Only include samples with a label >= this value
327
+ * @param maxLabel Only include samples with a label < this value
304
328
  * @param search Search query
305
329
  */
306
330
  batchClearMetadata(projectId: number, queryParams: batchClearMetadataQueryParams, options?: {
@@ -324,6 +348,8 @@ export declare class RawDataApi {
324
348
  * @param includeDisabled Include only enabled or disabled samples (or both)
325
349
  * @param ids Only include samples with an ID within the given list of IDs, given as a JSON string
326
350
  * @param excludeIds Exclude samples with an ID within the given list of IDs, given as a JSON string
351
+ * @param minLabel Only include samples with a label >= this value
352
+ * @param maxLabel Only include samples with a label < this value
327
353
  * @param search Search query
328
354
  */
329
355
  batchClearMetadataByKey(projectId: number, batchClearMetadataByKeyRequest: BatchClearMetadataByKeyRequest, queryParams: batchClearMetadataByKeyQueryParams, options?: {
@@ -346,6 +372,8 @@ export declare class RawDataApi {
346
372
  * @param includeDisabled Include only enabled or disabled samples (or both)
347
373
  * @param ids Only include samples with an ID within the given list of IDs, given as a JSON string
348
374
  * @param excludeIds Exclude samples with an ID within the given list of IDs, given as a JSON string
375
+ * @param minLabel Only include samples with a label >= this value
376
+ * @param maxLabel Only include samples with a label < this value
349
377
  * @param search Search query
350
378
  */
351
379
  batchDelete(projectId: number, queryParams: batchDeleteQueryParams, options?: {
@@ -368,6 +396,8 @@ export declare class RawDataApi {
368
396
  * @param includeDisabled Include only enabled or disabled samples (or both)
369
397
  * @param ids Only include samples with an ID within the given list of IDs, given as a JSON string
370
398
  * @param excludeIds Exclude samples with an ID within the given list of IDs, given as a JSON string
399
+ * @param minLabel Only include samples with a label >= this value
400
+ * @param maxLabel Only include samples with a label < this value
371
401
  * @param search Search query
372
402
  */
373
403
  batchDisable(projectId: number, queryParams: batchDisableQueryParams, options?: {
@@ -391,6 +421,8 @@ export declare class RawDataApi {
391
421
  * @param includeDisabled Include only enabled or disabled samples (or both)
392
422
  * @param ids Only include samples with an ID within the given list of IDs, given as a JSON string
393
423
  * @param excludeIds Exclude samples with an ID within the given list of IDs, given as a JSON string
424
+ * @param minLabel Only include samples with a label >= this value
425
+ * @param maxLabel Only include samples with a label < this value
394
426
  * @param search Search query
395
427
  */
396
428
  batchEditLabels(projectId: number, editSampleLabelRequest: EditSampleLabelRequest, queryParams: batchEditLabelsQueryParams, options?: {
@@ -413,6 +445,8 @@ export declare class RawDataApi {
413
445
  * @param includeDisabled Include only enabled or disabled samples (or both)
414
446
  * @param ids Only include samples with an ID within the given list of IDs, given as a JSON string
415
447
  * @param excludeIds Exclude samples with an ID within the given list of IDs, given as a JSON string
448
+ * @param minLabel Only include samples with a label >= this value
449
+ * @param maxLabel Only include samples with a label < this value
416
450
  * @param search Search query
417
451
  */
418
452
  batchEnable(projectId: number, queryParams: batchEnableQueryParams, options?: {
@@ -436,6 +470,8 @@ export declare class RawDataApi {
436
470
  * @param includeDisabled Include only enabled or disabled samples (or both)
437
471
  * @param ids Only include samples with an ID within the given list of IDs, given as a JSON string
438
472
  * @param excludeIds Exclude samples with an ID within the given list of IDs, given as a JSON string
473
+ * @param minLabel Only include samples with a label >= this value
474
+ * @param maxLabel Only include samples with a label < this value
439
475
  * @param search Search query
440
476
  */
441
477
  batchMove(projectId: number, moveRawDataRequest: MoveRawDataRequest, queryParams: batchMoveQueryParams, options?: {
@@ -488,6 +524,8 @@ export declare class RawDataApi {
488
524
  * @param maxFrequency Only include samples with lower frequency than given frequency, in hertz
489
525
  * @param signatureValidity Include samples with either valid or invalid signatures
490
526
  * @param includeDisabled Include only enabled or disabled samples (or both)
527
+ * @param minLabel Only include samples with a label >= this value
528
+ * @param maxLabel Only include samples with a label < this value
491
529
  * @param search Search query
492
530
  */
493
531
  countSamples(projectId: number, queryParams: countSamplesQueryParams, options?: {
@@ -833,6 +871,8 @@ export declare class RawDataApi {
833
871
  * @param maxFrequency Only include samples with lower frequency than given frequency, in hertz
834
872
  * @param signatureValidity Include samples with either valid or invalid signatures
835
873
  * @param includeDisabled Include only enabled or disabled samples (or both)
874
+ * @param minLabel Only include samples with a label >= this value
875
+ * @param maxLabel Only include samples with a label < this value
836
876
  * @param search Search query
837
877
  * @param proposedActionsJobId Pass this parameter when querying samples from inside an AI Action job. If you pass this parameter in a multi-stage AI Action, previous proposed changes (from an earlier step) will be applied to the returned dataset.
838
878
  */
@@ -969,7 +1009,7 @@ export declare class RawDataApi {
969
1009
  };
970
1010
  }): Promise<GenericApiResponse>;
971
1011
  /**
972
- * Split a video sample into individual frames.
1012
+ * Split a video sample into individual frames. Depending on the length of the video sample this will either execute immediately or return the ID of a job that will perform this action.
973
1013
  * @summary Split sample into frames
974
1014
  * @param projectId Project ID
975
1015
  * @param sampleId Sample ID
@@ -979,7 +1019,7 @@ export declare class RawDataApi {
979
1019
  headers: {
980
1020
  [name: string]: string;
981
1021
  };
982
- }): Promise<GenericApiResponse>;
1022
+ }): Promise<GenericApiResponse | StartJobResponse>;
983
1023
  /**
984
1024
  * When segmenting a sample into smaller segments, store the segment length to ensure uniform segment lengths.
985
1025
  * @summary Store the last segment length
@@ -90,6 +90,8 @@ class RawDataApi {
90
90
  * @param includeDisabled Include only enabled or disabled samples (or both)
91
91
  * @param ids Only include samples with an ID within the given list of IDs, given as a JSON string
92
92
  * @param excludeIds Exclude samples with an ID within the given list of IDs, given as a JSON string
93
+ * @param minLabel Only include samples with a label &gt;&#x3D; this value
94
+ * @param maxLabel Only include samples with a label &lt; this value
93
95
  * @param search Search query
94
96
  */
95
97
  async batchAddMetadata(projectId, batchAddMetadataRequest, queryParams, options = { headers: {} }) {
@@ -153,6 +155,12 @@ class RawDataApi {
153
155
  if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.excludeIds) !== undefined) {
154
156
  localVarQueryParameters['excludeIds'] = models_1.ObjectSerializer.serialize(queryParams.excludeIds, "string");
155
157
  }
158
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.minLabel) !== undefined) {
159
+ localVarQueryParameters['minLabel'] = models_1.ObjectSerializer.serialize(queryParams.minLabel, "number");
160
+ }
161
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.maxLabel) !== undefined) {
162
+ localVarQueryParameters['maxLabel'] = models_1.ObjectSerializer.serialize(queryParams.maxLabel, "number");
163
+ }
156
164
  if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.search) !== undefined) {
157
165
  localVarQueryParameters['search'] = models_1.ObjectSerializer.serialize(queryParams.search, "string");
158
166
  }
@@ -220,6 +228,8 @@ class RawDataApi {
220
228
  * @param includeDisabled Include only enabled or disabled samples (or both)
221
229
  * @param ids Only include samples with an ID within the given list of IDs, given as a JSON string
222
230
  * @param excludeIds Exclude samples with an ID within the given list of IDs, given as a JSON string
231
+ * @param minLabel Only include samples with a label &gt;&#x3D; this value
232
+ * @param maxLabel Only include samples with a label &lt; this value
223
233
  * @param search Search query
224
234
  */
225
235
  async batchClearMetadata(projectId, queryParams, options = { headers: {} }) {
@@ -279,6 +289,12 @@ class RawDataApi {
279
289
  if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.excludeIds) !== undefined) {
280
290
  localVarQueryParameters['excludeIds'] = models_1.ObjectSerializer.serialize(queryParams.excludeIds, "string");
281
291
  }
292
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.minLabel) !== undefined) {
293
+ localVarQueryParameters['minLabel'] = models_1.ObjectSerializer.serialize(queryParams.minLabel, "number");
294
+ }
295
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.maxLabel) !== undefined) {
296
+ localVarQueryParameters['maxLabel'] = models_1.ObjectSerializer.serialize(queryParams.maxLabel, "number");
297
+ }
282
298
  if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.search) !== undefined) {
283
299
  localVarQueryParameters['search'] = models_1.ObjectSerializer.serialize(queryParams.search, "string");
284
300
  }
@@ -346,6 +362,8 @@ class RawDataApi {
346
362
  * @param includeDisabled Include only enabled or disabled samples (or both)
347
363
  * @param ids Only include samples with an ID within the given list of IDs, given as a JSON string
348
364
  * @param excludeIds Exclude samples with an ID within the given list of IDs, given as a JSON string
365
+ * @param minLabel Only include samples with a label &gt;&#x3D; this value
366
+ * @param maxLabel Only include samples with a label &lt; this value
349
367
  * @param search Search query
350
368
  */
351
369
  async batchClearMetadataByKey(projectId, batchClearMetadataByKeyRequest, queryParams, options = { headers: {} }) {
@@ -409,6 +427,12 @@ class RawDataApi {
409
427
  if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.excludeIds) !== undefined) {
410
428
  localVarQueryParameters['excludeIds'] = models_1.ObjectSerializer.serialize(queryParams.excludeIds, "string");
411
429
  }
430
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.minLabel) !== undefined) {
431
+ localVarQueryParameters['minLabel'] = models_1.ObjectSerializer.serialize(queryParams.minLabel, "number");
432
+ }
433
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.maxLabel) !== undefined) {
434
+ localVarQueryParameters['maxLabel'] = models_1.ObjectSerializer.serialize(queryParams.maxLabel, "number");
435
+ }
412
436
  if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.search) !== undefined) {
413
437
  localVarQueryParameters['search'] = models_1.ObjectSerializer.serialize(queryParams.search, "string");
414
438
  }
@@ -476,6 +500,8 @@ class RawDataApi {
476
500
  * @param includeDisabled Include only enabled or disabled samples (or both)
477
501
  * @param ids Only include samples with an ID within the given list of IDs, given as a JSON string
478
502
  * @param excludeIds Exclude samples with an ID within the given list of IDs, given as a JSON string
503
+ * @param minLabel Only include samples with a label &gt;&#x3D; this value
504
+ * @param maxLabel Only include samples with a label &lt; this value
479
505
  * @param search Search query
480
506
  */
481
507
  async batchDelete(projectId, queryParams, options = { headers: {} }) {
@@ -535,6 +561,12 @@ class RawDataApi {
535
561
  if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.excludeIds) !== undefined) {
536
562
  localVarQueryParameters['excludeIds'] = models_1.ObjectSerializer.serialize(queryParams.excludeIds, "string");
537
563
  }
564
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.minLabel) !== undefined) {
565
+ localVarQueryParameters['minLabel'] = models_1.ObjectSerializer.serialize(queryParams.minLabel, "number");
566
+ }
567
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.maxLabel) !== undefined) {
568
+ localVarQueryParameters['maxLabel'] = models_1.ObjectSerializer.serialize(queryParams.maxLabel, "number");
569
+ }
538
570
  if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.search) !== undefined) {
539
571
  localVarQueryParameters['search'] = models_1.ObjectSerializer.serialize(queryParams.search, "string");
540
572
  }
@@ -601,6 +633,8 @@ class RawDataApi {
601
633
  * @param includeDisabled Include only enabled or disabled samples (or both)
602
634
  * @param ids Only include samples with an ID within the given list of IDs, given as a JSON string
603
635
  * @param excludeIds Exclude samples with an ID within the given list of IDs, given as a JSON string
636
+ * @param minLabel Only include samples with a label &gt;&#x3D; this value
637
+ * @param maxLabel Only include samples with a label &lt; this value
604
638
  * @param search Search query
605
639
  */
606
640
  async batchDisable(projectId, queryParams, options = { headers: {} }) {
@@ -660,6 +694,12 @@ class RawDataApi {
660
694
  if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.excludeIds) !== undefined) {
661
695
  localVarQueryParameters['excludeIds'] = models_1.ObjectSerializer.serialize(queryParams.excludeIds, "string");
662
696
  }
697
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.minLabel) !== undefined) {
698
+ localVarQueryParameters['minLabel'] = models_1.ObjectSerializer.serialize(queryParams.minLabel, "number");
699
+ }
700
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.maxLabel) !== undefined) {
701
+ localVarQueryParameters['maxLabel'] = models_1.ObjectSerializer.serialize(queryParams.maxLabel, "number");
702
+ }
663
703
  if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.search) !== undefined) {
664
704
  localVarQueryParameters['search'] = models_1.ObjectSerializer.serialize(queryParams.search, "string");
665
705
  }
@@ -727,6 +767,8 @@ class RawDataApi {
727
767
  * @param includeDisabled Include only enabled or disabled samples (or both)
728
768
  * @param ids Only include samples with an ID within the given list of IDs, given as a JSON string
729
769
  * @param excludeIds Exclude samples with an ID within the given list of IDs, given as a JSON string
770
+ * @param minLabel Only include samples with a label &gt;&#x3D; this value
771
+ * @param maxLabel Only include samples with a label &lt; this value
730
772
  * @param search Search query
731
773
  */
732
774
  async batchEditLabels(projectId, editSampleLabelRequest, queryParams, options = { headers: {} }) {
@@ -790,6 +832,12 @@ class RawDataApi {
790
832
  if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.excludeIds) !== undefined) {
791
833
  localVarQueryParameters['excludeIds'] = models_1.ObjectSerializer.serialize(queryParams.excludeIds, "string");
792
834
  }
835
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.minLabel) !== undefined) {
836
+ localVarQueryParameters['minLabel'] = models_1.ObjectSerializer.serialize(queryParams.minLabel, "number");
837
+ }
838
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.maxLabel) !== undefined) {
839
+ localVarQueryParameters['maxLabel'] = models_1.ObjectSerializer.serialize(queryParams.maxLabel, "number");
840
+ }
793
841
  if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.search) !== undefined) {
794
842
  localVarQueryParameters['search'] = models_1.ObjectSerializer.serialize(queryParams.search, "string");
795
843
  }
@@ -857,6 +905,8 @@ class RawDataApi {
857
905
  * @param includeDisabled Include only enabled or disabled samples (or both)
858
906
  * @param ids Only include samples with an ID within the given list of IDs, given as a JSON string
859
907
  * @param excludeIds Exclude samples with an ID within the given list of IDs, given as a JSON string
908
+ * @param minLabel Only include samples with a label &gt;&#x3D; this value
909
+ * @param maxLabel Only include samples with a label &lt; this value
860
910
  * @param search Search query
861
911
  */
862
912
  async batchEnable(projectId, queryParams, options = { headers: {} }) {
@@ -916,6 +966,12 @@ class RawDataApi {
916
966
  if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.excludeIds) !== undefined) {
917
967
  localVarQueryParameters['excludeIds'] = models_1.ObjectSerializer.serialize(queryParams.excludeIds, "string");
918
968
  }
969
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.minLabel) !== undefined) {
970
+ localVarQueryParameters['minLabel'] = models_1.ObjectSerializer.serialize(queryParams.minLabel, "number");
971
+ }
972
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.maxLabel) !== undefined) {
973
+ localVarQueryParameters['maxLabel'] = models_1.ObjectSerializer.serialize(queryParams.maxLabel, "number");
974
+ }
919
975
  if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.search) !== undefined) {
920
976
  localVarQueryParameters['search'] = models_1.ObjectSerializer.serialize(queryParams.search, "string");
921
977
  }
@@ -983,6 +1039,8 @@ class RawDataApi {
983
1039
  * @param includeDisabled Include only enabled or disabled samples (or both)
984
1040
  * @param ids Only include samples with an ID within the given list of IDs, given as a JSON string
985
1041
  * @param excludeIds Exclude samples with an ID within the given list of IDs, given as a JSON string
1042
+ * @param minLabel Only include samples with a label &gt;&#x3D; this value
1043
+ * @param maxLabel Only include samples with a label &lt; this value
986
1044
  * @param search Search query
987
1045
  */
988
1046
  async batchMove(projectId, moveRawDataRequest, queryParams, options = { headers: {} }) {
@@ -1046,6 +1104,12 @@ class RawDataApi {
1046
1104
  if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.excludeIds) !== undefined) {
1047
1105
  localVarQueryParameters['excludeIds'] = models_1.ObjectSerializer.serialize(queryParams.excludeIds, "string");
1048
1106
  }
1107
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.minLabel) !== undefined) {
1108
+ localVarQueryParameters['minLabel'] = models_1.ObjectSerializer.serialize(queryParams.minLabel, "number");
1109
+ }
1110
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.maxLabel) !== undefined) {
1111
+ localVarQueryParameters['maxLabel'] = models_1.ObjectSerializer.serialize(queryParams.maxLabel, "number");
1112
+ }
1049
1113
  if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.search) !== undefined) {
1050
1114
  localVarQueryParameters['search'] = models_1.ObjectSerializer.serialize(queryParams.search, "string");
1051
1115
  }
@@ -1342,6 +1406,8 @@ class RawDataApi {
1342
1406
  * @param maxFrequency Only include samples with lower frequency than given frequency, in hertz
1343
1407
  * @param signatureValidity Include samples with either valid or invalid signatures
1344
1408
  * @param includeDisabled Include only enabled or disabled samples (or both)
1409
+ * @param minLabel Only include samples with a label &gt;&#x3D; this value
1410
+ * @param maxLabel Only include samples with a label &lt; this value
1345
1411
  * @param search Search query
1346
1412
  */
1347
1413
  async countSamples(projectId, queryParams, options = { headers: {} }) {
@@ -1395,6 +1461,12 @@ class RawDataApi {
1395
1461
  if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.includeDisabled) !== undefined) {
1396
1462
  localVarQueryParameters['includeDisabled'] = models_1.ObjectSerializer.serialize(queryParams.includeDisabled, "'both' | 'enabled' | 'disabled'");
1397
1463
  }
1464
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.minLabel) !== undefined) {
1465
+ localVarQueryParameters['minLabel'] = models_1.ObjectSerializer.serialize(queryParams.minLabel, "number");
1466
+ }
1467
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.maxLabel) !== undefined) {
1468
+ localVarQueryParameters['maxLabel'] = models_1.ObjectSerializer.serialize(queryParams.maxLabel, "number");
1469
+ }
1398
1470
  if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.search) !== undefined) {
1399
1471
  localVarQueryParameters['search'] = models_1.ObjectSerializer.serialize(queryParams.search, "string");
1400
1472
  }
@@ -3722,6 +3794,8 @@ class RawDataApi {
3722
3794
  * @param maxFrequency Only include samples with lower frequency than given frequency, in hertz
3723
3795
  * @param signatureValidity Include samples with either valid or invalid signatures
3724
3796
  * @param includeDisabled Include only enabled or disabled samples (or both)
3797
+ * @param minLabel Only include samples with a label &gt;&#x3D; this value
3798
+ * @param maxLabel Only include samples with a label &lt; this value
3725
3799
  * @param search Search query
3726
3800
  * @param proposedActionsJobId Pass this parameter when querying samples from inside an AI Action job. If you pass this parameter in a multi-stage AI Action, previous proposed changes (from an earlier step) will be applied to the returned dataset.
3727
3801
  */
@@ -3785,6 +3859,12 @@ class RawDataApi {
3785
3859
  if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.includeDisabled) !== undefined) {
3786
3860
  localVarQueryParameters['includeDisabled'] = models_1.ObjectSerializer.serialize(queryParams.includeDisabled, "'both' | 'enabled' | 'disabled'");
3787
3861
  }
3862
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.minLabel) !== undefined) {
3863
+ localVarQueryParameters['minLabel'] = models_1.ObjectSerializer.serialize(queryParams.minLabel, "number");
3864
+ }
3865
+ if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.maxLabel) !== undefined) {
3866
+ localVarQueryParameters['maxLabel'] = models_1.ObjectSerializer.serialize(queryParams.maxLabel, "number");
3867
+ }
3788
3868
  if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.search) !== undefined) {
3789
3869
  localVarQueryParameters['search'] = models_1.ObjectSerializer.serialize(queryParams.search, "string");
3790
3870
  }
@@ -4745,7 +4825,7 @@ class RawDataApi {
4745
4825
  });
4746
4826
  }
4747
4827
  /**
4748
- * Split a video sample into individual frames.
4828
+ * Split a video sample into individual frames. Depending on the length of the video sample this will either execute immediately or return the ID of a job that will perform this action.
4749
4829
  * @summary Split sample into frames
4750
4830
  * @param projectId Project ID
4751
4831
  * @param sampleId Sample ID
@@ -4813,7 +4893,7 @@ class RawDataApi {
4813
4893
  reject(error);
4814
4894
  }
4815
4895
  else {
4816
- body = models_1.ObjectSerializer.deserialize(body, "GenericApiResponse");
4896
+ body = models_1.ObjectSerializer.deserialize(body, "GenericApiResponse | StartJobResponse");
4817
4897
  const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
4818
4898
  if (typeof body.success === 'boolean' && !body.success) {
4819
4899
  reject(new Error(body.error || errString));