@superatomai/sdk-web 0.0.10 → 0.0.12
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/index.cjs +541 -56
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +579 -60
- package/dist/index.d.ts +579 -60
- package/dist/index.js +541 -56
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -479,11 +479,28 @@ z.object({
|
|
|
479
479
|
to: MessageParticipantSchema.optional(),
|
|
480
480
|
payload: UsersResponsePayloadSchema
|
|
481
481
|
});
|
|
482
|
+
var DashboardQueryFiltersSchema = z.object({
|
|
483
|
+
dashboardId: z.string().optional(),
|
|
484
|
+
projectId: z.string().optional(),
|
|
485
|
+
createdBy: z.number().optional(),
|
|
486
|
+
updatedBy: z.number().optional(),
|
|
487
|
+
name: z.string().optional()
|
|
488
|
+
});
|
|
482
489
|
var DashboardsRequestPayloadSchema = z.object({
|
|
483
|
-
operation: z.enum(["create", "update", "delete", "getAll", "getOne"]),
|
|
490
|
+
operation: z.enum(["create", "update", "delete", "getAll", "getOne", "query"]),
|
|
484
491
|
data: z.object({
|
|
492
|
+
id: z.number().optional(),
|
|
485
493
|
dashboardId: z.string().optional(),
|
|
486
|
-
|
|
494
|
+
projectId: z.string().optional(),
|
|
495
|
+
name: z.string().optional(),
|
|
496
|
+
description: z.string().optional(),
|
|
497
|
+
createdBy: z.number().optional(),
|
|
498
|
+
updatedBy: z.number().optional(),
|
|
499
|
+
dashboard: DSLRendererPropsSchema.optional(),
|
|
500
|
+
// Query operation fields
|
|
501
|
+
filters: DashboardQueryFiltersSchema.optional(),
|
|
502
|
+
limit: z.number().optional(),
|
|
503
|
+
sort: z.enum(["ASC", "DESC"]).optional()
|
|
487
504
|
}).optional()
|
|
488
505
|
});
|
|
489
506
|
var DashboardsRequestMessageSchema = z.object({
|
|
@@ -514,11 +531,28 @@ z.object({
|
|
|
514
531
|
to: MessageParticipantSchema.optional(),
|
|
515
532
|
payload: DashboardsResponsePayloadSchema
|
|
516
533
|
});
|
|
534
|
+
var ReportQueryFiltersSchema = z.object({
|
|
535
|
+
reportId: z.string().optional(),
|
|
536
|
+
projectId: z.string().optional(),
|
|
537
|
+
createdBy: z.number().optional(),
|
|
538
|
+
updatedBy: z.number().optional(),
|
|
539
|
+
name: z.string().optional()
|
|
540
|
+
});
|
|
517
541
|
var ReportsRequestPayloadSchema = z.object({
|
|
518
|
-
operation: z.enum(["create", "update", "delete", "getAll", "getOne"]),
|
|
542
|
+
operation: z.enum(["create", "update", "delete", "getAll", "getOne", "query"]),
|
|
519
543
|
data: z.object({
|
|
544
|
+
id: z.number().optional(),
|
|
520
545
|
reportId: z.string().optional(),
|
|
521
|
-
|
|
546
|
+
projectId: z.string().optional(),
|
|
547
|
+
name: z.string().optional(),
|
|
548
|
+
description: z.string().optional(),
|
|
549
|
+
createdBy: z.number().optional(),
|
|
550
|
+
updatedBy: z.number().optional(),
|
|
551
|
+
report: DSLRendererPropsSchema2.optional(),
|
|
552
|
+
// Query operation fields
|
|
553
|
+
filters: ReportQueryFiltersSchema.optional(),
|
|
554
|
+
limit: z.number().optional(),
|
|
555
|
+
sort: z.enum(["ASC", "DESC"]).optional()
|
|
522
556
|
}).optional()
|
|
523
557
|
});
|
|
524
558
|
var ReportsRequestMessageSchema = z.object({
|
|
@@ -549,18 +583,79 @@ z.object({
|
|
|
549
583
|
to: MessageParticipantSchema.optional(),
|
|
550
584
|
payload: ReportsResponsePayloadSchema
|
|
551
585
|
});
|
|
586
|
+
var UIQueryFiltersSchema = z.object({
|
|
587
|
+
uiId: z.string().optional(),
|
|
588
|
+
projectId: z.string().optional(),
|
|
589
|
+
createdBy: z.number().optional(),
|
|
590
|
+
updatedBy: z.number().optional(),
|
|
591
|
+
name: z.string().optional()
|
|
592
|
+
});
|
|
593
|
+
var UIsRequestPayloadSchema = z.object({
|
|
594
|
+
operation: z.enum(["create", "update", "delete", "getAll", "getOne", "query"]),
|
|
595
|
+
data: z.object({
|
|
596
|
+
id: z.number().optional(),
|
|
597
|
+
uiId: z.string().optional(),
|
|
598
|
+
projectId: z.string().optional(),
|
|
599
|
+
name: z.string().optional(),
|
|
600
|
+
description: z.string().optional(),
|
|
601
|
+
createdBy: z.number().optional(),
|
|
602
|
+
updatedBy: z.number().optional(),
|
|
603
|
+
ui: DSLRendererPropsSchema.optional(),
|
|
604
|
+
// Query operation fields
|
|
605
|
+
filters: UIQueryFiltersSchema.optional(),
|
|
606
|
+
limit: z.number().optional(),
|
|
607
|
+
sort: z.enum(["ASC", "DESC"]).optional()
|
|
608
|
+
}).optional()
|
|
609
|
+
});
|
|
610
|
+
var UIsRequestMessageSchema = z.object({
|
|
611
|
+
id: z.string(),
|
|
612
|
+
type: z.literal("UIS"),
|
|
613
|
+
from: MessageParticipantSchema,
|
|
614
|
+
to: MessageParticipantSchema.optional(),
|
|
615
|
+
payload: UIsRequestPayloadSchema
|
|
616
|
+
});
|
|
617
|
+
var UIsResponsePayloadSchema = z.object({
|
|
618
|
+
success: z.boolean(),
|
|
619
|
+
error: z.string().optional(),
|
|
620
|
+
data: z.object({
|
|
621
|
+
uiId: z.union([z.string(), z.number()]).optional(),
|
|
622
|
+
ui: DSLRendererPropsSchema.optional(),
|
|
623
|
+
uis: z.array(z.object({
|
|
624
|
+
uiId: z.string(),
|
|
625
|
+
ui: DSLRendererPropsSchema.optional()
|
|
626
|
+
})).optional(),
|
|
627
|
+
count: z.number().optional(),
|
|
628
|
+
message: z.string().optional()
|
|
629
|
+
}).optional()
|
|
630
|
+
});
|
|
631
|
+
z.object({
|
|
632
|
+
id: z.string(),
|
|
633
|
+
type: z.literal("UIS_RES"),
|
|
634
|
+
from: MessageParticipantSchema,
|
|
635
|
+
to: MessageParticipantSchema.optional(),
|
|
636
|
+
payload: UIsResponsePayloadSchema
|
|
637
|
+
});
|
|
638
|
+
var DBUIBlockSchema = z.object({
|
|
639
|
+
id: z.string(),
|
|
640
|
+
component: z.record(z.string(), z.any()).nullable(),
|
|
641
|
+
analysis: z.string().nullable(),
|
|
642
|
+
user_prompt: z.string()
|
|
643
|
+
});
|
|
552
644
|
var BookmarkDataSchema = z.object({
|
|
553
645
|
id: z.number().optional(),
|
|
554
|
-
uiblock:
|
|
555
|
-
// JSON object
|
|
646
|
+
uiblock: DBUIBlockSchema,
|
|
556
647
|
created_at: z.string().optional(),
|
|
557
648
|
updated_at: z.string().optional()
|
|
558
649
|
});
|
|
559
650
|
var BookmarksRequestPayloadSchema = z.object({
|
|
560
|
-
operation: z.enum(["create", "update", "delete", "getAll", "getOne"]),
|
|
651
|
+
operation: z.enum(["create", "update", "delete", "getAll", "getOne", "getByUser", "getByThread"]),
|
|
561
652
|
data: z.object({
|
|
562
653
|
id: z.number().optional(),
|
|
563
|
-
|
|
654
|
+
userId: z.number().optional(),
|
|
655
|
+
threadId: z.string().optional(),
|
|
656
|
+
name: z.string().optional(),
|
|
657
|
+
description: z.string().optional(),
|
|
658
|
+
uiblock: DBUIBlockSchema.optional()
|
|
564
659
|
}).optional()
|
|
565
660
|
});
|
|
566
661
|
var BookmarksRequestMessageSchema = z.object({
|
|
@@ -612,21 +707,30 @@ __export(services_exports, {
|
|
|
612
707
|
createBookmark: () => createBookmark,
|
|
613
708
|
createDashboard: () => createDashboard,
|
|
614
709
|
createReport: () => createReport,
|
|
710
|
+
createUI: () => createUI,
|
|
615
711
|
createUser: () => createUser,
|
|
616
712
|
deleteBookmark: () => deleteBookmark,
|
|
617
713
|
deleteDashboard: () => deleteDashboard,
|
|
618
714
|
deleteReport: () => deleteReport,
|
|
715
|
+
deleteUI: () => deleteUI,
|
|
619
716
|
deleteUser: () => deleteUser,
|
|
620
717
|
getActions: () => getActions,
|
|
621
718
|
getAllBookmarks: () => getAllBookmarks,
|
|
622
719
|
getAllDashboards: () => getAllDashboards,
|
|
623
720
|
getAllReports: () => getAllReports,
|
|
721
|
+
getAllUIs: () => getAllUIs,
|
|
624
722
|
getAllUsers: () => getAllUsers,
|
|
625
723
|
getBookmark: () => getBookmark,
|
|
724
|
+
getBookmarksByThread: () => getBookmarksByThread,
|
|
725
|
+
getBookmarksByUser: () => getBookmarksByUser,
|
|
626
726
|
getComponentSuggestions: () => getComponentSuggestions,
|
|
627
727
|
getDashboard: () => getDashboard,
|
|
628
728
|
getReport: () => getReport,
|
|
729
|
+
getUI: () => getUI,
|
|
629
730
|
getUser: () => getUser,
|
|
731
|
+
queryDashboards: () => queryDashboards,
|
|
732
|
+
queryReports: () => queryReports,
|
|
733
|
+
queryUIs: () => queryUIs,
|
|
630
734
|
requestBundle: () => requestBundle,
|
|
631
735
|
requestData: () => requestData,
|
|
632
736
|
sendAuthLoginRequest: () => sendAuthLoginRequest,
|
|
@@ -637,6 +741,7 @@ __export(services_exports, {
|
|
|
637
741
|
updateBookmark: () => updateBookmark,
|
|
638
742
|
updateDashboard: () => updateDashboard,
|
|
639
743
|
updateReport: () => updateReport,
|
|
744
|
+
updateUI: () => updateUI,
|
|
640
745
|
updateUser: () => updateUser
|
|
641
746
|
});
|
|
642
747
|
|
|
@@ -981,7 +1086,8 @@ async function getUser(client, username, timeout) {
|
|
|
981
1086
|
}
|
|
982
1087
|
|
|
983
1088
|
// src/services/dashboards/index.ts
|
|
984
|
-
async function createDashboard(client,
|
|
1089
|
+
async function createDashboard(client, options, timeout) {
|
|
1090
|
+
const { dashboardId, projectId, name, description, createdBy, dashboard } = options;
|
|
985
1091
|
const messageId = `dashboards_create_${Date.now()}`;
|
|
986
1092
|
const message = DashboardsRequestMessageSchema.parse({
|
|
987
1093
|
id: messageId,
|
|
@@ -992,6 +1098,10 @@ async function createDashboard(client, dashboardId, dashboard, timeout) {
|
|
|
992
1098
|
operation: "create",
|
|
993
1099
|
data: {
|
|
994
1100
|
dashboardId,
|
|
1101
|
+
projectId,
|
|
1102
|
+
name,
|
|
1103
|
+
description,
|
|
1104
|
+
createdBy,
|
|
995
1105
|
dashboard
|
|
996
1106
|
}
|
|
997
1107
|
}
|
|
@@ -1002,11 +1112,13 @@ async function createDashboard(client, dashboardId, dashboard, timeout) {
|
|
|
1002
1112
|
success: payload.success,
|
|
1003
1113
|
error: payload.error,
|
|
1004
1114
|
message: payload.data?.message,
|
|
1115
|
+
id: payload.data?.id,
|
|
1005
1116
|
dashboardId: payload.data?.dashboardId,
|
|
1006
1117
|
dashboard: payload.data?.dashboard
|
|
1007
1118
|
};
|
|
1008
1119
|
}
|
|
1009
|
-
async function updateDashboard(client,
|
|
1120
|
+
async function updateDashboard(client, options, timeout) {
|
|
1121
|
+
const { id, name, description, createdBy, updatedBy, dashboard } = options;
|
|
1010
1122
|
const messageId = `dashboards_update_${Date.now()}`;
|
|
1011
1123
|
const message = DashboardsRequestMessageSchema.parse({
|
|
1012
1124
|
id: messageId,
|
|
@@ -1016,7 +1128,11 @@ async function updateDashboard(client, dashboardId, dashboard, timeout) {
|
|
|
1016
1128
|
payload: {
|
|
1017
1129
|
operation: "update",
|
|
1018
1130
|
data: {
|
|
1019
|
-
|
|
1131
|
+
id,
|
|
1132
|
+
name,
|
|
1133
|
+
description,
|
|
1134
|
+
createdBy,
|
|
1135
|
+
updatedBy,
|
|
1020
1136
|
dashboard
|
|
1021
1137
|
}
|
|
1022
1138
|
}
|
|
@@ -1027,11 +1143,12 @@ async function updateDashboard(client, dashboardId, dashboard, timeout) {
|
|
|
1027
1143
|
success: payload.success,
|
|
1028
1144
|
error: payload.error,
|
|
1029
1145
|
message: payload.data?.message,
|
|
1146
|
+
id: payload.data?.id,
|
|
1030
1147
|
dashboardId: payload.data?.dashboardId,
|
|
1031
1148
|
dashboard: payload.data?.dashboard
|
|
1032
1149
|
};
|
|
1033
1150
|
}
|
|
1034
|
-
async function deleteDashboard(client,
|
|
1151
|
+
async function deleteDashboard(client, id, timeout) {
|
|
1035
1152
|
const messageId = `dashboards_delete_${Date.now()}`;
|
|
1036
1153
|
const message = DashboardsRequestMessageSchema.parse({
|
|
1037
1154
|
id: messageId,
|
|
@@ -1041,7 +1158,7 @@ async function deleteDashboard(client, dashboardId, timeout) {
|
|
|
1041
1158
|
payload: {
|
|
1042
1159
|
operation: "delete",
|
|
1043
1160
|
data: {
|
|
1044
|
-
|
|
1161
|
+
id
|
|
1045
1162
|
}
|
|
1046
1163
|
}
|
|
1047
1164
|
});
|
|
@@ -1051,7 +1168,7 @@ async function deleteDashboard(client, dashboardId, timeout) {
|
|
|
1051
1168
|
success: payload.success,
|
|
1052
1169
|
error: payload.error,
|
|
1053
1170
|
message: payload.data?.message,
|
|
1054
|
-
|
|
1171
|
+
id: payload.data?.id
|
|
1055
1172
|
};
|
|
1056
1173
|
}
|
|
1057
1174
|
async function getAllDashboards(client, timeout) {
|
|
@@ -1075,7 +1192,7 @@ async function getAllDashboards(client, timeout) {
|
|
|
1075
1192
|
message: payload.data?.message
|
|
1076
1193
|
};
|
|
1077
1194
|
}
|
|
1078
|
-
async function getDashboard(client,
|
|
1195
|
+
async function getDashboard(client, id, timeout) {
|
|
1079
1196
|
const messageId = `dashboards_getone_${Date.now()}`;
|
|
1080
1197
|
const message = DashboardsRequestMessageSchema.parse({
|
|
1081
1198
|
id: messageId,
|
|
@@ -1085,7 +1202,7 @@ async function getDashboard(client, dashboardId, timeout) {
|
|
|
1085
1202
|
payload: {
|
|
1086
1203
|
operation: "getOne",
|
|
1087
1204
|
data: {
|
|
1088
|
-
|
|
1205
|
+
id
|
|
1089
1206
|
}
|
|
1090
1207
|
}
|
|
1091
1208
|
});
|
|
@@ -1094,14 +1211,43 @@ async function getDashboard(client, dashboardId, timeout) {
|
|
|
1094
1211
|
return {
|
|
1095
1212
|
success: payload.success,
|
|
1096
1213
|
error: payload.error,
|
|
1214
|
+
id: payload.data?.id,
|
|
1097
1215
|
dashboardId: payload.data?.dashboardId,
|
|
1098
1216
|
dashboard: payload.data?.dashboard,
|
|
1099
1217
|
message: payload.data?.message
|
|
1100
1218
|
};
|
|
1101
1219
|
}
|
|
1220
|
+
async function queryDashboards(client, options = {}, timeout) {
|
|
1221
|
+
const { filters, limit, sort } = options;
|
|
1222
|
+
const messageId = `dashboards_query_${Date.now()}`;
|
|
1223
|
+
const message = DashboardsRequestMessageSchema.parse({
|
|
1224
|
+
id: messageId,
|
|
1225
|
+
type: "DASHBOARDS",
|
|
1226
|
+
from: { type: client.type },
|
|
1227
|
+
to: { type: "data-agent" },
|
|
1228
|
+
payload: {
|
|
1229
|
+
operation: "query",
|
|
1230
|
+
data: {
|
|
1231
|
+
filters,
|
|
1232
|
+
limit,
|
|
1233
|
+
sort
|
|
1234
|
+
}
|
|
1235
|
+
}
|
|
1236
|
+
});
|
|
1237
|
+
const response = await client.sendWithResponse(message, timeout);
|
|
1238
|
+
const payload = response.payload;
|
|
1239
|
+
return {
|
|
1240
|
+
success: payload.success,
|
|
1241
|
+
error: payload.error,
|
|
1242
|
+
dashboards: payload.data?.dashboards,
|
|
1243
|
+
count: payload.data?.count,
|
|
1244
|
+
message: payload.data?.message
|
|
1245
|
+
};
|
|
1246
|
+
}
|
|
1102
1247
|
|
|
1103
1248
|
// src/services/reports/index.ts
|
|
1104
|
-
async function createReport(client,
|
|
1249
|
+
async function createReport(client, options, timeout) {
|
|
1250
|
+
const { reportId, projectId, name, description, createdBy, report } = options;
|
|
1105
1251
|
const messageId = `reports_create_${Date.now()}`;
|
|
1106
1252
|
const message = ReportsRequestMessageSchema.parse({
|
|
1107
1253
|
id: messageId,
|
|
@@ -1112,6 +1258,10 @@ async function createReport(client, reportId, report, timeout) {
|
|
|
1112
1258
|
operation: "create",
|
|
1113
1259
|
data: {
|
|
1114
1260
|
reportId,
|
|
1261
|
+
projectId,
|
|
1262
|
+
name,
|
|
1263
|
+
description,
|
|
1264
|
+
createdBy,
|
|
1115
1265
|
report
|
|
1116
1266
|
}
|
|
1117
1267
|
}
|
|
@@ -1122,11 +1272,13 @@ async function createReport(client, reportId, report, timeout) {
|
|
|
1122
1272
|
success: payload.success,
|
|
1123
1273
|
error: payload.error,
|
|
1124
1274
|
message: payload.data?.message,
|
|
1275
|
+
id: payload.data?.id,
|
|
1125
1276
|
reportId: payload.data?.reportId,
|
|
1126
1277
|
report: payload.data?.report
|
|
1127
1278
|
};
|
|
1128
1279
|
}
|
|
1129
|
-
async function updateReport(client,
|
|
1280
|
+
async function updateReport(client, options, timeout) {
|
|
1281
|
+
const { id, name, description, createdBy, updatedBy, report } = options;
|
|
1130
1282
|
const messageId = `reports_update_${Date.now()}`;
|
|
1131
1283
|
const message = ReportsRequestMessageSchema.parse({
|
|
1132
1284
|
id: messageId,
|
|
@@ -1136,7 +1288,11 @@ async function updateReport(client, reportId, report, timeout) {
|
|
|
1136
1288
|
payload: {
|
|
1137
1289
|
operation: "update",
|
|
1138
1290
|
data: {
|
|
1139
|
-
|
|
1291
|
+
id,
|
|
1292
|
+
name,
|
|
1293
|
+
description,
|
|
1294
|
+
createdBy,
|
|
1295
|
+
updatedBy,
|
|
1140
1296
|
report
|
|
1141
1297
|
}
|
|
1142
1298
|
}
|
|
@@ -1147,11 +1303,12 @@ async function updateReport(client, reportId, report, timeout) {
|
|
|
1147
1303
|
success: payload.success,
|
|
1148
1304
|
error: payload.error,
|
|
1149
1305
|
message: payload.data?.message,
|
|
1306
|
+
id: payload.data?.id,
|
|
1150
1307
|
reportId: payload.data?.reportId,
|
|
1151
1308
|
report: payload.data?.report
|
|
1152
1309
|
};
|
|
1153
1310
|
}
|
|
1154
|
-
async function deleteReport(client,
|
|
1311
|
+
async function deleteReport(client, id, timeout) {
|
|
1155
1312
|
const messageId = `reports_delete_${Date.now()}`;
|
|
1156
1313
|
const message = ReportsRequestMessageSchema.parse({
|
|
1157
1314
|
id: messageId,
|
|
@@ -1161,7 +1318,7 @@ async function deleteReport(client, reportId, timeout) {
|
|
|
1161
1318
|
payload: {
|
|
1162
1319
|
operation: "delete",
|
|
1163
1320
|
data: {
|
|
1164
|
-
|
|
1321
|
+
id
|
|
1165
1322
|
}
|
|
1166
1323
|
}
|
|
1167
1324
|
});
|
|
@@ -1171,7 +1328,7 @@ async function deleteReport(client, reportId, timeout) {
|
|
|
1171
1328
|
success: payload.success,
|
|
1172
1329
|
error: payload.error,
|
|
1173
1330
|
message: payload.data?.message,
|
|
1174
|
-
|
|
1331
|
+
id: payload.data?.id
|
|
1175
1332
|
};
|
|
1176
1333
|
}
|
|
1177
1334
|
async function getAllReports(client, timeout) {
|
|
@@ -1195,7 +1352,7 @@ async function getAllReports(client, timeout) {
|
|
|
1195
1352
|
message: payload.data?.message
|
|
1196
1353
|
};
|
|
1197
1354
|
}
|
|
1198
|
-
async function getReport(client,
|
|
1355
|
+
async function getReport(client, id, timeout) {
|
|
1199
1356
|
const messageId = `reports_getone_${Date.now()}`;
|
|
1200
1357
|
const message = ReportsRequestMessageSchema.parse({
|
|
1201
1358
|
id: messageId,
|
|
@@ -1205,7 +1362,7 @@ async function getReport(client, reportId, timeout) {
|
|
|
1205
1362
|
payload: {
|
|
1206
1363
|
operation: "getOne",
|
|
1207
1364
|
data: {
|
|
1208
|
-
|
|
1365
|
+
id
|
|
1209
1366
|
}
|
|
1210
1367
|
}
|
|
1211
1368
|
});
|
|
@@ -1214,14 +1371,43 @@ async function getReport(client, reportId, timeout) {
|
|
|
1214
1371
|
return {
|
|
1215
1372
|
success: payload.success,
|
|
1216
1373
|
error: payload.error,
|
|
1374
|
+
id: payload.data?.id,
|
|
1217
1375
|
reportId: payload.data?.reportId,
|
|
1218
1376
|
report: payload.data?.report,
|
|
1219
1377
|
message: payload.data?.message
|
|
1220
1378
|
};
|
|
1221
1379
|
}
|
|
1380
|
+
async function queryReports(client, options = {}, timeout) {
|
|
1381
|
+
const { filters, limit, sort } = options;
|
|
1382
|
+
const messageId = `reports_query_${Date.now()}`;
|
|
1383
|
+
const message = ReportsRequestMessageSchema.parse({
|
|
1384
|
+
id: messageId,
|
|
1385
|
+
type: "REPORTS",
|
|
1386
|
+
from: { type: client.type },
|
|
1387
|
+
to: { type: "data-agent" },
|
|
1388
|
+
payload: {
|
|
1389
|
+
operation: "query",
|
|
1390
|
+
data: {
|
|
1391
|
+
filters,
|
|
1392
|
+
limit,
|
|
1393
|
+
sort
|
|
1394
|
+
}
|
|
1395
|
+
}
|
|
1396
|
+
});
|
|
1397
|
+
const response = await client.sendWithResponse(message, timeout);
|
|
1398
|
+
const payload = response.payload;
|
|
1399
|
+
return {
|
|
1400
|
+
success: payload.success,
|
|
1401
|
+
error: payload.error,
|
|
1402
|
+
reports: payload.data?.reports,
|
|
1403
|
+
count: payload.data?.count,
|
|
1404
|
+
message: payload.data?.message
|
|
1405
|
+
};
|
|
1406
|
+
}
|
|
1222
1407
|
|
|
1223
1408
|
// src/services/bookmarks/index.ts
|
|
1224
|
-
async function createBookmark(client,
|
|
1409
|
+
async function createBookmark(client, options, timeout) {
|
|
1410
|
+
const { userId, uiblock, threadId, name, description } = options;
|
|
1225
1411
|
const messageId = `bookmarks_create_${Date.now()}`;
|
|
1226
1412
|
const message = BookmarksRequestMessageSchema.parse({
|
|
1227
1413
|
id: messageId,
|
|
@@ -1231,6 +1417,10 @@ async function createBookmark(client, uiblock, timeout) {
|
|
|
1231
1417
|
payload: {
|
|
1232
1418
|
operation: "create",
|
|
1233
1419
|
data: {
|
|
1420
|
+
userId,
|
|
1421
|
+
threadId,
|
|
1422
|
+
name,
|
|
1423
|
+
description,
|
|
1234
1424
|
uiblock
|
|
1235
1425
|
}
|
|
1236
1426
|
}
|
|
@@ -1244,7 +1434,8 @@ async function createBookmark(client, uiblock, timeout) {
|
|
|
1244
1434
|
data: Array.isArray(payload.data) ? payload.data[0] : payload.data
|
|
1245
1435
|
};
|
|
1246
1436
|
}
|
|
1247
|
-
async function updateBookmark(client,
|
|
1437
|
+
async function updateBookmark(client, options, timeout) {
|
|
1438
|
+
const { id, uiblock, threadId, name, description } = options;
|
|
1248
1439
|
const messageId = `bookmarks_update_${Date.now()}`;
|
|
1249
1440
|
const message = BookmarksRequestMessageSchema.parse({
|
|
1250
1441
|
id: messageId,
|
|
@@ -1255,6 +1446,9 @@ async function updateBookmark(client, id, uiblock, timeout) {
|
|
|
1255
1446
|
operation: "update",
|
|
1256
1447
|
data: {
|
|
1257
1448
|
id,
|
|
1449
|
+
threadId,
|
|
1450
|
+
name,
|
|
1451
|
+
description,
|
|
1258
1452
|
uiblock
|
|
1259
1453
|
}
|
|
1260
1454
|
}
|
|
@@ -1335,6 +1529,55 @@ async function getBookmark(client, id, timeout) {
|
|
|
1335
1529
|
message: payload.message
|
|
1336
1530
|
};
|
|
1337
1531
|
}
|
|
1532
|
+
async function getBookmarksByUser(client, userId, threadId, timeout) {
|
|
1533
|
+
const messageId = `bookmarks_getbyuser_${Date.now()}`;
|
|
1534
|
+
const message = BookmarksRequestMessageSchema.parse({
|
|
1535
|
+
id: messageId,
|
|
1536
|
+
type: "BOOKMARKS",
|
|
1537
|
+
from: { type: client.type },
|
|
1538
|
+
to: { type: "data-agent" },
|
|
1539
|
+
payload: {
|
|
1540
|
+
operation: "getByUser",
|
|
1541
|
+
data: {
|
|
1542
|
+
userId,
|
|
1543
|
+
threadId
|
|
1544
|
+
}
|
|
1545
|
+
}
|
|
1546
|
+
});
|
|
1547
|
+
const response = await client.sendWithResponse(message, timeout);
|
|
1548
|
+
const payload = response.payload;
|
|
1549
|
+
return {
|
|
1550
|
+
success: payload.success,
|
|
1551
|
+
error: payload.error,
|
|
1552
|
+
data: Array.isArray(payload.data) ? payload.data : payload.data ? [payload.data] : [],
|
|
1553
|
+
count: payload.count,
|
|
1554
|
+
message: payload.message
|
|
1555
|
+
};
|
|
1556
|
+
}
|
|
1557
|
+
async function getBookmarksByThread(client, threadId, timeout) {
|
|
1558
|
+
const messageId = `bookmarks_getbythread_${Date.now()}`;
|
|
1559
|
+
const message = BookmarksRequestMessageSchema.parse({
|
|
1560
|
+
id: messageId,
|
|
1561
|
+
type: "BOOKMARKS",
|
|
1562
|
+
from: { type: client.type },
|
|
1563
|
+
to: { type: "data-agent" },
|
|
1564
|
+
payload: {
|
|
1565
|
+
operation: "getByThread",
|
|
1566
|
+
data: {
|
|
1567
|
+
threadId
|
|
1568
|
+
}
|
|
1569
|
+
}
|
|
1570
|
+
});
|
|
1571
|
+
const response = await client.sendWithResponse(message, timeout);
|
|
1572
|
+
const payload = response.payload;
|
|
1573
|
+
return {
|
|
1574
|
+
success: payload.success,
|
|
1575
|
+
error: payload.error,
|
|
1576
|
+
data: Array.isArray(payload.data) ? payload.data : payload.data ? [payload.data] : [],
|
|
1577
|
+
count: payload.count,
|
|
1578
|
+
message: payload.message
|
|
1579
|
+
};
|
|
1580
|
+
}
|
|
1338
1581
|
|
|
1339
1582
|
// src/services/actions.ts
|
|
1340
1583
|
async function getActions(client, options) {
|
|
@@ -1357,6 +1600,166 @@ async function getActions(client, options) {
|
|
|
1357
1600
|
};
|
|
1358
1601
|
}
|
|
1359
1602
|
|
|
1603
|
+
// src/services/uis/index.ts
|
|
1604
|
+
async function createUI(client, options, timeout) {
|
|
1605
|
+
const { uiId, projectId, name, description, createdBy, ui } = options;
|
|
1606
|
+
const messageId = `uis_create_${Date.now()}`;
|
|
1607
|
+
const message = UIsRequestMessageSchema.parse({
|
|
1608
|
+
id: messageId,
|
|
1609
|
+
type: "UIS",
|
|
1610
|
+
from: { type: client.type },
|
|
1611
|
+
to: { type: "data-agent" },
|
|
1612
|
+
payload: {
|
|
1613
|
+
operation: "create",
|
|
1614
|
+
data: {
|
|
1615
|
+
uiId,
|
|
1616
|
+
projectId,
|
|
1617
|
+
name,
|
|
1618
|
+
description,
|
|
1619
|
+
createdBy,
|
|
1620
|
+
ui
|
|
1621
|
+
}
|
|
1622
|
+
}
|
|
1623
|
+
});
|
|
1624
|
+
const response = await client.sendWithResponse(message, timeout);
|
|
1625
|
+
const payload = response.payload;
|
|
1626
|
+
return {
|
|
1627
|
+
success: payload.success,
|
|
1628
|
+
error: payload.error,
|
|
1629
|
+
message: payload.data?.message,
|
|
1630
|
+
id: payload.data?.id,
|
|
1631
|
+
uiId: payload.data?.uiId,
|
|
1632
|
+
ui: payload.data?.ui
|
|
1633
|
+
};
|
|
1634
|
+
}
|
|
1635
|
+
async function updateUI(client, options, timeout) {
|
|
1636
|
+
const { id, name, description, createdBy, updatedBy, ui } = options;
|
|
1637
|
+
const messageId = `uis_update_${Date.now()}`;
|
|
1638
|
+
const message = UIsRequestMessageSchema.parse({
|
|
1639
|
+
id: messageId,
|
|
1640
|
+
type: "UIS",
|
|
1641
|
+
from: { type: client.type },
|
|
1642
|
+
to: { type: "data-agent" },
|
|
1643
|
+
payload: {
|
|
1644
|
+
operation: "update",
|
|
1645
|
+
data: {
|
|
1646
|
+
id,
|
|
1647
|
+
name,
|
|
1648
|
+
description,
|
|
1649
|
+
createdBy,
|
|
1650
|
+
updatedBy,
|
|
1651
|
+
ui
|
|
1652
|
+
}
|
|
1653
|
+
}
|
|
1654
|
+
});
|
|
1655
|
+
const response = await client.sendWithResponse(message, timeout);
|
|
1656
|
+
const payload = response.payload;
|
|
1657
|
+
return {
|
|
1658
|
+
success: payload.success,
|
|
1659
|
+
error: payload.error,
|
|
1660
|
+
message: payload.data?.message,
|
|
1661
|
+
id: payload.data?.id,
|
|
1662
|
+
uiId: payload.data?.uiId,
|
|
1663
|
+
ui: payload.data?.ui
|
|
1664
|
+
};
|
|
1665
|
+
}
|
|
1666
|
+
async function deleteUI(client, id, timeout) {
|
|
1667
|
+
const messageId = `uis_delete_${Date.now()}`;
|
|
1668
|
+
const message = UIsRequestMessageSchema.parse({
|
|
1669
|
+
id: messageId,
|
|
1670
|
+
type: "UIS",
|
|
1671
|
+
from: { type: client.type },
|
|
1672
|
+
to: { type: "data-agent" },
|
|
1673
|
+
payload: {
|
|
1674
|
+
operation: "delete",
|
|
1675
|
+
data: {
|
|
1676
|
+
id
|
|
1677
|
+
}
|
|
1678
|
+
}
|
|
1679
|
+
});
|
|
1680
|
+
const response = await client.sendWithResponse(message, timeout);
|
|
1681
|
+
const payload = response.payload;
|
|
1682
|
+
return {
|
|
1683
|
+
success: payload.success,
|
|
1684
|
+
error: payload.error,
|
|
1685
|
+
message: payload.data?.message,
|
|
1686
|
+
id: payload.data?.id
|
|
1687
|
+
};
|
|
1688
|
+
}
|
|
1689
|
+
async function getAllUIs(client, timeout) {
|
|
1690
|
+
const messageId = `uis_getall_${Date.now()}`;
|
|
1691
|
+
const message = UIsRequestMessageSchema.parse({
|
|
1692
|
+
id: messageId,
|
|
1693
|
+
type: "UIS",
|
|
1694
|
+
from: { type: client.type },
|
|
1695
|
+
to: { type: "data-agent" },
|
|
1696
|
+
payload: {
|
|
1697
|
+
operation: "getAll"
|
|
1698
|
+
}
|
|
1699
|
+
});
|
|
1700
|
+
const response = await client.sendWithResponse(message, timeout);
|
|
1701
|
+
const payload = response.payload;
|
|
1702
|
+
return {
|
|
1703
|
+
success: payload.success,
|
|
1704
|
+
error: payload.error,
|
|
1705
|
+
uis: payload.data?.uis,
|
|
1706
|
+
count: payload.data?.count,
|
|
1707
|
+
message: payload.data?.message
|
|
1708
|
+
};
|
|
1709
|
+
}
|
|
1710
|
+
async function getUI(client, id, timeout) {
|
|
1711
|
+
const messageId = `uis_getone_${Date.now()}`;
|
|
1712
|
+
const message = UIsRequestMessageSchema.parse({
|
|
1713
|
+
id: messageId,
|
|
1714
|
+
type: "UIS",
|
|
1715
|
+
from: { type: client.type },
|
|
1716
|
+
to: { type: "data-agent" },
|
|
1717
|
+
payload: {
|
|
1718
|
+
operation: "getOne",
|
|
1719
|
+
data: {
|
|
1720
|
+
id
|
|
1721
|
+
}
|
|
1722
|
+
}
|
|
1723
|
+
});
|
|
1724
|
+
const response = await client.sendWithResponse(message, timeout);
|
|
1725
|
+
const payload = response.payload;
|
|
1726
|
+
return {
|
|
1727
|
+
success: payload.success,
|
|
1728
|
+
error: payload.error,
|
|
1729
|
+
id: payload.data?.id,
|
|
1730
|
+
uiId: payload.data?.uiId,
|
|
1731
|
+
ui: payload.data?.ui,
|
|
1732
|
+
message: payload.data?.message
|
|
1733
|
+
};
|
|
1734
|
+
}
|
|
1735
|
+
async function queryUIs(client, options = {}, timeout) {
|
|
1736
|
+
const { filters, limit, sort } = options;
|
|
1737
|
+
const messageId = `uis_query_${Date.now()}`;
|
|
1738
|
+
const message = UIsRequestMessageSchema.parse({
|
|
1739
|
+
id: messageId,
|
|
1740
|
+
type: "UIS",
|
|
1741
|
+
from: { type: client.type },
|
|
1742
|
+
to: { type: "data-agent" },
|
|
1743
|
+
payload: {
|
|
1744
|
+
operation: "query",
|
|
1745
|
+
data: {
|
|
1746
|
+
filters,
|
|
1747
|
+
limit,
|
|
1748
|
+
sort
|
|
1749
|
+
}
|
|
1750
|
+
}
|
|
1751
|
+
});
|
|
1752
|
+
const response = await client.sendWithResponse(message, timeout);
|
|
1753
|
+
const payload = response.payload;
|
|
1754
|
+
return {
|
|
1755
|
+
success: payload.success,
|
|
1756
|
+
error: payload.error,
|
|
1757
|
+
uis: payload.data?.uis,
|
|
1758
|
+
count: payload.data?.count,
|
|
1759
|
+
message: payload.data?.message
|
|
1760
|
+
};
|
|
1761
|
+
}
|
|
1762
|
+
|
|
1360
1763
|
// src/client.ts
|
|
1361
1764
|
var SuperatomClient = class {
|
|
1362
1765
|
constructor(config) {
|
|
@@ -1740,25 +2143,25 @@ var SuperatomClient = class {
|
|
|
1740
2143
|
* Create a new dashboard
|
|
1741
2144
|
* Delegates to dashboards service
|
|
1742
2145
|
*/
|
|
1743
|
-
async createDashboard(
|
|
1744
|
-
this.log("info", "Creating dashboard:", dashboardId);
|
|
1745
|
-
return createDashboard(this,
|
|
2146
|
+
async createDashboard(options, timeout) {
|
|
2147
|
+
this.log("info", "Creating dashboard:", options.dashboardId);
|
|
2148
|
+
return createDashboard(this, options, timeout);
|
|
1746
2149
|
}
|
|
1747
2150
|
/**
|
|
1748
2151
|
* Update an existing dashboard
|
|
1749
2152
|
* Delegates to dashboards service
|
|
1750
2153
|
*/
|
|
1751
|
-
async updateDashboard(
|
|
1752
|
-
this.log("info", "Updating dashboard:",
|
|
1753
|
-
return updateDashboard(this,
|
|
2154
|
+
async updateDashboard(options, timeout) {
|
|
2155
|
+
this.log("info", "Updating dashboard:", options.id);
|
|
2156
|
+
return updateDashboard(this, options, timeout);
|
|
1754
2157
|
}
|
|
1755
2158
|
/**
|
|
1756
2159
|
* Delete a dashboard
|
|
1757
2160
|
* Delegates to dashboards service
|
|
1758
2161
|
*/
|
|
1759
|
-
async deleteDashboard(
|
|
1760
|
-
this.log("info", "Deleting dashboard:",
|
|
1761
|
-
return deleteDashboard(this,
|
|
2162
|
+
async deleteDashboard(id, timeout) {
|
|
2163
|
+
this.log("info", "Deleting dashboard:", id);
|
|
2164
|
+
return deleteDashboard(this, id, timeout);
|
|
1762
2165
|
}
|
|
1763
2166
|
/**
|
|
1764
2167
|
* Get all dashboards
|
|
@@ -1772,9 +2175,17 @@ var SuperatomClient = class {
|
|
|
1772
2175
|
* Get a specific dashboard by ID
|
|
1773
2176
|
* Delegates to dashboards service
|
|
1774
2177
|
*/
|
|
1775
|
-
async getDashboard(
|
|
1776
|
-
this.log("info", "Fetching dashboard:",
|
|
1777
|
-
return getDashboard(this,
|
|
2178
|
+
async getDashboard(id, timeout) {
|
|
2179
|
+
this.log("info", "Fetching dashboard:", id);
|
|
2180
|
+
return getDashboard(this, id, timeout);
|
|
2181
|
+
}
|
|
2182
|
+
/**
|
|
2183
|
+
* Query dashboards with filters
|
|
2184
|
+
* Delegates to dashboards service
|
|
2185
|
+
*/
|
|
2186
|
+
async queryDashboards(options, timeout) {
|
|
2187
|
+
this.log("info", "Querying dashboards with filters:", options?.filters);
|
|
2188
|
+
return queryDashboards(this, options, timeout);
|
|
1778
2189
|
}
|
|
1779
2190
|
// ==================== Bookmark Management Methods ====================
|
|
1780
2191
|
// These methods delegate to bookmark service for bookmark CRUD operations
|
|
@@ -1782,17 +2193,17 @@ var SuperatomClient = class {
|
|
|
1782
2193
|
* Create a new bookmark
|
|
1783
2194
|
* Delegates to bookmarks service
|
|
1784
2195
|
*/
|
|
1785
|
-
async createBookmark(
|
|
1786
|
-
this.log("info", "Creating bookmark");
|
|
1787
|
-
return createBookmark(this,
|
|
2196
|
+
async createBookmark(options, timeout) {
|
|
2197
|
+
this.log("info", "Creating bookmark for user:", options.userId);
|
|
2198
|
+
return createBookmark(this, options, timeout);
|
|
1788
2199
|
}
|
|
1789
2200
|
/**
|
|
1790
2201
|
* Update an existing bookmark
|
|
1791
2202
|
* Delegates to bookmarks service
|
|
1792
2203
|
*/
|
|
1793
|
-
async updateBookmark(
|
|
1794
|
-
this.log("info", "Updating bookmark:", id);
|
|
1795
|
-
return updateBookmark(this,
|
|
2204
|
+
async updateBookmark(options, timeout) {
|
|
2205
|
+
this.log("info", "Updating bookmark:", options.id);
|
|
2206
|
+
return updateBookmark(this, options, timeout);
|
|
1796
2207
|
}
|
|
1797
2208
|
/**
|
|
1798
2209
|
* Delete a bookmark
|
|
@@ -1818,31 +2229,47 @@ var SuperatomClient = class {
|
|
|
1818
2229
|
this.log("info", "Fetching bookmark:", id);
|
|
1819
2230
|
return getBookmark(this, id, timeout);
|
|
1820
2231
|
}
|
|
2232
|
+
/**
|
|
2233
|
+
* Get bookmarks by user ID (and optionally by thread ID)
|
|
2234
|
+
* Delegates to bookmarks service
|
|
2235
|
+
*/
|
|
2236
|
+
async getBookmarksByUser(userId, threadId, timeout) {
|
|
2237
|
+
this.log("info", "Fetching bookmarks for user:", userId);
|
|
2238
|
+
return getBookmarksByUser(this, userId, threadId, timeout);
|
|
2239
|
+
}
|
|
2240
|
+
/**
|
|
2241
|
+
* Get bookmarks by thread ID
|
|
2242
|
+
* Delegates to bookmarks service
|
|
2243
|
+
*/
|
|
2244
|
+
async getBookmarksByThread(threadId, timeout) {
|
|
2245
|
+
this.log("info", "Fetching bookmarks for thread:", threadId);
|
|
2246
|
+
return getBookmarksByThread(this, threadId, timeout);
|
|
2247
|
+
}
|
|
1821
2248
|
// ==================== Report Management Methods ====================
|
|
1822
2249
|
// These methods delegate to report service for admin report CRUD operations
|
|
1823
2250
|
/**
|
|
1824
2251
|
* Create a new report
|
|
1825
2252
|
* Delegates to reports service
|
|
1826
2253
|
*/
|
|
1827
|
-
async createReport(
|
|
1828
|
-
this.log("info", "Creating report:", reportId);
|
|
1829
|
-
return createReport(this,
|
|
2254
|
+
async createReport(options, timeout) {
|
|
2255
|
+
this.log("info", "Creating report:", options.reportId);
|
|
2256
|
+
return createReport(this, options, timeout);
|
|
1830
2257
|
}
|
|
1831
2258
|
/**
|
|
1832
2259
|
* Update an existing report
|
|
1833
2260
|
* Delegates to reports service
|
|
1834
2261
|
*/
|
|
1835
|
-
async updateReport(
|
|
1836
|
-
this.log("info", "Updating report:",
|
|
1837
|
-
return updateReport(this,
|
|
2262
|
+
async updateReport(options, timeout) {
|
|
2263
|
+
this.log("info", "Updating report:", options.id);
|
|
2264
|
+
return updateReport(this, options, timeout);
|
|
1838
2265
|
}
|
|
1839
2266
|
/**
|
|
1840
2267
|
* Delete a report
|
|
1841
2268
|
* Delegates to reports service
|
|
1842
2269
|
*/
|
|
1843
|
-
async deleteReport(
|
|
1844
|
-
this.log("info", "Deleting report:",
|
|
1845
|
-
return deleteReport(this,
|
|
2270
|
+
async deleteReport(id, timeout) {
|
|
2271
|
+
this.log("info", "Deleting report:", id);
|
|
2272
|
+
return deleteReport(this, id, timeout);
|
|
1846
2273
|
}
|
|
1847
2274
|
/**
|
|
1848
2275
|
* Get all reports
|
|
@@ -1856,9 +2283,67 @@ var SuperatomClient = class {
|
|
|
1856
2283
|
* Get a specific report by ID
|
|
1857
2284
|
* Delegates to reports service
|
|
1858
2285
|
*/
|
|
1859
|
-
async getReport(
|
|
1860
|
-
this.log("info", "Fetching report:",
|
|
1861
|
-
return getReport(this,
|
|
2286
|
+
async getReport(id, timeout) {
|
|
2287
|
+
this.log("info", "Fetching report:", id);
|
|
2288
|
+
return getReport(this, id, timeout);
|
|
2289
|
+
}
|
|
2290
|
+
/**
|
|
2291
|
+
* Query reports with filters
|
|
2292
|
+
* Delegates to reports service
|
|
2293
|
+
*/
|
|
2294
|
+
async queryReports(options, timeout) {
|
|
2295
|
+
this.log("info", "Querying reports with filters:", options?.filters);
|
|
2296
|
+
return queryReports(this, options, timeout);
|
|
2297
|
+
}
|
|
2298
|
+
// ==================== UI Management Methods ====================
|
|
2299
|
+
// These methods delegate to uis service for admin UI CRUD operations
|
|
2300
|
+
/**
|
|
2301
|
+
* Create a new UI
|
|
2302
|
+
* Delegates to uis service
|
|
2303
|
+
*/
|
|
2304
|
+
async createUI(options, timeout) {
|
|
2305
|
+
this.log("info", "Creating UI:", options.uiId);
|
|
2306
|
+
return createUI(this, options, timeout);
|
|
2307
|
+
}
|
|
2308
|
+
/**
|
|
2309
|
+
* Update an existing UI
|
|
2310
|
+
* Delegates to uis service
|
|
2311
|
+
*/
|
|
2312
|
+
async updateUI(options, timeout) {
|
|
2313
|
+
this.log("info", "Updating UI:", options.id);
|
|
2314
|
+
return updateUI(this, options, timeout);
|
|
2315
|
+
}
|
|
2316
|
+
/**
|
|
2317
|
+
* Delete a UI
|
|
2318
|
+
* Delegates to uis service
|
|
2319
|
+
*/
|
|
2320
|
+
async deleteUI(id, timeout) {
|
|
2321
|
+
this.log("info", "Deleting UI:", id);
|
|
2322
|
+
return deleteUI(this, id, timeout);
|
|
2323
|
+
}
|
|
2324
|
+
/**
|
|
2325
|
+
* Get all UIs
|
|
2326
|
+
* Delegates to uis service
|
|
2327
|
+
*/
|
|
2328
|
+
async getAllUIs(timeout) {
|
|
2329
|
+
this.log("info", "Fetching all UIs");
|
|
2330
|
+
return getAllUIs(this, timeout);
|
|
2331
|
+
}
|
|
2332
|
+
/**
|
|
2333
|
+
* Get a specific UI by ID
|
|
2334
|
+
* Delegates to uis service
|
|
2335
|
+
*/
|
|
2336
|
+
async getUI(id, timeout) {
|
|
2337
|
+
this.log("info", "Fetching UI:", id);
|
|
2338
|
+
return getUI(this, id, timeout);
|
|
2339
|
+
}
|
|
2340
|
+
/**
|
|
2341
|
+
* Query UIs with filters
|
|
2342
|
+
* Delegates to uis service
|
|
2343
|
+
*/
|
|
2344
|
+
async queryUIs(options, timeout) {
|
|
2345
|
+
this.log("info", "Querying UIs with filters:", options?.filters);
|
|
2346
|
+
return queryUIs(this, options, timeout);
|
|
1862
2347
|
}
|
|
1863
2348
|
/**
|
|
1864
2349
|
* Internal logging
|