edge-impulse-api 1.97.3 → 1.97.4

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.
@@ -1,6 +1,8 @@
1
1
  /**
2
2
  * Specifies the type of impulse. Options include: - default: Standard Edge Impulse pipeline. - BYOM: Impulse that
3
- * includes a pretrained model. - VLM: Impulse created as part of a Vision Learning Model (VLM) workflow.
3
+ * includes a pretrained model. - VLM: Impulse created as part of a Vision Learning Model (VLM) workflow. -
4
+ * no_training_data: Model that trains without providing training data (e.g. model trained in simulation without external
5
+ * inputs)
4
6
  */
5
- export type ImpulseType = 'default' | 'BYOM' | 'VLM';
7
+ export type ImpulseType = 'default' | 'BYOM' | 'VLM' | 'no_training_data';
6
8
  export declare const ImpulseTypeValues: string[];
@@ -2,5 +2,5 @@
2
2
  // Generated by studio/openapi/generate-models/convert.ts
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.ImpulseTypeValues = void 0;
5
- exports.ImpulseTypeValues = ['default', 'BYOM', 'VLM'];
5
+ exports.ImpulseTypeValues = ['default', 'BYOM', 'VLM', 'no_training_data'];
6
6
  //# sourceMappingURL=impulseType.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"impulseType.js","sourceRoot":"","sources":["../../../../library/sdk/model/impulseType.ts"],"names":[],"mappings":";AAAA,yDAAyD;;;AAQ5C,QAAA,iBAAiB,GAAa,CAAE,SAAS,EAAE,MAAM,EAAE,KAAK,CAAE,CAAC"}
1
+ {"version":3,"file":"impulseType.js","sourceRoot":"","sources":["../../../../library/sdk/model/impulseType.ts"],"names":[],"mappings":";AAAA,yDAAyD;;;AAU5C,QAAA,iBAAiB,GAAa,CAAE,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,kBAAkB,CAAE,CAAC"}
@@ -1,8 +1,9 @@
1
1
  import type { BlockDisplayCategory } from './blockDisplayCategory';
2
2
  import type { BlockType } from './blockType';
3
+ import type { LearnBlockType } from './learnBlockType';
3
4
  import type { PublicProjectTierAvailability } from './publicProjectTierAvailability';
4
5
  export type LearnBlock = {
5
- type: string;
6
+ type: LearnBlockType;
6
7
  title: string;
7
8
  author: string;
8
9
  description: string;
@@ -1,6 +1,5 @@
1
1
  /**
2
- * The type of learning block (anomaly, keras, keras-transfer-image, keras-transfer-kws, keras-object-detection,
3
- * keras-regression, keras-freeform). Each behaves differently.
2
+ * The type of learning block (anomaly, keras, keras-transfer-image, ...). Each behaves differently.
4
3
  */
5
- export type LearnBlockType = 'anomaly' | 'anomaly-gmm' | 'keras' | 'keras-transfer-image' | 'keras-transfer-kws' | 'keras-object-detection' | 'keras-regression' | 'keras-akida' | 'keras-akida-transfer-image' | 'keras-akida-object-detection' | 'keras-visual-anomaly' | 'keras-freeform' | 'keras-anomaly' | 'vlm';
4
+ export type LearnBlockType = 'anomaly' | 'anomaly-gmm' | 'keras' | 'keras-transfer-image' | 'keras-transfer-kws' | 'keras-object-detection' | 'keras-regression' | 'keras-akida' | 'keras-akida-transfer-image' | 'keras-akida-object-detection' | 'keras-visual-anomaly' | 'keras-freeform' | 'keras-self-contained-freeform' | 'keras-anomaly' | 'vlm';
6
5
  export declare const LearnBlockTypeValues: string[];
@@ -2,5 +2,5 @@
2
2
  // Generated by studio/openapi/generate-models/convert.ts
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.LearnBlockTypeValues = void 0;
5
- exports.LearnBlockTypeValues = ['anomaly', 'anomaly-gmm', 'keras', 'keras-transfer-image', 'keras-transfer-kws', 'keras-object-detection', 'keras-regression', 'keras-akida', 'keras-akida-transfer-image', 'keras-akida-object-detection', 'keras-visual-anomaly', 'keras-freeform', 'keras-anomaly', 'vlm'];
5
+ exports.LearnBlockTypeValues = ['anomaly', 'anomaly-gmm', 'keras', 'keras-transfer-image', 'keras-transfer-kws', 'keras-object-detection', 'keras-regression', 'keras-akida', 'keras-akida-transfer-image', 'keras-akida-object-detection', 'keras-visual-anomaly', 'keras-freeform', 'keras-self-contained-freeform', 'keras-anomaly', 'vlm'];
6
6
  //# sourceMappingURL=learnBlockType.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"learnBlockType.js","sourceRoot":"","sources":["../../../../library/sdk/model/learnBlockType.ts"],"names":[],"mappings":";AAAA,yDAAyD;;;AAQ5C,QAAA,oBAAoB,GAAa,CAAE,SAAS,EAAE,aAAa,EAAE,OAAO,EAAE,sBAAsB,EAAE,oBAAoB,EAAE,wBAAwB,EAAE,kBAAkB,EAAE,aAAa,EAAE,4BAA4B,EAAE,8BAA8B,EAAE,sBAAsB,EAAE,gBAAgB,EAAE,eAAe,EAAE,KAAK,CAAE,CAAC"}
1
+ {"version":3,"file":"learnBlockType.js","sourceRoot":"","sources":["../../../../library/sdk/model/learnBlockType.ts"],"names":[],"mappings":";AAAA,yDAAyD;;;AAO5C,QAAA,oBAAoB,GAAa,CAAE,SAAS,EAAE,aAAa,EAAE,OAAO,EAAE,sBAAsB,EAAE,oBAAoB,EAAE,wBAAwB,EAAE,kBAAkB,EAAE,aAAa,EAAE,4BAA4B,EAAE,8BAA8B,EAAE,sBAAsB,EAAE,gBAAgB,EAAE,+BAA+B,EAAE,eAAe,EAAE,KAAK,CAAE,CAAC"}
@@ -4,9 +4,11 @@ export type MonitoringEventEvaluationConfig = {
4
4
  */
5
5
  percentageChange?: number;
6
6
  /**
7
- * Evaluation window length for this event subscription.
7
+ * Evaluation window length for this event subscription (default 2 minutes). One- and two-minute windows are
8
+ * evaluated every 10 seconds, comparing the most recent 20 and 30 seconds respectively against the preceding
9
+ * baseline. They require at least two summaries in each part of the window.
8
10
  */
9
11
  evaluationLength?: MonitoringEventEvaluationConfigEvaluationLengthEnum;
10
12
  };
11
- export type MonitoringEventEvaluationConfigEvaluationLengthEnum = '5 minutes' | '10 minutes' | '15 minutes' | '30 minutes' | '1 hour' | '2 hours' | '4 hours' | '1 day';
13
+ export type MonitoringEventEvaluationConfigEvaluationLengthEnum = '1 minute' | '2 minutes' | '5 minutes' | '10 minutes' | '15 minutes' | '30 minutes' | '1 hour' | '2 hours' | '4 hours' | '1 day';
12
14
  export declare const MonitoringEventEvaluationConfigEvaluationLengthEnumValues: string[];
@@ -2,5 +2,5 @@
2
2
  // Generated by studio/openapi/generate-models/convert.ts
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.MonitoringEventEvaluationConfigEvaluationLengthEnumValues = void 0;
5
- exports.MonitoringEventEvaluationConfigEvaluationLengthEnumValues = ['5 minutes', '10 minutes', '15 minutes', '30 minutes', '1 hour', '2 hours', '4 hours', '1 day'];
5
+ exports.MonitoringEventEvaluationConfigEvaluationLengthEnumValues = ['1 minute', '2 minutes', '5 minutes', '10 minutes', '15 minutes', '30 minutes', '1 hour', '2 hours', '4 hours', '1 day'];
6
6
  //# sourceMappingURL=monitoringEventEvaluationConfig.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"monitoringEventEvaluationConfig.js","sourceRoot":"","sources":["../../../../library/sdk/model/monitoringEventEvaluationConfig.ts"],"names":[],"mappings":";AAAA,yDAAyD;;;AAc5C,QAAA,yDAAyD,GAAa,CAAE,WAAW,EAAE,YAAY,EAAE,YAAY,EAAE,YAAY,EAAE,QAAQ,EAAE,SAAS,EAAE,SAAS,EAAE,OAAO,CAAE,CAAC"}
1
+ {"version":3,"file":"monitoringEventEvaluationConfig.js","sourceRoot":"","sources":["../../../../library/sdk/model/monitoringEventEvaluationConfig.ts"],"names":[],"mappings":";AAAA,yDAAyD;;;AAgB5C,QAAA,yDAAyD,GAAa,CAAE,UAAU,EAAE,WAAW,EAAE,WAAW,EAAE,YAAY,EAAE,YAAY,EAAE,YAAY,EAAE,QAAQ,EAAE,SAAS,EAAE,SAAS,EAAE,OAAO,CAAE,CAAC"}
@@ -1,2 +1,2 @@
1
- export type OrganizationTransferLearningOperatesOn = 'object_detection' | 'audio' | 'image' | 'regression' | 'anomaly_detection' | 'visual_anomaly_detection' | 'other' | 'image_akida' | 'object_detection_akida' | 'classification_akida';
1
+ export type OrganizationTransferLearningOperatesOn = 'object_detection' | 'audio' | 'image' | 'regression' | 'anomaly_detection' | 'visual_anomaly_detection' | 'other' | 'image_akida' | 'object_detection_akida' | 'classification_akida' | 'self_contained_freeform_output';
2
2
  export declare const OrganizationTransferLearningOperatesOnValues: string[];
@@ -2,5 +2,5 @@
2
2
  // Generated by studio/openapi/generate-models/convert.ts
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.OrganizationTransferLearningOperatesOnValues = void 0;
5
- exports.OrganizationTransferLearningOperatesOnValues = ['object_detection', 'audio', 'image', 'regression', 'anomaly_detection', 'visual_anomaly_detection', 'other', 'image_akida', 'object_detection_akida', 'classification_akida'];
5
+ exports.OrganizationTransferLearningOperatesOnValues = ['object_detection', 'audio', 'image', 'regression', 'anomaly_detection', 'visual_anomaly_detection', 'other', 'image_akida', 'object_detection_akida', 'classification_akida', 'self_contained_freeform_output'];
6
6
  //# sourceMappingURL=organizationTransferLearningOperatesOn.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"organizationTransferLearningOperatesOn.js","sourceRoot":"","sources":["../../../../library/sdk/model/organizationTransferLearningOperatesOn.ts"],"names":[],"mappings":";AAAA,yDAAyD;;;AAG5C,QAAA,4CAA4C,GAAa,CAAE,kBAAkB,EAAE,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,mBAAmB,EAAE,0BAA0B,EAAE,OAAO,EAAE,aAAa,EAAE,wBAAwB,EAAE,sBAAsB,CAAE,CAAC"}
1
+ {"version":3,"file":"organizationTransferLearningOperatesOn.js","sourceRoot":"","sources":["../../../../library/sdk/model/organizationTransferLearningOperatesOn.ts"],"names":[],"mappings":";AAAA,yDAAyD;;;AAG5C,QAAA,4CAA4C,GAAa,CAAE,kBAAkB,EAAE,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,mBAAmB,EAAE,0BAA0B,EAAE,OAAO,EAAE,aAAa,EAAE,wBAAwB,EAAE,sBAAsB,EAAE,gCAAgC,CAAE,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "edge-impulse-api",
3
- "version": "1.97.3",
3
+ "version": "1.97.4",
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",