@databrainhq/plugin 0.5.0 → 0.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/MetricList/components/MetricCard.d.ts +2 -1
- package/dist/components/MetricList/index.d.ts +3 -2
- package/dist/components/RlsFilters/MultipleTimeGrain.d.ts +8 -0
- package/dist/components/RlsFilters/index.d.ts +8 -0
- package/dist/components/TimeGrainField/index.d.ts +2 -1
- package/dist/hooks/useEmbeddedDashboard.d.ts +7 -0
- package/dist/index.es.js +3246 -3112
- package/dist/index.umd.js +65 -54
- package/dist/style.css +1 -1
- package/dist/types/index.d.ts +9 -0
- package/dist/utils/generated/graphql.d.ts +172 -132
- package/package.json +1 -1
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { UseMutationOptions, UseQueryOptions } from 'react-query';
|
|
2
2
|
export declare type Maybe<T> = T | null;
|
|
3
3
|
export declare type InputMaybe<T> = Maybe<T>;
|
|
4
|
-
export declare type Exact<T extends
|
|
4
|
+
export declare type Exact<T extends {
|
|
5
|
+
[key: string]: unknown;
|
|
6
|
+
}> = {
|
|
5
7
|
[K in keyof T]: T[K];
|
|
6
8
|
};
|
|
7
9
|
export declare type MakeOptional<T, K extends keyof T> = Omit<T, K> & {
|
|
@@ -27,12 +29,12 @@ export declare type Boolean_Comparison_Exp = {
|
|
|
27
29
|
_eq?: InputMaybe<Scalars['Boolean']>;
|
|
28
30
|
_gt?: InputMaybe<Scalars['Boolean']>;
|
|
29
31
|
_gte?: InputMaybe<Scalars['Boolean']>;
|
|
30
|
-
_in?: InputMaybe<Scalars['Boolean']
|
|
32
|
+
_in?: InputMaybe<Array<Scalars['Boolean']>>;
|
|
31
33
|
_is_null?: InputMaybe<Scalars['Boolean']>;
|
|
32
34
|
_lt?: InputMaybe<Scalars['Boolean']>;
|
|
33
35
|
_lte?: InputMaybe<Scalars['Boolean']>;
|
|
34
36
|
_neq?: InputMaybe<Scalars['Boolean']>;
|
|
35
|
-
_nin?: InputMaybe<Scalars['Boolean']
|
|
37
|
+
_nin?: InputMaybe<Array<Scalars['Boolean']>>;
|
|
36
38
|
};
|
|
37
39
|
export declare type ColumnData = {
|
|
38
40
|
__typename?: 'ColumnData';
|
|
@@ -52,10 +54,13 @@ export declare type ExternalMetricQueryInput = {
|
|
|
52
54
|
externalMetricId: Scalars['String'];
|
|
53
55
|
filterValues?: InputMaybe<Scalars['json']>;
|
|
54
56
|
globalFilters?: InputMaybe<Scalars['json']>;
|
|
57
|
+
rlsConditions?: InputMaybe<Scalars['json']>;
|
|
58
|
+
tenancyLevel?: InputMaybe<Scalars['String']>;
|
|
55
59
|
};
|
|
56
60
|
export declare type ExternalMetricQueryOutput = {
|
|
57
61
|
__typename?: 'ExternalMetricQueryOutput';
|
|
58
62
|
data?: Maybe<Scalars['json']>;
|
|
63
|
+
timeTaken?: Maybe<Scalars['Float']>;
|
|
59
64
|
};
|
|
60
65
|
export declare type FetchColumnDataInput = {
|
|
61
66
|
columnName: Scalars['String'];
|
|
@@ -64,7 +69,7 @@ export declare type FetchColumnDataInput = {
|
|
|
64
69
|
};
|
|
65
70
|
export declare type FetchColumnDataOutput = {
|
|
66
71
|
__typename?: 'FetchColumnDataOutput';
|
|
67
|
-
data?: Maybe<Maybe<ColumnData
|
|
72
|
+
data?: Maybe<Array<Maybe<ColumnData>>>;
|
|
68
73
|
error?: Maybe<ColumnDataError>;
|
|
69
74
|
};
|
|
70
75
|
export declare type GenerateDatasetMetricsInput = {
|
|
@@ -76,6 +81,7 @@ export declare type GenerateDatasetMetricsOutput = {
|
|
|
76
81
|
error?: Maybe<Scalars['json']>;
|
|
77
82
|
query?: Maybe<Scalars['String']>;
|
|
78
83
|
result?: Maybe<Scalars['json']>;
|
|
84
|
+
timeTaken?: Maybe<Scalars['Float']>;
|
|
79
85
|
};
|
|
80
86
|
export declare type GenerateEmbeddedMeticInput = {
|
|
81
87
|
clientId: Scalars['String'];
|
|
@@ -123,7 +129,7 @@ export declare type String_Comparison_Exp = {
|
|
|
123
129
|
_gte?: InputMaybe<Scalars['String']>;
|
|
124
130
|
/** does the column match the given case-insensitive pattern */
|
|
125
131
|
_ilike?: InputMaybe<Scalars['String']>;
|
|
126
|
-
_in?: InputMaybe<Scalars['String']
|
|
132
|
+
_in?: InputMaybe<Array<Scalars['String']>>;
|
|
127
133
|
/** does the column match the given POSIX regular expression, case insensitive */
|
|
128
134
|
_iregex?: InputMaybe<Scalars['String']>;
|
|
129
135
|
_is_null?: InputMaybe<Scalars['Boolean']>;
|
|
@@ -134,7 +140,7 @@ export declare type String_Comparison_Exp = {
|
|
|
134
140
|
_neq?: InputMaybe<Scalars['String']>;
|
|
135
141
|
/** does the column NOT match the given case-insensitive pattern */
|
|
136
142
|
_nilike?: InputMaybe<Scalars['String']>;
|
|
137
|
-
_nin?: InputMaybe<Scalars['String']
|
|
143
|
+
_nin?: InputMaybe<Array<Scalars['String']>>;
|
|
138
144
|
/** does the column NOT match the given POSIX regular expression, case insensitive */
|
|
139
145
|
_niregex?: InputMaybe<Scalars['String']>;
|
|
140
146
|
/** does the column NOT match the given pattern */
|
|
@@ -153,7 +159,7 @@ export declare type CompanyIntegrations = {
|
|
|
153
159
|
__typename?: 'companyIntegrations';
|
|
154
160
|
companyId: Scalars['uuid'];
|
|
155
161
|
/** An array relationship */
|
|
156
|
-
externalMetrics: ExternalMetrics
|
|
162
|
+
externalMetrics: Array<ExternalMetrics>;
|
|
157
163
|
id: Scalars['uuid'];
|
|
158
164
|
/** connected source or destination id */
|
|
159
165
|
integrationId: Scalars['uuid'];
|
|
@@ -161,17 +167,17 @@ export declare type CompanyIntegrations = {
|
|
|
161
167
|
};
|
|
162
168
|
/** columns and relationships of "companyIntegrations" */
|
|
163
169
|
export declare type CompanyIntegrationsExternalMetricsArgs = {
|
|
164
|
-
distinct_on?: InputMaybe<ExternalMetrics_Select_Column
|
|
170
|
+
distinct_on?: InputMaybe<Array<ExternalMetrics_Select_Column>>;
|
|
165
171
|
limit?: InputMaybe<Scalars['Int']>;
|
|
166
172
|
offset?: InputMaybe<Scalars['Int']>;
|
|
167
|
-
order_by?: InputMaybe<ExternalMetrics_Order_By
|
|
173
|
+
order_by?: InputMaybe<Array<ExternalMetrics_Order_By>>;
|
|
168
174
|
where?: InputMaybe<ExternalMetrics_Bool_Exp>;
|
|
169
175
|
};
|
|
170
176
|
/** Boolean expression to filter rows from the table "companyIntegrations". All fields are combined with a logical 'AND'. */
|
|
171
177
|
export declare type CompanyIntegrations_Bool_Exp = {
|
|
172
|
-
_and?: InputMaybe<CompanyIntegrations_Bool_Exp
|
|
178
|
+
_and?: InputMaybe<Array<CompanyIntegrations_Bool_Exp>>;
|
|
173
179
|
_not?: InputMaybe<CompanyIntegrations_Bool_Exp>;
|
|
174
|
-
_or?: InputMaybe<CompanyIntegrations_Bool_Exp
|
|
180
|
+
_or?: InputMaybe<Array<CompanyIntegrations_Bool_Exp>>;
|
|
175
181
|
companyId?: InputMaybe<Uuid_Comparison_Exp>;
|
|
176
182
|
externalMetrics?: InputMaybe<ExternalMetrics_Bool_Exp>;
|
|
177
183
|
id?: InputMaybe<Uuid_Comparison_Exp>;
|
|
@@ -201,6 +207,7 @@ export declare enum CompanyIntegrations_Select_Column {
|
|
|
201
207
|
export declare type CompanySubsetTables = {
|
|
202
208
|
__typename?: 'companySubsetTables';
|
|
203
209
|
companyId: Scalars['uuid'];
|
|
210
|
+
isAllowMetricCreation: Scalars['Boolean'];
|
|
204
211
|
tableList: Scalars['jsonb'];
|
|
205
212
|
};
|
|
206
213
|
/** subset of tables of user database */
|
|
@@ -209,15 +216,17 @@ export declare type CompanySubsetTablesTableListArgs = {
|
|
|
209
216
|
};
|
|
210
217
|
/** Boolean expression to filter rows from the table "companySubsetTables". All fields are combined with a logical 'AND'. */
|
|
211
218
|
export declare type CompanySubsetTables_Bool_Exp = {
|
|
212
|
-
_and?: InputMaybe<CompanySubsetTables_Bool_Exp
|
|
219
|
+
_and?: InputMaybe<Array<CompanySubsetTables_Bool_Exp>>;
|
|
213
220
|
_not?: InputMaybe<CompanySubsetTables_Bool_Exp>;
|
|
214
|
-
_or?: InputMaybe<CompanySubsetTables_Bool_Exp
|
|
221
|
+
_or?: InputMaybe<Array<CompanySubsetTables_Bool_Exp>>;
|
|
215
222
|
companyId?: InputMaybe<Uuid_Comparison_Exp>;
|
|
223
|
+
isAllowMetricCreation?: InputMaybe<Boolean_Comparison_Exp>;
|
|
216
224
|
tableList?: InputMaybe<Jsonb_Comparison_Exp>;
|
|
217
225
|
};
|
|
218
226
|
/** Ordering options when selecting data from "companySubsetTables". */
|
|
219
227
|
export declare type CompanySubsetTables_Order_By = {
|
|
220
228
|
companyId?: InputMaybe<Order_By>;
|
|
229
|
+
isAllowMetricCreation?: InputMaybe<Order_By>;
|
|
221
230
|
tableList?: InputMaybe<Order_By>;
|
|
222
231
|
};
|
|
223
232
|
/** select columns of table "companySubsetTables" */
|
|
@@ -225,6 +234,8 @@ export declare enum CompanySubsetTables_Select_Column {
|
|
|
225
234
|
/** column name */
|
|
226
235
|
CompanyId = "companyId",
|
|
227
236
|
/** column name */
|
|
237
|
+
IsAllowMetricCreation = "isAllowMetricCreation",
|
|
238
|
+
/** column name */
|
|
228
239
|
TableList = "tableList"
|
|
229
240
|
}
|
|
230
241
|
/** columns and relationships of "externalDashboardMetrics" */
|
|
@@ -245,15 +256,15 @@ export declare type ExternalDashboardMetrics_Aggregate_Order_By = {
|
|
|
245
256
|
};
|
|
246
257
|
/** input type for inserting array relation for remote table "externalDashboardMetrics" */
|
|
247
258
|
export declare type ExternalDashboardMetrics_Arr_Rel_Insert_Input = {
|
|
248
|
-
data: ExternalDashboardMetrics_Insert_Input
|
|
259
|
+
data: Array<ExternalDashboardMetrics_Insert_Input>;
|
|
249
260
|
/** upsert condition */
|
|
250
261
|
on_conflict?: InputMaybe<ExternalDashboardMetrics_On_Conflict>;
|
|
251
262
|
};
|
|
252
263
|
/** Boolean expression to filter rows from the table "externalDashboardMetrics". All fields are combined with a logical 'AND'. */
|
|
253
264
|
export declare type ExternalDashboardMetrics_Bool_Exp = {
|
|
254
|
-
_and?: InputMaybe<ExternalDashboardMetrics_Bool_Exp
|
|
265
|
+
_and?: InputMaybe<Array<ExternalDashboardMetrics_Bool_Exp>>;
|
|
255
266
|
_not?: InputMaybe<ExternalDashboardMetrics_Bool_Exp>;
|
|
256
|
-
_or?: InputMaybe<ExternalDashboardMetrics_Bool_Exp
|
|
267
|
+
_or?: InputMaybe<Array<ExternalDashboardMetrics_Bool_Exp>>;
|
|
257
268
|
externalDashboard?: InputMaybe<ExternalDashboards_Bool_Exp>;
|
|
258
269
|
externalDashboardId?: InputMaybe<Uuid_Comparison_Exp>;
|
|
259
270
|
externalMetric?: InputMaybe<ExternalMetrics_Bool_Exp>;
|
|
@@ -286,12 +297,12 @@ export declare type ExternalDashboardMetrics_Mutation_Response = {
|
|
|
286
297
|
/** number of rows affected by the mutation */
|
|
287
298
|
affected_rows: Scalars['Int'];
|
|
288
299
|
/** data from the rows affected by the mutation */
|
|
289
|
-
returning: ExternalDashboardMetrics
|
|
300
|
+
returning: Array<ExternalDashboardMetrics>;
|
|
290
301
|
};
|
|
291
302
|
/** on_conflict condition type for table "externalDashboardMetrics" */
|
|
292
303
|
export declare type ExternalDashboardMetrics_On_Conflict = {
|
|
293
304
|
constraint: ExternalDashboardMetrics_Constraint;
|
|
294
|
-
update_columns?: ExternalDashboardMetrics_Update_Column
|
|
305
|
+
update_columns?: Array<ExternalDashboardMetrics_Update_Column>;
|
|
295
306
|
where?: InputMaybe<ExternalDashboardMetrics_Bool_Exp>;
|
|
296
307
|
};
|
|
297
308
|
/** Ordering options when selecting data from "externalDashboardMetrics". */
|
|
@@ -331,9 +342,9 @@ export declare type ExternalDashboardThemeClients_Aggregate_Order_By = {
|
|
|
331
342
|
};
|
|
332
343
|
/** Boolean expression to filter rows from the table "externalDashboardThemeClients". All fields are combined with a logical 'AND'. */
|
|
333
344
|
export declare type ExternalDashboardThemeClients_Bool_Exp = {
|
|
334
|
-
_and?: InputMaybe<ExternalDashboardThemeClients_Bool_Exp
|
|
345
|
+
_and?: InputMaybe<Array<ExternalDashboardThemeClients_Bool_Exp>>;
|
|
335
346
|
_not?: InputMaybe<ExternalDashboardThemeClients_Bool_Exp>;
|
|
336
|
-
_or?: InputMaybe<ExternalDashboardThemeClients_Bool_Exp
|
|
347
|
+
_or?: InputMaybe<Array<ExternalDashboardThemeClients_Bool_Exp>>;
|
|
337
348
|
clientId?: InputMaybe<String_Comparison_Exp>;
|
|
338
349
|
clientName?: InputMaybe<String_Comparison_Exp>;
|
|
339
350
|
externalDashboardTheme?: InputMaybe<ExternalDashboardThemes_Bool_Exp>;
|
|
@@ -380,7 +391,7 @@ export declare type ExternalDashboardThemes = {
|
|
|
380
391
|
companyId: Scalars['uuid'];
|
|
381
392
|
createdAt: Scalars['timestamptz'];
|
|
382
393
|
/** An array relationship */
|
|
383
|
-
externalDashboardThemeClients: ExternalDashboardThemeClients
|
|
394
|
+
externalDashboardThemeClients: Array<ExternalDashboardThemeClients>;
|
|
384
395
|
id: Scalars['uuid'];
|
|
385
396
|
name: Scalars['String'];
|
|
386
397
|
};
|
|
@@ -390,17 +401,17 @@ export declare type ExternalDashboardThemesColorsArgs = {
|
|
|
390
401
|
};
|
|
391
402
|
/** Themes for external dashboard. */
|
|
392
403
|
export declare type ExternalDashboardThemesExternalDashboardThemeClientsArgs = {
|
|
393
|
-
distinct_on?: InputMaybe<ExternalDashboardThemeClients_Select_Column
|
|
404
|
+
distinct_on?: InputMaybe<Array<ExternalDashboardThemeClients_Select_Column>>;
|
|
394
405
|
limit?: InputMaybe<Scalars['Int']>;
|
|
395
406
|
offset?: InputMaybe<Scalars['Int']>;
|
|
396
|
-
order_by?: InputMaybe<ExternalDashboardThemeClients_Order_By
|
|
407
|
+
order_by?: InputMaybe<Array<ExternalDashboardThemeClients_Order_By>>;
|
|
397
408
|
where?: InputMaybe<ExternalDashboardThemeClients_Bool_Exp>;
|
|
398
409
|
};
|
|
399
410
|
/** Boolean expression to filter rows from the table "externalDashboardThemes". All fields are combined with a logical 'AND'. */
|
|
400
411
|
export declare type ExternalDashboardThemes_Bool_Exp = {
|
|
401
|
-
_and?: InputMaybe<ExternalDashboardThemes_Bool_Exp
|
|
412
|
+
_and?: InputMaybe<Array<ExternalDashboardThemes_Bool_Exp>>;
|
|
402
413
|
_not?: InputMaybe<ExternalDashboardThemes_Bool_Exp>;
|
|
403
|
-
_or?: InputMaybe<ExternalDashboardThemes_Bool_Exp
|
|
414
|
+
_or?: InputMaybe<Array<ExternalDashboardThemes_Bool_Exp>>;
|
|
404
415
|
colors?: InputMaybe<Jsonb_Comparison_Exp>;
|
|
405
416
|
companyId?: InputMaybe<Uuid_Comparison_Exp>;
|
|
406
417
|
createdAt?: InputMaybe<Timestamptz_Comparison_Exp>;
|
|
@@ -436,17 +447,17 @@ export declare type ExternalDashboards = {
|
|
|
436
447
|
companyId: Scalars['uuid'];
|
|
437
448
|
externalDashboardId: Scalars['String'];
|
|
438
449
|
/** An array relationship */
|
|
439
|
-
externalDashboardMetrics: ExternalDashboardMetrics
|
|
450
|
+
externalDashboardMetrics: Array<ExternalDashboardMetrics>;
|
|
440
451
|
filters: Scalars['jsonb'];
|
|
441
452
|
id: Scalars['uuid'];
|
|
442
453
|
name: Scalars['String'];
|
|
443
454
|
};
|
|
444
455
|
/** columns and relationships of "externalDashboards" */
|
|
445
456
|
export declare type ExternalDashboardsExternalDashboardMetricsArgs = {
|
|
446
|
-
distinct_on?: InputMaybe<ExternalDashboardMetrics_Select_Column
|
|
457
|
+
distinct_on?: InputMaybe<Array<ExternalDashboardMetrics_Select_Column>>;
|
|
447
458
|
limit?: InputMaybe<Scalars['Int']>;
|
|
448
459
|
offset?: InputMaybe<Scalars['Int']>;
|
|
449
|
-
order_by?: InputMaybe<ExternalDashboardMetrics_Order_By
|
|
460
|
+
order_by?: InputMaybe<Array<ExternalDashboardMetrics_Order_By>>;
|
|
450
461
|
where?: InputMaybe<ExternalDashboardMetrics_Bool_Exp>;
|
|
451
462
|
};
|
|
452
463
|
/** columns and relationships of "externalDashboards" */
|
|
@@ -455,9 +466,9 @@ export declare type ExternalDashboardsFiltersArgs = {
|
|
|
455
466
|
};
|
|
456
467
|
/** Boolean expression to filter rows from the table "externalDashboards". All fields are combined with a logical 'AND'. */
|
|
457
468
|
export declare type ExternalDashboards_Bool_Exp = {
|
|
458
|
-
_and?: InputMaybe<ExternalDashboards_Bool_Exp
|
|
469
|
+
_and?: InputMaybe<Array<ExternalDashboards_Bool_Exp>>;
|
|
459
470
|
_not?: InputMaybe<ExternalDashboards_Bool_Exp>;
|
|
460
|
-
_or?: InputMaybe<ExternalDashboards_Bool_Exp
|
|
471
|
+
_or?: InputMaybe<Array<ExternalDashboards_Bool_Exp>>;
|
|
461
472
|
companyId?: InputMaybe<Uuid_Comparison_Exp>;
|
|
462
473
|
externalDashboardId?: InputMaybe<String_Comparison_Exp>;
|
|
463
474
|
externalDashboardMetrics?: InputMaybe<ExternalDashboardMetrics_Bool_Exp>;
|
|
@@ -500,9 +511,9 @@ export declare type ExternalMetrics = {
|
|
|
500
511
|
createdBy?: Maybe<Scalars['String']>;
|
|
501
512
|
description: Scalars['String'];
|
|
502
513
|
/** An array relationship */
|
|
503
|
-
externalDashboardMetrics: ExternalDashboardMetrics
|
|
514
|
+
externalDashboardMetrics: Array<ExternalDashboardMetrics>;
|
|
504
515
|
/** An array relationship */
|
|
505
|
-
externalMetricsRlsFilters: ExternalMetricsRlsFilters
|
|
516
|
+
externalMetricsRlsFilters: Array<ExternalMetricsRlsFilters>;
|
|
506
517
|
groupBy: Scalars['jsonb'];
|
|
507
518
|
id: Scalars['uuid'];
|
|
508
519
|
inputFields?: Maybe<Scalars['jsonb']>;
|
|
@@ -516,6 +527,7 @@ export declare type ExternalMetrics = {
|
|
|
516
527
|
outputColumns?: Maybe<Scalars['String']>;
|
|
517
528
|
query: Scalars['String'];
|
|
518
529
|
resizeAttributes: Scalars['jsonb'];
|
|
530
|
+
rlsConditions: Scalars['jsonb'];
|
|
519
531
|
selectedGroupBy: Scalars['jsonb'];
|
|
520
532
|
timeGrain?: Maybe<Scalars['String']>;
|
|
521
533
|
updatedAt: Scalars['timestamptz'];
|
|
@@ -526,18 +538,18 @@ export declare type ExternalMetricsChartOptionsArgs = {
|
|
|
526
538
|
};
|
|
527
539
|
/** extrnal metrics table for users client-based query */
|
|
528
540
|
export declare type ExternalMetricsExternalDashboardMetricsArgs = {
|
|
529
|
-
distinct_on?: InputMaybe<ExternalDashboardMetrics_Select_Column
|
|
541
|
+
distinct_on?: InputMaybe<Array<ExternalDashboardMetrics_Select_Column>>;
|
|
530
542
|
limit?: InputMaybe<Scalars['Int']>;
|
|
531
543
|
offset?: InputMaybe<Scalars['Int']>;
|
|
532
|
-
order_by?: InputMaybe<ExternalDashboardMetrics_Order_By
|
|
544
|
+
order_by?: InputMaybe<Array<ExternalDashboardMetrics_Order_By>>;
|
|
533
545
|
where?: InputMaybe<ExternalDashboardMetrics_Bool_Exp>;
|
|
534
546
|
};
|
|
535
547
|
/** extrnal metrics table for users client-based query */
|
|
536
548
|
export declare type ExternalMetricsExternalMetricsRlsFiltersArgs = {
|
|
537
|
-
distinct_on?: InputMaybe<ExternalMetricsRlsFilters_Select_Column
|
|
549
|
+
distinct_on?: InputMaybe<Array<ExternalMetricsRlsFilters_Select_Column>>;
|
|
538
550
|
limit?: InputMaybe<Scalars['Int']>;
|
|
539
551
|
offset?: InputMaybe<Scalars['Int']>;
|
|
540
|
-
order_by?: InputMaybe<ExternalMetricsRlsFilters_Order_By
|
|
552
|
+
order_by?: InputMaybe<Array<ExternalMetricsRlsFilters_Order_By>>;
|
|
541
553
|
where?: InputMaybe<ExternalMetricsRlsFilters_Bool_Exp>;
|
|
542
554
|
};
|
|
543
555
|
/** extrnal metrics table for users client-based query */
|
|
@@ -553,6 +565,10 @@ export declare type ExternalMetricsResizeAttributesArgs = {
|
|
|
553
565
|
path?: InputMaybe<Scalars['String']>;
|
|
554
566
|
};
|
|
555
567
|
/** extrnal metrics table for users client-based query */
|
|
568
|
+
export declare type ExternalMetricsRlsConditionsArgs = {
|
|
569
|
+
path?: InputMaybe<Scalars['String']>;
|
|
570
|
+
};
|
|
571
|
+
/** extrnal metrics table for users client-based query */
|
|
556
572
|
export declare type ExternalMetricsSelectedGroupByArgs = {
|
|
557
573
|
path?: InputMaybe<Scalars['String']>;
|
|
558
574
|
};
|
|
@@ -573,15 +589,15 @@ export declare type ExternalMetricsRlsFilters_Aggregate_Order_By = {
|
|
|
573
589
|
};
|
|
574
590
|
/** input type for inserting array relation for remote table "externalMetricsRlsFilters" */
|
|
575
591
|
export declare type ExternalMetricsRlsFilters_Arr_Rel_Insert_Input = {
|
|
576
|
-
data: ExternalMetricsRlsFilters_Insert_Input
|
|
592
|
+
data: Array<ExternalMetricsRlsFilters_Insert_Input>;
|
|
577
593
|
/** upsert condition */
|
|
578
594
|
on_conflict?: InputMaybe<ExternalMetricsRlsFilters_On_Conflict>;
|
|
579
595
|
};
|
|
580
596
|
/** Boolean expression to filter rows from the table "externalMetricsRlsFilters". All fields are combined with a logical 'AND'. */
|
|
581
597
|
export declare type ExternalMetricsRlsFilters_Bool_Exp = {
|
|
582
|
-
_and?: InputMaybe<ExternalMetricsRlsFilters_Bool_Exp
|
|
598
|
+
_and?: InputMaybe<Array<ExternalMetricsRlsFilters_Bool_Exp>>;
|
|
583
599
|
_not?: InputMaybe<ExternalMetricsRlsFilters_Bool_Exp>;
|
|
584
|
-
_or?: InputMaybe<ExternalMetricsRlsFilters_Bool_Exp
|
|
600
|
+
_or?: InputMaybe<Array<ExternalMetricsRlsFilters_Bool_Exp>>;
|
|
585
601
|
companyRlsFilterId?: InputMaybe<Uuid_Comparison_Exp>;
|
|
586
602
|
externalMetric?: InputMaybe<ExternalMetrics_Bool_Exp>;
|
|
587
603
|
externalMetricId?: InputMaybe<Uuid_Comparison_Exp>;
|
|
@@ -616,12 +632,12 @@ export declare type ExternalMetricsRlsFilters_Mutation_Response = {
|
|
|
616
632
|
/** number of rows affected by the mutation */
|
|
617
633
|
affected_rows: Scalars['Int'];
|
|
618
634
|
/** data from the rows affected by the mutation */
|
|
619
|
-
returning: ExternalMetricsRlsFilters
|
|
635
|
+
returning: Array<ExternalMetricsRlsFilters>;
|
|
620
636
|
};
|
|
621
637
|
/** on_conflict condition type for table "externalMetricsRlsFilters" */
|
|
622
638
|
export declare type ExternalMetricsRlsFilters_On_Conflict = {
|
|
623
639
|
constraint: ExternalMetricsRlsFilters_Constraint;
|
|
624
|
-
update_columns?: ExternalMetricsRlsFilters_Update_Column
|
|
640
|
+
update_columns?: Array<ExternalMetricsRlsFilters_Update_Column>;
|
|
625
641
|
where?: InputMaybe<ExternalMetricsRlsFilters_Bool_Exp>;
|
|
626
642
|
};
|
|
627
643
|
/** Ordering options when selecting data from "externalMetricsRlsFilters". */
|
|
@@ -653,9 +669,9 @@ export declare type ExternalMetrics_Aggregate_Order_By = {
|
|
|
653
669
|
};
|
|
654
670
|
/** Boolean expression to filter rows from the table "externalMetrics". All fields are combined with a logical 'AND'. */
|
|
655
671
|
export declare type ExternalMetrics_Bool_Exp = {
|
|
656
|
-
_and?: InputMaybe<ExternalMetrics_Bool_Exp
|
|
672
|
+
_and?: InputMaybe<Array<ExternalMetrics_Bool_Exp>>;
|
|
657
673
|
_not?: InputMaybe<ExternalMetrics_Bool_Exp>;
|
|
658
|
-
_or?: InputMaybe<ExternalMetrics_Bool_Exp
|
|
674
|
+
_or?: InputMaybe<Array<ExternalMetrics_Bool_Exp>>;
|
|
659
675
|
chartOptions?: InputMaybe<Jsonb_Comparison_Exp>;
|
|
660
676
|
clientId?: InputMaybe<String_Comparison_Exp>;
|
|
661
677
|
companyId?: InputMaybe<Uuid_Comparison_Exp>;
|
|
@@ -679,6 +695,7 @@ export declare type ExternalMetrics_Bool_Exp = {
|
|
|
679
695
|
outputColumns?: InputMaybe<String_Comparison_Exp>;
|
|
680
696
|
query?: InputMaybe<String_Comparison_Exp>;
|
|
681
697
|
resizeAttributes?: InputMaybe<Jsonb_Comparison_Exp>;
|
|
698
|
+
rlsConditions?: InputMaybe<Jsonb_Comparison_Exp>;
|
|
682
699
|
selectedGroupBy?: InputMaybe<Jsonb_Comparison_Exp>;
|
|
683
700
|
timeGrain?: InputMaybe<String_Comparison_Exp>;
|
|
684
701
|
updatedAt?: InputMaybe<Timestamptz_Comparison_Exp>;
|
|
@@ -759,7 +776,7 @@ export declare type ExternalMetrics_Mutation_Response = {
|
|
|
759
776
|
/** number of rows affected by the mutation */
|
|
760
777
|
affected_rows: Scalars['Int'];
|
|
761
778
|
/** data from the rows affected by the mutation */
|
|
762
|
-
returning: ExternalMetrics
|
|
779
|
+
returning: Array<ExternalMetrics>;
|
|
763
780
|
};
|
|
764
781
|
/** input type for inserting object relation for remote table "externalMetrics" */
|
|
765
782
|
export declare type ExternalMetrics_Obj_Rel_Insert_Input = {
|
|
@@ -770,7 +787,7 @@ export declare type ExternalMetrics_Obj_Rel_Insert_Input = {
|
|
|
770
787
|
/** on_conflict condition type for table "externalMetrics" */
|
|
771
788
|
export declare type ExternalMetrics_On_Conflict = {
|
|
772
789
|
constraint: ExternalMetrics_Constraint;
|
|
773
|
-
update_columns?: ExternalMetrics_Update_Column
|
|
790
|
+
update_columns?: Array<ExternalMetrics_Update_Column>;
|
|
774
791
|
where?: InputMaybe<ExternalMetrics_Bool_Exp>;
|
|
775
792
|
};
|
|
776
793
|
/** Ordering options when selecting data from "externalMetrics". */
|
|
@@ -798,6 +815,7 @@ export declare type ExternalMetrics_Order_By = {
|
|
|
798
815
|
outputColumns?: InputMaybe<Order_By>;
|
|
799
816
|
query?: InputMaybe<Order_By>;
|
|
800
817
|
resizeAttributes?: InputMaybe<Order_By>;
|
|
818
|
+
rlsConditions?: InputMaybe<Order_By>;
|
|
801
819
|
selectedGroupBy?: InputMaybe<Order_By>;
|
|
802
820
|
timeGrain?: InputMaybe<Order_By>;
|
|
803
821
|
updatedAt?: InputMaybe<Order_By>;
|
|
@@ -845,6 +863,8 @@ export declare enum ExternalMetrics_Select_Column {
|
|
|
845
863
|
/** column name */
|
|
846
864
|
ResizeAttributes = "resizeAttributes",
|
|
847
865
|
/** column name */
|
|
866
|
+
RlsConditions = "rlsConditions",
|
|
867
|
+
/** column name */
|
|
848
868
|
SelectedGroupBy = "selectedGroupBy",
|
|
849
869
|
/** column name */
|
|
850
870
|
TimeGrain = "timeGrain",
|
|
@@ -870,9 +890,9 @@ export declare type GuestTokensParamsArgs = {
|
|
|
870
890
|
};
|
|
871
891
|
/** Boolean expression to filter rows from the table "guestTokens". All fields are combined with a logical 'AND'. */
|
|
872
892
|
export declare type GuestTokens_Bool_Exp = {
|
|
873
|
-
_and?: InputMaybe<GuestTokens_Bool_Exp
|
|
893
|
+
_and?: InputMaybe<Array<GuestTokens_Bool_Exp>>;
|
|
874
894
|
_not?: InputMaybe<GuestTokens_Bool_Exp>;
|
|
875
|
-
_or?: InputMaybe<GuestTokens_Bool_Exp
|
|
895
|
+
_or?: InputMaybe<Array<GuestTokens_Bool_Exp>>;
|
|
876
896
|
clientId?: InputMaybe<String_Comparison_Exp>;
|
|
877
897
|
companyId?: InputMaybe<Uuid_Comparison_Exp>;
|
|
878
898
|
id?: InputMaybe<Uuid_Comparison_Exp>;
|
|
@@ -912,15 +932,15 @@ export declare type Jsonb_Comparison_Exp = {
|
|
|
912
932
|
/** does the string exist as a top-level key in the column */
|
|
913
933
|
_has_key?: InputMaybe<Scalars['String']>;
|
|
914
934
|
/** do all of these strings exist as top-level keys in the column */
|
|
915
|
-
_has_keys_all?: InputMaybe<Scalars['String']
|
|
935
|
+
_has_keys_all?: InputMaybe<Array<Scalars['String']>>;
|
|
916
936
|
/** do any of these strings exist as top-level keys in the column */
|
|
917
|
-
_has_keys_any?: InputMaybe<Scalars['String']
|
|
918
|
-
_in?: InputMaybe<Scalars['jsonb']
|
|
937
|
+
_has_keys_any?: InputMaybe<Array<Scalars['String']>>;
|
|
938
|
+
_in?: InputMaybe<Array<Scalars['jsonb']>>;
|
|
919
939
|
_is_null?: InputMaybe<Scalars['Boolean']>;
|
|
920
940
|
_lt?: InputMaybe<Scalars['jsonb']>;
|
|
921
941
|
_lte?: InputMaybe<Scalars['jsonb']>;
|
|
922
942
|
_neq?: InputMaybe<Scalars['jsonb']>;
|
|
923
|
-
_nin?: InputMaybe<Scalars['jsonb']
|
|
943
|
+
_nin?: InputMaybe<Array<Scalars['jsonb']>>;
|
|
924
944
|
};
|
|
925
945
|
/** mutation root */
|
|
926
946
|
export declare type Mutation_Root = {
|
|
@@ -961,7 +981,7 @@ export declare type Mutation_RootGenerateExternalMetricQueryArgs = {
|
|
|
961
981
|
};
|
|
962
982
|
/** mutation root */
|
|
963
983
|
export declare type Mutation_RootInsert_ExternalDashboardMetricsArgs = {
|
|
964
|
-
objects: ExternalDashboardMetrics_Insert_Input
|
|
984
|
+
objects: Array<ExternalDashboardMetrics_Insert_Input>;
|
|
965
985
|
on_conflict?: InputMaybe<ExternalDashboardMetrics_On_Conflict>;
|
|
966
986
|
};
|
|
967
987
|
/** mutation root */
|
|
@@ -971,12 +991,12 @@ export declare type Mutation_RootInsert_ExternalDashboardMetrics_OneArgs = {
|
|
|
971
991
|
};
|
|
972
992
|
/** mutation root */
|
|
973
993
|
export declare type Mutation_RootInsert_ExternalMetricsArgs = {
|
|
974
|
-
objects: ExternalMetrics_Insert_Input
|
|
994
|
+
objects: Array<ExternalMetrics_Insert_Input>;
|
|
975
995
|
on_conflict?: InputMaybe<ExternalMetrics_On_Conflict>;
|
|
976
996
|
};
|
|
977
997
|
/** mutation root */
|
|
978
998
|
export declare type Mutation_RootInsert_ExternalMetricsRlsFiltersArgs = {
|
|
979
|
-
objects: ExternalMetricsRlsFilters_Insert_Input
|
|
999
|
+
objects: Array<ExternalMetricsRlsFilters_Insert_Input>;
|
|
980
1000
|
on_conflict?: InputMaybe<ExternalMetricsRlsFilters_On_Conflict>;
|
|
981
1001
|
};
|
|
982
1002
|
/** mutation root */
|
|
@@ -1011,63 +1031,63 @@ export declare enum Order_By {
|
|
|
1011
1031
|
export declare type Query_Root = {
|
|
1012
1032
|
__typename?: 'query_root';
|
|
1013
1033
|
/** fetch data from the table: "companyIntegrations" */
|
|
1014
|
-
companyIntegrations: CompanyIntegrations
|
|
1034
|
+
companyIntegrations: Array<CompanyIntegrations>;
|
|
1015
1035
|
/** fetch data from the table: "companyIntegrations" using primary key columns */
|
|
1016
1036
|
companyIntegrations_by_pk?: Maybe<CompanyIntegrations>;
|
|
1017
1037
|
/** fetch data from the table: "companySubsetTables" */
|
|
1018
|
-
companySubsetTables: CompanySubsetTables
|
|
1038
|
+
companySubsetTables: Array<CompanySubsetTables>;
|
|
1019
1039
|
/** An array relationship */
|
|
1020
|
-
externalDashboardMetrics: ExternalDashboardMetrics
|
|
1040
|
+
externalDashboardMetrics: Array<ExternalDashboardMetrics>;
|
|
1021
1041
|
/** fetch data from the table: "externalDashboardMetrics" using primary key columns */
|
|
1022
1042
|
externalDashboardMetrics_by_pk?: Maybe<ExternalDashboardMetrics>;
|
|
1023
1043
|
/** An array relationship */
|
|
1024
|
-
externalDashboardThemeClients: ExternalDashboardThemeClients
|
|
1044
|
+
externalDashboardThemeClients: Array<ExternalDashboardThemeClients>;
|
|
1025
1045
|
/** fetch data from the table: "externalDashboardThemeClients" using primary key columns */
|
|
1026
1046
|
externalDashboardThemeClients_by_pk?: Maybe<ExternalDashboardThemeClients>;
|
|
1027
1047
|
/** fetch data from the table: "externalDashboardThemes" */
|
|
1028
|
-
externalDashboardThemes: ExternalDashboardThemes
|
|
1048
|
+
externalDashboardThemes: Array<ExternalDashboardThemes>;
|
|
1029
1049
|
/** fetch data from the table: "externalDashboardThemes" using primary key columns */
|
|
1030
1050
|
externalDashboardThemes_by_pk?: Maybe<ExternalDashboardThemes>;
|
|
1031
1051
|
/** fetch data from the table: "externalDashboards" */
|
|
1032
|
-
externalDashboards: ExternalDashboards
|
|
1052
|
+
externalDashboards: Array<ExternalDashboards>;
|
|
1033
1053
|
/** fetch data from the table: "externalDashboards" using primary key columns */
|
|
1034
1054
|
externalDashboards_by_pk?: Maybe<ExternalDashboards>;
|
|
1035
1055
|
externalMetricQuery?: Maybe<ExternalMetricQueryOutput>;
|
|
1036
1056
|
/** An array relationship */
|
|
1037
|
-
externalMetrics: ExternalMetrics
|
|
1057
|
+
externalMetrics: Array<ExternalMetrics>;
|
|
1038
1058
|
/** An array relationship */
|
|
1039
|
-
externalMetricsRlsFilters: ExternalMetricsRlsFilters
|
|
1059
|
+
externalMetricsRlsFilters: Array<ExternalMetricsRlsFilters>;
|
|
1040
1060
|
/** fetch data from the table: "externalMetricsRlsFilters" using primary key columns */
|
|
1041
1061
|
externalMetricsRlsFilters_by_pk?: Maybe<ExternalMetricsRlsFilters>;
|
|
1042
1062
|
/** fetch data from the table: "externalMetrics" using primary key columns */
|
|
1043
1063
|
externalMetrics_by_pk?: Maybe<ExternalMetrics>;
|
|
1044
1064
|
/** fetch data from the table: "guestTokens" */
|
|
1045
|
-
guestTokens: GuestTokens
|
|
1065
|
+
guestTokens: Array<GuestTokens>;
|
|
1046
1066
|
/** fetch data from the table: "guestTokens" using primary key columns */
|
|
1047
1067
|
guestTokens_by_pk?: Maybe<GuestTokens>;
|
|
1048
1068
|
};
|
|
1049
1069
|
export declare type Query_RootCompanyIntegrationsArgs = {
|
|
1050
|
-
distinct_on?: InputMaybe<CompanyIntegrations_Select_Column
|
|
1070
|
+
distinct_on?: InputMaybe<Array<CompanyIntegrations_Select_Column>>;
|
|
1051
1071
|
limit?: InputMaybe<Scalars['Int']>;
|
|
1052
1072
|
offset?: InputMaybe<Scalars['Int']>;
|
|
1053
|
-
order_by?: InputMaybe<CompanyIntegrations_Order_By
|
|
1073
|
+
order_by?: InputMaybe<Array<CompanyIntegrations_Order_By>>;
|
|
1054
1074
|
where?: InputMaybe<CompanyIntegrations_Bool_Exp>;
|
|
1055
1075
|
};
|
|
1056
1076
|
export declare type Query_RootCompanyIntegrations_By_PkArgs = {
|
|
1057
1077
|
id: Scalars['uuid'];
|
|
1058
1078
|
};
|
|
1059
1079
|
export declare type Query_RootCompanySubsetTablesArgs = {
|
|
1060
|
-
distinct_on?: InputMaybe<CompanySubsetTables_Select_Column
|
|
1080
|
+
distinct_on?: InputMaybe<Array<CompanySubsetTables_Select_Column>>;
|
|
1061
1081
|
limit?: InputMaybe<Scalars['Int']>;
|
|
1062
1082
|
offset?: InputMaybe<Scalars['Int']>;
|
|
1063
|
-
order_by?: InputMaybe<CompanySubsetTables_Order_By
|
|
1083
|
+
order_by?: InputMaybe<Array<CompanySubsetTables_Order_By>>;
|
|
1064
1084
|
where?: InputMaybe<CompanySubsetTables_Bool_Exp>;
|
|
1065
1085
|
};
|
|
1066
1086
|
export declare type Query_RootExternalDashboardMetricsArgs = {
|
|
1067
|
-
distinct_on?: InputMaybe<ExternalDashboardMetrics_Select_Column
|
|
1087
|
+
distinct_on?: InputMaybe<Array<ExternalDashboardMetrics_Select_Column>>;
|
|
1068
1088
|
limit?: InputMaybe<Scalars['Int']>;
|
|
1069
1089
|
offset?: InputMaybe<Scalars['Int']>;
|
|
1070
|
-
order_by?: InputMaybe<ExternalDashboardMetrics_Order_By
|
|
1090
|
+
order_by?: InputMaybe<Array<ExternalDashboardMetrics_Order_By>>;
|
|
1071
1091
|
where?: InputMaybe<ExternalDashboardMetrics_Bool_Exp>;
|
|
1072
1092
|
};
|
|
1073
1093
|
export declare type Query_RootExternalDashboardMetrics_By_PkArgs = {
|
|
@@ -1075,30 +1095,30 @@ export declare type Query_RootExternalDashboardMetrics_By_PkArgs = {
|
|
|
1075
1095
|
externalMetricId: Scalars['uuid'];
|
|
1076
1096
|
};
|
|
1077
1097
|
export declare type Query_RootExternalDashboardThemeClientsArgs = {
|
|
1078
|
-
distinct_on?: InputMaybe<ExternalDashboardThemeClients_Select_Column
|
|
1098
|
+
distinct_on?: InputMaybe<Array<ExternalDashboardThemeClients_Select_Column>>;
|
|
1079
1099
|
limit?: InputMaybe<Scalars['Int']>;
|
|
1080
1100
|
offset?: InputMaybe<Scalars['Int']>;
|
|
1081
|
-
order_by?: InputMaybe<ExternalDashboardThemeClients_Order_By
|
|
1101
|
+
order_by?: InputMaybe<Array<ExternalDashboardThemeClients_Order_By>>;
|
|
1082
1102
|
where?: InputMaybe<ExternalDashboardThemeClients_Bool_Exp>;
|
|
1083
1103
|
};
|
|
1084
1104
|
export declare type Query_RootExternalDashboardThemeClients_By_PkArgs = {
|
|
1085
1105
|
id: Scalars['uuid'];
|
|
1086
1106
|
};
|
|
1087
1107
|
export declare type Query_RootExternalDashboardThemesArgs = {
|
|
1088
|
-
distinct_on?: InputMaybe<ExternalDashboardThemes_Select_Column
|
|
1108
|
+
distinct_on?: InputMaybe<Array<ExternalDashboardThemes_Select_Column>>;
|
|
1089
1109
|
limit?: InputMaybe<Scalars['Int']>;
|
|
1090
1110
|
offset?: InputMaybe<Scalars['Int']>;
|
|
1091
|
-
order_by?: InputMaybe<ExternalDashboardThemes_Order_By
|
|
1111
|
+
order_by?: InputMaybe<Array<ExternalDashboardThemes_Order_By>>;
|
|
1092
1112
|
where?: InputMaybe<ExternalDashboardThemes_Bool_Exp>;
|
|
1093
1113
|
};
|
|
1094
1114
|
export declare type Query_RootExternalDashboardThemes_By_PkArgs = {
|
|
1095
1115
|
id: Scalars['uuid'];
|
|
1096
1116
|
};
|
|
1097
1117
|
export declare type Query_RootExternalDashboardsArgs = {
|
|
1098
|
-
distinct_on?: InputMaybe<ExternalDashboards_Select_Column
|
|
1118
|
+
distinct_on?: InputMaybe<Array<ExternalDashboards_Select_Column>>;
|
|
1099
1119
|
limit?: InputMaybe<Scalars['Int']>;
|
|
1100
1120
|
offset?: InputMaybe<Scalars['Int']>;
|
|
1101
|
-
order_by?: InputMaybe<ExternalDashboards_Order_By
|
|
1121
|
+
order_by?: InputMaybe<Array<ExternalDashboards_Order_By>>;
|
|
1102
1122
|
where?: InputMaybe<ExternalDashboards_Bool_Exp>;
|
|
1103
1123
|
};
|
|
1104
1124
|
export declare type Query_RootExternalDashboards_By_PkArgs = {
|
|
@@ -1108,17 +1128,17 @@ export declare type Query_RootExternalMetricQueryArgs = {
|
|
|
1108
1128
|
input: ExternalMetricQueryInput;
|
|
1109
1129
|
};
|
|
1110
1130
|
export declare type Query_RootExternalMetricsArgs = {
|
|
1111
|
-
distinct_on?: InputMaybe<ExternalMetrics_Select_Column
|
|
1131
|
+
distinct_on?: InputMaybe<Array<ExternalMetrics_Select_Column>>;
|
|
1112
1132
|
limit?: InputMaybe<Scalars['Int']>;
|
|
1113
1133
|
offset?: InputMaybe<Scalars['Int']>;
|
|
1114
|
-
order_by?: InputMaybe<ExternalMetrics_Order_By
|
|
1134
|
+
order_by?: InputMaybe<Array<ExternalMetrics_Order_By>>;
|
|
1115
1135
|
where?: InputMaybe<ExternalMetrics_Bool_Exp>;
|
|
1116
1136
|
};
|
|
1117
1137
|
export declare type Query_RootExternalMetricsRlsFiltersArgs = {
|
|
1118
|
-
distinct_on?: InputMaybe<ExternalMetricsRlsFilters_Select_Column
|
|
1138
|
+
distinct_on?: InputMaybe<Array<ExternalMetricsRlsFilters_Select_Column>>;
|
|
1119
1139
|
limit?: InputMaybe<Scalars['Int']>;
|
|
1120
1140
|
offset?: InputMaybe<Scalars['Int']>;
|
|
1121
|
-
order_by?: InputMaybe<ExternalMetricsRlsFilters_Order_By
|
|
1141
|
+
order_by?: InputMaybe<Array<ExternalMetricsRlsFilters_Order_By>>;
|
|
1122
1142
|
where?: InputMaybe<ExternalMetricsRlsFilters_Bool_Exp>;
|
|
1123
1143
|
};
|
|
1124
1144
|
export declare type Query_RootExternalMetricsRlsFilters_By_PkArgs = {
|
|
@@ -1128,10 +1148,10 @@ export declare type Query_RootExternalMetrics_By_PkArgs = {
|
|
|
1128
1148
|
id: Scalars['uuid'];
|
|
1129
1149
|
};
|
|
1130
1150
|
export declare type Query_RootGuestTokensArgs = {
|
|
1131
|
-
distinct_on?: InputMaybe<GuestTokens_Select_Column
|
|
1151
|
+
distinct_on?: InputMaybe<Array<GuestTokens_Select_Column>>;
|
|
1132
1152
|
limit?: InputMaybe<Scalars['Int']>;
|
|
1133
1153
|
offset?: InputMaybe<Scalars['Int']>;
|
|
1134
|
-
order_by?: InputMaybe<GuestTokens_Order_By
|
|
1154
|
+
order_by?: InputMaybe<Array<GuestTokens_Order_By>>;
|
|
1135
1155
|
where?: InputMaybe<GuestTokens_Bool_Exp>;
|
|
1136
1156
|
};
|
|
1137
1157
|
export declare type Query_RootGuestTokens_By_PkArgs = {
|
|
@@ -1140,62 +1160,62 @@ export declare type Query_RootGuestTokens_By_PkArgs = {
|
|
|
1140
1160
|
export declare type Subscription_Root = {
|
|
1141
1161
|
__typename?: 'subscription_root';
|
|
1142
1162
|
/** fetch data from the table: "companyIntegrations" */
|
|
1143
|
-
companyIntegrations: CompanyIntegrations
|
|
1163
|
+
companyIntegrations: Array<CompanyIntegrations>;
|
|
1144
1164
|
/** fetch data from the table: "companyIntegrations" using primary key columns */
|
|
1145
1165
|
companyIntegrations_by_pk?: Maybe<CompanyIntegrations>;
|
|
1146
1166
|
/** fetch data from the table: "companySubsetTables" */
|
|
1147
|
-
companySubsetTables: CompanySubsetTables
|
|
1167
|
+
companySubsetTables: Array<CompanySubsetTables>;
|
|
1148
1168
|
/** An array relationship */
|
|
1149
|
-
externalDashboardMetrics: ExternalDashboardMetrics
|
|
1169
|
+
externalDashboardMetrics: Array<ExternalDashboardMetrics>;
|
|
1150
1170
|
/** fetch data from the table: "externalDashboardMetrics" using primary key columns */
|
|
1151
1171
|
externalDashboardMetrics_by_pk?: Maybe<ExternalDashboardMetrics>;
|
|
1152
1172
|
/** An array relationship */
|
|
1153
|
-
externalDashboardThemeClients: ExternalDashboardThemeClients
|
|
1173
|
+
externalDashboardThemeClients: Array<ExternalDashboardThemeClients>;
|
|
1154
1174
|
/** fetch data from the table: "externalDashboardThemeClients" using primary key columns */
|
|
1155
1175
|
externalDashboardThemeClients_by_pk?: Maybe<ExternalDashboardThemeClients>;
|
|
1156
1176
|
/** fetch data from the table: "externalDashboardThemes" */
|
|
1157
|
-
externalDashboardThemes: ExternalDashboardThemes
|
|
1177
|
+
externalDashboardThemes: Array<ExternalDashboardThemes>;
|
|
1158
1178
|
/** fetch data from the table: "externalDashboardThemes" using primary key columns */
|
|
1159
1179
|
externalDashboardThemes_by_pk?: Maybe<ExternalDashboardThemes>;
|
|
1160
1180
|
/** fetch data from the table: "externalDashboards" */
|
|
1161
|
-
externalDashboards: ExternalDashboards
|
|
1181
|
+
externalDashboards: Array<ExternalDashboards>;
|
|
1162
1182
|
/** fetch data from the table: "externalDashboards" using primary key columns */
|
|
1163
1183
|
externalDashboards_by_pk?: Maybe<ExternalDashboards>;
|
|
1164
1184
|
/** An array relationship */
|
|
1165
|
-
externalMetrics: ExternalMetrics
|
|
1185
|
+
externalMetrics: Array<ExternalMetrics>;
|
|
1166
1186
|
/** An array relationship */
|
|
1167
|
-
externalMetricsRlsFilters: ExternalMetricsRlsFilters
|
|
1187
|
+
externalMetricsRlsFilters: Array<ExternalMetricsRlsFilters>;
|
|
1168
1188
|
/** fetch data from the table: "externalMetricsRlsFilters" using primary key columns */
|
|
1169
1189
|
externalMetricsRlsFilters_by_pk?: Maybe<ExternalMetricsRlsFilters>;
|
|
1170
1190
|
/** fetch data from the table: "externalMetrics" using primary key columns */
|
|
1171
1191
|
externalMetrics_by_pk?: Maybe<ExternalMetrics>;
|
|
1172
1192
|
/** fetch data from the table: "guestTokens" */
|
|
1173
|
-
guestTokens: GuestTokens
|
|
1193
|
+
guestTokens: Array<GuestTokens>;
|
|
1174
1194
|
/** fetch data from the table: "guestTokens" using primary key columns */
|
|
1175
1195
|
guestTokens_by_pk?: Maybe<GuestTokens>;
|
|
1176
1196
|
};
|
|
1177
1197
|
export declare type Subscription_RootCompanyIntegrationsArgs = {
|
|
1178
|
-
distinct_on?: InputMaybe<CompanyIntegrations_Select_Column
|
|
1198
|
+
distinct_on?: InputMaybe<Array<CompanyIntegrations_Select_Column>>;
|
|
1179
1199
|
limit?: InputMaybe<Scalars['Int']>;
|
|
1180
1200
|
offset?: InputMaybe<Scalars['Int']>;
|
|
1181
|
-
order_by?: InputMaybe<CompanyIntegrations_Order_By
|
|
1201
|
+
order_by?: InputMaybe<Array<CompanyIntegrations_Order_By>>;
|
|
1182
1202
|
where?: InputMaybe<CompanyIntegrations_Bool_Exp>;
|
|
1183
1203
|
};
|
|
1184
1204
|
export declare type Subscription_RootCompanyIntegrations_By_PkArgs = {
|
|
1185
1205
|
id: Scalars['uuid'];
|
|
1186
1206
|
};
|
|
1187
1207
|
export declare type Subscription_RootCompanySubsetTablesArgs = {
|
|
1188
|
-
distinct_on?: InputMaybe<CompanySubsetTables_Select_Column
|
|
1208
|
+
distinct_on?: InputMaybe<Array<CompanySubsetTables_Select_Column>>;
|
|
1189
1209
|
limit?: InputMaybe<Scalars['Int']>;
|
|
1190
1210
|
offset?: InputMaybe<Scalars['Int']>;
|
|
1191
|
-
order_by?: InputMaybe<CompanySubsetTables_Order_By
|
|
1211
|
+
order_by?: InputMaybe<Array<CompanySubsetTables_Order_By>>;
|
|
1192
1212
|
where?: InputMaybe<CompanySubsetTables_Bool_Exp>;
|
|
1193
1213
|
};
|
|
1194
1214
|
export declare type Subscription_RootExternalDashboardMetricsArgs = {
|
|
1195
|
-
distinct_on?: InputMaybe<ExternalDashboardMetrics_Select_Column
|
|
1215
|
+
distinct_on?: InputMaybe<Array<ExternalDashboardMetrics_Select_Column>>;
|
|
1196
1216
|
limit?: InputMaybe<Scalars['Int']>;
|
|
1197
1217
|
offset?: InputMaybe<Scalars['Int']>;
|
|
1198
|
-
order_by?: InputMaybe<ExternalDashboardMetrics_Order_By
|
|
1218
|
+
order_by?: InputMaybe<Array<ExternalDashboardMetrics_Order_By>>;
|
|
1199
1219
|
where?: InputMaybe<ExternalDashboardMetrics_Bool_Exp>;
|
|
1200
1220
|
};
|
|
1201
1221
|
export declare type Subscription_RootExternalDashboardMetrics_By_PkArgs = {
|
|
@@ -1203,47 +1223,47 @@ export declare type Subscription_RootExternalDashboardMetrics_By_PkArgs = {
|
|
|
1203
1223
|
externalMetricId: Scalars['uuid'];
|
|
1204
1224
|
};
|
|
1205
1225
|
export declare type Subscription_RootExternalDashboardThemeClientsArgs = {
|
|
1206
|
-
distinct_on?: InputMaybe<ExternalDashboardThemeClients_Select_Column
|
|
1226
|
+
distinct_on?: InputMaybe<Array<ExternalDashboardThemeClients_Select_Column>>;
|
|
1207
1227
|
limit?: InputMaybe<Scalars['Int']>;
|
|
1208
1228
|
offset?: InputMaybe<Scalars['Int']>;
|
|
1209
|
-
order_by?: InputMaybe<ExternalDashboardThemeClients_Order_By
|
|
1229
|
+
order_by?: InputMaybe<Array<ExternalDashboardThemeClients_Order_By>>;
|
|
1210
1230
|
where?: InputMaybe<ExternalDashboardThemeClients_Bool_Exp>;
|
|
1211
1231
|
};
|
|
1212
1232
|
export declare type Subscription_RootExternalDashboardThemeClients_By_PkArgs = {
|
|
1213
1233
|
id: Scalars['uuid'];
|
|
1214
1234
|
};
|
|
1215
1235
|
export declare type Subscription_RootExternalDashboardThemesArgs = {
|
|
1216
|
-
distinct_on?: InputMaybe<ExternalDashboardThemes_Select_Column
|
|
1236
|
+
distinct_on?: InputMaybe<Array<ExternalDashboardThemes_Select_Column>>;
|
|
1217
1237
|
limit?: InputMaybe<Scalars['Int']>;
|
|
1218
1238
|
offset?: InputMaybe<Scalars['Int']>;
|
|
1219
|
-
order_by?: InputMaybe<ExternalDashboardThemes_Order_By
|
|
1239
|
+
order_by?: InputMaybe<Array<ExternalDashboardThemes_Order_By>>;
|
|
1220
1240
|
where?: InputMaybe<ExternalDashboardThemes_Bool_Exp>;
|
|
1221
1241
|
};
|
|
1222
1242
|
export declare type Subscription_RootExternalDashboardThemes_By_PkArgs = {
|
|
1223
1243
|
id: Scalars['uuid'];
|
|
1224
1244
|
};
|
|
1225
1245
|
export declare type Subscription_RootExternalDashboardsArgs = {
|
|
1226
|
-
distinct_on?: InputMaybe<ExternalDashboards_Select_Column
|
|
1246
|
+
distinct_on?: InputMaybe<Array<ExternalDashboards_Select_Column>>;
|
|
1227
1247
|
limit?: InputMaybe<Scalars['Int']>;
|
|
1228
1248
|
offset?: InputMaybe<Scalars['Int']>;
|
|
1229
|
-
order_by?: InputMaybe<ExternalDashboards_Order_By
|
|
1249
|
+
order_by?: InputMaybe<Array<ExternalDashboards_Order_By>>;
|
|
1230
1250
|
where?: InputMaybe<ExternalDashboards_Bool_Exp>;
|
|
1231
1251
|
};
|
|
1232
1252
|
export declare type Subscription_RootExternalDashboards_By_PkArgs = {
|
|
1233
1253
|
id: Scalars['uuid'];
|
|
1234
1254
|
};
|
|
1235
1255
|
export declare type Subscription_RootExternalMetricsArgs = {
|
|
1236
|
-
distinct_on?: InputMaybe<ExternalMetrics_Select_Column
|
|
1256
|
+
distinct_on?: InputMaybe<Array<ExternalMetrics_Select_Column>>;
|
|
1237
1257
|
limit?: InputMaybe<Scalars['Int']>;
|
|
1238
1258
|
offset?: InputMaybe<Scalars['Int']>;
|
|
1239
|
-
order_by?: InputMaybe<ExternalMetrics_Order_By
|
|
1259
|
+
order_by?: InputMaybe<Array<ExternalMetrics_Order_By>>;
|
|
1240
1260
|
where?: InputMaybe<ExternalMetrics_Bool_Exp>;
|
|
1241
1261
|
};
|
|
1242
1262
|
export declare type Subscription_RootExternalMetricsRlsFiltersArgs = {
|
|
1243
|
-
distinct_on?: InputMaybe<ExternalMetricsRlsFilters_Select_Column
|
|
1263
|
+
distinct_on?: InputMaybe<Array<ExternalMetricsRlsFilters_Select_Column>>;
|
|
1244
1264
|
limit?: InputMaybe<Scalars['Int']>;
|
|
1245
1265
|
offset?: InputMaybe<Scalars['Int']>;
|
|
1246
|
-
order_by?: InputMaybe<ExternalMetricsRlsFilters_Order_By
|
|
1266
|
+
order_by?: InputMaybe<Array<ExternalMetricsRlsFilters_Order_By>>;
|
|
1247
1267
|
where?: InputMaybe<ExternalMetricsRlsFilters_Bool_Exp>;
|
|
1248
1268
|
};
|
|
1249
1269
|
export declare type Subscription_RootExternalMetricsRlsFilters_By_PkArgs = {
|
|
@@ -1253,10 +1273,10 @@ export declare type Subscription_RootExternalMetrics_By_PkArgs = {
|
|
|
1253
1273
|
id: Scalars['uuid'];
|
|
1254
1274
|
};
|
|
1255
1275
|
export declare type Subscription_RootGuestTokensArgs = {
|
|
1256
|
-
distinct_on?: InputMaybe<GuestTokens_Select_Column
|
|
1276
|
+
distinct_on?: InputMaybe<Array<GuestTokens_Select_Column>>;
|
|
1257
1277
|
limit?: InputMaybe<Scalars['Int']>;
|
|
1258
1278
|
offset?: InputMaybe<Scalars['Int']>;
|
|
1259
|
-
order_by?: InputMaybe<GuestTokens_Order_By
|
|
1279
|
+
order_by?: InputMaybe<Array<GuestTokens_Order_By>>;
|
|
1260
1280
|
where?: InputMaybe<GuestTokens_Bool_Exp>;
|
|
1261
1281
|
};
|
|
1262
1282
|
export declare type Subscription_RootGuestTokens_By_PkArgs = {
|
|
@@ -1267,24 +1287,24 @@ export declare type Timestamptz_Comparison_Exp = {
|
|
|
1267
1287
|
_eq?: InputMaybe<Scalars['timestamptz']>;
|
|
1268
1288
|
_gt?: InputMaybe<Scalars['timestamptz']>;
|
|
1269
1289
|
_gte?: InputMaybe<Scalars['timestamptz']>;
|
|
1270
|
-
_in?: InputMaybe<Scalars['timestamptz']
|
|
1290
|
+
_in?: InputMaybe<Array<Scalars['timestamptz']>>;
|
|
1271
1291
|
_is_null?: InputMaybe<Scalars['Boolean']>;
|
|
1272
1292
|
_lt?: InputMaybe<Scalars['timestamptz']>;
|
|
1273
1293
|
_lte?: InputMaybe<Scalars['timestamptz']>;
|
|
1274
1294
|
_neq?: InputMaybe<Scalars['timestamptz']>;
|
|
1275
|
-
_nin?: InputMaybe<Scalars['timestamptz']
|
|
1295
|
+
_nin?: InputMaybe<Array<Scalars['timestamptz']>>;
|
|
1276
1296
|
};
|
|
1277
1297
|
/** Boolean expression to compare columns of type "uuid". All fields are combined with logical 'AND'. */
|
|
1278
1298
|
export declare type Uuid_Comparison_Exp = {
|
|
1279
1299
|
_eq?: InputMaybe<Scalars['uuid']>;
|
|
1280
1300
|
_gt?: InputMaybe<Scalars['uuid']>;
|
|
1281
1301
|
_gte?: InputMaybe<Scalars['uuid']>;
|
|
1282
|
-
_in?: InputMaybe<Scalars['uuid']
|
|
1302
|
+
_in?: InputMaybe<Array<Scalars['uuid']>>;
|
|
1283
1303
|
_is_null?: InputMaybe<Scalars['Boolean']>;
|
|
1284
1304
|
_lt?: InputMaybe<Scalars['uuid']>;
|
|
1285
1305
|
_lte?: InputMaybe<Scalars['uuid']>;
|
|
1286
1306
|
_neq?: InputMaybe<Scalars['uuid']>;
|
|
1287
|
-
_nin?: InputMaybe<Scalars['uuid']
|
|
1307
|
+
_nin?: InputMaybe<Array<Scalars['uuid']>>;
|
|
1288
1308
|
};
|
|
1289
1309
|
export declare type CreateExternalMetricMutationVariables = Exact<{
|
|
1290
1310
|
chartOptions?: InputMaybe<Scalars['jsonb']>;
|
|
@@ -1303,7 +1323,7 @@ export declare type CreateExternalMetricMutationVariables = Exact<{
|
|
|
1303
1323
|
isCreatedByClient?: InputMaybe<Scalars['Boolean']>;
|
|
1304
1324
|
createdBy?: InputMaybe<Scalars['String']>;
|
|
1305
1325
|
timeGrain?: InputMaybe<Scalars['String']>;
|
|
1306
|
-
externalDashboardIds?: InputMaybe<ExternalDashboardMetrics_Insert_Input
|
|
1326
|
+
externalDashboardIds?: InputMaybe<Array<ExternalDashboardMetrics_Insert_Input> | ExternalDashboardMetrics_Insert_Input>;
|
|
1307
1327
|
selectedGroupBy?: InputMaybe<Scalars['jsonb']>;
|
|
1308
1328
|
isEnableGroupBy?: InputMaybe<Scalars['Boolean']>;
|
|
1309
1329
|
groupBy?: InputMaybe<Scalars['jsonb']>;
|
|
@@ -1313,10 +1333,10 @@ export declare type CreateExternalMetricMutation = {
|
|
|
1313
1333
|
insert_externalMetrics_one?: {
|
|
1314
1334
|
__typename?: 'externalMetrics';
|
|
1315
1335
|
id: any;
|
|
1316
|
-
externalDashboardMetrics: {
|
|
1336
|
+
externalDashboardMetrics: Array<{
|
|
1317
1337
|
__typename?: 'externalDashboardMetrics';
|
|
1318
1338
|
externalDashboardId: any;
|
|
1319
|
-
}
|
|
1339
|
+
}>;
|
|
1320
1340
|
} | null;
|
|
1321
1341
|
};
|
|
1322
1342
|
export declare type FetchColumnDataMutationVariables = Exact<{
|
|
@@ -1328,11 +1348,11 @@ export declare type FetchColumnDataMutation = {
|
|
|
1328
1348
|
__typename?: 'mutation_root';
|
|
1329
1349
|
fetchColumnData?: {
|
|
1330
1350
|
__typename?: 'FetchColumnDataOutput';
|
|
1331
|
-
data?:
|
|
1351
|
+
data?: Array<{
|
|
1332
1352
|
__typename?: 'ColumnData';
|
|
1333
1353
|
label: string;
|
|
1334
1354
|
value: string;
|
|
1335
|
-
} | null
|
|
1355
|
+
} | null> | null;
|
|
1336
1356
|
error?: {
|
|
1337
1357
|
__typename?: 'ColumnDataError';
|
|
1338
1358
|
message: string;
|
|
@@ -1375,30 +1395,30 @@ export declare type CompanyIntegrationQueryVariables = Exact<{
|
|
|
1375
1395
|
}>;
|
|
1376
1396
|
export declare type CompanyIntegrationQuery = {
|
|
1377
1397
|
__typename?: 'query_root';
|
|
1378
|
-
companyIntegrations: {
|
|
1398
|
+
companyIntegrations: Array<{
|
|
1379
1399
|
__typename?: 'companyIntegrations';
|
|
1380
1400
|
companyId: any;
|
|
1381
1401
|
id: any;
|
|
1382
1402
|
integrationId: any;
|
|
1383
1403
|
name: string;
|
|
1384
|
-
}
|
|
1404
|
+
}>;
|
|
1385
1405
|
};
|
|
1386
1406
|
export declare type CompanySubsetTableListQueryVariables = Exact<{
|
|
1387
1407
|
companyId?: InputMaybe<Scalars['uuid']>;
|
|
1388
1408
|
}>;
|
|
1389
1409
|
export declare type CompanySubsetTableListQuery = {
|
|
1390
1410
|
__typename?: 'query_root';
|
|
1391
|
-
companySubsetTables: {
|
|
1411
|
+
companySubsetTables: Array<{
|
|
1392
1412
|
__typename?: 'companySubsetTables';
|
|
1393
1413
|
tableList: any;
|
|
1394
|
-
}
|
|
1414
|
+
}>;
|
|
1395
1415
|
};
|
|
1396
1416
|
export declare type EmbeddedDashboardMetricsQueryVariables = Exact<{
|
|
1397
1417
|
where?: InputMaybe<ExternalDashboardMetrics_Bool_Exp>;
|
|
1398
1418
|
}>;
|
|
1399
1419
|
export declare type EmbeddedDashboardMetricsQuery = {
|
|
1400
1420
|
__typename?: 'query_root';
|
|
1401
|
-
externalDashboardMetrics: {
|
|
1421
|
+
externalDashboardMetrics: Array<{
|
|
1402
1422
|
__typename?: 'externalDashboardMetrics';
|
|
1403
1423
|
externalMetricId: any;
|
|
1404
1424
|
externalDashboardId: any;
|
|
@@ -1427,8 +1447,13 @@ export declare type EmbeddedDashboardMetricsQuery = {
|
|
|
1427
1447
|
selectedGroupBy: any;
|
|
1428
1448
|
isEnableGroupBy: boolean;
|
|
1429
1449
|
groupBy: any;
|
|
1450
|
+
rlsConditions: any;
|
|
1451
|
+
companyIntegration: {
|
|
1452
|
+
__typename?: 'companyIntegrations';
|
|
1453
|
+
name: string;
|
|
1454
|
+
};
|
|
1430
1455
|
};
|
|
1431
|
-
}
|
|
1456
|
+
}>;
|
|
1432
1457
|
};
|
|
1433
1458
|
export declare type GetExternalDashboardClientThemeQueryVariables = Exact<{
|
|
1434
1459
|
companyId: Scalars['uuid'];
|
|
@@ -1436,36 +1461,36 @@ export declare type GetExternalDashboardClientThemeQueryVariables = Exact<{
|
|
|
1436
1461
|
}>;
|
|
1437
1462
|
export declare type GetExternalDashboardClientThemeQuery = {
|
|
1438
1463
|
__typename?: 'query_root';
|
|
1439
|
-
externalDashboardThemes: {
|
|
1464
|
+
externalDashboardThemes: Array<{
|
|
1440
1465
|
__typename?: 'externalDashboardThemes';
|
|
1441
1466
|
colors: any;
|
|
1442
1467
|
createdAt: any;
|
|
1443
1468
|
id: any;
|
|
1444
1469
|
name: string;
|
|
1445
|
-
}
|
|
1470
|
+
}>;
|
|
1446
1471
|
};
|
|
1447
1472
|
export declare type GetExternalDashboardIdQueryVariables = Exact<{
|
|
1448
1473
|
externalDashboardId?: InputMaybe<Scalars['String']>;
|
|
1449
1474
|
}>;
|
|
1450
1475
|
export declare type GetExternalDashboardIdQuery = {
|
|
1451
1476
|
__typename?: 'query_root';
|
|
1452
|
-
externalDashboards: {
|
|
1477
|
+
externalDashboards: Array<{
|
|
1453
1478
|
__typename?: 'externalDashboards';
|
|
1454
1479
|
id: any;
|
|
1455
1480
|
filters: any;
|
|
1456
|
-
}
|
|
1481
|
+
}>;
|
|
1457
1482
|
};
|
|
1458
1483
|
export declare type ExternalDashboardListQueryVariables = Exact<{
|
|
1459
1484
|
companyId?: InputMaybe<Scalars['uuid']>;
|
|
1460
1485
|
}>;
|
|
1461
1486
|
export declare type ExternalDashboardListQuery = {
|
|
1462
1487
|
__typename?: 'query_root';
|
|
1463
|
-
externalDashboards: {
|
|
1488
|
+
externalDashboards: Array<{
|
|
1464
1489
|
__typename?: 'externalDashboards';
|
|
1465
1490
|
externalDashboardId: string;
|
|
1466
1491
|
name: string;
|
|
1467
1492
|
id: any;
|
|
1468
|
-
}
|
|
1493
|
+
}>;
|
|
1469
1494
|
};
|
|
1470
1495
|
export declare type GuestTokenParamsQueryVariables = Exact<{
|
|
1471
1496
|
id?: InputMaybe<Scalars['uuid']>;
|
|
@@ -1480,6 +1505,16 @@ export declare type GuestTokenParamsQuery = {
|
|
|
1480
1505
|
params: any;
|
|
1481
1506
|
} | null;
|
|
1482
1507
|
};
|
|
1508
|
+
export declare type MetricCreationAccessQueryVariables = Exact<{
|
|
1509
|
+
companyId?: InputMaybe<Scalars['uuid']>;
|
|
1510
|
+
}>;
|
|
1511
|
+
export declare type MetricCreationAccessQuery = {
|
|
1512
|
+
__typename?: 'query_root';
|
|
1513
|
+
companySubsetTables: Array<{
|
|
1514
|
+
__typename?: 'companySubsetTables';
|
|
1515
|
+
isAllowMetricCreation: boolean;
|
|
1516
|
+
}>;
|
|
1517
|
+
};
|
|
1483
1518
|
export declare type PreviewTableMutationVariables = Exact<{
|
|
1484
1519
|
companyId?: InputMaybe<Scalars['String']>;
|
|
1485
1520
|
tableName?: InputMaybe<Scalars['String']>;
|
|
@@ -1504,14 +1539,17 @@ export declare type PreviewTableMutation = {
|
|
|
1504
1539
|
export declare type QueryExternalMetricQueryVariables = Exact<{
|
|
1505
1540
|
id?: InputMaybe<Scalars['String']>;
|
|
1506
1541
|
clientId?: InputMaybe<Scalars['String']>;
|
|
1507
|
-
filterValues?: InputMaybe<Scalars['json']>;
|
|
1508
1542
|
globalFilters?: InputMaybe<Scalars['json']>;
|
|
1543
|
+
rlsConditions?: InputMaybe<Scalars['json']>;
|
|
1544
|
+
filterValues?: InputMaybe<Scalars['json']>;
|
|
1545
|
+
tenancyLevel?: InputMaybe<Scalars['String']>;
|
|
1509
1546
|
}>;
|
|
1510
1547
|
export declare type QueryExternalMetricQuery = {
|
|
1511
1548
|
__typename?: 'query_root';
|
|
1512
1549
|
externalMetricQuery?: {
|
|
1513
1550
|
__typename?: 'ExternalMetricQueryOutput';
|
|
1514
1551
|
data?: any | null;
|
|
1552
|
+
timeTaken?: number | null;
|
|
1515
1553
|
} | null;
|
|
1516
1554
|
};
|
|
1517
1555
|
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 ";
|
|
@@ -1592,7 +1630,7 @@ export declare const CompanyIntegrationDocument = "\n query CompanyIntegratio
|
|
|
1592
1630
|
export declare const useCompanyIntegrationQuery: <TData = CompanyIntegrationQuery, TError = unknown>(variables?: CompanyIntegrationQueryVariables, options?: UseQueryOptions<CompanyIntegrationQuery, TError, TData, import("react-query").QueryKey> | undefined) => import("react-query").UseQueryResult<TData, TError>;
|
|
1593
1631
|
export declare const CompanySubsetTableListDocument = "\n query CompanySubsetTableList($companyId: uuid = \"\") {\n companySubsetTables(where: {companyId: {_eq: $companyId}}) {\n tableList\n }\n}\n ";
|
|
1594
1632
|
export declare const useCompanySubsetTableListQuery: <TData = CompanySubsetTableListQuery, TError = unknown>(variables?: CompanySubsetTableListQueryVariables, options?: UseQueryOptions<CompanySubsetTableListQuery, TError, TData, import("react-query").QueryKey> | undefined) => import("react-query").UseQueryResult<TData, TError>;
|
|
1595
|
-
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 }\n }\n}\n ";
|
|
1633
|
+
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 }\n }\n}\n ";
|
|
1596
1634
|
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>;
|
|
1597
1635
|
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 ";
|
|
1598
1636
|
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>;
|
|
@@ -1602,6 +1640,8 @@ export declare const ExternalDashboardListDocument = "\n query ExternalDashbo
|
|
|
1602
1640
|
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>;
|
|
1603
1641
|
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 ";
|
|
1604
1642
|
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>;
|
|
1643
|
+
export declare const MetricCreationAccessDocument = "\n query MetricCreationAccess($companyId: uuid = \"\") {\n companySubsetTables(where: {companyId: {_eq: $companyId}}) {\n isAllowMetricCreation\n }\n}\n ";
|
|
1644
|
+
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>;
|
|
1605
1645
|
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 ";
|
|
1606
1646
|
export declare const usePreviewTableMutation: <TError = unknown, TContext = unknown>(options?: UseMutationOptions<PreviewTableMutation, TError, Exact<{
|
|
1607
1647
|
companyId?: InputMaybe<string> | undefined;
|
|
@@ -1612,5 +1652,5 @@ export declare const usePreviewTableMutation: <TError = unknown, TContext = unkn
|
|
|
1612
1652
|
tableName?: InputMaybe<string> | undefined;
|
|
1613
1653
|
limit?: InputMaybe<number> | undefined;
|
|
1614
1654
|
}>, TContext>;
|
|
1615
|
-
export declare const QueryExternalMetricDocument = "\n query QueryExternalMetric($id: String = \"\", $clientId: String = \"\", $
|
|
1655
|
+
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 ";
|
|
1616
1656
|
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>;
|