@automate.ax/api-contract 0.136.0 → 0.138.0

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.
@@ -187,10 +187,10 @@ export declare const eventsContract: {
187
187
  data_source_id: import("zod").ZodOptional<import("zod").ZodUUID>;
188
188
  id: import("zod").ZodUUID;
189
189
  type: import("zod").ZodEnum<{
190
+ agent: "agent";
190
191
  team: "team";
191
192
  page: "page";
192
193
  space: "space";
193
- agent: "agent";
194
194
  block: "block";
195
195
  database: "database";
196
196
  }>;
@@ -248,10 +248,10 @@ export declare const eventsContract: {
248
248
  data_source_id: import("zod").ZodOptional<import("zod").ZodUUID>;
249
249
  id: import("zod").ZodUUID;
250
250
  type: import("zod").ZodEnum<{
251
+ agent: "agent";
251
252
  team: "team";
252
253
  page: "page";
253
254
  space: "space";
254
- agent: "agent";
255
255
  block: "block";
256
256
  database: "database";
257
257
  }>;
@@ -301,10 +301,10 @@ export declare const eventsContract: {
301
301
  data_source_id: import("zod").ZodOptional<import("zod").ZodUUID>;
302
302
  id: import("zod").ZodUUID;
303
303
  type: import("zod").ZodEnum<{
304
+ agent: "agent";
304
305
  team: "team";
305
306
  page: "page";
306
307
  space: "space";
307
- agent: "agent";
308
308
  block: "block";
309
309
  database: "database";
310
310
  }>;
@@ -354,10 +354,10 @@ export declare const eventsContract: {
354
354
  data_source_id: import("zod").ZodOptional<import("zod").ZodUUID>;
355
355
  id: import("zod").ZodUUID;
356
356
  type: import("zod").ZodEnum<{
357
+ agent: "agent";
357
358
  team: "team";
358
359
  page: "page";
359
360
  space: "space";
360
- agent: "agent";
361
361
  block: "block";
362
362
  database: "database";
363
363
  }>;
@@ -407,10 +407,10 @@ export declare const eventsContract: {
407
407
  data_source_id: import("zod").ZodOptional<import("zod").ZodUUID>;
408
408
  id: import("zod").ZodUUID;
409
409
  type: import("zod").ZodEnum<{
410
+ agent: "agent";
410
411
  team: "team";
411
412
  page: "page";
412
413
  space: "space";
413
- agent: "agent";
414
414
  block: "block";
415
415
  database: "database";
416
416
  }>;
@@ -469,10 +469,10 @@ export declare const eventsContract: {
469
469
  data_source_id: import("zod").ZodOptional<import("zod").ZodUUID>;
470
470
  id: import("zod").ZodUUID;
471
471
  type: import("zod").ZodEnum<{
472
+ agent: "agent";
472
473
  team: "team";
473
474
  page: "page";
474
475
  space: "space";
475
- agent: "agent";
476
476
  block: "block";
477
477
  database: "database";
478
478
  }>;
@@ -522,10 +522,10 @@ export declare const eventsContract: {
522
522
  data_source_id: import("zod").ZodOptional<import("zod").ZodUUID>;
523
523
  id: import("zod").ZodUUID;
524
524
  type: import("zod").ZodEnum<{
525
+ agent: "agent";
525
526
  team: "team";
526
527
  page: "page";
527
528
  space: "space";
528
- agent: "agent";
529
529
  block: "block";
530
530
  database: "database";
531
531
  }>;
@@ -575,10 +575,10 @@ export declare const eventsContract: {
575
575
  data_source_id: import("zod").ZodOptional<import("zod").ZodUUID>;
576
576
  id: import("zod").ZodUUID;
577
577
  type: import("zod").ZodEnum<{
578
+ agent: "agent";
578
579
  team: "team";
579
580
  page: "page";
580
581
  space: "space";
581
- agent: "agent";
582
582
  block: "block";
583
583
  database: "database";
584
584
  }>;
@@ -628,10 +628,10 @@ export declare const eventsContract: {
628
628
  data_source_id: import("zod").ZodOptional<import("zod").ZodUUID>;
629
629
  id: import("zod").ZodUUID;
630
630
  type: import("zod").ZodEnum<{
631
+ agent: "agent";
631
632
  team: "team";
632
633
  page: "page";
633
634
  space: "space";
634
- agent: "agent";
635
635
  block: "block";
636
636
  database: "database";
637
637
  }>;
@@ -681,10 +681,10 @@ export declare const eventsContract: {
681
681
  data_source_id: import("zod").ZodOptional<import("zod").ZodUUID>;
682
682
  id: import("zod").ZodUUID;
683
683
  type: import("zod").ZodEnum<{
684
+ agent: "agent";
684
685
  team: "team";
685
686
  page: "page";
686
687
  space: "space";
687
- agent: "agent";
688
688
  block: "block";
689
689
  database: "database";
690
690
  }>;
@@ -896,10 +896,10 @@ export declare const eventsContract: {
896
896
  data_source_id: import("zod").ZodOptional<import("zod").ZodUUID>;
897
897
  id: import("zod").ZodUUID;
898
898
  type: import("zod").ZodEnum<{
899
+ agent: "agent";
899
900
  team: "team";
900
901
  page: "page";
901
902
  space: "space";
902
- agent: "agent";
903
903
  block: "block";
904
904
  database: "database";
905
905
  }>;
@@ -953,10 +953,10 @@ export declare const eventsContract: {
953
953
  data_source_id: import("zod").ZodOptional<import("zod").ZodUUID>;
954
954
  id: import("zod").ZodUUID;
955
955
  type: import("zod").ZodEnum<{
956
+ agent: "agent";
956
957
  team: "team";
957
958
  page: "page";
958
959
  space: "space";
959
- agent: "agent";
960
960
  block: "block";
961
961
  database: "database";
962
962
  }>;
@@ -1002,10 +1002,10 @@ export declare const eventsContract: {
1002
1002
  data_source_id: import("zod").ZodOptional<import("zod").ZodUUID>;
1003
1003
  id: import("zod").ZodUUID;
1004
1004
  type: import("zod").ZodEnum<{
1005
+ agent: "agent";
1005
1006
  team: "team";
1006
1007
  page: "page";
1007
1008
  space: "space";
1008
- agent: "agent";
1009
1009
  block: "block";
1010
1010
  database: "database";
1011
1011
  }>;
@@ -1051,10 +1051,10 @@ export declare const eventsContract: {
1051
1051
  data_source_id: import("zod").ZodOptional<import("zod").ZodUUID>;
1052
1052
  id: import("zod").ZodUUID;
1053
1053
  type: import("zod").ZodEnum<{
1054
+ agent: "agent";
1054
1055
  team: "team";
1055
1056
  page: "page";
1056
1057
  space: "space";
1057
- agent: "agent";
1058
1058
  block: "block";
1059
1059
  database: "database";
1060
1060
  }>;
@@ -1100,10 +1100,10 @@ export declare const eventsContract: {
1100
1100
  data_source_id: import("zod").ZodOptional<import("zod").ZodUUID>;
1101
1101
  id: import("zod").ZodUUID;
1102
1102
  type: import("zod").ZodEnum<{
1103
+ agent: "agent";
1103
1104
  team: "team";
1104
1105
  page: "page";
1105
1106
  space: "space";
1106
- agent: "agent";
1107
1107
  block: "block";
1108
1108
  database: "database";
1109
1109
  }>;
@@ -1149,10 +1149,10 @@ export declare const eventsContract: {
1149
1149
  data_source_id: import("zod").ZodOptional<import("zod").ZodUUID>;
1150
1150
  id: import("zod").ZodUUID;
1151
1151
  type: import("zod").ZodEnum<{
1152
+ agent: "agent";
1152
1153
  team: "team";
1153
1154
  page: "page";
1154
1155
  space: "space";
1155
- agent: "agent";
1156
1156
  block: "block";
1157
1157
  database: "database";
1158
1158
  }>;
@@ -1245,10 +1245,10 @@ export declare const eventsContract: {
1245
1245
  data_source_id: import("zod").ZodOptional<import("zod").ZodUUID>;
1246
1246
  id: import("zod").ZodUUID;
1247
1247
  type: import("zod").ZodEnum<{
1248
+ agent: "agent";
1248
1249
  team: "team";
1249
1250
  page: "page";
1250
1251
  space: "space";
1251
- agent: "agent";
1252
1252
  block: "block";
1253
1253
  database: "database";
1254
1254
  }>;
@@ -1294,10 +1294,10 @@ export declare const eventsContract: {
1294
1294
  data_source_id: import("zod").ZodOptional<import("zod").ZodUUID>;
1295
1295
  id: import("zod").ZodUUID;
1296
1296
  type: import("zod").ZodEnum<{
1297
+ agent: "agent";
1297
1298
  team: "team";
1298
1299
  page: "page";
1299
1300
  space: "space";
1300
- agent: "agent";
1301
1301
  block: "block";
1302
1302
  database: "database";
1303
1303
  }>;
@@ -1343,10 +1343,10 @@ export declare const eventsContract: {
1343
1343
  data_source_id: import("zod").ZodOptional<import("zod").ZodUUID>;
1344
1344
  id: import("zod").ZodUUID;
1345
1345
  type: import("zod").ZodEnum<{
1346
+ agent: "agent";
1346
1347
  team: "team";
1347
1348
  page: "page";
1348
1349
  space: "space";
1349
- agent: "agent";
1350
1350
  block: "block";
1351
1351
  database: "database";
1352
1352
  }>;
@@ -1393,10 +1393,10 @@ export declare const eventsContract: {
1393
1393
  data_source_id: import("zod").ZodOptional<import("zod").ZodUUID>;
1394
1394
  id: import("zod").ZodUUID;
1395
1395
  type: import("zod").ZodEnum<{
1396
+ agent: "agent";
1396
1397
  team: "team";
1397
1398
  page: "page";
1398
1399
  space: "space";
1399
- agent: "agent";
1400
1400
  block: "block";
1401
1401
  database: "database";
1402
1402
  }>;
@@ -1442,17 +1442,17 @@ export declare const eventsContract: {
1442
1442
  data_source_id: import("zod").ZodOptional<import("zod").ZodUUID>;
1443
1443
  id: import("zod").ZodUUID;
1444
1444
  type: import("zod").ZodEnum<{
1445
+ agent: "agent";
1445
1446
  team: "team";
1446
1447
  page: "page";
1447
1448
  space: "space";
1448
- agent: "agent";
1449
1449
  block: "block";
1450
1450
  database: "database";
1451
1451
  }>;
1452
1452
  }, import("zod/v4/core").$strip>;
1453
1453
  updated_fields: import("zod").ZodArray<import("zod").ZodEnum<{
1454
- filter: "filter";
1455
1454
  name: "name";
1455
+ filter: "filter";
1456
1456
  sorts: "sorts";
1457
1457
  configuration: "configuration";
1458
1458
  }>>;
@@ -1492,9 +1492,8 @@ export declare const eventsContract: {
1492
1492
  workspace_id: import("zod").ZodUUID;
1493
1493
  workspace_name: import("zod").ZodString;
1494
1494
  }, import("zod/v4/core").$catchall<import("zod").ZodJSONSchema>>], "type">, import("zod").ZodTransform<{
1495
- type: "comment.created";
1496
1495
  id: string;
1497
- timestamp: string;
1496
+ type: "comment.created";
1498
1497
  data: {
1499
1498
  parent: {
1500
1499
  id: string;
@@ -1502,6 +1501,7 @@ export declare const eventsContract: {
1502
1501
  };
1503
1502
  pageId: string;
1504
1503
  };
1504
+ timestamp: string;
1505
1505
  subscriptionId: string;
1506
1506
  workspaceId: string;
1507
1507
  workspaceName: string;
@@ -1521,12 +1521,11 @@ export declare const eventsContract: {
1521
1521
  };
1522
1522
  authors: {
1523
1523
  id: string;
1524
- type: "bot" | "agent" | "person";
1524
+ type: "agent" | "bot" | "person";
1525
1525
  }[];
1526
1526
  } | {
1527
- type: "comment.deleted";
1528
1527
  id: string;
1529
- timestamp: string;
1528
+ type: "comment.deleted";
1530
1529
  data: {
1531
1530
  parent: {
1532
1531
  id: string;
@@ -1534,6 +1533,7 @@ export declare const eventsContract: {
1534
1533
  };
1535
1534
  pageId: string;
1536
1535
  };
1536
+ timestamp: string;
1537
1537
  subscriptionId: string;
1538
1538
  workspaceId: string;
1539
1539
  workspaceName: string;
@@ -1553,12 +1553,11 @@ export declare const eventsContract: {
1553
1553
  };
1554
1554
  authors: {
1555
1555
  id: string;
1556
- type: "bot" | "agent" | "person";
1556
+ type: "agent" | "bot" | "person";
1557
1557
  }[];
1558
1558
  } | {
1559
- type: "comment.updated";
1560
1559
  id: string;
1561
- timestamp: string;
1560
+ type: "comment.updated";
1562
1561
  data: {
1563
1562
  parent: {
1564
1563
  id: string;
@@ -1566,6 +1565,7 @@ export declare const eventsContract: {
1566
1565
  };
1567
1566
  pageId: string;
1568
1567
  };
1568
+ timestamp: string;
1569
1569
  subscriptionId: string;
1570
1570
  workspaceId: string;
1571
1571
  workspaceName: string;
@@ -1585,16 +1585,15 @@ export declare const eventsContract: {
1585
1585
  };
1586
1586
  authors: {
1587
1587
  id: string;
1588
- type: "bot" | "agent" | "person";
1588
+ type: "agent" | "bot" | "person";
1589
1589
  }[];
1590
1590
  } | {
1591
- type: "data_source.content_updated";
1592
1591
  id: string;
1593
- timestamp: string;
1592
+ type: "data_source.content_updated";
1594
1593
  data: {
1595
1594
  parent: {
1596
1595
  id: string;
1597
- type: "team" | "page" | "space" | "agent" | "block" | "database";
1596
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
1598
1597
  dataSourceId?: string | undefined;
1599
1598
  };
1600
1599
  updatedBlocks: {
@@ -1602,6 +1601,7 @@ export declare const eventsContract: {
1602
1601
  type: "page" | "block" | "database";
1603
1602
  }[];
1604
1603
  };
1604
+ timestamp: string;
1605
1605
  subscriptionId: string;
1606
1606
  workspaceId: string;
1607
1607
  workspaceName: string;
@@ -1621,19 +1621,19 @@ export declare const eventsContract: {
1621
1621
  };
1622
1622
  authors: {
1623
1623
  id: string;
1624
- type: "bot" | "agent" | "person";
1624
+ type: "agent" | "bot" | "person";
1625
1625
  }[];
1626
1626
  } | {
1627
- type: "data_source.created";
1628
1627
  id: string;
1629
- timestamp: string;
1628
+ type: "data_source.created";
1630
1629
  data: {
1631
1630
  parent: {
1632
1631
  id: string;
1633
- type: "team" | "page" | "space" | "agent" | "block" | "database";
1632
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
1634
1633
  dataSourceId?: string | undefined;
1635
1634
  };
1636
1635
  };
1636
+ timestamp: string;
1637
1637
  subscriptionId: string;
1638
1638
  workspaceId: string;
1639
1639
  workspaceName: string;
@@ -1653,19 +1653,19 @@ export declare const eventsContract: {
1653
1653
  };
1654
1654
  authors: {
1655
1655
  id: string;
1656
- type: "bot" | "agent" | "person";
1656
+ type: "agent" | "bot" | "person";
1657
1657
  }[];
1658
1658
  } | {
1659
- type: "data_source.deleted";
1660
1659
  id: string;
1661
- timestamp: string;
1660
+ type: "data_source.deleted";
1662
1661
  data: {
1663
1662
  parent: {
1664
1663
  id: string;
1665
- type: "team" | "page" | "space" | "agent" | "block" | "database";
1664
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
1666
1665
  dataSourceId?: string | undefined;
1667
1666
  };
1668
1667
  };
1668
+ timestamp: string;
1669
1669
  subscriptionId: string;
1670
1670
  workspaceId: string;
1671
1671
  workspaceName: string;
@@ -1685,19 +1685,19 @@ export declare const eventsContract: {
1685
1685
  };
1686
1686
  authors: {
1687
1687
  id: string;
1688
- type: "bot" | "agent" | "person";
1688
+ type: "agent" | "bot" | "person";
1689
1689
  }[];
1690
1690
  } | {
1691
- type: "data_source.moved";
1692
1691
  id: string;
1693
- timestamp: string;
1692
+ type: "data_source.moved";
1694
1693
  data: {
1695
1694
  parent: {
1696
1695
  id: string;
1697
- type: "team" | "page" | "space" | "agent" | "block" | "database";
1696
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
1698
1697
  dataSourceId?: string | undefined;
1699
1698
  };
1700
1699
  };
1700
+ timestamp: string;
1701
1701
  subscriptionId: string;
1702
1702
  workspaceId: string;
1703
1703
  workspaceName: string;
@@ -1717,16 +1717,15 @@ export declare const eventsContract: {
1717
1717
  };
1718
1718
  authors: {
1719
1719
  id: string;
1720
- type: "bot" | "agent" | "person";
1720
+ type: "agent" | "bot" | "person";
1721
1721
  }[];
1722
1722
  } | {
1723
- type: "data_source.schema_updated";
1724
1723
  id: string;
1725
- timestamp: string;
1724
+ type: "data_source.schema_updated";
1726
1725
  data: {
1727
1726
  parent: {
1728
1727
  id: string;
1729
- type: "team" | "page" | "space" | "agent" | "block" | "database";
1728
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
1730
1729
  dataSourceId?: string | undefined;
1731
1730
  };
1732
1731
  updatedProperties?: {
@@ -1735,6 +1734,7 @@ export declare const eventsContract: {
1735
1734
  action: "created" | "updated" | "deleted";
1736
1735
  }[] | undefined;
1737
1736
  };
1737
+ timestamp: string;
1738
1738
  subscriptionId: string;
1739
1739
  workspaceId: string;
1740
1740
  workspaceName: string;
@@ -1754,19 +1754,19 @@ export declare const eventsContract: {
1754
1754
  };
1755
1755
  authors: {
1756
1756
  id: string;
1757
- type: "bot" | "agent" | "person";
1757
+ type: "agent" | "bot" | "person";
1758
1758
  }[];
1759
1759
  } | {
1760
- type: "data_source.undeleted";
1761
1760
  id: string;
1762
- timestamp: string;
1761
+ type: "data_source.undeleted";
1763
1762
  data: {
1764
1763
  parent: {
1765
1764
  id: string;
1766
- type: "team" | "page" | "space" | "agent" | "block" | "database";
1765
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
1767
1766
  dataSourceId?: string | undefined;
1768
1767
  };
1769
1768
  };
1769
+ timestamp: string;
1770
1770
  subscriptionId: string;
1771
1771
  workspaceId: string;
1772
1772
  workspaceName: string;
@@ -1786,19 +1786,19 @@ export declare const eventsContract: {
1786
1786
  };
1787
1787
  authors: {
1788
1788
  id: string;
1789
- type: "bot" | "agent" | "person";
1789
+ type: "agent" | "bot" | "person";
1790
1790
  }[];
1791
1791
  } | {
1792
- type: "database.created";
1793
1792
  id: string;
1794
- timestamp: string;
1793
+ type: "database.created";
1795
1794
  data: {
1796
1795
  parent: {
1797
1796
  id: string;
1798
- type: "team" | "page" | "space" | "agent" | "block" | "database";
1797
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
1799
1798
  dataSourceId?: string | undefined;
1800
1799
  };
1801
1800
  };
1801
+ timestamp: string;
1802
1802
  subscriptionId: string;
1803
1803
  workspaceId: string;
1804
1804
  workspaceName: string;
@@ -1818,19 +1818,19 @@ export declare const eventsContract: {
1818
1818
  };
1819
1819
  authors: {
1820
1820
  id: string;
1821
- type: "bot" | "agent" | "person";
1821
+ type: "agent" | "bot" | "person";
1822
1822
  }[];
1823
1823
  } | {
1824
- type: "database.deleted";
1825
1824
  id: string;
1826
- timestamp: string;
1825
+ type: "database.deleted";
1827
1826
  data: {
1828
1827
  parent: {
1829
1828
  id: string;
1830
- type: "team" | "page" | "space" | "agent" | "block" | "database";
1829
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
1831
1830
  dataSourceId?: string | undefined;
1832
1831
  };
1833
1832
  };
1833
+ timestamp: string;
1834
1834
  subscriptionId: string;
1835
1835
  workspaceId: string;
1836
1836
  workspaceName: string;
@@ -1850,19 +1850,19 @@ export declare const eventsContract: {
1850
1850
  };
1851
1851
  authors: {
1852
1852
  id: string;
1853
- type: "bot" | "agent" | "person";
1853
+ type: "agent" | "bot" | "person";
1854
1854
  }[];
1855
1855
  } | {
1856
- type: "database.moved";
1857
1856
  id: string;
1858
- timestamp: string;
1857
+ type: "database.moved";
1859
1858
  data: {
1860
1859
  parent: {
1861
1860
  id: string;
1862
- type: "team" | "page" | "space" | "agent" | "block" | "database";
1861
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
1863
1862
  dataSourceId?: string | undefined;
1864
1863
  };
1865
1864
  };
1865
+ timestamp: string;
1866
1866
  subscriptionId: string;
1867
1867
  workspaceId: string;
1868
1868
  workspaceName: string;
@@ -1882,19 +1882,19 @@ export declare const eventsContract: {
1882
1882
  };
1883
1883
  authors: {
1884
1884
  id: string;
1885
- type: "bot" | "agent" | "person";
1885
+ type: "agent" | "bot" | "person";
1886
1886
  }[];
1887
1887
  } | {
1888
- type: "database.undeleted";
1889
1888
  id: string;
1890
- timestamp: string;
1889
+ type: "database.undeleted";
1891
1890
  data: {
1892
1891
  parent: {
1893
1892
  id: string;
1894
- type: "team" | "page" | "space" | "agent" | "block" | "database";
1893
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
1895
1894
  dataSourceId?: string | undefined;
1896
1895
  };
1897
1896
  };
1897
+ timestamp: string;
1898
1898
  subscriptionId: string;
1899
1899
  workspaceId: string;
1900
1900
  workspaceName: string;
@@ -1914,11 +1914,11 @@ export declare const eventsContract: {
1914
1914
  };
1915
1915
  authors: {
1916
1916
  id: string;
1917
- type: "bot" | "agent" | "person";
1917
+ type: "agent" | "bot" | "person";
1918
1918
  }[];
1919
1919
  } | {
1920
- type: "file_upload.completed";
1921
1920
  id: string;
1921
+ type: "file_upload.completed";
1922
1922
  timestamp: string;
1923
1923
  subscriptionId: string;
1924
1924
  workspaceId: string;
@@ -1939,11 +1939,11 @@ export declare const eventsContract: {
1939
1939
  };
1940
1940
  authors: {
1941
1941
  id: string;
1942
- type: "bot" | "agent" | "person";
1942
+ type: "agent" | "bot" | "person";
1943
1943
  }[];
1944
1944
  } | {
1945
- type: "file_upload.created";
1946
1945
  id: string;
1946
+ type: "file_upload.created";
1947
1947
  timestamp: string;
1948
1948
  subscriptionId: string;
1949
1949
  workspaceId: string;
@@ -1964,11 +1964,11 @@ export declare const eventsContract: {
1964
1964
  };
1965
1965
  authors: {
1966
1966
  id: string;
1967
- type: "bot" | "agent" | "person";
1967
+ type: "agent" | "bot" | "person";
1968
1968
  }[];
1969
1969
  } | {
1970
- type: "file_upload.expired";
1971
1970
  id: string;
1971
+ type: "file_upload.expired";
1972
1972
  timestamp: string;
1973
1973
  subscriptionId: string;
1974
1974
  workspaceId: string;
@@ -1989,12 +1989,11 @@ export declare const eventsContract: {
1989
1989
  };
1990
1990
  authors: {
1991
1991
  id: string;
1992
- type: "bot" | "agent" | "person";
1992
+ type: "agent" | "bot" | "person";
1993
1993
  }[];
1994
1994
  } | {
1995
- type: "file_upload.upload_failed";
1996
1995
  id: string;
1997
- timestamp: string;
1996
+ type: "file_upload.upload_failed";
1998
1997
  data: {
1999
1998
  fileImportResult: {
2000
1999
  type: "success";
@@ -2014,6 +2013,7 @@ export declare const eventsContract: {
2014
2013
  };
2015
2014
  };
2016
2015
  };
2016
+ timestamp: string;
2017
2017
  subscriptionId: string;
2018
2018
  workspaceId: string;
2019
2019
  workspaceName: string;
@@ -2033,16 +2033,15 @@ export declare const eventsContract: {
2033
2033
  };
2034
2034
  authors: {
2035
2035
  id: string;
2036
- type: "bot" | "agent" | "person";
2036
+ type: "agent" | "bot" | "person";
2037
2037
  }[];
2038
2038
  } | {
2039
- type: "page.content_updated";
2040
2039
  id: string;
2041
- timestamp: string;
2040
+ type: "page.content_updated";
2042
2041
  data: {
2043
2042
  parent: {
2044
2043
  id: string;
2045
- type: "team" | "page" | "space" | "agent" | "block" | "database";
2044
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
2046
2045
  dataSourceId?: string | undefined;
2047
2046
  };
2048
2047
  updatedBlocks: {
@@ -2050,6 +2049,7 @@ export declare const eventsContract: {
2050
2049
  type: "page" | "block" | "database";
2051
2050
  }[];
2052
2051
  };
2052
+ timestamp: string;
2053
2053
  subscriptionId: string;
2054
2054
  workspaceId: string;
2055
2055
  workspaceName: string;
@@ -2069,19 +2069,19 @@ export declare const eventsContract: {
2069
2069
  };
2070
2070
  authors: {
2071
2071
  id: string;
2072
- type: "bot" | "agent" | "person";
2072
+ type: "agent" | "bot" | "person";
2073
2073
  }[];
2074
2074
  } | {
2075
- type: "page.created";
2076
2075
  id: string;
2077
- timestamp: string;
2076
+ type: "page.created";
2078
2077
  data: {
2079
2078
  parent: {
2080
2079
  id: string;
2081
- type: "team" | "page" | "space" | "agent" | "block" | "database";
2080
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
2082
2081
  dataSourceId?: string | undefined;
2083
2082
  };
2084
2083
  };
2084
+ timestamp: string;
2085
2085
  subscriptionId: string;
2086
2086
  workspaceId: string;
2087
2087
  workspaceName: string;
@@ -2101,19 +2101,19 @@ export declare const eventsContract: {
2101
2101
  };
2102
2102
  authors: {
2103
2103
  id: string;
2104
- type: "bot" | "agent" | "person";
2104
+ type: "agent" | "bot" | "person";
2105
2105
  }[];
2106
2106
  } | {
2107
- type: "page.deleted";
2108
2107
  id: string;
2109
- timestamp: string;
2108
+ type: "page.deleted";
2110
2109
  data: {
2111
2110
  parent: {
2112
2111
  id: string;
2113
- type: "team" | "page" | "space" | "agent" | "block" | "database";
2112
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
2114
2113
  dataSourceId?: string | undefined;
2115
2114
  };
2116
2115
  };
2116
+ timestamp: string;
2117
2117
  subscriptionId: string;
2118
2118
  workspaceId: string;
2119
2119
  workspaceName: string;
@@ -2133,19 +2133,19 @@ export declare const eventsContract: {
2133
2133
  };
2134
2134
  authors: {
2135
2135
  id: string;
2136
- type: "bot" | "agent" | "person";
2136
+ type: "agent" | "bot" | "person";
2137
2137
  }[];
2138
2138
  } | {
2139
- type: "page.locked";
2140
2139
  id: string;
2141
- timestamp: string;
2140
+ type: "page.locked";
2142
2141
  data: {
2143
2142
  parent: {
2144
2143
  id: string;
2145
- type: "team" | "page" | "space" | "agent" | "block" | "database";
2144
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
2146
2145
  dataSourceId?: string | undefined;
2147
2146
  };
2148
2147
  };
2148
+ timestamp: string;
2149
2149
  subscriptionId: string;
2150
2150
  workspaceId: string;
2151
2151
  workspaceName: string;
@@ -2165,19 +2165,19 @@ export declare const eventsContract: {
2165
2165
  };
2166
2166
  authors: {
2167
2167
  id: string;
2168
- type: "bot" | "agent" | "person";
2168
+ type: "agent" | "bot" | "person";
2169
2169
  }[];
2170
2170
  } | {
2171
- type: "page.moved";
2172
2171
  id: string;
2173
- timestamp: string;
2172
+ type: "page.moved";
2174
2173
  data: {
2175
2174
  parent: {
2176
2175
  id: string;
2177
- type: "team" | "page" | "space" | "agent" | "block" | "database";
2176
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
2178
2177
  dataSourceId?: string | undefined;
2179
2178
  };
2180
2179
  };
2180
+ timestamp: string;
2181
2181
  subscriptionId: string;
2182
2182
  workspaceId: string;
2183
2183
  workspaceName: string;
@@ -2197,20 +2197,20 @@ export declare const eventsContract: {
2197
2197
  };
2198
2198
  authors: {
2199
2199
  id: string;
2200
- type: "bot" | "agent" | "person";
2200
+ type: "agent" | "bot" | "person";
2201
2201
  }[];
2202
2202
  } | {
2203
- type: "page.properties_updated";
2204
2203
  id: string;
2205
- timestamp: string;
2204
+ type: "page.properties_updated";
2206
2205
  data: {
2207
2206
  parent: {
2208
2207
  id: string;
2209
- type: "team" | "page" | "space" | "agent" | "block" | "database";
2208
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
2210
2209
  dataSourceId?: string | undefined;
2211
2210
  };
2212
2211
  updatedProperties: string[];
2213
2212
  };
2213
+ timestamp: string;
2214
2214
  subscriptionId: string;
2215
2215
  workspaceId: string;
2216
2216
  workspaceName: string;
@@ -2230,12 +2230,11 @@ export declare const eventsContract: {
2230
2230
  };
2231
2231
  authors: {
2232
2232
  id: string;
2233
- type: "bot" | "agent" | "person";
2233
+ type: "agent" | "bot" | "person";
2234
2234
  }[];
2235
2235
  } | {
2236
- type: "page.transcription_block.transcript_deleted";
2237
2236
  id: string;
2238
- timestamp: string;
2237
+ type: "page.transcription_block.transcript_deleted";
2239
2238
  data: {
2240
2239
  target: {
2241
2240
  id: string;
@@ -2243,6 +2242,7 @@ export declare const eventsContract: {
2243
2242
  };
2244
2243
  transcriptId: string | null;
2245
2244
  };
2245
+ timestamp: string;
2246
2246
  subscriptionId: string;
2247
2247
  workspaceId: string;
2248
2248
  workspaceName: string;
@@ -2262,19 +2262,19 @@ export declare const eventsContract: {
2262
2262
  };
2263
2263
  authors: {
2264
2264
  id: string;
2265
- type: "bot" | "agent" | "person";
2265
+ type: "agent" | "bot" | "person";
2266
2266
  }[];
2267
2267
  } | {
2268
- type: "page.undeleted";
2269
2268
  id: string;
2270
- timestamp: string;
2269
+ type: "page.undeleted";
2271
2270
  data: {
2272
2271
  parent: {
2273
2272
  id: string;
2274
- type: "team" | "page" | "space" | "agent" | "block" | "database";
2273
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
2275
2274
  dataSourceId?: string | undefined;
2276
2275
  };
2277
2276
  };
2277
+ timestamp: string;
2278
2278
  subscriptionId: string;
2279
2279
  workspaceId: string;
2280
2280
  workspaceName: string;
@@ -2294,19 +2294,19 @@ export declare const eventsContract: {
2294
2294
  };
2295
2295
  authors: {
2296
2296
  id: string;
2297
- type: "bot" | "agent" | "person";
2297
+ type: "agent" | "bot" | "person";
2298
2298
  }[];
2299
2299
  } | {
2300
- type: "page.unlocked";
2301
2300
  id: string;
2302
- timestamp: string;
2301
+ type: "page.unlocked";
2303
2302
  data: {
2304
2303
  parent: {
2305
2304
  id: string;
2306
- type: "team" | "page" | "space" | "agent" | "block" | "database";
2305
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
2307
2306
  dataSourceId?: string | undefined;
2308
2307
  };
2309
2308
  };
2309
+ timestamp: string;
2310
2310
  subscriptionId: string;
2311
2311
  workspaceId: string;
2312
2312
  workspaceName: string;
@@ -2326,20 +2326,20 @@ export declare const eventsContract: {
2326
2326
  };
2327
2327
  authors: {
2328
2328
  id: string;
2329
- type: "bot" | "agent" | "person";
2329
+ type: "agent" | "bot" | "person";
2330
2330
  }[];
2331
2331
  } | {
2332
- type: "view.created";
2333
2332
  id: string;
2334
- timestamp: string;
2333
+ type: "view.created";
2335
2334
  data: {
2336
2335
  parent: {
2337
2336
  id: string;
2338
- type: "team" | "page" | "space" | "agent" | "block" | "database";
2337
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
2339
2338
  dataSourceId?: string | undefined;
2340
2339
  };
2341
2340
  viewType: string;
2342
2341
  };
2342
+ timestamp: string;
2343
2343
  subscriptionId: string;
2344
2344
  workspaceId: string;
2345
2345
  workspaceName: string;
@@ -2359,19 +2359,19 @@ export declare const eventsContract: {
2359
2359
  };
2360
2360
  authors: {
2361
2361
  id: string;
2362
- type: "bot" | "agent" | "person";
2362
+ type: "agent" | "bot" | "person";
2363
2363
  }[];
2364
2364
  } | {
2365
- type: "view.deleted";
2366
2365
  id: string;
2367
- timestamp: string;
2366
+ type: "view.deleted";
2368
2367
  data: {
2369
2368
  parent: {
2370
2369
  id: string;
2371
- type: "team" | "page" | "space" | "agent" | "block" | "database";
2370
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
2372
2371
  dataSourceId?: string | undefined;
2373
2372
  };
2374
2373
  };
2374
+ timestamp: string;
2375
2375
  subscriptionId: string;
2376
2376
  workspaceId: string;
2377
2377
  workspaceName: string;
@@ -2391,20 +2391,20 @@ export declare const eventsContract: {
2391
2391
  };
2392
2392
  authors: {
2393
2393
  id: string;
2394
- type: "bot" | "agent" | "person";
2394
+ type: "agent" | "bot" | "person";
2395
2395
  }[];
2396
2396
  } | {
2397
- type: "view.updated";
2398
2397
  id: string;
2399
- timestamp: string;
2398
+ type: "view.updated";
2400
2399
  data: {
2401
2400
  parent: {
2402
2401
  id: string;
2403
- type: "team" | "page" | "space" | "agent" | "block" | "database";
2402
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
2404
2403
  dataSourceId?: string | undefined;
2405
2404
  };
2406
- updatedFields: ("filter" | "name" | "sorts" | "configuration")[];
2405
+ updatedFields: ("name" | "filter" | "sorts" | "configuration")[];
2407
2406
  };
2407
+ timestamp: string;
2408
2408
  subscriptionId: string;
2409
2409
  workspaceId: string;
2410
2410
  workspaceName: string;
@@ -2424,7 +2424,7 @@ export declare const eventsContract: {
2424
2424
  };
2425
2425
  authors: {
2426
2426
  id: string;
2427
- type: "bot" | "agent" | "person";
2427
+ type: "agent" | "bot" | "person";
2428
2428
  }[];
2429
2429
  }, {
2430
2430
  [x: string]: import("zod").JSONType;
@@ -2548,7 +2548,7 @@ export declare const eventsContract: {
2548
2548
  data: {
2549
2549
  parent: {
2550
2550
  id: string;
2551
- type: "team" | "page" | "space" | "agent" | "block" | "database";
2551
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
2552
2552
  data_source_id?: string | undefined;
2553
2553
  };
2554
2554
  updated_blocks: {
@@ -2591,7 +2591,7 @@ export declare const eventsContract: {
2591
2591
  data: {
2592
2592
  parent: {
2593
2593
  id: string;
2594
- type: "team" | "page" | "space" | "agent" | "block" | "database";
2594
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
2595
2595
  data_source_id?: string | undefined;
2596
2596
  };
2597
2597
  };
@@ -2630,7 +2630,7 @@ export declare const eventsContract: {
2630
2630
  data: {
2631
2631
  parent: {
2632
2632
  id: string;
2633
- type: "team" | "page" | "space" | "agent" | "block" | "database";
2633
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
2634
2634
  data_source_id?: string | undefined;
2635
2635
  };
2636
2636
  };
@@ -2669,7 +2669,7 @@ export declare const eventsContract: {
2669
2669
  data: {
2670
2670
  parent: {
2671
2671
  id: string;
2672
- type: "team" | "page" | "space" | "agent" | "block" | "database";
2672
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
2673
2673
  data_source_id?: string | undefined;
2674
2674
  };
2675
2675
  };
@@ -2708,7 +2708,7 @@ export declare const eventsContract: {
2708
2708
  data: {
2709
2709
  parent: {
2710
2710
  id: string;
2711
- type: "team" | "page" | "space" | "agent" | "block" | "database";
2711
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
2712
2712
  data_source_id?: string | undefined;
2713
2713
  };
2714
2714
  updated_properties?: {
@@ -2752,7 +2752,7 @@ export declare const eventsContract: {
2752
2752
  data: {
2753
2753
  parent: {
2754
2754
  id: string;
2755
- type: "team" | "page" | "space" | "agent" | "block" | "database";
2755
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
2756
2756
  data_source_id?: string | undefined;
2757
2757
  };
2758
2758
  };
@@ -2791,7 +2791,7 @@ export declare const eventsContract: {
2791
2791
  data: {
2792
2792
  parent: {
2793
2793
  id: string;
2794
- type: "team" | "page" | "space" | "agent" | "block" | "database";
2794
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
2795
2795
  data_source_id?: string | undefined;
2796
2796
  };
2797
2797
  };
@@ -2830,7 +2830,7 @@ export declare const eventsContract: {
2830
2830
  data: {
2831
2831
  parent: {
2832
2832
  id: string;
2833
- type: "team" | "page" | "space" | "agent" | "block" | "database";
2833
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
2834
2834
  data_source_id?: string | undefined;
2835
2835
  };
2836
2836
  };
@@ -2869,7 +2869,7 @@ export declare const eventsContract: {
2869
2869
  data: {
2870
2870
  parent: {
2871
2871
  id: string;
2872
- type: "team" | "page" | "space" | "agent" | "block" | "database";
2872
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
2873
2873
  data_source_id?: string | undefined;
2874
2874
  };
2875
2875
  };
@@ -2908,7 +2908,7 @@ export declare const eventsContract: {
2908
2908
  data: {
2909
2909
  parent: {
2910
2910
  id: string;
2911
- type: "team" | "page" | "space" | "agent" | "block" | "database";
2911
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
2912
2912
  data_source_id?: string | undefined;
2913
2913
  };
2914
2914
  };
@@ -3092,7 +3092,7 @@ export declare const eventsContract: {
3092
3092
  data: {
3093
3093
  parent: {
3094
3094
  id: string;
3095
- type: "team" | "page" | "space" | "agent" | "block" | "database";
3095
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
3096
3096
  data_source_id?: string | undefined;
3097
3097
  };
3098
3098
  updated_blocks: {
@@ -3135,7 +3135,7 @@ export declare const eventsContract: {
3135
3135
  data: {
3136
3136
  parent: {
3137
3137
  id: string;
3138
- type: "team" | "page" | "space" | "agent" | "block" | "database";
3138
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
3139
3139
  data_source_id?: string | undefined;
3140
3140
  };
3141
3141
  };
@@ -3174,7 +3174,7 @@ export declare const eventsContract: {
3174
3174
  data: {
3175
3175
  parent: {
3176
3176
  id: string;
3177
- type: "team" | "page" | "space" | "agent" | "block" | "database";
3177
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
3178
3178
  data_source_id?: string | undefined;
3179
3179
  };
3180
3180
  };
@@ -3213,7 +3213,7 @@ export declare const eventsContract: {
3213
3213
  data: {
3214
3214
  parent: {
3215
3215
  id: string;
3216
- type: "team" | "page" | "space" | "agent" | "block" | "database";
3216
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
3217
3217
  data_source_id?: string | undefined;
3218
3218
  };
3219
3219
  };
@@ -3252,7 +3252,7 @@ export declare const eventsContract: {
3252
3252
  data: {
3253
3253
  parent: {
3254
3254
  id: string;
3255
- type: "team" | "page" | "space" | "agent" | "block" | "database";
3255
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
3256
3256
  data_source_id?: string | undefined;
3257
3257
  };
3258
3258
  };
@@ -3291,7 +3291,7 @@ export declare const eventsContract: {
3291
3291
  data: {
3292
3292
  parent: {
3293
3293
  id: string;
3294
- type: "team" | "page" | "space" | "agent" | "block" | "database";
3294
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
3295
3295
  data_source_id?: string | undefined;
3296
3296
  };
3297
3297
  updated_properties: string[];
@@ -3370,7 +3370,7 @@ export declare const eventsContract: {
3370
3370
  data: {
3371
3371
  parent: {
3372
3372
  id: string;
3373
- type: "team" | "page" | "space" | "agent" | "block" | "database";
3373
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
3374
3374
  data_source_id?: string | undefined;
3375
3375
  };
3376
3376
  };
@@ -3409,7 +3409,7 @@ export declare const eventsContract: {
3409
3409
  data: {
3410
3410
  parent: {
3411
3411
  id: string;
3412
- type: "team" | "page" | "space" | "agent" | "block" | "database";
3412
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
3413
3413
  data_source_id?: string | undefined;
3414
3414
  };
3415
3415
  };
@@ -3448,7 +3448,7 @@ export declare const eventsContract: {
3448
3448
  data: {
3449
3449
  parent: {
3450
3450
  id: string;
3451
- type: "team" | "page" | "space" | "agent" | "block" | "database";
3451
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
3452
3452
  data_source_id?: string | undefined;
3453
3453
  };
3454
3454
  view_type: string;
@@ -3488,7 +3488,7 @@ export declare const eventsContract: {
3488
3488
  data: {
3489
3489
  parent: {
3490
3490
  id: string;
3491
- type: "team" | "page" | "space" | "agent" | "block" | "database";
3491
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
3492
3492
  data_source_id?: string | undefined;
3493
3493
  };
3494
3494
  };
@@ -3527,10 +3527,10 @@ export declare const eventsContract: {
3527
3527
  data: {
3528
3528
  parent: {
3529
3529
  id: string;
3530
- type: "team" | "page" | "space" | "agent" | "block" | "database";
3530
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
3531
3531
  data_source_id?: string | undefined;
3532
3532
  };
3533
- updated_fields: ("filter" | "name" | "sorts" | "configuration")[];
3533
+ updated_fields: ("name" | "filter" | "sorts" | "configuration")[];
3534
3534
  };
3535
3535
  entity: {
3536
3536
  id: string;
@@ -3709,4 +3709,5 @@ export declare const eventsContract: {
3709
3709
  id: import("zod").ZodString;
3710
3710
  }, import("zod/v4/core").$loose>;
3711
3711
  }, import("zod/v4/core").$loose>, import("zod").ZodVoid, Record<never, never>, Record<never, never>>;
3712
+ anthropicEvent: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodUnknown, import("zod").ZodVoid, Record<never, never>, Record<never, never>>;
3712
3713
  };