@databrainhq/plugin 0.7.13 → 0.7.14
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 +2 -3
- package/dist/components/Button/index.d.ts +0 -13
- package/dist/components/ChartModal/ChartConfig.d.ts +0 -18
- package/dist/components/ChartModal/ChartModalOptions.d.ts +0 -6
- package/dist/components/ChartModal/SelectField.d.ts +0 -2
- package/dist/components/ChartModal/index.d.ts +0 -3
- package/dist/components/Charts/AreaChart.d.ts +0 -3
- package/dist/components/Charts/BarChart.d.ts +0 -24
- package/dist/components/Charts/BoxPlot.d.ts +0 -3
- package/dist/components/Charts/BubbleChart.d.ts +0 -3
- package/dist/components/Charts/ComboChart.d.ts +0 -3
- package/dist/components/Charts/DoughnutChart.d.ts +0 -3
- package/dist/components/Charts/FunnelChart.d.ts +0 -3
- package/dist/components/Charts/GaugeChart.d.ts +0 -3
- package/dist/components/Charts/Histogram.d.ts +0 -3
- package/dist/components/Charts/LineChart.d.ts +0 -25
- package/dist/components/Charts/PieChart.d.ts +0 -3
- package/dist/components/Charts/RowChart.d.ts +0 -3
- package/dist/components/Charts/SankeyChart.d.ts +0 -3
- package/dist/components/Charts/ScatterChart.d.ts +0 -3
- package/dist/components/Charts/SingleValueChart/index.d.ts +0 -3
- package/dist/components/Charts/StackedBarChart.d.ts +0 -3
- package/dist/components/Charts/SteppedAreaChart.d.ts +0 -3
- package/dist/components/Charts/Table/TableChart.d.ts +0 -3
- package/dist/components/Charts/WaterfallChart.d.ts +0 -3
- package/dist/components/DataType/index.d.ts +0 -2
- 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 -15
- package/dist/components/FilterDropDown/index.d.ts +0 -11
- package/dist/components/FilterField/index.d.ts +0 -21
- package/dist/components/FloatingDropDown/index.d.ts +0 -23
- package/dist/components/FullScreenChart/index.d.ts +0 -9
- package/dist/components/GlobalFilters/index.d.ts +0 -11
- package/dist/components/InfoTooltip/index.d.ts +0 -8
- package/dist/components/InputField/index.d.ts +0 -15
- package/dist/components/MetricChart/CsvDownloadButton.d.ts +0 -10
- package/dist/components/MetricChart/MetricChart.d.ts +0 -36
- package/dist/components/MetricChart/index.d.ts +0 -2
- 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/components/ChartConfigure/index.d.ts +0 -20
- package/dist/components/MetricCreation/components/MetricOutput/components/ChartTab/components/ChartSettings/index.d.ts +0 -32
- package/dist/components/MetricCreation/components/MetricOutput/components/ChartTab/index.d.ts +0 -50
- package/dist/components/MetricCreation/components/MetricOutput/components/TableTab/components/InputTables/index.d.ts +0 -2
- package/dist/components/MetricCreation/components/MetricOutput/components/TableTab/index.d.ts +0 -9
- package/dist/components/MetricCreation/components/MetricOutput/index.d.ts +0 -3
- package/dist/components/MetricCreation/index.d.ts +0 -5
- package/dist/components/MetricList/MetricList.d.ts +0 -45
- package/dist/components/MetricList/components/MetricCard.d.ts +0 -18
- package/dist/components/MetricList/components/SingleValueCard.d.ts +0 -3
- package/dist/components/MetricList/index.d.ts +0 -3
- package/dist/components/MetricTable/index.d.ts +0 -7
- package/dist/components/Modal/Modal.d.ts +0 -9
- package/dist/components/Modal/ModalFooter.d.ts +0 -5
- package/dist/components/Modal/index.d.ts +0 -2
- package/dist/components/PopoverMenu/index.d.ts +0 -11
- package/dist/components/SearchTab/index.d.ts +0 -2
- package/dist/components/Select/index.d.ts +0 -48
- package/dist/components/Tab/index.d.ts +0 -10
- package/dist/components/Table/index.d.ts +0 -8
- package/dist/components/Text/index.d.ts +0 -10
- package/dist/components/TextAreaField/index.d.ts +0 -19
- package/dist/components/TimeGrainField/index.d.ts +0 -13
- package/dist/components/ToggleButton/index.d.ts +0 -12
- package/dist/components/index.d.ts +0 -27
- package/dist/consts/app.d.ts +0 -39
- package/dist/consts/index.d.ts +0 -2
- package/dist/consts/metricOptions.d.ts +0 -17
- package/dist/containers/Dashboard/Dashboard.d.ts +0 -4
- package/dist/containers/Dashboard/EmbededDashboard.d.ts +0 -12
- package/dist/containers/Dashboard/index.d.ts +0 -2
- package/dist/containers/index.d.ts +0 -1
- package/dist/helpers/cardActions.d.ts +0 -4
- package/dist/helpers/getModifiedQuery.d.ts +0 -6
- package/dist/helpers/getTimeFilterValue.d.ts +0 -8
- package/dist/helpers/groupArray.d.ts +0 -1
- package/dist/helpers/groupBy.d.ts +0 -6
- package/dist/helpers/index.d.ts +0 -4
- package/dist/hooks/index.d.ts +0 -5
- package/dist/hooks/useEmbeddedDashboard.d.ts +0 -53
- package/dist/hooks/useExternalMetric.d.ts +0 -39
- package/dist/hooks/useGenerateDatasetMetrics.d.ts +0 -13
- package/dist/hooks/useGenerateEmbeddedMetric.d.ts +0 -15
- package/dist/hooks/useOutsideAlerter.d.ts +0 -7
- package/dist/index.d.ts +0 -7
- package/dist/index.es.js +0 -91987
- package/dist/index.umd.js +0 -328
- package/dist/style.css +0 -1
- package/dist/types/app.d.ts +0 -132
- package/dist/types/index.d.ts +0 -2
- package/dist/types/metricCreate.d.ts +0 -132
- package/dist/typings.d.ts +0 -17
- package/dist/utils/arrayToCsvString.d.ts +0 -6
- package/dist/utils/colors.d.ts +0 -1
- package/dist/utils/fetcher.d.ts +0 -1
- package/dist/utils/generated/graphql.d.ts +0 -1746
- package/dist/utils/getChartAttributes.d.ts +0 -27
- package/dist/utils/getFormattedDataType.d.ts +0 -1
- package/dist/utils/index.d.ts +0 -5
- package/dist/utils/theme.d.ts +0 -87
|
@@ -1,1746 +0,0 @@
|
|
|
1
|
-
import { UseMutationOptions, UseQueryOptions } from 'react-query';
|
|
2
|
-
export declare type Maybe<T> = T | null;
|
|
3
|
-
export declare type InputMaybe<T> = Maybe<T>;
|
|
4
|
-
export declare type Exact<T extends {
|
|
5
|
-
[key: string]: unknown;
|
|
6
|
-
}> = {
|
|
7
|
-
[K in keyof T]: T[K];
|
|
8
|
-
};
|
|
9
|
-
export declare type MakeOptional<T, K extends keyof T> = Omit<T, K> & {
|
|
10
|
-
[SubKey in K]?: Maybe<T[SubKey]>;
|
|
11
|
-
};
|
|
12
|
-
export declare type MakeMaybe<T, K extends keyof T> = Omit<T, K> & {
|
|
13
|
-
[SubKey in K]: Maybe<T[SubKey]>;
|
|
14
|
-
};
|
|
15
|
-
/** All built-in and custom scalars, mapped to their actual values */
|
|
16
|
-
export declare type Scalars = {
|
|
17
|
-
ID: string;
|
|
18
|
-
String: string;
|
|
19
|
-
Boolean: boolean;
|
|
20
|
-
Int: number;
|
|
21
|
-
Float: number;
|
|
22
|
-
json: any;
|
|
23
|
-
jsonb: any;
|
|
24
|
-
timestamptz: any;
|
|
25
|
-
uuid: any;
|
|
26
|
-
};
|
|
27
|
-
/** Boolean expression to compare columns of type "Boolean". All fields are combined with logical 'AND'. */
|
|
28
|
-
export declare type Boolean_Comparison_Exp = {
|
|
29
|
-
_eq?: InputMaybe<Scalars['Boolean']>;
|
|
30
|
-
_gt?: InputMaybe<Scalars['Boolean']>;
|
|
31
|
-
_gte?: InputMaybe<Scalars['Boolean']>;
|
|
32
|
-
_in?: InputMaybe<Array<Scalars['Boolean']>>;
|
|
33
|
-
_is_null?: InputMaybe<Scalars['Boolean']>;
|
|
34
|
-
_lt?: InputMaybe<Scalars['Boolean']>;
|
|
35
|
-
_lte?: InputMaybe<Scalars['Boolean']>;
|
|
36
|
-
_neq?: InputMaybe<Scalars['Boolean']>;
|
|
37
|
-
_nin?: InputMaybe<Array<Scalars['Boolean']>>;
|
|
38
|
-
};
|
|
39
|
-
export declare type ColumnData = {
|
|
40
|
-
__typename?: 'ColumnData';
|
|
41
|
-
label: Scalars['String'];
|
|
42
|
-
value: Scalars['String'];
|
|
43
|
-
};
|
|
44
|
-
export declare type ColumnDataError = {
|
|
45
|
-
__typename?: 'ColumnDataError';
|
|
46
|
-
message: Scalars['String'];
|
|
47
|
-
};
|
|
48
|
-
export declare type EmbeddedDashboardDataInput = {
|
|
49
|
-
token: Scalars['String'];
|
|
50
|
-
};
|
|
51
|
-
export declare type EmbeddedDashboardDataOutput = {
|
|
52
|
-
__typename?: 'EmbeddedDashboardDataOutput';
|
|
53
|
-
clientId?: Maybe<Scalars['String']>;
|
|
54
|
-
companyId?: Maybe<Scalars['String']>;
|
|
55
|
-
companyTenancyType?: Maybe<Scalars['String']>;
|
|
56
|
-
dashboardFilters?: Maybe<Scalars['json']>;
|
|
57
|
-
error?: Maybe<Error>;
|
|
58
|
-
externalDashboardId?: Maybe<Scalars['String']>;
|
|
59
|
-
externalMetrics?: Maybe<Array<Maybe<Scalars['json']>>>;
|
|
60
|
-
guestToken?: Maybe<Scalars['String']>;
|
|
61
|
-
isAllowedToCreateMetrics?: Maybe<Scalars['Boolean']>;
|
|
62
|
-
isLive?: Maybe<Scalars['Boolean']>;
|
|
63
|
-
isTestKey?: Maybe<Scalars['Boolean']>;
|
|
64
|
-
rlsSettings?: Maybe<Scalars['json']>;
|
|
65
|
-
};
|
|
66
|
-
export declare type Error = {
|
|
67
|
-
__typename?: 'Error';
|
|
68
|
-
message: Scalars['String'];
|
|
69
|
-
};
|
|
70
|
-
export declare type ExternalMetricQueryInput = {
|
|
71
|
-
clientId?: InputMaybe<Scalars['String']>;
|
|
72
|
-
externalMetricId: Scalars['String'];
|
|
73
|
-
filterValues?: InputMaybe<Scalars['json']>;
|
|
74
|
-
globalFilters?: InputMaybe<Scalars['json']>;
|
|
75
|
-
rlsConditions?: InputMaybe<Scalars['json']>;
|
|
76
|
-
tenancyLevel?: InputMaybe<Scalars['String']>;
|
|
77
|
-
};
|
|
78
|
-
export declare type ExternalMetricQueryOutput = {
|
|
79
|
-
__typename?: 'ExternalMetricQueryOutput';
|
|
80
|
-
data?: Maybe<Scalars['json']>;
|
|
81
|
-
timeTaken?: Maybe<Scalars['Float']>;
|
|
82
|
-
};
|
|
83
|
-
export declare type FetchColumnDataInput = {
|
|
84
|
-
columnName: Scalars['String'];
|
|
85
|
-
companyId: Scalars['String'];
|
|
86
|
-
tableName: Scalars['String'];
|
|
87
|
-
};
|
|
88
|
-
export declare type FetchColumnDataOutput = {
|
|
89
|
-
__typename?: 'FetchColumnDataOutput';
|
|
90
|
-
data?: Maybe<Array<Maybe<ColumnData>>>;
|
|
91
|
-
error?: Maybe<ColumnDataError>;
|
|
92
|
-
};
|
|
93
|
-
export declare type GenerateDatasetMetricsInput = {
|
|
94
|
-
companyId: Scalars['String'];
|
|
95
|
-
userInputs: Scalars['json'];
|
|
96
|
-
};
|
|
97
|
-
export declare type GenerateDatasetMetricsOutput = {
|
|
98
|
-
__typename?: 'GenerateDatasetMetricsOutput';
|
|
99
|
-
error?: Maybe<Scalars['json']>;
|
|
100
|
-
query?: Maybe<Scalars['String']>;
|
|
101
|
-
result?: Maybe<Scalars['json']>;
|
|
102
|
-
timeTaken?: Maybe<Scalars['Float']>;
|
|
103
|
-
};
|
|
104
|
-
export declare type GenerateEmbeddedMeticInput = {
|
|
105
|
-
clientId: Scalars['String'];
|
|
106
|
-
companyId: Scalars['String'];
|
|
107
|
-
queryPrompt: Scalars['String'];
|
|
108
|
-
timeGrain?: InputMaybe<Scalars['String']>;
|
|
109
|
-
};
|
|
110
|
-
export declare type GenerateEmbeddedMeticOutput = {
|
|
111
|
-
__typename?: 'GenerateEmbeddedMeticOutput';
|
|
112
|
-
error?: Maybe<Error>;
|
|
113
|
-
query?: Maybe<Scalars['String']>;
|
|
114
|
-
result?: Maybe<Scalars['json']>;
|
|
115
|
-
};
|
|
116
|
-
export declare type GenerateExternalMetricQueryInput = {
|
|
117
|
-
inputData: Scalars['json'];
|
|
118
|
-
};
|
|
119
|
-
export declare type GenerateExternalMetricQueryOutput = {
|
|
120
|
-
__typename?: 'GenerateExternalMetricQueryOutput';
|
|
121
|
-
query: Scalars['String'];
|
|
122
|
-
};
|
|
123
|
-
export declare type PreviewTableData = {
|
|
124
|
-
__typename?: 'PreviewTableData';
|
|
125
|
-
data?: Maybe<Scalars['json']>;
|
|
126
|
-
isError: Scalars['Boolean'];
|
|
127
|
-
name: Scalars['String'];
|
|
128
|
-
};
|
|
129
|
-
export declare type PreviewTableError = {
|
|
130
|
-
__typename?: 'PreviewTableError';
|
|
131
|
-
message: Scalars['String'];
|
|
132
|
-
};
|
|
133
|
-
export declare type PreviewTableInput = {
|
|
134
|
-
companyId: Scalars['String'];
|
|
135
|
-
limit: Scalars['Int'];
|
|
136
|
-
tableName: Scalars['String'];
|
|
137
|
-
};
|
|
138
|
-
export declare type PreviewTableOutput = {
|
|
139
|
-
__typename?: 'PreviewTableOutput';
|
|
140
|
-
data?: Maybe<PreviewTableData>;
|
|
141
|
-
error?: Maybe<PreviewTableError>;
|
|
142
|
-
};
|
|
143
|
-
/** Boolean expression to compare columns of type "String". All fields are combined with logical 'AND'. */
|
|
144
|
-
export declare type String_Comparison_Exp = {
|
|
145
|
-
_eq?: InputMaybe<Scalars['String']>;
|
|
146
|
-
_gt?: InputMaybe<Scalars['String']>;
|
|
147
|
-
_gte?: InputMaybe<Scalars['String']>;
|
|
148
|
-
/** does the column match the given case-insensitive pattern */
|
|
149
|
-
_ilike?: InputMaybe<Scalars['String']>;
|
|
150
|
-
_in?: InputMaybe<Array<Scalars['String']>>;
|
|
151
|
-
/** does the column match the given POSIX regular expression, case insensitive */
|
|
152
|
-
_iregex?: InputMaybe<Scalars['String']>;
|
|
153
|
-
_is_null?: InputMaybe<Scalars['Boolean']>;
|
|
154
|
-
/** does the column match the given pattern */
|
|
155
|
-
_like?: InputMaybe<Scalars['String']>;
|
|
156
|
-
_lt?: InputMaybe<Scalars['String']>;
|
|
157
|
-
_lte?: InputMaybe<Scalars['String']>;
|
|
158
|
-
_neq?: InputMaybe<Scalars['String']>;
|
|
159
|
-
/** does the column NOT match the given case-insensitive pattern */
|
|
160
|
-
_nilike?: InputMaybe<Scalars['String']>;
|
|
161
|
-
_nin?: InputMaybe<Array<Scalars['String']>>;
|
|
162
|
-
/** does the column NOT match the given POSIX regular expression, case insensitive */
|
|
163
|
-
_niregex?: InputMaybe<Scalars['String']>;
|
|
164
|
-
/** does the column NOT match the given pattern */
|
|
165
|
-
_nlike?: InputMaybe<Scalars['String']>;
|
|
166
|
-
/** does the column NOT match the given POSIX regular expression, case sensitive */
|
|
167
|
-
_nregex?: InputMaybe<Scalars['String']>;
|
|
168
|
-
/** does the column NOT match the given SQL regular expression */
|
|
169
|
-
_nsimilar?: InputMaybe<Scalars['String']>;
|
|
170
|
-
/** does the column match the given POSIX regular expression, case sensitive */
|
|
171
|
-
_regex?: InputMaybe<Scalars['String']>;
|
|
172
|
-
/** does the column match the given SQL regular expression */
|
|
173
|
-
_similar?: InputMaybe<Scalars['String']>;
|
|
174
|
-
};
|
|
175
|
-
export declare type SubsetColumns = {
|
|
176
|
-
__typename?: 'SubsetColumns';
|
|
177
|
-
as: Scalars['String'];
|
|
178
|
-
datatype: Scalars['String'];
|
|
179
|
-
name: Scalars['String'];
|
|
180
|
-
};
|
|
181
|
-
export declare type TableList = {
|
|
182
|
-
__typename?: 'TableList';
|
|
183
|
-
clientColumn?: Maybe<Scalars['String']>;
|
|
184
|
-
columns?: Maybe<Array<Maybe<SubsetColumns>>>;
|
|
185
|
-
tableName: Scalars['String'];
|
|
186
|
-
};
|
|
187
|
-
/** columns and relationships of "companyIntegrations" */
|
|
188
|
-
export declare type CompanyIntegrations = {
|
|
189
|
-
__typename?: 'companyIntegrations';
|
|
190
|
-
companyId: Scalars['uuid'];
|
|
191
|
-
/** An array relationship */
|
|
192
|
-
externalMetrics: Array<ExternalMetrics>;
|
|
193
|
-
id: Scalars['uuid'];
|
|
194
|
-
/** connected source or destination id */
|
|
195
|
-
integrationId: Scalars['uuid'];
|
|
196
|
-
name: Scalars['String'];
|
|
197
|
-
};
|
|
198
|
-
/** columns and relationships of "companyIntegrations" */
|
|
199
|
-
export declare type CompanyIntegrationsExternalMetricsArgs = {
|
|
200
|
-
distinct_on?: InputMaybe<Array<ExternalMetrics_Select_Column>>;
|
|
201
|
-
limit?: InputMaybe<Scalars['Int']>;
|
|
202
|
-
offset?: InputMaybe<Scalars['Int']>;
|
|
203
|
-
order_by?: InputMaybe<Array<ExternalMetrics_Order_By>>;
|
|
204
|
-
where?: InputMaybe<ExternalMetrics_Bool_Exp>;
|
|
205
|
-
};
|
|
206
|
-
/** Boolean expression to filter rows from the table "companyIntegrations". All fields are combined with a logical 'AND'. */
|
|
207
|
-
export declare type CompanyIntegrations_Bool_Exp = {
|
|
208
|
-
_and?: InputMaybe<Array<CompanyIntegrations_Bool_Exp>>;
|
|
209
|
-
_not?: InputMaybe<CompanyIntegrations_Bool_Exp>;
|
|
210
|
-
_or?: InputMaybe<Array<CompanyIntegrations_Bool_Exp>>;
|
|
211
|
-
companyId?: InputMaybe<Uuid_Comparison_Exp>;
|
|
212
|
-
externalMetrics?: InputMaybe<ExternalMetrics_Bool_Exp>;
|
|
213
|
-
id?: InputMaybe<Uuid_Comparison_Exp>;
|
|
214
|
-
integrationId?: InputMaybe<Uuid_Comparison_Exp>;
|
|
215
|
-
name?: InputMaybe<String_Comparison_Exp>;
|
|
216
|
-
};
|
|
217
|
-
/** Ordering options when selecting data from "companyIntegrations". */
|
|
218
|
-
export declare type CompanyIntegrations_Order_By = {
|
|
219
|
-
companyId?: InputMaybe<Order_By>;
|
|
220
|
-
externalMetrics_aggregate?: InputMaybe<ExternalMetrics_Aggregate_Order_By>;
|
|
221
|
-
id?: InputMaybe<Order_By>;
|
|
222
|
-
integrationId?: InputMaybe<Order_By>;
|
|
223
|
-
name?: InputMaybe<Order_By>;
|
|
224
|
-
};
|
|
225
|
-
/** select columns of table "companyIntegrations" */
|
|
226
|
-
export declare enum CompanyIntegrations_Select_Column {
|
|
227
|
-
/** column name */
|
|
228
|
-
CompanyId = "companyId",
|
|
229
|
-
/** column name */
|
|
230
|
-
Id = "id",
|
|
231
|
-
/** column name */
|
|
232
|
-
IntegrationId = "integrationId",
|
|
233
|
-
/** column name */
|
|
234
|
-
Name = "name"
|
|
235
|
-
}
|
|
236
|
-
export declare type CompanySubsetTableDataError = {
|
|
237
|
-
__typename?: 'companySubsetTableDataError';
|
|
238
|
-
message: Scalars['String'];
|
|
239
|
-
};
|
|
240
|
-
export declare type CompanySubsetTableDataInput = {
|
|
241
|
-
clientId: Scalars['String'];
|
|
242
|
-
companyId: Scalars['String'];
|
|
243
|
-
};
|
|
244
|
-
export declare type CompanySubsetTableDataOutput = {
|
|
245
|
-
__typename?: 'companySubsetTableDataOutput';
|
|
246
|
-
companyIntegrationId?: Maybe<Scalars['String']>;
|
|
247
|
-
dbName?: Maybe<Scalars['String']>;
|
|
248
|
-
error?: Maybe<CompanySubsetTableDataError>;
|
|
249
|
-
tableList?: Maybe<Array<Maybe<TableList>>>;
|
|
250
|
-
};
|
|
251
|
-
/** subset of tables of user database */
|
|
252
|
-
export declare type CompanySubsetTables = {
|
|
253
|
-
__typename?: 'companySubsetTables';
|
|
254
|
-
companyId: Scalars['uuid'];
|
|
255
|
-
isAllowMetricCreation: Scalars['Boolean'];
|
|
256
|
-
tableList: Scalars['jsonb'];
|
|
257
|
-
};
|
|
258
|
-
/** subset of tables of user database */
|
|
259
|
-
export declare type CompanySubsetTablesTableListArgs = {
|
|
260
|
-
path?: InputMaybe<Scalars['String']>;
|
|
261
|
-
};
|
|
262
|
-
/** Boolean expression to filter rows from the table "companySubsetTables". All fields are combined with a logical 'AND'. */
|
|
263
|
-
export declare type CompanySubsetTables_Bool_Exp = {
|
|
264
|
-
_and?: InputMaybe<Array<CompanySubsetTables_Bool_Exp>>;
|
|
265
|
-
_not?: InputMaybe<CompanySubsetTables_Bool_Exp>;
|
|
266
|
-
_or?: InputMaybe<Array<CompanySubsetTables_Bool_Exp>>;
|
|
267
|
-
companyId?: InputMaybe<Uuid_Comparison_Exp>;
|
|
268
|
-
isAllowMetricCreation?: InputMaybe<Boolean_Comparison_Exp>;
|
|
269
|
-
tableList?: InputMaybe<Jsonb_Comparison_Exp>;
|
|
270
|
-
};
|
|
271
|
-
/** Ordering options when selecting data from "companySubsetTables". */
|
|
272
|
-
export declare type CompanySubsetTables_Order_By = {
|
|
273
|
-
companyId?: InputMaybe<Order_By>;
|
|
274
|
-
isAllowMetricCreation?: InputMaybe<Order_By>;
|
|
275
|
-
tableList?: InputMaybe<Order_By>;
|
|
276
|
-
};
|
|
277
|
-
/** select columns of table "companySubsetTables" */
|
|
278
|
-
export declare enum CompanySubsetTables_Select_Column {
|
|
279
|
-
/** column name */
|
|
280
|
-
CompanyId = "companyId",
|
|
281
|
-
/** column name */
|
|
282
|
-
IsAllowMetricCreation = "isAllowMetricCreation",
|
|
283
|
-
/** column name */
|
|
284
|
-
TableList = "tableList"
|
|
285
|
-
}
|
|
286
|
-
/** columns and relationships of "externalDashboardMetrics" */
|
|
287
|
-
export declare type ExternalDashboardMetrics = {
|
|
288
|
-
__typename?: 'externalDashboardMetrics';
|
|
289
|
-
/** An object relationship */
|
|
290
|
-
externalDashboard: ExternalDashboards;
|
|
291
|
-
externalDashboardId: Scalars['uuid'];
|
|
292
|
-
/** An object relationship */
|
|
293
|
-
externalMetric: ExternalMetrics;
|
|
294
|
-
externalMetricId: Scalars['uuid'];
|
|
295
|
-
};
|
|
296
|
-
/** order by aggregate values of table "externalDashboardMetrics" */
|
|
297
|
-
export declare type ExternalDashboardMetrics_Aggregate_Order_By = {
|
|
298
|
-
count?: InputMaybe<Order_By>;
|
|
299
|
-
max?: InputMaybe<ExternalDashboardMetrics_Max_Order_By>;
|
|
300
|
-
min?: InputMaybe<ExternalDashboardMetrics_Min_Order_By>;
|
|
301
|
-
};
|
|
302
|
-
/** input type for inserting array relation for remote table "externalDashboardMetrics" */
|
|
303
|
-
export declare type ExternalDashboardMetrics_Arr_Rel_Insert_Input = {
|
|
304
|
-
data: Array<ExternalDashboardMetrics_Insert_Input>;
|
|
305
|
-
/** upsert condition */
|
|
306
|
-
on_conflict?: InputMaybe<ExternalDashboardMetrics_On_Conflict>;
|
|
307
|
-
};
|
|
308
|
-
/** Boolean expression to filter rows from the table "externalDashboardMetrics". All fields are combined with a logical 'AND'. */
|
|
309
|
-
export declare type ExternalDashboardMetrics_Bool_Exp = {
|
|
310
|
-
_and?: InputMaybe<Array<ExternalDashboardMetrics_Bool_Exp>>;
|
|
311
|
-
_not?: InputMaybe<ExternalDashboardMetrics_Bool_Exp>;
|
|
312
|
-
_or?: InputMaybe<Array<ExternalDashboardMetrics_Bool_Exp>>;
|
|
313
|
-
externalDashboard?: InputMaybe<ExternalDashboards_Bool_Exp>;
|
|
314
|
-
externalDashboardId?: InputMaybe<Uuid_Comparison_Exp>;
|
|
315
|
-
externalMetric?: InputMaybe<ExternalMetrics_Bool_Exp>;
|
|
316
|
-
externalMetricId?: InputMaybe<Uuid_Comparison_Exp>;
|
|
317
|
-
};
|
|
318
|
-
/** unique or primary key constraints on table "externalDashboardMetrics" */
|
|
319
|
-
export declare enum ExternalDashboardMetrics_Constraint {
|
|
320
|
-
/** unique or primary key constraint on columns "externalMetricId", "externalDashboardId" */
|
|
321
|
-
ExternalDashboardMetricsPkey = "externalDashboardMetrics_pkey"
|
|
322
|
-
}
|
|
323
|
-
/** input type for inserting data into table "externalDashboardMetrics" */
|
|
324
|
-
export declare type ExternalDashboardMetrics_Insert_Input = {
|
|
325
|
-
externalDashboardId?: InputMaybe<Scalars['uuid']>;
|
|
326
|
-
externalMetric?: InputMaybe<ExternalMetrics_Obj_Rel_Insert_Input>;
|
|
327
|
-
externalMetricId?: InputMaybe<Scalars['uuid']>;
|
|
328
|
-
};
|
|
329
|
-
/** order by max() on columns of table "externalDashboardMetrics" */
|
|
330
|
-
export declare type ExternalDashboardMetrics_Max_Order_By = {
|
|
331
|
-
externalDashboardId?: InputMaybe<Order_By>;
|
|
332
|
-
externalMetricId?: InputMaybe<Order_By>;
|
|
333
|
-
};
|
|
334
|
-
/** order by min() on columns of table "externalDashboardMetrics" */
|
|
335
|
-
export declare type ExternalDashboardMetrics_Min_Order_By = {
|
|
336
|
-
externalDashboardId?: InputMaybe<Order_By>;
|
|
337
|
-
externalMetricId?: InputMaybe<Order_By>;
|
|
338
|
-
};
|
|
339
|
-
/** response of any mutation on the table "externalDashboardMetrics" */
|
|
340
|
-
export declare type ExternalDashboardMetrics_Mutation_Response = {
|
|
341
|
-
__typename?: 'externalDashboardMetrics_mutation_response';
|
|
342
|
-
/** number of rows affected by the mutation */
|
|
343
|
-
affected_rows: Scalars['Int'];
|
|
344
|
-
/** data from the rows affected by the mutation */
|
|
345
|
-
returning: Array<ExternalDashboardMetrics>;
|
|
346
|
-
};
|
|
347
|
-
/** on_conflict condition type for table "externalDashboardMetrics" */
|
|
348
|
-
export declare type ExternalDashboardMetrics_On_Conflict = {
|
|
349
|
-
constraint: ExternalDashboardMetrics_Constraint;
|
|
350
|
-
update_columns?: Array<ExternalDashboardMetrics_Update_Column>;
|
|
351
|
-
where?: InputMaybe<ExternalDashboardMetrics_Bool_Exp>;
|
|
352
|
-
};
|
|
353
|
-
/** Ordering options when selecting data from "externalDashboardMetrics". */
|
|
354
|
-
export declare type ExternalDashboardMetrics_Order_By = {
|
|
355
|
-
externalDashboard?: InputMaybe<ExternalDashboards_Order_By>;
|
|
356
|
-
externalDashboardId?: InputMaybe<Order_By>;
|
|
357
|
-
externalMetric?: InputMaybe<ExternalMetrics_Order_By>;
|
|
358
|
-
externalMetricId?: InputMaybe<Order_By>;
|
|
359
|
-
};
|
|
360
|
-
/** select columns of table "externalDashboardMetrics" */
|
|
361
|
-
export declare enum ExternalDashboardMetrics_Select_Column {
|
|
362
|
-
/** column name */
|
|
363
|
-
ExternalDashboardId = "externalDashboardId",
|
|
364
|
-
/** column name */
|
|
365
|
-
ExternalMetricId = "externalMetricId"
|
|
366
|
-
}
|
|
367
|
-
/** placeholder for update columns of table "externalDashboardMetrics" (current role has no relevant permissions) */
|
|
368
|
-
export declare enum ExternalDashboardMetrics_Update_Column {
|
|
369
|
-
/** placeholder (do not use) */
|
|
370
|
-
Placeholder = "_PLACEHOLDER"
|
|
371
|
-
}
|
|
372
|
-
/** External dashboard theme for a particular client. */
|
|
373
|
-
export declare type ExternalDashboardThemeClients = {
|
|
374
|
-
__typename?: 'externalDashboardThemeClients';
|
|
375
|
-
clientId: Scalars['String'];
|
|
376
|
-
clientName: Scalars['String'];
|
|
377
|
-
/** An object relationship */
|
|
378
|
-
externalDashboardTheme: ExternalDashboardThemes;
|
|
379
|
-
id: Scalars['uuid'];
|
|
380
|
-
themeId: Scalars['uuid'];
|
|
381
|
-
};
|
|
382
|
-
/** order by aggregate values of table "externalDashboardThemeClients" */
|
|
383
|
-
export declare type ExternalDashboardThemeClients_Aggregate_Order_By = {
|
|
384
|
-
count?: InputMaybe<Order_By>;
|
|
385
|
-
max?: InputMaybe<ExternalDashboardThemeClients_Max_Order_By>;
|
|
386
|
-
min?: InputMaybe<ExternalDashboardThemeClients_Min_Order_By>;
|
|
387
|
-
};
|
|
388
|
-
/** Boolean expression to filter rows from the table "externalDashboardThemeClients". All fields are combined with a logical 'AND'. */
|
|
389
|
-
export declare type ExternalDashboardThemeClients_Bool_Exp = {
|
|
390
|
-
_and?: InputMaybe<Array<ExternalDashboardThemeClients_Bool_Exp>>;
|
|
391
|
-
_not?: InputMaybe<ExternalDashboardThemeClients_Bool_Exp>;
|
|
392
|
-
_or?: InputMaybe<Array<ExternalDashboardThemeClients_Bool_Exp>>;
|
|
393
|
-
clientId?: InputMaybe<String_Comparison_Exp>;
|
|
394
|
-
clientName?: InputMaybe<String_Comparison_Exp>;
|
|
395
|
-
externalDashboardTheme?: InputMaybe<ExternalDashboardThemes_Bool_Exp>;
|
|
396
|
-
id?: InputMaybe<Uuid_Comparison_Exp>;
|
|
397
|
-
themeId?: InputMaybe<Uuid_Comparison_Exp>;
|
|
398
|
-
};
|
|
399
|
-
/** order by max() on columns of table "externalDashboardThemeClients" */
|
|
400
|
-
export declare type ExternalDashboardThemeClients_Max_Order_By = {
|
|
401
|
-
clientId?: InputMaybe<Order_By>;
|
|
402
|
-
clientName?: InputMaybe<Order_By>;
|
|
403
|
-
id?: InputMaybe<Order_By>;
|
|
404
|
-
themeId?: InputMaybe<Order_By>;
|
|
405
|
-
};
|
|
406
|
-
/** order by min() on columns of table "externalDashboardThemeClients" */
|
|
407
|
-
export declare type ExternalDashboardThemeClients_Min_Order_By = {
|
|
408
|
-
clientId?: InputMaybe<Order_By>;
|
|
409
|
-
clientName?: InputMaybe<Order_By>;
|
|
410
|
-
id?: InputMaybe<Order_By>;
|
|
411
|
-
themeId?: InputMaybe<Order_By>;
|
|
412
|
-
};
|
|
413
|
-
/** Ordering options when selecting data from "externalDashboardThemeClients". */
|
|
414
|
-
export declare type ExternalDashboardThemeClients_Order_By = {
|
|
415
|
-
clientId?: InputMaybe<Order_By>;
|
|
416
|
-
clientName?: InputMaybe<Order_By>;
|
|
417
|
-
externalDashboardTheme?: InputMaybe<ExternalDashboardThemes_Order_By>;
|
|
418
|
-
id?: InputMaybe<Order_By>;
|
|
419
|
-
themeId?: InputMaybe<Order_By>;
|
|
420
|
-
};
|
|
421
|
-
/** select columns of table "externalDashboardThemeClients" */
|
|
422
|
-
export declare enum ExternalDashboardThemeClients_Select_Column {
|
|
423
|
-
/** column name */
|
|
424
|
-
ClientId = "clientId",
|
|
425
|
-
/** column name */
|
|
426
|
-
ClientName = "clientName",
|
|
427
|
-
/** column name */
|
|
428
|
-
Id = "id",
|
|
429
|
-
/** column name */
|
|
430
|
-
ThemeId = "themeId"
|
|
431
|
-
}
|
|
432
|
-
/** Themes for external dashboard. */
|
|
433
|
-
export declare type ExternalDashboardThemes = {
|
|
434
|
-
__typename?: 'externalDashboardThemes';
|
|
435
|
-
colors: Scalars['jsonb'];
|
|
436
|
-
companyId: Scalars['uuid'];
|
|
437
|
-
createdAt: Scalars['timestamptz'];
|
|
438
|
-
/** An array relationship */
|
|
439
|
-
externalDashboardThemeClients: Array<ExternalDashboardThemeClients>;
|
|
440
|
-
id: Scalars['uuid'];
|
|
441
|
-
name: Scalars['String'];
|
|
442
|
-
};
|
|
443
|
-
/** Themes for external dashboard. */
|
|
444
|
-
export declare type ExternalDashboardThemesColorsArgs = {
|
|
445
|
-
path?: InputMaybe<Scalars['String']>;
|
|
446
|
-
};
|
|
447
|
-
/** Themes for external dashboard. */
|
|
448
|
-
export declare type ExternalDashboardThemesExternalDashboardThemeClientsArgs = {
|
|
449
|
-
distinct_on?: InputMaybe<Array<ExternalDashboardThemeClients_Select_Column>>;
|
|
450
|
-
limit?: InputMaybe<Scalars['Int']>;
|
|
451
|
-
offset?: InputMaybe<Scalars['Int']>;
|
|
452
|
-
order_by?: InputMaybe<Array<ExternalDashboardThemeClients_Order_By>>;
|
|
453
|
-
where?: InputMaybe<ExternalDashboardThemeClients_Bool_Exp>;
|
|
454
|
-
};
|
|
455
|
-
/** Boolean expression to filter rows from the table "externalDashboardThemes". All fields are combined with a logical 'AND'. */
|
|
456
|
-
export declare type ExternalDashboardThemes_Bool_Exp = {
|
|
457
|
-
_and?: InputMaybe<Array<ExternalDashboardThemes_Bool_Exp>>;
|
|
458
|
-
_not?: InputMaybe<ExternalDashboardThemes_Bool_Exp>;
|
|
459
|
-
_or?: InputMaybe<Array<ExternalDashboardThemes_Bool_Exp>>;
|
|
460
|
-
colors?: InputMaybe<Jsonb_Comparison_Exp>;
|
|
461
|
-
companyId?: InputMaybe<Uuid_Comparison_Exp>;
|
|
462
|
-
createdAt?: InputMaybe<Timestamptz_Comparison_Exp>;
|
|
463
|
-
externalDashboardThemeClients?: InputMaybe<ExternalDashboardThemeClients_Bool_Exp>;
|
|
464
|
-
id?: InputMaybe<Uuid_Comparison_Exp>;
|
|
465
|
-
name?: InputMaybe<String_Comparison_Exp>;
|
|
466
|
-
};
|
|
467
|
-
/** Ordering options when selecting data from "externalDashboardThemes". */
|
|
468
|
-
export declare type ExternalDashboardThemes_Order_By = {
|
|
469
|
-
colors?: InputMaybe<Order_By>;
|
|
470
|
-
companyId?: InputMaybe<Order_By>;
|
|
471
|
-
createdAt?: InputMaybe<Order_By>;
|
|
472
|
-
externalDashboardThemeClients_aggregate?: InputMaybe<ExternalDashboardThemeClients_Aggregate_Order_By>;
|
|
473
|
-
id?: InputMaybe<Order_By>;
|
|
474
|
-
name?: InputMaybe<Order_By>;
|
|
475
|
-
};
|
|
476
|
-
/** select columns of table "externalDashboardThemes" */
|
|
477
|
-
export declare enum ExternalDashboardThemes_Select_Column {
|
|
478
|
-
/** column name */
|
|
479
|
-
Colors = "colors",
|
|
480
|
-
/** column name */
|
|
481
|
-
CompanyId = "companyId",
|
|
482
|
-
/** column name */
|
|
483
|
-
CreatedAt = "createdAt",
|
|
484
|
-
/** column name */
|
|
485
|
-
Id = "id",
|
|
486
|
-
/** column name */
|
|
487
|
-
Name = "name"
|
|
488
|
-
}
|
|
489
|
-
/** columns and relationships of "externalDashboards" */
|
|
490
|
-
export declare type ExternalDashboards = {
|
|
491
|
-
__typename?: 'externalDashboards';
|
|
492
|
-
companyId: Scalars['uuid'];
|
|
493
|
-
externalDashboardId: Scalars['String'];
|
|
494
|
-
/** An array relationship */
|
|
495
|
-
externalDashboardMetrics: Array<ExternalDashboardMetrics>;
|
|
496
|
-
filters: Scalars['jsonb'];
|
|
497
|
-
id: Scalars['uuid'];
|
|
498
|
-
name: Scalars['String'];
|
|
499
|
-
};
|
|
500
|
-
/** columns and relationships of "externalDashboards" */
|
|
501
|
-
export declare type ExternalDashboardsExternalDashboardMetricsArgs = {
|
|
502
|
-
distinct_on?: InputMaybe<Array<ExternalDashboardMetrics_Select_Column>>;
|
|
503
|
-
limit?: InputMaybe<Scalars['Int']>;
|
|
504
|
-
offset?: InputMaybe<Scalars['Int']>;
|
|
505
|
-
order_by?: InputMaybe<Array<ExternalDashboardMetrics_Order_By>>;
|
|
506
|
-
where?: InputMaybe<ExternalDashboardMetrics_Bool_Exp>;
|
|
507
|
-
};
|
|
508
|
-
/** columns and relationships of "externalDashboards" */
|
|
509
|
-
export declare type ExternalDashboardsFiltersArgs = {
|
|
510
|
-
path?: InputMaybe<Scalars['String']>;
|
|
511
|
-
};
|
|
512
|
-
/** Boolean expression to filter rows from the table "externalDashboards". All fields are combined with a logical 'AND'. */
|
|
513
|
-
export declare type ExternalDashboards_Bool_Exp = {
|
|
514
|
-
_and?: InputMaybe<Array<ExternalDashboards_Bool_Exp>>;
|
|
515
|
-
_not?: InputMaybe<ExternalDashboards_Bool_Exp>;
|
|
516
|
-
_or?: InputMaybe<Array<ExternalDashboards_Bool_Exp>>;
|
|
517
|
-
companyId?: InputMaybe<Uuid_Comparison_Exp>;
|
|
518
|
-
externalDashboardId?: InputMaybe<String_Comparison_Exp>;
|
|
519
|
-
externalDashboardMetrics?: InputMaybe<ExternalDashboardMetrics_Bool_Exp>;
|
|
520
|
-
filters?: InputMaybe<Jsonb_Comparison_Exp>;
|
|
521
|
-
id?: InputMaybe<Uuid_Comparison_Exp>;
|
|
522
|
-
name?: InputMaybe<String_Comparison_Exp>;
|
|
523
|
-
};
|
|
524
|
-
/** Ordering options when selecting data from "externalDashboards". */
|
|
525
|
-
export declare type ExternalDashboards_Order_By = {
|
|
526
|
-
companyId?: InputMaybe<Order_By>;
|
|
527
|
-
externalDashboardId?: InputMaybe<Order_By>;
|
|
528
|
-
externalDashboardMetrics_aggregate?: InputMaybe<ExternalDashboardMetrics_Aggregate_Order_By>;
|
|
529
|
-
filters?: InputMaybe<Order_By>;
|
|
530
|
-
id?: InputMaybe<Order_By>;
|
|
531
|
-
name?: InputMaybe<Order_By>;
|
|
532
|
-
};
|
|
533
|
-
/** select columns of table "externalDashboards" */
|
|
534
|
-
export declare enum ExternalDashboards_Select_Column {
|
|
535
|
-
/** column name */
|
|
536
|
-
CompanyId = "companyId",
|
|
537
|
-
/** column name */
|
|
538
|
-
ExternalDashboardId = "externalDashboardId",
|
|
539
|
-
/** column name */
|
|
540
|
-
Filters = "filters",
|
|
541
|
-
/** column name */
|
|
542
|
-
Id = "id",
|
|
543
|
-
/** column name */
|
|
544
|
-
Name = "name"
|
|
545
|
-
}
|
|
546
|
-
/** extrnal metrics table for users client-based query */
|
|
547
|
-
export declare type ExternalMetrics = {
|
|
548
|
-
__typename?: 'externalMetrics';
|
|
549
|
-
chartOptions: Scalars['jsonb'];
|
|
550
|
-
clickActions: Scalars['json'];
|
|
551
|
-
clientId?: Maybe<Scalars['String']>;
|
|
552
|
-
companyId: Scalars['uuid'];
|
|
553
|
-
/** An object relationship */
|
|
554
|
-
companyIntegration: CompanyIntegrations;
|
|
555
|
-
companyIntegrationId: Scalars['uuid'];
|
|
556
|
-
createdAt: Scalars['timestamptz'];
|
|
557
|
-
createdBy?: Maybe<Scalars['String']>;
|
|
558
|
-
description: Scalars['String'];
|
|
559
|
-
/** An array relationship */
|
|
560
|
-
externalDashboardMetrics: Array<ExternalDashboardMetrics>;
|
|
561
|
-
/** An array relationship */
|
|
562
|
-
externalMetricsRlsFilters: Array<ExternalMetricsRlsFilters>;
|
|
563
|
-
groupBy: Scalars['jsonb'];
|
|
564
|
-
id: Scalars['uuid'];
|
|
565
|
-
inputFields?: Maybe<Scalars['jsonb']>;
|
|
566
|
-
integrationName: Scalars['String'];
|
|
567
|
-
isCreatedByClient: Scalars['Boolean'];
|
|
568
|
-
isEnableGroupBy: Scalars['Boolean'];
|
|
569
|
-
isLive: Scalars['Boolean'];
|
|
570
|
-
metricId: Scalars['String'];
|
|
571
|
-
metricQuery?: Maybe<Scalars['String']>;
|
|
572
|
-
name: Scalars['String'];
|
|
573
|
-
outputColumns?: Maybe<Scalars['String']>;
|
|
574
|
-
query: Scalars['String'];
|
|
575
|
-
resizeAttributes: Scalars['jsonb'];
|
|
576
|
-
rlsConditions: Scalars['jsonb'];
|
|
577
|
-
selectedGroupBy: Scalars['jsonb'];
|
|
578
|
-
timeGrain?: Maybe<Scalars['String']>;
|
|
579
|
-
updatedAt: Scalars['timestamptz'];
|
|
580
|
-
};
|
|
581
|
-
/** extrnal metrics table for users client-based query */
|
|
582
|
-
export declare type ExternalMetricsChartOptionsArgs = {
|
|
583
|
-
path?: InputMaybe<Scalars['String']>;
|
|
584
|
-
};
|
|
585
|
-
/** extrnal metrics table for users client-based query */
|
|
586
|
-
export declare type ExternalMetricsClickActionsArgs = {
|
|
587
|
-
path?: InputMaybe<Scalars['String']>;
|
|
588
|
-
};
|
|
589
|
-
/** extrnal metrics table for users client-based query */
|
|
590
|
-
export declare type ExternalMetricsExternalDashboardMetricsArgs = {
|
|
591
|
-
distinct_on?: InputMaybe<Array<ExternalDashboardMetrics_Select_Column>>;
|
|
592
|
-
limit?: InputMaybe<Scalars['Int']>;
|
|
593
|
-
offset?: InputMaybe<Scalars['Int']>;
|
|
594
|
-
order_by?: InputMaybe<Array<ExternalDashboardMetrics_Order_By>>;
|
|
595
|
-
where?: InputMaybe<ExternalDashboardMetrics_Bool_Exp>;
|
|
596
|
-
};
|
|
597
|
-
/** extrnal metrics table for users client-based query */
|
|
598
|
-
export declare type ExternalMetricsExternalMetricsRlsFiltersArgs = {
|
|
599
|
-
distinct_on?: InputMaybe<Array<ExternalMetricsRlsFilters_Select_Column>>;
|
|
600
|
-
limit?: InputMaybe<Scalars['Int']>;
|
|
601
|
-
offset?: InputMaybe<Scalars['Int']>;
|
|
602
|
-
order_by?: InputMaybe<Array<ExternalMetricsRlsFilters_Order_By>>;
|
|
603
|
-
where?: InputMaybe<ExternalMetricsRlsFilters_Bool_Exp>;
|
|
604
|
-
};
|
|
605
|
-
/** extrnal metrics table for users client-based query */
|
|
606
|
-
export declare type ExternalMetricsGroupByArgs = {
|
|
607
|
-
path?: InputMaybe<Scalars['String']>;
|
|
608
|
-
};
|
|
609
|
-
/** extrnal metrics table for users client-based query */
|
|
610
|
-
export declare type ExternalMetricsInputFieldsArgs = {
|
|
611
|
-
path?: InputMaybe<Scalars['String']>;
|
|
612
|
-
};
|
|
613
|
-
/** extrnal metrics table for users client-based query */
|
|
614
|
-
export declare type ExternalMetricsResizeAttributesArgs = {
|
|
615
|
-
path?: InputMaybe<Scalars['String']>;
|
|
616
|
-
};
|
|
617
|
-
/** extrnal metrics table for users client-based query */
|
|
618
|
-
export declare type ExternalMetricsRlsConditionsArgs = {
|
|
619
|
-
path?: InputMaybe<Scalars['String']>;
|
|
620
|
-
};
|
|
621
|
-
/** extrnal metrics table for users client-based query */
|
|
622
|
-
export declare type ExternalMetricsSelectedGroupByArgs = {
|
|
623
|
-
path?: InputMaybe<Scalars['String']>;
|
|
624
|
-
};
|
|
625
|
-
/** columns and relationships of "externalMetricsRlsFilters" */
|
|
626
|
-
export declare type ExternalMetricsRlsFilters = {
|
|
627
|
-
__typename?: 'externalMetricsRlsFilters';
|
|
628
|
-
companyRlsFilterId: Scalars['uuid'];
|
|
629
|
-
/** An object relationship */
|
|
630
|
-
externalMetric: ExternalMetrics;
|
|
631
|
-
externalMetricId: Scalars['uuid'];
|
|
632
|
-
id: Scalars['uuid'];
|
|
633
|
-
};
|
|
634
|
-
/** order by aggregate values of table "externalMetricsRlsFilters" */
|
|
635
|
-
export declare type ExternalMetricsRlsFilters_Aggregate_Order_By = {
|
|
636
|
-
count?: InputMaybe<Order_By>;
|
|
637
|
-
max?: InputMaybe<ExternalMetricsRlsFilters_Max_Order_By>;
|
|
638
|
-
min?: InputMaybe<ExternalMetricsRlsFilters_Min_Order_By>;
|
|
639
|
-
};
|
|
640
|
-
/** input type for inserting array relation for remote table "externalMetricsRlsFilters" */
|
|
641
|
-
export declare type ExternalMetricsRlsFilters_Arr_Rel_Insert_Input = {
|
|
642
|
-
data: Array<ExternalMetricsRlsFilters_Insert_Input>;
|
|
643
|
-
/** upsert condition */
|
|
644
|
-
on_conflict?: InputMaybe<ExternalMetricsRlsFilters_On_Conflict>;
|
|
645
|
-
};
|
|
646
|
-
/** Boolean expression to filter rows from the table "externalMetricsRlsFilters". All fields are combined with a logical 'AND'. */
|
|
647
|
-
export declare type ExternalMetricsRlsFilters_Bool_Exp = {
|
|
648
|
-
_and?: InputMaybe<Array<ExternalMetricsRlsFilters_Bool_Exp>>;
|
|
649
|
-
_not?: InputMaybe<ExternalMetricsRlsFilters_Bool_Exp>;
|
|
650
|
-
_or?: InputMaybe<Array<ExternalMetricsRlsFilters_Bool_Exp>>;
|
|
651
|
-
companyRlsFilterId?: InputMaybe<Uuid_Comparison_Exp>;
|
|
652
|
-
externalMetric?: InputMaybe<ExternalMetrics_Bool_Exp>;
|
|
653
|
-
externalMetricId?: InputMaybe<Uuid_Comparison_Exp>;
|
|
654
|
-
id?: InputMaybe<Uuid_Comparison_Exp>;
|
|
655
|
-
};
|
|
656
|
-
/** unique or primary key constraints on table "externalMetricsRlsFilters" */
|
|
657
|
-
export declare enum ExternalMetricsRlsFilters_Constraint {
|
|
658
|
-
/** unique or primary key constraint on columns "id" */
|
|
659
|
-
ExternalMetricsRlsFiltersPkey = "externalMetricsRlsFilters_pkey"
|
|
660
|
-
}
|
|
661
|
-
/** input type for inserting data into table "externalMetricsRlsFilters" */
|
|
662
|
-
export declare type ExternalMetricsRlsFilters_Insert_Input = {
|
|
663
|
-
companyRlsFilterId?: InputMaybe<Scalars['uuid']>;
|
|
664
|
-
externalMetric?: InputMaybe<ExternalMetrics_Obj_Rel_Insert_Input>;
|
|
665
|
-
externalMetricId?: InputMaybe<Scalars['uuid']>;
|
|
666
|
-
};
|
|
667
|
-
/** order by max() on columns of table "externalMetricsRlsFilters" */
|
|
668
|
-
export declare type ExternalMetricsRlsFilters_Max_Order_By = {
|
|
669
|
-
companyRlsFilterId?: InputMaybe<Order_By>;
|
|
670
|
-
externalMetricId?: InputMaybe<Order_By>;
|
|
671
|
-
id?: InputMaybe<Order_By>;
|
|
672
|
-
};
|
|
673
|
-
/** order by min() on columns of table "externalMetricsRlsFilters" */
|
|
674
|
-
export declare type ExternalMetricsRlsFilters_Min_Order_By = {
|
|
675
|
-
companyRlsFilterId?: InputMaybe<Order_By>;
|
|
676
|
-
externalMetricId?: InputMaybe<Order_By>;
|
|
677
|
-
id?: InputMaybe<Order_By>;
|
|
678
|
-
};
|
|
679
|
-
/** response of any mutation on the table "externalMetricsRlsFilters" */
|
|
680
|
-
export declare type ExternalMetricsRlsFilters_Mutation_Response = {
|
|
681
|
-
__typename?: 'externalMetricsRlsFilters_mutation_response';
|
|
682
|
-
/** number of rows affected by the mutation */
|
|
683
|
-
affected_rows: Scalars['Int'];
|
|
684
|
-
/** data from the rows affected by the mutation */
|
|
685
|
-
returning: Array<ExternalMetricsRlsFilters>;
|
|
686
|
-
};
|
|
687
|
-
/** on_conflict condition type for table "externalMetricsRlsFilters" */
|
|
688
|
-
export declare type ExternalMetricsRlsFilters_On_Conflict = {
|
|
689
|
-
constraint: ExternalMetricsRlsFilters_Constraint;
|
|
690
|
-
update_columns?: Array<ExternalMetricsRlsFilters_Update_Column>;
|
|
691
|
-
where?: InputMaybe<ExternalMetricsRlsFilters_Bool_Exp>;
|
|
692
|
-
};
|
|
693
|
-
/** Ordering options when selecting data from "externalMetricsRlsFilters". */
|
|
694
|
-
export declare type ExternalMetricsRlsFilters_Order_By = {
|
|
695
|
-
companyRlsFilterId?: InputMaybe<Order_By>;
|
|
696
|
-
externalMetric?: InputMaybe<ExternalMetrics_Order_By>;
|
|
697
|
-
externalMetricId?: InputMaybe<Order_By>;
|
|
698
|
-
id?: InputMaybe<Order_By>;
|
|
699
|
-
};
|
|
700
|
-
/** select columns of table "externalMetricsRlsFilters" */
|
|
701
|
-
export declare enum ExternalMetricsRlsFilters_Select_Column {
|
|
702
|
-
/** column name */
|
|
703
|
-
CompanyRlsFilterId = "companyRlsFilterId",
|
|
704
|
-
/** column name */
|
|
705
|
-
ExternalMetricId = "externalMetricId",
|
|
706
|
-
/** column name */
|
|
707
|
-
Id = "id"
|
|
708
|
-
}
|
|
709
|
-
/** placeholder for update columns of table "externalMetricsRlsFilters" (current role has no relevant permissions) */
|
|
710
|
-
export declare enum ExternalMetricsRlsFilters_Update_Column {
|
|
711
|
-
/** placeholder (do not use) */
|
|
712
|
-
Placeholder = "_PLACEHOLDER"
|
|
713
|
-
}
|
|
714
|
-
/** order by aggregate values of table "externalMetrics" */
|
|
715
|
-
export declare type ExternalMetrics_Aggregate_Order_By = {
|
|
716
|
-
count?: InputMaybe<Order_By>;
|
|
717
|
-
max?: InputMaybe<ExternalMetrics_Max_Order_By>;
|
|
718
|
-
min?: InputMaybe<ExternalMetrics_Min_Order_By>;
|
|
719
|
-
};
|
|
720
|
-
/** Boolean expression to filter rows from the table "externalMetrics". All fields are combined with a logical 'AND'. */
|
|
721
|
-
export declare type ExternalMetrics_Bool_Exp = {
|
|
722
|
-
_and?: InputMaybe<Array<ExternalMetrics_Bool_Exp>>;
|
|
723
|
-
_not?: InputMaybe<ExternalMetrics_Bool_Exp>;
|
|
724
|
-
_or?: InputMaybe<Array<ExternalMetrics_Bool_Exp>>;
|
|
725
|
-
chartOptions?: InputMaybe<Jsonb_Comparison_Exp>;
|
|
726
|
-
clickActions?: InputMaybe<Json_Comparison_Exp>;
|
|
727
|
-
clientId?: InputMaybe<String_Comparison_Exp>;
|
|
728
|
-
companyId?: InputMaybe<Uuid_Comparison_Exp>;
|
|
729
|
-
companyIntegration?: InputMaybe<CompanyIntegrations_Bool_Exp>;
|
|
730
|
-
companyIntegrationId?: InputMaybe<Uuid_Comparison_Exp>;
|
|
731
|
-
createdAt?: InputMaybe<Timestamptz_Comparison_Exp>;
|
|
732
|
-
createdBy?: InputMaybe<String_Comparison_Exp>;
|
|
733
|
-
description?: InputMaybe<String_Comparison_Exp>;
|
|
734
|
-
externalDashboardMetrics?: InputMaybe<ExternalDashboardMetrics_Bool_Exp>;
|
|
735
|
-
externalMetricsRlsFilters?: InputMaybe<ExternalMetricsRlsFilters_Bool_Exp>;
|
|
736
|
-
groupBy?: InputMaybe<Jsonb_Comparison_Exp>;
|
|
737
|
-
id?: InputMaybe<Uuid_Comparison_Exp>;
|
|
738
|
-
inputFields?: InputMaybe<Jsonb_Comparison_Exp>;
|
|
739
|
-
integrationName?: InputMaybe<String_Comparison_Exp>;
|
|
740
|
-
isCreatedByClient?: InputMaybe<Boolean_Comparison_Exp>;
|
|
741
|
-
isEnableGroupBy?: InputMaybe<Boolean_Comparison_Exp>;
|
|
742
|
-
isLive?: InputMaybe<Boolean_Comparison_Exp>;
|
|
743
|
-
metricId?: InputMaybe<String_Comparison_Exp>;
|
|
744
|
-
metricQuery?: InputMaybe<String_Comparison_Exp>;
|
|
745
|
-
name?: InputMaybe<String_Comparison_Exp>;
|
|
746
|
-
outputColumns?: InputMaybe<String_Comparison_Exp>;
|
|
747
|
-
query?: InputMaybe<String_Comparison_Exp>;
|
|
748
|
-
resizeAttributes?: InputMaybe<Jsonb_Comparison_Exp>;
|
|
749
|
-
rlsConditions?: InputMaybe<Jsonb_Comparison_Exp>;
|
|
750
|
-
selectedGroupBy?: InputMaybe<Jsonb_Comparison_Exp>;
|
|
751
|
-
timeGrain?: InputMaybe<String_Comparison_Exp>;
|
|
752
|
-
updatedAt?: InputMaybe<Timestamptz_Comparison_Exp>;
|
|
753
|
-
};
|
|
754
|
-
/** unique or primary key constraints on table "externalMetrics" */
|
|
755
|
-
export declare enum ExternalMetrics_Constraint {
|
|
756
|
-
/** unique or primary key constraint on columns "metricId" */
|
|
757
|
-
ExternalMetricsMetricIdKey = "externalMetrics_metricId_key",
|
|
758
|
-
/** unique or primary key constraint on columns "id" */
|
|
759
|
-
ExternalMetricsPkey = "externalMetrics_pkey"
|
|
760
|
-
}
|
|
761
|
-
/** input type for inserting data into table "externalMetrics" */
|
|
762
|
-
export declare type ExternalMetrics_Insert_Input = {
|
|
763
|
-
chartOptions?: InputMaybe<Scalars['jsonb']>;
|
|
764
|
-
clientId?: InputMaybe<Scalars['String']>;
|
|
765
|
-
companyId?: InputMaybe<Scalars['uuid']>;
|
|
766
|
-
companyIntegrationId?: InputMaybe<Scalars['uuid']>;
|
|
767
|
-
createdAt?: InputMaybe<Scalars['timestamptz']>;
|
|
768
|
-
createdBy?: InputMaybe<Scalars['String']>;
|
|
769
|
-
description?: InputMaybe<Scalars['String']>;
|
|
770
|
-
externalDashboardMetrics?: InputMaybe<ExternalDashboardMetrics_Arr_Rel_Insert_Input>;
|
|
771
|
-
externalMetricsRlsFilters?: InputMaybe<ExternalMetricsRlsFilters_Arr_Rel_Insert_Input>;
|
|
772
|
-
groupBy?: InputMaybe<Scalars['jsonb']>;
|
|
773
|
-
inputFields?: InputMaybe<Scalars['jsonb']>;
|
|
774
|
-
integrationName?: InputMaybe<Scalars['String']>;
|
|
775
|
-
isCreatedByClient?: InputMaybe<Scalars['Boolean']>;
|
|
776
|
-
isEnableGroupBy?: InputMaybe<Scalars['Boolean']>;
|
|
777
|
-
isLive?: InputMaybe<Scalars['Boolean']>;
|
|
778
|
-
metricId?: InputMaybe<Scalars['String']>;
|
|
779
|
-
metricQuery?: InputMaybe<Scalars['String']>;
|
|
780
|
-
name?: InputMaybe<Scalars['String']>;
|
|
781
|
-
outputColumns?: InputMaybe<Scalars['String']>;
|
|
782
|
-
query?: InputMaybe<Scalars['String']>;
|
|
783
|
-
resizeAttributes?: InputMaybe<Scalars['jsonb']>;
|
|
784
|
-
selectedGroupBy?: InputMaybe<Scalars['jsonb']>;
|
|
785
|
-
timeGrain?: InputMaybe<Scalars['String']>;
|
|
786
|
-
updatedAt?: InputMaybe<Scalars['timestamptz']>;
|
|
787
|
-
};
|
|
788
|
-
/** order by max() on columns of table "externalMetrics" */
|
|
789
|
-
export declare type ExternalMetrics_Max_Order_By = {
|
|
790
|
-
clientId?: InputMaybe<Order_By>;
|
|
791
|
-
companyId?: InputMaybe<Order_By>;
|
|
792
|
-
companyIntegrationId?: InputMaybe<Order_By>;
|
|
793
|
-
createdAt?: InputMaybe<Order_By>;
|
|
794
|
-
createdBy?: InputMaybe<Order_By>;
|
|
795
|
-
description?: InputMaybe<Order_By>;
|
|
796
|
-
id?: InputMaybe<Order_By>;
|
|
797
|
-
integrationName?: InputMaybe<Order_By>;
|
|
798
|
-
metricId?: InputMaybe<Order_By>;
|
|
799
|
-
metricQuery?: InputMaybe<Order_By>;
|
|
800
|
-
name?: InputMaybe<Order_By>;
|
|
801
|
-
outputColumns?: InputMaybe<Order_By>;
|
|
802
|
-
query?: InputMaybe<Order_By>;
|
|
803
|
-
timeGrain?: InputMaybe<Order_By>;
|
|
804
|
-
updatedAt?: InputMaybe<Order_By>;
|
|
805
|
-
};
|
|
806
|
-
/** order by min() on columns of table "externalMetrics" */
|
|
807
|
-
export declare type ExternalMetrics_Min_Order_By = {
|
|
808
|
-
clientId?: InputMaybe<Order_By>;
|
|
809
|
-
companyId?: InputMaybe<Order_By>;
|
|
810
|
-
companyIntegrationId?: InputMaybe<Order_By>;
|
|
811
|
-
createdAt?: InputMaybe<Order_By>;
|
|
812
|
-
createdBy?: InputMaybe<Order_By>;
|
|
813
|
-
description?: InputMaybe<Order_By>;
|
|
814
|
-
id?: InputMaybe<Order_By>;
|
|
815
|
-
integrationName?: InputMaybe<Order_By>;
|
|
816
|
-
metricId?: InputMaybe<Order_By>;
|
|
817
|
-
metricQuery?: InputMaybe<Order_By>;
|
|
818
|
-
name?: InputMaybe<Order_By>;
|
|
819
|
-
outputColumns?: InputMaybe<Order_By>;
|
|
820
|
-
query?: InputMaybe<Order_By>;
|
|
821
|
-
timeGrain?: InputMaybe<Order_By>;
|
|
822
|
-
updatedAt?: InputMaybe<Order_By>;
|
|
823
|
-
};
|
|
824
|
-
/** response of any mutation on the table "externalMetrics" */
|
|
825
|
-
export declare type ExternalMetrics_Mutation_Response = {
|
|
826
|
-
__typename?: 'externalMetrics_mutation_response';
|
|
827
|
-
/** number of rows affected by the mutation */
|
|
828
|
-
affected_rows: Scalars['Int'];
|
|
829
|
-
/** data from the rows affected by the mutation */
|
|
830
|
-
returning: Array<ExternalMetrics>;
|
|
831
|
-
};
|
|
832
|
-
/** input type for inserting object relation for remote table "externalMetrics" */
|
|
833
|
-
export declare type ExternalMetrics_Obj_Rel_Insert_Input = {
|
|
834
|
-
data: ExternalMetrics_Insert_Input;
|
|
835
|
-
/** upsert condition */
|
|
836
|
-
on_conflict?: InputMaybe<ExternalMetrics_On_Conflict>;
|
|
837
|
-
};
|
|
838
|
-
/** on_conflict condition type for table "externalMetrics" */
|
|
839
|
-
export declare type ExternalMetrics_On_Conflict = {
|
|
840
|
-
constraint: ExternalMetrics_Constraint;
|
|
841
|
-
update_columns?: Array<ExternalMetrics_Update_Column>;
|
|
842
|
-
where?: InputMaybe<ExternalMetrics_Bool_Exp>;
|
|
843
|
-
};
|
|
844
|
-
/** Ordering options when selecting data from "externalMetrics". */
|
|
845
|
-
export declare type ExternalMetrics_Order_By = {
|
|
846
|
-
chartOptions?: InputMaybe<Order_By>;
|
|
847
|
-
clickActions?: InputMaybe<Order_By>;
|
|
848
|
-
clientId?: InputMaybe<Order_By>;
|
|
849
|
-
companyId?: InputMaybe<Order_By>;
|
|
850
|
-
companyIntegration?: InputMaybe<CompanyIntegrations_Order_By>;
|
|
851
|
-
companyIntegrationId?: InputMaybe<Order_By>;
|
|
852
|
-
createdAt?: InputMaybe<Order_By>;
|
|
853
|
-
createdBy?: InputMaybe<Order_By>;
|
|
854
|
-
description?: InputMaybe<Order_By>;
|
|
855
|
-
externalDashboardMetrics_aggregate?: InputMaybe<ExternalDashboardMetrics_Aggregate_Order_By>;
|
|
856
|
-
externalMetricsRlsFilters_aggregate?: InputMaybe<ExternalMetricsRlsFilters_Aggregate_Order_By>;
|
|
857
|
-
groupBy?: InputMaybe<Order_By>;
|
|
858
|
-
id?: InputMaybe<Order_By>;
|
|
859
|
-
inputFields?: InputMaybe<Order_By>;
|
|
860
|
-
integrationName?: InputMaybe<Order_By>;
|
|
861
|
-
isCreatedByClient?: InputMaybe<Order_By>;
|
|
862
|
-
isEnableGroupBy?: InputMaybe<Order_By>;
|
|
863
|
-
isLive?: InputMaybe<Order_By>;
|
|
864
|
-
metricId?: InputMaybe<Order_By>;
|
|
865
|
-
metricQuery?: InputMaybe<Order_By>;
|
|
866
|
-
name?: InputMaybe<Order_By>;
|
|
867
|
-
outputColumns?: InputMaybe<Order_By>;
|
|
868
|
-
query?: InputMaybe<Order_By>;
|
|
869
|
-
resizeAttributes?: InputMaybe<Order_By>;
|
|
870
|
-
rlsConditions?: InputMaybe<Order_By>;
|
|
871
|
-
selectedGroupBy?: InputMaybe<Order_By>;
|
|
872
|
-
timeGrain?: InputMaybe<Order_By>;
|
|
873
|
-
updatedAt?: InputMaybe<Order_By>;
|
|
874
|
-
};
|
|
875
|
-
/** select columns of table "externalMetrics" */
|
|
876
|
-
export declare enum ExternalMetrics_Select_Column {
|
|
877
|
-
/** column name */
|
|
878
|
-
ChartOptions = "chartOptions",
|
|
879
|
-
/** column name */
|
|
880
|
-
ClickActions = "clickActions",
|
|
881
|
-
/** column name */
|
|
882
|
-
ClientId = "clientId",
|
|
883
|
-
/** column name */
|
|
884
|
-
CompanyId = "companyId",
|
|
885
|
-
/** column name */
|
|
886
|
-
CompanyIntegrationId = "companyIntegrationId",
|
|
887
|
-
/** column name */
|
|
888
|
-
CreatedAt = "createdAt",
|
|
889
|
-
/** column name */
|
|
890
|
-
CreatedBy = "createdBy",
|
|
891
|
-
/** column name */
|
|
892
|
-
Description = "description",
|
|
893
|
-
/** column name */
|
|
894
|
-
GroupBy = "groupBy",
|
|
895
|
-
/** column name */
|
|
896
|
-
Id = "id",
|
|
897
|
-
/** column name */
|
|
898
|
-
InputFields = "inputFields",
|
|
899
|
-
/** column name */
|
|
900
|
-
IntegrationName = "integrationName",
|
|
901
|
-
/** column name */
|
|
902
|
-
IsCreatedByClient = "isCreatedByClient",
|
|
903
|
-
/** column name */
|
|
904
|
-
IsEnableGroupBy = "isEnableGroupBy",
|
|
905
|
-
/** column name */
|
|
906
|
-
IsLive = "isLive",
|
|
907
|
-
/** column name */
|
|
908
|
-
MetricId = "metricId",
|
|
909
|
-
/** column name */
|
|
910
|
-
MetricQuery = "metricQuery",
|
|
911
|
-
/** column name */
|
|
912
|
-
Name = "name",
|
|
913
|
-
/** column name */
|
|
914
|
-
OutputColumns = "outputColumns",
|
|
915
|
-
/** column name */
|
|
916
|
-
Query = "query",
|
|
917
|
-
/** column name */
|
|
918
|
-
ResizeAttributes = "resizeAttributes",
|
|
919
|
-
/** column name */
|
|
920
|
-
RlsConditions = "rlsConditions",
|
|
921
|
-
/** column name */
|
|
922
|
-
SelectedGroupBy = "selectedGroupBy",
|
|
923
|
-
/** column name */
|
|
924
|
-
TimeGrain = "timeGrain",
|
|
925
|
-
/** column name */
|
|
926
|
-
UpdatedAt = "updatedAt"
|
|
927
|
-
}
|
|
928
|
-
/** placeholder for update columns of table "externalMetrics" (current role has no relevant permissions) */
|
|
929
|
-
export declare enum ExternalMetrics_Update_Column {
|
|
930
|
-
/** placeholder (do not use) */
|
|
931
|
-
Placeholder = "_PLACEHOLDER"
|
|
932
|
-
}
|
|
933
|
-
/** columns and relationships of "guestTokens" */
|
|
934
|
-
export declare type GuestTokens = {
|
|
935
|
-
__typename?: 'guestTokens';
|
|
936
|
-
clientId: Scalars['String'];
|
|
937
|
-
companyId: Scalars['uuid'];
|
|
938
|
-
id: Scalars['uuid'];
|
|
939
|
-
params: Scalars['jsonb'];
|
|
940
|
-
};
|
|
941
|
-
/** columns and relationships of "guestTokens" */
|
|
942
|
-
export declare type GuestTokensParamsArgs = {
|
|
943
|
-
path?: InputMaybe<Scalars['String']>;
|
|
944
|
-
};
|
|
945
|
-
/** Boolean expression to filter rows from the table "guestTokens". All fields are combined with a logical 'AND'. */
|
|
946
|
-
export declare type GuestTokens_Bool_Exp = {
|
|
947
|
-
_and?: InputMaybe<Array<GuestTokens_Bool_Exp>>;
|
|
948
|
-
_not?: InputMaybe<GuestTokens_Bool_Exp>;
|
|
949
|
-
_or?: InputMaybe<Array<GuestTokens_Bool_Exp>>;
|
|
950
|
-
clientId?: InputMaybe<String_Comparison_Exp>;
|
|
951
|
-
companyId?: InputMaybe<Uuid_Comparison_Exp>;
|
|
952
|
-
id?: InputMaybe<Uuid_Comparison_Exp>;
|
|
953
|
-
params?: InputMaybe<Jsonb_Comparison_Exp>;
|
|
954
|
-
};
|
|
955
|
-
/** Ordering options when selecting data from "guestTokens". */
|
|
956
|
-
export declare type GuestTokens_Order_By = {
|
|
957
|
-
clientId?: InputMaybe<Order_By>;
|
|
958
|
-
companyId?: InputMaybe<Order_By>;
|
|
959
|
-
id?: InputMaybe<Order_By>;
|
|
960
|
-
params?: InputMaybe<Order_By>;
|
|
961
|
-
};
|
|
962
|
-
/** select columns of table "guestTokens" */
|
|
963
|
-
export declare enum GuestTokens_Select_Column {
|
|
964
|
-
/** column name */
|
|
965
|
-
ClientId = "clientId",
|
|
966
|
-
/** column name */
|
|
967
|
-
CompanyId = "companyId",
|
|
968
|
-
/** column name */
|
|
969
|
-
Id = "id",
|
|
970
|
-
/** column name */
|
|
971
|
-
Params = "params"
|
|
972
|
-
}
|
|
973
|
-
/** Boolean expression to compare columns of type "json". All fields are combined with logical 'AND'. */
|
|
974
|
-
export declare type Json_Comparison_Exp = {
|
|
975
|
-
_eq?: InputMaybe<Scalars['json']>;
|
|
976
|
-
_gt?: InputMaybe<Scalars['json']>;
|
|
977
|
-
_gte?: InputMaybe<Scalars['json']>;
|
|
978
|
-
_in?: InputMaybe<Array<Scalars['json']>>;
|
|
979
|
-
_is_null?: InputMaybe<Scalars['Boolean']>;
|
|
980
|
-
_lt?: InputMaybe<Scalars['json']>;
|
|
981
|
-
_lte?: InputMaybe<Scalars['json']>;
|
|
982
|
-
_neq?: InputMaybe<Scalars['json']>;
|
|
983
|
-
_nin?: InputMaybe<Array<Scalars['json']>>;
|
|
984
|
-
};
|
|
985
|
-
export declare type Jsonb_Cast_Exp = {
|
|
986
|
-
String?: InputMaybe<String_Comparison_Exp>;
|
|
987
|
-
};
|
|
988
|
-
/** Boolean expression to compare columns of type "jsonb". All fields are combined with logical 'AND'. */
|
|
989
|
-
export declare type Jsonb_Comparison_Exp = {
|
|
990
|
-
_cast?: InputMaybe<Jsonb_Cast_Exp>;
|
|
991
|
-
/** is the column contained in the given json value */
|
|
992
|
-
_contained_in?: InputMaybe<Scalars['jsonb']>;
|
|
993
|
-
/** does the column contain the given json value at the top level */
|
|
994
|
-
_contains?: InputMaybe<Scalars['jsonb']>;
|
|
995
|
-
_eq?: InputMaybe<Scalars['jsonb']>;
|
|
996
|
-
_gt?: InputMaybe<Scalars['jsonb']>;
|
|
997
|
-
_gte?: InputMaybe<Scalars['jsonb']>;
|
|
998
|
-
/** does the string exist as a top-level key in the column */
|
|
999
|
-
_has_key?: InputMaybe<Scalars['String']>;
|
|
1000
|
-
/** do all of these strings exist as top-level keys in the column */
|
|
1001
|
-
_has_keys_all?: InputMaybe<Array<Scalars['String']>>;
|
|
1002
|
-
/** do any of these strings exist as top-level keys in the column */
|
|
1003
|
-
_has_keys_any?: InputMaybe<Array<Scalars['String']>>;
|
|
1004
|
-
_in?: InputMaybe<Array<Scalars['jsonb']>>;
|
|
1005
|
-
_is_null?: InputMaybe<Scalars['Boolean']>;
|
|
1006
|
-
_lt?: InputMaybe<Scalars['jsonb']>;
|
|
1007
|
-
_lte?: InputMaybe<Scalars['jsonb']>;
|
|
1008
|
-
_neq?: InputMaybe<Scalars['jsonb']>;
|
|
1009
|
-
_nin?: InputMaybe<Array<Scalars['jsonb']>>;
|
|
1010
|
-
};
|
|
1011
|
-
/** mutation root */
|
|
1012
|
-
export declare type Mutation_Root = {
|
|
1013
|
-
__typename?: 'mutation_root';
|
|
1014
|
-
companySubsetTableData?: Maybe<CompanySubsetTableDataOutput>;
|
|
1015
|
-
embeddedDashboardData?: Maybe<EmbeddedDashboardDataOutput>;
|
|
1016
|
-
embeddedMetricQuery?: Maybe<ExternalMetricQueryOutput>;
|
|
1017
|
-
fetchColumnData?: Maybe<FetchColumnDataOutput>;
|
|
1018
|
-
generateDatasetMetrics?: Maybe<GenerateDatasetMetricsOutput>;
|
|
1019
|
-
generateEmbeddedMetic?: Maybe<GenerateEmbeddedMeticOutput>;
|
|
1020
|
-
generateExternalMetricQuery?: Maybe<GenerateExternalMetricQueryOutput>;
|
|
1021
|
-
/** insert data into the table: "externalDashboardMetrics" */
|
|
1022
|
-
insert_externalDashboardMetrics?: Maybe<ExternalDashboardMetrics_Mutation_Response>;
|
|
1023
|
-
/** insert a single row into the table: "externalDashboardMetrics" */
|
|
1024
|
-
insert_externalDashboardMetrics_one?: Maybe<ExternalDashboardMetrics>;
|
|
1025
|
-
/** insert data into the table: "externalMetrics" */
|
|
1026
|
-
insert_externalMetrics?: Maybe<ExternalMetrics_Mutation_Response>;
|
|
1027
|
-
/** insert data into the table: "externalMetricsRlsFilters" */
|
|
1028
|
-
insert_externalMetricsRlsFilters?: Maybe<ExternalMetricsRlsFilters_Mutation_Response>;
|
|
1029
|
-
/** insert a single row into the table: "externalMetricsRlsFilters" */
|
|
1030
|
-
insert_externalMetricsRlsFilters_one?: Maybe<ExternalMetricsRlsFilters>;
|
|
1031
|
-
/** insert a single row into the table: "externalMetrics" */
|
|
1032
|
-
insert_externalMetrics_one?: Maybe<ExternalMetrics>;
|
|
1033
|
-
previewTable?: Maybe<PreviewTableOutput>;
|
|
1034
|
-
};
|
|
1035
|
-
/** mutation root */
|
|
1036
|
-
export declare type Mutation_RootCompanySubsetTableDataArgs = {
|
|
1037
|
-
input: CompanySubsetTableDataInput;
|
|
1038
|
-
};
|
|
1039
|
-
/** mutation root */
|
|
1040
|
-
export declare type Mutation_RootEmbeddedDashboardDataArgs = {
|
|
1041
|
-
input: EmbeddedDashboardDataInput;
|
|
1042
|
-
};
|
|
1043
|
-
/** mutation root */
|
|
1044
|
-
export declare type Mutation_RootEmbeddedMetricQueryArgs = {
|
|
1045
|
-
input: ExternalMetricQueryInput;
|
|
1046
|
-
};
|
|
1047
|
-
/** mutation root */
|
|
1048
|
-
export declare type Mutation_RootFetchColumnDataArgs = {
|
|
1049
|
-
input: FetchColumnDataInput;
|
|
1050
|
-
};
|
|
1051
|
-
/** mutation root */
|
|
1052
|
-
export declare type Mutation_RootGenerateDatasetMetricsArgs = {
|
|
1053
|
-
input: GenerateDatasetMetricsInput;
|
|
1054
|
-
};
|
|
1055
|
-
/** mutation root */
|
|
1056
|
-
export declare type Mutation_RootGenerateEmbeddedMeticArgs = {
|
|
1057
|
-
input: GenerateEmbeddedMeticInput;
|
|
1058
|
-
};
|
|
1059
|
-
/** mutation root */
|
|
1060
|
-
export declare type Mutation_RootGenerateExternalMetricQueryArgs = {
|
|
1061
|
-
input: GenerateExternalMetricQueryInput;
|
|
1062
|
-
};
|
|
1063
|
-
/** mutation root */
|
|
1064
|
-
export declare type Mutation_RootInsert_ExternalDashboardMetricsArgs = {
|
|
1065
|
-
objects: Array<ExternalDashboardMetrics_Insert_Input>;
|
|
1066
|
-
on_conflict?: InputMaybe<ExternalDashboardMetrics_On_Conflict>;
|
|
1067
|
-
};
|
|
1068
|
-
/** mutation root */
|
|
1069
|
-
export declare type Mutation_RootInsert_ExternalDashboardMetrics_OneArgs = {
|
|
1070
|
-
object: ExternalDashboardMetrics_Insert_Input;
|
|
1071
|
-
on_conflict?: InputMaybe<ExternalDashboardMetrics_On_Conflict>;
|
|
1072
|
-
};
|
|
1073
|
-
/** mutation root */
|
|
1074
|
-
export declare type Mutation_RootInsert_ExternalMetricsArgs = {
|
|
1075
|
-
objects: Array<ExternalMetrics_Insert_Input>;
|
|
1076
|
-
on_conflict?: InputMaybe<ExternalMetrics_On_Conflict>;
|
|
1077
|
-
};
|
|
1078
|
-
/** mutation root */
|
|
1079
|
-
export declare type Mutation_RootInsert_ExternalMetricsRlsFiltersArgs = {
|
|
1080
|
-
objects: Array<ExternalMetricsRlsFilters_Insert_Input>;
|
|
1081
|
-
on_conflict?: InputMaybe<ExternalMetricsRlsFilters_On_Conflict>;
|
|
1082
|
-
};
|
|
1083
|
-
/** mutation root */
|
|
1084
|
-
export declare type Mutation_RootInsert_ExternalMetricsRlsFilters_OneArgs = {
|
|
1085
|
-
object: ExternalMetricsRlsFilters_Insert_Input;
|
|
1086
|
-
on_conflict?: InputMaybe<ExternalMetricsRlsFilters_On_Conflict>;
|
|
1087
|
-
};
|
|
1088
|
-
/** mutation root */
|
|
1089
|
-
export declare type Mutation_RootInsert_ExternalMetrics_OneArgs = {
|
|
1090
|
-
object: ExternalMetrics_Insert_Input;
|
|
1091
|
-
on_conflict?: InputMaybe<ExternalMetrics_On_Conflict>;
|
|
1092
|
-
};
|
|
1093
|
-
/** mutation root */
|
|
1094
|
-
export declare type Mutation_RootPreviewTableArgs = {
|
|
1095
|
-
input: PreviewTableInput;
|
|
1096
|
-
};
|
|
1097
|
-
/** column ordering options */
|
|
1098
|
-
export declare enum Order_By {
|
|
1099
|
-
/** in ascending order, nulls last */
|
|
1100
|
-
Asc = "asc",
|
|
1101
|
-
/** in ascending order, nulls first */
|
|
1102
|
-
AscNullsFirst = "asc_nulls_first",
|
|
1103
|
-
/** in ascending order, nulls last */
|
|
1104
|
-
AscNullsLast = "asc_nulls_last",
|
|
1105
|
-
/** in descending order, nulls first */
|
|
1106
|
-
Desc = "desc",
|
|
1107
|
-
/** in descending order, nulls first */
|
|
1108
|
-
DescNullsFirst = "desc_nulls_first",
|
|
1109
|
-
/** in descending order, nulls last */
|
|
1110
|
-
DescNullsLast = "desc_nulls_last"
|
|
1111
|
-
}
|
|
1112
|
-
export declare type Query_Root = {
|
|
1113
|
-
__typename?: 'query_root';
|
|
1114
|
-
/** fetch data from the table: "companyIntegrations" */
|
|
1115
|
-
companyIntegrations: Array<CompanyIntegrations>;
|
|
1116
|
-
/** fetch data from the table: "companyIntegrations" using primary key columns */
|
|
1117
|
-
companyIntegrations_by_pk?: Maybe<CompanyIntegrations>;
|
|
1118
|
-
/** fetch data from the table: "companySubsetTables" */
|
|
1119
|
-
companySubsetTables: Array<CompanySubsetTables>;
|
|
1120
|
-
/** An array relationship */
|
|
1121
|
-
externalDashboardMetrics: Array<ExternalDashboardMetrics>;
|
|
1122
|
-
/** fetch data from the table: "externalDashboardMetrics" using primary key columns */
|
|
1123
|
-
externalDashboardMetrics_by_pk?: Maybe<ExternalDashboardMetrics>;
|
|
1124
|
-
/** An array relationship */
|
|
1125
|
-
externalDashboardThemeClients: Array<ExternalDashboardThemeClients>;
|
|
1126
|
-
/** fetch data from the table: "externalDashboardThemeClients" using primary key columns */
|
|
1127
|
-
externalDashboardThemeClients_by_pk?: Maybe<ExternalDashboardThemeClients>;
|
|
1128
|
-
/** fetch data from the table: "externalDashboardThemes" */
|
|
1129
|
-
externalDashboardThemes: Array<ExternalDashboardThemes>;
|
|
1130
|
-
/** fetch data from the table: "externalDashboardThemes" using primary key columns */
|
|
1131
|
-
externalDashboardThemes_by_pk?: Maybe<ExternalDashboardThemes>;
|
|
1132
|
-
/** fetch data from the table: "externalDashboards" */
|
|
1133
|
-
externalDashboards: Array<ExternalDashboards>;
|
|
1134
|
-
/** fetch data from the table: "externalDashboards" using primary key columns */
|
|
1135
|
-
externalDashboards_by_pk?: Maybe<ExternalDashboards>;
|
|
1136
|
-
externalMetricQuery?: Maybe<ExternalMetricQueryOutput>;
|
|
1137
|
-
/** An array relationship */
|
|
1138
|
-
externalMetrics: Array<ExternalMetrics>;
|
|
1139
|
-
/** An array relationship */
|
|
1140
|
-
externalMetricsRlsFilters: Array<ExternalMetricsRlsFilters>;
|
|
1141
|
-
/** fetch data from the table: "externalMetricsRlsFilters" using primary key columns */
|
|
1142
|
-
externalMetricsRlsFilters_by_pk?: Maybe<ExternalMetricsRlsFilters>;
|
|
1143
|
-
/** fetch data from the table: "externalMetrics" using primary key columns */
|
|
1144
|
-
externalMetrics_by_pk?: Maybe<ExternalMetrics>;
|
|
1145
|
-
/** fetch data from the table: "guestTokens" */
|
|
1146
|
-
guestTokens: Array<GuestTokens>;
|
|
1147
|
-
/** fetch data from the table: "guestTokens" using primary key columns */
|
|
1148
|
-
guestTokens_by_pk?: Maybe<GuestTokens>;
|
|
1149
|
-
};
|
|
1150
|
-
export declare type Query_RootCompanyIntegrationsArgs = {
|
|
1151
|
-
distinct_on?: InputMaybe<Array<CompanyIntegrations_Select_Column>>;
|
|
1152
|
-
limit?: InputMaybe<Scalars['Int']>;
|
|
1153
|
-
offset?: InputMaybe<Scalars['Int']>;
|
|
1154
|
-
order_by?: InputMaybe<Array<CompanyIntegrations_Order_By>>;
|
|
1155
|
-
where?: InputMaybe<CompanyIntegrations_Bool_Exp>;
|
|
1156
|
-
};
|
|
1157
|
-
export declare type Query_RootCompanyIntegrations_By_PkArgs = {
|
|
1158
|
-
id: Scalars['uuid'];
|
|
1159
|
-
};
|
|
1160
|
-
export declare type Query_RootCompanySubsetTablesArgs = {
|
|
1161
|
-
distinct_on?: InputMaybe<Array<CompanySubsetTables_Select_Column>>;
|
|
1162
|
-
limit?: InputMaybe<Scalars['Int']>;
|
|
1163
|
-
offset?: InputMaybe<Scalars['Int']>;
|
|
1164
|
-
order_by?: InputMaybe<Array<CompanySubsetTables_Order_By>>;
|
|
1165
|
-
where?: InputMaybe<CompanySubsetTables_Bool_Exp>;
|
|
1166
|
-
};
|
|
1167
|
-
export declare type Query_RootExternalDashboardMetricsArgs = {
|
|
1168
|
-
distinct_on?: InputMaybe<Array<ExternalDashboardMetrics_Select_Column>>;
|
|
1169
|
-
limit?: InputMaybe<Scalars['Int']>;
|
|
1170
|
-
offset?: InputMaybe<Scalars['Int']>;
|
|
1171
|
-
order_by?: InputMaybe<Array<ExternalDashboardMetrics_Order_By>>;
|
|
1172
|
-
where?: InputMaybe<ExternalDashboardMetrics_Bool_Exp>;
|
|
1173
|
-
};
|
|
1174
|
-
export declare type Query_RootExternalDashboardMetrics_By_PkArgs = {
|
|
1175
|
-
externalDashboardId: Scalars['uuid'];
|
|
1176
|
-
externalMetricId: Scalars['uuid'];
|
|
1177
|
-
};
|
|
1178
|
-
export declare type Query_RootExternalDashboardThemeClientsArgs = {
|
|
1179
|
-
distinct_on?: InputMaybe<Array<ExternalDashboardThemeClients_Select_Column>>;
|
|
1180
|
-
limit?: InputMaybe<Scalars['Int']>;
|
|
1181
|
-
offset?: InputMaybe<Scalars['Int']>;
|
|
1182
|
-
order_by?: InputMaybe<Array<ExternalDashboardThemeClients_Order_By>>;
|
|
1183
|
-
where?: InputMaybe<ExternalDashboardThemeClients_Bool_Exp>;
|
|
1184
|
-
};
|
|
1185
|
-
export declare type Query_RootExternalDashboardThemeClients_By_PkArgs = {
|
|
1186
|
-
id: Scalars['uuid'];
|
|
1187
|
-
};
|
|
1188
|
-
export declare type Query_RootExternalDashboardThemesArgs = {
|
|
1189
|
-
distinct_on?: InputMaybe<Array<ExternalDashboardThemes_Select_Column>>;
|
|
1190
|
-
limit?: InputMaybe<Scalars['Int']>;
|
|
1191
|
-
offset?: InputMaybe<Scalars['Int']>;
|
|
1192
|
-
order_by?: InputMaybe<Array<ExternalDashboardThemes_Order_By>>;
|
|
1193
|
-
where?: InputMaybe<ExternalDashboardThemes_Bool_Exp>;
|
|
1194
|
-
};
|
|
1195
|
-
export declare type Query_RootExternalDashboardThemes_By_PkArgs = {
|
|
1196
|
-
id: Scalars['uuid'];
|
|
1197
|
-
};
|
|
1198
|
-
export declare type Query_RootExternalDashboardsArgs = {
|
|
1199
|
-
distinct_on?: InputMaybe<Array<ExternalDashboards_Select_Column>>;
|
|
1200
|
-
limit?: InputMaybe<Scalars['Int']>;
|
|
1201
|
-
offset?: InputMaybe<Scalars['Int']>;
|
|
1202
|
-
order_by?: InputMaybe<Array<ExternalDashboards_Order_By>>;
|
|
1203
|
-
where?: InputMaybe<ExternalDashboards_Bool_Exp>;
|
|
1204
|
-
};
|
|
1205
|
-
export declare type Query_RootExternalDashboards_By_PkArgs = {
|
|
1206
|
-
id: Scalars['uuid'];
|
|
1207
|
-
};
|
|
1208
|
-
export declare type Query_RootExternalMetricQueryArgs = {
|
|
1209
|
-
input: ExternalMetricQueryInput;
|
|
1210
|
-
};
|
|
1211
|
-
export declare type Query_RootExternalMetricsArgs = {
|
|
1212
|
-
distinct_on?: InputMaybe<Array<ExternalMetrics_Select_Column>>;
|
|
1213
|
-
limit?: InputMaybe<Scalars['Int']>;
|
|
1214
|
-
offset?: InputMaybe<Scalars['Int']>;
|
|
1215
|
-
order_by?: InputMaybe<Array<ExternalMetrics_Order_By>>;
|
|
1216
|
-
where?: InputMaybe<ExternalMetrics_Bool_Exp>;
|
|
1217
|
-
};
|
|
1218
|
-
export declare type Query_RootExternalMetricsRlsFiltersArgs = {
|
|
1219
|
-
distinct_on?: InputMaybe<Array<ExternalMetricsRlsFilters_Select_Column>>;
|
|
1220
|
-
limit?: InputMaybe<Scalars['Int']>;
|
|
1221
|
-
offset?: InputMaybe<Scalars['Int']>;
|
|
1222
|
-
order_by?: InputMaybe<Array<ExternalMetricsRlsFilters_Order_By>>;
|
|
1223
|
-
where?: InputMaybe<ExternalMetricsRlsFilters_Bool_Exp>;
|
|
1224
|
-
};
|
|
1225
|
-
export declare type Query_RootExternalMetricsRlsFilters_By_PkArgs = {
|
|
1226
|
-
id: Scalars['uuid'];
|
|
1227
|
-
};
|
|
1228
|
-
export declare type Query_RootExternalMetrics_By_PkArgs = {
|
|
1229
|
-
id: Scalars['uuid'];
|
|
1230
|
-
};
|
|
1231
|
-
export declare type Query_RootGuestTokensArgs = {
|
|
1232
|
-
distinct_on?: InputMaybe<Array<GuestTokens_Select_Column>>;
|
|
1233
|
-
limit?: InputMaybe<Scalars['Int']>;
|
|
1234
|
-
offset?: InputMaybe<Scalars['Int']>;
|
|
1235
|
-
order_by?: InputMaybe<Array<GuestTokens_Order_By>>;
|
|
1236
|
-
where?: InputMaybe<GuestTokens_Bool_Exp>;
|
|
1237
|
-
};
|
|
1238
|
-
export declare type Query_RootGuestTokens_By_PkArgs = {
|
|
1239
|
-
id: Scalars['uuid'];
|
|
1240
|
-
};
|
|
1241
|
-
export declare type Subscription_Root = {
|
|
1242
|
-
__typename?: 'subscription_root';
|
|
1243
|
-
/** fetch data from the table: "companyIntegrations" */
|
|
1244
|
-
companyIntegrations: Array<CompanyIntegrations>;
|
|
1245
|
-
/** fetch data from the table: "companyIntegrations" using primary key columns */
|
|
1246
|
-
companyIntegrations_by_pk?: Maybe<CompanyIntegrations>;
|
|
1247
|
-
/** fetch data from the table: "companySubsetTables" */
|
|
1248
|
-
companySubsetTables: Array<CompanySubsetTables>;
|
|
1249
|
-
/** An array relationship */
|
|
1250
|
-
externalDashboardMetrics: Array<ExternalDashboardMetrics>;
|
|
1251
|
-
/** fetch data from the table: "externalDashboardMetrics" using primary key columns */
|
|
1252
|
-
externalDashboardMetrics_by_pk?: Maybe<ExternalDashboardMetrics>;
|
|
1253
|
-
/** An array relationship */
|
|
1254
|
-
externalDashboardThemeClients: Array<ExternalDashboardThemeClients>;
|
|
1255
|
-
/** fetch data from the table: "externalDashboardThemeClients" using primary key columns */
|
|
1256
|
-
externalDashboardThemeClients_by_pk?: Maybe<ExternalDashboardThemeClients>;
|
|
1257
|
-
/** fetch data from the table: "externalDashboardThemes" */
|
|
1258
|
-
externalDashboardThemes: Array<ExternalDashboardThemes>;
|
|
1259
|
-
/** fetch data from the table: "externalDashboardThemes" using primary key columns */
|
|
1260
|
-
externalDashboardThemes_by_pk?: Maybe<ExternalDashboardThemes>;
|
|
1261
|
-
/** fetch data from the table: "externalDashboards" */
|
|
1262
|
-
externalDashboards: Array<ExternalDashboards>;
|
|
1263
|
-
/** fetch data from the table: "externalDashboards" using primary key columns */
|
|
1264
|
-
externalDashboards_by_pk?: Maybe<ExternalDashboards>;
|
|
1265
|
-
/** An array relationship */
|
|
1266
|
-
externalMetrics: Array<ExternalMetrics>;
|
|
1267
|
-
/** An array relationship */
|
|
1268
|
-
externalMetricsRlsFilters: Array<ExternalMetricsRlsFilters>;
|
|
1269
|
-
/** fetch data from the table: "externalMetricsRlsFilters" using primary key columns */
|
|
1270
|
-
externalMetricsRlsFilters_by_pk?: Maybe<ExternalMetricsRlsFilters>;
|
|
1271
|
-
/** fetch data from the table: "externalMetrics" using primary key columns */
|
|
1272
|
-
externalMetrics_by_pk?: Maybe<ExternalMetrics>;
|
|
1273
|
-
/** fetch data from the table: "guestTokens" */
|
|
1274
|
-
guestTokens: Array<GuestTokens>;
|
|
1275
|
-
/** fetch data from the table: "guestTokens" using primary key columns */
|
|
1276
|
-
guestTokens_by_pk?: Maybe<GuestTokens>;
|
|
1277
|
-
};
|
|
1278
|
-
export declare type Subscription_RootCompanyIntegrationsArgs = {
|
|
1279
|
-
distinct_on?: InputMaybe<Array<CompanyIntegrations_Select_Column>>;
|
|
1280
|
-
limit?: InputMaybe<Scalars['Int']>;
|
|
1281
|
-
offset?: InputMaybe<Scalars['Int']>;
|
|
1282
|
-
order_by?: InputMaybe<Array<CompanyIntegrations_Order_By>>;
|
|
1283
|
-
where?: InputMaybe<CompanyIntegrations_Bool_Exp>;
|
|
1284
|
-
};
|
|
1285
|
-
export declare type Subscription_RootCompanyIntegrations_By_PkArgs = {
|
|
1286
|
-
id: Scalars['uuid'];
|
|
1287
|
-
};
|
|
1288
|
-
export declare type Subscription_RootCompanySubsetTablesArgs = {
|
|
1289
|
-
distinct_on?: InputMaybe<Array<CompanySubsetTables_Select_Column>>;
|
|
1290
|
-
limit?: InputMaybe<Scalars['Int']>;
|
|
1291
|
-
offset?: InputMaybe<Scalars['Int']>;
|
|
1292
|
-
order_by?: InputMaybe<Array<CompanySubsetTables_Order_By>>;
|
|
1293
|
-
where?: InputMaybe<CompanySubsetTables_Bool_Exp>;
|
|
1294
|
-
};
|
|
1295
|
-
export declare type Subscription_RootExternalDashboardMetricsArgs = {
|
|
1296
|
-
distinct_on?: InputMaybe<Array<ExternalDashboardMetrics_Select_Column>>;
|
|
1297
|
-
limit?: InputMaybe<Scalars['Int']>;
|
|
1298
|
-
offset?: InputMaybe<Scalars['Int']>;
|
|
1299
|
-
order_by?: InputMaybe<Array<ExternalDashboardMetrics_Order_By>>;
|
|
1300
|
-
where?: InputMaybe<ExternalDashboardMetrics_Bool_Exp>;
|
|
1301
|
-
};
|
|
1302
|
-
export declare type Subscription_RootExternalDashboardMetrics_By_PkArgs = {
|
|
1303
|
-
externalDashboardId: Scalars['uuid'];
|
|
1304
|
-
externalMetricId: Scalars['uuid'];
|
|
1305
|
-
};
|
|
1306
|
-
export declare type Subscription_RootExternalDashboardThemeClientsArgs = {
|
|
1307
|
-
distinct_on?: InputMaybe<Array<ExternalDashboardThemeClients_Select_Column>>;
|
|
1308
|
-
limit?: InputMaybe<Scalars['Int']>;
|
|
1309
|
-
offset?: InputMaybe<Scalars['Int']>;
|
|
1310
|
-
order_by?: InputMaybe<Array<ExternalDashboardThemeClients_Order_By>>;
|
|
1311
|
-
where?: InputMaybe<ExternalDashboardThemeClients_Bool_Exp>;
|
|
1312
|
-
};
|
|
1313
|
-
export declare type Subscription_RootExternalDashboardThemeClients_By_PkArgs = {
|
|
1314
|
-
id: Scalars['uuid'];
|
|
1315
|
-
};
|
|
1316
|
-
export declare type Subscription_RootExternalDashboardThemesArgs = {
|
|
1317
|
-
distinct_on?: InputMaybe<Array<ExternalDashboardThemes_Select_Column>>;
|
|
1318
|
-
limit?: InputMaybe<Scalars['Int']>;
|
|
1319
|
-
offset?: InputMaybe<Scalars['Int']>;
|
|
1320
|
-
order_by?: InputMaybe<Array<ExternalDashboardThemes_Order_By>>;
|
|
1321
|
-
where?: InputMaybe<ExternalDashboardThemes_Bool_Exp>;
|
|
1322
|
-
};
|
|
1323
|
-
export declare type Subscription_RootExternalDashboardThemes_By_PkArgs = {
|
|
1324
|
-
id: Scalars['uuid'];
|
|
1325
|
-
};
|
|
1326
|
-
export declare type Subscription_RootExternalDashboardsArgs = {
|
|
1327
|
-
distinct_on?: InputMaybe<Array<ExternalDashboards_Select_Column>>;
|
|
1328
|
-
limit?: InputMaybe<Scalars['Int']>;
|
|
1329
|
-
offset?: InputMaybe<Scalars['Int']>;
|
|
1330
|
-
order_by?: InputMaybe<Array<ExternalDashboards_Order_By>>;
|
|
1331
|
-
where?: InputMaybe<ExternalDashboards_Bool_Exp>;
|
|
1332
|
-
};
|
|
1333
|
-
export declare type Subscription_RootExternalDashboards_By_PkArgs = {
|
|
1334
|
-
id: Scalars['uuid'];
|
|
1335
|
-
};
|
|
1336
|
-
export declare type Subscription_RootExternalMetricsArgs = {
|
|
1337
|
-
distinct_on?: InputMaybe<Array<ExternalMetrics_Select_Column>>;
|
|
1338
|
-
limit?: InputMaybe<Scalars['Int']>;
|
|
1339
|
-
offset?: InputMaybe<Scalars['Int']>;
|
|
1340
|
-
order_by?: InputMaybe<Array<ExternalMetrics_Order_By>>;
|
|
1341
|
-
where?: InputMaybe<ExternalMetrics_Bool_Exp>;
|
|
1342
|
-
};
|
|
1343
|
-
export declare type Subscription_RootExternalMetricsRlsFiltersArgs = {
|
|
1344
|
-
distinct_on?: InputMaybe<Array<ExternalMetricsRlsFilters_Select_Column>>;
|
|
1345
|
-
limit?: InputMaybe<Scalars['Int']>;
|
|
1346
|
-
offset?: InputMaybe<Scalars['Int']>;
|
|
1347
|
-
order_by?: InputMaybe<Array<ExternalMetricsRlsFilters_Order_By>>;
|
|
1348
|
-
where?: InputMaybe<ExternalMetricsRlsFilters_Bool_Exp>;
|
|
1349
|
-
};
|
|
1350
|
-
export declare type Subscription_RootExternalMetricsRlsFilters_By_PkArgs = {
|
|
1351
|
-
id: Scalars['uuid'];
|
|
1352
|
-
};
|
|
1353
|
-
export declare type Subscription_RootExternalMetrics_By_PkArgs = {
|
|
1354
|
-
id: Scalars['uuid'];
|
|
1355
|
-
};
|
|
1356
|
-
export declare type Subscription_RootGuestTokensArgs = {
|
|
1357
|
-
distinct_on?: InputMaybe<Array<GuestTokens_Select_Column>>;
|
|
1358
|
-
limit?: InputMaybe<Scalars['Int']>;
|
|
1359
|
-
offset?: InputMaybe<Scalars['Int']>;
|
|
1360
|
-
order_by?: InputMaybe<Array<GuestTokens_Order_By>>;
|
|
1361
|
-
where?: InputMaybe<GuestTokens_Bool_Exp>;
|
|
1362
|
-
};
|
|
1363
|
-
export declare type Subscription_RootGuestTokens_By_PkArgs = {
|
|
1364
|
-
id: Scalars['uuid'];
|
|
1365
|
-
};
|
|
1366
|
-
/** Boolean expression to compare columns of type "timestamptz". All fields are combined with logical 'AND'. */
|
|
1367
|
-
export declare type Timestamptz_Comparison_Exp = {
|
|
1368
|
-
_eq?: InputMaybe<Scalars['timestamptz']>;
|
|
1369
|
-
_gt?: InputMaybe<Scalars['timestamptz']>;
|
|
1370
|
-
_gte?: InputMaybe<Scalars['timestamptz']>;
|
|
1371
|
-
_in?: InputMaybe<Array<Scalars['timestamptz']>>;
|
|
1372
|
-
_is_null?: InputMaybe<Scalars['Boolean']>;
|
|
1373
|
-
_lt?: InputMaybe<Scalars['timestamptz']>;
|
|
1374
|
-
_lte?: InputMaybe<Scalars['timestamptz']>;
|
|
1375
|
-
_neq?: InputMaybe<Scalars['timestamptz']>;
|
|
1376
|
-
_nin?: InputMaybe<Array<Scalars['timestamptz']>>;
|
|
1377
|
-
};
|
|
1378
|
-
/** Boolean expression to compare columns of type "uuid". All fields are combined with logical 'AND'. */
|
|
1379
|
-
export declare type Uuid_Comparison_Exp = {
|
|
1380
|
-
_eq?: InputMaybe<Scalars['uuid']>;
|
|
1381
|
-
_gt?: InputMaybe<Scalars['uuid']>;
|
|
1382
|
-
_gte?: InputMaybe<Scalars['uuid']>;
|
|
1383
|
-
_in?: InputMaybe<Array<Scalars['uuid']>>;
|
|
1384
|
-
_is_null?: InputMaybe<Scalars['Boolean']>;
|
|
1385
|
-
_lt?: InputMaybe<Scalars['uuid']>;
|
|
1386
|
-
_lte?: InputMaybe<Scalars['uuid']>;
|
|
1387
|
-
_neq?: InputMaybe<Scalars['uuid']>;
|
|
1388
|
-
_nin?: InputMaybe<Array<Scalars['uuid']>>;
|
|
1389
|
-
};
|
|
1390
|
-
export declare type CreateExternalMetricMutationVariables = Exact<{
|
|
1391
|
-
chartOptions?: InputMaybe<Scalars['jsonb']>;
|
|
1392
|
-
companyId?: InputMaybe<Scalars['uuid']>;
|
|
1393
|
-
companyIntegrationId?: InputMaybe<Scalars['uuid']>;
|
|
1394
|
-
description?: InputMaybe<Scalars['String']>;
|
|
1395
|
-
inputFields?: InputMaybe<Scalars['jsonb']>;
|
|
1396
|
-
integrationName?: InputMaybe<Scalars['String']>;
|
|
1397
|
-
metricId?: InputMaybe<Scalars['String']>;
|
|
1398
|
-
metricQuery?: InputMaybe<Scalars['String']>;
|
|
1399
|
-
name?: InputMaybe<Scalars['String']>;
|
|
1400
|
-
outputColumns?: InputMaybe<Scalars['String']>;
|
|
1401
|
-
query?: InputMaybe<Scalars['String']>;
|
|
1402
|
-
isLive?: InputMaybe<Scalars['Boolean']>;
|
|
1403
|
-
clientId?: InputMaybe<Scalars['String']>;
|
|
1404
|
-
isCreatedByClient?: InputMaybe<Scalars['Boolean']>;
|
|
1405
|
-
createdBy?: InputMaybe<Scalars['String']>;
|
|
1406
|
-
timeGrain?: InputMaybe<Scalars['String']>;
|
|
1407
|
-
externalDashboardIds?: InputMaybe<Array<ExternalDashboardMetrics_Insert_Input> | ExternalDashboardMetrics_Insert_Input>;
|
|
1408
|
-
selectedGroupBy?: InputMaybe<Scalars['jsonb']>;
|
|
1409
|
-
isEnableGroupBy?: InputMaybe<Scalars['Boolean']>;
|
|
1410
|
-
groupBy?: InputMaybe<Scalars['jsonb']>;
|
|
1411
|
-
}>;
|
|
1412
|
-
export declare type CreateExternalMetricMutation = {
|
|
1413
|
-
__typename?: 'mutation_root';
|
|
1414
|
-
insert_externalMetrics_one?: {
|
|
1415
|
-
__typename?: 'externalMetrics';
|
|
1416
|
-
id: any;
|
|
1417
|
-
externalDashboardMetrics: Array<{
|
|
1418
|
-
__typename?: 'externalDashboardMetrics';
|
|
1419
|
-
externalDashboardId: any;
|
|
1420
|
-
}>;
|
|
1421
|
-
} | null;
|
|
1422
|
-
};
|
|
1423
|
-
export declare type FetchColumnDataMutationVariables = Exact<{
|
|
1424
|
-
companyId?: InputMaybe<Scalars['String']>;
|
|
1425
|
-
tableName?: InputMaybe<Scalars['String']>;
|
|
1426
|
-
columnName?: InputMaybe<Scalars['String']>;
|
|
1427
|
-
}>;
|
|
1428
|
-
export declare type FetchColumnDataMutation = {
|
|
1429
|
-
__typename?: 'mutation_root';
|
|
1430
|
-
fetchColumnData?: {
|
|
1431
|
-
__typename?: 'FetchColumnDataOutput';
|
|
1432
|
-
data?: Array<{
|
|
1433
|
-
__typename?: 'ColumnData';
|
|
1434
|
-
label: string;
|
|
1435
|
-
value: string;
|
|
1436
|
-
} | null> | null;
|
|
1437
|
-
error?: {
|
|
1438
|
-
__typename?: 'ColumnDataError';
|
|
1439
|
-
message: string;
|
|
1440
|
-
} | null;
|
|
1441
|
-
} | null;
|
|
1442
|
-
};
|
|
1443
|
-
export declare type GenerateDatasetMetricsMutationVariables = Exact<{
|
|
1444
|
-
companyId?: InputMaybe<Scalars['String']>;
|
|
1445
|
-
userInputs?: InputMaybe<Scalars['json']>;
|
|
1446
|
-
}>;
|
|
1447
|
-
export declare type GenerateDatasetMetricsMutation = {
|
|
1448
|
-
__typename?: 'mutation_root';
|
|
1449
|
-
generateDatasetMetrics?: {
|
|
1450
|
-
__typename?: 'GenerateDatasetMetricsOutput';
|
|
1451
|
-
error?: any | null;
|
|
1452
|
-
query?: string | null;
|
|
1453
|
-
result?: any | null;
|
|
1454
|
-
} | null;
|
|
1455
|
-
};
|
|
1456
|
-
export declare type GenerateEmbeddedMeticMutationVariables = Exact<{
|
|
1457
|
-
clientId?: InputMaybe<Scalars['String']>;
|
|
1458
|
-
companyId?: InputMaybe<Scalars['String']>;
|
|
1459
|
-
queryPrompt?: InputMaybe<Scalars['String']>;
|
|
1460
|
-
timeGrain?: InputMaybe<Scalars['String']>;
|
|
1461
|
-
}>;
|
|
1462
|
-
export declare type GenerateEmbeddedMeticMutation = {
|
|
1463
|
-
__typename?: 'mutation_root';
|
|
1464
|
-
generateEmbeddedMetic?: {
|
|
1465
|
-
__typename?: 'GenerateEmbeddedMeticOutput';
|
|
1466
|
-
query?: string | null;
|
|
1467
|
-
result?: any | null;
|
|
1468
|
-
error?: {
|
|
1469
|
-
__typename?: 'Error';
|
|
1470
|
-
message: string;
|
|
1471
|
-
} | null;
|
|
1472
|
-
} | null;
|
|
1473
|
-
};
|
|
1474
|
-
export declare type CompanySubsetTableDataMutationVariables = Exact<{
|
|
1475
|
-
clientId?: InputMaybe<Scalars['String']>;
|
|
1476
|
-
companyId?: InputMaybe<Scalars['String']>;
|
|
1477
|
-
}>;
|
|
1478
|
-
export declare type CompanySubsetTableDataMutation = {
|
|
1479
|
-
__typename?: 'mutation_root';
|
|
1480
|
-
companySubsetTableData?: {
|
|
1481
|
-
__typename?: 'companySubsetTableDataOutput';
|
|
1482
|
-
companyIntegrationId?: string | null;
|
|
1483
|
-
dbName?: string | null;
|
|
1484
|
-
error?: {
|
|
1485
|
-
__typename?: 'companySubsetTableDataError';
|
|
1486
|
-
message: string;
|
|
1487
|
-
} | null;
|
|
1488
|
-
tableList?: Array<{
|
|
1489
|
-
__typename?: 'TableList';
|
|
1490
|
-
tableName: string;
|
|
1491
|
-
clientColumn?: string | null;
|
|
1492
|
-
columns?: Array<{
|
|
1493
|
-
__typename?: 'SubsetColumns';
|
|
1494
|
-
datatype: string;
|
|
1495
|
-
name: string;
|
|
1496
|
-
as: string;
|
|
1497
|
-
} | null> | null;
|
|
1498
|
-
} | null> | null;
|
|
1499
|
-
} | null;
|
|
1500
|
-
};
|
|
1501
|
-
export declare type EmbeddedDashboardMetricsQueryVariables = Exact<{
|
|
1502
|
-
where?: InputMaybe<ExternalDashboardMetrics_Bool_Exp>;
|
|
1503
|
-
}>;
|
|
1504
|
-
export declare type EmbeddedDashboardMetricsQuery = {
|
|
1505
|
-
__typename?: 'query_root';
|
|
1506
|
-
externalDashboardMetrics: Array<{
|
|
1507
|
-
__typename?: 'externalDashboardMetrics';
|
|
1508
|
-
externalMetricId: any;
|
|
1509
|
-
externalDashboardId: any;
|
|
1510
|
-
externalMetric: {
|
|
1511
|
-
__typename?: 'externalMetrics';
|
|
1512
|
-
chartOptions: any;
|
|
1513
|
-
clientId?: string | null;
|
|
1514
|
-
companyId: any;
|
|
1515
|
-
companyIntegrationId: any;
|
|
1516
|
-
createdAt: any;
|
|
1517
|
-
createdBy?: string | null;
|
|
1518
|
-
description: string;
|
|
1519
|
-
id: any;
|
|
1520
|
-
inputFields?: any | null;
|
|
1521
|
-
integrationName: string;
|
|
1522
|
-
isCreatedByClient: boolean;
|
|
1523
|
-
isLive: boolean;
|
|
1524
|
-
metricId: string;
|
|
1525
|
-
metricQuery?: string | null;
|
|
1526
|
-
name: string;
|
|
1527
|
-
outputColumns?: string | null;
|
|
1528
|
-
query: string;
|
|
1529
|
-
resizeAttributes: any;
|
|
1530
|
-
timeGrain?: string | null;
|
|
1531
|
-
updatedAt: any;
|
|
1532
|
-
selectedGroupBy: any;
|
|
1533
|
-
isEnableGroupBy: boolean;
|
|
1534
|
-
groupBy: any;
|
|
1535
|
-
rlsConditions: any;
|
|
1536
|
-
clickActions: any;
|
|
1537
|
-
companyIntegration: {
|
|
1538
|
-
__typename?: 'companyIntegrations';
|
|
1539
|
-
name: string;
|
|
1540
|
-
};
|
|
1541
|
-
};
|
|
1542
|
-
}>;
|
|
1543
|
-
};
|
|
1544
|
-
export declare type GetExternalDashboardClientThemeQueryVariables = Exact<{
|
|
1545
|
-
companyId: Scalars['uuid'];
|
|
1546
|
-
clientId: Scalars['String'];
|
|
1547
|
-
}>;
|
|
1548
|
-
export declare type GetExternalDashboardClientThemeQuery = {
|
|
1549
|
-
__typename?: 'query_root';
|
|
1550
|
-
externalDashboardThemes: Array<{
|
|
1551
|
-
__typename?: 'externalDashboardThemes';
|
|
1552
|
-
colors: any;
|
|
1553
|
-
createdAt: any;
|
|
1554
|
-
id: any;
|
|
1555
|
-
name: string;
|
|
1556
|
-
}>;
|
|
1557
|
-
};
|
|
1558
|
-
export declare type GetExternalDashboardIdQueryVariables = Exact<{
|
|
1559
|
-
externalDashboardId?: InputMaybe<Scalars['String']>;
|
|
1560
|
-
}>;
|
|
1561
|
-
export declare type GetExternalDashboardIdQuery = {
|
|
1562
|
-
__typename?: 'query_root';
|
|
1563
|
-
externalDashboards: Array<{
|
|
1564
|
-
__typename?: 'externalDashboards';
|
|
1565
|
-
id: any;
|
|
1566
|
-
filters: any;
|
|
1567
|
-
}>;
|
|
1568
|
-
};
|
|
1569
|
-
export declare type ExternalDashboardListQueryVariables = Exact<{
|
|
1570
|
-
companyId?: InputMaybe<Scalars['uuid']>;
|
|
1571
|
-
}>;
|
|
1572
|
-
export declare type ExternalDashboardListQuery = {
|
|
1573
|
-
__typename?: 'query_root';
|
|
1574
|
-
externalDashboards: Array<{
|
|
1575
|
-
__typename?: 'externalDashboards';
|
|
1576
|
-
externalDashboardId: string;
|
|
1577
|
-
name: string;
|
|
1578
|
-
id: any;
|
|
1579
|
-
}>;
|
|
1580
|
-
};
|
|
1581
|
-
export declare type GuestTokenParamsQueryVariables = Exact<{
|
|
1582
|
-
id?: InputMaybe<Scalars['uuid']>;
|
|
1583
|
-
}>;
|
|
1584
|
-
export declare type GuestTokenParamsQuery = {
|
|
1585
|
-
__typename?: 'query_root';
|
|
1586
|
-
guestTokens_by_pk?: {
|
|
1587
|
-
__typename?: 'guestTokens';
|
|
1588
|
-
clientId: string;
|
|
1589
|
-
companyId: any;
|
|
1590
|
-
id: any;
|
|
1591
|
-
params: any;
|
|
1592
|
-
} | null;
|
|
1593
|
-
};
|
|
1594
|
-
export declare type MetricCreationAccessQueryVariables = Exact<{
|
|
1595
|
-
companyId?: InputMaybe<Scalars['uuid']>;
|
|
1596
|
-
}>;
|
|
1597
|
-
export declare type MetricCreationAccessQuery = {
|
|
1598
|
-
__typename?: 'query_root';
|
|
1599
|
-
companySubsetTables: Array<{
|
|
1600
|
-
__typename?: 'companySubsetTables';
|
|
1601
|
-
isAllowMetricCreation: boolean;
|
|
1602
|
-
}>;
|
|
1603
|
-
};
|
|
1604
|
-
export declare type PreviewTableMutationVariables = Exact<{
|
|
1605
|
-
companyId?: InputMaybe<Scalars['String']>;
|
|
1606
|
-
tableName?: InputMaybe<Scalars['String']>;
|
|
1607
|
-
limit?: InputMaybe<Scalars['Int']>;
|
|
1608
|
-
}>;
|
|
1609
|
-
export declare type PreviewTableMutation = {
|
|
1610
|
-
__typename?: 'mutation_root';
|
|
1611
|
-
previewTable?: {
|
|
1612
|
-
__typename?: 'PreviewTableOutput';
|
|
1613
|
-
data?: {
|
|
1614
|
-
__typename?: 'PreviewTableData';
|
|
1615
|
-
data?: any | null;
|
|
1616
|
-
isError: boolean;
|
|
1617
|
-
name: string;
|
|
1618
|
-
} | null;
|
|
1619
|
-
error?: {
|
|
1620
|
-
__typename?: 'PreviewTableError';
|
|
1621
|
-
message: string;
|
|
1622
|
-
} | null;
|
|
1623
|
-
} | null;
|
|
1624
|
-
};
|
|
1625
|
-
export declare type QueryExternalMetricQueryVariables = Exact<{
|
|
1626
|
-
id?: InputMaybe<Scalars['String']>;
|
|
1627
|
-
clientId?: InputMaybe<Scalars['String']>;
|
|
1628
|
-
globalFilters?: InputMaybe<Scalars['json']>;
|
|
1629
|
-
rlsConditions?: InputMaybe<Scalars['json']>;
|
|
1630
|
-
filterValues?: InputMaybe<Scalars['json']>;
|
|
1631
|
-
tenancyLevel?: InputMaybe<Scalars['String']>;
|
|
1632
|
-
}>;
|
|
1633
|
-
export declare type QueryExternalMetricQuery = {
|
|
1634
|
-
__typename?: 'query_root';
|
|
1635
|
-
externalMetricQuery?: {
|
|
1636
|
-
__typename?: 'ExternalMetricQueryOutput';
|
|
1637
|
-
data?: any | null;
|
|
1638
|
-
timeTaken?: number | null;
|
|
1639
|
-
} | null;
|
|
1640
|
-
};
|
|
1641
|
-
export declare const CreateExternalMetricDocument = "\n mutation CreateExternalMetric($chartOptions: jsonb = \"\", $companyId: uuid = \"\", $companyIntegrationId: uuid = \"\", $description: String = \"\", $inputFields: jsonb = \"\", $integrationName: String = \"\", $metricId: String = \"\", $metricQuery: String = \"\", $name: String = \"\", $outputColumns: String = \"\", $query: String = \"\", $isLive: Boolean, $clientId: String = \"\", $isCreatedByClient: Boolean = false, $createdBy: String = \"\", $timeGrain: String = \"\", $externalDashboardIds: [externalDashboardMetrics_insert_input!] = {}, $selectedGroupBy: jsonb = [], $isEnableGroupBy: Boolean = false, $groupBy: jsonb = {}) {\n insert_externalMetrics_one(\n object: {chartOptions: $chartOptions, companyId: $companyId, companyIntegrationId: $companyIntegrationId, description: $description, inputFields: $inputFields, integrationName: $integrationName, metricId: $metricId, metricQuery: $metricQuery, name: $name, outputColumns: $outputColumns, query: $query, isLive: $isLive, clientId: $clientId, isCreatedByClient: $isCreatedByClient, createdBy: $createdBy, timeGrain: $timeGrain, externalDashboardMetrics: {data: $externalDashboardIds}, selectedGroupBy: $selectedGroupBy, isEnableGroupBy: $isEnableGroupBy, groupBy: $groupBy}\n ) {\n id\n externalDashboardMetrics {\n externalDashboardId\n }\n }\n}\n ";
|
|
1642
|
-
export declare const useCreateExternalMetricMutation: <TError = unknown, TContext = unknown>(options?: UseMutationOptions<CreateExternalMetricMutation, TError, Exact<{
|
|
1643
|
-
chartOptions?: InputMaybe<Scalars['jsonb']>;
|
|
1644
|
-
companyId?: InputMaybe<Scalars['uuid']>;
|
|
1645
|
-
companyIntegrationId?: InputMaybe<Scalars['uuid']>;
|
|
1646
|
-
description?: InputMaybe<string> | undefined;
|
|
1647
|
-
inputFields?: InputMaybe<Scalars['jsonb']>;
|
|
1648
|
-
integrationName?: InputMaybe<string> | undefined;
|
|
1649
|
-
metricId?: InputMaybe<string> | undefined;
|
|
1650
|
-
metricQuery?: InputMaybe<string> | undefined;
|
|
1651
|
-
name?: InputMaybe<string> | undefined;
|
|
1652
|
-
outputColumns?: InputMaybe<string> | undefined;
|
|
1653
|
-
query?: InputMaybe<string> | undefined;
|
|
1654
|
-
isLive?: InputMaybe<boolean> | undefined;
|
|
1655
|
-
clientId?: InputMaybe<string> | undefined;
|
|
1656
|
-
isCreatedByClient?: InputMaybe<boolean> | undefined;
|
|
1657
|
-
createdBy?: InputMaybe<string> | undefined;
|
|
1658
|
-
timeGrain?: InputMaybe<string> | undefined;
|
|
1659
|
-
externalDashboardIds?: InputMaybe<ExternalDashboardMetrics_Insert_Input | ExternalDashboardMetrics_Insert_Input[]> | undefined;
|
|
1660
|
-
selectedGroupBy?: InputMaybe<Scalars['jsonb']>;
|
|
1661
|
-
isEnableGroupBy?: InputMaybe<boolean> | undefined;
|
|
1662
|
-
groupBy?: InputMaybe<Scalars['jsonb']>;
|
|
1663
|
-
}>, TContext> | undefined) => import("react-query").UseMutationResult<CreateExternalMetricMutation, TError, Exact<{
|
|
1664
|
-
chartOptions?: InputMaybe<Scalars['jsonb']>;
|
|
1665
|
-
companyId?: InputMaybe<Scalars['uuid']>;
|
|
1666
|
-
companyIntegrationId?: InputMaybe<Scalars['uuid']>;
|
|
1667
|
-
description?: InputMaybe<string> | undefined;
|
|
1668
|
-
inputFields?: InputMaybe<Scalars['jsonb']>;
|
|
1669
|
-
integrationName?: InputMaybe<string> | undefined;
|
|
1670
|
-
metricId?: InputMaybe<string> | undefined;
|
|
1671
|
-
metricQuery?: InputMaybe<string> | undefined;
|
|
1672
|
-
name?: InputMaybe<string> | undefined;
|
|
1673
|
-
outputColumns?: InputMaybe<string> | undefined;
|
|
1674
|
-
query?: InputMaybe<string> | undefined;
|
|
1675
|
-
isLive?: InputMaybe<boolean> | undefined;
|
|
1676
|
-
clientId?: InputMaybe<string> | undefined;
|
|
1677
|
-
isCreatedByClient?: InputMaybe<boolean> | undefined;
|
|
1678
|
-
createdBy?: InputMaybe<string> | undefined;
|
|
1679
|
-
timeGrain?: InputMaybe<string> | undefined;
|
|
1680
|
-
externalDashboardIds?: InputMaybe<ExternalDashboardMetrics_Insert_Input | ExternalDashboardMetrics_Insert_Input[]> | undefined;
|
|
1681
|
-
selectedGroupBy?: InputMaybe<Scalars['jsonb']>;
|
|
1682
|
-
isEnableGroupBy?: InputMaybe<boolean> | undefined;
|
|
1683
|
-
groupBy?: InputMaybe<Scalars['jsonb']>;
|
|
1684
|
-
}>, TContext>;
|
|
1685
|
-
export declare const FetchColumnDataDocument = "\n mutation FetchColumnData($companyId: String = \"\", $tableName: String = \"\", $columnName: String = \"\") {\n fetchColumnData(\n input: {columnName: $columnName, companyId: $companyId, tableName: $tableName}\n ) {\n data {\n label\n value\n }\n error {\n message\n }\n }\n}\n ";
|
|
1686
|
-
export declare const useFetchColumnDataMutation: <TError = unknown, TContext = unknown>(options?: UseMutationOptions<FetchColumnDataMutation, TError, Exact<{
|
|
1687
|
-
companyId?: InputMaybe<string> | undefined;
|
|
1688
|
-
tableName?: InputMaybe<string> | undefined;
|
|
1689
|
-
columnName?: InputMaybe<string> | undefined;
|
|
1690
|
-
}>, TContext> | undefined) => import("react-query").UseMutationResult<FetchColumnDataMutation, TError, Exact<{
|
|
1691
|
-
companyId?: InputMaybe<string> | undefined;
|
|
1692
|
-
tableName?: InputMaybe<string> | undefined;
|
|
1693
|
-
columnName?: InputMaybe<string> | undefined;
|
|
1694
|
-
}>, TContext>;
|
|
1695
|
-
export declare const GenerateDatasetMetricsDocument = "\n mutation GenerateDatasetMetrics($companyId: String = \"\", $userInputs: json = \"\") {\n generateDatasetMetrics(input: {companyId: $companyId, userInputs: $userInputs}) {\n error\n query\n result\n }\n}\n ";
|
|
1696
|
-
export declare const useGenerateDatasetMetricsMutation: <TError = unknown, TContext = unknown>(options?: UseMutationOptions<GenerateDatasetMetricsMutation, TError, Exact<{
|
|
1697
|
-
companyId?: InputMaybe<string> | undefined;
|
|
1698
|
-
userInputs?: InputMaybe<Scalars['json']>;
|
|
1699
|
-
}>, TContext> | undefined) => import("react-query").UseMutationResult<GenerateDatasetMetricsMutation, TError, Exact<{
|
|
1700
|
-
companyId?: InputMaybe<string> | undefined;
|
|
1701
|
-
userInputs?: InputMaybe<Scalars['json']>;
|
|
1702
|
-
}>, TContext>;
|
|
1703
|
-
export declare const GenerateEmbeddedMeticDocument = "\n mutation GenerateEmbeddedMetic($clientId: String = \"\", $companyId: String = \"\", $queryPrompt: String = \"\", $timeGrain: String = \"\") {\n generateEmbeddedMetic(\n input: {clientId: $clientId, companyId: $companyId, queryPrompt: $queryPrompt, timeGrain: $timeGrain}\n ) {\n query\n result\n error {\n message\n }\n }\n}\n ";
|
|
1704
|
-
export declare const useGenerateEmbeddedMeticMutation: <TError = unknown, TContext = unknown>(options?: UseMutationOptions<GenerateEmbeddedMeticMutation, TError, Exact<{
|
|
1705
|
-
clientId?: InputMaybe<string> | undefined;
|
|
1706
|
-
companyId?: InputMaybe<string> | undefined;
|
|
1707
|
-
queryPrompt?: InputMaybe<string> | undefined;
|
|
1708
|
-
timeGrain?: InputMaybe<string> | undefined;
|
|
1709
|
-
}>, TContext> | undefined) => import("react-query").UseMutationResult<GenerateEmbeddedMeticMutation, TError, Exact<{
|
|
1710
|
-
clientId?: InputMaybe<string> | undefined;
|
|
1711
|
-
companyId?: InputMaybe<string> | undefined;
|
|
1712
|
-
queryPrompt?: InputMaybe<string> | undefined;
|
|
1713
|
-
timeGrain?: InputMaybe<string> | undefined;
|
|
1714
|
-
}>, TContext>;
|
|
1715
|
-
export declare const CompanySubsetTableDataDocument = "\n mutation CompanySubsetTableData($clientId: String = \"\", $companyId: String = \"\") {\n companySubsetTableData(input: {clientId: $clientId, companyId: $companyId}) {\n companyIntegrationId\n dbName\n error {\n message\n }\n tableList {\n tableName\n columns {\n datatype\n name\n as\n }\n clientColumn\n }\n }\n}\n ";
|
|
1716
|
-
export declare const useCompanySubsetTableDataMutation: <TError = unknown, TContext = unknown>(options?: UseMutationOptions<CompanySubsetTableDataMutation, TError, Exact<{
|
|
1717
|
-
clientId?: InputMaybe<string> | undefined;
|
|
1718
|
-
companyId?: InputMaybe<string> | undefined;
|
|
1719
|
-
}>, TContext> | undefined) => import("react-query").UseMutationResult<CompanySubsetTableDataMutation, TError, Exact<{
|
|
1720
|
-
clientId?: InputMaybe<string> | undefined;
|
|
1721
|
-
companyId?: InputMaybe<string> | undefined;
|
|
1722
|
-
}>, TContext>;
|
|
1723
|
-
export declare const EmbeddedDashboardMetricsDocument = "\n query EmbeddedDashboardMetrics($where: externalDashboardMetrics_bool_exp) {\n externalDashboardMetrics(where: $where) {\n externalMetricId\n externalDashboardId\n externalMetric {\n chartOptions\n clientId\n companyId\n companyIntegrationId\n createdAt\n createdBy\n description\n id\n inputFields\n integrationName\n isCreatedByClient\n isLive\n metricId\n metricQuery\n name\n outputColumns\n query\n resizeAttributes\n timeGrain\n updatedAt\n selectedGroupBy\n isEnableGroupBy\n groupBy\n rlsConditions\n companyIntegration {\n name\n }\n clickActions\n }\n }\n}\n ";
|
|
1724
|
-
export declare const useEmbeddedDashboardMetricsQuery: <TData = EmbeddedDashboardMetricsQuery, TError = unknown>(variables?: EmbeddedDashboardMetricsQueryVariables, options?: UseQueryOptions<EmbeddedDashboardMetricsQuery, TError, TData, import("react-query").QueryKey> | undefined) => import("react-query").UseQueryResult<TData, TError>;
|
|
1725
|
-
export declare const GetExternalDashboardClientThemeDocument = "\n query GetExternalDashboardClientTheme($companyId: uuid!, $clientId: String!) {\n externalDashboardThemes(\n where: {companyId: {_eq: $companyId}, externalDashboardThemeClients: {clientId: {_eq: $clientId}}}\n limit: 1\n ) {\n colors\n createdAt\n id\n name\n }\n}\n ";
|
|
1726
|
-
export declare const useGetExternalDashboardClientThemeQuery: <TData = GetExternalDashboardClientThemeQuery, TError = unknown>(variables: GetExternalDashboardClientThemeQueryVariables, options?: UseQueryOptions<GetExternalDashboardClientThemeQuery, TError, TData, import("react-query").QueryKey> | undefined) => import("react-query").UseQueryResult<TData, TError>;
|
|
1727
|
-
export declare const GetExternalDashboardIdDocument = "\n query GetExternalDashboardId($externalDashboardId: String = \"\") {\n externalDashboards(where: {externalDashboardId: {_eq: $externalDashboardId}}) {\n id\n filters\n }\n}\n ";
|
|
1728
|
-
export declare const useGetExternalDashboardIdQuery: <TData = GetExternalDashboardIdQuery, TError = unknown>(variables?: GetExternalDashboardIdQueryVariables, options?: UseQueryOptions<GetExternalDashboardIdQuery, TError, TData, import("react-query").QueryKey> | undefined) => import("react-query").UseQueryResult<TData, TError>;
|
|
1729
|
-
export declare const ExternalDashboardListDocument = "\n query ExternalDashboardList($companyId: uuid = \"\") {\n externalDashboards(where: {companyId: {_eq: $companyId}}) {\n externalDashboardId\n name\n id\n }\n}\n ";
|
|
1730
|
-
export declare const useExternalDashboardListQuery: <TData = ExternalDashboardListQuery, TError = unknown>(variables?: ExternalDashboardListQueryVariables, options?: UseQueryOptions<ExternalDashboardListQuery, TError, TData, import("react-query").QueryKey> | undefined) => import("react-query").UseQueryResult<TData, TError>;
|
|
1731
|
-
export declare const GuestTokenParamsDocument = "\n query GuestTokenParams($id: uuid = \"\") {\n guestTokens_by_pk(id: $id) {\n clientId\n companyId\n id\n params\n }\n}\n ";
|
|
1732
|
-
export declare const useGuestTokenParamsQuery: <TData = GuestTokenParamsQuery, TError = unknown>(variables?: GuestTokenParamsQueryVariables, options?: UseQueryOptions<GuestTokenParamsQuery, TError, TData, import("react-query").QueryKey> | undefined) => import("react-query").UseQueryResult<TData, TError>;
|
|
1733
|
-
export declare const MetricCreationAccessDocument = "\n query MetricCreationAccess($companyId: uuid = \"\") {\n companySubsetTables(where: {companyId: {_eq: $companyId}}) {\n isAllowMetricCreation\n }\n}\n ";
|
|
1734
|
-
export declare const useMetricCreationAccessQuery: <TData = MetricCreationAccessQuery, TError = unknown>(variables?: MetricCreationAccessQueryVariables, options?: UseQueryOptions<MetricCreationAccessQuery, TError, TData, import("react-query").QueryKey> | undefined) => import("react-query").UseQueryResult<TData, TError>;
|
|
1735
|
-
export declare const PreviewTableDocument = "\n mutation PreviewTable($companyId: String = \"\", $tableName: String = \"\", $limit: Int = 10) {\n previewTable(\n input: {companyId: $companyId, tableName: $tableName, limit: $limit}\n ) {\n data {\n data\n isError\n name\n }\n error {\n message\n }\n }\n}\n ";
|
|
1736
|
-
export declare const usePreviewTableMutation: <TError = unknown, TContext = unknown>(options?: UseMutationOptions<PreviewTableMutation, TError, Exact<{
|
|
1737
|
-
companyId?: InputMaybe<string> | undefined;
|
|
1738
|
-
tableName?: InputMaybe<string> | undefined;
|
|
1739
|
-
limit?: InputMaybe<number> | undefined;
|
|
1740
|
-
}>, TContext> | undefined) => import("react-query").UseMutationResult<PreviewTableMutation, TError, Exact<{
|
|
1741
|
-
companyId?: InputMaybe<string> | undefined;
|
|
1742
|
-
tableName?: InputMaybe<string> | undefined;
|
|
1743
|
-
limit?: InputMaybe<number> | undefined;
|
|
1744
|
-
}>, TContext>;
|
|
1745
|
-
export declare const QueryExternalMetricDocument = "\n query QueryExternalMetric($id: String = \"\", $clientId: String = \"\", $globalFilters: json = \"\", $rlsConditions: json = [], $filterValues: json = \"\", $tenancyLevel: String = \"\") {\n externalMetricQuery(\n input: {externalMetricId: $id, clientId: $clientId, globalFilters: $globalFilters, rlsConditions: $rlsConditions, filterValues: $filterValues, tenancyLevel: $tenancyLevel}\n ) {\n data\n timeTaken\n }\n}\n ";
|
|
1746
|
-
export declare const useQueryExternalMetricQuery: <TData = QueryExternalMetricQuery, TError = unknown>(variables?: QueryExternalMetricQueryVariables, options?: UseQueryOptions<QueryExternalMetricQuery, TError, TData, import("react-query").QueryKey> | undefined) => import("react-query").UseQueryResult<TData, TError>;
|