edge-impulse-api 1.94.4 → 1.95.0

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.
@@ -24083,7 +24083,7 @@ export type MonitoringEvent = {
24083
24083
  */
24084
24084
  processedAt?: Date | null;
24085
24085
  };
24086
- export type MonitoringEventStatusEnum = 'pending' | 'processing' | 'delivered' | 'failed';
24086
+ export type MonitoringEventStatusEnum = 'pending' | 'processing' | 'delivered' | 'failed' | 'cancelled';
24087
24087
  export const MonitoringEventStatusEnumValues: string[];
24088
24088
 
24089
24089
 
@@ -69573,9 +69573,19 @@ exports.VoidAuth = VoidAuth;
69573
69573
  /* eslint-disable @typescript-eslint/no-unsafe-member-access */
69574
69574
  // Loop over all potential ISO Date strings and convert them into Date objects
69575
69575
  const convertISODateStringsOnObj = (obj) => {
69576
+ if (Array.isArray(obj)) {
69577
+ for (let ix = 0; ix < obj.length; ix++) {
69578
+ obj[ix] = (0, exports.convertISODateStringsOnObj)(obj[ix]);
69579
+ }
69580
+ return obj;
69581
+ }
69576
69582
  if (typeof obj !== 'object' || !obj /* typeof null === 'object' */) {
69577
69583
  return obj;
69578
69584
  }
69585
+ const prototype = Object.getPrototypeOf(obj);
69586
+ if (prototype !== Object.prototype && prototype !== null) {
69587
+ return obj;
69588
+ }
69579
69589
  for (const k of Object.keys(obj)) {
69580
69590
  const value = obj[k];
69581
69591
  if (typeof value === 'string') {
@@ -69683,7 +69693,7 @@ define("library/sdk/model/monitoringEvent", ["require", "exports"], function (re
69683
69693
  // Generated by studio/openapi/generate-models/convert.ts
69684
69694
  Object.defineProperty(exports, "__esModule", { value: true });
69685
69695
  exports.MonitoringEventStatusEnumValues = void 0;
69686
- exports.MonitoringEventStatusEnumValues = ['pending', 'processing', 'delivered', 'failed'];
69696
+ exports.MonitoringEventStatusEnumValues = ['pending', 'processing', 'delivered', 'failed', 'cancelled'];
69687
69697
  });
69688
69698
 
69689
69699