@notionhq/client 0.4.7 → 0.4.8

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.
@@ -204,6 +204,16 @@ declare type BlockObjectRequest = {
204
204
  table_of_contents: Record<string, never>;
205
205
  type?: "table_of_contents";
206
206
  object?: "block";
207
+ } | {
208
+ link_to_page: {
209
+ page_id: IdRequest;
210
+ type?: "page_id";
211
+ } | {
212
+ database_id: IdRequest;
213
+ type?: "database_id";
214
+ };
215
+ type?: "link_to_page";
216
+ object?: "block";
207
217
  } | {
208
218
  column_list: {
209
219
  children: Array<{
@@ -315,6 +325,16 @@ declare type BlockObjectRequest = {
315
325
  table_of_contents: Record<string, never>;
316
326
  type?: "table_of_contents";
317
327
  object?: "block";
328
+ } | {
329
+ link_to_page: {
330
+ page_id: IdRequest;
331
+ type?: "page_id";
332
+ } | {
333
+ database_id: IdRequest;
334
+ type?: "database_id";
335
+ };
336
+ type?: "link_to_page";
337
+ object?: "block";
318
338
  } | {
319
339
  paragraph: {
320
340
  text: Array<RichTextItemRequest>;
@@ -425,6 +445,16 @@ declare type BlockObjectRequest = {
425
445
  table_of_contents: Record<string, never>;
426
446
  type?: "table_of_contents";
427
447
  object?: "block";
448
+ } | {
449
+ link_to_page: {
450
+ page_id: IdRequest;
451
+ type?: "page_id";
452
+ } | {
453
+ database_id: IdRequest;
454
+ type?: "database_id";
455
+ };
456
+ type?: "link_to_page";
457
+ object?: "block";
428
458
  } | {
429
459
  paragraph: {
430
460
  text: Array<RichTextItemRequest>;
@@ -606,6 +636,16 @@ declare type BlockObjectRequest = {
606
636
  table_of_contents: Record<string, never>;
607
637
  type?: "table_of_contents";
608
638
  object?: "block";
639
+ } | {
640
+ link_to_page: {
641
+ page_id: IdRequest;
642
+ type?: "page_id";
643
+ } | {
644
+ database_id: IdRequest;
645
+ type?: "database_id";
646
+ };
647
+ type?: "link_to_page";
648
+ object?: "block";
609
649
  } | {
610
650
  paragraph: {
611
651
  text: Array<RichTextItemRequest>;
@@ -787,6 +827,16 @@ declare type BlockObjectRequest = {
787
827
  table_of_contents: Record<string, never>;
788
828
  type?: "table_of_contents";
789
829
  object?: "block";
830
+ } | {
831
+ link_to_page: {
832
+ page_id: IdRequest;
833
+ type?: "page_id";
834
+ } | {
835
+ database_id: IdRequest;
836
+ type?: "database_id";
837
+ };
838
+ type?: "link_to_page";
839
+ object?: "block";
790
840
  } | {
791
841
  paragraph: {
792
842
  text: Array<RichTextItemRequest>;
@@ -968,6 +1018,16 @@ declare type BlockObjectRequest = {
968
1018
  table_of_contents: Record<string, never>;
969
1019
  type?: "table_of_contents";
970
1020
  object?: "block";
1021
+ } | {
1022
+ link_to_page: {
1023
+ page_id: IdRequest;
1024
+ type?: "page_id";
1025
+ } | {
1026
+ database_id: IdRequest;
1027
+ type?: "database_id";
1028
+ };
1029
+ type?: "link_to_page";
1030
+ object?: "block";
971
1031
  } | {
972
1032
  paragraph: {
973
1033
  text: Array<RichTextItemRequest>;
@@ -1149,6 +1209,16 @@ declare type BlockObjectRequest = {
1149
1209
  table_of_contents: Record<string, never>;
1150
1210
  type?: "table_of_contents";
1151
1211
  object?: "block";
1212
+ } | {
1213
+ link_to_page: {
1214
+ page_id: IdRequest;
1215
+ type?: "page_id";
1216
+ } | {
1217
+ database_id: IdRequest;
1218
+ type?: "database_id";
1219
+ };
1220
+ type?: "link_to_page";
1221
+ object?: "block";
1152
1222
  } | {
1153
1223
  paragraph: {
1154
1224
  text: Array<RichTextItemRequest>;
@@ -1331,6 +1401,16 @@ declare type BlockObjectRequest = {
1331
1401
  table_of_contents: Record<string, never>;
1332
1402
  type?: "table_of_contents";
1333
1403
  object?: "block";
1404
+ } | {
1405
+ link_to_page: {
1406
+ page_id: IdRequest;
1407
+ type?: "page_id";
1408
+ } | {
1409
+ database_id: IdRequest;
1410
+ type?: "database_id";
1411
+ };
1412
+ type?: "link_to_page";
1413
+ object?: "block";
1334
1414
  } | {
1335
1415
  paragraph: {
1336
1416
  text: Array<RichTextItemRequest>;
@@ -1512,6 +1592,16 @@ declare type BlockObjectRequest = {
1512
1592
  table_of_contents: Record<string, never>;
1513
1593
  type?: "table_of_contents";
1514
1594
  object?: "block";
1595
+ } | {
1596
+ link_to_page: {
1597
+ page_id: IdRequest;
1598
+ type?: "page_id";
1599
+ } | {
1600
+ database_id: IdRequest;
1601
+ type?: "database_id";
1602
+ };
1603
+ type?: "link_to_page";
1604
+ object?: "block";
1515
1605
  } | {
1516
1606
  paragraph: {
1517
1607
  text: Array<RichTextItemRequest>;
@@ -1693,6 +1783,16 @@ declare type BlockObjectRequest = {
1693
1783
  table_of_contents: Record<string, never>;
1694
1784
  type?: "table_of_contents";
1695
1785
  object?: "block";
1786
+ } | {
1787
+ link_to_page: {
1788
+ page_id: IdRequest;
1789
+ type?: "page_id";
1790
+ } | {
1791
+ database_id: IdRequest;
1792
+ type?: "database_id";
1793
+ };
1794
+ type?: "link_to_page";
1795
+ object?: "block";
1696
1796
  } | {
1697
1797
  paragraph: {
1698
1798
  text: Array<RichTextItemRequest>;
@@ -1886,6 +1986,16 @@ declare type BlockObjectRequest = {
1886
1986
  table_of_contents: Record<string, never>;
1887
1987
  type?: "table_of_contents";
1888
1988
  object?: "block";
1989
+ } | {
1990
+ link_to_page: {
1991
+ page_id: IdRequest;
1992
+ type?: "page_id";
1993
+ } | {
1994
+ database_id: IdRequest;
1995
+ type?: "database_id";
1996
+ };
1997
+ type?: "link_to_page";
1998
+ object?: "block";
1889
1999
  } | {
1890
2000
  paragraph: {
1891
2001
  text: Array<RichTextItemRequest>;
@@ -2074,6 +2184,16 @@ declare type BlockObjectRequest = {
2074
2184
  table_of_contents: Record<string, never>;
2075
2185
  type?: "table_of_contents";
2076
2186
  object?: "block";
2187
+ } | {
2188
+ link_to_page: {
2189
+ page_id: IdRequest;
2190
+ type?: "page_id";
2191
+ } | {
2192
+ database_id: IdRequest;
2193
+ type?: "database_id";
2194
+ };
2195
+ type?: "link_to_page";
2196
+ object?: "block";
2077
2197
  } | {
2078
2198
  paragraph: {
2079
2199
  text: Array<RichTextItemRequest>;
@@ -2184,6 +2304,16 @@ declare type BlockObjectRequest = {
2184
2304
  table_of_contents: Record<string, never>;
2185
2305
  type?: "table_of_contents";
2186
2306
  object?: "block";
2307
+ } | {
2308
+ link_to_page: {
2309
+ page_id: IdRequest;
2310
+ type?: "page_id";
2311
+ } | {
2312
+ database_id: IdRequest;
2313
+ type?: "database_id";
2314
+ };
2315
+ type?: "link_to_page";
2316
+ object?: "block";
2187
2317
  } | {
2188
2318
  paragraph: {
2189
2319
  text: Array<RichTextItemRequest>;
@@ -2365,6 +2495,16 @@ declare type BlockObjectRequest = {
2365
2495
  table_of_contents: Record<string, never>;
2366
2496
  type?: "table_of_contents";
2367
2497
  object?: "block";
2498
+ } | {
2499
+ link_to_page: {
2500
+ page_id: IdRequest;
2501
+ type?: "page_id";
2502
+ } | {
2503
+ database_id: IdRequest;
2504
+ type?: "database_id";
2505
+ };
2506
+ type?: "link_to_page";
2507
+ object?: "block";
2368
2508
  } | {
2369
2509
  paragraph: {
2370
2510
  text: Array<RichTextItemRequest>;
@@ -2546,6 +2686,16 @@ declare type BlockObjectRequest = {
2546
2686
  table_of_contents: Record<string, never>;
2547
2687
  type?: "table_of_contents";
2548
2688
  object?: "block";
2689
+ } | {
2690
+ link_to_page: {
2691
+ page_id: IdRequest;
2692
+ type?: "page_id";
2693
+ } | {
2694
+ database_id: IdRequest;
2695
+ type?: "database_id";
2696
+ };
2697
+ type?: "link_to_page";
2698
+ object?: "block";
2549
2699
  } | {
2550
2700
  paragraph: {
2551
2701
  text: Array<RichTextItemRequest>;
@@ -2727,6 +2877,16 @@ declare type BlockObjectRequest = {
2727
2877
  table_of_contents: Record<string, never>;
2728
2878
  type?: "table_of_contents";
2729
2879
  object?: "block";
2880
+ } | {
2881
+ link_to_page: {
2882
+ page_id: IdRequest;
2883
+ type?: "page_id";
2884
+ } | {
2885
+ database_id: IdRequest;
2886
+ type?: "database_id";
2887
+ };
2888
+ type?: "link_to_page";
2889
+ object?: "block";
2730
2890
  } | {
2731
2891
  paragraph: {
2732
2892
  text: Array<RichTextItemRequest>;
@@ -2908,6 +3068,16 @@ declare type BlockObjectRequest = {
2908
3068
  table_of_contents: Record<string, never>;
2909
3069
  type?: "table_of_contents";
2910
3070
  object?: "block";
3071
+ } | {
3072
+ link_to_page: {
3073
+ page_id: IdRequest;
3074
+ type?: "page_id";
3075
+ } | {
3076
+ database_id: IdRequest;
3077
+ type?: "database_id";
3078
+ };
3079
+ type?: "link_to_page";
3080
+ object?: "block";
2911
3081
  } | {
2912
3082
  paragraph: {
2913
3083
  text: Array<RichTextItemRequest>;
@@ -3090,6 +3260,16 @@ declare type BlockObjectRequest = {
3090
3260
  table_of_contents: Record<string, never>;
3091
3261
  type?: "table_of_contents";
3092
3262
  object?: "block";
3263
+ } | {
3264
+ link_to_page: {
3265
+ page_id: IdRequest;
3266
+ type?: "page_id";
3267
+ } | {
3268
+ database_id: IdRequest;
3269
+ type?: "database_id";
3270
+ };
3271
+ type?: "link_to_page";
3272
+ object?: "block";
3093
3273
  } | {
3094
3274
  paragraph: {
3095
3275
  text: Array<RichTextItemRequest>;
@@ -3271,6 +3451,16 @@ declare type BlockObjectRequest = {
3271
3451
  table_of_contents: Record<string, never>;
3272
3452
  type?: "table_of_contents";
3273
3453
  object?: "block";
3454
+ } | {
3455
+ link_to_page: {
3456
+ page_id: IdRequest;
3457
+ type?: "page_id";
3458
+ } | {
3459
+ database_id: IdRequest;
3460
+ type?: "database_id";
3461
+ };
3462
+ type?: "link_to_page";
3463
+ object?: "block";
3274
3464
  } | {
3275
3465
  paragraph: {
3276
3466
  text: Array<RichTextItemRequest>;
@@ -3452,6 +3642,16 @@ declare type BlockObjectRequest = {
3452
3642
  table_of_contents: Record<string, never>;
3453
3643
  type?: "table_of_contents";
3454
3644
  object?: "block";
3645
+ } | {
3646
+ link_to_page: {
3647
+ page_id: IdRequest;
3648
+ type?: "page_id";
3649
+ } | {
3650
+ database_id: IdRequest;
3651
+ type?: "database_id";
3652
+ };
3653
+ type?: "link_to_page";
3654
+ object?: "block";
3455
3655
  } | {
3456
3656
  paragraph: {
3457
3657
  text: Array<RichTextItemRequest>;
@@ -3645,6 +3845,16 @@ declare type BlockObjectRequest = {
3645
3845
  table_of_contents: Record<string, never>;
3646
3846
  type?: "table_of_contents";
3647
3847
  object?: "block";
3848
+ } | {
3849
+ link_to_page: {
3850
+ page_id: IdRequest;
3851
+ type?: "page_id";
3852
+ } | {
3853
+ database_id: IdRequest;
3854
+ type?: "database_id";
3855
+ };
3856
+ type?: "link_to_page";
3857
+ object?: "block";
3648
3858
  } | {
3649
3859
  paragraph: {
3650
3860
  text: Array<RichTextItemRequest>;
@@ -3830,6 +4040,16 @@ declare type BlockObjectRequest = {
3830
4040
  table_of_contents: Record<string, never>;
3831
4041
  type?: "table_of_contents";
3832
4042
  object?: "block";
4043
+ } | {
4044
+ link_to_page: {
4045
+ page_id: IdRequest;
4046
+ type?: "page_id";
4047
+ } | {
4048
+ database_id: IdRequest;
4049
+ type?: "database_id";
4050
+ };
4051
+ type?: "link_to_page";
4052
+ object?: "block";
3833
4053
  } | {
3834
4054
  paragraph: {
3835
4055
  text: Array<RichTextItemRequest>;
@@ -3940,6 +4160,16 @@ declare type BlockObjectRequest = {
3940
4160
  table_of_contents: Record<string, never>;
3941
4161
  type?: "table_of_contents";
3942
4162
  object?: "block";
4163
+ } | {
4164
+ link_to_page: {
4165
+ page_id: IdRequest;
4166
+ type?: "page_id";
4167
+ } | {
4168
+ database_id: IdRequest;
4169
+ type?: "database_id";
4170
+ };
4171
+ type?: "link_to_page";
4172
+ object?: "block";
3943
4173
  } | {
3944
4174
  paragraph: {
3945
4175
  text: Array<RichTextItemRequest>;
@@ -4121,6 +4351,16 @@ declare type BlockObjectRequest = {
4121
4351
  table_of_contents: Record<string, never>;
4122
4352
  type?: "table_of_contents";
4123
4353
  object?: "block";
4354
+ } | {
4355
+ link_to_page: {
4356
+ page_id: IdRequest;
4357
+ type?: "page_id";
4358
+ } | {
4359
+ database_id: IdRequest;
4360
+ type?: "database_id";
4361
+ };
4362
+ type?: "link_to_page";
4363
+ object?: "block";
4124
4364
  } | {
4125
4365
  paragraph: {
4126
4366
  text: Array<RichTextItemRequest>;
@@ -4302,6 +4542,16 @@ declare type BlockObjectRequest = {
4302
4542
  table_of_contents: Record<string, never>;
4303
4543
  type?: "table_of_contents";
4304
4544
  object?: "block";
4545
+ } | {
4546
+ link_to_page: {
4547
+ page_id: IdRequest;
4548
+ type?: "page_id";
4549
+ } | {
4550
+ database_id: IdRequest;
4551
+ type?: "database_id";
4552
+ };
4553
+ type?: "link_to_page";
4554
+ object?: "block";
4305
4555
  } | {
4306
4556
  paragraph: {
4307
4557
  text: Array<RichTextItemRequest>;
@@ -4483,6 +4733,16 @@ declare type BlockObjectRequest = {
4483
4733
  table_of_contents: Record<string, never>;
4484
4734
  type?: "table_of_contents";
4485
4735
  object?: "block";
4736
+ } | {
4737
+ link_to_page: {
4738
+ page_id: IdRequest;
4739
+ type?: "page_id";
4740
+ } | {
4741
+ database_id: IdRequest;
4742
+ type?: "database_id";
4743
+ };
4744
+ type?: "link_to_page";
4745
+ object?: "block";
4486
4746
  } | {
4487
4747
  paragraph: {
4488
4748
  text: Array<RichTextItemRequest>;
@@ -4664,6 +4924,16 @@ declare type BlockObjectRequest = {
4664
4924
  table_of_contents: Record<string, never>;
4665
4925
  type?: "table_of_contents";
4666
4926
  object?: "block";
4927
+ } | {
4928
+ link_to_page: {
4929
+ page_id: IdRequest;
4930
+ type?: "page_id";
4931
+ } | {
4932
+ database_id: IdRequest;
4933
+ type?: "database_id";
4934
+ };
4935
+ type?: "link_to_page";
4936
+ object?: "block";
4667
4937
  } | {
4668
4938
  paragraph: {
4669
4939
  text: Array<RichTextItemRequest>;
@@ -4846,6 +5116,16 @@ declare type BlockObjectRequest = {
4846
5116
  table_of_contents: Record<string, never>;
4847
5117
  type?: "table_of_contents";
4848
5118
  object?: "block";
5119
+ } | {
5120
+ link_to_page: {
5121
+ page_id: IdRequest;
5122
+ type?: "page_id";
5123
+ } | {
5124
+ database_id: IdRequest;
5125
+ type?: "database_id";
5126
+ };
5127
+ type?: "link_to_page";
5128
+ object?: "block";
4849
5129
  } | {
4850
5130
  paragraph: {
4851
5131
  text: Array<RichTextItemRequest>;
@@ -5027,6 +5307,16 @@ declare type BlockObjectRequest = {
5027
5307
  table_of_contents: Record<string, never>;
5028
5308
  type?: "table_of_contents";
5029
5309
  object?: "block";
5310
+ } | {
5311
+ link_to_page: {
5312
+ page_id: IdRequest;
5313
+ type?: "page_id";
5314
+ } | {
5315
+ database_id: IdRequest;
5316
+ type?: "database_id";
5317
+ };
5318
+ type?: "link_to_page";
5319
+ object?: "block";
5030
5320
  } | {
5031
5321
  paragraph: {
5032
5322
  text: Array<RichTextItemRequest>;
@@ -5208,6 +5498,16 @@ declare type BlockObjectRequest = {
5208
5498
  table_of_contents: Record<string, never>;
5209
5499
  type?: "table_of_contents";
5210
5500
  object?: "block";
5501
+ } | {
5502
+ link_to_page: {
5503
+ page_id: IdRequest;
5504
+ type?: "page_id";
5505
+ } | {
5506
+ database_id: IdRequest;
5507
+ type?: "database_id";
5508
+ };
5509
+ type?: "link_to_page";
5510
+ object?: "block";
5211
5511
  } | {
5212
5512
  paragraph: {
5213
5513
  text: Array<RichTextItemRequest>;
@@ -5401,6 +5701,16 @@ declare type BlockObjectRequest = {
5401
5701
  table_of_contents: Record<string, never>;
5402
5702
  type?: "table_of_contents";
5403
5703
  object?: "block";
5704
+ } | {
5705
+ link_to_page: {
5706
+ page_id: IdRequest;
5707
+ type?: "page_id";
5708
+ } | {
5709
+ database_id: IdRequest;
5710
+ type?: "database_id";
5711
+ };
5712
+ type?: "link_to_page";
5713
+ object?: "block";
5404
5714
  } | {
5405
5715
  paragraph: {
5406
5716
  text: Array<RichTextItemRequest>;
@@ -5586,6 +5896,16 @@ declare type BlockObjectRequest = {
5586
5896
  table_of_contents: Record<string, never>;
5587
5897
  type?: "table_of_contents";
5588
5898
  object?: "block";
5899
+ } | {
5900
+ link_to_page: {
5901
+ page_id: IdRequest;
5902
+ type?: "page_id";
5903
+ } | {
5904
+ database_id: IdRequest;
5905
+ type?: "database_id";
5906
+ };
5907
+ type?: "link_to_page";
5908
+ object?: "block";
5589
5909
  } | {
5590
5910
  paragraph: {
5591
5911
  text: Array<RichTextItemRequest>;
@@ -5696,6 +6016,16 @@ declare type BlockObjectRequest = {
5696
6016
  table_of_contents: Record<string, never>;
5697
6017
  type?: "table_of_contents";
5698
6018
  object?: "block";
6019
+ } | {
6020
+ link_to_page: {
6021
+ page_id: IdRequest;
6022
+ type?: "page_id";
6023
+ } | {
6024
+ database_id: IdRequest;
6025
+ type?: "database_id";
6026
+ };
6027
+ type?: "link_to_page";
6028
+ object?: "block";
5699
6029
  } | {
5700
6030
  paragraph: {
5701
6031
  text: Array<RichTextItemRequest>;
@@ -5877,6 +6207,16 @@ declare type BlockObjectRequest = {
5877
6207
  table_of_contents: Record<string, never>;
5878
6208
  type?: "table_of_contents";
5879
6209
  object?: "block";
6210
+ } | {
6211
+ link_to_page: {
6212
+ page_id: IdRequest;
6213
+ type?: "page_id";
6214
+ } | {
6215
+ database_id: IdRequest;
6216
+ type?: "database_id";
6217
+ };
6218
+ type?: "link_to_page";
6219
+ object?: "block";
5880
6220
  } | {
5881
6221
  paragraph: {
5882
6222
  text: Array<RichTextItemRequest>;
@@ -6058,6 +6398,16 @@ declare type BlockObjectRequest = {
6058
6398
  table_of_contents: Record<string, never>;
6059
6399
  type?: "table_of_contents";
6060
6400
  object?: "block";
6401
+ } | {
6402
+ link_to_page: {
6403
+ page_id: IdRequest;
6404
+ type?: "page_id";
6405
+ } | {
6406
+ database_id: IdRequest;
6407
+ type?: "database_id";
6408
+ };
6409
+ type?: "link_to_page";
6410
+ object?: "block";
6061
6411
  } | {
6062
6412
  paragraph: {
6063
6413
  text: Array<RichTextItemRequest>;
@@ -6239,6 +6589,16 @@ declare type BlockObjectRequest = {
6239
6589
  table_of_contents: Record<string, never>;
6240
6590
  type?: "table_of_contents";
6241
6591
  object?: "block";
6592
+ } | {
6593
+ link_to_page: {
6594
+ page_id: IdRequest;
6595
+ type?: "page_id";
6596
+ } | {
6597
+ database_id: IdRequest;
6598
+ type?: "database_id";
6599
+ };
6600
+ type?: "link_to_page";
6601
+ object?: "block";
6242
6602
  } | {
6243
6603
  paragraph: {
6244
6604
  text: Array<RichTextItemRequest>;
@@ -6420,6 +6780,16 @@ declare type BlockObjectRequest = {
6420
6780
  table_of_contents: Record<string, never>;
6421
6781
  type?: "table_of_contents";
6422
6782
  object?: "block";
6783
+ } | {
6784
+ link_to_page: {
6785
+ page_id: IdRequest;
6786
+ type?: "page_id";
6787
+ } | {
6788
+ database_id: IdRequest;
6789
+ type?: "database_id";
6790
+ };
6791
+ type?: "link_to_page";
6792
+ object?: "block";
6423
6793
  } | {
6424
6794
  paragraph: {
6425
6795
  text: Array<RichTextItemRequest>;
@@ -6602,6 +6972,16 @@ declare type BlockObjectRequest = {
6602
6972
  table_of_contents: Record<string, never>;
6603
6973
  type?: "table_of_contents";
6604
6974
  object?: "block";
6975
+ } | {
6976
+ link_to_page: {
6977
+ page_id: IdRequest;
6978
+ type?: "page_id";
6979
+ } | {
6980
+ database_id: IdRequest;
6981
+ type?: "database_id";
6982
+ };
6983
+ type?: "link_to_page";
6984
+ object?: "block";
6605
6985
  } | {
6606
6986
  paragraph: {
6607
6987
  text: Array<RichTextItemRequest>;
@@ -6783,6 +7163,16 @@ declare type BlockObjectRequest = {
6783
7163
  table_of_contents: Record<string, never>;
6784
7164
  type?: "table_of_contents";
6785
7165
  object?: "block";
7166
+ } | {
7167
+ link_to_page: {
7168
+ page_id: IdRequest;
7169
+ type?: "page_id";
7170
+ } | {
7171
+ database_id: IdRequest;
7172
+ type?: "database_id";
7173
+ };
7174
+ type?: "link_to_page";
7175
+ object?: "block";
6786
7176
  } | {
6787
7177
  paragraph: {
6788
7178
  text: Array<RichTextItemRequest>;
@@ -6964,6 +7354,16 @@ declare type BlockObjectRequest = {
6964
7354
  table_of_contents: Record<string, never>;
6965
7355
  type?: "table_of_contents";
6966
7356
  object?: "block";
7357
+ } | {
7358
+ link_to_page: {
7359
+ page_id: IdRequest;
7360
+ type?: "page_id";
7361
+ } | {
7362
+ database_id: IdRequest;
7363
+ type?: "database_id";
7364
+ };
7365
+ type?: "link_to_page";
7366
+ object?: "block";
6967
7367
  } | {
6968
7368
  paragraph: {
6969
7369
  text: Array<RichTextItemRequest>;
@@ -7157,6 +7557,16 @@ declare type BlockObjectRequest = {
7157
7557
  table_of_contents: Record<string, never>;
7158
7558
  type?: "table_of_contents";
7159
7559
  object?: "block";
7560
+ } | {
7561
+ link_to_page: {
7562
+ page_id: IdRequest;
7563
+ type?: "page_id";
7564
+ } | {
7565
+ database_id: IdRequest;
7566
+ type?: "database_id";
7567
+ };
7568
+ type?: "link_to_page";
7569
+ object?: "block";
7160
7570
  } | {
7161
7571
  paragraph: {
7162
7572
  text: Array<RichTextItemRequest>;
@@ -7342,6 +7752,16 @@ declare type BlockObjectRequest = {
7342
7752
  table_of_contents: Record<string, never>;
7343
7753
  type?: "table_of_contents";
7344
7754
  object?: "block";
7755
+ } | {
7756
+ link_to_page: {
7757
+ page_id: IdRequest;
7758
+ type?: "page_id";
7759
+ } | {
7760
+ database_id: IdRequest;
7761
+ type?: "database_id";
7762
+ };
7763
+ type?: "link_to_page";
7764
+ object?: "block";
7345
7765
  } | {
7346
7766
  paragraph: {
7347
7767
  text: Array<RichTextItemRequest>;
@@ -7452,6 +7872,16 @@ declare type BlockObjectRequest = {
7452
7872
  table_of_contents: Record<string, never>;
7453
7873
  type?: "table_of_contents";
7454
7874
  object?: "block";
7875
+ } | {
7876
+ link_to_page: {
7877
+ page_id: IdRequest;
7878
+ type?: "page_id";
7879
+ } | {
7880
+ database_id: IdRequest;
7881
+ type?: "database_id";
7882
+ };
7883
+ type?: "link_to_page";
7884
+ object?: "block";
7455
7885
  } | {
7456
7886
  paragraph: {
7457
7887
  text: Array<RichTextItemRequest>;
@@ -7633,6 +8063,16 @@ declare type BlockObjectRequest = {
7633
8063
  table_of_contents: Record<string, never>;
7634
8064
  type?: "table_of_contents";
7635
8065
  object?: "block";
8066
+ } | {
8067
+ link_to_page: {
8068
+ page_id: IdRequest;
8069
+ type?: "page_id";
8070
+ } | {
8071
+ database_id: IdRequest;
8072
+ type?: "database_id";
8073
+ };
8074
+ type?: "link_to_page";
8075
+ object?: "block";
7636
8076
  } | {
7637
8077
  paragraph: {
7638
8078
  text: Array<RichTextItemRequest>;
@@ -7814,6 +8254,16 @@ declare type BlockObjectRequest = {
7814
8254
  table_of_contents: Record<string, never>;
7815
8255
  type?: "table_of_contents";
7816
8256
  object?: "block";
8257
+ } | {
8258
+ link_to_page: {
8259
+ page_id: IdRequest;
8260
+ type?: "page_id";
8261
+ } | {
8262
+ database_id: IdRequest;
8263
+ type?: "database_id";
8264
+ };
8265
+ type?: "link_to_page";
8266
+ object?: "block";
7817
8267
  } | {
7818
8268
  paragraph: {
7819
8269
  text: Array<RichTextItemRequest>;
@@ -7995,6 +8445,16 @@ declare type BlockObjectRequest = {
7995
8445
  table_of_contents: Record<string, never>;
7996
8446
  type?: "table_of_contents";
7997
8447
  object?: "block";
8448
+ } | {
8449
+ link_to_page: {
8450
+ page_id: IdRequest;
8451
+ type?: "page_id";
8452
+ } | {
8453
+ database_id: IdRequest;
8454
+ type?: "database_id";
8455
+ };
8456
+ type?: "link_to_page";
8457
+ object?: "block";
7998
8458
  } | {
7999
8459
  paragraph: {
8000
8460
  text: Array<RichTextItemRequest>;
@@ -8176,6 +8636,16 @@ declare type BlockObjectRequest = {
8176
8636
  table_of_contents: Record<string, never>;
8177
8637
  type?: "table_of_contents";
8178
8638
  object?: "block";
8639
+ } | {
8640
+ link_to_page: {
8641
+ page_id: IdRequest;
8642
+ type?: "page_id";
8643
+ } | {
8644
+ database_id: IdRequest;
8645
+ type?: "database_id";
8646
+ };
8647
+ type?: "link_to_page";
8648
+ object?: "block";
8179
8649
  } | {
8180
8650
  paragraph: {
8181
8651
  text: Array<RichTextItemRequest>;
@@ -8358,6 +8828,16 @@ declare type BlockObjectRequest = {
8358
8828
  table_of_contents: Record<string, never>;
8359
8829
  type?: "table_of_contents";
8360
8830
  object?: "block";
8831
+ } | {
8832
+ link_to_page: {
8833
+ page_id: IdRequest;
8834
+ type?: "page_id";
8835
+ } | {
8836
+ database_id: IdRequest;
8837
+ type?: "database_id";
8838
+ };
8839
+ type?: "link_to_page";
8840
+ object?: "block";
8361
8841
  } | {
8362
8842
  paragraph: {
8363
8843
  text: Array<RichTextItemRequest>;
@@ -8539,6 +9019,16 @@ declare type BlockObjectRequest = {
8539
9019
  table_of_contents: Record<string, never>;
8540
9020
  type?: "table_of_contents";
8541
9021
  object?: "block";
9022
+ } | {
9023
+ link_to_page: {
9024
+ page_id: IdRequest;
9025
+ type?: "page_id";
9026
+ } | {
9027
+ database_id: IdRequest;
9028
+ type?: "database_id";
9029
+ };
9030
+ type?: "link_to_page";
9031
+ object?: "block";
8542
9032
  } | {
8543
9033
  paragraph: {
8544
9034
  text: Array<RichTextItemRequest>;
@@ -8720,6 +9210,16 @@ declare type BlockObjectRequest = {
8720
9210
  table_of_contents: Record<string, never>;
8721
9211
  type?: "table_of_contents";
8722
9212
  object?: "block";
9213
+ } | {
9214
+ link_to_page: {
9215
+ page_id: IdRequest;
9216
+ type?: "page_id";
9217
+ } | {
9218
+ database_id: IdRequest;
9219
+ type?: "database_id";
9220
+ };
9221
+ type?: "link_to_page";
9222
+ object?: "block";
8723
9223
  } | {
8724
9224
  paragraph: {
8725
9225
  text: Array<RichTextItemRequest>;
@@ -8913,6 +9413,16 @@ declare type BlockObjectRequest = {
8913
9413
  table_of_contents: Record<string, never>;
8914
9414
  type?: "table_of_contents";
8915
9415
  object?: "block";
9416
+ } | {
9417
+ link_to_page: {
9418
+ page_id: IdRequest;
9419
+ type?: "page_id";
9420
+ } | {
9421
+ database_id: IdRequest;
9422
+ type?: "database_id";
9423
+ };
9424
+ type?: "link_to_page";
9425
+ object?: "block";
8916
9426
  } | {
8917
9427
  paragraph: {
8918
9428
  text: Array<RichTextItemRequest>;
@@ -9098,6 +9608,16 @@ declare type BlockObjectRequest = {
9098
9608
  table_of_contents: Record<string, never>;
9099
9609
  type?: "table_of_contents";
9100
9610
  object?: "block";
9611
+ } | {
9612
+ link_to_page: {
9613
+ page_id: IdRequest;
9614
+ type?: "page_id";
9615
+ } | {
9616
+ database_id: IdRequest;
9617
+ type?: "database_id";
9618
+ };
9619
+ type?: "link_to_page";
9620
+ object?: "block";
9101
9621
  } | {
9102
9622
  paragraph: {
9103
9623
  text: Array<RichTextItemRequest>;
@@ -9208,6 +9728,16 @@ declare type BlockObjectRequest = {
9208
9728
  table_of_contents: Record<string, never>;
9209
9729
  type?: "table_of_contents";
9210
9730
  object?: "block";
9731
+ } | {
9732
+ link_to_page: {
9733
+ page_id: IdRequest;
9734
+ type?: "page_id";
9735
+ } | {
9736
+ database_id: IdRequest;
9737
+ type?: "database_id";
9738
+ };
9739
+ type?: "link_to_page";
9740
+ object?: "block";
9211
9741
  } | {
9212
9742
  paragraph: {
9213
9743
  text: Array<RichTextItemRequest>;
@@ -9389,6 +9919,16 @@ declare type BlockObjectRequest = {
9389
9919
  table_of_contents: Record<string, never>;
9390
9920
  type?: "table_of_contents";
9391
9921
  object?: "block";
9922
+ } | {
9923
+ link_to_page: {
9924
+ page_id: IdRequest;
9925
+ type?: "page_id";
9926
+ } | {
9927
+ database_id: IdRequest;
9928
+ type?: "database_id";
9929
+ };
9930
+ type?: "link_to_page";
9931
+ object?: "block";
9392
9932
  } | {
9393
9933
  paragraph: {
9394
9934
  text: Array<RichTextItemRequest>;
@@ -9570,6 +10110,16 @@ declare type BlockObjectRequest = {
9570
10110
  table_of_contents: Record<string, never>;
9571
10111
  type?: "table_of_contents";
9572
10112
  object?: "block";
10113
+ } | {
10114
+ link_to_page: {
10115
+ page_id: IdRequest;
10116
+ type?: "page_id";
10117
+ } | {
10118
+ database_id: IdRequest;
10119
+ type?: "database_id";
10120
+ };
10121
+ type?: "link_to_page";
10122
+ object?: "block";
9573
10123
  } | {
9574
10124
  paragraph: {
9575
10125
  text: Array<RichTextItemRequest>;
@@ -9751,6 +10301,16 @@ declare type BlockObjectRequest = {
9751
10301
  table_of_contents: Record<string, never>;
9752
10302
  type?: "table_of_contents";
9753
10303
  object?: "block";
10304
+ } | {
10305
+ link_to_page: {
10306
+ page_id: IdRequest;
10307
+ type?: "page_id";
10308
+ } | {
10309
+ database_id: IdRequest;
10310
+ type?: "database_id";
10311
+ };
10312
+ type?: "link_to_page";
10313
+ object?: "block";
9754
10314
  } | {
9755
10315
  paragraph: {
9756
10316
  text: Array<RichTextItemRequest>;
@@ -9932,6 +10492,16 @@ declare type BlockObjectRequest = {
9932
10492
  table_of_contents: Record<string, never>;
9933
10493
  type?: "table_of_contents";
9934
10494
  object?: "block";
10495
+ } | {
10496
+ link_to_page: {
10497
+ page_id: IdRequest;
10498
+ type?: "page_id";
10499
+ } | {
10500
+ database_id: IdRequest;
10501
+ type?: "database_id";
10502
+ };
10503
+ type?: "link_to_page";
10504
+ object?: "block";
9935
10505
  } | {
9936
10506
  paragraph: {
9937
10507
  text: Array<RichTextItemRequest>;
@@ -10114,6 +10684,16 @@ declare type BlockObjectRequest = {
10114
10684
  table_of_contents: Record<string, never>;
10115
10685
  type?: "table_of_contents";
10116
10686
  object?: "block";
10687
+ } | {
10688
+ link_to_page: {
10689
+ page_id: IdRequest;
10690
+ type?: "page_id";
10691
+ } | {
10692
+ database_id: IdRequest;
10693
+ type?: "database_id";
10694
+ };
10695
+ type?: "link_to_page";
10696
+ object?: "block";
10117
10697
  } | {
10118
10698
  paragraph: {
10119
10699
  text: Array<RichTextItemRequest>;
@@ -10295,6 +10875,16 @@ declare type BlockObjectRequest = {
10295
10875
  table_of_contents: Record<string, never>;
10296
10876
  type?: "table_of_contents";
10297
10877
  object?: "block";
10878
+ } | {
10879
+ link_to_page: {
10880
+ page_id: IdRequest;
10881
+ type?: "page_id";
10882
+ } | {
10883
+ database_id: IdRequest;
10884
+ type?: "database_id";
10885
+ };
10886
+ type?: "link_to_page";
10887
+ object?: "block";
10298
10888
  } | {
10299
10889
  paragraph: {
10300
10890
  text: Array<RichTextItemRequest>;
@@ -10476,6 +11066,16 @@ declare type BlockObjectRequest = {
10476
11066
  table_of_contents: Record<string, never>;
10477
11067
  type?: "table_of_contents";
10478
11068
  object?: "block";
11069
+ } | {
11070
+ link_to_page: {
11071
+ page_id: IdRequest;
11072
+ type?: "page_id";
11073
+ } | {
11074
+ database_id: IdRequest;
11075
+ type?: "database_id";
11076
+ };
11077
+ type?: "link_to_page";
11078
+ object?: "block";
10479
11079
  } | {
10480
11080
  paragraph: {
10481
11081
  text: Array<RichTextItemRequest>;
@@ -10669,6 +11269,16 @@ declare type BlockObjectRequest = {
10669
11269
  table_of_contents: Record<string, never>;
10670
11270
  type?: "table_of_contents";
10671
11271
  object?: "block";
11272
+ } | {
11273
+ link_to_page: {
11274
+ page_id: IdRequest;
11275
+ type?: "page_id";
11276
+ } | {
11277
+ database_id: IdRequest;
11278
+ type?: "database_id";
11279
+ };
11280
+ type?: "link_to_page";
11281
+ object?: "block";
10672
11282
  } | {
10673
11283
  paragraph: {
10674
11284
  text: Array<RichTextItemRequest>;
@@ -10854,6 +11464,16 @@ declare type BlockObjectRequest = {
10854
11464
  table_of_contents: Record<string, never>;
10855
11465
  type?: "table_of_contents";
10856
11466
  object?: "block";
11467
+ } | {
11468
+ link_to_page: {
11469
+ page_id: IdRequest;
11470
+ type?: "page_id";
11471
+ } | {
11472
+ database_id: IdRequest;
11473
+ type?: "database_id";
11474
+ };
11475
+ type?: "link_to_page";
11476
+ object?: "block";
10857
11477
  } | {
10858
11478
  paragraph: {
10859
11479
  text: Array<RichTextItemRequest>;
@@ -10964,6 +11584,16 @@ declare type BlockObjectRequest = {
10964
11584
  table_of_contents: Record<string, never>;
10965
11585
  type?: "table_of_contents";
10966
11586
  object?: "block";
11587
+ } | {
11588
+ link_to_page: {
11589
+ page_id: IdRequest;
11590
+ type?: "page_id";
11591
+ } | {
11592
+ database_id: IdRequest;
11593
+ type?: "database_id";
11594
+ };
11595
+ type?: "link_to_page";
11596
+ object?: "block";
10967
11597
  } | {
10968
11598
  paragraph: {
10969
11599
  text: Array<RichTextItemRequest>;
@@ -11145,6 +11775,16 @@ declare type BlockObjectRequest = {
11145
11775
  table_of_contents: Record<string, never>;
11146
11776
  type?: "table_of_contents";
11147
11777
  object?: "block";
11778
+ } | {
11779
+ link_to_page: {
11780
+ page_id: IdRequest;
11781
+ type?: "page_id";
11782
+ } | {
11783
+ database_id: IdRequest;
11784
+ type?: "database_id";
11785
+ };
11786
+ type?: "link_to_page";
11787
+ object?: "block";
11148
11788
  } | {
11149
11789
  paragraph: {
11150
11790
  text: Array<RichTextItemRequest>;
@@ -11326,6 +11966,16 @@ declare type BlockObjectRequest = {
11326
11966
  table_of_contents: Record<string, never>;
11327
11967
  type?: "table_of_contents";
11328
11968
  object?: "block";
11969
+ } | {
11970
+ link_to_page: {
11971
+ page_id: IdRequest;
11972
+ type?: "page_id";
11973
+ } | {
11974
+ database_id: IdRequest;
11975
+ type?: "database_id";
11976
+ };
11977
+ type?: "link_to_page";
11978
+ object?: "block";
11329
11979
  } | {
11330
11980
  paragraph: {
11331
11981
  text: Array<RichTextItemRequest>;
@@ -11507,6 +12157,16 @@ declare type BlockObjectRequest = {
11507
12157
  table_of_contents: Record<string, never>;
11508
12158
  type?: "table_of_contents";
11509
12159
  object?: "block";
12160
+ } | {
12161
+ link_to_page: {
12162
+ page_id: IdRequest;
12163
+ type?: "page_id";
12164
+ } | {
12165
+ database_id: IdRequest;
12166
+ type?: "database_id";
12167
+ };
12168
+ type?: "link_to_page";
12169
+ object?: "block";
11510
12170
  } | {
11511
12171
  paragraph: {
11512
12172
  text: Array<RichTextItemRequest>;
@@ -11688,6 +12348,16 @@ declare type BlockObjectRequest = {
11688
12348
  table_of_contents: Record<string, never>;
11689
12349
  type?: "table_of_contents";
11690
12350
  object?: "block";
12351
+ } | {
12352
+ link_to_page: {
12353
+ page_id: IdRequest;
12354
+ type?: "page_id";
12355
+ } | {
12356
+ database_id: IdRequest;
12357
+ type?: "database_id";
12358
+ };
12359
+ type?: "link_to_page";
12360
+ object?: "block";
11691
12361
  } | {
11692
12362
  paragraph: {
11693
12363
  text: Array<RichTextItemRequest>;
@@ -11870,6 +12540,16 @@ declare type BlockObjectRequest = {
11870
12540
  table_of_contents: Record<string, never>;
11871
12541
  type?: "table_of_contents";
11872
12542
  object?: "block";
12543
+ } | {
12544
+ link_to_page: {
12545
+ page_id: IdRequest;
12546
+ type?: "page_id";
12547
+ } | {
12548
+ database_id: IdRequest;
12549
+ type?: "database_id";
12550
+ };
12551
+ type?: "link_to_page";
12552
+ object?: "block";
11873
12553
  } | {
11874
12554
  paragraph: {
11875
12555
  text: Array<RichTextItemRequest>;
@@ -12051,6 +12731,16 @@ declare type BlockObjectRequest = {
12051
12731
  table_of_contents: Record<string, never>;
12052
12732
  type?: "table_of_contents";
12053
12733
  object?: "block";
12734
+ } | {
12735
+ link_to_page: {
12736
+ page_id: IdRequest;
12737
+ type?: "page_id";
12738
+ } | {
12739
+ database_id: IdRequest;
12740
+ type?: "database_id";
12741
+ };
12742
+ type?: "link_to_page";
12743
+ object?: "block";
12054
12744
  } | {
12055
12745
  paragraph: {
12056
12746
  text: Array<RichTextItemRequest>;
@@ -12232,6 +12922,16 @@ declare type BlockObjectRequest = {
12232
12922
  table_of_contents: Record<string, never>;
12233
12923
  type?: "table_of_contents";
12234
12924
  object?: "block";
12925
+ } | {
12926
+ link_to_page: {
12927
+ page_id: IdRequest;
12928
+ type?: "page_id";
12929
+ } | {
12930
+ database_id: IdRequest;
12931
+ type?: "database_id";
12932
+ };
12933
+ type?: "link_to_page";
12934
+ object?: "block";
12235
12935
  } | {
12236
12936
  paragraph: {
12237
12937
  text: Array<RichTextItemRequest>;
@@ -12425,6 +13125,16 @@ declare type BlockObjectRequest = {
12425
13125
  table_of_contents: Record<string, never>;
12426
13126
  type?: "table_of_contents";
12427
13127
  object?: "block";
13128
+ } | {
13129
+ link_to_page: {
13130
+ page_id: IdRequest;
13131
+ type?: "page_id";
13132
+ } | {
13133
+ database_id: IdRequest;
13134
+ type?: "database_id";
13135
+ };
13136
+ type?: "link_to_page";
13137
+ object?: "block";
12428
13138
  } | {
12429
13139
  paragraph: {
12430
13140
  text: Array<RichTextItemRequest>;
@@ -12611,6 +13321,16 @@ declare type BlockObjectRequest = {
12611
13321
  table_of_contents: Record<string, never>;
12612
13322
  type?: "table_of_contents";
12613
13323
  object?: "block";
13324
+ } | {
13325
+ link_to_page: {
13326
+ page_id: IdRequest;
13327
+ type?: "page_id";
13328
+ } | {
13329
+ database_id: IdRequest;
13330
+ type?: "database_id";
13331
+ };
13332
+ type?: "link_to_page";
13333
+ object?: "block";
12614
13334
  } | {
12615
13335
  paragraph: {
12616
13336
  text: Array<RichTextItemRequest>;
@@ -12721,6 +13441,16 @@ declare type BlockObjectRequest = {
12721
13441
  table_of_contents: Record<string, never>;
12722
13442
  type?: "table_of_contents";
12723
13443
  object?: "block";
13444
+ } | {
13445
+ link_to_page: {
13446
+ page_id: IdRequest;
13447
+ type?: "page_id";
13448
+ } | {
13449
+ database_id: IdRequest;
13450
+ type?: "database_id";
13451
+ };
13452
+ type?: "link_to_page";
13453
+ object?: "block";
12724
13454
  } | {
12725
13455
  paragraph: {
12726
13456
  text: Array<RichTextItemRequest>;
@@ -12902,6 +13632,16 @@ declare type BlockObjectRequest = {
12902
13632
  table_of_contents: Record<string, never>;
12903
13633
  type?: "table_of_contents";
12904
13634
  object?: "block";
13635
+ } | {
13636
+ link_to_page: {
13637
+ page_id: IdRequest;
13638
+ type?: "page_id";
13639
+ } | {
13640
+ database_id: IdRequest;
13641
+ type?: "database_id";
13642
+ };
13643
+ type?: "link_to_page";
13644
+ object?: "block";
12905
13645
  } | {
12906
13646
  paragraph: {
12907
13647
  text: Array<RichTextItemRequest>;
@@ -13083,6 +13823,16 @@ declare type BlockObjectRequest = {
13083
13823
  table_of_contents: Record<string, never>;
13084
13824
  type?: "table_of_contents";
13085
13825
  object?: "block";
13826
+ } | {
13827
+ link_to_page: {
13828
+ page_id: IdRequest;
13829
+ type?: "page_id";
13830
+ } | {
13831
+ database_id: IdRequest;
13832
+ type?: "database_id";
13833
+ };
13834
+ type?: "link_to_page";
13835
+ object?: "block";
13086
13836
  } | {
13087
13837
  paragraph: {
13088
13838
  text: Array<RichTextItemRequest>;
@@ -13264,6 +14014,16 @@ declare type BlockObjectRequest = {
13264
14014
  table_of_contents: Record<string, never>;
13265
14015
  type?: "table_of_contents";
13266
14016
  object?: "block";
14017
+ } | {
14018
+ link_to_page: {
14019
+ page_id: IdRequest;
14020
+ type?: "page_id";
14021
+ } | {
14022
+ database_id: IdRequest;
14023
+ type?: "database_id";
14024
+ };
14025
+ type?: "link_to_page";
14026
+ object?: "block";
13267
14027
  } | {
13268
14028
  paragraph: {
13269
14029
  text: Array<RichTextItemRequest>;
@@ -13445,6 +14205,16 @@ declare type BlockObjectRequest = {
13445
14205
  table_of_contents: Record<string, never>;
13446
14206
  type?: "table_of_contents";
13447
14207
  object?: "block";
14208
+ } | {
14209
+ link_to_page: {
14210
+ page_id: IdRequest;
14211
+ type?: "page_id";
14212
+ } | {
14213
+ database_id: IdRequest;
14214
+ type?: "database_id";
14215
+ };
14216
+ type?: "link_to_page";
14217
+ object?: "block";
13448
14218
  } | {
13449
14219
  paragraph: {
13450
14220
  text: Array<RichTextItemRequest>;
@@ -13627,6 +14397,16 @@ declare type BlockObjectRequest = {
13627
14397
  table_of_contents: Record<string, never>;
13628
14398
  type?: "table_of_contents";
13629
14399
  object?: "block";
14400
+ } | {
14401
+ link_to_page: {
14402
+ page_id: IdRequest;
14403
+ type?: "page_id";
14404
+ } | {
14405
+ database_id: IdRequest;
14406
+ type?: "database_id";
14407
+ };
14408
+ type?: "link_to_page";
14409
+ object?: "block";
13630
14410
  } | {
13631
14411
  paragraph: {
13632
14412
  text: Array<RichTextItemRequest>;
@@ -13808,6 +14588,16 @@ declare type BlockObjectRequest = {
13808
14588
  table_of_contents: Record<string, never>;
13809
14589
  type?: "table_of_contents";
13810
14590
  object?: "block";
14591
+ } | {
14592
+ link_to_page: {
14593
+ page_id: IdRequest;
14594
+ type?: "page_id";
14595
+ } | {
14596
+ database_id: IdRequest;
14597
+ type?: "database_id";
14598
+ };
14599
+ type?: "link_to_page";
14600
+ object?: "block";
13811
14601
  } | {
13812
14602
  paragraph: {
13813
14603
  text: Array<RichTextItemRequest>;
@@ -13989,6 +14779,16 @@ declare type BlockObjectRequest = {
13989
14779
  table_of_contents: Record<string, never>;
13990
14780
  type?: "table_of_contents";
13991
14781
  object?: "block";
14782
+ } | {
14783
+ link_to_page: {
14784
+ page_id: IdRequest;
14785
+ type?: "page_id";
14786
+ } | {
14787
+ database_id: IdRequest;
14788
+ type?: "database_id";
14789
+ };
14790
+ type?: "link_to_page";
14791
+ object?: "block";
13992
14792
  } | {
13993
14793
  paragraph: {
13994
14794
  text: Array<RichTextItemRequest>;
@@ -14182,6 +14982,16 @@ declare type BlockObjectRequest = {
14182
14982
  table_of_contents: Record<string, never>;
14183
14983
  type?: "table_of_contents";
14184
14984
  object?: "block";
14985
+ } | {
14986
+ link_to_page: {
14987
+ page_id: IdRequest;
14988
+ type?: "page_id";
14989
+ } | {
14990
+ database_id: IdRequest;
14991
+ type?: "database_id";
14992
+ };
14993
+ type?: "link_to_page";
14994
+ object?: "block";
14185
14995
  } | {
14186
14996
  paragraph: {
14187
14997
  text: Array<RichTextItemRequest>;
@@ -14367,6 +15177,16 @@ declare type BlockObjectRequest = {
14367
15177
  table_of_contents: Record<string, never>;
14368
15178
  type?: "table_of_contents";
14369
15179
  object?: "block";
15180
+ } | {
15181
+ link_to_page: {
15182
+ page_id: IdRequest;
15183
+ type?: "page_id";
15184
+ } | {
15185
+ database_id: IdRequest;
15186
+ type?: "database_id";
15187
+ };
15188
+ type?: "link_to_page";
15189
+ object?: "block";
14370
15190
  } | {
14371
15191
  paragraph: {
14372
15192
  text: Array<RichTextItemRequest>;
@@ -14477,6 +15297,16 @@ declare type BlockObjectRequest = {
14477
15297
  table_of_contents: Record<string, never>;
14478
15298
  type?: "table_of_contents";
14479
15299
  object?: "block";
15300
+ } | {
15301
+ link_to_page: {
15302
+ page_id: IdRequest;
15303
+ type?: "page_id";
15304
+ } | {
15305
+ database_id: IdRequest;
15306
+ type?: "database_id";
15307
+ };
15308
+ type?: "link_to_page";
15309
+ object?: "block";
14480
15310
  } | {
14481
15311
  paragraph: {
14482
15312
  text: Array<RichTextItemRequest>;
@@ -14658,6 +15488,16 @@ declare type BlockObjectRequest = {
14658
15488
  table_of_contents: Record<string, never>;
14659
15489
  type?: "table_of_contents";
14660
15490
  object?: "block";
15491
+ } | {
15492
+ link_to_page: {
15493
+ page_id: IdRequest;
15494
+ type?: "page_id";
15495
+ } | {
15496
+ database_id: IdRequest;
15497
+ type?: "database_id";
15498
+ };
15499
+ type?: "link_to_page";
15500
+ object?: "block";
14661
15501
  } | {
14662
15502
  paragraph: {
14663
15503
  text: Array<RichTextItemRequest>;
@@ -14839,6 +15679,16 @@ declare type BlockObjectRequest = {
14839
15679
  table_of_contents: Record<string, never>;
14840
15680
  type?: "table_of_contents";
14841
15681
  object?: "block";
15682
+ } | {
15683
+ link_to_page: {
15684
+ page_id: IdRequest;
15685
+ type?: "page_id";
15686
+ } | {
15687
+ database_id: IdRequest;
15688
+ type?: "database_id";
15689
+ };
15690
+ type?: "link_to_page";
15691
+ object?: "block";
14842
15692
  } | {
14843
15693
  paragraph: {
14844
15694
  text: Array<RichTextItemRequest>;
@@ -15020,6 +15870,16 @@ declare type BlockObjectRequest = {
15020
15870
  table_of_contents: Record<string, never>;
15021
15871
  type?: "table_of_contents";
15022
15872
  object?: "block";
15873
+ } | {
15874
+ link_to_page: {
15875
+ page_id: IdRequest;
15876
+ type?: "page_id";
15877
+ } | {
15878
+ database_id: IdRequest;
15879
+ type?: "database_id";
15880
+ };
15881
+ type?: "link_to_page";
15882
+ object?: "block";
15023
15883
  } | {
15024
15884
  paragraph: {
15025
15885
  text: Array<RichTextItemRequest>;
@@ -15201,6 +16061,16 @@ declare type BlockObjectRequest = {
15201
16061
  table_of_contents: Record<string, never>;
15202
16062
  type?: "table_of_contents";
15203
16063
  object?: "block";
16064
+ } | {
16065
+ link_to_page: {
16066
+ page_id: IdRequest;
16067
+ type?: "page_id";
16068
+ } | {
16069
+ database_id: IdRequest;
16070
+ type?: "database_id";
16071
+ };
16072
+ type?: "link_to_page";
16073
+ object?: "block";
15204
16074
  } | {
15205
16075
  paragraph: {
15206
16076
  text: Array<RichTextItemRequest>;
@@ -15383,6 +16253,16 @@ declare type BlockObjectRequest = {
15383
16253
  table_of_contents: Record<string, never>;
15384
16254
  type?: "table_of_contents";
15385
16255
  object?: "block";
16256
+ } | {
16257
+ link_to_page: {
16258
+ page_id: IdRequest;
16259
+ type?: "page_id";
16260
+ } | {
16261
+ database_id: IdRequest;
16262
+ type?: "database_id";
16263
+ };
16264
+ type?: "link_to_page";
16265
+ object?: "block";
15386
16266
  } | {
15387
16267
  paragraph: {
15388
16268
  text: Array<RichTextItemRequest>;
@@ -15564,6 +16444,16 @@ declare type BlockObjectRequest = {
15564
16444
  table_of_contents: Record<string, never>;
15565
16445
  type?: "table_of_contents";
15566
16446
  object?: "block";
16447
+ } | {
16448
+ link_to_page: {
16449
+ page_id: IdRequest;
16450
+ type?: "page_id";
16451
+ } | {
16452
+ database_id: IdRequest;
16453
+ type?: "database_id";
16454
+ };
16455
+ type?: "link_to_page";
16456
+ object?: "block";
15567
16457
  } | {
15568
16458
  paragraph: {
15569
16459
  text: Array<RichTextItemRequest>;
@@ -15745,6 +16635,16 @@ declare type BlockObjectRequest = {
15745
16635
  table_of_contents: Record<string, never>;
15746
16636
  type?: "table_of_contents";
15747
16637
  object?: "block";
16638
+ } | {
16639
+ link_to_page: {
16640
+ page_id: IdRequest;
16641
+ type?: "page_id";
16642
+ } | {
16643
+ database_id: IdRequest;
16644
+ type?: "database_id";
16645
+ };
16646
+ type?: "link_to_page";
16647
+ object?: "block";
15748
16648
  } | {
15749
16649
  paragraph: {
15750
16650
  text: Array<RichTextItemRequest>;
@@ -15938,6 +16838,16 @@ declare type BlockObjectRequest = {
15938
16838
  table_of_contents: Record<string, never>;
15939
16839
  type?: "table_of_contents";
15940
16840
  object?: "block";
16841
+ } | {
16842
+ link_to_page: {
16843
+ page_id: IdRequest;
16844
+ type?: "page_id";
16845
+ } | {
16846
+ database_id: IdRequest;
16847
+ type?: "database_id";
16848
+ };
16849
+ type?: "link_to_page";
16850
+ object?: "block";
15941
16851
  } | {
15942
16852
  paragraph: {
15943
16853
  text: Array<RichTextItemRequest>;
@@ -16123,6 +17033,16 @@ declare type BlockObjectRequest = {
16123
17033
  table_of_contents: Record<string, never>;
16124
17034
  type?: "table_of_contents";
16125
17035
  object?: "block";
17036
+ } | {
17037
+ link_to_page: {
17038
+ page_id: IdRequest;
17039
+ type?: "page_id";
17040
+ } | {
17041
+ database_id: IdRequest;
17042
+ type?: "database_id";
17043
+ };
17044
+ type?: "link_to_page";
17045
+ object?: "block";
16126
17046
  } | {
16127
17047
  paragraph: {
16128
17048
  text: Array<RichTextItemRequest>;
@@ -16233,6 +17153,16 @@ declare type BlockObjectRequest = {
16233
17153
  table_of_contents: Record<string, never>;
16234
17154
  type?: "table_of_contents";
16235
17155
  object?: "block";
17156
+ } | {
17157
+ link_to_page: {
17158
+ page_id: IdRequest;
17159
+ type?: "page_id";
17160
+ } | {
17161
+ database_id: IdRequest;
17162
+ type?: "database_id";
17163
+ };
17164
+ type?: "link_to_page";
17165
+ object?: "block";
16236
17166
  } | {
16237
17167
  paragraph: {
16238
17168
  text: Array<RichTextItemRequest>;
@@ -16414,6 +17344,16 @@ declare type BlockObjectRequest = {
16414
17344
  table_of_contents: Record<string, never>;
16415
17345
  type?: "table_of_contents";
16416
17346
  object?: "block";
17347
+ } | {
17348
+ link_to_page: {
17349
+ page_id: IdRequest;
17350
+ type?: "page_id";
17351
+ } | {
17352
+ database_id: IdRequest;
17353
+ type?: "database_id";
17354
+ };
17355
+ type?: "link_to_page";
17356
+ object?: "block";
16417
17357
  } | {
16418
17358
  paragraph: {
16419
17359
  text: Array<RichTextItemRequest>;
@@ -16595,6 +17535,16 @@ declare type BlockObjectRequest = {
16595
17535
  table_of_contents: Record<string, never>;
16596
17536
  type?: "table_of_contents";
16597
17537
  object?: "block";
17538
+ } | {
17539
+ link_to_page: {
17540
+ page_id: IdRequest;
17541
+ type?: "page_id";
17542
+ } | {
17543
+ database_id: IdRequest;
17544
+ type?: "database_id";
17545
+ };
17546
+ type?: "link_to_page";
17547
+ object?: "block";
16598
17548
  } | {
16599
17549
  paragraph: {
16600
17550
  text: Array<RichTextItemRequest>;
@@ -16776,6 +17726,16 @@ declare type BlockObjectRequest = {
16776
17726
  table_of_contents: Record<string, never>;
16777
17727
  type?: "table_of_contents";
16778
17728
  object?: "block";
17729
+ } | {
17730
+ link_to_page: {
17731
+ page_id: IdRequest;
17732
+ type?: "page_id";
17733
+ } | {
17734
+ database_id: IdRequest;
17735
+ type?: "database_id";
17736
+ };
17737
+ type?: "link_to_page";
17738
+ object?: "block";
16779
17739
  } | {
16780
17740
  paragraph: {
16781
17741
  text: Array<RichTextItemRequest>;
@@ -16957,6 +17917,16 @@ declare type BlockObjectRequest = {
16957
17917
  table_of_contents: Record<string, never>;
16958
17918
  type?: "table_of_contents";
16959
17919
  object?: "block";
17920
+ } | {
17921
+ link_to_page: {
17922
+ page_id: IdRequest;
17923
+ type?: "page_id";
17924
+ } | {
17925
+ database_id: IdRequest;
17926
+ type?: "database_id";
17927
+ };
17928
+ type?: "link_to_page";
17929
+ object?: "block";
16960
17930
  } | {
16961
17931
  paragraph: {
16962
17932
  text: Array<RichTextItemRequest>;
@@ -17139,6 +18109,16 @@ declare type BlockObjectRequest = {
17139
18109
  table_of_contents: Record<string, never>;
17140
18110
  type?: "table_of_contents";
17141
18111
  object?: "block";
18112
+ } | {
18113
+ link_to_page: {
18114
+ page_id: IdRequest;
18115
+ type?: "page_id";
18116
+ } | {
18117
+ database_id: IdRequest;
18118
+ type?: "database_id";
18119
+ };
18120
+ type?: "link_to_page";
18121
+ object?: "block";
17142
18122
  } | {
17143
18123
  paragraph: {
17144
18124
  text: Array<RichTextItemRequest>;
@@ -17320,6 +18300,16 @@ declare type BlockObjectRequest = {
17320
18300
  table_of_contents: Record<string, never>;
17321
18301
  type?: "table_of_contents";
17322
18302
  object?: "block";
18303
+ } | {
18304
+ link_to_page: {
18305
+ page_id: IdRequest;
18306
+ type?: "page_id";
18307
+ } | {
18308
+ database_id: IdRequest;
18309
+ type?: "database_id";
18310
+ };
18311
+ type?: "link_to_page";
18312
+ object?: "block";
17323
18313
  } | {
17324
18314
  paragraph: {
17325
18315
  text: Array<RichTextItemRequest>;
@@ -17501,6 +18491,16 @@ declare type BlockObjectRequest = {
17501
18491
  table_of_contents: Record<string, never>;
17502
18492
  type?: "table_of_contents";
17503
18493
  object?: "block";
18494
+ } | {
18495
+ link_to_page: {
18496
+ page_id: IdRequest;
18497
+ type?: "page_id";
18498
+ } | {
18499
+ database_id: IdRequest;
18500
+ type?: "database_id";
18501
+ };
18502
+ type?: "link_to_page";
18503
+ object?: "block";
17504
18504
  } | {
17505
18505
  paragraph: {
17506
18506
  text: Array<RichTextItemRequest>;
@@ -17694,6 +18694,16 @@ declare type BlockObjectRequest = {
17694
18694
  table_of_contents: Record<string, never>;
17695
18695
  type?: "table_of_contents";
17696
18696
  object?: "block";
18697
+ } | {
18698
+ link_to_page: {
18699
+ page_id: IdRequest;
18700
+ type?: "page_id";
18701
+ } | {
18702
+ database_id: IdRequest;
18703
+ type?: "database_id";
18704
+ };
18705
+ type?: "link_to_page";
18706
+ object?: "block";
17697
18707
  } | {
17698
18708
  paragraph: {
17699
18709
  text: Array<RichTextItemRequest>;
@@ -17891,6 +18901,16 @@ declare type BlockObjectRequest = {
17891
18901
  table_of_contents: Record<string, never>;
17892
18902
  type?: "table_of_contents";
17893
18903
  object?: "block";
18904
+ } | {
18905
+ link_to_page: {
18906
+ page_id: IdRequest;
18907
+ type?: "page_id";
18908
+ } | {
18909
+ database_id: IdRequest;
18910
+ type?: "database_id";
18911
+ };
18912
+ type?: "link_to_page";
18913
+ object?: "block";
17894
18914
  } | {
17895
18915
  paragraph: {
17896
18916
  text: Array<RichTextItemRequest>;
@@ -18001,6 +19021,16 @@ declare type BlockObjectRequest = {
18001
19021
  table_of_contents: Record<string, never>;
18002
19022
  type?: "table_of_contents";
18003
19023
  object?: "block";
19024
+ } | {
19025
+ link_to_page: {
19026
+ page_id: IdRequest;
19027
+ type?: "page_id";
19028
+ } | {
19029
+ database_id: IdRequest;
19030
+ type?: "database_id";
19031
+ };
19032
+ type?: "link_to_page";
19033
+ object?: "block";
18004
19034
  } | {
18005
19035
  paragraph: {
18006
19036
  text: Array<RichTextItemRequest>;
@@ -18182,6 +19212,16 @@ declare type BlockObjectRequest = {
18182
19212
  table_of_contents: Record<string, never>;
18183
19213
  type?: "table_of_contents";
18184
19214
  object?: "block";
19215
+ } | {
19216
+ link_to_page: {
19217
+ page_id: IdRequest;
19218
+ type?: "page_id";
19219
+ } | {
19220
+ database_id: IdRequest;
19221
+ type?: "database_id";
19222
+ };
19223
+ type?: "link_to_page";
19224
+ object?: "block";
18185
19225
  } | {
18186
19226
  paragraph: {
18187
19227
  text: Array<RichTextItemRequest>;
@@ -18363,6 +19403,16 @@ declare type BlockObjectRequest = {
18363
19403
  table_of_contents: Record<string, never>;
18364
19404
  type?: "table_of_contents";
18365
19405
  object?: "block";
19406
+ } | {
19407
+ link_to_page: {
19408
+ page_id: IdRequest;
19409
+ type?: "page_id";
19410
+ } | {
19411
+ database_id: IdRequest;
19412
+ type?: "database_id";
19413
+ };
19414
+ type?: "link_to_page";
19415
+ object?: "block";
18366
19416
  } | {
18367
19417
  paragraph: {
18368
19418
  text: Array<RichTextItemRequest>;
@@ -18544,6 +19594,16 @@ declare type BlockObjectRequest = {
18544
19594
  table_of_contents: Record<string, never>;
18545
19595
  type?: "table_of_contents";
18546
19596
  object?: "block";
19597
+ } | {
19598
+ link_to_page: {
19599
+ page_id: IdRequest;
19600
+ type?: "page_id";
19601
+ } | {
19602
+ database_id: IdRequest;
19603
+ type?: "database_id";
19604
+ };
19605
+ type?: "link_to_page";
19606
+ object?: "block";
18547
19607
  } | {
18548
19608
  paragraph: {
18549
19609
  text: Array<RichTextItemRequest>;
@@ -18725,6 +19785,16 @@ declare type BlockObjectRequest = {
18725
19785
  table_of_contents: Record<string, never>;
18726
19786
  type?: "table_of_contents";
18727
19787
  object?: "block";
19788
+ } | {
19789
+ link_to_page: {
19790
+ page_id: IdRequest;
19791
+ type?: "page_id";
19792
+ } | {
19793
+ database_id: IdRequest;
19794
+ type?: "database_id";
19795
+ };
19796
+ type?: "link_to_page";
19797
+ object?: "block";
18728
19798
  } | {
18729
19799
  paragraph: {
18730
19800
  text: Array<RichTextItemRequest>;
@@ -18907,6 +19977,16 @@ declare type BlockObjectRequest = {
18907
19977
  table_of_contents: Record<string, never>;
18908
19978
  type?: "table_of_contents";
18909
19979
  object?: "block";
19980
+ } | {
19981
+ link_to_page: {
19982
+ page_id: IdRequest;
19983
+ type?: "page_id";
19984
+ } | {
19985
+ database_id: IdRequest;
19986
+ type?: "database_id";
19987
+ };
19988
+ type?: "link_to_page";
19989
+ object?: "block";
18910
19990
  } | {
18911
19991
  paragraph: {
18912
19992
  text: Array<RichTextItemRequest>;
@@ -19088,6 +20168,16 @@ declare type BlockObjectRequest = {
19088
20168
  table_of_contents: Record<string, never>;
19089
20169
  type?: "table_of_contents";
19090
20170
  object?: "block";
20171
+ } | {
20172
+ link_to_page: {
20173
+ page_id: IdRequest;
20174
+ type?: "page_id";
20175
+ } | {
20176
+ database_id: IdRequest;
20177
+ type?: "database_id";
20178
+ };
20179
+ type?: "link_to_page";
20180
+ object?: "block";
19091
20181
  } | {
19092
20182
  paragraph: {
19093
20183
  text: Array<RichTextItemRequest>;
@@ -19269,6 +20359,16 @@ declare type BlockObjectRequest = {
19269
20359
  table_of_contents: Record<string, never>;
19270
20360
  type?: "table_of_contents";
19271
20361
  object?: "block";
20362
+ } | {
20363
+ link_to_page: {
20364
+ page_id: IdRequest;
20365
+ type?: "page_id";
20366
+ } | {
20367
+ database_id: IdRequest;
20368
+ type?: "database_id";
20369
+ };
20370
+ type?: "link_to_page";
20371
+ object?: "block";
19272
20372
  } | {
19273
20373
  paragraph: {
19274
20374
  text: Array<RichTextItemRequest>;
@@ -19462,6 +20562,16 @@ declare type BlockObjectRequest = {
19462
20562
  table_of_contents: Record<string, never>;
19463
20563
  type?: "table_of_contents";
19464
20564
  object?: "block";
20565
+ } | {
20566
+ link_to_page: {
20567
+ page_id: IdRequest;
20568
+ type?: "page_id";
20569
+ } | {
20570
+ database_id: IdRequest;
20571
+ type?: "database_id";
20572
+ };
20573
+ type?: "link_to_page";
20574
+ object?: "block";
19465
20575
  } | {
19466
20576
  paragraph: {
19467
20577
  text: Array<RichTextItemRequest>;
@@ -26857,6 +27967,21 @@ export declare type GetBlockResponse = {
26857
27967
  last_edited_time: string;
26858
27968
  has_children: boolean;
26859
27969
  archived: boolean;
27970
+ } | {
27971
+ type: "link_to_page";
27972
+ link_to_page: {
27973
+ type: "page_id";
27974
+ page_id: IdRequest;
27975
+ } | {
27976
+ type: "database_id";
27977
+ database_id: IdRequest;
27978
+ };
27979
+ object: "block";
27980
+ id: string;
27981
+ created_time: string;
27982
+ last_edited_time: string;
27983
+ has_children: boolean;
27984
+ archived: boolean;
26860
27985
  } | {
26861
27986
  type: "embed";
26862
27987
  embed: {
@@ -28432,6 +29557,16 @@ declare type UpdateBlockBodyParameters = {
28432
29557
  table_of_contents: Record<string, never>;
28433
29558
  type?: "table_of_contents";
28434
29559
  archived?: boolean;
29560
+ } | {
29561
+ link_to_page: {
29562
+ page_id: IdRequest;
29563
+ type?: "page_id";
29564
+ } | {
29565
+ database_id: IdRequest;
29566
+ type?: "database_id";
29567
+ };
29568
+ type?: "link_to_page";
29569
+ archived?: boolean;
28435
29570
  } | {
28436
29571
  paragraph: {
28437
29572
  text: Array<RichTextItemRequest>;
@@ -30052,6 +31187,21 @@ export declare type UpdateBlockResponse = {
30052
31187
  last_edited_time: string;
30053
31188
  has_children: boolean;
30054
31189
  archived: boolean;
31190
+ } | {
31191
+ type: "link_to_page";
31192
+ link_to_page: {
31193
+ type: "page_id";
31194
+ page_id: IdRequest;
31195
+ } | {
31196
+ type: "database_id";
31197
+ database_id: IdRequest;
31198
+ };
31199
+ object: "block";
31200
+ id: string;
31201
+ created_time: string;
31202
+ last_edited_time: string;
31203
+ has_children: boolean;
31204
+ archived: boolean;
30055
31205
  } | {
30056
31206
  type: "embed";
30057
31207
  embed: {
@@ -31519,7 +32669,7 @@ export declare const updateBlock: {
31519
32669
  readonly method: "patch";
31520
32670
  readonly pathParams: readonly ["block_id"];
31521
32671
  readonly queryParams: readonly [];
31522
- readonly bodyParams: readonly ["heading_1", "type", "archived", "heading_2", "heading_3", "embed", "bookmark", "image", "video", "pdf", "file", "audio", "code", "equation", "divider", "breadcrumb", "table_of_contents", "paragraph", "bulleted_list_item", "numbered_list_item", "quote", "to_do", "toggle", "template", "callout", "synced_block"];
32672
+ readonly bodyParams: readonly ["heading_1", "type", "archived", "heading_2", "heading_3", "embed", "bookmark", "image", "video", "pdf", "file", "audio", "code", "equation", "divider", "breadcrumb", "table_of_contents", "link_to_page", "paragraph", "bulleted_list_item", "numbered_list_item", "quote", "to_do", "toggle", "template", "callout", "synced_block"];
31523
32673
  readonly path: (p: UpdateBlockPathParameters) => string;
31524
32674
  };
31525
32675
  declare type DeleteBlockPathParameters = {
@@ -33075,6 +34225,21 @@ export declare type DeleteBlockResponse = {
33075
34225
  last_edited_time: string;
33076
34226
  has_children: boolean;
33077
34227
  archived: boolean;
34228
+ } | {
34229
+ type: "link_to_page";
34230
+ link_to_page: {
34231
+ type: "page_id";
34232
+ page_id: IdRequest;
34233
+ } | {
34234
+ type: "database_id";
34235
+ database_id: IdRequest;
34236
+ };
34237
+ object: "block";
34238
+ id: string;
34239
+ created_time: string;
34240
+ last_edited_time: string;
34241
+ has_children: boolean;
34242
+ archived: boolean;
33078
34243
  } | {
33079
34244
  type: "embed";
33080
34245
  embed: {
@@ -36555,6 +37720,21 @@ export declare type ListBlockChildrenResponse = {
36555
37720
  last_edited_time: string;
36556
37721
  has_children: boolean;
36557
37722
  archived: boolean;
37723
+ } | {
37724
+ type: "link_to_page";
37725
+ link_to_page: {
37726
+ type: "page_id";
37727
+ page_id: IdRequest;
37728
+ } | {
37729
+ type: "database_id";
37730
+ database_id: IdRequest;
37731
+ };
37732
+ object: "block";
37733
+ id: string;
37734
+ created_time: string;
37735
+ last_edited_time: string;
37736
+ has_children: boolean;
37737
+ archived: boolean;
36558
37738
  } | {
36559
37739
  type: "embed";
36560
37740
  embed: {
@@ -39571,6 +40751,21 @@ export declare type ListBlockChildrenResponse = {
39571
40751
  last_edited_time: string;
39572
40752
  has_children: boolean;
39573
40753
  archived: boolean;
40754
+ } | {
40755
+ type: "link_to_page";
40756
+ link_to_page: {
40757
+ type: "page_id";
40758
+ page_id: IdRequest;
40759
+ } | {
40760
+ type: "database_id";
40761
+ database_id: IdRequest;
40762
+ };
40763
+ object: "block";
40764
+ id: string;
40765
+ created_time: string;
40766
+ last_edited_time: string;
40767
+ has_children: boolean;
40768
+ archived: boolean;
39574
40769
  } | {
39575
40770
  type: "embed";
39576
40771
  embed: {
@@ -43053,6 +44248,21 @@ export declare type AppendBlockChildrenResponse = {
43053
44248
  last_edited_time: string;
43054
44249
  has_children: boolean;
43055
44250
  archived: boolean;
44251
+ } | {
44252
+ type: "link_to_page";
44253
+ link_to_page: {
44254
+ type: "page_id";
44255
+ page_id: IdRequest;
44256
+ } | {
44257
+ type: "database_id";
44258
+ database_id: IdRequest;
44259
+ };
44260
+ object: "block";
44261
+ id: string;
44262
+ created_time: string;
44263
+ last_edited_time: string;
44264
+ has_children: boolean;
44265
+ archived: boolean;
43056
44266
  } | {
43057
44267
  type: "embed";
43058
44268
  embed: {
@@ -46069,6 +47279,21 @@ export declare type AppendBlockChildrenResponse = {
46069
47279
  last_edited_time: string;
46070
47280
  has_children: boolean;
46071
47281
  archived: boolean;
47282
+ } | {
47283
+ type: "link_to_page";
47284
+ link_to_page: {
47285
+ type: "page_id";
47286
+ page_id: IdRequest;
47287
+ } | {
47288
+ type: "database_id";
47289
+ database_id: IdRequest;
47290
+ };
47291
+ object: "block";
47292
+ id: string;
47293
+ created_time: string;
47294
+ last_edited_time: string;
47295
+ has_children: boolean;
47296
+ archived: boolean;
46072
47297
  } | {
46073
47298
  type: "embed";
46074
47299
  embed: {