@corsair-dev/gmail 0.1.0 → 0.1.1
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/dist/api.test.d.ts +2 -0
- package/dist/api.test.d.ts.map +1 -0
- package/dist/client.d.ts.map +1 -1
- package/dist/endpoints/drafts.d.ts +1 -1
- package/dist/endpoints/drafts.d.ts.map +1 -1
- package/dist/endpoints/index.d.ts +2 -2
- package/dist/endpoints/labels.d.ts +1 -1
- package/dist/endpoints/labels.d.ts.map +1 -1
- package/dist/endpoints/messages.d.ts +1 -1
- package/dist/endpoints/messages.d.ts.map +1 -1
- package/dist/endpoints/threads.d.ts +1 -1
- package/dist/endpoints/threads.d.ts.map +1 -1
- package/dist/endpoints/types.d.ts +140 -140
- package/dist/index.d.ts +137 -138
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/integration.test.d.ts +2 -0
- package/dist/integration.test.d.ts.map +1 -0
- package/dist/schema/database.d.ts +4 -4
- package/dist/schema/index.d.ts +4 -4
- package/dist/webhooks/messages.d.ts +1 -1
- package/dist/webhooks/messages.d.ts.map +1 -1
- package/dist/webhooks/types.d.ts +1 -1
- package/dist/webhooks/types.d.ts.map +1 -1
- package/package.json +13 -3
|
@@ -394,19 +394,19 @@ export declare const GmailEndpointInputSchemas: {
|
|
|
394
394
|
threadId?: string | undefined;
|
|
395
395
|
}>>;
|
|
396
396
|
}, "strip", z.ZodTypeAny, {
|
|
397
|
-
|
|
397
|
+
userId?: string | undefined;
|
|
398
398
|
message?: {
|
|
399
399
|
raw?: string | undefined;
|
|
400
400
|
threadId?: string | undefined;
|
|
401
401
|
} | undefined;
|
|
402
|
-
userId?: string | undefined;
|
|
403
|
-
}, {
|
|
404
402
|
id?: string | undefined;
|
|
403
|
+
}, {
|
|
404
|
+
userId?: string | undefined;
|
|
405
405
|
message?: {
|
|
406
406
|
raw?: string | undefined;
|
|
407
407
|
threadId?: string | undefined;
|
|
408
408
|
} | undefined;
|
|
409
|
-
|
|
409
|
+
id?: string | undefined;
|
|
410
410
|
}>;
|
|
411
411
|
readonly threadsList: z.ZodObject<{
|
|
412
412
|
userId: z.ZodOptional<z.ZodString>;
|
|
@@ -522,19 +522,19 @@ declare const MessagePartBaseSchema: z.ZodObject<{
|
|
|
522
522
|
size: z.ZodOptional<z.ZodNumber>;
|
|
523
523
|
data: z.ZodOptional<z.ZodString>;
|
|
524
524
|
}, "strip", z.ZodTypeAny, {
|
|
525
|
-
data?: string | undefined;
|
|
526
525
|
attachmentId?: string | undefined;
|
|
527
526
|
size?: number | undefined;
|
|
528
|
-
}, {
|
|
529
527
|
data?: string | undefined;
|
|
528
|
+
}, {
|
|
530
529
|
attachmentId?: string | undefined;
|
|
531
530
|
size?: number | undefined;
|
|
531
|
+
data?: string | undefined;
|
|
532
532
|
}>>;
|
|
533
533
|
}, "strip", z.ZodTypeAny, {
|
|
534
534
|
body?: {
|
|
535
|
-
data?: string | undefined;
|
|
536
535
|
attachmentId?: string | undefined;
|
|
537
536
|
size?: number | undefined;
|
|
537
|
+
data?: string | undefined;
|
|
538
538
|
} | undefined;
|
|
539
539
|
partId?: string | undefined;
|
|
540
540
|
mimeType?: string | undefined;
|
|
@@ -545,9 +545,9 @@ declare const MessagePartBaseSchema: z.ZodObject<{
|
|
|
545
545
|
}[] | undefined;
|
|
546
546
|
}, {
|
|
547
547
|
body?: {
|
|
548
|
-
data?: string | undefined;
|
|
549
548
|
attachmentId?: string | undefined;
|
|
550
549
|
size?: number | undefined;
|
|
550
|
+
data?: string | undefined;
|
|
551
551
|
} | undefined;
|
|
552
552
|
partId?: string | undefined;
|
|
553
553
|
mimeType?: string | undefined;
|
|
@@ -573,53 +573,53 @@ export declare const GmailEndpointOutputSchemas: {
|
|
|
573
573
|
payload: z.ZodOptional<z.ZodType<MessagePartShape, z.ZodTypeDef, MessagePartShape>>;
|
|
574
574
|
raw: z.ZodOptional<z.ZodString>;
|
|
575
575
|
}, "strip", z.ZodTypeAny, {
|
|
576
|
-
id?: string | undefined;
|
|
577
|
-
payload?: MessagePartShape | undefined;
|
|
578
576
|
labelIds?: string[] | undefined;
|
|
577
|
+
id?: string | undefined;
|
|
579
578
|
raw?: string | undefined;
|
|
580
579
|
threadId?: string | undefined;
|
|
581
580
|
snippet?: string | undefined;
|
|
582
581
|
historyId?: string | undefined;
|
|
583
582
|
internalDate?: Date | null | undefined;
|
|
584
583
|
sizeEstimate?: number | undefined;
|
|
585
|
-
}, {
|
|
586
|
-
id?: string | undefined;
|
|
587
584
|
payload?: MessagePartShape | undefined;
|
|
585
|
+
}, {
|
|
588
586
|
labelIds?: string[] | undefined;
|
|
587
|
+
id?: string | undefined;
|
|
589
588
|
raw?: string | undefined;
|
|
590
589
|
threadId?: string | undefined;
|
|
591
590
|
snippet?: string | undefined;
|
|
592
591
|
historyId?: string | undefined;
|
|
593
592
|
internalDate?: string | number | Date | null | undefined;
|
|
594
593
|
sizeEstimate?: number | undefined;
|
|
594
|
+
payload?: MessagePartShape | undefined;
|
|
595
595
|
}>, "many">>;
|
|
596
596
|
nextPageToken: z.ZodOptional<z.ZodString>;
|
|
597
597
|
resultSizeEstimate: z.ZodOptional<z.ZodNumber>;
|
|
598
598
|
}, "strip", z.ZodTypeAny, {
|
|
599
599
|
messages?: {
|
|
600
|
-
id?: string | undefined;
|
|
601
|
-
payload?: MessagePartShape | undefined;
|
|
602
600
|
labelIds?: string[] | undefined;
|
|
601
|
+
id?: string | undefined;
|
|
603
602
|
raw?: string | undefined;
|
|
604
603
|
threadId?: string | undefined;
|
|
605
604
|
snippet?: string | undefined;
|
|
606
605
|
historyId?: string | undefined;
|
|
607
606
|
internalDate?: Date | null | undefined;
|
|
608
607
|
sizeEstimate?: number | undefined;
|
|
608
|
+
payload?: MessagePartShape | undefined;
|
|
609
609
|
}[] | undefined;
|
|
610
610
|
nextPageToken?: string | undefined;
|
|
611
611
|
resultSizeEstimate?: number | undefined;
|
|
612
612
|
}, {
|
|
613
613
|
messages?: {
|
|
614
|
-
id?: string | undefined;
|
|
615
|
-
payload?: MessagePartShape | undefined;
|
|
616
614
|
labelIds?: string[] | undefined;
|
|
615
|
+
id?: string | undefined;
|
|
617
616
|
raw?: string | undefined;
|
|
618
617
|
threadId?: string | undefined;
|
|
619
618
|
snippet?: string | undefined;
|
|
620
619
|
historyId?: string | undefined;
|
|
621
620
|
internalDate?: string | number | Date | null | undefined;
|
|
622
621
|
sizeEstimate?: number | undefined;
|
|
622
|
+
payload?: MessagePartShape | undefined;
|
|
623
623
|
}[] | undefined;
|
|
624
624
|
nextPageToken?: string | undefined;
|
|
625
625
|
resultSizeEstimate?: number | undefined;
|
|
@@ -635,25 +635,25 @@ export declare const GmailEndpointOutputSchemas: {
|
|
|
635
635
|
payload: z.ZodOptional<z.ZodType<MessagePartShape, z.ZodTypeDef, MessagePartShape>>;
|
|
636
636
|
raw: z.ZodOptional<z.ZodString>;
|
|
637
637
|
}, "strip", z.ZodTypeAny, {
|
|
638
|
-
id?: string | undefined;
|
|
639
|
-
payload?: MessagePartShape | undefined;
|
|
640
638
|
labelIds?: string[] | undefined;
|
|
639
|
+
id?: string | undefined;
|
|
641
640
|
raw?: string | undefined;
|
|
642
641
|
threadId?: string | undefined;
|
|
643
642
|
snippet?: string | undefined;
|
|
644
643
|
historyId?: string | undefined;
|
|
645
644
|
internalDate?: Date | null | undefined;
|
|
646
645
|
sizeEstimate?: number | undefined;
|
|
647
|
-
}, {
|
|
648
|
-
id?: string | undefined;
|
|
649
646
|
payload?: MessagePartShape | undefined;
|
|
647
|
+
}, {
|
|
650
648
|
labelIds?: string[] | undefined;
|
|
649
|
+
id?: string | undefined;
|
|
651
650
|
raw?: string | undefined;
|
|
652
651
|
threadId?: string | undefined;
|
|
653
652
|
snippet?: string | undefined;
|
|
654
653
|
historyId?: string | undefined;
|
|
655
654
|
internalDate?: string | number | Date | null | undefined;
|
|
656
655
|
sizeEstimate?: number | undefined;
|
|
656
|
+
payload?: MessagePartShape | undefined;
|
|
657
657
|
}>;
|
|
658
658
|
readonly messagesSend: z.ZodObject<{
|
|
659
659
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -666,25 +666,25 @@ export declare const GmailEndpointOutputSchemas: {
|
|
|
666
666
|
payload: z.ZodOptional<z.ZodType<MessagePartShape, z.ZodTypeDef, MessagePartShape>>;
|
|
667
667
|
raw: z.ZodOptional<z.ZodString>;
|
|
668
668
|
}, "strip", z.ZodTypeAny, {
|
|
669
|
-
id?: string | undefined;
|
|
670
|
-
payload?: MessagePartShape | undefined;
|
|
671
669
|
labelIds?: string[] | undefined;
|
|
670
|
+
id?: string | undefined;
|
|
672
671
|
raw?: string | undefined;
|
|
673
672
|
threadId?: string | undefined;
|
|
674
673
|
snippet?: string | undefined;
|
|
675
674
|
historyId?: string | undefined;
|
|
676
675
|
internalDate?: Date | null | undefined;
|
|
677
676
|
sizeEstimate?: number | undefined;
|
|
678
|
-
}, {
|
|
679
|
-
id?: string | undefined;
|
|
680
677
|
payload?: MessagePartShape | undefined;
|
|
678
|
+
}, {
|
|
681
679
|
labelIds?: string[] | undefined;
|
|
680
|
+
id?: string | undefined;
|
|
682
681
|
raw?: string | undefined;
|
|
683
682
|
threadId?: string | undefined;
|
|
684
683
|
snippet?: string | undefined;
|
|
685
684
|
historyId?: string | undefined;
|
|
686
685
|
internalDate?: string | number | Date | null | undefined;
|
|
687
686
|
sizeEstimate?: number | undefined;
|
|
687
|
+
payload?: MessagePartShape | undefined;
|
|
688
688
|
}>;
|
|
689
689
|
readonly messagesDelete: z.ZodVoid;
|
|
690
690
|
readonly messagesModify: z.ZodObject<{
|
|
@@ -698,25 +698,25 @@ export declare const GmailEndpointOutputSchemas: {
|
|
|
698
698
|
payload: z.ZodOptional<z.ZodType<MessagePartShape, z.ZodTypeDef, MessagePartShape>>;
|
|
699
699
|
raw: z.ZodOptional<z.ZodString>;
|
|
700
700
|
}, "strip", z.ZodTypeAny, {
|
|
701
|
-
id?: string | undefined;
|
|
702
|
-
payload?: MessagePartShape | undefined;
|
|
703
701
|
labelIds?: string[] | undefined;
|
|
702
|
+
id?: string | undefined;
|
|
704
703
|
raw?: string | undefined;
|
|
705
704
|
threadId?: string | undefined;
|
|
706
705
|
snippet?: string | undefined;
|
|
707
706
|
historyId?: string | undefined;
|
|
708
707
|
internalDate?: Date | null | undefined;
|
|
709
708
|
sizeEstimate?: number | undefined;
|
|
710
|
-
}, {
|
|
711
|
-
id?: string | undefined;
|
|
712
709
|
payload?: MessagePartShape | undefined;
|
|
710
|
+
}, {
|
|
713
711
|
labelIds?: string[] | undefined;
|
|
712
|
+
id?: string | undefined;
|
|
714
713
|
raw?: string | undefined;
|
|
715
714
|
threadId?: string | undefined;
|
|
716
715
|
snippet?: string | undefined;
|
|
717
716
|
historyId?: string | undefined;
|
|
718
717
|
internalDate?: string | number | Date | null | undefined;
|
|
719
718
|
sizeEstimate?: number | undefined;
|
|
719
|
+
payload?: MessagePartShape | undefined;
|
|
720
720
|
}>;
|
|
721
721
|
readonly messagesBatchModify: z.ZodVoid;
|
|
722
722
|
readonly messagesTrash: z.ZodObject<{
|
|
@@ -730,25 +730,25 @@ export declare const GmailEndpointOutputSchemas: {
|
|
|
730
730
|
payload: z.ZodOptional<z.ZodType<MessagePartShape, z.ZodTypeDef, MessagePartShape>>;
|
|
731
731
|
raw: z.ZodOptional<z.ZodString>;
|
|
732
732
|
}, "strip", z.ZodTypeAny, {
|
|
733
|
-
id?: string | undefined;
|
|
734
|
-
payload?: MessagePartShape | undefined;
|
|
735
733
|
labelIds?: string[] | undefined;
|
|
734
|
+
id?: string | undefined;
|
|
736
735
|
raw?: string | undefined;
|
|
737
736
|
threadId?: string | undefined;
|
|
738
737
|
snippet?: string | undefined;
|
|
739
738
|
historyId?: string | undefined;
|
|
740
739
|
internalDate?: Date | null | undefined;
|
|
741
740
|
sizeEstimate?: number | undefined;
|
|
742
|
-
}, {
|
|
743
|
-
id?: string | undefined;
|
|
744
741
|
payload?: MessagePartShape | undefined;
|
|
742
|
+
}, {
|
|
745
743
|
labelIds?: string[] | undefined;
|
|
744
|
+
id?: string | undefined;
|
|
746
745
|
raw?: string | undefined;
|
|
747
746
|
threadId?: string | undefined;
|
|
748
747
|
snippet?: string | undefined;
|
|
749
748
|
historyId?: string | undefined;
|
|
750
749
|
internalDate?: string | number | Date | null | undefined;
|
|
751
750
|
sizeEstimate?: number | undefined;
|
|
751
|
+
payload?: MessagePartShape | undefined;
|
|
752
752
|
}>;
|
|
753
753
|
readonly messagesUntrash: z.ZodObject<{
|
|
754
754
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -761,25 +761,25 @@ export declare const GmailEndpointOutputSchemas: {
|
|
|
761
761
|
payload: z.ZodOptional<z.ZodType<MessagePartShape, z.ZodTypeDef, MessagePartShape>>;
|
|
762
762
|
raw: z.ZodOptional<z.ZodString>;
|
|
763
763
|
}, "strip", z.ZodTypeAny, {
|
|
764
|
-
id?: string | undefined;
|
|
765
|
-
payload?: MessagePartShape | undefined;
|
|
766
764
|
labelIds?: string[] | undefined;
|
|
765
|
+
id?: string | undefined;
|
|
767
766
|
raw?: string | undefined;
|
|
768
767
|
threadId?: string | undefined;
|
|
769
768
|
snippet?: string | undefined;
|
|
770
769
|
historyId?: string | undefined;
|
|
771
770
|
internalDate?: Date | null | undefined;
|
|
772
771
|
sizeEstimate?: number | undefined;
|
|
773
|
-
}, {
|
|
774
|
-
id?: string | undefined;
|
|
775
772
|
payload?: MessagePartShape | undefined;
|
|
773
|
+
}, {
|
|
776
774
|
labelIds?: string[] | undefined;
|
|
775
|
+
id?: string | undefined;
|
|
777
776
|
raw?: string | undefined;
|
|
778
777
|
threadId?: string | undefined;
|
|
779
778
|
snippet?: string | undefined;
|
|
780
779
|
historyId?: string | undefined;
|
|
781
780
|
internalDate?: string | number | Date | null | undefined;
|
|
782
781
|
sizeEstimate?: number | undefined;
|
|
782
|
+
payload?: MessagePartShape | undefined;
|
|
783
783
|
}>;
|
|
784
784
|
readonly labelsList: z.ZodObject<{
|
|
785
785
|
labels: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -803,9 +803,9 @@ export declare const GmailEndpointOutputSchemas: {
|
|
|
803
803
|
backgroundColor?: string | undefined;
|
|
804
804
|
}>>;
|
|
805
805
|
}, "strip", z.ZodTypeAny, {
|
|
806
|
+
type?: "system" | "user" | undefined;
|
|
806
807
|
id?: string | undefined;
|
|
807
808
|
name?: string | undefined;
|
|
808
|
-
type?: "system" | "user" | undefined;
|
|
809
809
|
messageListVisibility?: "show" | "hide" | undefined;
|
|
810
810
|
labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
|
|
811
811
|
color?: {
|
|
@@ -817,9 +817,9 @@ export declare const GmailEndpointOutputSchemas: {
|
|
|
817
817
|
threadsTotal?: number | undefined;
|
|
818
818
|
threadsUnread?: number | undefined;
|
|
819
819
|
}, {
|
|
820
|
+
type?: "system" | "user" | undefined;
|
|
820
821
|
id?: string | undefined;
|
|
821
822
|
name?: string | undefined;
|
|
822
|
-
type?: "system" | "user" | undefined;
|
|
823
823
|
messageListVisibility?: "show" | "hide" | undefined;
|
|
824
824
|
labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
|
|
825
825
|
color?: {
|
|
@@ -833,9 +833,9 @@ export declare const GmailEndpointOutputSchemas: {
|
|
|
833
833
|
}>, "many">>;
|
|
834
834
|
}, "strip", z.ZodTypeAny, {
|
|
835
835
|
labels?: {
|
|
836
|
+
type?: "system" | "user" | undefined;
|
|
836
837
|
id?: string | undefined;
|
|
837
838
|
name?: string | undefined;
|
|
838
|
-
type?: "system" | "user" | undefined;
|
|
839
839
|
messageListVisibility?: "show" | "hide" | undefined;
|
|
840
840
|
labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
|
|
841
841
|
color?: {
|
|
@@ -849,9 +849,9 @@ export declare const GmailEndpointOutputSchemas: {
|
|
|
849
849
|
}[] | undefined;
|
|
850
850
|
}, {
|
|
851
851
|
labels?: {
|
|
852
|
+
type?: "system" | "user" | undefined;
|
|
852
853
|
id?: string | undefined;
|
|
853
854
|
name?: string | undefined;
|
|
854
|
-
type?: "system" | "user" | undefined;
|
|
855
855
|
messageListVisibility?: "show" | "hide" | undefined;
|
|
856
856
|
labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
|
|
857
857
|
color?: {
|
|
@@ -885,9 +885,9 @@ export declare const GmailEndpointOutputSchemas: {
|
|
|
885
885
|
backgroundColor?: string | undefined;
|
|
886
886
|
}>>;
|
|
887
887
|
}, "strip", z.ZodTypeAny, {
|
|
888
|
+
type?: "system" | "user" | undefined;
|
|
888
889
|
id?: string | undefined;
|
|
889
890
|
name?: string | undefined;
|
|
890
|
-
type?: "system" | "user" | undefined;
|
|
891
891
|
messageListVisibility?: "show" | "hide" | undefined;
|
|
892
892
|
labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
|
|
893
893
|
color?: {
|
|
@@ -899,9 +899,9 @@ export declare const GmailEndpointOutputSchemas: {
|
|
|
899
899
|
threadsTotal?: number | undefined;
|
|
900
900
|
threadsUnread?: number | undefined;
|
|
901
901
|
}, {
|
|
902
|
+
type?: "system" | "user" | undefined;
|
|
902
903
|
id?: string | undefined;
|
|
903
904
|
name?: string | undefined;
|
|
904
|
-
type?: "system" | "user" | undefined;
|
|
905
905
|
messageListVisibility?: "show" | "hide" | undefined;
|
|
906
906
|
labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
|
|
907
907
|
color?: {
|
|
@@ -934,9 +934,9 @@ export declare const GmailEndpointOutputSchemas: {
|
|
|
934
934
|
backgroundColor?: string | undefined;
|
|
935
935
|
}>>;
|
|
936
936
|
}, "strip", z.ZodTypeAny, {
|
|
937
|
+
type?: "system" | "user" | undefined;
|
|
937
938
|
id?: string | undefined;
|
|
938
939
|
name?: string | undefined;
|
|
939
|
-
type?: "system" | "user" | undefined;
|
|
940
940
|
messageListVisibility?: "show" | "hide" | undefined;
|
|
941
941
|
labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
|
|
942
942
|
color?: {
|
|
@@ -948,9 +948,9 @@ export declare const GmailEndpointOutputSchemas: {
|
|
|
948
948
|
threadsTotal?: number | undefined;
|
|
949
949
|
threadsUnread?: number | undefined;
|
|
950
950
|
}, {
|
|
951
|
+
type?: "system" | "user" | undefined;
|
|
951
952
|
id?: string | undefined;
|
|
952
953
|
name?: string | undefined;
|
|
953
|
-
type?: "system" | "user" | undefined;
|
|
954
954
|
messageListVisibility?: "show" | "hide" | undefined;
|
|
955
955
|
labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
|
|
956
956
|
color?: {
|
|
@@ -983,9 +983,9 @@ export declare const GmailEndpointOutputSchemas: {
|
|
|
983
983
|
backgroundColor?: string | undefined;
|
|
984
984
|
}>>;
|
|
985
985
|
}, "strip", z.ZodTypeAny, {
|
|
986
|
+
type?: "system" | "user" | undefined;
|
|
986
987
|
id?: string | undefined;
|
|
987
988
|
name?: string | undefined;
|
|
988
|
-
type?: "system" | "user" | undefined;
|
|
989
989
|
messageListVisibility?: "show" | "hide" | undefined;
|
|
990
990
|
labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
|
|
991
991
|
color?: {
|
|
@@ -997,9 +997,9 @@ export declare const GmailEndpointOutputSchemas: {
|
|
|
997
997
|
threadsTotal?: number | undefined;
|
|
998
998
|
threadsUnread?: number | undefined;
|
|
999
999
|
}, {
|
|
1000
|
+
type?: "system" | "user" | undefined;
|
|
1000
1001
|
id?: string | undefined;
|
|
1001
1002
|
name?: string | undefined;
|
|
1002
|
-
type?: "system" | "user" | undefined;
|
|
1003
1003
|
messageListVisibility?: "show" | "hide" | undefined;
|
|
1004
1004
|
labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
|
|
1005
1005
|
color?: {
|
|
@@ -1026,52 +1026,52 @@ export declare const GmailEndpointOutputSchemas: {
|
|
|
1026
1026
|
payload: z.ZodOptional<z.ZodType<MessagePartShape, z.ZodTypeDef, MessagePartShape>>;
|
|
1027
1027
|
raw: z.ZodOptional<z.ZodString>;
|
|
1028
1028
|
}, "strip", z.ZodTypeAny, {
|
|
1029
|
-
id?: string | undefined;
|
|
1030
|
-
payload?: MessagePartShape | undefined;
|
|
1031
1029
|
labelIds?: string[] | undefined;
|
|
1030
|
+
id?: string | undefined;
|
|
1032
1031
|
raw?: string | undefined;
|
|
1033
1032
|
threadId?: string | undefined;
|
|
1034
1033
|
snippet?: string | undefined;
|
|
1035
1034
|
historyId?: string | undefined;
|
|
1036
1035
|
internalDate?: Date | null | undefined;
|
|
1037
1036
|
sizeEstimate?: number | undefined;
|
|
1038
|
-
}, {
|
|
1039
|
-
id?: string | undefined;
|
|
1040
1037
|
payload?: MessagePartShape | undefined;
|
|
1038
|
+
}, {
|
|
1041
1039
|
labelIds?: string[] | undefined;
|
|
1040
|
+
id?: string | undefined;
|
|
1042
1041
|
raw?: string | undefined;
|
|
1043
1042
|
threadId?: string | undefined;
|
|
1044
1043
|
snippet?: string | undefined;
|
|
1045
1044
|
historyId?: string | undefined;
|
|
1046
1045
|
internalDate?: string | number | Date | null | undefined;
|
|
1047
1046
|
sizeEstimate?: number | undefined;
|
|
1047
|
+
payload?: MessagePartShape | undefined;
|
|
1048
1048
|
}>>;
|
|
1049
1049
|
}, "strip", z.ZodTypeAny, {
|
|
1050
|
-
id?: string | undefined;
|
|
1051
1050
|
message?: {
|
|
1052
|
-
id?: string | undefined;
|
|
1053
|
-
payload?: MessagePartShape | undefined;
|
|
1054
1051
|
labelIds?: string[] | undefined;
|
|
1052
|
+
id?: string | undefined;
|
|
1055
1053
|
raw?: string | undefined;
|
|
1056
1054
|
threadId?: string | undefined;
|
|
1057
1055
|
snippet?: string | undefined;
|
|
1058
1056
|
historyId?: string | undefined;
|
|
1059
1057
|
internalDate?: Date | null | undefined;
|
|
1060
1058
|
sizeEstimate?: number | undefined;
|
|
1059
|
+
payload?: MessagePartShape | undefined;
|
|
1061
1060
|
} | undefined;
|
|
1062
|
-
}, {
|
|
1063
1061
|
id?: string | undefined;
|
|
1062
|
+
}, {
|
|
1064
1063
|
message?: {
|
|
1065
|
-
id?: string | undefined;
|
|
1066
|
-
payload?: MessagePartShape | undefined;
|
|
1067
1064
|
labelIds?: string[] | undefined;
|
|
1065
|
+
id?: string | undefined;
|
|
1068
1066
|
raw?: string | undefined;
|
|
1069
1067
|
threadId?: string | undefined;
|
|
1070
1068
|
snippet?: string | undefined;
|
|
1071
1069
|
historyId?: string | undefined;
|
|
1072
1070
|
internalDate?: string | number | Date | null | undefined;
|
|
1073
1071
|
sizeEstimate?: number | undefined;
|
|
1072
|
+
payload?: MessagePartShape | undefined;
|
|
1074
1073
|
} | undefined;
|
|
1074
|
+
id?: string | undefined;
|
|
1075
1075
|
}>, "many">>;
|
|
1076
1076
|
nextPageToken: z.ZodOptional<z.ZodString>;
|
|
1077
1077
|
resultSizeEstimate: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1079,35 +1079,35 @@ export declare const GmailEndpointOutputSchemas: {
|
|
|
1079
1079
|
nextPageToken?: string | undefined;
|
|
1080
1080
|
resultSizeEstimate?: number | undefined;
|
|
1081
1081
|
drafts?: {
|
|
1082
|
-
id?: string | undefined;
|
|
1083
1082
|
message?: {
|
|
1084
|
-
id?: string | undefined;
|
|
1085
|
-
payload?: MessagePartShape | undefined;
|
|
1086
1083
|
labelIds?: string[] | undefined;
|
|
1084
|
+
id?: string | undefined;
|
|
1087
1085
|
raw?: string | undefined;
|
|
1088
1086
|
threadId?: string | undefined;
|
|
1089
1087
|
snippet?: string | undefined;
|
|
1090
1088
|
historyId?: string | undefined;
|
|
1091
1089
|
internalDate?: Date | null | undefined;
|
|
1092
1090
|
sizeEstimate?: number | undefined;
|
|
1091
|
+
payload?: MessagePartShape | undefined;
|
|
1093
1092
|
} | undefined;
|
|
1093
|
+
id?: string | undefined;
|
|
1094
1094
|
}[] | undefined;
|
|
1095
1095
|
}, {
|
|
1096
1096
|
nextPageToken?: string | undefined;
|
|
1097
1097
|
resultSizeEstimate?: number | undefined;
|
|
1098
1098
|
drafts?: {
|
|
1099
|
-
id?: string | undefined;
|
|
1100
1099
|
message?: {
|
|
1101
|
-
id?: string | undefined;
|
|
1102
|
-
payload?: MessagePartShape | undefined;
|
|
1103
1100
|
labelIds?: string[] | undefined;
|
|
1101
|
+
id?: string | undefined;
|
|
1104
1102
|
raw?: string | undefined;
|
|
1105
1103
|
threadId?: string | undefined;
|
|
1106
1104
|
snippet?: string | undefined;
|
|
1107
1105
|
historyId?: string | undefined;
|
|
1108
1106
|
internalDate?: string | number | Date | null | undefined;
|
|
1109
1107
|
sizeEstimate?: number | undefined;
|
|
1108
|
+
payload?: MessagePartShape | undefined;
|
|
1110
1109
|
} | undefined;
|
|
1110
|
+
id?: string | undefined;
|
|
1111
1111
|
}[] | undefined;
|
|
1112
1112
|
}>;
|
|
1113
1113
|
readonly draftsGet: z.ZodObject<{
|
|
@@ -1123,52 +1123,52 @@ export declare const GmailEndpointOutputSchemas: {
|
|
|
1123
1123
|
payload: z.ZodOptional<z.ZodType<MessagePartShape, z.ZodTypeDef, MessagePartShape>>;
|
|
1124
1124
|
raw: z.ZodOptional<z.ZodString>;
|
|
1125
1125
|
}, "strip", z.ZodTypeAny, {
|
|
1126
|
-
id?: string | undefined;
|
|
1127
|
-
payload?: MessagePartShape | undefined;
|
|
1128
1126
|
labelIds?: string[] | undefined;
|
|
1127
|
+
id?: string | undefined;
|
|
1129
1128
|
raw?: string | undefined;
|
|
1130
1129
|
threadId?: string | undefined;
|
|
1131
1130
|
snippet?: string | undefined;
|
|
1132
1131
|
historyId?: string | undefined;
|
|
1133
1132
|
internalDate?: Date | null | undefined;
|
|
1134
1133
|
sizeEstimate?: number | undefined;
|
|
1135
|
-
}, {
|
|
1136
|
-
id?: string | undefined;
|
|
1137
1134
|
payload?: MessagePartShape | undefined;
|
|
1135
|
+
}, {
|
|
1138
1136
|
labelIds?: string[] | undefined;
|
|
1137
|
+
id?: string | undefined;
|
|
1139
1138
|
raw?: string | undefined;
|
|
1140
1139
|
threadId?: string | undefined;
|
|
1141
1140
|
snippet?: string | undefined;
|
|
1142
1141
|
historyId?: string | undefined;
|
|
1143
1142
|
internalDate?: string | number | Date | null | undefined;
|
|
1144
1143
|
sizeEstimate?: number | undefined;
|
|
1144
|
+
payload?: MessagePartShape | undefined;
|
|
1145
1145
|
}>>;
|
|
1146
1146
|
}, "strip", z.ZodTypeAny, {
|
|
1147
|
-
id?: string | undefined;
|
|
1148
1147
|
message?: {
|
|
1149
|
-
id?: string | undefined;
|
|
1150
|
-
payload?: MessagePartShape | undefined;
|
|
1151
1148
|
labelIds?: string[] | undefined;
|
|
1149
|
+
id?: string | undefined;
|
|
1152
1150
|
raw?: string | undefined;
|
|
1153
1151
|
threadId?: string | undefined;
|
|
1154
1152
|
snippet?: string | undefined;
|
|
1155
1153
|
historyId?: string | undefined;
|
|
1156
1154
|
internalDate?: Date | null | undefined;
|
|
1157
1155
|
sizeEstimate?: number | undefined;
|
|
1156
|
+
payload?: MessagePartShape | undefined;
|
|
1158
1157
|
} | undefined;
|
|
1159
|
-
}, {
|
|
1160
1158
|
id?: string | undefined;
|
|
1159
|
+
}, {
|
|
1161
1160
|
message?: {
|
|
1162
|
-
id?: string | undefined;
|
|
1163
|
-
payload?: MessagePartShape | undefined;
|
|
1164
1161
|
labelIds?: string[] | undefined;
|
|
1162
|
+
id?: string | undefined;
|
|
1165
1163
|
raw?: string | undefined;
|
|
1166
1164
|
threadId?: string | undefined;
|
|
1167
1165
|
snippet?: string | undefined;
|
|
1168
1166
|
historyId?: string | undefined;
|
|
1169
1167
|
internalDate?: string | number | Date | null | undefined;
|
|
1170
1168
|
sizeEstimate?: number | undefined;
|
|
1169
|
+
payload?: MessagePartShape | undefined;
|
|
1171
1170
|
} | undefined;
|
|
1171
|
+
id?: string | undefined;
|
|
1172
1172
|
}>;
|
|
1173
1173
|
readonly draftsCreate: z.ZodObject<{
|
|
1174
1174
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -1183,52 +1183,52 @@ export declare const GmailEndpointOutputSchemas: {
|
|
|
1183
1183
|
payload: z.ZodOptional<z.ZodType<MessagePartShape, z.ZodTypeDef, MessagePartShape>>;
|
|
1184
1184
|
raw: z.ZodOptional<z.ZodString>;
|
|
1185
1185
|
}, "strip", z.ZodTypeAny, {
|
|
1186
|
-
id?: string | undefined;
|
|
1187
|
-
payload?: MessagePartShape | undefined;
|
|
1188
1186
|
labelIds?: string[] | undefined;
|
|
1187
|
+
id?: string | undefined;
|
|
1189
1188
|
raw?: string | undefined;
|
|
1190
1189
|
threadId?: string | undefined;
|
|
1191
1190
|
snippet?: string | undefined;
|
|
1192
1191
|
historyId?: string | undefined;
|
|
1193
1192
|
internalDate?: Date | null | undefined;
|
|
1194
1193
|
sizeEstimate?: number | undefined;
|
|
1195
|
-
}, {
|
|
1196
|
-
id?: string | undefined;
|
|
1197
1194
|
payload?: MessagePartShape | undefined;
|
|
1195
|
+
}, {
|
|
1198
1196
|
labelIds?: string[] | undefined;
|
|
1197
|
+
id?: string | undefined;
|
|
1199
1198
|
raw?: string | undefined;
|
|
1200
1199
|
threadId?: string | undefined;
|
|
1201
1200
|
snippet?: string | undefined;
|
|
1202
1201
|
historyId?: string | undefined;
|
|
1203
1202
|
internalDate?: string | number | Date | null | undefined;
|
|
1204
1203
|
sizeEstimate?: number | undefined;
|
|
1204
|
+
payload?: MessagePartShape | undefined;
|
|
1205
1205
|
}>>;
|
|
1206
1206
|
}, "strip", z.ZodTypeAny, {
|
|
1207
|
-
id?: string | undefined;
|
|
1208
1207
|
message?: {
|
|
1209
|
-
id?: string | undefined;
|
|
1210
|
-
payload?: MessagePartShape | undefined;
|
|
1211
1208
|
labelIds?: string[] | undefined;
|
|
1209
|
+
id?: string | undefined;
|
|
1212
1210
|
raw?: string | undefined;
|
|
1213
1211
|
threadId?: string | undefined;
|
|
1214
1212
|
snippet?: string | undefined;
|
|
1215
1213
|
historyId?: string | undefined;
|
|
1216
1214
|
internalDate?: Date | null | undefined;
|
|
1217
1215
|
sizeEstimate?: number | undefined;
|
|
1216
|
+
payload?: MessagePartShape | undefined;
|
|
1218
1217
|
} | undefined;
|
|
1219
|
-
}, {
|
|
1220
1218
|
id?: string | undefined;
|
|
1219
|
+
}, {
|
|
1221
1220
|
message?: {
|
|
1222
|
-
id?: string | undefined;
|
|
1223
|
-
payload?: MessagePartShape | undefined;
|
|
1224
1221
|
labelIds?: string[] | undefined;
|
|
1222
|
+
id?: string | undefined;
|
|
1225
1223
|
raw?: string | undefined;
|
|
1226
1224
|
threadId?: string | undefined;
|
|
1227
1225
|
snippet?: string | undefined;
|
|
1228
1226
|
historyId?: string | undefined;
|
|
1229
1227
|
internalDate?: string | number | Date | null | undefined;
|
|
1230
1228
|
sizeEstimate?: number | undefined;
|
|
1229
|
+
payload?: MessagePartShape | undefined;
|
|
1231
1230
|
} | undefined;
|
|
1231
|
+
id?: string | undefined;
|
|
1232
1232
|
}>;
|
|
1233
1233
|
readonly draftsUpdate: z.ZodObject<{
|
|
1234
1234
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -1243,52 +1243,52 @@ export declare const GmailEndpointOutputSchemas: {
|
|
|
1243
1243
|
payload: z.ZodOptional<z.ZodType<MessagePartShape, z.ZodTypeDef, MessagePartShape>>;
|
|
1244
1244
|
raw: z.ZodOptional<z.ZodString>;
|
|
1245
1245
|
}, "strip", z.ZodTypeAny, {
|
|
1246
|
-
id?: string | undefined;
|
|
1247
|
-
payload?: MessagePartShape | undefined;
|
|
1248
1246
|
labelIds?: string[] | undefined;
|
|
1247
|
+
id?: string | undefined;
|
|
1249
1248
|
raw?: string | undefined;
|
|
1250
1249
|
threadId?: string | undefined;
|
|
1251
1250
|
snippet?: string | undefined;
|
|
1252
1251
|
historyId?: string | undefined;
|
|
1253
1252
|
internalDate?: Date | null | undefined;
|
|
1254
1253
|
sizeEstimate?: number | undefined;
|
|
1255
|
-
}, {
|
|
1256
|
-
id?: string | undefined;
|
|
1257
1254
|
payload?: MessagePartShape | undefined;
|
|
1255
|
+
}, {
|
|
1258
1256
|
labelIds?: string[] | undefined;
|
|
1257
|
+
id?: string | undefined;
|
|
1259
1258
|
raw?: string | undefined;
|
|
1260
1259
|
threadId?: string | undefined;
|
|
1261
1260
|
snippet?: string | undefined;
|
|
1262
1261
|
historyId?: string | undefined;
|
|
1263
1262
|
internalDate?: string | number | Date | null | undefined;
|
|
1264
1263
|
sizeEstimate?: number | undefined;
|
|
1264
|
+
payload?: MessagePartShape | undefined;
|
|
1265
1265
|
}>>;
|
|
1266
1266
|
}, "strip", z.ZodTypeAny, {
|
|
1267
|
-
id?: string | undefined;
|
|
1268
1267
|
message?: {
|
|
1269
|
-
id?: string | undefined;
|
|
1270
|
-
payload?: MessagePartShape | undefined;
|
|
1271
1268
|
labelIds?: string[] | undefined;
|
|
1269
|
+
id?: string | undefined;
|
|
1272
1270
|
raw?: string | undefined;
|
|
1273
1271
|
threadId?: string | undefined;
|
|
1274
1272
|
snippet?: string | undefined;
|
|
1275
1273
|
historyId?: string | undefined;
|
|
1276
1274
|
internalDate?: Date | null | undefined;
|
|
1277
1275
|
sizeEstimate?: number | undefined;
|
|
1276
|
+
payload?: MessagePartShape | undefined;
|
|
1278
1277
|
} | undefined;
|
|
1279
|
-
}, {
|
|
1280
1278
|
id?: string | undefined;
|
|
1279
|
+
}, {
|
|
1281
1280
|
message?: {
|
|
1282
|
-
id?: string | undefined;
|
|
1283
|
-
payload?: MessagePartShape | undefined;
|
|
1284
1281
|
labelIds?: string[] | undefined;
|
|
1282
|
+
id?: string | undefined;
|
|
1285
1283
|
raw?: string | undefined;
|
|
1286
1284
|
threadId?: string | undefined;
|
|
1287
1285
|
snippet?: string | undefined;
|
|
1288
1286
|
historyId?: string | undefined;
|
|
1289
1287
|
internalDate?: string | number | Date | null | undefined;
|
|
1290
1288
|
sizeEstimate?: number | undefined;
|
|
1289
|
+
payload?: MessagePartShape | undefined;
|
|
1291
1290
|
} | undefined;
|
|
1291
|
+
id?: string | undefined;
|
|
1292
1292
|
}>;
|
|
1293
1293
|
readonly draftsDelete: z.ZodVoid;
|
|
1294
1294
|
readonly draftsSend: z.ZodObject<{
|
|
@@ -1302,25 +1302,25 @@ export declare const GmailEndpointOutputSchemas: {
|
|
|
1302
1302
|
payload: z.ZodOptional<z.ZodType<MessagePartShape, z.ZodTypeDef, MessagePartShape>>;
|
|
1303
1303
|
raw: z.ZodOptional<z.ZodString>;
|
|
1304
1304
|
}, "strip", z.ZodTypeAny, {
|
|
1305
|
-
id?: string | undefined;
|
|
1306
|
-
payload?: MessagePartShape | undefined;
|
|
1307
1305
|
labelIds?: string[] | undefined;
|
|
1306
|
+
id?: string | undefined;
|
|
1308
1307
|
raw?: string | undefined;
|
|
1309
1308
|
threadId?: string | undefined;
|
|
1310
1309
|
snippet?: string | undefined;
|
|
1311
1310
|
historyId?: string | undefined;
|
|
1312
1311
|
internalDate?: Date | null | undefined;
|
|
1313
1312
|
sizeEstimate?: number | undefined;
|
|
1314
|
-
}, {
|
|
1315
|
-
id?: string | undefined;
|
|
1316
1313
|
payload?: MessagePartShape | undefined;
|
|
1314
|
+
}, {
|
|
1317
1315
|
labelIds?: string[] | undefined;
|
|
1316
|
+
id?: string | undefined;
|
|
1318
1317
|
raw?: string | undefined;
|
|
1319
1318
|
threadId?: string | undefined;
|
|
1320
1319
|
snippet?: string | undefined;
|
|
1321
1320
|
historyId?: string | undefined;
|
|
1322
1321
|
internalDate?: string | number | Date | null | undefined;
|
|
1323
1322
|
sizeEstimate?: number | undefined;
|
|
1323
|
+
payload?: MessagePartShape | undefined;
|
|
1324
1324
|
}>;
|
|
1325
1325
|
readonly threadsList: z.ZodObject<{
|
|
1326
1326
|
threads: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1338,55 +1338,55 @@ export declare const GmailEndpointOutputSchemas: {
|
|
|
1338
1338
|
payload: z.ZodOptional<z.ZodType<MessagePartShape, z.ZodTypeDef, MessagePartShape>>;
|
|
1339
1339
|
raw: z.ZodOptional<z.ZodString>;
|
|
1340
1340
|
}, "strip", z.ZodTypeAny, {
|
|
1341
|
-
id?: string | undefined;
|
|
1342
|
-
payload?: MessagePartShape | undefined;
|
|
1343
1341
|
labelIds?: string[] | undefined;
|
|
1342
|
+
id?: string | undefined;
|
|
1344
1343
|
raw?: string | undefined;
|
|
1345
1344
|
threadId?: string | undefined;
|
|
1346
1345
|
snippet?: string | undefined;
|
|
1347
1346
|
historyId?: string | undefined;
|
|
1348
1347
|
internalDate?: Date | null | undefined;
|
|
1349
1348
|
sizeEstimate?: number | undefined;
|
|
1350
|
-
}, {
|
|
1351
|
-
id?: string | undefined;
|
|
1352
1349
|
payload?: MessagePartShape | undefined;
|
|
1350
|
+
}, {
|
|
1353
1351
|
labelIds?: string[] | undefined;
|
|
1352
|
+
id?: string | undefined;
|
|
1354
1353
|
raw?: string | undefined;
|
|
1355
1354
|
threadId?: string | undefined;
|
|
1356
1355
|
snippet?: string | undefined;
|
|
1357
1356
|
historyId?: string | undefined;
|
|
1358
1357
|
internalDate?: string | number | Date | null | undefined;
|
|
1359
1358
|
sizeEstimate?: number | undefined;
|
|
1359
|
+
payload?: MessagePartShape | undefined;
|
|
1360
1360
|
}>, "many">>;
|
|
1361
1361
|
}, "strip", z.ZodTypeAny, {
|
|
1362
1362
|
id?: string | undefined;
|
|
1363
1363
|
snippet?: string | undefined;
|
|
1364
1364
|
historyId?: string | undefined;
|
|
1365
1365
|
messages?: {
|
|
1366
|
-
id?: string | undefined;
|
|
1367
|
-
payload?: MessagePartShape | undefined;
|
|
1368
1366
|
labelIds?: string[] | undefined;
|
|
1367
|
+
id?: string | undefined;
|
|
1369
1368
|
raw?: string | undefined;
|
|
1370
1369
|
threadId?: string | undefined;
|
|
1371
1370
|
snippet?: string | undefined;
|
|
1372
1371
|
historyId?: string | undefined;
|
|
1373
1372
|
internalDate?: Date | null | undefined;
|
|
1374
1373
|
sizeEstimate?: number | undefined;
|
|
1374
|
+
payload?: MessagePartShape | undefined;
|
|
1375
1375
|
}[] | undefined;
|
|
1376
1376
|
}, {
|
|
1377
1377
|
id?: string | undefined;
|
|
1378
1378
|
snippet?: string | undefined;
|
|
1379
1379
|
historyId?: string | undefined;
|
|
1380
1380
|
messages?: {
|
|
1381
|
-
id?: string | undefined;
|
|
1382
|
-
payload?: MessagePartShape | undefined;
|
|
1383
1381
|
labelIds?: string[] | undefined;
|
|
1382
|
+
id?: string | undefined;
|
|
1384
1383
|
raw?: string | undefined;
|
|
1385
1384
|
threadId?: string | undefined;
|
|
1386
1385
|
snippet?: string | undefined;
|
|
1387
1386
|
historyId?: string | undefined;
|
|
1388
1387
|
internalDate?: string | number | Date | null | undefined;
|
|
1389
1388
|
sizeEstimate?: number | undefined;
|
|
1389
|
+
payload?: MessagePartShape | undefined;
|
|
1390
1390
|
}[] | undefined;
|
|
1391
1391
|
}>, "many">>;
|
|
1392
1392
|
nextPageToken: z.ZodOptional<z.ZodString>;
|
|
@@ -1399,15 +1399,15 @@ export declare const GmailEndpointOutputSchemas: {
|
|
|
1399
1399
|
snippet?: string | undefined;
|
|
1400
1400
|
historyId?: string | undefined;
|
|
1401
1401
|
messages?: {
|
|
1402
|
-
id?: string | undefined;
|
|
1403
|
-
payload?: MessagePartShape | undefined;
|
|
1404
1402
|
labelIds?: string[] | undefined;
|
|
1403
|
+
id?: string | undefined;
|
|
1405
1404
|
raw?: string | undefined;
|
|
1406
1405
|
threadId?: string | undefined;
|
|
1407
1406
|
snippet?: string | undefined;
|
|
1408
1407
|
historyId?: string | undefined;
|
|
1409
1408
|
internalDate?: Date | null | undefined;
|
|
1410
1409
|
sizeEstimate?: number | undefined;
|
|
1410
|
+
payload?: MessagePartShape | undefined;
|
|
1411
1411
|
}[] | undefined;
|
|
1412
1412
|
}[] | undefined;
|
|
1413
1413
|
}, {
|
|
@@ -1418,15 +1418,15 @@ export declare const GmailEndpointOutputSchemas: {
|
|
|
1418
1418
|
snippet?: string | undefined;
|
|
1419
1419
|
historyId?: string | undefined;
|
|
1420
1420
|
messages?: {
|
|
1421
|
-
id?: string | undefined;
|
|
1422
|
-
payload?: MessagePartShape | undefined;
|
|
1423
1421
|
labelIds?: string[] | undefined;
|
|
1422
|
+
id?: string | undefined;
|
|
1424
1423
|
raw?: string | undefined;
|
|
1425
1424
|
threadId?: string | undefined;
|
|
1426
1425
|
snippet?: string | undefined;
|
|
1427
1426
|
historyId?: string | undefined;
|
|
1428
1427
|
internalDate?: string | number | Date | null | undefined;
|
|
1429
1428
|
sizeEstimate?: number | undefined;
|
|
1429
|
+
payload?: MessagePartShape | undefined;
|
|
1430
1430
|
}[] | undefined;
|
|
1431
1431
|
}[] | undefined;
|
|
1432
1432
|
}>;
|
|
@@ -1445,55 +1445,55 @@ export declare const GmailEndpointOutputSchemas: {
|
|
|
1445
1445
|
payload: z.ZodOptional<z.ZodType<MessagePartShape, z.ZodTypeDef, MessagePartShape>>;
|
|
1446
1446
|
raw: z.ZodOptional<z.ZodString>;
|
|
1447
1447
|
}, "strip", z.ZodTypeAny, {
|
|
1448
|
-
id?: string | undefined;
|
|
1449
|
-
payload?: MessagePartShape | undefined;
|
|
1450
1448
|
labelIds?: string[] | undefined;
|
|
1449
|
+
id?: string | undefined;
|
|
1451
1450
|
raw?: string | undefined;
|
|
1452
1451
|
threadId?: string | undefined;
|
|
1453
1452
|
snippet?: string | undefined;
|
|
1454
1453
|
historyId?: string | undefined;
|
|
1455
1454
|
internalDate?: Date | null | undefined;
|
|
1456
1455
|
sizeEstimate?: number | undefined;
|
|
1457
|
-
}, {
|
|
1458
|
-
id?: string | undefined;
|
|
1459
1456
|
payload?: MessagePartShape | undefined;
|
|
1457
|
+
}, {
|
|
1460
1458
|
labelIds?: string[] | undefined;
|
|
1459
|
+
id?: string | undefined;
|
|
1461
1460
|
raw?: string | undefined;
|
|
1462
1461
|
threadId?: string | undefined;
|
|
1463
1462
|
snippet?: string | undefined;
|
|
1464
1463
|
historyId?: string | undefined;
|
|
1465
1464
|
internalDate?: string | number | Date | null | undefined;
|
|
1466
1465
|
sizeEstimate?: number | undefined;
|
|
1466
|
+
payload?: MessagePartShape | undefined;
|
|
1467
1467
|
}>, "many">>;
|
|
1468
1468
|
}, "strip", z.ZodTypeAny, {
|
|
1469
1469
|
id?: string | undefined;
|
|
1470
1470
|
snippet?: string | undefined;
|
|
1471
1471
|
historyId?: string | undefined;
|
|
1472
1472
|
messages?: {
|
|
1473
|
-
id?: string | undefined;
|
|
1474
|
-
payload?: MessagePartShape | undefined;
|
|
1475
1473
|
labelIds?: string[] | undefined;
|
|
1474
|
+
id?: string | undefined;
|
|
1476
1475
|
raw?: string | undefined;
|
|
1477
1476
|
threadId?: string | undefined;
|
|
1478
1477
|
snippet?: string | undefined;
|
|
1479
1478
|
historyId?: string | undefined;
|
|
1480
1479
|
internalDate?: Date | null | undefined;
|
|
1481
1480
|
sizeEstimate?: number | undefined;
|
|
1481
|
+
payload?: MessagePartShape | undefined;
|
|
1482
1482
|
}[] | undefined;
|
|
1483
1483
|
}, {
|
|
1484
1484
|
id?: string | undefined;
|
|
1485
1485
|
snippet?: string | undefined;
|
|
1486
1486
|
historyId?: string | undefined;
|
|
1487
1487
|
messages?: {
|
|
1488
|
-
id?: string | undefined;
|
|
1489
|
-
payload?: MessagePartShape | undefined;
|
|
1490
1488
|
labelIds?: string[] | undefined;
|
|
1489
|
+
id?: string | undefined;
|
|
1491
1490
|
raw?: string | undefined;
|
|
1492
1491
|
threadId?: string | undefined;
|
|
1493
1492
|
snippet?: string | undefined;
|
|
1494
1493
|
historyId?: string | undefined;
|
|
1495
1494
|
internalDate?: string | number | Date | null | undefined;
|
|
1496
1495
|
sizeEstimate?: number | undefined;
|
|
1496
|
+
payload?: MessagePartShape | undefined;
|
|
1497
1497
|
}[] | undefined;
|
|
1498
1498
|
}>;
|
|
1499
1499
|
readonly threadsModify: z.ZodObject<{
|
|
@@ -1511,55 +1511,55 @@ export declare const GmailEndpointOutputSchemas: {
|
|
|
1511
1511
|
payload: z.ZodOptional<z.ZodType<MessagePartShape, z.ZodTypeDef, MessagePartShape>>;
|
|
1512
1512
|
raw: z.ZodOptional<z.ZodString>;
|
|
1513
1513
|
}, "strip", z.ZodTypeAny, {
|
|
1514
|
-
id?: string | undefined;
|
|
1515
|
-
payload?: MessagePartShape | undefined;
|
|
1516
1514
|
labelIds?: string[] | undefined;
|
|
1515
|
+
id?: string | undefined;
|
|
1517
1516
|
raw?: string | undefined;
|
|
1518
1517
|
threadId?: string | undefined;
|
|
1519
1518
|
snippet?: string | undefined;
|
|
1520
1519
|
historyId?: string | undefined;
|
|
1521
1520
|
internalDate?: Date | null | undefined;
|
|
1522
1521
|
sizeEstimate?: number | undefined;
|
|
1523
|
-
}, {
|
|
1524
|
-
id?: string | undefined;
|
|
1525
1522
|
payload?: MessagePartShape | undefined;
|
|
1523
|
+
}, {
|
|
1526
1524
|
labelIds?: string[] | undefined;
|
|
1525
|
+
id?: string | undefined;
|
|
1527
1526
|
raw?: string | undefined;
|
|
1528
1527
|
threadId?: string | undefined;
|
|
1529
1528
|
snippet?: string | undefined;
|
|
1530
1529
|
historyId?: string | undefined;
|
|
1531
1530
|
internalDate?: string | number | Date | null | undefined;
|
|
1532
1531
|
sizeEstimate?: number | undefined;
|
|
1532
|
+
payload?: MessagePartShape | undefined;
|
|
1533
1533
|
}>, "many">>;
|
|
1534
1534
|
}, "strip", z.ZodTypeAny, {
|
|
1535
1535
|
id?: string | undefined;
|
|
1536
1536
|
snippet?: string | undefined;
|
|
1537
1537
|
historyId?: string | undefined;
|
|
1538
1538
|
messages?: {
|
|
1539
|
-
id?: string | undefined;
|
|
1540
|
-
payload?: MessagePartShape | undefined;
|
|
1541
1539
|
labelIds?: string[] | undefined;
|
|
1540
|
+
id?: string | undefined;
|
|
1542
1541
|
raw?: string | undefined;
|
|
1543
1542
|
threadId?: string | undefined;
|
|
1544
1543
|
snippet?: string | undefined;
|
|
1545
1544
|
historyId?: string | undefined;
|
|
1546
1545
|
internalDate?: Date | null | undefined;
|
|
1547
1546
|
sizeEstimate?: number | undefined;
|
|
1547
|
+
payload?: MessagePartShape | undefined;
|
|
1548
1548
|
}[] | undefined;
|
|
1549
1549
|
}, {
|
|
1550
1550
|
id?: string | undefined;
|
|
1551
1551
|
snippet?: string | undefined;
|
|
1552
1552
|
historyId?: string | undefined;
|
|
1553
1553
|
messages?: {
|
|
1554
|
-
id?: string | undefined;
|
|
1555
|
-
payload?: MessagePartShape | undefined;
|
|
1556
1554
|
labelIds?: string[] | undefined;
|
|
1555
|
+
id?: string | undefined;
|
|
1557
1556
|
raw?: string | undefined;
|
|
1558
1557
|
threadId?: string | undefined;
|
|
1559
1558
|
snippet?: string | undefined;
|
|
1560
1559
|
historyId?: string | undefined;
|
|
1561
1560
|
internalDate?: string | number | Date | null | undefined;
|
|
1562
1561
|
sizeEstimate?: number | undefined;
|
|
1562
|
+
payload?: MessagePartShape | undefined;
|
|
1563
1563
|
}[] | undefined;
|
|
1564
1564
|
}>;
|
|
1565
1565
|
readonly threadsDelete: z.ZodVoid;
|
|
@@ -1578,55 +1578,55 @@ export declare const GmailEndpointOutputSchemas: {
|
|
|
1578
1578
|
payload: z.ZodOptional<z.ZodType<MessagePartShape, z.ZodTypeDef, MessagePartShape>>;
|
|
1579
1579
|
raw: z.ZodOptional<z.ZodString>;
|
|
1580
1580
|
}, "strip", z.ZodTypeAny, {
|
|
1581
|
-
id?: string | undefined;
|
|
1582
|
-
payload?: MessagePartShape | undefined;
|
|
1583
1581
|
labelIds?: string[] | undefined;
|
|
1582
|
+
id?: string | undefined;
|
|
1584
1583
|
raw?: string | undefined;
|
|
1585
1584
|
threadId?: string | undefined;
|
|
1586
1585
|
snippet?: string | undefined;
|
|
1587
1586
|
historyId?: string | undefined;
|
|
1588
1587
|
internalDate?: Date | null | undefined;
|
|
1589
1588
|
sizeEstimate?: number | undefined;
|
|
1590
|
-
}, {
|
|
1591
|
-
id?: string | undefined;
|
|
1592
1589
|
payload?: MessagePartShape | undefined;
|
|
1590
|
+
}, {
|
|
1593
1591
|
labelIds?: string[] | undefined;
|
|
1592
|
+
id?: string | undefined;
|
|
1594
1593
|
raw?: string | undefined;
|
|
1595
1594
|
threadId?: string | undefined;
|
|
1596
1595
|
snippet?: string | undefined;
|
|
1597
1596
|
historyId?: string | undefined;
|
|
1598
1597
|
internalDate?: string | number | Date | null | undefined;
|
|
1599
1598
|
sizeEstimate?: number | undefined;
|
|
1599
|
+
payload?: MessagePartShape | undefined;
|
|
1600
1600
|
}>, "many">>;
|
|
1601
1601
|
}, "strip", z.ZodTypeAny, {
|
|
1602
1602
|
id?: string | undefined;
|
|
1603
1603
|
snippet?: string | undefined;
|
|
1604
1604
|
historyId?: string | undefined;
|
|
1605
1605
|
messages?: {
|
|
1606
|
-
id?: string | undefined;
|
|
1607
|
-
payload?: MessagePartShape | undefined;
|
|
1608
1606
|
labelIds?: string[] | undefined;
|
|
1607
|
+
id?: string | undefined;
|
|
1609
1608
|
raw?: string | undefined;
|
|
1610
1609
|
threadId?: string | undefined;
|
|
1611
1610
|
snippet?: string | undefined;
|
|
1612
1611
|
historyId?: string | undefined;
|
|
1613
1612
|
internalDate?: Date | null | undefined;
|
|
1614
1613
|
sizeEstimate?: number | undefined;
|
|
1614
|
+
payload?: MessagePartShape | undefined;
|
|
1615
1615
|
}[] | undefined;
|
|
1616
1616
|
}, {
|
|
1617
1617
|
id?: string | undefined;
|
|
1618
1618
|
snippet?: string | undefined;
|
|
1619
1619
|
historyId?: string | undefined;
|
|
1620
1620
|
messages?: {
|
|
1621
|
-
id?: string | undefined;
|
|
1622
|
-
payload?: MessagePartShape | undefined;
|
|
1623
1621
|
labelIds?: string[] | undefined;
|
|
1622
|
+
id?: string | undefined;
|
|
1624
1623
|
raw?: string | undefined;
|
|
1625
1624
|
threadId?: string | undefined;
|
|
1626
1625
|
snippet?: string | undefined;
|
|
1627
1626
|
historyId?: string | undefined;
|
|
1628
1627
|
internalDate?: string | number | Date | null | undefined;
|
|
1629
1628
|
sizeEstimate?: number | undefined;
|
|
1629
|
+
payload?: MessagePartShape | undefined;
|
|
1630
1630
|
}[] | undefined;
|
|
1631
1631
|
}>;
|
|
1632
1632
|
readonly threadsUntrash: z.ZodObject<{
|
|
@@ -1644,55 +1644,55 @@ export declare const GmailEndpointOutputSchemas: {
|
|
|
1644
1644
|
payload: z.ZodOptional<z.ZodType<MessagePartShape, z.ZodTypeDef, MessagePartShape>>;
|
|
1645
1645
|
raw: z.ZodOptional<z.ZodString>;
|
|
1646
1646
|
}, "strip", z.ZodTypeAny, {
|
|
1647
|
-
id?: string | undefined;
|
|
1648
|
-
payload?: MessagePartShape | undefined;
|
|
1649
1647
|
labelIds?: string[] | undefined;
|
|
1648
|
+
id?: string | undefined;
|
|
1650
1649
|
raw?: string | undefined;
|
|
1651
1650
|
threadId?: string | undefined;
|
|
1652
1651
|
snippet?: string | undefined;
|
|
1653
1652
|
historyId?: string | undefined;
|
|
1654
1653
|
internalDate?: Date | null | undefined;
|
|
1655
1654
|
sizeEstimate?: number | undefined;
|
|
1656
|
-
}, {
|
|
1657
|
-
id?: string | undefined;
|
|
1658
1655
|
payload?: MessagePartShape | undefined;
|
|
1656
|
+
}, {
|
|
1659
1657
|
labelIds?: string[] | undefined;
|
|
1658
|
+
id?: string | undefined;
|
|
1660
1659
|
raw?: string | undefined;
|
|
1661
1660
|
threadId?: string | undefined;
|
|
1662
1661
|
snippet?: string | undefined;
|
|
1663
1662
|
historyId?: string | undefined;
|
|
1664
1663
|
internalDate?: string | number | Date | null | undefined;
|
|
1665
1664
|
sizeEstimate?: number | undefined;
|
|
1665
|
+
payload?: MessagePartShape | undefined;
|
|
1666
1666
|
}>, "many">>;
|
|
1667
1667
|
}, "strip", z.ZodTypeAny, {
|
|
1668
1668
|
id?: string | undefined;
|
|
1669
1669
|
snippet?: string | undefined;
|
|
1670
1670
|
historyId?: string | undefined;
|
|
1671
1671
|
messages?: {
|
|
1672
|
-
id?: string | undefined;
|
|
1673
|
-
payload?: MessagePartShape | undefined;
|
|
1674
1672
|
labelIds?: string[] | undefined;
|
|
1673
|
+
id?: string | undefined;
|
|
1675
1674
|
raw?: string | undefined;
|
|
1676
1675
|
threadId?: string | undefined;
|
|
1677
1676
|
snippet?: string | undefined;
|
|
1678
1677
|
historyId?: string | undefined;
|
|
1679
1678
|
internalDate?: Date | null | undefined;
|
|
1680
1679
|
sizeEstimate?: number | undefined;
|
|
1680
|
+
payload?: MessagePartShape | undefined;
|
|
1681
1681
|
}[] | undefined;
|
|
1682
1682
|
}, {
|
|
1683
1683
|
id?: string | undefined;
|
|
1684
1684
|
snippet?: string | undefined;
|
|
1685
1685
|
historyId?: string | undefined;
|
|
1686
1686
|
messages?: {
|
|
1687
|
-
id?: string | undefined;
|
|
1688
|
-
payload?: MessagePartShape | undefined;
|
|
1689
1687
|
labelIds?: string[] | undefined;
|
|
1688
|
+
id?: string | undefined;
|
|
1690
1689
|
raw?: string | undefined;
|
|
1691
1690
|
threadId?: string | undefined;
|
|
1692
1691
|
snippet?: string | undefined;
|
|
1693
1692
|
historyId?: string | undefined;
|
|
1694
1693
|
internalDate?: string | number | Date | null | undefined;
|
|
1695
1694
|
sizeEstimate?: number | undefined;
|
|
1695
|
+
payload?: MessagePartShape | undefined;
|
|
1696
1696
|
}[] | undefined;
|
|
1697
1697
|
}>;
|
|
1698
1698
|
readonly usersGetProfile: z.ZodObject<{
|