@narrative.io/data-collaboration-sdk-ts 2.0.5 → 2.2.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/build/data-planes/types.d.ts +1 -1
- package/build/jobs/types.d.ts +1 -0
- package/build/nql/types.d.ts +78 -294
- package/build/rosetta/types.d.ts +86 -86
- package/package.json +8 -8
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export type DataPlaneType = "owned" | "shared";
|
|
2
2
|
export type DataPlaneStatus = "active" | "inactive";
|
|
3
|
-
export type DataPlanePlatformType = "platform_snowflake" | "platform_aws";
|
|
3
|
+
export type DataPlanePlatformType = "platform_snowflake" | "platform_aws" | "platform_shared_aws";
|
|
4
4
|
export type DataPlaneRegionType = "region_aws";
|
|
5
5
|
export interface DataPlanePlatformRegion {
|
|
6
6
|
type: DataPlaneRegionType;
|
package/build/jobs/types.d.ts
CHANGED
package/build/nql/types.d.ts
CHANGED
|
@@ -220,60 +220,36 @@ export declare const NqlFilterBinaryExpressionObj: z.ZodObject<{
|
|
|
220
220
|
};
|
|
221
221
|
}>, z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
222
222
|
}, "strip", z.ZodTypeAny, {
|
|
223
|
-
left:
|
|
223
|
+
left: string | number | boolean | {
|
|
224
224
|
field: string;
|
|
225
225
|
table: {
|
|
226
226
|
database: string;
|
|
227
227
|
table: string;
|
|
228
228
|
};
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
table: {
|
|
232
|
-
database: string;
|
|
233
|
-
table: string;
|
|
234
|
-
};
|
|
235
|
-
} | undefined);
|
|
236
|
-
right: (string | number | boolean | {
|
|
237
|
-
field: string;
|
|
238
|
-
table: {
|
|
239
|
-
database: string;
|
|
240
|
-
table: string;
|
|
241
|
-
};
|
|
242
|
-
}) & (string | number | boolean | {
|
|
229
|
+
};
|
|
230
|
+
right: string | number | boolean | {
|
|
243
231
|
field: string;
|
|
244
232
|
table: {
|
|
245
233
|
database: string;
|
|
246
234
|
table: string;
|
|
247
235
|
};
|
|
248
|
-
}
|
|
236
|
+
};
|
|
249
237
|
operator: ">" | "<" | ">=" | "<=" | "=" | "!=" | "IN" | "NOT IN" | "LIKE" | "NOT LIKE";
|
|
250
238
|
}, {
|
|
251
|
-
left:
|
|
239
|
+
left: string | number | boolean | {
|
|
252
240
|
field: string;
|
|
253
241
|
table: {
|
|
254
242
|
database: string;
|
|
255
243
|
table: string;
|
|
256
244
|
};
|
|
257
|
-
}
|
|
258
|
-
|
|
259
|
-
table: {
|
|
260
|
-
database: string;
|
|
261
|
-
table: string;
|
|
262
|
-
};
|
|
263
|
-
} | undefined);
|
|
264
|
-
right: (string | number | boolean | {
|
|
265
|
-
field: string;
|
|
266
|
-
table: {
|
|
267
|
-
database: string;
|
|
268
|
-
table: string;
|
|
269
|
-
};
|
|
270
|
-
}) & (string | number | boolean | {
|
|
245
|
+
};
|
|
246
|
+
right: string | number | boolean | {
|
|
271
247
|
field: string;
|
|
272
248
|
table: {
|
|
273
249
|
database: string;
|
|
274
250
|
table: string;
|
|
275
251
|
};
|
|
276
|
-
}
|
|
252
|
+
};
|
|
277
253
|
operator: ">" | "<" | ">=" | "<=" | "=" | "!=" | "IN" | "NOT IN" | "LIKE" | "NOT LIKE";
|
|
278
254
|
}>;
|
|
279
255
|
export declare const NqlFilterExpressionObj: z.ZodUnion<[z.ZodObject<{
|
|
@@ -374,60 +350,36 @@ export declare const NqlFilterExpressionObj: z.ZodUnion<[z.ZodObject<{
|
|
|
374
350
|
};
|
|
375
351
|
}>, z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
376
352
|
}, "strip", z.ZodTypeAny, {
|
|
377
|
-
left:
|
|
378
|
-
field: string;
|
|
379
|
-
table: {
|
|
380
|
-
database: string;
|
|
381
|
-
table: string;
|
|
382
|
-
};
|
|
383
|
-
}) & (string | number | boolean | {
|
|
353
|
+
left: string | number | boolean | {
|
|
384
354
|
field: string;
|
|
385
355
|
table: {
|
|
386
356
|
database: string;
|
|
387
357
|
table: string;
|
|
388
358
|
};
|
|
389
|
-
}
|
|
390
|
-
right:
|
|
391
|
-
field: string;
|
|
392
|
-
table: {
|
|
393
|
-
database: string;
|
|
394
|
-
table: string;
|
|
395
|
-
};
|
|
396
|
-
}) & (string | number | boolean | {
|
|
359
|
+
};
|
|
360
|
+
right: string | number | boolean | {
|
|
397
361
|
field: string;
|
|
398
362
|
table: {
|
|
399
363
|
database: string;
|
|
400
364
|
table: string;
|
|
401
365
|
};
|
|
402
|
-
}
|
|
366
|
+
};
|
|
403
367
|
operator: ">" | "<" | ">=" | "<=" | "=" | "!=" | "IN" | "NOT IN" | "LIKE" | "NOT LIKE";
|
|
404
368
|
}, {
|
|
405
|
-
left:
|
|
406
|
-
field: string;
|
|
407
|
-
table: {
|
|
408
|
-
database: string;
|
|
409
|
-
table: string;
|
|
410
|
-
};
|
|
411
|
-
}) & (string | number | boolean | {
|
|
412
|
-
field: string;
|
|
413
|
-
table: {
|
|
414
|
-
database: string;
|
|
415
|
-
table: string;
|
|
416
|
-
};
|
|
417
|
-
} | undefined);
|
|
418
|
-
right: (string | number | boolean | {
|
|
369
|
+
left: string | number | boolean | {
|
|
419
370
|
field: string;
|
|
420
371
|
table: {
|
|
421
372
|
database: string;
|
|
422
373
|
table: string;
|
|
423
374
|
};
|
|
424
|
-
}
|
|
375
|
+
};
|
|
376
|
+
right: string | number | boolean | {
|
|
425
377
|
field: string;
|
|
426
378
|
table: {
|
|
427
379
|
database: string;
|
|
428
380
|
table: string;
|
|
429
381
|
};
|
|
430
|
-
}
|
|
382
|
+
};
|
|
431
383
|
operator: ">" | "<" | ">=" | "<=" | "=" | "!=" | "IN" | "NOT IN" | "LIKE" | "NOT LIKE";
|
|
432
384
|
}>]>;
|
|
433
385
|
export type NqlFilterExpression = z.infer<typeof NqlFilterExpressionObj>;
|
|
@@ -533,60 +485,36 @@ export declare const NqlWhereObj: z.ZodEffects<z.ZodObject<{
|
|
|
533
485
|
};
|
|
534
486
|
}>, z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
535
487
|
}, "strip", z.ZodTypeAny, {
|
|
536
|
-
left:
|
|
537
|
-
field: string;
|
|
538
|
-
table: {
|
|
539
|
-
database: string;
|
|
540
|
-
table: string;
|
|
541
|
-
};
|
|
542
|
-
}) & (string | number | boolean | {
|
|
543
|
-
field: string;
|
|
544
|
-
table: {
|
|
545
|
-
database: string;
|
|
546
|
-
table: string;
|
|
547
|
-
};
|
|
548
|
-
} | undefined);
|
|
549
|
-
right: (string | number | boolean | {
|
|
488
|
+
left: string | number | boolean | {
|
|
550
489
|
field: string;
|
|
551
490
|
table: {
|
|
552
491
|
database: string;
|
|
553
492
|
table: string;
|
|
554
493
|
};
|
|
555
|
-
}
|
|
494
|
+
};
|
|
495
|
+
right: string | number | boolean | {
|
|
556
496
|
field: string;
|
|
557
497
|
table: {
|
|
558
498
|
database: string;
|
|
559
499
|
table: string;
|
|
560
500
|
};
|
|
561
|
-
}
|
|
501
|
+
};
|
|
562
502
|
operator: ">" | "<" | ">=" | "<=" | "=" | "!=" | "IN" | "NOT IN" | "LIKE" | "NOT LIKE";
|
|
563
503
|
}, {
|
|
564
|
-
left:
|
|
565
|
-
field: string;
|
|
566
|
-
table: {
|
|
567
|
-
database: string;
|
|
568
|
-
table: string;
|
|
569
|
-
};
|
|
570
|
-
}) & (string | number | boolean | {
|
|
504
|
+
left: string | number | boolean | {
|
|
571
505
|
field: string;
|
|
572
506
|
table: {
|
|
573
507
|
database: string;
|
|
574
508
|
table: string;
|
|
575
509
|
};
|
|
576
|
-
}
|
|
577
|
-
right:
|
|
578
|
-
field: string;
|
|
579
|
-
table: {
|
|
580
|
-
database: string;
|
|
581
|
-
table: string;
|
|
582
|
-
};
|
|
583
|
-
}) & (string | number | boolean | {
|
|
510
|
+
};
|
|
511
|
+
right: string | number | boolean | {
|
|
584
512
|
field: string;
|
|
585
513
|
table: {
|
|
586
514
|
database: string;
|
|
587
515
|
table: string;
|
|
588
516
|
};
|
|
589
|
-
}
|
|
517
|
+
};
|
|
590
518
|
operator: ">" | "<" | ">=" | "<=" | "=" | "!=" | "IN" | "NOT IN" | "LIKE" | "NOT LIKE";
|
|
591
519
|
}>]>, "many">;
|
|
592
520
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -601,32 +529,20 @@ export declare const NqlWhereObj: z.ZodEffects<z.ZodObject<{
|
|
|
601
529
|
};
|
|
602
530
|
operator: "IS NULL" | "IS NOT NULL";
|
|
603
531
|
} | {
|
|
604
|
-
left:
|
|
532
|
+
left: string | number | boolean | {
|
|
605
533
|
field: string;
|
|
606
534
|
table: {
|
|
607
535
|
database: string;
|
|
608
536
|
table: string;
|
|
609
537
|
};
|
|
610
|
-
}
|
|
611
|
-
|
|
612
|
-
table: {
|
|
613
|
-
database: string;
|
|
614
|
-
table: string;
|
|
615
|
-
};
|
|
616
|
-
} | undefined);
|
|
617
|
-
right: (string | number | boolean | {
|
|
618
|
-
field: string;
|
|
619
|
-
table: {
|
|
620
|
-
database: string;
|
|
621
|
-
table: string;
|
|
622
|
-
};
|
|
623
|
-
}) & (string | number | boolean | {
|
|
538
|
+
};
|
|
539
|
+
right: string | number | boolean | {
|
|
624
540
|
field: string;
|
|
625
541
|
table: {
|
|
626
542
|
database: string;
|
|
627
543
|
table: string;
|
|
628
544
|
};
|
|
629
|
-
}
|
|
545
|
+
};
|
|
630
546
|
operator: ">" | "<" | ">=" | "<=" | "=" | "!=" | "IN" | "NOT IN" | "LIKE" | "NOT LIKE";
|
|
631
547
|
})[];
|
|
632
548
|
}, {
|
|
@@ -641,32 +557,20 @@ export declare const NqlWhereObj: z.ZodEffects<z.ZodObject<{
|
|
|
641
557
|
};
|
|
642
558
|
operator: "IS NULL" | "IS NOT NULL";
|
|
643
559
|
} | {
|
|
644
|
-
left:
|
|
560
|
+
left: string | number | boolean | {
|
|
645
561
|
field: string;
|
|
646
562
|
table: {
|
|
647
563
|
database: string;
|
|
648
564
|
table: string;
|
|
649
565
|
};
|
|
650
|
-
}
|
|
651
|
-
|
|
652
|
-
table: {
|
|
653
|
-
database: string;
|
|
654
|
-
table: string;
|
|
655
|
-
};
|
|
656
|
-
} | undefined);
|
|
657
|
-
right: (string | number | boolean | {
|
|
658
|
-
field: string;
|
|
659
|
-
table: {
|
|
660
|
-
database: string;
|
|
661
|
-
table: string;
|
|
662
|
-
};
|
|
663
|
-
}) & (string | number | boolean | {
|
|
566
|
+
};
|
|
567
|
+
right: string | number | boolean | {
|
|
664
568
|
field: string;
|
|
665
569
|
table: {
|
|
666
570
|
database: string;
|
|
667
571
|
table: string;
|
|
668
572
|
};
|
|
669
|
-
}
|
|
573
|
+
};
|
|
670
574
|
operator: ">" | "<" | ">=" | "<=" | "=" | "!=" | "IN" | "NOT IN" | "LIKE" | "NOT LIKE";
|
|
671
575
|
})[];
|
|
672
576
|
}>, {
|
|
@@ -681,32 +585,20 @@ export declare const NqlWhereObj: z.ZodEffects<z.ZodObject<{
|
|
|
681
585
|
};
|
|
682
586
|
operator: "IS NULL" | "IS NOT NULL";
|
|
683
587
|
} | {
|
|
684
|
-
left:
|
|
685
|
-
field: string;
|
|
686
|
-
table: {
|
|
687
|
-
database: string;
|
|
688
|
-
table: string;
|
|
689
|
-
};
|
|
690
|
-
}) & (string | number | boolean | {
|
|
588
|
+
left: string | number | boolean | {
|
|
691
589
|
field: string;
|
|
692
590
|
table: {
|
|
693
591
|
database: string;
|
|
694
592
|
table: string;
|
|
695
593
|
};
|
|
696
|
-
}
|
|
697
|
-
right:
|
|
698
|
-
field: string;
|
|
699
|
-
table: {
|
|
700
|
-
database: string;
|
|
701
|
-
table: string;
|
|
702
|
-
};
|
|
703
|
-
}) & (string | number | boolean | {
|
|
594
|
+
};
|
|
595
|
+
right: string | number | boolean | {
|
|
704
596
|
field: string;
|
|
705
597
|
table: {
|
|
706
598
|
database: string;
|
|
707
599
|
table: string;
|
|
708
600
|
};
|
|
709
|
-
}
|
|
601
|
+
};
|
|
710
602
|
operator: ">" | "<" | ">=" | "<=" | "=" | "!=" | "IN" | "NOT IN" | "LIKE" | "NOT LIKE";
|
|
711
603
|
})[];
|
|
712
604
|
}, {
|
|
@@ -721,32 +613,20 @@ export declare const NqlWhereObj: z.ZodEffects<z.ZodObject<{
|
|
|
721
613
|
};
|
|
722
614
|
operator: "IS NULL" | "IS NOT NULL";
|
|
723
615
|
} | {
|
|
724
|
-
left:
|
|
725
|
-
field: string;
|
|
726
|
-
table: {
|
|
727
|
-
database: string;
|
|
728
|
-
table: string;
|
|
729
|
-
};
|
|
730
|
-
}) & (string | number | boolean | {
|
|
731
|
-
field: string;
|
|
732
|
-
table: {
|
|
733
|
-
database: string;
|
|
734
|
-
table: string;
|
|
735
|
-
};
|
|
736
|
-
} | undefined);
|
|
737
|
-
right: (string | number | boolean | {
|
|
616
|
+
left: string | number | boolean | {
|
|
738
617
|
field: string;
|
|
739
618
|
table: {
|
|
740
619
|
database: string;
|
|
741
620
|
table: string;
|
|
742
621
|
};
|
|
743
|
-
}
|
|
622
|
+
};
|
|
623
|
+
right: string | number | boolean | {
|
|
744
624
|
field: string;
|
|
745
625
|
table: {
|
|
746
626
|
database: string;
|
|
747
627
|
table: string;
|
|
748
628
|
};
|
|
749
|
-
}
|
|
629
|
+
};
|
|
750
630
|
operator: ">" | "<" | ">=" | "<=" | "=" | "!=" | "IN" | "NOT IN" | "LIKE" | "NOT LIKE";
|
|
751
631
|
})[];
|
|
752
632
|
}>;
|
|
@@ -889,60 +769,36 @@ export declare const NqlObj: z.ZodObject<{
|
|
|
889
769
|
};
|
|
890
770
|
}>, z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
891
771
|
}, "strip", z.ZodTypeAny, {
|
|
892
|
-
left:
|
|
772
|
+
left: string | number | boolean | {
|
|
893
773
|
field: string;
|
|
894
774
|
table: {
|
|
895
775
|
database: string;
|
|
896
776
|
table: string;
|
|
897
777
|
};
|
|
898
|
-
}
|
|
899
|
-
|
|
900
|
-
table: {
|
|
901
|
-
database: string;
|
|
902
|
-
table: string;
|
|
903
|
-
};
|
|
904
|
-
} | undefined);
|
|
905
|
-
right: (string | number | boolean | {
|
|
906
|
-
field: string;
|
|
907
|
-
table: {
|
|
908
|
-
database: string;
|
|
909
|
-
table: string;
|
|
910
|
-
};
|
|
911
|
-
}) & (string | number | boolean | {
|
|
778
|
+
};
|
|
779
|
+
right: string | number | boolean | {
|
|
912
780
|
field: string;
|
|
913
781
|
table: {
|
|
914
782
|
database: string;
|
|
915
783
|
table: string;
|
|
916
784
|
};
|
|
917
|
-
}
|
|
785
|
+
};
|
|
918
786
|
operator: ">" | "<" | ">=" | "<=" | "=" | "!=" | "IN" | "NOT IN" | "LIKE" | "NOT LIKE";
|
|
919
787
|
}, {
|
|
920
|
-
left:
|
|
921
|
-
field: string;
|
|
922
|
-
table: {
|
|
923
|
-
database: string;
|
|
924
|
-
table: string;
|
|
925
|
-
};
|
|
926
|
-
}) & (string | number | boolean | {
|
|
788
|
+
left: string | number | boolean | {
|
|
927
789
|
field: string;
|
|
928
790
|
table: {
|
|
929
791
|
database: string;
|
|
930
792
|
table: string;
|
|
931
793
|
};
|
|
932
|
-
}
|
|
933
|
-
right:
|
|
934
|
-
field: string;
|
|
935
|
-
table: {
|
|
936
|
-
database: string;
|
|
937
|
-
table: string;
|
|
938
|
-
};
|
|
939
|
-
}) & (string | number | boolean | {
|
|
794
|
+
};
|
|
795
|
+
right: string | number | boolean | {
|
|
940
796
|
field: string;
|
|
941
797
|
table: {
|
|
942
798
|
database: string;
|
|
943
799
|
table: string;
|
|
944
800
|
};
|
|
945
|
-
}
|
|
801
|
+
};
|
|
946
802
|
operator: ">" | "<" | ">=" | "<=" | "=" | "!=" | "IN" | "NOT IN" | "LIKE" | "NOT LIKE";
|
|
947
803
|
}>]>, "many">;
|
|
948
804
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -957,32 +813,20 @@ export declare const NqlObj: z.ZodObject<{
|
|
|
957
813
|
};
|
|
958
814
|
operator: "IS NULL" | "IS NOT NULL";
|
|
959
815
|
} | {
|
|
960
|
-
left:
|
|
961
|
-
field: string;
|
|
962
|
-
table: {
|
|
963
|
-
database: string;
|
|
964
|
-
table: string;
|
|
965
|
-
};
|
|
966
|
-
}) & (string | number | boolean | {
|
|
967
|
-
field: string;
|
|
968
|
-
table: {
|
|
969
|
-
database: string;
|
|
970
|
-
table: string;
|
|
971
|
-
};
|
|
972
|
-
} | undefined);
|
|
973
|
-
right: (string | number | boolean | {
|
|
816
|
+
left: string | number | boolean | {
|
|
974
817
|
field: string;
|
|
975
818
|
table: {
|
|
976
819
|
database: string;
|
|
977
820
|
table: string;
|
|
978
821
|
};
|
|
979
|
-
}
|
|
822
|
+
};
|
|
823
|
+
right: string | number | boolean | {
|
|
980
824
|
field: string;
|
|
981
825
|
table: {
|
|
982
826
|
database: string;
|
|
983
827
|
table: string;
|
|
984
828
|
};
|
|
985
|
-
}
|
|
829
|
+
};
|
|
986
830
|
operator: ">" | "<" | ">=" | "<=" | "=" | "!=" | "IN" | "NOT IN" | "LIKE" | "NOT LIKE";
|
|
987
831
|
})[];
|
|
988
832
|
}, {
|
|
@@ -997,32 +841,20 @@ export declare const NqlObj: z.ZodObject<{
|
|
|
997
841
|
};
|
|
998
842
|
operator: "IS NULL" | "IS NOT NULL";
|
|
999
843
|
} | {
|
|
1000
|
-
left:
|
|
1001
|
-
field: string;
|
|
1002
|
-
table: {
|
|
1003
|
-
database: string;
|
|
1004
|
-
table: string;
|
|
1005
|
-
};
|
|
1006
|
-
}) & (string | number | boolean | {
|
|
1007
|
-
field: string;
|
|
1008
|
-
table: {
|
|
1009
|
-
database: string;
|
|
1010
|
-
table: string;
|
|
1011
|
-
};
|
|
1012
|
-
} | undefined);
|
|
1013
|
-
right: (string | number | boolean | {
|
|
844
|
+
left: string | number | boolean | {
|
|
1014
845
|
field: string;
|
|
1015
846
|
table: {
|
|
1016
847
|
database: string;
|
|
1017
848
|
table: string;
|
|
1018
849
|
};
|
|
1019
|
-
}
|
|
850
|
+
};
|
|
851
|
+
right: string | number | boolean | {
|
|
1020
852
|
field: string;
|
|
1021
853
|
table: {
|
|
1022
854
|
database: string;
|
|
1023
855
|
table: string;
|
|
1024
856
|
};
|
|
1025
|
-
}
|
|
857
|
+
};
|
|
1026
858
|
operator: ">" | "<" | ">=" | "<=" | "=" | "!=" | "IN" | "NOT IN" | "LIKE" | "NOT LIKE";
|
|
1027
859
|
})[];
|
|
1028
860
|
}>, {
|
|
@@ -1037,32 +869,20 @@ export declare const NqlObj: z.ZodObject<{
|
|
|
1037
869
|
};
|
|
1038
870
|
operator: "IS NULL" | "IS NOT NULL";
|
|
1039
871
|
} | {
|
|
1040
|
-
left:
|
|
1041
|
-
field: string;
|
|
1042
|
-
table: {
|
|
1043
|
-
database: string;
|
|
1044
|
-
table: string;
|
|
1045
|
-
};
|
|
1046
|
-
}) & (string | number | boolean | {
|
|
1047
|
-
field: string;
|
|
1048
|
-
table: {
|
|
1049
|
-
database: string;
|
|
1050
|
-
table: string;
|
|
1051
|
-
};
|
|
1052
|
-
} | undefined);
|
|
1053
|
-
right: (string | number | boolean | {
|
|
872
|
+
left: string | number | boolean | {
|
|
1054
873
|
field: string;
|
|
1055
874
|
table: {
|
|
1056
875
|
database: string;
|
|
1057
876
|
table: string;
|
|
1058
877
|
};
|
|
1059
|
-
}
|
|
878
|
+
};
|
|
879
|
+
right: string | number | boolean | {
|
|
1060
880
|
field: string;
|
|
1061
881
|
table: {
|
|
1062
882
|
database: string;
|
|
1063
883
|
table: string;
|
|
1064
884
|
};
|
|
1065
|
-
}
|
|
885
|
+
};
|
|
1066
886
|
operator: ">" | "<" | ">=" | "<=" | "=" | "!=" | "IN" | "NOT IN" | "LIKE" | "NOT LIKE";
|
|
1067
887
|
})[];
|
|
1068
888
|
}, {
|
|
@@ -1077,32 +897,20 @@ export declare const NqlObj: z.ZodObject<{
|
|
|
1077
897
|
};
|
|
1078
898
|
operator: "IS NULL" | "IS NOT NULL";
|
|
1079
899
|
} | {
|
|
1080
|
-
left:
|
|
900
|
+
left: string | number | boolean | {
|
|
1081
901
|
field: string;
|
|
1082
902
|
table: {
|
|
1083
903
|
database: string;
|
|
1084
904
|
table: string;
|
|
1085
905
|
};
|
|
1086
|
-
}
|
|
1087
|
-
|
|
1088
|
-
table: {
|
|
1089
|
-
database: string;
|
|
1090
|
-
table: string;
|
|
1091
|
-
};
|
|
1092
|
-
} | undefined);
|
|
1093
|
-
right: (string | number | boolean | {
|
|
1094
|
-
field: string;
|
|
1095
|
-
table: {
|
|
1096
|
-
database: string;
|
|
1097
|
-
table: string;
|
|
1098
|
-
};
|
|
1099
|
-
}) & (string | number | boolean | {
|
|
906
|
+
};
|
|
907
|
+
right: string | number | boolean | {
|
|
1100
908
|
field: string;
|
|
1101
909
|
table: {
|
|
1102
910
|
database: string;
|
|
1103
911
|
table: string;
|
|
1104
912
|
};
|
|
1105
|
-
}
|
|
913
|
+
};
|
|
1106
914
|
operator: ">" | "<" | ">=" | "<=" | "=" | "!=" | "IN" | "NOT IN" | "LIKE" | "NOT LIKE";
|
|
1107
915
|
})[];
|
|
1108
916
|
}>;
|
|
@@ -1148,32 +956,20 @@ export declare const NqlObj: z.ZodObject<{
|
|
|
1148
956
|
};
|
|
1149
957
|
operator: "IS NULL" | "IS NOT NULL";
|
|
1150
958
|
} | {
|
|
1151
|
-
left:
|
|
1152
|
-
field: string;
|
|
1153
|
-
table: {
|
|
1154
|
-
database: string;
|
|
1155
|
-
table: string;
|
|
1156
|
-
};
|
|
1157
|
-
}) & (string | number | boolean | {
|
|
959
|
+
left: string | number | boolean | {
|
|
1158
960
|
field: string;
|
|
1159
961
|
table: {
|
|
1160
962
|
database: string;
|
|
1161
963
|
table: string;
|
|
1162
964
|
};
|
|
1163
|
-
}
|
|
1164
|
-
right:
|
|
1165
|
-
field: string;
|
|
1166
|
-
table: {
|
|
1167
|
-
database: string;
|
|
1168
|
-
table: string;
|
|
1169
|
-
};
|
|
1170
|
-
}) & (string | number | boolean | {
|
|
965
|
+
};
|
|
966
|
+
right: string | number | boolean | {
|
|
1171
967
|
field: string;
|
|
1172
968
|
table: {
|
|
1173
969
|
database: string;
|
|
1174
970
|
table: string;
|
|
1175
971
|
};
|
|
1176
|
-
}
|
|
972
|
+
};
|
|
1177
973
|
operator: ">" | "<" | ">=" | "<=" | "=" | "!=" | "IN" | "NOT IN" | "LIKE" | "NOT LIKE";
|
|
1178
974
|
})[];
|
|
1179
975
|
};
|
|
@@ -1182,12 +978,12 @@ export declare const NqlObj: z.ZodObject<{
|
|
|
1182
978
|
currency: "USD";
|
|
1183
979
|
period: "CALENDAR_MONTH";
|
|
1184
980
|
};
|
|
1185
|
-
|
|
981
|
+
join?: undefined;
|
|
1186
982
|
sort?: undefined;
|
|
983
|
+
offset?: undefined;
|
|
984
|
+
explain?: "EXPLAIN" | undefined;
|
|
1187
985
|
group?: undefined;
|
|
1188
986
|
having?: undefined;
|
|
1189
|
-
offset?: undefined;
|
|
1190
|
-
join?: undefined;
|
|
1191
987
|
}, {
|
|
1192
988
|
select: {
|
|
1193
989
|
field: string;
|
|
@@ -1212,32 +1008,20 @@ export declare const NqlObj: z.ZodObject<{
|
|
|
1212
1008
|
};
|
|
1213
1009
|
operator: "IS NULL" | "IS NOT NULL";
|
|
1214
1010
|
} | {
|
|
1215
|
-
left:
|
|
1216
|
-
field: string;
|
|
1217
|
-
table: {
|
|
1218
|
-
database: string;
|
|
1219
|
-
table: string;
|
|
1220
|
-
};
|
|
1221
|
-
}) & (string | number | boolean | {
|
|
1011
|
+
left: string | number | boolean | {
|
|
1222
1012
|
field: string;
|
|
1223
1013
|
table: {
|
|
1224
1014
|
database: string;
|
|
1225
1015
|
table: string;
|
|
1226
1016
|
};
|
|
1227
|
-
}
|
|
1228
|
-
right:
|
|
1229
|
-
field: string;
|
|
1230
|
-
table: {
|
|
1231
|
-
database: string;
|
|
1232
|
-
table: string;
|
|
1233
|
-
};
|
|
1234
|
-
}) & (string | number | boolean | {
|
|
1017
|
+
};
|
|
1018
|
+
right: string | number | boolean | {
|
|
1235
1019
|
field: string;
|
|
1236
1020
|
table: {
|
|
1237
1021
|
database: string;
|
|
1238
1022
|
table: string;
|
|
1239
1023
|
};
|
|
1240
|
-
}
|
|
1024
|
+
};
|
|
1241
1025
|
operator: ">" | "<" | ">=" | "<=" | "=" | "!=" | "IN" | "NOT IN" | "LIKE" | "NOT LIKE";
|
|
1242
1026
|
})[];
|
|
1243
1027
|
};
|
|
@@ -1246,12 +1030,12 @@ export declare const NqlObj: z.ZodObject<{
|
|
|
1246
1030
|
currency: "USD";
|
|
1247
1031
|
period: "CALENDAR_MONTH";
|
|
1248
1032
|
};
|
|
1249
|
-
|
|
1033
|
+
join?: undefined;
|
|
1250
1034
|
sort?: undefined;
|
|
1035
|
+
offset?: undefined;
|
|
1036
|
+
explain?: "EXPLAIN" | undefined;
|
|
1251
1037
|
group?: undefined;
|
|
1252
1038
|
having?: undefined;
|
|
1253
|
-
offset?: undefined;
|
|
1254
|
-
join?: undefined;
|
|
1255
1039
|
}>;
|
|
1256
1040
|
export type Nql = z.infer<typeof NqlObj>;
|
|
1257
1041
|
export interface NqlResult {
|