@notionhq/custom-blocks-host 0.3.5 → 0.3.7
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 +5 -0
- package/dist/browser.js +1 -1
- package/dist/dateValue.d.ts +11 -0
- package/dist/dateValue.d.ts.map +1 -0
- package/dist/dateValue.js +96 -0
- package/dist/index.d.ts +3 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/lifecycle/legacyPage.d.ts +4 -2
- package/dist/lifecycle/legacyPage.d.ts.map +1 -1
- package/dist/lifecycle/legacyPage.js +14 -62
- package/dist/lifecycle/normalizeHostToSandboxMessage.d.ts.map +1 -1
- package/dist/lifecycle/normalizeHostToSandboxMessage.js +8 -2
- package/dist/lifecycle/normalizePage.d.ts +7 -0
- package/dist/lifecycle/normalizePage.d.ts.map +1 -0
- package/dist/lifecycle/normalizePage.js +22 -0
- package/dist/messages/types.d.ts +1 -2
- package/dist/messages/types.d.ts.map +1 -1
- package/dist/protocol/dataSources/dataSourcePage.d.ts +0 -160
- package/dist/protocol/dataSources/dataSourcePage.js +0 -7
- package/dist/protocol/dataSources/dateValue.d.ts +2 -2
- package/dist/protocol/dataSources/dateValue.js +9 -7
- package/dist/protocol/messages/createPage.d.ts +40 -2
- package/dist/protocol/messages/createPage.js +2 -2
- package/dist/protocol/messages/createPageResult.d.ts +584 -3
- package/dist/protocol/messages/createPageResult.js +17 -2
- package/dist/protocol/messages/getPage.d.ts +584 -3
- package/dist/protocol/messages/getPage.js +18 -3
- package/dist/protocol/messages/hostToSandbox.d.ts +1638 -376
- package/dist/protocol/messages/hostToSandbox.js +9 -6
- package/dist/protocol/messages/queryDataSourceResult.d.ts +222 -10
- package/dist/protocol/messages/queryDataSourceResult.js +4 -6
- package/dist/protocol/messages/sandboxToHost.d.ts +82 -4
- package/dist/protocol/messages/updatePage.d.ts +41 -2
- package/dist/protocol/messages/updatePage.js +4 -3
- package/dist/protocol/messages/updatePageResult.d.ts +583 -3
- package/dist/protocol/messages/updatePageResult.js +16 -2
- package/dist/protocol/pages/page.d.ts +622 -14
- package/dist/protocol/pages/page.js +41 -4
- package/dist/protocol/protocolVersion.js +1 -1
- package/package.json +1 -1
- package/src/dateValue.ts +120 -0
- package/src/index.ts +7 -4
- package/src/lifecycle/legacyPage.ts +30 -76
- package/src/lifecycle/normalizeHostToSandboxMessage.ts +13 -2
- package/src/lifecycle/normalizePage.ts +35 -0
- package/src/messages/types.ts +1 -1
- package/dist/lifecycle/normalizeQueryPage.d.ts +0 -3
- package/dist/lifecycle/normalizeQueryPage.d.ts.map +0 -1
- package/dist/lifecycle/normalizeQueryPage.js +0 -13
- package/src/lifecycle/normalizeQueryPage.ts +0 -25
|
@@ -454,10 +454,93 @@ export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.Vari
|
|
|
454
454
|
}, undefined>, undefined>;
|
|
455
455
|
}, undefined>;
|
|
456
456
|
}, undefined>, v.VariantSchema<"status", [v.ObjectSchema<{
|
|
457
|
-
readonly type: v.LiteralSchema<"
|
|
457
|
+
readonly type: v.LiteralSchema<"getUserResult", undefined>;
|
|
458
458
|
readonly requestId: v.StringSchema<undefined>;
|
|
459
459
|
readonly status: v.LiteralSchema<"success", undefined>;
|
|
460
|
-
readonly
|
|
460
|
+
readonly user: v.ObjectSchema<{
|
|
461
|
+
readonly object: v.LiteralSchema<"user", undefined>;
|
|
462
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionUserId">]>;
|
|
463
|
+
readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
464
|
+
readonly avatar_url: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
465
|
+
readonly type: v.LiteralSchema<"person", undefined>;
|
|
466
|
+
readonly person: v.ObjectSchema<{
|
|
467
|
+
readonly email: v.StringSchema<undefined>;
|
|
468
|
+
}, undefined>;
|
|
469
|
+
}, undefined>;
|
|
470
|
+
}, undefined>, v.ObjectSchema<{
|
|
471
|
+
readonly type: v.LiteralSchema<"getUserResult", undefined>;
|
|
472
|
+
readonly requestId: v.StringSchema<undefined>;
|
|
473
|
+
readonly status: v.LiteralSchema<"error", undefined>;
|
|
474
|
+
readonly error: v.ObjectSchema<{
|
|
475
|
+
readonly code: v.StringSchema<undefined>;
|
|
476
|
+
readonly message: v.StringSchema<undefined>;
|
|
477
|
+
readonly isRetryable: v.BooleanSchema<undefined>;
|
|
478
|
+
}, undefined>;
|
|
479
|
+
}, undefined>], undefined>, v.VariantSchema<"status", [v.ObjectSchema<{
|
|
480
|
+
readonly type: v.LiteralSchema<"listUsersResult", undefined>;
|
|
481
|
+
readonly requestId: v.StringSchema<undefined>;
|
|
482
|
+
readonly status: v.LiteralSchema<"success", undefined>;
|
|
483
|
+
readonly list: v.ObjectSchema<{
|
|
484
|
+
readonly object: v.LiteralSchema<"list", undefined>;
|
|
485
|
+
readonly results: v.ArraySchema<v.ObjectSchema<{
|
|
486
|
+
readonly object: v.LiteralSchema<"user", undefined>;
|
|
487
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionUserId">]>;
|
|
488
|
+
readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
489
|
+
readonly avatar_url: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
490
|
+
readonly type: v.LiteralSchema<"person", undefined>;
|
|
491
|
+
readonly person: v.ObjectSchema<{
|
|
492
|
+
readonly email: v.StringSchema<undefined>;
|
|
493
|
+
}, undefined>;
|
|
494
|
+
}, undefined>, undefined>;
|
|
495
|
+
readonly next_cursor: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
496
|
+
readonly has_more: v.BooleanSchema<undefined>;
|
|
497
|
+
readonly type: v.LiteralSchema<"user", undefined>;
|
|
498
|
+
readonly user: v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>;
|
|
499
|
+
}, undefined>;
|
|
500
|
+
}, undefined>, v.ObjectSchema<{
|
|
501
|
+
readonly type: v.LiteralSchema<"listUsersResult", undefined>;
|
|
502
|
+
readonly requestId: v.StringSchema<undefined>;
|
|
503
|
+
readonly status: v.LiteralSchema<"error", undefined>;
|
|
504
|
+
readonly error: v.ObjectSchema<{
|
|
505
|
+
readonly code: v.StringSchema<undefined>;
|
|
506
|
+
readonly message: v.StringSchema<undefined>;
|
|
507
|
+
readonly isRetryable: v.BooleanSchema<undefined>;
|
|
508
|
+
}, undefined>;
|
|
509
|
+
}, undefined>], undefined>, v.VariantSchema<"status", [v.ObjectSchema<{
|
|
510
|
+
readonly type: v.LiteralSchema<"openPageResult", undefined>;
|
|
511
|
+
readonly requestId: v.StringSchema<undefined>;
|
|
512
|
+
readonly status: v.LiteralSchema<"success", undefined>;
|
|
513
|
+
readonly pageId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionPageId">]>;
|
|
514
|
+
}, undefined>, v.ObjectSchema<{
|
|
515
|
+
readonly type: v.LiteralSchema<"openPageResult", undefined>;
|
|
516
|
+
readonly requestId: v.StringSchema<undefined>;
|
|
517
|
+
readonly status: v.LiteralSchema<"error", undefined>;
|
|
518
|
+
readonly error: v.ObjectSchema<{
|
|
519
|
+
readonly code: v.StringSchema<undefined>;
|
|
520
|
+
readonly message: v.StringSchema<undefined>;
|
|
521
|
+
readonly isRetryable: v.BooleanSchema<undefined>;
|
|
522
|
+
}, undefined>;
|
|
523
|
+
}, undefined>], undefined>, v.VariantSchema<"status", [v.ObjectSchema<{
|
|
524
|
+
readonly type: v.LiteralSchema<"openExternalUrlResult", undefined>;
|
|
525
|
+
readonly requestId: v.StringSchema<undefined>;
|
|
526
|
+
readonly status: v.LiteralSchema<"success", undefined>;
|
|
527
|
+
}, undefined>, v.ObjectSchema<{
|
|
528
|
+
readonly type: v.LiteralSchema<"openExternalUrlResult", undefined>;
|
|
529
|
+
readonly requestId: v.StringSchema<undefined>;
|
|
530
|
+
readonly status: v.LiteralSchema<"error", undefined>;
|
|
531
|
+
readonly error: v.ObjectSchema<{
|
|
532
|
+
readonly code: v.StringSchema<undefined>;
|
|
533
|
+
readonly message: v.StringSchema<undefined>;
|
|
534
|
+
readonly isRetryable: v.BooleanSchema<undefined>;
|
|
535
|
+
}, undefined>;
|
|
536
|
+
}, undefined>], undefined>, v.ObjectSchema<{
|
|
537
|
+
readonly type: v.LiteralSchema<"invalidSandboxMessage", undefined>;
|
|
538
|
+
readonly reason: v.StringSchema<undefined>;
|
|
539
|
+
}, undefined>, v.VariantSchema<"status", [v.ObjectSchema<{
|
|
540
|
+
readonly type: v.LiteralSchema<"queryDataSourceResult", undefined>;
|
|
541
|
+
readonly subscriptionId: v.StringSchema<undefined>;
|
|
542
|
+
readonly status: v.LiteralSchema<"success", undefined>;
|
|
543
|
+
readonly items: v.ArraySchema<v.ObjectSchema<{
|
|
461
544
|
readonly object: v.LiteralSchema<"page", undefined>;
|
|
462
545
|
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionPageId">]>;
|
|
463
546
|
readonly parent: v.VariantSchema<"type", [v.ObjectSchema<{
|
|
@@ -478,7 +561,7 @@ export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.Vari
|
|
|
478
561
|
}, undefined>, v.ObjectSchema<{
|
|
479
562
|
readonly type: v.LiteralSchema<"unavailable", undefined>;
|
|
480
563
|
}, undefined>], undefined>;
|
|
481
|
-
readonly properties: v.RecordSchema<v.StringSchema<undefined>, v.VariantSchema<"type", [v.ObjectSchema<{
|
|
564
|
+
readonly properties: v.RecordSchema<v.StringSchema<undefined>, v.NullableSchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
482
565
|
readonly id: v.StringSchema<undefined>;
|
|
483
566
|
readonly type: v.LiteralSchema<"title", undefined>;
|
|
484
567
|
readonly title: v.ArraySchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
@@ -551,11 +634,49 @@ export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.Vari
|
|
|
551
634
|
}, undefined>, v.ObjectSchema<{
|
|
552
635
|
readonly id: v.StringSchema<undefined>;
|
|
553
636
|
readonly type: v.LiteralSchema<"date", undefined>;
|
|
554
|
-
readonly date: v.NullableSchema<v.ObjectSchema<{
|
|
637
|
+
readonly date: v.NullableSchema<v.UnionSchema<[v.ObjectSchema<{
|
|
638
|
+
readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
639
|
+
readonly time_zone: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
640
|
+
readonly reminder: v.OptionalSchema<v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
|
|
641
|
+
readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
|
|
642
|
+
readonly value: v.NumberSchema<undefined>;
|
|
643
|
+
readonly time: v.StringSchema<undefined>;
|
|
644
|
+
readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
645
|
+
}, undefined>, v.ObjectSchema<{
|
|
646
|
+
readonly unit: v.PicklistSchema<["hour", "minute"], undefined>;
|
|
647
|
+
readonly value: v.NumberSchema<undefined>;
|
|
648
|
+
}, undefined>], undefined>, v.ObjectSchema<{
|
|
649
|
+
readonly unit: v.LiteralSchema<"none", undefined>;
|
|
650
|
+
}, undefined>], undefined>, undefined>;
|
|
651
|
+
readonly start: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IncludesAction<string, "T", undefined>]>;
|
|
652
|
+
}, undefined>, v.ObjectSchema<{
|
|
653
|
+
readonly start: v.StringSchema<undefined>;
|
|
654
|
+
readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
655
|
+
readonly reminder: v.OptionalSchema<v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
|
|
656
|
+
readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
|
|
657
|
+
readonly value: v.NumberSchema<undefined>;
|
|
658
|
+
readonly time: v.StringSchema<undefined>;
|
|
659
|
+
readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
660
|
+
}, undefined>, v.ObjectSchema<{
|
|
661
|
+
readonly unit: v.PicklistSchema<["hour", "minute"], undefined>;
|
|
662
|
+
readonly value: v.NumberSchema<undefined>;
|
|
663
|
+
}, undefined>], undefined>, v.ObjectSchema<{
|
|
664
|
+
readonly unit: v.LiteralSchema<"none", undefined>;
|
|
665
|
+
}, undefined>], undefined>, undefined>;
|
|
666
|
+
readonly time_zone: v.StringSchema<undefined>;
|
|
667
|
+
}, undefined>, v.ObjectSchema<{
|
|
555
668
|
readonly start: v.StringSchema<undefined>;
|
|
556
669
|
readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
557
670
|
readonly time_zone: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
558
|
-
|
|
671
|
+
readonly reminder: v.OptionalSchema<v.UnionSchema<[v.ObjectSchema<{
|
|
672
|
+
readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
|
|
673
|
+
readonly value: v.NumberSchema<undefined>;
|
|
674
|
+
readonly time: v.StringSchema<undefined>;
|
|
675
|
+
readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
676
|
+
}, undefined>, v.ObjectSchema<{
|
|
677
|
+
readonly unit: v.LiteralSchema<"none", undefined>;
|
|
678
|
+
}, undefined>], undefined>, undefined>;
|
|
679
|
+
}, undefined>], undefined>, undefined>;
|
|
559
680
|
}, undefined>, v.ObjectSchema<{
|
|
560
681
|
readonly id: v.StringSchema<undefined>;
|
|
561
682
|
readonly type: v.LiteralSchema<"people", undefined>;
|
|
@@ -630,10 +751,21 @@ export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.Vari
|
|
|
630
751
|
readonly id: v.StringSchema<undefined>;
|
|
631
752
|
readonly type: v.LiteralSchema<"last_visited_time", undefined>;
|
|
632
753
|
readonly last_visited_time: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
633
|
-
}, undefined>], undefined>, undefined>;
|
|
634
|
-
readonly
|
|
635
|
-
|
|
636
|
-
|
|
754
|
+
}, undefined>], undefined>, undefined>, undefined>;
|
|
755
|
+
readonly created_by: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
756
|
+
readonly id: v.StringSchema<undefined>;
|
|
757
|
+
readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
|
|
758
|
+
readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
759
|
+
}, undefined>, undefined>, null>;
|
|
760
|
+
readonly last_edited_by: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
761
|
+
readonly id: v.StringSchema<undefined>;
|
|
762
|
+
readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
|
|
763
|
+
readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
764
|
+
}, undefined>, undefined>, null>;
|
|
765
|
+
readonly last_visited_time: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
|
|
766
|
+
readonly created_time: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
|
|
767
|
+
readonly last_edited_time: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
|
|
768
|
+
readonly icon: v.OptionalSchema<v.NullableSchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
637
769
|
readonly type: v.LiteralSchema<"emoji", undefined>;
|
|
638
770
|
readonly emoji: v.StringSchema<undefined>;
|
|
639
771
|
}, undefined>, v.ObjectSchema<{
|
|
@@ -654,8 +786,8 @@ export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.Vari
|
|
|
654
786
|
readonly url: v.StringSchema<undefined>;
|
|
655
787
|
readonly expiry_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
656
788
|
}, undefined>;
|
|
657
|
-
}, undefined>], undefined>, undefined>;
|
|
658
|
-
readonly cover: v.OptionalSchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
789
|
+
}, undefined>], undefined>, undefined>, null>;
|
|
790
|
+
readonly cover: v.OptionalSchema<v.NullableSchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
659
791
|
readonly type: v.LiteralSchema<"external", undefined>;
|
|
660
792
|
readonly external: v.ObjectSchema<{
|
|
661
793
|
readonly url: v.StringSchema<undefined>;
|
|
@@ -666,15 +798,16 @@ export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.Vari
|
|
|
666
798
|
readonly url: v.StringSchema<undefined>;
|
|
667
799
|
readonly expiry_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
668
800
|
}, undefined>;
|
|
669
|
-
}, undefined>], undefined>, undefined>;
|
|
670
|
-
readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
671
|
-
readonly public_url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
801
|
+
}, undefined>], undefined>, undefined>, null>;
|
|
802
|
+
readonly url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
|
|
803
|
+
readonly public_url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
|
|
672
804
|
readonly is_archived: v.BooleanSchema<undefined>;
|
|
673
805
|
readonly in_trash: v.BooleanSchema<undefined>;
|
|
674
|
-
}, undefined>;
|
|
806
|
+
}, undefined>, undefined>;
|
|
807
|
+
readonly hasMore: v.BooleanSchema<undefined>;
|
|
675
808
|
}, undefined>, v.ObjectSchema<{
|
|
676
|
-
readonly type: v.LiteralSchema<"
|
|
677
|
-
readonly
|
|
809
|
+
readonly type: v.LiteralSchema<"queryDataSourceResult", undefined>;
|
|
810
|
+
readonly subscriptionId: v.StringSchema<undefined>;
|
|
678
811
|
readonly status: v.LiteralSchema<"error", undefined>;
|
|
679
812
|
readonly error: v.ObjectSchema<{
|
|
680
813
|
readonly code: v.StringSchema<undefined>;
|
|
@@ -706,7 +839,7 @@ export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.Vari
|
|
|
706
839
|
}, undefined>, v.ObjectSchema<{
|
|
707
840
|
readonly type: v.LiteralSchema<"unavailable", undefined>;
|
|
708
841
|
}, undefined>], undefined>;
|
|
709
|
-
readonly properties: v.RecordSchema<v.StringSchema<undefined>, v.VariantSchema<"type", [v.ObjectSchema<{
|
|
842
|
+
readonly properties: v.RecordSchema<v.StringSchema<undefined>, v.NullableSchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
710
843
|
readonly id: v.StringSchema<undefined>;
|
|
711
844
|
readonly type: v.LiteralSchema<"title", undefined>;
|
|
712
845
|
readonly title: v.ArraySchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
@@ -779,11 +912,49 @@ export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.Vari
|
|
|
779
912
|
}, undefined>, v.ObjectSchema<{
|
|
780
913
|
readonly id: v.StringSchema<undefined>;
|
|
781
914
|
readonly type: v.LiteralSchema<"date", undefined>;
|
|
782
|
-
readonly date: v.NullableSchema<v.ObjectSchema<{
|
|
915
|
+
readonly date: v.NullableSchema<v.UnionSchema<[v.ObjectSchema<{
|
|
916
|
+
readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
917
|
+
readonly time_zone: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
918
|
+
readonly reminder: v.OptionalSchema<v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
|
|
919
|
+
readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
|
|
920
|
+
readonly value: v.NumberSchema<undefined>;
|
|
921
|
+
readonly time: v.StringSchema<undefined>;
|
|
922
|
+
readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
923
|
+
}, undefined>, v.ObjectSchema<{
|
|
924
|
+
readonly unit: v.PicklistSchema<["hour", "minute"], undefined>;
|
|
925
|
+
readonly value: v.NumberSchema<undefined>;
|
|
926
|
+
}, undefined>], undefined>, v.ObjectSchema<{
|
|
927
|
+
readonly unit: v.LiteralSchema<"none", undefined>;
|
|
928
|
+
}, undefined>], undefined>, undefined>;
|
|
929
|
+
readonly start: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IncludesAction<string, "T", undefined>]>;
|
|
930
|
+
}, undefined>, v.ObjectSchema<{
|
|
931
|
+
readonly start: v.StringSchema<undefined>;
|
|
932
|
+
readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
933
|
+
readonly reminder: v.OptionalSchema<v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
|
|
934
|
+
readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
|
|
935
|
+
readonly value: v.NumberSchema<undefined>;
|
|
936
|
+
readonly time: v.StringSchema<undefined>;
|
|
937
|
+
readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
938
|
+
}, undefined>, v.ObjectSchema<{
|
|
939
|
+
readonly unit: v.PicklistSchema<["hour", "minute"], undefined>;
|
|
940
|
+
readonly value: v.NumberSchema<undefined>;
|
|
941
|
+
}, undefined>], undefined>, v.ObjectSchema<{
|
|
942
|
+
readonly unit: v.LiteralSchema<"none", undefined>;
|
|
943
|
+
}, undefined>], undefined>, undefined>;
|
|
944
|
+
readonly time_zone: v.StringSchema<undefined>;
|
|
945
|
+
}, undefined>, v.ObjectSchema<{
|
|
783
946
|
readonly start: v.StringSchema<undefined>;
|
|
784
947
|
readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
785
948
|
readonly time_zone: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
786
|
-
|
|
949
|
+
readonly reminder: v.OptionalSchema<v.UnionSchema<[v.ObjectSchema<{
|
|
950
|
+
readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
|
|
951
|
+
readonly value: v.NumberSchema<undefined>;
|
|
952
|
+
readonly time: v.StringSchema<undefined>;
|
|
953
|
+
readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
954
|
+
}, undefined>, v.ObjectSchema<{
|
|
955
|
+
readonly unit: v.LiteralSchema<"none", undefined>;
|
|
956
|
+
}, undefined>], undefined>, undefined>;
|
|
957
|
+
}, undefined>], undefined>, undefined>;
|
|
787
958
|
}, undefined>, v.ObjectSchema<{
|
|
788
959
|
readonly id: v.StringSchema<undefined>;
|
|
789
960
|
readonly type: v.LiteralSchema<"people", undefined>;
|
|
@@ -858,10 +1029,21 @@ export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.Vari
|
|
|
858
1029
|
readonly id: v.StringSchema<undefined>;
|
|
859
1030
|
readonly type: v.LiteralSchema<"last_visited_time", undefined>;
|
|
860
1031
|
readonly last_visited_time: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
861
|
-
}, undefined>], undefined>, undefined>;
|
|
862
|
-
readonly
|
|
863
|
-
|
|
864
|
-
|
|
1032
|
+
}, undefined>], undefined>, undefined>, undefined>;
|
|
1033
|
+
readonly created_by: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
1034
|
+
readonly id: v.StringSchema<undefined>;
|
|
1035
|
+
readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
|
|
1036
|
+
readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1037
|
+
}, undefined>, undefined>, null>;
|
|
1038
|
+
readonly last_edited_by: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
1039
|
+
readonly id: v.StringSchema<undefined>;
|
|
1040
|
+
readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
|
|
1041
|
+
readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1042
|
+
}, undefined>, undefined>, null>;
|
|
1043
|
+
readonly last_visited_time: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
|
|
1044
|
+
readonly created_time: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
|
|
1045
|
+
readonly last_edited_time: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
|
|
1046
|
+
readonly icon: v.OptionalSchema<v.NullableSchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
865
1047
|
readonly type: v.LiteralSchema<"emoji", undefined>;
|
|
866
1048
|
readonly emoji: v.StringSchema<undefined>;
|
|
867
1049
|
}, undefined>, v.ObjectSchema<{
|
|
@@ -882,8 +1064,8 @@ export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.Vari
|
|
|
882
1064
|
readonly url: v.StringSchema<undefined>;
|
|
883
1065
|
readonly expiry_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
884
1066
|
}, undefined>;
|
|
885
|
-
}, undefined>], undefined>, undefined>;
|
|
886
|
-
readonly cover: v.OptionalSchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
1067
|
+
}, undefined>], undefined>, undefined>, null>;
|
|
1068
|
+
readonly cover: v.OptionalSchema<v.NullableSchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
887
1069
|
readonly type: v.LiteralSchema<"external", undefined>;
|
|
888
1070
|
readonly external: v.ObjectSchema<{
|
|
889
1071
|
readonly url: v.StringSchema<undefined>;
|
|
@@ -894,9 +1076,9 @@ export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.Vari
|
|
|
894
1076
|
readonly url: v.StringSchema<undefined>;
|
|
895
1077
|
readonly expiry_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
896
1078
|
}, undefined>;
|
|
897
|
-
}, undefined>], undefined>, undefined>;
|
|
898
|
-
readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
899
|
-
readonly public_url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1079
|
+
}, undefined>], undefined>, undefined>, null>;
|
|
1080
|
+
readonly url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
|
|
1081
|
+
readonly public_url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
|
|
900
1082
|
readonly is_archived: v.BooleanSchema<undefined>;
|
|
901
1083
|
readonly in_trash: v.BooleanSchema<undefined>;
|
|
902
1084
|
}, undefined>;
|
|
@@ -910,87 +1092,7 @@ export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.Vari
|
|
|
910
1092
|
readonly isRetryable: v.BooleanSchema<undefined>;
|
|
911
1093
|
}, undefined>;
|
|
912
1094
|
}, undefined>], undefined>, v.VariantSchema<"status", [v.ObjectSchema<{
|
|
913
|
-
readonly type: v.LiteralSchema<"
|
|
914
|
-
readonly requestId: v.StringSchema<undefined>;
|
|
915
|
-
readonly status: v.LiteralSchema<"success", undefined>;
|
|
916
|
-
readonly user: v.ObjectSchema<{
|
|
917
|
-
readonly object: v.LiteralSchema<"user", undefined>;
|
|
918
|
-
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionUserId">]>;
|
|
919
|
-
readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
920
|
-
readonly avatar_url: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
921
|
-
readonly type: v.LiteralSchema<"person", undefined>;
|
|
922
|
-
readonly person: v.ObjectSchema<{
|
|
923
|
-
readonly email: v.StringSchema<undefined>;
|
|
924
|
-
}, undefined>;
|
|
925
|
-
}, undefined>;
|
|
926
|
-
}, undefined>, v.ObjectSchema<{
|
|
927
|
-
readonly type: v.LiteralSchema<"getUserResult", undefined>;
|
|
928
|
-
readonly requestId: v.StringSchema<undefined>;
|
|
929
|
-
readonly status: v.LiteralSchema<"error", undefined>;
|
|
930
|
-
readonly error: v.ObjectSchema<{
|
|
931
|
-
readonly code: v.StringSchema<undefined>;
|
|
932
|
-
readonly message: v.StringSchema<undefined>;
|
|
933
|
-
readonly isRetryable: v.BooleanSchema<undefined>;
|
|
934
|
-
}, undefined>;
|
|
935
|
-
}, undefined>], undefined>, v.VariantSchema<"status", [v.ObjectSchema<{
|
|
936
|
-
readonly type: v.LiteralSchema<"listUsersResult", undefined>;
|
|
937
|
-
readonly requestId: v.StringSchema<undefined>;
|
|
938
|
-
readonly status: v.LiteralSchema<"success", undefined>;
|
|
939
|
-
readonly list: v.ObjectSchema<{
|
|
940
|
-
readonly object: v.LiteralSchema<"list", undefined>;
|
|
941
|
-
readonly results: v.ArraySchema<v.ObjectSchema<{
|
|
942
|
-
readonly object: v.LiteralSchema<"user", undefined>;
|
|
943
|
-
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionUserId">]>;
|
|
944
|
-
readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
945
|
-
readonly avatar_url: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
946
|
-
readonly type: v.LiteralSchema<"person", undefined>;
|
|
947
|
-
readonly person: v.ObjectSchema<{
|
|
948
|
-
readonly email: v.StringSchema<undefined>;
|
|
949
|
-
}, undefined>;
|
|
950
|
-
}, undefined>, undefined>;
|
|
951
|
-
readonly next_cursor: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
952
|
-
readonly has_more: v.BooleanSchema<undefined>;
|
|
953
|
-
readonly type: v.LiteralSchema<"user", undefined>;
|
|
954
|
-
readonly user: v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>;
|
|
955
|
-
}, undefined>;
|
|
956
|
-
}, undefined>, v.ObjectSchema<{
|
|
957
|
-
readonly type: v.LiteralSchema<"listUsersResult", undefined>;
|
|
958
|
-
readonly requestId: v.StringSchema<undefined>;
|
|
959
|
-
readonly status: v.LiteralSchema<"error", undefined>;
|
|
960
|
-
readonly error: v.ObjectSchema<{
|
|
961
|
-
readonly code: v.StringSchema<undefined>;
|
|
962
|
-
readonly message: v.StringSchema<undefined>;
|
|
963
|
-
readonly isRetryable: v.BooleanSchema<undefined>;
|
|
964
|
-
}, undefined>;
|
|
965
|
-
}, undefined>], undefined>, v.VariantSchema<"status", [v.ObjectSchema<{
|
|
966
|
-
readonly type: v.LiteralSchema<"openPageResult", undefined>;
|
|
967
|
-
readonly requestId: v.StringSchema<undefined>;
|
|
968
|
-
readonly status: v.LiteralSchema<"success", undefined>;
|
|
969
|
-
readonly pageId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionPageId">]>;
|
|
970
|
-
}, undefined>, v.ObjectSchema<{
|
|
971
|
-
readonly type: v.LiteralSchema<"openPageResult", undefined>;
|
|
972
|
-
readonly requestId: v.StringSchema<undefined>;
|
|
973
|
-
readonly status: v.LiteralSchema<"error", undefined>;
|
|
974
|
-
readonly error: v.ObjectSchema<{
|
|
975
|
-
readonly code: v.StringSchema<undefined>;
|
|
976
|
-
readonly message: v.StringSchema<undefined>;
|
|
977
|
-
readonly isRetryable: v.BooleanSchema<undefined>;
|
|
978
|
-
}, undefined>;
|
|
979
|
-
}, undefined>], undefined>, v.VariantSchema<"status", [v.ObjectSchema<{
|
|
980
|
-
readonly type: v.LiteralSchema<"openExternalUrlResult", undefined>;
|
|
981
|
-
readonly requestId: v.StringSchema<undefined>;
|
|
982
|
-
readonly status: v.LiteralSchema<"success", undefined>;
|
|
983
|
-
}, undefined>, v.ObjectSchema<{
|
|
984
|
-
readonly type: v.LiteralSchema<"openExternalUrlResult", undefined>;
|
|
985
|
-
readonly requestId: v.StringSchema<undefined>;
|
|
986
|
-
readonly status: v.LiteralSchema<"error", undefined>;
|
|
987
|
-
readonly error: v.ObjectSchema<{
|
|
988
|
-
readonly code: v.StringSchema<undefined>;
|
|
989
|
-
readonly message: v.StringSchema<undefined>;
|
|
990
|
-
readonly isRetryable: v.BooleanSchema<undefined>;
|
|
991
|
-
}, undefined>;
|
|
992
|
-
}, undefined>], undefined>, v.VariantSchema<"status", [v.ObjectSchema<{
|
|
993
|
-
readonly type: v.LiteralSchema<"updatePageResult", undefined>;
|
|
1095
|
+
readonly type: v.LiteralSchema<"createPageResult", undefined>;
|
|
994
1096
|
readonly requestId: v.StringSchema<undefined>;
|
|
995
1097
|
readonly status: v.LiteralSchema<"success", undefined>;
|
|
996
1098
|
readonly page: v.ObjectSchema<{
|
|
@@ -1014,7 +1116,7 @@ export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.Vari
|
|
|
1014
1116
|
}, undefined>, v.ObjectSchema<{
|
|
1015
1117
|
readonly type: v.LiteralSchema<"unavailable", undefined>;
|
|
1016
1118
|
}, undefined>], undefined>;
|
|
1017
|
-
readonly properties: v.RecordSchema<v.StringSchema<undefined>, v.VariantSchema<"type", [v.ObjectSchema<{
|
|
1119
|
+
readonly properties: v.RecordSchema<v.StringSchema<undefined>, v.NullableSchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
1018
1120
|
readonly id: v.StringSchema<undefined>;
|
|
1019
1121
|
readonly type: v.LiteralSchema<"title", undefined>;
|
|
1020
1122
|
readonly title: v.ArraySchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
@@ -1087,11 +1189,49 @@ export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.Vari
|
|
|
1087
1189
|
}, undefined>, v.ObjectSchema<{
|
|
1088
1190
|
readonly id: v.StringSchema<undefined>;
|
|
1089
1191
|
readonly type: v.LiteralSchema<"date", undefined>;
|
|
1090
|
-
readonly date: v.NullableSchema<v.ObjectSchema<{
|
|
1192
|
+
readonly date: v.NullableSchema<v.UnionSchema<[v.ObjectSchema<{
|
|
1193
|
+
readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1194
|
+
readonly time_zone: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1195
|
+
readonly reminder: v.OptionalSchema<v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
|
|
1196
|
+
readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
|
|
1197
|
+
readonly value: v.NumberSchema<undefined>;
|
|
1198
|
+
readonly time: v.StringSchema<undefined>;
|
|
1199
|
+
readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1200
|
+
}, undefined>, v.ObjectSchema<{
|
|
1201
|
+
readonly unit: v.PicklistSchema<["hour", "minute"], undefined>;
|
|
1202
|
+
readonly value: v.NumberSchema<undefined>;
|
|
1203
|
+
}, undefined>], undefined>, v.ObjectSchema<{
|
|
1204
|
+
readonly unit: v.LiteralSchema<"none", undefined>;
|
|
1205
|
+
}, undefined>], undefined>, undefined>;
|
|
1206
|
+
readonly start: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IncludesAction<string, "T", undefined>]>;
|
|
1207
|
+
}, undefined>, v.ObjectSchema<{
|
|
1208
|
+
readonly start: v.StringSchema<undefined>;
|
|
1209
|
+
readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1210
|
+
readonly reminder: v.OptionalSchema<v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
|
|
1211
|
+
readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
|
|
1212
|
+
readonly value: v.NumberSchema<undefined>;
|
|
1213
|
+
readonly time: v.StringSchema<undefined>;
|
|
1214
|
+
readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1215
|
+
}, undefined>, v.ObjectSchema<{
|
|
1216
|
+
readonly unit: v.PicklistSchema<["hour", "minute"], undefined>;
|
|
1217
|
+
readonly value: v.NumberSchema<undefined>;
|
|
1218
|
+
}, undefined>], undefined>, v.ObjectSchema<{
|
|
1219
|
+
readonly unit: v.LiteralSchema<"none", undefined>;
|
|
1220
|
+
}, undefined>], undefined>, undefined>;
|
|
1221
|
+
readonly time_zone: v.StringSchema<undefined>;
|
|
1222
|
+
}, undefined>, v.ObjectSchema<{
|
|
1091
1223
|
readonly start: v.StringSchema<undefined>;
|
|
1092
1224
|
readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1093
1225
|
readonly time_zone: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1094
|
-
|
|
1226
|
+
readonly reminder: v.OptionalSchema<v.UnionSchema<[v.ObjectSchema<{
|
|
1227
|
+
readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
|
|
1228
|
+
readonly value: v.NumberSchema<undefined>;
|
|
1229
|
+
readonly time: v.StringSchema<undefined>;
|
|
1230
|
+
readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1231
|
+
}, undefined>, v.ObjectSchema<{
|
|
1232
|
+
readonly unit: v.LiteralSchema<"none", undefined>;
|
|
1233
|
+
}, undefined>], undefined>, undefined>;
|
|
1234
|
+
}, undefined>], undefined>, undefined>;
|
|
1095
1235
|
}, undefined>, v.ObjectSchema<{
|
|
1096
1236
|
readonly id: v.StringSchema<undefined>;
|
|
1097
1237
|
readonly type: v.LiteralSchema<"people", undefined>;
|
|
@@ -1166,10 +1306,21 @@ export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.Vari
|
|
|
1166
1306
|
readonly id: v.StringSchema<undefined>;
|
|
1167
1307
|
readonly type: v.LiteralSchema<"last_visited_time", undefined>;
|
|
1168
1308
|
readonly last_visited_time: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1169
|
-
}, undefined>], undefined>, undefined>;
|
|
1170
|
-
readonly
|
|
1171
|
-
|
|
1172
|
-
|
|
1309
|
+
}, undefined>], undefined>, undefined>, undefined>;
|
|
1310
|
+
readonly created_by: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
1311
|
+
readonly id: v.StringSchema<undefined>;
|
|
1312
|
+
readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
|
|
1313
|
+
readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1314
|
+
}, undefined>, undefined>, null>;
|
|
1315
|
+
readonly last_edited_by: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
1316
|
+
readonly id: v.StringSchema<undefined>;
|
|
1317
|
+
readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
|
|
1318
|
+
readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1319
|
+
}, undefined>, undefined>, null>;
|
|
1320
|
+
readonly last_visited_time: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
|
|
1321
|
+
readonly created_time: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
|
|
1322
|
+
readonly last_edited_time: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
|
|
1323
|
+
readonly icon: v.OptionalSchema<v.NullableSchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
1173
1324
|
readonly type: v.LiteralSchema<"emoji", undefined>;
|
|
1174
1325
|
readonly emoji: v.StringSchema<undefined>;
|
|
1175
1326
|
}, undefined>, v.ObjectSchema<{
|
|
@@ -1190,8 +1341,8 @@ export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.Vari
|
|
|
1190
1341
|
readonly url: v.StringSchema<undefined>;
|
|
1191
1342
|
readonly expiry_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1192
1343
|
}, undefined>;
|
|
1193
|
-
}, undefined>], undefined>, undefined>;
|
|
1194
|
-
readonly cover: v.OptionalSchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
1344
|
+
}, undefined>], undefined>, undefined>, null>;
|
|
1345
|
+
readonly cover: v.OptionalSchema<v.NullableSchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
1195
1346
|
readonly type: v.LiteralSchema<"external", undefined>;
|
|
1196
1347
|
readonly external: v.ObjectSchema<{
|
|
1197
1348
|
readonly url: v.StringSchema<undefined>;
|
|
@@ -1202,14 +1353,14 @@ export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.Vari
|
|
|
1202
1353
|
readonly url: v.StringSchema<undefined>;
|
|
1203
1354
|
readonly expiry_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1204
1355
|
}, undefined>;
|
|
1205
|
-
}, undefined>], undefined>, undefined>;
|
|
1206
|
-
readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1207
|
-
readonly public_url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1356
|
+
}, undefined>], undefined>, undefined>, null>;
|
|
1357
|
+
readonly url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
|
|
1358
|
+
readonly public_url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
|
|
1208
1359
|
readonly is_archived: v.BooleanSchema<undefined>;
|
|
1209
1360
|
readonly in_trash: v.BooleanSchema<undefined>;
|
|
1210
1361
|
}, undefined>;
|
|
1211
1362
|
}, undefined>, v.ObjectSchema<{
|
|
1212
|
-
readonly type: v.LiteralSchema<"
|
|
1363
|
+
readonly type: v.LiteralSchema<"createPageResult", undefined>;
|
|
1213
1364
|
readonly requestId: v.StringSchema<undefined>;
|
|
1214
1365
|
readonly status: v.LiteralSchema<"error", undefined>;
|
|
1215
1366
|
readonly error: v.ObjectSchema<{
|
|
@@ -1217,18 +1368,32 @@ export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.Vari
|
|
|
1217
1368
|
readonly message: v.StringSchema<undefined>;
|
|
1218
1369
|
readonly isRetryable: v.BooleanSchema<undefined>;
|
|
1219
1370
|
}, undefined>;
|
|
1220
|
-
}, undefined>], undefined>, v.ObjectSchema<{
|
|
1221
|
-
readonly type: v.LiteralSchema<"
|
|
1222
|
-
readonly
|
|
1223
|
-
}, undefined>, v.VariantSchema<"status", [v.ObjectSchema<{
|
|
1224
|
-
readonly type: v.LiteralSchema<"queryDataSourceResult", undefined>;
|
|
1225
|
-
readonly subscriptionId: v.StringSchema<undefined>;
|
|
1371
|
+
}, undefined>], undefined>, v.VariantSchema<"status", [v.ObjectSchema<{
|
|
1372
|
+
readonly type: v.LiteralSchema<"updatePageResult", undefined>;
|
|
1373
|
+
readonly requestId: v.StringSchema<undefined>;
|
|
1226
1374
|
readonly status: v.LiteralSchema<"success", undefined>;
|
|
1227
|
-
readonly
|
|
1375
|
+
readonly page: v.ObjectSchema<{
|
|
1376
|
+
readonly object: v.LiteralSchema<"page", undefined>;
|
|
1228
1377
|
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionPageId">]>;
|
|
1229
|
-
readonly
|
|
1230
|
-
|
|
1231
|
-
|
|
1378
|
+
readonly parent: v.VariantSchema<"type", [v.ObjectSchema<{
|
|
1379
|
+
readonly type: v.LiteralSchema<"page_id", undefined>;
|
|
1380
|
+
readonly page_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionPageId">]>;
|
|
1381
|
+
}, undefined>, v.ObjectSchema<{
|
|
1382
|
+
readonly type: v.LiteralSchema<"data_source_id", undefined>;
|
|
1383
|
+
readonly data_source_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionDataSourceId">]>;
|
|
1384
|
+
}, undefined>, v.ObjectSchema<{
|
|
1385
|
+
readonly type: v.LiteralSchema<"workspace", undefined>;
|
|
1386
|
+
readonly workspace: v.LiteralSchema<true, undefined>;
|
|
1387
|
+
}, undefined>, v.ObjectSchema<{
|
|
1388
|
+
readonly type: v.LiteralSchema<"block_id", undefined>;
|
|
1389
|
+
readonly block_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionBlockId">]>;
|
|
1390
|
+
}, undefined>, v.ObjectSchema<{
|
|
1391
|
+
readonly type: v.LiteralSchema<"agent_id", undefined>;
|
|
1392
|
+
readonly agent_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionAgentId">]>;
|
|
1393
|
+
}, undefined>, v.ObjectSchema<{
|
|
1394
|
+
readonly type: v.LiteralSchema<"unavailable", undefined>;
|
|
1395
|
+
}, undefined>], undefined>;
|
|
1396
|
+
readonly properties: v.RecordSchema<v.StringSchema<undefined>, v.NullableSchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
1232
1397
|
readonly id: v.StringSchema<undefined>;
|
|
1233
1398
|
readonly type: v.LiteralSchema<"title", undefined>;
|
|
1234
1399
|
readonly title: v.ArraySchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
@@ -1301,11 +1466,49 @@ export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.Vari
|
|
|
1301
1466
|
}, undefined>, v.ObjectSchema<{
|
|
1302
1467
|
readonly id: v.StringSchema<undefined>;
|
|
1303
1468
|
readonly type: v.LiteralSchema<"date", undefined>;
|
|
1304
|
-
readonly date: v.NullableSchema<v.ObjectSchema<{
|
|
1469
|
+
readonly date: v.NullableSchema<v.UnionSchema<[v.ObjectSchema<{
|
|
1470
|
+
readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1471
|
+
readonly time_zone: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1472
|
+
readonly reminder: v.OptionalSchema<v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
|
|
1473
|
+
readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
|
|
1474
|
+
readonly value: v.NumberSchema<undefined>;
|
|
1475
|
+
readonly time: v.StringSchema<undefined>;
|
|
1476
|
+
readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1477
|
+
}, undefined>, v.ObjectSchema<{
|
|
1478
|
+
readonly unit: v.PicklistSchema<["hour", "minute"], undefined>;
|
|
1479
|
+
readonly value: v.NumberSchema<undefined>;
|
|
1480
|
+
}, undefined>], undefined>, v.ObjectSchema<{
|
|
1481
|
+
readonly unit: v.LiteralSchema<"none", undefined>;
|
|
1482
|
+
}, undefined>], undefined>, undefined>;
|
|
1483
|
+
readonly start: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IncludesAction<string, "T", undefined>]>;
|
|
1484
|
+
}, undefined>, v.ObjectSchema<{
|
|
1485
|
+
readonly start: v.StringSchema<undefined>;
|
|
1486
|
+
readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1487
|
+
readonly reminder: v.OptionalSchema<v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
|
|
1488
|
+
readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
|
|
1489
|
+
readonly value: v.NumberSchema<undefined>;
|
|
1490
|
+
readonly time: v.StringSchema<undefined>;
|
|
1491
|
+
readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1492
|
+
}, undefined>, v.ObjectSchema<{
|
|
1493
|
+
readonly unit: v.PicklistSchema<["hour", "minute"], undefined>;
|
|
1494
|
+
readonly value: v.NumberSchema<undefined>;
|
|
1495
|
+
}, undefined>], undefined>, v.ObjectSchema<{
|
|
1496
|
+
readonly unit: v.LiteralSchema<"none", undefined>;
|
|
1497
|
+
}, undefined>], undefined>, undefined>;
|
|
1498
|
+
readonly time_zone: v.StringSchema<undefined>;
|
|
1499
|
+
}, undefined>, v.ObjectSchema<{
|
|
1305
1500
|
readonly start: v.StringSchema<undefined>;
|
|
1306
1501
|
readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1307
1502
|
readonly time_zone: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1308
|
-
|
|
1503
|
+
readonly reminder: v.OptionalSchema<v.UnionSchema<[v.ObjectSchema<{
|
|
1504
|
+
readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
|
|
1505
|
+
readonly value: v.NumberSchema<undefined>;
|
|
1506
|
+
readonly time: v.StringSchema<undefined>;
|
|
1507
|
+
readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1508
|
+
}, undefined>, v.ObjectSchema<{
|
|
1509
|
+
readonly unit: v.LiteralSchema<"none", undefined>;
|
|
1510
|
+
}, undefined>], undefined>, undefined>;
|
|
1511
|
+
}, undefined>], undefined>, undefined>;
|
|
1309
1512
|
}, undefined>, v.ObjectSchema<{
|
|
1310
1513
|
readonly id: v.StringSchema<undefined>;
|
|
1311
1514
|
readonly type: v.LiteralSchema<"people", undefined>;
|
|
@@ -1381,11 +1584,61 @@ export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.Vari
|
|
|
1381
1584
|
readonly type: v.LiteralSchema<"last_visited_time", undefined>;
|
|
1382
1585
|
readonly last_visited_time: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1383
1586
|
}, undefined>], undefined>, undefined>, undefined>;
|
|
1384
|
-
|
|
1385
|
-
|
|
1587
|
+
readonly created_by: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
1588
|
+
readonly id: v.StringSchema<undefined>;
|
|
1589
|
+
readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
|
|
1590
|
+
readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1591
|
+
}, undefined>, undefined>, null>;
|
|
1592
|
+
readonly last_edited_by: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
1593
|
+
readonly id: v.StringSchema<undefined>;
|
|
1594
|
+
readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
|
|
1595
|
+
readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1596
|
+
}, undefined>, undefined>, null>;
|
|
1597
|
+
readonly last_visited_time: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
|
|
1598
|
+
readonly created_time: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
|
|
1599
|
+
readonly last_edited_time: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
|
|
1600
|
+
readonly icon: v.OptionalSchema<v.NullableSchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
1601
|
+
readonly type: v.LiteralSchema<"emoji", undefined>;
|
|
1602
|
+
readonly emoji: v.StringSchema<undefined>;
|
|
1603
|
+
}, undefined>, v.ObjectSchema<{
|
|
1604
|
+
readonly type: v.LiteralSchema<"custom_emoji", undefined>;
|
|
1605
|
+
readonly custom_emoji: v.ObjectSchema<{
|
|
1606
|
+
readonly id: v.StringSchema<undefined>;
|
|
1607
|
+
readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1608
|
+
readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1609
|
+
}, undefined>;
|
|
1610
|
+
}, undefined>, v.ObjectSchema<{
|
|
1611
|
+
readonly type: v.LiteralSchema<"external", undefined>;
|
|
1612
|
+
readonly external: v.ObjectSchema<{
|
|
1613
|
+
readonly url: v.StringSchema<undefined>;
|
|
1614
|
+
}, undefined>;
|
|
1615
|
+
}, undefined>, v.ObjectSchema<{
|
|
1616
|
+
readonly type: v.LiteralSchema<"file", undefined>;
|
|
1617
|
+
readonly file: v.ObjectSchema<{
|
|
1618
|
+
readonly url: v.StringSchema<undefined>;
|
|
1619
|
+
readonly expiry_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1620
|
+
}, undefined>;
|
|
1621
|
+
}, undefined>], undefined>, undefined>, null>;
|
|
1622
|
+
readonly cover: v.OptionalSchema<v.NullableSchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
1623
|
+
readonly type: v.LiteralSchema<"external", undefined>;
|
|
1624
|
+
readonly external: v.ObjectSchema<{
|
|
1625
|
+
readonly url: v.StringSchema<undefined>;
|
|
1626
|
+
}, undefined>;
|
|
1627
|
+
}, undefined>, v.ObjectSchema<{
|
|
1628
|
+
readonly type: v.LiteralSchema<"file", undefined>;
|
|
1629
|
+
readonly file: v.ObjectSchema<{
|
|
1630
|
+
readonly url: v.StringSchema<undefined>;
|
|
1631
|
+
readonly expiry_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1632
|
+
}, undefined>;
|
|
1633
|
+
}, undefined>], undefined>, undefined>, null>;
|
|
1634
|
+
readonly url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
|
|
1635
|
+
readonly public_url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
|
|
1636
|
+
readonly is_archived: v.BooleanSchema<undefined>;
|
|
1637
|
+
readonly in_trash: v.BooleanSchema<undefined>;
|
|
1638
|
+
}, undefined>;
|
|
1386
1639
|
}, undefined>, v.ObjectSchema<{
|
|
1387
|
-
readonly type: v.LiteralSchema<"
|
|
1388
|
-
readonly
|
|
1640
|
+
readonly type: v.LiteralSchema<"updatePageResult", undefined>;
|
|
1641
|
+
readonly requestId: v.StringSchema<undefined>;
|
|
1389
1642
|
readonly status: v.LiteralSchema<"error", undefined>;
|
|
1390
1643
|
readonly error: v.ObjectSchema<{
|
|
1391
1644
|
readonly code: v.StringSchema<undefined>;
|
|
@@ -1851,10 +2104,93 @@ export declare const hostToSandboxMessageLegacySchema: v.VariantSchema<"type", [
|
|
|
1851
2104
|
}, undefined>, undefined>;
|
|
1852
2105
|
}, undefined>;
|
|
1853
2106
|
}, undefined>, v.VariantSchema<"status", [v.ObjectSchema<{
|
|
1854
|
-
readonly type: v.LiteralSchema<"
|
|
2107
|
+
readonly type: v.LiteralSchema<"getUserResult", undefined>;
|
|
1855
2108
|
readonly requestId: v.StringSchema<undefined>;
|
|
1856
2109
|
readonly status: v.LiteralSchema<"success", undefined>;
|
|
1857
|
-
readonly
|
|
2110
|
+
readonly user: v.ObjectSchema<{
|
|
2111
|
+
readonly object: v.LiteralSchema<"user", undefined>;
|
|
2112
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionUserId">]>;
|
|
2113
|
+
readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2114
|
+
readonly avatar_url: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
2115
|
+
readonly type: v.LiteralSchema<"person", undefined>;
|
|
2116
|
+
readonly person: v.ObjectSchema<{
|
|
2117
|
+
readonly email: v.StringSchema<undefined>;
|
|
2118
|
+
}, undefined>;
|
|
2119
|
+
}, undefined>;
|
|
2120
|
+
}, undefined>, v.ObjectSchema<{
|
|
2121
|
+
readonly type: v.LiteralSchema<"getUserResult", undefined>;
|
|
2122
|
+
readonly requestId: v.StringSchema<undefined>;
|
|
2123
|
+
readonly status: v.LiteralSchema<"error", undefined>;
|
|
2124
|
+
readonly error: v.ObjectSchema<{
|
|
2125
|
+
readonly code: v.StringSchema<undefined>;
|
|
2126
|
+
readonly message: v.StringSchema<undefined>;
|
|
2127
|
+
readonly isRetryable: v.BooleanSchema<undefined>;
|
|
2128
|
+
}, undefined>;
|
|
2129
|
+
}, undefined>], undefined>, v.VariantSchema<"status", [v.ObjectSchema<{
|
|
2130
|
+
readonly type: v.LiteralSchema<"listUsersResult", undefined>;
|
|
2131
|
+
readonly requestId: v.StringSchema<undefined>;
|
|
2132
|
+
readonly status: v.LiteralSchema<"success", undefined>;
|
|
2133
|
+
readonly list: v.ObjectSchema<{
|
|
2134
|
+
readonly object: v.LiteralSchema<"list", undefined>;
|
|
2135
|
+
readonly results: v.ArraySchema<v.ObjectSchema<{
|
|
2136
|
+
readonly object: v.LiteralSchema<"user", undefined>;
|
|
2137
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionUserId">]>;
|
|
2138
|
+
readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2139
|
+
readonly avatar_url: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
2140
|
+
readonly type: v.LiteralSchema<"person", undefined>;
|
|
2141
|
+
readonly person: v.ObjectSchema<{
|
|
2142
|
+
readonly email: v.StringSchema<undefined>;
|
|
2143
|
+
}, undefined>;
|
|
2144
|
+
}, undefined>, undefined>;
|
|
2145
|
+
readonly next_cursor: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
2146
|
+
readonly has_more: v.BooleanSchema<undefined>;
|
|
2147
|
+
readonly type: v.LiteralSchema<"user", undefined>;
|
|
2148
|
+
readonly user: v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>;
|
|
2149
|
+
}, undefined>;
|
|
2150
|
+
}, undefined>, v.ObjectSchema<{
|
|
2151
|
+
readonly type: v.LiteralSchema<"listUsersResult", undefined>;
|
|
2152
|
+
readonly requestId: v.StringSchema<undefined>;
|
|
2153
|
+
readonly status: v.LiteralSchema<"error", undefined>;
|
|
2154
|
+
readonly error: v.ObjectSchema<{
|
|
2155
|
+
readonly code: v.StringSchema<undefined>;
|
|
2156
|
+
readonly message: v.StringSchema<undefined>;
|
|
2157
|
+
readonly isRetryable: v.BooleanSchema<undefined>;
|
|
2158
|
+
}, undefined>;
|
|
2159
|
+
}, undefined>], undefined>, v.VariantSchema<"status", [v.ObjectSchema<{
|
|
2160
|
+
readonly type: v.LiteralSchema<"openPageResult", undefined>;
|
|
2161
|
+
readonly requestId: v.StringSchema<undefined>;
|
|
2162
|
+
readonly status: v.LiteralSchema<"success", undefined>;
|
|
2163
|
+
readonly pageId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionPageId">]>;
|
|
2164
|
+
}, undefined>, v.ObjectSchema<{
|
|
2165
|
+
readonly type: v.LiteralSchema<"openPageResult", undefined>;
|
|
2166
|
+
readonly requestId: v.StringSchema<undefined>;
|
|
2167
|
+
readonly status: v.LiteralSchema<"error", undefined>;
|
|
2168
|
+
readonly error: v.ObjectSchema<{
|
|
2169
|
+
readonly code: v.StringSchema<undefined>;
|
|
2170
|
+
readonly message: v.StringSchema<undefined>;
|
|
2171
|
+
readonly isRetryable: v.BooleanSchema<undefined>;
|
|
2172
|
+
}, undefined>;
|
|
2173
|
+
}, undefined>], undefined>, v.VariantSchema<"status", [v.ObjectSchema<{
|
|
2174
|
+
readonly type: v.LiteralSchema<"openExternalUrlResult", undefined>;
|
|
2175
|
+
readonly requestId: v.StringSchema<undefined>;
|
|
2176
|
+
readonly status: v.LiteralSchema<"success", undefined>;
|
|
2177
|
+
}, undefined>, v.ObjectSchema<{
|
|
2178
|
+
readonly type: v.LiteralSchema<"openExternalUrlResult", undefined>;
|
|
2179
|
+
readonly requestId: v.StringSchema<undefined>;
|
|
2180
|
+
readonly status: v.LiteralSchema<"error", undefined>;
|
|
2181
|
+
readonly error: v.ObjectSchema<{
|
|
2182
|
+
readonly code: v.StringSchema<undefined>;
|
|
2183
|
+
readonly message: v.StringSchema<undefined>;
|
|
2184
|
+
readonly isRetryable: v.BooleanSchema<undefined>;
|
|
2185
|
+
}, undefined>;
|
|
2186
|
+
}, undefined>], undefined>, v.ObjectSchema<{
|
|
2187
|
+
readonly type: v.LiteralSchema<"invalidSandboxMessage", undefined>;
|
|
2188
|
+
readonly reason: v.StringSchema<undefined>;
|
|
2189
|
+
}, undefined>, v.VariantSchema<"status", [v.ObjectSchema<{
|
|
2190
|
+
readonly type: v.LiteralSchema<"queryDataSourceResult", undefined>;
|
|
2191
|
+
readonly subscriptionId: v.StringSchema<undefined>;
|
|
2192
|
+
readonly status: v.LiteralSchema<"success", undefined>;
|
|
2193
|
+
readonly items: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
|
|
1858
2194
|
readonly object: v.LiteralSchema<"page", undefined>;
|
|
1859
2195
|
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionPageId">]>;
|
|
1860
2196
|
readonly parent: v.VariantSchema<"type", [v.ObjectSchema<{
|
|
@@ -1875,7 +2211,7 @@ export declare const hostToSandboxMessageLegacySchema: v.VariantSchema<"type", [
|
|
|
1875
2211
|
}, undefined>, v.ObjectSchema<{
|
|
1876
2212
|
readonly type: v.LiteralSchema<"unavailable", undefined>;
|
|
1877
2213
|
}, undefined>], undefined>;
|
|
1878
|
-
readonly properties: v.RecordSchema<v.StringSchema<undefined>, v.VariantSchema<"type", [v.ObjectSchema<{
|
|
2214
|
+
readonly properties: v.RecordSchema<v.StringSchema<undefined>, v.NullableSchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
1879
2215
|
readonly id: v.StringSchema<undefined>;
|
|
1880
2216
|
readonly type: v.LiteralSchema<"title", undefined>;
|
|
1881
2217
|
readonly title: v.ArraySchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
@@ -1948,11 +2284,49 @@ export declare const hostToSandboxMessageLegacySchema: v.VariantSchema<"type", [
|
|
|
1948
2284
|
}, undefined>, v.ObjectSchema<{
|
|
1949
2285
|
readonly id: v.StringSchema<undefined>;
|
|
1950
2286
|
readonly type: v.LiteralSchema<"date", undefined>;
|
|
1951
|
-
readonly date: v.NullableSchema<v.ObjectSchema<{
|
|
2287
|
+
readonly date: v.NullableSchema<v.UnionSchema<[v.ObjectSchema<{
|
|
2288
|
+
readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2289
|
+
readonly time_zone: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2290
|
+
readonly reminder: v.OptionalSchema<v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
|
|
2291
|
+
readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
|
|
2292
|
+
readonly value: v.NumberSchema<undefined>;
|
|
2293
|
+
readonly time: v.StringSchema<undefined>;
|
|
2294
|
+
readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2295
|
+
}, undefined>, v.ObjectSchema<{
|
|
2296
|
+
readonly unit: v.PicklistSchema<["hour", "minute"], undefined>;
|
|
2297
|
+
readonly value: v.NumberSchema<undefined>;
|
|
2298
|
+
}, undefined>], undefined>, v.ObjectSchema<{
|
|
2299
|
+
readonly unit: v.LiteralSchema<"none", undefined>;
|
|
2300
|
+
}, undefined>], undefined>, undefined>;
|
|
2301
|
+
readonly start: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IncludesAction<string, "T", undefined>]>;
|
|
2302
|
+
}, undefined>, v.ObjectSchema<{
|
|
2303
|
+
readonly start: v.StringSchema<undefined>;
|
|
2304
|
+
readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2305
|
+
readonly reminder: v.OptionalSchema<v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
|
|
2306
|
+
readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
|
|
2307
|
+
readonly value: v.NumberSchema<undefined>;
|
|
2308
|
+
readonly time: v.StringSchema<undefined>;
|
|
2309
|
+
readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2310
|
+
}, undefined>, v.ObjectSchema<{
|
|
2311
|
+
readonly unit: v.PicklistSchema<["hour", "minute"], undefined>;
|
|
2312
|
+
readonly value: v.NumberSchema<undefined>;
|
|
2313
|
+
}, undefined>], undefined>, v.ObjectSchema<{
|
|
2314
|
+
readonly unit: v.LiteralSchema<"none", undefined>;
|
|
2315
|
+
}, undefined>], undefined>, undefined>;
|
|
2316
|
+
readonly time_zone: v.StringSchema<undefined>;
|
|
2317
|
+
}, undefined>, v.ObjectSchema<{
|
|
1952
2318
|
readonly start: v.StringSchema<undefined>;
|
|
1953
2319
|
readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1954
2320
|
readonly time_zone: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1955
|
-
|
|
2321
|
+
readonly reminder: v.OptionalSchema<v.UnionSchema<[v.ObjectSchema<{
|
|
2322
|
+
readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
|
|
2323
|
+
readonly value: v.NumberSchema<undefined>;
|
|
2324
|
+
readonly time: v.StringSchema<undefined>;
|
|
2325
|
+
readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2326
|
+
}, undefined>, v.ObjectSchema<{
|
|
2327
|
+
readonly unit: v.LiteralSchema<"none", undefined>;
|
|
2328
|
+
}, undefined>], undefined>, undefined>;
|
|
2329
|
+
}, undefined>], undefined>, undefined>;
|
|
1956
2330
|
}, undefined>, v.ObjectSchema<{
|
|
1957
2331
|
readonly id: v.StringSchema<undefined>;
|
|
1958
2332
|
readonly type: v.LiteralSchema<"people", undefined>;
|
|
@@ -2027,10 +2401,21 @@ export declare const hostToSandboxMessageLegacySchema: v.VariantSchema<"type", [
|
|
|
2027
2401
|
readonly id: v.StringSchema<undefined>;
|
|
2028
2402
|
readonly type: v.LiteralSchema<"last_visited_time", undefined>;
|
|
2029
2403
|
readonly last_visited_time: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
2030
|
-
}, undefined>], undefined>, undefined>;
|
|
2031
|
-
readonly
|
|
2032
|
-
|
|
2033
|
-
|
|
2404
|
+
}, undefined>], undefined>, undefined>, undefined>;
|
|
2405
|
+
readonly created_by: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
2406
|
+
readonly id: v.StringSchema<undefined>;
|
|
2407
|
+
readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
|
|
2408
|
+
readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2409
|
+
}, undefined>, undefined>, null>;
|
|
2410
|
+
readonly last_edited_by: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
2411
|
+
readonly id: v.StringSchema<undefined>;
|
|
2412
|
+
readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
|
|
2413
|
+
readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2414
|
+
}, undefined>, undefined>, null>;
|
|
2415
|
+
readonly last_visited_time: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
|
|
2416
|
+
readonly created_time: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
|
|
2417
|
+
readonly last_edited_time: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
|
|
2418
|
+
readonly icon: v.OptionalSchema<v.NullableSchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
2034
2419
|
readonly type: v.LiteralSchema<"emoji", undefined>;
|
|
2035
2420
|
readonly emoji: v.StringSchema<undefined>;
|
|
2036
2421
|
}, undefined>, v.ObjectSchema<{
|
|
@@ -2051,8 +2436,8 @@ export declare const hostToSandboxMessageLegacySchema: v.VariantSchema<"type", [
|
|
|
2051
2436
|
readonly url: v.StringSchema<undefined>;
|
|
2052
2437
|
readonly expiry_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2053
2438
|
}, undefined>;
|
|
2054
|
-
}, undefined>], undefined>, undefined>;
|
|
2055
|
-
readonly cover: v.OptionalSchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
2439
|
+
}, undefined>], undefined>, undefined>, null>;
|
|
2440
|
+
readonly cover: v.OptionalSchema<v.NullableSchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
2056
2441
|
readonly type: v.LiteralSchema<"external", undefined>;
|
|
2057
2442
|
readonly external: v.ObjectSchema<{
|
|
2058
2443
|
readonly url: v.StringSchema<undefined>;
|
|
@@ -2063,50 +2448,116 @@ export declare const hostToSandboxMessageLegacySchema: v.VariantSchema<"type", [
|
|
|
2063
2448
|
readonly url: v.StringSchema<undefined>;
|
|
2064
2449
|
readonly expiry_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2065
2450
|
}, undefined>;
|
|
2066
|
-
}, undefined>], undefined>, undefined>;
|
|
2067
|
-
readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2068
|
-
readonly public_url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2451
|
+
}, undefined>], undefined>, undefined>, null>;
|
|
2452
|
+
readonly url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
|
|
2453
|
+
readonly public_url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
|
|
2069
2454
|
readonly is_archived: v.BooleanSchema<undefined>;
|
|
2070
2455
|
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>;
|
|
2456
|
+
}, undefined>, v.ObjectSchema<{
|
|
2087
2457
|
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionPageId">]>;
|
|
2088
|
-
readonly
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
readonly
|
|
2093
|
-
readonly
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
|
|
2100
|
-
|
|
2101
|
-
readonly type: v.LiteralSchema<"agent_id", undefined>;
|
|
2102
|
-
readonly agent_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionAgentId">]>;
|
|
2458
|
+
readonly is_archived: v.BooleanSchema<undefined>;
|
|
2459
|
+
readonly in_trash: v.BooleanSchema<undefined>;
|
|
2460
|
+
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<{
|
|
2461
|
+
readonly type: v.LiteralSchema<"date", undefined>;
|
|
2462
|
+
readonly start_date: v.StringSchema<undefined>;
|
|
2463
|
+
readonly reminder: v.OptionalSchema<v.UnionSchema<[v.ObjectSchema<{
|
|
2464
|
+
readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
|
|
2465
|
+
readonly value: v.NumberSchema<undefined>;
|
|
2466
|
+
readonly time: v.StringSchema<undefined>;
|
|
2467
|
+
readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2468
|
+
}, undefined>, v.ObjectSchema<{
|
|
2469
|
+
readonly unit: v.LiteralSchema<"none", undefined>;
|
|
2470
|
+
}, undefined>], undefined>, undefined>;
|
|
2103
2471
|
}, undefined>, v.ObjectSchema<{
|
|
2104
|
-
readonly type: v.LiteralSchema<"
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
readonly
|
|
2108
|
-
|
|
2109
|
-
|
|
2472
|
+
readonly type: v.LiteralSchema<"daterange", undefined>;
|
|
2473
|
+
readonly start_date: v.StringSchema<undefined>;
|
|
2474
|
+
readonly end_date: v.StringSchema<undefined>;
|
|
2475
|
+
readonly reminder: v.OptionalSchema<v.UnionSchema<[v.ObjectSchema<{
|
|
2476
|
+
readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
|
|
2477
|
+
readonly value: v.NumberSchema<undefined>;
|
|
2478
|
+
readonly time: v.StringSchema<undefined>;
|
|
2479
|
+
readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2480
|
+
}, undefined>, v.ObjectSchema<{
|
|
2481
|
+
readonly unit: v.LiteralSchema<"none", undefined>;
|
|
2482
|
+
}, undefined>], undefined>, undefined>;
|
|
2483
|
+
}, undefined>, v.ObjectSchema<{
|
|
2484
|
+
readonly type: v.LiteralSchema<"datetime", undefined>;
|
|
2485
|
+
readonly start_date: v.StringSchema<undefined>;
|
|
2486
|
+
readonly start_time: v.StringSchema<undefined>;
|
|
2487
|
+
readonly time_zone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2488
|
+
readonly reminder: v.OptionalSchema<v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
|
|
2489
|
+
readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
|
|
2490
|
+
readonly value: v.NumberSchema<undefined>;
|
|
2491
|
+
readonly time: v.StringSchema<undefined>;
|
|
2492
|
+
readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2493
|
+
}, undefined>, v.ObjectSchema<{
|
|
2494
|
+
readonly unit: v.PicklistSchema<["hour", "minute"], undefined>;
|
|
2495
|
+
readonly value: v.NumberSchema<undefined>;
|
|
2496
|
+
}, undefined>], undefined>, v.ObjectSchema<{
|
|
2497
|
+
readonly unit: v.LiteralSchema<"none", undefined>;
|
|
2498
|
+
}, undefined>], undefined>, undefined>;
|
|
2499
|
+
}, undefined>, v.ObjectSchema<{
|
|
2500
|
+
readonly type: v.LiteralSchema<"datetimerange", undefined>;
|
|
2501
|
+
readonly start_date: v.StringSchema<undefined>;
|
|
2502
|
+
readonly start_time: v.StringSchema<undefined>;
|
|
2503
|
+
readonly end_date: v.StringSchema<undefined>;
|
|
2504
|
+
readonly end_time: v.StringSchema<undefined>;
|
|
2505
|
+
readonly time_zone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2506
|
+
readonly reminder: v.OptionalSchema<v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
|
|
2507
|
+
readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
|
|
2508
|
+
readonly value: v.NumberSchema<undefined>;
|
|
2509
|
+
readonly time: v.StringSchema<undefined>;
|
|
2510
|
+
readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2511
|
+
}, undefined>, v.ObjectSchema<{
|
|
2512
|
+
readonly unit: v.PicklistSchema<["hour", "minute"], undefined>;
|
|
2513
|
+
readonly value: v.NumberSchema<undefined>;
|
|
2514
|
+
}, undefined>], undefined>, v.ObjectSchema<{
|
|
2515
|
+
readonly unit: v.LiteralSchema<"none", undefined>;
|
|
2516
|
+
}, undefined>], undefined>, undefined>;
|
|
2517
|
+
}, undefined>], undefined>, v.ArraySchema<v.StringSchema<undefined>, undefined>, v.ArraySchema<v.ObjectSchema<{
|
|
2518
|
+
readonly id: v.StringSchema<undefined>;
|
|
2519
|
+
readonly table: v.StringSchema<undefined>;
|
|
2520
|
+
}, undefined>, undefined>], undefined>, undefined>, undefined>;
|
|
2521
|
+
}, undefined>], undefined>, undefined>;
|
|
2522
|
+
readonly hasMore: v.BooleanSchema<undefined>;
|
|
2523
|
+
}, undefined>, v.ObjectSchema<{
|
|
2524
|
+
readonly type: v.LiteralSchema<"queryDataSourceResult", undefined>;
|
|
2525
|
+
readonly subscriptionId: v.StringSchema<undefined>;
|
|
2526
|
+
readonly status: v.LiteralSchema<"error", undefined>;
|
|
2527
|
+
readonly error: v.ObjectSchema<{
|
|
2528
|
+
readonly code: v.StringSchema<undefined>;
|
|
2529
|
+
readonly message: v.StringSchema<undefined>;
|
|
2530
|
+
readonly isRetryable: v.BooleanSchema<undefined>;
|
|
2531
|
+
}, undefined>;
|
|
2532
|
+
}, undefined>], undefined>, v.VariantSchema<"status", [v.ObjectSchema<{
|
|
2533
|
+
readonly type: v.LiteralSchema<"getPageResult", undefined>;
|
|
2534
|
+
readonly requestId: v.StringSchema<undefined>;
|
|
2535
|
+
readonly status: v.LiteralSchema<"success", undefined>;
|
|
2536
|
+
readonly page: v.UnionSchema<[v.ObjectSchema<{
|
|
2537
|
+
readonly object: v.LiteralSchema<"page", undefined>;
|
|
2538
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionPageId">]>;
|
|
2539
|
+
readonly parent: v.VariantSchema<"type", [v.ObjectSchema<{
|
|
2540
|
+
readonly type: v.LiteralSchema<"page_id", undefined>;
|
|
2541
|
+
readonly page_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionPageId">]>;
|
|
2542
|
+
}, undefined>, v.ObjectSchema<{
|
|
2543
|
+
readonly type: v.LiteralSchema<"data_source_id", undefined>;
|
|
2544
|
+
readonly data_source_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionDataSourceId">]>;
|
|
2545
|
+
}, undefined>, v.ObjectSchema<{
|
|
2546
|
+
readonly type: v.LiteralSchema<"workspace", undefined>;
|
|
2547
|
+
readonly workspace: v.LiteralSchema<true, undefined>;
|
|
2548
|
+
}, undefined>, v.ObjectSchema<{
|
|
2549
|
+
readonly type: v.LiteralSchema<"block_id", undefined>;
|
|
2550
|
+
readonly block_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionBlockId">]>;
|
|
2551
|
+
}, undefined>, v.ObjectSchema<{
|
|
2552
|
+
readonly type: v.LiteralSchema<"agent_id", undefined>;
|
|
2553
|
+
readonly agent_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionAgentId">]>;
|
|
2554
|
+
}, undefined>, v.ObjectSchema<{
|
|
2555
|
+
readonly type: v.LiteralSchema<"unavailable", undefined>;
|
|
2556
|
+
}, undefined>], undefined>;
|
|
2557
|
+
readonly properties: v.RecordSchema<v.StringSchema<undefined>, v.NullableSchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
2558
|
+
readonly id: v.StringSchema<undefined>;
|
|
2559
|
+
readonly type: v.LiteralSchema<"title", undefined>;
|
|
2560
|
+
readonly title: v.ArraySchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
2110
2561
|
}, undefined>, v.ObjectSchema<{
|
|
2111
2562
|
readonly id: v.StringSchema<undefined>;
|
|
2112
2563
|
readonly type: v.LiteralSchema<"rich_text", undefined>;
|
|
@@ -2176,11 +2627,49 @@ export declare const hostToSandboxMessageLegacySchema: v.VariantSchema<"type", [
|
|
|
2176
2627
|
}, undefined>, v.ObjectSchema<{
|
|
2177
2628
|
readonly id: v.StringSchema<undefined>;
|
|
2178
2629
|
readonly type: v.LiteralSchema<"date", undefined>;
|
|
2179
|
-
readonly date: v.NullableSchema<v.ObjectSchema<{
|
|
2630
|
+
readonly date: v.NullableSchema<v.UnionSchema<[v.ObjectSchema<{
|
|
2631
|
+
readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2632
|
+
readonly time_zone: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2633
|
+
readonly reminder: v.OptionalSchema<v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
|
|
2634
|
+
readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
|
|
2635
|
+
readonly value: v.NumberSchema<undefined>;
|
|
2636
|
+
readonly time: v.StringSchema<undefined>;
|
|
2637
|
+
readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2638
|
+
}, undefined>, v.ObjectSchema<{
|
|
2639
|
+
readonly unit: v.PicklistSchema<["hour", "minute"], undefined>;
|
|
2640
|
+
readonly value: v.NumberSchema<undefined>;
|
|
2641
|
+
}, undefined>], undefined>, v.ObjectSchema<{
|
|
2642
|
+
readonly unit: v.LiteralSchema<"none", undefined>;
|
|
2643
|
+
}, undefined>], undefined>, undefined>;
|
|
2644
|
+
readonly start: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IncludesAction<string, "T", undefined>]>;
|
|
2645
|
+
}, undefined>, v.ObjectSchema<{
|
|
2646
|
+
readonly start: v.StringSchema<undefined>;
|
|
2647
|
+
readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2648
|
+
readonly reminder: v.OptionalSchema<v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
|
|
2649
|
+
readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
|
|
2650
|
+
readonly value: v.NumberSchema<undefined>;
|
|
2651
|
+
readonly time: v.StringSchema<undefined>;
|
|
2652
|
+
readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2653
|
+
}, undefined>, v.ObjectSchema<{
|
|
2654
|
+
readonly unit: v.PicklistSchema<["hour", "minute"], undefined>;
|
|
2655
|
+
readonly value: v.NumberSchema<undefined>;
|
|
2656
|
+
}, undefined>], undefined>, v.ObjectSchema<{
|
|
2657
|
+
readonly unit: v.LiteralSchema<"none", undefined>;
|
|
2658
|
+
}, undefined>], undefined>, undefined>;
|
|
2659
|
+
readonly time_zone: v.StringSchema<undefined>;
|
|
2660
|
+
}, undefined>, v.ObjectSchema<{
|
|
2180
2661
|
readonly start: v.StringSchema<undefined>;
|
|
2181
2662
|
readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2182
2663
|
readonly time_zone: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2183
|
-
|
|
2664
|
+
readonly reminder: v.OptionalSchema<v.UnionSchema<[v.ObjectSchema<{
|
|
2665
|
+
readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
|
|
2666
|
+
readonly value: v.NumberSchema<undefined>;
|
|
2667
|
+
readonly time: v.StringSchema<undefined>;
|
|
2668
|
+
readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2669
|
+
}, undefined>, v.ObjectSchema<{
|
|
2670
|
+
readonly unit: v.LiteralSchema<"none", undefined>;
|
|
2671
|
+
}, undefined>], undefined>, undefined>;
|
|
2672
|
+
}, undefined>], undefined>, undefined>;
|
|
2184
2673
|
}, undefined>, v.ObjectSchema<{
|
|
2185
2674
|
readonly id: v.StringSchema<undefined>;
|
|
2186
2675
|
readonly type: v.LiteralSchema<"people", undefined>;
|
|
@@ -2255,10 +2744,21 @@ export declare const hostToSandboxMessageLegacySchema: v.VariantSchema<"type", [
|
|
|
2255
2744
|
readonly id: v.StringSchema<undefined>;
|
|
2256
2745
|
readonly type: v.LiteralSchema<"last_visited_time", undefined>;
|
|
2257
2746
|
readonly last_visited_time: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
2258
|
-
}, undefined>], undefined>, undefined>;
|
|
2259
|
-
readonly
|
|
2260
|
-
|
|
2261
|
-
|
|
2747
|
+
}, undefined>], undefined>, undefined>, undefined>;
|
|
2748
|
+
readonly created_by: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
2749
|
+
readonly id: v.StringSchema<undefined>;
|
|
2750
|
+
readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
|
|
2751
|
+
readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2752
|
+
}, undefined>, undefined>, null>;
|
|
2753
|
+
readonly last_edited_by: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
2754
|
+
readonly id: v.StringSchema<undefined>;
|
|
2755
|
+
readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
|
|
2756
|
+
readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2757
|
+
}, undefined>, undefined>, null>;
|
|
2758
|
+
readonly last_visited_time: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
|
|
2759
|
+
readonly created_time: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
|
|
2760
|
+
readonly last_edited_time: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
|
|
2761
|
+
readonly icon: v.OptionalSchema<v.NullableSchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
2262
2762
|
readonly type: v.LiteralSchema<"emoji", undefined>;
|
|
2263
2763
|
readonly emoji: v.StringSchema<undefined>;
|
|
2264
2764
|
}, undefined>, v.ObjectSchema<{
|
|
@@ -2279,8 +2779,8 @@ export declare const hostToSandboxMessageLegacySchema: v.VariantSchema<"type", [
|
|
|
2279
2779
|
readonly url: v.StringSchema<undefined>;
|
|
2280
2780
|
readonly expiry_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2281
2781
|
}, undefined>;
|
|
2282
|
-
}, undefined>], undefined>, undefined>;
|
|
2283
|
-
readonly cover: v.OptionalSchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
2782
|
+
}, undefined>], undefined>, undefined>, null>;
|
|
2783
|
+
readonly cover: v.OptionalSchema<v.NullableSchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
2284
2784
|
readonly type: v.LiteralSchema<"external", undefined>;
|
|
2285
2785
|
readonly external: v.ObjectSchema<{
|
|
2286
2786
|
readonly url: v.StringSchema<undefined>;
|
|
@@ -2291,106 +2791,12 @@ export declare const hostToSandboxMessageLegacySchema: v.VariantSchema<"type", [
|
|
|
2291
2791
|
readonly url: v.StringSchema<undefined>;
|
|
2292
2792
|
readonly expiry_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2293
2793
|
}, undefined>;
|
|
2294
|
-
}, undefined>], undefined>, undefined>;
|
|
2295
|
-
readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2296
|
-
readonly public_url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2794
|
+
}, undefined>], undefined>, undefined>, null>;
|
|
2795
|
+
readonly url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
|
|
2796
|
+
readonly public_url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
|
|
2297
2797
|
readonly is_archived: v.BooleanSchema<undefined>;
|
|
2298
2798
|
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<{
|
|
2799
|
+
}, undefined>, v.ObjectSchema<{
|
|
2394
2800
|
readonly object: v.LiteralSchema<"page", undefined>;
|
|
2395
2801
|
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionPageId">]>;
|
|
2396
2802
|
readonly parent: v.VariantSchema<"type", [v.ObjectSchema<{
|
|
@@ -2484,11 +2890,49 @@ export declare const hostToSandboxMessageLegacySchema: v.VariantSchema<"type", [
|
|
|
2484
2890
|
}, undefined>, v.ObjectSchema<{
|
|
2485
2891
|
readonly id: v.StringSchema<undefined>;
|
|
2486
2892
|
readonly type: v.LiteralSchema<"date", undefined>;
|
|
2487
|
-
readonly date: v.NullableSchema<v.ObjectSchema<{
|
|
2893
|
+
readonly date: v.NullableSchema<v.UnionSchema<[v.ObjectSchema<{
|
|
2894
|
+
readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2895
|
+
readonly time_zone: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2896
|
+
readonly reminder: v.OptionalSchema<v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
|
|
2897
|
+
readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
|
|
2898
|
+
readonly value: v.NumberSchema<undefined>;
|
|
2899
|
+
readonly time: v.StringSchema<undefined>;
|
|
2900
|
+
readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2901
|
+
}, undefined>, v.ObjectSchema<{
|
|
2902
|
+
readonly unit: v.PicklistSchema<["hour", "minute"], undefined>;
|
|
2903
|
+
readonly value: v.NumberSchema<undefined>;
|
|
2904
|
+
}, undefined>], undefined>, v.ObjectSchema<{
|
|
2905
|
+
readonly unit: v.LiteralSchema<"none", undefined>;
|
|
2906
|
+
}, undefined>], undefined>, undefined>;
|
|
2907
|
+
readonly start: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IncludesAction<string, "T", undefined>]>;
|
|
2908
|
+
}, undefined>, v.ObjectSchema<{
|
|
2909
|
+
readonly start: v.StringSchema<undefined>;
|
|
2910
|
+
readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2911
|
+
readonly reminder: v.OptionalSchema<v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
|
|
2912
|
+
readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
|
|
2913
|
+
readonly value: v.NumberSchema<undefined>;
|
|
2914
|
+
readonly time: v.StringSchema<undefined>;
|
|
2915
|
+
readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2916
|
+
}, undefined>, v.ObjectSchema<{
|
|
2917
|
+
readonly unit: v.PicklistSchema<["hour", "minute"], undefined>;
|
|
2918
|
+
readonly value: v.NumberSchema<undefined>;
|
|
2919
|
+
}, undefined>], undefined>, v.ObjectSchema<{
|
|
2920
|
+
readonly unit: v.LiteralSchema<"none", undefined>;
|
|
2921
|
+
}, undefined>], undefined>, undefined>;
|
|
2922
|
+
readonly time_zone: v.StringSchema<undefined>;
|
|
2923
|
+
}, undefined>, v.ObjectSchema<{
|
|
2488
2924
|
readonly start: v.StringSchema<undefined>;
|
|
2489
2925
|
readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2490
2926
|
readonly time_zone: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2491
|
-
|
|
2927
|
+
readonly reminder: v.OptionalSchema<v.UnionSchema<[v.ObjectSchema<{
|
|
2928
|
+
readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
|
|
2929
|
+
readonly value: v.NumberSchema<undefined>;
|
|
2930
|
+
readonly time: v.StringSchema<undefined>;
|
|
2931
|
+
readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2932
|
+
}, undefined>, v.ObjectSchema<{
|
|
2933
|
+
readonly unit: v.LiteralSchema<"none", undefined>;
|
|
2934
|
+
}, undefined>], undefined>, undefined>;
|
|
2935
|
+
}, undefined>], undefined>, undefined>;
|
|
2492
2936
|
}, undefined>, v.ObjectSchema<{
|
|
2493
2937
|
readonly id: v.StringSchema<undefined>;
|
|
2494
2938
|
readonly type: v.LiteralSchema<"people", undefined>;
|
|
@@ -2604,9 +3048,9 @@ export declare const hostToSandboxMessageLegacySchema: v.VariantSchema<"type", [
|
|
|
2604
3048
|
readonly public_url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2605
3049
|
readonly is_archived: v.BooleanSchema<undefined>;
|
|
2606
3050
|
readonly in_trash: v.BooleanSchema<undefined>;
|
|
2607
|
-
}, undefined>;
|
|
3051
|
+
}, undefined>], undefined>;
|
|
2608
3052
|
}, undefined>, v.ObjectSchema<{
|
|
2609
|
-
readonly type: v.LiteralSchema<"
|
|
3053
|
+
readonly type: v.LiteralSchema<"getPageResult", undefined>;
|
|
2610
3054
|
readonly requestId: v.StringSchema<undefined>;
|
|
2611
3055
|
readonly status: v.LiteralSchema<"error", undefined>;
|
|
2612
3056
|
readonly error: v.ObjectSchema<{
|
|
@@ -2614,18 +3058,32 @@ export declare const hostToSandboxMessageLegacySchema: v.VariantSchema<"type", [
|
|
|
2614
3058
|
readonly message: v.StringSchema<undefined>;
|
|
2615
3059
|
readonly isRetryable: v.BooleanSchema<undefined>;
|
|
2616
3060
|
}, undefined>;
|
|
2617
|
-
}, undefined>], undefined>, v.ObjectSchema<{
|
|
2618
|
-
readonly type: v.LiteralSchema<"
|
|
2619
|
-
readonly
|
|
2620
|
-
}, undefined>, v.VariantSchema<"status", [v.ObjectSchema<{
|
|
2621
|
-
readonly type: v.LiteralSchema<"queryDataSourceResult", undefined>;
|
|
2622
|
-
readonly subscriptionId: v.StringSchema<undefined>;
|
|
3061
|
+
}, undefined>], undefined>, v.VariantSchema<"status", [v.ObjectSchema<{
|
|
3062
|
+
readonly type: v.LiteralSchema<"createPageResult", undefined>;
|
|
3063
|
+
readonly requestId: v.StringSchema<undefined>;
|
|
2623
3064
|
readonly status: v.LiteralSchema<"success", undefined>;
|
|
2624
|
-
readonly
|
|
3065
|
+
readonly page: v.UnionSchema<[v.ObjectSchema<{
|
|
3066
|
+
readonly object: v.LiteralSchema<"page", undefined>;
|
|
2625
3067
|
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionPageId">]>;
|
|
2626
|
-
readonly
|
|
2627
|
-
|
|
2628
|
-
|
|
3068
|
+
readonly parent: v.VariantSchema<"type", [v.ObjectSchema<{
|
|
3069
|
+
readonly type: v.LiteralSchema<"page_id", undefined>;
|
|
3070
|
+
readonly page_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionPageId">]>;
|
|
3071
|
+
}, undefined>, v.ObjectSchema<{
|
|
3072
|
+
readonly type: v.LiteralSchema<"data_source_id", undefined>;
|
|
3073
|
+
readonly data_source_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionDataSourceId">]>;
|
|
3074
|
+
}, undefined>, v.ObjectSchema<{
|
|
3075
|
+
readonly type: v.LiteralSchema<"workspace", undefined>;
|
|
3076
|
+
readonly workspace: v.LiteralSchema<true, undefined>;
|
|
3077
|
+
}, undefined>, v.ObjectSchema<{
|
|
3078
|
+
readonly type: v.LiteralSchema<"block_id", undefined>;
|
|
3079
|
+
readonly block_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionBlockId">]>;
|
|
3080
|
+
}, undefined>, v.ObjectSchema<{
|
|
3081
|
+
readonly type: v.LiteralSchema<"agent_id", undefined>;
|
|
3082
|
+
readonly agent_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionAgentId">]>;
|
|
3083
|
+
}, undefined>, v.ObjectSchema<{
|
|
3084
|
+
readonly type: v.LiteralSchema<"unavailable", undefined>;
|
|
3085
|
+
}, undefined>], undefined>;
|
|
3086
|
+
readonly properties: v.RecordSchema<v.StringSchema<undefined>, v.NullableSchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
2629
3087
|
readonly id: v.StringSchema<undefined>;
|
|
2630
3088
|
readonly type: v.LiteralSchema<"title", undefined>;
|
|
2631
3089
|
readonly title: v.ArraySchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
@@ -2698,19 +3156,57 @@ export declare const hostToSandboxMessageLegacySchema: v.VariantSchema<"type", [
|
|
|
2698
3156
|
}, undefined>, v.ObjectSchema<{
|
|
2699
3157
|
readonly id: v.StringSchema<undefined>;
|
|
2700
3158
|
readonly type: v.LiteralSchema<"date", undefined>;
|
|
2701
|
-
readonly date: v.NullableSchema<v.ObjectSchema<{
|
|
2702
|
-
readonly start: v.StringSchema<undefined>;
|
|
3159
|
+
readonly date: v.NullableSchema<v.UnionSchema<[v.ObjectSchema<{
|
|
2703
3160
|
readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2704
3161
|
readonly time_zone: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2705
|
-
|
|
2706
|
-
|
|
2707
|
-
|
|
2708
|
-
|
|
2709
|
-
|
|
2710
|
-
|
|
2711
|
-
|
|
3162
|
+
readonly reminder: v.OptionalSchema<v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
|
|
3163
|
+
readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
|
|
3164
|
+
readonly value: v.NumberSchema<undefined>;
|
|
3165
|
+
readonly time: v.StringSchema<undefined>;
|
|
3166
|
+
readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3167
|
+
}, undefined>, v.ObjectSchema<{
|
|
3168
|
+
readonly unit: v.PicklistSchema<["hour", "minute"], undefined>;
|
|
3169
|
+
readonly value: v.NumberSchema<undefined>;
|
|
3170
|
+
}, undefined>], undefined>, v.ObjectSchema<{
|
|
3171
|
+
readonly unit: v.LiteralSchema<"none", undefined>;
|
|
3172
|
+
}, undefined>], undefined>, undefined>;
|
|
3173
|
+
readonly start: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IncludesAction<string, "T", undefined>]>;
|
|
2712
3174
|
}, undefined>, v.ObjectSchema<{
|
|
2713
|
-
readonly
|
|
3175
|
+
readonly start: v.StringSchema<undefined>;
|
|
3176
|
+
readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
3177
|
+
readonly reminder: v.OptionalSchema<v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
|
|
3178
|
+
readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
|
|
3179
|
+
readonly value: v.NumberSchema<undefined>;
|
|
3180
|
+
readonly time: v.StringSchema<undefined>;
|
|
3181
|
+
readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3182
|
+
}, undefined>, v.ObjectSchema<{
|
|
3183
|
+
readonly unit: v.PicklistSchema<["hour", "minute"], undefined>;
|
|
3184
|
+
readonly value: v.NumberSchema<undefined>;
|
|
3185
|
+
}, undefined>], undefined>, v.ObjectSchema<{
|
|
3186
|
+
readonly unit: v.LiteralSchema<"none", undefined>;
|
|
3187
|
+
}, undefined>], undefined>, undefined>;
|
|
3188
|
+
readonly time_zone: v.StringSchema<undefined>;
|
|
3189
|
+
}, undefined>, v.ObjectSchema<{
|
|
3190
|
+
readonly start: v.StringSchema<undefined>;
|
|
3191
|
+
readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
3192
|
+
readonly time_zone: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
3193
|
+
readonly reminder: v.OptionalSchema<v.UnionSchema<[v.ObjectSchema<{
|
|
3194
|
+
readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
|
|
3195
|
+
readonly value: v.NumberSchema<undefined>;
|
|
3196
|
+
readonly time: v.StringSchema<undefined>;
|
|
3197
|
+
readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3198
|
+
}, undefined>, v.ObjectSchema<{
|
|
3199
|
+
readonly unit: v.LiteralSchema<"none", undefined>;
|
|
3200
|
+
}, undefined>], undefined>, undefined>;
|
|
3201
|
+
}, undefined>], undefined>, undefined>;
|
|
3202
|
+
}, undefined>, v.ObjectSchema<{
|
|
3203
|
+
readonly id: v.StringSchema<undefined>;
|
|
3204
|
+
readonly type: v.LiteralSchema<"people", undefined>;
|
|
3205
|
+
readonly people: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
|
|
3206
|
+
readonly object: v.OptionalSchema<v.LiteralSchema<"user", undefined>, undefined>;
|
|
3207
|
+
readonly id: v.StringSchema<undefined>;
|
|
3208
|
+
}, undefined>, v.ObjectSchema<{
|
|
3209
|
+
readonly object: v.LiteralSchema<"group", undefined>;
|
|
2714
3210
|
readonly id: v.StringSchema<undefined>;
|
|
2715
3211
|
readonly name: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2716
3212
|
}, undefined>], undefined>, undefined>;
|
|
@@ -2778,76 +3274,842 @@ export declare const hostToSandboxMessageLegacySchema: v.VariantSchema<"type", [
|
|
|
2778
3274
|
readonly type: v.LiteralSchema<"last_visited_time", undefined>;
|
|
2779
3275
|
readonly last_visited_time: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
2780
3276
|
}, undefined>], undefined>, undefined>, undefined>;
|
|
2781
|
-
|
|
2782
|
-
|
|
3277
|
+
readonly created_by: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
3278
|
+
readonly id: v.StringSchema<undefined>;
|
|
3279
|
+
readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
|
|
3280
|
+
readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3281
|
+
}, undefined>, undefined>, null>;
|
|
3282
|
+
readonly last_edited_by: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
3283
|
+
readonly id: v.StringSchema<undefined>;
|
|
3284
|
+
readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
|
|
3285
|
+
readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3286
|
+
}, undefined>, undefined>, null>;
|
|
3287
|
+
readonly last_visited_time: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
|
|
3288
|
+
readonly created_time: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
|
|
3289
|
+
readonly last_edited_time: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
|
|
3290
|
+
readonly icon: v.OptionalSchema<v.NullableSchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
3291
|
+
readonly type: v.LiteralSchema<"emoji", undefined>;
|
|
3292
|
+
readonly emoji: v.StringSchema<undefined>;
|
|
3293
|
+
}, undefined>, v.ObjectSchema<{
|
|
3294
|
+
readonly type: v.LiteralSchema<"custom_emoji", undefined>;
|
|
3295
|
+
readonly custom_emoji: v.ObjectSchema<{
|
|
3296
|
+
readonly id: v.StringSchema<undefined>;
|
|
3297
|
+
readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3298
|
+
readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3299
|
+
}, undefined>;
|
|
3300
|
+
}, undefined>, v.ObjectSchema<{
|
|
3301
|
+
readonly type: v.LiteralSchema<"external", undefined>;
|
|
3302
|
+
readonly external: v.ObjectSchema<{
|
|
3303
|
+
readonly url: v.StringSchema<undefined>;
|
|
3304
|
+
}, undefined>;
|
|
3305
|
+
}, undefined>, v.ObjectSchema<{
|
|
3306
|
+
readonly type: v.LiteralSchema<"file", undefined>;
|
|
3307
|
+
readonly file: v.ObjectSchema<{
|
|
3308
|
+
readonly url: v.StringSchema<undefined>;
|
|
3309
|
+
readonly expiry_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3310
|
+
}, undefined>;
|
|
3311
|
+
}, undefined>], undefined>, undefined>, null>;
|
|
3312
|
+
readonly cover: v.OptionalSchema<v.NullableSchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
3313
|
+
readonly type: v.LiteralSchema<"external", undefined>;
|
|
3314
|
+
readonly external: v.ObjectSchema<{
|
|
3315
|
+
readonly url: v.StringSchema<undefined>;
|
|
3316
|
+
}, undefined>;
|
|
3317
|
+
}, undefined>, v.ObjectSchema<{
|
|
3318
|
+
readonly type: v.LiteralSchema<"file", undefined>;
|
|
3319
|
+
readonly file: v.ObjectSchema<{
|
|
3320
|
+
readonly url: v.StringSchema<undefined>;
|
|
3321
|
+
readonly expiry_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3322
|
+
}, undefined>;
|
|
3323
|
+
}, undefined>], undefined>, undefined>, null>;
|
|
3324
|
+
readonly url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
|
|
3325
|
+
readonly public_url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
|
|
2783
3326
|
readonly is_archived: v.BooleanSchema<undefined>;
|
|
2784
3327
|
readonly in_trash: v.BooleanSchema<undefined>;
|
|
2785
|
-
|
|
2786
|
-
|
|
2787
|
-
|
|
2788
|
-
|
|
2789
|
-
|
|
2790
|
-
|
|
2791
|
-
|
|
2792
|
-
|
|
3328
|
+
}, undefined>, v.ObjectSchema<{
|
|
3329
|
+
readonly object: v.LiteralSchema<"page", undefined>;
|
|
3330
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionPageId">]>;
|
|
3331
|
+
readonly parent: v.VariantSchema<"type", [v.ObjectSchema<{
|
|
3332
|
+
readonly type: v.LiteralSchema<"page_id", undefined>;
|
|
3333
|
+
readonly page_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionPageId">]>;
|
|
3334
|
+
}, undefined>, v.ObjectSchema<{
|
|
3335
|
+
readonly type: v.LiteralSchema<"data_source_id", undefined>;
|
|
3336
|
+
readonly data_source_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionDataSourceId">]>;
|
|
3337
|
+
}, undefined>, v.ObjectSchema<{
|
|
3338
|
+
readonly type: v.LiteralSchema<"workspace", undefined>;
|
|
3339
|
+
readonly workspace: v.LiteralSchema<true, undefined>;
|
|
3340
|
+
}, undefined>, v.ObjectSchema<{
|
|
3341
|
+
readonly type: v.LiteralSchema<"block_id", undefined>;
|
|
3342
|
+
readonly block_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionBlockId">]>;
|
|
3343
|
+
}, undefined>, v.ObjectSchema<{
|
|
3344
|
+
readonly type: v.LiteralSchema<"agent_id", undefined>;
|
|
3345
|
+
readonly agent_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionAgentId">]>;
|
|
3346
|
+
}, undefined>, v.ObjectSchema<{
|
|
3347
|
+
readonly type: v.LiteralSchema<"unavailable", undefined>;
|
|
3348
|
+
}, undefined>], undefined>;
|
|
3349
|
+
readonly properties: v.RecordSchema<v.StringSchema<undefined>, v.VariantSchema<"type", [v.ObjectSchema<{
|
|
3350
|
+
readonly id: v.StringSchema<undefined>;
|
|
3351
|
+
readonly type: v.LiteralSchema<"title", undefined>;
|
|
3352
|
+
readonly title: v.ArraySchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
3353
|
+
}, undefined>, v.ObjectSchema<{
|
|
3354
|
+
readonly id: v.StringSchema<undefined>;
|
|
3355
|
+
readonly type: v.LiteralSchema<"rich_text", undefined>;
|
|
3356
|
+
readonly rich_text: v.ArraySchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
3357
|
+
}, undefined>, v.ObjectSchema<{
|
|
3358
|
+
readonly id: v.StringSchema<undefined>;
|
|
3359
|
+
readonly type: v.LiteralSchema<"number", undefined>;
|
|
3360
|
+
readonly number: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
3361
|
+
}, undefined>, v.ObjectSchema<{
|
|
3362
|
+
readonly id: v.StringSchema<undefined>;
|
|
3363
|
+
readonly type: v.LiteralSchema<"url", undefined>;
|
|
3364
|
+
readonly url: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
3365
|
+
}, undefined>, v.ObjectSchema<{
|
|
3366
|
+
readonly id: v.StringSchema<undefined>;
|
|
3367
|
+
readonly type: v.LiteralSchema<"email", undefined>;
|
|
3368
|
+
readonly email: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
3369
|
+
}, undefined>, v.ObjectSchema<{
|
|
3370
|
+
readonly id: v.StringSchema<undefined>;
|
|
3371
|
+
readonly type: v.LiteralSchema<"phone_number", undefined>;
|
|
3372
|
+
readonly phone_number: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
3373
|
+
}, undefined>, v.ObjectSchema<{
|
|
3374
|
+
readonly id: v.StringSchema<undefined>;
|
|
3375
|
+
readonly type: v.LiteralSchema<"checkbox", undefined>;
|
|
3376
|
+
readonly checkbox: v.BooleanSchema<undefined>;
|
|
3377
|
+
}, undefined>, v.ObjectSchema<{
|
|
3378
|
+
readonly id: v.StringSchema<undefined>;
|
|
3379
|
+
readonly type: v.LiteralSchema<"select", undefined>;
|
|
3380
|
+
readonly select: v.NullableSchema<v.UnionSchema<[v.ObjectSchema<{
|
|
3381
|
+
readonly id: v.StringSchema<undefined>;
|
|
3382
|
+
readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3383
|
+
readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3384
|
+
readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2793
3385
|
}, undefined>, v.ObjectSchema<{
|
|
2794
|
-
readonly
|
|
3386
|
+
readonly name: v.StringSchema<undefined>;
|
|
3387
|
+
readonly id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3388
|
+
readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3389
|
+
readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2795
3390
|
}, undefined>], undefined>, undefined>;
|
|
2796
3391
|
}, undefined>, v.ObjectSchema<{
|
|
2797
|
-
readonly
|
|
2798
|
-
readonly
|
|
2799
|
-
readonly
|
|
2800
|
-
|
|
2801
|
-
readonly
|
|
2802
|
-
readonly
|
|
2803
|
-
readonly
|
|
2804
|
-
readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3392
|
+
readonly id: v.StringSchema<undefined>;
|
|
3393
|
+
readonly type: v.LiteralSchema<"status", undefined>;
|
|
3394
|
+
readonly status: v.NullableSchema<v.UnionSchema<[v.ObjectSchema<{
|
|
3395
|
+
readonly id: v.StringSchema<undefined>;
|
|
3396
|
+
readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3397
|
+
readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3398
|
+
readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2805
3399
|
}, undefined>, v.ObjectSchema<{
|
|
2806
|
-
readonly
|
|
3400
|
+
readonly name: v.StringSchema<undefined>;
|
|
3401
|
+
readonly id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3402
|
+
readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3403
|
+
readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2807
3404
|
}, undefined>], undefined>, undefined>;
|
|
2808
3405
|
}, undefined>, v.ObjectSchema<{
|
|
2809
|
-
readonly
|
|
2810
|
-
readonly
|
|
2811
|
-
readonly
|
|
2812
|
-
|
|
2813
|
-
|
|
2814
|
-
readonly
|
|
2815
|
-
readonly
|
|
2816
|
-
readonly time: v.StringSchema<undefined>;
|
|
2817
|
-
readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3406
|
+
readonly id: v.StringSchema<undefined>;
|
|
3407
|
+
readonly type: v.LiteralSchema<"multi_select", undefined>;
|
|
3408
|
+
readonly multi_select: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
|
|
3409
|
+
readonly id: v.StringSchema<undefined>;
|
|
3410
|
+
readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3411
|
+
readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3412
|
+
readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2818
3413
|
}, undefined>, v.ObjectSchema<{
|
|
2819
|
-
readonly
|
|
2820
|
-
readonly
|
|
2821
|
-
|
|
2822
|
-
readonly
|
|
3414
|
+
readonly name: v.StringSchema<undefined>;
|
|
3415
|
+
readonly id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3416
|
+
readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3417
|
+
readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2823
3418
|
}, undefined>], undefined>, undefined>;
|
|
2824
3419
|
}, undefined>, v.ObjectSchema<{
|
|
2825
|
-
readonly
|
|
2826
|
-
readonly
|
|
2827
|
-
readonly
|
|
2828
|
-
|
|
2829
|
-
|
|
2830
|
-
|
|
2831
|
-
|
|
2832
|
-
|
|
2833
|
-
|
|
2834
|
-
|
|
2835
|
-
|
|
3420
|
+
readonly id: v.StringSchema<undefined>;
|
|
3421
|
+
readonly type: v.LiteralSchema<"date", undefined>;
|
|
3422
|
+
readonly date: v.NullableSchema<v.UnionSchema<[v.ObjectSchema<{
|
|
3423
|
+
readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
3424
|
+
readonly time_zone: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
3425
|
+
readonly reminder: v.OptionalSchema<v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
|
|
3426
|
+
readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
|
|
3427
|
+
readonly value: v.NumberSchema<undefined>;
|
|
3428
|
+
readonly time: v.StringSchema<undefined>;
|
|
3429
|
+
readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3430
|
+
}, undefined>, v.ObjectSchema<{
|
|
3431
|
+
readonly unit: v.PicklistSchema<["hour", "minute"], undefined>;
|
|
3432
|
+
readonly value: v.NumberSchema<undefined>;
|
|
3433
|
+
}, undefined>], undefined>, v.ObjectSchema<{
|
|
3434
|
+
readonly unit: v.LiteralSchema<"none", undefined>;
|
|
3435
|
+
}, undefined>], undefined>, undefined>;
|
|
3436
|
+
readonly start: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IncludesAction<string, "T", undefined>]>;
|
|
2836
3437
|
}, undefined>, v.ObjectSchema<{
|
|
2837
|
-
readonly
|
|
2838
|
-
readonly
|
|
2839
|
-
|
|
2840
|
-
|
|
3438
|
+
readonly start: v.StringSchema<undefined>;
|
|
3439
|
+
readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
3440
|
+
readonly reminder: v.OptionalSchema<v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
|
|
3441
|
+
readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
|
|
3442
|
+
readonly value: v.NumberSchema<undefined>;
|
|
3443
|
+
readonly time: v.StringSchema<undefined>;
|
|
3444
|
+
readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3445
|
+
}, undefined>, v.ObjectSchema<{
|
|
3446
|
+
readonly unit: v.PicklistSchema<["hour", "minute"], undefined>;
|
|
3447
|
+
readonly value: v.NumberSchema<undefined>;
|
|
3448
|
+
}, undefined>], undefined>, v.ObjectSchema<{
|
|
3449
|
+
readonly unit: v.LiteralSchema<"none", undefined>;
|
|
3450
|
+
}, undefined>], undefined>, undefined>;
|
|
3451
|
+
readonly time_zone: v.StringSchema<undefined>;
|
|
3452
|
+
}, undefined>, v.ObjectSchema<{
|
|
3453
|
+
readonly start: v.StringSchema<undefined>;
|
|
3454
|
+
readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
3455
|
+
readonly time_zone: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
3456
|
+
readonly reminder: v.OptionalSchema<v.UnionSchema<[v.ObjectSchema<{
|
|
3457
|
+
readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
|
|
3458
|
+
readonly value: v.NumberSchema<undefined>;
|
|
3459
|
+
readonly time: v.StringSchema<undefined>;
|
|
3460
|
+
readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3461
|
+
}, undefined>, v.ObjectSchema<{
|
|
3462
|
+
readonly unit: v.LiteralSchema<"none", undefined>;
|
|
3463
|
+
}, undefined>], undefined>, undefined>;
|
|
2841
3464
|
}, undefined>], undefined>, undefined>;
|
|
2842
|
-
}, undefined
|
|
3465
|
+
}, undefined>, v.ObjectSchema<{
|
|
2843
3466
|
readonly id: v.StringSchema<undefined>;
|
|
2844
|
-
readonly
|
|
2845
|
-
|
|
2846
|
-
|
|
2847
|
-
|
|
2848
|
-
}, undefined>, v.ObjectSchema<{
|
|
2849
|
-
|
|
2850
|
-
|
|
3467
|
+
readonly type: v.LiteralSchema<"people", undefined>;
|
|
3468
|
+
readonly people: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
|
|
3469
|
+
readonly object: v.OptionalSchema<v.LiteralSchema<"user", undefined>, undefined>;
|
|
3470
|
+
readonly id: v.StringSchema<undefined>;
|
|
3471
|
+
}, undefined>, v.ObjectSchema<{
|
|
3472
|
+
readonly object: v.LiteralSchema<"group", undefined>;
|
|
3473
|
+
readonly id: v.StringSchema<undefined>;
|
|
3474
|
+
readonly name: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
3475
|
+
}, undefined>], undefined>, undefined>;
|
|
3476
|
+
}, undefined>, v.ObjectSchema<{
|
|
3477
|
+
readonly id: v.StringSchema<undefined>;
|
|
3478
|
+
readonly type: v.LiteralSchema<"relation", undefined>;
|
|
3479
|
+
readonly has_more: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
3480
|
+
readonly relation: v.ArraySchema<v.ObjectSchema<{
|
|
3481
|
+
readonly id: v.StringSchema<undefined>;
|
|
3482
|
+
}, undefined>, undefined>;
|
|
3483
|
+
}, undefined>, v.ObjectSchema<{
|
|
3484
|
+
readonly id: v.StringSchema<undefined>;
|
|
3485
|
+
readonly type: v.LiteralSchema<"files", undefined>;
|
|
3486
|
+
readonly files: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
|
|
3487
|
+
readonly type: v.LiteralSchema<"external", undefined>;
|
|
3488
|
+
readonly name: v.StringSchema<undefined>;
|
|
3489
|
+
readonly external: v.ObjectSchema<{
|
|
3490
|
+
readonly url: v.StringSchema<undefined>;
|
|
3491
|
+
}, undefined>;
|
|
3492
|
+
}, undefined>, v.ObjectSchema<{
|
|
3493
|
+
readonly type: v.LiteralSchema<"file", undefined>;
|
|
3494
|
+
readonly name: v.StringSchema<undefined>;
|
|
3495
|
+
readonly file: v.ObjectSchema<{
|
|
3496
|
+
readonly url: v.StringSchema<undefined>;
|
|
3497
|
+
readonly expiry_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3498
|
+
}, undefined>;
|
|
3499
|
+
}, undefined>], undefined>, undefined>;
|
|
3500
|
+
}, undefined>, v.ObjectSchema<{
|
|
3501
|
+
readonly id: v.StringSchema<undefined>;
|
|
3502
|
+
readonly type: v.LiteralSchema<"place", undefined>;
|
|
3503
|
+
readonly place: v.NullableSchema<v.ObjectSchema<{
|
|
3504
|
+
readonly lat: v.NumberSchema<undefined>;
|
|
3505
|
+
readonly lon: v.NumberSchema<undefined>;
|
|
3506
|
+
readonly name: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
3507
|
+
readonly address: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
3508
|
+
readonly aws_place_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
3509
|
+
readonly google_place_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
3510
|
+
}, undefined>, undefined>;
|
|
3511
|
+
}, undefined>, v.ObjectSchema<{
|
|
3512
|
+
readonly id: v.StringSchema<undefined>;
|
|
3513
|
+
readonly type: v.LiteralSchema<"created_time", undefined>;
|
|
3514
|
+
readonly created_time: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
3515
|
+
}, undefined>, v.ObjectSchema<{
|
|
3516
|
+
readonly id: v.StringSchema<undefined>;
|
|
3517
|
+
readonly type: v.LiteralSchema<"last_edited_time", undefined>;
|
|
3518
|
+
readonly last_edited_time: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
3519
|
+
}, undefined>, v.ObjectSchema<{
|
|
3520
|
+
readonly id: v.StringSchema<undefined>;
|
|
3521
|
+
readonly type: v.LiteralSchema<"created_by", undefined>;
|
|
3522
|
+
readonly created_by: v.NullableSchema<v.ObjectSchema<{
|
|
3523
|
+
readonly id: v.StringSchema<undefined>;
|
|
3524
|
+
readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
|
|
3525
|
+
readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3526
|
+
}, undefined>, undefined>;
|
|
3527
|
+
}, undefined>, v.ObjectSchema<{
|
|
3528
|
+
readonly id: v.StringSchema<undefined>;
|
|
3529
|
+
readonly type: v.LiteralSchema<"last_edited_by", undefined>;
|
|
3530
|
+
readonly last_edited_by: v.NullableSchema<v.ObjectSchema<{
|
|
3531
|
+
readonly id: v.StringSchema<undefined>;
|
|
3532
|
+
readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
|
|
3533
|
+
readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3534
|
+
}, undefined>, undefined>;
|
|
3535
|
+
}, undefined>, v.ObjectSchema<{
|
|
3536
|
+
readonly id: v.StringSchema<undefined>;
|
|
3537
|
+
readonly type: v.LiteralSchema<"last_visited_time", undefined>;
|
|
3538
|
+
readonly last_visited_time: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
3539
|
+
}, undefined>], undefined>, undefined>;
|
|
3540
|
+
readonly created_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3541
|
+
readonly last_edited_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3542
|
+
readonly icon: v.OptionalSchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
3543
|
+
readonly type: v.LiteralSchema<"emoji", undefined>;
|
|
3544
|
+
readonly emoji: v.StringSchema<undefined>;
|
|
3545
|
+
}, undefined>, v.ObjectSchema<{
|
|
3546
|
+
readonly type: v.LiteralSchema<"custom_emoji", undefined>;
|
|
3547
|
+
readonly custom_emoji: v.ObjectSchema<{
|
|
3548
|
+
readonly id: v.StringSchema<undefined>;
|
|
3549
|
+
readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3550
|
+
readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3551
|
+
}, undefined>;
|
|
3552
|
+
}, undefined>, v.ObjectSchema<{
|
|
3553
|
+
readonly type: v.LiteralSchema<"external", undefined>;
|
|
3554
|
+
readonly external: v.ObjectSchema<{
|
|
3555
|
+
readonly url: v.StringSchema<undefined>;
|
|
3556
|
+
}, undefined>;
|
|
3557
|
+
}, undefined>, v.ObjectSchema<{
|
|
3558
|
+
readonly type: v.LiteralSchema<"file", undefined>;
|
|
3559
|
+
readonly file: v.ObjectSchema<{
|
|
3560
|
+
readonly url: v.StringSchema<undefined>;
|
|
3561
|
+
readonly expiry_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3562
|
+
}, undefined>;
|
|
3563
|
+
}, undefined>], undefined>, undefined>;
|
|
3564
|
+
readonly cover: v.OptionalSchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
3565
|
+
readonly type: v.LiteralSchema<"external", undefined>;
|
|
3566
|
+
readonly external: v.ObjectSchema<{
|
|
3567
|
+
readonly url: v.StringSchema<undefined>;
|
|
3568
|
+
}, undefined>;
|
|
3569
|
+
}, undefined>, v.ObjectSchema<{
|
|
3570
|
+
readonly type: v.LiteralSchema<"file", undefined>;
|
|
3571
|
+
readonly file: v.ObjectSchema<{
|
|
3572
|
+
readonly url: v.StringSchema<undefined>;
|
|
3573
|
+
readonly expiry_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3574
|
+
}, undefined>;
|
|
3575
|
+
}, undefined>], undefined>, undefined>;
|
|
3576
|
+
readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3577
|
+
readonly public_url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3578
|
+
readonly is_archived: v.BooleanSchema<undefined>;
|
|
3579
|
+
readonly in_trash: v.BooleanSchema<undefined>;
|
|
3580
|
+
}, undefined>], undefined>;
|
|
3581
|
+
}, undefined>, v.ObjectSchema<{
|
|
3582
|
+
readonly type: v.LiteralSchema<"createPageResult", undefined>;
|
|
3583
|
+
readonly requestId: v.StringSchema<undefined>;
|
|
3584
|
+
readonly status: v.LiteralSchema<"error", undefined>;
|
|
3585
|
+
readonly error: v.ObjectSchema<{
|
|
3586
|
+
readonly code: v.StringSchema<undefined>;
|
|
3587
|
+
readonly message: v.StringSchema<undefined>;
|
|
3588
|
+
readonly isRetryable: v.BooleanSchema<undefined>;
|
|
3589
|
+
}, undefined>;
|
|
3590
|
+
}, undefined>], undefined>, v.VariantSchema<"status", [v.ObjectSchema<{
|
|
3591
|
+
readonly type: v.LiteralSchema<"updatePageResult", undefined>;
|
|
3592
|
+
readonly requestId: v.StringSchema<undefined>;
|
|
3593
|
+
readonly status: v.LiteralSchema<"success", undefined>;
|
|
3594
|
+
readonly page: v.UnionSchema<[v.ObjectSchema<{
|
|
3595
|
+
readonly object: v.LiteralSchema<"page", undefined>;
|
|
3596
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionPageId">]>;
|
|
3597
|
+
readonly parent: v.VariantSchema<"type", [v.ObjectSchema<{
|
|
3598
|
+
readonly type: v.LiteralSchema<"page_id", undefined>;
|
|
3599
|
+
readonly page_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionPageId">]>;
|
|
3600
|
+
}, undefined>, v.ObjectSchema<{
|
|
3601
|
+
readonly type: v.LiteralSchema<"data_source_id", undefined>;
|
|
3602
|
+
readonly data_source_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionDataSourceId">]>;
|
|
3603
|
+
}, undefined>, v.ObjectSchema<{
|
|
3604
|
+
readonly type: v.LiteralSchema<"workspace", undefined>;
|
|
3605
|
+
readonly workspace: v.LiteralSchema<true, undefined>;
|
|
3606
|
+
}, undefined>, v.ObjectSchema<{
|
|
3607
|
+
readonly type: v.LiteralSchema<"block_id", undefined>;
|
|
3608
|
+
readonly block_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionBlockId">]>;
|
|
3609
|
+
}, undefined>, v.ObjectSchema<{
|
|
3610
|
+
readonly type: v.LiteralSchema<"agent_id", undefined>;
|
|
3611
|
+
readonly agent_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionAgentId">]>;
|
|
3612
|
+
}, undefined>, v.ObjectSchema<{
|
|
3613
|
+
readonly type: v.LiteralSchema<"unavailable", undefined>;
|
|
3614
|
+
}, undefined>], undefined>;
|
|
3615
|
+
readonly properties: v.RecordSchema<v.StringSchema<undefined>, v.NullableSchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
3616
|
+
readonly id: v.StringSchema<undefined>;
|
|
3617
|
+
readonly type: v.LiteralSchema<"title", undefined>;
|
|
3618
|
+
readonly title: v.ArraySchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
3619
|
+
}, undefined>, v.ObjectSchema<{
|
|
3620
|
+
readonly id: v.StringSchema<undefined>;
|
|
3621
|
+
readonly type: v.LiteralSchema<"rich_text", undefined>;
|
|
3622
|
+
readonly rich_text: v.ArraySchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
3623
|
+
}, undefined>, v.ObjectSchema<{
|
|
3624
|
+
readonly id: v.StringSchema<undefined>;
|
|
3625
|
+
readonly type: v.LiteralSchema<"number", undefined>;
|
|
3626
|
+
readonly number: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
3627
|
+
}, undefined>, v.ObjectSchema<{
|
|
3628
|
+
readonly id: v.StringSchema<undefined>;
|
|
3629
|
+
readonly type: v.LiteralSchema<"url", undefined>;
|
|
3630
|
+
readonly url: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
3631
|
+
}, undefined>, v.ObjectSchema<{
|
|
3632
|
+
readonly id: v.StringSchema<undefined>;
|
|
3633
|
+
readonly type: v.LiteralSchema<"email", undefined>;
|
|
3634
|
+
readonly email: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
3635
|
+
}, undefined>, v.ObjectSchema<{
|
|
3636
|
+
readonly id: v.StringSchema<undefined>;
|
|
3637
|
+
readonly type: v.LiteralSchema<"phone_number", undefined>;
|
|
3638
|
+
readonly phone_number: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
3639
|
+
}, undefined>, v.ObjectSchema<{
|
|
3640
|
+
readonly id: v.StringSchema<undefined>;
|
|
3641
|
+
readonly type: v.LiteralSchema<"checkbox", undefined>;
|
|
3642
|
+
readonly checkbox: v.BooleanSchema<undefined>;
|
|
3643
|
+
}, undefined>, v.ObjectSchema<{
|
|
3644
|
+
readonly id: v.StringSchema<undefined>;
|
|
3645
|
+
readonly type: v.LiteralSchema<"select", undefined>;
|
|
3646
|
+
readonly select: v.NullableSchema<v.UnionSchema<[v.ObjectSchema<{
|
|
3647
|
+
readonly id: v.StringSchema<undefined>;
|
|
3648
|
+
readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3649
|
+
readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3650
|
+
readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
3651
|
+
}, undefined>, v.ObjectSchema<{
|
|
3652
|
+
readonly name: v.StringSchema<undefined>;
|
|
3653
|
+
readonly id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3654
|
+
readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3655
|
+
readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
3656
|
+
}, undefined>], undefined>, undefined>;
|
|
3657
|
+
}, undefined>, v.ObjectSchema<{
|
|
3658
|
+
readonly id: v.StringSchema<undefined>;
|
|
3659
|
+
readonly type: v.LiteralSchema<"status", undefined>;
|
|
3660
|
+
readonly status: v.NullableSchema<v.UnionSchema<[v.ObjectSchema<{
|
|
3661
|
+
readonly id: v.StringSchema<undefined>;
|
|
3662
|
+
readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3663
|
+
readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3664
|
+
readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
3665
|
+
}, undefined>, v.ObjectSchema<{
|
|
3666
|
+
readonly name: v.StringSchema<undefined>;
|
|
3667
|
+
readonly id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3668
|
+
readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3669
|
+
readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
3670
|
+
}, undefined>], undefined>, undefined>;
|
|
3671
|
+
}, undefined>, v.ObjectSchema<{
|
|
3672
|
+
readonly id: v.StringSchema<undefined>;
|
|
3673
|
+
readonly type: v.LiteralSchema<"multi_select", undefined>;
|
|
3674
|
+
readonly multi_select: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
|
|
3675
|
+
readonly id: v.StringSchema<undefined>;
|
|
3676
|
+
readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3677
|
+
readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3678
|
+
readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
3679
|
+
}, undefined>, v.ObjectSchema<{
|
|
3680
|
+
readonly name: v.StringSchema<undefined>;
|
|
3681
|
+
readonly id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3682
|
+
readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3683
|
+
readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
3684
|
+
}, undefined>], undefined>, undefined>;
|
|
3685
|
+
}, undefined>, v.ObjectSchema<{
|
|
3686
|
+
readonly id: v.StringSchema<undefined>;
|
|
3687
|
+
readonly type: v.LiteralSchema<"date", undefined>;
|
|
3688
|
+
readonly date: v.NullableSchema<v.UnionSchema<[v.ObjectSchema<{
|
|
3689
|
+
readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
3690
|
+
readonly time_zone: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
3691
|
+
readonly reminder: v.OptionalSchema<v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
|
|
3692
|
+
readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
|
|
3693
|
+
readonly value: v.NumberSchema<undefined>;
|
|
3694
|
+
readonly time: v.StringSchema<undefined>;
|
|
3695
|
+
readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3696
|
+
}, undefined>, v.ObjectSchema<{
|
|
3697
|
+
readonly unit: v.PicklistSchema<["hour", "minute"], undefined>;
|
|
3698
|
+
readonly value: v.NumberSchema<undefined>;
|
|
3699
|
+
}, undefined>], undefined>, v.ObjectSchema<{
|
|
3700
|
+
readonly unit: v.LiteralSchema<"none", undefined>;
|
|
3701
|
+
}, undefined>], undefined>, undefined>;
|
|
3702
|
+
readonly start: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IncludesAction<string, "T", undefined>]>;
|
|
3703
|
+
}, undefined>, v.ObjectSchema<{
|
|
3704
|
+
readonly start: v.StringSchema<undefined>;
|
|
3705
|
+
readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
3706
|
+
readonly reminder: v.OptionalSchema<v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
|
|
3707
|
+
readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
|
|
3708
|
+
readonly value: v.NumberSchema<undefined>;
|
|
3709
|
+
readonly time: v.StringSchema<undefined>;
|
|
3710
|
+
readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3711
|
+
}, undefined>, v.ObjectSchema<{
|
|
3712
|
+
readonly unit: v.PicklistSchema<["hour", "minute"], undefined>;
|
|
3713
|
+
readonly value: v.NumberSchema<undefined>;
|
|
3714
|
+
}, undefined>], undefined>, v.ObjectSchema<{
|
|
3715
|
+
readonly unit: v.LiteralSchema<"none", undefined>;
|
|
3716
|
+
}, undefined>], undefined>, undefined>;
|
|
3717
|
+
readonly time_zone: v.StringSchema<undefined>;
|
|
3718
|
+
}, undefined>, v.ObjectSchema<{
|
|
3719
|
+
readonly start: v.StringSchema<undefined>;
|
|
3720
|
+
readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
3721
|
+
readonly time_zone: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
3722
|
+
readonly reminder: v.OptionalSchema<v.UnionSchema<[v.ObjectSchema<{
|
|
3723
|
+
readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
|
|
3724
|
+
readonly value: v.NumberSchema<undefined>;
|
|
3725
|
+
readonly time: v.StringSchema<undefined>;
|
|
3726
|
+
readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3727
|
+
}, undefined>, v.ObjectSchema<{
|
|
3728
|
+
readonly unit: v.LiteralSchema<"none", undefined>;
|
|
3729
|
+
}, undefined>], undefined>, undefined>;
|
|
3730
|
+
}, undefined>], undefined>, undefined>;
|
|
3731
|
+
}, undefined>, v.ObjectSchema<{
|
|
3732
|
+
readonly id: v.StringSchema<undefined>;
|
|
3733
|
+
readonly type: v.LiteralSchema<"people", undefined>;
|
|
3734
|
+
readonly people: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
|
|
3735
|
+
readonly object: v.OptionalSchema<v.LiteralSchema<"user", undefined>, undefined>;
|
|
3736
|
+
readonly id: v.StringSchema<undefined>;
|
|
3737
|
+
}, undefined>, v.ObjectSchema<{
|
|
3738
|
+
readonly object: v.LiteralSchema<"group", undefined>;
|
|
3739
|
+
readonly id: v.StringSchema<undefined>;
|
|
3740
|
+
readonly name: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
3741
|
+
}, undefined>], undefined>, undefined>;
|
|
3742
|
+
}, undefined>, v.ObjectSchema<{
|
|
3743
|
+
readonly id: v.StringSchema<undefined>;
|
|
3744
|
+
readonly type: v.LiteralSchema<"relation", undefined>;
|
|
3745
|
+
readonly has_more: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
3746
|
+
readonly relation: v.ArraySchema<v.ObjectSchema<{
|
|
3747
|
+
readonly id: v.StringSchema<undefined>;
|
|
3748
|
+
}, undefined>, undefined>;
|
|
3749
|
+
}, undefined>, v.ObjectSchema<{
|
|
3750
|
+
readonly id: v.StringSchema<undefined>;
|
|
3751
|
+
readonly type: v.LiteralSchema<"files", undefined>;
|
|
3752
|
+
readonly files: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
|
|
3753
|
+
readonly type: v.LiteralSchema<"external", undefined>;
|
|
3754
|
+
readonly name: v.StringSchema<undefined>;
|
|
3755
|
+
readonly external: v.ObjectSchema<{
|
|
3756
|
+
readonly url: v.StringSchema<undefined>;
|
|
3757
|
+
}, undefined>;
|
|
3758
|
+
}, undefined>, v.ObjectSchema<{
|
|
3759
|
+
readonly type: v.LiteralSchema<"file", undefined>;
|
|
3760
|
+
readonly name: v.StringSchema<undefined>;
|
|
3761
|
+
readonly file: v.ObjectSchema<{
|
|
3762
|
+
readonly url: v.StringSchema<undefined>;
|
|
3763
|
+
readonly expiry_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3764
|
+
}, undefined>;
|
|
3765
|
+
}, undefined>], undefined>, undefined>;
|
|
3766
|
+
}, undefined>, v.ObjectSchema<{
|
|
3767
|
+
readonly id: v.StringSchema<undefined>;
|
|
3768
|
+
readonly type: v.LiteralSchema<"place", undefined>;
|
|
3769
|
+
readonly place: v.NullableSchema<v.ObjectSchema<{
|
|
3770
|
+
readonly lat: v.NumberSchema<undefined>;
|
|
3771
|
+
readonly lon: v.NumberSchema<undefined>;
|
|
3772
|
+
readonly name: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
3773
|
+
readonly address: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
3774
|
+
readonly aws_place_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
3775
|
+
readonly google_place_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
3776
|
+
}, undefined>, undefined>;
|
|
3777
|
+
}, undefined>, v.ObjectSchema<{
|
|
3778
|
+
readonly id: v.StringSchema<undefined>;
|
|
3779
|
+
readonly type: v.LiteralSchema<"created_time", undefined>;
|
|
3780
|
+
readonly created_time: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
3781
|
+
}, undefined>, v.ObjectSchema<{
|
|
3782
|
+
readonly id: v.StringSchema<undefined>;
|
|
3783
|
+
readonly type: v.LiteralSchema<"last_edited_time", undefined>;
|
|
3784
|
+
readonly last_edited_time: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
3785
|
+
}, undefined>, v.ObjectSchema<{
|
|
3786
|
+
readonly id: v.StringSchema<undefined>;
|
|
3787
|
+
readonly type: v.LiteralSchema<"created_by", undefined>;
|
|
3788
|
+
readonly created_by: v.NullableSchema<v.ObjectSchema<{
|
|
3789
|
+
readonly id: v.StringSchema<undefined>;
|
|
3790
|
+
readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
|
|
3791
|
+
readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3792
|
+
}, undefined>, undefined>;
|
|
3793
|
+
}, undefined>, v.ObjectSchema<{
|
|
3794
|
+
readonly id: v.StringSchema<undefined>;
|
|
3795
|
+
readonly type: v.LiteralSchema<"last_edited_by", undefined>;
|
|
3796
|
+
readonly last_edited_by: v.NullableSchema<v.ObjectSchema<{
|
|
3797
|
+
readonly id: v.StringSchema<undefined>;
|
|
3798
|
+
readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
|
|
3799
|
+
readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3800
|
+
}, undefined>, undefined>;
|
|
3801
|
+
}, undefined>, v.ObjectSchema<{
|
|
3802
|
+
readonly id: v.StringSchema<undefined>;
|
|
3803
|
+
readonly type: v.LiteralSchema<"last_visited_time", undefined>;
|
|
3804
|
+
readonly last_visited_time: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
3805
|
+
}, undefined>], undefined>, undefined>, undefined>;
|
|
3806
|
+
readonly created_by: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
3807
|
+
readonly id: v.StringSchema<undefined>;
|
|
3808
|
+
readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
|
|
3809
|
+
readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3810
|
+
}, undefined>, undefined>, null>;
|
|
3811
|
+
readonly last_edited_by: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
3812
|
+
readonly id: v.StringSchema<undefined>;
|
|
3813
|
+
readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
|
|
3814
|
+
readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3815
|
+
}, undefined>, undefined>, null>;
|
|
3816
|
+
readonly last_visited_time: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
|
|
3817
|
+
readonly created_time: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
|
|
3818
|
+
readonly last_edited_time: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
|
|
3819
|
+
readonly icon: v.OptionalSchema<v.NullableSchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
3820
|
+
readonly type: v.LiteralSchema<"emoji", undefined>;
|
|
3821
|
+
readonly emoji: v.StringSchema<undefined>;
|
|
3822
|
+
}, undefined>, v.ObjectSchema<{
|
|
3823
|
+
readonly type: v.LiteralSchema<"custom_emoji", undefined>;
|
|
3824
|
+
readonly custom_emoji: v.ObjectSchema<{
|
|
3825
|
+
readonly id: v.StringSchema<undefined>;
|
|
3826
|
+
readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3827
|
+
readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3828
|
+
}, undefined>;
|
|
3829
|
+
}, undefined>, v.ObjectSchema<{
|
|
3830
|
+
readonly type: v.LiteralSchema<"external", undefined>;
|
|
3831
|
+
readonly external: v.ObjectSchema<{
|
|
3832
|
+
readonly url: v.StringSchema<undefined>;
|
|
3833
|
+
}, undefined>;
|
|
3834
|
+
}, undefined>, v.ObjectSchema<{
|
|
3835
|
+
readonly type: v.LiteralSchema<"file", undefined>;
|
|
3836
|
+
readonly file: v.ObjectSchema<{
|
|
3837
|
+
readonly url: v.StringSchema<undefined>;
|
|
3838
|
+
readonly expiry_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3839
|
+
}, undefined>;
|
|
3840
|
+
}, undefined>], undefined>, undefined>, null>;
|
|
3841
|
+
readonly cover: v.OptionalSchema<v.NullableSchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
3842
|
+
readonly type: v.LiteralSchema<"external", undefined>;
|
|
3843
|
+
readonly external: v.ObjectSchema<{
|
|
3844
|
+
readonly url: v.StringSchema<undefined>;
|
|
3845
|
+
}, undefined>;
|
|
3846
|
+
}, undefined>, v.ObjectSchema<{
|
|
3847
|
+
readonly type: v.LiteralSchema<"file", undefined>;
|
|
3848
|
+
readonly file: v.ObjectSchema<{
|
|
3849
|
+
readonly url: v.StringSchema<undefined>;
|
|
3850
|
+
readonly expiry_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3851
|
+
}, undefined>;
|
|
3852
|
+
}, undefined>], undefined>, undefined>, null>;
|
|
3853
|
+
readonly url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
|
|
3854
|
+
readonly public_url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
|
|
3855
|
+
readonly is_archived: v.BooleanSchema<undefined>;
|
|
3856
|
+
readonly in_trash: v.BooleanSchema<undefined>;
|
|
3857
|
+
}, undefined>, v.ObjectSchema<{
|
|
3858
|
+
readonly object: v.LiteralSchema<"page", undefined>;
|
|
3859
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionPageId">]>;
|
|
3860
|
+
readonly parent: v.VariantSchema<"type", [v.ObjectSchema<{
|
|
3861
|
+
readonly type: v.LiteralSchema<"page_id", undefined>;
|
|
3862
|
+
readonly page_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionPageId">]>;
|
|
3863
|
+
}, undefined>, v.ObjectSchema<{
|
|
3864
|
+
readonly type: v.LiteralSchema<"data_source_id", undefined>;
|
|
3865
|
+
readonly data_source_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionDataSourceId">]>;
|
|
3866
|
+
}, undefined>, v.ObjectSchema<{
|
|
3867
|
+
readonly type: v.LiteralSchema<"workspace", undefined>;
|
|
3868
|
+
readonly workspace: v.LiteralSchema<true, undefined>;
|
|
3869
|
+
}, undefined>, v.ObjectSchema<{
|
|
3870
|
+
readonly type: v.LiteralSchema<"block_id", undefined>;
|
|
3871
|
+
readonly block_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionBlockId">]>;
|
|
3872
|
+
}, undefined>, v.ObjectSchema<{
|
|
3873
|
+
readonly type: v.LiteralSchema<"agent_id", undefined>;
|
|
3874
|
+
readonly agent_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionAgentId">]>;
|
|
3875
|
+
}, undefined>, v.ObjectSchema<{
|
|
3876
|
+
readonly type: v.LiteralSchema<"unavailable", undefined>;
|
|
3877
|
+
}, undefined>], undefined>;
|
|
3878
|
+
readonly properties: v.RecordSchema<v.StringSchema<undefined>, v.VariantSchema<"type", [v.ObjectSchema<{
|
|
3879
|
+
readonly id: v.StringSchema<undefined>;
|
|
3880
|
+
readonly type: v.LiteralSchema<"title", undefined>;
|
|
3881
|
+
readonly title: v.ArraySchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
3882
|
+
}, undefined>, v.ObjectSchema<{
|
|
3883
|
+
readonly id: v.StringSchema<undefined>;
|
|
3884
|
+
readonly type: v.LiteralSchema<"rich_text", undefined>;
|
|
3885
|
+
readonly rich_text: v.ArraySchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
3886
|
+
}, undefined>, v.ObjectSchema<{
|
|
3887
|
+
readonly id: v.StringSchema<undefined>;
|
|
3888
|
+
readonly type: v.LiteralSchema<"number", undefined>;
|
|
3889
|
+
readonly number: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
3890
|
+
}, undefined>, v.ObjectSchema<{
|
|
3891
|
+
readonly id: v.StringSchema<undefined>;
|
|
3892
|
+
readonly type: v.LiteralSchema<"url", undefined>;
|
|
3893
|
+
readonly url: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
3894
|
+
}, undefined>, v.ObjectSchema<{
|
|
3895
|
+
readonly id: v.StringSchema<undefined>;
|
|
3896
|
+
readonly type: v.LiteralSchema<"email", undefined>;
|
|
3897
|
+
readonly email: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
3898
|
+
}, undefined>, v.ObjectSchema<{
|
|
3899
|
+
readonly id: v.StringSchema<undefined>;
|
|
3900
|
+
readonly type: v.LiteralSchema<"phone_number", undefined>;
|
|
3901
|
+
readonly phone_number: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
3902
|
+
}, undefined>, v.ObjectSchema<{
|
|
3903
|
+
readonly id: v.StringSchema<undefined>;
|
|
3904
|
+
readonly type: v.LiteralSchema<"checkbox", undefined>;
|
|
3905
|
+
readonly checkbox: v.BooleanSchema<undefined>;
|
|
3906
|
+
}, undefined>, v.ObjectSchema<{
|
|
3907
|
+
readonly id: v.StringSchema<undefined>;
|
|
3908
|
+
readonly type: v.LiteralSchema<"select", undefined>;
|
|
3909
|
+
readonly select: v.NullableSchema<v.UnionSchema<[v.ObjectSchema<{
|
|
3910
|
+
readonly id: v.StringSchema<undefined>;
|
|
3911
|
+
readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3912
|
+
readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3913
|
+
readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
3914
|
+
}, undefined>, v.ObjectSchema<{
|
|
3915
|
+
readonly name: v.StringSchema<undefined>;
|
|
3916
|
+
readonly id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3917
|
+
readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3918
|
+
readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
3919
|
+
}, undefined>], undefined>, undefined>;
|
|
3920
|
+
}, undefined>, v.ObjectSchema<{
|
|
3921
|
+
readonly id: v.StringSchema<undefined>;
|
|
3922
|
+
readonly type: v.LiteralSchema<"status", undefined>;
|
|
3923
|
+
readonly status: v.NullableSchema<v.UnionSchema<[v.ObjectSchema<{
|
|
3924
|
+
readonly id: v.StringSchema<undefined>;
|
|
3925
|
+
readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3926
|
+
readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3927
|
+
readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
3928
|
+
}, undefined>, v.ObjectSchema<{
|
|
3929
|
+
readonly name: v.StringSchema<undefined>;
|
|
3930
|
+
readonly id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3931
|
+
readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3932
|
+
readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
3933
|
+
}, undefined>], undefined>, undefined>;
|
|
3934
|
+
}, undefined>, v.ObjectSchema<{
|
|
3935
|
+
readonly id: v.StringSchema<undefined>;
|
|
3936
|
+
readonly type: v.LiteralSchema<"multi_select", undefined>;
|
|
3937
|
+
readonly multi_select: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
|
|
3938
|
+
readonly id: v.StringSchema<undefined>;
|
|
3939
|
+
readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3940
|
+
readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3941
|
+
readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
3942
|
+
}, undefined>, v.ObjectSchema<{
|
|
3943
|
+
readonly name: v.StringSchema<undefined>;
|
|
3944
|
+
readonly id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3945
|
+
readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3946
|
+
readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
3947
|
+
}, undefined>], undefined>, undefined>;
|
|
3948
|
+
}, undefined>, v.ObjectSchema<{
|
|
3949
|
+
readonly id: v.StringSchema<undefined>;
|
|
3950
|
+
readonly type: v.LiteralSchema<"date", undefined>;
|
|
3951
|
+
readonly date: v.NullableSchema<v.UnionSchema<[v.ObjectSchema<{
|
|
3952
|
+
readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
3953
|
+
readonly time_zone: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
3954
|
+
readonly reminder: v.OptionalSchema<v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
|
|
3955
|
+
readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
|
|
3956
|
+
readonly value: v.NumberSchema<undefined>;
|
|
3957
|
+
readonly time: v.StringSchema<undefined>;
|
|
3958
|
+
readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3959
|
+
}, undefined>, v.ObjectSchema<{
|
|
3960
|
+
readonly unit: v.PicklistSchema<["hour", "minute"], undefined>;
|
|
3961
|
+
readonly value: v.NumberSchema<undefined>;
|
|
3962
|
+
}, undefined>], undefined>, v.ObjectSchema<{
|
|
3963
|
+
readonly unit: v.LiteralSchema<"none", undefined>;
|
|
3964
|
+
}, undefined>], undefined>, undefined>;
|
|
3965
|
+
readonly start: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IncludesAction<string, "T", undefined>]>;
|
|
3966
|
+
}, undefined>, v.ObjectSchema<{
|
|
3967
|
+
readonly start: v.StringSchema<undefined>;
|
|
3968
|
+
readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
3969
|
+
readonly reminder: v.OptionalSchema<v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
|
|
3970
|
+
readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
|
|
3971
|
+
readonly value: v.NumberSchema<undefined>;
|
|
3972
|
+
readonly time: v.StringSchema<undefined>;
|
|
3973
|
+
readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3974
|
+
}, undefined>, v.ObjectSchema<{
|
|
3975
|
+
readonly unit: v.PicklistSchema<["hour", "minute"], undefined>;
|
|
3976
|
+
readonly value: v.NumberSchema<undefined>;
|
|
3977
|
+
}, undefined>], undefined>, v.ObjectSchema<{
|
|
3978
|
+
readonly unit: v.LiteralSchema<"none", undefined>;
|
|
3979
|
+
}, undefined>], undefined>, undefined>;
|
|
3980
|
+
readonly time_zone: v.StringSchema<undefined>;
|
|
3981
|
+
}, undefined>, v.ObjectSchema<{
|
|
3982
|
+
readonly start: v.StringSchema<undefined>;
|
|
3983
|
+
readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
3984
|
+
readonly time_zone: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
3985
|
+
readonly reminder: v.OptionalSchema<v.UnionSchema<[v.ObjectSchema<{
|
|
3986
|
+
readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
|
|
3987
|
+
readonly value: v.NumberSchema<undefined>;
|
|
3988
|
+
readonly time: v.StringSchema<undefined>;
|
|
3989
|
+
readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3990
|
+
}, undefined>, v.ObjectSchema<{
|
|
3991
|
+
readonly unit: v.LiteralSchema<"none", undefined>;
|
|
3992
|
+
}, undefined>], undefined>, undefined>;
|
|
3993
|
+
}, undefined>], undefined>, undefined>;
|
|
3994
|
+
}, undefined>, v.ObjectSchema<{
|
|
3995
|
+
readonly id: v.StringSchema<undefined>;
|
|
3996
|
+
readonly type: v.LiteralSchema<"people", undefined>;
|
|
3997
|
+
readonly people: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
|
|
3998
|
+
readonly object: v.OptionalSchema<v.LiteralSchema<"user", undefined>, undefined>;
|
|
3999
|
+
readonly id: v.StringSchema<undefined>;
|
|
4000
|
+
}, undefined>, v.ObjectSchema<{
|
|
4001
|
+
readonly object: v.LiteralSchema<"group", undefined>;
|
|
4002
|
+
readonly id: v.StringSchema<undefined>;
|
|
4003
|
+
readonly name: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
4004
|
+
}, undefined>], undefined>, undefined>;
|
|
4005
|
+
}, undefined>, v.ObjectSchema<{
|
|
4006
|
+
readonly id: v.StringSchema<undefined>;
|
|
4007
|
+
readonly type: v.LiteralSchema<"relation", undefined>;
|
|
4008
|
+
readonly has_more: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
4009
|
+
readonly relation: v.ArraySchema<v.ObjectSchema<{
|
|
4010
|
+
readonly id: v.StringSchema<undefined>;
|
|
4011
|
+
}, undefined>, undefined>;
|
|
4012
|
+
}, undefined>, v.ObjectSchema<{
|
|
4013
|
+
readonly id: v.StringSchema<undefined>;
|
|
4014
|
+
readonly type: v.LiteralSchema<"files", undefined>;
|
|
4015
|
+
readonly files: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
|
|
4016
|
+
readonly type: v.LiteralSchema<"external", undefined>;
|
|
4017
|
+
readonly name: v.StringSchema<undefined>;
|
|
4018
|
+
readonly external: v.ObjectSchema<{
|
|
4019
|
+
readonly url: v.StringSchema<undefined>;
|
|
4020
|
+
}, undefined>;
|
|
4021
|
+
}, undefined>, v.ObjectSchema<{
|
|
4022
|
+
readonly type: v.LiteralSchema<"file", undefined>;
|
|
4023
|
+
readonly name: v.StringSchema<undefined>;
|
|
4024
|
+
readonly file: v.ObjectSchema<{
|
|
4025
|
+
readonly url: v.StringSchema<undefined>;
|
|
4026
|
+
readonly expiry_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
4027
|
+
}, undefined>;
|
|
4028
|
+
}, undefined>], undefined>, undefined>;
|
|
4029
|
+
}, undefined>, v.ObjectSchema<{
|
|
4030
|
+
readonly id: v.StringSchema<undefined>;
|
|
4031
|
+
readonly type: v.LiteralSchema<"place", undefined>;
|
|
4032
|
+
readonly place: v.NullableSchema<v.ObjectSchema<{
|
|
4033
|
+
readonly lat: v.NumberSchema<undefined>;
|
|
4034
|
+
readonly lon: v.NumberSchema<undefined>;
|
|
4035
|
+
readonly name: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
4036
|
+
readonly address: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
4037
|
+
readonly aws_place_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
4038
|
+
readonly google_place_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
4039
|
+
}, undefined>, undefined>;
|
|
4040
|
+
}, undefined>, v.ObjectSchema<{
|
|
4041
|
+
readonly id: v.StringSchema<undefined>;
|
|
4042
|
+
readonly type: v.LiteralSchema<"created_time", undefined>;
|
|
4043
|
+
readonly created_time: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
4044
|
+
}, undefined>, v.ObjectSchema<{
|
|
4045
|
+
readonly id: v.StringSchema<undefined>;
|
|
4046
|
+
readonly type: v.LiteralSchema<"last_edited_time", undefined>;
|
|
4047
|
+
readonly last_edited_time: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
4048
|
+
}, undefined>, v.ObjectSchema<{
|
|
4049
|
+
readonly id: v.StringSchema<undefined>;
|
|
4050
|
+
readonly type: v.LiteralSchema<"created_by", undefined>;
|
|
4051
|
+
readonly created_by: v.NullableSchema<v.ObjectSchema<{
|
|
4052
|
+
readonly id: v.StringSchema<undefined>;
|
|
4053
|
+
readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
|
|
4054
|
+
readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
4055
|
+
}, undefined>, undefined>;
|
|
4056
|
+
}, undefined>, v.ObjectSchema<{
|
|
4057
|
+
readonly id: v.StringSchema<undefined>;
|
|
4058
|
+
readonly type: v.LiteralSchema<"last_edited_by", undefined>;
|
|
4059
|
+
readonly last_edited_by: v.NullableSchema<v.ObjectSchema<{
|
|
4060
|
+
readonly id: v.StringSchema<undefined>;
|
|
4061
|
+
readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
|
|
4062
|
+
readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
4063
|
+
}, undefined>, undefined>;
|
|
4064
|
+
}, undefined>, v.ObjectSchema<{
|
|
4065
|
+
readonly id: v.StringSchema<undefined>;
|
|
4066
|
+
readonly type: v.LiteralSchema<"last_visited_time", undefined>;
|
|
4067
|
+
readonly last_visited_time: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
4068
|
+
}, undefined>], undefined>, undefined>;
|
|
4069
|
+
readonly created_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
4070
|
+
readonly last_edited_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
4071
|
+
readonly icon: v.OptionalSchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
4072
|
+
readonly type: v.LiteralSchema<"emoji", undefined>;
|
|
4073
|
+
readonly emoji: v.StringSchema<undefined>;
|
|
4074
|
+
}, undefined>, v.ObjectSchema<{
|
|
4075
|
+
readonly type: v.LiteralSchema<"custom_emoji", undefined>;
|
|
4076
|
+
readonly custom_emoji: v.ObjectSchema<{
|
|
4077
|
+
readonly id: v.StringSchema<undefined>;
|
|
4078
|
+
readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
4079
|
+
readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
4080
|
+
}, undefined>;
|
|
4081
|
+
}, undefined>, v.ObjectSchema<{
|
|
4082
|
+
readonly type: v.LiteralSchema<"external", undefined>;
|
|
4083
|
+
readonly external: v.ObjectSchema<{
|
|
4084
|
+
readonly url: v.StringSchema<undefined>;
|
|
4085
|
+
}, undefined>;
|
|
4086
|
+
}, undefined>, v.ObjectSchema<{
|
|
4087
|
+
readonly type: v.LiteralSchema<"file", undefined>;
|
|
4088
|
+
readonly file: v.ObjectSchema<{
|
|
4089
|
+
readonly url: v.StringSchema<undefined>;
|
|
4090
|
+
readonly expiry_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
4091
|
+
}, undefined>;
|
|
4092
|
+
}, undefined>], undefined>, undefined>;
|
|
4093
|
+
readonly cover: v.OptionalSchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
4094
|
+
readonly type: v.LiteralSchema<"external", undefined>;
|
|
4095
|
+
readonly external: v.ObjectSchema<{
|
|
4096
|
+
readonly url: v.StringSchema<undefined>;
|
|
4097
|
+
}, undefined>;
|
|
4098
|
+
}, undefined>, v.ObjectSchema<{
|
|
4099
|
+
readonly type: v.LiteralSchema<"file", undefined>;
|
|
4100
|
+
readonly file: v.ObjectSchema<{
|
|
4101
|
+
readonly url: v.StringSchema<undefined>;
|
|
4102
|
+
readonly expiry_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
4103
|
+
}, undefined>;
|
|
4104
|
+
}, undefined>], undefined>, undefined>;
|
|
4105
|
+
readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
4106
|
+
readonly public_url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
4107
|
+
readonly is_archived: v.BooleanSchema<undefined>;
|
|
4108
|
+
readonly in_trash: v.BooleanSchema<undefined>;
|
|
4109
|
+
}, undefined>], undefined>;
|
|
4110
|
+
}, undefined>, v.ObjectSchema<{
|
|
4111
|
+
readonly type: v.LiteralSchema<"updatePageResult", undefined>;
|
|
4112
|
+
readonly requestId: v.StringSchema<undefined>;
|
|
2851
4113
|
readonly status: v.LiteralSchema<"error", undefined>;
|
|
2852
4114
|
readonly error: v.ObjectSchema<{
|
|
2853
4115
|
readonly code: v.StringSchema<undefined>;
|