@remit/api-zod-schemas 0.0.33 → 0.0.35

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/schemas.d.ts CHANGED
@@ -27,6 +27,13 @@ export declare const FilterMatchOperatorSchema: z.ZodEnum<["And", "Or"]>;
27
27
  export declare const FilterClauseFieldSchema: z.ZodEnum<["From", "Subject", "HasWords", "ListId", "FromDomain"]>;
28
28
  export declare const LabelColorSchema: z.ZodEnum<["Default", "Red", "Orange", "Yellow", "Green", "Teal", "Blue", "Purple", "Gray"]>;
29
29
  export declare const OrganizeJobStateSchema: z.ZodEnum<["Pending", "Running", "Complete", "Failed"]>;
30
+ export declare const CalendarColorSchema: z.ZodEnum<["Cal1", "Cal2", "Cal3", "Cal4", "Cal5", "Cal6"]>;
31
+ export declare const CalendarComponentSetSchema: z.ZodEnum<["VeventOnly"]>;
32
+ export declare const CalendarSourceSchema: z.ZodEnum<["Default", "UserCreated", "MailDerived"]>;
33
+ export declare const CalendarEventStatusSchema: z.ZodEnum<["Confirmed", "Tentative", "Cancelled"]>;
34
+ export declare const CalendarTransparencySchema: z.ZodEnum<["Opaque", "Transparent"]>;
35
+ export declare const ZoneCertaintySchema: z.ZodEnum<["Local", "Explicit", "Ambiguous"]>;
36
+ export declare const RecurrenceScopeSchema: z.ZodEnum<["This", "Following", "All"]>;
30
37
  export declare const SortOrderSchema: z.ZodEnum<["asc", "desc"]>;
31
38
  export declare const StarColorSchema: z.ZodEnum<["none", "yellow", "orange", "red", "purple", "blue", "teal", "green", "yellow_bang", "red_bang", "purple_question", "blue_info", "orange_guillemet", "green_check", "yellow_check", "blue_star"]>;
32
39
  export declare const MessageCategorySchema: z.ZodEnum<["uncategorized", "personal", "newsletter", "marketing", "automated", "transactional", "social"]>;
@@ -49,6 +56,9 @@ export declare const ContentDispositionSchema: z.ZodEnum<["inline", "attachment"
49
56
  export declare const MultipartSubtypeSchema: z.ZodEnum<["mixed", "alternative", "digest", "parallel", "related", "signed", "encrypted", "form-data", "report"]>;
50
57
  export declare const ReferenceTypeSchema: z.ZodEnum<["in_reply_to", "references"]>;
51
58
  export declare const LabelActionSchema: z.ZodEnum<["Apply", "Remove"]>;
59
+ export declare const CalendarSuggestionStateSchema: z.ZodEnum<["Pending", "Accepted", "Declined", "Tentative", "Dismissed", "Superseded"]>;
60
+ export declare const CalendarInviteMethodSchema: z.ZodEnum<["Request", "Reply", "Cancel", "Counter", "Publish", "None"]>;
61
+ export declare const CalendarSuggestionSourceSchema: z.ZodEnum<["IcalendarPart", "IcalendarAttachment", "TextHeuristic"]>;
52
62
  export declare const MessageSystemFlagSchema: z.ZodEnum<["\\Seen", "\\Answered", "\\Flagged", "\\Deleted", "\\Draft"]>;
53
63
  export declare const MessageKeywordFlagSchema: z.ZodEnum<["$Forwarded", "$MDNSent", "$Junk", "$NotJunk", "$Phishing"]>;
54
64
  export declare const MailboxAttributeSchema: z.ZodEnum<["\\NonExistent", "\\Noinferiors", "\\Noselect", "\\HasChildren", "\\HasNoChildren", "\\Marked", "\\Unmarked", "\\Subscribed", "\\Remote"]>;
@@ -57,12 +67,6 @@ export declare const ContentEncodingSchema: z.ZodEnum<["none", "gzip", "zstd"]>;
57
67
  export declare const AccountSettingNameSchema: z.ZodEnum<["Theme", "Density", "DefaultComposerFormat", "PinnedFolders", "AccountSignaturePlainText", "AccountSignatureHtml", "AccountDisplayName", "AccountMuted", "AccountComposeLanguages", "MailboxDisplayName", "MailboxMuted", "FolderRoleAppointment", "FolderRoleAppointmentLabel", "MailboxRole"]>;
58
68
  export declare const ConfigImportStateSchema: z.ZodEnum<["Pending", "Complete"]>;
59
69
  export declare const ConfigImportRefKindSchema: z.ZodEnum<["FolderRole", "MailboxOverride", "FilterAction"]>;
60
- export declare const CalendarColorSchema: z.ZodEnum<["Cal1", "Cal2", "Cal3", "Cal4", "Cal5", "Cal6"]>;
61
- export declare const CalendarComponentSetSchema: z.ZodEnum<["VeventOnly"]>;
62
- export declare const CalendarSourceSchema: z.ZodEnum<["Default", "UserCreated", "MailDerived"]>;
63
- export declare const CalendarEventStatusSchema: z.ZodEnum<["Confirmed", "Tentative", "Cancelled"]>;
64
- export declare const CalendarTransparencySchema: z.ZodEnum<["Opaque", "Transparent"]>;
65
- export declare const ZoneCertaintySchema: z.ZodEnum<["Local", "Explicit", "Ambiguous"]>;
66
70
  export declare const MessagePlacementMoveStateSchema: z.ZodEnum<["pending", "queued", "processing", "processed"]>;
67
71
  export declare const FlagPushOperationSchema: z.ZodEnum<["add", "remove"]>;
68
72
  export declare const MessageFlagPushStateSchema: z.ZodEnum<["pending", "queued", "processing", "processed"]>;
@@ -154,6 +158,66 @@ export declare const AppointFolderRoleConflictSchema: z.ZodObject<{
154
158
  statusCode: 409;
155
159
  details?: Record<string, string> | undefined;
156
160
  }>;
161
+ export declare const NotFoundErrorSchema: z.ZodObject<{
162
+ statusCode: z.ZodLiteral<404>;
163
+ error: z.ZodObject<{
164
+ code: z.ZodString;
165
+ message: z.ZodString;
166
+ details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
167
+ }, "strip", z.ZodTypeAny, {
168
+ code: string;
169
+ message: string;
170
+ details?: Record<string, string> | undefined;
171
+ }, {
172
+ code: string;
173
+ message: string;
174
+ details?: Record<string, string> | undefined;
175
+ }>;
176
+ }, "strip", z.ZodTypeAny, {
177
+ error: {
178
+ code: string;
179
+ message: string;
180
+ details?: Record<string, string> | undefined;
181
+ };
182
+ statusCode: 404;
183
+ }, {
184
+ error: {
185
+ code: string;
186
+ message: string;
187
+ details?: Record<string, string> | undefined;
188
+ };
189
+ statusCode: 404;
190
+ }>;
191
+ export declare const PreconditionFailedErrorSchema: z.ZodObject<{
192
+ statusCode: z.ZodLiteral<412>;
193
+ error: z.ZodObject<{
194
+ code: z.ZodString;
195
+ message: z.ZodString;
196
+ details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
197
+ }, "strip", z.ZodTypeAny, {
198
+ code: string;
199
+ message: string;
200
+ details?: Record<string, string> | undefined;
201
+ }, {
202
+ code: string;
203
+ message: string;
204
+ details?: Record<string, string> | undefined;
205
+ }>;
206
+ }, "strip", z.ZodTypeAny, {
207
+ error: {
208
+ code: string;
209
+ message: string;
210
+ details?: Record<string, string> | undefined;
211
+ };
212
+ statusCode: 412;
213
+ }, {
214
+ error: {
215
+ code: string;
216
+ message: string;
217
+ details?: Record<string, string> | undefined;
218
+ };
219
+ statusCode: 412;
220
+ }>;
157
221
  export declare const DeleteMessagesConflictSchema: z.ZodObject<{
158
222
  statusCode: z.ZodLiteral<409>;
159
223
  code: z.ZodString;
@@ -212,36 +276,6 @@ export declare const AmazonApiGatewayIntegrationSchema: z.ZodObject<{
212
276
  "Fn::Sub": "arn:aws:apigateway:${AWS::Region}:lambda:path/2015-03-31/functions/arn:aws:lambda:${AWS::Region}:${AWS::AccountId}:function:{{HandlerFunctionName}}/invocations";
213
277
  };
214
278
  }>;
215
- export declare const NotFoundErrorSchema: z.ZodObject<{
216
- statusCode: z.ZodLiteral<404>;
217
- error: z.ZodObject<{
218
- code: z.ZodString;
219
- message: z.ZodString;
220
- details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
221
- }, "strip", z.ZodTypeAny, {
222
- code: string;
223
- message: string;
224
- details?: Record<string, string> | undefined;
225
- }, {
226
- code: string;
227
- message: string;
228
- details?: Record<string, string> | undefined;
229
- }>;
230
- }, "strip", z.ZodTypeAny, {
231
- error: {
232
- code: string;
233
- message: string;
234
- details?: Record<string, string> | undefined;
235
- };
236
- statusCode: 404;
237
- }, {
238
- error: {
239
- code: string;
240
- message: string;
241
- details?: Record<string, string> | undefined;
242
- };
243
- statusCode: 404;
244
- }>;
245
279
  export declare const InternalServerErrorSchema: z.ZodObject<{
246
280
  statusCode: z.ZodLiteral<500>;
247
281
  error: z.ZodObject<{
@@ -2492,61 +2526,583 @@ export declare const OrganizeJobResponseSchema: z.ZodObject<{
2492
2526
  field: z.ZodEnum<["From", "Subject", "HasWords", "ListId", "FromDomain"]>;
2493
2527
  value: z.ZodString;
2494
2528
  }, "strip", z.ZodTypeAny, {
2495
- value: string;
2496
- field: "From" | "Subject" | "HasWords" | "ListId" | "FromDomain";
2529
+ value: string;
2530
+ field: "From" | "Subject" | "HasWords" | "ListId" | "FromDomain";
2531
+ }, {
2532
+ value: string;
2533
+ field: "From" | "Subject" | "HasWords" | "ListId" | "FromDomain";
2534
+ }>, "many">;
2535
+ similarityThreshold: z.ZodNumber;
2536
+ actionLabelId: z.ZodString;
2537
+ actionMailboxId: z.ZodString;
2538
+ matchedCount: z.ZodNumber;
2539
+ appliedCount: z.ZodNumber;
2540
+ failedCount: z.ZodNumber;
2541
+ errorMessage: z.ZodString;
2542
+ createdAt: z.ZodNumber;
2543
+ updatedAt: z.ZodNumber;
2544
+ }, "strip", z.ZodTypeAny, {
2545
+ accountConfigId: string;
2546
+ userId: string;
2547
+ state: "Pending" | "Failed" | "Running" | "Complete";
2548
+ createdAt: number;
2549
+ updatedAt: number;
2550
+ errorMessage: string;
2551
+ matchOperator: "And" | "Or";
2552
+ literalClauses: {
2553
+ value: string;
2554
+ field: "From" | "Subject" | "HasWords" | "ListId" | "FromDomain";
2555
+ }[];
2556
+ actionLabelId: string;
2557
+ actionMailboxId: string;
2558
+ anchorMessageId: string;
2559
+ similarityThreshold: number;
2560
+ organizeJobId: string;
2561
+ matchedCount: number;
2562
+ appliedCount: number;
2563
+ failedCount: number;
2564
+ }, {
2565
+ accountConfigId: string;
2566
+ userId: string;
2567
+ state: "Pending" | "Failed" | "Running" | "Complete";
2568
+ createdAt: number;
2569
+ updatedAt: number;
2570
+ errorMessage: string;
2571
+ matchOperator: "And" | "Or";
2572
+ literalClauses: {
2573
+ value: string;
2574
+ field: "From" | "Subject" | "HasWords" | "ListId" | "FromDomain";
2575
+ }[];
2576
+ actionLabelId: string;
2577
+ actionMailboxId: string;
2578
+ anchorMessageId: string;
2579
+ similarityThreshold: number;
2580
+ organizeJobId: string;
2581
+ matchedCount: number;
2582
+ appliedCount: number;
2583
+ failedCount: number;
2584
+ }>;
2585
+ export declare const CalendarResponseSchema: z.ZodObject<{
2586
+ calendarId: z.ZodString;
2587
+ accountConfigId: z.ZodString;
2588
+ urlSegment: z.ZodString;
2589
+ displayName: z.ZodString;
2590
+ color: z.ZodEnum<["Cal1", "Cal2", "Cal3", "Cal4", "Cal5", "Cal6"]>;
2591
+ componentSet: z.ZodEnum<["VeventOnly"]>;
2592
+ source: z.ZodEnum<["Default", "UserCreated", "MailDerived"]>;
2593
+ timezone: z.ZodString;
2594
+ syncSequence: z.ZodNumber;
2595
+ createdAt: z.ZodNumber;
2596
+ updatedAt: z.ZodNumber;
2597
+ }, "strip", z.ZodTypeAny, {
2598
+ displayName: string;
2599
+ accountConfigId: string;
2600
+ createdAt: number;
2601
+ updatedAt: number;
2602
+ source: "Default" | "UserCreated" | "MailDerived";
2603
+ color: "Cal1" | "Cal2" | "Cal3" | "Cal4" | "Cal5" | "Cal6";
2604
+ calendarId: string;
2605
+ urlSegment: string;
2606
+ componentSet: "VeventOnly";
2607
+ timezone: string;
2608
+ syncSequence: number;
2609
+ }, {
2610
+ displayName: string;
2611
+ accountConfigId: string;
2612
+ createdAt: number;
2613
+ updatedAt: number;
2614
+ source: "Default" | "UserCreated" | "MailDerived";
2615
+ color: "Cal1" | "Cal2" | "Cal3" | "Cal4" | "Cal5" | "Cal6";
2616
+ calendarId: string;
2617
+ urlSegment: string;
2618
+ componentSet: "VeventOnly";
2619
+ timezone: string;
2620
+ syncSequence: number;
2621
+ }>;
2622
+ export declare const CalendarListResponseSchema: z.ZodObject<{
2623
+ items: z.ZodArray<z.ZodObject<{
2624
+ calendarId: z.ZodString;
2625
+ accountConfigId: z.ZodString;
2626
+ urlSegment: z.ZodString;
2627
+ displayName: z.ZodString;
2628
+ color: z.ZodEnum<["Cal1", "Cal2", "Cal3", "Cal4", "Cal5", "Cal6"]>;
2629
+ componentSet: z.ZodEnum<["VeventOnly"]>;
2630
+ source: z.ZodEnum<["Default", "UserCreated", "MailDerived"]>;
2631
+ timezone: z.ZodString;
2632
+ syncSequence: z.ZodNumber;
2633
+ createdAt: z.ZodNumber;
2634
+ updatedAt: z.ZodNumber;
2635
+ }, "strip", z.ZodTypeAny, {
2636
+ displayName: string;
2637
+ accountConfigId: string;
2638
+ createdAt: number;
2639
+ updatedAt: number;
2640
+ source: "Default" | "UserCreated" | "MailDerived";
2641
+ color: "Cal1" | "Cal2" | "Cal3" | "Cal4" | "Cal5" | "Cal6";
2642
+ calendarId: string;
2643
+ urlSegment: string;
2644
+ componentSet: "VeventOnly";
2645
+ timezone: string;
2646
+ syncSequence: number;
2647
+ }, {
2648
+ displayName: string;
2649
+ accountConfigId: string;
2650
+ createdAt: number;
2651
+ updatedAt: number;
2652
+ source: "Default" | "UserCreated" | "MailDerived";
2653
+ color: "Cal1" | "Cal2" | "Cal3" | "Cal4" | "Cal5" | "Cal6";
2654
+ calendarId: string;
2655
+ urlSegment: string;
2656
+ componentSet: "VeventOnly";
2657
+ timezone: string;
2658
+ syncSequence: number;
2659
+ }>, "many">;
2660
+ }, "strip", z.ZodTypeAny, {
2661
+ items: {
2662
+ displayName: string;
2663
+ accountConfigId: string;
2664
+ createdAt: number;
2665
+ updatedAt: number;
2666
+ source: "Default" | "UserCreated" | "MailDerived";
2667
+ color: "Cal1" | "Cal2" | "Cal3" | "Cal4" | "Cal5" | "Cal6";
2668
+ calendarId: string;
2669
+ urlSegment: string;
2670
+ componentSet: "VeventOnly";
2671
+ timezone: string;
2672
+ syncSequence: number;
2673
+ }[];
2674
+ }, {
2675
+ items: {
2676
+ displayName: string;
2677
+ accountConfigId: string;
2678
+ createdAt: number;
2679
+ updatedAt: number;
2680
+ source: "Default" | "UserCreated" | "MailDerived";
2681
+ color: "Cal1" | "Cal2" | "Cal3" | "Cal4" | "Cal5" | "Cal6";
2682
+ calendarId: string;
2683
+ urlSegment: string;
2684
+ componentSet: "VeventOnly";
2685
+ timezone: string;
2686
+ syncSequence: number;
2687
+ }[];
2688
+ }>;
2689
+ export declare const CalendarCollectionSchema: z.ZodObject<{
2690
+ calendarId: z.ZodString;
2691
+ accountConfigId: z.ZodString;
2692
+ urlSegment: z.ZodString;
2693
+ displayName: z.ZodString;
2694
+ color: z.ZodEnum<["Cal1", "Cal2", "Cal3", "Cal4", "Cal5", "Cal6"]>;
2695
+ componentSet: z.ZodEnum<["VeventOnly"]>;
2696
+ source: z.ZodEnum<["Default", "UserCreated", "MailDerived"]>;
2697
+ timezone: z.ZodString;
2698
+ syncSequence: z.ZodNumber;
2699
+ createdAt: z.ZodNumber;
2700
+ updatedAt: z.ZodNumber;
2701
+ }, "strip", z.ZodTypeAny, {
2702
+ displayName: string;
2703
+ accountConfigId: string;
2704
+ createdAt: number;
2705
+ updatedAt: number;
2706
+ source: "Default" | "UserCreated" | "MailDerived";
2707
+ color: "Cal1" | "Cal2" | "Cal3" | "Cal4" | "Cal5" | "Cal6";
2708
+ calendarId: string;
2709
+ urlSegment: string;
2710
+ componentSet: "VeventOnly";
2711
+ timezone: string;
2712
+ syncSequence: number;
2713
+ }, {
2714
+ displayName: string;
2715
+ accountConfigId: string;
2716
+ createdAt: number;
2717
+ updatedAt: number;
2718
+ source: "Default" | "UserCreated" | "MailDerived";
2719
+ color: "Cal1" | "Cal2" | "Cal3" | "Cal4" | "Cal5" | "Cal6";
2720
+ calendarId: string;
2721
+ urlSegment: string;
2722
+ componentSet: "VeventOnly";
2723
+ timezone: string;
2724
+ syncSequence: number;
2725
+ }>;
2726
+ export declare const CreateCalendarInputSchema: z.ZodObject<{
2727
+ displayName: z.ZodString;
2728
+ urlSegment: z.ZodString;
2729
+ color: z.ZodOptional<z.ZodEnum<["Cal1", "Cal2", "Cal3", "Cal4", "Cal5", "Cal6"]>>;
2730
+ timezone: z.ZodOptional<z.ZodString>;
2731
+ }, "strip", z.ZodTypeAny, {
2732
+ displayName: string;
2733
+ urlSegment: string;
2734
+ color?: "Cal1" | "Cal2" | "Cal3" | "Cal4" | "Cal5" | "Cal6" | undefined;
2735
+ timezone?: string | undefined;
2736
+ }, {
2737
+ displayName: string;
2738
+ urlSegment: string;
2739
+ color?: "Cal1" | "Cal2" | "Cal3" | "Cal4" | "Cal5" | "Cal6" | undefined;
2740
+ timezone?: string | undefined;
2741
+ }>;
2742
+ export declare const UpdateCalendarInputSchema: z.ZodObject<{
2743
+ displayName: z.ZodString;
2744
+ color: z.ZodEnum<["Cal1", "Cal2", "Cal3", "Cal4", "Cal5", "Cal6"]>;
2745
+ timezone: z.ZodString;
2746
+ }, "strip", z.ZodTypeAny, {
2747
+ displayName: string;
2748
+ color: "Cal1" | "Cal2" | "Cal3" | "Cal4" | "Cal5" | "Cal6";
2749
+ timezone: string;
2750
+ }, {
2751
+ displayName: string;
2752
+ color: "Cal1" | "Cal2" | "Cal3" | "Cal4" | "Cal5" | "Cal6";
2753
+ timezone: string;
2754
+ }>;
2755
+ export declare const CalendarNoContentSchema: z.ZodObject<{
2756
+ statusCode: z.ZodLiteral<204>;
2757
+ }, "strip", z.ZodTypeAny, {
2758
+ statusCode: 204;
2759
+ }, {
2760
+ statusCode: 204;
2761
+ }>;
2762
+ export declare const CalendarEventInstanceSchema: z.ZodObject<{
2763
+ calendarId: z.ZodString;
2764
+ calendarObjectId: z.ZodString;
2765
+ recurrenceId: z.ZodString;
2766
+ icalUid: z.ZodString;
2767
+ summary: z.ZodString;
2768
+ start: z.ZodString;
2769
+ end: z.ZodString;
2770
+ allDay: z.ZodBoolean;
2771
+ status: z.ZodEnum<["Confirmed", "Tentative", "Cancelled"]>;
2772
+ transparency: z.ZodEnum<["Opaque", "Transparent"]>;
2773
+ zoneCertainty: z.ZodEnum<["Local", "Explicit", "Ambiguous"]>;
2774
+ etag: z.ZodString;
2775
+ hasRecurrence: z.ZodBoolean;
2776
+ }, "strip", z.ZodTypeAny, {
2777
+ status: "Confirmed" | "Tentative" | "Cancelled";
2778
+ summary: string;
2779
+ calendarId: string;
2780
+ calendarObjectId: string;
2781
+ recurrenceId: string;
2782
+ icalUid: string;
2783
+ start: string;
2784
+ end: string;
2785
+ allDay: boolean;
2786
+ transparency: "Opaque" | "Transparent";
2787
+ zoneCertainty: "Local" | "Explicit" | "Ambiguous";
2788
+ etag: string;
2789
+ hasRecurrence: boolean;
2790
+ }, {
2791
+ status: "Confirmed" | "Tentative" | "Cancelled";
2792
+ summary: string;
2793
+ calendarId: string;
2794
+ calendarObjectId: string;
2795
+ recurrenceId: string;
2796
+ icalUid: string;
2797
+ start: string;
2798
+ end: string;
2799
+ allDay: boolean;
2800
+ transparency: "Opaque" | "Transparent";
2801
+ zoneCertainty: "Local" | "Explicit" | "Ambiguous";
2802
+ etag: string;
2803
+ hasRecurrence: boolean;
2804
+ }>;
2805
+ export declare const CalendarEventListResponseSchema: z.ZodObject<{
2806
+ items: z.ZodArray<z.ZodObject<{
2807
+ calendarId: z.ZodString;
2808
+ calendarObjectId: z.ZodString;
2809
+ recurrenceId: z.ZodString;
2810
+ icalUid: z.ZodString;
2811
+ summary: z.ZodString;
2812
+ start: z.ZodString;
2813
+ end: z.ZodString;
2814
+ allDay: z.ZodBoolean;
2815
+ status: z.ZodEnum<["Confirmed", "Tentative", "Cancelled"]>;
2816
+ transparency: z.ZodEnum<["Opaque", "Transparent"]>;
2817
+ zoneCertainty: z.ZodEnum<["Local", "Explicit", "Ambiguous"]>;
2818
+ etag: z.ZodString;
2819
+ hasRecurrence: z.ZodBoolean;
2820
+ }, "strip", z.ZodTypeAny, {
2821
+ status: "Confirmed" | "Tentative" | "Cancelled";
2822
+ summary: string;
2823
+ calendarId: string;
2824
+ calendarObjectId: string;
2825
+ recurrenceId: string;
2826
+ icalUid: string;
2827
+ start: string;
2828
+ end: string;
2829
+ allDay: boolean;
2830
+ transparency: "Opaque" | "Transparent";
2831
+ zoneCertainty: "Local" | "Explicit" | "Ambiguous";
2832
+ etag: string;
2833
+ hasRecurrence: boolean;
2834
+ }, {
2835
+ status: "Confirmed" | "Tentative" | "Cancelled";
2836
+ summary: string;
2837
+ calendarId: string;
2838
+ calendarObjectId: string;
2839
+ recurrenceId: string;
2840
+ icalUid: string;
2841
+ start: string;
2842
+ end: string;
2843
+ allDay: boolean;
2844
+ transparency: "Opaque" | "Transparent";
2845
+ zoneCertainty: "Local" | "Explicit" | "Ambiguous";
2846
+ etag: string;
2847
+ hasRecurrence: boolean;
2848
+ }>, "many">;
2849
+ }, "strip", z.ZodTypeAny, {
2850
+ items: {
2851
+ status: "Confirmed" | "Tentative" | "Cancelled";
2852
+ summary: string;
2853
+ calendarId: string;
2854
+ calendarObjectId: string;
2855
+ recurrenceId: string;
2856
+ icalUid: string;
2857
+ start: string;
2858
+ end: string;
2859
+ allDay: boolean;
2860
+ transparency: "Opaque" | "Transparent";
2861
+ zoneCertainty: "Local" | "Explicit" | "Ambiguous";
2862
+ etag: string;
2863
+ hasRecurrence: boolean;
2864
+ }[];
2865
+ }, {
2866
+ items: {
2867
+ status: "Confirmed" | "Tentative" | "Cancelled";
2868
+ summary: string;
2869
+ calendarId: string;
2870
+ calendarObjectId: string;
2871
+ recurrenceId: string;
2872
+ icalUid: string;
2873
+ start: string;
2874
+ end: string;
2875
+ allDay: boolean;
2876
+ transparency: "Opaque" | "Transparent";
2877
+ zoneCertainty: "Local" | "Explicit" | "Ambiguous";
2878
+ etag: string;
2879
+ hasRecurrence: boolean;
2880
+ }[];
2881
+ }>;
2882
+ export declare const CreateCalendarEventInputSchema: z.ZodObject<{
2883
+ calendarId: z.ZodString;
2884
+ summary: z.ZodString;
2885
+ description: z.ZodOptional<z.ZodString>;
2886
+ location: z.ZodOptional<z.ZodString>;
2887
+ start: z.ZodString;
2888
+ end: z.ZodString;
2889
+ allDay: z.ZodOptional<z.ZodBoolean>;
2890
+ timeZone: z.ZodOptional<z.ZodString>;
2891
+ status: z.ZodOptional<z.ZodEnum<["Confirmed", "Tentative", "Cancelled"]>>;
2892
+ transparency: z.ZodOptional<z.ZodEnum<["Opaque", "Transparent"]>>;
2893
+ recurrenceRule: z.ZodOptional<z.ZodString>;
2894
+ }, "strip", z.ZodTypeAny, {
2895
+ summary: string;
2896
+ calendarId: string;
2897
+ start: string;
2898
+ end: string;
2899
+ status?: "Confirmed" | "Tentative" | "Cancelled" | undefined;
2900
+ allDay?: boolean | undefined;
2901
+ transparency?: "Opaque" | "Transparent" | undefined;
2902
+ description?: string | undefined;
2903
+ location?: string | undefined;
2904
+ timeZone?: string | undefined;
2905
+ recurrenceRule?: string | undefined;
2906
+ }, {
2907
+ summary: string;
2908
+ calendarId: string;
2909
+ start: string;
2910
+ end: string;
2911
+ status?: "Confirmed" | "Tentative" | "Cancelled" | undefined;
2912
+ allDay?: boolean | undefined;
2913
+ transparency?: "Opaque" | "Transparent" | undefined;
2914
+ description?: string | undefined;
2915
+ location?: string | undefined;
2916
+ timeZone?: string | undefined;
2917
+ recurrenceRule?: string | undefined;
2918
+ }>;
2919
+ export declare const CalendarObjectSchema: z.ZodObject<{
2920
+ calendarObjectId: z.ZodString;
2921
+ calendarId: z.ZodString;
2922
+ resourceName: z.ZodString;
2923
+ icalUid: z.ZodString;
2924
+ icalData: z.ZodString;
2925
+ etag: z.ZodString;
2926
+ sequence: z.ZodNumber;
2927
+ syncSequence: z.ZodNumber;
2928
+ summary: z.ZodString;
2929
+ dtStart: z.ZodString;
2930
+ dtEnd: z.ZodString;
2931
+ allDay: z.ZodBoolean;
2932
+ zoneCertainty: z.ZodEnum<["Local", "Explicit", "Ambiguous"]>;
2933
+ status: z.ZodEnum<["Confirmed", "Tentative", "Cancelled"]>;
2934
+ transparency: z.ZodEnum<["Opaque", "Transparent"]>;
2935
+ hasRecurrence: z.ZodBoolean;
2936
+ expandedThrough: z.ZodString;
2937
+ createdAt: z.ZodNumber;
2938
+ updatedAt: z.ZodNumber;
2939
+ }, "strip", z.ZodTypeAny, {
2940
+ status: "Confirmed" | "Tentative" | "Cancelled";
2941
+ createdAt: number;
2942
+ updatedAt: number;
2943
+ summary: string;
2944
+ calendarId: string;
2945
+ syncSequence: number;
2946
+ calendarObjectId: string;
2947
+ icalUid: string;
2948
+ allDay: boolean;
2949
+ transparency: "Opaque" | "Transparent";
2950
+ zoneCertainty: "Local" | "Explicit" | "Ambiguous";
2951
+ etag: string;
2952
+ hasRecurrence: boolean;
2953
+ resourceName: string;
2954
+ icalData: string;
2955
+ sequence: number;
2956
+ dtStart: string;
2957
+ dtEnd: string;
2958
+ expandedThrough: string;
2959
+ }, {
2960
+ status: "Confirmed" | "Tentative" | "Cancelled";
2961
+ createdAt: number;
2962
+ updatedAt: number;
2963
+ summary: string;
2964
+ calendarId: string;
2965
+ syncSequence: number;
2966
+ calendarObjectId: string;
2967
+ icalUid: string;
2968
+ allDay: boolean;
2969
+ transparency: "Opaque" | "Transparent";
2970
+ zoneCertainty: "Local" | "Explicit" | "Ambiguous";
2971
+ etag: string;
2972
+ hasRecurrence: boolean;
2973
+ resourceName: string;
2974
+ icalData: string;
2975
+ sequence: number;
2976
+ dtStart: string;
2977
+ dtEnd: string;
2978
+ expandedThrough: string;
2979
+ }>;
2980
+ export declare const CalendarEventResponseSchema: z.ZodObject<{
2981
+ calendarObjectId: z.ZodString;
2982
+ calendarId: z.ZodString;
2983
+ resourceName: z.ZodString;
2984
+ icalUid: z.ZodString;
2985
+ icalData: z.ZodString;
2986
+ etag: z.ZodString;
2987
+ sequence: z.ZodNumber;
2988
+ syncSequence: z.ZodNumber;
2989
+ summary: z.ZodString;
2990
+ dtStart: z.ZodString;
2991
+ dtEnd: z.ZodString;
2992
+ allDay: z.ZodBoolean;
2993
+ zoneCertainty: z.ZodEnum<["Local", "Explicit", "Ambiguous"]>;
2994
+ status: z.ZodEnum<["Confirmed", "Tentative", "Cancelled"]>;
2995
+ transparency: z.ZodEnum<["Opaque", "Transparent"]>;
2996
+ hasRecurrence: z.ZodBoolean;
2997
+ expandedThrough: z.ZodString;
2998
+ createdAt: z.ZodNumber;
2999
+ updatedAt: z.ZodNumber;
3000
+ }, "strip", z.ZodTypeAny, {
3001
+ status: "Confirmed" | "Tentative" | "Cancelled";
3002
+ createdAt: number;
3003
+ updatedAt: number;
3004
+ summary: string;
3005
+ calendarId: string;
3006
+ syncSequence: number;
3007
+ calendarObjectId: string;
3008
+ icalUid: string;
3009
+ allDay: boolean;
3010
+ transparency: "Opaque" | "Transparent";
3011
+ zoneCertainty: "Local" | "Explicit" | "Ambiguous";
3012
+ etag: string;
3013
+ hasRecurrence: boolean;
3014
+ resourceName: string;
3015
+ icalData: string;
3016
+ sequence: number;
3017
+ dtStart: string;
3018
+ dtEnd: string;
3019
+ expandedThrough: string;
3020
+ }, {
3021
+ status: "Confirmed" | "Tentative" | "Cancelled";
3022
+ createdAt: number;
3023
+ updatedAt: number;
3024
+ summary: string;
3025
+ calendarId: string;
3026
+ syncSequence: number;
3027
+ calendarObjectId: string;
3028
+ icalUid: string;
3029
+ allDay: boolean;
3030
+ transparency: "Opaque" | "Transparent";
3031
+ zoneCertainty: "Local" | "Explicit" | "Ambiguous";
3032
+ etag: string;
3033
+ hasRecurrence: boolean;
3034
+ resourceName: string;
3035
+ icalData: string;
3036
+ sequence: number;
3037
+ dtStart: string;
3038
+ dtEnd: string;
3039
+ expandedThrough: string;
3040
+ }>;
3041
+ export declare const UpdateCalendarEventInputSchema: z.ZodObject<{
3042
+ summary: z.ZodOptional<z.ZodString>;
3043
+ description: z.ZodOptional<z.ZodString>;
3044
+ location: z.ZodOptional<z.ZodString>;
3045
+ start: z.ZodOptional<z.ZodString>;
3046
+ end: z.ZodOptional<z.ZodString>;
3047
+ allDay: z.ZodOptional<z.ZodBoolean>;
3048
+ timeZone: z.ZodOptional<z.ZodString>;
3049
+ status: z.ZodOptional<z.ZodEnum<["Confirmed", "Tentative", "Cancelled"]>>;
3050
+ transparency: z.ZodOptional<z.ZodEnum<["Opaque", "Transparent"]>>;
3051
+ recurrenceRule: z.ZodOptional<z.ZodString>;
3052
+ }, "strip", z.ZodTypeAny, {
3053
+ status?: "Confirmed" | "Tentative" | "Cancelled" | undefined;
3054
+ summary?: string | undefined;
3055
+ start?: string | undefined;
3056
+ end?: string | undefined;
3057
+ allDay?: boolean | undefined;
3058
+ transparency?: "Opaque" | "Transparent" | undefined;
3059
+ description?: string | undefined;
3060
+ location?: string | undefined;
3061
+ timeZone?: string | undefined;
3062
+ recurrenceRule?: string | undefined;
3063
+ }, {
3064
+ status?: "Confirmed" | "Tentative" | "Cancelled" | undefined;
3065
+ summary?: string | undefined;
3066
+ start?: string | undefined;
3067
+ end?: string | undefined;
3068
+ allDay?: boolean | undefined;
3069
+ transparency?: "Opaque" | "Transparent" | undefined;
3070
+ description?: string | undefined;
3071
+ location?: string | undefined;
3072
+ timeZone?: string | undefined;
3073
+ recurrenceRule?: string | undefined;
3074
+ }>;
3075
+ export declare const CalendarFreeBusySpanSchema: z.ZodObject<{
3076
+ start: z.ZodString;
3077
+ end: z.ZodString;
3078
+ }, "strip", z.ZodTypeAny, {
3079
+ start: string;
3080
+ end: string;
3081
+ }, {
3082
+ start: string;
3083
+ end: string;
3084
+ }>;
3085
+ export declare const CalendarFreeBusyResponseSchema: z.ZodObject<{
3086
+ items: z.ZodArray<z.ZodObject<{
3087
+ start: z.ZodString;
3088
+ end: z.ZodString;
3089
+ }, "strip", z.ZodTypeAny, {
3090
+ start: string;
3091
+ end: string;
2497
3092
  }, {
2498
- value: string;
2499
- field: "From" | "Subject" | "HasWords" | "ListId" | "FromDomain";
3093
+ start: string;
3094
+ end: string;
2500
3095
  }>, "many">;
2501
- similarityThreshold: z.ZodNumber;
2502
- actionLabelId: z.ZodString;
2503
- actionMailboxId: z.ZodString;
2504
- matchedCount: z.ZodNumber;
2505
- appliedCount: z.ZodNumber;
2506
- failedCount: z.ZodNumber;
2507
- errorMessage: z.ZodString;
2508
- createdAt: z.ZodNumber;
2509
- updatedAt: z.ZodNumber;
2510
3096
  }, "strip", z.ZodTypeAny, {
2511
- accountConfigId: string;
2512
- userId: string;
2513
- state: "Pending" | "Failed" | "Running" | "Complete";
2514
- createdAt: number;
2515
- updatedAt: number;
2516
- errorMessage: string;
2517
- matchOperator: "And" | "Or";
2518
- literalClauses: {
2519
- value: string;
2520
- field: "From" | "Subject" | "HasWords" | "ListId" | "FromDomain";
3097
+ items: {
3098
+ start: string;
3099
+ end: string;
2521
3100
  }[];
2522
- actionLabelId: string;
2523
- actionMailboxId: string;
2524
- anchorMessageId: string;
2525
- similarityThreshold: number;
2526
- organizeJobId: string;
2527
- matchedCount: number;
2528
- appliedCount: number;
2529
- failedCount: number;
2530
3101
  }, {
2531
- accountConfigId: string;
2532
- userId: string;
2533
- state: "Pending" | "Failed" | "Running" | "Complete";
2534
- createdAt: number;
2535
- updatedAt: number;
2536
- errorMessage: string;
2537
- matchOperator: "And" | "Or";
2538
- literalClauses: {
2539
- value: string;
2540
- field: "From" | "Subject" | "HasWords" | "ListId" | "FromDomain";
3102
+ items: {
3103
+ start: string;
3104
+ end: string;
2541
3105
  }[];
2542
- actionLabelId: string;
2543
- actionMailboxId: string;
2544
- anchorMessageId: string;
2545
- similarityThreshold: number;
2546
- organizeJobId: string;
2547
- matchedCount: number;
2548
- appliedCount: number;
2549
- failedCount: number;
2550
3106
  }>;
2551
3107
  export declare const EmptyTrashResponseSchema: z.ZodObject<{
2552
3108
  deletedCount: z.ZodNumber;
@@ -13702,6 +14258,7 @@ export declare const BodyPartSchema: z.ZodObject<{
13702
14258
  sizeOctets: number;
13703
14259
  isMultipart: boolean;
13704
14260
  partPath: string;
14261
+ location?: string | undefined;
13705
14262
  contentId?: string | undefined;
13706
14263
  disposition?: "attachment" | "inline" | undefined;
13707
14264
  dispositionFilename?: string | undefined;
@@ -13710,7 +14267,6 @@ export declare const BodyPartSchema: z.ZodObject<{
13710
14267
  lineCount?: number | undefined;
13711
14268
  md5Hash?: string | undefined;
13712
14269
  language?: string | undefined;
13713
- location?: string | undefined;
13714
14270
  multipartSubtype?: "mixed" | "alternative" | "digest" | "parallel" | "related" | "signed" | "encrypted" | "form-data" | "report" | undefined;
13715
14271
  }, {
13716
14272
  createdAt: number;
@@ -13723,6 +14279,7 @@ export declare const BodyPartSchema: z.ZodObject<{
13723
14279
  sizeOctets: number;
13724
14280
  isMultipart: boolean;
13725
14281
  partPath: string;
14282
+ location?: string | undefined;
13726
14283
  contentId?: string | undefined;
13727
14284
  disposition?: "attachment" | "inline" | undefined;
13728
14285
  dispositionFilename?: string | undefined;
@@ -13731,7 +14288,6 @@ export declare const BodyPartSchema: z.ZodObject<{
13731
14288
  lineCount?: number | undefined;
13732
14289
  md5Hash?: string | undefined;
13733
14290
  language?: string | undefined;
13734
- location?: string | undefined;
13735
14291
  multipartSubtype?: "mixed" | "alternative" | "digest" | "parallel" | "related" | "signed" | "encrypted" | "form-data" | "report" | undefined;
13736
14292
  }>;
13737
14293
  export declare const MessageReferenceSchema: z.ZodObject<{
@@ -13896,6 +14452,145 @@ export declare const SpamReportBulkResultSchema: z.ZodObject<{
13896
14452
  messageId: string;
13897
14453
  }[] | undefined;
13898
14454
  }>;
14455
+ export declare const CalendarSuggestionSchema: z.ZodObject<{
14456
+ suggestionId: z.ZodString;
14457
+ accountConfigId: z.ZodString;
14458
+ messageId: z.ZodString;
14459
+ bodyPartId: z.ZodString;
14460
+ icalUid: z.ZodString;
14461
+ sequence: z.ZodNumber;
14462
+ method: z.ZodEnum<["Request", "Reply", "Cancel", "Counter", "Publish", "None"]>;
14463
+ source: z.ZodEnum<["IcalendarPart", "IcalendarAttachment", "TextHeuristic"]>;
14464
+ state: z.ZodEnum<["Pending", "Accepted", "Declined", "Tentative", "Dismissed", "Superseded"]>;
14465
+ summary: z.ZodString;
14466
+ dtStart: z.ZodString;
14467
+ dtEnd: z.ZodString;
14468
+ allDay: z.ZodBoolean;
14469
+ location: z.ZodString;
14470
+ organizer: z.ZodString;
14471
+ zoneCertainty: z.ZodEnum<["Local", "Explicit", "Ambiguous"]>;
14472
+ icalData: z.ZodString;
14473
+ acceptedCalendarObjectId: z.ZodString;
14474
+ createdAt: z.ZodNumber;
14475
+ updatedAt: z.ZodNumber;
14476
+ }, "strip", z.ZodTypeAny, {
14477
+ accountConfigId: string;
14478
+ state: "Pending" | "Tentative" | "Accepted" | "Declined" | "Dismissed" | "Superseded";
14479
+ createdAt: number;
14480
+ updatedAt: number;
14481
+ source: "IcalendarPart" | "IcalendarAttachment" | "TextHeuristic";
14482
+ summary: string;
14483
+ icalUid: string;
14484
+ allDay: boolean;
14485
+ zoneCertainty: "Local" | "Explicit" | "Ambiguous";
14486
+ location: string;
14487
+ icalData: string;
14488
+ sequence: number;
14489
+ dtStart: string;
14490
+ dtEnd: string;
14491
+ messageId: string;
14492
+ bodyPartId: string;
14493
+ suggestionId: string;
14494
+ method: "None" | "Request" | "Reply" | "Cancel" | "Counter" | "Publish";
14495
+ organizer: string;
14496
+ acceptedCalendarObjectId: string;
14497
+ }, {
14498
+ accountConfigId: string;
14499
+ state: "Pending" | "Tentative" | "Accepted" | "Declined" | "Dismissed" | "Superseded";
14500
+ createdAt: number;
14501
+ updatedAt: number;
14502
+ source: "IcalendarPart" | "IcalendarAttachment" | "TextHeuristic";
14503
+ summary: string;
14504
+ icalUid: string;
14505
+ allDay: boolean;
14506
+ zoneCertainty: "Local" | "Explicit" | "Ambiguous";
14507
+ location: string;
14508
+ icalData: string;
14509
+ sequence: number;
14510
+ dtStart: string;
14511
+ dtEnd: string;
14512
+ messageId: string;
14513
+ bodyPartId: string;
14514
+ suggestionId: string;
14515
+ method: "None" | "Request" | "Reply" | "Cancel" | "Counter" | "Publish";
14516
+ organizer: string;
14517
+ acceptedCalendarObjectId: string;
14518
+ }>;
14519
+ export declare const CalendarSuggestionResponseSchema: z.ZodObject<{
14520
+ suggestionId: z.ZodString;
14521
+ accountConfigId: z.ZodString;
14522
+ messageId: z.ZodString;
14523
+ bodyPartId: z.ZodString;
14524
+ icalUid: z.ZodString;
14525
+ sequence: z.ZodNumber;
14526
+ method: z.ZodEnum<["Request", "Reply", "Cancel", "Counter", "Publish", "None"]>;
14527
+ source: z.ZodEnum<["IcalendarPart", "IcalendarAttachment", "TextHeuristic"]>;
14528
+ state: z.ZodEnum<["Pending", "Accepted", "Declined", "Tentative", "Dismissed", "Superseded"]>;
14529
+ summary: z.ZodString;
14530
+ dtStart: z.ZodString;
14531
+ dtEnd: z.ZodString;
14532
+ allDay: z.ZodBoolean;
14533
+ location: z.ZodString;
14534
+ organizer: z.ZodString;
14535
+ zoneCertainty: z.ZodEnum<["Local", "Explicit", "Ambiguous"]>;
14536
+ acceptedCalendarObjectId: z.ZodString;
14537
+ createdAt: z.ZodNumber;
14538
+ updatedAt: z.ZodNumber;
14539
+ }, "strip", z.ZodTypeAny, {
14540
+ accountConfigId: string;
14541
+ state: "Pending" | "Tentative" | "Accepted" | "Declined" | "Dismissed" | "Superseded";
14542
+ createdAt: number;
14543
+ updatedAt: number;
14544
+ source: "IcalendarPart" | "IcalendarAttachment" | "TextHeuristic";
14545
+ summary: string;
14546
+ icalUid: string;
14547
+ allDay: boolean;
14548
+ zoneCertainty: "Local" | "Explicit" | "Ambiguous";
14549
+ location: string;
14550
+ sequence: number;
14551
+ dtStart: string;
14552
+ dtEnd: string;
14553
+ messageId: string;
14554
+ bodyPartId: string;
14555
+ suggestionId: string;
14556
+ method: "None" | "Request" | "Reply" | "Cancel" | "Counter" | "Publish";
14557
+ organizer: string;
14558
+ acceptedCalendarObjectId: string;
14559
+ }, {
14560
+ accountConfigId: string;
14561
+ state: "Pending" | "Tentative" | "Accepted" | "Declined" | "Dismissed" | "Superseded";
14562
+ createdAt: number;
14563
+ updatedAt: number;
14564
+ source: "IcalendarPart" | "IcalendarAttachment" | "TextHeuristic";
14565
+ summary: string;
14566
+ icalUid: string;
14567
+ allDay: boolean;
14568
+ zoneCertainty: "Local" | "Explicit" | "Ambiguous";
14569
+ location: string;
14570
+ sequence: number;
14571
+ dtStart: string;
14572
+ dtEnd: string;
14573
+ messageId: string;
14574
+ bodyPartId: string;
14575
+ suggestionId: string;
14576
+ method: "None" | "Request" | "Reply" | "Cancel" | "Counter" | "Publish";
14577
+ organizer: string;
14578
+ acceptedCalendarObjectId: string;
14579
+ }>;
14580
+ export declare const AcceptCalendarSuggestionInputSchema: z.ZodObject<{
14581
+ calendarId: z.ZodString;
14582
+ }, "strip", z.ZodTypeAny, {
14583
+ calendarId: string;
14584
+ }, {
14585
+ calendarId: string;
14586
+ }>;
14587
+ export declare const DismissCalendarSuggestionInputSchema: z.ZodObject<{
14588
+ muteSender: z.ZodBoolean;
14589
+ }, "strip", z.ZodTypeAny, {
14590
+ muteSender: boolean;
14591
+ }, {
14592
+ muteSender: boolean;
14593
+ }>;
13899
14594
  export declare const EnvelopeAddressSchema: z.ZodObject<{
13900
14595
  envelopeAddressId: z.ZodString;
13901
14596
  messageId: z.ZodString;
@@ -14593,61 +15288,16 @@ export declare const BodyPartContentSchema: z.ZodObject<{
14593
15288
  content: string;
14594
15289
  contentLength: number;
14595
15290
  }>;
14596
- export declare const CalendarCollectionSchema: z.ZodObject<{
15291
+ export declare const CalendarEventIndexSchema: z.ZodObject<{
14597
15292
  calendarId: z.ZodString;
14598
- accountConfigId: z.ZodString;
14599
- urlSegment: z.ZodString;
14600
- displayName: z.ZodString;
14601
- color: z.ZodEnum<["Cal1", "Cal2", "Cal3", "Cal4", "Cal5", "Cal6"]>;
14602
- componentSet: z.ZodEnum<["VeventOnly"]>;
14603
- source: z.ZodEnum<["Default", "UserCreated", "MailDerived"]>;
14604
- timezone: z.ZodString;
14605
- syncSequence: z.ZodNumber;
14606
- createdAt: z.ZodNumber;
14607
- updatedAt: z.ZodNumber;
14608
- }, "strip", z.ZodTypeAny, {
14609
- displayName: string;
14610
- accountConfigId: string;
14611
- createdAt: number;
14612
- updatedAt: number;
14613
- source: "Default" | "UserCreated" | "MailDerived";
14614
- color: "Cal1" | "Cal2" | "Cal3" | "Cal4" | "Cal5" | "Cal6";
14615
- calendarId: string;
14616
- urlSegment: string;
14617
- componentSet: "VeventOnly";
14618
- timezone: string;
14619
- syncSequence: number;
14620
- }, {
14621
- displayName: string;
14622
- accountConfigId: string;
14623
- createdAt: number;
14624
- updatedAt: number;
14625
- source: "Default" | "UserCreated" | "MailDerived";
14626
- color: "Cal1" | "Cal2" | "Cal3" | "Cal4" | "Cal5" | "Cal6";
14627
- calendarId: string;
14628
- urlSegment: string;
14629
- componentSet: "VeventOnly";
14630
- timezone: string;
14631
- syncSequence: number;
14632
- }>;
14633
- export declare const CalendarObjectSchema: z.ZodObject<{
14634
15293
  calendarObjectId: z.ZodString;
14635
- calendarId: z.ZodString;
14636
- resourceName: z.ZodString;
14637
- icalUid: z.ZodString;
14638
- icalData: z.ZodString;
14639
- etag: z.ZodString;
14640
- sequence: z.ZodNumber;
14641
- syncSequence: z.ZodNumber;
14642
- summary: z.ZodString;
14643
- dtStart: z.ZodString;
14644
- dtEnd: z.ZodString;
15294
+ recurrenceId: z.ZodString;
15295
+ startAt: z.ZodString;
15296
+ endAt: z.ZodString;
14645
15297
  allDay: z.ZodBoolean;
14646
- zoneCertainty: z.ZodEnum<["Local", "Explicit", "Ambiguous"]>;
15298
+ summary: z.ZodString;
14647
15299
  status: z.ZodEnum<["Confirmed", "Tentative", "Cancelled"]>;
14648
15300
  transparency: z.ZodEnum<["Opaque", "Transparent"]>;
14649
- hasRecurrence: z.ZodBoolean;
14650
- expandedThrough: z.ZodString;
14651
15301
  createdAt: z.ZodNumber;
14652
15302
  updatedAt: z.ZodNumber;
14653
15303
  }, "strip", z.ZodTypeAny, {
@@ -14656,66 +15306,22 @@ export declare const CalendarObjectSchema: z.ZodObject<{
14656
15306
  updatedAt: number;
14657
15307
  summary: string;
14658
15308
  calendarId: string;
14659
- syncSequence: number;
14660
15309
  calendarObjectId: string;
14661
- resourceName: string;
14662
- icalUid: string;
14663
- icalData: string;
14664
- etag: string;
14665
- sequence: number;
14666
- dtStart: string;
14667
- dtEnd: string;
15310
+ recurrenceId: string;
14668
15311
  allDay: boolean;
14669
- zoneCertainty: "Local" | "Explicit" | "Ambiguous";
14670
15312
  transparency: "Opaque" | "Transparent";
14671
- hasRecurrence: boolean;
14672
- expandedThrough: string;
15313
+ startAt: string;
15314
+ endAt: string;
14673
15315
  }, {
14674
15316
  status: "Confirmed" | "Tentative" | "Cancelled";
14675
15317
  createdAt: number;
14676
15318
  updatedAt: number;
14677
15319
  summary: string;
14678
15320
  calendarId: string;
14679
- syncSequence: number;
14680
- calendarObjectId: string;
14681
- resourceName: string;
14682
- icalUid: string;
14683
- icalData: string;
14684
- etag: string;
14685
- sequence: number;
14686
- dtStart: string;
14687
- dtEnd: string;
14688
- allDay: boolean;
14689
- zoneCertainty: "Local" | "Explicit" | "Ambiguous";
14690
- transparency: "Opaque" | "Transparent";
14691
- hasRecurrence: boolean;
14692
- expandedThrough: string;
14693
- }>;
14694
- export declare const CalendarEventIndexSchema: z.ZodObject<{
14695
- calendarId: z.ZodString;
14696
- calendarObjectId: z.ZodString;
14697
- recurrenceId: z.ZodString;
14698
- startAt: z.ZodString;
14699
- endAt: z.ZodString;
14700
- allDay: z.ZodBoolean;
14701
- createdAt: z.ZodNumber;
14702
- updatedAt: z.ZodNumber;
14703
- }, "strip", z.ZodTypeAny, {
14704
- createdAt: number;
14705
- updatedAt: number;
14706
- calendarId: string;
14707
15321
  calendarObjectId: string;
14708
- allDay: boolean;
14709
15322
  recurrenceId: string;
14710
- startAt: string;
14711
- endAt: string;
14712
- }, {
14713
- createdAt: number;
14714
- updatedAt: number;
14715
- calendarId: string;
14716
- calendarObjectId: string;
14717
15323
  allDay: boolean;
14718
- recurrenceId: string;
15324
+ transparency: "Opaque" | "Transparent";
14719
15325
  startAt: string;
14720
15326
  endAt: string;
14721
15327
  }>;