@automate.ax/api-contract 0.137.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.
@@ -146,10 +146,10 @@ export declare const notionEventsContract: {
146
146
  data_source_id: z.ZodOptional<z.ZodUUID>;
147
147
  id: z.ZodUUID;
148
148
  type: z.ZodEnum<{
149
+ agent: "agent";
149
150
  team: "team";
150
151
  page: "page";
151
152
  space: "space";
152
- agent: "agent";
153
153
  block: "block";
154
154
  database: "database";
155
155
  }>;
@@ -207,10 +207,10 @@ export declare const notionEventsContract: {
207
207
  data_source_id: z.ZodOptional<z.ZodUUID>;
208
208
  id: z.ZodUUID;
209
209
  type: z.ZodEnum<{
210
+ agent: "agent";
210
211
  team: "team";
211
212
  page: "page";
212
213
  space: "space";
213
- agent: "agent";
214
214
  block: "block";
215
215
  database: "database";
216
216
  }>;
@@ -260,10 +260,10 @@ export declare const notionEventsContract: {
260
260
  data_source_id: z.ZodOptional<z.ZodUUID>;
261
261
  id: z.ZodUUID;
262
262
  type: z.ZodEnum<{
263
+ agent: "agent";
263
264
  team: "team";
264
265
  page: "page";
265
266
  space: "space";
266
- agent: "agent";
267
267
  block: "block";
268
268
  database: "database";
269
269
  }>;
@@ -313,10 +313,10 @@ export declare const notionEventsContract: {
313
313
  data_source_id: z.ZodOptional<z.ZodUUID>;
314
314
  id: z.ZodUUID;
315
315
  type: z.ZodEnum<{
316
+ agent: "agent";
316
317
  team: "team";
317
318
  page: "page";
318
319
  space: "space";
319
- agent: "agent";
320
320
  block: "block";
321
321
  database: "database";
322
322
  }>;
@@ -366,10 +366,10 @@ export declare const notionEventsContract: {
366
366
  data_source_id: z.ZodOptional<z.ZodUUID>;
367
367
  id: z.ZodUUID;
368
368
  type: z.ZodEnum<{
369
+ agent: "agent";
369
370
  team: "team";
370
371
  page: "page";
371
372
  space: "space";
372
- agent: "agent";
373
373
  block: "block";
374
374
  database: "database";
375
375
  }>;
@@ -428,10 +428,10 @@ export declare const notionEventsContract: {
428
428
  data_source_id: z.ZodOptional<z.ZodUUID>;
429
429
  id: z.ZodUUID;
430
430
  type: z.ZodEnum<{
431
+ agent: "agent";
431
432
  team: "team";
432
433
  page: "page";
433
434
  space: "space";
434
- agent: "agent";
435
435
  block: "block";
436
436
  database: "database";
437
437
  }>;
@@ -481,10 +481,10 @@ export declare const notionEventsContract: {
481
481
  data_source_id: z.ZodOptional<z.ZodUUID>;
482
482
  id: z.ZodUUID;
483
483
  type: z.ZodEnum<{
484
+ agent: "agent";
484
485
  team: "team";
485
486
  page: "page";
486
487
  space: "space";
487
- agent: "agent";
488
488
  block: "block";
489
489
  database: "database";
490
490
  }>;
@@ -534,10 +534,10 @@ export declare const notionEventsContract: {
534
534
  data_source_id: z.ZodOptional<z.ZodUUID>;
535
535
  id: z.ZodUUID;
536
536
  type: z.ZodEnum<{
537
+ agent: "agent";
537
538
  team: "team";
538
539
  page: "page";
539
540
  space: "space";
540
- agent: "agent";
541
541
  block: "block";
542
542
  database: "database";
543
543
  }>;
@@ -587,10 +587,10 @@ export declare const notionEventsContract: {
587
587
  data_source_id: z.ZodOptional<z.ZodUUID>;
588
588
  id: z.ZodUUID;
589
589
  type: z.ZodEnum<{
590
+ agent: "agent";
590
591
  team: "team";
591
592
  page: "page";
592
593
  space: "space";
593
- agent: "agent";
594
594
  block: "block";
595
595
  database: "database";
596
596
  }>;
@@ -640,10 +640,10 @@ export declare const notionEventsContract: {
640
640
  data_source_id: z.ZodOptional<z.ZodUUID>;
641
641
  id: z.ZodUUID;
642
642
  type: z.ZodEnum<{
643
+ agent: "agent";
643
644
  team: "team";
644
645
  page: "page";
645
646
  space: "space";
646
- agent: "agent";
647
647
  block: "block";
648
648
  database: "database";
649
649
  }>;
@@ -855,10 +855,10 @@ export declare const notionEventsContract: {
855
855
  data_source_id: z.ZodOptional<z.ZodUUID>;
856
856
  id: z.ZodUUID;
857
857
  type: z.ZodEnum<{
858
+ agent: "agent";
858
859
  team: "team";
859
860
  page: "page";
860
861
  space: "space";
861
- agent: "agent";
862
862
  block: "block";
863
863
  database: "database";
864
864
  }>;
@@ -912,10 +912,10 @@ export declare const notionEventsContract: {
912
912
  data_source_id: z.ZodOptional<z.ZodUUID>;
913
913
  id: z.ZodUUID;
914
914
  type: z.ZodEnum<{
915
+ agent: "agent";
915
916
  team: "team";
916
917
  page: "page";
917
918
  space: "space";
918
- agent: "agent";
919
919
  block: "block";
920
920
  database: "database";
921
921
  }>;
@@ -961,10 +961,10 @@ export declare const notionEventsContract: {
961
961
  data_source_id: z.ZodOptional<z.ZodUUID>;
962
962
  id: z.ZodUUID;
963
963
  type: z.ZodEnum<{
964
+ agent: "agent";
964
965
  team: "team";
965
966
  page: "page";
966
967
  space: "space";
967
- agent: "agent";
968
968
  block: "block";
969
969
  database: "database";
970
970
  }>;
@@ -1010,10 +1010,10 @@ export declare const notionEventsContract: {
1010
1010
  data_source_id: z.ZodOptional<z.ZodUUID>;
1011
1011
  id: z.ZodUUID;
1012
1012
  type: z.ZodEnum<{
1013
+ agent: "agent";
1013
1014
  team: "team";
1014
1015
  page: "page";
1015
1016
  space: "space";
1016
- agent: "agent";
1017
1017
  block: "block";
1018
1018
  database: "database";
1019
1019
  }>;
@@ -1059,10 +1059,10 @@ export declare const notionEventsContract: {
1059
1059
  data_source_id: z.ZodOptional<z.ZodUUID>;
1060
1060
  id: z.ZodUUID;
1061
1061
  type: z.ZodEnum<{
1062
+ agent: "agent";
1062
1063
  team: "team";
1063
1064
  page: "page";
1064
1065
  space: "space";
1065
- agent: "agent";
1066
1066
  block: "block";
1067
1067
  database: "database";
1068
1068
  }>;
@@ -1108,10 +1108,10 @@ export declare const notionEventsContract: {
1108
1108
  data_source_id: z.ZodOptional<z.ZodUUID>;
1109
1109
  id: z.ZodUUID;
1110
1110
  type: z.ZodEnum<{
1111
+ agent: "agent";
1111
1112
  team: "team";
1112
1113
  page: "page";
1113
1114
  space: "space";
1114
- agent: "agent";
1115
1115
  block: "block";
1116
1116
  database: "database";
1117
1117
  }>;
@@ -1204,10 +1204,10 @@ export declare const notionEventsContract: {
1204
1204
  data_source_id: z.ZodOptional<z.ZodUUID>;
1205
1205
  id: z.ZodUUID;
1206
1206
  type: z.ZodEnum<{
1207
+ agent: "agent";
1207
1208
  team: "team";
1208
1209
  page: "page";
1209
1210
  space: "space";
1210
- agent: "agent";
1211
1211
  block: "block";
1212
1212
  database: "database";
1213
1213
  }>;
@@ -1253,10 +1253,10 @@ export declare const notionEventsContract: {
1253
1253
  data_source_id: z.ZodOptional<z.ZodUUID>;
1254
1254
  id: z.ZodUUID;
1255
1255
  type: z.ZodEnum<{
1256
+ agent: "agent";
1256
1257
  team: "team";
1257
1258
  page: "page";
1258
1259
  space: "space";
1259
- agent: "agent";
1260
1260
  block: "block";
1261
1261
  database: "database";
1262
1262
  }>;
@@ -1302,10 +1302,10 @@ export declare const notionEventsContract: {
1302
1302
  data_source_id: z.ZodOptional<z.ZodUUID>;
1303
1303
  id: z.ZodUUID;
1304
1304
  type: z.ZodEnum<{
1305
+ agent: "agent";
1305
1306
  team: "team";
1306
1307
  page: "page";
1307
1308
  space: "space";
1308
- agent: "agent";
1309
1309
  block: "block";
1310
1310
  database: "database";
1311
1311
  }>;
@@ -1352,10 +1352,10 @@ export declare const notionEventsContract: {
1352
1352
  data_source_id: z.ZodOptional<z.ZodUUID>;
1353
1353
  id: z.ZodUUID;
1354
1354
  type: z.ZodEnum<{
1355
+ agent: "agent";
1355
1356
  team: "team";
1356
1357
  page: "page";
1357
1358
  space: "space";
1358
- agent: "agent";
1359
1359
  block: "block";
1360
1360
  database: "database";
1361
1361
  }>;
@@ -1401,17 +1401,17 @@ export declare const notionEventsContract: {
1401
1401
  data_source_id: z.ZodOptional<z.ZodUUID>;
1402
1402
  id: z.ZodUUID;
1403
1403
  type: z.ZodEnum<{
1404
+ agent: "agent";
1404
1405
  team: "team";
1405
1406
  page: "page";
1406
1407
  space: "space";
1407
- agent: "agent";
1408
1408
  block: "block";
1409
1409
  database: "database";
1410
1410
  }>;
1411
1411
  }, z.core.$strip>;
1412
1412
  updated_fields: z.ZodArray<z.ZodEnum<{
1413
- filter: "filter";
1414
1413
  name: "name";
1414
+ filter: "filter";
1415
1415
  sorts: "sorts";
1416
1416
  configuration: "configuration";
1417
1417
  }>>;
@@ -1451,9 +1451,8 @@ export declare const notionEventsContract: {
1451
1451
  workspace_id: z.ZodUUID;
1452
1452
  workspace_name: z.ZodString;
1453
1453
  }, z.core.$catchall<z.ZodJSONSchema>>], "type">, z.ZodTransform<{
1454
- type: "comment.created";
1455
1454
  id: string;
1456
- timestamp: string;
1455
+ type: "comment.created";
1457
1456
  data: {
1458
1457
  parent: {
1459
1458
  id: string;
@@ -1461,6 +1460,7 @@ export declare const notionEventsContract: {
1461
1460
  };
1462
1461
  pageId: string;
1463
1462
  };
1463
+ timestamp: string;
1464
1464
  subscriptionId: string;
1465
1465
  workspaceId: string;
1466
1466
  workspaceName: string;
@@ -1480,12 +1480,11 @@ export declare const notionEventsContract: {
1480
1480
  };
1481
1481
  authors: {
1482
1482
  id: string;
1483
- type: "bot" | "agent" | "person";
1483
+ type: "agent" | "bot" | "person";
1484
1484
  }[];
1485
1485
  } | {
1486
- type: "comment.deleted";
1487
1486
  id: string;
1488
- timestamp: string;
1487
+ type: "comment.deleted";
1489
1488
  data: {
1490
1489
  parent: {
1491
1490
  id: string;
@@ -1493,6 +1492,7 @@ export declare const notionEventsContract: {
1493
1492
  };
1494
1493
  pageId: string;
1495
1494
  };
1495
+ timestamp: string;
1496
1496
  subscriptionId: string;
1497
1497
  workspaceId: string;
1498
1498
  workspaceName: string;
@@ -1512,12 +1512,11 @@ export declare const notionEventsContract: {
1512
1512
  };
1513
1513
  authors: {
1514
1514
  id: string;
1515
- type: "bot" | "agent" | "person";
1515
+ type: "agent" | "bot" | "person";
1516
1516
  }[];
1517
1517
  } | {
1518
- type: "comment.updated";
1519
1518
  id: string;
1520
- timestamp: string;
1519
+ type: "comment.updated";
1521
1520
  data: {
1522
1521
  parent: {
1523
1522
  id: string;
@@ -1525,6 +1524,7 @@ export declare const notionEventsContract: {
1525
1524
  };
1526
1525
  pageId: string;
1527
1526
  };
1527
+ timestamp: string;
1528
1528
  subscriptionId: string;
1529
1529
  workspaceId: string;
1530
1530
  workspaceName: string;
@@ -1544,16 +1544,15 @@ export declare const notionEventsContract: {
1544
1544
  };
1545
1545
  authors: {
1546
1546
  id: string;
1547
- type: "bot" | "agent" | "person";
1547
+ type: "agent" | "bot" | "person";
1548
1548
  }[];
1549
1549
  } | {
1550
- type: "data_source.content_updated";
1551
1550
  id: string;
1552
- timestamp: string;
1551
+ type: "data_source.content_updated";
1553
1552
  data: {
1554
1553
  parent: {
1555
1554
  id: string;
1556
- type: "team" | "page" | "space" | "agent" | "block" | "database";
1555
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
1557
1556
  dataSourceId?: string | undefined;
1558
1557
  };
1559
1558
  updatedBlocks: {
@@ -1561,6 +1560,7 @@ export declare const notionEventsContract: {
1561
1560
  type: "page" | "block" | "database";
1562
1561
  }[];
1563
1562
  };
1563
+ timestamp: string;
1564
1564
  subscriptionId: string;
1565
1565
  workspaceId: string;
1566
1566
  workspaceName: string;
@@ -1580,19 +1580,19 @@ export declare const notionEventsContract: {
1580
1580
  };
1581
1581
  authors: {
1582
1582
  id: string;
1583
- type: "bot" | "agent" | "person";
1583
+ type: "agent" | "bot" | "person";
1584
1584
  }[];
1585
1585
  } | {
1586
- type: "data_source.created";
1587
1586
  id: string;
1588
- timestamp: string;
1587
+ type: "data_source.created";
1589
1588
  data: {
1590
1589
  parent: {
1591
1590
  id: string;
1592
- type: "team" | "page" | "space" | "agent" | "block" | "database";
1591
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
1593
1592
  dataSourceId?: string | undefined;
1594
1593
  };
1595
1594
  };
1595
+ timestamp: string;
1596
1596
  subscriptionId: string;
1597
1597
  workspaceId: string;
1598
1598
  workspaceName: string;
@@ -1612,19 +1612,19 @@ export declare const notionEventsContract: {
1612
1612
  };
1613
1613
  authors: {
1614
1614
  id: string;
1615
- type: "bot" | "agent" | "person";
1615
+ type: "agent" | "bot" | "person";
1616
1616
  }[];
1617
1617
  } | {
1618
- type: "data_source.deleted";
1619
1618
  id: string;
1620
- timestamp: string;
1619
+ type: "data_source.deleted";
1621
1620
  data: {
1622
1621
  parent: {
1623
1622
  id: string;
1624
- type: "team" | "page" | "space" | "agent" | "block" | "database";
1623
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
1625
1624
  dataSourceId?: string | undefined;
1626
1625
  };
1627
1626
  };
1627
+ timestamp: string;
1628
1628
  subscriptionId: string;
1629
1629
  workspaceId: string;
1630
1630
  workspaceName: string;
@@ -1644,19 +1644,19 @@ export declare const notionEventsContract: {
1644
1644
  };
1645
1645
  authors: {
1646
1646
  id: string;
1647
- type: "bot" | "agent" | "person";
1647
+ type: "agent" | "bot" | "person";
1648
1648
  }[];
1649
1649
  } | {
1650
- type: "data_source.moved";
1651
1650
  id: string;
1652
- timestamp: string;
1651
+ type: "data_source.moved";
1653
1652
  data: {
1654
1653
  parent: {
1655
1654
  id: string;
1656
- type: "team" | "page" | "space" | "agent" | "block" | "database";
1655
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
1657
1656
  dataSourceId?: string | undefined;
1658
1657
  };
1659
1658
  };
1659
+ timestamp: string;
1660
1660
  subscriptionId: string;
1661
1661
  workspaceId: string;
1662
1662
  workspaceName: string;
@@ -1676,16 +1676,15 @@ export declare const notionEventsContract: {
1676
1676
  };
1677
1677
  authors: {
1678
1678
  id: string;
1679
- type: "bot" | "agent" | "person";
1679
+ type: "agent" | "bot" | "person";
1680
1680
  }[];
1681
1681
  } | {
1682
- type: "data_source.schema_updated";
1683
1682
  id: string;
1684
- timestamp: string;
1683
+ type: "data_source.schema_updated";
1685
1684
  data: {
1686
1685
  parent: {
1687
1686
  id: string;
1688
- type: "team" | "page" | "space" | "agent" | "block" | "database";
1687
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
1689
1688
  dataSourceId?: string | undefined;
1690
1689
  };
1691
1690
  updatedProperties?: {
@@ -1694,6 +1693,7 @@ export declare const notionEventsContract: {
1694
1693
  action: "created" | "updated" | "deleted";
1695
1694
  }[] | undefined;
1696
1695
  };
1696
+ timestamp: string;
1697
1697
  subscriptionId: string;
1698
1698
  workspaceId: string;
1699
1699
  workspaceName: string;
@@ -1713,19 +1713,19 @@ export declare const notionEventsContract: {
1713
1713
  };
1714
1714
  authors: {
1715
1715
  id: string;
1716
- type: "bot" | "agent" | "person";
1716
+ type: "agent" | "bot" | "person";
1717
1717
  }[];
1718
1718
  } | {
1719
- type: "data_source.undeleted";
1720
1719
  id: string;
1721
- timestamp: string;
1720
+ type: "data_source.undeleted";
1722
1721
  data: {
1723
1722
  parent: {
1724
1723
  id: string;
1725
- type: "team" | "page" | "space" | "agent" | "block" | "database";
1724
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
1726
1725
  dataSourceId?: string | undefined;
1727
1726
  };
1728
1727
  };
1728
+ timestamp: string;
1729
1729
  subscriptionId: string;
1730
1730
  workspaceId: string;
1731
1731
  workspaceName: string;
@@ -1745,19 +1745,19 @@ export declare const notionEventsContract: {
1745
1745
  };
1746
1746
  authors: {
1747
1747
  id: string;
1748
- type: "bot" | "agent" | "person";
1748
+ type: "agent" | "bot" | "person";
1749
1749
  }[];
1750
1750
  } | {
1751
- type: "database.created";
1752
1751
  id: string;
1753
- timestamp: string;
1752
+ type: "database.created";
1754
1753
  data: {
1755
1754
  parent: {
1756
1755
  id: string;
1757
- type: "team" | "page" | "space" | "agent" | "block" | "database";
1756
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
1758
1757
  dataSourceId?: string | undefined;
1759
1758
  };
1760
1759
  };
1760
+ timestamp: string;
1761
1761
  subscriptionId: string;
1762
1762
  workspaceId: string;
1763
1763
  workspaceName: string;
@@ -1777,19 +1777,19 @@ export declare const notionEventsContract: {
1777
1777
  };
1778
1778
  authors: {
1779
1779
  id: string;
1780
- type: "bot" | "agent" | "person";
1780
+ type: "agent" | "bot" | "person";
1781
1781
  }[];
1782
1782
  } | {
1783
- type: "database.deleted";
1784
1783
  id: string;
1785
- timestamp: string;
1784
+ type: "database.deleted";
1786
1785
  data: {
1787
1786
  parent: {
1788
1787
  id: string;
1789
- type: "team" | "page" | "space" | "agent" | "block" | "database";
1788
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
1790
1789
  dataSourceId?: string | undefined;
1791
1790
  };
1792
1791
  };
1792
+ timestamp: string;
1793
1793
  subscriptionId: string;
1794
1794
  workspaceId: string;
1795
1795
  workspaceName: string;
@@ -1809,19 +1809,19 @@ export declare const notionEventsContract: {
1809
1809
  };
1810
1810
  authors: {
1811
1811
  id: string;
1812
- type: "bot" | "agent" | "person";
1812
+ type: "agent" | "bot" | "person";
1813
1813
  }[];
1814
1814
  } | {
1815
- type: "database.moved";
1816
1815
  id: string;
1817
- timestamp: string;
1816
+ type: "database.moved";
1818
1817
  data: {
1819
1818
  parent: {
1820
1819
  id: string;
1821
- type: "team" | "page" | "space" | "agent" | "block" | "database";
1820
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
1822
1821
  dataSourceId?: string | undefined;
1823
1822
  };
1824
1823
  };
1824
+ timestamp: string;
1825
1825
  subscriptionId: string;
1826
1826
  workspaceId: string;
1827
1827
  workspaceName: string;
@@ -1841,19 +1841,19 @@ export declare const notionEventsContract: {
1841
1841
  };
1842
1842
  authors: {
1843
1843
  id: string;
1844
- type: "bot" | "agent" | "person";
1844
+ type: "agent" | "bot" | "person";
1845
1845
  }[];
1846
1846
  } | {
1847
- type: "database.undeleted";
1848
1847
  id: string;
1849
- timestamp: string;
1848
+ type: "database.undeleted";
1850
1849
  data: {
1851
1850
  parent: {
1852
1851
  id: string;
1853
- type: "team" | "page" | "space" | "agent" | "block" | "database";
1852
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
1854
1853
  dataSourceId?: string | undefined;
1855
1854
  };
1856
1855
  };
1856
+ timestamp: string;
1857
1857
  subscriptionId: string;
1858
1858
  workspaceId: string;
1859
1859
  workspaceName: string;
@@ -1873,11 +1873,11 @@ export declare const notionEventsContract: {
1873
1873
  };
1874
1874
  authors: {
1875
1875
  id: string;
1876
- type: "bot" | "agent" | "person";
1876
+ type: "agent" | "bot" | "person";
1877
1877
  }[];
1878
1878
  } | {
1879
- type: "file_upload.completed";
1880
1879
  id: string;
1880
+ type: "file_upload.completed";
1881
1881
  timestamp: string;
1882
1882
  subscriptionId: string;
1883
1883
  workspaceId: string;
@@ -1898,11 +1898,11 @@ export declare const notionEventsContract: {
1898
1898
  };
1899
1899
  authors: {
1900
1900
  id: string;
1901
- type: "bot" | "agent" | "person";
1901
+ type: "agent" | "bot" | "person";
1902
1902
  }[];
1903
1903
  } | {
1904
- type: "file_upload.created";
1905
1904
  id: string;
1905
+ type: "file_upload.created";
1906
1906
  timestamp: string;
1907
1907
  subscriptionId: string;
1908
1908
  workspaceId: string;
@@ -1923,11 +1923,11 @@ export declare const notionEventsContract: {
1923
1923
  };
1924
1924
  authors: {
1925
1925
  id: string;
1926
- type: "bot" | "agent" | "person";
1926
+ type: "agent" | "bot" | "person";
1927
1927
  }[];
1928
1928
  } | {
1929
- type: "file_upload.expired";
1930
1929
  id: string;
1930
+ type: "file_upload.expired";
1931
1931
  timestamp: string;
1932
1932
  subscriptionId: string;
1933
1933
  workspaceId: string;
@@ -1948,12 +1948,11 @@ export declare const notionEventsContract: {
1948
1948
  };
1949
1949
  authors: {
1950
1950
  id: string;
1951
- type: "bot" | "agent" | "person";
1951
+ type: "agent" | "bot" | "person";
1952
1952
  }[];
1953
1953
  } | {
1954
- type: "file_upload.upload_failed";
1955
1954
  id: string;
1956
- timestamp: string;
1955
+ type: "file_upload.upload_failed";
1957
1956
  data: {
1958
1957
  fileImportResult: {
1959
1958
  type: "success";
@@ -1973,6 +1972,7 @@ export declare const notionEventsContract: {
1973
1972
  };
1974
1973
  };
1975
1974
  };
1975
+ timestamp: string;
1976
1976
  subscriptionId: string;
1977
1977
  workspaceId: string;
1978
1978
  workspaceName: string;
@@ -1992,16 +1992,15 @@ export declare const notionEventsContract: {
1992
1992
  };
1993
1993
  authors: {
1994
1994
  id: string;
1995
- type: "bot" | "agent" | "person";
1995
+ type: "agent" | "bot" | "person";
1996
1996
  }[];
1997
1997
  } | {
1998
- type: "page.content_updated";
1999
1998
  id: string;
2000
- timestamp: string;
1999
+ type: "page.content_updated";
2001
2000
  data: {
2002
2001
  parent: {
2003
2002
  id: string;
2004
- type: "team" | "page" | "space" | "agent" | "block" | "database";
2003
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
2005
2004
  dataSourceId?: string | undefined;
2006
2005
  };
2007
2006
  updatedBlocks: {
@@ -2009,6 +2008,7 @@ export declare const notionEventsContract: {
2009
2008
  type: "page" | "block" | "database";
2010
2009
  }[];
2011
2010
  };
2011
+ timestamp: string;
2012
2012
  subscriptionId: string;
2013
2013
  workspaceId: string;
2014
2014
  workspaceName: string;
@@ -2028,19 +2028,19 @@ export declare const notionEventsContract: {
2028
2028
  };
2029
2029
  authors: {
2030
2030
  id: string;
2031
- type: "bot" | "agent" | "person";
2031
+ type: "agent" | "bot" | "person";
2032
2032
  }[];
2033
2033
  } | {
2034
- type: "page.created";
2035
2034
  id: string;
2036
- timestamp: string;
2035
+ type: "page.created";
2037
2036
  data: {
2038
2037
  parent: {
2039
2038
  id: string;
2040
- type: "team" | "page" | "space" | "agent" | "block" | "database";
2039
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
2041
2040
  dataSourceId?: string | undefined;
2042
2041
  };
2043
2042
  };
2043
+ timestamp: string;
2044
2044
  subscriptionId: string;
2045
2045
  workspaceId: string;
2046
2046
  workspaceName: string;
@@ -2060,19 +2060,19 @@ export declare const notionEventsContract: {
2060
2060
  };
2061
2061
  authors: {
2062
2062
  id: string;
2063
- type: "bot" | "agent" | "person";
2063
+ type: "agent" | "bot" | "person";
2064
2064
  }[];
2065
2065
  } | {
2066
- type: "page.deleted";
2067
2066
  id: string;
2068
- timestamp: string;
2067
+ type: "page.deleted";
2069
2068
  data: {
2070
2069
  parent: {
2071
2070
  id: string;
2072
- type: "team" | "page" | "space" | "agent" | "block" | "database";
2071
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
2073
2072
  dataSourceId?: string | undefined;
2074
2073
  };
2075
2074
  };
2075
+ timestamp: string;
2076
2076
  subscriptionId: string;
2077
2077
  workspaceId: string;
2078
2078
  workspaceName: string;
@@ -2092,19 +2092,19 @@ export declare const notionEventsContract: {
2092
2092
  };
2093
2093
  authors: {
2094
2094
  id: string;
2095
- type: "bot" | "agent" | "person";
2095
+ type: "agent" | "bot" | "person";
2096
2096
  }[];
2097
2097
  } | {
2098
- type: "page.locked";
2099
2098
  id: string;
2100
- timestamp: string;
2099
+ type: "page.locked";
2101
2100
  data: {
2102
2101
  parent: {
2103
2102
  id: string;
2104
- type: "team" | "page" | "space" | "agent" | "block" | "database";
2103
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
2105
2104
  dataSourceId?: string | undefined;
2106
2105
  };
2107
2106
  };
2107
+ timestamp: string;
2108
2108
  subscriptionId: string;
2109
2109
  workspaceId: string;
2110
2110
  workspaceName: string;
@@ -2124,19 +2124,19 @@ export declare const notionEventsContract: {
2124
2124
  };
2125
2125
  authors: {
2126
2126
  id: string;
2127
- type: "bot" | "agent" | "person";
2127
+ type: "agent" | "bot" | "person";
2128
2128
  }[];
2129
2129
  } | {
2130
- type: "page.moved";
2131
2130
  id: string;
2132
- timestamp: string;
2131
+ type: "page.moved";
2133
2132
  data: {
2134
2133
  parent: {
2135
2134
  id: string;
2136
- type: "team" | "page" | "space" | "agent" | "block" | "database";
2135
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
2137
2136
  dataSourceId?: string | undefined;
2138
2137
  };
2139
2138
  };
2139
+ timestamp: string;
2140
2140
  subscriptionId: string;
2141
2141
  workspaceId: string;
2142
2142
  workspaceName: string;
@@ -2156,20 +2156,20 @@ export declare const notionEventsContract: {
2156
2156
  };
2157
2157
  authors: {
2158
2158
  id: string;
2159
- type: "bot" | "agent" | "person";
2159
+ type: "agent" | "bot" | "person";
2160
2160
  }[];
2161
2161
  } | {
2162
- type: "page.properties_updated";
2163
2162
  id: string;
2164
- timestamp: string;
2163
+ type: "page.properties_updated";
2165
2164
  data: {
2166
2165
  parent: {
2167
2166
  id: string;
2168
- type: "team" | "page" | "space" | "agent" | "block" | "database";
2167
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
2169
2168
  dataSourceId?: string | undefined;
2170
2169
  };
2171
2170
  updatedProperties: string[];
2172
2171
  };
2172
+ timestamp: string;
2173
2173
  subscriptionId: string;
2174
2174
  workspaceId: string;
2175
2175
  workspaceName: string;
@@ -2189,12 +2189,11 @@ export declare const notionEventsContract: {
2189
2189
  };
2190
2190
  authors: {
2191
2191
  id: string;
2192
- type: "bot" | "agent" | "person";
2192
+ type: "agent" | "bot" | "person";
2193
2193
  }[];
2194
2194
  } | {
2195
- type: "page.transcription_block.transcript_deleted";
2196
2195
  id: string;
2197
- timestamp: string;
2196
+ type: "page.transcription_block.transcript_deleted";
2198
2197
  data: {
2199
2198
  target: {
2200
2199
  id: string;
@@ -2202,6 +2201,7 @@ export declare const notionEventsContract: {
2202
2201
  };
2203
2202
  transcriptId: string | null;
2204
2203
  };
2204
+ timestamp: string;
2205
2205
  subscriptionId: string;
2206
2206
  workspaceId: string;
2207
2207
  workspaceName: string;
@@ -2221,19 +2221,19 @@ export declare const notionEventsContract: {
2221
2221
  };
2222
2222
  authors: {
2223
2223
  id: string;
2224
- type: "bot" | "agent" | "person";
2224
+ type: "agent" | "bot" | "person";
2225
2225
  }[];
2226
2226
  } | {
2227
- type: "page.undeleted";
2228
2227
  id: string;
2229
- timestamp: string;
2228
+ type: "page.undeleted";
2230
2229
  data: {
2231
2230
  parent: {
2232
2231
  id: string;
2233
- type: "team" | "page" | "space" | "agent" | "block" | "database";
2232
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
2234
2233
  dataSourceId?: string | undefined;
2235
2234
  };
2236
2235
  };
2236
+ timestamp: string;
2237
2237
  subscriptionId: string;
2238
2238
  workspaceId: string;
2239
2239
  workspaceName: string;
@@ -2253,19 +2253,19 @@ export declare const notionEventsContract: {
2253
2253
  };
2254
2254
  authors: {
2255
2255
  id: string;
2256
- type: "bot" | "agent" | "person";
2256
+ type: "agent" | "bot" | "person";
2257
2257
  }[];
2258
2258
  } | {
2259
- type: "page.unlocked";
2260
2259
  id: string;
2261
- timestamp: string;
2260
+ type: "page.unlocked";
2262
2261
  data: {
2263
2262
  parent: {
2264
2263
  id: string;
2265
- type: "team" | "page" | "space" | "agent" | "block" | "database";
2264
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
2266
2265
  dataSourceId?: string | undefined;
2267
2266
  };
2268
2267
  };
2268
+ timestamp: string;
2269
2269
  subscriptionId: string;
2270
2270
  workspaceId: string;
2271
2271
  workspaceName: string;
@@ -2285,20 +2285,20 @@ export declare const notionEventsContract: {
2285
2285
  };
2286
2286
  authors: {
2287
2287
  id: string;
2288
- type: "bot" | "agent" | "person";
2288
+ type: "agent" | "bot" | "person";
2289
2289
  }[];
2290
2290
  } | {
2291
- type: "view.created";
2292
2291
  id: string;
2293
- timestamp: string;
2292
+ type: "view.created";
2294
2293
  data: {
2295
2294
  parent: {
2296
2295
  id: string;
2297
- type: "team" | "page" | "space" | "agent" | "block" | "database";
2296
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
2298
2297
  dataSourceId?: string | undefined;
2299
2298
  };
2300
2299
  viewType: string;
2301
2300
  };
2301
+ timestamp: string;
2302
2302
  subscriptionId: string;
2303
2303
  workspaceId: string;
2304
2304
  workspaceName: string;
@@ -2318,19 +2318,19 @@ export declare const notionEventsContract: {
2318
2318
  };
2319
2319
  authors: {
2320
2320
  id: string;
2321
- type: "bot" | "agent" | "person";
2321
+ type: "agent" | "bot" | "person";
2322
2322
  }[];
2323
2323
  } | {
2324
- type: "view.deleted";
2325
2324
  id: string;
2326
- timestamp: string;
2325
+ type: "view.deleted";
2327
2326
  data: {
2328
2327
  parent: {
2329
2328
  id: string;
2330
- type: "team" | "page" | "space" | "agent" | "block" | "database";
2329
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
2331
2330
  dataSourceId?: string | undefined;
2332
2331
  };
2333
2332
  };
2333
+ timestamp: string;
2334
2334
  subscriptionId: string;
2335
2335
  workspaceId: string;
2336
2336
  workspaceName: string;
@@ -2350,20 +2350,20 @@ export declare const notionEventsContract: {
2350
2350
  };
2351
2351
  authors: {
2352
2352
  id: string;
2353
- type: "bot" | "agent" | "person";
2353
+ type: "agent" | "bot" | "person";
2354
2354
  }[];
2355
2355
  } | {
2356
- type: "view.updated";
2357
2356
  id: string;
2358
- timestamp: string;
2357
+ type: "view.updated";
2359
2358
  data: {
2360
2359
  parent: {
2361
2360
  id: string;
2362
- type: "team" | "page" | "space" | "agent" | "block" | "database";
2361
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
2363
2362
  dataSourceId?: string | undefined;
2364
2363
  };
2365
- updatedFields: ("filter" | "name" | "sorts" | "configuration")[];
2364
+ updatedFields: ("name" | "filter" | "sorts" | "configuration")[];
2366
2365
  };
2366
+ timestamp: string;
2367
2367
  subscriptionId: string;
2368
2368
  workspaceId: string;
2369
2369
  workspaceName: string;
@@ -2383,7 +2383,7 @@ export declare const notionEventsContract: {
2383
2383
  };
2384
2384
  authors: {
2385
2385
  id: string;
2386
- type: "bot" | "agent" | "person";
2386
+ type: "agent" | "bot" | "person";
2387
2387
  }[];
2388
2388
  }, {
2389
2389
  [x: string]: z.core.util.JSONType;
@@ -2507,7 +2507,7 @@ export declare const notionEventsContract: {
2507
2507
  data: {
2508
2508
  parent: {
2509
2509
  id: string;
2510
- type: "team" | "page" | "space" | "agent" | "block" | "database";
2510
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
2511
2511
  data_source_id?: string | undefined;
2512
2512
  };
2513
2513
  updated_blocks: {
@@ -2550,7 +2550,7 @@ export declare const notionEventsContract: {
2550
2550
  data: {
2551
2551
  parent: {
2552
2552
  id: string;
2553
- type: "team" | "page" | "space" | "agent" | "block" | "database";
2553
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
2554
2554
  data_source_id?: string | undefined;
2555
2555
  };
2556
2556
  };
@@ -2589,7 +2589,7 @@ export declare const notionEventsContract: {
2589
2589
  data: {
2590
2590
  parent: {
2591
2591
  id: string;
2592
- type: "team" | "page" | "space" | "agent" | "block" | "database";
2592
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
2593
2593
  data_source_id?: string | undefined;
2594
2594
  };
2595
2595
  };
@@ -2628,7 +2628,7 @@ export declare const notionEventsContract: {
2628
2628
  data: {
2629
2629
  parent: {
2630
2630
  id: string;
2631
- type: "team" | "page" | "space" | "agent" | "block" | "database";
2631
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
2632
2632
  data_source_id?: string | undefined;
2633
2633
  };
2634
2634
  };
@@ -2667,7 +2667,7 @@ export declare const notionEventsContract: {
2667
2667
  data: {
2668
2668
  parent: {
2669
2669
  id: string;
2670
- type: "team" | "page" | "space" | "agent" | "block" | "database";
2670
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
2671
2671
  data_source_id?: string | undefined;
2672
2672
  };
2673
2673
  updated_properties?: {
@@ -2711,7 +2711,7 @@ export declare const notionEventsContract: {
2711
2711
  data: {
2712
2712
  parent: {
2713
2713
  id: string;
2714
- type: "team" | "page" | "space" | "agent" | "block" | "database";
2714
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
2715
2715
  data_source_id?: string | undefined;
2716
2716
  };
2717
2717
  };
@@ -2750,7 +2750,7 @@ export declare const notionEventsContract: {
2750
2750
  data: {
2751
2751
  parent: {
2752
2752
  id: string;
2753
- type: "team" | "page" | "space" | "agent" | "block" | "database";
2753
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
2754
2754
  data_source_id?: string | undefined;
2755
2755
  };
2756
2756
  };
@@ -2789,7 +2789,7 @@ export declare const notionEventsContract: {
2789
2789
  data: {
2790
2790
  parent: {
2791
2791
  id: string;
2792
- type: "team" | "page" | "space" | "agent" | "block" | "database";
2792
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
2793
2793
  data_source_id?: string | undefined;
2794
2794
  };
2795
2795
  };
@@ -2828,7 +2828,7 @@ export declare const notionEventsContract: {
2828
2828
  data: {
2829
2829
  parent: {
2830
2830
  id: string;
2831
- type: "team" | "page" | "space" | "agent" | "block" | "database";
2831
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
2832
2832
  data_source_id?: string | undefined;
2833
2833
  };
2834
2834
  };
@@ -2867,7 +2867,7 @@ export declare const notionEventsContract: {
2867
2867
  data: {
2868
2868
  parent: {
2869
2869
  id: string;
2870
- type: "team" | "page" | "space" | "agent" | "block" | "database";
2870
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
2871
2871
  data_source_id?: string | undefined;
2872
2872
  };
2873
2873
  };
@@ -3051,7 +3051,7 @@ export declare const notionEventsContract: {
3051
3051
  data: {
3052
3052
  parent: {
3053
3053
  id: string;
3054
- type: "team" | "page" | "space" | "agent" | "block" | "database";
3054
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
3055
3055
  data_source_id?: string | undefined;
3056
3056
  };
3057
3057
  updated_blocks: {
@@ -3094,7 +3094,7 @@ export declare const notionEventsContract: {
3094
3094
  data: {
3095
3095
  parent: {
3096
3096
  id: string;
3097
- type: "team" | "page" | "space" | "agent" | "block" | "database";
3097
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
3098
3098
  data_source_id?: string | undefined;
3099
3099
  };
3100
3100
  };
@@ -3133,7 +3133,7 @@ export declare const notionEventsContract: {
3133
3133
  data: {
3134
3134
  parent: {
3135
3135
  id: string;
3136
- type: "team" | "page" | "space" | "agent" | "block" | "database";
3136
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
3137
3137
  data_source_id?: string | undefined;
3138
3138
  };
3139
3139
  };
@@ -3172,7 +3172,7 @@ export declare const notionEventsContract: {
3172
3172
  data: {
3173
3173
  parent: {
3174
3174
  id: string;
3175
- type: "team" | "page" | "space" | "agent" | "block" | "database";
3175
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
3176
3176
  data_source_id?: string | undefined;
3177
3177
  };
3178
3178
  };
@@ -3211,7 +3211,7 @@ export declare const notionEventsContract: {
3211
3211
  data: {
3212
3212
  parent: {
3213
3213
  id: string;
3214
- type: "team" | "page" | "space" | "agent" | "block" | "database";
3214
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
3215
3215
  data_source_id?: string | undefined;
3216
3216
  };
3217
3217
  };
@@ -3250,7 +3250,7 @@ export declare const notionEventsContract: {
3250
3250
  data: {
3251
3251
  parent: {
3252
3252
  id: string;
3253
- type: "team" | "page" | "space" | "agent" | "block" | "database";
3253
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
3254
3254
  data_source_id?: string | undefined;
3255
3255
  };
3256
3256
  updated_properties: string[];
@@ -3329,7 +3329,7 @@ export declare const notionEventsContract: {
3329
3329
  data: {
3330
3330
  parent: {
3331
3331
  id: string;
3332
- type: "team" | "page" | "space" | "agent" | "block" | "database";
3332
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
3333
3333
  data_source_id?: string | undefined;
3334
3334
  };
3335
3335
  };
@@ -3368,7 +3368,7 @@ export declare const notionEventsContract: {
3368
3368
  data: {
3369
3369
  parent: {
3370
3370
  id: string;
3371
- type: "team" | "page" | "space" | "agent" | "block" | "database";
3371
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
3372
3372
  data_source_id?: string | undefined;
3373
3373
  };
3374
3374
  };
@@ -3407,7 +3407,7 @@ export declare const notionEventsContract: {
3407
3407
  data: {
3408
3408
  parent: {
3409
3409
  id: string;
3410
- type: "team" | "page" | "space" | "agent" | "block" | "database";
3410
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
3411
3411
  data_source_id?: string | undefined;
3412
3412
  };
3413
3413
  view_type: string;
@@ -3447,7 +3447,7 @@ export declare const notionEventsContract: {
3447
3447
  data: {
3448
3448
  parent: {
3449
3449
  id: string;
3450
- type: "team" | "page" | "space" | "agent" | "block" | "database";
3450
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
3451
3451
  data_source_id?: string | undefined;
3452
3452
  };
3453
3453
  };
@@ -3486,10 +3486,10 @@ export declare const notionEventsContract: {
3486
3486
  data: {
3487
3487
  parent: {
3488
3488
  id: string;
3489
- type: "team" | "page" | "space" | "agent" | "block" | "database";
3489
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
3490
3490
  data_source_id?: string | undefined;
3491
3491
  };
3492
- updated_fields: ("filter" | "name" | "sorts" | "configuration")[];
3492
+ updated_fields: ("name" | "filter" | "sorts" | "configuration")[];
3493
3493
  };
3494
3494
  entity: {
3495
3495
  id: string;