@engyalo/workflow-types 1.3.0-main-9eda79a → 1.3.0-main-c2a7ae4

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.
@@ -6,6 +6,11 @@ export declare enum AgentKnowledgeFileType {
6
6
  md = "md",
7
7
  xlsx = "xlsx"
8
8
  }
9
+ export declare enum AgentKnowledgeStorageType {
10
+ openai = "openai",
11
+ postgres = "postgres",
12
+ both = "both"
13
+ }
9
14
  /**
10
15
  * Represents the knowledge associated with an agent.
11
16
  *
@@ -23,7 +28,7 @@ export interface IAgentKnowledge {
23
28
  name: string;
24
29
  description: string;
25
30
  workflowId: string;
26
- storageType?: string;
31
+ storageType?: AgentKnowledgeStorageType;
27
32
  sourceType?: AgentKnowledgeFileType;
28
33
  attributes: Record<string, string | number | boolean>;
29
34
  url: string;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AgentKnowledgeFileType = void 0;
3
+ exports.AgentKnowledgeStorageType = exports.AgentKnowledgeFileType = void 0;
4
4
  var AgentKnowledgeFileType;
5
5
  (function (AgentKnowledgeFileType) {
6
6
  AgentKnowledgeFileType["csv"] = "csv";
@@ -10,4 +10,10 @@ var AgentKnowledgeFileType;
10
10
  AgentKnowledgeFileType["md"] = "md";
11
11
  AgentKnowledgeFileType["xlsx"] = "xlsx";
12
12
  })(AgentKnowledgeFileType || (exports.AgentKnowledgeFileType = AgentKnowledgeFileType = {}));
13
+ var AgentKnowledgeStorageType;
14
+ (function (AgentKnowledgeStorageType) {
15
+ AgentKnowledgeStorageType["openai"] = "openai";
16
+ AgentKnowledgeStorageType["postgres"] = "postgres";
17
+ AgentKnowledgeStorageType["both"] = "both";
18
+ })(AgentKnowledgeStorageType || (exports.AgentKnowledgeStorageType = AgentKnowledgeStorageType = {}));
13
19
  //# sourceMappingURL=agent-knowledge.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"agent-knowledge.js","sourceRoot":"","sources":["../../src/models/agent-knowledge.ts"],"names":[],"mappings":";;;AAAA,IAAY,sBAOX;AAPD,WAAY,sBAAsB;IACjC,qCAAW,CAAA;IACX,qCAAW,CAAA;IACX,uCAAa,CAAA;IACb,qCAAW,CAAA;IACX,mCAAS,CAAA;IACT,uCAAa,CAAA;AACd,CAAC,EAPW,sBAAsB,sCAAtB,sBAAsB,QAOjC"}
1
+ {"version":3,"file":"agent-knowledge.js","sourceRoot":"","sources":["../../src/models/agent-knowledge.ts"],"names":[],"mappings":";;;AAAA,IAAY,sBAOX;AAPD,WAAY,sBAAsB;IACjC,qCAAW,CAAA;IACX,qCAAW,CAAA;IACX,uCAAa,CAAA;IACb,qCAAW,CAAA;IACX,mCAAS,CAAA;IACT,uCAAa,CAAA;AACd,CAAC,EAPW,sBAAsB,sCAAtB,sBAAsB,QAOjC;AAED,IAAY,yBAIX;AAJD,WAAY,yBAAyB;IACpC,8CAAiB,CAAA;IACjB,kDAAqB,CAAA;IACrB,0CAAa,CAAA;AACd,CAAC,EAJW,yBAAyB,yCAAzB,yBAAyB,QAIpC"}
@@ -99,6 +99,7 @@ export interface FaqAgent {
99
99
  temperature?: number;
100
100
  tools?: string[];
101
101
  intents?: CustomAgentIntent[];
102
+ copilotConversationId?: string;
102
103
  }
103
104
  export interface VoiceUpsellAgent {
104
105
  storefront: string;
@@ -1 +1 @@
1
- {"version":3,"file":"components.js","sourceRoot":"","sources":["../../src/models/components.ts"],"names":[],"mappings":";;;AAKA,oDAAoD;AACpD,IAAY,cAuBX;AAvBD,WAAY,cAAc;IACzB,uCAAqB,CAAA;IACrB,iCAAe,CAAA;IACf,mCAAiB,CAAA;IACjB,uCAAqB,CAAA;IACrB,uCAAqB,CAAA;IACrB,2DAAyC,CAAA;IACzC,yCAAuB,CAAA;IACvB,+BAAa,CAAA;IACb,+CAA6B,CAAA;IAC7B,mDAAiC,CAAA;IACjC,+CAA6B,CAAA;IAC7B,yCAAuB,CAAA;IACvB,iCAAe,CAAA;IACf,iCAAe,CAAA;IACf,+BAAa,CAAA;IACb,qCAAmB,CAAA;IACnB,6CAA2B,CAAA;IAC3B,uDAAqC,CAAA;IACrC,yCAAuB,CAAA;IACvB,uDAAqC,CAAA;IACrC,qCAAmB,CAAA;IACnB,uCAAqB,CAAA;AACtB,CAAC,EAvBW,cAAc,8BAAd,cAAc,QAuBzB;AAEY,QAAA,iBAAiB,GAAG;IAChC,OAAO;IACP,MAAM;IACN,OAAO;IACP,UAAU;IACV,SAAS;IACT,QAAQ;IACR,WAAW;IACX,cAAc;IACd,WAAW;IACX,MAAM;IACN,gBAAgB;IAChB,OAAO;IACP,oBAAoB;IACpB,UAAU;IACV,cAAc;IACd,aAAa;IACb,kBAAkB;IAClB,WAAW;IACX,kBAAkB;IAClB,SAAS;IACT,UAAU;CACV,CAAC;AAmbF,IAAY,UAQX;AARD,WAAY,UAAU;IACrB,+CAAU,CAAA;IACV,+CAAU,CAAA;IACV,iDAAW,CAAA;IACX,qDAAa,CAAA;IACb,mDAAY,CAAA;IACZ,+CAAU,CAAA;IACV,mDAAY,CAAA;AACb,CAAC,EARW,UAAU,0BAAV,UAAU,QAQrB;AAED,IAAY,YAIX;AAJD,WAAY,YAAY;IACvB,qCAAqB,CAAA;IACrB,6CAA6B,CAAA;IAC7B,2CAA2B,CAAA;AAC5B,CAAC,EAJW,YAAY,4BAAZ,YAAY,QAIvB"}
1
+ {"version":3,"file":"components.js","sourceRoot":"","sources":["../../src/models/components.ts"],"names":[],"mappings":";;;AAKA,oDAAoD;AACpD,IAAY,cAuBX;AAvBD,WAAY,cAAc;IACzB,uCAAqB,CAAA;IACrB,iCAAe,CAAA;IACf,mCAAiB,CAAA;IACjB,uCAAqB,CAAA;IACrB,uCAAqB,CAAA;IACrB,2DAAyC,CAAA;IACzC,yCAAuB,CAAA;IACvB,+BAAa,CAAA;IACb,+CAA6B,CAAA;IAC7B,mDAAiC,CAAA;IACjC,+CAA6B,CAAA;IAC7B,yCAAuB,CAAA;IACvB,iCAAe,CAAA;IACf,iCAAe,CAAA;IACf,+BAAa,CAAA;IACb,qCAAmB,CAAA;IACnB,6CAA2B,CAAA;IAC3B,uDAAqC,CAAA;IACrC,yCAAuB,CAAA;IACvB,uDAAqC,CAAA;IACrC,qCAAmB,CAAA;IACnB,uCAAqB,CAAA;AACtB,CAAC,EAvBW,cAAc,8BAAd,cAAc,QAuBzB;AAEY,QAAA,iBAAiB,GAAG;IAChC,OAAO;IACP,MAAM;IACN,OAAO;IACP,UAAU;IACV,SAAS;IACT,QAAQ;IACR,WAAW;IACX,cAAc;IACd,WAAW;IACX,MAAM;IACN,gBAAgB;IAChB,OAAO;IACP,oBAAoB;IACpB,UAAU;IACV,cAAc;IACd,aAAa;IACb,kBAAkB;IAClB,WAAW;IACX,kBAAkB;IAClB,SAAS;IACT,UAAU;CACV,CAAC;AAobF,IAAY,UAQX;AARD,WAAY,UAAU;IACrB,+CAAU,CAAA;IACV,+CAAU,CAAA;IACV,iDAAW,CAAA;IACX,qDAAa,CAAA;IACb,mDAAY,CAAA;IACZ,+CAAU,CAAA;IACV,mDAAY,CAAA;AACb,CAAC,EARW,UAAU,0BAAV,UAAU,QAQrB;AAED,IAAY,YAIX;AAJD,WAAY,YAAY;IACvB,qCAAqB,CAAA;IACrB,6CAA6B,CAAA;IAC7B,2CAA2B,CAAA;AAC5B,CAAC,EAJW,YAAY,4BAAZ,YAAY,QAIvB"}
@@ -24,6 +24,6 @@ export { IExtensionTemplate, ITemplateSettings, IExtensionPaginated, IExtension,
24
24
  export { ISalesdeskSettingsSubjects, ISalesdeskSettingsTemplates, ISalesdeskSettings } from './salesdesk';
25
25
  export { IAgentLuaTool, IAgentToolUI, IAgentToolType, isValidAgentToolType } from './agent-tools';
26
26
  export { IAgentMcp, IAgentMcpTool, IAgentMcpToolListResult } from './agent-mcp';
27
- export { IAgentKnowledge, AgentKnowledgeFileType } from './agent-knowledge';
27
+ export { IAgentKnowledge, AgentKnowledgeFileType, AgentKnowledgeStorageType } from './agent-knowledge';
28
28
  export { IAgentGuardrail } from './agent-guardrail';
29
29
  export { IUseCase, IJobDone } from './use-cases';
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AgentKnowledgeFileType = exports.isValidAgentToolType = exports.IAgentToolType = exports.AvailableTemplates = exports.IExtensionStatus = exports.GoToSchema_Version1 = exports.BaseActionSchema = exports.ActionSchemaTypes = exports.ICustomIntentStatus = exports.IActivityTemplateType = exports.IColumnTypes = exports.IntentsResponseError = exports.TablesResponseError = exports.VersioningResponseError = exports.SharedResponseErrors = exports.TriggerResponseError = exports.ScopeResponseError = exports.ComponentResponseError = exports.ActivityTemplateResponseError = exports.ActivityResponseErrors = exports.WorkflowResponseErrors = exports.HttpStatusCodes = exports.IComponentType = exports.ComponentTypeEnum = exports.TriggerTypes = exports.IGeneralStatus = exports.EventLogSource = exports.LogActions = exports.Roles = void 0;
3
+ exports.AgentKnowledgeStorageType = exports.AgentKnowledgeFileType = exports.isValidAgentToolType = exports.IAgentToolType = exports.AvailableTemplates = exports.IExtensionStatus = exports.GoToSchema_Version1 = exports.BaseActionSchema = exports.ActionSchemaTypes = exports.ICustomIntentStatus = exports.IActivityTemplateType = exports.IColumnTypes = exports.IntentsResponseError = exports.TablesResponseError = exports.VersioningResponseError = exports.SharedResponseErrors = exports.TriggerResponseError = exports.ScopeResponseError = exports.ComponentResponseError = exports.ActivityTemplateResponseError = exports.ActivityResponseErrors = exports.WorkflowResponseErrors = exports.HttpStatusCodes = exports.IComponentType = exports.ComponentTypeEnum = exports.TriggerTypes = exports.IGeneralStatus = exports.EventLogSource = exports.LogActions = exports.Roles = void 0;
4
4
  var client_1 = require("./client");
5
5
  Object.defineProperty(exports, "Roles", { enumerable: true, get: function () { return client_1.Roles; } });
6
6
  Object.defineProperty(exports, "LogActions", { enumerable: true, get: function () { return client_1.LogActions; } });
@@ -42,4 +42,5 @@ Object.defineProperty(exports, "IAgentToolType", { enumerable: true, get: functi
42
42
  Object.defineProperty(exports, "isValidAgentToolType", { enumerable: true, get: function () { return agent_tools_1.isValidAgentToolType; } });
43
43
  var agent_knowledge_1 = require("./agent-knowledge");
44
44
  Object.defineProperty(exports, "AgentKnowledgeFileType", { enumerable: true, get: function () { return agent_knowledge_1.AgentKnowledgeFileType; } });
45
+ Object.defineProperty(exports, "AgentKnowledgeStorageType", { enumerable: true, get: function () { return agent_knowledge_1.AgentKnowledgeStorageType; } });
45
46
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/models/index.ts"],"names":[],"mappings":";;;AAAA,mCAAmH;AAAjG,+FAAA,KAAK,OAAA;AAAmC,oGAAA,UAAU,OAAA;AAAc,wGAAA,cAAc,OAAA;AAChG,mCAA0C;AAAjC,wGAAA,cAAc,OAAA;AACvB,uCAAqD;AAA5C,wGAAA,YAAY,OAAA;AAGrB,2CAqBsB;AAVrB,+GAAA,iBAAiB,OAAA;AACjB,4GAAA,cAAc,OAAA;AAgBf,uCAeoB;AAXnB,2GAAA,eAAe,OAAA;AACf,kHAAA,sBAAsB,OAAA;AACtB,kHAAA,sBAAsB,OAAA;AACtB,yHAAA,6BAA6B,OAAA;AAC7B,kHAAA,sBAAsB,OAAA;AACtB,8GAAA,kBAAkB,OAAA;AAClB,gHAAA,oBAAoB,OAAA;AACpB,gHAAA,oBAAoB,OAAA;AACpB,mHAAA,uBAAuB,OAAA;AACvB,+GAAA,mBAAmB,OAAA;AACnB,gHAAA,oBAAoB,OAAA;AAGrB,mCAA+E;AAA/C,sGAAA,YAAY,OAAA;AAC5C,2DAAgK;AAAvJ,2HAAA,qBAAqB,OAAA;AAE9B,mDAAsE;AAA9C,qHAAA,mBAAmB,OAAA;AAE3C,mDAA0I;AAAjI,mHAAA,iBAAiB,OAAA;AAAsB,kHAAA,gBAAgB,OAAA;AAAqB,qHAAA,mBAAmB,OAAA;AAGxG,qDAAmK;AAAlF,mHAAA,gBAA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AAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@engyalo/workflow-types",
3
- "version": "1.3.0-main-9eda79a",
3
+ "version": "1.3.0-main-c2a7ae4",
4
4
  "description": "",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",