@databrainhq/plugin 0.8.23 → 0.8.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +26 -26
- package/dist/components/Alert/index.d.ts +7 -0
- package/dist/components/MetricList/MetricList.d.ts +2 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/hooks/useClientDashboardLayout.d.ts +1 -2
- package/dist/hooks/useEmbeddedDashboard.d.ts +2 -1
- package/dist/index.es.js +776 -815
- package/dist/index.umd.js +111 -128
- package/dist/style.css +1 -1
- package/dist/typings.d.ts +17 -17
- package/dist/utils/generated/graphql.d.ts +562 -61
- package/package.json +96 -96
|
@@ -58,8 +58,10 @@ export declare type EmbeddedDashboardDataOutput = {
|
|
|
58
58
|
externalDashboardId?: Maybe<Scalars['String']>;
|
|
59
59
|
externalMetrics?: Maybe<Array<Maybe<Scalars['json']>>>;
|
|
60
60
|
guestToken?: Maybe<Scalars['String']>;
|
|
61
|
+
isAllowedToChangeLayout?: Maybe<Scalars['Boolean']>;
|
|
61
62
|
isAllowedToCreateMetrics?: Maybe<Scalars['Boolean']>;
|
|
62
63
|
isAllowedToDeleteMetrics?: Maybe<Scalars['Boolean']>;
|
|
64
|
+
isAllowedToUpdateMetrics?: Maybe<Scalars['Boolean']>;
|
|
63
65
|
isLive?: Maybe<Scalars['Boolean']>;
|
|
64
66
|
isTestKey?: Maybe<Scalars['Boolean']>;
|
|
65
67
|
rlsSettings?: Maybe<Scalars['json']>;
|
|
@@ -226,6 +228,7 @@ export declare type ClientDashboardLayout = {
|
|
|
226
228
|
/** An object relationship */
|
|
227
229
|
externalDashboard: ExternalDashboards;
|
|
228
230
|
externalDashboardId: Scalars['uuid'];
|
|
231
|
+
isLocked: Scalars['Boolean'];
|
|
229
232
|
layout: Scalars['jsonb'];
|
|
230
233
|
};
|
|
231
234
|
/** Metric resize attributes of client dashboard. */
|
|
@@ -250,6 +253,7 @@ export declare type ClientDashboardLayout_Bool_Exp = {
|
|
|
250
253
|
clientId?: InputMaybe<String_Comparison_Exp>;
|
|
251
254
|
externalDashboard?: InputMaybe<ExternalDashboards_Bool_Exp>;
|
|
252
255
|
externalDashboardId?: InputMaybe<Uuid_Comparison_Exp>;
|
|
256
|
+
isLocked?: InputMaybe<Boolean_Comparison_Exp>;
|
|
253
257
|
layout?: InputMaybe<Jsonb_Comparison_Exp>;
|
|
254
258
|
};
|
|
255
259
|
/** unique or primary key constraints on table "clientDashboardLayout" */
|
|
@@ -273,6 +277,7 @@ export declare type ClientDashboardLayout_Delete_Key_Input = {
|
|
|
273
277
|
export declare type ClientDashboardLayout_Insert_Input = {
|
|
274
278
|
clientId?: InputMaybe<Scalars['String']>;
|
|
275
279
|
externalDashboardId?: InputMaybe<Scalars['uuid']>;
|
|
280
|
+
isLocked?: InputMaybe<Scalars['Boolean']>;
|
|
276
281
|
layout?: InputMaybe<Scalars['jsonb']>;
|
|
277
282
|
};
|
|
278
283
|
/** order by max() on columns of table "clientDashboardLayout" */
|
|
@@ -304,6 +309,7 @@ export declare type ClientDashboardLayout_Order_By = {
|
|
|
304
309
|
clientId?: InputMaybe<Order_By>;
|
|
305
310
|
externalDashboard?: InputMaybe<ExternalDashboards_Order_By>;
|
|
306
311
|
externalDashboardId?: InputMaybe<Order_By>;
|
|
312
|
+
isLocked?: InputMaybe<Order_By>;
|
|
307
313
|
layout?: InputMaybe<Order_By>;
|
|
308
314
|
};
|
|
309
315
|
/** primary key columns input for table: clientDashboardLayout */
|
|
@@ -322,14 +328,19 @@ export declare enum ClientDashboardLayout_Select_Column {
|
|
|
322
328
|
/** column name */
|
|
323
329
|
ExternalDashboardId = "externalDashboardId",
|
|
324
330
|
/** column name */
|
|
331
|
+
IsLocked = "isLocked",
|
|
332
|
+
/** column name */
|
|
325
333
|
Layout = "layout"
|
|
326
334
|
}
|
|
327
335
|
/** input type for updating data in table "clientDashboardLayout" */
|
|
328
336
|
export declare type ClientDashboardLayout_Set_Input = {
|
|
337
|
+
isLocked?: InputMaybe<Scalars['Boolean']>;
|
|
329
338
|
layout?: InputMaybe<Scalars['jsonb']>;
|
|
330
339
|
};
|
|
331
340
|
/** update columns of table "clientDashboardLayout" */
|
|
332
341
|
export declare enum ClientDashboardLayout_Update_Column {
|
|
342
|
+
/** column name */
|
|
343
|
+
IsLocked = "isLocked",
|
|
333
344
|
/** column name */
|
|
334
345
|
Layout = "layout"
|
|
335
346
|
}
|
|
@@ -589,8 +600,10 @@ export declare type CompanySubsetTables = {
|
|
|
589
600
|
companyId: Scalars['uuid'];
|
|
590
601
|
/** An object relationship */
|
|
591
602
|
companyWorkspace: CompanyWorkspaces;
|
|
603
|
+
isAllowChangeLayout: Scalars['Boolean'];
|
|
592
604
|
isAllowMetricCreation: Scalars['Boolean'];
|
|
593
605
|
isAllowMetricDeletion: Scalars['Boolean'];
|
|
606
|
+
isAllowMetricUpdation: Scalars['Boolean'];
|
|
594
607
|
tableList: Scalars['jsonb'];
|
|
595
608
|
};
|
|
596
609
|
/** subset of tables of user database */
|
|
@@ -604,16 +617,20 @@ export declare type CompanySubsetTables_Bool_Exp = {
|
|
|
604
617
|
_or?: InputMaybe<Array<CompanySubsetTables_Bool_Exp>>;
|
|
605
618
|
companyId?: InputMaybe<Uuid_Comparison_Exp>;
|
|
606
619
|
companyWorkspace?: InputMaybe<CompanyWorkspaces_Bool_Exp>;
|
|
620
|
+
isAllowChangeLayout?: InputMaybe<Boolean_Comparison_Exp>;
|
|
607
621
|
isAllowMetricCreation?: InputMaybe<Boolean_Comparison_Exp>;
|
|
608
622
|
isAllowMetricDeletion?: InputMaybe<Boolean_Comparison_Exp>;
|
|
623
|
+
isAllowMetricUpdation?: InputMaybe<Boolean_Comparison_Exp>;
|
|
609
624
|
tableList?: InputMaybe<Jsonb_Comparison_Exp>;
|
|
610
625
|
};
|
|
611
626
|
/** Ordering options when selecting data from "companySubsetTables". */
|
|
612
627
|
export declare type CompanySubsetTables_Order_By = {
|
|
613
628
|
companyId?: InputMaybe<Order_By>;
|
|
614
629
|
companyWorkspace?: InputMaybe<CompanyWorkspaces_Order_By>;
|
|
630
|
+
isAllowChangeLayout?: InputMaybe<Order_By>;
|
|
615
631
|
isAllowMetricCreation?: InputMaybe<Order_By>;
|
|
616
632
|
isAllowMetricDeletion?: InputMaybe<Order_By>;
|
|
633
|
+
isAllowMetricUpdation?: InputMaybe<Order_By>;
|
|
617
634
|
tableList?: InputMaybe<Order_By>;
|
|
618
635
|
};
|
|
619
636
|
/** select columns of table "companySubsetTables" */
|
|
@@ -621,10 +638,14 @@ export declare enum CompanySubsetTables_Select_Column {
|
|
|
621
638
|
/** column name */
|
|
622
639
|
CompanyId = "companyId",
|
|
623
640
|
/** column name */
|
|
641
|
+
IsAllowChangeLayout = "isAllowChangeLayout",
|
|
642
|
+
/** column name */
|
|
624
643
|
IsAllowMetricCreation = "isAllowMetricCreation",
|
|
625
644
|
/** column name */
|
|
626
645
|
IsAllowMetricDeletion = "isAllowMetricDeletion",
|
|
627
646
|
/** column name */
|
|
647
|
+
IsAllowMetricUpdation = "isAllowMetricUpdation",
|
|
648
|
+
/** column name */
|
|
628
649
|
TableList = "tableList"
|
|
629
650
|
}
|
|
630
651
|
/** columns and relationships of "companyWorkspaces" */
|
|
@@ -895,6 +916,8 @@ export declare type ExternalDashboards = {
|
|
|
895
916
|
filters: Scalars['jsonb'];
|
|
896
917
|
id: Scalars['uuid'];
|
|
897
918
|
name: Scalars['String'];
|
|
919
|
+
/** An array relationship */
|
|
920
|
+
scheduleEmailReports: Array<ScheduleEmailReports>;
|
|
898
921
|
};
|
|
899
922
|
/** columns and relationships of "externalDashboards" */
|
|
900
923
|
export declare type ExternalDashboardsClientDashboardLayoutsArgs = {
|
|
@@ -924,6 +947,14 @@ export declare type ExternalDashboardsExternalDashboardMetricsArgs = {
|
|
|
924
947
|
export declare type ExternalDashboardsFiltersArgs = {
|
|
925
948
|
path?: InputMaybe<Scalars['String']>;
|
|
926
949
|
};
|
|
950
|
+
/** columns and relationships of "externalDashboards" */
|
|
951
|
+
export declare type ExternalDashboardsScheduleEmailReportsArgs = {
|
|
952
|
+
distinct_on?: InputMaybe<Array<ScheduleEmailReports_Select_Column>>;
|
|
953
|
+
limit?: InputMaybe<Scalars['Int']>;
|
|
954
|
+
offset?: InputMaybe<Scalars['Int']>;
|
|
955
|
+
order_by?: InputMaybe<Array<ScheduleEmailReports_Order_By>>;
|
|
956
|
+
where?: InputMaybe<ScheduleEmailReports_Bool_Exp>;
|
|
957
|
+
};
|
|
927
958
|
/** order by aggregate values of table "externalDashboards" */
|
|
928
959
|
export declare type ExternalDashboards_Aggregate_Order_By = {
|
|
929
960
|
count?: InputMaybe<Order_By>;
|
|
@@ -944,6 +975,7 @@ export declare type ExternalDashboards_Bool_Exp = {
|
|
|
944
975
|
filters?: InputMaybe<Jsonb_Comparison_Exp>;
|
|
945
976
|
id?: InputMaybe<Uuid_Comparison_Exp>;
|
|
946
977
|
name?: InputMaybe<String_Comparison_Exp>;
|
|
978
|
+
scheduleEmailReports?: InputMaybe<ScheduleEmailReports_Bool_Exp>;
|
|
947
979
|
};
|
|
948
980
|
/** order by max() on columns of table "externalDashboards" */
|
|
949
981
|
export declare type ExternalDashboards_Max_Order_By = {
|
|
@@ -970,6 +1002,7 @@ export declare type ExternalDashboards_Order_By = {
|
|
|
970
1002
|
filters?: InputMaybe<Order_By>;
|
|
971
1003
|
id?: InputMaybe<Order_By>;
|
|
972
1004
|
name?: InputMaybe<Order_By>;
|
|
1005
|
+
scheduleEmailReports_aggregate?: InputMaybe<ScheduleEmailReports_Aggregate_Order_By>;
|
|
973
1006
|
};
|
|
974
1007
|
/** select columns of table "externalDashboards" */
|
|
975
1008
|
export declare enum ExternalDashboards_Select_Column {
|
|
@@ -1019,6 +1052,8 @@ export declare type ExternalMetrics = {
|
|
|
1019
1052
|
query: Scalars['String'];
|
|
1020
1053
|
resizeAttributes: Scalars['jsonb'];
|
|
1021
1054
|
rlsConditions: Scalars['jsonb'];
|
|
1055
|
+
/** An array relationship */
|
|
1056
|
+
scheduleEmailReportCharts: Array<ScheduleEmailReportCharts>;
|
|
1022
1057
|
selectedGroupBy: Scalars['jsonb'];
|
|
1023
1058
|
timeGrain?: Maybe<Scalars['String']>;
|
|
1024
1059
|
updatedAt: Scalars['timestamptz'];
|
|
@@ -1080,6 +1115,14 @@ export declare type ExternalMetricsRlsConditionsArgs = {
|
|
|
1080
1115
|
path?: InputMaybe<Scalars['String']>;
|
|
1081
1116
|
};
|
|
1082
1117
|
/** extrnal metrics table for users client-based query */
|
|
1118
|
+
export declare type ExternalMetricsScheduleEmailReportChartsArgs = {
|
|
1119
|
+
distinct_on?: InputMaybe<Array<ScheduleEmailReportCharts_Select_Column>>;
|
|
1120
|
+
limit?: InputMaybe<Scalars['Int']>;
|
|
1121
|
+
offset?: InputMaybe<Scalars['Int']>;
|
|
1122
|
+
order_by?: InputMaybe<Array<ScheduleEmailReportCharts_Order_By>>;
|
|
1123
|
+
where?: InputMaybe<ScheduleEmailReportCharts_Bool_Exp>;
|
|
1124
|
+
};
|
|
1125
|
+
/** extrnal metrics table for users client-based query */
|
|
1083
1126
|
export declare type ExternalMetricsSelectedGroupByArgs = {
|
|
1084
1127
|
path?: InputMaybe<Scalars['String']>;
|
|
1085
1128
|
};
|
|
@@ -1216,6 +1259,7 @@ export declare type ExternalMetrics_Bool_Exp = {
|
|
|
1216
1259
|
query?: InputMaybe<String_Comparison_Exp>;
|
|
1217
1260
|
resizeAttributes?: InputMaybe<Jsonb_Comparison_Exp>;
|
|
1218
1261
|
rlsConditions?: InputMaybe<Jsonb_Comparison_Exp>;
|
|
1262
|
+
scheduleEmailReportCharts?: InputMaybe<ScheduleEmailReportCharts_Bool_Exp>;
|
|
1219
1263
|
selectedGroupBy?: InputMaybe<Jsonb_Comparison_Exp>;
|
|
1220
1264
|
timeGrain?: InputMaybe<String_Comparison_Exp>;
|
|
1221
1265
|
updatedAt?: InputMaybe<Timestamptz_Comparison_Exp>;
|
|
@@ -1268,6 +1312,7 @@ export declare type ExternalMetrics_Insert_Input = {
|
|
|
1268
1312
|
outputColumns?: InputMaybe<Scalars['String']>;
|
|
1269
1313
|
query?: InputMaybe<Scalars['String']>;
|
|
1270
1314
|
resizeAttributes?: InputMaybe<Scalars['jsonb']>;
|
|
1315
|
+
scheduleEmailReportCharts?: InputMaybe<ScheduleEmailReportCharts_Arr_Rel_Insert_Input>;
|
|
1271
1316
|
selectedGroupBy?: InputMaybe<Scalars['jsonb']>;
|
|
1272
1317
|
timeGrain?: InputMaybe<Scalars['String']>;
|
|
1273
1318
|
updatedAt?: InputMaybe<Scalars['timestamptz']>;
|
|
@@ -1358,6 +1403,7 @@ export declare type ExternalMetrics_Order_By = {
|
|
|
1358
1403
|
query?: InputMaybe<Order_By>;
|
|
1359
1404
|
resizeAttributes?: InputMaybe<Order_By>;
|
|
1360
1405
|
rlsConditions?: InputMaybe<Order_By>;
|
|
1406
|
+
scheduleEmailReportCharts_aggregate?: InputMaybe<ScheduleEmailReportCharts_Aggregate_Order_By>;
|
|
1361
1407
|
selectedGroupBy?: InputMaybe<Order_By>;
|
|
1362
1408
|
timeGrain?: InputMaybe<Order_By>;
|
|
1363
1409
|
updatedAt?: InputMaybe<Order_By>;
|
|
@@ -1435,6 +1481,7 @@ export declare type ExternalMetrics_Set_Input = {
|
|
|
1435
1481
|
metricId?: InputMaybe<Scalars['String']>;
|
|
1436
1482
|
name?: InputMaybe<Scalars['String']>;
|
|
1437
1483
|
resizeAttributes?: InputMaybe<Scalars['jsonb']>;
|
|
1484
|
+
updatedAt?: InputMaybe<Scalars['timestamptz']>;
|
|
1438
1485
|
};
|
|
1439
1486
|
/** update columns of table "externalMetrics" */
|
|
1440
1487
|
export declare enum ExternalMetrics_Update_Column {
|
|
@@ -1447,7 +1494,9 @@ export declare enum ExternalMetrics_Update_Column {
|
|
|
1447
1494
|
/** column name */
|
|
1448
1495
|
Name = "name",
|
|
1449
1496
|
/** column name */
|
|
1450
|
-
ResizeAttributes = "resizeAttributes"
|
|
1497
|
+
ResizeAttributes = "resizeAttributes",
|
|
1498
|
+
/** column name */
|
|
1499
|
+
UpdatedAt = "updatedAt"
|
|
1451
1500
|
}
|
|
1452
1501
|
/** columns and relationships of "guestTokens" */
|
|
1453
1502
|
export declare type GuestTokens = {
|
|
@@ -1456,6 +1505,8 @@ export declare type GuestTokens = {
|
|
|
1456
1505
|
companyId: Scalars['uuid'];
|
|
1457
1506
|
id: Scalars['uuid'];
|
|
1458
1507
|
params: Scalars['jsonb'];
|
|
1508
|
+
/** An object relationship */
|
|
1509
|
+
scheduleEmailReport?: Maybe<ScheduleEmailReports>;
|
|
1459
1510
|
};
|
|
1460
1511
|
/** columns and relationships of "guestTokens" */
|
|
1461
1512
|
export declare type GuestTokensParamsArgs = {
|
|
@@ -1470,6 +1521,7 @@ export declare type GuestTokens_Bool_Exp = {
|
|
|
1470
1521
|
companyId?: InputMaybe<Uuid_Comparison_Exp>;
|
|
1471
1522
|
id?: InputMaybe<Uuid_Comparison_Exp>;
|
|
1472
1523
|
params?: InputMaybe<Jsonb_Comparison_Exp>;
|
|
1524
|
+
scheduleEmailReport?: InputMaybe<ScheduleEmailReports_Bool_Exp>;
|
|
1473
1525
|
};
|
|
1474
1526
|
/** Ordering options when selecting data from "guestTokens". */
|
|
1475
1527
|
export declare type GuestTokens_Order_By = {
|
|
@@ -1477,6 +1529,7 @@ export declare type GuestTokens_Order_By = {
|
|
|
1477
1529
|
companyId?: InputMaybe<Order_By>;
|
|
1478
1530
|
id?: InputMaybe<Order_By>;
|
|
1479
1531
|
params?: InputMaybe<Order_By>;
|
|
1532
|
+
scheduleEmailReport?: InputMaybe<ScheduleEmailReports_Order_By>;
|
|
1480
1533
|
};
|
|
1481
1534
|
/** select columns of table "guestTokens" */
|
|
1482
1535
|
export declare enum GuestTokens_Select_Column {
|
|
@@ -1531,6 +1584,14 @@ export declare type Jsonb_Comparison_Exp = {
|
|
|
1531
1584
|
export declare type Mutation_Root = {
|
|
1532
1585
|
__typename?: 'mutation_root';
|
|
1533
1586
|
companySubsetTableData?: Maybe<CompanySubsetTableDataOutput>;
|
|
1587
|
+
/** delete data from the table: "scheduleEmailReportCharts" */
|
|
1588
|
+
delete_scheduleEmailReportCharts?: Maybe<ScheduleEmailReportCharts_Mutation_Response>;
|
|
1589
|
+
/** delete single row from the table: "scheduleEmailReportCharts" */
|
|
1590
|
+
delete_scheduleEmailReportCharts_by_pk?: Maybe<ScheduleEmailReportCharts>;
|
|
1591
|
+
/** delete data from the table: "scheduleEmailReports" */
|
|
1592
|
+
delete_scheduleEmailReports?: Maybe<ScheduleEmailReports_Mutation_Response>;
|
|
1593
|
+
/** delete single row from the table: "scheduleEmailReports" */
|
|
1594
|
+
delete_scheduleEmailReports_by_pk?: Maybe<ScheduleEmailReports>;
|
|
1534
1595
|
embeddedDashboardData?: Maybe<EmbeddedDashboardDataOutput>;
|
|
1535
1596
|
embeddedMetricQuery?: Maybe<ExternalMetricQueryOutput>;
|
|
1536
1597
|
fetchColumnData?: Maybe<FetchColumnDataOutput>;
|
|
@@ -1563,6 +1624,14 @@ export declare type Mutation_Root = {
|
|
|
1563
1624
|
insert_externalMetricsRlsFilters_one?: Maybe<ExternalMetricsRlsFilters>;
|
|
1564
1625
|
/** insert a single row into the table: "externalMetrics" */
|
|
1565
1626
|
insert_externalMetrics_one?: Maybe<ExternalMetrics>;
|
|
1627
|
+
/** insert data into the table: "scheduleEmailReportCharts" */
|
|
1628
|
+
insert_scheduleEmailReportCharts?: Maybe<ScheduleEmailReportCharts_Mutation_Response>;
|
|
1629
|
+
/** insert a single row into the table: "scheduleEmailReportCharts" */
|
|
1630
|
+
insert_scheduleEmailReportCharts_one?: Maybe<ScheduleEmailReportCharts>;
|
|
1631
|
+
/** insert data into the table: "scheduleEmailReports" */
|
|
1632
|
+
insert_scheduleEmailReports?: Maybe<ScheduleEmailReports_Mutation_Response>;
|
|
1633
|
+
/** insert a single row into the table: "scheduleEmailReports" */
|
|
1634
|
+
insert_scheduleEmailReports_one?: Maybe<ScheduleEmailReports>;
|
|
1566
1635
|
previewTable?: Maybe<PreviewTableOutput>;
|
|
1567
1636
|
sendRawCsv?: Maybe<SendRawCsvOutput>;
|
|
1568
1637
|
/** update data of the table: "clientDashboardLayout" */
|
|
@@ -1573,12 +1642,36 @@ export declare type Mutation_Root = {
|
|
|
1573
1642
|
update_externalMetrics?: Maybe<ExternalMetrics_Mutation_Response>;
|
|
1574
1643
|
/** update single row of the table: "externalMetrics" */
|
|
1575
1644
|
update_externalMetrics_by_pk?: Maybe<ExternalMetrics>;
|
|
1645
|
+
/** update data of the table: "scheduleEmailReportCharts" */
|
|
1646
|
+
update_scheduleEmailReportCharts?: Maybe<ScheduleEmailReportCharts_Mutation_Response>;
|
|
1647
|
+
/** update single row of the table: "scheduleEmailReportCharts" */
|
|
1648
|
+
update_scheduleEmailReportCharts_by_pk?: Maybe<ScheduleEmailReportCharts>;
|
|
1649
|
+
/** update data of the table: "scheduleEmailReports" */
|
|
1650
|
+
update_scheduleEmailReports?: Maybe<ScheduleEmailReports_Mutation_Response>;
|
|
1651
|
+
/** update single row of the table: "scheduleEmailReports" */
|
|
1652
|
+
update_scheduleEmailReports_by_pk?: Maybe<ScheduleEmailReports>;
|
|
1576
1653
|
};
|
|
1577
1654
|
/** mutation root */
|
|
1578
1655
|
export declare type Mutation_RootCompanySubsetTableDataArgs = {
|
|
1579
1656
|
input: CompanySubsetTableDataInput;
|
|
1580
1657
|
};
|
|
1581
1658
|
/** mutation root */
|
|
1659
|
+
export declare type Mutation_RootDelete_ScheduleEmailReportChartsArgs = {
|
|
1660
|
+
where: ScheduleEmailReportCharts_Bool_Exp;
|
|
1661
|
+
};
|
|
1662
|
+
/** mutation root */
|
|
1663
|
+
export declare type Mutation_RootDelete_ScheduleEmailReportCharts_By_PkArgs = {
|
|
1664
|
+
id: Scalars['uuid'];
|
|
1665
|
+
};
|
|
1666
|
+
/** mutation root */
|
|
1667
|
+
export declare type Mutation_RootDelete_ScheduleEmailReportsArgs = {
|
|
1668
|
+
where: ScheduleEmailReports_Bool_Exp;
|
|
1669
|
+
};
|
|
1670
|
+
/** mutation root */
|
|
1671
|
+
export declare type Mutation_RootDelete_ScheduleEmailReports_By_PkArgs = {
|
|
1672
|
+
id: Scalars['uuid'];
|
|
1673
|
+
};
|
|
1674
|
+
/** mutation root */
|
|
1582
1675
|
export declare type Mutation_RootEmbeddedDashboardDataArgs = {
|
|
1583
1676
|
input: EmbeddedDashboardDataInput;
|
|
1584
1677
|
};
|
|
@@ -1671,6 +1764,26 @@ export declare type Mutation_RootInsert_ExternalMetrics_OneArgs = {
|
|
|
1671
1764
|
on_conflict?: InputMaybe<ExternalMetrics_On_Conflict>;
|
|
1672
1765
|
};
|
|
1673
1766
|
/** mutation root */
|
|
1767
|
+
export declare type Mutation_RootInsert_ScheduleEmailReportChartsArgs = {
|
|
1768
|
+
objects: Array<ScheduleEmailReportCharts_Insert_Input>;
|
|
1769
|
+
on_conflict?: InputMaybe<ScheduleEmailReportCharts_On_Conflict>;
|
|
1770
|
+
};
|
|
1771
|
+
/** mutation root */
|
|
1772
|
+
export declare type Mutation_RootInsert_ScheduleEmailReportCharts_OneArgs = {
|
|
1773
|
+
object: ScheduleEmailReportCharts_Insert_Input;
|
|
1774
|
+
on_conflict?: InputMaybe<ScheduleEmailReportCharts_On_Conflict>;
|
|
1775
|
+
};
|
|
1776
|
+
/** mutation root */
|
|
1777
|
+
export declare type Mutation_RootInsert_ScheduleEmailReportsArgs = {
|
|
1778
|
+
objects: Array<ScheduleEmailReports_Insert_Input>;
|
|
1779
|
+
on_conflict?: InputMaybe<ScheduleEmailReports_On_Conflict>;
|
|
1780
|
+
};
|
|
1781
|
+
/** mutation root */
|
|
1782
|
+
export declare type Mutation_RootInsert_ScheduleEmailReports_OneArgs = {
|
|
1783
|
+
object: ScheduleEmailReports_Insert_Input;
|
|
1784
|
+
on_conflict?: InputMaybe<ScheduleEmailReports_On_Conflict>;
|
|
1785
|
+
};
|
|
1786
|
+
/** mutation root */
|
|
1674
1787
|
export declare type Mutation_RootPreviewTableArgs = {
|
|
1675
1788
|
input: PreviewTableInput;
|
|
1676
1789
|
};
|
|
@@ -1718,6 +1831,26 @@ export declare type Mutation_RootUpdate_ExternalMetrics_By_PkArgs = {
|
|
|
1718
1831
|
_set?: InputMaybe<ExternalMetrics_Set_Input>;
|
|
1719
1832
|
pk_columns: ExternalMetrics_Pk_Columns_Input;
|
|
1720
1833
|
};
|
|
1834
|
+
/** mutation root */
|
|
1835
|
+
export declare type Mutation_RootUpdate_ScheduleEmailReportChartsArgs = {
|
|
1836
|
+
_set?: InputMaybe<ScheduleEmailReportCharts_Set_Input>;
|
|
1837
|
+
where: ScheduleEmailReportCharts_Bool_Exp;
|
|
1838
|
+
};
|
|
1839
|
+
/** mutation root */
|
|
1840
|
+
export declare type Mutation_RootUpdate_ScheduleEmailReportCharts_By_PkArgs = {
|
|
1841
|
+
_set?: InputMaybe<ScheduleEmailReportCharts_Set_Input>;
|
|
1842
|
+
pk_columns: ScheduleEmailReportCharts_Pk_Columns_Input;
|
|
1843
|
+
};
|
|
1844
|
+
/** mutation root */
|
|
1845
|
+
export declare type Mutation_RootUpdate_ScheduleEmailReportsArgs = {
|
|
1846
|
+
_set?: InputMaybe<ScheduleEmailReports_Set_Input>;
|
|
1847
|
+
where: ScheduleEmailReports_Bool_Exp;
|
|
1848
|
+
};
|
|
1849
|
+
/** mutation root */
|
|
1850
|
+
export declare type Mutation_RootUpdate_ScheduleEmailReports_By_PkArgs = {
|
|
1851
|
+
_set?: InputMaybe<ScheduleEmailReports_Set_Input>;
|
|
1852
|
+
pk_columns: ScheduleEmailReports_Pk_Columns_Input;
|
|
1853
|
+
};
|
|
1721
1854
|
/** column ordering options */
|
|
1722
1855
|
export declare enum Order_By {
|
|
1723
1856
|
/** in ascending order, nulls last */
|
|
@@ -1786,6 +1919,18 @@ export declare type Query_Root = {
|
|
|
1786
1919
|
guestTokens: Array<GuestTokens>;
|
|
1787
1920
|
/** fetch data from the table: "guestTokens" using primary key columns */
|
|
1788
1921
|
guestTokens_by_pk?: Maybe<GuestTokens>;
|
|
1922
|
+
/** An array relationship */
|
|
1923
|
+
scheduleEmailReportCharts: Array<ScheduleEmailReportCharts>;
|
|
1924
|
+
/** fetch data from the table: "scheduleEmailReportCharts" using primary key columns */
|
|
1925
|
+
scheduleEmailReportCharts_by_pk?: Maybe<ScheduleEmailReportCharts>;
|
|
1926
|
+
/** An array relationship */
|
|
1927
|
+
scheduleEmailReports: Array<ScheduleEmailReports>;
|
|
1928
|
+
/** fetch data from the table: "scheduleEmailReports" using primary key columns */
|
|
1929
|
+
scheduleEmailReports_by_pk?: Maybe<ScheduleEmailReports>;
|
|
1930
|
+
/** fetch data from the table: "sharingSettings" */
|
|
1931
|
+
sharingSettings: Array<SharingSettings>;
|
|
1932
|
+
/** fetch data from the table: "sharingSettings" using primary key columns */
|
|
1933
|
+
sharingSettings_by_pk?: Maybe<SharingSettings>;
|
|
1789
1934
|
/** fetch data from the table: "themes" */
|
|
1790
1935
|
themes: Array<Themes>;
|
|
1791
1936
|
/** fetch data from the table: "themes" using primary key columns */
|
|
@@ -1925,6 +2070,36 @@ export declare type Query_RootGuestTokensArgs = {
|
|
|
1925
2070
|
export declare type Query_RootGuestTokens_By_PkArgs = {
|
|
1926
2071
|
id: Scalars['uuid'];
|
|
1927
2072
|
};
|
|
2073
|
+
export declare type Query_RootScheduleEmailReportChartsArgs = {
|
|
2074
|
+
distinct_on?: InputMaybe<Array<ScheduleEmailReportCharts_Select_Column>>;
|
|
2075
|
+
limit?: InputMaybe<Scalars['Int']>;
|
|
2076
|
+
offset?: InputMaybe<Scalars['Int']>;
|
|
2077
|
+
order_by?: InputMaybe<Array<ScheduleEmailReportCharts_Order_By>>;
|
|
2078
|
+
where?: InputMaybe<ScheduleEmailReportCharts_Bool_Exp>;
|
|
2079
|
+
};
|
|
2080
|
+
export declare type Query_RootScheduleEmailReportCharts_By_PkArgs = {
|
|
2081
|
+
id: Scalars['uuid'];
|
|
2082
|
+
};
|
|
2083
|
+
export declare type Query_RootScheduleEmailReportsArgs = {
|
|
2084
|
+
distinct_on?: InputMaybe<Array<ScheduleEmailReports_Select_Column>>;
|
|
2085
|
+
limit?: InputMaybe<Scalars['Int']>;
|
|
2086
|
+
offset?: InputMaybe<Scalars['Int']>;
|
|
2087
|
+
order_by?: InputMaybe<Array<ScheduleEmailReports_Order_By>>;
|
|
2088
|
+
where?: InputMaybe<ScheduleEmailReports_Bool_Exp>;
|
|
2089
|
+
};
|
|
2090
|
+
export declare type Query_RootScheduleEmailReports_By_PkArgs = {
|
|
2091
|
+
id: Scalars['uuid'];
|
|
2092
|
+
};
|
|
2093
|
+
export declare type Query_RootSharingSettingsArgs = {
|
|
2094
|
+
distinct_on?: InputMaybe<Array<SharingSettings_Select_Column>>;
|
|
2095
|
+
limit?: InputMaybe<Scalars['Int']>;
|
|
2096
|
+
offset?: InputMaybe<Scalars['Int']>;
|
|
2097
|
+
order_by?: InputMaybe<Array<SharingSettings_Order_By>>;
|
|
2098
|
+
where?: InputMaybe<SharingSettings_Bool_Exp>;
|
|
2099
|
+
};
|
|
2100
|
+
export declare type Query_RootSharingSettings_By_PkArgs = {
|
|
2101
|
+
id: Scalars['uuid'];
|
|
2102
|
+
};
|
|
1928
2103
|
export declare type Query_RootThemesArgs = {
|
|
1929
2104
|
distinct_on?: InputMaybe<Array<Themes_Select_Column>>;
|
|
1930
2105
|
limit?: InputMaybe<Scalars['Int']>;
|
|
@@ -1935,6 +2110,338 @@ export declare type Query_RootThemesArgs = {
|
|
|
1935
2110
|
export declare type Query_RootThemes_By_PkArgs = {
|
|
1936
2111
|
id: Scalars['uuid'];
|
|
1937
2112
|
};
|
|
2113
|
+
/** columns and relationships of "scheduleEmailReportCharts" */
|
|
2114
|
+
export declare type ScheduleEmailReportCharts = {
|
|
2115
|
+
__typename?: 'scheduleEmailReportCharts';
|
|
2116
|
+
/** An object relationship */
|
|
2117
|
+
externalMetric: ExternalMetrics;
|
|
2118
|
+
externalMetricId: Scalars['uuid'];
|
|
2119
|
+
id: Scalars['uuid'];
|
|
2120
|
+
/** An object relationship */
|
|
2121
|
+
scheduleEmailReport: ScheduleEmailReports;
|
|
2122
|
+
scheduleEmailReportId: Scalars['uuid'];
|
|
2123
|
+
};
|
|
2124
|
+
/** order by aggregate values of table "scheduleEmailReportCharts" */
|
|
2125
|
+
export declare type ScheduleEmailReportCharts_Aggregate_Order_By = {
|
|
2126
|
+
count?: InputMaybe<Order_By>;
|
|
2127
|
+
max?: InputMaybe<ScheduleEmailReportCharts_Max_Order_By>;
|
|
2128
|
+
min?: InputMaybe<ScheduleEmailReportCharts_Min_Order_By>;
|
|
2129
|
+
};
|
|
2130
|
+
/** input type for inserting array relation for remote table "scheduleEmailReportCharts" */
|
|
2131
|
+
export declare type ScheduleEmailReportCharts_Arr_Rel_Insert_Input = {
|
|
2132
|
+
data: Array<ScheduleEmailReportCharts_Insert_Input>;
|
|
2133
|
+
/** upsert condition */
|
|
2134
|
+
on_conflict?: InputMaybe<ScheduleEmailReportCharts_On_Conflict>;
|
|
2135
|
+
};
|
|
2136
|
+
/** Boolean expression to filter rows from the table "scheduleEmailReportCharts". All fields are combined with a logical 'AND'. */
|
|
2137
|
+
export declare type ScheduleEmailReportCharts_Bool_Exp = {
|
|
2138
|
+
_and?: InputMaybe<Array<ScheduleEmailReportCharts_Bool_Exp>>;
|
|
2139
|
+
_not?: InputMaybe<ScheduleEmailReportCharts_Bool_Exp>;
|
|
2140
|
+
_or?: InputMaybe<Array<ScheduleEmailReportCharts_Bool_Exp>>;
|
|
2141
|
+
externalMetric?: InputMaybe<ExternalMetrics_Bool_Exp>;
|
|
2142
|
+
externalMetricId?: InputMaybe<Uuid_Comparison_Exp>;
|
|
2143
|
+
id?: InputMaybe<Uuid_Comparison_Exp>;
|
|
2144
|
+
scheduleEmailReport?: InputMaybe<ScheduleEmailReports_Bool_Exp>;
|
|
2145
|
+
scheduleEmailReportId?: InputMaybe<Uuid_Comparison_Exp>;
|
|
2146
|
+
};
|
|
2147
|
+
/** unique or primary key constraints on table "scheduleEmailReportCharts" */
|
|
2148
|
+
export declare enum ScheduleEmailReportCharts_Constraint {
|
|
2149
|
+
/** unique or primary key constraint on columns "id" */
|
|
2150
|
+
ScheduleEmailReportChartsPkey = "scheduleEmailReportCharts_pkey"
|
|
2151
|
+
}
|
|
2152
|
+
/** input type for inserting data into table "scheduleEmailReportCharts" */
|
|
2153
|
+
export declare type ScheduleEmailReportCharts_Insert_Input = {
|
|
2154
|
+
externalMetric?: InputMaybe<ExternalMetrics_Obj_Rel_Insert_Input>;
|
|
2155
|
+
externalMetricId?: InputMaybe<Scalars['uuid']>;
|
|
2156
|
+
id?: InputMaybe<Scalars['uuid']>;
|
|
2157
|
+
scheduleEmailReport?: InputMaybe<ScheduleEmailReports_Obj_Rel_Insert_Input>;
|
|
2158
|
+
scheduleEmailReportId?: InputMaybe<Scalars['uuid']>;
|
|
2159
|
+
};
|
|
2160
|
+
/** order by max() on columns of table "scheduleEmailReportCharts" */
|
|
2161
|
+
export declare type ScheduleEmailReportCharts_Max_Order_By = {
|
|
2162
|
+
externalMetricId?: InputMaybe<Order_By>;
|
|
2163
|
+
id?: InputMaybe<Order_By>;
|
|
2164
|
+
scheduleEmailReportId?: InputMaybe<Order_By>;
|
|
2165
|
+
};
|
|
2166
|
+
/** order by min() on columns of table "scheduleEmailReportCharts" */
|
|
2167
|
+
export declare type ScheduleEmailReportCharts_Min_Order_By = {
|
|
2168
|
+
externalMetricId?: InputMaybe<Order_By>;
|
|
2169
|
+
id?: InputMaybe<Order_By>;
|
|
2170
|
+
scheduleEmailReportId?: InputMaybe<Order_By>;
|
|
2171
|
+
};
|
|
2172
|
+
/** response of any mutation on the table "scheduleEmailReportCharts" */
|
|
2173
|
+
export declare type ScheduleEmailReportCharts_Mutation_Response = {
|
|
2174
|
+
__typename?: 'scheduleEmailReportCharts_mutation_response';
|
|
2175
|
+
/** number of rows affected by the mutation */
|
|
2176
|
+
affected_rows: Scalars['Int'];
|
|
2177
|
+
/** data from the rows affected by the mutation */
|
|
2178
|
+
returning: Array<ScheduleEmailReportCharts>;
|
|
2179
|
+
};
|
|
2180
|
+
/** on_conflict condition type for table "scheduleEmailReportCharts" */
|
|
2181
|
+
export declare type ScheduleEmailReportCharts_On_Conflict = {
|
|
2182
|
+
constraint: ScheduleEmailReportCharts_Constraint;
|
|
2183
|
+
update_columns?: Array<ScheduleEmailReportCharts_Update_Column>;
|
|
2184
|
+
where?: InputMaybe<ScheduleEmailReportCharts_Bool_Exp>;
|
|
2185
|
+
};
|
|
2186
|
+
/** Ordering options when selecting data from "scheduleEmailReportCharts". */
|
|
2187
|
+
export declare type ScheduleEmailReportCharts_Order_By = {
|
|
2188
|
+
externalMetric?: InputMaybe<ExternalMetrics_Order_By>;
|
|
2189
|
+
externalMetricId?: InputMaybe<Order_By>;
|
|
2190
|
+
id?: InputMaybe<Order_By>;
|
|
2191
|
+
scheduleEmailReport?: InputMaybe<ScheduleEmailReports_Order_By>;
|
|
2192
|
+
scheduleEmailReportId?: InputMaybe<Order_By>;
|
|
2193
|
+
};
|
|
2194
|
+
/** primary key columns input for table: scheduleEmailReportCharts */
|
|
2195
|
+
export declare type ScheduleEmailReportCharts_Pk_Columns_Input = {
|
|
2196
|
+
id: Scalars['uuid'];
|
|
2197
|
+
};
|
|
2198
|
+
/** select columns of table "scheduleEmailReportCharts" */
|
|
2199
|
+
export declare enum ScheduleEmailReportCharts_Select_Column {
|
|
2200
|
+
/** column name */
|
|
2201
|
+
ExternalMetricId = "externalMetricId",
|
|
2202
|
+
/** column name */
|
|
2203
|
+
Id = "id",
|
|
2204
|
+
/** column name */
|
|
2205
|
+
ScheduleEmailReportId = "scheduleEmailReportId"
|
|
2206
|
+
}
|
|
2207
|
+
/** input type for updating data in table "scheduleEmailReportCharts" */
|
|
2208
|
+
export declare type ScheduleEmailReportCharts_Set_Input = {
|
|
2209
|
+
externalMetricId?: InputMaybe<Scalars['uuid']>;
|
|
2210
|
+
id?: InputMaybe<Scalars['uuid']>;
|
|
2211
|
+
scheduleEmailReportId?: InputMaybe<Scalars['uuid']>;
|
|
2212
|
+
};
|
|
2213
|
+
/** update columns of table "scheduleEmailReportCharts" */
|
|
2214
|
+
export declare enum ScheduleEmailReportCharts_Update_Column {
|
|
2215
|
+
/** column name */
|
|
2216
|
+
ExternalMetricId = "externalMetricId",
|
|
2217
|
+
/** column name */
|
|
2218
|
+
Id = "id",
|
|
2219
|
+
/** column name */
|
|
2220
|
+
ScheduleEmailReportId = "scheduleEmailReportId"
|
|
2221
|
+
}
|
|
2222
|
+
/** columns and relationships of "scheduleEmailReports" */
|
|
2223
|
+
export declare type ScheduleEmailReports = {
|
|
2224
|
+
__typename?: 'scheduleEmailReports';
|
|
2225
|
+
emails: Scalars['json'];
|
|
2226
|
+
/** An object relationship */
|
|
2227
|
+
externalDashboard: ExternalDashboards;
|
|
2228
|
+
externalDashboardId: Scalars['uuid'];
|
|
2229
|
+
guestToken: Scalars['uuid'];
|
|
2230
|
+
/** An object relationship */
|
|
2231
|
+
guestTokenByGuesttoken: GuestTokens;
|
|
2232
|
+
id: Scalars['uuid'];
|
|
2233
|
+
nextScheduledAt: Scalars['String'];
|
|
2234
|
+
/** An array relationship */
|
|
2235
|
+
scheduleEmailReportCharts: Array<ScheduleEmailReportCharts>;
|
|
2236
|
+
/** An object relationship */
|
|
2237
|
+
sharingSetting: SharingSettings;
|
|
2238
|
+
sharingSettingsId: Scalars['uuid'];
|
|
2239
|
+
subject: Scalars['String'];
|
|
2240
|
+
timeConfigurations: Scalars['json'];
|
|
2241
|
+
};
|
|
2242
|
+
/** columns and relationships of "scheduleEmailReports" */
|
|
2243
|
+
export declare type ScheduleEmailReportsEmailsArgs = {
|
|
2244
|
+
path?: InputMaybe<Scalars['String']>;
|
|
2245
|
+
};
|
|
2246
|
+
/** columns and relationships of "scheduleEmailReports" */
|
|
2247
|
+
export declare type ScheduleEmailReportsScheduleEmailReportChartsArgs = {
|
|
2248
|
+
distinct_on?: InputMaybe<Array<ScheduleEmailReportCharts_Select_Column>>;
|
|
2249
|
+
limit?: InputMaybe<Scalars['Int']>;
|
|
2250
|
+
offset?: InputMaybe<Scalars['Int']>;
|
|
2251
|
+
order_by?: InputMaybe<Array<ScheduleEmailReportCharts_Order_By>>;
|
|
2252
|
+
where?: InputMaybe<ScheduleEmailReportCharts_Bool_Exp>;
|
|
2253
|
+
};
|
|
2254
|
+
/** columns and relationships of "scheduleEmailReports" */
|
|
2255
|
+
export declare type ScheduleEmailReportsTimeConfigurationsArgs = {
|
|
2256
|
+
path?: InputMaybe<Scalars['String']>;
|
|
2257
|
+
};
|
|
2258
|
+
/** order by aggregate values of table "scheduleEmailReports" */
|
|
2259
|
+
export declare type ScheduleEmailReports_Aggregate_Order_By = {
|
|
2260
|
+
count?: InputMaybe<Order_By>;
|
|
2261
|
+
max?: InputMaybe<ScheduleEmailReports_Max_Order_By>;
|
|
2262
|
+
min?: InputMaybe<ScheduleEmailReports_Min_Order_By>;
|
|
2263
|
+
};
|
|
2264
|
+
/** Boolean expression to filter rows from the table "scheduleEmailReports". All fields are combined with a logical 'AND'. */
|
|
2265
|
+
export declare type ScheduleEmailReports_Bool_Exp = {
|
|
2266
|
+
_and?: InputMaybe<Array<ScheduleEmailReports_Bool_Exp>>;
|
|
2267
|
+
_not?: InputMaybe<ScheduleEmailReports_Bool_Exp>;
|
|
2268
|
+
_or?: InputMaybe<Array<ScheduleEmailReports_Bool_Exp>>;
|
|
2269
|
+
emails?: InputMaybe<Json_Comparison_Exp>;
|
|
2270
|
+
externalDashboard?: InputMaybe<ExternalDashboards_Bool_Exp>;
|
|
2271
|
+
externalDashboardId?: InputMaybe<Uuid_Comparison_Exp>;
|
|
2272
|
+
guestToken?: InputMaybe<Uuid_Comparison_Exp>;
|
|
2273
|
+
guestTokenByGuesttoken?: InputMaybe<GuestTokens_Bool_Exp>;
|
|
2274
|
+
id?: InputMaybe<Uuid_Comparison_Exp>;
|
|
2275
|
+
nextScheduledAt?: InputMaybe<String_Comparison_Exp>;
|
|
2276
|
+
scheduleEmailReportCharts?: InputMaybe<ScheduleEmailReportCharts_Bool_Exp>;
|
|
2277
|
+
sharingSetting?: InputMaybe<SharingSettings_Bool_Exp>;
|
|
2278
|
+
sharingSettingsId?: InputMaybe<Uuid_Comparison_Exp>;
|
|
2279
|
+
subject?: InputMaybe<String_Comparison_Exp>;
|
|
2280
|
+
timeConfigurations?: InputMaybe<Json_Comparison_Exp>;
|
|
2281
|
+
};
|
|
2282
|
+
/** unique or primary key constraints on table "scheduleEmailReports" */
|
|
2283
|
+
export declare enum ScheduleEmailReports_Constraint {
|
|
2284
|
+
/** unique or primary key constraint on columns "guestToken" */
|
|
2285
|
+
ScheduleEmailReportsGuestTokenKey = "scheduleEmailReports_guestToken_key",
|
|
2286
|
+
/** unique or primary key constraint on columns "id" */
|
|
2287
|
+
ScheduleEmailReportsPkey = "scheduleEmailReports_pkey"
|
|
2288
|
+
}
|
|
2289
|
+
/** input type for inserting data into table "scheduleEmailReports" */
|
|
2290
|
+
export declare type ScheduleEmailReports_Insert_Input = {
|
|
2291
|
+
emails?: InputMaybe<Scalars['json']>;
|
|
2292
|
+
externalDashboardId?: InputMaybe<Scalars['uuid']>;
|
|
2293
|
+
guestToken?: InputMaybe<Scalars['uuid']>;
|
|
2294
|
+
id?: InputMaybe<Scalars['uuid']>;
|
|
2295
|
+
nextScheduledAt?: InputMaybe<Scalars['String']>;
|
|
2296
|
+
scheduleEmailReportCharts?: InputMaybe<ScheduleEmailReportCharts_Arr_Rel_Insert_Input>;
|
|
2297
|
+
sharingSettingsId?: InputMaybe<Scalars['uuid']>;
|
|
2298
|
+
subject?: InputMaybe<Scalars['String']>;
|
|
2299
|
+
timeConfigurations?: InputMaybe<Scalars['json']>;
|
|
2300
|
+
};
|
|
2301
|
+
/** order by max() on columns of table "scheduleEmailReports" */
|
|
2302
|
+
export declare type ScheduleEmailReports_Max_Order_By = {
|
|
2303
|
+
externalDashboardId?: InputMaybe<Order_By>;
|
|
2304
|
+
guestToken?: InputMaybe<Order_By>;
|
|
2305
|
+
id?: InputMaybe<Order_By>;
|
|
2306
|
+
nextScheduledAt?: InputMaybe<Order_By>;
|
|
2307
|
+
sharingSettingsId?: InputMaybe<Order_By>;
|
|
2308
|
+
subject?: InputMaybe<Order_By>;
|
|
2309
|
+
};
|
|
2310
|
+
/** order by min() on columns of table "scheduleEmailReports" */
|
|
2311
|
+
export declare type ScheduleEmailReports_Min_Order_By = {
|
|
2312
|
+
externalDashboardId?: InputMaybe<Order_By>;
|
|
2313
|
+
guestToken?: InputMaybe<Order_By>;
|
|
2314
|
+
id?: InputMaybe<Order_By>;
|
|
2315
|
+
nextScheduledAt?: InputMaybe<Order_By>;
|
|
2316
|
+
sharingSettingsId?: InputMaybe<Order_By>;
|
|
2317
|
+
subject?: InputMaybe<Order_By>;
|
|
2318
|
+
};
|
|
2319
|
+
/** response of any mutation on the table "scheduleEmailReports" */
|
|
2320
|
+
export declare type ScheduleEmailReports_Mutation_Response = {
|
|
2321
|
+
__typename?: 'scheduleEmailReports_mutation_response';
|
|
2322
|
+
/** number of rows affected by the mutation */
|
|
2323
|
+
affected_rows: Scalars['Int'];
|
|
2324
|
+
/** data from the rows affected by the mutation */
|
|
2325
|
+
returning: Array<ScheduleEmailReports>;
|
|
2326
|
+
};
|
|
2327
|
+
/** input type for inserting object relation for remote table "scheduleEmailReports" */
|
|
2328
|
+
export declare type ScheduleEmailReports_Obj_Rel_Insert_Input = {
|
|
2329
|
+
data: ScheduleEmailReports_Insert_Input;
|
|
2330
|
+
/** upsert condition */
|
|
2331
|
+
on_conflict?: InputMaybe<ScheduleEmailReports_On_Conflict>;
|
|
2332
|
+
};
|
|
2333
|
+
/** on_conflict condition type for table "scheduleEmailReports" */
|
|
2334
|
+
export declare type ScheduleEmailReports_On_Conflict = {
|
|
2335
|
+
constraint: ScheduleEmailReports_Constraint;
|
|
2336
|
+
update_columns?: Array<ScheduleEmailReports_Update_Column>;
|
|
2337
|
+
where?: InputMaybe<ScheduleEmailReports_Bool_Exp>;
|
|
2338
|
+
};
|
|
2339
|
+
/** Ordering options when selecting data from "scheduleEmailReports". */
|
|
2340
|
+
export declare type ScheduleEmailReports_Order_By = {
|
|
2341
|
+
emails?: InputMaybe<Order_By>;
|
|
2342
|
+
externalDashboard?: InputMaybe<ExternalDashboards_Order_By>;
|
|
2343
|
+
externalDashboardId?: InputMaybe<Order_By>;
|
|
2344
|
+
guestToken?: InputMaybe<Order_By>;
|
|
2345
|
+
guestTokenByGuesttoken?: InputMaybe<GuestTokens_Order_By>;
|
|
2346
|
+
id?: InputMaybe<Order_By>;
|
|
2347
|
+
nextScheduledAt?: InputMaybe<Order_By>;
|
|
2348
|
+
scheduleEmailReportCharts_aggregate?: InputMaybe<ScheduleEmailReportCharts_Aggregate_Order_By>;
|
|
2349
|
+
sharingSetting?: InputMaybe<SharingSettings_Order_By>;
|
|
2350
|
+
sharingSettingsId?: InputMaybe<Order_By>;
|
|
2351
|
+
subject?: InputMaybe<Order_By>;
|
|
2352
|
+
timeConfigurations?: InputMaybe<Order_By>;
|
|
2353
|
+
};
|
|
2354
|
+
/** primary key columns input for table: scheduleEmailReports */
|
|
2355
|
+
export declare type ScheduleEmailReports_Pk_Columns_Input = {
|
|
2356
|
+
id: Scalars['uuid'];
|
|
2357
|
+
};
|
|
2358
|
+
/** select columns of table "scheduleEmailReports" */
|
|
2359
|
+
export declare enum ScheduleEmailReports_Select_Column {
|
|
2360
|
+
/** column name */
|
|
2361
|
+
Emails = "emails",
|
|
2362
|
+
/** column name */
|
|
2363
|
+
ExternalDashboardId = "externalDashboardId",
|
|
2364
|
+
/** column name */
|
|
2365
|
+
GuestToken = "guestToken",
|
|
2366
|
+
/** column name */
|
|
2367
|
+
Id = "id",
|
|
2368
|
+
/** column name */
|
|
2369
|
+
NextScheduledAt = "nextScheduledAt",
|
|
2370
|
+
/** column name */
|
|
2371
|
+
SharingSettingsId = "sharingSettingsId",
|
|
2372
|
+
/** column name */
|
|
2373
|
+
Subject = "subject",
|
|
2374
|
+
/** column name */
|
|
2375
|
+
TimeConfigurations = "timeConfigurations"
|
|
2376
|
+
}
|
|
2377
|
+
/** input type for updating data in table "scheduleEmailReports" */
|
|
2378
|
+
export declare type ScheduleEmailReports_Set_Input = {
|
|
2379
|
+
emails?: InputMaybe<Scalars['json']>;
|
|
2380
|
+
externalDashboardId?: InputMaybe<Scalars['uuid']>;
|
|
2381
|
+
guestToken?: InputMaybe<Scalars['uuid']>;
|
|
2382
|
+
id?: InputMaybe<Scalars['uuid']>;
|
|
2383
|
+
nextScheduledAt?: InputMaybe<Scalars['String']>;
|
|
2384
|
+
sharingSettingsId?: InputMaybe<Scalars['uuid']>;
|
|
2385
|
+
subject?: InputMaybe<Scalars['String']>;
|
|
2386
|
+
timeConfigurations?: InputMaybe<Scalars['json']>;
|
|
2387
|
+
};
|
|
2388
|
+
/** update columns of table "scheduleEmailReports" */
|
|
2389
|
+
export declare enum ScheduleEmailReports_Update_Column {
|
|
2390
|
+
/** column name */
|
|
2391
|
+
Emails = "emails",
|
|
2392
|
+
/** column name */
|
|
2393
|
+
ExternalDashboardId = "externalDashboardId",
|
|
2394
|
+
/** column name */
|
|
2395
|
+
GuestToken = "guestToken",
|
|
2396
|
+
/** column name */
|
|
2397
|
+
Id = "id",
|
|
2398
|
+
/** column name */
|
|
2399
|
+
NextScheduledAt = "nextScheduledAt",
|
|
2400
|
+
/** column name */
|
|
2401
|
+
SharingSettingsId = "sharingSettingsId",
|
|
2402
|
+
/** column name */
|
|
2403
|
+
Subject = "subject",
|
|
2404
|
+
/** column name */
|
|
2405
|
+
TimeConfigurations = "timeConfigurations"
|
|
2406
|
+
}
|
|
2407
|
+
/** columns and relationships of "sharingSettings" */
|
|
2408
|
+
export declare type SharingSettings = {
|
|
2409
|
+
__typename?: 'sharingSettings';
|
|
2410
|
+
companyId: Scalars['uuid'];
|
|
2411
|
+
id: Scalars['uuid'];
|
|
2412
|
+
/** An array relationship */
|
|
2413
|
+
scheduleEmailReports: Array<ScheduleEmailReports>;
|
|
2414
|
+
};
|
|
2415
|
+
/** columns and relationships of "sharingSettings" */
|
|
2416
|
+
export declare type SharingSettingsScheduleEmailReportsArgs = {
|
|
2417
|
+
distinct_on?: InputMaybe<Array<ScheduleEmailReports_Select_Column>>;
|
|
2418
|
+
limit?: InputMaybe<Scalars['Int']>;
|
|
2419
|
+
offset?: InputMaybe<Scalars['Int']>;
|
|
2420
|
+
order_by?: InputMaybe<Array<ScheduleEmailReports_Order_By>>;
|
|
2421
|
+
where?: InputMaybe<ScheduleEmailReports_Bool_Exp>;
|
|
2422
|
+
};
|
|
2423
|
+
/** Boolean expression to filter rows from the table "sharingSettings". All fields are combined with a logical 'AND'. */
|
|
2424
|
+
export declare type SharingSettings_Bool_Exp = {
|
|
2425
|
+
_and?: InputMaybe<Array<SharingSettings_Bool_Exp>>;
|
|
2426
|
+
_not?: InputMaybe<SharingSettings_Bool_Exp>;
|
|
2427
|
+
_or?: InputMaybe<Array<SharingSettings_Bool_Exp>>;
|
|
2428
|
+
companyId?: InputMaybe<Uuid_Comparison_Exp>;
|
|
2429
|
+
id?: InputMaybe<Uuid_Comparison_Exp>;
|
|
2430
|
+
scheduleEmailReports?: InputMaybe<ScheduleEmailReports_Bool_Exp>;
|
|
2431
|
+
};
|
|
2432
|
+
/** Ordering options when selecting data from "sharingSettings". */
|
|
2433
|
+
export declare type SharingSettings_Order_By = {
|
|
2434
|
+
companyId?: InputMaybe<Order_By>;
|
|
2435
|
+
id?: InputMaybe<Order_By>;
|
|
2436
|
+
scheduleEmailReports_aggregate?: InputMaybe<ScheduleEmailReports_Aggregate_Order_By>;
|
|
2437
|
+
};
|
|
2438
|
+
/** select columns of table "sharingSettings" */
|
|
2439
|
+
export declare enum SharingSettings_Select_Column {
|
|
2440
|
+
/** column name */
|
|
2441
|
+
CompanyId = "companyId",
|
|
2442
|
+
/** column name */
|
|
2443
|
+
Id = "id"
|
|
2444
|
+
}
|
|
1938
2445
|
export declare type Subscription_Root = {
|
|
1939
2446
|
__typename?: 'subscription_root';
|
|
1940
2447
|
/** fetch data from the table: "clientDashboardLayout" */
|
|
@@ -1987,6 +2494,18 @@ export declare type Subscription_Root = {
|
|
|
1987
2494
|
guestTokens: Array<GuestTokens>;
|
|
1988
2495
|
/** fetch data from the table: "guestTokens" using primary key columns */
|
|
1989
2496
|
guestTokens_by_pk?: Maybe<GuestTokens>;
|
|
2497
|
+
/** An array relationship */
|
|
2498
|
+
scheduleEmailReportCharts: Array<ScheduleEmailReportCharts>;
|
|
2499
|
+
/** fetch data from the table: "scheduleEmailReportCharts" using primary key columns */
|
|
2500
|
+
scheduleEmailReportCharts_by_pk?: Maybe<ScheduleEmailReportCharts>;
|
|
2501
|
+
/** An array relationship */
|
|
2502
|
+
scheduleEmailReports: Array<ScheduleEmailReports>;
|
|
2503
|
+
/** fetch data from the table: "scheduleEmailReports" using primary key columns */
|
|
2504
|
+
scheduleEmailReports_by_pk?: Maybe<ScheduleEmailReports>;
|
|
2505
|
+
/** fetch data from the table: "sharingSettings" */
|
|
2506
|
+
sharingSettings: Array<SharingSettings>;
|
|
2507
|
+
/** fetch data from the table: "sharingSettings" using primary key columns */
|
|
2508
|
+
sharingSettings_by_pk?: Maybe<SharingSettings>;
|
|
1990
2509
|
/** fetch data from the table: "themes" */
|
|
1991
2510
|
themes: Array<Themes>;
|
|
1992
2511
|
/** fetch data from the table: "themes" using primary key columns */
|
|
@@ -2123,6 +2642,36 @@ export declare type Subscription_RootGuestTokensArgs = {
|
|
|
2123
2642
|
export declare type Subscription_RootGuestTokens_By_PkArgs = {
|
|
2124
2643
|
id: Scalars['uuid'];
|
|
2125
2644
|
};
|
|
2645
|
+
export declare type Subscription_RootScheduleEmailReportChartsArgs = {
|
|
2646
|
+
distinct_on?: InputMaybe<Array<ScheduleEmailReportCharts_Select_Column>>;
|
|
2647
|
+
limit?: InputMaybe<Scalars['Int']>;
|
|
2648
|
+
offset?: InputMaybe<Scalars['Int']>;
|
|
2649
|
+
order_by?: InputMaybe<Array<ScheduleEmailReportCharts_Order_By>>;
|
|
2650
|
+
where?: InputMaybe<ScheduleEmailReportCharts_Bool_Exp>;
|
|
2651
|
+
};
|
|
2652
|
+
export declare type Subscription_RootScheduleEmailReportCharts_By_PkArgs = {
|
|
2653
|
+
id: Scalars['uuid'];
|
|
2654
|
+
};
|
|
2655
|
+
export declare type Subscription_RootScheduleEmailReportsArgs = {
|
|
2656
|
+
distinct_on?: InputMaybe<Array<ScheduleEmailReports_Select_Column>>;
|
|
2657
|
+
limit?: InputMaybe<Scalars['Int']>;
|
|
2658
|
+
offset?: InputMaybe<Scalars['Int']>;
|
|
2659
|
+
order_by?: InputMaybe<Array<ScheduleEmailReports_Order_By>>;
|
|
2660
|
+
where?: InputMaybe<ScheduleEmailReports_Bool_Exp>;
|
|
2661
|
+
};
|
|
2662
|
+
export declare type Subscription_RootScheduleEmailReports_By_PkArgs = {
|
|
2663
|
+
id: Scalars['uuid'];
|
|
2664
|
+
};
|
|
2665
|
+
export declare type Subscription_RootSharingSettingsArgs = {
|
|
2666
|
+
distinct_on?: InputMaybe<Array<SharingSettings_Select_Column>>;
|
|
2667
|
+
limit?: InputMaybe<Scalars['Int']>;
|
|
2668
|
+
offset?: InputMaybe<Scalars['Int']>;
|
|
2669
|
+
order_by?: InputMaybe<Array<SharingSettings_Order_By>>;
|
|
2670
|
+
where?: InputMaybe<SharingSettings_Bool_Exp>;
|
|
2671
|
+
};
|
|
2672
|
+
export declare type Subscription_RootSharingSettings_By_PkArgs = {
|
|
2673
|
+
id: Scalars['uuid'];
|
|
2674
|
+
};
|
|
2126
2675
|
export declare type Subscription_RootThemesArgs = {
|
|
2127
2676
|
distinct_on?: InputMaybe<Array<Themes_Select_Column>>;
|
|
2128
2677
|
limit?: InputMaybe<Scalars['Int']>;
|
|
@@ -2314,18 +2863,6 @@ export declare type GenerateEmbeddedMeticMutation = {
|
|
|
2314
2863
|
} | null;
|
|
2315
2864
|
} | null;
|
|
2316
2865
|
};
|
|
2317
|
-
export declare type GetClientDashboardLayoutQueryVariables = Exact<{
|
|
2318
|
-
clientId: Scalars['String'];
|
|
2319
|
-
externalDashboardId: Scalars['uuid'];
|
|
2320
|
-
}>;
|
|
2321
|
-
export declare type GetClientDashboardLayoutQuery = {
|
|
2322
|
-
__typename?: 'query_root';
|
|
2323
|
-
clientDashboardMetrics_by_pk?: {
|
|
2324
|
-
__typename?: 'clientDashboardMetrics';
|
|
2325
|
-
clientId: string;
|
|
2326
|
-
externalDashboardId: any;
|
|
2327
|
-
} | null;
|
|
2328
|
-
};
|
|
2329
2866
|
export declare type CompanyIntegrationQueryVariables = Exact<{
|
|
2330
2867
|
externalDashboardId?: InputMaybe<Scalars['uuid']>;
|
|
2331
2868
|
}>;
|
|
@@ -2396,7 +2933,6 @@ export declare type EmbeddedDashboardMetricsQuery = {
|
|
|
2396
2933
|
name: string;
|
|
2397
2934
|
outputColumns?: string | null;
|
|
2398
2935
|
query: string;
|
|
2399
|
-
resizeAttributes: any;
|
|
2400
2936
|
timeGrain?: string | null;
|
|
2401
2937
|
updatedAt: any;
|
|
2402
2938
|
selectedGroupBy: any;
|
|
@@ -2448,6 +2984,7 @@ export declare type GetExternalDashboardLayoutQuery = {
|
|
|
2448
2984
|
clientId: string;
|
|
2449
2985
|
externalDashboardId: any;
|
|
2450
2986
|
layout: any;
|
|
2987
|
+
isLocked: boolean;
|
|
2451
2988
|
} | null;
|
|
2452
2989
|
};
|
|
2453
2990
|
export declare type ExternalDashboardListQueryVariables = Exact<{
|
|
@@ -2484,6 +3021,8 @@ export declare type MetricAccessQuery = {
|
|
|
2484
3021
|
__typename?: 'companySubsetTables';
|
|
2485
3022
|
isAllowMetricCreation: boolean;
|
|
2486
3023
|
isAllowMetricDeletion: boolean;
|
|
3024
|
+
isAllowMetricUpdation: boolean;
|
|
3025
|
+
isAllowChangeLayout: boolean;
|
|
2487
3026
|
}>;
|
|
2488
3027
|
};
|
|
2489
3028
|
export declare type GetThemesQueryVariables = Exact<{
|
|
@@ -2528,18 +3067,6 @@ export declare type MarkArchiveMetricMutation = {
|
|
|
2528
3067
|
externalMetricId: any;
|
|
2529
3068
|
} | null;
|
|
2530
3069
|
};
|
|
2531
|
-
export declare type MarkClientDashboardLayoutChangeMutationVariables = Exact<{
|
|
2532
|
-
clientId: Scalars['String'];
|
|
2533
|
-
externalDashboardId: Scalars['uuid'];
|
|
2534
|
-
}>;
|
|
2535
|
-
export declare type MarkClientDashboardLayoutChangeMutation = {
|
|
2536
|
-
__typename?: 'mutation_root';
|
|
2537
|
-
insert_clientDashboardMetrics_one?: {
|
|
2538
|
-
__typename?: 'clientDashboardMetrics';
|
|
2539
|
-
clientId: string;
|
|
2540
|
-
externalDashboardId: any;
|
|
2541
|
-
} | null;
|
|
2542
|
-
};
|
|
2543
3070
|
export declare type PreviewTableMutationVariables = Exact<{
|
|
2544
3071
|
tableName?: InputMaybe<Scalars['String']>;
|
|
2545
3072
|
limit?: InputMaybe<Scalars['Int']>;
|
|
@@ -2594,21 +3121,11 @@ export declare type RawCsvMutation = {
|
|
|
2594
3121
|
} | null;
|
|
2595
3122
|
} | null;
|
|
2596
3123
|
};
|
|
2597
|
-
export declare type ResizeExternalMetricMutationVariables = Exact<{
|
|
2598
|
-
id: Scalars['uuid'];
|
|
2599
|
-
resizeAttributes: Scalars['jsonb'];
|
|
2600
|
-
}>;
|
|
2601
|
-
export declare type ResizeExternalMetricMutation = {
|
|
2602
|
-
__typename?: 'mutation_root';
|
|
2603
|
-
update_externalMetrics_by_pk?: {
|
|
2604
|
-
__typename?: 'externalMetrics';
|
|
2605
|
-
resizeAttributes: any;
|
|
2606
|
-
} | null;
|
|
2607
|
-
};
|
|
2608
3124
|
export declare type SaveExternalDashboardLayoutMutationVariables = Exact<{
|
|
2609
3125
|
clientId: Scalars['String'];
|
|
2610
3126
|
externalDashboardId: Scalars['uuid'];
|
|
2611
3127
|
layout: Scalars['jsonb'];
|
|
3128
|
+
isLocked?: InputMaybe<Scalars['Boolean']>;
|
|
2612
3129
|
}>;
|
|
2613
3130
|
export declare type SaveExternalDashboardLayoutMutation = {
|
|
2614
3131
|
__typename?: 'mutation_root';
|
|
@@ -2617,6 +3134,7 @@ export declare type SaveExternalDashboardLayoutMutation = {
|
|
|
2617
3134
|
clientId: string;
|
|
2618
3135
|
externalDashboardId: any;
|
|
2619
3136
|
layout: any;
|
|
3137
|
+
isLocked: boolean;
|
|
2620
3138
|
} | null;
|
|
2621
3139
|
};
|
|
2622
3140
|
export declare type UpdateAdminMetricMutationVariables = Exact<{
|
|
@@ -2650,7 +3168,6 @@ export declare type UpdateAdminMetricMutation = {
|
|
|
2650
3168
|
name: string;
|
|
2651
3169
|
outputColumns?: string | null;
|
|
2652
3170
|
query: string;
|
|
2653
|
-
resizeAttributes: any;
|
|
2654
3171
|
timeGrain?: string | null;
|
|
2655
3172
|
updatedAt: any;
|
|
2656
3173
|
selectedGroupBy: any;
|
|
@@ -2753,8 +3270,6 @@ export declare const useGenerateEmbeddedMeticMutation: <TError = unknown, TConte
|
|
|
2753
3270
|
queryPrompt?: InputMaybe<string> | undefined;
|
|
2754
3271
|
timeGrain?: InputMaybe<string> | undefined;
|
|
2755
3272
|
}>, TContext>;
|
|
2756
|
-
export declare const GetClientDashboardLayoutDocument = "\n query GetClientDashboardLayout($clientId: String!, $externalDashboardId: uuid!) {\n clientDashboardMetrics_by_pk(\n clientId: $clientId\n externalDashboardId: $externalDashboardId\n ) {\n clientId\n externalDashboardId\n }\n}\n ";
|
|
2757
|
-
export declare const useGetClientDashboardLayoutQuery: <TData = GetClientDashboardLayoutQuery, TError = unknown>(variables: GetClientDashboardLayoutQueryVariables, options?: UseQueryOptions<GetClientDashboardLayoutQuery, TError, TData, import("react-query").QueryKey> | undefined) => import("react-query").UseQueryResult<TData, TError>;
|
|
2758
3273
|
export declare const CompanyIntegrationDocument = "\n query CompanyIntegration($externalDashboardId: uuid = \"\") {\n companyIntegrations(\n where: {companyWorkspace: {externalDashboards: {id: {_eq: $externalDashboardId}}}}\n ) {\n companyId\n id\n integrationId\n name\n }\n}\n ";
|
|
2759
3274
|
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>;
|
|
2760
3275
|
export declare const CompanySubsetTableDataDocument = "\n mutation CompanySubsetTableData($clientId: String = \"\", $companyId: String = \"\", $workspaceId: String = \"\") {\n companySubsetTableData(\n input: {clientId: $clientId, companyId: $companyId, workspaceId: $workspaceId}\n ) {\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 ";
|
|
@@ -2767,19 +3282,19 @@ export declare const useCompanySubsetTableDataMutation: <TError = unknown, TCont
|
|
|
2767
3282
|
companyId?: InputMaybe<string> | undefined;
|
|
2768
3283
|
workspaceId?: InputMaybe<string> | undefined;
|
|
2769
3284
|
}>, TContext>;
|
|
2770
|
-
export declare const EmbeddedDashboardMetricsDocument = "\n query EmbeddedDashboardMetrics($externalDashboardId: String! = \"\", $clientId: String! = \"\") {\n externalDashboardMetrics(\n where: {externalDashboard: {externalDashboardId: {_eq: $externalDashboardId}}, _not: {externalMetric: {clientDeletedMetrics: {clientId: {_eq: $clientId}}}}}\n ) {\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
|
|
3285
|
+
export declare const EmbeddedDashboardMetricsDocument = "\n query EmbeddedDashboardMetrics($externalDashboardId: String! = \"\", $clientId: String! = \"\") {\n externalDashboardMetrics(\n where: {externalDashboard: {externalDashboardId: {_eq: $externalDashboardId}}, _not: {externalMetric: {clientDeletedMetrics: {clientId: {_eq: $clientId}}}}}\n ) {\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 timeGrain\n updatedAt\n selectedGroupBy\n isEnableGroupBy\n groupBy\n rlsConditions\n companyIntegration {\n name\n }\n clickActions\n drillDownSettings\n }\n }\n}\n ";
|
|
2771
3286
|
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>;
|
|
2772
3287
|
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 ";
|
|
2773
3288
|
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>;
|
|
2774
3289
|
export declare const GetExternalDashboardIdDocument = "\n query GetExternalDashboardId($externalDashboardId: String = \"\") {\n externalDashboards(where: {externalDashboardId: {_eq: $externalDashboardId}}) {\n id\n filters\n }\n}\n ";
|
|
2775
3290
|
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>;
|
|
2776
|
-
export declare const GetExternalDashboardLayoutDocument = "\n query getExternalDashboardLayout($clientId: String!, $externalDashboardId: uuid!) {\n clientDashboardLayout_by_pk(\n clientId: $clientId\n externalDashboardId: $externalDashboardId\n ) {\n clientId\n externalDashboardId\n layout\n }\n}\n ";
|
|
3291
|
+
export declare const GetExternalDashboardLayoutDocument = "\n query getExternalDashboardLayout($clientId: String!, $externalDashboardId: uuid!) {\n clientDashboardLayout_by_pk(\n clientId: $clientId\n externalDashboardId: $externalDashboardId\n ) {\n clientId\n externalDashboardId\n layout\n isLocked\n }\n}\n ";
|
|
2777
3292
|
export declare const useGetExternalDashboardLayoutQuery: <TData = GetExternalDashboardLayoutQuery, TError = unknown>(variables: GetExternalDashboardLayoutQueryVariables, options?: UseQueryOptions<GetExternalDashboardLayoutQuery, TError, TData, import("react-query").QueryKey> | undefined) => import("react-query").UseQueryResult<TData, TError>;
|
|
2778
3293
|
export declare const ExternalDashboardListDocument = "\n query ExternalDashboardList($companyId: uuid = \"\") {\n externalDashboards(where: {companyId: {_eq: $companyId}}) {\n externalDashboardId\n name\n id\n }\n}\n ";
|
|
2779
3294
|
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>;
|
|
2780
3295
|
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 ";
|
|
2781
3296
|
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>;
|
|
2782
|
-
export declare const MetricAccessDocument = "\n query MetricAccess($companyId: uuid = \"\") {\n companySubsetTables(where: {companyId: {_eq: $companyId}}) {\n isAllowMetricCreation\n isAllowMetricDeletion\n }\n}\n ";
|
|
3297
|
+
export declare const MetricAccessDocument = "\n query MetricAccess($companyId: uuid = \"\") {\n companySubsetTables(where: {companyId: {_eq: $companyId}}) {\n isAllowMetricCreation\n isAllowMetricDeletion\n isAllowMetricUpdation\n isAllowChangeLayout\n }\n}\n ";
|
|
2783
3298
|
export declare const useMetricAccessQuery: <TData = MetricAccessQuery, TError = unknown>(variables?: MetricAccessQueryVariables, options?: UseQueryOptions<MetricAccessQuery, TError, TData, import("react-query").QueryKey> | undefined) => import("react-query").UseQueryResult<TData, TError>;
|
|
2784
3299
|
export declare const GetThemesDocument = "\n query GetThemes($companyId: uuid! = \"\") {\n themes(where: {companyId: {_eq: $companyId}}) {\n id\n companyId\n general\n dashboard\n cardTitle\n cardDescription\n chart\n }\n}\n ";
|
|
2785
3300
|
export declare const useGetThemesQuery: <TData = GetThemesQuery, TError = unknown>(variables?: GetThemesQueryVariables, options?: UseQueryOptions<GetThemesQuery, TError, TData, import("react-query").QueryKey> | undefined) => import("react-query").UseQueryResult<TData, TError>;
|
|
@@ -2803,14 +3318,6 @@ export declare const useMarkArchiveMetricMutation: <TError = unknown, TContext =
|
|
|
2803
3318
|
id?: Scalars['uuid'];
|
|
2804
3319
|
clientId?: string | undefined;
|
|
2805
3320
|
}>, TContext>;
|
|
2806
|
-
export declare const MarkClientDashboardLayoutChangeDocument = "\n mutation MarkClientDashboardLayoutChange($clientId: String!, $externalDashboardId: uuid!) {\n insert_clientDashboardMetrics_one(\n object: {clientId: $clientId, externalDashboardId: $externalDashboardId}\n ) {\n clientId\n externalDashboardId\n }\n}\n ";
|
|
2807
|
-
export declare const useMarkClientDashboardLayoutChangeMutation: <TError = unknown, TContext = unknown>(options?: UseMutationOptions<MarkClientDashboardLayoutChangeMutation, TError, Exact<{
|
|
2808
|
-
clientId: Scalars['String'];
|
|
2809
|
-
externalDashboardId: Scalars['uuid'];
|
|
2810
|
-
}>, TContext> | undefined) => import("react-query").UseMutationResult<MarkClientDashboardLayoutChangeMutation, TError, Exact<{
|
|
2811
|
-
clientId: Scalars['String'];
|
|
2812
|
-
externalDashboardId: Scalars['uuid'];
|
|
2813
|
-
}>, TContext>;
|
|
2814
3321
|
export declare const PreviewTableDocument = "\n mutation PreviewTable($tableName: String = \"\", $limit: Int = 10, $integrationId: String = \"\", $integrationName: String = \"\") {\n previewTable(\n input: {tableName: $tableName, limit: $limit, integrationId: $integrationId, integrationName: $integrationName}\n ) {\n data {\n data\n isError\n name\n }\n error {\n message\n }\n }\n}\n ";
|
|
2815
3322
|
export declare const usePreviewTableMutation: <TError = unknown, TContext = unknown>(options?: UseMutationOptions<PreviewTableMutation, TError, Exact<{
|
|
2816
3323
|
tableName?: InputMaybe<string> | undefined;
|
|
@@ -2835,25 +3342,19 @@ export declare const useRawCsvMutation: <TError = unknown, TContext = unknown>(o
|
|
|
2835
3342
|
recipientAddress?: InputMaybe<string> | undefined;
|
|
2836
3343
|
sqlQuery?: InputMaybe<string> | undefined;
|
|
2837
3344
|
}>, TContext>;
|
|
2838
|
-
export declare const
|
|
2839
|
-
export declare const useResizeExternalMetricMutation: <TError = unknown, TContext = unknown>(options?: UseMutationOptions<ResizeExternalMetricMutation, TError, Exact<{
|
|
2840
|
-
id: Scalars['uuid'];
|
|
2841
|
-
resizeAttributes: Scalars['jsonb'];
|
|
2842
|
-
}>, TContext> | undefined) => import("react-query").UseMutationResult<ResizeExternalMetricMutation, TError, Exact<{
|
|
2843
|
-
id: Scalars['uuid'];
|
|
2844
|
-
resizeAttributes: Scalars['jsonb'];
|
|
2845
|
-
}>, TContext>;
|
|
2846
|
-
export declare const SaveExternalDashboardLayoutDocument = "\n mutation SaveExternalDashboardLayout($clientId: String!, $externalDashboardId: uuid!, $layout: jsonb!) {\n insert_clientDashboardLayout_one(\n object: {clientId: $clientId, externalDashboardId: $externalDashboardId, layout: $layout}\n on_conflict: {constraint: clientDashboardLayout_pkey, update_columns: [layout]}\n ) {\n clientId\n externalDashboardId\n layout\n }\n}\n ";
|
|
3345
|
+
export declare const SaveExternalDashboardLayoutDocument = "\n mutation SaveExternalDashboardLayout($clientId: String!, $externalDashboardId: uuid!, $layout: jsonb!, $isLocked: Boolean) {\n insert_clientDashboardLayout_one(\n object: {clientId: $clientId, externalDashboardId: $externalDashboardId, layout: $layout, isLocked: $isLocked}\n on_conflict: {constraint: clientDashboardLayout_pkey, update_columns: [layout, isLocked]}\n ) {\n clientId\n externalDashboardId\n layout\n isLocked\n }\n}\n ";
|
|
2847
3346
|
export declare const useSaveExternalDashboardLayoutMutation: <TError = unknown, TContext = unknown>(options?: UseMutationOptions<SaveExternalDashboardLayoutMutation, TError, Exact<{
|
|
2848
3347
|
clientId: Scalars['String'];
|
|
2849
3348
|
externalDashboardId: Scalars['uuid'];
|
|
2850
3349
|
layout: Scalars['jsonb'];
|
|
3350
|
+
isLocked?: InputMaybe<boolean> | undefined;
|
|
2851
3351
|
}>, TContext> | undefined) => import("react-query").UseMutationResult<SaveExternalDashboardLayoutMutation, TError, Exact<{
|
|
2852
3352
|
clientId: Scalars['String'];
|
|
2853
3353
|
externalDashboardId: Scalars['uuid'];
|
|
2854
3354
|
layout: Scalars['jsonb'];
|
|
3355
|
+
isLocked?: InputMaybe<boolean> | undefined;
|
|
2855
3356
|
}>, TContext>;
|
|
2856
|
-
export declare const UpdateAdminMetricDocument = "\n mutation UpdateAdminMetric($externalMetricId: uuid!, $object: externalMetrics_insert_input!, $clientId: String!) {\n insert_clientDeletedMetrics_one(\n object: {externalMetricId: $externalMetricId, clientId: $clientId}\n ) {\n clientId\n externalMetricId\n }\n insert_externalMetrics_one(object: $object) {\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
|
|
3357
|
+
export declare const UpdateAdminMetricDocument = "\n mutation UpdateAdminMetric($externalMetricId: uuid!, $object: externalMetrics_insert_input!, $clientId: String!) {\n insert_clientDeletedMetrics_one(\n object: {externalMetricId: $externalMetricId, clientId: $clientId}\n ) {\n clientId\n externalMetricId\n }\n insert_externalMetrics_one(object: $object) {\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 timeGrain\n updatedAt\n selectedGroupBy\n isEnableGroupBy\n groupBy\n rlsConditions\n companyIntegration {\n name\n }\n clickActions\n }\n}\n ";
|
|
2857
3358
|
export declare const useUpdateAdminMetricMutation: <TError = unknown, TContext = unknown>(options?: UseMutationOptions<UpdateAdminMetricMutation, TError, Exact<{
|
|
2858
3359
|
externalMetricId: Scalars['uuid'];
|
|
2859
3360
|
object: ExternalMetrics_Insert_Input;
|