@voiceflow/dtos-interact 1.17.0 → 1.17.2-2c0101ccec.712

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.
Files changed (35) hide show
  1. package/build/cjs/text/text.dto.d.ts +54 -1
  2. package/build/cjs/text/text.dto.d.ts.map +1 -1
  3. package/build/cjs/text/text.dto.js +29 -2
  4. package/build/cjs/text/text.dto.js.map +1 -1
  5. package/build/cjs/trace/any.dto.d.ts +209 -13
  6. package/build/cjs/trace/any.dto.d.ts.map +1 -1
  7. package/build/cjs/trace/card.dto.d.ts +7 -7
  8. package/build/cjs/trace/carousel.dto.d.ts +8 -8
  9. package/build/cjs/trace/completion.dto.d.ts +2 -1
  10. package/build/cjs/trace/completion.dto.d.ts.map +1 -1
  11. package/build/cjs/trace/completion.dto.js.map +1 -1
  12. package/build/cjs/trace/debug.dto.d.ts +395 -0
  13. package/build/cjs/trace/debug.dto.d.ts.map +1 -1
  14. package/build/cjs/trace/debug.dto.js +56 -1
  15. package/build/cjs/trace/debug.dto.js.map +1 -1
  16. package/build/cjs/trace/text.dto.d.ts +4 -4
  17. package/build/cjs/widget-settings/widget-settings.dto.d.ts +6 -6
  18. package/build/esm/text/text.dto.d.ts +54 -1
  19. package/build/esm/text/text.dto.d.ts.map +1 -1
  20. package/build/esm/text/text.dto.js +26 -1
  21. package/build/esm/text/text.dto.js.map +1 -1
  22. package/build/esm/trace/any.dto.d.ts +209 -13
  23. package/build/esm/trace/any.dto.d.ts.map +1 -1
  24. package/build/esm/trace/card.dto.d.ts +7 -7
  25. package/build/esm/trace/carousel.dto.d.ts +8 -8
  26. package/build/esm/trace/completion.dto.d.ts +2 -1
  27. package/build/esm/trace/completion.dto.d.ts.map +1 -1
  28. package/build/esm/trace/completion.dto.js.map +1 -1
  29. package/build/esm/trace/debug.dto.d.ts +395 -0
  30. package/build/esm/trace/debug.dto.d.ts.map +1 -1
  31. package/build/esm/trace/debug.dto.js +55 -0
  32. package/build/esm/trace/debug.dto.js.map +1 -1
  33. package/build/esm/trace/text.dto.d.ts +4 -4
  34. package/build/esm/widget-settings/widget-settings.dto.d.ts +6 -6
  35. package/package.json +2 -2
@@ -1,4 +1,57 @@
1
1
  import z from 'zod';
2
- export declare const SlateTextValueDTO: z.ZodArray<z.ZodAny, "many">;
2
+ export interface SlateTextColor {
3
+ r: number;
4
+ g: number;
5
+ b: number;
6
+ a: number;
7
+ }
8
+ export declare enum SlateTextProperty {
9
+ BACKGROUND_COLOR = "backgroundColor",
10
+ COLOR = "color",
11
+ ITALIC = "italic",
12
+ UNDERLINE = "underline",
13
+ FONT_WEIGHT = "fontWeight",
14
+ FONT_FAMILY = "fontFamily",
15
+ STRIKE_THROUGH = "strikeThrough"
16
+ }
17
+ export declare enum SlateTextElementType {
18
+ LINK = "link",
19
+ VARIABLE = "variable"
20
+ }
21
+ export declare enum SlateTextElementProperty {
22
+ TEXT_ALIGN = "textAlign"
23
+ }
24
+ export interface SlateText {
25
+ text: string;
26
+ [SlateTextProperty.BACKGROUND_COLOR]?: SlateTextColor;
27
+ [SlateTextProperty.COLOR]?: SlateTextColor;
28
+ [SlateTextProperty.ITALIC]?: boolean;
29
+ [SlateTextProperty.UNDERLINE]?: boolean;
30
+ [SlateTextProperty.FONT_WEIGHT]?: string;
31
+ [SlateTextProperty.FONT_FAMILY]?: string;
32
+ [SlateTextProperty.STRIKE_THROUGH]?: boolean;
33
+ }
34
+ export interface SlateTextElement {
35
+ type?: string;
36
+ children: Descendant[];
37
+ [SlateTextElementProperty.TEXT_ALIGN]?: string;
38
+ }
39
+ export interface SlateTextLinkElement extends SlateTextElement {
40
+ type: SlateTextElementType.LINK;
41
+ url?: string;
42
+ }
43
+ export interface SlateTextVariableElement extends SlateTextElement {
44
+ type: SlateTextElementType.VARIABLE;
45
+ id: string;
46
+ path?: string;
47
+ name: string;
48
+ isSlot?: boolean;
49
+ isSecret?: boolean;
50
+ }
51
+ export type AnySlateTextElement = SlateTextElement | SlateTextLinkElement | SlateTextVariableElement;
52
+ export type Descendant = AnySlateTextElement | SlateText;
53
+ export declare const isSlateTextVariableElement: (element: SlateTextElement) => element is SlateTextVariableElement;
54
+ export declare const isSlateTextLinkElement: (element: SlateTextElement) => element is SlateTextLinkElement;
55
+ export declare const SlateTextValueDTO: z.ZodArray<z.ZodEffects<z.ZodAny, SlateText | SlateTextElement | SlateTextLinkElement | SlateTextVariableElement, any>, "many">;
3
56
  export type SlateTextValue = z.infer<typeof SlateTextValueDTO>;
4
57
  //# sourceMappingURL=text.dto.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"text.dto.d.ts","sourceRoot":"","sources":["../../../src/text/text.dto.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAGpB,eAAO,MAAM,iBAAiB,8BAAmB,CAAC;AAElD,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC"}
1
+ {"version":3,"file":"text.dto.d.ts","sourceRoot":"","sources":["../../../src/text/text.dto.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAEpB,MAAM,WAAW,cAAc;IAC7B,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX;AAED,oBAAY,iBAAiB;IAC3B,gBAAgB,oBAAoB;IACpC,KAAK,UAAU;IACf,MAAM,WAAW;IACjB,SAAS,cAAc;IACvB,WAAW,eAAe;IAC1B,WAAW,eAAe;IAC1B,cAAc,kBAAkB;CACjC;AAED,oBAAY,oBAAoB;IAC9B,IAAI,SAAS;IACb,QAAQ,aAAa;CACtB;AAED,oBAAY,wBAAwB;IAClC,UAAU,cAAc;CACzB;AAED,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,CAAC,EAAE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GF,eAAO,MAAM,iBAAiB,iIAA2D,CAAC;AAE1F,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC"}
@@ -3,8 +3,35 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.SlateTextValueDTO = void 0;
6
+ exports.SlateTextValueDTO = exports.isSlateTextLinkElement = exports.isSlateTextVariableElement = exports.SlateTextElementProperty = exports.SlateTextElementType = exports.SlateTextProperty = void 0;
7
7
  const zod_1 = __importDefault(require("zod"));
8
+ var SlateTextProperty;
9
+ (function (SlateTextProperty) {
10
+ SlateTextProperty["BACKGROUND_COLOR"] = "backgroundColor";
11
+ SlateTextProperty["COLOR"] = "color";
12
+ SlateTextProperty["ITALIC"] = "italic";
13
+ SlateTextProperty["UNDERLINE"] = "underline";
14
+ SlateTextProperty["FONT_WEIGHT"] = "fontWeight";
15
+ SlateTextProperty["FONT_FAMILY"] = "fontFamily";
16
+ SlateTextProperty["STRIKE_THROUGH"] = "strikeThrough";
17
+ })(SlateTextProperty || (exports.SlateTextProperty = SlateTextProperty = {}));
18
+ var SlateTextElementType;
19
+ (function (SlateTextElementType) {
20
+ SlateTextElementType["LINK"] = "link";
21
+ SlateTextElementType["VARIABLE"] = "variable";
22
+ })(SlateTextElementType || (exports.SlateTextElementType = SlateTextElementType = {}));
23
+ var SlateTextElementProperty;
24
+ (function (SlateTextElementProperty) {
25
+ SlateTextElementProperty["TEXT_ALIGN"] = "textAlign";
26
+ })(SlateTextElementProperty || (exports.SlateTextElementProperty = SlateTextElementProperty = {}));
27
+ const isSlateTextVariableElement = (element) => {
28
+ return element.type === SlateTextElementType.VARIABLE;
29
+ };
30
+ exports.isSlateTextVariableElement = isSlateTextVariableElement;
31
+ const isSlateTextLinkElement = (element) => {
32
+ return element.type === SlateTextElementType.LINK;
33
+ };
34
+ exports.isSlateTextLinkElement = isSlateTextLinkElement;
8
35
  // TODO: define and manage later
9
- exports.SlateTextValueDTO = zod_1.default.array(zod_1.default.any());
36
+ exports.SlateTextValueDTO = zod_1.default.array(zod_1.default.any().transform((value) => value));
10
37
  //# sourceMappingURL=text.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"text.dto.js","sourceRoot":"","sources":["../../../src/text/text.dto.ts"],"names":[],"mappings":";;;;;;AAAA,8CAAoB;AAEpB,gCAAgC;AACnB,QAAA,iBAAiB,GAAG,aAAC,CAAC,KAAK,CAAC,aAAC,CAAC,GAAG,EAAE,CAAC,CAAC"}
1
+ {"version":3,"file":"text.dto.js","sourceRoot":"","sources":["../../../src/text/text.dto.ts"],"names":[],"mappings":";;;;;;AAAA,8CAAoB;AASpB,IAAY,iBAQX;AARD,WAAY,iBAAiB;IAC3B,yDAAoC,CAAA;IACpC,oCAAe,CAAA;IACf,sCAAiB,CAAA;IACjB,4CAAuB,CAAA;IACvB,+CAA0B,CAAA;IAC1B,+CAA0B,CAAA;IAC1B,qDAAgC,CAAA;AAClC,CAAC,EARW,iBAAiB,iCAAjB,iBAAiB,QAQ5B;AAED,IAAY,oBAGX;AAHD,WAAY,oBAAoB;IAC9B,qCAAa,CAAA;IACb,6CAAqB,CAAA;AACvB,CAAC,EAHW,oBAAoB,oCAApB,oBAAoB,QAG/B;AAED,IAAY,wBAEX;AAFD,WAAY,wBAAwB;IAClC,oDAAwB,CAAA;AAC1B,CAAC,EAFW,wBAAwB,wCAAxB,wBAAwB,QAEnC;AAqCM,MAAM,0BAA0B,GAAG,CAAC,OAAyB,EAAuC,EAAE;IAC3G,OAAO,OAAO,CAAC,IAAI,KAAK,oBAAoB,CAAC,QAAQ,CAAC;AACxD,CAAC,CAAC;AAFW,QAAA,0BAA0B,8BAErC;AAEK,MAAM,sBAAsB,GAAG,CAAC,OAAyB,EAAmC,EAAE;IACnG,OAAO,OAAO,CAAC,IAAI,KAAK,oBAAoB,CAAC,IAAI,CAAC;AACpD,CAAC,CAAC;AAFW,QAAA,sBAAsB,0BAEjC;AAEF,gCAAgC;AACnB,QAAA,iBAAiB,GAAG,aAAC,CAAC,KAAK,CAAC,aAAC,CAAC,GAAG,EAAE,CAAC,SAAS,CAAC,CAAC,KAAiB,EAAE,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC"}
@@ -454,10 +454,10 @@ export declare const AnyTraceDTO: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
454
454
  imageUrl: z.ZodNullable<z.ZodString>;
455
455
  description: z.ZodObject<{
456
456
  text: z.ZodString;
457
- slate: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
457
+ slate: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodAny, import("../main").SlateText | import("../main").SlateTextElement | import("../main").SlateTextLinkElement | import("../main").SlateTextVariableElement, any>, "many">>;
458
458
  }, "strip", z.ZodTypeAny, {
459
459
  text: string;
460
- slate?: any[] | undefined;
460
+ slate?: (import("../main").SlateText | import("../main").SlateTextElement | import("../main").SlateTextLinkElement | import("../main").SlateTextVariableElement)[] | undefined;
461
461
  }, {
462
462
  text: string;
463
463
  slate?: any[] | undefined;
@@ -475,7 +475,7 @@ export declare const AnyTraceDTO: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
475
475
  imageUrl: string | null;
476
476
  description: {
477
477
  text: string;
478
- slate?: any[] | undefined;
478
+ slate?: (import("../main").SlateText | import("../main").SlateTextElement | import("../main").SlateTextLinkElement | import("../main").SlateTextVariableElement)[] | undefined;
479
479
  };
480
480
  }, {
481
481
  title: string;
@@ -508,7 +508,7 @@ export declare const AnyTraceDTO: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
508
508
  imageUrl: string | null;
509
509
  description: {
510
510
  text: string;
511
- slate?: any[] | undefined;
511
+ slate?: (import("../main").SlateText | import("../main").SlateTextElement | import("../main").SlateTextLinkElement | import("../main").SlateTextVariableElement)[] | undefined;
512
512
  };
513
513
  };
514
514
  paths?: {
@@ -619,10 +619,10 @@ export declare const AnyTraceDTO: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
619
619
  imageUrl: z.ZodNullable<z.ZodString>;
620
620
  description: z.ZodObject<{
621
621
  text: z.ZodString;
622
- slate: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
622
+ slate: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodAny, import("../main").SlateText | import("../main").SlateTextElement | import("../main").SlateTextLinkElement | import("../main").SlateTextVariableElement, any>, "many">>;
623
623
  }, "strip", z.ZodTypeAny, {
624
624
  text: string;
625
- slate?: any[] | undefined;
625
+ slate?: (import("../main").SlateText | import("../main").SlateTextElement | import("../main").SlateTextLinkElement | import("../main").SlateTextVariableElement)[] | undefined;
626
626
  }, {
627
627
  text: string;
628
628
  slate?: any[] | undefined;
@@ -641,7 +641,7 @@ export declare const AnyTraceDTO: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
641
641
  imageUrl: string | null;
642
642
  description: {
643
643
  text: string;
644
- slate?: any[] | undefined;
644
+ slate?: (import("../main").SlateText | import("../main").SlateTextElement | import("../main").SlateTextLinkElement | import("../main").SlateTextVariableElement)[] | undefined;
645
645
  };
646
646
  id?: string | undefined;
647
647
  }, {
@@ -679,7 +679,7 @@ export declare const AnyTraceDTO: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
679
679
  imageUrl: string | null;
680
680
  description: {
681
681
  text: string;
682
- slate?: any[] | undefined;
682
+ slate?: (import("../main").SlateText | import("../main").SlateTextElement | import("../main").SlateTextLinkElement | import("../main").SlateTextVariableElement)[] | undefined;
683
683
  };
684
684
  id?: string | undefined;
685
685
  }[];
@@ -720,7 +720,7 @@ export declare const AnyTraceDTO: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
720
720
  imageUrl: string | null;
721
721
  description: {
722
722
  text: string;
723
- slate?: any[] | undefined;
723
+ slate?: (import("../main").SlateText | import("../main").SlateTextElement | import("../main").SlateTextLinkElement | import("../main").SlateTextVariableElement)[] | undefined;
724
724
  };
725
725
  id?: string | undefined;
726
726
  }[];
@@ -1108,20 +1108,188 @@ export declare const AnyTraceDTO: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1108
1108
  time: z.ZodOptional<z.ZodNumber>;
1109
1109
  type: z.ZodLiteral<"debug">;
1110
1110
  payload: z.ZodObject<{
1111
+ ref: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1112
+ versionID: z.ZodString;
1113
+ type: z.ZodLiteral<"node">;
1114
+ nodeID: z.ZodString;
1115
+ diagramID: z.ZodString;
1116
+ }, "strip", z.ZodTypeAny, {
1117
+ type: "node";
1118
+ diagramID: string;
1119
+ versionID: string;
1120
+ nodeID: string;
1121
+ }, {
1122
+ type: "node";
1123
+ diagramID: string;
1124
+ versionID: string;
1125
+ nodeID: string;
1126
+ }>, z.ZodObject<{
1127
+ versionID: z.ZodString;
1128
+ type: z.ZodLiteral<"agent">;
1129
+ agentID: z.ZodString;
1130
+ }, "strip", z.ZodTypeAny, {
1131
+ type: "agent";
1132
+ versionID: string;
1133
+ agentID: string;
1134
+ }, {
1135
+ type: "agent";
1136
+ versionID: string;
1137
+ agentID: string;
1138
+ }>, z.ZodObject<{
1139
+ versionID: z.ZodString;
1140
+ type: z.ZodLiteral<"prompt">;
1141
+ promptID: z.ZodString;
1142
+ }, "strip", z.ZodTypeAny, {
1143
+ type: "prompt";
1144
+ versionID: string;
1145
+ promptID: string;
1146
+ }, {
1147
+ type: "prompt";
1148
+ versionID: string;
1149
+ promptID: string;
1150
+ }>, z.ZodObject<{
1151
+ versionID: z.ZodString;
1152
+ type: z.ZodLiteral<"api-tool">;
1153
+ apiToolID: z.ZodString;
1154
+ }, "strip", z.ZodTypeAny, {
1155
+ type: "api-tool";
1156
+ versionID: string;
1157
+ apiToolID: string;
1158
+ }, {
1159
+ type: "api-tool";
1160
+ versionID: string;
1161
+ apiToolID: string;
1162
+ }>, z.ZodObject<{
1163
+ versionID: z.ZodString;
1164
+ type: z.ZodLiteral<"function">;
1165
+ functionID: z.ZodString;
1166
+ }, "strip", z.ZodTypeAny, {
1167
+ type: "function";
1168
+ versionID: string;
1169
+ functionID: string;
1170
+ }, {
1171
+ type: "function";
1172
+ versionID: string;
1173
+ functionID: string;
1174
+ }>, z.ZodObject<{
1175
+ versionID: z.ZodString;
1176
+ type: z.ZodLiteral<"integration-tool">;
1177
+ integrationToolID: z.ZodString;
1178
+ }, "strip", z.ZodTypeAny, {
1179
+ type: "integration-tool";
1180
+ versionID: string;
1181
+ integrationToolID: string;
1182
+ }, {
1183
+ type: "integration-tool";
1184
+ versionID: string;
1185
+ integrationToolID: string;
1186
+ }>]>>;
1111
1187
  type: z.ZodOptional<z.ZodString>;
1188
+ level: z.ZodOptional<z.ZodNativeEnum<{
1189
+ readonly FATAL: "fatal";
1190
+ readonly ERROR: "error";
1191
+ readonly WARN: "warn";
1192
+ readonly INFO: "info";
1193
+ readonly DEBUG: "debug";
1194
+ }>>;
1112
1195
  message: z.ZodString;
1196
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1113
1197
  }, "strip", z.ZodTypeAny, {
1114
1198
  message: string;
1199
+ ref?: {
1200
+ type: "node";
1201
+ diagramID: string;
1202
+ versionID: string;
1203
+ nodeID: string;
1204
+ } | {
1205
+ type: "agent";
1206
+ versionID: string;
1207
+ agentID: string;
1208
+ } | {
1209
+ type: "api-tool";
1210
+ versionID: string;
1211
+ apiToolID: string;
1212
+ } | {
1213
+ type: "integration-tool";
1214
+ versionID: string;
1215
+ integrationToolID: string;
1216
+ } | {
1217
+ type: "function";
1218
+ versionID: string;
1219
+ functionID: string;
1220
+ } | {
1221
+ type: "prompt";
1222
+ versionID: string;
1223
+ promptID: string;
1224
+ } | undefined;
1115
1225
  type?: string | undefined;
1226
+ level?: "error" | "debug" | "fatal" | "warn" | "info" | undefined;
1227
+ metadata?: Record<string, unknown> | undefined;
1116
1228
  }, {
1117
1229
  message: string;
1230
+ ref?: {
1231
+ type: "node";
1232
+ diagramID: string;
1233
+ versionID: string;
1234
+ nodeID: string;
1235
+ } | {
1236
+ type: "agent";
1237
+ versionID: string;
1238
+ agentID: string;
1239
+ } | {
1240
+ type: "api-tool";
1241
+ versionID: string;
1242
+ apiToolID: string;
1243
+ } | {
1244
+ type: "integration-tool";
1245
+ versionID: string;
1246
+ integrationToolID: string;
1247
+ } | {
1248
+ type: "function";
1249
+ versionID: string;
1250
+ functionID: string;
1251
+ } | {
1252
+ type: "prompt";
1253
+ versionID: string;
1254
+ promptID: string;
1255
+ } | undefined;
1118
1256
  type?: string | undefined;
1257
+ level?: "error" | "debug" | "fatal" | "warn" | "info" | undefined;
1258
+ metadata?: Record<string, unknown> | undefined;
1119
1259
  }>;
1120
1260
  }, "strip", z.ZodTypeAny, {
1121
1261
  type: "debug";
1122
1262
  payload: {
1123
1263
  message: string;
1264
+ ref?: {
1265
+ type: "node";
1266
+ diagramID: string;
1267
+ versionID: string;
1268
+ nodeID: string;
1269
+ } | {
1270
+ type: "agent";
1271
+ versionID: string;
1272
+ agentID: string;
1273
+ } | {
1274
+ type: "api-tool";
1275
+ versionID: string;
1276
+ apiToolID: string;
1277
+ } | {
1278
+ type: "integration-tool";
1279
+ versionID: string;
1280
+ integrationToolID: string;
1281
+ } | {
1282
+ type: "function";
1283
+ versionID: string;
1284
+ functionID: string;
1285
+ } | {
1286
+ type: "prompt";
1287
+ versionID: string;
1288
+ promptID: string;
1289
+ } | undefined;
1124
1290
  type?: string | undefined;
1291
+ level?: "error" | "debug" | "fatal" | "warn" | "info" | undefined;
1292
+ metadata?: Record<string, unknown> | undefined;
1125
1293
  };
1126
1294
  paths?: {
1127
1295
  label?: string | undefined;
@@ -1137,7 +1305,35 @@ export declare const AnyTraceDTO: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1137
1305
  type: "debug";
1138
1306
  payload: {
1139
1307
  message: string;
1308
+ ref?: {
1309
+ type: "node";
1310
+ diagramID: string;
1311
+ versionID: string;
1312
+ nodeID: string;
1313
+ } | {
1314
+ type: "agent";
1315
+ versionID: string;
1316
+ agentID: string;
1317
+ } | {
1318
+ type: "api-tool";
1319
+ versionID: string;
1320
+ apiToolID: string;
1321
+ } | {
1322
+ type: "integration-tool";
1323
+ versionID: string;
1324
+ integrationToolID: string;
1325
+ } | {
1326
+ type: "function";
1327
+ versionID: string;
1328
+ functionID: string;
1329
+ } | {
1330
+ type: "prompt";
1331
+ versionID: string;
1332
+ promptID: string;
1333
+ } | undefined;
1140
1334
  type?: string | undefined;
1335
+ level?: "error" | "debug" | "fatal" | "warn" | "info" | undefined;
1336
+ metadata?: Record<string, unknown> | undefined;
1141
1337
  };
1142
1338
  paths?: {
1143
1339
  label?: string | undefined;
@@ -1981,9 +2177,9 @@ export declare const AnyTraceDTO: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1981
2177
  ai: z.ZodOptional<z.ZodBoolean>;
1982
2178
  slate: z.ZodObject<{
1983
2179
  id: z.ZodString;
1984
- content: z.ZodArray<z.ZodAny, "many">;
2180
+ content: z.ZodArray<z.ZodEffects<z.ZodAny, import("../main").SlateText | import("../main").SlateTextElement | import("../main").SlateTextLinkElement | import("../main").SlateTextVariableElement, any>, "many">;
1985
2181
  }, "strip", z.ZodTypeAny, {
1986
- content: any[];
2182
+ content: (import("../main").SlateText | import("../main").SlateTextElement | import("../main").SlateTextLinkElement | import("../main").SlateTextVariableElement)[];
1987
2183
  id: string;
1988
2184
  }, {
1989
2185
  content: any[];
@@ -2001,7 +2197,7 @@ export declare const AnyTraceDTO: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2001
2197
  }, "strip", z.ZodTypeAny, {
2002
2198
  message: string;
2003
2199
  slate: {
2004
- content: any[];
2200
+ content: (import("../main").SlateText | import("../main").SlateTextElement | import("../main").SlateTextLinkElement | import("../main").SlateTextVariableElement)[];
2005
2201
  id: string;
2006
2202
  };
2007
2203
  ai?: boolean | undefined;
@@ -2028,7 +2224,7 @@ export declare const AnyTraceDTO: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2028
2224
  payload: {
2029
2225
  message: string;
2030
2226
  slate: {
2031
- content: any[];
2227
+ content: (import("../main").SlateText | import("../main").SlateTextElement | import("../main").SlateTextLinkElement | import("../main").SlateTextVariableElement)[];
2032
2228
  id: string;
2033
2229
  };
2034
2230
  ai?: boolean | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"any.dto.d.ts","sourceRoot":"","sources":["../../../src/trace/any.dto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAuBxB,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAqBtB,CAAC;AAEH,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,WAAW,CAAC,CAAC"}
@@ -34,10 +34,10 @@ export declare const CardTraceCardDTO: z.ZodObject<{
34
34
  imageUrl: z.ZodNullable<z.ZodString>;
35
35
  description: z.ZodObject<{
36
36
  text: z.ZodString;
37
- slate: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
37
+ slate: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodAny, import("../text/text.dto").SlateText | import("../text/text.dto").SlateTextElement | import("../text/text.dto").SlateTextLinkElement | import("../text/text.dto").SlateTextVariableElement, any>, "many">>;
38
38
  }, "strip", z.ZodTypeAny, {
39
39
  text: string;
40
- slate?: any[] | undefined;
40
+ slate?: (import("../text/text.dto").SlateText | import("../text/text.dto").SlateTextElement | import("../text/text.dto").SlateTextLinkElement | import("../text/text.dto").SlateTextVariableElement)[] | undefined;
41
41
  }, {
42
42
  text: string;
43
43
  slate?: any[] | undefined;
@@ -55,7 +55,7 @@ export declare const CardTraceCardDTO: z.ZodObject<{
55
55
  imageUrl: string | null;
56
56
  description: {
57
57
  text: string;
58
- slate?: any[] | undefined;
58
+ slate?: (import("../text/text.dto").SlateText | import("../text/text.dto").SlateTextElement | import("../text/text.dto").SlateTextLinkElement | import("../text/text.dto").SlateTextVariableElement)[] | undefined;
59
59
  };
60
60
  }, {
61
61
  title: string;
@@ -143,10 +143,10 @@ export declare const CardTraceDTO: z.ZodObject<{
143
143
  imageUrl: z.ZodNullable<z.ZodString>;
144
144
  description: z.ZodObject<{
145
145
  text: z.ZodString;
146
- slate: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
146
+ slate: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodAny, import("../text/text.dto").SlateText | import("../text/text.dto").SlateTextElement | import("../text/text.dto").SlateTextLinkElement | import("../text/text.dto").SlateTextVariableElement, any>, "many">>;
147
147
  }, "strip", z.ZodTypeAny, {
148
148
  text: string;
149
- slate?: any[] | undefined;
149
+ slate?: (import("../text/text.dto").SlateText | import("../text/text.dto").SlateTextElement | import("../text/text.dto").SlateTextLinkElement | import("../text/text.dto").SlateTextVariableElement)[] | undefined;
150
150
  }, {
151
151
  text: string;
152
152
  slate?: any[] | undefined;
@@ -164,7 +164,7 @@ export declare const CardTraceDTO: z.ZodObject<{
164
164
  imageUrl: string | null;
165
165
  description: {
166
166
  text: string;
167
- slate?: any[] | undefined;
167
+ slate?: (import("../text/text.dto").SlateText | import("../text/text.dto").SlateTextElement | import("../text/text.dto").SlateTextLinkElement | import("../text/text.dto").SlateTextVariableElement)[] | undefined;
168
168
  };
169
169
  }, {
170
170
  title: string;
@@ -197,7 +197,7 @@ export declare const CardTraceDTO: z.ZodObject<{
197
197
  imageUrl: string | null;
198
198
  description: {
199
199
  text: string;
200
- slate?: any[] | undefined;
200
+ slate?: (import("../text/text.dto").SlateText | import("../text/text.dto").SlateTextElement | import("../text/text.dto").SlateTextLinkElement | import("../text/text.dto").SlateTextVariableElement)[] | undefined;
201
201
  };
202
202
  };
203
203
  paths?: {
@@ -34,10 +34,10 @@ export declare const TraceCarouselCardDTO: z.ZodObject<{
34
34
  imageUrl: z.ZodNullable<z.ZodString>;
35
35
  description: z.ZodObject<{
36
36
  text: z.ZodString;
37
- slate: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
37
+ slate: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodAny, import("../main").SlateText | import("../main").SlateTextElement | import("../main").SlateTextLinkElement | import("../main").SlateTextVariableElement, any>, "many">>;
38
38
  }, "strip", z.ZodTypeAny, {
39
39
  text: string;
40
- slate?: any[] | undefined;
40
+ slate?: (import("../main").SlateText | import("../main").SlateTextElement | import("../main").SlateTextLinkElement | import("../main").SlateTextVariableElement)[] | undefined;
41
41
  }, {
42
42
  text: string;
43
43
  slate?: any[] | undefined;
@@ -56,7 +56,7 @@ export declare const TraceCarouselCardDTO: z.ZodObject<{
56
56
  imageUrl: string | null;
57
57
  description: {
58
58
  text: string;
59
- slate?: any[] | undefined;
59
+ slate?: (import("../main").SlateText | import("../main").SlateTextElement | import("../main").SlateTextLinkElement | import("../main").SlateTextVariableElement)[] | undefined;
60
60
  };
61
61
  id?: string | undefined;
62
62
  }, {
@@ -147,10 +147,10 @@ export declare const CarouselTraceDTO: z.ZodObject<{
147
147
  imageUrl: z.ZodNullable<z.ZodString>;
148
148
  description: z.ZodObject<{
149
149
  text: z.ZodString;
150
- slate: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
150
+ slate: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodAny, import("../main").SlateText | import("../main").SlateTextElement | import("../main").SlateTextLinkElement | import("../main").SlateTextVariableElement, any>, "many">>;
151
151
  }, "strip", z.ZodTypeAny, {
152
152
  text: string;
153
- slate?: any[] | undefined;
153
+ slate?: (import("../main").SlateText | import("../main").SlateTextElement | import("../main").SlateTextLinkElement | import("../main").SlateTextVariableElement)[] | undefined;
154
154
  }, {
155
155
  text: string;
156
156
  slate?: any[] | undefined;
@@ -169,7 +169,7 @@ export declare const CarouselTraceDTO: z.ZodObject<{
169
169
  imageUrl: string | null;
170
170
  description: {
171
171
  text: string;
172
- slate?: any[] | undefined;
172
+ slate?: (import("../main").SlateText | import("../main").SlateTextElement | import("../main").SlateTextLinkElement | import("../main").SlateTextVariableElement)[] | undefined;
173
173
  };
174
174
  id?: string | undefined;
175
175
  }, {
@@ -207,7 +207,7 @@ export declare const CarouselTraceDTO: z.ZodObject<{
207
207
  imageUrl: string | null;
208
208
  description: {
209
209
  text: string;
210
- slate?: any[] | undefined;
210
+ slate?: (import("../main").SlateText | import("../main").SlateTextElement | import("../main").SlateTextLinkElement | import("../main").SlateTextVariableElement)[] | undefined;
211
211
  };
212
212
  id?: string | undefined;
213
213
  }[];
@@ -248,7 +248,7 @@ export declare const CarouselTraceDTO: z.ZodObject<{
248
248
  imageUrl: string | null;
249
249
  description: {
250
250
  text: string;
251
- slate?: any[] | undefined;
251
+ slate?: (import("../main").SlateText | import("../main").SlateTextElement | import("../main").SlateTextLinkElement | import("../main").SlateTextVariableElement)[] | undefined;
252
252
  };
253
253
  id?: string | undefined;
254
254
  }[];
@@ -1,10 +1,11 @@
1
1
  import { z } from 'zod';
2
+ import type { Enum } from '../utils/enum.util';
2
3
  export declare const CompletionState: {
3
4
  readonly START: "start";
4
5
  readonly CONTENT: "content";
5
6
  readonly END: "end";
6
7
  };
7
- export type CompletionState = (typeof CompletionState)[keyof typeof CompletionState];
8
+ export type CompletionState = Enum<typeof CompletionState>;
8
9
  export declare const CompletionTraceDTO: z.ZodObject<{
9
10
  paths: z.ZodOptional<z.ZodArray<z.ZodObject<{
10
11
  label: z.ZodOptional<z.ZodString>;
@@ -1 +1 @@
1
- {"version":3,"file":"completion.dto.d.ts","sourceRoot":"","sources":["../../../src/trace/completion.dto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,eAAe;;;;CAIlB,CAAC;AAEX,MAAM,MAAM,eAAe,GAAG,CAAC,OAAO,eAAe,CAAC,CAAC,MAAM,OAAO,eAAe,CAAC,CAAC;AAgBrF,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAG7B,CAAC;AAEH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC"}
1
+ {"version":3,"file":"completion.dto.d.ts","sourceRoot":"","sources":["../../../src/trace/completion.dto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAK9C,eAAO,MAAM,eAAe;;;;CAIlB,CAAC;AAEX,MAAM,MAAM,eAAe,GAAG,IAAI,CAAC,OAAO,eAAe,CAAC,CAAC;AAgB3D,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAG7B,CAAC;AAEH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"completion.dto.js","sourceRoot":"","sources":["../../../src/trace/completion.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,uDAA8C;AAC9C,2CAA2C;AAE9B,QAAA,eAAe,GAAG;IAC7B,KAAK,EAAE,OAAO;IACd,OAAO,EAAE,SAAS;IAClB,GAAG,EAAE,KAAK;CACF,CAAC;AAIX,MAAM,uBAAuB,GAAG,OAAC,CAAC,MAAM,CAAC;IACvC,KAAK,EAAE,OAAC,CAAC,OAAO,CAAC,uBAAe,CAAC,KAAK,CAAC;IACvC,EAAE,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;CAC3B,CAAC,CAAC;AAEH,MAAM,yBAAyB,GAAG,OAAC,CAAC,MAAM,CAAC;IACzC,KAAK,EAAE,OAAC,CAAC,OAAO,CAAC,uB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