edge-impulse-api 1.93.2 → 1.93.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.
Files changed (97) hide show
  1. package/build/library/sdk/api/apis.d.ts +3 -1
  2. package/build/library/sdk/api/apis.js +3 -1
  3. package/build/library/sdk/api/apis.js.map +1 -1
  4. package/build/library/sdk/api/datasetVersionsApi.d.ts +204 -0
  5. package/build/library/sdk/api/datasetVersionsApi.js +873 -0
  6. package/build/library/sdk/api/datasetVersionsApi.js.map +1 -0
  7. package/build/library/sdk/model/actorOAuthClient.d.ts +33 -0
  8. package/build/library/sdk/model/actorOAuthClient.js +55 -0
  9. package/build/library/sdk/model/actorOAuthClient.js.map +1 -0
  10. package/build/library/sdk/model/actorProjectApiKey.d.ts +43 -0
  11. package/build/library/sdk/model/actorProjectApiKey.js +76 -0
  12. package/build/library/sdk/model/actorProjectApiKey.js.map +1 -0
  13. package/build/library/sdk/model/actorProjectApiKeyAllOf.d.ts +27 -0
  14. package/build/library/sdk/model/actorProjectApiKeyAllOf.js +30 -0
  15. package/build/library/sdk/model/actorProjectApiKeyAllOf.js.map +1 -0
  16. package/build/library/sdk/model/actorUser.d.ts +31 -0
  17. package/build/library/sdk/model/actorUser.js +50 -0
  18. package/build/library/sdk/model/actorUser.js.map +1 -0
  19. package/build/library/sdk/model/actorUserAllOf.d.ts +27 -0
  20. package/build/library/sdk/model/actorUserAllOf.js +30 -0
  21. package/build/library/sdk/model/actorUserAllOf.js.map +1 -0
  22. package/build/library/sdk/model/dBAction.d.ts +13 -0
  23. package/build/library/sdk/model/dBAction.js +16 -0
  24. package/build/library/sdk/model/dBAction.js.map +1 -0
  25. package/build/library/sdk/model/datasetVersion.d.ts +67 -0
  26. package/build/library/sdk/model/datasetVersion.js +79 -0
  27. package/build/library/sdk/model/datasetVersion.js.map +1 -0
  28. package/build/library/sdk/model/datasetVersionChangeItem.d.ts +35 -0
  29. package/build/library/sdk/model/datasetVersionChangeItem.js +44 -0
  30. package/build/library/sdk/model/datasetVersionChangeItem.js.map +1 -0
  31. package/build/library/sdk/model/datasetVersionPendingWindow.d.ts +36 -0
  32. package/build/library/sdk/model/datasetVersionPendingWindow.js +39 -0
  33. package/build/library/sdk/model/datasetVersionPendingWindow.js.map +1 -0
  34. package/build/library/sdk/model/datasetVersionSummary.d.ts +34 -0
  35. package/build/library/sdk/model/datasetVersionSummary.js +39 -0
  36. package/build/library/sdk/model/datasetVersionSummary.js.map +1 -0
  37. package/build/library/sdk/model/datasetVersionSummaryActionCounts.d.ts +39 -0
  38. package/build/library/sdk/model/datasetVersionSummaryActionCounts.js +42 -0
  39. package/build/library/sdk/model/datasetVersionSummaryActionCounts.js.map +1 -0
  40. package/build/library/sdk/model/datasetVersionType.d.ts +13 -0
  41. package/build/library/sdk/model/datasetVersionType.js +16 -0
  42. package/build/library/sdk/model/datasetVersionType.js.map +1 -0
  43. package/build/library/sdk/model/getDatasetVersionRawDataResponse.d.ts +35 -0
  44. package/build/library/sdk/model/getDatasetVersionRawDataResponse.js +44 -0
  45. package/build/library/sdk/model/getDatasetVersionRawDataResponse.js.map +1 -0
  46. package/build/library/sdk/model/getDatasetVersionRawDataSampleResponse.d.ts +34 -0
  47. package/build/library/sdk/model/getDatasetVersionRawDataSampleResponse.js +39 -0
  48. package/build/library/sdk/model/getDatasetVersionRawDataSampleResponse.js.map +1 -0
  49. package/build/library/sdk/model/getDatasetVersionRawDataSampleResponseAllOf.d.ts +26 -0
  50. package/build/library/sdk/model/getDatasetVersionRawDataSampleResponseAllOf.js +29 -0
  51. package/build/library/sdk/model/getDatasetVersionRawDataSampleResponseAllOf.js.map +1 -0
  52. package/build/library/sdk/model/getDatasetVersionResponse.d.ts +34 -0
  53. package/build/library/sdk/model/getDatasetVersionResponse.js +39 -0
  54. package/build/library/sdk/model/getDatasetVersionResponse.js.map +1 -0
  55. package/build/library/sdk/model/getDatasetVersionResponseAllOf.d.ts +26 -0
  56. package/build/library/sdk/model/getDatasetVersionResponseAllOf.js +29 -0
  57. package/build/library/sdk/model/getDatasetVersionResponseAllOf.js.map +1 -0
  58. package/build/library/sdk/model/getDatasetVersionSampleChangeDetailsResponse.d.ts +34 -0
  59. package/build/library/sdk/model/getDatasetVersionSampleChangeDetailsResponse.js +39 -0
  60. package/build/library/sdk/model/getDatasetVersionSampleChangeDetailsResponse.js.map +1 -0
  61. package/build/library/sdk/model/getDatasetVersionSampleChangeDetailsResponseAllOf.d.ts +26 -0
  62. package/build/library/sdk/model/getDatasetVersionSampleChangeDetailsResponseAllOf.js +29 -0
  63. package/build/library/sdk/model/getDatasetVersionSampleChangeDetailsResponseAllOf.js.map +1 -0
  64. package/build/library/sdk/model/lastUpdatedByDatasetVersionRestore.d.ts +45 -0
  65. package/build/library/sdk/model/lastUpdatedByDatasetVersionRestore.js +48 -0
  66. package/build/library/sdk/model/lastUpdatedByDatasetVersionRestore.js.map +1 -0
  67. package/build/library/sdk/model/lastUpdatedByOAuthClient.d.ts +38 -0
  68. package/build/library/sdk/model/lastUpdatedByOAuthClient.js +43 -0
  69. package/build/library/sdk/model/lastUpdatedByOAuthClient.js.map +1 -0
  70. package/build/library/sdk/model/lastUpdatedByProjectApiKey.d.ts +34 -0
  71. package/build/library/sdk/model/lastUpdatedByProjectApiKey.js +38 -0
  72. package/build/library/sdk/model/lastUpdatedByProjectApiKey.js.map +1 -0
  73. package/build/library/sdk/model/lastUpdatedByUser.d.ts +34 -0
  74. package/build/library/sdk/model/lastUpdatedByUser.js +38 -0
  75. package/build/library/sdk/model/lastUpdatedByUser.js.map +1 -0
  76. package/build/library/sdk/model/listDatasetVersionChangesResponse.d.ts +35 -0
  77. package/build/library/sdk/model/listDatasetVersionChangesResponse.js +44 -0
  78. package/build/library/sdk/model/listDatasetVersionChangesResponse.js.map +1 -0
  79. package/build/library/sdk/model/listDatasetVersionChangesResponseAllOf.d.ts +27 -0
  80. package/build/library/sdk/model/listDatasetVersionChangesResponseAllOf.js +34 -0
  81. package/build/library/sdk/model/listDatasetVersionChangesResponseAllOf.js.map +1 -0
  82. package/build/library/sdk/model/listDatasetVersionsResponse.d.ts +37 -0
  83. package/build/library/sdk/model/listDatasetVersionsResponse.js +49 -0
  84. package/build/library/sdk/model/listDatasetVersionsResponse.js.map +1 -0
  85. package/build/library/sdk/model/listDatasetVersionsResponseAllOf.d.ts +29 -0
  86. package/build/library/sdk/model/listDatasetVersionsResponseAllOf.js +39 -0
  87. package/build/library/sdk/model/listDatasetVersionsResponseAllOf.js.map +1 -0
  88. package/build/library/sdk/model/models.d.ts +28 -0
  89. package/build/library/sdk/model/models.js +92 -0
  90. package/build/library/sdk/model/models.js.map +1 -1
  91. package/build/library/sdk/model/sample.d.ts +8 -0
  92. package/build/library/sdk/model/sample.js +5 -0
  93. package/build/library/sdk/model/sample.js.map +1 -1
  94. package/build/library/sdk/model/updateDatasetVersionRequest.d.ts +25 -0
  95. package/build/library/sdk/model/updateDatasetVersionRequest.js +29 -0
  96. package/build/library/sdk/model/updateDatasetVersionRequest.js.map +1 -0
  97. package/package.json +1 -1
@@ -13,6 +13,8 @@ export * from './classifyApi';
13
13
  import { ClassifyApi } from './classifyApi';
14
14
  export * from './dSPApi';
15
15
  import { DSPApi } from './dSPApi';
16
+ export * from './datasetVersionsApi';
17
+ import { DatasetVersionsApi } from './datasetVersionsApi';
16
18
  export * from './deploymentApi';
17
19
  import { DeploymentApi } from './deploymentApi';
18
20
  export * from './devicesApi';
@@ -92,4 +94,4 @@ export interface RequestDetailedFile {
92
94
  };
93
95
  }
94
96
  export type RequestFile = RequestDetailedFile;
95
- export declare const APIS: (typeof AdminApi | typeof AuthApi | typeof CDNApi | typeof CanaryApi | typeof ClassifyApi | typeof DSPApi | typeof DeploymentApi | typeof DevicesApi | typeof EmailVerificationApi | typeof ExportApi | typeof FeatureFlagsApi | typeof HealthApi | typeof ImpulseApi | typeof IntegrationsApi | typeof JobsApi | typeof LearnApi | typeof LoginApi | typeof MetricsApi | typeof OptimizationApi | typeof OrganizationBlocksApi | typeof OrganizationCreateProjectApi | typeof OrganizationDataApi | typeof OrganizationDataCampaignsApi | typeof OrganizationJobsApi | typeof OrganizationPipelinesApi | typeof OrganizationPortalsApi | typeof OrganizationsApi | typeof PerformanceCalibrationApi | typeof PostProcessingApi | typeof ProjectsApi | typeof RawDataApi | typeof TestApi | typeof ThemesApi | typeof ThirdPartyAuthApi | typeof UploadPortalApi | typeof UserApi | typeof VlmApi | typeof WhitelabelsApi)[];
97
+ export declare const APIS: (typeof AdminApi | typeof AuthApi | typeof CDNApi | typeof CanaryApi | typeof ClassifyApi | typeof DSPApi | typeof DatasetVersionsApi | typeof DeploymentApi | typeof DevicesApi | typeof EmailVerificationApi | typeof ExportApi | typeof FeatureFlagsApi | typeof HealthApi | typeof ImpulseApi | typeof IntegrationsApi | typeof JobsApi | typeof LearnApi | typeof LoginApi | typeof MetricsApi | typeof OptimizationApi | typeof OrganizationBlocksApi | typeof OrganizationCreateProjectApi | typeof OrganizationDataApi | typeof OrganizationDataCampaignsApi | typeof OrganizationJobsApi | typeof OrganizationPipelinesApi | typeof OrganizationPortalsApi | typeof OrganizationsApi | typeof PerformanceCalibrationApi | typeof PostProcessingApi | typeof ProjectsApi | typeof RawDataApi | typeof TestApi | typeof ThemesApi | typeof ThirdPartyAuthApi | typeof UploadPortalApi | typeof UserApi | typeof VlmApi | typeof WhitelabelsApi)[];
@@ -27,6 +27,8 @@ __exportStar(require("./classifyApi"), exports);
27
27
  const classifyApi_1 = require("./classifyApi");
28
28
  __exportStar(require("./dSPApi"), exports);
29
29
  const dSPApi_1 = require("./dSPApi");
30
+ __exportStar(require("./datasetVersionsApi"), exports);
31
+ const datasetVersionsApi_1 = require("./datasetVersionsApi");
30
32
  __exportStar(require("./deploymentApi"), exports);
31
33
  const deploymentApi_1 = require("./deploymentApi");
32
34
  __exportStar(require("./devicesApi"), exports);
@@ -101,5 +103,5 @@ class HttpError extends Error {
101
103
  }
102
104
  }
103
105
  exports.HttpError = HttpError;
104
- exports.APIS = [adminApi_1.AdminApi, authApi_1.AuthApi, cDNApi_1.CDNApi, canaryApi_1.CanaryApi, classifyApi_1.ClassifyApi, dSPApi_1.DSPApi, deploymentApi_1.DeploymentApi, devicesApi_1.DevicesApi, emailVerificationApi_1.EmailVerificationApi, exportApi_1.ExportApi, featureFlagsApi_1.FeatureFlagsApi, healthApi_1.HealthApi, impulseApi_1.ImpulseApi, integrationsApi_1.IntegrationsApi, jobsApi_1.JobsApi, learnApi_1.LearnApi, loginApi_1.LoginApi, metricsApi_1.MetricsApi, optimizationApi_1.OptimizationApi, organizationBlocksApi_1.OrganizationBlocksApi, organizationCreateProjectApi_1.OrganizationCreateProjectApi, organizationDataApi_1.OrganizationDataApi, organizationDataCampaignsApi_1.OrganizationDataCampaignsApi, organizationJobsApi_1.OrganizationJobsApi, organizationPipelinesApi_1.OrganizationPipelinesApi, organizationPortalsApi_1.OrganizationPortalsApi, organizationsApi_1.OrganizationsApi, performanceCalibrationApi_1.PerformanceCalibrationApi, postProcessingApi_1.PostProcessingApi, projectsApi_1.ProjectsApi, rawDataApi_1.RawDataApi, testApi_1.TestApi, themesApi_1.ThemesApi, thirdPartyAuthApi_1.ThirdPartyAuthApi, uploadPortalApi_1.UploadPortalApi, userApi_1.UserApi, vlmApi_1.VlmApi, whitelabelsApi_1.WhitelabelsApi];
106
+ exports.APIS = [adminApi_1.AdminApi, authApi_1.AuthApi, cDNApi_1.CDNApi, canaryApi_1.CanaryApi, classifyApi_1.ClassifyApi, dSPApi_1.DSPApi, datasetVersionsApi_1.DatasetVersionsApi, deploymentApi_1.DeploymentApi, devicesApi_1.DevicesApi, emailVerificationApi_1.EmailVerificationApi, exportApi_1.ExportApi, featureFlagsApi_1.FeatureFlagsApi, healthApi_1.HealthApi, impulseApi_1.ImpulseApi, integrationsApi_1.IntegrationsApi, jobsApi_1.JobsApi, learnApi_1.LearnApi, loginApi_1.LoginApi, metricsApi_1.MetricsApi, optimizationApi_1.OptimizationApi, organizationBlocksApi_1.OrganizationBlocksApi, organizationCreateProjectApi_1.OrganizationCreateProjectApi, organizationDataApi_1.OrganizationDataApi, organizationDataCampaignsApi_1.OrganizationDataCampaignsApi, organizationJobsApi_1.OrganizationJobsApi, organizationPipelinesApi_1.OrganizationPipelinesApi, organizationPortalsApi_1.OrganizationPortalsApi, organizationsApi_1.OrganizationsApi, performanceCalibrationApi_1.PerformanceCalibrationApi, postProcessingApi_1.PostProcessingApi, projectsApi_1.ProjectsApi, rawDataApi_1.RawDataApi, testApi_1.TestApi, themesApi_1.ThemesApi, thirdPartyAuthApi_1.ThirdPartyAuthApi, uploadPortalApi_1.UploadPortalApi, userApi_1.UserApi, vlmApi_1.VlmApi, whitelabelsApi_1.WhitelabelsApi];
105
107
  //# sourceMappingURL=apis.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"apis.js","sourceRoot":"","sources":["../../../../library/sdk/api/apis.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,6CAA2B;AAC3B,yCAAsC;AACtC,4CAA0B;AAC1B,uCAAoC;AACpC,2CAAyB;AACzB,qCAAkC;AAClC,8CAA4B;AAC5B,2CAAwC;AACxC,gDAA8B;AAC9B,+CAA4C;AAC5C,2CAAyB;AACzB,qCAAkC;AAClC,kDAAgC;AAChC,mDAAgD;AAChD,+CAA6B;AAC7B,6CAA0C;AAC1C,yDAAuC;AACvC,iEAA8D;AAC9D,8CAA4B;AAC5B,2CAAwC;AACxC,oDAAkC;AAClC,uDAAoD;AACpD,8CAA4B;AAC5B,2CAAwC;AACxC,+CAA6B;AAC7B,6CAA0C;AAC1C,oDAAkC;AAClC,uDAAoD;AACpD,4CAA0B;AAC1B,uCAAoC;AACpC,6CAA2B;AAC3B,yCAAsC;AACtC,6CAA2B;AAC3B,yCAAsC;AACtC,+CAA6B;AAC7B,6CAA0C;AAC1C,oDAAkC;AAClC,uDAAoD;AACpD,0DAAwC;AACxC,mEAAgE;AAChE,iEAA+C;AAC/C,iFAA8E;AAC9E,wDAAsC;AACtC,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DAAwD;AACxD,oDAAkC;AAClC,uDAAoD;AACpD,4CAA0B;AAC1B,uCAAoC;AACpC,2CAAyB;AACzB,qCAAkC;AAClC,mDAAiC;AACjC,qDAAkD;AAIlD,MAAa,SAAU,SAAQ,KAAK;IAChC,YAAoB,QAA8B,EAAS,IAAS,EAAS,UAAmB;QAC5F,KAAK,CAAC,qBAAqB,CAAC,CAAC;QADb,aAAQ,GAAR,QAAQ,CAAsB;QAAS,SAAI,GAAJ,IAAI,CAAK;QAAS,eAAU,GAAV,UAAU,CAAS;QAE5F,IAAI,CAAC,IAAI,GAAG,WAAW,CAAC;IAC5B,CAAC;CACJ;AALD,8BAKC;AAYY,QAAA,IAAI,GAAG,CAAC,mBAAQ,EAAE,iBAAO,EAAE,eAAM,EAAE,qBAAS,EAAE,yBAAW,EAAE,eAAM,EAAE,uCAAkB,EAAE,6BAAa,EAAE,uBAAU,EAAE,2CAAoB,EAAE,qBAAS,EAAE,iCAAe,EAAE,qBAAS,EAAE,uBAAU,EAAE,iCAAe,EAAE,iBAAO,EAAE,mBAAQ,EAAE,mBAAQ,EAAE,uBAAU,EAAE,iCAAe,EAAE,6CAAqB,EAAE,2DAA4B,EAAE,yCAAmB,EAAE,2DAA4B,EAAE,yCAAmB,EAAE,mDAAwB,EAAE,+CAAsB,EAAE,mCAAgB,EAAE,qDAAyB,EAAE,qCAAiB,EAAE,yBAAW,EAAE,uBAAU,EAAE,iBAAO,EAAE,qBAAS,EAAE,qCAAiB,EAAE,iCAAe,EAAE,iBAAO,EAAE,eAAM,EAAE,+BAAc,CAAC,CAAC"}
@@ -0,0 +1,204 @@
1
+ /**
2
+ * Edge Impulse API
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { Response as UndiciResponse } from 'undici-types';
13
+ import { GenericApiResponse } from '../model/genericApiResponse';
14
+ import { StartJobResponse } from '../model/startJobResponse';
15
+ import { GetDatasetVersionRawDataResponse } from '../model/getDatasetVersionRawDataResponse';
16
+ import { GetDatasetVersionRawDataSampleResponse } from '../model/getDatasetVersionRawDataSampleResponse';
17
+ import { GetDatasetVersionResponse } from '../model/getDatasetVersionResponse';
18
+ import { GetDatasetVersionSampleChangeDetailsResponse } from '../model/getDatasetVersionSampleChangeDetailsResponse';
19
+ import { ListDatasetVersionChangesResponse } from '../model/listDatasetVersionChangesResponse';
20
+ import { ListDatasetVersionsResponse } from '../model/listDatasetVersionsResponse';
21
+ import { RawDataFilterCategory } from '../model/rawDataFilterCategory';
22
+ import { UpdateDatasetVersionRequest } from '../model/updateDatasetVersionRequest';
23
+ import { Authentication } from '../model/models';
24
+ import { ApiKeyAuth, OAuth } from '../model/models';
25
+ export declare enum DatasetVersionsApiApiKeys {
26
+ ApiKeyAuthentication = 0,
27
+ JWTAuthentication = 1,
28
+ JWTHttpHeaderAuthentication = 2
29
+ }
30
+ type getDatasetVersionRawDataQueryParams = {
31
+ category: RawDataFilterCategory;
32
+ limit?: number;
33
+ offset?: number;
34
+ excludeSensors?: boolean;
35
+ labels?: string;
36
+ filename?: string;
37
+ maxLength?: number;
38
+ minLength?: number;
39
+ minFrequency?: number;
40
+ maxFrequency?: number;
41
+ signatureValidity?: 'both' | 'valid' | 'invalid';
42
+ includeDisabled?: 'both' | 'enabled' | 'disabled';
43
+ minLabel?: number;
44
+ maxLabel?: number;
45
+ search?: string;
46
+ truncateStructuredLabels?: boolean;
47
+ sortBy?: 'id-desc' | 'random';
48
+ dataType?: 'audio' | 'image';
49
+ minId?: number;
50
+ maxId?: number;
51
+ metadata?: string;
52
+ minDate?: Date;
53
+ maxDate?: Date;
54
+ };
55
+ type listDatasetVersionChangesQueryParams = {
56
+ limit?: number;
57
+ offset?: number;
58
+ };
59
+ type listDatasetVersionsQueryParams = {
60
+ limit?: number;
61
+ offset?: number;
62
+ };
63
+ export type DatasetVersionsApiOpts = {
64
+ extraHeaders?: Record<string, string>;
65
+ };
66
+ export declare class DatasetVersionsApi {
67
+ protected _basePath: string;
68
+ protected defaultHeaders: Record<string, string>;
69
+ protected _opts: DatasetVersionsApiOpts;
70
+ protected authentications: {
71
+ default: Authentication;
72
+ ApiKeyAuthentication: ApiKeyAuth;
73
+ OAuth2: OAuth;
74
+ JWTAuthentication: ApiKeyAuth;
75
+ JWTHttpHeaderAuthentication: ApiKeyAuth;
76
+ };
77
+ protected handleResponse(response: Response | UndiciResponse, returnType: string | undefined): Promise<any>;
78
+ constructor(basePath?: string, opts?: DatasetVersionsApiOpts);
79
+ set basePath(basePath: string);
80
+ get basePath(): string;
81
+ set opts(opts: DatasetVersionsApiOpts);
82
+ get opts(): DatasetVersionsApiOpts;
83
+ setDefaultAuthentication(auth: Authentication): void;
84
+ setApiKey(key: DatasetVersionsApiApiKeys, value: string | undefined): void;
85
+ set accessToken(token: string);
86
+ /**
87
+ * Get details of a specific dataset version for this project.
88
+ * @summary Get dataset version
89
+ * @param projectId Project ID
90
+ * @param datasetVersionId Dataset version ID
91
+ */
92
+ getDatasetVersion(projectId: number, datasetVersionId: number, options?: {
93
+ headers: {
94
+ [name: string]: string;
95
+ };
96
+ }): Promise<GetDatasetVersionResponse>;
97
+ /**
98
+ * Get the full snapshot raw data contents of a specific dataset for this project.
99
+ * @summary Get dataset version raw-data contents
100
+ * @param projectId Project ID
101
+ * @param datasetVersionId Dataset version ID
102
+ * @param category Which of the three acquisition categories to retrieve data from
103
+ * @param limit Maximum number of results
104
+ * @param offset Offset in results, can be used in conjunction with LimitResultsParameter to implement paging.
105
+ * @param excludeSensors Whether to exclude sensors in the response (as these can slow down requests when you have large pages).
106
+ * @param labels Only include samples with a label within the given list of labels, given as a JSON string
107
+ * @param filename Only include samples whose filename includes the given filename
108
+ * @param maxLength Only include samples shorter than the given length, in milliseconds
109
+ * @param minLength Only include samples longer than the given length, in milliseconds
110
+ * @param minFrequency Only include samples with higher frequency than given frequency, in hertz
111
+ * @param maxFrequency Only include samples with lower frequency than given frequency, in hertz
112
+ * @param signatureValidity Include samples with either valid or invalid signatures
113
+ * @param includeDisabled Include only enabled or disabled samples (or both)
114
+ * @param minLabel Only include samples with a label &gt;&#x3D; this value
115
+ * @param maxLabel Only include samples with a label &lt; this value
116
+ * @param search Search query
117
+ * @param truncateStructuredLabels If true, only a slice of labels will be returned for samples with multiple labels.
118
+ * @param sortBy If not specified, \&quot;id-desc\&quot; is used.
119
+ * @param dataType Include only samples with a particular data type
120
+ * @param minId Include only samples with an ID &gt;&#x3D; this value
121
+ * @param maxId Include only samples with an ID &lt; this value
122
+ * @param metadata Filter samples by metadata key-value pairs, provided as a JSON string. Each item in the filter list is an object with the following properties: - \&quot;key\&quot;: Metadata key to filter on. - \&quot;op\&quot;: Operator (\&quot;eq\&quot; for positive match, \&quot;neq\&quot; for negative match). - \&quot;values\&quot;: (optional) Array of values to match/exclude. If omitted or empty, matches/excludes all values for the key. In addition to filter objects, the following option objects can be specified: - { \&quot;no_metadata\&quot;: boolean } - If true, include samples without any metadata - { \&quot;filters_combinator\&quot;: (\&quot;and\&quot; | \&quot;or\&quot;) } - Specifies the combinator and matching mode: - \&quot;and\&quot;: All filter items must match (logical AND). - \&quot;or\&quot;: Any filter item may match (logical OR); samples with metadata keys not present in the filters are included.
123
+ * @param minDate Only include samples that where added after the date given
124
+ * @param maxDate Only include samples that were added before the date given
125
+ */
126
+ getDatasetVersionRawData(projectId: number, datasetVersionId: number, queryParams: getDatasetVersionRawDataQueryParams, options?: {
127
+ headers: {
128
+ [name: string]: string;
129
+ };
130
+ }): Promise<GetDatasetVersionRawDataResponse>;
131
+ /**
132
+ * Get a raw sample from a specific dataset version.
133
+ * @summary Get dataset version raw sample
134
+ * @param projectId Project ID
135
+ * @param datasetVersionId Dataset version ID
136
+ * @param sampleId Sample ID
137
+ */
138
+ getDatasetVersionRawSample(projectId: number, datasetVersionId: number, sampleId: number, options?: {
139
+ headers: {
140
+ [name: string]: string;
141
+ };
142
+ }): Promise<GetDatasetVersionRawDataSampleResponse>;
143
+ /**
144
+ * Get a sample\'s changes in a specific dataset version for this project.
145
+ * @summary Get dataset version sample change details
146
+ * @param projectId Project ID
147
+ * @param datasetVersionId Dataset version ID
148
+ * @param sampleId Sample ID
149
+ */
150
+ getDatasetVersionSampleChangeDetails(projectId: number, datasetVersionId: number, sampleId: number, options?: {
151
+ headers: {
152
+ [name: string]: string;
153
+ };
154
+ }): Promise<GetDatasetVersionSampleChangeDetailsResponse>;
155
+ /**
156
+ * List details of the changes in a specific dataset version for this project.
157
+ * @summary List dataset version changes
158
+ * @param projectId Project ID
159
+ * @param datasetVersionId Dataset version ID
160
+ * @param limit Maximum number of results
161
+ * @param offset Offset in results, can be used in conjunction with LimitResultsParameter to implement paging.
162
+ */
163
+ listDatasetVersionChanges(projectId: number, datasetVersionId: number, queryParams?: listDatasetVersionChangesQueryParams, options?: {
164
+ headers: {
165
+ [name: string]: string;
166
+ };
167
+ }): Promise<ListDatasetVersionChangesResponse>;
168
+ /**
169
+ * Get a list of all dataset versions for this project.
170
+ * @summary List dataset versions
171
+ * @param projectId Project ID
172
+ * @param limit Maximum number of results
173
+ * @param offset Offset in results, can be used in conjunction with LimitResultsParameter to implement paging.
174
+ */
175
+ listDatasetVersions(projectId: number, queryParams?: listDatasetVersionsQueryParams, options?: {
176
+ headers: {
177
+ [name: string]: string;
178
+ };
179
+ }): Promise<ListDatasetVersionsResponse>;
180
+ /**
181
+ * Restore the project\'s active dataset to a specific version.
182
+ * @summary Restore dataset version
183
+ * @param projectId Project ID
184
+ * @param datasetVersionId Dataset version ID
185
+ */
186
+ restoreDatasetVersion(projectId: number, datasetVersionId: number, options?: {
187
+ headers: {
188
+ [name: string]: string;
189
+ };
190
+ }): Promise<GenericApiResponse | StartJobResponse>;
191
+ /**
192
+ * Update a dataset version
193
+ * @summary Update dataset version
194
+ * @param projectId Project ID
195
+ * @param datasetVersionId Dataset version ID
196
+ * @param updateDatasetVersionRequest
197
+ */
198
+ updateDatasetVersion(projectId: number, datasetVersionId: number, updateDatasetVersionRequest: UpdateDatasetVersionRequest, options?: {
199
+ headers: {
200
+ [name: string]: string;
201
+ };
202
+ }): Promise<GenericApiResponse>;
203
+ }
204
+ export {};