@rodrigobeber/patoai-dtos 1.6.25 → 1.6.27

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.
@@ -0,0 +1,2 @@
1
+ export * from './temperature.enum';
2
+ export * from './thread-summary.dto';
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./temperature.enum"), exports);
18
+ __exportStar(require("./thread-summary.dto"), exports);
@@ -0,0 +1,6 @@
1
+ export declare enum TemperatureEnum {
2
+ COLD = "Cold",
3
+ WARM = "Warm",
4
+ HOT = "Hot",
5
+ EMBER = "Ember"
6
+ }
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TemperatureEnum = void 0;
4
+ var TemperatureEnum;
5
+ (function (TemperatureEnum) {
6
+ TemperatureEnum["COLD"] = "Cold";
7
+ TemperatureEnum["WARM"] = "Warm";
8
+ TemperatureEnum["HOT"] = "Hot";
9
+ TemperatureEnum["EMBER"] = "Ember";
10
+ })(TemperatureEnum || (exports.TemperatureEnum = TemperatureEnum = {}));
@@ -0,0 +1,10 @@
1
+ import { TemperatureEnum } from "./temperature.enum";
2
+ export interface ThreadSummaryDto {
3
+ idThread: number;
4
+ temperature: TemperatureEnum;
5
+ title: string;
6
+ concern?: string;
7
+ summary?: string;
8
+ email?: string;
9
+ contact?: string;
10
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/dist/index.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  export * from './chat';
2
+ export * from './crm';
2
3
  export * from './media';
3
4
  export * from './openai';
4
5
  export * from './platform';
package/dist/index.js CHANGED
@@ -15,6 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./chat"), exports);
18
+ __exportStar(require("./crm"), exports);
18
19
  __exportStar(require("./media"), exports);
19
20
  __exportStar(require("./openai"), exports);
20
21
  __exportStar(require("./platform"), exports);
@@ -1,2 +1,3 @@
1
1
  export * from './messages-to-process.dto';
2
2
  export * from './run.dto';
3
+ export * from './run-pool.dto';
package/dist/run/index.js CHANGED
@@ -16,3 +16,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./messages-to-process.dto"), exports);
18
18
  __exportStar(require("./run.dto"), exports);
19
+ __exportStar(require("./run-pool.dto"), exports);
@@ -0,0 +1,8 @@
1
+ import { Run } from "openai/resources/beta/threads/runs/runs";
2
+ export interface RunPoolDto {
3
+ idThread: number;
4
+ threadId: string;
5
+ aiKey: string;
6
+ run: Run;
7
+ idAgent?: number;
8
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@rodrigobeber/patoai-dtos",
3
- "version": "1.6.25",
3
+ "version": "1.6.27",
4
4
  "description": "Data Transfer Objects for PatoAI",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "license": "MIT",
8
8
  "dependencies": {
9
- "openai": "^4.78.1"
9
+ "openai": "^4.96.0"
10
10
  },
11
11
  "devDependencies": {
12
12
  "@types/node": "^22.12.0",