@automate.ax/integration-contracts 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.
@@ -155,10 +155,10 @@ declare const RAW_NOTION_EVENT_SCHEMA: z.ZodDiscriminatedUnion<[z.ZodObject<{
155
155
  data_source_id: z.ZodOptional<z.ZodUUID>;
156
156
  id: z.ZodUUID;
157
157
  type: z.ZodEnum<{
158
+ agent: "agent";
158
159
  team: "team";
159
160
  page: "page";
160
161
  space: "space";
161
- agent: "agent";
162
162
  block: "block";
163
163
  database: "database";
164
164
  }>;
@@ -216,10 +216,10 @@ declare const RAW_NOTION_EVENT_SCHEMA: z.ZodDiscriminatedUnion<[z.ZodObject<{
216
216
  data_source_id: z.ZodOptional<z.ZodUUID>;
217
217
  id: z.ZodUUID;
218
218
  type: z.ZodEnum<{
219
+ agent: "agent";
219
220
  team: "team";
220
221
  page: "page";
221
222
  space: "space";
222
- agent: "agent";
223
223
  block: "block";
224
224
  database: "database";
225
225
  }>;
@@ -269,10 +269,10 @@ declare const RAW_NOTION_EVENT_SCHEMA: z.ZodDiscriminatedUnion<[z.ZodObject<{
269
269
  data_source_id: z.ZodOptional<z.ZodUUID>;
270
270
  id: z.ZodUUID;
271
271
  type: z.ZodEnum<{
272
+ agent: "agent";
272
273
  team: "team";
273
274
  page: "page";
274
275
  space: "space";
275
- agent: "agent";
276
276
  block: "block";
277
277
  database: "database";
278
278
  }>;
@@ -322,10 +322,10 @@ declare const RAW_NOTION_EVENT_SCHEMA: z.ZodDiscriminatedUnion<[z.ZodObject<{
322
322
  data_source_id: z.ZodOptional<z.ZodUUID>;
323
323
  id: z.ZodUUID;
324
324
  type: z.ZodEnum<{
325
+ agent: "agent";
325
326
  team: "team";
326
327
  page: "page";
327
328
  space: "space";
328
- agent: "agent";
329
329
  block: "block";
330
330
  database: "database";
331
331
  }>;
@@ -375,10 +375,10 @@ declare const RAW_NOTION_EVENT_SCHEMA: z.ZodDiscriminatedUnion<[z.ZodObject<{
375
375
  data_source_id: z.ZodOptional<z.ZodUUID>;
376
376
  id: z.ZodUUID;
377
377
  type: z.ZodEnum<{
378
+ agent: "agent";
378
379
  team: "team";
379
380
  page: "page";
380
381
  space: "space";
381
- agent: "agent";
382
382
  block: "block";
383
383
  database: "database";
384
384
  }>;
@@ -437,10 +437,10 @@ declare const RAW_NOTION_EVENT_SCHEMA: z.ZodDiscriminatedUnion<[z.ZodObject<{
437
437
  data_source_id: z.ZodOptional<z.ZodUUID>;
438
438
  id: z.ZodUUID;
439
439
  type: z.ZodEnum<{
440
+ agent: "agent";
440
441
  team: "team";
441
442
  page: "page";
442
443
  space: "space";
443
- agent: "agent";
444
444
  block: "block";
445
445
  database: "database";
446
446
  }>;
@@ -490,10 +490,10 @@ declare const RAW_NOTION_EVENT_SCHEMA: z.ZodDiscriminatedUnion<[z.ZodObject<{
490
490
  data_source_id: z.ZodOptional<z.ZodUUID>;
491
491
  id: z.ZodUUID;
492
492
  type: z.ZodEnum<{
493
+ agent: "agent";
493
494
  team: "team";
494
495
  page: "page";
495
496
  space: "space";
496
- agent: "agent";
497
497
  block: "block";
498
498
  database: "database";
499
499
  }>;
@@ -543,10 +543,10 @@ declare const RAW_NOTION_EVENT_SCHEMA: z.ZodDiscriminatedUnion<[z.ZodObject<{
543
543
  data_source_id: z.ZodOptional<z.ZodUUID>;
544
544
  id: z.ZodUUID;
545
545
  type: z.ZodEnum<{
546
+ agent: "agent";
546
547
  team: "team";
547
548
  page: "page";
548
549
  space: "space";
549
- agent: "agent";
550
550
  block: "block";
551
551
  database: "database";
552
552
  }>;
@@ -596,10 +596,10 @@ declare const RAW_NOTION_EVENT_SCHEMA: z.ZodDiscriminatedUnion<[z.ZodObject<{
596
596
  data_source_id: z.ZodOptional<z.ZodUUID>;
597
597
  id: z.ZodUUID;
598
598
  type: z.ZodEnum<{
599
+ agent: "agent";
599
600
  team: "team";
600
601
  page: "page";
601
602
  space: "space";
602
- agent: "agent";
603
603
  block: "block";
604
604
  database: "database";
605
605
  }>;
@@ -649,10 +649,10 @@ declare const RAW_NOTION_EVENT_SCHEMA: z.ZodDiscriminatedUnion<[z.ZodObject<{
649
649
  data_source_id: z.ZodOptional<z.ZodUUID>;
650
650
  id: z.ZodUUID;
651
651
  type: z.ZodEnum<{
652
+ agent: "agent";
652
653
  team: "team";
653
654
  page: "page";
654
655
  space: "space";
655
- agent: "agent";
656
656
  block: "block";
657
657
  database: "database";
658
658
  }>;
@@ -864,10 +864,10 @@ declare const RAW_NOTION_EVENT_SCHEMA: z.ZodDiscriminatedUnion<[z.ZodObject<{
864
864
  data_source_id: z.ZodOptional<z.ZodUUID>;
865
865
  id: z.ZodUUID;
866
866
  type: z.ZodEnum<{
867
+ agent: "agent";
867
868
  team: "team";
868
869
  page: "page";
869
870
  space: "space";
870
- agent: "agent";
871
871
  block: "block";
872
872
  database: "database";
873
873
  }>;
@@ -921,10 +921,10 @@ declare const RAW_NOTION_EVENT_SCHEMA: z.ZodDiscriminatedUnion<[z.ZodObject<{
921
921
  data_source_id: z.ZodOptional<z.ZodUUID>;
922
922
  id: z.ZodUUID;
923
923
  type: z.ZodEnum<{
924
+ agent: "agent";
924
925
  team: "team";
925
926
  page: "page";
926
927
  space: "space";
927
- agent: "agent";
928
928
  block: "block";
929
929
  database: "database";
930
930
  }>;
@@ -970,10 +970,10 @@ declare const RAW_NOTION_EVENT_SCHEMA: z.ZodDiscriminatedUnion<[z.ZodObject<{
970
970
  data_source_id: z.ZodOptional<z.ZodUUID>;
971
971
  id: z.ZodUUID;
972
972
  type: z.ZodEnum<{
973
+ agent: "agent";
973
974
  team: "team";
974
975
  page: "page";
975
976
  space: "space";
976
- agent: "agent";
977
977
  block: "block";
978
978
  database: "database";
979
979
  }>;
@@ -1019,10 +1019,10 @@ declare const RAW_NOTION_EVENT_SCHEMA: z.ZodDiscriminatedUnion<[z.ZodObject<{
1019
1019
  data_source_id: z.ZodOptional<z.ZodUUID>;
1020
1020
  id: z.ZodUUID;
1021
1021
  type: z.ZodEnum<{
1022
+ agent: "agent";
1022
1023
  team: "team";
1023
1024
  page: "page";
1024
1025
  space: "space";
1025
- agent: "agent";
1026
1026
  block: "block";
1027
1027
  database: "database";
1028
1028
  }>;
@@ -1068,10 +1068,10 @@ declare const RAW_NOTION_EVENT_SCHEMA: z.ZodDiscriminatedUnion<[z.ZodObject<{
1068
1068
  data_source_id: z.ZodOptional<z.ZodUUID>;
1069
1069
  id: z.ZodUUID;
1070
1070
  type: z.ZodEnum<{
1071
+ agent: "agent";
1071
1072
  team: "team";
1072
1073
  page: "page";
1073
1074
  space: "space";
1074
- agent: "agent";
1075
1075
  block: "block";
1076
1076
  database: "database";
1077
1077
  }>;
@@ -1117,10 +1117,10 @@ declare const RAW_NOTION_EVENT_SCHEMA: z.ZodDiscriminatedUnion<[z.ZodObject<{
1117
1117
  data_source_id: z.ZodOptional<z.ZodUUID>;
1118
1118
  id: z.ZodUUID;
1119
1119
  type: z.ZodEnum<{
1120
+ agent: "agent";
1120
1121
  team: "team";
1121
1122
  page: "page";
1122
1123
  space: "space";
1123
- agent: "agent";
1124
1124
  block: "block";
1125
1125
  database: "database";
1126
1126
  }>;
@@ -1213,10 +1213,10 @@ declare const RAW_NOTION_EVENT_SCHEMA: z.ZodDiscriminatedUnion<[z.ZodObject<{
1213
1213
  data_source_id: z.ZodOptional<z.ZodUUID>;
1214
1214
  id: z.ZodUUID;
1215
1215
  type: z.ZodEnum<{
1216
+ agent: "agent";
1216
1217
  team: "team";
1217
1218
  page: "page";
1218
1219
  space: "space";
1219
- agent: "agent";
1220
1220
  block: "block";
1221
1221
  database: "database";
1222
1222
  }>;
@@ -1262,10 +1262,10 @@ declare const RAW_NOTION_EVENT_SCHEMA: z.ZodDiscriminatedUnion<[z.ZodObject<{
1262
1262
  data_source_id: z.ZodOptional<z.ZodUUID>;
1263
1263
  id: z.ZodUUID;
1264
1264
  type: z.ZodEnum<{
1265
+ agent: "agent";
1265
1266
  team: "team";
1266
1267
  page: "page";
1267
1268
  space: "space";
1268
- agent: "agent";
1269
1269
  block: "block";
1270
1270
  database: "database";
1271
1271
  }>;
@@ -1311,10 +1311,10 @@ declare const RAW_NOTION_EVENT_SCHEMA: z.ZodDiscriminatedUnion<[z.ZodObject<{
1311
1311
  data_source_id: z.ZodOptional<z.ZodUUID>;
1312
1312
  id: z.ZodUUID;
1313
1313
  type: z.ZodEnum<{
1314
+ agent: "agent";
1314
1315
  team: "team";
1315
1316
  page: "page";
1316
1317
  space: "space";
1317
- agent: "agent";
1318
1318
  block: "block";
1319
1319
  database: "database";
1320
1320
  }>;
@@ -1361,10 +1361,10 @@ declare const RAW_NOTION_EVENT_SCHEMA: z.ZodDiscriminatedUnion<[z.ZodObject<{
1361
1361
  data_source_id: z.ZodOptional<z.ZodUUID>;
1362
1362
  id: z.ZodUUID;
1363
1363
  type: z.ZodEnum<{
1364
+ agent: "agent";
1364
1365
  team: "team";
1365
1366
  page: "page";
1366
1367
  space: "space";
1367
- agent: "agent";
1368
1368
  block: "block";
1369
1369
  database: "database";
1370
1370
  }>;
@@ -1410,17 +1410,17 @@ declare const RAW_NOTION_EVENT_SCHEMA: z.ZodDiscriminatedUnion<[z.ZodObject<{
1410
1410
  data_source_id: z.ZodOptional<z.ZodUUID>;
1411
1411
  id: z.ZodUUID;
1412
1412
  type: z.ZodEnum<{
1413
+ agent: "agent";
1413
1414
  team: "team";
1414
1415
  page: "page";
1415
1416
  space: "space";
1416
- agent: "agent";
1417
1417
  block: "block";
1418
1418
  database: "database";
1419
1419
  }>;
1420
1420
  }, z.core.$strip>;
1421
1421
  updated_fields: z.ZodArray<z.ZodEnum<{
1422
- filter: "filter";
1423
1422
  name: "name";
1423
+ filter: "filter";
1424
1424
  sorts: "sorts";
1425
1425
  configuration: "configuration";
1426
1426
  }>>;
@@ -1613,10 +1613,10 @@ export declare const NOTION_EVENT_SCHEMA: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Z
1613
1613
  data_source_id: z.ZodOptional<z.ZodUUID>;
1614
1614
  id: z.ZodUUID;
1615
1615
  type: z.ZodEnum<{
1616
+ agent: "agent";
1616
1617
  team: "team";
1617
1618
  page: "page";
1618
1619
  space: "space";
1619
- agent: "agent";
1620
1620
  block: "block";
1621
1621
  database: "database";
1622
1622
  }>;
@@ -1674,10 +1674,10 @@ export declare const NOTION_EVENT_SCHEMA: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Z
1674
1674
  data_source_id: z.ZodOptional<z.ZodUUID>;
1675
1675
  id: z.ZodUUID;
1676
1676
  type: z.ZodEnum<{
1677
+ agent: "agent";
1677
1678
  team: "team";
1678
1679
  page: "page";
1679
1680
  space: "space";
1680
- agent: "agent";
1681
1681
  block: "block";
1682
1682
  database: "database";
1683
1683
  }>;
@@ -1727,10 +1727,10 @@ export declare const NOTION_EVENT_SCHEMA: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Z
1727
1727
  data_source_id: z.ZodOptional<z.ZodUUID>;
1728
1728
  id: z.ZodUUID;
1729
1729
  type: z.ZodEnum<{
1730
+ agent: "agent";
1730
1731
  team: "team";
1731
1732
  page: "page";
1732
1733
  space: "space";
1733
- agent: "agent";
1734
1734
  block: "block";
1735
1735
  database: "database";
1736
1736
  }>;
@@ -1780,10 +1780,10 @@ export declare const NOTION_EVENT_SCHEMA: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Z
1780
1780
  data_source_id: z.ZodOptional<z.ZodUUID>;
1781
1781
  id: z.ZodUUID;
1782
1782
  type: z.ZodEnum<{
1783
+ agent: "agent";
1783
1784
  team: "team";
1784
1785
  page: "page";
1785
1786
  space: "space";
1786
- agent: "agent";
1787
1787
  block: "block";
1788
1788
  database: "database";
1789
1789
  }>;
@@ -1833,10 +1833,10 @@ export declare const NOTION_EVENT_SCHEMA: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Z
1833
1833
  data_source_id: z.ZodOptional<z.ZodUUID>;
1834
1834
  id: z.ZodUUID;
1835
1835
  type: z.ZodEnum<{
1836
+ agent: "agent";
1836
1837
  team: "team";
1837
1838
  page: "page";
1838
1839
  space: "space";
1839
- agent: "agent";
1840
1840
  block: "block";
1841
1841
  database: "database";
1842
1842
  }>;
@@ -1895,10 +1895,10 @@ export declare const NOTION_EVENT_SCHEMA: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Z
1895
1895
  data_source_id: z.ZodOptional<z.ZodUUID>;
1896
1896
  id: z.ZodUUID;
1897
1897
  type: z.ZodEnum<{
1898
+ agent: "agent";
1898
1899
  team: "team";
1899
1900
  page: "page";
1900
1901
  space: "space";
1901
- agent: "agent";
1902
1902
  block: "block";
1903
1903
  database: "database";
1904
1904
  }>;
@@ -1948,10 +1948,10 @@ export declare const NOTION_EVENT_SCHEMA: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Z
1948
1948
  data_source_id: z.ZodOptional<z.ZodUUID>;
1949
1949
  id: z.ZodUUID;
1950
1950
  type: z.ZodEnum<{
1951
+ agent: "agent";
1951
1952
  team: "team";
1952
1953
  page: "page";
1953
1954
  space: "space";
1954
- agent: "agent";
1955
1955
  block: "block";
1956
1956
  database: "database";
1957
1957
  }>;
@@ -2001,10 +2001,10 @@ export declare const NOTION_EVENT_SCHEMA: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Z
2001
2001
  data_source_id: z.ZodOptional<z.ZodUUID>;
2002
2002
  id: z.ZodUUID;
2003
2003
  type: z.ZodEnum<{
2004
+ agent: "agent";
2004
2005
  team: "team";
2005
2006
  page: "page";
2006
2007
  space: "space";
2007
- agent: "agent";
2008
2008
  block: "block";
2009
2009
  database: "database";
2010
2010
  }>;
@@ -2054,10 +2054,10 @@ export declare const NOTION_EVENT_SCHEMA: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Z
2054
2054
  data_source_id: z.ZodOptional<z.ZodUUID>;
2055
2055
  id: z.ZodUUID;
2056
2056
  type: z.ZodEnum<{
2057
+ agent: "agent";
2057
2058
  team: "team";
2058
2059
  page: "page";
2059
2060
  space: "space";
2060
- agent: "agent";
2061
2061
  block: "block";
2062
2062
  database: "database";
2063
2063
  }>;
@@ -2107,10 +2107,10 @@ export declare const NOTION_EVENT_SCHEMA: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Z
2107
2107
  data_source_id: z.ZodOptional<z.ZodUUID>;
2108
2108
  id: z.ZodUUID;
2109
2109
  type: z.ZodEnum<{
2110
+ agent: "agent";
2110
2111
  team: "team";
2111
2112
  page: "page";
2112
2113
  space: "space";
2113
- agent: "agent";
2114
2114
  block: "block";
2115
2115
  database: "database";
2116
2116
  }>;
@@ -2322,10 +2322,10 @@ export declare const NOTION_EVENT_SCHEMA: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Z
2322
2322
  data_source_id: z.ZodOptional<z.ZodUUID>;
2323
2323
  id: z.ZodUUID;
2324
2324
  type: z.ZodEnum<{
2325
+ agent: "agent";
2325
2326
  team: "team";
2326
2327
  page: "page";
2327
2328
  space: "space";
2328
- agent: "agent";
2329
2329
  block: "block";
2330
2330
  database: "database";
2331
2331
  }>;
@@ -2379,10 +2379,10 @@ export declare const NOTION_EVENT_SCHEMA: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Z
2379
2379
  data_source_id: z.ZodOptional<z.ZodUUID>;
2380
2380
  id: z.ZodUUID;
2381
2381
  type: z.ZodEnum<{
2382
+ agent: "agent";
2382
2383
  team: "team";
2383
2384
  page: "page";
2384
2385
  space: "space";
2385
- agent: "agent";
2386
2386
  block: "block";
2387
2387
  database: "database";
2388
2388
  }>;
@@ -2428,10 +2428,10 @@ export declare const NOTION_EVENT_SCHEMA: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Z
2428
2428
  data_source_id: z.ZodOptional<z.ZodUUID>;
2429
2429
  id: z.ZodUUID;
2430
2430
  type: z.ZodEnum<{
2431
+ agent: "agent";
2431
2432
  team: "team";
2432
2433
  page: "page";
2433
2434
  space: "space";
2434
- agent: "agent";
2435
2435
  block: "block";
2436
2436
  database: "database";
2437
2437
  }>;
@@ -2477,10 +2477,10 @@ export declare const NOTION_EVENT_SCHEMA: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Z
2477
2477
  data_source_id: z.ZodOptional<z.ZodUUID>;
2478
2478
  id: z.ZodUUID;
2479
2479
  type: z.ZodEnum<{
2480
+ agent: "agent";
2480
2481
  team: "team";
2481
2482
  page: "page";
2482
2483
  space: "space";
2483
- agent: "agent";
2484
2484
  block: "block";
2485
2485
  database: "database";
2486
2486
  }>;
@@ -2526,10 +2526,10 @@ export declare const NOTION_EVENT_SCHEMA: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Z
2526
2526
  data_source_id: z.ZodOptional<z.ZodUUID>;
2527
2527
  id: z.ZodUUID;
2528
2528
  type: z.ZodEnum<{
2529
+ agent: "agent";
2529
2530
  team: "team";
2530
2531
  page: "page";
2531
2532
  space: "space";
2532
- agent: "agent";
2533
2533
  block: "block";
2534
2534
  database: "database";
2535
2535
  }>;
@@ -2575,10 +2575,10 @@ export declare const NOTION_EVENT_SCHEMA: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Z
2575
2575
  data_source_id: z.ZodOptional<z.ZodUUID>;
2576
2576
  id: z.ZodUUID;
2577
2577
  type: z.ZodEnum<{
2578
+ agent: "agent";
2578
2579
  team: "team";
2579
2580
  page: "page";
2580
2581
  space: "space";
2581
- agent: "agent";
2582
2582
  block: "block";
2583
2583
  database: "database";
2584
2584
  }>;
@@ -2671,10 +2671,10 @@ export declare const NOTION_EVENT_SCHEMA: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Z
2671
2671
  data_source_id: z.ZodOptional<z.ZodUUID>;
2672
2672
  id: z.ZodUUID;
2673
2673
  type: z.ZodEnum<{
2674
+ agent: "agent";
2674
2675
  team: "team";
2675
2676
  page: "page";
2676
2677
  space: "space";
2677
- agent: "agent";
2678
2678
  block: "block";
2679
2679
  database: "database";
2680
2680
  }>;
@@ -2720,10 +2720,10 @@ export declare const NOTION_EVENT_SCHEMA: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Z
2720
2720
  data_source_id: z.ZodOptional<z.ZodUUID>;
2721
2721
  id: z.ZodUUID;
2722
2722
  type: z.ZodEnum<{
2723
+ agent: "agent";
2723
2724
  team: "team";
2724
2725
  page: "page";
2725
2726
  space: "space";
2726
- agent: "agent";
2727
2727
  block: "block";
2728
2728
  database: "database";
2729
2729
  }>;
@@ -2769,10 +2769,10 @@ export declare const NOTION_EVENT_SCHEMA: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Z
2769
2769
  data_source_id: z.ZodOptional<z.ZodUUID>;
2770
2770
  id: z.ZodUUID;
2771
2771
  type: z.ZodEnum<{
2772
+ agent: "agent";
2772
2773
  team: "team";
2773
2774
  page: "page";
2774
2775
  space: "space";
2775
- agent: "agent";
2776
2776
  block: "block";
2777
2777
  database: "database";
2778
2778
  }>;
@@ -2819,10 +2819,10 @@ export declare const NOTION_EVENT_SCHEMA: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Z
2819
2819
  data_source_id: z.ZodOptional<z.ZodUUID>;
2820
2820
  id: z.ZodUUID;
2821
2821
  type: z.ZodEnum<{
2822
+ agent: "agent";
2822
2823
  team: "team";
2823
2824
  page: "page";
2824
2825
  space: "space";
2825
- agent: "agent";
2826
2826
  block: "block";
2827
2827
  database: "database";
2828
2828
  }>;
@@ -2868,17 +2868,17 @@ export declare const NOTION_EVENT_SCHEMA: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Z
2868
2868
  data_source_id: z.ZodOptional<z.ZodUUID>;
2869
2869
  id: z.ZodUUID;
2870
2870
  type: z.ZodEnum<{
2871
+ agent: "agent";
2871
2872
  team: "team";
2872
2873
  page: "page";
2873
2874
  space: "space";
2874
- agent: "agent";
2875
2875
  block: "block";
2876
2876
  database: "database";
2877
2877
  }>;
2878
2878
  }, z.core.$strip>;
2879
2879
  updated_fields: z.ZodArray<z.ZodEnum<{
2880
- filter: "filter";
2881
2880
  name: "name";
2881
+ filter: "filter";
2882
2882
  sorts: "sorts";
2883
2883
  configuration: "configuration";
2884
2884
  }>>;
@@ -2918,9 +2918,8 @@ export declare const NOTION_EVENT_SCHEMA: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Z
2918
2918
  workspace_id: z.ZodUUID;
2919
2919
  workspace_name: z.ZodString;
2920
2920
  }, z.core.$catchall<z.ZodJSONSchema>>], "type">, z.ZodTransform<{
2921
- type: "comment.created";
2922
2921
  id: string;
2923
- timestamp: string;
2922
+ type: "comment.created";
2924
2923
  data: {
2925
2924
  parent: {
2926
2925
  id: string;
@@ -2928,6 +2927,7 @@ export declare const NOTION_EVENT_SCHEMA: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Z
2928
2927
  };
2929
2928
  pageId: string;
2930
2929
  };
2930
+ timestamp: string;
2931
2931
  subscriptionId: string;
2932
2932
  workspaceId: string;
2933
2933
  workspaceName: string;
@@ -2947,12 +2947,11 @@ export declare const NOTION_EVENT_SCHEMA: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Z
2947
2947
  };
2948
2948
  authors: {
2949
2949
  id: string;
2950
- type: "bot" | "agent" | "person";
2950
+ type: "agent" | "bot" | "person";
2951
2951
  }[];
2952
2952
  } | {
2953
- type: "comment.deleted";
2954
2953
  id: string;
2955
- timestamp: string;
2954
+ type: "comment.deleted";
2956
2955
  data: {
2957
2956
  parent: {
2958
2957
  id: string;
@@ -2960,6 +2959,7 @@ export declare const NOTION_EVENT_SCHEMA: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Z
2960
2959
  };
2961
2960
  pageId: string;
2962
2961
  };
2962
+ timestamp: string;
2963
2963
  subscriptionId: string;
2964
2964
  workspaceId: string;
2965
2965
  workspaceName: string;
@@ -2979,12 +2979,11 @@ export declare const NOTION_EVENT_SCHEMA: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Z
2979
2979
  };
2980
2980
  authors: {
2981
2981
  id: string;
2982
- type: "bot" | "agent" | "person";
2982
+ type: "agent" | "bot" | "person";
2983
2983
  }[];
2984
2984
  } | {
2985
- type: "comment.updated";
2986
2985
  id: string;
2987
- timestamp: string;
2986
+ type: "comment.updated";
2988
2987
  data: {
2989
2988
  parent: {
2990
2989
  id: string;
@@ -2992,6 +2991,7 @@ export declare const NOTION_EVENT_SCHEMA: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Z
2992
2991
  };
2993
2992
  pageId: string;
2994
2993
  };
2994
+ timestamp: string;
2995
2995
  subscriptionId: string;
2996
2996
  workspaceId: string;
2997
2997
  workspaceName: string;
@@ -3011,16 +3011,15 @@ export declare const NOTION_EVENT_SCHEMA: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Z
3011
3011
  };
3012
3012
  authors: {
3013
3013
  id: string;
3014
- type: "bot" | "agent" | "person";
3014
+ type: "agent" | "bot" | "person";
3015
3015
  }[];
3016
3016
  } | {
3017
- type: "data_source.content_updated";
3018
3017
  id: string;
3019
- timestamp: string;
3018
+ type: "data_source.content_updated";
3020
3019
  data: {
3021
3020
  parent: {
3022
3021
  id: string;
3023
- type: "team" | "page" | "space" | "agent" | "block" | "database";
3022
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
3024
3023
  dataSourceId?: string | undefined;
3025
3024
  };
3026
3025
  updatedBlocks: {
@@ -3028,6 +3027,7 @@ export declare const NOTION_EVENT_SCHEMA: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Z
3028
3027
  type: "page" | "block" | "database";
3029
3028
  }[];
3030
3029
  };
3030
+ timestamp: string;
3031
3031
  subscriptionId: string;
3032
3032
  workspaceId: string;
3033
3033
  workspaceName: string;
@@ -3047,19 +3047,19 @@ export declare const NOTION_EVENT_SCHEMA: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Z
3047
3047
  };
3048
3048
  authors: {
3049
3049
  id: string;
3050
- type: "bot" | "agent" | "person";
3050
+ type: "agent" | "bot" | "person";
3051
3051
  }[];
3052
3052
  } | {
3053
- type: "data_source.created";
3054
3053
  id: string;
3055
- timestamp: string;
3054
+ type: "data_source.created";
3056
3055
  data: {
3057
3056
  parent: {
3058
3057
  id: string;
3059
- type: "team" | "page" | "space" | "agent" | "block" | "database";
3058
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
3060
3059
  dataSourceId?: string | undefined;
3061
3060
  };
3062
3061
  };
3062
+ timestamp: string;
3063
3063
  subscriptionId: string;
3064
3064
  workspaceId: string;
3065
3065
  workspaceName: string;
@@ -3079,19 +3079,19 @@ export declare const NOTION_EVENT_SCHEMA: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Z
3079
3079
  };
3080
3080
  authors: {
3081
3081
  id: string;
3082
- type: "bot" | "agent" | "person";
3082
+ type: "agent" | "bot" | "person";
3083
3083
  }[];
3084
3084
  } | {
3085
- type: "data_source.deleted";
3086
3085
  id: string;
3087
- timestamp: string;
3086
+ type: "data_source.deleted";
3088
3087
  data: {
3089
3088
  parent: {
3090
3089
  id: string;
3091
- type: "team" | "page" | "space" | "agent" | "block" | "database";
3090
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
3092
3091
  dataSourceId?: string | undefined;
3093
3092
  };
3094
3093
  };
3094
+ timestamp: string;
3095
3095
  subscriptionId: string;
3096
3096
  workspaceId: string;
3097
3097
  workspaceName: string;
@@ -3111,19 +3111,19 @@ export declare const NOTION_EVENT_SCHEMA: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Z
3111
3111
  };
3112
3112
  authors: {
3113
3113
  id: string;
3114
- type: "bot" | "agent" | "person";
3114
+ type: "agent" | "bot" | "person";
3115
3115
  }[];
3116
3116
  } | {
3117
- type: "data_source.moved";
3118
3117
  id: string;
3119
- timestamp: string;
3118
+ type: "data_source.moved";
3120
3119
  data: {
3121
3120
  parent: {
3122
3121
  id: string;
3123
- type: "team" | "page" | "space" | "agent" | "block" | "database";
3122
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
3124
3123
  dataSourceId?: string | undefined;
3125
3124
  };
3126
3125
  };
3126
+ timestamp: string;
3127
3127
  subscriptionId: string;
3128
3128
  workspaceId: string;
3129
3129
  workspaceName: string;
@@ -3143,16 +3143,15 @@ export declare const NOTION_EVENT_SCHEMA: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Z
3143
3143
  };
3144
3144
  authors: {
3145
3145
  id: string;
3146
- type: "bot" | "agent" | "person";
3146
+ type: "agent" | "bot" | "person";
3147
3147
  }[];
3148
3148
  } | {
3149
- type: "data_source.schema_updated";
3150
3149
  id: string;
3151
- timestamp: string;
3150
+ type: "data_source.schema_updated";
3152
3151
  data: {
3153
3152
  parent: {
3154
3153
  id: string;
3155
- type: "team" | "page" | "space" | "agent" | "block" | "database";
3154
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
3156
3155
  dataSourceId?: string | undefined;
3157
3156
  };
3158
3157
  updatedProperties?: {
@@ -3161,6 +3160,7 @@ export declare const NOTION_EVENT_SCHEMA: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Z
3161
3160
  action: "created" | "updated" | "deleted";
3162
3161
  }[] | undefined;
3163
3162
  };
3163
+ timestamp: string;
3164
3164
  subscriptionId: string;
3165
3165
  workspaceId: string;
3166
3166
  workspaceName: string;
@@ -3180,19 +3180,19 @@ export declare const NOTION_EVENT_SCHEMA: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Z
3180
3180
  };
3181
3181
  authors: {
3182
3182
  id: string;
3183
- type: "bot" | "agent" | "person";
3183
+ type: "agent" | "bot" | "person";
3184
3184
  }[];
3185
3185
  } | {
3186
- type: "data_source.undeleted";
3187
3186
  id: string;
3188
- timestamp: string;
3187
+ type: "data_source.undeleted";
3189
3188
  data: {
3190
3189
  parent: {
3191
3190
  id: string;
3192
- type: "team" | "page" | "space" | "agent" | "block" | "database";
3191
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
3193
3192
  dataSourceId?: string | undefined;
3194
3193
  };
3195
3194
  };
3195
+ timestamp: string;
3196
3196
  subscriptionId: string;
3197
3197
  workspaceId: string;
3198
3198
  workspaceName: string;
@@ -3212,19 +3212,19 @@ export declare const NOTION_EVENT_SCHEMA: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Z
3212
3212
  };
3213
3213
  authors: {
3214
3214
  id: string;
3215
- type: "bot" | "agent" | "person";
3215
+ type: "agent" | "bot" | "person";
3216
3216
  }[];
3217
3217
  } | {
3218
- type: "database.created";
3219
3218
  id: string;
3220
- timestamp: string;
3219
+ type: "database.created";
3221
3220
  data: {
3222
3221
  parent: {
3223
3222
  id: string;
3224
- type: "team" | "page" | "space" | "agent" | "block" | "database";
3223
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
3225
3224
  dataSourceId?: string | undefined;
3226
3225
  };
3227
3226
  };
3227
+ timestamp: string;
3228
3228
  subscriptionId: string;
3229
3229
  workspaceId: string;
3230
3230
  workspaceName: string;
@@ -3244,19 +3244,19 @@ export declare const NOTION_EVENT_SCHEMA: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Z
3244
3244
  };
3245
3245
  authors: {
3246
3246
  id: string;
3247
- type: "bot" | "agent" | "person";
3247
+ type: "agent" | "bot" | "person";
3248
3248
  }[];
3249
3249
  } | {
3250
- type: "database.deleted";
3251
3250
  id: string;
3252
- timestamp: string;
3251
+ type: "database.deleted";
3253
3252
  data: {
3254
3253
  parent: {
3255
3254
  id: string;
3256
- type: "team" | "page" | "space" | "agent" | "block" | "database";
3255
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
3257
3256
  dataSourceId?: string | undefined;
3258
3257
  };
3259
3258
  };
3259
+ timestamp: string;
3260
3260
  subscriptionId: string;
3261
3261
  workspaceId: string;
3262
3262
  workspaceName: string;
@@ -3276,19 +3276,19 @@ export declare const NOTION_EVENT_SCHEMA: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Z
3276
3276
  };
3277
3277
  authors: {
3278
3278
  id: string;
3279
- type: "bot" | "agent" | "person";
3279
+ type: "agent" | "bot" | "person";
3280
3280
  }[];
3281
3281
  } | {
3282
- type: "database.moved";
3283
3282
  id: string;
3284
- timestamp: string;
3283
+ type: "database.moved";
3285
3284
  data: {
3286
3285
  parent: {
3287
3286
  id: string;
3288
- type: "team" | "page" | "space" | "agent" | "block" | "database";
3287
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
3289
3288
  dataSourceId?: string | undefined;
3290
3289
  };
3291
3290
  };
3291
+ timestamp: string;
3292
3292
  subscriptionId: string;
3293
3293
  workspaceId: string;
3294
3294
  workspaceName: string;
@@ -3308,19 +3308,19 @@ export declare const NOTION_EVENT_SCHEMA: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Z
3308
3308
  };
3309
3309
  authors: {
3310
3310
  id: string;
3311
- type: "bot" | "agent" | "person";
3311
+ type: "agent" | "bot" | "person";
3312
3312
  }[];
3313
3313
  } | {
3314
- type: "database.undeleted";
3315
3314
  id: string;
3316
- timestamp: string;
3315
+ type: "database.undeleted";
3317
3316
  data: {
3318
3317
  parent: {
3319
3318
  id: string;
3320
- type: "team" | "page" | "space" | "agent" | "block" | "database";
3319
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
3321
3320
  dataSourceId?: string | undefined;
3322
3321
  };
3323
3322
  };
3323
+ timestamp: string;
3324
3324
  subscriptionId: string;
3325
3325
  workspaceId: string;
3326
3326
  workspaceName: string;
@@ -3340,11 +3340,11 @@ export declare const NOTION_EVENT_SCHEMA: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Z
3340
3340
  };
3341
3341
  authors: {
3342
3342
  id: string;
3343
- type: "bot" | "agent" | "person";
3343
+ type: "agent" | "bot" | "person";
3344
3344
  }[];
3345
3345
  } | {
3346
- type: "file_upload.completed";
3347
3346
  id: string;
3347
+ type: "file_upload.completed";
3348
3348
  timestamp: string;
3349
3349
  subscriptionId: string;
3350
3350
  workspaceId: string;
@@ -3365,11 +3365,11 @@ export declare const NOTION_EVENT_SCHEMA: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Z
3365
3365
  };
3366
3366
  authors: {
3367
3367
  id: string;
3368
- type: "bot" | "agent" | "person";
3368
+ type: "agent" | "bot" | "person";
3369
3369
  }[];
3370
3370
  } | {
3371
- type: "file_upload.created";
3372
3371
  id: string;
3372
+ type: "file_upload.created";
3373
3373
  timestamp: string;
3374
3374
  subscriptionId: string;
3375
3375
  workspaceId: string;
@@ -3390,11 +3390,11 @@ export declare const NOTION_EVENT_SCHEMA: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Z
3390
3390
  };
3391
3391
  authors: {
3392
3392
  id: string;
3393
- type: "bot" | "agent" | "person";
3393
+ type: "agent" | "bot" | "person";
3394
3394
  }[];
3395
3395
  } | {
3396
- type: "file_upload.expired";
3397
3396
  id: string;
3397
+ type: "file_upload.expired";
3398
3398
  timestamp: string;
3399
3399
  subscriptionId: string;
3400
3400
  workspaceId: string;
@@ -3415,12 +3415,11 @@ export declare const NOTION_EVENT_SCHEMA: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Z
3415
3415
  };
3416
3416
  authors: {
3417
3417
  id: string;
3418
- type: "bot" | "agent" | "person";
3418
+ type: "agent" | "bot" | "person";
3419
3419
  }[];
3420
3420
  } | {
3421
- type: "file_upload.upload_failed";
3422
3421
  id: string;
3423
- timestamp: string;
3422
+ type: "file_upload.upload_failed";
3424
3423
  data: {
3425
3424
  fileImportResult: {
3426
3425
  type: "success";
@@ -3440,6 +3439,7 @@ export declare const NOTION_EVENT_SCHEMA: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Z
3440
3439
  };
3441
3440
  };
3442
3441
  };
3442
+ timestamp: string;
3443
3443
  subscriptionId: string;
3444
3444
  workspaceId: string;
3445
3445
  workspaceName: string;
@@ -3459,16 +3459,15 @@ export declare const NOTION_EVENT_SCHEMA: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Z
3459
3459
  };
3460
3460
  authors: {
3461
3461
  id: string;
3462
- type: "bot" | "agent" | "person";
3462
+ type: "agent" | "bot" | "person";
3463
3463
  }[];
3464
3464
  } | {
3465
- type: "page.content_updated";
3466
3465
  id: string;
3467
- timestamp: string;
3466
+ type: "page.content_updated";
3468
3467
  data: {
3469
3468
  parent: {
3470
3469
  id: string;
3471
- type: "team" | "page" | "space" | "agent" | "block" | "database";
3470
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
3472
3471
  dataSourceId?: string | undefined;
3473
3472
  };
3474
3473
  updatedBlocks: {
@@ -3476,6 +3475,7 @@ export declare const NOTION_EVENT_SCHEMA: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Z
3476
3475
  type: "page" | "block" | "database";
3477
3476
  }[];
3478
3477
  };
3478
+ timestamp: string;
3479
3479
  subscriptionId: string;
3480
3480
  workspaceId: string;
3481
3481
  workspaceName: string;
@@ -3495,19 +3495,19 @@ export declare const NOTION_EVENT_SCHEMA: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Z
3495
3495
  };
3496
3496
  authors: {
3497
3497
  id: string;
3498
- type: "bot" | "agent" | "person";
3498
+ type: "agent" | "bot" | "person";
3499
3499
  }[];
3500
3500
  } | {
3501
- type: "page.created";
3502
3501
  id: string;
3503
- timestamp: string;
3502
+ type: "page.created";
3504
3503
  data: {
3505
3504
  parent: {
3506
3505
  id: string;
3507
- type: "team" | "page" | "space" | "agent" | "block" | "database";
3506
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
3508
3507
  dataSourceId?: string | undefined;
3509
3508
  };
3510
3509
  };
3510
+ timestamp: string;
3511
3511
  subscriptionId: string;
3512
3512
  workspaceId: string;
3513
3513
  workspaceName: string;
@@ -3527,19 +3527,19 @@ export declare const NOTION_EVENT_SCHEMA: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Z
3527
3527
  };
3528
3528
  authors: {
3529
3529
  id: string;
3530
- type: "bot" | "agent" | "person";
3530
+ type: "agent" | "bot" | "person";
3531
3531
  }[];
3532
3532
  } | {
3533
- type: "page.deleted";
3534
3533
  id: string;
3535
- timestamp: string;
3534
+ type: "page.deleted";
3536
3535
  data: {
3537
3536
  parent: {
3538
3537
  id: string;
3539
- type: "team" | "page" | "space" | "agent" | "block" | "database";
3538
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
3540
3539
  dataSourceId?: string | undefined;
3541
3540
  };
3542
3541
  };
3542
+ timestamp: string;
3543
3543
  subscriptionId: string;
3544
3544
  workspaceId: string;
3545
3545
  workspaceName: string;
@@ -3559,19 +3559,19 @@ export declare const NOTION_EVENT_SCHEMA: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Z
3559
3559
  };
3560
3560
  authors: {
3561
3561
  id: string;
3562
- type: "bot" | "agent" | "person";
3562
+ type: "agent" | "bot" | "person";
3563
3563
  }[];
3564
3564
  } | {
3565
- type: "page.locked";
3566
3565
  id: string;
3567
- timestamp: string;
3566
+ type: "page.locked";
3568
3567
  data: {
3569
3568
  parent: {
3570
3569
  id: string;
3571
- type: "team" | "page" | "space" | "agent" | "block" | "database";
3570
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
3572
3571
  dataSourceId?: string | undefined;
3573
3572
  };
3574
3573
  };
3574
+ timestamp: string;
3575
3575
  subscriptionId: string;
3576
3576
  workspaceId: string;
3577
3577
  workspaceName: string;
@@ -3591,19 +3591,19 @@ export declare const NOTION_EVENT_SCHEMA: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Z
3591
3591
  };
3592
3592
  authors: {
3593
3593
  id: string;
3594
- type: "bot" | "agent" | "person";
3594
+ type: "agent" | "bot" | "person";
3595
3595
  }[];
3596
3596
  } | {
3597
- type: "page.moved";
3598
3597
  id: string;
3599
- timestamp: string;
3598
+ type: "page.moved";
3600
3599
  data: {
3601
3600
  parent: {
3602
3601
  id: string;
3603
- type: "team" | "page" | "space" | "agent" | "block" | "database";
3602
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
3604
3603
  dataSourceId?: string | undefined;
3605
3604
  };
3606
3605
  };
3606
+ timestamp: string;
3607
3607
  subscriptionId: string;
3608
3608
  workspaceId: string;
3609
3609
  workspaceName: string;
@@ -3623,20 +3623,20 @@ export declare const NOTION_EVENT_SCHEMA: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Z
3623
3623
  };
3624
3624
  authors: {
3625
3625
  id: string;
3626
- type: "bot" | "agent" | "person";
3626
+ type: "agent" | "bot" | "person";
3627
3627
  }[];
3628
3628
  } | {
3629
- type: "page.properties_updated";
3630
3629
  id: string;
3631
- timestamp: string;
3630
+ type: "page.properties_updated";
3632
3631
  data: {
3633
3632
  parent: {
3634
3633
  id: string;
3635
- type: "team" | "page" | "space" | "agent" | "block" | "database";
3634
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
3636
3635
  dataSourceId?: string | undefined;
3637
3636
  };
3638
3637
  updatedProperties: string[];
3639
3638
  };
3639
+ timestamp: string;
3640
3640
  subscriptionId: string;
3641
3641
  workspaceId: string;
3642
3642
  workspaceName: string;
@@ -3656,12 +3656,11 @@ export declare const NOTION_EVENT_SCHEMA: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Z
3656
3656
  };
3657
3657
  authors: {
3658
3658
  id: string;
3659
- type: "bot" | "agent" | "person";
3659
+ type: "agent" | "bot" | "person";
3660
3660
  }[];
3661
3661
  } | {
3662
- type: "page.transcription_block.transcript_deleted";
3663
3662
  id: string;
3664
- timestamp: string;
3663
+ type: "page.transcription_block.transcript_deleted";
3665
3664
  data: {
3666
3665
  target: {
3667
3666
  id: string;
@@ -3669,6 +3668,7 @@ export declare const NOTION_EVENT_SCHEMA: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Z
3669
3668
  };
3670
3669
  transcriptId: string | null;
3671
3670
  };
3671
+ timestamp: string;
3672
3672
  subscriptionId: string;
3673
3673
  workspaceId: string;
3674
3674
  workspaceName: string;
@@ -3688,19 +3688,19 @@ export declare const NOTION_EVENT_SCHEMA: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Z
3688
3688
  };
3689
3689
  authors: {
3690
3690
  id: string;
3691
- type: "bot" | "agent" | "person";
3691
+ type: "agent" | "bot" | "person";
3692
3692
  }[];
3693
3693
  } | {
3694
- type: "page.undeleted";
3695
3694
  id: string;
3696
- timestamp: string;
3695
+ type: "page.undeleted";
3697
3696
  data: {
3698
3697
  parent: {
3699
3698
  id: string;
3700
- type: "team" | "page" | "space" | "agent" | "block" | "database";
3699
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
3701
3700
  dataSourceId?: string | undefined;
3702
3701
  };
3703
3702
  };
3703
+ timestamp: string;
3704
3704
  subscriptionId: string;
3705
3705
  workspaceId: string;
3706
3706
  workspaceName: string;
@@ -3720,19 +3720,19 @@ export declare const NOTION_EVENT_SCHEMA: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Z
3720
3720
  };
3721
3721
  authors: {
3722
3722
  id: string;
3723
- type: "bot" | "agent" | "person";
3723
+ type: "agent" | "bot" | "person";
3724
3724
  }[];
3725
3725
  } | {
3726
- type: "page.unlocked";
3727
3726
  id: string;
3728
- timestamp: string;
3727
+ type: "page.unlocked";
3729
3728
  data: {
3730
3729
  parent: {
3731
3730
  id: string;
3732
- type: "team" | "page" | "space" | "agent" | "block" | "database";
3731
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
3733
3732
  dataSourceId?: string | undefined;
3734
3733
  };
3735
3734
  };
3735
+ timestamp: string;
3736
3736
  subscriptionId: string;
3737
3737
  workspaceId: string;
3738
3738
  workspaceName: string;
@@ -3752,20 +3752,20 @@ export declare const NOTION_EVENT_SCHEMA: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Z
3752
3752
  };
3753
3753
  authors: {
3754
3754
  id: string;
3755
- type: "bot" | "agent" | "person";
3755
+ type: "agent" | "bot" | "person";
3756
3756
  }[];
3757
3757
  } | {
3758
- type: "view.created";
3759
3758
  id: string;
3760
- timestamp: string;
3759
+ type: "view.created";
3761
3760
  data: {
3762
3761
  parent: {
3763
3762
  id: string;
3764
- type: "team" | "page" | "space" | "agent" | "block" | "database";
3763
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
3765
3764
  dataSourceId?: string | undefined;
3766
3765
  };
3767
3766
  viewType: string;
3768
3767
  };
3768
+ timestamp: string;
3769
3769
  subscriptionId: string;
3770
3770
  workspaceId: string;
3771
3771
  workspaceName: string;
@@ -3785,19 +3785,19 @@ export declare const NOTION_EVENT_SCHEMA: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Z
3785
3785
  };
3786
3786
  authors: {
3787
3787
  id: string;
3788
- type: "bot" | "agent" | "person";
3788
+ type: "agent" | "bot" | "person";
3789
3789
  }[];
3790
3790
  } | {
3791
- type: "view.deleted";
3792
3791
  id: string;
3793
- timestamp: string;
3792
+ type: "view.deleted";
3794
3793
  data: {
3795
3794
  parent: {
3796
3795
  id: string;
3797
- type: "team" | "page" | "space" | "agent" | "block" | "database";
3796
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
3798
3797
  dataSourceId?: string | undefined;
3799
3798
  };
3800
3799
  };
3800
+ timestamp: string;
3801
3801
  subscriptionId: string;
3802
3802
  workspaceId: string;
3803
3803
  workspaceName: string;
@@ -3817,20 +3817,20 @@ export declare const NOTION_EVENT_SCHEMA: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Z
3817
3817
  };
3818
3818
  authors: {
3819
3819
  id: string;
3820
- type: "bot" | "agent" | "person";
3820
+ type: "agent" | "bot" | "person";
3821
3821
  }[];
3822
3822
  } | {
3823
- type: "view.updated";
3824
3823
  id: string;
3825
- timestamp: string;
3824
+ type: "view.updated";
3826
3825
  data: {
3827
3826
  parent: {
3828
3827
  id: string;
3829
- type: "team" | "page" | "space" | "agent" | "block" | "database";
3828
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
3830
3829
  dataSourceId?: string | undefined;
3831
3830
  };
3832
- updatedFields: ("filter" | "name" | "sorts" | "configuration")[];
3831
+ updatedFields: ("name" | "filter" | "sorts" | "configuration")[];
3833
3832
  };
3833
+ timestamp: string;
3834
3834
  subscriptionId: string;
3835
3835
  workspaceId: string;
3836
3836
  workspaceName: string;
@@ -3850,7 +3850,7 @@ export declare const NOTION_EVENT_SCHEMA: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Z
3850
3850
  };
3851
3851
  authors: {
3852
3852
  id: string;
3853
- type: "bot" | "agent" | "person";
3853
+ type: "agent" | "bot" | "person";
3854
3854
  }[];
3855
3855
  }, {
3856
3856
  [x: string]: z.core.util.JSONType;
@@ -3974,7 +3974,7 @@ export declare const NOTION_EVENT_SCHEMA: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Z
3974
3974
  data: {
3975
3975
  parent: {
3976
3976
  id: string;
3977
- type: "team" | "page" | "space" | "agent" | "block" | "database";
3977
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
3978
3978
  data_source_id?: string | undefined;
3979
3979
  };
3980
3980
  updated_blocks: {
@@ -4017,7 +4017,7 @@ export declare const NOTION_EVENT_SCHEMA: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Z
4017
4017
  data: {
4018
4018
  parent: {
4019
4019
  id: string;
4020
- type: "team" | "page" | "space" | "agent" | "block" | "database";
4020
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
4021
4021
  data_source_id?: string | undefined;
4022
4022
  };
4023
4023
  };
@@ -4056,7 +4056,7 @@ export declare const NOTION_EVENT_SCHEMA: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Z
4056
4056
  data: {
4057
4057
  parent: {
4058
4058
  id: string;
4059
- type: "team" | "page" | "space" | "agent" | "block" | "database";
4059
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
4060
4060
  data_source_id?: string | undefined;
4061
4061
  };
4062
4062
  };
@@ -4095,7 +4095,7 @@ export declare const NOTION_EVENT_SCHEMA: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Z
4095
4095
  data: {
4096
4096
  parent: {
4097
4097
  id: string;
4098
- type: "team" | "page" | "space" | "agent" | "block" | "database";
4098
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
4099
4099
  data_source_id?: string | undefined;
4100
4100
  };
4101
4101
  };
@@ -4134,7 +4134,7 @@ export declare const NOTION_EVENT_SCHEMA: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Z
4134
4134
  data: {
4135
4135
  parent: {
4136
4136
  id: string;
4137
- type: "team" | "page" | "space" | "agent" | "block" | "database";
4137
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
4138
4138
  data_source_id?: string | undefined;
4139
4139
  };
4140
4140
  updated_properties?: {
@@ -4178,7 +4178,7 @@ export declare const NOTION_EVENT_SCHEMA: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Z
4178
4178
  data: {
4179
4179
  parent: {
4180
4180
  id: string;
4181
- type: "team" | "page" | "space" | "agent" | "block" | "database";
4181
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
4182
4182
  data_source_id?: string | undefined;
4183
4183
  };
4184
4184
  };
@@ -4217,7 +4217,7 @@ export declare const NOTION_EVENT_SCHEMA: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Z
4217
4217
  data: {
4218
4218
  parent: {
4219
4219
  id: string;
4220
- type: "team" | "page" | "space" | "agent" | "block" | "database";
4220
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
4221
4221
  data_source_id?: string | undefined;
4222
4222
  };
4223
4223
  };
@@ -4256,7 +4256,7 @@ export declare const NOTION_EVENT_SCHEMA: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Z
4256
4256
  data: {
4257
4257
  parent: {
4258
4258
  id: string;
4259
- type: "team" | "page" | "space" | "agent" | "block" | "database";
4259
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
4260
4260
  data_source_id?: string | undefined;
4261
4261
  };
4262
4262
  };
@@ -4295,7 +4295,7 @@ export declare const NOTION_EVENT_SCHEMA: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Z
4295
4295
  data: {
4296
4296
  parent: {
4297
4297
  id: string;
4298
- type: "team" | "page" | "space" | "agent" | "block" | "database";
4298
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
4299
4299
  data_source_id?: string | undefined;
4300
4300
  };
4301
4301
  };
@@ -4334,7 +4334,7 @@ export declare const NOTION_EVENT_SCHEMA: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Z
4334
4334
  data: {
4335
4335
  parent: {
4336
4336
  id: string;
4337
- type: "team" | "page" | "space" | "agent" | "block" | "database";
4337
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
4338
4338
  data_source_id?: string | undefined;
4339
4339
  };
4340
4340
  };
@@ -4518,7 +4518,7 @@ export declare const NOTION_EVENT_SCHEMA: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Z
4518
4518
  data: {
4519
4519
  parent: {
4520
4520
  id: string;
4521
- type: "team" | "page" | "space" | "agent" | "block" | "database";
4521
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
4522
4522
  data_source_id?: string | undefined;
4523
4523
  };
4524
4524
  updated_blocks: {
@@ -4561,7 +4561,7 @@ export declare const NOTION_EVENT_SCHEMA: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Z
4561
4561
  data: {
4562
4562
  parent: {
4563
4563
  id: string;
4564
- type: "team" | "page" | "space" | "agent" | "block" | "database";
4564
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
4565
4565
  data_source_id?: string | undefined;
4566
4566
  };
4567
4567
  };
@@ -4600,7 +4600,7 @@ export declare const NOTION_EVENT_SCHEMA: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Z
4600
4600
  data: {
4601
4601
  parent: {
4602
4602
  id: string;
4603
- type: "team" | "page" | "space" | "agent" | "block" | "database";
4603
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
4604
4604
  data_source_id?: string | undefined;
4605
4605
  };
4606
4606
  };
@@ -4639,7 +4639,7 @@ export declare const NOTION_EVENT_SCHEMA: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Z
4639
4639
  data: {
4640
4640
  parent: {
4641
4641
  id: string;
4642
- type: "team" | "page" | "space" | "agent" | "block" | "database";
4642
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
4643
4643
  data_source_id?: string | undefined;
4644
4644
  };
4645
4645
  };
@@ -4678,7 +4678,7 @@ export declare const NOTION_EVENT_SCHEMA: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Z
4678
4678
  data: {
4679
4679
  parent: {
4680
4680
  id: string;
4681
- type: "team" | "page" | "space" | "agent" | "block" | "database";
4681
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
4682
4682
  data_source_id?: string | undefined;
4683
4683
  };
4684
4684
  };
@@ -4717,7 +4717,7 @@ export declare const NOTION_EVENT_SCHEMA: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Z
4717
4717
  data: {
4718
4718
  parent: {
4719
4719
  id: string;
4720
- type: "team" | "page" | "space" | "agent" | "block" | "database";
4720
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
4721
4721
  data_source_id?: string | undefined;
4722
4722
  };
4723
4723
  updated_properties: string[];
@@ -4796,7 +4796,7 @@ export declare const NOTION_EVENT_SCHEMA: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Z
4796
4796
  data: {
4797
4797
  parent: {
4798
4798
  id: string;
4799
- type: "team" | "page" | "space" | "agent" | "block" | "database";
4799
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
4800
4800
  data_source_id?: string | undefined;
4801
4801
  };
4802
4802
  };
@@ -4835,7 +4835,7 @@ export declare const NOTION_EVENT_SCHEMA: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Z
4835
4835
  data: {
4836
4836
  parent: {
4837
4837
  id: string;
4838
- type: "team" | "page" | "space" | "agent" | "block" | "database";
4838
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
4839
4839
  data_source_id?: string | undefined;
4840
4840
  };
4841
4841
  };
@@ -4874,7 +4874,7 @@ export declare const NOTION_EVENT_SCHEMA: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Z
4874
4874
  data: {
4875
4875
  parent: {
4876
4876
  id: string;
4877
- type: "team" | "page" | "space" | "agent" | "block" | "database";
4877
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
4878
4878
  data_source_id?: string | undefined;
4879
4879
  };
4880
4880
  view_type: string;
@@ -4914,7 +4914,7 @@ export declare const NOTION_EVENT_SCHEMA: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Z
4914
4914
  data: {
4915
4915
  parent: {
4916
4916
  id: string;
4917
- type: "team" | "page" | "space" | "agent" | "block" | "database";
4917
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
4918
4918
  data_source_id?: string | undefined;
4919
4919
  };
4920
4920
  };
@@ -4953,10 +4953,10 @@ export declare const NOTION_EVENT_SCHEMA: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Z
4953
4953
  data: {
4954
4954
  parent: {
4955
4955
  id: string;
4956
- type: "team" | "page" | "space" | "agent" | "block" | "database";
4956
+ type: "agent" | "team" | "page" | "space" | "block" | "database";
4957
4957
  data_source_id?: string | undefined;
4958
4958
  };
4959
- updated_fields: ("filter" | "name" | "sorts" | "configuration")[];
4959
+ updated_fields: ("name" | "filter" | "sorts" | "configuration")[];
4960
4960
  };
4961
4961
  entity: {
4962
4962
  id: string;