@databrainhq/plugin 0.15.56 → 0.15.57
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/package.json +1 -1
- package/dist/components/Accordion/index.d.ts +0 -34
- package/dist/components/AceEditorSql/AceEditorSql.d.ts +0 -11
- package/dist/components/Alert/index.d.ts +0 -12
- package/dist/components/AutoCompleteDropdown/index.d.ts +0 -20
- package/dist/components/Badge/index.d.ts +0 -10
- package/dist/components/Button/index.d.ts +0 -14
- package/dist/components/ButtonGroup/index.d.ts +0 -16
- package/dist/components/Chart/SingleValueChart.d.ts +0 -38
- package/dist/components/Chart/index.d.ts +0 -47
- package/dist/components/ChartModal/ChartConfig.d.ts +0 -10
- package/dist/components/ChartModal/ChartModalOptions.d.ts +0 -14
- package/dist/components/ChartModal/index.d.ts +0 -3
- package/dist/components/ChartPopup/components/UnderlyingData/index.d.ts +0 -15
- package/dist/components/ChartPopup/index.d.ts +0 -28
- package/dist/components/ChartReportPanel/index.d.ts +0 -10
- package/dist/components/ChartSettingsPopup/ChartSettingsPopup.d.ts +0 -13
- package/dist/components/ChartSettingsPopup/components/ChartConfigure/ComboAxisSettings/AxisSettings.d.ts +0 -10
- package/dist/components/ChartSettingsPopup/components/ChartConfigure/ComboAxisSettings/index.d.ts +0 -8
- package/dist/components/ChartSettingsPopup/components/ChartConfigure/PositionContainer.d.ts +0 -8
- package/dist/components/ChartSettingsPopup/components/ChartConfigure/index.d.ts +0 -26
- package/dist/components/ChartSettingsPopup/components/ChartSettings/index.d.ts +0 -14
- package/dist/components/ChartSettingsPopup/index.d.ts +0 -3
- package/dist/components/ChartTypePanel/index.d.ts +0 -15
- package/dist/components/Checkbox/index.d.ts +0 -11
- package/dist/components/ColorField/ColorField.d.ts +0 -13
- package/dist/components/DataType/index.d.ts +0 -9
- package/dist/components/DateRangePicker/index.d.ts +0 -36
- package/dist/components/DraggableItem/index.d.ts +0 -7
- package/dist/components/DrillBreadCrumb/index.d.ts +0 -16
- package/dist/components/Error/index.d.ts +0 -6
- package/dist/components/ErrorFallback/index.d.ts +0 -2
- package/dist/components/ExternalMetricForm/index.d.ts +0 -11
- package/dist/components/FileUploader/index.d.ts +0 -6
- package/dist/components/FilterDropDown/index.d.ts +0 -32
- package/dist/components/FilterField/index.d.ts +0 -40
- package/dist/components/Flex/index.d.ts +0 -13
- package/dist/components/FloatingDropDown/index.d.ts +0 -43
- package/dist/components/FullScreenChart/index.d.ts +0 -8
- package/dist/components/GaugeLegend/index.d.ts +0 -12
- package/dist/components/GenerateMetric/index.d.ts +0 -3
- package/dist/components/GlobalFilters/AddFilter.d.ts +0 -15
- package/dist/components/GlobalFilters/AppliedFilter.d.ts +0 -9
- package/dist/components/GlobalFilters/Filters.d.ts +0 -29
- package/dist/components/GlobalFilters/HorizontalFilters.d.ts +0 -36
- package/dist/components/GlobalFilters/NumberFilterField.d.ts +0 -23
- package/dist/components/GlobalFilters/SearchField.d.ts +0 -10
- package/dist/components/GlobalFilters/index.d.ts +0 -82
- package/dist/components/HorizontalStackTable/DebouncedInput.d.ts +0 -6
- package/dist/components/HorizontalStackTable/index.d.ts +0 -18
- package/dist/components/Icons/Logos/index.d.ts +0 -33
- package/dist/components/Icons/index.d.ts +0 -9
- package/dist/components/InfoTooltip/index.d.ts +0 -31
- package/dist/components/InputField/index.d.ts +0 -20
- package/dist/components/List/index.d.ts +0 -43
- package/dist/components/Loader/index.d.ts +0 -6
- package/dist/components/Menu/index.d.ts +0 -32
- package/dist/components/MetricChart/ChartImageDownloadButton.d.ts +0 -13
- package/dist/components/MetricChart/CsvDownloadButton.d.ts +0 -12
- package/dist/components/MetricChart/PivotCsvDownloadButton.d.ts +0 -12
- package/dist/components/MetricChart/RawCsvDownloadButton.d.ts +0 -39
- package/dist/components/MetricChart/index.d.ts +0 -5
- package/dist/components/MetricCreation/MetricCreation.d.ts +0 -3
- package/dist/components/MetricCreation/components/ConstructMetric/ConstructMetric.d.ts +0 -3
- package/dist/components/MetricCreation/components/ConstructMetric/components/MetricForm/index.d.ts +0 -3
- package/dist/components/MetricCreation/components/ConstructMetric/index.d.ts +0 -2
- package/dist/components/MetricCreation/components/Dataset/index.d.ts +0 -3
- package/dist/components/MetricCreation/components/Header/index.d.ts +0 -3
- package/dist/components/MetricCreation/components/MetricOutput/MetricOutput.d.ts +0 -3
- package/dist/components/MetricCreation/components/MetricOutput/components/ChartTab/index.d.ts +0 -33
- package/dist/components/MetricCreation/components/MetricOutput/components/TableTab/components/InputTables/index.d.ts +0 -2
- package/dist/components/MetricCreation/components/MetricOutput/components/TableTab/components/index.d.ts +0 -1
- package/dist/components/MetricCreation/components/MetricOutput/components/TableTab/index.d.ts +0 -11
- package/dist/components/MetricCreation/components/MetricOutput/components/index.d.ts +0 -3
- package/dist/components/MetricCreation/components/MetricOutput/index.d.ts +0 -2
- package/dist/components/MetricCreation/components/Panels/ChartActionPanel.d.ts +0 -13
- package/dist/components/MetricCreation/components/Panels/ChartAppearancePanel.d.ts +0 -22
- package/dist/components/MetricCreation/components/Panels/FiltersPanel.d.ts +0 -21
- package/dist/components/MetricCreation/components/Panels/SortPanel.d.ts +0 -15
- package/dist/components/MetricCreation/index.d.ts +0 -5
- package/dist/components/MetricFilterDropDown/components/OldMetricFilterComponents.d.ts +0 -18
- package/dist/components/MetricFilterDropDown/components/SearchField.d.ts +0 -7
- package/dist/components/MetricFilterDropDown/components/StringAutoCustomFilterField.d.ts +0 -19
- package/dist/components/MetricFilterDropDown/components/StringManualFilterField.d.ts +0 -11
- package/dist/components/MetricFilterDropDown/components/TimeFilterField.d.ts +0 -12
- package/dist/components/MetricFilterDropDown/components/VariableTimeFilterField.d.ts +0 -12
- package/dist/components/MetricFilterDropDown/index.d.ts +0 -25
- package/dist/components/MetricList/MetricList.d.ts +0 -79
- package/dist/components/MetricList/components/ArchiveMetricModal/index.d.ts +0 -7
- package/dist/components/MetricList/components/DownloadRawCsvModal/index.d.ts +0 -13
- package/dist/components/MetricList/components/FullScreenView/AddMetricFilter.d.ts +0 -8
- package/dist/components/MetricList/components/FullScreenView/ChartPropertiesPanel.d.ts +0 -12
- package/dist/components/MetricList/components/FullScreenView/DownloadButton.d.ts +0 -20
- package/dist/components/MetricList/components/FullScreenView/index.d.ts +0 -49
- package/dist/components/MetricList/components/LayoutAlert/index.d.ts +0 -7
- package/dist/components/MetricList/components/ManageMetricMenu/ManageMetricCard.d.ts +0 -16
- package/dist/components/MetricList/components/ManageMetricMenu/index.d.ts +0 -19
- package/dist/components/MetricList/components/MetricCards/CreateElementPanel.d.ts +0 -14
- package/dist/components/MetricList/components/MetricCards/ElementCard.d.ts +0 -17
- package/dist/components/MetricList/components/MetricCards/MetricCard.d.ts +0 -106
- package/dist/components/MetricList/components/MetricCards/NoDataLoading.d.ts +0 -11
- package/dist/components/MetricList/components/TableViewModal/index.d.ts +0 -9
- package/dist/components/MetricList/components/index.d.ts +0 -7
- package/dist/components/MetricList/index.d.ts +0 -2
- package/dist/components/MetricTable/index.d.ts +0 -7
- package/dist/components/Modal/Modal.d.ts +0 -14
- package/dist/components/Modal/ModalFooter.d.ts +0 -5
- package/dist/components/Modal/index.d.ts +0 -2
- package/dist/components/MultiSelectDropdown/index.d.ts +0 -45
- package/dist/components/Panel/index.d.ts +0 -17
- package/dist/components/PivotTable/PivotTableV2.d.ts +0 -23
- package/dist/components/PivotTable/index.d.ts +0 -8
- package/dist/components/PivotTable/transformData.d.ts +0 -7
- package/dist/components/PopoverMenu/index.d.ts +0 -39
- package/dist/components/Portal/index.d.ts +0 -2
- package/dist/components/RadioButton/index.d.ts +0 -16
- package/dist/components/ScheduleEmail/ScheduleEmailForm/index.d.ts +0 -17
- package/dist/components/ScheduleEmail/index.d.ts +0 -18
- package/dist/components/SearchDropdown/index.d.ts +0 -14
- package/dist/components/SearchMetricData/ChatMode/ChatAppearancePanel.d.ts +0 -19
- package/dist/components/SearchMetricData/ChatMode/ChatMode.d.ts +0 -44
- package/dist/components/SearchMetricData/ChatMode/ChatModeHeader.d.ts +0 -8
- package/dist/components/SearchMetricData/ChatMode/ChatReportPanel.d.ts +0 -9
- package/dist/components/SearchMetricData/ChatMode/ChatSqlPanel.d.ts +0 -7
- package/dist/components/SearchMetricData/ChatMode/NoChatData.d.ts +0 -3
- package/dist/components/SearchMetricData/ChatMode/NoDataFound.d.ts +0 -16
- package/dist/components/SearchMetricData/ChatMode/Results.d.ts +0 -23
- package/dist/components/SearchMetricData/LoaderWithStates/index.d.ts +0 -7
- package/dist/components/SearchMetricData/SearchMetricData.d.ts +0 -5
- package/dist/components/SearchMetricData/index.d.ts +0 -1
- package/dist/components/SearchTab/index.d.ts +0 -13
- package/dist/components/Select/index.d.ts +0 -47
- package/dist/components/SelfHostControl/index.d.ts +0 -4
- package/dist/components/SkeletonLoader/index.d.ts +0 -9
- package/dist/components/SpinningLoader/index.d.ts +0 -2
- package/dist/components/Switch/SwitchInput.d.ts +0 -10
- package/dist/components/Switch/index.d.ts +0 -11
- package/dist/components/Tab/index.d.ts +0 -14
- package/dist/components/Table/DebouncedInput.d.ts +0 -6
- package/dist/components/Table/Filter.d.ts +0 -7
- package/dist/components/Table/index.d.ts +0 -39
- package/dist/components/Tabs/index.d.ts +0 -41
- package/dist/components/TagInputField/index.d.ts +0 -33
- package/dist/components/Text/index.d.ts +0 -15
- package/dist/components/TextAreaField/index.d.ts +0 -24
- package/dist/components/ThemeBlock/index.d.ts +0 -8
- package/dist/components/TimeGrainField/index.d.ts +0 -17
- package/dist/components/TimeSeriesSettings/index.d.ts +0 -8
- package/dist/components/ToggleIconBtn/index.d.ts +0 -14
- package/dist/components/index.d.ts +0 -67
- package/dist/consts/api.d.ts +0 -81
- package/dist/consts/app.d.ts +0 -157
- package/dist/consts/index.d.ts +0 -2
- package/dist/consts/metricOptions.d.ts +0 -209
- package/dist/consts/validations.d.ts +0 -24
- package/dist/containers/Dashboard/Dashboard.d.ts +0 -85
- package/dist/containers/Dashboard/DashboardProvider.d.ts +0 -7
- package/dist/containers/Dashboard/EmbededDashboard.d.ts +0 -54
- package/dist/containers/Dashboard/index.d.ts +0 -2
- package/dist/containers/DbnStyles.d.ts +0 -14
- package/dist/containers/Metric/EmbeddedMetric.d.ts +0 -55
- package/dist/containers/Metric/MergedMetric.d.ts +0 -54
- package/dist/containers/Metric/index.d.ts +0 -97
- package/dist/containers/PluginProvider.d.ts +0 -7
- package/dist/containers/index.d.ts +0 -3
- package/dist/helpers/adaptiveFormatter.d.ts +0 -6
- package/dist/helpers/areArraysEqual.d.ts +0 -1
- package/dist/helpers/autoCompleteHelpers.d.ts +0 -95
- package/dist/helpers/cardActions.d.ts +0 -5
- package/dist/helpers/chartOptions.d.ts +0 -93
- package/dist/helpers/checkIsElementInViewport.d.ts +0 -1
- package/dist/helpers/conditionalFormatting.d.ts +0 -3
- package/dist/helpers/copyToClipboard.d.ts +0 -4
- package/dist/helpers/createMetric.d.ts +0 -35
- package/dist/helpers/darkColorIdentifier.d.ts +0 -2
- package/dist/helpers/dateFormatter.d.ts +0 -1
- package/dist/helpers/generateColorPalette.d.ts +0 -1
- package/dist/helpers/generateTimeRangeWhereClause.d.ts +0 -13
- package/dist/helpers/getColumnType.d.ts +0 -2
- package/dist/helpers/getComboRangeLabel.d.ts +0 -5
- package/dist/helpers/getFilterAppliedQuery.d.ts +0 -71
- package/dist/helpers/getModifiedQuery.d.ts +0 -78
- package/dist/helpers/getNextScheduledTime.d.ts +0 -13
- package/dist/helpers/getTimeFilterValue.d.ts +0 -12
- package/dist/helpers/getValidRlsConditionOptions.d.ts +0 -16
- package/dist/helpers/groupArray.d.ts +0 -1
- package/dist/helpers/groupBy.d.ts +0 -25
- package/dist/helpers/index.d.ts +0 -16
- package/dist/helpers/numberFormatter.d.ts +0 -1
- package/dist/helpers/setOnDateChange.d.ts +0 -11
- package/dist/helpers/sqlMetadata.d.ts +0 -7
- package/dist/helpers/timeseries.d.ts +0 -35
- package/dist/helpers/timeseriesOption.d.ts +0 -72
- package/dist/helpers/tooltipFormatter.d.ts +0 -27
- package/dist/helpers/treeMap.d.ts +0 -6
- package/dist/hooks/index.d.ts +0 -12
- package/dist/hooks/useArchiveMetric.d.ts +0 -10
- package/dist/hooks/useAutoCompleteOptions.d.ts +0 -4
- package/dist/hooks/useClientDashboardLayout.d.ts +0 -21
- package/dist/hooks/useDashboardContext.d.ts +0 -39
- package/dist/hooks/useDatasetMetric.d.ts +0 -50
- package/dist/hooks/useDebounce.d.ts +0 -2
- package/dist/hooks/useDownloadRawCsv.d.ts +0 -21
- package/dist/hooks/useDrag.d.ts +0 -10
- package/dist/hooks/useDragAndDropState.d.ts +0 -10
- package/dist/hooks/useDrop.d.ts +0 -13
- package/dist/hooks/useEmbeddedMetric.d.ts +0 -27
- package/dist/hooks/useExternalMetric.d.ts +0 -55
- package/dist/hooks/useGenerateDatasetMetrics.d.ts +0 -16
- package/dist/hooks/useGenerateMetric.d.ts +0 -64
- package/dist/hooks/useMetricCard.d.ts +0 -130
- package/dist/hooks/useMetricConfig.d.ts +0 -63
- package/dist/hooks/useNewEmbeddedDashboard.d.ts +0 -37
- package/dist/hooks/useOutsideAlerter.d.ts +0 -14
- package/dist/hooks/usePublishArchivedMetrics.d.ts +0 -5
- package/dist/hooks/usePythonResults.d.ts +0 -17
- package/dist/hooks/useScheduleEmail.d.ts +0 -38
- package/dist/hooks/useSearch.d.ts +0 -55
- package/dist/hooks/useUnderlyingData.d.ts +0 -32
- package/dist/index.d.ts +0 -8
- package/dist/queries/externalDashboard.mutation.d.ts +0 -61
- package/dist/queries/externalDashboard.query.d.ts +0 -20
- package/dist/queries/index.d.ts +0 -1
- package/dist/queries/metric.mutation.d.ts +0 -57
- package/dist/queries/metric.query.d.ts +0 -12
- package/dist/types/app.d.ts +0 -962
- package/dist/types/dragAndDropProps.d.ts +0 -70
- package/dist/types/index.d.ts +0 -3
- package/dist/types/metricCreate.d.ts +0 -766
- package/dist/types/queryTypes.d.ts +0 -350
- package/dist/usa-c14e93e4.mjs +0 -15112
- package/dist/utils/arrayToCsvString.d.ts +0 -6
- package/dist/utils/colors.d.ts +0 -2
- package/dist/utils/fetcher.d.ts +0 -13
- package/dist/utils/getChartAttributes.d.ts +0 -98
- package/dist/utils/getChartImage.d.ts +0 -3
- package/dist/utils/getChartOptions.d.ts +0 -42
- package/dist/utils/getFormattedDataType.d.ts +0 -1
- package/dist/utils/getNoAxisChartOptions.d.ts +0 -25
- package/dist/utils/getValidJson.d.ts +0 -1
- package/dist/utils/index.d.ts +0 -9
- package/dist/utils/pivotDataTransform.d.ts +0 -7
- package/dist/utils/popoverPosition.d.ts +0 -2
- package/dist/utils/theme.d.ts +0 -42
- package/dist/webcomponents.d.ts +0 -11
- package/dist/webcomponents.es.js +0 -223698
- package/dist/webcomponents.umd.js +0 -4399
- package/dist/world-8db01cf5.mjs +0 -45896
|
@@ -1,350 +0,0 @@
|
|
|
1
|
-
import { ClientColumnType, RlsCondition } from './app';
|
|
2
|
-
import { DatasetMetricCreationConfiguration } from './metricCreate';
|
|
3
|
-
export type UseDashboardDataQueryInputType = {
|
|
4
|
-
token: string;
|
|
5
|
-
dashboardId?: string;
|
|
6
|
-
};
|
|
7
|
-
export type ClientSubsetData = {
|
|
8
|
-
companyIntegrationId?: string | null;
|
|
9
|
-
dbName?: string | null;
|
|
10
|
-
error?: {
|
|
11
|
-
message: string;
|
|
12
|
-
} | null;
|
|
13
|
-
tableList?: {
|
|
14
|
-
tableName: string;
|
|
15
|
-
clientColumn?: string | null;
|
|
16
|
-
columns?: {
|
|
17
|
-
datatype: string;
|
|
18
|
-
name: string;
|
|
19
|
-
as: string;
|
|
20
|
-
}[] | null;
|
|
21
|
-
}[] | null;
|
|
22
|
-
} | null;
|
|
23
|
-
export type UseDashboardDataQueryOutputType = {
|
|
24
|
-
externalDashboard?: any | null;
|
|
25
|
-
isAllowedToChangeLayout?: boolean | null;
|
|
26
|
-
isAllowedToCreateMetrics?: boolean | null;
|
|
27
|
-
isAllowedToDeleteMetrics?: boolean | null;
|
|
28
|
-
isAllowedToUpdateMetrics?: boolean | null;
|
|
29
|
-
isAllowedToEmailReports?: boolean | null;
|
|
30
|
-
isAllowedManageMetrics?: boolean | null;
|
|
31
|
-
isShowUnderlyingData?: boolean | null;
|
|
32
|
-
isAllowToDownloadMetrics?: boolean | null;
|
|
33
|
-
adminTheme?: any | null;
|
|
34
|
-
clientId?: string | null;
|
|
35
|
-
companyId?: string | null;
|
|
36
|
-
companyTenancyType?: string | null;
|
|
37
|
-
externalMetrics?: (any | null)[] | null;
|
|
38
|
-
rlsSettings?: any | null;
|
|
39
|
-
appFilters?: any | null;
|
|
40
|
-
dashboardAppFilters?: any | null;
|
|
41
|
-
workspace?: any | null;
|
|
42
|
-
sharingSettingsId?: string | null;
|
|
43
|
-
error?: {
|
|
44
|
-
message: string;
|
|
45
|
-
} | null;
|
|
46
|
-
clientSubsetData?: ClientSubsetData;
|
|
47
|
-
cType?: ClientColumnType;
|
|
48
|
-
refreshTime?: number | null;
|
|
49
|
-
isEnableMetricSummary?: boolean;
|
|
50
|
-
isAllClient?: boolean;
|
|
51
|
-
metricCreationMode?: string;
|
|
52
|
-
datasourceId?: string;
|
|
53
|
-
} | null;
|
|
54
|
-
export type UseMetricQueryQueryInputType = {
|
|
55
|
-
id?: string;
|
|
56
|
-
clientId?: string;
|
|
57
|
-
globalFilters?: Record<string, any>;
|
|
58
|
-
rlsConditions?: any[];
|
|
59
|
-
filterValues?: Record<string, any>;
|
|
60
|
-
tenancyLevel?: string;
|
|
61
|
-
drillFilters?: any[];
|
|
62
|
-
limit?: number;
|
|
63
|
-
offset?: number;
|
|
64
|
-
isAllClient?: boolean;
|
|
65
|
-
disableStringify?: boolean;
|
|
66
|
-
pivotHeaders?: string[];
|
|
67
|
-
timeseriesSettings?: {
|
|
68
|
-
format: string;
|
|
69
|
-
seriesField: string;
|
|
70
|
-
};
|
|
71
|
-
chartSeriesField?: string;
|
|
72
|
-
comparisonCount?: number;
|
|
73
|
-
dynamicXAxis?: {
|
|
74
|
-
isEnable: boolean;
|
|
75
|
-
xaxis: string;
|
|
76
|
-
};
|
|
77
|
-
dbId?: string;
|
|
78
|
-
};
|
|
79
|
-
export type UseMetricQueryQueryOutputType = {
|
|
80
|
-
data?: any | null;
|
|
81
|
-
timeTaken?: number | null;
|
|
82
|
-
totalRecords?: number | null;
|
|
83
|
-
metaData?: any | null;
|
|
84
|
-
};
|
|
85
|
-
export type UseMetricColumnMutationInputType = {
|
|
86
|
-
tableName?: string;
|
|
87
|
-
columnName?: string;
|
|
88
|
-
wId?: string;
|
|
89
|
-
filter?: Record<string, any>;
|
|
90
|
-
customTable?: {
|
|
91
|
-
query: string;
|
|
92
|
-
alias: string;
|
|
93
|
-
};
|
|
94
|
-
labelColumnName?: string;
|
|
95
|
-
limit?: string;
|
|
96
|
-
datasourceId: string;
|
|
97
|
-
};
|
|
98
|
-
export type UseMetricUnderlyingDataMutationInputType = {
|
|
99
|
-
columnName?: string;
|
|
100
|
-
companyId?: string;
|
|
101
|
-
query?: string;
|
|
102
|
-
value?: any;
|
|
103
|
-
workspaceId?: string;
|
|
104
|
-
metricId?: string;
|
|
105
|
-
isCustomSql?: boolean;
|
|
106
|
-
};
|
|
107
|
-
export type UseMetricShareCsvMutationInputType = {
|
|
108
|
-
configurations?: Record<string, any>;
|
|
109
|
-
emails?: string[];
|
|
110
|
-
expireCsvFileAt?: string;
|
|
111
|
-
expireUrlIn?: number;
|
|
112
|
-
externalMetricId?: string;
|
|
113
|
-
integrationId?: string;
|
|
114
|
-
integrationName?: string;
|
|
115
|
-
query?: string;
|
|
116
|
-
sharingSettingsId?: string;
|
|
117
|
-
subject?: string;
|
|
118
|
-
};
|
|
119
|
-
export type UseSaveDashboardLayoutMutationInputType = {
|
|
120
|
-
clientId: string;
|
|
121
|
-
externalDashboardId: string;
|
|
122
|
-
layout: any[];
|
|
123
|
-
isLocked?: boolean;
|
|
124
|
-
dashboardFiltersLayout?: any[];
|
|
125
|
-
gridMargin?: {
|
|
126
|
-
verticalMargin?: number;
|
|
127
|
-
horizontalMargin?: number;
|
|
128
|
-
} | null;
|
|
129
|
-
};
|
|
130
|
-
export type UseDeleteDashboardScheduleReportMutationInputType = {
|
|
131
|
-
token: string;
|
|
132
|
-
id: string;
|
|
133
|
-
};
|
|
134
|
-
export type UseSaveDashboardScheduleReportMutationInputType = {
|
|
135
|
-
emails?: any;
|
|
136
|
-
externalDashboardId?: string;
|
|
137
|
-
guestToken?: string;
|
|
138
|
-
nextScheduledAt?: string;
|
|
139
|
-
sharingSettingsId?: string;
|
|
140
|
-
subject?: string;
|
|
141
|
-
timeConfigurations?: any;
|
|
142
|
-
data?: any;
|
|
143
|
-
isInternal?: boolean;
|
|
144
|
-
};
|
|
145
|
-
export type UseMarkArchivedMutationInputType = {
|
|
146
|
-
id?: string;
|
|
147
|
-
};
|
|
148
|
-
export type UsePublishArchivedMetricsMutationInputType = {
|
|
149
|
-
externalMetricIds?: string[];
|
|
150
|
-
archiveMetrics?: string[];
|
|
151
|
-
};
|
|
152
|
-
export type UseExecutePythonMutationInputType = {
|
|
153
|
-
code: string;
|
|
154
|
-
clientId?: string;
|
|
155
|
-
companyId: string;
|
|
156
|
-
rlsConditions?: RlsCondition[];
|
|
157
|
-
};
|
|
158
|
-
export type ExternalMetricsInsertInput = {
|
|
159
|
-
chartOptions?: any;
|
|
160
|
-
clientDeletedMetrics?: any;
|
|
161
|
-
clientId?: string;
|
|
162
|
-
companyId?: string;
|
|
163
|
-
companyIntegrationId?: string;
|
|
164
|
-
createdAt?: string;
|
|
165
|
-
createdBy?: string;
|
|
166
|
-
datasetMetricSettings?: any;
|
|
167
|
-
description?: string;
|
|
168
|
-
drillDownSettings?: any;
|
|
169
|
-
externalDashboardMetrics?: any;
|
|
170
|
-
externalMetricRawCsvUrl?: any;
|
|
171
|
-
externalMetricsRlsFilters?: any;
|
|
172
|
-
groupBy?: any;
|
|
173
|
-
inputFields?: any;
|
|
174
|
-
integrationName?: string;
|
|
175
|
-
isCreatedByClient?: boolean;
|
|
176
|
-
isEnableGroupBy?: boolean;
|
|
177
|
-
isLive?: boolean;
|
|
178
|
-
metricId?: string;
|
|
179
|
-
metricQuery?: string;
|
|
180
|
-
name?: string;
|
|
181
|
-
outputColumns?: string;
|
|
182
|
-
query?: string;
|
|
183
|
-
resizeAttributes?: any;
|
|
184
|
-
scheduleEmailReportCharts?: any;
|
|
185
|
-
selectedGroupBy?: any;
|
|
186
|
-
timeGrain?: string;
|
|
187
|
-
updatedAt?: string;
|
|
188
|
-
elementSettings?: any;
|
|
189
|
-
isMetric?: boolean;
|
|
190
|
-
};
|
|
191
|
-
export type UseUpdateAdminMetricMutationInputType = {
|
|
192
|
-
externalMetricId: string;
|
|
193
|
-
object: ExternalMetricsInsertInput;
|
|
194
|
-
clientId: string;
|
|
195
|
-
};
|
|
196
|
-
export type ExternalMetricsSetInput = {
|
|
197
|
-
chartOptions?: any;
|
|
198
|
-
description?: string;
|
|
199
|
-
metricId?: string;
|
|
200
|
-
name?: string;
|
|
201
|
-
resizeAttributes?: any;
|
|
202
|
-
updatedAt?: any;
|
|
203
|
-
};
|
|
204
|
-
export type UseUpdateMetricMutationInputType = {
|
|
205
|
-
externalMetricId: string;
|
|
206
|
-
set: ExternalMetricsSetInput;
|
|
207
|
-
};
|
|
208
|
-
export type UsePreviewTableMutationInputType = {
|
|
209
|
-
tableName?: string;
|
|
210
|
-
limit?: number;
|
|
211
|
-
integrationId?: string;
|
|
212
|
-
integrationName?: string;
|
|
213
|
-
};
|
|
214
|
-
export type UseGenerateMetricDataMutationInputType = {
|
|
215
|
-
questionString: string;
|
|
216
|
-
};
|
|
217
|
-
export type UseGenerateMetricMutationInputType = {
|
|
218
|
-
userInputs?: any;
|
|
219
|
-
integrationName?: string;
|
|
220
|
-
integrationId?: string;
|
|
221
|
-
};
|
|
222
|
-
export type UseDatatsetMetricMutationInputType = {
|
|
223
|
-
cId: string;
|
|
224
|
-
configuration: DatasetMetricCreationConfiguration;
|
|
225
|
-
id: string;
|
|
226
|
-
datasourceId: string;
|
|
227
|
-
};
|
|
228
|
-
export type UseNewDatatsetMetricMutationInputType = {
|
|
229
|
-
configuration: DatasetMetricCreationConfiguration;
|
|
230
|
-
id: string;
|
|
231
|
-
datasourceId: string;
|
|
232
|
-
};
|
|
233
|
-
export type UseGenerateMetricSummaryMutationInputType = {
|
|
234
|
-
data: Record<string, any>[];
|
|
235
|
-
wId?: string;
|
|
236
|
-
};
|
|
237
|
-
export type DbChatMetricCreationType = {
|
|
238
|
-
wId?: string;
|
|
239
|
-
question: string;
|
|
240
|
-
config?: any;
|
|
241
|
-
};
|
|
242
|
-
export type DbChatMetricCreationOutputType = {
|
|
243
|
-
data: any;
|
|
244
|
-
};
|
|
245
|
-
export type UseCreateMetricMutationInputType = {
|
|
246
|
-
chartOptions?: any;
|
|
247
|
-
companyId?: string;
|
|
248
|
-
companyIntegrationId?: string;
|
|
249
|
-
description?: string;
|
|
250
|
-
inputFields?: any;
|
|
251
|
-
integrationName?: string;
|
|
252
|
-
metricId?: string;
|
|
253
|
-
metricQuery?: string;
|
|
254
|
-
name?: string;
|
|
255
|
-
outputColumns?: string;
|
|
256
|
-
query?: string;
|
|
257
|
-
isLive?: boolean;
|
|
258
|
-
clientId?: string | null;
|
|
259
|
-
isCreatedByClient?: boolean;
|
|
260
|
-
createdBy?: string;
|
|
261
|
-
timeGrain?: string | null;
|
|
262
|
-
externalDashboardIds?: any;
|
|
263
|
-
selectedGroupBy?: any;
|
|
264
|
-
isEnableGroupBy?: boolean;
|
|
265
|
-
datasetMetricSettings?: any;
|
|
266
|
-
groupBy?: any;
|
|
267
|
-
drillDownSettings?: any;
|
|
268
|
-
};
|
|
269
|
-
export type CompanyIntegrations = {
|
|
270
|
-
companyId: string;
|
|
271
|
-
companyWorkspace: any;
|
|
272
|
-
customSqlColumns: any;
|
|
273
|
-
externalMetrics: any;
|
|
274
|
-
id: string;
|
|
275
|
-
integrationId: string;
|
|
276
|
-
name: string;
|
|
277
|
-
workspaceId: string;
|
|
278
|
-
};
|
|
279
|
-
export type ExternalMetrics = {
|
|
280
|
-
chartOptions: any;
|
|
281
|
-
clickActions: any;
|
|
282
|
-
clientDeletedMetrics: any;
|
|
283
|
-
clientId?: string;
|
|
284
|
-
companyId: string;
|
|
285
|
-
companyIntegration: CompanyIntegrations;
|
|
286
|
-
companyIntegrationId: string;
|
|
287
|
-
createdAt: string;
|
|
288
|
-
createdBy?: string;
|
|
289
|
-
datasetMetricSettings?: any;
|
|
290
|
-
description: string;
|
|
291
|
-
drillDownSettings?: any;
|
|
292
|
-
/** An array relationship */
|
|
293
|
-
externalDashboardMetrics: any;
|
|
294
|
-
/** An object relationship */
|
|
295
|
-
externalMetricRawCsvUrl?: any;
|
|
296
|
-
/** An array relationship */
|
|
297
|
-
externalMetricsRlsFilters: any;
|
|
298
|
-
groupBy: any;
|
|
299
|
-
id: string;
|
|
300
|
-
inputFields?: any;
|
|
301
|
-
integrationName: string;
|
|
302
|
-
isArchived: boolean;
|
|
303
|
-
isCreatedByClient: boolean;
|
|
304
|
-
isEnableGroupBy: boolean;
|
|
305
|
-
isLive: boolean;
|
|
306
|
-
isMarkedDeleted: boolean;
|
|
307
|
-
metricId: string;
|
|
308
|
-
metricQuery?: string;
|
|
309
|
-
name: string;
|
|
310
|
-
outputColumns?: string;
|
|
311
|
-
query: string;
|
|
312
|
-
resizeAttributes: any;
|
|
313
|
-
rlsConditions: any;
|
|
314
|
-
scheduleEmailReportCharts: any;
|
|
315
|
-
selectedGroupBy: any;
|
|
316
|
-
timeGrain?: string;
|
|
317
|
-
updatedAt: string;
|
|
318
|
-
};
|
|
319
|
-
export type ChatCompletionRequestMessage = {
|
|
320
|
-
/**
|
|
321
|
-
* The role of the author of this message.
|
|
322
|
-
* @type {string}
|
|
323
|
-
* @memberof ChatCompletionRequestMessage
|
|
324
|
-
*/
|
|
325
|
-
role: 'system' | 'user' | 'assistant';
|
|
326
|
-
/**
|
|
327
|
-
* The contents of the message
|
|
328
|
-
* @type {string}
|
|
329
|
-
* @memberof ChatCompletionRequestMessage
|
|
330
|
-
*/
|
|
331
|
-
content: string;
|
|
332
|
-
/**
|
|
333
|
-
* The name of the user in a multi-user chat
|
|
334
|
-
* @type {string}
|
|
335
|
-
* @memberof ChatCompletionRequestMessage
|
|
336
|
-
*/
|
|
337
|
-
name?: string;
|
|
338
|
-
};
|
|
339
|
-
export type UseChatApiResponseType = {
|
|
340
|
-
messages: ChatCompletionRequestMessage[];
|
|
341
|
-
};
|
|
342
|
-
export type SummarizeMetricMutationType = {
|
|
343
|
-
metricData: any;
|
|
344
|
-
summaryPrompt: string;
|
|
345
|
-
id: string;
|
|
346
|
-
filters: string;
|
|
347
|
-
name: string;
|
|
348
|
-
description: string;
|
|
349
|
-
workspaceId: string;
|
|
350
|
-
};
|