@lightdash/common 0.1691.0 → 0.1693.0
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/cjs/ee/Ai/schemas.d.ts +36 -60
- package/dist/cjs/ee/Ai/schemas.d.ts.map +1 -1
- package/dist/cjs/ee/Ai/types.d.ts +0 -8
- package/dist/cjs/ee/Ai/types.d.ts.map +1 -1
- package/dist/cjs/ee/Ai/types.js +1 -6
- package/dist/cjs/ee/Ai/types.js.map +1 -1
- package/dist/cjs/ee/embed/index.d.ts +6 -6
- package/dist/esm/ee/Ai/schemas.d.ts +36 -60
- package/dist/esm/ee/Ai/schemas.d.ts.map +1 -1
- package/dist/esm/ee/Ai/types.d.ts +0 -8
- package/dist/esm/ee/Ai/types.d.ts.map +1 -1
- package/dist/esm/ee/Ai/types.js +0 -5
- package/dist/esm/ee/Ai/types.js.map +1 -1
- package/dist/esm/ee/embed/index.d.ts +6 -6
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/dist/types/ee/Ai/schemas.d.ts +36 -60
- package/dist/types/ee/Ai/schemas.d.ts.map +1 -1
- package/dist/types/ee/Ai/types.d.ts +0 -8
- package/dist/types/ee/Ai/types.d.ts.map +1 -1
- package/dist/types/ee/embed/index.d.ts +6 -6
- package/package.json +2 -2
@@ -35,7 +35,7 @@ export declare const FilterGroupSchema: z.ZodUnion<[z.ZodObject<{
|
|
35
35
|
};
|
36
36
|
id: string;
|
37
37
|
operator: ConditionalOperator.NULL | ConditionalOperator.NOT_NULL | ConditionalOperator.EQUALS | ConditionalOperator.NOT_EQUALS | ConditionalOperator.STARTS_WITH | ConditionalOperator.ENDS_WITH | ConditionalOperator.INCLUDE | ConditionalOperator.NOT_INCLUDE | ConditionalOperator.LESS_THAN | ConditionalOperator.LESS_THAN_OR_EQUAL | ConditionalOperator.GREATER_THAN | ConditionalOperator.GREATER_THAN_OR_EQUAL | ConditionalOperator.IN_BETWEEN;
|
38
|
-
}>, z.ZodObject<
|
38
|
+
}>, z.ZodObject<{
|
39
39
|
id: z.ZodString;
|
40
40
|
target: z.ZodObject<{
|
41
41
|
fieldId: z.ZodString;
|
@@ -47,9 +47,7 @@ export declare const FilterGroupSchema: z.ZodUnion<[z.ZodObject<{
|
|
47
47
|
type: DimensionType | MetricType;
|
48
48
|
fieldId: string;
|
49
49
|
}>;
|
50
|
-
|
51
|
-
values: z.ZodArray<z.ZodUnion<[z.ZodNull, z.ZodBoolean, z.ZodString, z.ZodNumber]>, "many">;
|
52
|
-
}, {
|
50
|
+
} & {
|
53
51
|
operator: z.ZodUnion<[z.ZodLiteral<ConditionalOperator.IN_THE_PAST>, z.ZodLiteral<ConditionalOperator.NOT_IN_THE_PAST>, z.ZodLiteral<ConditionalOperator.IN_THE_NEXT>, z.ZodLiteral<ConditionalOperator.IN_THE_CURRENT>, z.ZodLiteral<ConditionalOperator.NOT_IN_THE_CURRENT>]>;
|
54
52
|
values: z.ZodArray<z.ZodUnion<[z.ZodNull, z.ZodString]>, "many">;
|
55
53
|
settings: z.ZodObject<{
|
@@ -62,7 +60,7 @@ export declare const FilterGroupSchema: z.ZodUnion<[z.ZodObject<{
|
|
62
60
|
completed: boolean;
|
63
61
|
unitOfTime: UnitOfTime;
|
64
62
|
}>;
|
65
|
-
}
|
63
|
+
}, "strip", z.ZodTypeAny, {
|
66
64
|
values: (string | null)[];
|
67
65
|
target: {
|
68
66
|
type: DimensionType | MetricType;
|
@@ -165,7 +163,7 @@ export declare const FilterGroupSchema: z.ZodUnion<[z.ZodObject<{
|
|
165
163
|
};
|
166
164
|
id: string;
|
167
165
|
operator: ConditionalOperator.NULL | ConditionalOperator.NOT_NULL | ConditionalOperator.EQUALS | ConditionalOperator.NOT_EQUALS | ConditionalOperator.STARTS_WITH | ConditionalOperator.ENDS_WITH | ConditionalOperator.INCLUDE | ConditionalOperator.NOT_INCLUDE | ConditionalOperator.LESS_THAN | ConditionalOperator.LESS_THAN_OR_EQUAL | ConditionalOperator.GREATER_THAN | ConditionalOperator.GREATER_THAN_OR_EQUAL | ConditionalOperator.IN_BETWEEN;
|
168
|
-
}>, z.ZodObject<
|
166
|
+
}>, z.ZodObject<{
|
169
167
|
id: z.ZodString;
|
170
168
|
target: z.ZodObject<{
|
171
169
|
fieldId: z.ZodString;
|
@@ -177,9 +175,7 @@ export declare const FilterGroupSchema: z.ZodUnion<[z.ZodObject<{
|
|
177
175
|
type: DimensionType | MetricType;
|
178
176
|
fieldId: string;
|
179
177
|
}>;
|
180
|
-
|
181
|
-
values: z.ZodArray<z.ZodUnion<[z.ZodNull, z.ZodBoolean, z.ZodString, z.ZodNumber]>, "many">;
|
182
|
-
}, {
|
178
|
+
} & {
|
183
179
|
operator: z.ZodUnion<[z.ZodLiteral<ConditionalOperator.IN_THE_PAST>, z.ZodLiteral<ConditionalOperator.NOT_IN_THE_PAST>, z.ZodLiteral<ConditionalOperator.IN_THE_NEXT>, z.ZodLiteral<ConditionalOperator.IN_THE_CURRENT>, z.ZodLiteral<ConditionalOperator.NOT_IN_THE_CURRENT>]>;
|
184
180
|
values: z.ZodArray<z.ZodUnion<[z.ZodNull, z.ZodString]>, "many">;
|
185
181
|
settings: z.ZodObject<{
|
@@ -192,7 +188,7 @@ export declare const FilterGroupSchema: z.ZodUnion<[z.ZodObject<{
|
|
192
188
|
completed: boolean;
|
193
189
|
unitOfTime: UnitOfTime;
|
194
190
|
}>;
|
195
|
-
}
|
191
|
+
}, "strip", z.ZodTypeAny, {
|
196
192
|
values: (string | null)[];
|
197
193
|
target: {
|
198
194
|
type: DimensionType | MetricType;
|
@@ -297,7 +293,7 @@ export declare const FilterSchema: z.ZodObject<{
|
|
297
293
|
};
|
298
294
|
id: string;
|
299
295
|
operator: ConditionalOperator.NULL | ConditionalOperator.NOT_NULL | ConditionalOperator.EQUALS | ConditionalOperator.NOT_EQUALS | ConditionalOperator.STARTS_WITH | ConditionalOperator.ENDS_WITH | ConditionalOperator.INCLUDE | ConditionalOperator.NOT_INCLUDE | ConditionalOperator.LESS_THAN | ConditionalOperator.LESS_THAN_OR_EQUAL | ConditionalOperator.GREATER_THAN | ConditionalOperator.GREATER_THAN_OR_EQUAL | ConditionalOperator.IN_BETWEEN;
|
300
|
-
}>, z.ZodObject<
|
296
|
+
}>, z.ZodObject<{
|
301
297
|
id: z.ZodString;
|
302
298
|
target: z.ZodObject<{
|
303
299
|
fieldId: z.ZodString;
|
@@ -309,9 +305,7 @@ export declare const FilterSchema: z.ZodObject<{
|
|
309
305
|
type: DimensionType | MetricType;
|
310
306
|
fieldId: string;
|
311
307
|
}>;
|
312
|
-
|
313
|
-
values: z.ZodArray<z.ZodUnion<[z.ZodNull, z.ZodBoolean, z.ZodString, z.ZodNumber]>, "many">;
|
314
|
-
}, {
|
308
|
+
} & {
|
315
309
|
operator: z.ZodUnion<[z.ZodLiteral<ConditionalOperator.IN_THE_PAST>, z.ZodLiteral<ConditionalOperator.NOT_IN_THE_PAST>, z.ZodLiteral<ConditionalOperator.IN_THE_NEXT>, z.ZodLiteral<ConditionalOperator.IN_THE_CURRENT>, z.ZodLiteral<ConditionalOperator.NOT_IN_THE_CURRENT>]>;
|
316
310
|
values: z.ZodArray<z.ZodUnion<[z.ZodNull, z.ZodString]>, "many">;
|
317
311
|
settings: z.ZodObject<{
|
@@ -324,7 +318,7 @@ export declare const FilterSchema: z.ZodObject<{
|
|
324
318
|
completed: boolean;
|
325
319
|
unitOfTime: UnitOfTime;
|
326
320
|
}>;
|
327
|
-
}
|
321
|
+
}, "strip", z.ZodTypeAny, {
|
328
322
|
values: (string | null)[];
|
329
323
|
target: {
|
330
324
|
type: DimensionType | MetricType;
|
@@ -427,7 +421,7 @@ export declare const FilterSchema: z.ZodObject<{
|
|
427
421
|
};
|
428
422
|
id: string;
|
429
423
|
operator: ConditionalOperator.NULL | ConditionalOperator.NOT_NULL | ConditionalOperator.EQUALS | ConditionalOperator.NOT_EQUALS | ConditionalOperator.STARTS_WITH | ConditionalOperator.ENDS_WITH | ConditionalOperator.INCLUDE | ConditionalOperator.NOT_INCLUDE | ConditionalOperator.LESS_THAN | ConditionalOperator.LESS_THAN_OR_EQUAL | ConditionalOperator.GREATER_THAN | ConditionalOperator.GREATER_THAN_OR_EQUAL | ConditionalOperator.IN_BETWEEN;
|
430
|
-
}>, z.ZodObject<
|
424
|
+
}>, z.ZodObject<{
|
431
425
|
id: z.ZodString;
|
432
426
|
target: z.ZodObject<{
|
433
427
|
fieldId: z.ZodString;
|
@@ -439,9 +433,7 @@ export declare const FilterSchema: z.ZodObject<{
|
|
439
433
|
type: DimensionType | MetricType;
|
440
434
|
fieldId: string;
|
441
435
|
}>;
|
442
|
-
|
443
|
-
values: z.ZodArray<z.ZodUnion<[z.ZodNull, z.ZodBoolean, z.ZodString, z.ZodNumber]>, "many">;
|
444
|
-
}, {
|
436
|
+
} & {
|
445
437
|
operator: z.ZodUnion<[z.ZodLiteral<ConditionalOperator.IN_THE_PAST>, z.ZodLiteral<ConditionalOperator.NOT_IN_THE_PAST>, z.ZodLiteral<ConditionalOperator.IN_THE_NEXT>, z.ZodLiteral<ConditionalOperator.IN_THE_CURRENT>, z.ZodLiteral<ConditionalOperator.NOT_IN_THE_CURRENT>]>;
|
446
438
|
values: z.ZodArray<z.ZodUnion<[z.ZodNull, z.ZodString]>, "many">;
|
447
439
|
settings: z.ZodObject<{
|
@@ -454,7 +446,7 @@ export declare const FilterSchema: z.ZodObject<{
|
|
454
446
|
completed: boolean;
|
455
447
|
unitOfTime: UnitOfTime;
|
456
448
|
}>;
|
457
|
-
}
|
449
|
+
}, "strip", z.ZodTypeAny, {
|
458
450
|
values: (string | null)[];
|
459
451
|
target: {
|
460
452
|
type: DimensionType | MetricType;
|
@@ -558,7 +550,7 @@ export declare const FilterSchema: z.ZodObject<{
|
|
558
550
|
};
|
559
551
|
id: string;
|
560
552
|
operator: ConditionalOperator.NULL | ConditionalOperator.NOT_NULL | ConditionalOperator.EQUALS | ConditionalOperator.NOT_EQUALS | ConditionalOperator.STARTS_WITH | ConditionalOperator.ENDS_WITH | ConditionalOperator.INCLUDE | ConditionalOperator.NOT_INCLUDE | ConditionalOperator.LESS_THAN | ConditionalOperator.LESS_THAN_OR_EQUAL | ConditionalOperator.GREATER_THAN | ConditionalOperator.GREATER_THAN_OR_EQUAL | ConditionalOperator.IN_BETWEEN;
|
561
|
-
}>, z.ZodObject<
|
553
|
+
}>, z.ZodObject<{
|
562
554
|
id: z.ZodString;
|
563
555
|
target: z.ZodObject<{
|
564
556
|
fieldId: z.ZodString;
|
@@ -570,9 +562,7 @@ export declare const FilterSchema: z.ZodObject<{
|
|
570
562
|
type: DimensionType | MetricType;
|
571
563
|
fieldId: string;
|
572
564
|
}>;
|
573
|
-
|
574
|
-
values: z.ZodArray<z.ZodUnion<[z.ZodNull, z.ZodBoolean, z.ZodString, z.ZodNumber]>, "many">;
|
575
|
-
}, {
|
565
|
+
} & {
|
576
566
|
operator: z.ZodUnion<[z.ZodLiteral<ConditionalOperator.IN_THE_PAST>, z.ZodLiteral<ConditionalOperator.NOT_IN_THE_PAST>, z.ZodLiteral<ConditionalOperator.IN_THE_NEXT>, z.ZodLiteral<ConditionalOperator.IN_THE_CURRENT>, z.ZodLiteral<ConditionalOperator.NOT_IN_THE_CURRENT>]>;
|
577
567
|
values: z.ZodArray<z.ZodUnion<[z.ZodNull, z.ZodString]>, "many">;
|
578
568
|
settings: z.ZodObject<{
|
@@ -585,7 +575,7 @@ export declare const FilterSchema: z.ZodObject<{
|
|
585
575
|
completed: boolean;
|
586
576
|
unitOfTime: UnitOfTime;
|
587
577
|
}>;
|
588
|
-
}
|
578
|
+
}, "strip", z.ZodTypeAny, {
|
589
579
|
values: (string | null)[];
|
590
580
|
target: {
|
591
581
|
type: DimensionType | MetricType;
|
@@ -688,7 +678,7 @@ export declare const FilterSchema: z.ZodObject<{
|
|
688
678
|
};
|
689
679
|
id: string;
|
690
680
|
operator: ConditionalOperator.NULL | ConditionalOperator.NOT_NULL | ConditionalOperator.EQUALS | ConditionalOperator.NOT_EQUALS | ConditionalOperator.STARTS_WITH | ConditionalOperator.ENDS_WITH | ConditionalOperator.INCLUDE | ConditionalOperator.NOT_INCLUDE | ConditionalOperator.LESS_THAN | ConditionalOperator.LESS_THAN_OR_EQUAL | ConditionalOperator.GREATER_THAN | ConditionalOperator.GREATER_THAN_OR_EQUAL | ConditionalOperator.IN_BETWEEN;
|
691
|
-
}>, z.ZodObject<
|
681
|
+
}>, z.ZodObject<{
|
692
682
|
id: z.ZodString;
|
693
683
|
target: z.ZodObject<{
|
694
684
|
fieldId: z.ZodString;
|
@@ -700,9 +690,7 @@ export declare const FilterSchema: z.ZodObject<{
|
|
700
690
|
type: DimensionType | MetricType;
|
701
691
|
fieldId: string;
|
702
692
|
}>;
|
703
|
-
|
704
|
-
values: z.ZodArray<z.ZodUnion<[z.ZodNull, z.ZodBoolean, z.ZodString, z.ZodNumber]>, "many">;
|
705
|
-
}, {
|
693
|
+
} & {
|
706
694
|
operator: z.ZodUnion<[z.ZodLiteral<ConditionalOperator.IN_THE_PAST>, z.ZodLiteral<ConditionalOperator.NOT_IN_THE_PAST>, z.ZodLiteral<ConditionalOperator.IN_THE_NEXT>, z.ZodLiteral<ConditionalOperator.IN_THE_CURRENT>, z.ZodLiteral<ConditionalOperator.NOT_IN_THE_CURRENT>]>;
|
707
695
|
values: z.ZodArray<z.ZodUnion<[z.ZodNull, z.ZodString]>, "many">;
|
708
696
|
settings: z.ZodObject<{
|
@@ -715,7 +703,7 @@ export declare const FilterSchema: z.ZodObject<{
|
|
715
703
|
completed: boolean;
|
716
704
|
unitOfTime: UnitOfTime;
|
717
705
|
}>;
|
718
|
-
}
|
706
|
+
}, "strip", z.ZodTypeAny, {
|
719
707
|
values: (string | null)[];
|
720
708
|
target: {
|
721
709
|
type: DimensionType | MetricType;
|
@@ -1012,7 +1000,7 @@ export declare const GenerateQueryFiltersToolSchema: z.ZodObject<{
|
|
1012
1000
|
};
|
1013
1001
|
id: string;
|
1014
1002
|
operator: ConditionalOperator.NULL | ConditionalOperator.NOT_NULL | ConditionalOperator.EQUALS | ConditionalOperator.NOT_EQUALS | ConditionalOperator.STARTS_WITH | ConditionalOperator.ENDS_WITH | ConditionalOperator.INCLUDE | ConditionalOperator.NOT_INCLUDE | ConditionalOperator.LESS_THAN | ConditionalOperator.LESS_THAN_OR_EQUAL | ConditionalOperator.GREATER_THAN | ConditionalOperator.GREATER_THAN_OR_EQUAL | ConditionalOperator.IN_BETWEEN;
|
1015
|
-
}>, z.ZodObject<
|
1003
|
+
}>, z.ZodObject<{
|
1016
1004
|
id: z.ZodString;
|
1017
1005
|
target: z.ZodObject<{
|
1018
1006
|
fieldId: z.ZodString;
|
@@ -1024,9 +1012,7 @@ export declare const GenerateQueryFiltersToolSchema: z.ZodObject<{
|
|
1024
1012
|
type: DimensionType | MetricType;
|
1025
1013
|
fieldId: string;
|
1026
1014
|
}>;
|
1027
|
-
|
1028
|
-
values: z.ZodArray<z.ZodUnion<[z.ZodNull, z.ZodBoolean, z.ZodString, z.ZodNumber]>, "many">;
|
1029
|
-
}, {
|
1015
|
+
} & {
|
1030
1016
|
operator: z.ZodUnion<[z.ZodLiteral<ConditionalOperator.IN_THE_PAST>, z.ZodLiteral<ConditionalOperator.NOT_IN_THE_PAST>, z.ZodLiteral<ConditionalOperator.IN_THE_NEXT>, z.ZodLiteral<ConditionalOperator.IN_THE_CURRENT>, z.ZodLiteral<ConditionalOperator.NOT_IN_THE_CURRENT>]>;
|
1031
1017
|
values: z.ZodArray<z.ZodUnion<[z.ZodNull, z.ZodString]>, "many">;
|
1032
1018
|
settings: z.ZodObject<{
|
@@ -1039,7 +1025,7 @@ export declare const GenerateQueryFiltersToolSchema: z.ZodObject<{
|
|
1039
1025
|
completed: boolean;
|
1040
1026
|
unitOfTime: UnitOfTime;
|
1041
1027
|
}>;
|
1042
|
-
}
|
1028
|
+
}, "strip", z.ZodTypeAny, {
|
1043
1029
|
values: (string | null)[];
|
1044
1030
|
target: {
|
1045
1031
|
type: DimensionType | MetricType;
|
@@ -1142,7 +1128,7 @@ export declare const GenerateQueryFiltersToolSchema: z.ZodObject<{
|
|
1142
1128
|
};
|
1143
1129
|
id: string;
|
1144
1130
|
operator: ConditionalOperator.NULL | ConditionalOperator.NOT_NULL | ConditionalOperator.EQUALS | ConditionalOperator.NOT_EQUALS | ConditionalOperator.STARTS_WITH | ConditionalOperator.ENDS_WITH | ConditionalOperator.INCLUDE | ConditionalOperator.NOT_INCLUDE | ConditionalOperator.LESS_THAN | ConditionalOperator.LESS_THAN_OR_EQUAL | ConditionalOperator.GREATER_THAN | ConditionalOperator.GREATER_THAN_OR_EQUAL | ConditionalOperator.IN_BETWEEN;
|
1145
|
-
}>, z.ZodObject<
|
1131
|
+
}>, z.ZodObject<{
|
1146
1132
|
id: z.ZodString;
|
1147
1133
|
target: z.ZodObject<{
|
1148
1134
|
fieldId: z.ZodString;
|
@@ -1154,9 +1140,7 @@ export declare const GenerateQueryFiltersToolSchema: z.ZodObject<{
|
|
1154
1140
|
type: DimensionType | MetricType;
|
1155
1141
|
fieldId: string;
|
1156
1142
|
}>;
|
1157
|
-
|
1158
|
-
values: z.ZodArray<z.ZodUnion<[z.ZodNull, z.ZodBoolean, z.ZodString, z.ZodNumber]>, "many">;
|
1159
|
-
}, {
|
1143
|
+
} & {
|
1160
1144
|
operator: z.ZodUnion<[z.ZodLiteral<ConditionalOperator.IN_THE_PAST>, z.ZodLiteral<ConditionalOperator.NOT_IN_THE_PAST>, z.ZodLiteral<ConditionalOperator.IN_THE_NEXT>, z.ZodLiteral<ConditionalOperator.IN_THE_CURRENT>, z.ZodLiteral<ConditionalOperator.NOT_IN_THE_CURRENT>]>;
|
1161
1145
|
values: z.ZodArray<z.ZodUnion<[z.ZodNull, z.ZodString]>, "many">;
|
1162
1146
|
settings: z.ZodObject<{
|
@@ -1169,7 +1153,7 @@ export declare const GenerateQueryFiltersToolSchema: z.ZodObject<{
|
|
1169
1153
|
completed: boolean;
|
1170
1154
|
unitOfTime: UnitOfTime;
|
1171
1155
|
}>;
|
1172
|
-
}
|
1156
|
+
}, "strip", z.ZodTypeAny, {
|
1173
1157
|
values: (string | null)[];
|
1174
1158
|
target: {
|
1175
1159
|
type: DimensionType | MetricType;
|
@@ -1387,7 +1371,7 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
|
|
1387
1371
|
};
|
1388
1372
|
id: string;
|
1389
1373
|
operator: ConditionalOperator.NULL | ConditionalOperator.NOT_NULL | ConditionalOperator.EQUALS | ConditionalOperator.NOT_EQUALS | ConditionalOperator.STARTS_WITH | ConditionalOperator.ENDS_WITH | ConditionalOperator.INCLUDE | ConditionalOperator.NOT_INCLUDE | ConditionalOperator.LESS_THAN | ConditionalOperator.LESS_THAN_OR_EQUAL | ConditionalOperator.GREATER_THAN | ConditionalOperator.GREATER_THAN_OR_EQUAL | ConditionalOperator.IN_BETWEEN;
|
1390
|
-
}>, z.ZodObject<
|
1374
|
+
}>, z.ZodObject<{
|
1391
1375
|
id: z.ZodString;
|
1392
1376
|
target: z.ZodObject<{
|
1393
1377
|
fieldId: z.ZodString;
|
@@ -1399,9 +1383,7 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
|
|
1399
1383
|
type: DimensionType | MetricType;
|
1400
1384
|
fieldId: string;
|
1401
1385
|
}>;
|
1402
|
-
|
1403
|
-
values: z.ZodArray<z.ZodUnion<[z.ZodNull, z.ZodBoolean, z.ZodString, z.ZodNumber]>, "many">;
|
1404
|
-
}, {
|
1386
|
+
} & {
|
1405
1387
|
operator: z.ZodUnion<[z.ZodLiteral<ConditionalOperator.IN_THE_PAST>, z.ZodLiteral<ConditionalOperator.NOT_IN_THE_PAST>, z.ZodLiteral<ConditionalOperator.IN_THE_NEXT>, z.ZodLiteral<ConditionalOperator.IN_THE_CURRENT>, z.ZodLiteral<ConditionalOperator.NOT_IN_THE_CURRENT>]>;
|
1406
1388
|
values: z.ZodArray<z.ZodUnion<[z.ZodNull, z.ZodString]>, "many">;
|
1407
1389
|
settings: z.ZodObject<{
|
@@ -1414,7 +1396,7 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
|
|
1414
1396
|
completed: boolean;
|
1415
1397
|
unitOfTime: UnitOfTime;
|
1416
1398
|
}>;
|
1417
|
-
}
|
1399
|
+
}, "strip", z.ZodTypeAny, {
|
1418
1400
|
values: (string | null)[];
|
1419
1401
|
target: {
|
1420
1402
|
type: DimensionType | MetricType;
|
@@ -1517,7 +1499,7 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
|
|
1517
1499
|
};
|
1518
1500
|
id: string;
|
1519
1501
|
operator: ConditionalOperator.NULL | ConditionalOperator.NOT_NULL | ConditionalOperator.EQUALS | ConditionalOperator.NOT_EQUALS | ConditionalOperator.STARTS_WITH | ConditionalOperator.ENDS_WITH | ConditionalOperator.INCLUDE | ConditionalOperator.NOT_INCLUDE | ConditionalOperator.LESS_THAN | ConditionalOperator.LESS_THAN_OR_EQUAL | ConditionalOperator.GREATER_THAN | ConditionalOperator.GREATER_THAN_OR_EQUAL | ConditionalOperator.IN_BETWEEN;
|
1520
|
-
}>, z.ZodObject<
|
1502
|
+
}>, z.ZodObject<{
|
1521
1503
|
id: z.ZodString;
|
1522
1504
|
target: z.ZodObject<{
|
1523
1505
|
fieldId: z.ZodString;
|
@@ -1529,9 +1511,7 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
|
|
1529
1511
|
type: DimensionType | MetricType;
|
1530
1512
|
fieldId: string;
|
1531
1513
|
}>;
|
1532
|
-
|
1533
|
-
values: z.ZodArray<z.ZodUnion<[z.ZodNull, z.ZodBoolean, z.ZodString, z.ZodNumber]>, "many">;
|
1534
|
-
}, {
|
1514
|
+
} & {
|
1535
1515
|
operator: z.ZodUnion<[z.ZodLiteral<ConditionalOperator.IN_THE_PAST>, z.ZodLiteral<ConditionalOperator.NOT_IN_THE_PAST>, z.ZodLiteral<ConditionalOperator.IN_THE_NEXT>, z.ZodLiteral<ConditionalOperator.IN_THE_CURRENT>, z.ZodLiteral<ConditionalOperator.NOT_IN_THE_CURRENT>]>;
|
1536
1516
|
values: z.ZodArray<z.ZodUnion<[z.ZodNull, z.ZodString]>, "many">;
|
1537
1517
|
settings: z.ZodObject<{
|
@@ -1544,7 +1524,7 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
|
|
1544
1524
|
completed: boolean;
|
1545
1525
|
unitOfTime: UnitOfTime;
|
1546
1526
|
}>;
|
1547
|
-
}
|
1527
|
+
}, "strip", z.ZodTypeAny, {
|
1548
1528
|
values: (string | null)[];
|
1549
1529
|
target: {
|
1550
1530
|
type: DimensionType | MetricType;
|
@@ -1648,7 +1628,7 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
|
|
1648
1628
|
};
|
1649
1629
|
id: string;
|
1650
1630
|
operator: ConditionalOperator.NULL | ConditionalOperator.NOT_NULL | ConditionalOperator.EQUALS | ConditionalOperator.NOT_EQUALS | ConditionalOperator.STARTS_WITH | ConditionalOperator.ENDS_WITH | ConditionalOperator.INCLUDE | ConditionalOperator.NOT_INCLUDE | ConditionalOperator.LESS_THAN | ConditionalOperator.LESS_THAN_OR_EQUAL | ConditionalOperator.GREATER_THAN | ConditionalOperator.GREATER_THAN_OR_EQUAL | ConditionalOperator.IN_BETWEEN;
|
1651
|
-
}>, z.ZodObject<
|
1631
|
+
}>, z.ZodObject<{
|
1652
1632
|
id: z.ZodString;
|
1653
1633
|
target: z.ZodObject<{
|
1654
1634
|
fieldId: z.ZodString;
|
@@ -1660,9 +1640,7 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
|
|
1660
1640
|
type: DimensionType | MetricType;
|
1661
1641
|
fieldId: string;
|
1662
1642
|
}>;
|
1663
|
-
|
1664
|
-
values: z.ZodArray<z.ZodUnion<[z.ZodNull, z.ZodBoolean, z.ZodString, z.ZodNumber]>, "many">;
|
1665
|
-
}, {
|
1643
|
+
} & {
|
1666
1644
|
operator: z.ZodUnion<[z.ZodLiteral<ConditionalOperator.IN_THE_PAST>, z.ZodLiteral<ConditionalOperator.NOT_IN_THE_PAST>, z.ZodLiteral<ConditionalOperator.IN_THE_NEXT>, z.ZodLiteral<ConditionalOperator.IN_THE_CURRENT>, z.ZodLiteral<ConditionalOperator.NOT_IN_THE_CURRENT>]>;
|
1667
1645
|
values: z.ZodArray<z.ZodUnion<[z.ZodNull, z.ZodString]>, "many">;
|
1668
1646
|
settings: z.ZodObject<{
|
@@ -1675,7 +1653,7 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
|
|
1675
1653
|
completed: boolean;
|
1676
1654
|
unitOfTime: UnitOfTime;
|
1677
1655
|
}>;
|
1678
|
-
}
|
1656
|
+
}, "strip", z.ZodTypeAny, {
|
1679
1657
|
values: (string | null)[];
|
1680
1658
|
target: {
|
1681
1659
|
type: DimensionType | MetricType;
|
@@ -1778,7 +1756,7 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
|
|
1778
1756
|
};
|
1779
1757
|
id: string;
|
1780
1758
|
operator: ConditionalOperator.NULL | ConditionalOperator.NOT_NULL | ConditionalOperator.EQUALS | ConditionalOperator.NOT_EQUALS | ConditionalOperator.STARTS_WITH | ConditionalOperator.ENDS_WITH | ConditionalOperator.INCLUDE | ConditionalOperator.NOT_INCLUDE | ConditionalOperator.LESS_THAN | ConditionalOperator.LESS_THAN_OR_EQUAL | ConditionalOperator.GREATER_THAN | ConditionalOperator.GREATER_THAN_OR_EQUAL | ConditionalOperator.IN_BETWEEN;
|
1781
|
-
}>, z.ZodObject<
|
1759
|
+
}>, z.ZodObject<{
|
1782
1760
|
id: z.ZodString;
|
1783
1761
|
target: z.ZodObject<{
|
1784
1762
|
fieldId: z.ZodString;
|
@@ -1790,9 +1768,7 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
|
|
1790
1768
|
type: DimensionType | MetricType;
|
1791
1769
|
fieldId: string;
|
1792
1770
|
}>;
|
1793
|
-
|
1794
|
-
values: z.ZodArray<z.ZodUnion<[z.ZodNull, z.ZodBoolean, z.ZodString, z.ZodNumber]>, "many">;
|
1795
|
-
}, {
|
1771
|
+
} & {
|
1796
1772
|
operator: z.ZodUnion<[z.ZodLiteral<ConditionalOperator.IN_THE_PAST>, z.ZodLiteral<ConditionalOperator.NOT_IN_THE_PAST>, z.ZodLiteral<ConditionalOperator.IN_THE_NEXT>, z.ZodLiteral<ConditionalOperator.IN_THE_CURRENT>, z.ZodLiteral<ConditionalOperator.NOT_IN_THE_CURRENT>]>;
|
1797
1773
|
values: z.ZodArray<z.ZodUnion<[z.ZodNull, z.ZodString]>, "many">;
|
1798
1774
|
settings: z.ZodObject<{
|
@@ -1805,7 +1781,7 @@ export declare const lighterMetricQuerySchema: z.ZodObject<{
|
|
1805
1781
|
completed: boolean;
|
1806
1782
|
unitOfTime: UnitOfTime;
|
1807
1783
|
}>;
|
1808
|
-
}
|
1784
|
+
}, "strip", z.ZodTypeAny, {
|
1809
1785
|
values: (string | null)[];
|
1810
1786
|
target: {
|
1811
1787
|
type: DimensionType | MetricType;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../../../src/ee/Ai/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAClE,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAKhD,eAAO,MAAM,aAAa,aAOrB,CAAC;AAoIN,eAAO,MAAM,iBAAiB
|
1
|
+
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../../../src/ee/Ai/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAClE,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC9D,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAsDnC,CAAC;AAEH,eAAO,MAAM,mCAAmC;;;;;;EAI9C,CAAC;AAEH,eAAO,MAAM,eAAe;;;;;;EAE1B,CAAC;AAEH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;EAYjC,CAAC"}
|
@@ -91,14 +91,6 @@ export type AiAgentThreadGenerateJobPayload = TraceTaskBase & {
|
|
91
91
|
threadUuid: string;
|
92
92
|
promptUuid: string;
|
93
93
|
};
|
94
|
-
export declare enum AiChatAgents {
|
95
|
-
HUMAN = "human",
|
96
|
-
AI = "ai"
|
97
|
-
}
|
98
|
-
export type AiChatMessage = {
|
99
|
-
agent: AiChatAgents;
|
100
|
-
message: string;
|
101
|
-
};
|
102
94
|
export type AiConversation = {
|
103
95
|
threadUuid: string;
|
104
96
|
createdAt: string | Date;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/ee/Ai/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,uBAAuB,CA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uC,CAAC"}
|
package/dist/cjs/ee/Ai/types.js
CHANGED
@@ -1,13 +1,8 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.isAiConversationMessageComplete = exports.
|
3
|
+
exports.isAiConversationMessageComplete = exports.isSlackPrompt = void 0;
|
4
4
|
const isSlackPrompt = (prompt) => 'slackUserId' in prompt;
|
5
5
|
exports.isSlackPrompt = isSlackPrompt;
|
6
|
-
var AiChatAgents;
|
7
|
-
(function (AiChatAgents) {
|
8
|
-
AiChatAgents["HUMAN"] = "human";
|
9
|
-
AiChatAgents["AI"] = "ai";
|
10
|
-
})(AiChatAgents || (exports.AiChatAgents = AiChatAgents = {}));
|
11
6
|
const isAiConversationMessageComplete = (message) => 'response' in message && 'respondedAt' in message;
|
12
7
|
exports.isAiConversationMessageComplete = isAiConversationMessageComplete;
|
13
8
|
//# sourceMappingURL=types.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/ee/Ai/types.ts"],"names":[],"mappings":";;;AA0DO,MAAM,aAAa,GAAG,CAAC,MAAgB,EAAyB,EAAE,CACrE,aAAa,IAAI,MAAM,CAAC;AADf,QAAA,aAAa,iBACE;
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/ee/Ai/types.ts"],"names":[],"mappings":";;;AA0DO,MAAM,aAAa,GAAG,CAAC,MAAgB,EAAyB,EAAE,CACrE,aAAa,IAAI,MAAM,CAAC;AADf,QAAA,aAAa,iBACE;AAsGrB,MAAM,+BAA+B,GAAG,CAC3C,OAA8B,EACG,EAAE,CACnC,UAAU,IAAI,OAAO,IAAI,aAAa,IAAI,OAAO,CAAC;AAHzC,QAAA,+BAA+B,mCAGU"}
|
@@ -83,12 +83,12 @@ export declare const EmbedJwtSchema: z.ZodObject<{
|
|
83
83
|
email?: string | undefined;
|
84
84
|
externalId?: string | undefined;
|
85
85
|
}>>;
|
86
|
-
content: z.ZodUnion<[z.ZodObject<
|
86
|
+
content: z.ZodUnion<[z.ZodObject<{
|
87
87
|
type: z.ZodLiteral<"dashboard">;
|
88
88
|
projectUuid: z.ZodOptional<z.ZodString>;
|
89
89
|
dashboardUuid: z.ZodString;
|
90
90
|
isPreview: z.ZodOptional<z.ZodBoolean>;
|
91
|
-
}
|
91
|
+
} & {
|
92
92
|
dashboardFiltersInteractivity: z.ZodOptional<z.ZodObject<{
|
93
93
|
enabled: z.ZodUnion<[z.ZodBoolean, z.ZodEnum<[FilterInteractivityValues.some, FilterInteractivityValues.all, FilterInteractivityValues.none]>]>;
|
94
94
|
allowedFilters: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
@@ -103,7 +103,7 @@ export declare const EmbedJwtSchema: z.ZodObject<{
|
|
103
103
|
canExportImages: z.ZodOptional<z.ZodBoolean>;
|
104
104
|
canExportPagePdf: z.ZodOptional<z.ZodBoolean>;
|
105
105
|
canDateZoom: z.ZodOptional<z.ZodBoolean>;
|
106
|
-
}
|
106
|
+
}, "strip", z.ZodTypeAny, {
|
107
107
|
type: "dashboard";
|
108
108
|
dashboardUuid: string;
|
109
109
|
projectUuid?: string | undefined;
|
@@ -129,12 +129,12 @@ export declare const EmbedJwtSchema: z.ZodObject<{
|
|
129
129
|
canExportPagePdf?: boolean | undefined;
|
130
130
|
canDateZoom?: boolean | undefined;
|
131
131
|
isPreview?: boolean | undefined;
|
132
|
-
}>, z.ZodObject<
|
132
|
+
}>, z.ZodObject<{
|
133
133
|
type: z.ZodLiteral<"dashboard">;
|
134
134
|
projectUuid: z.ZodOptional<z.ZodString>;
|
135
135
|
dashboardSlug: z.ZodString;
|
136
136
|
isPreview: z.ZodOptional<z.ZodBoolean>;
|
137
|
-
}
|
137
|
+
} & {
|
138
138
|
dashboardFiltersInteractivity: z.ZodOptional<z.ZodObject<{
|
139
139
|
enabled: z.ZodUnion<[z.ZodBoolean, z.ZodEnum<[FilterInteractivityValues.some, FilterInteractivityValues.all, FilterInteractivityValues.none]>]>;
|
140
140
|
allowedFilters: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
@@ -149,7 +149,7 @@ export declare const EmbedJwtSchema: z.ZodObject<{
|
|
149
149
|
canExportImages: z.ZodOptional<z.ZodBoolean>;
|
150
150
|
canExportPagePdf: z.ZodOptional<z.ZodBoolean>;
|
151
151
|
canDateZoom: z.ZodOptional<z.ZodBoolean>;
|
152
|
-
}
|
152
|
+
}, "strip", z.ZodTypeAny, {
|
153
153
|
type: "dashboard";
|
154
154
|
dashboardSlug: string;
|
155
155
|
projectUuid?: string | undefined;
|