autoql-fe-utils 1.0.2 → 1.0.3
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/README.md +2 -0
- package/dist/index.d.ts +365 -7
- package/dist/index.global.js +8509 -3761
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +6625 -2418
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6452 -2284
- package/dist/index.mjs.map +1 -1
- package/package.json +8 -3
- package/dist/index.d.mts +0 -3
package/README.md
ADDED
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import dayjs from 'dayjs';
|
|
2
|
+
import * as axios from 'axios';
|
|
2
3
|
|
|
3
4
|
declare const TABLE_TYPES: string[];
|
|
4
5
|
declare const CHART_TYPES: string[];
|
|
@@ -266,6 +267,7 @@ interface FrontendReq {
|
|
|
266
267
|
session_filter_locks: any[];
|
|
267
268
|
v2_dates: number;
|
|
268
269
|
persistent_filter_locks: FilterLock[];
|
|
270
|
+
columns?: Columns;
|
|
269
271
|
}
|
|
270
272
|
type Rows = Array<Array<string | number>>;
|
|
271
273
|
interface QueryData {
|
|
@@ -405,6 +407,23 @@ declare const getColumnTypeAmounts: (columns: any) => {
|
|
|
405
407
|
declare const getDateColumnIndex: (columns: any) => any;
|
|
406
408
|
declare const getNumberOfGroupables: (columns: any) => number;
|
|
407
409
|
declare const isListQuery: (columns: any) => boolean;
|
|
410
|
+
declare const setFilterFunction: ({ column, dataFormatting, onErrorCallback, }: {
|
|
411
|
+
column: Column;
|
|
412
|
+
dataFormatting: DataFormatting;
|
|
413
|
+
onErrorCallback: Function;
|
|
414
|
+
}) => (headerValue: any, rowValue: any) => boolean;
|
|
415
|
+
declare const setSorterFunction: (col: any) => ((a: any, b: any) => number) | "alphanum";
|
|
416
|
+
declare const setHeaderFilterPlaceholder: (col: any) => "Pick range" | "Filter";
|
|
417
|
+
declare const getAggConfig: (columns: any) => {};
|
|
418
|
+
declare const getDrilldownGroupby: (queryResponse: any, newCol: any) => any;
|
|
419
|
+
declare const formatQueryColumns: ({ columns, aggConfig, queryResponse, onTableHeaderClick, enableTableSorting, dataFormatting, }: {
|
|
420
|
+
columns: Columns;
|
|
421
|
+
aggConfig?: Object;
|
|
422
|
+
queryResponse?: AxiosResponse;
|
|
423
|
+
onTableHeaderClick?: Function;
|
|
424
|
+
enableTableSorting?: boolean;
|
|
425
|
+
dataFormatting?: DataFormatting;
|
|
426
|
+
}) => Columns;
|
|
408
427
|
|
|
409
428
|
declare const formatStringDateWithPrecision: (value: any, col: any) => any;
|
|
410
429
|
declare const formatStringDate: (value: any, config?: DataFormatting) => any;
|
|
@@ -449,12 +468,6 @@ declare const getCurrencySymbol: (dataFormatting?: {
|
|
|
449
468
|
monthYearFormat: string;
|
|
450
469
|
dayMonthYearFormat: string;
|
|
451
470
|
}) => string;
|
|
452
|
-
declare const getDayjsObjForStringType: (value: any, col: any) => dayjs.Dayjs;
|
|
453
|
-
declare const getDayJSObj: ({ value, column }: {
|
|
454
|
-
value: any;
|
|
455
|
-
column: any;
|
|
456
|
-
}) => dayjs.Dayjs;
|
|
457
|
-
declare const getEpochFromDate: (date: any, precision?: any, precisionFrame?: any) => any;
|
|
458
471
|
|
|
459
472
|
interface getSupportedDisplayTypesParams {
|
|
460
473
|
response?: AxiosResponse;
|
|
@@ -526,6 +539,27 @@ declare const rotateArray: (array: any, n: any) => any[];
|
|
|
526
539
|
declare const onlyUnique: (value: any, index: any, self: any) => boolean;
|
|
527
540
|
declare const makeEmptyArray: (w: any, h: any, value?: string) => any[];
|
|
528
541
|
|
|
542
|
+
declare const isISODate: (str: any) => boolean;
|
|
543
|
+
declare const getDateRangeIntersection: (aRange: any, bRange: any) => {
|
|
544
|
+
startDate: any;
|
|
545
|
+
endDate: any;
|
|
546
|
+
};
|
|
547
|
+
declare const getColumnNameForDateRange: (chunkEng: any) => any;
|
|
548
|
+
declare const getFilterPrecision: (col: Column) => PrecisionTypes.DAY | PrecisionTypes.MONTH | PrecisionTypes.YEAR;
|
|
549
|
+
declare const getPrecisionForDayJS: (colPrecision: any) => "minute" | "hour" | "day" | "month" | "year" | "quarter" | "week";
|
|
550
|
+
declare const getStartAndEndDateFromDateStrs: (dateRangeStrs: any) => {
|
|
551
|
+
startDate: Date;
|
|
552
|
+
endDate: Date;
|
|
553
|
+
};
|
|
554
|
+
declare const getDateRangesFromInterpretation: (parsedInterpretation: any) => any[];
|
|
555
|
+
declare const getColumnDateRanges: (response: any) => any[];
|
|
556
|
+
declare const getEpochFromDate: (date: any, precision?: any, precisionFrame?: any) => any;
|
|
557
|
+
declare const getDayjsObjForStringType: (value: any, col: any) => dayjs.Dayjs;
|
|
558
|
+
declare const getDayJSObj: ({ value, column }: {
|
|
559
|
+
value: any;
|
|
560
|
+
column: any;
|
|
561
|
+
}) => dayjs.Dayjs;
|
|
562
|
+
|
|
529
563
|
declare const dataStructureChanged: (props: any, prevProps: any) => boolean;
|
|
530
564
|
declare const onlySeriesVisibilityChanged: (props: any, prevProps: any) => boolean;
|
|
531
565
|
declare const scaleZero: (scale: any) => any;
|
|
@@ -738,4 +772,328 @@ declare const GENERAL_HTML_ERROR = "Internal Service Error: Our system is experi
|
|
|
738
772
|
declare const UNAUTHENTICATED_ERROR = "Uh oh.. It looks like you don't have access to this resource. Please double check that all required authentication fields are correct.";
|
|
739
773
|
declare const REQUEST_CANCELLED_ERROR = "Request cancelled";
|
|
740
774
|
|
|
741
|
-
|
|
775
|
+
declare const fetchDataExplorerAutocomplete: ({ suggestion, domain, token, apiKey, cancelToken, }?: {
|
|
776
|
+
suggestion?: string;
|
|
777
|
+
domain?: string;
|
|
778
|
+
apiKey?: string;
|
|
779
|
+
token?: string;
|
|
780
|
+
cancelToken?: any;
|
|
781
|
+
}) => Promise<any[]>;
|
|
782
|
+
declare const fetchDataExplorerSuggestions: ({ pageSize, pageNumber, domain, apiKey, token, text, context, selectedVL, userVLSelection, skipQueryValidation, }?: {
|
|
783
|
+
pageSize?: number;
|
|
784
|
+
pageNumber?: number;
|
|
785
|
+
domain?: string;
|
|
786
|
+
apiKey?: string;
|
|
787
|
+
token?: string;
|
|
788
|
+
text?: string;
|
|
789
|
+
context?: string;
|
|
790
|
+
selectedVL?: any;
|
|
791
|
+
userVLSelection?: Object[];
|
|
792
|
+
skipQueryValidation?: boolean;
|
|
793
|
+
}) => Promise<axios.AxiosResponse<any>>;
|
|
794
|
+
|
|
795
|
+
declare const fetchNotificationData: ({ id, domain, apiKey, token }: {
|
|
796
|
+
id: any;
|
|
797
|
+
domain: any;
|
|
798
|
+
apiKey: any;
|
|
799
|
+
token: any;
|
|
800
|
+
}) => Promise<{
|
|
801
|
+
data: any;
|
|
802
|
+
}>;
|
|
803
|
+
declare const isExpressionQueryValid: ({ query, domain, apiKey, token }: {
|
|
804
|
+
query: any;
|
|
805
|
+
domain: any;
|
|
806
|
+
apiKey: any;
|
|
807
|
+
token: any;
|
|
808
|
+
}) => Promise<axios.AxiosResponse<any>>;
|
|
809
|
+
declare const fetchNotificationCount: ({ domain, apiKey, token, unacknowledged }: {
|
|
810
|
+
domain: any;
|
|
811
|
+
apiKey: any;
|
|
812
|
+
token: any;
|
|
813
|
+
unacknowledged?: number;
|
|
814
|
+
}) => Promise<axios.AxiosResponse<any>>;
|
|
815
|
+
declare const fetchNotificationFeed: ({ domain, apiKey, token, offset, limit }: {
|
|
816
|
+
domain: any;
|
|
817
|
+
apiKey: any;
|
|
818
|
+
token: any;
|
|
819
|
+
offset: any;
|
|
820
|
+
limit: any;
|
|
821
|
+
}) => Promise<any>;
|
|
822
|
+
declare const fetchNotificationChannels: ({ domain, apiKey, token, channelType }: {
|
|
823
|
+
domain: any;
|
|
824
|
+
apiKey: any;
|
|
825
|
+
token: any;
|
|
826
|
+
channelType: any;
|
|
827
|
+
}) => Promise<any>;
|
|
828
|
+
declare const fetchDataAlerts: ({ domain, apiKey, token }: {
|
|
829
|
+
domain: any;
|
|
830
|
+
apiKey: any;
|
|
831
|
+
token: any;
|
|
832
|
+
}) => Promise<any>;
|
|
833
|
+
declare const fetchRule: ({ domain, apiKey, token, dataAlertId }: {
|
|
834
|
+
domain: any;
|
|
835
|
+
apiKey: any;
|
|
836
|
+
token: any;
|
|
837
|
+
dataAlertId: any;
|
|
838
|
+
}) => Promise<any>;
|
|
839
|
+
declare const resetNotificationCount: ({ domain, apiKey, token }: {
|
|
840
|
+
domain: any;
|
|
841
|
+
apiKey: any;
|
|
842
|
+
token: any;
|
|
843
|
+
}) => Promise<any>;
|
|
844
|
+
declare const initializeAlert: ({ id, domain, apiKey, token }: {
|
|
845
|
+
id: any;
|
|
846
|
+
domain: any;
|
|
847
|
+
apiKey: any;
|
|
848
|
+
token: any;
|
|
849
|
+
}) => Promise<any>;
|
|
850
|
+
declare const deleteNotification: ({ notificationId, domain, apiKey, token }: {
|
|
851
|
+
notificationId: any;
|
|
852
|
+
domain: any;
|
|
853
|
+
apiKey: any;
|
|
854
|
+
token: any;
|
|
855
|
+
}) => Promise<axios.AxiosResponse<any>>;
|
|
856
|
+
declare const dismissAllNotifications: ({ domain, apiKey, token }: {
|
|
857
|
+
domain: any;
|
|
858
|
+
apiKey: any;
|
|
859
|
+
token: any;
|
|
860
|
+
}) => Promise<axios.AxiosResponse<any>>;
|
|
861
|
+
declare const markNotificationAsUnread: ({ notificationId, domain, apiKey, token }: {
|
|
862
|
+
notificationId: any;
|
|
863
|
+
domain: any;
|
|
864
|
+
apiKey: any;
|
|
865
|
+
token: any;
|
|
866
|
+
}) => Promise<axios.AxiosResponse<any>>;
|
|
867
|
+
declare const dismissNotification: ({ notificationId, domain, apiKey, token }: {
|
|
868
|
+
notificationId: any;
|
|
869
|
+
domain: any;
|
|
870
|
+
apiKey: any;
|
|
871
|
+
token: any;
|
|
872
|
+
}) => Promise<axios.AxiosResponse<any>>;
|
|
873
|
+
declare const removeUserFromProjectRule: ({ dataAlertId, token, domain, apiKey }: {
|
|
874
|
+
dataAlertId: any;
|
|
875
|
+
token: any;
|
|
876
|
+
domain: any;
|
|
877
|
+
apiKey: any;
|
|
878
|
+
}) => Promise<axios.AxiosResponse<any>>;
|
|
879
|
+
declare const addUserToProjectRule: ({ dataAlertId, token, domain, apiKey }: {
|
|
880
|
+
dataAlertId: any;
|
|
881
|
+
token: any;
|
|
882
|
+
domain: any;
|
|
883
|
+
apiKey: any;
|
|
884
|
+
}) => Promise<axios.AxiosResponse<any>>;
|
|
885
|
+
declare const toggleProjectDataAlertStatus: ({ dataAlertId, status, token, domain, apiKey }: {
|
|
886
|
+
dataAlertId: any;
|
|
887
|
+
status: any;
|
|
888
|
+
token: any;
|
|
889
|
+
domain: any;
|
|
890
|
+
apiKey: any;
|
|
891
|
+
}) => Promise<axios.AxiosResponse<any>>;
|
|
892
|
+
declare const toggleCustomDataAlertStatus: ({ dataAlertId, status, token, domain, apiKey }: {
|
|
893
|
+
dataAlertId: any;
|
|
894
|
+
status: any;
|
|
895
|
+
token: any;
|
|
896
|
+
domain: any;
|
|
897
|
+
apiKey: any;
|
|
898
|
+
}) => Promise<axios.AxiosResponse<any>>;
|
|
899
|
+
declare const updateDataAlertStatus: ({ dataAlertId, status, type, domain, apiKey, token }: {
|
|
900
|
+
dataAlertId: any;
|
|
901
|
+
status: any;
|
|
902
|
+
type: any;
|
|
903
|
+
domain: any;
|
|
904
|
+
apiKey: any;
|
|
905
|
+
token: any;
|
|
906
|
+
}) => Promise<axios.AxiosResponse<any>>;
|
|
907
|
+
declare const createNotificationChannel: ({ token, domain, apiKey, channelType, channelName, channelEmail, userName, userEmail, }: {
|
|
908
|
+
token: any;
|
|
909
|
+
domain: any;
|
|
910
|
+
apiKey: any;
|
|
911
|
+
channelType: any;
|
|
912
|
+
channelName: any;
|
|
913
|
+
channelEmail: any;
|
|
914
|
+
userName: any;
|
|
915
|
+
userEmail: any;
|
|
916
|
+
}) => Promise<axios.AxiosResponse<any>>;
|
|
917
|
+
declare const sendDataToChannel: ({ token, domain, apiKey, channelId, fileName, base64Data }: {
|
|
918
|
+
token: any;
|
|
919
|
+
domain: any;
|
|
920
|
+
apiKey: any;
|
|
921
|
+
channelId: any;
|
|
922
|
+
fileName: any;
|
|
923
|
+
base64Data: any;
|
|
924
|
+
}) => Promise<axios.AxiosResponse<any>>;
|
|
925
|
+
declare const updateDataAlert: ({ dataAlert, domain, apiKey, token }: {
|
|
926
|
+
dataAlert: any;
|
|
927
|
+
domain: any;
|
|
928
|
+
apiKey: any;
|
|
929
|
+
token: any;
|
|
930
|
+
}) => Promise<axios.AxiosResponse<any>>;
|
|
931
|
+
declare const createDataAlert: ({ dataAlert, domain, apiKey, token }: {
|
|
932
|
+
dataAlert?: {};
|
|
933
|
+
domain: any;
|
|
934
|
+
apiKey: any;
|
|
935
|
+
token: any;
|
|
936
|
+
}) => Promise<axios.AxiosResponse<any>>;
|
|
937
|
+
declare const validateExpression: ({ expression, domain, apiKey, token }: {
|
|
938
|
+
expression: any;
|
|
939
|
+
domain: any;
|
|
940
|
+
apiKey: any;
|
|
941
|
+
token: any;
|
|
942
|
+
}) => Promise<axios.AxiosResponse<any>>;
|
|
943
|
+
declare const deleteDataAlert: (dataAlertId: any, authObject: any) => Promise<axios.AxiosResponse<any>>;
|
|
944
|
+
declare const removeNotificationChannel: ({ channelId, domain, apiKey, token }: {
|
|
945
|
+
channelId: any;
|
|
946
|
+
domain: any;
|
|
947
|
+
apiKey: any;
|
|
948
|
+
token: any;
|
|
949
|
+
}) => Promise<axios.AxiosResponse<any>>;
|
|
950
|
+
|
|
951
|
+
declare const isError500Type: (referenceId: any) => boolean;
|
|
952
|
+
declare const fetchSuggestions: ({ query, queryId, domain, apiKey, token, cancelToken, }?: {
|
|
953
|
+
query?: string;
|
|
954
|
+
queryId?: string;
|
|
955
|
+
domain?: string;
|
|
956
|
+
apiKey?: string;
|
|
957
|
+
token?: string;
|
|
958
|
+
cancelToken?: any;
|
|
959
|
+
}) => Promise<axios.AxiosResponse<any>>;
|
|
960
|
+
declare const runQueryNewPage: ({ queryId, domain, apiKey, token, page, cancelToken, }?: {
|
|
961
|
+
queryId?: string;
|
|
962
|
+
domain?: string;
|
|
963
|
+
apiKey?: string;
|
|
964
|
+
token?: string;
|
|
965
|
+
page?: number;
|
|
966
|
+
cancelToken?: any;
|
|
967
|
+
}) => Promise<any>;
|
|
968
|
+
interface QueryParams {
|
|
969
|
+
query?: string;
|
|
970
|
+
userSelection?: Object[];
|
|
971
|
+
userSelectionFinal?: Object[];
|
|
972
|
+
debug?: boolean;
|
|
973
|
+
test?: boolean;
|
|
974
|
+
domain?: string;
|
|
975
|
+
apiKey?: string;
|
|
976
|
+
token?: string;
|
|
977
|
+
source?: string;
|
|
978
|
+
filters?: Object[];
|
|
979
|
+
orders?: Object[];
|
|
980
|
+
tableFilters?: Object[];
|
|
981
|
+
pageSize?: number;
|
|
982
|
+
allowSuggestions?: boolean;
|
|
983
|
+
cancelToken?: any;
|
|
984
|
+
scope?: string;
|
|
985
|
+
enableQueryValidation?: boolean;
|
|
986
|
+
skipQueryValidation?: boolean;
|
|
987
|
+
}
|
|
988
|
+
declare const runQueryOnly: ({ query, userSelection, userSelectionFinal, debug, test, domain, apiKey, token, source, filters, orders, tableFilters, pageSize, allowSuggestions, cancelToken, scope, }?: QueryParams) => Promise<axios.AxiosResponse<any>>;
|
|
989
|
+
declare const runQueryValidation: ({ text, domain, apiKey, token, cancelToken, }?: {
|
|
990
|
+
text?: string;
|
|
991
|
+
domain?: string;
|
|
992
|
+
apiKey?: string;
|
|
993
|
+
token?: string;
|
|
994
|
+
cancelToken?: any;
|
|
995
|
+
}) => Promise<axios.AxiosResponse<any>>;
|
|
996
|
+
declare const runQuery: ({ query, userSelection, userSelectionFinal, debug, test, domain, apiKey, token, source, filters, orders, tableFilters, pageSize, allowSuggestions, cancelToken, enableQueryValidation, skipQueryValidation, scope, }?: QueryParams) => Promise<axios.AxiosResponse<any>>;
|
|
997
|
+
declare const exportCSV: ({ queryId, domain, apiKey, token, csvProgressCallback, }?: {
|
|
998
|
+
queryId?: string;
|
|
999
|
+
domain?: string;
|
|
1000
|
+
apiKey?: string;
|
|
1001
|
+
token?: string;
|
|
1002
|
+
csvProgressCallback?: Function;
|
|
1003
|
+
}) => Promise<axios.AxiosResponse<any>>;
|
|
1004
|
+
declare const runDrilldown: ({ queryID, groupBys, debug, test, domain, apiKey, token, orders, source, tableFilters, cancelToken, pageSize, }?: {
|
|
1005
|
+
queryID?: string;
|
|
1006
|
+
groupBys?: Object[];
|
|
1007
|
+
debug?: boolean;
|
|
1008
|
+
test?: boolean;
|
|
1009
|
+
domain?: string;
|
|
1010
|
+
apiKey?: string;
|
|
1011
|
+
token?: string;
|
|
1012
|
+
orders?: Object[];
|
|
1013
|
+
source?: string;
|
|
1014
|
+
tableFilters?: Object[];
|
|
1015
|
+
cancelToken?: any;
|
|
1016
|
+
pageSize?: number;
|
|
1017
|
+
}) => Promise<axios.AxiosResponse<any>>;
|
|
1018
|
+
declare const fetchTopics: ({ domain, token, apiKey, }?: {
|
|
1019
|
+
domain?: string;
|
|
1020
|
+
apiKey?: string;
|
|
1021
|
+
token?: string;
|
|
1022
|
+
}) => Promise<axios.AxiosResponse<any>>;
|
|
1023
|
+
declare const fetchAutocomplete: ({ suggestion, domain, apiKey, token, }?: {
|
|
1024
|
+
suggestion?: string;
|
|
1025
|
+
domain?: string;
|
|
1026
|
+
apiKey?: string;
|
|
1027
|
+
token?: string;
|
|
1028
|
+
}) => Promise<axios.AxiosResponse<any>>;
|
|
1029
|
+
declare const fetchVLAutocomplete: ({ suggestion, domain, token, apiKey, cancelToken, }?: {
|
|
1030
|
+
suggestion?: string;
|
|
1031
|
+
domain?: string;
|
|
1032
|
+
apiKey?: string;
|
|
1033
|
+
token?: string;
|
|
1034
|
+
cancelToken?: any;
|
|
1035
|
+
}) => Promise<axios.AxiosResponse<any>>;
|
|
1036
|
+
declare const fetchFilters: ({ apiKey, token, domain, }?: {
|
|
1037
|
+
domain?: string;
|
|
1038
|
+
apiKey?: string;
|
|
1039
|
+
token?: string;
|
|
1040
|
+
}) => Promise<axios.AxiosResponse<any>>;
|
|
1041
|
+
declare const setFilters: ({ apiKey, token, domain, filters, }?: {
|
|
1042
|
+
domain?: string;
|
|
1043
|
+
apiKey?: string;
|
|
1044
|
+
token?: string;
|
|
1045
|
+
filters?: Object[];
|
|
1046
|
+
}) => Promise<axios.AxiosResponse<any>>;
|
|
1047
|
+
declare const unsetFilterFromAPI: ({ apiKey, token, domain, filter, }?: {
|
|
1048
|
+
domain?: string;
|
|
1049
|
+
apiKey?: string;
|
|
1050
|
+
token?: string;
|
|
1051
|
+
filter?: {
|
|
1052
|
+
id: string;
|
|
1053
|
+
};
|
|
1054
|
+
}) => Promise<axios.AxiosResponse<any>>;
|
|
1055
|
+
declare const setColumnVisibility: ({ apiKey, token, domain, columns, }?: {
|
|
1056
|
+
domain?: string;
|
|
1057
|
+
apiKey?: string;
|
|
1058
|
+
token?: string;
|
|
1059
|
+
columns?: any[];
|
|
1060
|
+
}) => Promise<axios.AxiosResponse<any>>;
|
|
1061
|
+
declare const sendSuggestion: ({ queryId, suggestion, apiKey, domain, token, }?: {
|
|
1062
|
+
queryId?: string;
|
|
1063
|
+
suggestion?: boolean;
|
|
1064
|
+
domain?: string;
|
|
1065
|
+
apiKey?: string;
|
|
1066
|
+
token?: string;
|
|
1067
|
+
}) => Promise<axios.AxiosResponse<any>>;
|
|
1068
|
+
declare const fetchExploreQueries: ({ keywords, pageSize, pageNumber, domain, apiKey, token, skipQueryValidation, }?: {
|
|
1069
|
+
keywords?: string;
|
|
1070
|
+
pageSize?: number;
|
|
1071
|
+
pageNumber?: number;
|
|
1072
|
+
domain?: string;
|
|
1073
|
+
apiKey?: string;
|
|
1074
|
+
token?: string;
|
|
1075
|
+
skipQueryValidation?: boolean;
|
|
1076
|
+
}) => Promise<axios.AxiosResponse<any>>;
|
|
1077
|
+
declare const reportProblem: ({ message, queryId, domain, apiKey, token, }?: {
|
|
1078
|
+
message?: string;
|
|
1079
|
+
queryId?: string;
|
|
1080
|
+
domain?: string;
|
|
1081
|
+
apiKey?: string;
|
|
1082
|
+
token?: string;
|
|
1083
|
+
}) => Promise<axios.AxiosResponse<any>>;
|
|
1084
|
+
declare const fetchSubjectList: ({ domain, apiKey, token }: {
|
|
1085
|
+
domain: any;
|
|
1086
|
+
apiKey: any;
|
|
1087
|
+
token: any;
|
|
1088
|
+
}) => Promise<axios.AxiosResponse<any>>;
|
|
1089
|
+
declare const fetchDataPreview: ({ subject, domain, apiKey, token, source, numRows, cancelToken, }?: {
|
|
1090
|
+
subject?: string;
|
|
1091
|
+
domain?: string;
|
|
1092
|
+
apiKey?: string;
|
|
1093
|
+
token?: string;
|
|
1094
|
+
source?: string;
|
|
1095
|
+
numRows?: number;
|
|
1096
|
+
cancelToken?: any;
|
|
1097
|
+
}) => Promise<axios.AxiosResponse<any>>;
|
|
1098
|
+
|
|
1099
|
+
export { AGG_TYPES, AxiosResponse, CHART_TYPES, COMPARE_TYPE, CONTINUOUS_TYPE, CUSTOM_TYPE, Column, Columns, DATA_ALERT_CONDITION_TYPES, DATA_ALERT_ENABLED_STATUSES, DATA_ALERT_FREQUENCY_TYPE_OPTIONS, DATA_ALERT_OPERATORS, DATA_ALERT_STATUSES, DATE_ONLY_CHART_TYPES, DAYJS_PRECISION_FORMATS, DEFAULT_AGG_TYPE, DEFAULT_DATA_PAGE_SIZE, DEFAULT_EVALUATION_FREQUENCY, DEFAULT_SOURCE, DOUBLE_AXIS_CHART_TYPES, DOW_STYLES, DataExplorerTypes, DataFormatting, DateUTC, EVALUATION_FREQUENCY_OPTIONS, EXISTS_TYPE, FilterLock, FrontendReq, GENERAL_ERROR, GENERAL_HTML_ERROR, GENERAL_QUERY_ERROR, GROUP_TERM_TYPE, MAX_DATA_PAGE_SIZE, MAX_LEGEND_LABELS, MIN_HISTOGRAM_SAMPLE, MONTH_DAY_SELECT_OPTIONS, MONTH_NAMES, NUMBER_TERM_TYPE, NumberColumnTypeDisplayNames, NumberColumnTypes, PERIODIC_TYPE, PROJECT_TYPE, PrecisionTypes, QUERY_TERM_TYPE, QueryData, QueryResponse, REQUEST_CANCELLED_ERROR, RESET_PERIOD_OPTIONS, Rows, SCHEDULED_TYPE, SCHEDULE_FREQUENCY_OPTIONS, SCHEDULE_INTERVAL_OPTIONS, SEASON_NAMES, Scale, TABLE_TYPES, TimestampFormats, UNAUTHENTICATED_ERROR, WEEKDAY_NAMES_MON, WEEKDAY_NAMES_SUN, addUserToProjectRule, animateInputText, authenticationDefault, autoQLConfigDefault, calculateMinAndMaxSums, capitalizeFirstChar, convertToNumber, createDataAlert, createNotificationChannel, currentEventLoopEnd, dataConfigDefault, dataFormattingDefault, dataStructureChanged, dateSortFn, dateStringSortFn, deepEqual, deleteDataAlert, deleteNotification, difference, dismissAllNotifications, dismissNotification, doesElementOverflowContainer, exportCSV, fetchAutocomplete, fetchDataAlerts, fetchDataExplorerAutocomplete, fetchDataExplorerSuggestions, fetchDataPreview, fetchExploreQueries, fetchFilters, fetchNotificationChannels, fetchNotificationCount, fetchNotificationData, fetchNotificationFeed, fetchRule, fetchSubjectList, fetchSuggestions, fetchTopics, fetchVLAutocomplete, formatChartLabel, formatDateStringType, formatDateType, formatElement, formatEpochDate, formatISODateWithPrecision, formatQueryColumns, formatStringDate, formatStringDateWithPrecision, functionsEqual, getAggConfig, getAuthentication, getAutoQLConfig, getBBoxFromRef, getBandScale, getBinLinearScale, getColumnDateRanges, getColumnNameForDateRange, getColumnTypeAmounts, getCurrencySymbol, getDataConfig, getDataFormatting, getDateColumnIndex, getDateRangeIntersection, getDateRangesFromInterpretation, getDayJSObj, getDayjsObjForStringType, getDefaultDisplayType, getDrilldownGroupby, getEpochFromDate, getFilterPrecision, getFirstChartDisplayType, getGroupBys, getGroupBysFromPivotTable, getGroupBysFromTable, getGroupableColumns, getHistogramScale, getKey, getKeyByValue, getLegendLabelsForMultiSeries, getLegendLocation, getLinearAxisTitle, getLinearScale, getLinearScales, getMaxValueFromKeyValueObj, getMinAndMaxValues, getMinValueFromKeyValueObj, getNiceDateTickValues, getNiceTickValues, getNumberAxisUnits, getNumberFormatConfig, getNumberOfGroupables, getNumberOfSeries, getObjSize, getPadding, getPrecisionForDayJS, getQueryParams, getRangeForAxis, getSVGBase64, getStartAndEndDateFromDateStrs, getStringFromSource, getSupportedDisplayTypes, getTickSizeFromNumTicks, getTickValues, getTimeScale, getTooltipContent, getUnitSymbol, getUnitsForColumn, getVisibleColumns, handleTooltipBoundaryCollision, hasData, hasDateColumn, hasNumberColumn, hasStringColumn, initializeAlert, invertArray, isAggregation, isChartType, isColumnDateType, isColumnNumberType, isColumnStringType, isDisplayTypeValid, isError500Type, isExpressionQueryValid, isISODate, isListQuery, isNumber, isObject, isSingleValueResponse, isTableType, makeEmptyArray, markNotificationAsUnread, mergeBboxes, mergeSources, nameValueObject, onlySeriesVisibilityChanged, onlyUnique, removeFromDOM, removeNotificationChannel, removeUserFromProjectRule, reportProblem, resetNotificationCount, rotateArray, runDrilldown, runQuery, runQueryNewPage, runQueryOnly, runQueryValidation, scaleZero, sendDataToChannel, sendSuggestion, setCaretPosition, setColumnVisibility, setFilterFunction, setFilters, setHeaderFilterPlaceholder, setSorterFunction, shouldLabelsRotate, shouldPlotMultiSeries, sortDataByDate, supports2DCharts, supportsDatePivotTable, supportsPieChart, supportsRegularPivotTable, svgToPng, toggleCustomDataAlertStatus, toggleProjectDataAlertStatus, unsetFilterFromAPI, updateDataAlert, updateDataAlertStatus, validateExpression };
|