edge-impulse-api 1.71.26 → 1.71.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/library/sdk/api/rawDataApi.d.ts +0 -60
- package/build/library/sdk/api/rawDataApi.js +0 -120
- package/build/library/sdk/api/rawDataApi.js.map +1 -1
- package/build/library/sdk/api/userApi.d.ts +0 -10
- package/build/library/sdk/api/userApi.js +0 -65
- package/build/library/sdk/api/userApi.js.map +1 -1
- package/build/library/sdk/model/models.d.ts +0 -2
- package/build/library/sdk/model/models.js +0 -6
- package/build/library/sdk/model/models.js.map +1 -1
- package/package.json +1 -1
- package/build/library/sdk/model/createEvaluationUserResponse.d.ts +0 -40
- package/build/library/sdk/model/createEvaluationUserResponse.js +0 -44
- package/build/library/sdk/model/createEvaluationUserResponse.js.map +0 -1
- package/build/library/sdk/model/createEvaluationUserResponseAllOf.d.ts +0 -32
- package/build/library/sdk/model/createEvaluationUserResponseAllOf.js +0 -34
- package/build/library/sdk/model/createEvaluationUserResponseAllOf.js.map +0 -1
|
@@ -71,9 +71,6 @@ type batchAddMetadataQueryParams = {
|
|
|
71
71
|
minLabel?: number;
|
|
72
72
|
maxLabel?: number;
|
|
73
73
|
search?: string;
|
|
74
|
-
dataType?: 'audio' | 'image';
|
|
75
|
-
minId?: number;
|
|
76
|
-
maxId?: number;
|
|
77
74
|
};
|
|
78
75
|
type batchClearMetadataQueryParams = {
|
|
79
76
|
category: 'training' | 'testing' | 'anomaly';
|
|
@@ -90,9 +87,6 @@ type batchClearMetadataQueryParams = {
|
|
|
90
87
|
minLabel?: number;
|
|
91
88
|
maxLabel?: number;
|
|
92
89
|
search?: string;
|
|
93
|
-
dataType?: 'audio' | 'image';
|
|
94
|
-
minId?: number;
|
|
95
|
-
maxId?: number;
|
|
96
90
|
};
|
|
97
91
|
type batchClearMetadataByKeyQueryParams = {
|
|
98
92
|
category: 'training' | 'testing' | 'anomaly';
|
|
@@ -109,9 +103,6 @@ type batchClearMetadataByKeyQueryParams = {
|
|
|
109
103
|
minLabel?: number;
|
|
110
104
|
maxLabel?: number;
|
|
111
105
|
search?: string;
|
|
112
|
-
dataType?: 'audio' | 'image';
|
|
113
|
-
minId?: number;
|
|
114
|
-
maxId?: number;
|
|
115
106
|
};
|
|
116
107
|
type batchDeleteQueryParams = {
|
|
117
108
|
category: 'training' | 'testing' | 'anomaly';
|
|
@@ -128,9 +119,6 @@ type batchDeleteQueryParams = {
|
|
|
128
119
|
minLabel?: number;
|
|
129
120
|
maxLabel?: number;
|
|
130
121
|
search?: string;
|
|
131
|
-
dataType?: 'audio' | 'image';
|
|
132
|
-
minId?: number;
|
|
133
|
-
maxId?: number;
|
|
134
122
|
};
|
|
135
123
|
type batchDisableQueryParams = {
|
|
136
124
|
category: 'training' | 'testing' | 'anomaly';
|
|
@@ -147,9 +135,6 @@ type batchDisableQueryParams = {
|
|
|
147
135
|
minLabel?: number;
|
|
148
136
|
maxLabel?: number;
|
|
149
137
|
search?: string;
|
|
150
|
-
dataType?: 'audio' | 'image';
|
|
151
|
-
minId?: number;
|
|
152
|
-
maxId?: number;
|
|
153
138
|
};
|
|
154
139
|
type batchEditLabelsQueryParams = {
|
|
155
140
|
category: 'training' | 'testing' | 'anomaly';
|
|
@@ -166,9 +151,6 @@ type batchEditLabelsQueryParams = {
|
|
|
166
151
|
minLabel?: number;
|
|
167
152
|
maxLabel?: number;
|
|
168
153
|
search?: string;
|
|
169
|
-
dataType?: 'audio' | 'image';
|
|
170
|
-
minId?: number;
|
|
171
|
-
maxId?: number;
|
|
172
154
|
};
|
|
173
155
|
type batchEnableQueryParams = {
|
|
174
156
|
category: 'training' | 'testing' | 'anomaly';
|
|
@@ -185,9 +167,6 @@ type batchEnableQueryParams = {
|
|
|
185
167
|
minLabel?: number;
|
|
186
168
|
maxLabel?: number;
|
|
187
169
|
search?: string;
|
|
188
|
-
dataType?: 'audio' | 'image';
|
|
189
|
-
minId?: number;
|
|
190
|
-
maxId?: number;
|
|
191
170
|
};
|
|
192
171
|
type batchMoveQueryParams = {
|
|
193
172
|
category: 'training' | 'testing' | 'anomaly';
|
|
@@ -204,9 +183,6 @@ type batchMoveQueryParams = {
|
|
|
204
183
|
minLabel?: number;
|
|
205
184
|
maxLabel?: number;
|
|
206
185
|
search?: string;
|
|
207
|
-
dataType?: 'audio' | 'image';
|
|
208
|
-
minId?: number;
|
|
209
|
-
maxId?: number;
|
|
210
186
|
};
|
|
211
187
|
type countSamplesQueryParams = {
|
|
212
188
|
category: 'training' | 'testing' | 'anomaly';
|
|
@@ -221,9 +197,6 @@ type countSamplesQueryParams = {
|
|
|
221
197
|
minLabel?: number;
|
|
222
198
|
maxLabel?: number;
|
|
223
199
|
search?: string;
|
|
224
|
-
dataType?: 'audio' | 'image';
|
|
225
|
-
minId?: number;
|
|
226
|
-
maxId?: number;
|
|
227
200
|
};
|
|
228
201
|
type getAllImportedFromQueryParams = {
|
|
229
202
|
limit?: number;
|
|
@@ -286,9 +259,6 @@ type listSamplesQueryParams = {
|
|
|
286
259
|
search?: string;
|
|
287
260
|
proposedActionsJobId?: number;
|
|
288
261
|
truncateStructuredLabels?: boolean;
|
|
289
|
-
dataType?: 'audio' | 'image';
|
|
290
|
-
minId?: number;
|
|
291
|
-
maxId?: number;
|
|
292
262
|
};
|
|
293
263
|
export type uploadDataExplorerScreenshotFormParams = {
|
|
294
264
|
image: RequestFile;
|
|
@@ -336,9 +306,6 @@ export declare class RawDataApi {
|
|
|
336
306
|
* @param minLabel Only include samples with a label >= this value
|
|
337
307
|
* @param maxLabel Only include samples with a label < this value
|
|
338
308
|
* @param search Search query
|
|
339
|
-
* @param dataType Include only samples with a particular data type
|
|
340
|
-
* @param minId Include only samples with an ID >= this value
|
|
341
|
-
* @param maxId Include only samples with an ID < this value
|
|
342
309
|
*/
|
|
343
310
|
batchAddMetadata(projectId: number, batchAddMetadataRequest: BatchAddMetadataRequest, queryParams: batchAddMetadataQueryParams, options?: {
|
|
344
311
|
headers: {
|
|
@@ -363,9 +330,6 @@ export declare class RawDataApi {
|
|
|
363
330
|
* @param minLabel Only include samples with a label >= this value
|
|
364
331
|
* @param maxLabel Only include samples with a label < this value
|
|
365
332
|
* @param search Search query
|
|
366
|
-
* @param dataType Include only samples with a particular data type
|
|
367
|
-
* @param minId Include only samples with an ID >= this value
|
|
368
|
-
* @param maxId Include only samples with an ID < this value
|
|
369
333
|
*/
|
|
370
334
|
batchClearMetadata(projectId: number, queryParams: batchClearMetadataQueryParams, options?: {
|
|
371
335
|
headers: {
|
|
@@ -391,9 +355,6 @@ export declare class RawDataApi {
|
|
|
391
355
|
* @param minLabel Only include samples with a label >= this value
|
|
392
356
|
* @param maxLabel Only include samples with a label < this value
|
|
393
357
|
* @param search Search query
|
|
394
|
-
* @param dataType Include only samples with a particular data type
|
|
395
|
-
* @param minId Include only samples with an ID >= this value
|
|
396
|
-
* @param maxId Include only samples with an ID < this value
|
|
397
358
|
*/
|
|
398
359
|
batchClearMetadataByKey(projectId: number, batchClearMetadataByKeyRequest: BatchClearMetadataByKeyRequest, queryParams: batchClearMetadataByKeyQueryParams, options?: {
|
|
399
360
|
headers: {
|
|
@@ -418,9 +379,6 @@ export declare class RawDataApi {
|
|
|
418
379
|
* @param minLabel Only include samples with a label >= this value
|
|
419
380
|
* @param maxLabel Only include samples with a label < this value
|
|
420
381
|
* @param search Search query
|
|
421
|
-
* @param dataType Include only samples with a particular data type
|
|
422
|
-
* @param minId Include only samples with an ID >= this value
|
|
423
|
-
* @param maxId Include only samples with an ID < this value
|
|
424
382
|
*/
|
|
425
383
|
batchDelete(projectId: number, queryParams: batchDeleteQueryParams, options?: {
|
|
426
384
|
headers: {
|
|
@@ -445,9 +403,6 @@ export declare class RawDataApi {
|
|
|
445
403
|
* @param minLabel Only include samples with a label >= this value
|
|
446
404
|
* @param maxLabel Only include samples with a label < this value
|
|
447
405
|
* @param search Search query
|
|
448
|
-
* @param dataType Include only samples with a particular data type
|
|
449
|
-
* @param minId Include only samples with an ID >= this value
|
|
450
|
-
* @param maxId Include only samples with an ID < this value
|
|
451
406
|
*/
|
|
452
407
|
batchDisable(projectId: number, queryParams: batchDisableQueryParams, options?: {
|
|
453
408
|
headers: {
|
|
@@ -473,9 +428,6 @@ export declare class RawDataApi {
|
|
|
473
428
|
* @param minLabel Only include samples with a label >= this value
|
|
474
429
|
* @param maxLabel Only include samples with a label < this value
|
|
475
430
|
* @param search Search query
|
|
476
|
-
* @param dataType Include only samples with a particular data type
|
|
477
|
-
* @param minId Include only samples with an ID >= this value
|
|
478
|
-
* @param maxId Include only samples with an ID < this value
|
|
479
431
|
*/
|
|
480
432
|
batchEditLabels(projectId: number, editSampleLabelRequest: EditSampleLabelRequest, queryParams: batchEditLabelsQueryParams, options?: {
|
|
481
433
|
headers: {
|
|
@@ -500,9 +452,6 @@ export declare class RawDataApi {
|
|
|
500
452
|
* @param minLabel Only include samples with a label >= this value
|
|
501
453
|
* @param maxLabel Only include samples with a label < this value
|
|
502
454
|
* @param search Search query
|
|
503
|
-
* @param dataType Include only samples with a particular data type
|
|
504
|
-
* @param minId Include only samples with an ID >= this value
|
|
505
|
-
* @param maxId Include only samples with an ID < this value
|
|
506
455
|
*/
|
|
507
456
|
batchEnable(projectId: number, queryParams: batchEnableQueryParams, options?: {
|
|
508
457
|
headers: {
|
|
@@ -528,9 +477,6 @@ export declare class RawDataApi {
|
|
|
528
477
|
* @param minLabel Only include samples with a label >= this value
|
|
529
478
|
* @param maxLabel Only include samples with a label < this value
|
|
530
479
|
* @param search Search query
|
|
531
|
-
* @param dataType Include only samples with a particular data type
|
|
532
|
-
* @param minId Include only samples with an ID >= this value
|
|
533
|
-
* @param maxId Include only samples with an ID < this value
|
|
534
480
|
*/
|
|
535
481
|
batchMove(projectId: number, moveRawDataRequest: MoveRawDataRequest, queryParams: batchMoveQueryParams, options?: {
|
|
536
482
|
headers: {
|
|
@@ -585,9 +531,6 @@ export declare class RawDataApi {
|
|
|
585
531
|
* @param minLabel Only include samples with a label >= this value
|
|
586
532
|
* @param maxLabel Only include samples with a label < this value
|
|
587
533
|
* @param search Search query
|
|
588
|
-
* @param dataType Include only samples with a particular data type
|
|
589
|
-
* @param minId Include only samples with an ID >= this value
|
|
590
|
-
* @param maxId Include only samples with an ID < this value
|
|
591
534
|
*/
|
|
592
535
|
countSamples(projectId: number, queryParams: countSamplesQueryParams, options?: {
|
|
593
536
|
headers: {
|
|
@@ -940,9 +883,6 @@ export declare class RawDataApi {
|
|
|
940
883
|
* @param search Search query
|
|
941
884
|
* @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.
|
|
942
885
|
* @param truncateStructuredLabels If true, only a slice of labels will be returned for samples with multiple labels.
|
|
943
|
-
* @param dataType Include only samples with a particular data type
|
|
944
|
-
* @param minId Include only samples with an ID >= this value
|
|
945
|
-
* @param maxId Include only samples with an ID < this value
|
|
946
886
|
*/
|
|
947
887
|
listSamples(projectId: number, queryParams: listSamplesQueryParams, options?: {
|
|
948
888
|
headers: {
|
|
@@ -93,9 +93,6 @@ class RawDataApi {
|
|
|
93
93
|
* @param minLabel Only include samples with a label >= this value
|
|
94
94
|
* @param maxLabel Only include samples with a label < this value
|
|
95
95
|
* @param search Search query
|
|
96
|
-
* @param dataType Include only samples with a particular data type
|
|
97
|
-
* @param minId Include only samples with an ID >= this value
|
|
98
|
-
* @param maxId Include only samples with an ID < this value
|
|
99
96
|
*/
|
|
100
97
|
async batchAddMetadata(projectId, batchAddMetadataRequest, queryParams, options = { headers: {} }) {
|
|
101
98
|
const localVarPath = this.basePath + '/api/{projectId}/raw-data/batch/add-metadata'
|
|
@@ -167,15 +164,6 @@ class RawDataApi {
|
|
|
167
164
|
if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.search) !== undefined) {
|
|
168
165
|
localVarQueryParameters['search'] = models_1.ObjectSerializer.serialize(queryParams.search, "string");
|
|
169
166
|
}
|
|
170
|
-
if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.dataType) !== undefined) {
|
|
171
|
-
localVarQueryParameters['dataType'] = models_1.ObjectSerializer.serialize(queryParams.dataType, "'audio' | 'image'");
|
|
172
|
-
}
|
|
173
|
-
if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.minId) !== undefined) {
|
|
174
|
-
localVarQueryParameters['minId'] = models_1.ObjectSerializer.serialize(queryParams.minId, "number");
|
|
175
|
-
}
|
|
176
|
-
if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.maxId) !== undefined) {
|
|
177
|
-
localVarQueryParameters['maxId'] = models_1.ObjectSerializer.serialize(queryParams.maxId, "number");
|
|
178
|
-
}
|
|
179
167
|
Object.assign(localVarHeaderParams, options.headers);
|
|
180
168
|
Object.assign(localVarHeaderParams, this.opts.extraHeaders);
|
|
181
169
|
let localVarUseFormData = false;
|
|
@@ -244,9 +232,6 @@ class RawDataApi {
|
|
|
244
232
|
* @param minLabel Only include samples with a label >= this value
|
|
245
233
|
* @param maxLabel Only include samples with a label < this value
|
|
246
234
|
* @param search Search query
|
|
247
|
-
* @param dataType Include only samples with a particular data type
|
|
248
|
-
* @param minId Include only samples with an ID >= this value
|
|
249
|
-
* @param maxId Include only samples with an ID < this value
|
|
250
235
|
*/
|
|
251
236
|
async batchClearMetadata(projectId, queryParams, options = { headers: {} }) {
|
|
252
237
|
const localVarPath = this.basePath + '/api/{projectId}/raw-data/batch/clear-metadata'
|
|
@@ -314,15 +299,6 @@ class RawDataApi {
|
|
|
314
299
|
if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.search) !== undefined) {
|
|
315
300
|
localVarQueryParameters['search'] = models_1.ObjectSerializer.serialize(queryParams.search, "string");
|
|
316
301
|
}
|
|
317
|
-
if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.dataType) !== undefined) {
|
|
318
|
-
localVarQueryParameters['dataType'] = models_1.ObjectSerializer.serialize(queryParams.dataType, "'audio' | 'image'");
|
|
319
|
-
}
|
|
320
|
-
if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.minId) !== undefined) {
|
|
321
|
-
localVarQueryParameters['minId'] = models_1.ObjectSerializer.serialize(queryParams.minId, "number");
|
|
322
|
-
}
|
|
323
|
-
if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.maxId) !== undefined) {
|
|
324
|
-
localVarQueryParameters['maxId'] = models_1.ObjectSerializer.serialize(queryParams.maxId, "number");
|
|
325
|
-
}
|
|
326
302
|
Object.assign(localVarHeaderParams, options.headers);
|
|
327
303
|
Object.assign(localVarHeaderParams, this.opts.extraHeaders);
|
|
328
304
|
let localVarUseFormData = false;
|
|
@@ -391,9 +367,6 @@ class RawDataApi {
|
|
|
391
367
|
* @param minLabel Only include samples with a label >= this value
|
|
392
368
|
* @param maxLabel Only include samples with a label < this value
|
|
393
369
|
* @param search Search query
|
|
394
|
-
* @param dataType Include only samples with a particular data type
|
|
395
|
-
* @param minId Include only samples with an ID >= this value
|
|
396
|
-
* @param maxId Include only samples with an ID < this value
|
|
397
370
|
*/
|
|
398
371
|
async batchClearMetadataByKey(projectId, batchClearMetadataByKeyRequest, queryParams, options = { headers: {} }) {
|
|
399
372
|
const localVarPath = this.basePath + '/api/{projectId}/raw-data/batch/clear-metadata-by-key'
|
|
@@ -465,15 +438,6 @@ class RawDataApi {
|
|
|
465
438
|
if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.search) !== undefined) {
|
|
466
439
|
localVarQueryParameters['search'] = models_1.ObjectSerializer.serialize(queryParams.search, "string");
|
|
467
440
|
}
|
|
468
|
-
if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.dataType) !== undefined) {
|
|
469
|
-
localVarQueryParameters['dataType'] = models_1.ObjectSerializer.serialize(queryParams.dataType, "'audio' | 'image'");
|
|
470
|
-
}
|
|
471
|
-
if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.minId) !== undefined) {
|
|
472
|
-
localVarQueryParameters['minId'] = models_1.ObjectSerializer.serialize(queryParams.minId, "number");
|
|
473
|
-
}
|
|
474
|
-
if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.maxId) !== undefined) {
|
|
475
|
-
localVarQueryParameters['maxId'] = models_1.ObjectSerializer.serialize(queryParams.maxId, "number");
|
|
476
|
-
}
|
|
477
441
|
Object.assign(localVarHeaderParams, options.headers);
|
|
478
442
|
Object.assign(localVarHeaderParams, this.opts.extraHeaders);
|
|
479
443
|
let localVarUseFormData = false;
|
|
@@ -542,9 +506,6 @@ class RawDataApi {
|
|
|
542
506
|
* @param minLabel Only include samples with a label >= this value
|
|
543
507
|
* @param maxLabel Only include samples with a label < this value
|
|
544
508
|
* @param search Search query
|
|
545
|
-
* @param dataType Include only samples with a particular data type
|
|
546
|
-
* @param minId Include only samples with an ID >= this value
|
|
547
|
-
* @param maxId Include only samples with an ID < this value
|
|
548
509
|
*/
|
|
549
510
|
async batchDelete(projectId, queryParams, options = { headers: {} }) {
|
|
550
511
|
const localVarPath = this.basePath + '/api/{projectId}/raw-data/batch/delete'
|
|
@@ -612,15 +573,6 @@ class RawDataApi {
|
|
|
612
573
|
if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.search) !== undefined) {
|
|
613
574
|
localVarQueryParameters['search'] = models_1.ObjectSerializer.serialize(queryParams.search, "string");
|
|
614
575
|
}
|
|
615
|
-
if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.dataType) !== undefined) {
|
|
616
|
-
localVarQueryParameters['dataType'] = models_1.ObjectSerializer.serialize(queryParams.dataType, "'audio' | 'image'");
|
|
617
|
-
}
|
|
618
|
-
if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.minId) !== undefined) {
|
|
619
|
-
localVarQueryParameters['minId'] = models_1.ObjectSerializer.serialize(queryParams.minId, "number");
|
|
620
|
-
}
|
|
621
|
-
if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.maxId) !== undefined) {
|
|
622
|
-
localVarQueryParameters['maxId'] = models_1.ObjectSerializer.serialize(queryParams.maxId, "number");
|
|
623
|
-
}
|
|
624
576
|
Object.assign(localVarHeaderParams, options.headers);
|
|
625
577
|
Object.assign(localVarHeaderParams, this.opts.extraHeaders);
|
|
626
578
|
let localVarUseFormData = false;
|
|
@@ -688,9 +640,6 @@ class RawDataApi {
|
|
|
688
640
|
* @param minLabel Only include samples with a label >= this value
|
|
689
641
|
* @param maxLabel Only include samples with a label < this value
|
|
690
642
|
* @param search Search query
|
|
691
|
-
* @param dataType Include only samples with a particular data type
|
|
692
|
-
* @param minId Include only samples with an ID >= this value
|
|
693
|
-
* @param maxId Include only samples with an ID < this value
|
|
694
643
|
*/
|
|
695
644
|
async batchDisable(projectId, queryParams, options = { headers: {} }) {
|
|
696
645
|
const localVarPath = this.basePath + '/api/{projectId}/raw-data/batch/disable-samples'
|
|
@@ -758,15 +707,6 @@ class RawDataApi {
|
|
|
758
707
|
if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.search) !== undefined) {
|
|
759
708
|
localVarQueryParameters['search'] = models_1.ObjectSerializer.serialize(queryParams.search, "string");
|
|
760
709
|
}
|
|
761
|
-
if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.dataType) !== undefined) {
|
|
762
|
-
localVarQueryParameters['dataType'] = models_1.ObjectSerializer.serialize(queryParams.dataType, "'audio' | 'image'");
|
|
763
|
-
}
|
|
764
|
-
if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.minId) !== undefined) {
|
|
765
|
-
localVarQueryParameters['minId'] = models_1.ObjectSerializer.serialize(queryParams.minId, "number");
|
|
766
|
-
}
|
|
767
|
-
if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.maxId) !== undefined) {
|
|
768
|
-
localVarQueryParameters['maxId'] = models_1.ObjectSerializer.serialize(queryParams.maxId, "number");
|
|
769
|
-
}
|
|
770
710
|
Object.assign(localVarHeaderParams, options.headers);
|
|
771
711
|
Object.assign(localVarHeaderParams, this.opts.extraHeaders);
|
|
772
712
|
let localVarUseFormData = false;
|
|
@@ -835,9 +775,6 @@ class RawDataApi {
|
|
|
835
775
|
* @param minLabel Only include samples with a label >= this value
|
|
836
776
|
* @param maxLabel Only include samples with a label < this value
|
|
837
777
|
* @param search Search query
|
|
838
|
-
* @param dataType Include only samples with a particular data type
|
|
839
|
-
* @param minId Include only samples with an ID >= this value
|
|
840
|
-
* @param maxId Include only samples with an ID < this value
|
|
841
778
|
*/
|
|
842
779
|
async batchEditLabels(projectId, editSampleLabelRequest, queryParams, options = { headers: {} }) {
|
|
843
780
|
const localVarPath = this.basePath + '/api/{projectId}/raw-data/batch/edit-labels'
|
|
@@ -909,15 +846,6 @@ class RawDataApi {
|
|
|
909
846
|
if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.search) !== undefined) {
|
|
910
847
|
localVarQueryParameters['search'] = models_1.ObjectSerializer.serialize(queryParams.search, "string");
|
|
911
848
|
}
|
|
912
|
-
if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.dataType) !== undefined) {
|
|
913
|
-
localVarQueryParameters['dataType'] = models_1.ObjectSerializer.serialize(queryParams.dataType, "'audio' | 'image'");
|
|
914
|
-
}
|
|
915
|
-
if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.minId) !== undefined) {
|
|
916
|
-
localVarQueryParameters['minId'] = models_1.ObjectSerializer.serialize(queryParams.minId, "number");
|
|
917
|
-
}
|
|
918
|
-
if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.maxId) !== undefined) {
|
|
919
|
-
localVarQueryParameters['maxId'] = models_1.ObjectSerializer.serialize(queryParams.maxId, "number");
|
|
920
|
-
}
|
|
921
849
|
Object.assign(localVarHeaderParams, options.headers);
|
|
922
850
|
Object.assign(localVarHeaderParams, this.opts.extraHeaders);
|
|
923
851
|
let localVarUseFormData = false;
|
|
@@ -986,9 +914,6 @@ class RawDataApi {
|
|
|
986
914
|
* @param minLabel Only include samples with a label >= this value
|
|
987
915
|
* @param maxLabel Only include samples with a label < this value
|
|
988
916
|
* @param search Search query
|
|
989
|
-
* @param dataType Include only samples with a particular data type
|
|
990
|
-
* @param minId Include only samples with an ID >= this value
|
|
991
|
-
* @param maxId Include only samples with an ID < this value
|
|
992
917
|
*/
|
|
993
918
|
async batchEnable(projectId, queryParams, options = { headers: {} }) {
|
|
994
919
|
const localVarPath = this.basePath + '/api/{projectId}/raw-data/batch/enable-samples'
|
|
@@ -1056,15 +981,6 @@ class RawDataApi {
|
|
|
1056
981
|
if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.search) !== undefined) {
|
|
1057
982
|
localVarQueryParameters['search'] = models_1.ObjectSerializer.serialize(queryParams.search, "string");
|
|
1058
983
|
}
|
|
1059
|
-
if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.dataType) !== undefined) {
|
|
1060
|
-
localVarQueryParameters['dataType'] = models_1.ObjectSerializer.serialize(queryParams.dataType, "'audio' | 'image'");
|
|
1061
|
-
}
|
|
1062
|
-
if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.minId) !== undefined) {
|
|
1063
|
-
localVarQueryParameters['minId'] = models_1.ObjectSerializer.serialize(queryParams.minId, "number");
|
|
1064
|
-
}
|
|
1065
|
-
if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.maxId) !== undefined) {
|
|
1066
|
-
localVarQueryParameters['maxId'] = models_1.ObjectSerializer.serialize(queryParams.maxId, "number");
|
|
1067
|
-
}
|
|
1068
984
|
Object.assign(localVarHeaderParams, options.headers);
|
|
1069
985
|
Object.assign(localVarHeaderParams, this.opts.extraHeaders);
|
|
1070
986
|
let localVarUseFormData = false;
|
|
@@ -1133,9 +1049,6 @@ class RawDataApi {
|
|
|
1133
1049
|
* @param minLabel Only include samples with a label >= this value
|
|
1134
1050
|
* @param maxLabel Only include samples with a label < this value
|
|
1135
1051
|
* @param search Search query
|
|
1136
|
-
* @param dataType Include only samples with a particular data type
|
|
1137
|
-
* @param minId Include only samples with an ID >= this value
|
|
1138
|
-
* @param maxId Include only samples with an ID < this value
|
|
1139
1052
|
*/
|
|
1140
1053
|
async batchMove(projectId, moveRawDataRequest, queryParams, options = { headers: {} }) {
|
|
1141
1054
|
const localVarPath = this.basePath + '/api/{projectId}/raw-data/batch/moveSamples'
|
|
@@ -1207,15 +1120,6 @@ class RawDataApi {
|
|
|
1207
1120
|
if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.search) !== undefined) {
|
|
1208
1121
|
localVarQueryParameters['search'] = models_1.ObjectSerializer.serialize(queryParams.search, "string");
|
|
1209
1122
|
}
|
|
1210
|
-
if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.dataType) !== undefined) {
|
|
1211
|
-
localVarQueryParameters['dataType'] = models_1.ObjectSerializer.serialize(queryParams.dataType, "'audio' | 'image'");
|
|
1212
|
-
}
|
|
1213
|
-
if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.minId) !== undefined) {
|
|
1214
|
-
localVarQueryParameters['minId'] = models_1.ObjectSerializer.serialize(queryParams.minId, "number");
|
|
1215
|
-
}
|
|
1216
|
-
if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.maxId) !== undefined) {
|
|
1217
|
-
localVarQueryParameters['maxId'] = models_1.ObjectSerializer.serialize(queryParams.maxId, "number");
|
|
1218
|
-
}
|
|
1219
1123
|
Object.assign(localVarHeaderParams, options.headers);
|
|
1220
1124
|
Object.assign(localVarHeaderParams, this.opts.extraHeaders);
|
|
1221
1125
|
let localVarUseFormData = false;
|
|
@@ -1516,9 +1420,6 @@ class RawDataApi {
|
|
|
1516
1420
|
* @param minLabel Only include samples with a label >= this value
|
|
1517
1421
|
* @param maxLabel Only include samples with a label < this value
|
|
1518
1422
|
* @param search Search query
|
|
1519
|
-
* @param dataType Include only samples with a particular data type
|
|
1520
|
-
* @param minId Include only samples with an ID >= this value
|
|
1521
|
-
* @param maxId Include only samples with an ID < this value
|
|
1522
1423
|
*/
|
|
1523
1424
|
async countSamples(projectId, queryParams, options = { headers: {} }) {
|
|
1524
1425
|
const localVarPath = this.basePath + '/api/{projectId}/raw-data/count'
|
|
@@ -1580,15 +1481,6 @@ class RawDataApi {
|
|
|
1580
1481
|
if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.search) !== undefined) {
|
|
1581
1482
|
localVarQueryParameters['search'] = models_1.ObjectSerializer.serialize(queryParams.search, "string");
|
|
1582
1483
|
}
|
|
1583
|
-
if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.dataType) !== undefined) {
|
|
1584
|
-
localVarQueryParameters['dataType'] = models_1.ObjectSerializer.serialize(queryParams.dataType, "'audio' | 'image'");
|
|
1585
|
-
}
|
|
1586
|
-
if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.minId) !== undefined) {
|
|
1587
|
-
localVarQueryParameters['minId'] = models_1.ObjectSerializer.serialize(queryParams.minId, "number");
|
|
1588
|
-
}
|
|
1589
|
-
if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.maxId) !== undefined) {
|
|
1590
|
-
localVarQueryParameters['maxId'] = models_1.ObjectSerializer.serialize(queryParams.maxId, "number");
|
|
1591
|
-
}
|
|
1592
1484
|
Object.assign(localVarHeaderParams, options.headers);
|
|
1593
1485
|
Object.assign(localVarHeaderParams, this.opts.extraHeaders);
|
|
1594
1486
|
let localVarUseFormData = false;
|
|
@@ -3959,9 +3851,6 @@ class RawDataApi {
|
|
|
3959
3851
|
* @param search Search query
|
|
3960
3852
|
* @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.
|
|
3961
3853
|
* @param truncateStructuredLabels If true, only a slice of labels will be returned for samples with multiple labels.
|
|
3962
|
-
* @param dataType Include only samples with a particular data type
|
|
3963
|
-
* @param minId Include only samples with an ID >= this value
|
|
3964
|
-
* @param maxId Include only samples with an ID < this value
|
|
3965
3854
|
*/
|
|
3966
3855
|
async listSamples(projectId, queryParams, options = { headers: {} }) {
|
|
3967
3856
|
const localVarPath = this.basePath + '/api/{projectId}/raw-data'
|
|
@@ -4038,15 +3927,6 @@ class RawDataApi {
|
|
|
4038
3927
|
if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.truncateStructuredLabels) !== undefined) {
|
|
4039
3928
|
localVarQueryParameters['truncateStructuredLabels'] = models_1.ObjectSerializer.serialize(queryParams.truncateStructuredLabels, "boolean");
|
|
4040
3929
|
}
|
|
4041
|
-
if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.dataType) !== undefined) {
|
|
4042
|
-
localVarQueryParameters['dataType'] = models_1.ObjectSerializer.serialize(queryParams.dataType, "'audio' | 'image'");
|
|
4043
|
-
}
|
|
4044
|
-
if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.minId) !== undefined) {
|
|
4045
|
-
localVarQueryParameters['minId'] = models_1.ObjectSerializer.serialize(queryParams.minId, "number");
|
|
4046
|
-
}
|
|
4047
|
-
if ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.maxId) !== undefined) {
|
|
4048
|
-
localVarQueryParameters['maxId'] = models_1.ObjectSerializer.serialize(queryParams.maxId, "number");
|
|
4049
|
-
}
|
|
4050
3930
|
Object.assign(localVarHeaderParams, options.headers);
|
|
4051
3931
|
Object.assign(localVarHeaderParams, this.opts.extraHeaders);
|
|
4052
3932
|
let localVarUseFormData = false;
|