@rodrigobeber/patoai-dtos 4.6.3 → 4.6.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.
package/dist/index.d.ts CHANGED
@@ -7,6 +7,7 @@ export * from './crm';
7
7
  export * from './crew';
8
8
  export * from './handoff';
9
9
  export * from './organization';
10
+ export * from './prompt';
10
11
  export * from './run';
11
12
  export * from './tool';
12
13
  export * from './uh';
package/dist/index.js CHANGED
@@ -23,6 +23,7 @@ __exportStar(require("./crm"), exports);
23
23
  __exportStar(require("./crew"), exports);
24
24
  __exportStar(require("./handoff"), exports);
25
25
  __exportStar(require("./organization"), exports);
26
+ __exportStar(require("./prompt"), exports);
26
27
  __exportStar(require("./run"), exports);
27
28
  __exportStar(require("./tool"), exports);
28
29
  __exportStar(require("./uh"), exports);
@@ -0,0 +1 @@
1
+ export * from './prompt-stage-mode.enum';
@@ -0,0 +1,17 @@
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("./prompt-stage-mode.enum"), exports);
@@ -0,0 +1,4 @@
1
+ export declare enum PromptStageModeEnum {
2
+ ONLY = "ONLY",
3
+ EXCLUDE = "EXCLUDE"
4
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PromptStageModeEnum = void 0;
4
+ var PromptStageModeEnum;
5
+ (function (PromptStageModeEnum) {
6
+ PromptStageModeEnum["ONLY"] = "ONLY";
7
+ PromptStageModeEnum["EXCLUDE"] = "EXCLUDE";
8
+ })(PromptStageModeEnum || (exports.PromptStageModeEnum = PromptStageModeEnum = {}));
@@ -1,7 +1,11 @@
1
+ import { PromptStageModeEnum } from "../../prompt/prompt-stage-mode.enum";
1
2
  export interface WebChatPromptDto {
2
3
  id: number;
3
4
  title: string;
4
5
  prompt: string;
5
6
  maxLength: number | null;
6
7
  canEdit: boolean;
8
+ active: boolean;
9
+ stageMode: PromptStageModeEnum | null;
10
+ stageIds: number[];
7
11
  }
@@ -1,3 +1,7 @@
1
+ import { PromptStageModeEnum } from "../../prompt/prompt-stage-mode.enum";
1
2
  export interface WebChatUpdatePromptDto {
2
- prompt: string;
3
+ prompt?: string;
4
+ active?: boolean;
5
+ stageMode?: PromptStageModeEnum | null;
6
+ stageIds?: number[];
3
7
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rodrigobeber/patoai-dtos",
3
- "version": "4.6.3",
3
+ "version": "4.6.4",
4
4
  "description": "Data Transfer Objects for PatoAI",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",