@superatomai/sdk-web 0.0.11 → 0.0.13

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.d.ts CHANGED
@@ -75,7 +75,7 @@ declare const UIComponentSchema: z.ZodObject<{
75
75
  }, z.core.$strip>>;
76
76
  }, z.core.$strip>;
77
77
  type UIComponent = z.infer<typeof UIComponentSchema>;
78
- declare const DSLRendererPropsSchema$1: z.ZodObject<{
78
+ declare const DSLRendererPropsSchema$2: z.ZodObject<{
79
79
  dsl: z.ZodObject<{
80
80
  id: z.ZodString;
81
81
  name: z.ZodOptional<z.ZodString>;
@@ -108,9 +108,9 @@ declare const DSLRendererPropsSchema$1: z.ZodObject<{
108
108
  data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
109
109
  context: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
110
110
  }, z.core.$strip>;
111
- type DSLRendererProps$1 = z.infer<typeof DSLRendererPropsSchema$1>;
111
+ type DSLRendererProps$2 = z.infer<typeof DSLRendererPropsSchema$2>;
112
112
 
113
- declare const DSLRendererPropsSchema: z.ZodObject<{
113
+ declare const DSLRendererPropsSchema$1: z.ZodObject<{
114
114
  dsl: z.ZodObject<{
115
115
  id: z.ZodString;
116
116
  name: z.ZodOptional<z.ZodString>;
@@ -143,7 +143,7 @@ declare const DSLRendererPropsSchema: z.ZodObject<{
143
143
  data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
144
144
  context: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
145
145
  }, z.core.$strip>;
146
- type DSLRendererProps = z.infer<typeof DSLRendererPropsSchema>;
146
+ type DSLRendererProps$1 = z.infer<typeof DSLRendererPropsSchema$1>;
147
147
 
148
148
  /**
149
149
  * Message participant schema (from/to)
@@ -826,17 +826,90 @@ declare const ComponentsSendMessageSchema: z.ZodObject<{
826
826
  }, z.core.$strip>;
827
827
  }, z.core.$strip>;
828
828
  type ComponentsSendMessage = z.infer<typeof ComponentsSendMessageSchema>;
829
+ /**
830
+ * User query filters schema
831
+ * Synced with sdk-nodejs: UserQueryFiltersSchema
832
+ */
833
+ declare const UserQueryFiltersSchema: z.ZodObject<{
834
+ username: z.ZodOptional<z.ZodString>;
835
+ email: z.ZodOptional<z.ZodString>;
836
+ role: z.ZodOptional<z.ZodString>;
837
+ fullname: z.ZodOptional<z.ZodString>;
838
+ }, z.core.$strip>;
839
+ type UserQueryFilters = z.infer<typeof UserQueryFiltersSchema>;
840
+ /**
841
+ * Dashboard query filters schema
842
+ * Synced with sdk-nodejs: DashboardQueryFiltersSchema
843
+ */
844
+ declare const DashboardQueryFiltersSchema: z.ZodObject<{
845
+ dashboardId: z.ZodOptional<z.ZodString>;
846
+ projectId: z.ZodOptional<z.ZodString>;
847
+ createdBy: z.ZodOptional<z.ZodNumber>;
848
+ updatedBy: z.ZodOptional<z.ZodNumber>;
849
+ name: z.ZodOptional<z.ZodString>;
850
+ }, z.core.$strip>;
851
+ type DashboardQueryFilters = z.infer<typeof DashboardQueryFiltersSchema>;
852
+ /**
853
+ * Report query filters schema
854
+ * Synced with sdk-nodejs: ReportQueryFiltersSchema
855
+ */
856
+ declare const ReportQueryFiltersSchema: z.ZodObject<{
857
+ reportId: z.ZodOptional<z.ZodString>;
858
+ projectId: z.ZodOptional<z.ZodString>;
859
+ createdBy: z.ZodOptional<z.ZodNumber>;
860
+ updatedBy: z.ZodOptional<z.ZodNumber>;
861
+ name: z.ZodOptional<z.ZodString>;
862
+ }, z.core.$strip>;
863
+ type ReportQueryFilters = z.infer<typeof ReportQueryFiltersSchema>;
864
+ /**
865
+ * UI query filters schema
866
+ * Synced with sdk-nodejs: UIQueryFiltersSchema
867
+ */
868
+ declare const UIQueryFiltersSchema: z.ZodObject<{
869
+ uiId: z.ZodOptional<z.ZodString>;
870
+ projectId: z.ZodOptional<z.ZodString>;
871
+ createdBy: z.ZodOptional<z.ZodNumber>;
872
+ updatedBy: z.ZodOptional<z.ZodNumber>;
873
+ name: z.ZodOptional<z.ZodString>;
874
+ }, z.core.$strip>;
875
+ type UIQueryFilters = z.infer<typeof UIQueryFiltersSchema>;
876
+ /**
877
+ * DBUIBlock schema for database storage
878
+ * Synced with sdk-nodejs: DBUIBlockSchema (from conversation-saver.ts)
879
+ */
880
+ declare const DBUIBlockSchema: z.ZodObject<{
881
+ id: z.ZodString;
882
+ component: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>;
883
+ analysis: z.ZodNullable<z.ZodString>;
884
+ user_prompt: z.ZodString;
885
+ }, z.core.$strip>;
886
+ type DBUIBlock = z.infer<typeof DBUIBlockSchema>;
829
887
  /**
830
888
  * Bookmark data schema
831
889
  * Synced with sdk-nodejs: BookmarkDataSchema
832
890
  */
833
891
  declare const BookmarkDataSchema: z.ZodObject<{
834
892
  id: z.ZodOptional<z.ZodNumber>;
835
- uiblock: z.ZodAny;
893
+ uiblock: z.ZodObject<{
894
+ id: z.ZodString;
895
+ component: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>;
896
+ analysis: z.ZodNullable<z.ZodString>;
897
+ user_prompt: z.ZodString;
898
+ }, z.core.$strip>;
836
899
  created_at: z.ZodOptional<z.ZodString>;
837
900
  updated_at: z.ZodOptional<z.ZodString>;
838
901
  }, z.core.$strip>;
839
902
  type BookmarkData = z.infer<typeof BookmarkDataSchema>;
903
+ /**
904
+ * Bookmark query filters schema
905
+ * Synced with sdk-nodejs: BookmarkQueryFiltersSchema
906
+ */
907
+ declare const BookmarkQueryFiltersSchema: z.ZodObject<{
908
+ userId: z.ZodOptional<z.ZodNumber>;
909
+ threadId: z.ZodOptional<z.ZodString>;
910
+ name: z.ZodOptional<z.ZodString>;
911
+ }, z.core.$strip>;
912
+ type BookmarkQueryFilters = z.infer<typeof BookmarkQueryFiltersSchema>;
840
913
  /**
841
914
  * Client configuration schema
842
915
  */
@@ -1071,6 +1144,28 @@ declare function getUser(client: SuperatomClient, username: string, timeout?: nu
1071
1144
  user?: User;
1072
1145
  message?: string;
1073
1146
  }>;
1147
+ /**
1148
+ * Query users options
1149
+ */
1150
+ interface QueryUsersOptions {
1151
+ filters?: UserQueryFilters;
1152
+ limit?: number;
1153
+ sort?: 'ASC' | 'DESC';
1154
+ }
1155
+ /**
1156
+ * Query users with filters, limit, and sort
1157
+ * @param client - SuperatomClient instance
1158
+ * @param options - Query options with filters, limit, and sort
1159
+ * @param timeout - Request timeout in milliseconds
1160
+ * @returns Server response with list of users
1161
+ */
1162
+ declare function queryUsers(client: SuperatomClient, options?: QueryUsersOptions, timeout?: number): Promise<{
1163
+ success: boolean;
1164
+ error?: string;
1165
+ users?: User[];
1166
+ count?: number;
1167
+ message?: string;
1168
+ }>;
1074
1169
 
1075
1170
  /**
1076
1171
  * Dashboards Service
@@ -1081,51 +1176,89 @@ declare function getUser(client: SuperatomClient, username: string, timeout?: nu
1081
1176
  * Dashboard interface for response data
1082
1177
  */
1083
1178
  interface Dashboard {
1179
+ id?: number;
1084
1180
  dashboardId: string;
1085
- dashboard: DSLRendererProps$1;
1181
+ projectId?: string;
1182
+ name?: string;
1183
+ description?: string;
1184
+ dashboard?: DSLRendererProps$2;
1185
+ createdBy?: number;
1186
+ updatedBy?: number;
1187
+ createdAt?: string;
1188
+ updatedAt?: string;
1189
+ }
1190
+ /**
1191
+ * Create dashboard options
1192
+ */
1193
+ interface CreateDashboardOptions {
1194
+ dashboardId: string;
1195
+ projectId: string;
1196
+ name?: string;
1197
+ description?: string;
1198
+ createdBy?: number;
1199
+ dashboard?: DSLRendererProps$2;
1200
+ }
1201
+ /**
1202
+ * Update dashboard options
1203
+ */
1204
+ interface UpdateDashboardOptions {
1205
+ id: number;
1206
+ name?: string;
1207
+ description?: string;
1208
+ createdBy?: number;
1209
+ updatedBy?: number;
1210
+ dashboard?: DSLRendererProps$2;
1211
+ }
1212
+ /**
1213
+ * Query dashboards options
1214
+ */
1215
+ interface QueryDashboardsOptions {
1216
+ filters?: DashboardQueryFilters;
1217
+ limit?: number;
1218
+ sort?: 'ASC' | 'DESC';
1086
1219
  }
1087
1220
  /**
1088
1221
  * Create a new dashboard
1089
1222
  * @param client - SuperatomClient instance
1090
- * @param dashboardId - Unique dashboard ID
1091
- * @param dashboard - Dashboard DSL data
1223
+ * @param options - Dashboard creation options
1092
1224
  * @param timeout - Request timeout in milliseconds
1093
1225
  * @returns Server response with success status
1094
1226
  */
1095
- declare function createDashboard(client: SuperatomClient, dashboardId: string, dashboard: DSLRendererProps$1, timeout?: number): Promise<{
1227
+ declare function createDashboard(client: SuperatomClient, options: CreateDashboardOptions, timeout?: number): Promise<{
1096
1228
  success: boolean;
1097
1229
  error?: string;
1098
1230
  message?: string;
1231
+ id?: number;
1099
1232
  dashboardId?: string;
1100
- dashboard?: DSLRendererProps$1;
1233
+ dashboard?: DSLRendererProps$2;
1101
1234
  }>;
1102
1235
  /**
1103
1236
  * Update an existing dashboard
1104
1237
  * @param client - SuperatomClient instance
1105
- * @param dashboardId - Dashboard ID to update
1106
- * @param dashboard - Updated dashboard DSL data
1238
+ * @param options - Dashboard update options
1107
1239
  * @param timeout - Request timeout in milliseconds
1108
1240
  * @returns Server response with success status
1109
1241
  */
1110
- declare function updateDashboard(client: SuperatomClient, dashboardId: string, dashboard: DSLRendererProps$1, timeout?: number): Promise<{
1242
+ declare function updateDashboard(client: SuperatomClient, options: UpdateDashboardOptions, timeout?: number): Promise<{
1111
1243
  success: boolean;
1112
1244
  error?: string;
1113
1245
  message?: string;
1246
+ id?: number;
1114
1247
  dashboardId?: string;
1115
- dashboard?: DSLRendererProps$1;
1248
+ dashboard?: DSLRendererProps$2;
1116
1249
  }>;
1117
1250
  /**
1118
1251
  * Delete a dashboard
1119
1252
  * @param client - SuperatomClient instance
1120
- * @param dashboardId - Dashboard ID to delete
1253
+ * @param id - Dashboard ID (numeric) to delete
1121
1254
  * @param timeout - Request timeout in milliseconds
1122
1255
  * @returns Server response with success status
1123
1256
  */
1124
- declare function deleteDashboard(client: SuperatomClient, dashboardId: string, timeout?: number): Promise<{
1257
+ declare function deleteDashboard(client: SuperatomClient, id: number, timeout?: number): Promise<{
1125
1258
  success: boolean;
1126
1259
  error?: string;
1127
1260
  message?: string;
1128
- dashboardId?: string;
1261
+ id?: number;
1129
1262
  }>;
1130
1263
  /**
1131
1264
  * Get all dashboards
@@ -1143,15 +1276,30 @@ declare function getAllDashboards(client: SuperatomClient, timeout?: number): Pr
1143
1276
  /**
1144
1277
  * Get a specific dashboard by ID
1145
1278
  * @param client - SuperatomClient instance
1146
- * @param dashboardId - Dashboard ID to retrieve
1279
+ * @param id - Dashboard ID (numeric) to retrieve
1147
1280
  * @param timeout - Request timeout in milliseconds
1148
1281
  * @returns Server response with dashboard data
1149
1282
  */
1150
- declare function getDashboard(client: SuperatomClient, dashboardId: string, timeout?: number): Promise<{
1283
+ declare function getDashboard(client: SuperatomClient, id: number, timeout?: number): Promise<{
1151
1284
  success: boolean;
1152
1285
  error?: string;
1286
+ id?: number;
1153
1287
  dashboardId?: string;
1154
- dashboard?: DSLRendererProps$1;
1288
+ dashboard?: DSLRendererProps$2;
1289
+ message?: string;
1290
+ }>;
1291
+ /**
1292
+ * Query dashboards with filters, limit, and sort
1293
+ * @param client - SuperatomClient instance
1294
+ * @param options - Query options with filters, limit, and sort
1295
+ * @param timeout - Request timeout in milliseconds
1296
+ * @returns Server response with list of dashboards
1297
+ */
1298
+ declare function queryDashboards(client: SuperatomClient, options?: QueryDashboardsOptions, timeout?: number): Promise<{
1299
+ success: boolean;
1300
+ error?: string;
1301
+ dashboards?: Dashboard[];
1302
+ count?: number;
1155
1303
  message?: string;
1156
1304
  }>;
1157
1305
 
@@ -1164,51 +1312,89 @@ declare function getDashboard(client: SuperatomClient, dashboardId: string, time
1164
1312
  * Report interface for response data
1165
1313
  */
1166
1314
  interface Report {
1315
+ id?: number;
1167
1316
  reportId: string;
1168
- report: DSLRendererProps;
1317
+ projectId?: string;
1318
+ name?: string;
1319
+ description?: string;
1320
+ report?: DSLRendererProps$1;
1321
+ createdBy?: number;
1322
+ updatedBy?: number;
1323
+ createdAt?: string;
1324
+ updatedAt?: string;
1325
+ }
1326
+ /**
1327
+ * Create report options
1328
+ */
1329
+ interface CreateReportOptions {
1330
+ reportId: string;
1331
+ projectId: string;
1332
+ name?: string;
1333
+ description?: string;
1334
+ createdBy?: number;
1335
+ report?: DSLRendererProps$1;
1336
+ }
1337
+ /**
1338
+ * Update report options
1339
+ */
1340
+ interface UpdateReportOptions {
1341
+ id: number;
1342
+ name?: string;
1343
+ description?: string;
1344
+ createdBy?: number;
1345
+ updatedBy?: number;
1346
+ report?: DSLRendererProps$1;
1347
+ }
1348
+ /**
1349
+ * Query reports options
1350
+ */
1351
+ interface QueryReportsOptions {
1352
+ filters?: ReportQueryFilters;
1353
+ limit?: number;
1354
+ sort?: 'ASC' | 'DESC';
1169
1355
  }
1170
1356
  /**
1171
1357
  * Create a new report
1172
1358
  * @param client - SuperatomClient instance
1173
- * @param reportId - Unique report ID
1174
- * @param report - Report DSL data
1359
+ * @param options - Report creation options
1175
1360
  * @param timeout - Request timeout in milliseconds
1176
1361
  * @returns Server response with success status
1177
1362
  */
1178
- declare function createReport(client: SuperatomClient, reportId: string, report: DSLRendererProps, timeout?: number): Promise<{
1363
+ declare function createReport(client: SuperatomClient, options: CreateReportOptions, timeout?: number): Promise<{
1179
1364
  success: boolean;
1180
1365
  error?: string;
1181
1366
  message?: string;
1367
+ id?: number;
1182
1368
  reportId?: string;
1183
- report?: DSLRendererProps;
1369
+ report?: DSLRendererProps$1;
1184
1370
  }>;
1185
1371
  /**
1186
1372
  * Update an existing report
1187
1373
  * @param client - SuperatomClient instance
1188
- * @param reportId - Report ID to update
1189
- * @param report - Updated report DSL data
1374
+ * @param options - Report update options
1190
1375
  * @param timeout - Request timeout in milliseconds
1191
1376
  * @returns Server response with success status
1192
1377
  */
1193
- declare function updateReport(client: SuperatomClient, reportId: string, report: DSLRendererProps, timeout?: number): Promise<{
1378
+ declare function updateReport(client: SuperatomClient, options: UpdateReportOptions, timeout?: number): Promise<{
1194
1379
  success: boolean;
1195
1380
  error?: string;
1196
1381
  message?: string;
1382
+ id?: number;
1197
1383
  reportId?: string;
1198
- report?: DSLRendererProps;
1384
+ report?: DSLRendererProps$1;
1199
1385
  }>;
1200
1386
  /**
1201
1387
  * Delete a report
1202
1388
  * @param client - SuperatomClient instance
1203
- * @param reportId - Report ID to delete
1389
+ * @param id - Report ID (numeric) to delete
1204
1390
  * @param timeout - Request timeout in milliseconds
1205
1391
  * @returns Server response with success status
1206
1392
  */
1207
- declare function deleteReport(client: SuperatomClient, reportId: string, timeout?: number): Promise<{
1393
+ declare function deleteReport(client: SuperatomClient, id: number, timeout?: number): Promise<{
1208
1394
  success: boolean;
1209
1395
  error?: string;
1210
1396
  message?: string;
1211
- reportId?: string;
1397
+ id?: number;
1212
1398
  }>;
1213
1399
  /**
1214
1400
  * Get all reports
@@ -1226,15 +1412,30 @@ declare function getAllReports(client: SuperatomClient, timeout?: number): Promi
1226
1412
  /**
1227
1413
  * Get a specific report by ID
1228
1414
  * @param client - SuperatomClient instance
1229
- * @param reportId - Report ID to retrieve
1415
+ * @param id - Report ID (numeric) to retrieve
1230
1416
  * @param timeout - Request timeout in milliseconds
1231
1417
  * @returns Server response with report data
1232
1418
  */
1233
- declare function getReport(client: SuperatomClient, reportId: string, timeout?: number): Promise<{
1419
+ declare function getReport(client: SuperatomClient, id: number, timeout?: number): Promise<{
1234
1420
  success: boolean;
1235
1421
  error?: string;
1422
+ id?: number;
1236
1423
  reportId?: string;
1237
- report?: DSLRendererProps;
1424
+ report?: DSLRendererProps$1;
1425
+ message?: string;
1426
+ }>;
1427
+ /**
1428
+ * Query reports with filters, limit, and sort
1429
+ * @param client - SuperatomClient instance
1430
+ * @param options - Query options with filters, limit, and sort
1431
+ * @param timeout - Request timeout in milliseconds
1432
+ * @returns Server response with list of reports
1433
+ */
1434
+ declare function queryReports(client: SuperatomClient, options?: QueryReportsOptions, timeout?: number): Promise<{
1435
+ success: boolean;
1436
+ error?: string;
1437
+ reports?: Report[];
1438
+ count?: number;
1238
1439
  message?: string;
1239
1440
  }>;
1240
1441
 
@@ -1250,34 +1451,53 @@ interface Bookmark {
1250
1451
  id?: number;
1251
1452
  userId?: number;
1252
1453
  threadId?: string;
1253
- uiblock: any;
1454
+ name?: string;
1455
+ description?: string;
1456
+ uiblock: DBUIBlock;
1254
1457
  created_at?: string;
1255
1458
  updated_at?: string;
1256
1459
  }
1460
+ /**
1461
+ * Create bookmark options
1462
+ */
1463
+ interface CreateBookmarkOptions {
1464
+ userId: number;
1465
+ uiblock: DBUIBlock;
1466
+ threadId?: string;
1467
+ name?: string;
1468
+ description?: string;
1469
+ }
1257
1470
  /**
1258
1471
  * Create a new bookmark
1259
1472
  * @param client - SuperatomClient instance
1260
- * @param userId - User ID (required)
1261
- * @param uiblock - UIBlock JSON data
1262
- * @param threadId - Thread ID (optional)
1473
+ * @param options - Bookmark creation options
1263
1474
  * @param timeout - Request timeout in milliseconds
1264
1475
  * @returns Server response with success status
1265
1476
  */
1266
- declare function createBookmark(client: SuperatomClient, userId: number, uiblock: any, threadId?: string, timeout?: number): Promise<{
1477
+ declare function createBookmark(client: SuperatomClient, options: CreateBookmarkOptions, timeout?: number): Promise<{
1267
1478
  success: boolean;
1268
1479
  error?: string;
1269
1480
  message?: string;
1270
1481
  data?: BookmarkData;
1271
1482
  }>;
1483
+ /**
1484
+ * Update bookmark options
1485
+ */
1486
+ interface UpdateBookmarkOptions {
1487
+ id: number;
1488
+ uiblock?: DBUIBlock;
1489
+ threadId?: string;
1490
+ name?: string;
1491
+ description?: string;
1492
+ }
1272
1493
  /**
1273
1494
  * Update an existing bookmark
1274
1495
  * @param client - SuperatomClient instance
1275
- * @param id - Bookmark ID to update
1276
- * @param uiblock - Updated UIBlock JSON data
1496
+ * @param options - Bookmark update options
1277
1497
  * @param timeout - Request timeout in milliseconds
1278
1498
  * @returns Server response with success status
1279
1499
  */
1280
- declare function updateBookmark(client: SuperatomClient, id: number, uiblock: any, timeout?: number): Promise<{
1500
+ declare function updateBookmark(client: SuperatomClient, options: UpdateBookmarkOptions, timeout?: number): Promise<{
1281
1501
  success: boolean;
1282
1502
  error?: string;
1283
1503
  message?: string;
@@ -1323,42 +1543,206 @@ declare function getBookmark(client: SuperatomClient, id: number, timeout?: numb
1323
1543
  message?: string;
1324
1544
  }>;
1325
1545
  /**
1326
- * Get bookmarks by user ID (and optionally by thread ID)
1546
+ * Query bookmarks options
1547
+ */
1548
+ interface QueryBookmarksOptions {
1549
+ filters?: BookmarkQueryFilters;
1550
+ limit?: number;
1551
+ sort?: 'ASC' | 'DESC';
1552
+ }
1553
+ /**
1554
+ * Query bookmarks with filters, limit, and sort
1327
1555
  * @param client - SuperatomClient instance
1328
- * @param userId - User ID to filter by
1329
- * @param threadId - Optional thread ID to filter by
1556
+ * @param options - Query options with filters, limit, and sort
1330
1557
  * @param timeout - Request timeout in milliseconds
1331
1558
  * @returns Server response with list of bookmarks
1332
1559
  */
1333
- declare function getBookmarksByUser(client: SuperatomClient, userId: number, threadId?: string, timeout?: number): Promise<{
1560
+ declare function queryBookmarks(client: SuperatomClient, options?: QueryBookmarksOptions, timeout?: number): Promise<{
1334
1561
  success: boolean;
1335
1562
  error?: string;
1336
1563
  data?: BookmarkData[];
1337
1564
  count?: number;
1338
1565
  message?: string;
1339
1566
  }>;
1567
+
1568
+ declare function getActions(client: SuperatomClient, options: {
1569
+ SA_RUNTIME?: Record<string, unknown>;
1570
+ timeout?: number;
1571
+ }): Promise<{
1572
+ success: boolean;
1573
+ data?: unknown;
1574
+ error?: string;
1575
+ }>;
1576
+
1577
+ declare const DSLRendererPropsSchema: z.ZodObject<{
1578
+ dsl: z.ZodObject<{
1579
+ id: z.ZodString;
1580
+ name: z.ZodOptional<z.ZodString>;
1581
+ props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1582
+ states: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1583
+ methods: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1584
+ fn: z.ZodString;
1585
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1586
+ }, z.core.$strip>>>;
1587
+ effects: z.ZodOptional<z.ZodArray<z.ZodObject<{
1588
+ fn: z.ZodString;
1589
+ deps: z.ZodOptional<z.ZodArray<z.ZodString>>;
1590
+ }, z.core.$strip>>>;
1591
+ data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1592
+ render: z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>;
1593
+ query: z.ZodOptional<z.ZodObject<{
1594
+ graphql: z.ZodOptional<z.ZodString>;
1595
+ sql: z.ZodOptional<z.ZodString>;
1596
+ variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1597
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1598
+ key: z.ZodOptional<z.ZodString>;
1599
+ refetchPolicy: z.ZodOptional<z.ZodEnum<{
1600
+ "cache-first": "cache-first";
1601
+ "network-only": "network-only";
1602
+ "cache-and-network": "cache-and-network";
1603
+ }>>;
1604
+ dependencies: z.ZodOptional<z.ZodArray<z.ZodString>>;
1605
+ }, z.core.$strip>>;
1606
+ }, z.core.$strip>;
1607
+ data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1608
+ context: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1609
+ }, z.core.$strip>;
1610
+ type DSLRendererProps = z.infer<typeof DSLRendererPropsSchema>;
1611
+
1612
+ /**
1613
+ * UIs Service
1614
+ * Handles UIS message for UI CRUD operations
1615
+ */
1616
+
1617
+ /**
1618
+ * UI interface for response data
1619
+ */
1620
+ interface UI {
1621
+ id?: number;
1622
+ uiId: string;
1623
+ projectId?: string;
1624
+ name?: string;
1625
+ description?: string;
1626
+ ui?: DSLRendererProps;
1627
+ createdBy?: number;
1628
+ updatedBy?: number;
1629
+ createdAt?: string;
1630
+ updatedAt?: string;
1631
+ }
1632
+ /**
1633
+ * Create UI options
1634
+ */
1635
+ interface CreateUIOptions {
1636
+ uiId: string;
1637
+ projectId: string;
1638
+ name?: string;
1639
+ description?: string;
1640
+ createdBy?: number;
1641
+ ui?: DSLRendererProps;
1642
+ }
1643
+ /**
1644
+ * Update UI options
1645
+ */
1646
+ interface UpdateUIOptions {
1647
+ id: number;
1648
+ name?: string;
1649
+ description?: string;
1650
+ createdBy?: number;
1651
+ updatedBy?: number;
1652
+ ui?: DSLRendererProps;
1653
+ }
1654
+ /**
1655
+ * Query UIs options
1656
+ */
1657
+ interface QueryUIsOptions {
1658
+ filters?: UIQueryFilters;
1659
+ limit?: number;
1660
+ sort?: 'ASC' | 'DESC';
1661
+ }
1340
1662
  /**
1341
- * Get bookmarks by thread ID
1663
+ * Create a new UI
1342
1664
  * @param client - SuperatomClient instance
1343
- * @param threadId - Thread ID to filter by
1665
+ * @param options - UI creation options
1344
1666
  * @param timeout - Request timeout in milliseconds
1345
- * @returns Server response with list of bookmarks
1667
+ * @returns Server response with success status
1346
1668
  */
1347
- declare function getBookmarksByThread(client: SuperatomClient, threadId: string, timeout?: number): Promise<{
1669
+ declare function createUI(client: SuperatomClient, options: CreateUIOptions, timeout?: number): Promise<{
1348
1670
  success: boolean;
1349
1671
  error?: string;
1350
- data?: BookmarkData[];
1672
+ message?: string;
1673
+ id?: number;
1674
+ uiId?: string;
1675
+ ui?: DSLRendererProps;
1676
+ }>;
1677
+ /**
1678
+ * Update an existing UI
1679
+ * @param client - SuperatomClient instance
1680
+ * @param options - UI update options
1681
+ * @param timeout - Request timeout in milliseconds
1682
+ * @returns Server response with success status
1683
+ */
1684
+ declare function updateUI(client: SuperatomClient, options: UpdateUIOptions, timeout?: number): Promise<{
1685
+ success: boolean;
1686
+ error?: string;
1687
+ message?: string;
1688
+ id?: number;
1689
+ uiId?: string;
1690
+ ui?: DSLRendererProps;
1691
+ }>;
1692
+ /**
1693
+ * Delete a UI
1694
+ * @param client - SuperatomClient instance
1695
+ * @param id - UI ID (numeric) to delete
1696
+ * @param timeout - Request timeout in milliseconds
1697
+ * @returns Server response with success status
1698
+ */
1699
+ declare function deleteUI(client: SuperatomClient, id: number, timeout?: number): Promise<{
1700
+ success: boolean;
1701
+ error?: string;
1702
+ message?: string;
1703
+ id?: number;
1704
+ }>;
1705
+ /**
1706
+ * Get all UIs
1707
+ * @param client - SuperatomClient instance
1708
+ * @param timeout - Request timeout in milliseconds
1709
+ * @returns Server response with list of UIs
1710
+ */
1711
+ declare function getAllUIs(client: SuperatomClient, timeout?: number): Promise<{
1712
+ success: boolean;
1713
+ error?: string;
1714
+ uis?: UI[];
1351
1715
  count?: number;
1352
1716
  message?: string;
1353
1717
  }>;
1354
-
1355
- declare function getActions(client: SuperatomClient, options: {
1356
- SA_RUNTIME?: Record<string, unknown>;
1357
- timeout?: number;
1358
- }): Promise<{
1718
+ /**
1719
+ * Get a specific UI by ID
1720
+ * @param client - SuperatomClient instance
1721
+ * @param id - UI ID (numeric) to retrieve
1722
+ * @param timeout - Request timeout in milliseconds
1723
+ * @returns Server response with UI data
1724
+ */
1725
+ declare function getUI(client: SuperatomClient, id: number, timeout?: number): Promise<{
1726
+ success: boolean;
1727
+ error?: string;
1728
+ id?: number;
1729
+ uiId?: string;
1730
+ ui?: DSLRendererProps;
1731
+ message?: string;
1732
+ }>;
1733
+ /**
1734
+ * Query UIs with filters, limit, and sort
1735
+ * @param client - SuperatomClient instance
1736
+ * @param options - Query options with filters, limit, and sort
1737
+ * @param timeout - Request timeout in milliseconds
1738
+ * @returns Server response with list of UIs
1739
+ */
1740
+ declare function queryUIs(client: SuperatomClient, options?: QueryUIsOptions, timeout?: number): Promise<{
1359
1741
  success: boolean;
1360
- data?: unknown;
1361
1742
  error?: string;
1743
+ uis?: UI[];
1744
+ count?: number;
1745
+ message?: string;
1362
1746
  }>;
1363
1747
 
1364
1748
  /**
@@ -1369,39 +1753,60 @@ declare function getActions(client: SuperatomClient, options: {
1369
1753
  type index_Binding = Binding;
1370
1754
  declare const index_BindingSchema: typeof BindingSchema;
1371
1755
  type index_Bookmark = Bookmark;
1756
+ type index_CreateBookmarkOptions = CreateBookmarkOptions;
1757
+ type index_CreateDashboardOptions = CreateDashboardOptions;
1758
+ type index_CreateReportOptions = CreateReportOptions;
1759
+ type index_CreateUIOptions = CreateUIOptions;
1372
1760
  type index_Dashboard = Dashboard;
1373
1761
  type index_Expression = Expression;
1374
1762
  declare const index_ExpressionSchema: typeof ExpressionSchema;
1375
1763
  type index_ForDirective = ForDirective;
1376
1764
  declare const index_ForDirectiveSchema: typeof ForDirectiveSchema;
1765
+ type index_QueryBookmarksOptions = QueryBookmarksOptions;
1766
+ type index_QueryDashboardsOptions = QueryDashboardsOptions;
1767
+ type index_QueryReportsOptions = QueryReportsOptions;
1377
1768
  type index_QuerySpec = QuerySpec;
1378
1769
  declare const index_QuerySpecSchema: typeof QuerySpecSchema;
1770
+ type index_QueryUIsOptions = QueryUIsOptions;
1771
+ type index_QueryUsersOptions = QueryUsersOptions;
1379
1772
  type index_Report = Report;
1773
+ type index_UI = UI;
1380
1774
  type index_UIComponent = UIComponent;
1381
1775
  declare const index_UIComponentSchema: typeof UIComponentSchema;
1382
1776
  type index_UIElement = UIElement;
1383
1777
  declare const index_UIElementSchema: typeof UIElementSchema;
1778
+ type index_UpdateBookmarkOptions = UpdateBookmarkOptions;
1779
+ type index_UpdateDashboardOptions = UpdateDashboardOptions;
1780
+ type index_UpdateReportOptions = UpdateReportOptions;
1781
+ type index_UpdateUIOptions = UpdateUIOptions;
1384
1782
  type index_User = User;
1385
1783
  declare const index_createBookmark: typeof createBookmark;
1386
1784
  declare const index_createDashboard: typeof createDashboard;
1387
1785
  declare const index_createReport: typeof createReport;
1786
+ declare const index_createUI: typeof createUI;
1388
1787
  declare const index_createUser: typeof createUser;
1389
1788
  declare const index_deleteBookmark: typeof deleteBookmark;
1390
1789
  declare const index_deleteDashboard: typeof deleteDashboard;
1391
1790
  declare const index_deleteReport: typeof deleteReport;
1791
+ declare const index_deleteUI: typeof deleteUI;
1392
1792
  declare const index_deleteUser: typeof deleteUser;
1393
1793
  declare const index_getActions: typeof getActions;
1394
1794
  declare const index_getAllBookmarks: typeof getAllBookmarks;
1395
1795
  declare const index_getAllDashboards: typeof getAllDashboards;
1396
1796
  declare const index_getAllReports: typeof getAllReports;
1797
+ declare const index_getAllUIs: typeof getAllUIs;
1397
1798
  declare const index_getAllUsers: typeof getAllUsers;
1398
1799
  declare const index_getBookmark: typeof getBookmark;
1399
- declare const index_getBookmarksByThread: typeof getBookmarksByThread;
1400
- declare const index_getBookmarksByUser: typeof getBookmarksByUser;
1401
1800
  declare const index_getComponentSuggestions: typeof getComponentSuggestions;
1402
1801
  declare const index_getDashboard: typeof getDashboard;
1403
1802
  declare const index_getReport: typeof getReport;
1803
+ declare const index_getUI: typeof getUI;
1404
1804
  declare const index_getUser: typeof getUser;
1805
+ declare const index_queryBookmarks: typeof queryBookmarks;
1806
+ declare const index_queryDashboards: typeof queryDashboards;
1807
+ declare const index_queryReports: typeof queryReports;
1808
+ declare const index_queryUIs: typeof queryUIs;
1809
+ declare const index_queryUsers: typeof queryUsers;
1405
1810
  declare const index_requestBundle: typeof requestBundle;
1406
1811
  declare const index_requestData: typeof requestData;
1407
1812
  declare const index_sendAuthLoginRequest: typeof sendAuthLoginRequest;
@@ -1412,9 +1817,10 @@ declare const index_sendUserPromptSuggestionsRequest: typeof sendUserPromptSugge
1412
1817
  declare const index_updateBookmark: typeof updateBookmark;
1413
1818
  declare const index_updateDashboard: typeof updateDashboard;
1414
1819
  declare const index_updateReport: typeof updateReport;
1820
+ declare const index_updateUI: typeof updateUI;
1415
1821
  declare const index_updateUser: typeof updateUser;
1416
1822
  declare namespace index {
1417
- export { type index_Binding as Binding, index_BindingSchema as BindingSchema, type index_Bookmark as Bookmark, type DSLRendererProps$1 as DSLRendererProps, DSLRendererPropsSchema$1 as DSLRendererPropsSchema, type index_Dashboard as Dashboard, type index_Expression as Expression, index_ExpressionSchema as ExpressionSchema, type index_ForDirective as ForDirective, index_ForDirectiveSchema as ForDirectiveSchema, type index_QuerySpec as QuerySpec, index_QuerySpecSchema as QuerySpecSchema, type index_Report as Report, type DSLRendererProps as ReportDSLRendererProps, type index_UIComponent as UIComponent, index_UIComponentSchema as UIComponentSchema, type index_UIElement as UIElement, index_UIElementSchema as UIElementSchema, type index_User as User, index_createBookmark as createBookmark, index_createDashboard as createDashboard, index_createReport as createReport, index_createUser as createUser, index_deleteBookmark as deleteBookmark, index_deleteDashboard as deleteDashboard, index_deleteReport as deleteReport, index_deleteUser as deleteUser, index_getActions as getActions, index_getAllBookmarks as getAllBookmarks, index_getAllDashboards as getAllDashboards, index_getAllReports as getAllReports, index_getAllUsers as getAllUsers, index_getBookmark as getBookmark, index_getBookmarksByThread as getBookmarksByThread, index_getBookmarksByUser as getBookmarksByUser, index_getComponentSuggestions as getComponentSuggestions, index_getDashboard as getDashboard, index_getReport as getReport, index_getUser as getUser, index_requestBundle as requestBundle, index_requestData as requestData, index_sendAuthLoginRequest as sendAuthLoginRequest, index_sendAuthVerifyRequest as sendAuthVerifyRequest, index_sendComponents as sendComponents, index_sendUserPromptRequest as sendUserPromptRequest, index_sendUserPromptSuggestionsRequest as sendUserPromptSuggestionsRequest, index_updateBookmark as updateBookmark, index_updateDashboard as updateDashboard, index_updateReport as updateReport, index_updateUser as updateUser };
1823
+ export { type index_Binding as Binding, index_BindingSchema as BindingSchema, type index_Bookmark as Bookmark, type index_CreateBookmarkOptions as CreateBookmarkOptions, type index_CreateDashboardOptions as CreateDashboardOptions, type index_CreateReportOptions as CreateReportOptions, type index_CreateUIOptions as CreateUIOptions, type DSLRendererProps$2 as DSLRendererProps, DSLRendererPropsSchema$2 as DSLRendererPropsSchema, type index_Dashboard as Dashboard, type index_Expression as Expression, index_ExpressionSchema as ExpressionSchema, type index_ForDirective as ForDirective, index_ForDirectiveSchema as ForDirectiveSchema, type index_QueryBookmarksOptions as QueryBookmarksOptions, type index_QueryDashboardsOptions as QueryDashboardsOptions, type index_QueryReportsOptions as QueryReportsOptions, type index_QuerySpec as QuerySpec, index_QuerySpecSchema as QuerySpecSchema, type index_QueryUIsOptions as QueryUIsOptions, type index_QueryUsersOptions as QueryUsersOptions, type index_Report as Report, type DSLRendererProps$1 as ReportDSLRendererProps, type index_UI as UI, type index_UIComponent as UIComponent, index_UIComponentSchema as UIComponentSchema, type DSLRendererProps as UIDSLRendererProps, type index_UIElement as UIElement, index_UIElementSchema as UIElementSchema, type index_UpdateBookmarkOptions as UpdateBookmarkOptions, type index_UpdateDashboardOptions as UpdateDashboardOptions, type index_UpdateReportOptions as UpdateReportOptions, type index_UpdateUIOptions as UpdateUIOptions, type index_User as User, index_createBookmark as createBookmark, index_createDashboard as createDashboard, index_createReport as createReport, index_createUI as createUI, index_createUser as createUser, index_deleteBookmark as deleteBookmark, index_deleteDashboard as deleteDashboard, index_deleteReport as deleteReport, index_deleteUI as deleteUI, index_deleteUser as deleteUser, index_getActions as getActions, index_getAllBookmarks as getAllBookmarks, index_getAllDashboards as getAllDashboards, index_getAllReports as getAllReports, index_getAllUIs as getAllUIs, index_getAllUsers as getAllUsers, index_getBookmark as getBookmark, index_getComponentSuggestions as getComponentSuggestions, index_getDashboard as getDashboard, index_getReport as getReport, index_getUI as getUI, index_getUser as getUser, index_queryBookmarks as queryBookmarks, index_queryDashboards as queryDashboards, index_queryReports as queryReports, index_queryUIs as queryUIs, index_queryUsers as queryUsers, index_requestBundle as requestBundle, index_requestData as requestData, index_sendAuthLoginRequest as sendAuthLoginRequest, index_sendAuthVerifyRequest as sendAuthVerifyRequest, index_sendComponents as sendComponents, index_sendUserPromptRequest as sendUserPromptRequest, index_sendUserPromptSuggestionsRequest as sendUserPromptSuggestionsRequest, index_updateBookmark as updateBookmark, index_updateDashboard as updateDashboard, index_updateReport as updateReport, index_updateUI as updateUI, index_updateUser as updateUser };
1418
1824
  }
1419
1825
 
1420
1826
  type MessageHandler = (message: Message) => void;
@@ -1668,37 +2074,49 @@ declare class SuperatomClient {
1668
2074
  user?: User;
1669
2075
  message?: string;
1670
2076
  }>;
2077
+ /**
2078
+ * Query users with filters, limit, and sort
2079
+ * Delegates to users service
2080
+ */
2081
+ queryUsers(options?: QueryUsersOptions, timeout?: number): Promise<{
2082
+ success: boolean;
2083
+ error?: string;
2084
+ users?: User[];
2085
+ count?: number;
2086
+ message?: string;
2087
+ }>;
1671
2088
  /**
1672
2089
  * Create a new dashboard
1673
2090
  * Delegates to dashboards service
1674
2091
  */
1675
- createDashboard(dashboardId: string, dashboard: DSLRendererProps$1, timeout?: number): Promise<{
2092
+ createDashboard(options: CreateDashboardOptions, timeout?: number): Promise<{
1676
2093
  success: boolean;
1677
2094
  error?: string;
1678
2095
  message?: string;
1679
2096
  dashboardId?: string;
1680
- dashboard?: DSLRendererProps$1;
2097
+ dashboard?: DSLRendererProps$2;
1681
2098
  }>;
1682
2099
  /**
1683
2100
  * Update an existing dashboard
1684
2101
  * Delegates to dashboards service
1685
2102
  */
1686
- updateDashboard(dashboardId: string, dashboard: DSLRendererProps$1, timeout?: number): Promise<{
2103
+ updateDashboard(options: UpdateDashboardOptions, timeout?: number): Promise<{
1687
2104
  success: boolean;
1688
2105
  error?: string;
1689
2106
  message?: string;
2107
+ id?: number;
1690
2108
  dashboardId?: string;
1691
- dashboard?: DSLRendererProps$1;
2109
+ dashboard?: DSLRendererProps$2;
1692
2110
  }>;
1693
2111
  /**
1694
2112
  * Delete a dashboard
1695
2113
  * Delegates to dashboards service
1696
2114
  */
1697
- deleteDashboard(dashboardId: string, timeout?: number): Promise<{
2115
+ deleteDashboard(id: number, timeout?: number): Promise<{
1698
2116
  success: boolean;
1699
2117
  error?: string;
1700
2118
  message?: string;
1701
- dashboardId?: string;
2119
+ id?: number;
1702
2120
  }>;
1703
2121
  /**
1704
2122
  * Get all dashboards
@@ -1715,18 +2133,30 @@ declare class SuperatomClient {
1715
2133
  * Get a specific dashboard by ID
1716
2134
  * Delegates to dashboards service
1717
2135
  */
1718
- getDashboard(dashboardId: string, timeout?: number): Promise<{
2136
+ getDashboard(id: number, timeout?: number): Promise<{
1719
2137
  success: boolean;
1720
2138
  error?: string;
2139
+ id?: number;
1721
2140
  dashboardId?: string;
1722
- dashboard?: DSLRendererProps$1;
2141
+ dashboard?: DSLRendererProps$2;
2142
+ message?: string;
2143
+ }>;
2144
+ /**
2145
+ * Query dashboards with filters
2146
+ * Delegates to dashboards service
2147
+ */
2148
+ queryDashboards(options?: QueryDashboardsOptions, timeout?: number): Promise<{
2149
+ success: boolean;
2150
+ error?: string;
2151
+ dashboards?: Dashboard[];
2152
+ count?: number;
1723
2153
  message?: string;
1724
2154
  }>;
1725
2155
  /**
1726
2156
  * Create a new bookmark
1727
2157
  * Delegates to bookmarks service
1728
2158
  */
1729
- createBookmark(userId: number, uiblock: any, threadId?: string, timeout?: number): Promise<{
2159
+ createBookmark(options: CreateBookmarkOptions, timeout?: number): Promise<{
1730
2160
  success: boolean;
1731
2161
  error?: string;
1732
2162
  message?: string;
@@ -1736,7 +2166,7 @@ declare class SuperatomClient {
1736
2166
  * Update an existing bookmark
1737
2167
  * Delegates to bookmarks service
1738
2168
  */
1739
- updateBookmark(id: number, uiblock: any, timeout?: number): Promise<{
2169
+ updateBookmark(options: UpdateBookmarkOptions, timeout?: number): Promise<{
1740
2170
  success: boolean;
1741
2171
  error?: string;
1742
2172
  message?: string;
@@ -1774,21 +2204,10 @@ declare class SuperatomClient {
1774
2204
  message?: string;
1775
2205
  }>;
1776
2206
  /**
1777
- * Get bookmarks by user ID (and optionally by thread ID)
1778
- * Delegates to bookmarks service
1779
- */
1780
- getBookmarksByUser(userId: number, threadId?: string, timeout?: number): Promise<{
1781
- success: boolean;
1782
- error?: string;
1783
- data?: Bookmark[];
1784
- count?: number;
1785
- message?: string;
1786
- }>;
1787
- /**
1788
- * Get bookmarks by thread ID
2207
+ * Query bookmarks with filters, limit, and sort
1789
2208
  * Delegates to bookmarks service
1790
2209
  */
1791
- getBookmarksByThread(threadId: string, timeout?: number): Promise<{
2210
+ queryBookmarks(options?: QueryBookmarksOptions, timeout?: number): Promise<{
1792
2211
  success: boolean;
1793
2212
  error?: string;
1794
2213
  data?: Bookmark[];
@@ -1799,33 +2218,34 @@ declare class SuperatomClient {
1799
2218
  * Create a new report
1800
2219
  * Delegates to reports service
1801
2220
  */
1802
- createReport(reportId: string, report: DSLRendererProps, timeout?: number): Promise<{
2221
+ createReport(options: CreateReportOptions, timeout?: number): Promise<{
1803
2222
  success: boolean;
1804
2223
  error?: string;
1805
2224
  message?: string;
1806
2225
  reportId?: string;
1807
- report?: DSLRendererProps;
2226
+ report?: DSLRendererProps$1;
1808
2227
  }>;
1809
2228
  /**
1810
2229
  * Update an existing report
1811
2230
  * Delegates to reports service
1812
2231
  */
1813
- updateReport(reportId: string, report: DSLRendererProps, timeout?: number): Promise<{
2232
+ updateReport(options: UpdateReportOptions, timeout?: number): Promise<{
1814
2233
  success: boolean;
1815
2234
  error?: string;
1816
2235
  message?: string;
2236
+ id?: number;
1817
2237
  reportId?: string;
1818
- report?: DSLRendererProps;
2238
+ report?: DSLRendererProps$1;
1819
2239
  }>;
1820
2240
  /**
1821
2241
  * Delete a report
1822
2242
  * Delegates to reports service
1823
2243
  */
1824
- deleteReport(reportId: string, timeout?: number): Promise<{
2244
+ deleteReport(id: number, timeout?: number): Promise<{
1825
2245
  success: boolean;
1826
2246
  error?: string;
1827
2247
  message?: string;
1828
- reportId?: string;
2248
+ id?: number;
1829
2249
  }>;
1830
2250
  /**
1831
2251
  * Get all reports
@@ -1842,11 +2262,91 @@ declare class SuperatomClient {
1842
2262
  * Get a specific report by ID
1843
2263
  * Delegates to reports service
1844
2264
  */
1845
- getReport(reportId: string, timeout?: number): Promise<{
2265
+ getReport(id: number, timeout?: number): Promise<{
1846
2266
  success: boolean;
1847
2267
  error?: string;
2268
+ id?: number;
1848
2269
  reportId?: string;
1849
- report?: DSLRendererProps;
2270
+ report?: DSLRendererProps$1;
2271
+ message?: string;
2272
+ }>;
2273
+ /**
2274
+ * Query reports with filters
2275
+ * Delegates to reports service
2276
+ */
2277
+ queryReports(options?: QueryReportsOptions, timeout?: number): Promise<{
2278
+ success: boolean;
2279
+ error?: string;
2280
+ reports?: Report[];
2281
+ count?: number;
2282
+ message?: string;
2283
+ }>;
2284
+ /**
2285
+ * Create a new UI
2286
+ * Delegates to uis service
2287
+ */
2288
+ createUI(options: CreateUIOptions, timeout?: number): Promise<{
2289
+ success: boolean;
2290
+ error?: string;
2291
+ message?: string;
2292
+ id?: number;
2293
+ uiId?: string;
2294
+ ui?: DSLRendererProps$2;
2295
+ }>;
2296
+ /**
2297
+ * Update an existing UI
2298
+ * Delegates to uis service
2299
+ */
2300
+ updateUI(options: UpdateUIOptions, timeout?: number): Promise<{
2301
+ success: boolean;
2302
+ error?: string;
2303
+ message?: string;
2304
+ id?: number;
2305
+ uiId?: string;
2306
+ ui?: DSLRendererProps$2;
2307
+ }>;
2308
+ /**
2309
+ * Delete a UI
2310
+ * Delegates to uis service
2311
+ */
2312
+ deleteUI(id: number, timeout?: number): Promise<{
2313
+ success: boolean;
2314
+ error?: string;
2315
+ message?: string;
2316
+ id?: number;
2317
+ }>;
2318
+ /**
2319
+ * Get all UIs
2320
+ * Delegates to uis service
2321
+ */
2322
+ getAllUIs(timeout?: number): Promise<{
2323
+ success: boolean;
2324
+ error?: string;
2325
+ uis?: UI[];
2326
+ count?: number;
2327
+ message?: string;
2328
+ }>;
2329
+ /**
2330
+ * Get a specific UI by ID
2331
+ * Delegates to uis service
2332
+ */
2333
+ getUI(id: number, timeout?: number): Promise<{
2334
+ success: boolean;
2335
+ error?: string;
2336
+ id?: number;
2337
+ uiId?: string;
2338
+ ui?: DSLRendererProps$2;
2339
+ message?: string;
2340
+ }>;
2341
+ /**
2342
+ * Query UIs with filters
2343
+ * Delegates to uis service
2344
+ */
2345
+ queryUIs(options?: QueryUIsOptions, timeout?: number): Promise<{
2346
+ success: boolean;
2347
+ error?: string;
2348
+ uis?: UI[];
2349
+ count?: number;
1850
2350
  message?: string;
1851
2351
  }>;
1852
2352
  /**