@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/index.d.ts CHANGED
@@ -1,5 +1,4 @@
1
- import type { BindEndpoints, BindWebhooks, CorsairEndpoint, CorsairPlugin, CorsairPluginContext, CorsairWebhook, KeyBuilderContext, PluginPermissionsConfig } from 'corsair/core';
2
- import type { PickAuth } from 'corsair/core';
1
+ import type { BindEndpoints, BindWebhooks, CorsairEndpoint, CorsairPlugin, CorsairPluginContext, CorsairWebhook, KeyBuilderContext, PickAuth, PluginPermissionsConfig } from 'corsair/core';
3
2
  import type { GmailEndpointInputs, GmailEndpointOutputs } from './endpoints';
4
3
  import type { GmailCredentials } from './schema';
5
4
  import { GmailSchema } from './schema';
@@ -120,53 +119,53 @@ export declare const gmailEndpointSchemas: {
120
119
  payload: import("zod").ZodOptional<import("zod").ZodType<import("./endpoints").MessagePartShape, import("zod").ZodTypeDef, import("./endpoints").MessagePartShape>>;
121
120
  raw: import("zod").ZodOptional<import("zod").ZodString>;
122
121
  }, "strip", import("zod").ZodTypeAny, {
123
- id?: string | undefined;
124
- payload?: import("./endpoints").MessagePartShape | undefined;
125
122
  labelIds?: string[] | undefined;
123
+ id?: string | undefined;
126
124
  raw?: string | undefined;
127
125
  threadId?: string | undefined;
128
126
  snippet?: string | undefined;
129
127
  historyId?: string | undefined;
130
128
  internalDate?: Date | null | undefined;
131
129
  sizeEstimate?: number | undefined;
132
- }, {
133
- id?: string | undefined;
134
130
  payload?: import("./endpoints").MessagePartShape | undefined;
131
+ }, {
135
132
  labelIds?: string[] | undefined;
133
+ id?: string | undefined;
136
134
  raw?: string | undefined;
137
135
  threadId?: string | undefined;
138
136
  snippet?: string | undefined;
139
137
  historyId?: string | undefined;
140
138
  internalDate?: string | number | Date | null | undefined;
141
139
  sizeEstimate?: number | undefined;
140
+ payload?: import("./endpoints").MessagePartShape | undefined;
142
141
  }>, "many">>;
143
142
  nextPageToken: import("zod").ZodOptional<import("zod").ZodString>;
144
143
  resultSizeEstimate: import("zod").ZodOptional<import("zod").ZodNumber>;
145
144
  }, "strip", import("zod").ZodTypeAny, {
146
145
  messages?: {
147
- id?: string | undefined;
148
- payload?: import("./endpoints").MessagePartShape | undefined;
149
146
  labelIds?: string[] | undefined;
147
+ id?: string | undefined;
150
148
  raw?: string | undefined;
151
149
  threadId?: string | undefined;
152
150
  snippet?: string | undefined;
153
151
  historyId?: string | undefined;
154
152
  internalDate?: Date | null | undefined;
155
153
  sizeEstimate?: number | undefined;
154
+ payload?: import("./endpoints").MessagePartShape | undefined;
156
155
  }[] | undefined;
157
156
  nextPageToken?: string | undefined;
158
157
  resultSizeEstimate?: number | undefined;
159
158
  }, {
160
159
  messages?: {
161
- id?: string | undefined;
162
- payload?: import("./endpoints").MessagePartShape | undefined;
163
160
  labelIds?: string[] | undefined;
161
+ id?: string | undefined;
164
162
  raw?: string | undefined;
165
163
  threadId?: string | undefined;
166
164
  snippet?: string | undefined;
167
165
  historyId?: string | undefined;
168
166
  internalDate?: string | number | Date | null | undefined;
169
167
  sizeEstimate?: number | undefined;
168
+ payload?: import("./endpoints").MessagePartShape | undefined;
170
169
  }[] | undefined;
171
170
  nextPageToken?: string | undefined;
172
171
  resultSizeEstimate?: number | undefined;
@@ -200,25 +199,25 @@ export declare const gmailEndpointSchemas: {
200
199
  payload: import("zod").ZodOptional<import("zod").ZodType<import("./endpoints").MessagePartShape, import("zod").ZodTypeDef, import("./endpoints").MessagePartShape>>;
201
200
  raw: import("zod").ZodOptional<import("zod").ZodString>;
202
201
  }, "strip", import("zod").ZodTypeAny, {
203
- id?: string | undefined;
204
- payload?: import("./endpoints").MessagePartShape | undefined;
205
202
  labelIds?: string[] | undefined;
203
+ id?: string | undefined;
206
204
  raw?: string | undefined;
207
205
  threadId?: string | undefined;
208
206
  snippet?: string | undefined;
209
207
  historyId?: string | undefined;
210
208
  internalDate?: Date | null | undefined;
211
209
  sizeEstimate?: number | undefined;
212
- }, {
213
- id?: string | undefined;
214
210
  payload?: import("./endpoints").MessagePartShape | undefined;
211
+ }, {
215
212
  labelIds?: string[] | undefined;
213
+ id?: string | undefined;
216
214
  raw?: string | undefined;
217
215
  threadId?: string | undefined;
218
216
  snippet?: string | undefined;
219
217
  historyId?: string | undefined;
220
218
  internalDate?: string | number | Date | null | undefined;
221
219
  sizeEstimate?: number | undefined;
220
+ payload?: import("./endpoints").MessagePartShape | undefined;
222
221
  }>;
223
222
  };
224
223
  readonly 'messages.send': {
@@ -246,25 +245,25 @@ export declare const gmailEndpointSchemas: {
246
245
  payload: import("zod").ZodOptional<import("zod").ZodType<import("./endpoints").MessagePartShape, import("zod").ZodTypeDef, import("./endpoints").MessagePartShape>>;
247
246
  raw: import("zod").ZodOptional<import("zod").ZodString>;
248
247
  }, "strip", import("zod").ZodTypeAny, {
249
- id?: string | undefined;
250
- payload?: import("./endpoints").MessagePartShape | undefined;
251
248
  labelIds?: string[] | undefined;
249
+ id?: string | undefined;
252
250
  raw?: string | undefined;
253
251
  threadId?: string | undefined;
254
252
  snippet?: string | undefined;
255
253
  historyId?: string | undefined;
256
254
  internalDate?: Date | null | undefined;
257
255
  sizeEstimate?: number | undefined;
258
- }, {
259
- id?: string | undefined;
260
256
  payload?: import("./endpoints").MessagePartShape | undefined;
257
+ }, {
261
258
  labelIds?: string[] | undefined;
259
+ id?: string | undefined;
262
260
  raw?: string | undefined;
263
261
  threadId?: string | undefined;
264
262
  snippet?: string | undefined;
265
263
  historyId?: string | undefined;
266
264
  internalDate?: string | number | Date | null | undefined;
267
265
  sizeEstimate?: number | undefined;
266
+ payload?: import("./endpoints").MessagePartShape | undefined;
268
267
  }>;
269
268
  };
270
269
  readonly 'messages.delete': {
@@ -308,25 +307,25 @@ export declare const gmailEndpointSchemas: {
308
307
  payload: import("zod").ZodOptional<import("zod").ZodType<import("./endpoints").MessagePartShape, import("zod").ZodTypeDef, import("./endpoints").MessagePartShape>>;
309
308
  raw: import("zod").ZodOptional<import("zod").ZodString>;
310
309
  }, "strip", import("zod").ZodTypeAny, {
311
- id?: string | undefined;
312
- payload?: import("./endpoints").MessagePartShape | undefined;
313
310
  labelIds?: string[] | undefined;
311
+ id?: string | undefined;
314
312
  raw?: string | undefined;
315
313
  threadId?: string | undefined;
316
314
  snippet?: string | undefined;
317
315
  historyId?: string | undefined;
318
316
  internalDate?: Date | null | undefined;
319
317
  sizeEstimate?: number | undefined;
320
- }, {
321
- id?: string | undefined;
322
318
  payload?: import("./endpoints").MessagePartShape | undefined;
319
+ }, {
323
320
  labelIds?: string[] | undefined;
321
+ id?: string | undefined;
324
322
  raw?: string | undefined;
325
323
  threadId?: string | undefined;
326
324
  snippet?: string | undefined;
327
325
  historyId?: string | undefined;
328
326
  internalDate?: string | number | Date | null | undefined;
329
327
  sizeEstimate?: number | undefined;
328
+ payload?: import("./endpoints").MessagePartShape | undefined;
330
329
  }>;
331
330
  };
332
331
  readonly 'messages.batchModify': {
@@ -370,25 +369,25 @@ export declare const gmailEndpointSchemas: {
370
369
  payload: import("zod").ZodOptional<import("zod").ZodType<import("./endpoints").MessagePartShape, import("zod").ZodTypeDef, import("./endpoints").MessagePartShape>>;
371
370
  raw: import("zod").ZodOptional<import("zod").ZodString>;
372
371
  }, "strip", import("zod").ZodTypeAny, {
373
- id?: string | undefined;
374
- payload?: import("./endpoints").MessagePartShape | undefined;
375
372
  labelIds?: string[] | undefined;
373
+ id?: string | undefined;
376
374
  raw?: string | undefined;
377
375
  threadId?: string | undefined;
378
376
  snippet?: string | undefined;
379
377
  historyId?: string | undefined;
380
378
  internalDate?: Date | null | undefined;
381
379
  sizeEstimate?: number | undefined;
382
- }, {
383
- id?: string | undefined;
384
380
  payload?: import("./endpoints").MessagePartShape | undefined;
381
+ }, {
385
382
  labelIds?: string[] | undefined;
383
+ id?: string | undefined;
386
384
  raw?: string | undefined;
387
385
  threadId?: string | undefined;
388
386
  snippet?: string | undefined;
389
387
  historyId?: string | undefined;
390
388
  internalDate?: string | number | Date | null | undefined;
391
389
  sizeEstimate?: number | undefined;
390
+ payload?: import("./endpoints").MessagePartShape | undefined;
392
391
  }>;
393
392
  };
394
393
  readonly 'messages.untrash': {
@@ -413,25 +412,25 @@ export declare const gmailEndpointSchemas: {
413
412
  payload: import("zod").ZodOptional<import("zod").ZodType<import("./endpoints").MessagePartShape, import("zod").ZodTypeDef, import("./endpoints").MessagePartShape>>;
414
413
  raw: import("zod").ZodOptional<import("zod").ZodString>;
415
414
  }, "strip", import("zod").ZodTypeAny, {
416
- id?: string | undefined;
417
- payload?: import("./endpoints").MessagePartShape | undefined;
418
415
  labelIds?: string[] | undefined;
416
+ id?: string | undefined;
419
417
  raw?: string | undefined;
420
418
  threadId?: string | undefined;
421
419
  snippet?: string | undefined;
422
420
  historyId?: string | undefined;
423
421
  internalDate?: Date | null | undefined;
424
422
  sizeEstimate?: number | undefined;
425
- }, {
426
- id?: string | undefined;
427
423
  payload?: import("./endpoints").MessagePartShape | undefined;
424
+ }, {
428
425
  labelIds?: string[] | undefined;
426
+ id?: string | undefined;
429
427
  raw?: string | undefined;
430
428
  threadId?: string | undefined;
431
429
  snippet?: string | undefined;
432
430
  historyId?: string | undefined;
433
431
  internalDate?: string | number | Date | null | undefined;
434
432
  sizeEstimate?: number | undefined;
433
+ payload?: import("./endpoints").MessagePartShape | undefined;
435
434
  }>;
436
435
  };
437
436
  readonly 'labels.list': {
@@ -464,9 +463,9 @@ export declare const gmailEndpointSchemas: {
464
463
  backgroundColor?: string | undefined;
465
464
  }>>;
466
465
  }, "strip", import("zod").ZodTypeAny, {
466
+ type?: "system" | "user" | undefined;
467
467
  id?: string | undefined;
468
468
  name?: string | undefined;
469
- type?: "system" | "user" | undefined;
470
469
  messageListVisibility?: "show" | "hide" | undefined;
471
470
  labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
472
471
  color?: {
@@ -478,9 +477,9 @@ export declare const gmailEndpointSchemas: {
478
477
  threadsTotal?: number | undefined;
479
478
  threadsUnread?: number | undefined;
480
479
  }, {
480
+ type?: "system" | "user" | undefined;
481
481
  id?: string | undefined;
482
482
  name?: string | undefined;
483
- type?: "system" | "user" | undefined;
484
483
  messageListVisibility?: "show" | "hide" | undefined;
485
484
  labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
486
485
  color?: {
@@ -494,9 +493,9 @@ export declare const gmailEndpointSchemas: {
494
493
  }>, "many">>;
495
494
  }, "strip", import("zod").ZodTypeAny, {
496
495
  labels?: {
496
+ type?: "system" | "user" | undefined;
497
497
  id?: string | undefined;
498
498
  name?: string | undefined;
499
- type?: "system" | "user" | undefined;
500
499
  messageListVisibility?: "show" | "hide" | undefined;
501
500
  labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
502
501
  color?: {
@@ -510,9 +509,9 @@ export declare const gmailEndpointSchemas: {
510
509
  }[] | undefined;
511
510
  }, {
512
511
  labels?: {
512
+ type?: "system" | "user" | undefined;
513
513
  id?: string | undefined;
514
514
  name?: string | undefined;
515
- type?: "system" | "user" | undefined;
516
515
  messageListVisibility?: "show" | "hide" | undefined;
517
516
  labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
518
517
  color?: {
@@ -558,9 +557,9 @@ export declare const gmailEndpointSchemas: {
558
557
  backgroundColor?: string | undefined;
559
558
  }>>;
560
559
  }, "strip", import("zod").ZodTypeAny, {
560
+ type?: "system" | "user" | undefined;
561
561
  id?: string | undefined;
562
562
  name?: string | undefined;
563
- type?: "system" | "user" | undefined;
564
563
  messageListVisibility?: "show" | "hide" | undefined;
565
564
  labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
566
565
  color?: {
@@ -572,9 +571,9 @@ export declare const gmailEndpointSchemas: {
572
571
  threadsTotal?: number | undefined;
573
572
  threadsUnread?: number | undefined;
574
573
  }, {
574
+ type?: "system" | "user" | undefined;
575
575
  id?: string | undefined;
576
576
  name?: string | undefined;
577
- type?: "system" | "user" | undefined;
578
577
  messageListVisibility?: "show" | "hide" | undefined;
579
578
  labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
580
579
  color?: {
@@ -665,9 +664,9 @@ export declare const gmailEndpointSchemas: {
665
664
  backgroundColor?: string | undefined;
666
665
  }>>;
667
666
  }, "strip", import("zod").ZodTypeAny, {
667
+ type?: "system" | "user" | undefined;
668
668
  id?: string | undefined;
669
669
  name?: string | undefined;
670
- type?: "system" | "user" | undefined;
671
670
  messageListVisibility?: "show" | "hide" | undefined;
672
671
  labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
673
672
  color?: {
@@ -679,9 +678,9 @@ export declare const gmailEndpointSchemas: {
679
678
  threadsTotal?: number | undefined;
680
679
  threadsUnread?: number | undefined;
681
680
  }, {
681
+ type?: "system" | "user" | undefined;
682
682
  id?: string | undefined;
683
683
  name?: string | undefined;
684
- type?: "system" | "user" | undefined;
685
684
  messageListVisibility?: "show" | "hide" | undefined;
686
685
  labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
687
686
  color?: {
@@ -775,9 +774,9 @@ export declare const gmailEndpointSchemas: {
775
774
  backgroundColor?: string | undefined;
776
775
  }>>;
777
776
  }, "strip", import("zod").ZodTypeAny, {
777
+ type?: "system" | "user" | undefined;
778
778
  id?: string | undefined;
779
779
  name?: string | undefined;
780
- type?: "system" | "user" | undefined;
781
780
  messageListVisibility?: "show" | "hide" | undefined;
782
781
  labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
783
782
  color?: {
@@ -789,9 +788,9 @@ export declare const gmailEndpointSchemas: {
789
788
  threadsTotal?: number | undefined;
790
789
  threadsUnread?: number | undefined;
791
790
  }, {
791
+ type?: "system" | "user" | undefined;
792
792
  id?: string | undefined;
793
793
  name?: string | undefined;
794
- type?: "system" | "user" | undefined;
795
794
  messageListVisibility?: "show" | "hide" | undefined;
796
795
  labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
797
796
  color?: {
@@ -848,52 +847,52 @@ export declare const gmailEndpointSchemas: {
848
847
  payload: import("zod").ZodOptional<import("zod").ZodType<import("./endpoints").MessagePartShape, import("zod").ZodTypeDef, import("./endpoints").MessagePartShape>>;
849
848
  raw: import("zod").ZodOptional<import("zod").ZodString>;
850
849
  }, "strip", import("zod").ZodTypeAny, {
851
- id?: string | undefined;
852
- payload?: import("./endpoints").MessagePartShape | undefined;
853
850
  labelIds?: string[] | undefined;
851
+ id?: string | undefined;
854
852
  raw?: string | undefined;
855
853
  threadId?: string | undefined;
856
854
  snippet?: string | undefined;
857
855
  historyId?: string | undefined;
858
856
  internalDate?: Date | null | undefined;
859
857
  sizeEstimate?: number | undefined;
860
- }, {
861
- id?: string | undefined;
862
858
  payload?: import("./endpoints").MessagePartShape | undefined;
859
+ }, {
863
860
  labelIds?: string[] | undefined;
861
+ id?: string | undefined;
864
862
  raw?: string | undefined;
865
863
  threadId?: string | undefined;
866
864
  snippet?: string | undefined;
867
865
  historyId?: string | undefined;
868
866
  internalDate?: string | number | Date | null | undefined;
869
867
  sizeEstimate?: number | undefined;
868
+ payload?: import("./endpoints").MessagePartShape | undefined;
870
869
  }>>;
871
870
  }, "strip", import("zod").ZodTypeAny, {
872
- id?: string | undefined;
873
871
  message?: {
874
- id?: string | undefined;
875
- payload?: import("./endpoints").MessagePartShape | undefined;
876
872
  labelIds?: string[] | undefined;
873
+ id?: string | undefined;
877
874
  raw?: string | undefined;
878
875
  threadId?: string | undefined;
879
876
  snippet?: string | undefined;
880
877
  historyId?: string | undefined;
881
878
  internalDate?: Date | null | undefined;
882
879
  sizeEstimate?: number | undefined;
880
+ payload?: import("./endpoints").MessagePartShape | undefined;
883
881
  } | undefined;
884
- }, {
885
882
  id?: string | undefined;
883
+ }, {
886
884
  message?: {
887
- id?: string | undefined;
888
- payload?: import("./endpoints").MessagePartShape | undefined;
889
885
  labelIds?: string[] | undefined;
886
+ id?: string | undefined;
890
887
  raw?: string | undefined;
891
888
  threadId?: string | undefined;
892
889
  snippet?: string | undefined;
893
890
  historyId?: string | undefined;
894
891
  internalDate?: string | number | Date | null | undefined;
895
892
  sizeEstimate?: number | undefined;
893
+ payload?: import("./endpoints").MessagePartShape | undefined;
896
894
  } | undefined;
895
+ id?: string | undefined;
897
896
  }>, "many">>;
898
897
  nextPageToken: import("zod").ZodOptional<import("zod").ZodString>;
899
898
  resultSizeEstimate: import("zod").ZodOptional<import("zod").ZodNumber>;
@@ -901,35 +900,35 @@ export declare const gmailEndpointSchemas: {
901
900
  nextPageToken?: string | undefined;
902
901
  resultSizeEstimate?: number | undefined;
903
902
  drafts?: {
904
- id?: string | undefined;
905
903
  message?: {
906
- id?: string | undefined;
907
- payload?: import("./endpoints").MessagePartShape | undefined;
908
904
  labelIds?: string[] | undefined;
905
+ id?: string | undefined;
909
906
  raw?: string | undefined;
910
907
  threadId?: string | undefined;
911
908
  snippet?: string | undefined;
912
909
  historyId?: string | undefined;
913
910
  internalDate?: Date | null | undefined;
914
911
  sizeEstimate?: number | undefined;
912
+ payload?: import("./endpoints").MessagePartShape | undefined;
915
913
  } | undefined;
914
+ id?: string | undefined;
916
915
  }[] | undefined;
917
916
  }, {
918
917
  nextPageToken?: string | undefined;
919
918
  resultSizeEstimate?: number | undefined;
920
919
  drafts?: {
921
- id?: string | undefined;
922
920
  message?: {
923
- id?: string | undefined;
924
- payload?: import("./endpoints").MessagePartShape | undefined;
925
921
  labelIds?: string[] | undefined;
922
+ id?: string | undefined;
926
923
  raw?: string | undefined;
927
924
  threadId?: string | undefined;
928
925
  snippet?: string | undefined;
929
926
  historyId?: string | undefined;
930
927
  internalDate?: string | number | Date | null | undefined;
931
928
  sizeEstimate?: number | undefined;
929
+ payload?: import("./endpoints").MessagePartShape | undefined;
932
930
  } | undefined;
931
+ id?: string | undefined;
933
932
  }[] | undefined;
934
933
  }>;
935
934
  };
@@ -960,52 +959,52 @@ export declare const gmailEndpointSchemas: {
960
959
  payload: import("zod").ZodOptional<import("zod").ZodType<import("./endpoints").MessagePartShape, import("zod").ZodTypeDef, import("./endpoints").MessagePartShape>>;
961
960
  raw: import("zod").ZodOptional<import("zod").ZodString>;
962
961
  }, "strip", import("zod").ZodTypeAny, {
963
- id?: string | undefined;
964
- payload?: import("./endpoints").MessagePartShape | undefined;
965
962
  labelIds?: string[] | undefined;
963
+ id?: string | undefined;
966
964
  raw?: string | undefined;
967
965
  threadId?: string | undefined;
968
966
  snippet?: string | undefined;
969
967
  historyId?: string | undefined;
970
968
  internalDate?: Date | null | undefined;
971
969
  sizeEstimate?: number | undefined;
972
- }, {
973
- id?: string | undefined;
974
970
  payload?: import("./endpoints").MessagePartShape | undefined;
971
+ }, {
975
972
  labelIds?: string[] | undefined;
973
+ id?: string | undefined;
976
974
  raw?: string | undefined;
977
975
  threadId?: string | undefined;
978
976
  snippet?: string | undefined;
979
977
  historyId?: string | undefined;
980
978
  internalDate?: string | number | Date | null | undefined;
981
979
  sizeEstimate?: number | undefined;
980
+ payload?: import("./endpoints").MessagePartShape | undefined;
982
981
  }>>;
983
982
  }, "strip", import("zod").ZodTypeAny, {
984
- id?: string | undefined;
985
983
  message?: {
986
- id?: string | undefined;
987
- payload?: import("./endpoints").MessagePartShape | undefined;
988
984
  labelIds?: string[] | undefined;
985
+ id?: string | undefined;
989
986
  raw?: string | undefined;
990
987
  threadId?: string | undefined;
991
988
  snippet?: string | undefined;
992
989
  historyId?: string | undefined;
993
990
  internalDate?: Date | null | undefined;
994
991
  sizeEstimate?: number | undefined;
992
+ payload?: import("./endpoints").MessagePartShape | undefined;
995
993
  } | undefined;
996
- }, {
997
994
  id?: string | undefined;
995
+ }, {
998
996
  message?: {
999
- id?: string | undefined;
1000
- payload?: import("./endpoints").MessagePartShape | undefined;
1001
997
  labelIds?: string[] | undefined;
998
+ id?: string | undefined;
1002
999
  raw?: string | undefined;
1003
1000
  threadId?: string | undefined;
1004
1001
  snippet?: string | undefined;
1005
1002
  historyId?: string | undefined;
1006
1003
  internalDate?: string | number | Date | null | undefined;
1007
1004
  sizeEstimate?: number | undefined;
1005
+ payload?: import("./endpoints").MessagePartShape | undefined;
1008
1006
  } | undefined;
1007
+ id?: string | undefined;
1009
1008
  }>;
1010
1009
  };
1011
1010
  readonly 'drafts.create': {
@@ -1063,52 +1062,52 @@ export declare const gmailEndpointSchemas: {
1063
1062
  payload: import("zod").ZodOptional<import("zod").ZodType<import("./endpoints").MessagePartShape, import("zod").ZodTypeDef, import("./endpoints").MessagePartShape>>;
1064
1063
  raw: import("zod").ZodOptional<import("zod").ZodString>;
1065
1064
  }, "strip", import("zod").ZodTypeAny, {
1066
- id?: string | undefined;
1067
- payload?: import("./endpoints").MessagePartShape | undefined;
1068
1065
  labelIds?: string[] | undefined;
1066
+ id?: string | undefined;
1069
1067
  raw?: string | undefined;
1070
1068
  threadId?: string | undefined;
1071
1069
  snippet?: string | undefined;
1072
1070
  historyId?: string | undefined;
1073
1071
  internalDate?: Date | null | undefined;
1074
1072
  sizeEstimate?: number | undefined;
1075
- }, {
1076
- id?: string | undefined;
1077
1073
  payload?: import("./endpoints").MessagePartShape | undefined;
1074
+ }, {
1078
1075
  labelIds?: string[] | undefined;
1076
+ id?: string | undefined;
1079
1077
  raw?: string | undefined;
1080
1078
  threadId?: string | undefined;
1081
1079
  snippet?: string | undefined;
1082
1080
  historyId?: string | undefined;
1083
1081
  internalDate?: string | number | Date | null | undefined;
1084
1082
  sizeEstimate?: number | undefined;
1083
+ payload?: import("./endpoints").MessagePartShape | undefined;
1085
1084
  }>>;
1086
1085
  }, "strip", import("zod").ZodTypeAny, {
1087
- id?: string | undefined;
1088
1086
  message?: {
1089
- id?: string | undefined;
1090
- payload?: import("./endpoints").MessagePartShape | undefined;
1091
1087
  labelIds?: string[] | undefined;
1088
+ id?: string | undefined;
1092
1089
  raw?: string | undefined;
1093
1090
  threadId?: string | undefined;
1094
1091
  snippet?: string | undefined;
1095
1092
  historyId?: string | undefined;
1096
1093
  internalDate?: Date | null | undefined;
1097
1094
  sizeEstimate?: number | undefined;
1095
+ payload?: import("./endpoints").MessagePartShape | undefined;
1098
1096
  } | undefined;
1099
- }, {
1100
1097
  id?: string | undefined;
1098
+ }, {
1101
1099
  message?: {
1102
- id?: string | undefined;
1103
- payload?: import("./endpoints").MessagePartShape | undefined;
1104
1100
  labelIds?: string[] | undefined;
1101
+ id?: string | undefined;
1105
1102
  raw?: string | undefined;
1106
1103
  threadId?: string | undefined;
1107
1104
  snippet?: string | undefined;
1108
1105
  historyId?: string | undefined;
1109
1106
  internalDate?: string | number | Date | null | undefined;
1110
1107
  sizeEstimate?: number | undefined;
1108
+ payload?: import("./endpoints").MessagePartShape | undefined;
1111
1109
  } | undefined;
1110
+ id?: string | undefined;
1112
1111
  }>;
1113
1112
  };
1114
1113
  readonly 'drafts.update': {
@@ -1169,52 +1168,52 @@ export declare const gmailEndpointSchemas: {
1169
1168
  payload: import("zod").ZodOptional<import("zod").ZodType<import("./endpoints").MessagePartShape, import("zod").ZodTypeDef, import("./endpoints").MessagePartShape>>;
1170
1169
  raw: import("zod").ZodOptional<import("zod").ZodString>;
1171
1170
  }, "strip", import("zod").ZodTypeAny, {
1172
- id?: string | undefined;
1173
- payload?: import("./endpoints").MessagePartShape | undefined;
1174
1171
  labelIds?: string[] | undefined;
1172
+ id?: string | undefined;
1175
1173
  raw?: string | undefined;
1176
1174
  threadId?: string | undefined;
1177
1175
  snippet?: string | undefined;
1178
1176
  historyId?: string | undefined;
1179
1177
  internalDate?: Date | null | undefined;
1180
1178
  sizeEstimate?: number | undefined;
1181
- }, {
1182
- id?: string | undefined;
1183
1179
  payload?: import("./endpoints").MessagePartShape | undefined;
1180
+ }, {
1184
1181
  labelIds?: string[] | undefined;
1182
+ id?: string | undefined;
1185
1183
  raw?: string | undefined;
1186
1184
  threadId?: string | undefined;
1187
1185
  snippet?: string | undefined;
1188
1186
  historyId?: string | undefined;
1189
1187
  internalDate?: string | number | Date | null | undefined;
1190
1188
  sizeEstimate?: number | undefined;
1189
+ payload?: import("./endpoints").MessagePartShape | undefined;
1191
1190
  }>>;
1192
1191
  }, "strip", import("zod").ZodTypeAny, {
1193
- id?: string | undefined;
1194
1192
  message?: {
1195
- id?: string | undefined;
1196
- payload?: import("./endpoints").MessagePartShape | undefined;
1197
1193
  labelIds?: string[] | undefined;
1194
+ id?: string | undefined;
1198
1195
  raw?: string | undefined;
1199
1196
  threadId?: string | undefined;
1200
1197
  snippet?: string | undefined;
1201
1198
  historyId?: string | undefined;
1202
1199
  internalDate?: Date | null | undefined;
1203
1200
  sizeEstimate?: number | undefined;
1201
+ payload?: import("./endpoints").MessagePartShape | undefined;
1204
1202
  } | undefined;
1205
- }, {
1206
1203
  id?: string | undefined;
1204
+ }, {
1207
1205
  message?: {
1208
- id?: string | undefined;
1209
- payload?: import("./endpoints").MessagePartShape | undefined;
1210
1206
  labelIds?: string[] | undefined;
1207
+ id?: string | undefined;
1211
1208
  raw?: string | undefined;
1212
1209
  threadId?: string | undefined;
1213
1210
  snippet?: string | undefined;
1214
1211
  historyId?: string | undefined;
1215
1212
  internalDate?: string | number | Date | null | undefined;
1216
1213
  sizeEstimate?: number | undefined;
1214
+ payload?: import("./endpoints").MessagePartShape | undefined;
1217
1215
  } | undefined;
1216
+ id?: string | undefined;
1218
1217
  }>;
1219
1218
  };
1220
1219
  readonly 'drafts.delete': {
@@ -1245,19 +1244,19 @@ export declare const gmailEndpointSchemas: {
1245
1244
  threadId?: string | undefined;
1246
1245
  }>>;
1247
1246
  }, "strip", import("zod").ZodTypeAny, {
1248
- id?: string | undefined;
1247
+ userId?: string | undefined;
1249
1248
  message?: {
1250
1249
  raw?: string | undefined;
1251
1250
  threadId?: string | undefined;
1252
1251
  } | undefined;
1253
- userId?: string | undefined;
1254
- }, {
1255
1252
  id?: string | undefined;
1253
+ }, {
1254
+ userId?: string | undefined;
1256
1255
  message?: {
1257
1256
  raw?: string | undefined;
1258
1257
  threadId?: string | undefined;
1259
1258
  } | undefined;
1260
- userId?: string | undefined;
1259
+ id?: string | undefined;
1261
1260
  }>;
1262
1261
  readonly output: import("zod").ZodObject<{
1263
1262
  id: import("zod").ZodOptional<import("zod").ZodString>;
@@ -1270,25 +1269,25 @@ export declare const gmailEndpointSchemas: {
1270
1269
  payload: import("zod").ZodOptional<import("zod").ZodType<import("./endpoints").MessagePartShape, import("zod").ZodTypeDef, import("./endpoints").MessagePartShape>>;
1271
1270
  raw: import("zod").ZodOptional<import("zod").ZodString>;
1272
1271
  }, "strip", import("zod").ZodTypeAny, {
1273
- id?: string | undefined;
1274
- payload?: import("./endpoints").MessagePartShape | undefined;
1275
1272
  labelIds?: string[] | undefined;
1273
+ id?: string | undefined;
1276
1274
  raw?: string | undefined;
1277
1275
  threadId?: string | undefined;
1278
1276
  snippet?: string | undefined;
1279
1277
  historyId?: string | undefined;
1280
1278
  internalDate?: Date | null | undefined;
1281
1279
  sizeEstimate?: number | undefined;
1282
- }, {
1283
- id?: string | undefined;
1284
1280
  payload?: import("./endpoints").MessagePartShape | undefined;
1281
+ }, {
1285
1282
  labelIds?: string[] | undefined;
1283
+ id?: string | undefined;
1286
1284
  raw?: string | undefined;
1287
1285
  threadId?: string | undefined;
1288
1286
  snippet?: string | undefined;
1289
1287
  historyId?: string | undefined;
1290
1288
  internalDate?: string | number | Date | null | undefined;
1291
1289
  sizeEstimate?: number | undefined;
1290
+ payload?: import("./endpoints").MessagePartShape | undefined;
1292
1291
  }>;
1293
1292
  };
1294
1293
  readonly 'threads.list': {
@@ -1330,55 +1329,55 @@ export declare const gmailEndpointSchemas: {
1330
1329
  payload: import("zod").ZodOptional<import("zod").ZodType<import("./endpoints").MessagePartShape, import("zod").ZodTypeDef, import("./endpoints").MessagePartShape>>;
1331
1330
  raw: import("zod").ZodOptional<import("zod").ZodString>;
1332
1331
  }, "strip", import("zod").ZodTypeAny, {
1333
- id?: string | undefined;
1334
- payload?: import("./endpoints").MessagePartShape | undefined;
1335
1332
  labelIds?: string[] | undefined;
1333
+ id?: string | undefined;
1336
1334
  raw?: string | undefined;
1337
1335
  threadId?: string | undefined;
1338
1336
  snippet?: string | undefined;
1339
1337
  historyId?: string | undefined;
1340
1338
  internalDate?: Date | null | undefined;
1341
1339
  sizeEstimate?: number | undefined;
1342
- }, {
1343
- id?: string | undefined;
1344
1340
  payload?: import("./endpoints").MessagePartShape | undefined;
1341
+ }, {
1345
1342
  labelIds?: string[] | undefined;
1343
+ id?: string | undefined;
1346
1344
  raw?: string | undefined;
1347
1345
  threadId?: string | undefined;
1348
1346
  snippet?: string | undefined;
1349
1347
  historyId?: string | undefined;
1350
1348
  internalDate?: string | number | Date | null | undefined;
1351
1349
  sizeEstimate?: number | undefined;
1350
+ payload?: import("./endpoints").MessagePartShape | undefined;
1352
1351
  }>, "many">>;
1353
1352
  }, "strip", import("zod").ZodTypeAny, {
1354
1353
  id?: string | undefined;
1355
1354
  snippet?: string | undefined;
1356
1355
  historyId?: string | undefined;
1357
1356
  messages?: {
1358
- id?: string | undefined;
1359
- payload?: import("./endpoints").MessagePartShape | undefined;
1360
1357
  labelIds?: string[] | undefined;
1358
+ id?: string | undefined;
1361
1359
  raw?: string | undefined;
1362
1360
  threadId?: string | undefined;
1363
1361
  snippet?: string | undefined;
1364
1362
  historyId?: string | undefined;
1365
1363
  internalDate?: Date | null | undefined;
1366
1364
  sizeEstimate?: number | undefined;
1365
+ payload?: import("./endpoints").MessagePartShape | undefined;
1367
1366
  }[] | undefined;
1368
1367
  }, {
1369
1368
  id?: string | undefined;
1370
1369
  snippet?: string | undefined;
1371
1370
  historyId?: string | undefined;
1372
1371
  messages?: {
1373
- id?: string | undefined;
1374
- payload?: import("./endpoints").MessagePartShape | undefined;
1375
1372
  labelIds?: string[] | undefined;
1373
+ id?: string | undefined;
1376
1374
  raw?: string | undefined;
1377
1375
  threadId?: string | undefined;
1378
1376
  snippet?: string | undefined;
1379
1377
  historyId?: string | undefined;
1380
1378
  internalDate?: string | number | Date | null | undefined;
1381
1379
  sizeEstimate?: number | undefined;
1380
+ payload?: import("./endpoints").MessagePartShape | undefined;
1382
1381
  }[] | undefined;
1383
1382
  }>, "many">>;
1384
1383
  nextPageToken: import("zod").ZodOptional<import("zod").ZodString>;
@@ -1391,15 +1390,15 @@ export declare const gmailEndpointSchemas: {
1391
1390
  snippet?: string | undefined;
1392
1391
  historyId?: string | undefined;
1393
1392
  messages?: {
1394
- id?: string | undefined;
1395
- payload?: import("./endpoints").MessagePartShape | undefined;
1396
1393
  labelIds?: string[] | undefined;
1394
+ id?: string | undefined;
1397
1395
  raw?: string | undefined;
1398
1396
  threadId?: string | undefined;
1399
1397
  snippet?: string | undefined;
1400
1398
  historyId?: string | undefined;
1401
1399
  internalDate?: Date | null | undefined;
1402
1400
  sizeEstimate?: number | undefined;
1401
+ payload?: import("./endpoints").MessagePartShape | undefined;
1403
1402
  }[] | undefined;
1404
1403
  }[] | undefined;
1405
1404
  }, {
@@ -1410,15 +1409,15 @@ export declare const gmailEndpointSchemas: {
1410
1409
  snippet?: string | undefined;
1411
1410
  historyId?: string | undefined;
1412
1411
  messages?: {
1413
- id?: string | undefined;
1414
- payload?: import("./endpoints").MessagePartShape | undefined;
1415
1412
  labelIds?: string[] | undefined;
1413
+ id?: string | undefined;
1416
1414
  raw?: string | undefined;
1417
1415
  threadId?: string | undefined;
1418
1416
  snippet?: string | undefined;
1419
1417
  historyId?: string | undefined;
1420
1418
  internalDate?: string | number | Date | null | undefined;
1421
1419
  sizeEstimate?: number | undefined;
1420
+ payload?: import("./endpoints").MessagePartShape | undefined;
1422
1421
  }[] | undefined;
1423
1422
  }[] | undefined;
1424
1423
  }>;
@@ -1455,55 +1454,55 @@ export declare const gmailEndpointSchemas: {
1455
1454
  payload: import("zod").ZodOptional<import("zod").ZodType<import("./endpoints").MessagePartShape, import("zod").ZodTypeDef, import("./endpoints").MessagePartShape>>;
1456
1455
  raw: import("zod").ZodOptional<import("zod").ZodString>;
1457
1456
  }, "strip", import("zod").ZodTypeAny, {
1458
- id?: string | undefined;
1459
- payload?: import("./endpoints").MessagePartShape | undefined;
1460
1457
  labelIds?: string[] | undefined;
1458
+ id?: string | undefined;
1461
1459
  raw?: string | undefined;
1462
1460
  threadId?: string | undefined;
1463
1461
  snippet?: string | undefined;
1464
1462
  historyId?: string | undefined;
1465
1463
  internalDate?: Date | null | undefined;
1466
1464
  sizeEstimate?: number | undefined;
1467
- }, {
1468
- id?: string | undefined;
1469
1465
  payload?: import("./endpoints").MessagePartShape | undefined;
1466
+ }, {
1470
1467
  labelIds?: string[] | undefined;
1468
+ id?: string | undefined;
1471
1469
  raw?: string | undefined;
1472
1470
  threadId?: string | undefined;
1473
1471
  snippet?: string | undefined;
1474
1472
  historyId?: string | undefined;
1475
1473
  internalDate?: string | number | Date | null | undefined;
1476
1474
  sizeEstimate?: number | undefined;
1475
+ payload?: import("./endpoints").MessagePartShape | undefined;
1477
1476
  }>, "many">>;
1478
1477
  }, "strip", import("zod").ZodTypeAny, {
1479
1478
  id?: string | undefined;
1480
1479
  snippet?: string | undefined;
1481
1480
  historyId?: string | undefined;
1482
1481
  messages?: {
1483
- id?: string | undefined;
1484
- payload?: import("./endpoints").MessagePartShape | undefined;
1485
1482
  labelIds?: string[] | undefined;
1483
+ id?: string | undefined;
1486
1484
  raw?: string | undefined;
1487
1485
  threadId?: string | undefined;
1488
1486
  snippet?: string | undefined;
1489
1487
  historyId?: string | undefined;
1490
1488
  internalDate?: Date | null | undefined;
1491
1489
  sizeEstimate?: number | undefined;
1490
+ payload?: import("./endpoints").MessagePartShape | undefined;
1492
1491
  }[] | undefined;
1493
1492
  }, {
1494
1493
  id?: string | undefined;
1495
1494
  snippet?: string | undefined;
1496
1495
  historyId?: string | undefined;
1497
1496
  messages?: {
1498
- id?: string | undefined;
1499
- payload?: import("./endpoints").MessagePartShape | undefined;
1500
1497
  labelIds?: string[] | undefined;
1498
+ id?: string | undefined;
1501
1499
  raw?: string | undefined;
1502
1500
  threadId?: string | undefined;
1503
1501
  snippet?: string | undefined;
1504
1502
  historyId?: string | undefined;
1505
1503
  internalDate?: string | number | Date | null | undefined;
1506
1504
  sizeEstimate?: number | undefined;
1505
+ payload?: import("./endpoints").MessagePartShape | undefined;
1507
1506
  }[] | undefined;
1508
1507
  }>;
1509
1508
  };
@@ -1539,55 +1538,55 @@ export declare const gmailEndpointSchemas: {
1539
1538
  payload: import("zod").ZodOptional<import("zod").ZodType<import("./endpoints").MessagePartShape, import("zod").ZodTypeDef, import("./endpoints").MessagePartShape>>;
1540
1539
  raw: import("zod").ZodOptional<import("zod").ZodString>;
1541
1540
  }, "strip", import("zod").ZodTypeAny, {
1542
- id?: string | undefined;
1543
- payload?: import("./endpoints").MessagePartShape | undefined;
1544
1541
  labelIds?: string[] | undefined;
1542
+ id?: string | undefined;
1545
1543
  raw?: string | undefined;
1546
1544
  threadId?: string | undefined;
1547
1545
  snippet?: string | undefined;
1548
1546
  historyId?: string | undefined;
1549
1547
  internalDate?: Date | null | undefined;
1550
1548
  sizeEstimate?: number | undefined;
1551
- }, {
1552
- id?: string | undefined;
1553
1549
  payload?: import("./endpoints").MessagePartShape | undefined;
1550
+ }, {
1554
1551
  labelIds?: string[] | undefined;
1552
+ id?: string | undefined;
1555
1553
  raw?: string | undefined;
1556
1554
  threadId?: string | undefined;
1557
1555
  snippet?: string | undefined;
1558
1556
  historyId?: string | undefined;
1559
1557
  internalDate?: string | number | Date | null | undefined;
1560
1558
  sizeEstimate?: number | undefined;
1559
+ payload?: import("./endpoints").MessagePartShape | undefined;
1561
1560
  }>, "many">>;
1562
1561
  }, "strip", import("zod").ZodTypeAny, {
1563
1562
  id?: string | undefined;
1564
1563
  snippet?: string | undefined;
1565
1564
  historyId?: string | undefined;
1566
1565
  messages?: {
1567
- id?: string | undefined;
1568
- payload?: import("./endpoints").MessagePartShape | undefined;
1569
1566
  labelIds?: string[] | undefined;
1567
+ id?: string | undefined;
1570
1568
  raw?: string | undefined;
1571
1569
  threadId?: string | undefined;
1572
1570
  snippet?: string | undefined;
1573
1571
  historyId?: string | undefined;
1574
1572
  internalDate?: Date | null | undefined;
1575
1573
  sizeEstimate?: number | undefined;
1574
+ payload?: import("./endpoints").MessagePartShape | undefined;
1576
1575
  }[] | undefined;
1577
1576
  }, {
1578
1577
  id?: string | undefined;
1579
1578
  snippet?: string | undefined;
1580
1579
  historyId?: string | undefined;
1581
1580
  messages?: {
1582
- id?: string | undefined;
1583
- payload?: import("./endpoints").MessagePartShape | undefined;
1584
1581
  labelIds?: string[] | undefined;
1582
+ id?: string | undefined;
1585
1583
  raw?: string | undefined;
1586
1584
  threadId?: string | undefined;
1587
1585
  snippet?: string | undefined;
1588
1586
  historyId?: string | undefined;
1589
1587
  internalDate?: string | number | Date | null | undefined;
1590
1588
  sizeEstimate?: number | undefined;
1589
+ payload?: import("./endpoints").MessagePartShape | undefined;
1591
1590
  }[] | undefined;
1592
1591
  }>;
1593
1592
  };
@@ -1630,55 +1629,55 @@ export declare const gmailEndpointSchemas: {
1630
1629
  payload: import("zod").ZodOptional<import("zod").ZodType<import("./endpoints").MessagePartShape, import("zod").ZodTypeDef, import("./endpoints").MessagePartShape>>;
1631
1630
  raw: import("zod").ZodOptional<import("zod").ZodString>;
1632
1631
  }, "strip", import("zod").ZodTypeAny, {
1633
- id?: string | undefined;
1634
- payload?: import("./endpoints").MessagePartShape | undefined;
1635
1632
  labelIds?: string[] | undefined;
1633
+ id?: string | undefined;
1636
1634
  raw?: string | undefined;
1637
1635
  threadId?: string | undefined;
1638
1636
  snippet?: string | undefined;
1639
1637
  historyId?: string | undefined;
1640
1638
  internalDate?: Date | null | undefined;
1641
1639
  sizeEstimate?: number | undefined;
1642
- }, {
1643
- id?: string | undefined;
1644
1640
  payload?: import("./endpoints").MessagePartShape | undefined;
1641
+ }, {
1645
1642
  labelIds?: string[] | undefined;
1643
+ id?: string | undefined;
1646
1644
  raw?: string | undefined;
1647
1645
  threadId?: string | undefined;
1648
1646
  snippet?: string | undefined;
1649
1647
  historyId?: string | undefined;
1650
1648
  internalDate?: string | number | Date | null | undefined;
1651
1649
  sizeEstimate?: number | undefined;
1650
+ payload?: import("./endpoints").MessagePartShape | undefined;
1652
1651
  }>, "many">>;
1653
1652
  }, "strip", import("zod").ZodTypeAny, {
1654
1653
  id?: string | undefined;
1655
1654
  snippet?: string | undefined;
1656
1655
  historyId?: string | undefined;
1657
1656
  messages?: {
1658
- id?: string | undefined;
1659
- payload?: import("./endpoints").MessagePartShape | undefined;
1660
1657
  labelIds?: string[] | undefined;
1658
+ id?: string | undefined;
1661
1659
  raw?: string | undefined;
1662
1660
  threadId?: string | undefined;
1663
1661
  snippet?: string | undefined;
1664
1662
  historyId?: string | undefined;
1665
1663
  internalDate?: Date | null | undefined;
1666
1664
  sizeEstimate?: number | undefined;
1665
+ payload?: import("./endpoints").MessagePartShape | undefined;
1667
1666
  }[] | undefined;
1668
1667
  }, {
1669
1668
  id?: string | undefined;
1670
1669
  snippet?: string | undefined;
1671
1670
  historyId?: string | undefined;
1672
1671
  messages?: {
1673
- id?: string | undefined;
1674
- payload?: import("./endpoints").MessagePartShape | undefined;
1675
1672
  labelIds?: string[] | undefined;
1673
+ id?: string | undefined;
1676
1674
  raw?: string | undefined;
1677
1675
  threadId?: string | undefined;
1678
1676
  snippet?: string | undefined;
1679
1677
  historyId?: string | undefined;
1680
1678
  internalDate?: string | number | Date | null | undefined;
1681
1679
  sizeEstimate?: number | undefined;
1680
+ payload?: import("./endpoints").MessagePartShape | undefined;
1682
1681
  }[] | undefined;
1683
1682
  }>;
1684
1683
  };
@@ -1708,55 +1707,55 @@ export declare const gmailEndpointSchemas: {
1708
1707
  payload: import("zod").ZodOptional<import("zod").ZodType<import("./endpoints").MessagePartShape, import("zod").ZodTypeDef, import("./endpoints").MessagePartShape>>;
1709
1708
  raw: import("zod").ZodOptional<import("zod").ZodString>;
1710
1709
  }, "strip", import("zod").ZodTypeAny, {
1711
- id?: string | undefined;
1712
- payload?: import("./endpoints").MessagePartShape | undefined;
1713
1710
  labelIds?: string[] | undefined;
1711
+ id?: string | undefined;
1714
1712
  raw?: string | undefined;
1715
1713
  threadId?: string | undefined;
1716
1714
  snippet?: string | undefined;
1717
1715
  historyId?: string | undefined;
1718
1716
  internalDate?: Date | null | undefined;
1719
1717
  sizeEstimate?: number | undefined;
1720
- }, {
1721
- id?: string | undefined;
1722
1718
  payload?: import("./endpoints").MessagePartShape | undefined;
1719
+ }, {
1723
1720
  labelIds?: string[] | undefined;
1721
+ id?: string | undefined;
1724
1722
  raw?: string | undefined;
1725
1723
  threadId?: string | undefined;
1726
1724
  snippet?: string | undefined;
1727
1725
  historyId?: string | undefined;
1728
1726
  internalDate?: string | number | Date | null | undefined;
1729
1727
  sizeEstimate?: number | undefined;
1728
+ payload?: import("./endpoints").MessagePartShape | undefined;
1730
1729
  }>, "many">>;
1731
1730
  }, "strip", import("zod").ZodTypeAny, {
1732
1731
  id?: string | undefined;
1733
1732
  snippet?: string | undefined;
1734
1733
  historyId?: string | undefined;
1735
1734
  messages?: {
1736
- id?: string | undefined;
1737
- payload?: import("./endpoints").MessagePartShape | undefined;
1738
1735
  labelIds?: string[] | undefined;
1736
+ id?: string | undefined;
1739
1737
  raw?: string | undefined;
1740
1738
  threadId?: string | undefined;
1741
1739
  snippet?: string | undefined;
1742
1740
  historyId?: string | undefined;
1743
1741
  internalDate?: Date | null | undefined;
1744
1742
  sizeEstimate?: number | undefined;
1743
+ payload?: import("./endpoints").MessagePartShape | undefined;
1745
1744
  }[] | undefined;
1746
1745
  }, {
1747
1746
  id?: string | undefined;
1748
1747
  snippet?: string | undefined;
1749
1748
  historyId?: string | undefined;
1750
1749
  messages?: {
1751
- id?: string | undefined;
1752
- payload?: import("./endpoints").MessagePartShape | undefined;
1753
1750
  labelIds?: string[] | undefined;
1751
+ id?: string | undefined;
1754
1752
  raw?: string | undefined;
1755
1753
  threadId?: string | undefined;
1756
1754
  snippet?: string | undefined;
1757
1755
  historyId?: string | undefined;
1758
1756
  internalDate?: string | number | Date | null | undefined;
1759
1757
  sizeEstimate?: number | undefined;
1758
+ payload?: import("./endpoints").MessagePartShape | undefined;
1760
1759
  }[] | undefined;
1761
1760
  }>;
1762
1761
  };