@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.
- package/build/cjs/text/text.dto.d.ts +54 -1
- package/build/cjs/text/text.dto.d.ts.map +1 -1
- package/build/cjs/text/text.dto.js +29 -2
- package/build/cjs/text/text.dto.js.map +1 -1
- package/build/cjs/trace/any.dto.d.ts +209 -13
- package/build/cjs/trace/any.dto.d.ts.map +1 -1
- package/build/cjs/trace/card.dto.d.ts +7 -7
- package/build/cjs/trace/carousel.dto.d.ts +8 -8
- package/build/cjs/trace/completion.dto.d.ts +2 -1
- package/build/cjs/trace/completion.dto.d.ts.map +1 -1
- package/build/cjs/trace/completion.dto.js.map +1 -1
- package/build/cjs/trace/debug.dto.d.ts +395 -0
- package/build/cjs/trace/debug.dto.d.ts.map +1 -1
- package/build/cjs/trace/debug.dto.js +56 -1
- package/build/cjs/trace/debug.dto.js.map +1 -1
- package/build/cjs/trace/text.dto.d.ts +4 -4
- package/build/cjs/widget-settings/widget-settings.dto.d.ts +6 -6
- package/build/esm/text/text.dto.d.ts +54 -1
- package/build/esm/text/text.dto.d.ts.map +1 -1
- package/build/esm/text/text.dto.js +26 -1
- package/build/esm/text/text.dto.js.map +1 -1
- package/build/esm/trace/any.dto.d.ts +209 -13
- package/build/esm/trace/any.dto.d.ts.map +1 -1
- package/build/esm/trace/card.dto.d.ts +7 -7
- package/build/esm/trace/carousel.dto.d.ts +8 -8
- package/build/esm/trace/completion.dto.d.ts +2 -1
- package/build/esm/trace/completion.dto.d.ts.map +1 -1
- package/build/esm/trace/completion.dto.js.map +1 -1
- package/build/esm/trace/debug.dto.d.ts +395 -0
- package/build/esm/trace/debug.dto.d.ts.map +1 -1
- package/build/esm/trace/debug.dto.js +55 -0
- package/build/esm/trace/debug.dto.js.map +1 -1
- package/build/esm/trace/text.dto.d.ts +4 -4
- package/build/esm/widget-settings/widget-settings.dto.d.ts +6 -6
- package/package.json +2 -2
|
@@ -1,4 +1,29 @@
|
|
|
1
1
|
import z from 'zod';
|
|
2
|
+
export var SlateTextProperty;
|
|
3
|
+
(function (SlateTextProperty) {
|
|
4
|
+
SlateTextProperty["BACKGROUND_COLOR"] = "backgroundColor";
|
|
5
|
+
SlateTextProperty["COLOR"] = "color";
|
|
6
|
+
SlateTextProperty["ITALIC"] = "italic";
|
|
7
|
+
SlateTextProperty["UNDERLINE"] = "underline";
|
|
8
|
+
SlateTextProperty["FONT_WEIGHT"] = "fontWeight";
|
|
9
|
+
SlateTextProperty["FONT_FAMILY"] = "fontFamily";
|
|
10
|
+
SlateTextProperty["STRIKE_THROUGH"] = "strikeThrough";
|
|
11
|
+
})(SlateTextProperty || (SlateTextProperty = {}));
|
|
12
|
+
export var SlateTextElementType;
|
|
13
|
+
(function (SlateTextElementType) {
|
|
14
|
+
SlateTextElementType["LINK"] = "link";
|
|
15
|
+
SlateTextElementType["VARIABLE"] = "variable";
|
|
16
|
+
})(SlateTextElementType || (SlateTextElementType = {}));
|
|
17
|
+
export var SlateTextElementProperty;
|
|
18
|
+
(function (SlateTextElementProperty) {
|
|
19
|
+
SlateTextElementProperty["TEXT_ALIGN"] = "textAlign";
|
|
20
|
+
})(SlateTextElementProperty || (SlateTextElementProperty = {}));
|
|
21
|
+
export const isSlateTextVariableElement = (element) => {
|
|
22
|
+
return element.type === SlateTextElementType.VARIABLE;
|
|
23
|
+
};
|
|
24
|
+
export const isSlateTextLinkElement = (element) => {
|
|
25
|
+
return element.type === SlateTextElementType.LINK;
|
|
26
|
+
};
|
|
2
27
|
// TODO: define and manage later
|
|
3
|
-
export const SlateTextValueDTO = z.array(z.any());
|
|
28
|
+
export const SlateTextValueDTO = z.array(z.any().transform((value) => value));
|
|
4
29
|
//# sourceMappingURL=text.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text.dto.js","sourceRoot":"","sources":["../../../src/text/text.dto.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"text.dto.js","sourceRoot":"","sources":["../../../src/text/text.dto.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AASpB,MAAM,CAAN,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,KAAjB,iBAAiB,QAQ5B;AAED,MAAM,CAAN,IAAY,oBAGX;AAHD,WAAY,oBAAoB;IAC9B,qCAAa,CAAA;IACb,6CAAqB,CAAA;AACvB,CAAC,EAHW,oBAAoB,KAApB,oBAAoB,QAG/B;AAED,MAAM,CAAN,IAAY,wBAEX;AAFD,WAAY,wBAAwB;IAClC,oDAAwB,CAAA;AAC1B,CAAC,EAFW,wBAAwB,KAAxB,wBAAwB,QAEnC;AAqCD,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,OAAyB,EAAuC,EAAE;IAC3G,OAAO,OAAO,CAAC,IAAI,KAAK,oBAAoB,CAAC,QAAQ,CAAC;AACxD,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,OAAyB,EAAmC,EAAE;IACnG,OAAO,OAAO,CAAC,IAAI,KAAK,oBAAoB,CAAC,IAAI,CAAC;AACpD,CAAC,CAAC;AAEF,gCAAgC;AAChC,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC,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.js").SlateText | import("../main.js").SlateTextElement | import("../main.js").SlateTextLinkElement | import("../main.js").SlateTextVariableElement, any>, "many">>;
|
|
458
458
|
}, "strip", z.ZodTypeAny, {
|
|
459
459
|
text: string;
|
|
460
|
-
slate?:
|
|
460
|
+
slate?: (import("../main.js").SlateText | import("../main.js").SlateTextElement | import("../main.js").SlateTextLinkElement | import("../main.js").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?:
|
|
478
|
+
slate?: (import("../main.js").SlateText | import("../main.js").SlateTextElement | import("../main.js").SlateTextLinkElement | import("../main.js").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?:
|
|
511
|
+
slate?: (import("../main.js").SlateText | import("../main.js").SlateTextElement | import("../main.js").SlateTextLinkElement | import("../main.js").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.js").SlateText | import("../main.js").SlateTextElement | import("../main.js").SlateTextLinkElement | import("../main.js").SlateTextVariableElement, any>, "many">>;
|
|
623
623
|
}, "strip", z.ZodTypeAny, {
|
|
624
624
|
text: string;
|
|
625
|
-
slate?:
|
|
625
|
+
slate?: (import("../main.js").SlateText | import("../main.js").SlateTextElement | import("../main.js").SlateTextLinkElement | import("../main.js").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?:
|
|
644
|
+
slate?: (import("../main.js").SlateText | import("../main.js").SlateTextElement | import("../main.js").SlateTextLinkElement | import("../main.js").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?:
|
|
682
|
+
slate?: (import("../main.js").SlateText | import("../main.js").SlateTextElement | import("../main.js").SlateTextLinkElement | import("../main.js").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?:
|
|
723
|
+
slate?: (import("../main.js").SlateText | import("../main.js").SlateTextElement | import("../main.js").SlateTextLinkElement | import("../main.js").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.js").SlateText | import("../main.js").SlateTextElement | import("../main.js").SlateTextLinkElement | import("../main.js").SlateTextVariableElement, any>, "many">;
|
|
1985
2181
|
}, "strip", z.ZodTypeAny, {
|
|
1986
|
-
content:
|
|
2182
|
+
content: (import("../main.js").SlateText | import("../main.js").SlateTextElement | import("../main.js").SlateTextLinkElement | import("../main.js").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:
|
|
2200
|
+
content: (import("../main.js").SlateText | import("../main.js").SlateTextElement | import("../main.js").SlateTextLinkElement | import("../main.js").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:
|
|
2227
|
+
content: (import("../main.js").SlateText | import("../main.js").SlateTextElement | import("../main.js").SlateTextLinkElement | import("../main.js").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
|
|
1
|
+
{"version":3,"file":"any.dto.d.ts","sourceRoot":"","sources":["../../../src/trace/any.dto.ts"],"names":[],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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.js").SlateText | import("../text/text.dto.js").SlateTextElement | import("../text/text.dto.js").SlateTextLinkElement | import("../text/text.dto.js").SlateTextVariableElement, any>, "many">>;
|
|
38
38
|
}, "strip", z.ZodTypeAny, {
|
|
39
39
|
text: string;
|
|
40
|
-
slate?:
|
|
40
|
+
slate?: (import("../text/text.dto.js").SlateText | import("../text/text.dto.js").SlateTextElement | import("../text/text.dto.js").SlateTextLinkElement | import("../text/text.dto.js").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?:
|
|
58
|
+
slate?: (import("../text/text.dto.js").SlateText | import("../text/text.dto.js").SlateTextElement | import("../text/text.dto.js").SlateTextLinkElement | import("../text/text.dto.js").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.js").SlateText | import("../text/text.dto.js").SlateTextElement | import("../text/text.dto.js").SlateTextLinkElement | import("../text/text.dto.js").SlateTextVariableElement, any>, "many">>;
|
|
147
147
|
}, "strip", z.ZodTypeAny, {
|
|
148
148
|
text: string;
|
|
149
|
-
slate?:
|
|
149
|
+
slate?: (import("../text/text.dto.js").SlateText | import("../text/text.dto.js").SlateTextElement | import("../text/text.dto.js").SlateTextLinkElement | import("../text/text.dto.js").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?:
|
|
167
|
+
slate?: (import("../text/text.dto.js").SlateText | import("../text/text.dto.js").SlateTextElement | import("../text/text.dto.js").SlateTextLinkElement | import("../text/text.dto.js").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?:
|
|
200
|
+
slate?: (import("../text/text.dto.js").SlateText | import("../text/text.dto.js").SlateTextElement | import("../text/text.dto.js").SlateTextLinkElement | import("../text/text.dto.js").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.js").SlateText | import("../main.js").SlateTextElement | import("../main.js").SlateTextLinkElement | import("../main.js").SlateTextVariableElement, any>, "many">>;
|
|
38
38
|
}, "strip", z.ZodTypeAny, {
|
|
39
39
|
text: string;
|
|
40
|
-
slate?:
|
|
40
|
+
slate?: (import("../main.js").SlateText | import("../main.js").SlateTextElement | import("../main.js").SlateTextLinkElement | import("../main.js").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?:
|
|
59
|
+
slate?: (import("../main.js").SlateText | import("../main.js").SlateTextElement | import("../main.js").SlateTextLinkElement | import("../main.js").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.js").SlateText | import("../main.js").SlateTextElement | import("../main.js").SlateTextLinkElement | import("../main.js").SlateTextVariableElement, any>, "many">>;
|
|
151
151
|
}, "strip", z.ZodTypeAny, {
|
|
152
152
|
text: string;
|
|
153
|
-
slate?:
|
|
153
|
+
slate?: (import("../main.js").SlateText | import("../main.js").SlateTextElement | import("../main.js").SlateTextLinkElement | import("../main.js").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?:
|
|
172
|
+
slate?: (import("../main.js").SlateText | import("../main.js").SlateTextElement | import("../main.js").SlateTextLinkElement | import("../main.js").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?:
|
|
210
|
+
slate?: (import("../main.js").SlateText | import("../main.js").SlateTextElement | import("../main.js").SlateTextLinkElement | import("../main.js").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?:
|
|
251
|
+
slate?: (import("../main.js").SlateText | import("../main.js").SlateTextElement | import("../main.js").SlateTextLinkElement | import("../main.js").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.js';
|
|
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 =
|
|
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;
|
|
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,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"completion.dto.js","sourceRoot":"","sources":["../../../src/trace/completion.dto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAE3C,MAAM,CAAC,MAAM,eAAe,GAAG;IAC7B,KAAK,EAAE,OAAO;IACd,OAAO,EAAE,SAAS;IAClB,GAAG,EAAE,KAAK;CACF,CAAC;AAIX,MAAM,uBAAuB,GAAG,CAAC,CAAC,MAAM,CAAC;IACvC,KAAK,EAAE,CAAC,CAAC,OAAO,CAAC,eAAe,CAAC,KAAK,CAAC;IACvC,EAAE,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;CAC3B,CAAC,CAAC;AAEH,MAAM,yBAAyB,GAAG,CAAC,CAAC,MAAM,CAAC;IACzC,KAAK,EAAE,CAAC,CAAC,OAAO,CAAC,eAAe,CAAC,OAAO,CAAC;IACzC,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;CACpB,CAAC,CAAC;AAEH,MAAM,qBAAqB,GAAG,CAAC,CAAC,MAAM,CAAC;IACrC,KAAK,EAAE,CAAC,CAAC,OAAO,CAAC,eAAe,CAAC,GAAG,CAAC;CACtC,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,kBAAkB,GAAG,YAAY,CAAC,MAAM,CAAC;IACpD,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,SAAS,CAAC,UAAU,CAAC;IACrC,OAAO,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,uBAAuB,EAAE,yBAAyB,EAAE,qBAAqB,CAAC,CAAC;CAC9F,CAAC,CAAC"}
|