edge-impulse-api 1.60.1 → 1.60.3
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/adminApi.d.ts +32 -0
- package/build/library/sdk/api/adminApi.js +219 -0
- package/build/library/sdk/api/adminApi.js.map +1 -1
- package/build/library/sdk/api/organizationDataApi.d.ts +0 -115
- package/build/library/sdk/api/organizationDataApi.js +0 -584
- package/build/library/sdk/api/organizationDataApi.js.map +1 -1
- package/build/library/sdk/api/projectsApi.d.ts +0 -11
- package/build/library/sdk/api/projectsApi.js +0 -73
- package/build/library/sdk/api/projectsApi.js.map +1 -1
- package/build/library/sdk/model/{organizationProjectsDataBatchRequest.d.ts → adminUpdateConfigRequest.d.ts} +5 -2
- package/build/library/sdk/model/{getNotesResponseAllOf.js → adminUpdateConfigRequest.js} +10 -10
- package/build/library/sdk/model/adminUpdateConfigRequest.js.map +1 -0
- package/build/library/sdk/model/{getNotesResponse.d.ts → getStudioConfigResponse.d.ts} +6 -3
- package/build/library/sdk/model/{getNotesResponse.js → getStudioConfigResponse.js} +10 -10
- package/build/library/sdk/model/getStudioConfigResponse.js.map +1 -0
- package/build/library/sdk/model/{getNotesResponseAllOf.d.ts → getStudioConfigResponseAllOf.d.ts} +6 -3
- package/build/library/sdk/model/getStudioConfigResponseAllOf.js +29 -0
- package/build/library/sdk/model/getStudioConfigResponseAllOf.js.map +1 -0
- package/build/library/sdk/model/{listOrganizationProjectsDataResponseAllOfProjects.d.ts → getStudioConfigResponseAllOfConfig.d.ts} +9 -5
- package/build/library/sdk/model/getStudioConfigResponseAllOfConfig.js +34 -0
- package/build/library/sdk/model/getStudioConfigResponseAllOfConfig.js.map +1 -0
- package/build/library/sdk/model/models.d.ts +4 -11
- package/build/library/sdk/model/models.js +12 -33
- package/build/library/sdk/model/models.js.map +1 -1
- package/build/library/sdk/model/permission.d.ts +1 -1
- package/build/library/sdk/model/permission.js +1 -1
- package/build/library/sdk/model/permission.js.map +1 -1
- package/package.json +3 -2
- package/build/library/sdk/model/getNotesResponse.js.map +0 -1
- package/build/library/sdk/model/getNotesResponseAllOf.js.map +0 -1
- package/build/library/sdk/model/getOrganizationProjectsDataCountResponse.d.ts +0 -33
- package/build/library/sdk/model/getOrganizationProjectsDataCountResponse.js +0 -39
- package/build/library/sdk/model/getOrganizationProjectsDataCountResponse.js.map +0 -1
- package/build/library/sdk/model/listOrganizationProjectsDataResponse.d.ts +0 -36
- package/build/library/sdk/model/listOrganizationProjectsDataResponse.js +0 -44
- package/build/library/sdk/model/listOrganizationProjectsDataResponse.js.map +0 -1
- package/build/library/sdk/model/listOrganizationProjectsDataResponseAllOf.d.ts +0 -28
- package/build/library/sdk/model/listOrganizationProjectsDataResponseAllOf.js +0 -34
- package/build/library/sdk/model/listOrganizationProjectsDataResponseAllOf.js.map +0 -1
- package/build/library/sdk/model/listOrganizationProjectsDataResponseAllOfProjects.js +0 -44
- package/build/library/sdk/model/listOrganizationProjectsDataResponseAllOfProjects.js.map +0 -1
- package/build/library/sdk/model/note.d.ts +0 -43
- package/build/library/sdk/model/note.js +0 -59
- package/build/library/sdk/model/note.js.map +0 -1
- package/build/library/sdk/model/organizationProjectsDataBatchDisableResponse.d.ts +0 -33
- package/build/library/sdk/model/organizationProjectsDataBatchDisableResponse.js +0 -39
- package/build/library/sdk/model/organizationProjectsDataBatchDisableResponse.js.map +0 -1
- package/build/library/sdk/model/organizationProjectsDataBatchEnableResponse.d.ts +0 -33
- package/build/library/sdk/model/organizationProjectsDataBatchEnableResponse.js +0 -39
- package/build/library/sdk/model/organizationProjectsDataBatchEnableResponse.js.map +0 -1
- package/build/library/sdk/model/organizationProjectsDataBatchRequest.js +0 -29
- package/build/library/sdk/model/organizationProjectsDataBatchRequest.js.map +0 -1
- package/build/library/sdk/model/organizationProjectsDataBulkMetadataRequest.d.ts +0 -34
- package/build/library/sdk/model/organizationProjectsDataBulkMetadataRequest.js +0 -34
- package/build/library/sdk/model/organizationProjectsDataBulkMetadataRequest.js.map +0 -1
|
@@ -21,18 +21,13 @@ import { GetOrganizationBucketResponse } from '../model/getOrganizationBucketRes
|
|
|
21
21
|
import { GetOrganizationDataItemResponse } from '../model/getOrganizationDataItemResponse';
|
|
22
22
|
import { GetOrganizationDataItemTransformJobsResponse } from '../model/getOrganizationDataItemTransformJobsResponse';
|
|
23
23
|
import { GetOrganizationDatasetResponse } from '../model/getOrganizationDatasetResponse';
|
|
24
|
-
import { GetOrganizationProjectsDataCountResponse } from '../model/getOrganizationProjectsDataCountResponse';
|
|
25
24
|
import { ListOrganizationBucketsResponse } from '../model/listOrganizationBucketsResponse';
|
|
26
25
|
import { ListOrganizationDataResponse } from '../model/listOrganizationDataResponse';
|
|
27
26
|
import { ListOrganizationFilesResponse } from '../model/listOrganizationFilesResponse';
|
|
28
|
-
import { ListOrganizationProjectsDataResponse } from '../model/listOrganizationProjectsDataResponse';
|
|
29
27
|
import { ListPortalFilesInFolderRequest } from '../model/listPortalFilesInFolderRequest';
|
|
30
28
|
import { ListPortalFilesInFolderResponse } from '../model/listPortalFilesInFolderResponse';
|
|
31
29
|
import { OrganizationAddDataFolderRequest } from '../model/organizationAddDataFolderRequest';
|
|
32
30
|
import { OrganizationAddDatasetRequest } from '../model/organizationAddDatasetRequest';
|
|
33
|
-
import { OrganizationProjectsDataBatchDisableResponse } from '../model/organizationProjectsDataBatchDisableResponse';
|
|
34
|
-
import { OrganizationProjectsDataBatchEnableResponse } from '../model/organizationProjectsDataBatchEnableResponse';
|
|
35
|
-
import { OrganizationProjectsDataBatchRequest } from '../model/organizationProjectsDataBatchRequest';
|
|
36
31
|
import { PreviewDefaultFilesInFolderRequest } from '../model/previewDefaultFilesInFolderRequest';
|
|
37
32
|
import { PreviewDefaultFilesInFolderResponse } from '../model/previewDefaultFilesInFolderResponse';
|
|
38
33
|
import { RenamePortalFileRequest } from '../model/renamePortalFileRequest';
|
|
@@ -82,10 +77,6 @@ type deleteOrganizationDataItemsQueryParams = {
|
|
|
82
77
|
dataIds: string;
|
|
83
78
|
filter?: string;
|
|
84
79
|
};
|
|
85
|
-
type deleteOrganizationProjectsDataQueryParams = {
|
|
86
|
-
projectId?: number;
|
|
87
|
-
ids?: string;
|
|
88
|
-
};
|
|
89
80
|
type downloadDatasetFolderQueryParams = {
|
|
90
81
|
path: string;
|
|
91
82
|
};
|
|
@@ -97,10 +88,6 @@ type downloadOrganizationDataItemQueryParams = {
|
|
|
97
88
|
dataIds: string;
|
|
98
89
|
filter?: string;
|
|
99
90
|
};
|
|
100
|
-
type downloadOrganizationProjectsDataQueryParams = {
|
|
101
|
-
projectId?: number;
|
|
102
|
-
ids?: string;
|
|
103
|
-
};
|
|
104
91
|
type downloadOrganizationSingleDataItemQueryParams = {
|
|
105
92
|
filter?: string;
|
|
106
93
|
};
|
|
@@ -111,11 +98,6 @@ type getOrganizationDataItemTransformJobsQueryParams = {
|
|
|
111
98
|
limit?: number;
|
|
112
99
|
offset?: number;
|
|
113
100
|
};
|
|
114
|
-
type getOrganizationProjectsDataCountQueryParams = {
|
|
115
|
-
projectId?: number;
|
|
116
|
-
filter?: string;
|
|
117
|
-
ids?: string;
|
|
118
|
-
};
|
|
119
101
|
type listOrganizationDataQueryParams = {
|
|
120
102
|
dataset?: string;
|
|
121
103
|
filter?: string;
|
|
@@ -128,21 +110,10 @@ type listOrganizationFilesQueryParams = {
|
|
|
128
110
|
limit?: number;
|
|
129
111
|
offset?: number;
|
|
130
112
|
};
|
|
131
|
-
type listOrganizationProjectsDataQueryParams = {
|
|
132
|
-
projectId?: number;
|
|
133
|
-
filter?: string;
|
|
134
|
-
ids?: string;
|
|
135
|
-
limit?: number;
|
|
136
|
-
offset?: number;
|
|
137
|
-
};
|
|
138
113
|
export type organizationBulkUpdateMetadataFormParams = {
|
|
139
114
|
dataset: string;
|
|
140
115
|
csvFile: RequestFile;
|
|
141
116
|
};
|
|
142
|
-
export type organizationProjectsDataBulkUpdateMetadataFormParams = {
|
|
143
|
-
projectIds?: Array<number>;
|
|
144
|
-
csvFile: RequestFile;
|
|
145
|
-
};
|
|
146
117
|
type previewOrganizationDataFileQueryParams = {
|
|
147
118
|
fileName: string;
|
|
148
119
|
};
|
|
@@ -325,18 +296,6 @@ export declare class OrganizationDataApi {
|
|
|
325
296
|
[name: string]: string;
|
|
326
297
|
};
|
|
327
298
|
}): Promise<StartJobResponse>;
|
|
328
|
-
/**
|
|
329
|
-
* Delete data samples from organizational projects.
|
|
330
|
-
* @summary Delete projects data
|
|
331
|
-
* @param organizationId Organization ID
|
|
332
|
-
* @param projectId Unique identifier of the organizational project from where data samples will be fetched.
|
|
333
|
-
* @param ids Only include samples with an ID within the given list of IDs, given as a JSON string
|
|
334
|
-
*/
|
|
335
|
-
deleteOrganizationProjectsData(organizationId: number, queryParams?: deleteOrganizationProjectsDataQueryParams, options?: {
|
|
336
|
-
headers: {
|
|
337
|
-
[name: string]: string;
|
|
338
|
-
};
|
|
339
|
-
}): Promise<GenericApiResponse>;
|
|
340
299
|
/**
|
|
341
300
|
* Download a file from a dataset. Will return a signed URL to the bucket.
|
|
342
301
|
* @summary Download file from dataset
|
|
@@ -386,18 +345,6 @@ export declare class OrganizationDataApi {
|
|
|
386
345
|
[name: string]: string;
|
|
387
346
|
};
|
|
388
347
|
}): Promise<Buffer>;
|
|
389
|
-
/**
|
|
390
|
-
* Download all selected project data items.
|
|
391
|
-
* @summary Download data
|
|
392
|
-
* @param organizationId Organization ID
|
|
393
|
-
* @param projectId Unique identifier of the organizational project from where data samples will be fetched.
|
|
394
|
-
* @param ids Only include samples with an ID within the given list of IDs, given as a JSON string
|
|
395
|
-
*/
|
|
396
|
-
downloadOrganizationProjectsData(organizationId: number, queryParams?: downloadOrganizationProjectsDataQueryParams, options?: {
|
|
397
|
-
headers: {
|
|
398
|
-
[name: string]: string;
|
|
399
|
-
};
|
|
400
|
-
}): Promise<Buffer>;
|
|
401
348
|
/**
|
|
402
349
|
* Download all data for this data item.
|
|
403
350
|
* @summary Download data
|
|
@@ -457,19 +404,6 @@ export declare class OrganizationDataApi {
|
|
|
457
404
|
[name: string]: string;
|
|
458
405
|
};
|
|
459
406
|
}): Promise<GetOrganizationDatasetResponse>;
|
|
460
|
-
/**
|
|
461
|
-
* Get the number of samples for all or for a specific organization project.
|
|
462
|
-
* @summary Get projects data count
|
|
463
|
-
* @param organizationId Organization ID
|
|
464
|
-
* @param projectId Unique identifier of the organizational project from where data samples will be fetched.
|
|
465
|
-
* @param filter Data filter in SQL WHERE format, where you can reference \'filename\', \'label\', \'project_name\', \'category\', \'sensors\', \'frequency\', and any metadata through \'metadata->\' (dots are replaced by underscore).
|
|
466
|
-
* @param ids Only include samples with an ID within the given list of IDs, given as a JSON string
|
|
467
|
-
*/
|
|
468
|
-
getOrganizationProjectsDataCount(organizationId: number, queryParams?: getOrganizationProjectsDataCountQueryParams, options?: {
|
|
469
|
-
headers: {
|
|
470
|
-
[name: string]: string;
|
|
471
|
-
};
|
|
472
|
-
}): Promise<GetOrganizationProjectsDataCountResponse>;
|
|
473
407
|
/**
|
|
474
408
|
* Hide a dataset (does not remove underlying data)
|
|
475
409
|
* @summary Hide dataset
|
|
@@ -531,21 +465,6 @@ export declare class OrganizationDataApi {
|
|
|
531
465
|
[name: string]: string;
|
|
532
466
|
};
|
|
533
467
|
}): Promise<ListOrganizationFilesResponse>;
|
|
534
|
-
/**
|
|
535
|
-
* Retrieve all the data samples from organizational projects.
|
|
536
|
-
* @summary Get projects data
|
|
537
|
-
* @param organizationId Organization ID
|
|
538
|
-
* @param projectId Unique identifier of the organizational project from where data samples will be fetched.
|
|
539
|
-
* @param filter Data filter in SQL WHERE format, where you can reference \'filename\', \'label\', \'project_name\', \'category\', \'sensors\', \'frequency\', and any metadata through \'metadata->\' (dots are replaced by underscore).
|
|
540
|
-
* @param ids Only include samples with an ID within the given list of IDs, given as a JSON string
|
|
541
|
-
* @param limit Maximum number of results
|
|
542
|
-
* @param offset Offset in results, can be used in conjunction with LimitResultsParameter to implement paging.
|
|
543
|
-
*/
|
|
544
|
-
listOrganizationProjectsData(organizationId: number, queryParams?: listOrganizationProjectsDataQueryParams, options?: {
|
|
545
|
-
headers: {
|
|
546
|
-
[name: string]: string;
|
|
547
|
-
};
|
|
548
|
-
}): Promise<ListOrganizationProjectsDataResponse>;
|
|
549
468
|
/**
|
|
550
469
|
* Bulk update the metadata of many data items in one go. This requires you to submit a CSV file with headers, one of which the columns should be named \'name\'. The other columns are used as metadata keys.
|
|
551
470
|
* @summary Bulk update metadata
|
|
@@ -558,40 +477,6 @@ export declare class OrganizationDataApi {
|
|
|
558
477
|
[name: string]: string;
|
|
559
478
|
};
|
|
560
479
|
}): Promise<StartJobResponse>;
|
|
561
|
-
/**
|
|
562
|
-
* Batch disable project data samples by dataId
|
|
563
|
-
* @summary Batch disable data
|
|
564
|
-
* @param organizationId Organization ID
|
|
565
|
-
* @param organizationProjectsDataBatchRequest
|
|
566
|
-
*/
|
|
567
|
-
organizationProjectsDataBatchDisable(organizationId: number, organizationProjectsDataBatchRequest: OrganizationProjectsDataBatchRequest, options?: {
|
|
568
|
-
headers: {
|
|
569
|
-
[name: string]: string;
|
|
570
|
-
};
|
|
571
|
-
}): Promise<OrganizationProjectsDataBatchDisableResponse>;
|
|
572
|
-
/**
|
|
573
|
-
* Batch enable project data samples by dataId
|
|
574
|
-
* @summary Batch enable data
|
|
575
|
-
* @param organizationId Organization ID
|
|
576
|
-
* @param organizationProjectsDataBatchRequest
|
|
577
|
-
*/
|
|
578
|
-
organizationProjectsDataBatchEnable(organizationId: number, organizationProjectsDataBatchRequest: OrganizationProjectsDataBatchRequest, options?: {
|
|
579
|
-
headers: {
|
|
580
|
-
[name: string]: string;
|
|
581
|
-
};
|
|
582
|
-
}): Promise<OrganizationProjectsDataBatchEnableResponse>;
|
|
583
|
-
/**
|
|
584
|
-
* Bulk update the metadata of many raw data items in one go. This requires you to submit a CSV file with headers, one of which the columns should be named \'name\'. The other columns are used as metadata keys.
|
|
585
|
-
* @summary Bulk update metadata
|
|
586
|
-
* @param organizationId Organization ID
|
|
587
|
-
* @param csvFile
|
|
588
|
-
* @param projectIds
|
|
589
|
-
*/
|
|
590
|
-
organizationProjectsDataBulkUpdateMetadata(organizationId: number, params: organizationProjectsDataBulkUpdateMetadataFormParams, options?: {
|
|
591
|
-
headers: {
|
|
592
|
-
[name: string]: string;
|
|
593
|
-
};
|
|
594
|
-
}): Promise<StartJobResponse>;
|
|
595
480
|
/**
|
|
596
481
|
* Preview files and directories in a default dataset for the given prefix, with support for wildcards. This is an internal API used when starting a transformation job.
|
|
597
482
|
* @summary Preview files in a default dataset
|