@superatomai/sdk-node 0.0.85-dsp → 0.0.86-dsp

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.mts CHANGED
@@ -1366,44 +1366,20 @@ declare const DSLRendererPropsSchema$1: z.ZodObject<{
1366
1366
  methods: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1367
1367
  fn: z.ZodString;
1368
1368
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1369
- }, "strip", z.ZodTypeAny, {
1370
- fn: string;
1371
- params?: Record<string, any> | undefined;
1372
- }, {
1373
- fn: string;
1374
- params?: Record<string, any> | undefined;
1375
- }>>>;
1369
+ }, z.core.$strip>>>;
1376
1370
  effects: z.ZodOptional<z.ZodArray<z.ZodObject<{
1377
1371
  fn: z.ZodString;
1378
- deps: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1379
- }, "strip", z.ZodTypeAny, {
1380
- fn: string;
1381
- deps?: string[] | undefined;
1382
- }, {
1383
- fn: string;
1384
- deps?: string[] | undefined;
1385
- }>, "many">>;
1372
+ deps: z.ZodOptional<z.ZodArray<z.ZodString>>;
1373
+ }, z.core.$strip>>>;
1386
1374
  data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1387
- render: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
1375
+ render: z.ZodOptional<z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>>;
1388
1376
  pages: z.ZodOptional<z.ZodArray<z.ZodObject<{
1389
1377
  id: z.ZodString;
1390
1378
  name: z.ZodString;
1391
1379
  order: z.ZodNumber;
1392
1380
  icon: z.ZodOptional<z.ZodString>;
1393
- render: z.ZodType<any, z.ZodTypeDef, any>;
1394
- }, "strip", z.ZodTypeAny, {
1395
- id: string;
1396
- name: string;
1397
- order: number;
1398
- icon?: string | undefined;
1399
- render?: any;
1400
- }, {
1401
- id: string;
1402
- name: string;
1403
- order: number;
1404
- icon?: string | undefined;
1405
- render?: any;
1406
- }>, "many">>;
1381
+ render: z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>;
1382
+ }, z.core.$strip>>>;
1407
1383
  defaultPageId: z.ZodOptional<z.ZodString>;
1408
1384
  query: z.ZodOptional<z.ZodObject<{
1409
1385
  graphql: z.ZodOptional<z.ZodString>;
@@ -1411,165 +1387,17 @@ declare const DSLRendererPropsSchema$1: z.ZodObject<{
1411
1387
  variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1412
1388
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1413
1389
  key: z.ZodOptional<z.ZodString>;
1414
- refetchPolicy: z.ZodOptional<z.ZodEnum<["cache-first", "network-only", "cache-and-network"]>>;
1415
- dependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1416
- }, "strip", z.ZodTypeAny, {
1417
- params?: Record<string, any> | undefined;
1418
- key?: string | undefined;
1419
- graphql?: string | undefined;
1420
- sql?: string | undefined;
1421
- variables?: Record<string, any> | undefined;
1422
- refetchPolicy?: "cache-first" | "network-only" | "cache-and-network" | undefined;
1423
- dependencies?: string[] | undefined;
1424
- }, {
1425
- params?: Record<string, any> | undefined;
1426
- key?: string | undefined;
1427
- graphql?: string | undefined;
1428
- sql?: string | undefined;
1429
- variables?: Record<string, any> | undefined;
1430
- refetchPolicy?: "cache-first" | "network-only" | "cache-and-network" | undefined;
1431
- dependencies?: string[] | undefined;
1432
- }>>;
1433
- }, "strip", z.ZodTypeAny, {
1434
- id: string;
1435
- name?: string | undefined;
1436
- query?: {
1437
- params?: Record<string, any> | undefined;
1438
- key?: string | undefined;
1439
- graphql?: string | undefined;
1440
- sql?: string | undefined;
1441
- variables?: Record<string, any> | undefined;
1442
- refetchPolicy?: "cache-first" | "network-only" | "cache-and-network" | undefined;
1443
- dependencies?: string[] | undefined;
1444
- } | undefined;
1445
- props?: Record<string, any> | undefined;
1446
- data?: Record<string, any> | undefined;
1447
- render?: any;
1448
- states?: Record<string, any> | undefined;
1449
- methods?: Record<string, {
1450
- fn: string;
1451
- params?: Record<string, any> | undefined;
1452
- }> | undefined;
1453
- effects?: {
1454
- fn: string;
1455
- deps?: string[] | undefined;
1456
- }[] | undefined;
1457
- pages?: {
1458
- id: string;
1459
- name: string;
1460
- order: number;
1461
- icon?: string | undefined;
1462
- render?: any;
1463
- }[] | undefined;
1464
- defaultPageId?: string | undefined;
1465
- }, {
1466
- id: string;
1467
- name?: string | undefined;
1468
- query?: {
1469
- params?: Record<string, any> | undefined;
1470
- key?: string | undefined;
1471
- graphql?: string | undefined;
1472
- sql?: string | undefined;
1473
- variables?: Record<string, any> | undefined;
1474
- refetchPolicy?: "cache-first" | "network-only" | "cache-and-network" | undefined;
1475
- dependencies?: string[] | undefined;
1476
- } | undefined;
1477
- props?: Record<string, any> | undefined;
1478
- data?: Record<string, any> | undefined;
1479
- render?: any;
1480
- states?: Record<string, any> | undefined;
1481
- methods?: Record<string, {
1482
- fn: string;
1483
- params?: Record<string, any> | undefined;
1484
- }> | undefined;
1485
- effects?: {
1486
- fn: string;
1487
- deps?: string[] | undefined;
1488
- }[] | undefined;
1489
- pages?: {
1490
- id: string;
1491
- name: string;
1492
- order: number;
1493
- icon?: string | undefined;
1494
- render?: any;
1495
- }[] | undefined;
1496
- defaultPageId?: string | undefined;
1497
- }>;
1390
+ refetchPolicy: z.ZodOptional<z.ZodEnum<{
1391
+ "cache-first": "cache-first";
1392
+ "network-only": "network-only";
1393
+ "cache-and-network": "cache-and-network";
1394
+ }>>;
1395
+ dependencies: z.ZodOptional<z.ZodArray<z.ZodString>>;
1396
+ }, z.core.$strip>>;
1397
+ }, z.core.$strip>;
1498
1398
  data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1499
1399
  context: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1500
- }, "strip", z.ZodTypeAny, {
1501
- dsl: {
1502
- id: string;
1503
- name?: string | undefined;
1504
- query?: {
1505
- params?: Record<string, any> | undefined;
1506
- key?: string | undefined;
1507
- graphql?: string | undefined;
1508
- sql?: string | undefined;
1509
- variables?: Record<string, any> | undefined;
1510
- refetchPolicy?: "cache-first" | "network-only" | "cache-and-network" | undefined;
1511
- dependencies?: string[] | undefined;
1512
- } | undefined;
1513
- props?: Record<string, any> | undefined;
1514
- data?: Record<string, any> | undefined;
1515
- render?: any;
1516
- states?: Record<string, any> | undefined;
1517
- methods?: Record<string, {
1518
- fn: string;
1519
- params?: Record<string, any> | undefined;
1520
- }> | undefined;
1521
- effects?: {
1522
- fn: string;
1523
- deps?: string[] | undefined;
1524
- }[] | undefined;
1525
- pages?: {
1526
- id: string;
1527
- name: string;
1528
- order: number;
1529
- icon?: string | undefined;
1530
- render?: any;
1531
- }[] | undefined;
1532
- defaultPageId?: string | undefined;
1533
- };
1534
- data?: Record<string, any> | undefined;
1535
- context?: Record<string, any> | undefined;
1536
- }, {
1537
- dsl: {
1538
- id: string;
1539
- name?: string | undefined;
1540
- query?: {
1541
- params?: Record<string, any> | undefined;
1542
- key?: string | undefined;
1543
- graphql?: string | undefined;
1544
- sql?: string | undefined;
1545
- variables?: Record<string, any> | undefined;
1546
- refetchPolicy?: "cache-first" | "network-only" | "cache-and-network" | undefined;
1547
- dependencies?: string[] | undefined;
1548
- } | undefined;
1549
- props?: Record<string, any> | undefined;
1550
- data?: Record<string, any> | undefined;
1551
- render?: any;
1552
- states?: Record<string, any> | undefined;
1553
- methods?: Record<string, {
1554
- fn: string;
1555
- params?: Record<string, any> | undefined;
1556
- }> | undefined;
1557
- effects?: {
1558
- fn: string;
1559
- deps?: string[] | undefined;
1560
- }[] | undefined;
1561
- pages?: {
1562
- id: string;
1563
- name: string;
1564
- order: number;
1565
- icon?: string | undefined;
1566
- render?: any;
1567
- }[] | undefined;
1568
- defaultPageId?: string | undefined;
1569
- };
1570
- data?: Record<string, any> | undefined;
1571
- context?: Record<string, any> | undefined;
1572
- }>;
1400
+ }, z.core.$strip>;
1573
1401
  type DSLRendererProps$1 = z.infer<typeof DSLRendererPropsSchema$1>;
1574
1402
 
1575
1403
  declare const DSLRendererPropsSchema: z.ZodObject<{
@@ -1581,158 +1409,30 @@ declare const DSLRendererPropsSchema: z.ZodObject<{
1581
1409
  methods: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1582
1410
  fn: z.ZodString;
1583
1411
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1584
- }, "strip", z.ZodTypeAny, {
1585
- fn: string;
1586
- params?: Record<string, any> | undefined;
1587
- }, {
1588
- fn: string;
1589
- params?: Record<string, any> | undefined;
1590
- }>>>;
1412
+ }, z.core.$strip>>>;
1591
1413
  effects: z.ZodOptional<z.ZodArray<z.ZodObject<{
1592
1414
  fn: z.ZodString;
1593
- deps: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1594
- }, "strip", z.ZodTypeAny, {
1595
- fn: string;
1596
- deps?: string[] | undefined;
1597
- }, {
1598
- fn: string;
1599
- deps?: string[] | undefined;
1600
- }>, "many">>;
1415
+ deps: z.ZodOptional<z.ZodArray<z.ZodString>>;
1416
+ }, z.core.$strip>>>;
1601
1417
  data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1602
- render: z.ZodType<any, z.ZodTypeDef, any>;
1418
+ render: z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>;
1603
1419
  query: z.ZodOptional<z.ZodObject<{
1604
1420
  graphql: z.ZodOptional<z.ZodString>;
1605
1421
  sql: z.ZodOptional<z.ZodString>;
1606
1422
  variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1607
1423
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1608
1424
  key: z.ZodOptional<z.ZodString>;
1609
- refetchPolicy: z.ZodOptional<z.ZodEnum<["cache-first", "network-only", "cache-and-network"]>>;
1610
- dependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1611
- }, "strip", z.ZodTypeAny, {
1612
- params?: Record<string, any> | undefined;
1613
- key?: string | undefined;
1614
- graphql?: string | undefined;
1615
- sql?: string | undefined;
1616
- variables?: Record<string, any> | undefined;
1617
- refetchPolicy?: "cache-first" | "network-only" | "cache-and-network" | undefined;
1618
- dependencies?: string[] | undefined;
1619
- }, {
1620
- params?: Record<string, any> | undefined;
1621
- key?: string | undefined;
1622
- graphql?: string | undefined;
1623
- sql?: string | undefined;
1624
- variables?: Record<string, any> | undefined;
1625
- refetchPolicy?: "cache-first" | "network-only" | "cache-and-network" | undefined;
1626
- dependencies?: string[] | undefined;
1627
- }>>;
1628
- }, "strip", z.ZodTypeAny, {
1629
- id: string;
1630
- name?: string | undefined;
1631
- query?: {
1632
- params?: Record<string, any> | undefined;
1633
- key?: string | undefined;
1634
- graphql?: string | undefined;
1635
- sql?: string | undefined;
1636
- variables?: Record<string, any> | undefined;
1637
- refetchPolicy?: "cache-first" | "network-only" | "cache-and-network" | undefined;
1638
- dependencies?: string[] | undefined;
1639
- } | undefined;
1640
- props?: Record<string, any> | undefined;
1641
- data?: Record<string, any> | undefined;
1642
- render?: any;
1643
- states?: Record<string, any> | undefined;
1644
- methods?: Record<string, {
1645
- fn: string;
1646
- params?: Record<string, any> | undefined;
1647
- }> | undefined;
1648
- effects?: {
1649
- fn: string;
1650
- deps?: string[] | undefined;
1651
- }[] | undefined;
1652
- }, {
1653
- id: string;
1654
- name?: string | undefined;
1655
- query?: {
1656
- params?: Record<string, any> | undefined;
1657
- key?: string | undefined;
1658
- graphql?: string | undefined;
1659
- sql?: string | undefined;
1660
- variables?: Record<string, any> | undefined;
1661
- refetchPolicy?: "cache-first" | "network-only" | "cache-and-network" | undefined;
1662
- dependencies?: string[] | undefined;
1663
- } | undefined;
1664
- props?: Record<string, any> | undefined;
1665
- data?: Record<string, any> | undefined;
1666
- render?: any;
1667
- states?: Record<string, any> | undefined;
1668
- methods?: Record<string, {
1669
- fn: string;
1670
- params?: Record<string, any> | undefined;
1671
- }> | undefined;
1672
- effects?: {
1673
- fn: string;
1674
- deps?: string[] | undefined;
1675
- }[] | undefined;
1676
- }>;
1425
+ refetchPolicy: z.ZodOptional<z.ZodEnum<{
1426
+ "cache-first": "cache-first";
1427
+ "network-only": "network-only";
1428
+ "cache-and-network": "cache-and-network";
1429
+ }>>;
1430
+ dependencies: z.ZodOptional<z.ZodArray<z.ZodString>>;
1431
+ }, z.core.$strip>>;
1432
+ }, z.core.$strip>;
1677
1433
  data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1678
1434
  context: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1679
- }, "strip", z.ZodTypeAny, {
1680
- dsl: {
1681
- id: string;
1682
- name?: string | undefined;
1683
- query?: {
1684
- params?: Record<string, any> | undefined;
1685
- key?: string | undefined;
1686
- graphql?: string | undefined;
1687
- sql?: string | undefined;
1688
- variables?: Record<string, any> | undefined;
1689
- refetchPolicy?: "cache-first" | "network-only" | "cache-and-network" | undefined;
1690
- dependencies?: string[] | undefined;
1691
- } | undefined;
1692
- props?: Record<string, any> | undefined;
1693
- data?: Record<string, any> | undefined;
1694
- render?: any;
1695
- states?: Record<string, any> | undefined;
1696
- methods?: Record<string, {
1697
- fn: string;
1698
- params?: Record<string, any> | undefined;
1699
- }> | undefined;
1700
- effects?: {
1701
- fn: string;
1702
- deps?: string[] | undefined;
1703
- }[] | undefined;
1704
- };
1705
- data?: Record<string, any> | undefined;
1706
- context?: Record<string, any> | undefined;
1707
- }, {
1708
- dsl: {
1709
- id: string;
1710
- name?: string | undefined;
1711
- query?: {
1712
- params?: Record<string, any> | undefined;
1713
- key?: string | undefined;
1714
- graphql?: string | undefined;
1715
- sql?: string | undefined;
1716
- variables?: Record<string, any> | undefined;
1717
- refetchPolicy?: "cache-first" | "network-only" | "cache-and-network" | undefined;
1718
- dependencies?: string[] | undefined;
1719
- } | undefined;
1720
- props?: Record<string, any> | undefined;
1721
- data?: Record<string, any> | undefined;
1722
- render?: any;
1723
- states?: Record<string, any> | undefined;
1724
- methods?: Record<string, {
1725
- fn: string;
1726
- params?: Record<string, any> | undefined;
1727
- }> | undefined;
1728
- effects?: {
1729
- fn: string;
1730
- deps?: string[] | undefined;
1731
- }[] | undefined;
1732
- };
1733
- data?: Record<string, any> | undefined;
1734
- context?: Record<string, any> | undefined;
1735
- }>;
1435
+ }, z.core.$strip>;
1736
1436
  type DSLRendererProps = z.infer<typeof DSLRendererPropsSchema>;
1737
1437
 
1738
1438
  declare const UserSchema: z.ZodObject<{
@@ -1742,24 +1442,8 @@ declare const UserSchema: z.ZodObject<{
1742
1442
  fullname: z.ZodOptional<z.ZodString>;
1743
1443
  role: z.ZodOptional<z.ZodString>;
1744
1444
  userInfo: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1745
- wsIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1746
- }, "strip", z.ZodTypeAny, {
1747
- username: string;
1748
- password: string;
1749
- email?: string | undefined;
1750
- fullname?: string | undefined;
1751
- role?: string | undefined;
1752
- userInfo?: Record<string, unknown> | undefined;
1753
- wsIds?: string[] | undefined;
1754
- }, {
1755
- username: string;
1756
- password: string;
1757
- email?: string | undefined;
1758
- fullname?: string | undefined;
1759
- role?: string | undefined;
1760
- userInfo?: Record<string, unknown> | undefined;
1761
- wsIds?: string[] | undefined;
1762
- }>;
1445
+ wsIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
1446
+ }, z.core.$strip>;
1763
1447
  type User = z.infer<typeof UserSchema>;
1764
1448
  declare const UsersDataSchema: z.ZodObject<{
1765
1449
  users: z.ZodArray<z.ZodObject<{
@@ -1769,45 +1453,9 @@ declare const UsersDataSchema: z.ZodObject<{
1769
1453
  fullname: z.ZodOptional<z.ZodString>;
1770
1454
  role: z.ZodOptional<z.ZodString>;
1771
1455
  userInfo: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1772
- wsIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1773
- }, "strip", z.ZodTypeAny, {
1774
- username: string;
1775
- password: string;
1776
- email?: string | undefined;
1777
- fullname?: string | undefined;
1778
- role?: string | undefined;
1779
- userInfo?: Record<string, unknown> | undefined;
1780
- wsIds?: string[] | undefined;
1781
- }, {
1782
- username: string;
1783
- password: string;
1784
- email?: string | undefined;
1785
- fullname?: string | undefined;
1786
- role?: string | undefined;
1787
- userInfo?: Record<string, unknown> | undefined;
1788
- wsIds?: string[] | undefined;
1789
- }>, "many">;
1790
- }, "strip", z.ZodTypeAny, {
1791
- users: {
1792
- username: string;
1793
- password: string;
1794
- email?: string | undefined;
1795
- fullname?: string | undefined;
1796
- role?: string | undefined;
1797
- userInfo?: Record<string, unknown> | undefined;
1798
- wsIds?: string[] | undefined;
1799
- }[];
1800
- }, {
1801
- users: {
1802
- username: string;
1803
- password: string;
1804
- email?: string | undefined;
1805
- fullname?: string | undefined;
1806
- role?: string | undefined;
1807
- userInfo?: Record<string, unknown> | undefined;
1808
- wsIds?: string[] | undefined;
1809
- }[];
1810
- }>;
1456
+ wsIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
1457
+ }, z.core.$strip>>;
1458
+ }, z.core.$strip>;
1811
1459
  type UsersData = z.infer<typeof UsersDataSchema>;
1812
1460
  declare const MessageSchema: z.ZodObject<{
1813
1461
  id: z.ZodOptional<z.ZodString>;
@@ -1815,49 +1463,13 @@ declare const MessageSchema: z.ZodObject<{
1815
1463
  from: z.ZodObject<{
1816
1464
  id: z.ZodOptional<z.ZodString>;
1817
1465
  type: z.ZodOptional<z.ZodString>;
1818
- }, "strip", z.ZodTypeAny, {
1819
- id?: string | undefined;
1820
- type?: string | undefined;
1821
- }, {
1822
- id?: string | undefined;
1823
- type?: string | undefined;
1824
- }>;
1466
+ }, z.core.$strip>;
1825
1467
  to: z.ZodOptional<z.ZodObject<{
1826
1468
  id: z.ZodOptional<z.ZodString>;
1827
1469
  type: z.ZodOptional<z.ZodString>;
1828
- }, "strip", z.ZodTypeAny, {
1829
- id?: string | undefined;
1830
- type?: string | undefined;
1831
- }, {
1832
- id?: string | undefined;
1833
- type?: string | undefined;
1834
- }>>;
1470
+ }, z.core.$strip>>;
1835
1471
  payload: z.ZodUnknown;
1836
- }, "strip", z.ZodTypeAny, {
1837
- type: string;
1838
- from: {
1839
- id?: string | undefined;
1840
- type?: string | undefined;
1841
- };
1842
- id?: string | undefined;
1843
- to?: {
1844
- id?: string | undefined;
1845
- type?: string | undefined;
1846
- } | undefined;
1847
- payload?: unknown;
1848
- }, {
1849
- type: string;
1850
- from: {
1851
- id?: string | undefined;
1852
- type?: string | undefined;
1853
- };
1854
- id?: string | undefined;
1855
- to?: {
1856
- id?: string | undefined;
1857
- type?: string | undefined;
1858
- } | undefined;
1859
- payload?: unknown;
1860
- }>;
1472
+ }, z.core.$strip>;
1861
1473
  type Message = z.infer<typeof MessageSchema>;
1862
1474
  declare const IncomingMessageSchema: z.ZodObject<{
1863
1475
  id: z.ZodOptional<z.ZodString>;
@@ -1865,49 +1477,13 @@ declare const IncomingMessageSchema: z.ZodObject<{
1865
1477
  from: z.ZodObject<{
1866
1478
  id: z.ZodOptional<z.ZodString>;
1867
1479
  type: z.ZodOptional<z.ZodString>;
1868
- }, "strip", z.ZodTypeAny, {
1869
- id?: string | undefined;
1870
- type?: string | undefined;
1871
- }, {
1872
- id?: string | undefined;
1873
- type?: string | undefined;
1874
- }>;
1480
+ }, z.core.$strip>;
1875
1481
  to: z.ZodOptional<z.ZodObject<{
1876
1482
  id: z.ZodOptional<z.ZodString>;
1877
1483
  type: z.ZodOptional<z.ZodString>;
1878
- }, "strip", z.ZodTypeAny, {
1879
- id?: string | undefined;
1880
- type?: string | undefined;
1881
- }, {
1882
- id?: string | undefined;
1883
- type?: string | undefined;
1884
- }>>;
1484
+ }, z.core.$strip>>;
1885
1485
  payload: z.ZodUnknown;
1886
- }, "strip", z.ZodTypeAny, {
1887
- type: string;
1888
- from: {
1889
- id?: string | undefined;
1890
- type?: string | undefined;
1891
- };
1892
- id?: string | undefined;
1893
- to?: {
1894
- id?: string | undefined;
1895
- type?: string | undefined;
1896
- } | undefined;
1897
- payload?: unknown;
1898
- }, {
1899
- type: string;
1900
- from: {
1901
- id?: string | undefined;
1902
- type?: string | undefined;
1903
- };
1904
- id?: string | undefined;
1905
- to?: {
1906
- id?: string | undefined;
1907
- type?: string | undefined;
1908
- } | undefined;
1909
- payload?: unknown;
1910
- }>;
1486
+ }, z.core.$strip>;
1911
1487
  type IncomingMessage = z.infer<typeof IncomingMessageSchema>;
1912
1488
  /**
1913
1489
  * A file attached to a question. Synced with sdk-web: PromptAttachmentSchema.
@@ -1917,23 +1493,11 @@ type IncomingMessage = z.infer<typeof IncomingMessageSchema>;
1917
1493
  * with /upload/chat-attachment/signed-get.
1918
1494
  */
1919
1495
  declare const PromptAttachmentSchema: z.ZodObject<{
1920
- /** The R2 object key. */
1921
1496
  key: z.ZodString;
1922
1497
  fileName: z.ZodString;
1923
- /** Size in bytes. */
1924
1498
  size: z.ZodNumber;
1925
1499
  contentType: z.ZodOptional<z.ZodString>;
1926
- }, "strip", z.ZodTypeAny, {
1927
- key: string;
1928
- fileName: string;
1929
- size: number;
1930
- contentType?: string | undefined;
1931
- }, {
1932
- key: string;
1933
- fileName: string;
1934
- size: number;
1935
- contentType?: string | undefined;
1936
- }>;
1500
+ }, z.core.$strip>;
1937
1501
  type PromptAttachment = z.infer<typeof PromptAttachmentSchema>;
1938
1502
  /**
1939
1503
  * A file the agent generated or changed for the person: the host backend has put it
@@ -1960,191 +1524,68 @@ declare const ComponentSchema: z.ZodObject<{
1960
1524
  type: z.ZodString;
1961
1525
  description: z.ZodString;
1962
1526
  props: z.ZodObject<{
1963
- query: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodType<{}, z.ZodTypeDef, {}>]>>>;
1527
+ query: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodType<{}, unknown, z.core.$ZodTypeInternals<{}, unknown>>]>>>;
1964
1528
  title: z.ZodOptional<z.ZodString>;
1965
1529
  description: z.ZodOptional<z.ZodString>;
1966
1530
  config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1967
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1968
- query: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodType<{}, z.ZodTypeDef, {}>]>>>;
1969
- title: z.ZodOptional<z.ZodString>;
1970
- description: z.ZodOptional<z.ZodString>;
1971
- config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1972
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1973
- query: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodType<{}, z.ZodTypeDef, {}>]>>>;
1974
- title: z.ZodOptional<z.ZodString>;
1975
- description: z.ZodOptional<z.ZodString>;
1976
- config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1977
- }, z.ZodTypeAny, "passthrough">>;
1531
+ }, z.core.$loose>;
1978
1532
  category: z.ZodOptional<z.ZodString>;
1979
- keywords: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1980
- }, "strip", z.ZodTypeAny, {
1981
- id: string;
1982
- type: string;
1983
- name: string;
1984
- description: string;
1985
- props: {
1986
- description?: string | undefined;
1987
- query?: string | {} | null | undefined;
1988
- title?: string | undefined;
1989
- config?: Record<string, unknown> | undefined;
1990
- } & {
1991
- [k: string]: unknown;
1992
- };
1993
- displayName?: string | undefined;
1994
- isDisplayComp?: boolean | undefined;
1995
- category?: string | undefined;
1996
- keywords?: string[] | undefined;
1997
- }, {
1998
- id: string;
1999
- type: string;
2000
- name: string;
2001
- description: string;
2002
- props: {
2003
- description?: string | undefined;
2004
- query?: string | {} | null | undefined;
2005
- title?: string | undefined;
2006
- config?: Record<string, unknown> | undefined;
2007
- } & {
2008
- [k: string]: unknown;
2009
- };
2010
- displayName?: string | undefined;
2011
- isDisplayComp?: boolean | undefined;
2012
- category?: string | undefined;
2013
- keywords?: string[] | undefined;
2014
- }>;
1533
+ keywords: z.ZodOptional<z.ZodArray<z.ZodString>>;
1534
+ }, z.core.$strip>;
2015
1535
  type Component = z.infer<typeof ComponentSchema>;
2016
1536
  declare const OutputFieldSchema: z.ZodObject<{
2017
1537
  name: z.ZodString;
2018
- type: z.ZodEnum<["string", "number", "boolean", "date"]>;
1538
+ type: z.ZodEnum<{
1539
+ string: "string";
1540
+ number: "number";
1541
+ boolean: "boolean";
1542
+ date: "date";
1543
+ }>;
2019
1544
  description: z.ZodString;
2020
- }, "strip", z.ZodTypeAny, {
2021
- type: "string" | "number" | "boolean" | "date";
2022
- name: string;
2023
- description: string;
2024
- }, {
2025
- type: "string" | "number" | "boolean" | "date";
2026
- name: string;
2027
- description: string;
2028
- }>;
1545
+ }, z.core.$strip>;
2029
1546
  type OutputField = z.infer<typeof OutputFieldSchema>;
2030
1547
  declare const OutputSchema: z.ZodObject<{
2031
1548
  description: z.ZodString;
2032
1549
  fields: z.ZodArray<z.ZodObject<{
2033
1550
  name: z.ZodString;
2034
- type: z.ZodEnum<["string", "number", "boolean", "date"]>;
1551
+ type: z.ZodEnum<{
1552
+ string: "string";
1553
+ number: "number";
1554
+ boolean: "boolean";
1555
+ date: "date";
1556
+ }>;
2035
1557
  description: z.ZodString;
2036
- }, "strip", z.ZodTypeAny, {
2037
- type: "string" | "number" | "boolean" | "date";
2038
- name: string;
2039
- description: string;
2040
- }, {
2041
- type: "string" | "number" | "boolean" | "date";
2042
- name: string;
2043
- description: string;
2044
- }>, "many">;
2045
- }, "strip", z.ZodTypeAny, {
2046
- description: string;
2047
- fields: {
2048
- type: "string" | "number" | "boolean" | "date";
2049
- name: string;
2050
- description: string;
2051
- }[];
2052
- }, {
2053
- description: string;
2054
- fields: {
2055
- type: "string" | "number" | "boolean" | "date";
2056
- name: string;
2057
- description: string;
2058
- }[];
2059
- }>;
1558
+ }, z.core.$strip>>;
1559
+ }, z.core.$strip>;
2060
1560
  type ToolOutputSchema = z.infer<typeof OutputSchema>;
2061
1561
  declare const ToolSchema: z.ZodObject<{
2062
1562
  id: z.ZodString;
2063
1563
  name: z.ZodString;
2064
1564
  description: z.ZodString;
2065
- /** Tool type: "source" = routed through SourceAgent, "direct" = called directly by MainAgent */
2066
- toolType: z.ZodOptional<z.ZodEnum<["source", "direct"]>>;
2067
- /** Full untruncated schema for source agent (all columns visible) */
1565
+ toolType: z.ZodOptional<z.ZodEnum<{
1566
+ source: "source";
1567
+ direct: "direct";
1568
+ }>>;
2068
1569
  fullSchema: z.ZodOptional<z.ZodString>;
2069
1570
  params: z.ZodRecord<z.ZodString, z.ZodString>;
2070
- fn: z.ZodType<(...args: any[]) => any, z.ZodTypeDef, (...args: any[]) => any>;
1571
+ fn: z.ZodCustom<(...args: any[]) => any, (...args: any[]) => any>;
2071
1572
  outputSchema: z.ZodOptional<z.ZodObject<{
2072
1573
  description: z.ZodString;
2073
1574
  fields: z.ZodArray<z.ZodObject<{
2074
1575
  name: z.ZodString;
2075
- type: z.ZodEnum<["string", "number", "boolean", "date"]>;
1576
+ type: z.ZodEnum<{
1577
+ string: "string";
1578
+ number: "number";
1579
+ boolean: "boolean";
1580
+ date: "date";
1581
+ }>;
2076
1582
  description: z.ZodString;
2077
- }, "strip", z.ZodTypeAny, {
2078
- type: "string" | "number" | "boolean" | "date";
2079
- name: string;
2080
- description: string;
2081
- }, {
2082
- type: "string" | "number" | "boolean" | "date";
2083
- name: string;
2084
- description: string;
2085
- }>, "many">;
2086
- }, "strip", z.ZodTypeAny, {
2087
- description: string;
2088
- fields: {
2089
- type: "string" | "number" | "boolean" | "date";
2090
- name: string;
2091
- description: string;
2092
- }[];
2093
- }, {
2094
- description: string;
2095
- fields: {
2096
- type: "string" | "number" | "boolean" | "date";
2097
- name: string;
2098
- description: string;
2099
- }[];
2100
- }>>;
2101
- /** Cache policy. `false` = never cache (live data, write ops). Mirrors HTTP `Cache-Control: no-store`. */
2102
- cache: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodObject<{
1583
+ }, z.core.$strip>>;
1584
+ }, z.core.$strip>>;
1585
+ cache: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodObject<{
2103
1586
  ttlMs: z.ZodOptional<z.ZodNumber>;
2104
- }, "strip", z.ZodTypeAny, {
2105
- ttlMs?: number | undefined;
2106
- }, {
2107
- ttlMs?: number | undefined;
2108
- }>]>>;
2109
- }, "strip", z.ZodTypeAny, {
2110
- id: string;
2111
- params: Record<string, string>;
2112
- name: string;
2113
- description: string;
2114
- fn: (...args: any[]) => any;
2115
- toolType?: "source" | "direct" | undefined;
2116
- fullSchema?: string | undefined;
2117
- outputSchema?: {
2118
- description: string;
2119
- fields: {
2120
- type: "string" | "number" | "boolean" | "date";
2121
- name: string;
2122
- description: string;
2123
- }[];
2124
- } | undefined;
2125
- cache?: false | {
2126
- ttlMs?: number | undefined;
2127
- } | undefined;
2128
- }, {
2129
- id: string;
2130
- params: Record<string, string>;
2131
- name: string;
2132
- description: string;
2133
- fn: (...args: any[]) => any;
2134
- toolType?: "source" | "direct" | undefined;
2135
- fullSchema?: string | undefined;
2136
- outputSchema?: {
2137
- description: string;
2138
- fields: {
2139
- type: "string" | "number" | "boolean" | "date";
2140
- name: string;
2141
- description: string;
2142
- }[];
2143
- } | undefined;
2144
- cache?: false | {
2145
- ttlMs?: number | undefined;
2146
- } | undefined;
2147
- }>;
1587
+ }, z.core.$strip>]>>;
1588
+ }, z.core.$strip>;
2148
1589
  type Tool$1 = z.infer<typeof ToolSchema>;
2149
1590
  type CollectionOperation = 'getMany' | 'getOne' | 'query' | 'mutation' | 'updateOne' | 'deleteOne' | 'createOne';
2150
1591
  type CollectionHandler<TParams = any, TResult = any> = (params: TParams) => Promise<TResult> | TResult;
@@ -2342,32 +1783,39 @@ interface SuperatomSDKConfig {
2342
1783
  declare const KbNodesQueryFiltersSchema: z.ZodObject<{
2343
1784
  query: z.ZodOptional<z.ZodString>;
2344
1785
  category: z.ZodOptional<z.ZodString>;
2345
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2346
- type: z.ZodOptional<z.ZodEnum<["global", "user", "query"]>>;
1786
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
1787
+ type: z.ZodOptional<z.ZodEnum<{
1788
+ query: "query";
1789
+ user: "user";
1790
+ global: "global";
1791
+ }>>;
2347
1792
  createdBy: z.ZodOptional<z.ZodString>;
2348
- }, "strip", z.ZodTypeAny, {
2349
- type?: "query" | "user" | "global" | undefined;
2350
- query?: string | undefined;
2351
- category?: string | undefined;
2352
- createdBy?: string | undefined;
2353
- tags?: string[] | undefined;
2354
- }, {
2355
- type?: "query" | "user" | "global" | undefined;
2356
- query?: string | undefined;
2357
- category?: string | undefined;
2358
- createdBy?: string | undefined;
2359
- tags?: string[] | undefined;
2360
- }>;
1793
+ }, z.core.$strip>;
2361
1794
  type KbNodesQueryFilters = z.infer<typeof KbNodesQueryFiltersSchema>;
2362
1795
  declare const KbNodesRequestPayloadSchema: z.ZodObject<{
2363
- operation: z.ZodEnum<["create", "update", "delete", "getAll", "getOne", "search", "getByCategory", "getByUser", "getCategories", "getTags"]>;
1796
+ operation: z.ZodEnum<{
1797
+ getOne: "getOne";
1798
+ search: "search";
1799
+ create: "create";
1800
+ update: "update";
1801
+ delete: "delete";
1802
+ getAll: "getAll";
1803
+ getByCategory: "getByCategory";
1804
+ getByUser: "getByUser";
1805
+ getCategories: "getCategories";
1806
+ getTags: "getTags";
1807
+ }>;
2364
1808
  data: z.ZodOptional<z.ZodObject<{
2365
1809
  id: z.ZodOptional<z.ZodNumber>;
2366
1810
  title: z.ZodOptional<z.ZodString>;
2367
1811
  content: z.ZodOptional<z.ZodString>;
2368
1812
  category: z.ZodOptional<z.ZodString>;
2369
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2370
- type: z.ZodOptional<z.ZodEnum<["global", "user", "query"]>>;
1813
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
1814
+ type: z.ZodOptional<z.ZodEnum<{
1815
+ query: "query";
1816
+ user: "user";
1817
+ global: "global";
1818
+ }>>;
2371
1819
  createdBy: z.ZodOptional<z.ZodString>;
2372
1820
  updatedBy: z.ZodOptional<z.ZodString>;
2373
1821
  userId: z.ZodOptional<z.ZodString>;
@@ -2375,165 +1823,37 @@ declare const KbNodesRequestPayloadSchema: z.ZodObject<{
2375
1823
  filters: z.ZodOptional<z.ZodObject<{
2376
1824
  query: z.ZodOptional<z.ZodString>;
2377
1825
  category: z.ZodOptional<z.ZodString>;
2378
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2379
- type: z.ZodOptional<z.ZodEnum<["global", "user", "query"]>>;
1826
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
1827
+ type: z.ZodOptional<z.ZodEnum<{
1828
+ query: "query";
1829
+ user: "user";
1830
+ global: "global";
1831
+ }>>;
2380
1832
  createdBy: z.ZodOptional<z.ZodString>;
2381
- }, "strip", z.ZodTypeAny, {
2382
- type?: "query" | "user" | "global" | undefined;
2383
- query?: string | undefined;
2384
- category?: string | undefined;
2385
- createdBy?: string | undefined;
2386
- tags?: string[] | undefined;
2387
- }, {
2388
- type?: "query" | "user" | "global" | undefined;
2389
- query?: string | undefined;
2390
- category?: string | undefined;
2391
- createdBy?: string | undefined;
2392
- tags?: string[] | undefined;
2393
- }>>;
1833
+ }, z.core.$strip>>;
2394
1834
  limit: z.ZodOptional<z.ZodNumber>;
2395
1835
  offset: z.ZodOptional<z.ZodNumber>;
2396
- }, "strip", z.ZodTypeAny, {
2397
- id?: number | undefined;
2398
- type?: "query" | "user" | "global" | undefined;
2399
- query?: string | undefined;
2400
- title?: string | undefined;
2401
- category?: string | undefined;
2402
- userId?: string | undefined;
2403
- limit?: number | undefined;
2404
- filters?: {
2405
- type?: "query" | "user" | "global" | undefined;
2406
- query?: string | undefined;
2407
- category?: string | undefined;
2408
- createdBy?: string | undefined;
2409
- tags?: string[] | undefined;
2410
- } | undefined;
2411
- createdBy?: string | undefined;
2412
- updatedBy?: string | undefined;
2413
- offset?: number | undefined;
2414
- tags?: string[] | undefined;
2415
- content?: string | undefined;
2416
- }, {
2417
- id?: number | undefined;
2418
- type?: "query" | "user" | "global" | undefined;
2419
- query?: string | undefined;
2420
- title?: string | undefined;
2421
- category?: string | undefined;
2422
- userId?: string | undefined;
2423
- limit?: number | undefined;
2424
- filters?: {
2425
- type?: "query" | "user" | "global" | undefined;
2426
- query?: string | undefined;
2427
- category?: string | undefined;
2428
- createdBy?: string | undefined;
2429
- tags?: string[] | undefined;
2430
- } | undefined;
2431
- createdBy?: string | undefined;
2432
- updatedBy?: string | undefined;
2433
- offset?: number | undefined;
2434
- tags?: string[] | undefined;
2435
- content?: string | undefined;
2436
- }>>;
2437
- }, "strip", z.ZodTypeAny, {
2438
- operation: "getOne" | "search" | "create" | "update" | "delete" | "getAll" | "getByCategory" | "getByUser" | "getCategories" | "getTags";
2439
- data?: {
2440
- id?: number | undefined;
2441
- type?: "query" | "user" | "global" | undefined;
2442
- query?: string | undefined;
2443
- title?: string | undefined;
2444
- category?: string | undefined;
2445
- userId?: string | undefined;
2446
- limit?: number | undefined;
2447
- filters?: {
2448
- type?: "query" | "user" | "global" | undefined;
2449
- query?: string | undefined;
2450
- category?: string | undefined;
2451
- createdBy?: string | undefined;
2452
- tags?: string[] | undefined;
2453
- } | undefined;
2454
- createdBy?: string | undefined;
2455
- updatedBy?: string | undefined;
2456
- offset?: number | undefined;
2457
- tags?: string[] | undefined;
2458
- content?: string | undefined;
2459
- } | undefined;
2460
- }, {
2461
- operation: "getOne" | "search" | "create" | "update" | "delete" | "getAll" | "getByCategory" | "getByUser" | "getCategories" | "getTags";
2462
- data?: {
2463
- id?: number | undefined;
2464
- type?: "query" | "user" | "global" | undefined;
2465
- query?: string | undefined;
2466
- title?: string | undefined;
2467
- category?: string | undefined;
2468
- userId?: string | undefined;
2469
- limit?: number | undefined;
2470
- filters?: {
2471
- type?: "query" | "user" | "global" | undefined;
2472
- query?: string | undefined;
2473
- category?: string | undefined;
2474
- createdBy?: string | undefined;
2475
- tags?: string[] | undefined;
2476
- } | undefined;
2477
- createdBy?: string | undefined;
2478
- updatedBy?: string | undefined;
2479
- offset?: number | undefined;
2480
- tags?: string[] | undefined;
2481
- content?: string | undefined;
2482
- } | undefined;
2483
- }>;
1836
+ }, z.core.$strip>>;
1837
+ }, z.core.$strip>;
2484
1838
  type KbNodesRequestPayload = z.infer<typeof KbNodesRequestPayloadSchema>;
2485
1839
  declare const DashComponentSchema: z.ZodObject<{
2486
1840
  name: z.ZodString;
2487
1841
  kind: z.ZodString;
2488
1842
  purpose: z.ZodString;
2489
- props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{
1843
+ props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2490
1844
  description: z.ZodString;
2491
- importance: z.ZodOptional<z.ZodEnum<["required", "recommended", "optional"]>>;
2492
- default: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
1845
+ importance: z.ZodOptional<z.ZodEnum<{
1846
+ optional: "optional";
1847
+ required: "required";
1848
+ recommended: "recommended";
1849
+ }>>;
1850
+ default: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
2493
1851
  caution: z.ZodOptional<z.ZodString>;
2494
1852
  group: z.ZodOptional<z.ZodString>;
2495
- }, "strip", z.ZodTypeAny, {
2496
- description: string;
2497
- importance?: "required" | "recommended" | "optional" | undefined;
2498
- default?: string | number | boolean | undefined;
2499
- caution?: string | undefined;
2500
- group?: string | undefined;
2501
- }, {
2502
- description: string;
2503
- importance?: "required" | "recommended" | "optional" | undefined;
2504
- default?: string | number | boolean | undefined;
2505
- caution?: string | undefined;
2506
- group?: string | undefined;
2507
- }>]>>>;
1853
+ }, z.core.$strip>]>>>;
2508
1854
  useWhen: z.ZodOptional<z.ZodString>;
2509
1855
  notes: z.ZodOptional<z.ZodString>;
2510
- }, "strip", z.ZodTypeAny, {
2511
- name: string;
2512
- kind: string;
2513
- purpose: string;
2514
- props?: Record<string, string | {
2515
- description: string;
2516
- importance?: "required" | "recommended" | "optional" | undefined;
2517
- default?: string | number | boolean | undefined;
2518
- caution?: string | undefined;
2519
- group?: string | undefined;
2520
- }> | undefined;
2521
- useWhen?: string | undefined;
2522
- notes?: string | undefined;
2523
- }, {
2524
- name: string;
2525
- kind: string;
2526
- purpose: string;
2527
- props?: Record<string, string | {
2528
- description: string;
2529
- importance?: "required" | "recommended" | "optional" | undefined;
2530
- default?: string | number | boolean | undefined;
2531
- caution?: string | undefined;
2532
- group?: string | undefined;
2533
- }> | undefined;
2534
- useWhen?: string | undefined;
2535
- notes?: string | undefined;
2536
- }>;
1856
+ }, z.core.$strip>;
2537
1857
  type DashComponent = z.infer<typeof DashComponentSchema>;
2538
1858
  interface T_RESPONSE {
2539
1859
  success: boolean;
@@ -5131,6 +4451,8 @@ interface PolicyExceptionTable {
5131
4451
  link?: string;
5132
4452
  columns?: string[];
5133
4453
  own?: string;
4454
+ /** A predicate (`{t}` is the table) that makes more rows visible, with only `columns` readable; no key list. */
4455
+ visibleWhere?: string;
5134
4456
  }
5135
4457
  /**
5136
4458
  * A named grant: extra rows a restricted user may see outside their branch. `visibleKeys` is