edge-impulse-api 1.97.5 → 1.97.6

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.
@@ -2,7 +2,7 @@ export type DSPGroupItem = {
2
2
  name: string;
3
3
  value?: string;
4
4
  defaultValue: string;
5
- type: string;
5
+ type: DSPGroupItemTypeEnum;
6
6
  help?: string;
7
7
  param: string;
8
8
  selectOptions?: {
@@ -77,8 +77,16 @@ export type DSPGroupItem = {
77
77
  * Maximum value for parameters of type 'int' or 'float'.
78
78
  */
79
79
  maxVal?: number;
80
+ /**
81
+ * Only valid for type "code_editor"
82
+ */
83
+ codeEditorLanguage?: DSPGroupItemCodeEditorLanguageEnum;
80
84
  };
85
+ export type DSPGroupItemTypeEnum = 'string' | 'int' | 'float' | 'select' | 'boolean' | 'bucket' | 'dataset' | 'flag' | 'secret' | 'project' | 'code_editor' | 'object';
86
+ export declare const DSPGroupItemTypeEnumValues: string[];
81
87
  export type DSPGroupItemShowIfOperatorEnum = 'eq' | 'neq';
82
88
  export declare const DSPGroupItemShowIfOperatorEnumValues: string[];
83
89
  export type DSPGroupItemSectionEnum = 'advanced' | 'augmentation' | 'modelProfiling';
84
90
  export declare const DSPGroupItemSectionEnumValues: string[];
91
+ export type DSPGroupItemCodeEditorLanguageEnum = 'python' | 'javascript';
92
+ export declare const DSPGroupItemCodeEditorLanguageEnumValues: string[];
@@ -1,7 +1,9 @@
1
1
  "use strict";
2
2
  // Generated by studio/openapi/generate-models/convert.ts
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.DSPGroupItemSectionEnumValues = exports.DSPGroupItemShowIfOperatorEnumValues = void 0;
4
+ exports.DSPGroupItemCodeEditorLanguageEnumValues = exports.DSPGroupItemSectionEnumValues = exports.DSPGroupItemShowIfOperatorEnumValues = exports.DSPGroupItemTypeEnumValues = void 0;
5
+ exports.DSPGroupItemTypeEnumValues = ['string', 'int', 'float', 'select', 'boolean', 'bucket', 'dataset', 'flag', 'secret', 'project', 'code_editor', 'object'];
5
6
  exports.DSPGroupItemShowIfOperatorEnumValues = ['eq', 'neq'];
6
7
  exports.DSPGroupItemSectionEnumValues = ['advanced', 'augmentation', 'modelProfiling'];
8
+ exports.DSPGroupItemCodeEditorLanguageEnumValues = ['python', 'javascript'];
7
9
  //# sourceMappingURL=dSPGroupItem.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"dSPGroupItem.js","sourceRoot":"","sources":["../../../../library/sdk/model/dSPGroupItem.ts"],"names":[],"mappings":";AAAA,yDAAyD;;;AAoF5C,QAAA,oCAAoC,GAAa,CAAE,IAAI,EAAE,KAAK,CAAE,CAAC;AAGjE,QAAA,6BAA6B,GAAa,CAAE,UAAU,EAAE,cAAc,EAAE,gBAAgB,CAAE,CAAC"}
1
+ {"version":3,"file":"dSPGroupItem.js","sourceRoot":"","sources":["../../../../library/sdk/model/dSPGroupItem.ts"],"names":[],"mappings":";AAAA,yDAAyD;;;AAwF5C,QAAA,0BAA0B,GAAa,CAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,SAAS,EAAE,aAAa,EAAE,QAAQ,CAAE,CAAC;AAGpK,QAAA,oCAAoC,GAAa,CAAE,IAAI,EAAE,KAAK,CAAE,CAAC;AAGjE,QAAA,6BAA6B,GAAa,CAAE,UAAU,EAAE,cAAc,EAAE,gBAAgB,CAAE,CAAC;AAG3F,QAAA,wCAAwC,GAAa,CAAE,QAAQ,EAAE,YAAY,CAAE,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "edge-impulse-api",
3
- "version": "1.97.5",
3
+ "version": "1.97.6",
4
4
  "description": "Node.js bindings for the Edge Impulse API",
5
5
  "scripts": {
6
6
  "build": "npm run build:node && node bundler/build-browser-bundle.js",