edge-impulse-api 1.95.5 → 1.95.7

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.
@@ -94,10 +94,12 @@ type getProjectDataAxesSummaryQueryParams = {
94
94
  };
95
95
  type getProjectInfoQueryParams = {
96
96
  impulseId?: number;
97
+ truncateLabels?: boolean;
97
98
  };
98
99
  type getProjectTrainingDataSummaryQueryParams = {
99
100
  includeDisabled?: boolean;
100
101
  includeNotProcessed?: boolean;
102
+ truncateLabels?: boolean;
101
103
  };
102
104
  type listDownloadsQueryParams = {
103
105
  impulseId?: number;
@@ -516,6 +518,7 @@ export declare class ProjectsApi {
516
518
  * @summary Project information
517
519
  * @param projectId Project ID
518
520
  * @param impulseId Impulse ID. If this is unset then the default impulse is used.
521
+ * @param truncateLabels If true, only a slice of labels will be returned.
519
522
  */
520
523
  getProjectInfo(projectId: number, queryParams?: getProjectInfoQueryParams, options?: {
521
524
  headers: {
@@ -570,6 +573,7 @@ export declare class ProjectsApi {
570
573
  * @param projectId Project ID
571
574
  * @param includeDisabled Whether to include disabled samples. Defaults to true
572
575
  * @param includeNotProcessed Whether to include non-processed samples. Defaults to true
576
+ * @param truncateLabels If true, only a slice of labels will be returned.
573
577
  */
574
578
  getProjectTrainingDataSummary(projectId: number, queryParams?: getProjectTrainingDataSummaryQueryParams, options?: {
575
579
  headers: {
@@ -2090,6 +2090,7 @@ class ProjectsApi {
2090
2090
  * @summary Project information
2091
2091
  * @param projectId Project ID
2092
2092
  * @param impulseId Impulse ID. If this is unset then the default impulse is used.
2093
+ * @param truncateLabels If true, only a slice of labels will be returned.
2093
2094
  */
2094
2095
  async getProjectInfo(projectId, queryParams, options = { headers: {} }) {
2095
2096
  const localVarPath = this.basePath + '/api/{projectId}'
@@ -2116,6 +2117,9 @@ class ProjectsApi {
2116
2117
  if (typeof (queryParams === null || queryParams === void 0 ? void 0 : queryParams.impulseId) !== 'undefined' && (queryParams === null || queryParams === void 0 ? void 0 : queryParams.impulseId) !== null) {
2117
2118
  queryParameters['impulseId'] = queryParams.impulseId;
2118
2119
  }
2120
+ if (typeof (queryParams === null || queryParams === void 0 ? void 0 : queryParams.truncateLabels) !== 'undefined' && (queryParams === null || queryParams === void 0 ? void 0 : queryParams.truncateLabels) !== null) {
2121
+ queryParameters['truncateLabels'] = queryParams.truncateLabels;
2122
+ }
2119
2123
  localVarHeaderParams = {
2120
2124
  ...localVarHeaderParams,
2121
2125
  ...options.headers,
@@ -2375,6 +2379,7 @@ class ProjectsApi {
2375
2379
  * @param projectId Project ID
2376
2380
  * @param includeDisabled Whether to include disabled samples. Defaults to true
2377
2381
  * @param includeNotProcessed Whether to include non-processed samples. Defaults to true
2382
+ * @param truncateLabels If true, only a slice of labels will be returned.
2378
2383
  */
2379
2384
  async getProjectTrainingDataSummary(projectId, queryParams, options = { headers: {} }) {
2380
2385
  const localVarPath = this.basePath + '/api/{projectId}/data-summary'
@@ -2404,6 +2409,9 @@ class ProjectsApi {
2404
2409
  if (typeof (queryParams === null || queryParams === void 0 ? void 0 : queryParams.includeNotProcessed) !== 'undefined' && (queryParams === null || queryParams === void 0 ? void 0 : queryParams.includeNotProcessed) !== null) {
2405
2410
  queryParameters['includeNotProcessed'] = queryParams.includeNotProcessed;
2406
2411
  }
2412
+ if (typeof (queryParams === null || queryParams === void 0 ? void 0 : queryParams.truncateLabels) !== 'undefined' && (queryParams === null || queryParams === void 0 ? void 0 : queryParams.truncateLabels) !== null) {
2413
+ queryParameters['truncateLabels'] = queryParams.truncateLabels;
2414
+ }
2407
2415
  localVarHeaderParams = {
2408
2416
  ...localVarHeaderParams,
2409
2417
  ...options.headers,