@notionhq/custom-blocks-host 0.3.4 → 0.3.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -5
- package/dist/browser.js +1 -1
- package/dist/lifecycle/legacyPage.d.ts +68 -0
- package/dist/lifecycle/legacyPage.d.ts.map +1 -0
- package/dist/lifecycle/legacyPage.js +159 -0
- package/dist/lifecycle/normalizeHostToSandboxMessage.d.ts +2 -2
- package/dist/lifecycle/normalizeHostToSandboxMessage.d.ts.map +1 -1
- package/dist/lifecycle/normalizeHostToSandboxMessage.js +4 -32
- package/dist/lifecycle/normalizeQueryPage.d.ts +3 -0
- package/dist/lifecycle/normalizeQueryPage.d.ts.map +1 -0
- package/dist/lifecycle/normalizeQueryPage.js +13 -0
- package/dist/protocol/dataSources/dataSourcePage.d.ts +1 -2
- package/dist/protocol/dataSources/dataSourcePage.js +1 -2
- package/dist/protocol/messages/hostToSandbox.d.ts +1636 -241
- package/dist/protocol/messages/hostToSandbox.js +13 -6
- package/dist/protocol/messages/queryDataSourceResult.d.ts +174 -0
- package/dist/protocol/messages/queryDataSourceResult.js +15 -0
- package/package.json +1 -1
- package/src/lifecycle/legacyPage.ts +183 -0
- package/src/lifecycle/normalizeHostToSandboxMessage.ts +9 -37
- package/src/lifecycle/normalizeQueryPage.ts +25 -0
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
import * as v from "valibot";
|
|
2
|
-
/**
|
|
3
|
-
* Discriminated union of every message the host is allowed to send the sandbox.
|
|
4
|
-
*/
|
|
5
2
|
export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.VariantSchema<"status", [v.ObjectSchema<{
|
|
6
3
|
readonly type: v.LiteralSchema<"init", undefined>;
|
|
7
4
|
readonly initializationId: v.StringSchema<undefined>;
|
|
@@ -457,243 +454,6 @@ export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.Vari
|
|
|
457
454
|
}, undefined>, undefined>;
|
|
458
455
|
}, undefined>;
|
|
459
456
|
}, undefined>, v.VariantSchema<"status", [v.ObjectSchema<{
|
|
460
|
-
readonly type: v.LiteralSchema<"queryDataSourceResult", undefined>;
|
|
461
|
-
readonly subscriptionId: v.StringSchema<undefined>;
|
|
462
|
-
readonly status: v.LiteralSchema<"success", undefined>;
|
|
463
|
-
readonly items: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
|
|
464
|
-
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionPageId">]>;
|
|
465
|
-
readonly is_archived: v.BooleanSchema<undefined>;
|
|
466
|
-
readonly in_trash: v.BooleanSchema<undefined>;
|
|
467
|
-
readonly properties: v.RecordSchema<v.StringSchema<undefined>, v.OptionalSchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
468
|
-
readonly id: v.StringSchema<undefined>;
|
|
469
|
-
readonly type: v.LiteralSchema<"title", undefined>;
|
|
470
|
-
readonly title: v.ArraySchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
471
|
-
}, undefined>, v.ObjectSchema<{
|
|
472
|
-
readonly id: v.StringSchema<undefined>;
|
|
473
|
-
readonly type: v.LiteralSchema<"rich_text", undefined>;
|
|
474
|
-
readonly rich_text: v.ArraySchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
475
|
-
}, undefined>, v.ObjectSchema<{
|
|
476
|
-
readonly id: v.StringSchema<undefined>;
|
|
477
|
-
readonly type: v.LiteralSchema<"number", undefined>;
|
|
478
|
-
readonly number: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
479
|
-
}, undefined>, v.ObjectSchema<{
|
|
480
|
-
readonly id: v.StringSchema<undefined>;
|
|
481
|
-
readonly type: v.LiteralSchema<"url", undefined>;
|
|
482
|
-
readonly url: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
483
|
-
}, undefined>, v.ObjectSchema<{
|
|
484
|
-
readonly id: v.StringSchema<undefined>;
|
|
485
|
-
readonly type: v.LiteralSchema<"email", undefined>;
|
|
486
|
-
readonly email: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
487
|
-
}, undefined>, v.ObjectSchema<{
|
|
488
|
-
readonly id: v.StringSchema<undefined>;
|
|
489
|
-
readonly type: v.LiteralSchema<"phone_number", undefined>;
|
|
490
|
-
readonly phone_number: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
491
|
-
}, undefined>, v.ObjectSchema<{
|
|
492
|
-
readonly id: v.StringSchema<undefined>;
|
|
493
|
-
readonly type: v.LiteralSchema<"checkbox", undefined>;
|
|
494
|
-
readonly checkbox: v.BooleanSchema<undefined>;
|
|
495
|
-
}, undefined>, v.ObjectSchema<{
|
|
496
|
-
readonly id: v.StringSchema<undefined>;
|
|
497
|
-
readonly type: v.LiteralSchema<"select", undefined>;
|
|
498
|
-
readonly select: v.NullableSchema<v.UnionSchema<[v.ObjectSchema<{
|
|
499
|
-
readonly id: v.StringSchema<undefined>;
|
|
500
|
-
readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
501
|
-
readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
502
|
-
readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
503
|
-
}, undefined>, v.ObjectSchema<{
|
|
504
|
-
readonly name: v.StringSchema<undefined>;
|
|
505
|
-
readonly id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
506
|
-
readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
507
|
-
readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
508
|
-
}, undefined>], undefined>, undefined>;
|
|
509
|
-
}, undefined>, v.ObjectSchema<{
|
|
510
|
-
readonly id: v.StringSchema<undefined>;
|
|
511
|
-
readonly type: v.LiteralSchema<"status", undefined>;
|
|
512
|
-
readonly status: v.NullableSchema<v.UnionSchema<[v.ObjectSchema<{
|
|
513
|
-
readonly id: v.StringSchema<undefined>;
|
|
514
|
-
readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
515
|
-
readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
516
|
-
readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
517
|
-
}, undefined>, v.ObjectSchema<{
|
|
518
|
-
readonly name: v.StringSchema<undefined>;
|
|
519
|
-
readonly id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
520
|
-
readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
521
|
-
readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
522
|
-
}, undefined>], undefined>, undefined>;
|
|
523
|
-
}, undefined>, v.ObjectSchema<{
|
|
524
|
-
readonly id: v.StringSchema<undefined>;
|
|
525
|
-
readonly type: v.LiteralSchema<"multi_select", undefined>;
|
|
526
|
-
readonly multi_select: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
|
|
527
|
-
readonly id: v.StringSchema<undefined>;
|
|
528
|
-
readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
529
|
-
readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
530
|
-
readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
531
|
-
}, undefined>, v.ObjectSchema<{
|
|
532
|
-
readonly name: v.StringSchema<undefined>;
|
|
533
|
-
readonly id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
534
|
-
readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
535
|
-
readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
536
|
-
}, undefined>], undefined>, undefined>;
|
|
537
|
-
}, undefined>, v.ObjectSchema<{
|
|
538
|
-
readonly id: v.StringSchema<undefined>;
|
|
539
|
-
readonly type: v.LiteralSchema<"date", undefined>;
|
|
540
|
-
readonly date: v.NullableSchema<v.ObjectSchema<{
|
|
541
|
-
readonly start: v.StringSchema<undefined>;
|
|
542
|
-
readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
543
|
-
readonly time_zone: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
544
|
-
}, undefined>, undefined>;
|
|
545
|
-
}, undefined>, v.ObjectSchema<{
|
|
546
|
-
readonly id: v.StringSchema<undefined>;
|
|
547
|
-
readonly type: v.LiteralSchema<"people", undefined>;
|
|
548
|
-
readonly people: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
|
|
549
|
-
readonly object: v.OptionalSchema<v.LiteralSchema<"user", undefined>, undefined>;
|
|
550
|
-
readonly id: v.StringSchema<undefined>;
|
|
551
|
-
}, undefined>, v.ObjectSchema<{
|
|
552
|
-
readonly object: v.LiteralSchema<"group", undefined>;
|
|
553
|
-
readonly id: v.StringSchema<undefined>;
|
|
554
|
-
readonly name: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
555
|
-
}, undefined>], undefined>, undefined>;
|
|
556
|
-
}, undefined>, v.ObjectSchema<{
|
|
557
|
-
readonly id: v.StringSchema<undefined>;
|
|
558
|
-
readonly type: v.LiteralSchema<"relation", undefined>;
|
|
559
|
-
readonly has_more: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
560
|
-
readonly relation: v.ArraySchema<v.ObjectSchema<{
|
|
561
|
-
readonly id: v.StringSchema<undefined>;
|
|
562
|
-
}, undefined>, undefined>;
|
|
563
|
-
}, undefined>, v.ObjectSchema<{
|
|
564
|
-
readonly id: v.StringSchema<undefined>;
|
|
565
|
-
readonly type: v.LiteralSchema<"files", undefined>;
|
|
566
|
-
readonly files: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
|
|
567
|
-
readonly type: v.LiteralSchema<"external", undefined>;
|
|
568
|
-
readonly name: v.StringSchema<undefined>;
|
|
569
|
-
readonly external: v.ObjectSchema<{
|
|
570
|
-
readonly url: v.StringSchema<undefined>;
|
|
571
|
-
}, undefined>;
|
|
572
|
-
}, undefined>, v.ObjectSchema<{
|
|
573
|
-
readonly type: v.LiteralSchema<"file", undefined>;
|
|
574
|
-
readonly name: v.StringSchema<undefined>;
|
|
575
|
-
readonly file: v.ObjectSchema<{
|
|
576
|
-
readonly url: v.StringSchema<undefined>;
|
|
577
|
-
readonly expiry_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
578
|
-
}, undefined>;
|
|
579
|
-
}, undefined>], undefined>, undefined>;
|
|
580
|
-
}, undefined>, v.ObjectSchema<{
|
|
581
|
-
readonly id: v.StringSchema<undefined>;
|
|
582
|
-
readonly type: v.LiteralSchema<"place", undefined>;
|
|
583
|
-
readonly place: v.NullableSchema<v.ObjectSchema<{
|
|
584
|
-
readonly lat: v.NumberSchema<undefined>;
|
|
585
|
-
readonly lon: v.NumberSchema<undefined>;
|
|
586
|
-
readonly name: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
587
|
-
readonly address: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
588
|
-
readonly aws_place_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
589
|
-
readonly google_place_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
590
|
-
}, undefined>, undefined>;
|
|
591
|
-
}, undefined>, v.ObjectSchema<{
|
|
592
|
-
readonly id: v.StringSchema<undefined>;
|
|
593
|
-
readonly type: v.LiteralSchema<"created_time", undefined>;
|
|
594
|
-
readonly created_time: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
595
|
-
}, undefined>, v.ObjectSchema<{
|
|
596
|
-
readonly id: v.StringSchema<undefined>;
|
|
597
|
-
readonly type: v.LiteralSchema<"last_edited_time", undefined>;
|
|
598
|
-
readonly last_edited_time: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
599
|
-
}, undefined>, v.ObjectSchema<{
|
|
600
|
-
readonly id: v.StringSchema<undefined>;
|
|
601
|
-
readonly type: v.LiteralSchema<"created_by", undefined>;
|
|
602
|
-
readonly created_by: v.NullableSchema<v.ObjectSchema<{
|
|
603
|
-
readonly id: v.StringSchema<undefined>;
|
|
604
|
-
readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
|
|
605
|
-
readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
606
|
-
}, undefined>, undefined>;
|
|
607
|
-
}, undefined>, v.ObjectSchema<{
|
|
608
|
-
readonly id: v.StringSchema<undefined>;
|
|
609
|
-
readonly type: v.LiteralSchema<"last_edited_by", undefined>;
|
|
610
|
-
readonly last_edited_by: v.NullableSchema<v.ObjectSchema<{
|
|
611
|
-
readonly id: v.StringSchema<undefined>;
|
|
612
|
-
readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
|
|
613
|
-
readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
614
|
-
}, undefined>, undefined>;
|
|
615
|
-
}, undefined>, v.ObjectSchema<{
|
|
616
|
-
readonly id: v.StringSchema<undefined>;
|
|
617
|
-
readonly type: v.LiteralSchema<"last_visited_time", undefined>;
|
|
618
|
-
readonly last_visited_time: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
619
|
-
}, undefined>], undefined>, undefined>, undefined>;
|
|
620
|
-
}, undefined>, v.ObjectSchema<{
|
|
621
|
-
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionPageId">]>;
|
|
622
|
-
readonly is_archived: v.BooleanSchema<undefined>;
|
|
623
|
-
readonly in_trash: v.BooleanSchema<undefined>;
|
|
624
|
-
readonly propertiesById: v.RecordSchema<v.StringSchema<undefined>, v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>, v.BooleanSchema<undefined>, v.VariantSchema<"type", [v.ObjectSchema<{
|
|
625
|
-
readonly type: v.LiteralSchema<"date", undefined>;
|
|
626
|
-
readonly start_date: v.StringSchema<undefined>;
|
|
627
|
-
readonly reminder: v.OptionalSchema<v.UnionSchema<[v.ObjectSchema<{
|
|
628
|
-
readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
|
|
629
|
-
readonly value: v.NumberSchema<undefined>;
|
|
630
|
-
readonly time: v.StringSchema<undefined>;
|
|
631
|
-
readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
632
|
-
}, undefined>, v.ObjectSchema<{
|
|
633
|
-
readonly unit: v.LiteralSchema<"none", undefined>;
|
|
634
|
-
}, undefined>], undefined>, undefined>;
|
|
635
|
-
}, undefined>, v.ObjectSchema<{
|
|
636
|
-
readonly type: v.LiteralSchema<"daterange", undefined>;
|
|
637
|
-
readonly start_date: v.StringSchema<undefined>;
|
|
638
|
-
readonly end_date: v.StringSchema<undefined>;
|
|
639
|
-
readonly reminder: v.OptionalSchema<v.UnionSchema<[v.ObjectSchema<{
|
|
640
|
-
readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
|
|
641
|
-
readonly value: v.NumberSchema<undefined>;
|
|
642
|
-
readonly time: v.StringSchema<undefined>;
|
|
643
|
-
readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
644
|
-
}, undefined>, v.ObjectSchema<{
|
|
645
|
-
readonly unit: v.LiteralSchema<"none", undefined>;
|
|
646
|
-
}, undefined>], undefined>, undefined>;
|
|
647
|
-
}, undefined>, v.ObjectSchema<{
|
|
648
|
-
readonly type: v.LiteralSchema<"datetime", undefined>;
|
|
649
|
-
readonly start_date: v.StringSchema<undefined>;
|
|
650
|
-
readonly start_time: v.StringSchema<undefined>;
|
|
651
|
-
readonly time_zone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
652
|
-
readonly reminder: v.OptionalSchema<v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
|
|
653
|
-
readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
|
|
654
|
-
readonly value: v.NumberSchema<undefined>;
|
|
655
|
-
readonly time: v.StringSchema<undefined>;
|
|
656
|
-
readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
657
|
-
}, undefined>, v.ObjectSchema<{
|
|
658
|
-
readonly unit: v.PicklistSchema<["hour", "minute"], undefined>;
|
|
659
|
-
readonly value: v.NumberSchema<undefined>;
|
|
660
|
-
}, undefined>], undefined>, v.ObjectSchema<{
|
|
661
|
-
readonly unit: v.LiteralSchema<"none", undefined>;
|
|
662
|
-
}, undefined>], undefined>, undefined>;
|
|
663
|
-
}, undefined>, v.ObjectSchema<{
|
|
664
|
-
readonly type: v.LiteralSchema<"datetimerange", undefined>;
|
|
665
|
-
readonly start_date: v.StringSchema<undefined>;
|
|
666
|
-
readonly start_time: v.StringSchema<undefined>;
|
|
667
|
-
readonly end_date: v.StringSchema<undefined>;
|
|
668
|
-
readonly end_time: v.StringSchema<undefined>;
|
|
669
|
-
readonly time_zone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
670
|
-
readonly reminder: v.OptionalSchema<v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
|
|
671
|
-
readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
|
|
672
|
-
readonly value: v.NumberSchema<undefined>;
|
|
673
|
-
readonly time: v.StringSchema<undefined>;
|
|
674
|
-
readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
675
|
-
}, undefined>, v.ObjectSchema<{
|
|
676
|
-
readonly unit: v.PicklistSchema<["hour", "minute"], undefined>;
|
|
677
|
-
readonly value: v.NumberSchema<undefined>;
|
|
678
|
-
}, undefined>], undefined>, v.ObjectSchema<{
|
|
679
|
-
readonly unit: v.LiteralSchema<"none", undefined>;
|
|
680
|
-
}, undefined>], undefined>, undefined>;
|
|
681
|
-
}, undefined>], undefined>, v.ArraySchema<v.StringSchema<undefined>, undefined>, v.ArraySchema<v.ObjectSchema<{
|
|
682
|
-
readonly id: v.StringSchema<undefined>;
|
|
683
|
-
readonly table: v.StringSchema<undefined>;
|
|
684
|
-
}, undefined>, undefined>], undefined>, undefined>, undefined>;
|
|
685
|
-
}, undefined>], undefined>, undefined>;
|
|
686
|
-
readonly hasMore: v.BooleanSchema<undefined>;
|
|
687
|
-
}, undefined>, v.ObjectSchema<{
|
|
688
|
-
readonly type: v.LiteralSchema<"queryDataSourceResult", undefined>;
|
|
689
|
-
readonly subscriptionId: v.StringSchema<undefined>;
|
|
690
|
-
readonly status: v.LiteralSchema<"error", undefined>;
|
|
691
|
-
readonly error: v.ObjectSchema<{
|
|
692
|
-
readonly code: v.StringSchema<undefined>;
|
|
693
|
-
readonly message: v.StringSchema<undefined>;
|
|
694
|
-
readonly isRetryable: v.BooleanSchema<undefined>;
|
|
695
|
-
}, undefined>;
|
|
696
|
-
}, undefined>], undefined>, v.VariantSchema<"status", [v.ObjectSchema<{
|
|
697
457
|
readonly type: v.LiteralSchema<"createPageResult", undefined>;
|
|
698
458
|
readonly requestId: v.StringSchema<undefined>;
|
|
699
459
|
readonly status: v.LiteralSchema<"success", undefined>;
|
|
@@ -1460,5 +1220,1640 @@ export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.Vari
|
|
|
1460
1220
|
}, undefined>], undefined>, v.ObjectSchema<{
|
|
1461
1221
|
readonly type: v.LiteralSchema<"invalidSandboxMessage", undefined>;
|
|
1462
1222
|
readonly reason: v.StringSchema<undefined>;
|
|
1463
|
-
}, undefined
|
|
1223
|
+
}, undefined>, v.VariantSchema<"status", [v.ObjectSchema<{
|
|
1224
|
+
readonly type: v.LiteralSchema<"queryDataSourceResult", undefined>;
|
|
1225
|
+
readonly subscriptionId: v.StringSchema<undefined>;
|
|
1226
|
+
readonly status: v.LiteralSchema<"success", undefined>;
|
|
1227
|
+
readonly items: v.ArraySchema<v.ObjectSchema<{
|
|
1228
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionPageId">]>;
|
|
1229
|
+
readonly is_archived: v.BooleanSchema<undefined>;
|
|
1230
|
+
readonly in_trash: v.BooleanSchema<undefined>;
|
|
1231
|
+
readonly properties: v.RecordSchema<v.StringSchema<undefined>, v.OptionalSchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
1232
|
+
readonly id: v.StringSchema<undefined>;
|
|
1233
|
+
readonly type: v.LiteralSchema<"title", undefined>;
|
|
1234
|
+
readonly title: v.ArraySchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
1235
|
+
}, undefined>, v.ObjectSchema<{
|
|
1236
|
+
readonly id: v.StringSchema<undefined>;
|
|
1237
|
+
readonly type: v.LiteralSchema<"rich_text", undefined>;
|
|
1238
|
+
readonly rich_text: v.ArraySchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
1239
|
+
}, undefined>, v.ObjectSchema<{
|
|
1240
|
+
readonly id: v.StringSchema<undefined>;
|
|
1241
|
+
readonly type: v.LiteralSchema<"number", undefined>;
|
|
1242
|
+
readonly number: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
1243
|
+
}, undefined>, v.ObjectSchema<{
|
|
1244
|
+
readonly id: v.StringSchema<undefined>;
|
|
1245
|
+
readonly type: v.LiteralSchema<"url", undefined>;
|
|
1246
|
+
readonly url: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1247
|
+
}, undefined>, v.ObjectSchema<{
|
|
1248
|
+
readonly id: v.StringSchema<undefined>;
|
|
1249
|
+
readonly type: v.LiteralSchema<"email", undefined>;
|
|
1250
|
+
readonly email: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1251
|
+
}, undefined>, v.ObjectSchema<{
|
|
1252
|
+
readonly id: v.StringSchema<undefined>;
|
|
1253
|
+
readonly type: v.LiteralSchema<"phone_number", undefined>;
|
|
1254
|
+
readonly phone_number: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1255
|
+
}, undefined>, v.ObjectSchema<{
|
|
1256
|
+
readonly id: v.StringSchema<undefined>;
|
|
1257
|
+
readonly type: v.LiteralSchema<"checkbox", undefined>;
|
|
1258
|
+
readonly checkbox: v.BooleanSchema<undefined>;
|
|
1259
|
+
}, undefined>, v.ObjectSchema<{
|
|
1260
|
+
readonly id: v.StringSchema<undefined>;
|
|
1261
|
+
readonly type: v.LiteralSchema<"select", undefined>;
|
|
1262
|
+
readonly select: v.NullableSchema<v.UnionSchema<[v.ObjectSchema<{
|
|
1263
|
+
readonly id: v.StringSchema<undefined>;
|
|
1264
|
+
readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1265
|
+
readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1266
|
+
readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1267
|
+
}, undefined>, v.ObjectSchema<{
|
|
1268
|
+
readonly name: v.StringSchema<undefined>;
|
|
1269
|
+
readonly id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1270
|
+
readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1271
|
+
readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1272
|
+
}, undefined>], undefined>, undefined>;
|
|
1273
|
+
}, undefined>, v.ObjectSchema<{
|
|
1274
|
+
readonly id: v.StringSchema<undefined>;
|
|
1275
|
+
readonly type: v.LiteralSchema<"status", undefined>;
|
|
1276
|
+
readonly status: v.NullableSchema<v.UnionSchema<[v.ObjectSchema<{
|
|
1277
|
+
readonly id: v.StringSchema<undefined>;
|
|
1278
|
+
readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1279
|
+
readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1280
|
+
readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1281
|
+
}, undefined>, v.ObjectSchema<{
|
|
1282
|
+
readonly name: v.StringSchema<undefined>;
|
|
1283
|
+
readonly id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1284
|
+
readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1285
|
+
readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1286
|
+
}, undefined>], undefined>, undefined>;
|
|
1287
|
+
}, undefined>, v.ObjectSchema<{
|
|
1288
|
+
readonly id: v.StringSchema<undefined>;
|
|
1289
|
+
readonly type: v.LiteralSchema<"multi_select", undefined>;
|
|
1290
|
+
readonly multi_select: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
|
|
1291
|
+
readonly id: v.StringSchema<undefined>;
|
|
1292
|
+
readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1293
|
+
readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1294
|
+
readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1295
|
+
}, undefined>, v.ObjectSchema<{
|
|
1296
|
+
readonly name: v.StringSchema<undefined>;
|
|
1297
|
+
readonly id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1298
|
+
readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1299
|
+
readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1300
|
+
}, undefined>], undefined>, undefined>;
|
|
1301
|
+
}, undefined>, v.ObjectSchema<{
|
|
1302
|
+
readonly id: v.StringSchema<undefined>;
|
|
1303
|
+
readonly type: v.LiteralSchema<"date", undefined>;
|
|
1304
|
+
readonly date: v.NullableSchema<v.ObjectSchema<{
|
|
1305
|
+
readonly start: v.StringSchema<undefined>;
|
|
1306
|
+
readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1307
|
+
readonly time_zone: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1308
|
+
}, undefined>, undefined>;
|
|
1309
|
+
}, undefined>, v.ObjectSchema<{
|
|
1310
|
+
readonly id: v.StringSchema<undefined>;
|
|
1311
|
+
readonly type: v.LiteralSchema<"people", undefined>;
|
|
1312
|
+
readonly people: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
|
|
1313
|
+
readonly object: v.OptionalSchema<v.LiteralSchema<"user", undefined>, undefined>;
|
|
1314
|
+
readonly id: v.StringSchema<undefined>;
|
|
1315
|
+
}, undefined>, v.ObjectSchema<{
|
|
1316
|
+
readonly object: v.LiteralSchema<"group", undefined>;
|
|
1317
|
+
readonly id: v.StringSchema<undefined>;
|
|
1318
|
+
readonly name: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1319
|
+
}, undefined>], undefined>, undefined>;
|
|
1320
|
+
}, undefined>, v.ObjectSchema<{
|
|
1321
|
+
readonly id: v.StringSchema<undefined>;
|
|
1322
|
+
readonly type: v.LiteralSchema<"relation", undefined>;
|
|
1323
|
+
readonly has_more: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1324
|
+
readonly relation: v.ArraySchema<v.ObjectSchema<{
|
|
1325
|
+
readonly id: v.StringSchema<undefined>;
|
|
1326
|
+
}, undefined>, undefined>;
|
|
1327
|
+
}, undefined>, v.ObjectSchema<{
|
|
1328
|
+
readonly id: v.StringSchema<undefined>;
|
|
1329
|
+
readonly type: v.LiteralSchema<"files", undefined>;
|
|
1330
|
+
readonly files: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
|
|
1331
|
+
readonly type: v.LiteralSchema<"external", undefined>;
|
|
1332
|
+
readonly name: v.StringSchema<undefined>;
|
|
1333
|
+
readonly external: v.ObjectSchema<{
|
|
1334
|
+
readonly url: v.StringSchema<undefined>;
|
|
1335
|
+
}, undefined>;
|
|
1336
|
+
}, undefined>, v.ObjectSchema<{
|
|
1337
|
+
readonly type: v.LiteralSchema<"file", undefined>;
|
|
1338
|
+
readonly name: v.StringSchema<undefined>;
|
|
1339
|
+
readonly file: v.ObjectSchema<{
|
|
1340
|
+
readonly url: v.StringSchema<undefined>;
|
|
1341
|
+
readonly expiry_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1342
|
+
}, undefined>;
|
|
1343
|
+
}, undefined>], undefined>, undefined>;
|
|
1344
|
+
}, undefined>, v.ObjectSchema<{
|
|
1345
|
+
readonly id: v.StringSchema<undefined>;
|
|
1346
|
+
readonly type: v.LiteralSchema<"place", undefined>;
|
|
1347
|
+
readonly place: v.NullableSchema<v.ObjectSchema<{
|
|
1348
|
+
readonly lat: v.NumberSchema<undefined>;
|
|
1349
|
+
readonly lon: v.NumberSchema<undefined>;
|
|
1350
|
+
readonly name: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1351
|
+
readonly address: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1352
|
+
readonly aws_place_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1353
|
+
readonly google_place_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1354
|
+
}, undefined>, undefined>;
|
|
1355
|
+
}, undefined>, v.ObjectSchema<{
|
|
1356
|
+
readonly id: v.StringSchema<undefined>;
|
|
1357
|
+
readonly type: v.LiteralSchema<"created_time", undefined>;
|
|
1358
|
+
readonly created_time: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1359
|
+
}, undefined>, v.ObjectSchema<{
|
|
1360
|
+
readonly id: v.StringSchema<undefined>;
|
|
1361
|
+
readonly type: v.LiteralSchema<"last_edited_time", undefined>;
|
|
1362
|
+
readonly last_edited_time: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1363
|
+
}, undefined>, v.ObjectSchema<{
|
|
1364
|
+
readonly id: v.StringSchema<undefined>;
|
|
1365
|
+
readonly type: v.LiteralSchema<"created_by", undefined>;
|
|
1366
|
+
readonly created_by: v.NullableSchema<v.ObjectSchema<{
|
|
1367
|
+
readonly id: v.StringSchema<undefined>;
|
|
1368
|
+
readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
|
|
1369
|
+
readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1370
|
+
}, undefined>, undefined>;
|
|
1371
|
+
}, undefined>, v.ObjectSchema<{
|
|
1372
|
+
readonly id: v.StringSchema<undefined>;
|
|
1373
|
+
readonly type: v.LiteralSchema<"last_edited_by", undefined>;
|
|
1374
|
+
readonly last_edited_by: v.NullableSchema<v.ObjectSchema<{
|
|
1375
|
+
readonly id: v.StringSchema<undefined>;
|
|
1376
|
+
readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
|
|
1377
|
+
readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1378
|
+
}, undefined>, undefined>;
|
|
1379
|
+
}, undefined>, v.ObjectSchema<{
|
|
1380
|
+
readonly id: v.StringSchema<undefined>;
|
|
1381
|
+
readonly type: v.LiteralSchema<"last_visited_time", undefined>;
|
|
1382
|
+
readonly last_visited_time: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1383
|
+
}, undefined>], undefined>, undefined>, undefined>;
|
|
1384
|
+
}, undefined>, undefined>;
|
|
1385
|
+
readonly hasMore: v.BooleanSchema<undefined>;
|
|
1386
|
+
}, undefined>, v.ObjectSchema<{
|
|
1387
|
+
readonly type: v.LiteralSchema<"queryDataSourceResult", undefined>;
|
|
1388
|
+
readonly subscriptionId: v.StringSchema<undefined>;
|
|
1389
|
+
readonly status: v.LiteralSchema<"error", undefined>;
|
|
1390
|
+
readonly error: v.ObjectSchema<{
|
|
1391
|
+
readonly code: v.StringSchema<undefined>;
|
|
1392
|
+
readonly message: v.StringSchema<undefined>;
|
|
1393
|
+
readonly isRetryable: v.BooleanSchema<undefined>;
|
|
1394
|
+
}, undefined>;
|
|
1395
|
+
}, undefined>], undefined>], undefined>;
|
|
1396
|
+
/**
|
|
1397
|
+
* Discriminated union of every message the host is allowed to send the sandbox.
|
|
1398
|
+
*/
|
|
1399
|
+
export declare const hostToSandboxMessageLegacySchema: v.VariantSchema<"type", [v.VariantSchema<"status", [v.ObjectSchema<{
|
|
1400
|
+
readonly type: v.LiteralSchema<"init", undefined>;
|
|
1401
|
+
readonly initializationId: v.StringSchema<undefined>;
|
|
1402
|
+
readonly status: v.LiteralSchema<"success", undefined>;
|
|
1403
|
+
readonly theme: v.PicklistSchema<["light", "dark"], undefined>;
|
|
1404
|
+
readonly contrastMode: v.PicklistSchema<["standard", "high"], undefined>;
|
|
1405
|
+
readonly blockId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionBlockId">]>;
|
|
1406
|
+
readonly parent: v.VariantSchema<"type", [v.ObjectSchema<{
|
|
1407
|
+
readonly type: v.LiteralSchema<"page_id", undefined>;
|
|
1408
|
+
readonly page_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionPageId">]>;
|
|
1409
|
+
}, undefined>, v.ObjectSchema<{
|
|
1410
|
+
readonly type: v.LiteralSchema<"data_source_id", undefined>;
|
|
1411
|
+
readonly data_source_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionDataSourceId">]>;
|
|
1412
|
+
}, undefined>, v.ObjectSchema<{
|
|
1413
|
+
readonly type: v.LiteralSchema<"workspace", undefined>;
|
|
1414
|
+
readonly workspace: v.LiteralSchema<true, undefined>;
|
|
1415
|
+
}, undefined>, v.ObjectSchema<{
|
|
1416
|
+
readonly type: v.LiteralSchema<"block_id", undefined>;
|
|
1417
|
+
readonly block_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionBlockId">]>;
|
|
1418
|
+
}, undefined>, v.ObjectSchema<{
|
|
1419
|
+
readonly type: v.LiteralSchema<"agent_id", undefined>;
|
|
1420
|
+
readonly agent_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionAgentId">]>;
|
|
1421
|
+
}, undefined>, v.ObjectSchema<{
|
|
1422
|
+
readonly type: v.LiteralSchema<"unavailable", undefined>;
|
|
1423
|
+
}, undefined>], undefined>;
|
|
1424
|
+
readonly page: v.VariantSchema<"type", [v.ObjectSchema<{
|
|
1425
|
+
readonly type: v.LiteralSchema<"unavailable", undefined>;
|
|
1426
|
+
}, undefined>, v.ObjectSchema<{
|
|
1427
|
+
readonly type: v.LiteralSchema<"page", undefined>;
|
|
1428
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionPageId">]>;
|
|
1429
|
+
readonly parent: v.VariantSchema<"type", [v.ObjectSchema<{
|
|
1430
|
+
readonly type: v.LiteralSchema<"page_id", undefined>;
|
|
1431
|
+
readonly page_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionPageId">]>;
|
|
1432
|
+
}, undefined>, v.ObjectSchema<{
|
|
1433
|
+
readonly type: v.LiteralSchema<"data_source_id", undefined>;
|
|
1434
|
+
readonly data_source_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionDataSourceId">]>;
|
|
1435
|
+
}, undefined>, v.ObjectSchema<{
|
|
1436
|
+
readonly type: v.LiteralSchema<"workspace", undefined>;
|
|
1437
|
+
readonly workspace: v.LiteralSchema<true, undefined>;
|
|
1438
|
+
}, undefined>, v.ObjectSchema<{
|
|
1439
|
+
readonly type: v.LiteralSchema<"block_id", undefined>;
|
|
1440
|
+
readonly block_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionBlockId">]>;
|
|
1441
|
+
}, undefined>, v.ObjectSchema<{
|
|
1442
|
+
readonly type: v.LiteralSchema<"agent_id", undefined>;
|
|
1443
|
+
readonly agent_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionAgentId">]>;
|
|
1444
|
+
}, undefined>, v.ObjectSchema<{
|
|
1445
|
+
readonly type: v.LiteralSchema<"unavailable", undefined>;
|
|
1446
|
+
}, undefined>], undefined>;
|
|
1447
|
+
}, undefined>], undefined>;
|
|
1448
|
+
readonly manifest: v.ObjectSchema<{
|
|
1449
|
+
readonly version: v.LiteralSchema<1, undefined>;
|
|
1450
|
+
readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1451
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1452
|
+
readonly slashCommand: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1453
|
+
readonly icon: v.OptionalSchema<v.ObjectSchema<{
|
|
1454
|
+
readonly type: v.LiteralSchema<"emoji", undefined>;
|
|
1455
|
+
readonly emoji: v.StringSchema<undefined>;
|
|
1456
|
+
}, undefined>, undefined>;
|
|
1457
|
+
readonly dataSources: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.ObjectSchema<{
|
|
1458
|
+
readonly name: v.StringSchema<undefined>;
|
|
1459
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1460
|
+
readonly icon: v.OptionalSchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
1461
|
+
readonly type: v.LiteralSchema<"emoji", undefined>;
|
|
1462
|
+
readonly emoji: v.StringSchema<undefined>;
|
|
1463
|
+
}, undefined>, v.ObjectSchema<{
|
|
1464
|
+
readonly type: v.LiteralSchema<"external", undefined>;
|
|
1465
|
+
readonly url: v.StringSchema<undefined>;
|
|
1466
|
+
}, undefined>], undefined>, undefined>;
|
|
1467
|
+
readonly properties: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.ObjectSchema<{
|
|
1468
|
+
readonly name: v.StringSchema<undefined>;
|
|
1469
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1470
|
+
readonly type: v.PicklistSchema<readonly ["title", "rich_text", "number", "checkbox", "url", "email", "phone_number", "select", "multi_select", "status", "date", "people", "files", "unique_id", "relation", "place", "formula", "rollup", "button", "verification", "last_visited_time", "location", "created_time", "last_edited_time", "created_by", "last_edited_by"], undefined>;
|
|
1471
|
+
}, undefined>, undefined>, {}>;
|
|
1472
|
+
}, undefined>, undefined>, {}>;
|
|
1473
|
+
}, undefined>;
|
|
1474
|
+
readonly dataSources: v.ObjectSchema<{
|
|
1475
|
+
readonly bindings: v.RecordSchema<v.StringSchema<undefined>, v.ObjectSchema<{
|
|
1476
|
+
readonly collectionPointer: v.OptionalSchema<v.ObjectSchema<{
|
|
1477
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionDataSourceId">]>;
|
|
1478
|
+
readonly table: v.StringSchema<undefined>;
|
|
1479
|
+
readonly spaceId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionSpaceId">]>, undefined>;
|
|
1480
|
+
}, undefined>, undefined>;
|
|
1481
|
+
readonly collectionSchema: v.OptionalSchema<v.ObjectSchema<{
|
|
1482
|
+
readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionDataSourceId">]>, undefined>;
|
|
1483
|
+
readonly propertiesById: v.RecordSchema<v.StringSchema<undefined>, v.VariantSchema<"type", [v.ObjectSchema<{
|
|
1484
|
+
readonly name: v.StringSchema<undefined>;
|
|
1485
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1486
|
+
readonly type: v.LiteralSchema<"title", undefined>;
|
|
1487
|
+
}, undefined>, v.ObjectSchema<{
|
|
1488
|
+
readonly name: v.StringSchema<undefined>;
|
|
1489
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1490
|
+
readonly type: v.LiteralSchema<"rich_text", undefined>;
|
|
1491
|
+
}, undefined>, v.ObjectSchema<{
|
|
1492
|
+
readonly name: v.StringSchema<undefined>;
|
|
1493
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1494
|
+
readonly type: v.LiteralSchema<"number", undefined>;
|
|
1495
|
+
}, undefined>, v.ObjectSchema<{
|
|
1496
|
+
readonly name: v.StringSchema<undefined>;
|
|
1497
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1498
|
+
readonly type: v.LiteralSchema<"checkbox", undefined>;
|
|
1499
|
+
}, undefined>, v.ObjectSchema<{
|
|
1500
|
+
readonly name: v.StringSchema<undefined>;
|
|
1501
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1502
|
+
readonly type: v.LiteralSchema<"url", undefined>;
|
|
1503
|
+
}, undefined>, v.ObjectSchema<{
|
|
1504
|
+
readonly name: v.StringSchema<undefined>;
|
|
1505
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1506
|
+
readonly type: v.LiteralSchema<"email", undefined>;
|
|
1507
|
+
}, undefined>, v.ObjectSchema<{
|
|
1508
|
+
readonly name: v.StringSchema<undefined>;
|
|
1509
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1510
|
+
readonly type: v.LiteralSchema<"phone_number", undefined>;
|
|
1511
|
+
}, undefined>, v.ObjectSchema<{
|
|
1512
|
+
readonly name: v.StringSchema<undefined>;
|
|
1513
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1514
|
+
readonly type: v.LiteralSchema<"select", undefined>;
|
|
1515
|
+
readonly options: v.ArraySchema<v.ObjectSchema<{
|
|
1516
|
+
readonly id: v.StringSchema<undefined>;
|
|
1517
|
+
readonly name: v.StringSchema<undefined>;
|
|
1518
|
+
readonly color: v.OptionalSchema<v.PicklistSchema<["default", "gray", "brown", "orange", "yellow", "green", "blue", "purple", "pink", "red", "gray_background", "brown_background", "orange_background", "yellow_background", "green_background", "blue_background", "purple_background", "pink_background", "red_background", "default_background"], undefined>, undefined>;
|
|
1519
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1520
|
+
}, undefined>, undefined>;
|
|
1521
|
+
}, undefined>, v.ObjectSchema<{
|
|
1522
|
+
readonly name: v.StringSchema<undefined>;
|
|
1523
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1524
|
+
readonly type: v.LiteralSchema<"multi_select", undefined>;
|
|
1525
|
+
readonly options: v.ArraySchema<v.ObjectSchema<{
|
|
1526
|
+
readonly id: v.StringSchema<undefined>;
|
|
1527
|
+
readonly name: v.StringSchema<undefined>;
|
|
1528
|
+
readonly color: v.OptionalSchema<v.PicklistSchema<["default", "gray", "brown", "orange", "yellow", "green", "blue", "purple", "pink", "red", "gray_background", "brown_background", "orange_background", "yellow_background", "green_background", "blue_background", "purple_background", "pink_background", "red_background", "default_background"], undefined>, undefined>;
|
|
1529
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1530
|
+
}, undefined>, undefined>;
|
|
1531
|
+
}, undefined>, v.ObjectSchema<{
|
|
1532
|
+
readonly name: v.StringSchema<undefined>;
|
|
1533
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1534
|
+
readonly type: v.LiteralSchema<"status", undefined>;
|
|
1535
|
+
readonly options: v.ArraySchema<v.ObjectSchema<{
|
|
1536
|
+
readonly id: v.StringSchema<undefined>;
|
|
1537
|
+
readonly name: v.StringSchema<undefined>;
|
|
1538
|
+
readonly color: v.OptionalSchema<v.PicklistSchema<["default", "gray", "brown", "orange", "yellow", "green", "blue", "purple", "pink", "red", "gray_background", "brown_background", "orange_background", "yellow_background", "green_background", "blue_background", "purple_background", "pink_background", "red_background", "default_background"], undefined>, undefined>;
|
|
1539
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1540
|
+
}, undefined>, undefined>;
|
|
1541
|
+
readonly groups: v.ArraySchema<v.ObjectSchema<{
|
|
1542
|
+
readonly id: v.StringSchema<undefined>;
|
|
1543
|
+
readonly name: v.StringSchema<undefined>;
|
|
1544
|
+
readonly color: v.OptionalSchema<v.PicklistSchema<["default", "gray", "brown", "orange", "yellow", "green", "blue", "purple", "pink", "red", "gray_background", "brown_background", "orange_background", "yellow_background", "green_background", "blue_background", "purple_background", "pink_background", "red_background", "default_background"], undefined>, undefined>;
|
|
1545
|
+
readonly option_ids: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
1546
|
+
}, undefined>, undefined>;
|
|
1547
|
+
}, undefined>, v.ObjectSchema<{
|
|
1548
|
+
readonly name: v.StringSchema<undefined>;
|
|
1549
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1550
|
+
readonly type: v.LiteralSchema<"date", undefined>;
|
|
1551
|
+
}, undefined>, v.ObjectSchema<{
|
|
1552
|
+
readonly name: v.StringSchema<undefined>;
|
|
1553
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1554
|
+
readonly type: v.LiteralSchema<"people", undefined>;
|
|
1555
|
+
}, undefined>, v.ObjectSchema<{
|
|
1556
|
+
readonly name: v.StringSchema<undefined>;
|
|
1557
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1558
|
+
readonly type: v.LiteralSchema<"files", undefined>;
|
|
1559
|
+
}, undefined>, v.ObjectSchema<{
|
|
1560
|
+
readonly name: v.StringSchema<undefined>;
|
|
1561
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1562
|
+
readonly type: v.LiteralSchema<"unique_id", undefined>;
|
|
1563
|
+
}, undefined>, v.ObjectSchema<{
|
|
1564
|
+
readonly name: v.StringSchema<undefined>;
|
|
1565
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1566
|
+
readonly type: v.LiteralSchema<"relation", undefined>;
|
|
1567
|
+
readonly data_source_id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1568
|
+
readonly dual_property: v.OptionalSchema<v.ObjectSchema<{
|
|
1569
|
+
readonly synced_property_id: v.StringSchema<undefined>;
|
|
1570
|
+
readonly synced_property_name: v.StringSchema<undefined>;
|
|
1571
|
+
}, undefined>, undefined>;
|
|
1572
|
+
}, undefined>, v.ObjectSchema<{
|
|
1573
|
+
readonly name: v.StringSchema<undefined>;
|
|
1574
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1575
|
+
readonly type: v.LiteralSchema<"place", undefined>;
|
|
1576
|
+
}, undefined>, v.ObjectSchema<{
|
|
1577
|
+
readonly name: v.StringSchema<undefined>;
|
|
1578
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1579
|
+
readonly type: v.LiteralSchema<"formula", undefined>;
|
|
1580
|
+
}, undefined>, v.ObjectSchema<{
|
|
1581
|
+
readonly name: v.StringSchema<undefined>;
|
|
1582
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1583
|
+
readonly type: v.LiteralSchema<"rollup", undefined>;
|
|
1584
|
+
}, undefined>, v.ObjectSchema<{
|
|
1585
|
+
readonly name: v.StringSchema<undefined>;
|
|
1586
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1587
|
+
readonly type: v.LiteralSchema<"button", undefined>;
|
|
1588
|
+
}, undefined>, v.ObjectSchema<{
|
|
1589
|
+
readonly name: v.StringSchema<undefined>;
|
|
1590
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1591
|
+
readonly type: v.LiteralSchema<"verification", undefined>;
|
|
1592
|
+
}, undefined>, v.ObjectSchema<{
|
|
1593
|
+
readonly name: v.StringSchema<undefined>;
|
|
1594
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1595
|
+
readonly type: v.LiteralSchema<"last_visited_time", undefined>;
|
|
1596
|
+
}, undefined>, v.ObjectSchema<{
|
|
1597
|
+
readonly name: v.StringSchema<undefined>;
|
|
1598
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1599
|
+
readonly type: v.LiteralSchema<"location", undefined>;
|
|
1600
|
+
}, undefined>, v.ObjectSchema<{
|
|
1601
|
+
readonly name: v.StringSchema<undefined>;
|
|
1602
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1603
|
+
readonly type: v.LiteralSchema<"created_time", undefined>;
|
|
1604
|
+
}, undefined>, v.ObjectSchema<{
|
|
1605
|
+
readonly name: v.StringSchema<undefined>;
|
|
1606
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1607
|
+
readonly type: v.LiteralSchema<"last_edited_time", undefined>;
|
|
1608
|
+
}, undefined>, v.ObjectSchema<{
|
|
1609
|
+
readonly name: v.StringSchema<undefined>;
|
|
1610
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1611
|
+
readonly type: v.LiteralSchema<"created_by", undefined>;
|
|
1612
|
+
}, undefined>, v.ObjectSchema<{
|
|
1613
|
+
readonly name: v.StringSchema<undefined>;
|
|
1614
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1615
|
+
readonly type: v.LiteralSchema<"last_edited_by", undefined>;
|
|
1616
|
+
}, undefined>], undefined>, undefined>;
|
|
1617
|
+
}, undefined>, undefined>;
|
|
1618
|
+
readonly propertyIdsByKey: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>, undefined>;
|
|
1619
|
+
}, undefined>, undefined>;
|
|
1620
|
+
}, undefined>;
|
|
1621
|
+
readonly currentUser: v.ObjectSchema<{
|
|
1622
|
+
readonly object: v.LiteralSchema<"user", undefined>;
|
|
1623
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionUserId">]>;
|
|
1624
|
+
readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1625
|
+
readonly avatar_url: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1626
|
+
readonly type: v.LiteralSchema<"person", undefined>;
|
|
1627
|
+
readonly person: v.ObjectSchema<{
|
|
1628
|
+
readonly email: v.StringSchema<undefined>;
|
|
1629
|
+
}, undefined>;
|
|
1630
|
+
}, undefined>;
|
|
1631
|
+
}, undefined>, v.ObjectSchema<{
|
|
1632
|
+
readonly type: v.LiteralSchema<"init", undefined>;
|
|
1633
|
+
readonly initializationId: v.StringSchema<undefined>;
|
|
1634
|
+
readonly status: v.LiteralSchema<"error", undefined>;
|
|
1635
|
+
readonly error: v.ObjectSchema<{
|
|
1636
|
+
readonly code: v.StringSchema<undefined>;
|
|
1637
|
+
readonly message: v.StringSchema<undefined>;
|
|
1638
|
+
readonly isRetryable: v.BooleanSchema<undefined>;
|
|
1639
|
+
}, undefined>;
|
|
1640
|
+
}, undefined>], undefined>, v.ObjectSchema<{
|
|
1641
|
+
readonly type: v.LiteralSchema<"themeChanged", undefined>;
|
|
1642
|
+
readonly theme: v.PicklistSchema<["light", "dark"], undefined>;
|
|
1643
|
+
}, undefined>, v.ObjectSchema<{
|
|
1644
|
+
readonly type: v.LiteralSchema<"contrastModeChanged", undefined>;
|
|
1645
|
+
readonly contrastMode: v.PicklistSchema<["standard", "high"], undefined>;
|
|
1646
|
+
}, undefined>, v.ObjectSchema<{
|
|
1647
|
+
readonly type: v.LiteralSchema<"parentChanged", undefined>;
|
|
1648
|
+
readonly parent: v.VariantSchema<"type", [v.ObjectSchema<{
|
|
1649
|
+
readonly type: v.LiteralSchema<"page_id", undefined>;
|
|
1650
|
+
readonly page_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionPageId">]>;
|
|
1651
|
+
}, undefined>, v.ObjectSchema<{
|
|
1652
|
+
readonly type: v.LiteralSchema<"data_source_id", undefined>;
|
|
1653
|
+
readonly data_source_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionDataSourceId">]>;
|
|
1654
|
+
}, undefined>, v.ObjectSchema<{
|
|
1655
|
+
readonly type: v.LiteralSchema<"workspace", undefined>;
|
|
1656
|
+
readonly workspace: v.LiteralSchema<true, undefined>;
|
|
1657
|
+
}, undefined>, v.ObjectSchema<{
|
|
1658
|
+
readonly type: v.LiteralSchema<"block_id", undefined>;
|
|
1659
|
+
readonly block_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionBlockId">]>;
|
|
1660
|
+
}, undefined>, v.ObjectSchema<{
|
|
1661
|
+
readonly type: v.LiteralSchema<"agent_id", undefined>;
|
|
1662
|
+
readonly agent_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionAgentId">]>;
|
|
1663
|
+
}, undefined>, v.ObjectSchema<{
|
|
1664
|
+
readonly type: v.LiteralSchema<"unavailable", undefined>;
|
|
1665
|
+
}, undefined>], undefined>;
|
|
1666
|
+
}, undefined>, v.ObjectSchema<{
|
|
1667
|
+
readonly type: v.LiteralSchema<"pageChanged", undefined>;
|
|
1668
|
+
readonly page: v.VariantSchema<"type", [v.ObjectSchema<{
|
|
1669
|
+
readonly type: v.LiteralSchema<"unavailable", undefined>;
|
|
1670
|
+
}, undefined>, v.ObjectSchema<{
|
|
1671
|
+
readonly type: v.LiteralSchema<"page", undefined>;
|
|
1672
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionPageId">]>;
|
|
1673
|
+
readonly parent: v.VariantSchema<"type", [v.ObjectSchema<{
|
|
1674
|
+
readonly type: v.LiteralSchema<"page_id", undefined>;
|
|
1675
|
+
readonly page_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionPageId">]>;
|
|
1676
|
+
}, undefined>, v.ObjectSchema<{
|
|
1677
|
+
readonly type: v.LiteralSchema<"data_source_id", undefined>;
|
|
1678
|
+
readonly data_source_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionDataSourceId">]>;
|
|
1679
|
+
}, undefined>, v.ObjectSchema<{
|
|
1680
|
+
readonly type: v.LiteralSchema<"workspace", undefined>;
|
|
1681
|
+
readonly workspace: v.LiteralSchema<true, undefined>;
|
|
1682
|
+
}, undefined>, v.ObjectSchema<{
|
|
1683
|
+
readonly type: v.LiteralSchema<"block_id", undefined>;
|
|
1684
|
+
readonly block_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionBlockId">]>;
|
|
1685
|
+
}, undefined>, v.ObjectSchema<{
|
|
1686
|
+
readonly type: v.LiteralSchema<"agent_id", undefined>;
|
|
1687
|
+
readonly agent_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionAgentId">]>;
|
|
1688
|
+
}, undefined>, v.ObjectSchema<{
|
|
1689
|
+
readonly type: v.LiteralSchema<"unavailable", undefined>;
|
|
1690
|
+
}, undefined>], undefined>;
|
|
1691
|
+
}, undefined>], undefined>;
|
|
1692
|
+
}, undefined>, v.ObjectSchema<{
|
|
1693
|
+
readonly type: v.LiteralSchema<"currentUserChanged", undefined>;
|
|
1694
|
+
readonly currentUser: v.ObjectSchema<{
|
|
1695
|
+
readonly object: v.LiteralSchema<"user", undefined>;
|
|
1696
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionUserId">]>;
|
|
1697
|
+
readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1698
|
+
readonly avatar_url: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1699
|
+
readonly type: v.LiteralSchema<"person", undefined>;
|
|
1700
|
+
readonly person: v.ObjectSchema<{
|
|
1701
|
+
readonly email: v.StringSchema<undefined>;
|
|
1702
|
+
}, undefined>;
|
|
1703
|
+
}, undefined>;
|
|
1704
|
+
}, undefined>, v.ObjectSchema<{
|
|
1705
|
+
readonly type: v.LiteralSchema<"dataSourcesChanged", undefined>;
|
|
1706
|
+
readonly dataSources: v.ObjectSchema<{
|
|
1707
|
+
readonly bindings: v.RecordSchema<v.StringSchema<undefined>, v.ObjectSchema<{
|
|
1708
|
+
readonly collectionPointer: v.OptionalSchema<v.ObjectSchema<{
|
|
1709
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionDataSourceId">]>;
|
|
1710
|
+
readonly table: v.StringSchema<undefined>;
|
|
1711
|
+
readonly spaceId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionSpaceId">]>, undefined>;
|
|
1712
|
+
}, undefined>, undefined>;
|
|
1713
|
+
readonly collectionSchema: v.OptionalSchema<v.ObjectSchema<{
|
|
1714
|
+
readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionDataSourceId">]>, undefined>;
|
|
1715
|
+
readonly propertiesById: v.RecordSchema<v.StringSchema<undefined>, v.VariantSchema<"type", [v.ObjectSchema<{
|
|
1716
|
+
readonly name: v.StringSchema<undefined>;
|
|
1717
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1718
|
+
readonly type: v.LiteralSchema<"title", undefined>;
|
|
1719
|
+
}, undefined>, v.ObjectSchema<{
|
|
1720
|
+
readonly name: v.StringSchema<undefined>;
|
|
1721
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1722
|
+
readonly type: v.LiteralSchema<"rich_text", undefined>;
|
|
1723
|
+
}, undefined>, v.ObjectSchema<{
|
|
1724
|
+
readonly name: v.StringSchema<undefined>;
|
|
1725
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1726
|
+
readonly type: v.LiteralSchema<"number", undefined>;
|
|
1727
|
+
}, undefined>, v.ObjectSchema<{
|
|
1728
|
+
readonly name: v.StringSchema<undefined>;
|
|
1729
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1730
|
+
readonly type: v.LiteralSchema<"checkbox", undefined>;
|
|
1731
|
+
}, undefined>, v.ObjectSchema<{
|
|
1732
|
+
readonly name: v.StringSchema<undefined>;
|
|
1733
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1734
|
+
readonly type: v.LiteralSchema<"url", undefined>;
|
|
1735
|
+
}, undefined>, v.ObjectSchema<{
|
|
1736
|
+
readonly name: v.StringSchema<undefined>;
|
|
1737
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1738
|
+
readonly type: v.LiteralSchema<"email", undefined>;
|
|
1739
|
+
}, undefined>, v.ObjectSchema<{
|
|
1740
|
+
readonly name: v.StringSchema<undefined>;
|
|
1741
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1742
|
+
readonly type: v.LiteralSchema<"phone_number", undefined>;
|
|
1743
|
+
}, undefined>, v.ObjectSchema<{
|
|
1744
|
+
readonly name: v.StringSchema<undefined>;
|
|
1745
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1746
|
+
readonly type: v.LiteralSchema<"select", undefined>;
|
|
1747
|
+
readonly options: v.ArraySchema<v.ObjectSchema<{
|
|
1748
|
+
readonly id: v.StringSchema<undefined>;
|
|
1749
|
+
readonly name: v.StringSchema<undefined>;
|
|
1750
|
+
readonly color: v.OptionalSchema<v.PicklistSchema<["default", "gray", "brown", "orange", "yellow", "green", "blue", "purple", "pink", "red", "gray_background", "brown_background", "orange_background", "yellow_background", "green_background", "blue_background", "purple_background", "pink_background", "red_background", "default_background"], undefined>, undefined>;
|
|
1751
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1752
|
+
}, undefined>, undefined>;
|
|
1753
|
+
}, undefined>, v.ObjectSchema<{
|
|
1754
|
+
readonly name: v.StringSchema<undefined>;
|
|
1755
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1756
|
+
readonly type: v.LiteralSchema<"multi_select", undefined>;
|
|
1757
|
+
readonly options: v.ArraySchema<v.ObjectSchema<{
|
|
1758
|
+
readonly id: v.StringSchema<undefined>;
|
|
1759
|
+
readonly name: v.StringSchema<undefined>;
|
|
1760
|
+
readonly color: v.OptionalSchema<v.PicklistSchema<["default", "gray", "brown", "orange", "yellow", "green", "blue", "purple", "pink", "red", "gray_background", "brown_background", "orange_background", "yellow_background", "green_background", "blue_background", "purple_background", "pink_background", "red_background", "default_background"], undefined>, undefined>;
|
|
1761
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1762
|
+
}, undefined>, undefined>;
|
|
1763
|
+
}, undefined>, v.ObjectSchema<{
|
|
1764
|
+
readonly name: v.StringSchema<undefined>;
|
|
1765
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1766
|
+
readonly type: v.LiteralSchema<"status", undefined>;
|
|
1767
|
+
readonly options: v.ArraySchema<v.ObjectSchema<{
|
|
1768
|
+
readonly id: v.StringSchema<undefined>;
|
|
1769
|
+
readonly name: v.StringSchema<undefined>;
|
|
1770
|
+
readonly color: v.OptionalSchema<v.PicklistSchema<["default", "gray", "brown", "orange", "yellow", "green", "blue", "purple", "pink", "red", "gray_background", "brown_background", "orange_background", "yellow_background", "green_background", "blue_background", "purple_background", "pink_background", "red_background", "default_background"], undefined>, undefined>;
|
|
1771
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1772
|
+
}, undefined>, undefined>;
|
|
1773
|
+
readonly groups: v.ArraySchema<v.ObjectSchema<{
|
|
1774
|
+
readonly id: v.StringSchema<undefined>;
|
|
1775
|
+
readonly name: v.StringSchema<undefined>;
|
|
1776
|
+
readonly color: v.OptionalSchema<v.PicklistSchema<["default", "gray", "brown", "orange", "yellow", "green", "blue", "purple", "pink", "red", "gray_background", "brown_background", "orange_background", "yellow_background", "green_background", "blue_background", "purple_background", "pink_background", "red_background", "default_background"], undefined>, undefined>;
|
|
1777
|
+
readonly option_ids: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
1778
|
+
}, undefined>, undefined>;
|
|
1779
|
+
}, undefined>, v.ObjectSchema<{
|
|
1780
|
+
readonly name: v.StringSchema<undefined>;
|
|
1781
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1782
|
+
readonly type: v.LiteralSchema<"date", undefined>;
|
|
1783
|
+
}, undefined>, v.ObjectSchema<{
|
|
1784
|
+
readonly name: v.StringSchema<undefined>;
|
|
1785
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1786
|
+
readonly type: v.LiteralSchema<"people", undefined>;
|
|
1787
|
+
}, undefined>, v.ObjectSchema<{
|
|
1788
|
+
readonly name: v.StringSchema<undefined>;
|
|
1789
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1790
|
+
readonly type: v.LiteralSchema<"files", undefined>;
|
|
1791
|
+
}, undefined>, v.ObjectSchema<{
|
|
1792
|
+
readonly name: v.StringSchema<undefined>;
|
|
1793
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1794
|
+
readonly type: v.LiteralSchema<"unique_id", undefined>;
|
|
1795
|
+
}, undefined>, v.ObjectSchema<{
|
|
1796
|
+
readonly name: v.StringSchema<undefined>;
|
|
1797
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1798
|
+
readonly type: v.LiteralSchema<"relation", undefined>;
|
|
1799
|
+
readonly data_source_id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1800
|
+
readonly dual_property: v.OptionalSchema<v.ObjectSchema<{
|
|
1801
|
+
readonly synced_property_id: v.StringSchema<undefined>;
|
|
1802
|
+
readonly synced_property_name: v.StringSchema<undefined>;
|
|
1803
|
+
}, undefined>, undefined>;
|
|
1804
|
+
}, undefined>, v.ObjectSchema<{
|
|
1805
|
+
readonly name: v.StringSchema<undefined>;
|
|
1806
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1807
|
+
readonly type: v.LiteralSchema<"place", undefined>;
|
|
1808
|
+
}, undefined>, v.ObjectSchema<{
|
|
1809
|
+
readonly name: v.StringSchema<undefined>;
|
|
1810
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1811
|
+
readonly type: v.LiteralSchema<"formula", undefined>;
|
|
1812
|
+
}, undefined>, v.ObjectSchema<{
|
|
1813
|
+
readonly name: v.StringSchema<undefined>;
|
|
1814
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1815
|
+
readonly type: v.LiteralSchema<"rollup", undefined>;
|
|
1816
|
+
}, undefined>, v.ObjectSchema<{
|
|
1817
|
+
readonly name: v.StringSchema<undefined>;
|
|
1818
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1819
|
+
readonly type: v.LiteralSchema<"button", undefined>;
|
|
1820
|
+
}, undefined>, v.ObjectSchema<{
|
|
1821
|
+
readonly name: v.StringSchema<undefined>;
|
|
1822
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1823
|
+
readonly type: v.LiteralSchema<"verification", undefined>;
|
|
1824
|
+
}, undefined>, v.ObjectSchema<{
|
|
1825
|
+
readonly name: v.StringSchema<undefined>;
|
|
1826
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1827
|
+
readonly type: v.LiteralSchema<"last_visited_time", undefined>;
|
|
1828
|
+
}, undefined>, v.ObjectSchema<{
|
|
1829
|
+
readonly name: v.StringSchema<undefined>;
|
|
1830
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1831
|
+
readonly type: v.LiteralSchema<"location", undefined>;
|
|
1832
|
+
}, undefined>, v.ObjectSchema<{
|
|
1833
|
+
readonly name: v.StringSchema<undefined>;
|
|
1834
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1835
|
+
readonly type: v.LiteralSchema<"created_time", undefined>;
|
|
1836
|
+
}, undefined>, v.ObjectSchema<{
|
|
1837
|
+
readonly name: v.StringSchema<undefined>;
|
|
1838
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1839
|
+
readonly type: v.LiteralSchema<"last_edited_time", undefined>;
|
|
1840
|
+
}, undefined>, v.ObjectSchema<{
|
|
1841
|
+
readonly name: v.StringSchema<undefined>;
|
|
1842
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1843
|
+
readonly type: v.LiteralSchema<"created_by", undefined>;
|
|
1844
|
+
}, undefined>, v.ObjectSchema<{
|
|
1845
|
+
readonly name: v.StringSchema<undefined>;
|
|
1846
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1847
|
+
readonly type: v.LiteralSchema<"last_edited_by", undefined>;
|
|
1848
|
+
}, undefined>], undefined>, undefined>;
|
|
1849
|
+
}, undefined>, undefined>;
|
|
1850
|
+
readonly propertyIdsByKey: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>, undefined>;
|
|
1851
|
+
}, undefined>, undefined>;
|
|
1852
|
+
}, undefined>;
|
|
1853
|
+
}, undefined>, v.VariantSchema<"status", [v.ObjectSchema<{
|
|
1854
|
+
readonly type: v.LiteralSchema<"createPageResult", undefined>;
|
|
1855
|
+
readonly requestId: v.StringSchema<undefined>;
|
|
1856
|
+
readonly status: v.LiteralSchema<"success", undefined>;
|
|
1857
|
+
readonly page: v.ObjectSchema<{
|
|
1858
|
+
readonly object: v.LiteralSchema<"page", undefined>;
|
|
1859
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionPageId">]>;
|
|
1860
|
+
readonly parent: v.VariantSchema<"type", [v.ObjectSchema<{
|
|
1861
|
+
readonly type: v.LiteralSchema<"page_id", undefined>;
|
|
1862
|
+
readonly page_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionPageId">]>;
|
|
1863
|
+
}, undefined>, v.ObjectSchema<{
|
|
1864
|
+
readonly type: v.LiteralSchema<"data_source_id", undefined>;
|
|
1865
|
+
readonly data_source_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionDataSourceId">]>;
|
|
1866
|
+
}, undefined>, v.ObjectSchema<{
|
|
1867
|
+
readonly type: v.LiteralSchema<"workspace", undefined>;
|
|
1868
|
+
readonly workspace: v.LiteralSchema<true, undefined>;
|
|
1869
|
+
}, undefined>, v.ObjectSchema<{
|
|
1870
|
+
readonly type: v.LiteralSchema<"block_id", undefined>;
|
|
1871
|
+
readonly block_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionBlockId">]>;
|
|
1872
|
+
}, undefined>, v.ObjectSchema<{
|
|
1873
|
+
readonly type: v.LiteralSchema<"agent_id", undefined>;
|
|
1874
|
+
readonly agent_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionAgentId">]>;
|
|
1875
|
+
}, undefined>, v.ObjectSchema<{
|
|
1876
|
+
readonly type: v.LiteralSchema<"unavailable", undefined>;
|
|
1877
|
+
}, undefined>], undefined>;
|
|
1878
|
+
readonly properties: v.RecordSchema<v.StringSchema<undefined>, v.VariantSchema<"type", [v.ObjectSchema<{
|
|
1879
|
+
readonly id: v.StringSchema<undefined>;
|
|
1880
|
+
readonly type: v.LiteralSchema<"title", undefined>;
|
|
1881
|
+
readonly title: v.ArraySchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
1882
|
+
}, undefined>, v.ObjectSchema<{
|
|
1883
|
+
readonly id: v.StringSchema<undefined>;
|
|
1884
|
+
readonly type: v.LiteralSchema<"rich_text", undefined>;
|
|
1885
|
+
readonly rich_text: v.ArraySchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
1886
|
+
}, undefined>, v.ObjectSchema<{
|
|
1887
|
+
readonly id: v.StringSchema<undefined>;
|
|
1888
|
+
readonly type: v.LiteralSchema<"number", undefined>;
|
|
1889
|
+
readonly number: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
1890
|
+
}, undefined>, v.ObjectSchema<{
|
|
1891
|
+
readonly id: v.StringSchema<undefined>;
|
|
1892
|
+
readonly type: v.LiteralSchema<"url", undefined>;
|
|
1893
|
+
readonly url: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1894
|
+
}, undefined>, v.ObjectSchema<{
|
|
1895
|
+
readonly id: v.StringSchema<undefined>;
|
|
1896
|
+
readonly type: v.LiteralSchema<"email", undefined>;
|
|
1897
|
+
readonly email: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1898
|
+
}, undefined>, v.ObjectSchema<{
|
|
1899
|
+
readonly id: v.StringSchema<undefined>;
|
|
1900
|
+
readonly type: v.LiteralSchema<"phone_number", undefined>;
|
|
1901
|
+
readonly phone_number: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1902
|
+
}, undefined>, v.ObjectSchema<{
|
|
1903
|
+
readonly id: v.StringSchema<undefined>;
|
|
1904
|
+
readonly type: v.LiteralSchema<"checkbox", undefined>;
|
|
1905
|
+
readonly checkbox: v.BooleanSchema<undefined>;
|
|
1906
|
+
}, undefined>, v.ObjectSchema<{
|
|
1907
|
+
readonly id: v.StringSchema<undefined>;
|
|
1908
|
+
readonly type: v.LiteralSchema<"select", undefined>;
|
|
1909
|
+
readonly select: v.NullableSchema<v.UnionSchema<[v.ObjectSchema<{
|
|
1910
|
+
readonly id: v.StringSchema<undefined>;
|
|
1911
|
+
readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1912
|
+
readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1913
|
+
readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1914
|
+
}, undefined>, v.ObjectSchema<{
|
|
1915
|
+
readonly name: v.StringSchema<undefined>;
|
|
1916
|
+
readonly id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1917
|
+
readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1918
|
+
readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1919
|
+
}, undefined>], undefined>, undefined>;
|
|
1920
|
+
}, undefined>, v.ObjectSchema<{
|
|
1921
|
+
readonly id: v.StringSchema<undefined>;
|
|
1922
|
+
readonly type: v.LiteralSchema<"status", undefined>;
|
|
1923
|
+
readonly status: v.NullableSchema<v.UnionSchema<[v.ObjectSchema<{
|
|
1924
|
+
readonly id: v.StringSchema<undefined>;
|
|
1925
|
+
readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1926
|
+
readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1927
|
+
readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1928
|
+
}, undefined>, v.ObjectSchema<{
|
|
1929
|
+
readonly name: v.StringSchema<undefined>;
|
|
1930
|
+
readonly id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1931
|
+
readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1932
|
+
readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1933
|
+
}, undefined>], undefined>, undefined>;
|
|
1934
|
+
}, undefined>, v.ObjectSchema<{
|
|
1935
|
+
readonly id: v.StringSchema<undefined>;
|
|
1936
|
+
readonly type: v.LiteralSchema<"multi_select", undefined>;
|
|
1937
|
+
readonly multi_select: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
|
|
1938
|
+
readonly id: v.StringSchema<undefined>;
|
|
1939
|
+
readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1940
|
+
readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1941
|
+
readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1942
|
+
}, undefined>, v.ObjectSchema<{
|
|
1943
|
+
readonly name: v.StringSchema<undefined>;
|
|
1944
|
+
readonly id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1945
|
+
readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1946
|
+
readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1947
|
+
}, undefined>], undefined>, undefined>;
|
|
1948
|
+
}, undefined>, v.ObjectSchema<{
|
|
1949
|
+
readonly id: v.StringSchema<undefined>;
|
|
1950
|
+
readonly type: v.LiteralSchema<"date", undefined>;
|
|
1951
|
+
readonly date: v.NullableSchema<v.ObjectSchema<{
|
|
1952
|
+
readonly start: v.StringSchema<undefined>;
|
|
1953
|
+
readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1954
|
+
readonly time_zone: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1955
|
+
}, undefined>, undefined>;
|
|
1956
|
+
}, undefined>, v.ObjectSchema<{
|
|
1957
|
+
readonly id: v.StringSchema<undefined>;
|
|
1958
|
+
readonly type: v.LiteralSchema<"people", undefined>;
|
|
1959
|
+
readonly people: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
|
|
1960
|
+
readonly object: v.OptionalSchema<v.LiteralSchema<"user", undefined>, undefined>;
|
|
1961
|
+
readonly id: v.StringSchema<undefined>;
|
|
1962
|
+
}, undefined>, v.ObjectSchema<{
|
|
1963
|
+
readonly object: v.LiteralSchema<"group", undefined>;
|
|
1964
|
+
readonly id: v.StringSchema<undefined>;
|
|
1965
|
+
readonly name: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1966
|
+
}, undefined>], undefined>, undefined>;
|
|
1967
|
+
}, undefined>, v.ObjectSchema<{
|
|
1968
|
+
readonly id: v.StringSchema<undefined>;
|
|
1969
|
+
readonly type: v.LiteralSchema<"relation", undefined>;
|
|
1970
|
+
readonly has_more: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1971
|
+
readonly relation: v.ArraySchema<v.ObjectSchema<{
|
|
1972
|
+
readonly id: v.StringSchema<undefined>;
|
|
1973
|
+
}, undefined>, undefined>;
|
|
1974
|
+
}, undefined>, v.ObjectSchema<{
|
|
1975
|
+
readonly id: v.StringSchema<undefined>;
|
|
1976
|
+
readonly type: v.LiteralSchema<"files", undefined>;
|
|
1977
|
+
readonly files: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
|
|
1978
|
+
readonly type: v.LiteralSchema<"external", undefined>;
|
|
1979
|
+
readonly name: v.StringSchema<undefined>;
|
|
1980
|
+
readonly external: v.ObjectSchema<{
|
|
1981
|
+
readonly url: v.StringSchema<undefined>;
|
|
1982
|
+
}, undefined>;
|
|
1983
|
+
}, undefined>, v.ObjectSchema<{
|
|
1984
|
+
readonly type: v.LiteralSchema<"file", undefined>;
|
|
1985
|
+
readonly name: v.StringSchema<undefined>;
|
|
1986
|
+
readonly file: v.ObjectSchema<{
|
|
1987
|
+
readonly url: v.StringSchema<undefined>;
|
|
1988
|
+
readonly expiry_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1989
|
+
}, undefined>;
|
|
1990
|
+
}, undefined>], undefined>, undefined>;
|
|
1991
|
+
}, undefined>, v.ObjectSchema<{
|
|
1992
|
+
readonly id: v.StringSchema<undefined>;
|
|
1993
|
+
readonly type: v.LiteralSchema<"place", undefined>;
|
|
1994
|
+
readonly place: v.NullableSchema<v.ObjectSchema<{
|
|
1995
|
+
readonly lat: v.NumberSchema<undefined>;
|
|
1996
|
+
readonly lon: v.NumberSchema<undefined>;
|
|
1997
|
+
readonly name: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1998
|
+
readonly address: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1999
|
+
readonly aws_place_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2000
|
+
readonly google_place_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2001
|
+
}, undefined>, undefined>;
|
|
2002
|
+
}, undefined>, v.ObjectSchema<{
|
|
2003
|
+
readonly id: v.StringSchema<undefined>;
|
|
2004
|
+
readonly type: v.LiteralSchema<"created_time", undefined>;
|
|
2005
|
+
readonly created_time: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
2006
|
+
}, undefined>, v.ObjectSchema<{
|
|
2007
|
+
readonly id: v.StringSchema<undefined>;
|
|
2008
|
+
readonly type: v.LiteralSchema<"last_edited_time", undefined>;
|
|
2009
|
+
readonly last_edited_time: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
2010
|
+
}, undefined>, v.ObjectSchema<{
|
|
2011
|
+
readonly id: v.StringSchema<undefined>;
|
|
2012
|
+
readonly type: v.LiteralSchema<"created_by", undefined>;
|
|
2013
|
+
readonly created_by: v.NullableSchema<v.ObjectSchema<{
|
|
2014
|
+
readonly id: v.StringSchema<undefined>;
|
|
2015
|
+
readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
|
|
2016
|
+
readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2017
|
+
}, undefined>, undefined>;
|
|
2018
|
+
}, undefined>, v.ObjectSchema<{
|
|
2019
|
+
readonly id: v.StringSchema<undefined>;
|
|
2020
|
+
readonly type: v.LiteralSchema<"last_edited_by", undefined>;
|
|
2021
|
+
readonly last_edited_by: v.NullableSchema<v.ObjectSchema<{
|
|
2022
|
+
readonly id: v.StringSchema<undefined>;
|
|
2023
|
+
readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
|
|
2024
|
+
readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2025
|
+
}, undefined>, undefined>;
|
|
2026
|
+
}, undefined>, v.ObjectSchema<{
|
|
2027
|
+
readonly id: v.StringSchema<undefined>;
|
|
2028
|
+
readonly type: v.LiteralSchema<"last_visited_time", undefined>;
|
|
2029
|
+
readonly last_visited_time: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
2030
|
+
}, undefined>], undefined>, undefined>;
|
|
2031
|
+
readonly created_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2032
|
+
readonly last_edited_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2033
|
+
readonly icon: v.OptionalSchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
2034
|
+
readonly type: v.LiteralSchema<"emoji", undefined>;
|
|
2035
|
+
readonly emoji: v.StringSchema<undefined>;
|
|
2036
|
+
}, undefined>, v.ObjectSchema<{
|
|
2037
|
+
readonly type: v.LiteralSchema<"custom_emoji", undefined>;
|
|
2038
|
+
readonly custom_emoji: v.ObjectSchema<{
|
|
2039
|
+
readonly id: v.StringSchema<undefined>;
|
|
2040
|
+
readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2041
|
+
readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2042
|
+
}, undefined>;
|
|
2043
|
+
}, undefined>, v.ObjectSchema<{
|
|
2044
|
+
readonly type: v.LiteralSchema<"external", undefined>;
|
|
2045
|
+
readonly external: v.ObjectSchema<{
|
|
2046
|
+
readonly url: v.StringSchema<undefined>;
|
|
2047
|
+
}, undefined>;
|
|
2048
|
+
}, undefined>, v.ObjectSchema<{
|
|
2049
|
+
readonly type: v.LiteralSchema<"file", undefined>;
|
|
2050
|
+
readonly file: v.ObjectSchema<{
|
|
2051
|
+
readonly url: v.StringSchema<undefined>;
|
|
2052
|
+
readonly expiry_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2053
|
+
}, undefined>;
|
|
2054
|
+
}, undefined>], undefined>, undefined>;
|
|
2055
|
+
readonly cover: v.OptionalSchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
2056
|
+
readonly type: v.LiteralSchema<"external", undefined>;
|
|
2057
|
+
readonly external: v.ObjectSchema<{
|
|
2058
|
+
readonly url: v.StringSchema<undefined>;
|
|
2059
|
+
}, undefined>;
|
|
2060
|
+
}, undefined>, v.ObjectSchema<{
|
|
2061
|
+
readonly type: v.LiteralSchema<"file", undefined>;
|
|
2062
|
+
readonly file: v.ObjectSchema<{
|
|
2063
|
+
readonly url: v.StringSchema<undefined>;
|
|
2064
|
+
readonly expiry_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2065
|
+
}, undefined>;
|
|
2066
|
+
}, undefined>], undefined>, undefined>;
|
|
2067
|
+
readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2068
|
+
readonly public_url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2069
|
+
readonly is_archived: v.BooleanSchema<undefined>;
|
|
2070
|
+
readonly in_trash: v.BooleanSchema<undefined>;
|
|
2071
|
+
}, undefined>;
|
|
2072
|
+
}, undefined>, v.ObjectSchema<{
|
|
2073
|
+
readonly type: v.LiteralSchema<"createPageResult", undefined>;
|
|
2074
|
+
readonly requestId: v.StringSchema<undefined>;
|
|
2075
|
+
readonly status: v.LiteralSchema<"error", undefined>;
|
|
2076
|
+
readonly error: v.ObjectSchema<{
|
|
2077
|
+
readonly code: v.StringSchema<undefined>;
|
|
2078
|
+
readonly message: v.StringSchema<undefined>;
|
|
2079
|
+
readonly isRetryable: v.BooleanSchema<undefined>;
|
|
2080
|
+
}, undefined>;
|
|
2081
|
+
}, undefined>], undefined>, v.VariantSchema<"status", [v.ObjectSchema<{
|
|
2082
|
+
readonly type: v.LiteralSchema<"getPageResult", undefined>;
|
|
2083
|
+
readonly requestId: v.StringSchema<undefined>;
|
|
2084
|
+
readonly status: v.LiteralSchema<"success", undefined>;
|
|
2085
|
+
readonly page: v.ObjectSchema<{
|
|
2086
|
+
readonly object: v.LiteralSchema<"page", undefined>;
|
|
2087
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionPageId">]>;
|
|
2088
|
+
readonly parent: v.VariantSchema<"type", [v.ObjectSchema<{
|
|
2089
|
+
readonly type: v.LiteralSchema<"page_id", undefined>;
|
|
2090
|
+
readonly page_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionPageId">]>;
|
|
2091
|
+
}, undefined>, v.ObjectSchema<{
|
|
2092
|
+
readonly type: v.LiteralSchema<"data_source_id", undefined>;
|
|
2093
|
+
readonly data_source_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionDataSourceId">]>;
|
|
2094
|
+
}, undefined>, v.ObjectSchema<{
|
|
2095
|
+
readonly type: v.LiteralSchema<"workspace", undefined>;
|
|
2096
|
+
readonly workspace: v.LiteralSchema<true, undefined>;
|
|
2097
|
+
}, undefined>, v.ObjectSchema<{
|
|
2098
|
+
readonly type: v.LiteralSchema<"block_id", undefined>;
|
|
2099
|
+
readonly block_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionBlockId">]>;
|
|
2100
|
+
}, undefined>, v.ObjectSchema<{
|
|
2101
|
+
readonly type: v.LiteralSchema<"agent_id", undefined>;
|
|
2102
|
+
readonly agent_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionAgentId">]>;
|
|
2103
|
+
}, undefined>, v.ObjectSchema<{
|
|
2104
|
+
readonly type: v.LiteralSchema<"unavailable", undefined>;
|
|
2105
|
+
}, undefined>], undefined>;
|
|
2106
|
+
readonly properties: v.RecordSchema<v.StringSchema<undefined>, v.VariantSchema<"type", [v.ObjectSchema<{
|
|
2107
|
+
readonly id: v.StringSchema<undefined>;
|
|
2108
|
+
readonly type: v.LiteralSchema<"title", undefined>;
|
|
2109
|
+
readonly title: v.ArraySchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
2110
|
+
}, undefined>, v.ObjectSchema<{
|
|
2111
|
+
readonly id: v.StringSchema<undefined>;
|
|
2112
|
+
readonly type: v.LiteralSchema<"rich_text", undefined>;
|
|
2113
|
+
readonly rich_text: v.ArraySchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
2114
|
+
}, undefined>, v.ObjectSchema<{
|
|
2115
|
+
readonly id: v.StringSchema<undefined>;
|
|
2116
|
+
readonly type: v.LiteralSchema<"number", undefined>;
|
|
2117
|
+
readonly number: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
2118
|
+
}, undefined>, v.ObjectSchema<{
|
|
2119
|
+
readonly id: v.StringSchema<undefined>;
|
|
2120
|
+
readonly type: v.LiteralSchema<"url", undefined>;
|
|
2121
|
+
readonly url: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
2122
|
+
}, undefined>, v.ObjectSchema<{
|
|
2123
|
+
readonly id: v.StringSchema<undefined>;
|
|
2124
|
+
readonly type: v.LiteralSchema<"email", undefined>;
|
|
2125
|
+
readonly email: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
2126
|
+
}, undefined>, v.ObjectSchema<{
|
|
2127
|
+
readonly id: v.StringSchema<undefined>;
|
|
2128
|
+
readonly type: v.LiteralSchema<"phone_number", undefined>;
|
|
2129
|
+
readonly phone_number: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
2130
|
+
}, undefined>, v.ObjectSchema<{
|
|
2131
|
+
readonly id: v.StringSchema<undefined>;
|
|
2132
|
+
readonly type: v.LiteralSchema<"checkbox", undefined>;
|
|
2133
|
+
readonly checkbox: v.BooleanSchema<undefined>;
|
|
2134
|
+
}, undefined>, v.ObjectSchema<{
|
|
2135
|
+
readonly id: v.StringSchema<undefined>;
|
|
2136
|
+
readonly type: v.LiteralSchema<"select", undefined>;
|
|
2137
|
+
readonly select: v.NullableSchema<v.UnionSchema<[v.ObjectSchema<{
|
|
2138
|
+
readonly id: v.StringSchema<undefined>;
|
|
2139
|
+
readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2140
|
+
readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2141
|
+
readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2142
|
+
}, undefined>, v.ObjectSchema<{
|
|
2143
|
+
readonly name: v.StringSchema<undefined>;
|
|
2144
|
+
readonly id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2145
|
+
readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2146
|
+
readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2147
|
+
}, undefined>], undefined>, undefined>;
|
|
2148
|
+
}, undefined>, v.ObjectSchema<{
|
|
2149
|
+
readonly id: v.StringSchema<undefined>;
|
|
2150
|
+
readonly type: v.LiteralSchema<"status", undefined>;
|
|
2151
|
+
readonly status: v.NullableSchema<v.UnionSchema<[v.ObjectSchema<{
|
|
2152
|
+
readonly id: v.StringSchema<undefined>;
|
|
2153
|
+
readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2154
|
+
readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2155
|
+
readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2156
|
+
}, undefined>, v.ObjectSchema<{
|
|
2157
|
+
readonly name: v.StringSchema<undefined>;
|
|
2158
|
+
readonly id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2159
|
+
readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2160
|
+
readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2161
|
+
}, undefined>], undefined>, undefined>;
|
|
2162
|
+
}, undefined>, v.ObjectSchema<{
|
|
2163
|
+
readonly id: v.StringSchema<undefined>;
|
|
2164
|
+
readonly type: v.LiteralSchema<"multi_select", undefined>;
|
|
2165
|
+
readonly multi_select: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
|
|
2166
|
+
readonly id: v.StringSchema<undefined>;
|
|
2167
|
+
readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2168
|
+
readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2169
|
+
readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2170
|
+
}, undefined>, v.ObjectSchema<{
|
|
2171
|
+
readonly name: v.StringSchema<undefined>;
|
|
2172
|
+
readonly id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2173
|
+
readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2174
|
+
readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2175
|
+
}, undefined>], undefined>, undefined>;
|
|
2176
|
+
}, undefined>, v.ObjectSchema<{
|
|
2177
|
+
readonly id: v.StringSchema<undefined>;
|
|
2178
|
+
readonly type: v.LiteralSchema<"date", undefined>;
|
|
2179
|
+
readonly date: v.NullableSchema<v.ObjectSchema<{
|
|
2180
|
+
readonly start: v.StringSchema<undefined>;
|
|
2181
|
+
readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2182
|
+
readonly time_zone: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2183
|
+
}, undefined>, undefined>;
|
|
2184
|
+
}, undefined>, v.ObjectSchema<{
|
|
2185
|
+
readonly id: v.StringSchema<undefined>;
|
|
2186
|
+
readonly type: v.LiteralSchema<"people", undefined>;
|
|
2187
|
+
readonly people: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
|
|
2188
|
+
readonly object: v.OptionalSchema<v.LiteralSchema<"user", undefined>, undefined>;
|
|
2189
|
+
readonly id: v.StringSchema<undefined>;
|
|
2190
|
+
}, undefined>, v.ObjectSchema<{
|
|
2191
|
+
readonly object: v.LiteralSchema<"group", undefined>;
|
|
2192
|
+
readonly id: v.StringSchema<undefined>;
|
|
2193
|
+
readonly name: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2194
|
+
}, undefined>], undefined>, undefined>;
|
|
2195
|
+
}, undefined>, v.ObjectSchema<{
|
|
2196
|
+
readonly id: v.StringSchema<undefined>;
|
|
2197
|
+
readonly type: v.LiteralSchema<"relation", undefined>;
|
|
2198
|
+
readonly has_more: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
2199
|
+
readonly relation: v.ArraySchema<v.ObjectSchema<{
|
|
2200
|
+
readonly id: v.StringSchema<undefined>;
|
|
2201
|
+
}, undefined>, undefined>;
|
|
2202
|
+
}, undefined>, v.ObjectSchema<{
|
|
2203
|
+
readonly id: v.StringSchema<undefined>;
|
|
2204
|
+
readonly type: v.LiteralSchema<"files", undefined>;
|
|
2205
|
+
readonly files: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
|
|
2206
|
+
readonly type: v.LiteralSchema<"external", undefined>;
|
|
2207
|
+
readonly name: v.StringSchema<undefined>;
|
|
2208
|
+
readonly external: v.ObjectSchema<{
|
|
2209
|
+
readonly url: v.StringSchema<undefined>;
|
|
2210
|
+
}, undefined>;
|
|
2211
|
+
}, undefined>, v.ObjectSchema<{
|
|
2212
|
+
readonly type: v.LiteralSchema<"file", undefined>;
|
|
2213
|
+
readonly name: v.StringSchema<undefined>;
|
|
2214
|
+
readonly file: v.ObjectSchema<{
|
|
2215
|
+
readonly url: v.StringSchema<undefined>;
|
|
2216
|
+
readonly expiry_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2217
|
+
}, undefined>;
|
|
2218
|
+
}, undefined>], undefined>, undefined>;
|
|
2219
|
+
}, undefined>, v.ObjectSchema<{
|
|
2220
|
+
readonly id: v.StringSchema<undefined>;
|
|
2221
|
+
readonly type: v.LiteralSchema<"place", undefined>;
|
|
2222
|
+
readonly place: v.NullableSchema<v.ObjectSchema<{
|
|
2223
|
+
readonly lat: v.NumberSchema<undefined>;
|
|
2224
|
+
readonly lon: v.NumberSchema<undefined>;
|
|
2225
|
+
readonly name: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2226
|
+
readonly address: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2227
|
+
readonly aws_place_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2228
|
+
readonly google_place_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2229
|
+
}, undefined>, undefined>;
|
|
2230
|
+
}, undefined>, v.ObjectSchema<{
|
|
2231
|
+
readonly id: v.StringSchema<undefined>;
|
|
2232
|
+
readonly type: v.LiteralSchema<"created_time", undefined>;
|
|
2233
|
+
readonly created_time: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
2234
|
+
}, undefined>, v.ObjectSchema<{
|
|
2235
|
+
readonly id: v.StringSchema<undefined>;
|
|
2236
|
+
readonly type: v.LiteralSchema<"last_edited_time", undefined>;
|
|
2237
|
+
readonly last_edited_time: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
2238
|
+
}, undefined>, v.ObjectSchema<{
|
|
2239
|
+
readonly id: v.StringSchema<undefined>;
|
|
2240
|
+
readonly type: v.LiteralSchema<"created_by", undefined>;
|
|
2241
|
+
readonly created_by: v.NullableSchema<v.ObjectSchema<{
|
|
2242
|
+
readonly id: v.StringSchema<undefined>;
|
|
2243
|
+
readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
|
|
2244
|
+
readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2245
|
+
}, undefined>, undefined>;
|
|
2246
|
+
}, undefined>, v.ObjectSchema<{
|
|
2247
|
+
readonly id: v.StringSchema<undefined>;
|
|
2248
|
+
readonly type: v.LiteralSchema<"last_edited_by", undefined>;
|
|
2249
|
+
readonly last_edited_by: v.NullableSchema<v.ObjectSchema<{
|
|
2250
|
+
readonly id: v.StringSchema<undefined>;
|
|
2251
|
+
readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
|
|
2252
|
+
readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2253
|
+
}, undefined>, undefined>;
|
|
2254
|
+
}, undefined>, v.ObjectSchema<{
|
|
2255
|
+
readonly id: v.StringSchema<undefined>;
|
|
2256
|
+
readonly type: v.LiteralSchema<"last_visited_time", undefined>;
|
|
2257
|
+
readonly last_visited_time: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
2258
|
+
}, undefined>], undefined>, undefined>;
|
|
2259
|
+
readonly created_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2260
|
+
readonly last_edited_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2261
|
+
readonly icon: v.OptionalSchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
2262
|
+
readonly type: v.LiteralSchema<"emoji", undefined>;
|
|
2263
|
+
readonly emoji: v.StringSchema<undefined>;
|
|
2264
|
+
}, undefined>, v.ObjectSchema<{
|
|
2265
|
+
readonly type: v.LiteralSchema<"custom_emoji", undefined>;
|
|
2266
|
+
readonly custom_emoji: v.ObjectSchema<{
|
|
2267
|
+
readonly id: v.StringSchema<undefined>;
|
|
2268
|
+
readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2269
|
+
readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2270
|
+
}, undefined>;
|
|
2271
|
+
}, undefined>, v.ObjectSchema<{
|
|
2272
|
+
readonly type: v.LiteralSchema<"external", undefined>;
|
|
2273
|
+
readonly external: v.ObjectSchema<{
|
|
2274
|
+
readonly url: v.StringSchema<undefined>;
|
|
2275
|
+
}, undefined>;
|
|
2276
|
+
}, undefined>, v.ObjectSchema<{
|
|
2277
|
+
readonly type: v.LiteralSchema<"file", undefined>;
|
|
2278
|
+
readonly file: v.ObjectSchema<{
|
|
2279
|
+
readonly url: v.StringSchema<undefined>;
|
|
2280
|
+
readonly expiry_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2281
|
+
}, undefined>;
|
|
2282
|
+
}, undefined>], undefined>, undefined>;
|
|
2283
|
+
readonly cover: v.OptionalSchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
2284
|
+
readonly type: v.LiteralSchema<"external", undefined>;
|
|
2285
|
+
readonly external: v.ObjectSchema<{
|
|
2286
|
+
readonly url: v.StringSchema<undefined>;
|
|
2287
|
+
}, undefined>;
|
|
2288
|
+
}, undefined>, v.ObjectSchema<{
|
|
2289
|
+
readonly type: v.LiteralSchema<"file", undefined>;
|
|
2290
|
+
readonly file: v.ObjectSchema<{
|
|
2291
|
+
readonly url: v.StringSchema<undefined>;
|
|
2292
|
+
readonly expiry_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2293
|
+
}, undefined>;
|
|
2294
|
+
}, undefined>], undefined>, undefined>;
|
|
2295
|
+
readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2296
|
+
readonly public_url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2297
|
+
readonly is_archived: v.BooleanSchema<undefined>;
|
|
2298
|
+
readonly in_trash: v.BooleanSchema<undefined>;
|
|
2299
|
+
}, undefined>;
|
|
2300
|
+
}, undefined>, v.ObjectSchema<{
|
|
2301
|
+
readonly type: v.LiteralSchema<"getPageResult", undefined>;
|
|
2302
|
+
readonly requestId: v.StringSchema<undefined>;
|
|
2303
|
+
readonly status: v.LiteralSchema<"error", undefined>;
|
|
2304
|
+
readonly error: v.ObjectSchema<{
|
|
2305
|
+
readonly code: v.StringSchema<undefined>;
|
|
2306
|
+
readonly message: v.StringSchema<undefined>;
|
|
2307
|
+
readonly isRetryable: v.BooleanSchema<undefined>;
|
|
2308
|
+
}, undefined>;
|
|
2309
|
+
}, undefined>], undefined>, v.VariantSchema<"status", [v.ObjectSchema<{
|
|
2310
|
+
readonly type: v.LiteralSchema<"getUserResult", undefined>;
|
|
2311
|
+
readonly requestId: v.StringSchema<undefined>;
|
|
2312
|
+
readonly status: v.LiteralSchema<"success", undefined>;
|
|
2313
|
+
readonly user: v.ObjectSchema<{
|
|
2314
|
+
readonly object: v.LiteralSchema<"user", undefined>;
|
|
2315
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionUserId">]>;
|
|
2316
|
+
readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2317
|
+
readonly avatar_url: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
2318
|
+
readonly type: v.LiteralSchema<"person", undefined>;
|
|
2319
|
+
readonly person: v.ObjectSchema<{
|
|
2320
|
+
readonly email: v.StringSchema<undefined>;
|
|
2321
|
+
}, undefined>;
|
|
2322
|
+
}, undefined>;
|
|
2323
|
+
}, undefined>, v.ObjectSchema<{
|
|
2324
|
+
readonly type: v.LiteralSchema<"getUserResult", undefined>;
|
|
2325
|
+
readonly requestId: v.StringSchema<undefined>;
|
|
2326
|
+
readonly status: v.LiteralSchema<"error", undefined>;
|
|
2327
|
+
readonly error: v.ObjectSchema<{
|
|
2328
|
+
readonly code: v.StringSchema<undefined>;
|
|
2329
|
+
readonly message: v.StringSchema<undefined>;
|
|
2330
|
+
readonly isRetryable: v.BooleanSchema<undefined>;
|
|
2331
|
+
}, undefined>;
|
|
2332
|
+
}, undefined>], undefined>, v.VariantSchema<"status", [v.ObjectSchema<{
|
|
2333
|
+
readonly type: v.LiteralSchema<"listUsersResult", undefined>;
|
|
2334
|
+
readonly requestId: v.StringSchema<undefined>;
|
|
2335
|
+
readonly status: v.LiteralSchema<"success", undefined>;
|
|
2336
|
+
readonly list: v.ObjectSchema<{
|
|
2337
|
+
readonly object: v.LiteralSchema<"list", undefined>;
|
|
2338
|
+
readonly results: v.ArraySchema<v.ObjectSchema<{
|
|
2339
|
+
readonly object: v.LiteralSchema<"user", undefined>;
|
|
2340
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionUserId">]>;
|
|
2341
|
+
readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2342
|
+
readonly avatar_url: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
2343
|
+
readonly type: v.LiteralSchema<"person", undefined>;
|
|
2344
|
+
readonly person: v.ObjectSchema<{
|
|
2345
|
+
readonly email: v.StringSchema<undefined>;
|
|
2346
|
+
}, undefined>;
|
|
2347
|
+
}, undefined>, undefined>;
|
|
2348
|
+
readonly next_cursor: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
2349
|
+
readonly has_more: v.BooleanSchema<undefined>;
|
|
2350
|
+
readonly type: v.LiteralSchema<"user", undefined>;
|
|
2351
|
+
readonly user: v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>;
|
|
2352
|
+
}, undefined>;
|
|
2353
|
+
}, undefined>, v.ObjectSchema<{
|
|
2354
|
+
readonly type: v.LiteralSchema<"listUsersResult", undefined>;
|
|
2355
|
+
readonly requestId: v.StringSchema<undefined>;
|
|
2356
|
+
readonly status: v.LiteralSchema<"error", undefined>;
|
|
2357
|
+
readonly error: v.ObjectSchema<{
|
|
2358
|
+
readonly code: v.StringSchema<undefined>;
|
|
2359
|
+
readonly message: v.StringSchema<undefined>;
|
|
2360
|
+
readonly isRetryable: v.BooleanSchema<undefined>;
|
|
2361
|
+
}, undefined>;
|
|
2362
|
+
}, undefined>], undefined>, v.VariantSchema<"status", [v.ObjectSchema<{
|
|
2363
|
+
readonly type: v.LiteralSchema<"openPageResult", undefined>;
|
|
2364
|
+
readonly requestId: v.StringSchema<undefined>;
|
|
2365
|
+
readonly status: v.LiteralSchema<"success", undefined>;
|
|
2366
|
+
readonly pageId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionPageId">]>;
|
|
2367
|
+
}, undefined>, v.ObjectSchema<{
|
|
2368
|
+
readonly type: v.LiteralSchema<"openPageResult", undefined>;
|
|
2369
|
+
readonly requestId: v.StringSchema<undefined>;
|
|
2370
|
+
readonly status: v.LiteralSchema<"error", undefined>;
|
|
2371
|
+
readonly error: v.ObjectSchema<{
|
|
2372
|
+
readonly code: v.StringSchema<undefined>;
|
|
2373
|
+
readonly message: v.StringSchema<undefined>;
|
|
2374
|
+
readonly isRetryable: v.BooleanSchema<undefined>;
|
|
2375
|
+
}, undefined>;
|
|
2376
|
+
}, undefined>], undefined>, v.VariantSchema<"status", [v.ObjectSchema<{
|
|
2377
|
+
readonly type: v.LiteralSchema<"openExternalUrlResult", undefined>;
|
|
2378
|
+
readonly requestId: v.StringSchema<undefined>;
|
|
2379
|
+
readonly status: v.LiteralSchema<"success", undefined>;
|
|
2380
|
+
}, undefined>, v.ObjectSchema<{
|
|
2381
|
+
readonly type: v.LiteralSchema<"openExternalUrlResult", undefined>;
|
|
2382
|
+
readonly requestId: v.StringSchema<undefined>;
|
|
2383
|
+
readonly status: v.LiteralSchema<"error", undefined>;
|
|
2384
|
+
readonly error: v.ObjectSchema<{
|
|
2385
|
+
readonly code: v.StringSchema<undefined>;
|
|
2386
|
+
readonly message: v.StringSchema<undefined>;
|
|
2387
|
+
readonly isRetryable: v.BooleanSchema<undefined>;
|
|
2388
|
+
}, undefined>;
|
|
2389
|
+
}, undefined>], undefined>, v.VariantSchema<"status", [v.ObjectSchema<{
|
|
2390
|
+
readonly type: v.LiteralSchema<"updatePageResult", undefined>;
|
|
2391
|
+
readonly requestId: v.StringSchema<undefined>;
|
|
2392
|
+
readonly status: v.LiteralSchema<"success", undefined>;
|
|
2393
|
+
readonly page: v.ObjectSchema<{
|
|
2394
|
+
readonly object: v.LiteralSchema<"page", undefined>;
|
|
2395
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionPageId">]>;
|
|
2396
|
+
readonly parent: v.VariantSchema<"type", [v.ObjectSchema<{
|
|
2397
|
+
readonly type: v.LiteralSchema<"page_id", undefined>;
|
|
2398
|
+
readonly page_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionPageId">]>;
|
|
2399
|
+
}, undefined>, v.ObjectSchema<{
|
|
2400
|
+
readonly type: v.LiteralSchema<"data_source_id", undefined>;
|
|
2401
|
+
readonly data_source_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionDataSourceId">]>;
|
|
2402
|
+
}, undefined>, v.ObjectSchema<{
|
|
2403
|
+
readonly type: v.LiteralSchema<"workspace", undefined>;
|
|
2404
|
+
readonly workspace: v.LiteralSchema<true, undefined>;
|
|
2405
|
+
}, undefined>, v.ObjectSchema<{
|
|
2406
|
+
readonly type: v.LiteralSchema<"block_id", undefined>;
|
|
2407
|
+
readonly block_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionBlockId">]>;
|
|
2408
|
+
}, undefined>, v.ObjectSchema<{
|
|
2409
|
+
readonly type: v.LiteralSchema<"agent_id", undefined>;
|
|
2410
|
+
readonly agent_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionAgentId">]>;
|
|
2411
|
+
}, undefined>, v.ObjectSchema<{
|
|
2412
|
+
readonly type: v.LiteralSchema<"unavailable", undefined>;
|
|
2413
|
+
}, undefined>], undefined>;
|
|
2414
|
+
readonly properties: v.RecordSchema<v.StringSchema<undefined>, v.VariantSchema<"type", [v.ObjectSchema<{
|
|
2415
|
+
readonly id: v.StringSchema<undefined>;
|
|
2416
|
+
readonly type: v.LiteralSchema<"title", undefined>;
|
|
2417
|
+
readonly title: v.ArraySchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
2418
|
+
}, undefined>, v.ObjectSchema<{
|
|
2419
|
+
readonly id: v.StringSchema<undefined>;
|
|
2420
|
+
readonly type: v.LiteralSchema<"rich_text", undefined>;
|
|
2421
|
+
readonly rich_text: v.ArraySchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
2422
|
+
}, undefined>, v.ObjectSchema<{
|
|
2423
|
+
readonly id: v.StringSchema<undefined>;
|
|
2424
|
+
readonly type: v.LiteralSchema<"number", undefined>;
|
|
2425
|
+
readonly number: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
2426
|
+
}, undefined>, v.ObjectSchema<{
|
|
2427
|
+
readonly id: v.StringSchema<undefined>;
|
|
2428
|
+
readonly type: v.LiteralSchema<"url", undefined>;
|
|
2429
|
+
readonly url: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
2430
|
+
}, undefined>, v.ObjectSchema<{
|
|
2431
|
+
readonly id: v.StringSchema<undefined>;
|
|
2432
|
+
readonly type: v.LiteralSchema<"email", undefined>;
|
|
2433
|
+
readonly email: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
2434
|
+
}, undefined>, v.ObjectSchema<{
|
|
2435
|
+
readonly id: v.StringSchema<undefined>;
|
|
2436
|
+
readonly type: v.LiteralSchema<"phone_number", undefined>;
|
|
2437
|
+
readonly phone_number: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
2438
|
+
}, undefined>, v.ObjectSchema<{
|
|
2439
|
+
readonly id: v.StringSchema<undefined>;
|
|
2440
|
+
readonly type: v.LiteralSchema<"checkbox", undefined>;
|
|
2441
|
+
readonly checkbox: v.BooleanSchema<undefined>;
|
|
2442
|
+
}, undefined>, v.ObjectSchema<{
|
|
2443
|
+
readonly id: v.StringSchema<undefined>;
|
|
2444
|
+
readonly type: v.LiteralSchema<"select", undefined>;
|
|
2445
|
+
readonly select: v.NullableSchema<v.UnionSchema<[v.ObjectSchema<{
|
|
2446
|
+
readonly id: v.StringSchema<undefined>;
|
|
2447
|
+
readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2448
|
+
readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2449
|
+
readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2450
|
+
}, undefined>, v.ObjectSchema<{
|
|
2451
|
+
readonly name: v.StringSchema<undefined>;
|
|
2452
|
+
readonly id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2453
|
+
readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2454
|
+
readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2455
|
+
}, undefined>], undefined>, undefined>;
|
|
2456
|
+
}, undefined>, v.ObjectSchema<{
|
|
2457
|
+
readonly id: v.StringSchema<undefined>;
|
|
2458
|
+
readonly type: v.LiteralSchema<"status", undefined>;
|
|
2459
|
+
readonly status: v.NullableSchema<v.UnionSchema<[v.ObjectSchema<{
|
|
2460
|
+
readonly id: v.StringSchema<undefined>;
|
|
2461
|
+
readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2462
|
+
readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2463
|
+
readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2464
|
+
}, undefined>, v.ObjectSchema<{
|
|
2465
|
+
readonly name: v.StringSchema<undefined>;
|
|
2466
|
+
readonly id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2467
|
+
readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2468
|
+
readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2469
|
+
}, undefined>], undefined>, undefined>;
|
|
2470
|
+
}, undefined>, v.ObjectSchema<{
|
|
2471
|
+
readonly id: v.StringSchema<undefined>;
|
|
2472
|
+
readonly type: v.LiteralSchema<"multi_select", undefined>;
|
|
2473
|
+
readonly multi_select: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
|
|
2474
|
+
readonly id: v.StringSchema<undefined>;
|
|
2475
|
+
readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2476
|
+
readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2477
|
+
readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2478
|
+
}, undefined>, v.ObjectSchema<{
|
|
2479
|
+
readonly name: v.StringSchema<undefined>;
|
|
2480
|
+
readonly id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2481
|
+
readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2482
|
+
readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2483
|
+
}, undefined>], undefined>, undefined>;
|
|
2484
|
+
}, undefined>, v.ObjectSchema<{
|
|
2485
|
+
readonly id: v.StringSchema<undefined>;
|
|
2486
|
+
readonly type: v.LiteralSchema<"date", undefined>;
|
|
2487
|
+
readonly date: v.NullableSchema<v.ObjectSchema<{
|
|
2488
|
+
readonly start: v.StringSchema<undefined>;
|
|
2489
|
+
readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2490
|
+
readonly time_zone: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2491
|
+
}, undefined>, undefined>;
|
|
2492
|
+
}, undefined>, v.ObjectSchema<{
|
|
2493
|
+
readonly id: v.StringSchema<undefined>;
|
|
2494
|
+
readonly type: v.LiteralSchema<"people", undefined>;
|
|
2495
|
+
readonly people: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
|
|
2496
|
+
readonly object: v.OptionalSchema<v.LiteralSchema<"user", undefined>, undefined>;
|
|
2497
|
+
readonly id: v.StringSchema<undefined>;
|
|
2498
|
+
}, undefined>, v.ObjectSchema<{
|
|
2499
|
+
readonly object: v.LiteralSchema<"group", undefined>;
|
|
2500
|
+
readonly id: v.StringSchema<undefined>;
|
|
2501
|
+
readonly name: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2502
|
+
}, undefined>], undefined>, undefined>;
|
|
2503
|
+
}, undefined>, v.ObjectSchema<{
|
|
2504
|
+
readonly id: v.StringSchema<undefined>;
|
|
2505
|
+
readonly type: v.LiteralSchema<"relation", undefined>;
|
|
2506
|
+
readonly has_more: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
2507
|
+
readonly relation: v.ArraySchema<v.ObjectSchema<{
|
|
2508
|
+
readonly id: v.StringSchema<undefined>;
|
|
2509
|
+
}, undefined>, undefined>;
|
|
2510
|
+
}, undefined>, v.ObjectSchema<{
|
|
2511
|
+
readonly id: v.StringSchema<undefined>;
|
|
2512
|
+
readonly type: v.LiteralSchema<"files", undefined>;
|
|
2513
|
+
readonly files: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
|
|
2514
|
+
readonly type: v.LiteralSchema<"external", undefined>;
|
|
2515
|
+
readonly name: v.StringSchema<undefined>;
|
|
2516
|
+
readonly external: v.ObjectSchema<{
|
|
2517
|
+
readonly url: v.StringSchema<undefined>;
|
|
2518
|
+
}, undefined>;
|
|
2519
|
+
}, undefined>, v.ObjectSchema<{
|
|
2520
|
+
readonly type: v.LiteralSchema<"file", undefined>;
|
|
2521
|
+
readonly name: v.StringSchema<undefined>;
|
|
2522
|
+
readonly file: v.ObjectSchema<{
|
|
2523
|
+
readonly url: v.StringSchema<undefined>;
|
|
2524
|
+
readonly expiry_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2525
|
+
}, undefined>;
|
|
2526
|
+
}, undefined>], undefined>, undefined>;
|
|
2527
|
+
}, undefined>, v.ObjectSchema<{
|
|
2528
|
+
readonly id: v.StringSchema<undefined>;
|
|
2529
|
+
readonly type: v.LiteralSchema<"place", undefined>;
|
|
2530
|
+
readonly place: v.NullableSchema<v.ObjectSchema<{
|
|
2531
|
+
readonly lat: v.NumberSchema<undefined>;
|
|
2532
|
+
readonly lon: v.NumberSchema<undefined>;
|
|
2533
|
+
readonly name: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2534
|
+
readonly address: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2535
|
+
readonly aws_place_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2536
|
+
readonly google_place_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2537
|
+
}, undefined>, undefined>;
|
|
2538
|
+
}, undefined>, v.ObjectSchema<{
|
|
2539
|
+
readonly id: v.StringSchema<undefined>;
|
|
2540
|
+
readonly type: v.LiteralSchema<"created_time", undefined>;
|
|
2541
|
+
readonly created_time: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
2542
|
+
}, undefined>, v.ObjectSchema<{
|
|
2543
|
+
readonly id: v.StringSchema<undefined>;
|
|
2544
|
+
readonly type: v.LiteralSchema<"last_edited_time", undefined>;
|
|
2545
|
+
readonly last_edited_time: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
2546
|
+
}, undefined>, v.ObjectSchema<{
|
|
2547
|
+
readonly id: v.StringSchema<undefined>;
|
|
2548
|
+
readonly type: v.LiteralSchema<"created_by", undefined>;
|
|
2549
|
+
readonly created_by: v.NullableSchema<v.ObjectSchema<{
|
|
2550
|
+
readonly id: v.StringSchema<undefined>;
|
|
2551
|
+
readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
|
|
2552
|
+
readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2553
|
+
}, undefined>, undefined>;
|
|
2554
|
+
}, undefined>, v.ObjectSchema<{
|
|
2555
|
+
readonly id: v.StringSchema<undefined>;
|
|
2556
|
+
readonly type: v.LiteralSchema<"last_edited_by", undefined>;
|
|
2557
|
+
readonly last_edited_by: v.NullableSchema<v.ObjectSchema<{
|
|
2558
|
+
readonly id: v.StringSchema<undefined>;
|
|
2559
|
+
readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
|
|
2560
|
+
readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2561
|
+
}, undefined>, undefined>;
|
|
2562
|
+
}, undefined>, v.ObjectSchema<{
|
|
2563
|
+
readonly id: v.StringSchema<undefined>;
|
|
2564
|
+
readonly type: v.LiteralSchema<"last_visited_time", undefined>;
|
|
2565
|
+
readonly last_visited_time: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
2566
|
+
}, undefined>], undefined>, undefined>;
|
|
2567
|
+
readonly created_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2568
|
+
readonly last_edited_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2569
|
+
readonly icon: v.OptionalSchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
2570
|
+
readonly type: v.LiteralSchema<"emoji", undefined>;
|
|
2571
|
+
readonly emoji: v.StringSchema<undefined>;
|
|
2572
|
+
}, undefined>, v.ObjectSchema<{
|
|
2573
|
+
readonly type: v.LiteralSchema<"custom_emoji", undefined>;
|
|
2574
|
+
readonly custom_emoji: v.ObjectSchema<{
|
|
2575
|
+
readonly id: v.StringSchema<undefined>;
|
|
2576
|
+
readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2577
|
+
readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2578
|
+
}, undefined>;
|
|
2579
|
+
}, undefined>, v.ObjectSchema<{
|
|
2580
|
+
readonly type: v.LiteralSchema<"external", undefined>;
|
|
2581
|
+
readonly external: v.ObjectSchema<{
|
|
2582
|
+
readonly url: v.StringSchema<undefined>;
|
|
2583
|
+
}, undefined>;
|
|
2584
|
+
}, undefined>, v.ObjectSchema<{
|
|
2585
|
+
readonly type: v.LiteralSchema<"file", undefined>;
|
|
2586
|
+
readonly file: v.ObjectSchema<{
|
|
2587
|
+
readonly url: v.StringSchema<undefined>;
|
|
2588
|
+
readonly expiry_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2589
|
+
}, undefined>;
|
|
2590
|
+
}, undefined>], undefined>, undefined>;
|
|
2591
|
+
readonly cover: v.OptionalSchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
2592
|
+
readonly type: v.LiteralSchema<"external", undefined>;
|
|
2593
|
+
readonly external: v.ObjectSchema<{
|
|
2594
|
+
readonly url: v.StringSchema<undefined>;
|
|
2595
|
+
}, undefined>;
|
|
2596
|
+
}, undefined>, v.ObjectSchema<{
|
|
2597
|
+
readonly type: v.LiteralSchema<"file", undefined>;
|
|
2598
|
+
readonly file: v.ObjectSchema<{
|
|
2599
|
+
readonly url: v.StringSchema<undefined>;
|
|
2600
|
+
readonly expiry_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2601
|
+
}, undefined>;
|
|
2602
|
+
}, undefined>], undefined>, undefined>;
|
|
2603
|
+
readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2604
|
+
readonly public_url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2605
|
+
readonly is_archived: v.BooleanSchema<undefined>;
|
|
2606
|
+
readonly in_trash: v.BooleanSchema<undefined>;
|
|
2607
|
+
}, undefined>;
|
|
2608
|
+
}, undefined>, v.ObjectSchema<{
|
|
2609
|
+
readonly type: v.LiteralSchema<"updatePageResult", undefined>;
|
|
2610
|
+
readonly requestId: v.StringSchema<undefined>;
|
|
2611
|
+
readonly status: v.LiteralSchema<"error", undefined>;
|
|
2612
|
+
readonly error: v.ObjectSchema<{
|
|
2613
|
+
readonly code: v.StringSchema<undefined>;
|
|
2614
|
+
readonly message: v.StringSchema<undefined>;
|
|
2615
|
+
readonly isRetryable: v.BooleanSchema<undefined>;
|
|
2616
|
+
}, undefined>;
|
|
2617
|
+
}, undefined>], undefined>, v.ObjectSchema<{
|
|
2618
|
+
readonly type: v.LiteralSchema<"invalidSandboxMessage", undefined>;
|
|
2619
|
+
readonly reason: v.StringSchema<undefined>;
|
|
2620
|
+
}, undefined>, v.VariantSchema<"status", [v.ObjectSchema<{
|
|
2621
|
+
readonly type: v.LiteralSchema<"queryDataSourceResult", undefined>;
|
|
2622
|
+
readonly subscriptionId: v.StringSchema<undefined>;
|
|
2623
|
+
readonly status: v.LiteralSchema<"success", undefined>;
|
|
2624
|
+
readonly items: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
|
|
2625
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionPageId">]>;
|
|
2626
|
+
readonly is_archived: v.BooleanSchema<undefined>;
|
|
2627
|
+
readonly in_trash: v.BooleanSchema<undefined>;
|
|
2628
|
+
readonly properties: v.RecordSchema<v.StringSchema<undefined>, v.OptionalSchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
2629
|
+
readonly id: v.StringSchema<undefined>;
|
|
2630
|
+
readonly type: v.LiteralSchema<"title", undefined>;
|
|
2631
|
+
readonly title: v.ArraySchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
2632
|
+
}, undefined>, v.ObjectSchema<{
|
|
2633
|
+
readonly id: v.StringSchema<undefined>;
|
|
2634
|
+
readonly type: v.LiteralSchema<"rich_text", undefined>;
|
|
2635
|
+
readonly rich_text: v.ArraySchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
2636
|
+
}, undefined>, v.ObjectSchema<{
|
|
2637
|
+
readonly id: v.StringSchema<undefined>;
|
|
2638
|
+
readonly type: v.LiteralSchema<"number", undefined>;
|
|
2639
|
+
readonly number: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
2640
|
+
}, undefined>, v.ObjectSchema<{
|
|
2641
|
+
readonly id: v.StringSchema<undefined>;
|
|
2642
|
+
readonly type: v.LiteralSchema<"url", undefined>;
|
|
2643
|
+
readonly url: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
2644
|
+
}, undefined>, v.ObjectSchema<{
|
|
2645
|
+
readonly id: v.StringSchema<undefined>;
|
|
2646
|
+
readonly type: v.LiteralSchema<"email", undefined>;
|
|
2647
|
+
readonly email: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
2648
|
+
}, undefined>, v.ObjectSchema<{
|
|
2649
|
+
readonly id: v.StringSchema<undefined>;
|
|
2650
|
+
readonly type: v.LiteralSchema<"phone_number", undefined>;
|
|
2651
|
+
readonly phone_number: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
2652
|
+
}, undefined>, v.ObjectSchema<{
|
|
2653
|
+
readonly id: v.StringSchema<undefined>;
|
|
2654
|
+
readonly type: v.LiteralSchema<"checkbox", undefined>;
|
|
2655
|
+
readonly checkbox: v.BooleanSchema<undefined>;
|
|
2656
|
+
}, undefined>, v.ObjectSchema<{
|
|
2657
|
+
readonly id: v.StringSchema<undefined>;
|
|
2658
|
+
readonly type: v.LiteralSchema<"select", undefined>;
|
|
2659
|
+
readonly select: v.NullableSchema<v.UnionSchema<[v.ObjectSchema<{
|
|
2660
|
+
readonly id: v.StringSchema<undefined>;
|
|
2661
|
+
readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2662
|
+
readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2663
|
+
readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2664
|
+
}, undefined>, v.ObjectSchema<{
|
|
2665
|
+
readonly name: v.StringSchema<undefined>;
|
|
2666
|
+
readonly id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2667
|
+
readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2668
|
+
readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2669
|
+
}, undefined>], undefined>, undefined>;
|
|
2670
|
+
}, undefined>, v.ObjectSchema<{
|
|
2671
|
+
readonly id: v.StringSchema<undefined>;
|
|
2672
|
+
readonly type: v.LiteralSchema<"status", undefined>;
|
|
2673
|
+
readonly status: v.NullableSchema<v.UnionSchema<[v.ObjectSchema<{
|
|
2674
|
+
readonly id: v.StringSchema<undefined>;
|
|
2675
|
+
readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2676
|
+
readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2677
|
+
readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2678
|
+
}, undefined>, v.ObjectSchema<{
|
|
2679
|
+
readonly name: v.StringSchema<undefined>;
|
|
2680
|
+
readonly id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2681
|
+
readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2682
|
+
readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2683
|
+
}, undefined>], undefined>, undefined>;
|
|
2684
|
+
}, undefined>, v.ObjectSchema<{
|
|
2685
|
+
readonly id: v.StringSchema<undefined>;
|
|
2686
|
+
readonly type: v.LiteralSchema<"multi_select", undefined>;
|
|
2687
|
+
readonly multi_select: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
|
|
2688
|
+
readonly id: v.StringSchema<undefined>;
|
|
2689
|
+
readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2690
|
+
readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2691
|
+
readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2692
|
+
}, undefined>, v.ObjectSchema<{
|
|
2693
|
+
readonly name: v.StringSchema<undefined>;
|
|
2694
|
+
readonly id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2695
|
+
readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2696
|
+
readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2697
|
+
}, undefined>], undefined>, undefined>;
|
|
2698
|
+
}, undefined>, v.ObjectSchema<{
|
|
2699
|
+
readonly id: v.StringSchema<undefined>;
|
|
2700
|
+
readonly type: v.LiteralSchema<"date", undefined>;
|
|
2701
|
+
readonly date: v.NullableSchema<v.ObjectSchema<{
|
|
2702
|
+
readonly start: v.StringSchema<undefined>;
|
|
2703
|
+
readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2704
|
+
readonly time_zone: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2705
|
+
}, undefined>, undefined>;
|
|
2706
|
+
}, undefined>, v.ObjectSchema<{
|
|
2707
|
+
readonly id: v.StringSchema<undefined>;
|
|
2708
|
+
readonly type: v.LiteralSchema<"people", undefined>;
|
|
2709
|
+
readonly people: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
|
|
2710
|
+
readonly object: v.OptionalSchema<v.LiteralSchema<"user", undefined>, undefined>;
|
|
2711
|
+
readonly id: v.StringSchema<undefined>;
|
|
2712
|
+
}, undefined>, v.ObjectSchema<{
|
|
2713
|
+
readonly object: v.LiteralSchema<"group", undefined>;
|
|
2714
|
+
readonly id: v.StringSchema<undefined>;
|
|
2715
|
+
readonly name: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2716
|
+
}, undefined>], undefined>, undefined>;
|
|
2717
|
+
}, undefined>, v.ObjectSchema<{
|
|
2718
|
+
readonly id: v.StringSchema<undefined>;
|
|
2719
|
+
readonly type: v.LiteralSchema<"relation", undefined>;
|
|
2720
|
+
readonly has_more: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
2721
|
+
readonly relation: v.ArraySchema<v.ObjectSchema<{
|
|
2722
|
+
readonly id: v.StringSchema<undefined>;
|
|
2723
|
+
}, undefined>, undefined>;
|
|
2724
|
+
}, undefined>, v.ObjectSchema<{
|
|
2725
|
+
readonly id: v.StringSchema<undefined>;
|
|
2726
|
+
readonly type: v.LiteralSchema<"files", undefined>;
|
|
2727
|
+
readonly files: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
|
|
2728
|
+
readonly type: v.LiteralSchema<"external", undefined>;
|
|
2729
|
+
readonly name: v.StringSchema<undefined>;
|
|
2730
|
+
readonly external: v.ObjectSchema<{
|
|
2731
|
+
readonly url: v.StringSchema<undefined>;
|
|
2732
|
+
}, undefined>;
|
|
2733
|
+
}, undefined>, v.ObjectSchema<{
|
|
2734
|
+
readonly type: v.LiteralSchema<"file", undefined>;
|
|
2735
|
+
readonly name: v.StringSchema<undefined>;
|
|
2736
|
+
readonly file: v.ObjectSchema<{
|
|
2737
|
+
readonly url: v.StringSchema<undefined>;
|
|
2738
|
+
readonly expiry_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2739
|
+
}, undefined>;
|
|
2740
|
+
}, undefined>], undefined>, undefined>;
|
|
2741
|
+
}, undefined>, v.ObjectSchema<{
|
|
2742
|
+
readonly id: v.StringSchema<undefined>;
|
|
2743
|
+
readonly type: v.LiteralSchema<"place", undefined>;
|
|
2744
|
+
readonly place: v.NullableSchema<v.ObjectSchema<{
|
|
2745
|
+
readonly lat: v.NumberSchema<undefined>;
|
|
2746
|
+
readonly lon: v.NumberSchema<undefined>;
|
|
2747
|
+
readonly name: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2748
|
+
readonly address: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2749
|
+
readonly aws_place_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2750
|
+
readonly google_place_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2751
|
+
}, undefined>, undefined>;
|
|
2752
|
+
}, undefined>, v.ObjectSchema<{
|
|
2753
|
+
readonly id: v.StringSchema<undefined>;
|
|
2754
|
+
readonly type: v.LiteralSchema<"created_time", undefined>;
|
|
2755
|
+
readonly created_time: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
2756
|
+
}, undefined>, v.ObjectSchema<{
|
|
2757
|
+
readonly id: v.StringSchema<undefined>;
|
|
2758
|
+
readonly type: v.LiteralSchema<"last_edited_time", undefined>;
|
|
2759
|
+
readonly last_edited_time: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
2760
|
+
}, undefined>, v.ObjectSchema<{
|
|
2761
|
+
readonly id: v.StringSchema<undefined>;
|
|
2762
|
+
readonly type: v.LiteralSchema<"created_by", undefined>;
|
|
2763
|
+
readonly created_by: v.NullableSchema<v.ObjectSchema<{
|
|
2764
|
+
readonly id: v.StringSchema<undefined>;
|
|
2765
|
+
readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
|
|
2766
|
+
readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2767
|
+
}, undefined>, undefined>;
|
|
2768
|
+
}, undefined>, v.ObjectSchema<{
|
|
2769
|
+
readonly id: v.StringSchema<undefined>;
|
|
2770
|
+
readonly type: v.LiteralSchema<"last_edited_by", undefined>;
|
|
2771
|
+
readonly last_edited_by: v.NullableSchema<v.ObjectSchema<{
|
|
2772
|
+
readonly id: v.StringSchema<undefined>;
|
|
2773
|
+
readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
|
|
2774
|
+
readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2775
|
+
}, undefined>, undefined>;
|
|
2776
|
+
}, undefined>, v.ObjectSchema<{
|
|
2777
|
+
readonly id: v.StringSchema<undefined>;
|
|
2778
|
+
readonly type: v.LiteralSchema<"last_visited_time", undefined>;
|
|
2779
|
+
readonly last_visited_time: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
2780
|
+
}, undefined>], undefined>, undefined>, undefined>;
|
|
2781
|
+
}, undefined>, v.ObjectSchema<{
|
|
2782
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionPageId">]>;
|
|
2783
|
+
readonly is_archived: v.BooleanSchema<undefined>;
|
|
2784
|
+
readonly in_trash: v.BooleanSchema<undefined>;
|
|
2785
|
+
readonly propertiesById: v.RecordSchema<v.StringSchema<undefined>, v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>, v.BooleanSchema<undefined>, v.VariantSchema<"type", [v.ObjectSchema<{
|
|
2786
|
+
readonly type: v.LiteralSchema<"date", undefined>;
|
|
2787
|
+
readonly start_date: v.StringSchema<undefined>;
|
|
2788
|
+
readonly reminder: v.OptionalSchema<v.UnionSchema<[v.ObjectSchema<{
|
|
2789
|
+
readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
|
|
2790
|
+
readonly value: v.NumberSchema<undefined>;
|
|
2791
|
+
readonly time: v.StringSchema<undefined>;
|
|
2792
|
+
readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2793
|
+
}, undefined>, v.ObjectSchema<{
|
|
2794
|
+
readonly unit: v.LiteralSchema<"none", undefined>;
|
|
2795
|
+
}, undefined>], undefined>, undefined>;
|
|
2796
|
+
}, undefined>, v.ObjectSchema<{
|
|
2797
|
+
readonly type: v.LiteralSchema<"daterange", undefined>;
|
|
2798
|
+
readonly start_date: v.StringSchema<undefined>;
|
|
2799
|
+
readonly end_date: v.StringSchema<undefined>;
|
|
2800
|
+
readonly reminder: v.OptionalSchema<v.UnionSchema<[v.ObjectSchema<{
|
|
2801
|
+
readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
|
|
2802
|
+
readonly value: v.NumberSchema<undefined>;
|
|
2803
|
+
readonly time: v.StringSchema<undefined>;
|
|
2804
|
+
readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2805
|
+
}, undefined>, v.ObjectSchema<{
|
|
2806
|
+
readonly unit: v.LiteralSchema<"none", undefined>;
|
|
2807
|
+
}, undefined>], undefined>, undefined>;
|
|
2808
|
+
}, undefined>, v.ObjectSchema<{
|
|
2809
|
+
readonly type: v.LiteralSchema<"datetime", undefined>;
|
|
2810
|
+
readonly start_date: v.StringSchema<undefined>;
|
|
2811
|
+
readonly start_time: v.StringSchema<undefined>;
|
|
2812
|
+
readonly time_zone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2813
|
+
readonly reminder: v.OptionalSchema<v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
|
|
2814
|
+
readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
|
|
2815
|
+
readonly value: v.NumberSchema<undefined>;
|
|
2816
|
+
readonly time: v.StringSchema<undefined>;
|
|
2817
|
+
readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2818
|
+
}, undefined>, v.ObjectSchema<{
|
|
2819
|
+
readonly unit: v.PicklistSchema<["hour", "minute"], undefined>;
|
|
2820
|
+
readonly value: v.NumberSchema<undefined>;
|
|
2821
|
+
}, undefined>], undefined>, v.ObjectSchema<{
|
|
2822
|
+
readonly unit: v.LiteralSchema<"none", undefined>;
|
|
2823
|
+
}, undefined>], undefined>, undefined>;
|
|
2824
|
+
}, undefined>, v.ObjectSchema<{
|
|
2825
|
+
readonly type: v.LiteralSchema<"datetimerange", undefined>;
|
|
2826
|
+
readonly start_date: v.StringSchema<undefined>;
|
|
2827
|
+
readonly start_time: v.StringSchema<undefined>;
|
|
2828
|
+
readonly end_date: v.StringSchema<undefined>;
|
|
2829
|
+
readonly end_time: v.StringSchema<undefined>;
|
|
2830
|
+
readonly time_zone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2831
|
+
readonly reminder: v.OptionalSchema<v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
|
|
2832
|
+
readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
|
|
2833
|
+
readonly value: v.NumberSchema<undefined>;
|
|
2834
|
+
readonly time: v.StringSchema<undefined>;
|
|
2835
|
+
readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2836
|
+
}, undefined>, v.ObjectSchema<{
|
|
2837
|
+
readonly unit: v.PicklistSchema<["hour", "minute"], undefined>;
|
|
2838
|
+
readonly value: v.NumberSchema<undefined>;
|
|
2839
|
+
}, undefined>], undefined>, v.ObjectSchema<{
|
|
2840
|
+
readonly unit: v.LiteralSchema<"none", undefined>;
|
|
2841
|
+
}, undefined>], undefined>, undefined>;
|
|
2842
|
+
}, undefined>], undefined>, v.ArraySchema<v.StringSchema<undefined>, undefined>, v.ArraySchema<v.ObjectSchema<{
|
|
2843
|
+
readonly id: v.StringSchema<undefined>;
|
|
2844
|
+
readonly table: v.StringSchema<undefined>;
|
|
2845
|
+
}, undefined>, undefined>], undefined>, undefined>, undefined>;
|
|
2846
|
+
}, undefined>], undefined>, undefined>;
|
|
2847
|
+
readonly hasMore: v.BooleanSchema<undefined>;
|
|
2848
|
+
}, undefined>, v.ObjectSchema<{
|
|
2849
|
+
readonly type: v.LiteralSchema<"queryDataSourceResult", undefined>;
|
|
2850
|
+
readonly subscriptionId: v.StringSchema<undefined>;
|
|
2851
|
+
readonly status: v.LiteralSchema<"error", undefined>;
|
|
2852
|
+
readonly error: v.ObjectSchema<{
|
|
2853
|
+
readonly code: v.StringSchema<undefined>;
|
|
2854
|
+
readonly message: v.StringSchema<undefined>;
|
|
2855
|
+
readonly isRetryable: v.BooleanSchema<undefined>;
|
|
2856
|
+
}, undefined>;
|
|
2857
|
+
}, undefined>], undefined>], undefined>;
|
|
1464
2858
|
export type HostToSandboxMessage = v.InferOutput<typeof hostToSandboxMessageSchema>;
|
|
2859
|
+
export type HostToSandboxMessageLegacy = v.InferOutput<typeof hostToSandboxMessageLegacySchema>;
|