edge-impulse-api 1.93.7 → 1.93.9

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 (40) hide show
  1. package/build/browser/edge-impulse-api.d.ts +60 -90
  2. package/build/browser/edge-impulse-api.js +49 -257
  3. package/build/browser/edge-impulse-api.js.map +1 -1
  4. package/build/library/sdk/api/datasetVersionsApi.d.ts +12 -50
  5. package/build/library/sdk/api/datasetVersionsApi.js +19 -231
  6. package/build/library/sdk/api/datasetVersionsApi.js.map +1 -1
  7. package/build/library/sdk/api/rawDataApi.d.ts +2 -0
  8. package/build/library/sdk/api/rawDataApi.js +4 -0
  9. package/build/library/sdk/api/rawDataApi.js.map +1 -1
  10. package/build/library/sdk/model/datasetVersionRawDataChangeDetailItem.d.ts +6 -0
  11. package/build/library/sdk/model/{listDatasetVersionChangesResponse.js → datasetVersionRawDataChangeDetailItem.js} +1 -1
  12. package/build/library/sdk/model/datasetVersionRawDataChangeDetailItem.js.map +1 -0
  13. package/build/library/sdk/model/datasetVersionRawDataChangeDetails.d.ts +5 -0
  14. package/build/library/sdk/model/{getDatasetVersionRawDataResponse.js → datasetVersionRawDataChangeDetails.js} +1 -1
  15. package/build/library/sdk/model/datasetVersionRawDataChangeDetails.js.map +1 -0
  16. package/build/library/sdk/model/getDatasetVersionRawDataChangesResponse.d.ts +13 -0
  17. package/build/library/sdk/model/{getDatasetVersionRawDataSampleResponse.js → getDatasetVersionRawDataChangesResponse.js} +1 -1
  18. package/build/library/sdk/model/getDatasetVersionRawDataChangesResponse.js.map +1 -0
  19. package/build/library/sdk/model/lastUpdatedByDatasetVersionRestore.d.ts +2 -2
  20. package/build/library/sdk/model/models.d.ts +4 -4
  21. package/build/library/sdk/model/models.js +4 -4
  22. package/build/library/sdk/model/models.js.map +1 -1
  23. package/build/library/sdk/model/projectDatasetMetadataBase.d.ts +5 -0
  24. package/build/library/sdk/model/projectDatasetMetadataBase.js.map +1 -1
  25. package/build/library/sdk/model/projectDatasetMetadataBaseChangeActionCounts.d.ts +17 -0
  26. package/build/library/sdk/model/{getDatasetVersionSampleChangeDetailsResponse.js → projectDatasetMetadataBaseChangeActionCounts.js} +1 -1
  27. package/build/library/sdk/model/projectDatasetMetadataBaseChangeActionCounts.js.map +1 -0
  28. package/build/library/sdk/model/projectDatasetMetadataClassesCategory.d.ts +5 -0
  29. package/build/library/sdk/model/projectDatasetMetadataClassesCategory.js.map +1 -1
  30. package/build/library/sdk/model/projectDatasetMetadataRegressionCategory.d.ts +5 -0
  31. package/build/library/sdk/model/projectDatasetMetadataRegressionCategory.js.map +1 -1
  32. package/package.json +1 -1
  33. package/build/library/sdk/model/getDatasetVersionRawDataResponse.d.ts +0 -13
  34. package/build/library/sdk/model/getDatasetVersionRawDataResponse.js.map +0 -1
  35. package/build/library/sdk/model/getDatasetVersionRawDataSampleResponse.d.ts +0 -12
  36. package/build/library/sdk/model/getDatasetVersionRawDataSampleResponse.js.map +0 -1
  37. package/build/library/sdk/model/getDatasetVersionSampleChangeDetailsResponse.d.ts +0 -12
  38. package/build/library/sdk/model/getDatasetVersionSampleChangeDetailsResponse.js.map +0 -1
  39. package/build/library/sdk/model/listDatasetVersionChangesResponse.d.ts +0 -13
  40. package/build/library/sdk/model/listDatasetVersionChangesResponse.js.map +0 -1
@@ -10880,8 +10880,8 @@ class DatasetVersionsApi {
10880
10880
  return this.handleResponse(response, 'GetDatasetVersionResponse');
10881
10881
  }
10882
10882
  /**
10883
- * Get the full snapshot raw data contents of a specific dataset for this project.
10884
- * @summary Get dataset version raw-data contents
10883
+ * Get raw data samples from a specific dataset snapshot for this project, including per-sample change metadata when available.
10884
+ * @summary Get dataset version raw-data samples with changes
10885
10885
  * @param projectId Project ID
10886
10886
  * @param datasetVersionId Dataset version ID
10887
10887
  * @param category Which of the three acquisition categories to retrieve data from
@@ -10907,9 +10907,10 @@ class DatasetVersionsApi {
10907
10907
  * @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: - \"key\": Metadata key to filter on. - \"op\": Operator (\"eq\" for positive match, \"neq\" for negative match). - \"values\": (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: - { \"no_metadata\": boolean } - If true, include samples without any metadata - { \"filters_combinator\": (\"and\" | \"or\") } - Specifies the combinator and matching mode: - \"and\": All filter items must match (logical AND). - \"or\": Any filter item may match (logical OR); samples with metadata keys not present in the filters are included.
10908
10908
  * @param minDate Only include samples that where added after the date given
10909
10909
  * @param maxDate Only include samples that were added before the date given
10910
+ * @param changeActions Only include changes with an action within the given list of actions, given as a JSON string
10910
10911
  */
10911
- async getDatasetVersionRawData(projectId, datasetVersionId, queryParams, options = { headers: {} }) {
10912
- const localVarPath = this.basePath + '/api/{projectId}/dataset-versions/{datasetVersionId}/raw-data'
10912
+ async getDatasetVersionRawDataChanges(projectId, datasetVersionId, queryParams, options = { headers: {} }) {
10913
+ const localVarPath = this.basePath + '/api/{projectId}/dataset-versions/{datasetVersionId}/raw-data-changes'
10913
10914
  .replace('{' + 'projectId' + '}', encodeURIComponent(String(projectId)))
10914
10915
  .replace('{' + 'datasetVersionId' + '}', encodeURIComponent(String(datasetVersionId)));
10915
10916
  let queryParameters = {};
@@ -10929,15 +10930,15 @@ class DatasetVersionsApi {
10929
10930
  let localVarFormParams;
10930
10931
  // verify required parameter 'projectId' is not null or undefined
10931
10932
  if (projectId === null || projectId === undefined) {
10932
- throw new Error('Required parameter projectId was null or undefined when calling getDatasetVersionRawData.');
10933
+ throw new Error('Required parameter projectId was null or undefined when calling getDatasetVersionRawDataChanges.');
10933
10934
  }
10934
10935
  // verify required parameter 'datasetVersionId' is not null or undefined
10935
10936
  if (datasetVersionId === null || datasetVersionId === undefined) {
10936
- throw new Error('Required parameter datasetVersionId was null or undefined when calling getDatasetVersionRawData.');
10937
+ throw new Error('Required parameter datasetVersionId was null or undefined when calling getDatasetVersionRawDataChanges.');
10937
10938
  }
10938
10939
  // verify required parameter 'category' is not null or undefined
10939
10940
  if (queryParams.category === null || queryParams.category === undefined) {
10940
- throw new Error('Required parameter queryParams.category was null or undefined when calling getDatasetVersionRawData.');
10941
+ throw new Error('Required parameter queryParams.category was null or undefined when calling getDatasetVersionRawDataChanges.');
10941
10942
  }
10942
10943
  if (typeof (queryParams === null || queryParams === void 0 ? void 0 : queryParams.category) !== 'undefined' && (queryParams === null || queryParams === void 0 ? void 0 : queryParams.category) !== null) {
10943
10944
  queryParameters['category'] = queryParams.category;
@@ -11008,153 +11009,8 @@ class DatasetVersionsApi {
11008
11009
  if (typeof (queryParams === null || queryParams === void 0 ? void 0 : queryParams.maxDate) !== 'undefined' && (queryParams === null || queryParams === void 0 ? void 0 : queryParams.maxDate) !== null) {
11009
11010
  queryParameters['maxDate'] = queryParams.maxDate.toISOString();
11010
11011
  }
11011
- localVarHeaderParams = {
11012
- ...localVarHeaderParams,
11013
- ...options.headers,
11014
- ...this.opts.extraHeaders,
11015
- };
11016
- const queryString = Object.entries(queryParameters)
11017
- .filter(([, value]) => value !== undefined)
11018
- .map(([key, value]) => `${key}=${encodeURIComponent(String(value))}`)
11019
- .join('&');
11020
- let localVarUrl = localVarPath + (queryString ? `?${queryString}` : '');
11021
- let localVarRequestOptions = {
11022
- method: 'GET',
11023
- headers: { ...localVarHeaderParams },
11024
- };
11025
- let requestOptions = localVarRequestOptions;
11026
- let url = localVarUrl;
11027
- const auth_ApiKeyAuthentication = await this.authentications.ApiKeyAuthentication.applyToRequest(requestOptions, url);
11028
- requestOptions = auth_ApiKeyAuthentication.requestOptions;
11029
- url = auth_ApiKeyAuthentication.url;
11030
- const auth_JWTAuthentication = await this.authentications.JWTAuthentication.applyToRequest(requestOptions, url);
11031
- requestOptions = auth_JWTAuthentication.requestOptions;
11032
- url = auth_JWTAuthentication.url;
11033
- const auth_JWTHttpHeaderAuthentication = await this.authentications.JWTHttpHeaderAuthentication.applyToRequest(requestOptions, url);
11034
- requestOptions = auth_JWTHttpHeaderAuthentication.requestOptions;
11035
- url = auth_JWTHttpHeaderAuthentication.url;
11036
- const auth_OAuth2 = await this.authentications.OAuth2.applyToRequest(requestOptions, url);
11037
- requestOptions = auth_OAuth2.requestOptions;
11038
- url = auth_OAuth2.url;
11039
- const authDefault = await this.authentications.default.applyToRequest(requestOptions, url);
11040
- requestOptions = authDefault.requestOptions;
11041
- url = authDefault.url;
11042
- (0, models_1.applyFormParams)(requestOptions, localVarFormParams);
11043
- const response = await fetch(url, requestOptions);
11044
- return this.handleResponse(response, 'GetDatasetVersionRawDataResponse');
11045
- }
11046
- /**
11047
- * Get a raw sample from a specific dataset version.
11048
- * @summary Get dataset version raw sample
11049
- * @param projectId Project ID
11050
- * @param datasetVersionId Dataset version ID
11051
- * @param sampleId Sample ID
11052
- */
11053
- async getDatasetVersionRawSample(projectId, datasetVersionId, sampleId, options = { headers: {} }) {
11054
- const localVarPath = this.basePath + '/api/{projectId}/dataset-versions/{datasetVersionId}/raw-data/{sampleId}'
11055
- .replace('{' + 'projectId' + '}', encodeURIComponent(String(projectId)))
11056
- .replace('{' + 'datasetVersionId' + '}', encodeURIComponent(String(datasetVersionId)))
11057
- .replace('{' + 'sampleId' + '}', encodeURIComponent(String(sampleId)));
11058
- let queryParameters = {};
11059
- let localVarHeaderParams = {
11060
- ...(typeof window === "undefined" ? { "User-Agent": "edgeimpulse-api nodejs" } : {}),
11061
- 'Content-Type': 'application/json',
11062
- ...this.defaultHeaders,
11063
- };
11064
- const produces = ['application/json'];
11065
- // give precedence to 'application/json'
11066
- if (produces.indexOf('application/json') >= 0) {
11067
- localVarHeaderParams.Accept = 'application/json';
11068
- }
11069
- else {
11070
- localVarHeaderParams.Accept = produces.join(',');
11071
- }
11072
- let localVarFormParams;
11073
- // verify required parameter 'projectId' is not null or undefined
11074
- if (projectId === null || projectId === undefined) {
11075
- throw new Error('Required parameter projectId was null or undefined when calling getDatasetVersionRawSample.');
11076
- }
11077
- // verify required parameter 'datasetVersionId' is not null or undefined
11078
- if (datasetVersionId === null || datasetVersionId === undefined) {
11079
- throw new Error('Required parameter datasetVersionId was null or undefined when calling getDatasetVersionRawSample.');
11080
- }
11081
- // verify required parameter 'sampleId' is not null or undefined
11082
- if (sampleId === null || sampleId === undefined) {
11083
- throw new Error('Required parameter sampleId was null or undefined when calling getDatasetVersionRawSample.');
11084
- }
11085
- localVarHeaderParams = {
11086
- ...localVarHeaderParams,
11087
- ...options.headers,
11088
- ...this.opts.extraHeaders,
11089
- };
11090
- const queryString = Object.entries(queryParameters)
11091
- .filter(([, value]) => value !== undefined)
11092
- .map(([key, value]) => `${key}=${encodeURIComponent(String(value))}`)
11093
- .join('&');
11094
- let localVarUrl = localVarPath + (queryString ? `?${queryString}` : '');
11095
- let localVarRequestOptions = {
11096
- method: 'GET',
11097
- headers: { ...localVarHeaderParams },
11098
- };
11099
- let requestOptions = localVarRequestOptions;
11100
- let url = localVarUrl;
11101
- const auth_ApiKeyAuthentication = await this.authentications.ApiKeyAuthentication.applyToRequest(requestOptions, url);
11102
- requestOptions = auth_ApiKeyAuthentication.requestOptions;
11103
- url = auth_ApiKeyAuthentication.url;
11104
- const auth_JWTAuthentication = await this.authentications.JWTAuthentication.applyToRequest(requestOptions, url);
11105
- requestOptions = auth_JWTAuthentication.requestOptions;
11106
- url = auth_JWTAuthentication.url;
11107
- const auth_JWTHttpHeaderAuthentication = await this.authentications.JWTHttpHeaderAuthentication.applyToRequest(requestOptions, url);
11108
- requestOptions = auth_JWTHttpHeaderAuthentication.requestOptions;
11109
- url = auth_JWTHttpHeaderAuthentication.url;
11110
- const auth_OAuth2 = await this.authentications.OAuth2.applyToRequest(requestOptions, url);
11111
- requestOptions = auth_OAuth2.requestOptions;
11112
- url = auth_OAuth2.url;
11113
- const authDefault = await this.authentications.default.applyToRequest(requestOptions, url);
11114
- requestOptions = authDefault.requestOptions;
11115
- url = authDefault.url;
11116
- (0, models_1.applyFormParams)(requestOptions, localVarFormParams);
11117
- const response = await fetch(url, requestOptions);
11118
- return this.handleResponse(response, 'GetDatasetVersionRawDataSampleResponse');
11119
- }
11120
- /**
11121
- * Get a sample\'s changes in a specific dataset version for this project.
11122
- * @summary Get dataset version sample change details
11123
- * @param projectId Project ID
11124
- * @param datasetVersionId Dataset version ID
11125
- * @param sampleId Sample ID
11126
- */
11127
- async getDatasetVersionSampleChangeDetails(projectId, datasetVersionId, sampleId, options = { headers: {} }) {
11128
- const localVarPath = this.basePath + '/api/{projectId}/dataset-versions/{datasetVersionId}/changes/{sampleId}'
11129
- .replace('{' + 'projectId' + '}', encodeURIComponent(String(projectId)))
11130
- .replace('{' + 'datasetVersionId' + '}', encodeURIComponent(String(datasetVersionId)))
11131
- .replace('{' + 'sampleId' + '}', encodeURIComponent(String(sampleId)));
11132
- let queryParameters = {};
11133
- let localVarHeaderParams = {
11134
- ...(typeof window === "undefined" ? { "User-Agent": "edgeimpulse-api nodejs" } : {}),
11135
- 'Content-Type': 'application/json',
11136
- ...this.defaultHeaders,
11137
- };
11138
- const produces = ['application/json'];
11139
- // give precedence to 'application/json'
11140
- if (produces.indexOf('application/json') >= 0) {
11141
- localVarHeaderParams.Accept = 'application/json';
11142
- }
11143
- else {
11144
- localVarHeaderParams.Accept = produces.join(',');
11145
- }
11146
- let localVarFormParams;
11147
- // verify required parameter 'projectId' is not null or undefined
11148
- if (projectId === null || projectId === undefined) {
11149
- throw new Error('Required parameter projectId was null or undefined when calling getDatasetVersionSampleChangeDetails.');
11150
- }
11151
- // verify required parameter 'datasetVersionId' is not null or undefined
11152
- if (datasetVersionId === null || datasetVersionId === undefined) {
11153
- throw new Error('Required parameter datasetVersionId was null or undefined when calling getDatasetVersionSampleChangeDetails.');
11154
- }
11155
- // verify required parameter 'sampleId' is not null or undefined
11156
- if (sampleId === null || sampleId === undefined) {
11157
- throw new Error('Required parameter sampleId was null or undefined when calling getDatasetVersionSampleChangeDetails.');
11012
+ if (typeof (queryParams === null || queryParams === void 0 ? void 0 : queryParams.changeActions) !== 'undefined' && (queryParams === null || queryParams === void 0 ? void 0 : queryParams.changeActions) !== null) {
11013
+ queryParameters['changeActions'] = queryParams.changeActions;
11158
11014
  }
11159
11015
  localVarHeaderParams = {
11160
11016
  ...localVarHeaderParams,
@@ -11189,83 +11045,7 @@ class DatasetVersionsApi {
11189
11045
  url = authDefault.url;
11190
11046
  (0, models_1.applyFormParams)(requestOptions, localVarFormParams);
11191
11047
  const response = await fetch(url, requestOptions);
11192
- return this.handleResponse(response, 'GetDatasetVersionSampleChangeDetailsResponse');
11193
- }
11194
- /**
11195
- * List details of the changes in a specific dataset version for this project.
11196
- * @summary List dataset version changes
11197
- * @param projectId Project ID
11198
- * @param datasetVersionId Dataset version ID
11199
- * @param limit Maximum number of results
11200
- * @param offset Offset in results, can be used in conjunction with LimitResultsParameter to implement paging.
11201
- */
11202
- async listDatasetVersionChanges(projectId, datasetVersionId, queryParams, options = { headers: {} }) {
11203
- const localVarPath = this.basePath + '/api/{projectId}/dataset-versions/{datasetVersionId}/changes'
11204
- .replace('{' + 'projectId' + '}', encodeURIComponent(String(projectId)))
11205
- .replace('{' + 'datasetVersionId' + '}', encodeURIComponent(String(datasetVersionId)));
11206
- let queryParameters = {};
11207
- let localVarHeaderParams = {
11208
- ...(typeof window === "undefined" ? { "User-Agent": "edgeimpulse-api nodejs" } : {}),
11209
- 'Content-Type': 'application/json',
11210
- ...this.defaultHeaders,
11211
- };
11212
- const produces = ['application/json'];
11213
- // give precedence to 'application/json'
11214
- if (produces.indexOf('application/json') >= 0) {
11215
- localVarHeaderParams.Accept = 'application/json';
11216
- }
11217
- else {
11218
- localVarHeaderParams.Accept = produces.join(',');
11219
- }
11220
- let localVarFormParams;
11221
- // verify required parameter 'projectId' is not null or undefined
11222
- if (projectId === null || projectId === undefined) {
11223
- throw new Error('Required parameter projectId was null or undefined when calling listDatasetVersionChanges.');
11224
- }
11225
- // verify required parameter 'datasetVersionId' is not null or undefined
11226
- if (datasetVersionId === null || datasetVersionId === undefined) {
11227
- throw new Error('Required parameter datasetVersionId was null or undefined when calling listDatasetVersionChanges.');
11228
- }
11229
- if (typeof (queryParams === null || queryParams === void 0 ? void 0 : queryParams.limit) !== 'undefined' && (queryParams === null || queryParams === void 0 ? void 0 : queryParams.limit) !== null) {
11230
- queryParameters['limit'] = queryParams.limit;
11231
- }
11232
- if (typeof (queryParams === null || queryParams === void 0 ? void 0 : queryParams.offset) !== 'undefined' && (queryParams === null || queryParams === void 0 ? void 0 : queryParams.offset) !== null) {
11233
- queryParameters['offset'] = queryParams.offset;
11234
- }
11235
- localVarHeaderParams = {
11236
- ...localVarHeaderParams,
11237
- ...options.headers,
11238
- ...this.opts.extraHeaders,
11239
- };
11240
- const queryString = Object.entries(queryParameters)
11241
- .filter(([, value]) => value !== undefined)
11242
- .map(([key, value]) => `${key}=${encodeURIComponent(String(value))}`)
11243
- .join('&');
11244
- let localVarUrl = localVarPath + (queryString ? `?${queryString}` : '');
11245
- let localVarRequestOptions = {
11246
- method: 'GET',
11247
- headers: { ...localVarHeaderParams },
11248
- };
11249
- let requestOptions = localVarRequestOptions;
11250
- let url = localVarUrl;
11251
- const auth_ApiKeyAuthentication = await this.authentications.ApiKeyAuthentication.applyToRequest(requestOptions, url);
11252
- requestOptions = auth_ApiKeyAuthentication.requestOptions;
11253
- url = auth_ApiKeyAuthentication.url;
11254
- const auth_JWTAuthentication = await this.authentications.JWTAuthentication.applyToRequest(requestOptions, url);
11255
- requestOptions = auth_JWTAuthentication.requestOptions;
11256
- url = auth_JWTAuthentication.url;
11257
- const auth_JWTHttpHeaderAuthentication = await this.authentications.JWTHttpHeaderAuthentication.applyToRequest(requestOptions, url);
11258
- requestOptions = auth_JWTHttpHeaderAuthentication.requestOptions;
11259
- url = auth_JWTHttpHeaderAuthentication.url;
11260
- const auth_OAuth2 = await this.authentications.OAuth2.applyToRequest(requestOptions, url);
11261
- requestOptions = auth_OAuth2.requestOptions;
11262
- url = auth_OAuth2.url;
11263
- const authDefault = await this.authentications.default.applyToRequest(requestOptions, url);
11264
- requestOptions = authDefault.requestOptions;
11265
- url = authDefault.url;
11266
- (0, models_1.applyFormParams)(requestOptions, localVarFormParams);
11267
- const response = await fetch(url, requestOptions);
11268
- return this.handleResponse(response, 'ListDatasetVersionChangesResponse');
11048
+ return this.handleResponse(response, 'GetDatasetVersionRawDataChangesResponse');
11269
11049
  }
11270
11050
  /**
11271
11051
  * Get a list of all dataset versions for this project.
@@ -11273,6 +11053,8 @@ class DatasetVersionsApi {
11273
11053
  * @param projectId Project ID
11274
11054
  * @param limit Maximum number of results
11275
11055
  * @param offset Offset in results, can be used in conjunction with LimitResultsParameter to implement paging.
11056
+ * @param search Search query
11057
+ * @param type Only include dataset versions with a type within the given list of types, given as a JSON string
11276
11058
  */
11277
11059
  async listDatasetVersions(projectId, queryParams, options = { headers: {} }) {
11278
11060
  const localVarPath = this.basePath + '/api/{projectId}/dataset-versions'
@@ -11302,6 +11084,12 @@ class DatasetVersionsApi {
11302
11084
  if (typeof (queryParams === null || queryParams === void 0 ? void 0 : queryParams.offset) !== 'undefined' && (queryParams === null || queryParams === void 0 ? void 0 : queryParams.offset) !== null) {
11303
11085
  queryParameters['offset'] = queryParams.offset;
11304
11086
  }
11087
+ if (typeof (queryParams === null || queryParams === void 0 ? void 0 : queryParams.search) !== 'undefined' && (queryParams === null || queryParams === void 0 ? void 0 : queryParams.search) !== null) {
11088
+ queryParameters['search'] = queryParams.search;
11089
+ }
11090
+ if (typeof (queryParams === null || queryParams === void 0 ? void 0 : queryParams.type) !== 'undefined' && (queryParams === null || queryParams === void 0 ? void 0 : queryParams.type) !== null) {
11091
+ queryParameters['type'] = queryParams.type;
11092
+ }
11305
11093
  localVarHeaderParams = {
11306
11094
  ...localVarHeaderParams,
11307
11095
  ...options.headers,
@@ -47439,6 +47227,7 @@ class RawDataApi {
47439
47227
  * Get the raw data metadata for this project
47440
47228
  * @summary Get project dataset metadata
47441
47229
  * @param projectId Project ID
47230
+ * @param datasetVersionId Dataset version ID. If not set, the current dataset version is used
47442
47231
  * @param includeDisabled Whether to include enabled-only samples, or both enabled and disabled samples (defaults to both).
47443
47232
  */
47444
47233
  async getRawDataProjectMetadata(projectId, queryParams, options = { headers: {} }) {
@@ -47463,6 +47252,9 @@ class RawDataApi {
47463
47252
  if (projectId === null || projectId === undefined) {
47464
47253
  throw new Error('Required parameter projectId was null or undefined when calling getRawDataProjectMetadata.');
47465
47254
  }
47255
+ if (typeof (queryParams === null || queryParams === void 0 ? void 0 : queryParams.datasetVersionId) !== 'undefined' && (queryParams === null || queryParams === void 0 ? void 0 : queryParams.datasetVersionId) !== null) {
47256
+ queryParameters['datasetVersionId'] = queryParams.datasetVersionId;
47257
+ }
47466
47258
  if (typeof (queryParams === null || queryParams === void 0 ? void 0 : queryParams.includeDisabled) !== 'undefined' && (queryParams === null || queryParams === void 0 ? void 0 : queryParams.includeDisabled) !== null) {
47467
47259
  queryParameters['includeDisabled'] = queryParams.includeDisabled;
47468
47260
  }
@@ -57646,6 +57438,20 @@ Object.defineProperty(exports, "__esModule", { value: true });
57646
57438
  });
57647
57439
 
57648
57440
 
57441
+ define("library/sdk/model/datasetVersionRawDataChangeDetailItem", ["require", "exports"], function (require, exports) {
57442
+ "use strict";
57443
+ // Generated by studio/openapi/generate-models/convert.ts
57444
+ Object.defineProperty(exports, "__esModule", { value: true });
57445
+ });
57446
+
57447
+
57448
+ define("library/sdk/model/datasetVersionRawDataChangeDetails", ["require", "exports"], function (require, exports) {
57449
+ "use strict";
57450
+ // Generated by studio/openapi/generate-models/convert.ts
57451
+ Object.defineProperty(exports, "__esModule", { value: true });
57452
+ });
57453
+
57454
+
57649
57455
  define("library/sdk/model/datasetVersionSummary", ["require", "exports"], function (require, exports) {
57650
57456
  "use strict";
57651
57457
  // Generated by studio/openapi/generate-models/convert.ts
@@ -58371,14 +58177,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
58371
58177
  });
58372
58178
 
58373
58179
 
58374
- define("library/sdk/model/getDatasetVersionRawDataResponse", ["require", "exports"], function (require, exports) {
58375
- "use strict";
58376
- // Generated by studio/openapi/generate-models/convert.ts
58377
- Object.defineProperty(exports, "__esModule", { value: true });
58378
- });
58379
-
58380
-
58381
- define("library/sdk/model/getDatasetVersionRawDataSampleResponse", ["require", "exports"], function (require, exports) {
58180
+ define("library/sdk/model/getDatasetVersionRawDataChangesResponse", ["require", "exports"], function (require, exports) {
58382
58181
  "use strict";
58383
58182
  // Generated by studio/openapi/generate-models/convert.ts
58384
58183
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -58392,13 +58191,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
58392
58191
  });
58393
58192
 
58394
58193
 
58395
- define("library/sdk/model/getDatasetVersionSampleChangeDetailsResponse", ["require", "exports"], function (require, exports) {
58396
- "use strict";
58397
- // Generated by studio/openapi/generate-models/convert.ts
58398
- Object.defineProperty(exports, "__esModule", { value: true });
58399
- });
58400
-
58401
-
58402
58194
  define("library/sdk/model/getDeploymentHistoryResponse", ["require", "exports"], function (require, exports) {
58403
58195
  "use strict";
58404
58196
  // Generated by studio/openapi/generate-models/convert.ts
@@ -59355,13 +59147,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
59355
59147
  });
59356
59148
 
59357
59149
 
59358
- define("library/sdk/model/listDatasetVersionChangesResponse", ["require", "exports"], function (require, exports) {
59359
- "use strict";
59360
- // Generated by studio/openapi/generate-models/convert.ts
59361
- Object.defineProperty(exports, "__esModule", { value: true });
59362
- });
59363
-
59364
-
59365
59150
  define("library/sdk/model/listDatasetVersionsResponse", ["require", "exports"], function (require, exports) {
59366
59151
  "use strict";
59367
59152
  // Generated by studio/openapi/generate-models/convert.ts
@@ -59959,6 +59744,8 @@ __exportStar(require("./datasetSplitPreviewSection"), exports);
59959
59744
  __exportStar(require("./datasetVersion"), exports);
59960
59745
  __exportStar(require("./datasetVersionChangeItem"), exports);
59961
59746
  __exportStar(require("./datasetVersionPendingWindow"), exports);
59747
+ __exportStar(require("./datasetVersionRawDataChangeDetailItem"), exports);
59748
+ __exportStar(require("./datasetVersionRawDataChangeDetails"), exports);
59962
59749
  __exportStar(require("./datasetVersionSummary"), exports);
59963
59750
  __exportStar(require("./datasetVersionType"), exports);
59964
59751
  __exportStar(require("./deletePortalFileRequest"), exports);
@@ -60054,10 +59841,8 @@ __exportStar(require("./getCsvWizardUploadedFileInfo"), exports);
60054
59841
  __exportStar(require("./getDataExplorerFeaturesResponse"), exports);
60055
59842
  __exportStar(require("./getDataExplorerSettingsResponse"), exports);
60056
59843
  __exportStar(require("./getDatasetRatioResponse"), exports);
60057
- __exportStar(require("./getDatasetVersionRawDataResponse"), exports);
60058
- __exportStar(require("./getDatasetVersionRawDataSampleResponse"), exports);
59844
+ __exportStar(require("./getDatasetVersionRawDataChangesResponse"), exports);
60059
59845
  __exportStar(require("./getDatasetVersionResponse"), exports);
60060
- __exportStar(require("./getDatasetVersionSampleChangeDetailsResponse"), exports);
60061
59846
  __exportStar(require("./getDeploymentHistoryResponse"), exports);
60062
59847
  __exportStar(require("./getDeploymentResponse"), exports);
60063
59848
  __exportStar(require("./getDeviceResponse"), exports);
@@ -60187,7 +59972,6 @@ __exportStar(require("./learnBlock"), exports);
60187
59972
  __exportStar(require("./learnBlockType"), exports);
60188
59973
  __exportStar(require("./listAIActionsResponse"), exports);
60189
59974
  __exportStar(require("./listApiKeysResponse"), exports);
60190
- __exportStar(require("./listDatasetVersionChangesResponse"), exports);
60191
59975
  __exportStar(require("./listDatasetVersionsResponse"), exports);
60192
59976
  __exportStar(require("./listDeploymentHistoryResponse"), exports);
60193
59977
  __exportStar(require("./listDevicesResponse"), exports);
@@ -60349,6 +60133,7 @@ __exportStar(require("./projectDataAxesSummaryResponse"), exports);
60349
60133
  __exportStar(require("./projectDataIntervalResponse"), exports);
60350
60134
  __exportStar(require("./projectDataSummary"), exports);
60351
60135
  __exportStar(require("./projectDatasetMetadataBase"), exports);
60136
+ __exportStar(require("./projectDatasetMetadataBaseChangeActionCounts"), exports);
60352
60137
  __exportStar(require("./projectDatasetMetadataCategoryData"), exports);
60353
60138
  __exportStar(require("./projectDatasetMetadataClasses"), exports);
60354
60139
  __exportStar(require("./projectDatasetMetadataClassesCategory"), exports);
@@ -61597,6 +61382,13 @@ exports.ProjectDatasetMetadataBaseTypeEnumValues = ['classes', 'regression'];
61597
61382
  });
61598
61383
 
61599
61384
 
61385
+ define("library/sdk/model/projectDatasetMetadataBaseChangeActionCounts", ["require", "exports"], function (require, exports) {
61386
+ "use strict";
61387
+ // Generated by studio/openapi/generate-models/convert.ts
61388
+ Object.defineProperty(exports, "__esModule", { value: true });
61389
+ });
61390
+
61391
+
61600
61392
  define("library/sdk/model/projectDatasetMetadataCategoryData", ["require", "exports"], function (require, exports) {
61601
61393
  "use strict";
61602
61394
  // Generated by studio/openapi/generate-models/convert.ts