@pastelarai/pastelarai-shared-types 1.0.27 → 1.0.29

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.
@@ -57,3 +57,9 @@ export declare enum TASKSTATUS {
57
57
  LATE = "Late",
58
58
  DONE = "Done"
59
59
  }
60
+ export declare enum STORAGEUNIT {
61
+ DAYS = "days",
62
+ WEEKS = "weeks",
63
+ MONTHS = "months",
64
+ YEARS = "years"
65
+ }
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TASKSTATUS = exports.PRODUCTSALETYPE = exports.EXCEPTION = exports.CONTENTTYPE = exports.UNIT = exports.TMSTATUS = exports.TASKACTIONTYPE = exports.CURRENCYDISPLAYTYPE = exports.VALUETYPE = exports.STATUS = exports.FORECASTVIEWTYPE = exports.VIEWTYPE = void 0;
3
+ exports.STORAGEUNIT = exports.TASKSTATUS = exports.PRODUCTSALETYPE = exports.EXCEPTION = exports.CONTENTTYPE = exports.UNIT = exports.TMSTATUS = exports.TASKACTIONTYPE = exports.CURRENCYDISPLAYTYPE = exports.VALUETYPE = exports.STATUS = exports.FORECASTVIEWTYPE = exports.VIEWTYPE = void 0;
4
4
  var VIEWTYPE;
5
5
  (function (VIEWTYPE) {
6
6
  VIEWTYPE["VIEW"] = "viewMode";
@@ -72,3 +72,10 @@ var TASKSTATUS;
72
72
  TASKSTATUS["LATE"] = "Late";
73
73
  TASKSTATUS["DONE"] = "Done";
74
74
  })(TASKSTATUS || (exports.TASKSTATUS = TASKSTATUS = {}));
75
+ var STORAGEUNIT;
76
+ (function (STORAGEUNIT) {
77
+ STORAGEUNIT["DAYS"] = "days";
78
+ STORAGEUNIT["WEEKS"] = "weeks";
79
+ STORAGEUNIT["MONTHS"] = "months";
80
+ STORAGEUNIT["YEARS"] = "years";
81
+ })(STORAGEUNIT || (exports.STORAGEUNIT = STORAGEUNIT = {}));
package/dist/index.d.ts CHANGED
@@ -8,3 +8,4 @@ export * from "./interfaces/suppliers";
8
8
  export * from "./interfaces/team";
9
9
  export * from "./interfaces/user";
10
10
  export * from "./data/types";
11
+ export * from "./interfaces/openai";
package/dist/index.js CHANGED
@@ -24,3 +24,4 @@ __exportStar(require("./interfaces/suppliers"), exports);
24
24
  __exportStar(require("./interfaces/team"), exports);
25
25
  __exportStar(require("./interfaces/user"), exports);
26
26
  __exportStar(require("./data/types"), exports);
27
+ __exportStar(require("./interfaces/openai"), exports);
@@ -0,0 +1,10 @@
1
+ import { IdName } from "./bill";
2
+ export interface searchIngredientsInput {
3
+ shopping_cart: string[];
4
+ ingredients_list: IdName[];
5
+ }
6
+ export interface searchIngredientsOutput {
7
+ description: string[];
8
+ ingredients_list: IdName[];
9
+ ingredient: string;
10
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +1,4 @@
1
- import { CONTENTTYPE, UNIT } from "../data/types";
1
+ import { CONTENTTYPE, UNIT, STORAGEUNIT } from "../data/types";
2
2
  import { IdName } from "./bill";
3
3
  export interface RecipeContent {
4
4
  _id: string;
@@ -21,7 +21,7 @@ export interface RecipeCost {
21
21
  per_kg: number;
22
22
  }
23
23
  export interface Storage {
24
- unit: UNIT;
24
+ unit: STORAGEUNIT;
25
25
  value: number;
26
26
  }
27
27
  export interface Recipe {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pastelarai/pastelarai-shared-types",
3
- "version": "1.0.27",
3
+ "version": "1.0.29",
4
4
  "description": "Shared types for PastelarAI",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",