@remit/api-zod-schemas 0.0.32 → 0.0.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +24 -1
- package/package.json +1 -1
- package/schemas.d.ts +628 -32
- package/schemas.d.ts.map +1 -1
- package/schemas.js +163 -4
- package/schemas.js.map +1 -1
- package/schemas.ts +187 -5
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"]>;
|
|
@@ -148,6 +155,66 @@ export declare const AppointFolderRoleConflictSchema: z.ZodObject<{
|
|
|
148
155
|
statusCode: 409;
|
|
149
156
|
details?: Record<string, string> | undefined;
|
|
150
157
|
}>;
|
|
158
|
+
export declare const NotFoundErrorSchema: z.ZodObject<{
|
|
159
|
+
statusCode: z.ZodLiteral<404>;
|
|
160
|
+
error: z.ZodObject<{
|
|
161
|
+
code: z.ZodString;
|
|
162
|
+
message: z.ZodString;
|
|
163
|
+
details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
164
|
+
}, "strip", z.ZodTypeAny, {
|
|
165
|
+
code: string;
|
|
166
|
+
message: string;
|
|
167
|
+
details?: Record<string, string> | undefined;
|
|
168
|
+
}, {
|
|
169
|
+
code: string;
|
|
170
|
+
message: string;
|
|
171
|
+
details?: Record<string, string> | undefined;
|
|
172
|
+
}>;
|
|
173
|
+
}, "strip", z.ZodTypeAny, {
|
|
174
|
+
error: {
|
|
175
|
+
code: string;
|
|
176
|
+
message: string;
|
|
177
|
+
details?: Record<string, string> | undefined;
|
|
178
|
+
};
|
|
179
|
+
statusCode: 404;
|
|
180
|
+
}, {
|
|
181
|
+
error: {
|
|
182
|
+
code: string;
|
|
183
|
+
message: string;
|
|
184
|
+
details?: Record<string, string> | undefined;
|
|
185
|
+
};
|
|
186
|
+
statusCode: 404;
|
|
187
|
+
}>;
|
|
188
|
+
export declare const PreconditionFailedErrorSchema: z.ZodObject<{
|
|
189
|
+
statusCode: z.ZodLiteral<412>;
|
|
190
|
+
error: z.ZodObject<{
|
|
191
|
+
code: z.ZodString;
|
|
192
|
+
message: z.ZodString;
|
|
193
|
+
details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
194
|
+
}, "strip", z.ZodTypeAny, {
|
|
195
|
+
code: string;
|
|
196
|
+
message: string;
|
|
197
|
+
details?: Record<string, string> | undefined;
|
|
198
|
+
}, {
|
|
199
|
+
code: string;
|
|
200
|
+
message: string;
|
|
201
|
+
details?: Record<string, string> | undefined;
|
|
202
|
+
}>;
|
|
203
|
+
}, "strip", z.ZodTypeAny, {
|
|
204
|
+
error: {
|
|
205
|
+
code: string;
|
|
206
|
+
message: string;
|
|
207
|
+
details?: Record<string, string> | undefined;
|
|
208
|
+
};
|
|
209
|
+
statusCode: 412;
|
|
210
|
+
}, {
|
|
211
|
+
error: {
|
|
212
|
+
code: string;
|
|
213
|
+
message: string;
|
|
214
|
+
details?: Record<string, string> | undefined;
|
|
215
|
+
};
|
|
216
|
+
statusCode: 412;
|
|
217
|
+
}>;
|
|
151
218
|
export declare const DeleteMessagesConflictSchema: z.ZodObject<{
|
|
152
219
|
statusCode: z.ZodLiteral<409>;
|
|
153
220
|
code: z.ZodString;
|
|
@@ -206,36 +273,6 @@ export declare const AmazonApiGatewayIntegrationSchema: z.ZodObject<{
|
|
|
206
273
|
"Fn::Sub": "arn:aws:apigateway:${AWS::Region}:lambda:path/2015-03-31/functions/arn:aws:lambda:${AWS::Region}:${AWS::AccountId}:function:{{HandlerFunctionName}}/invocations";
|
|
207
274
|
};
|
|
208
275
|
}>;
|
|
209
|
-
export declare const NotFoundErrorSchema: z.ZodObject<{
|
|
210
|
-
statusCode: z.ZodLiteral<404>;
|
|
211
|
-
error: z.ZodObject<{
|
|
212
|
-
code: z.ZodString;
|
|
213
|
-
message: z.ZodString;
|
|
214
|
-
details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
215
|
-
}, "strip", z.ZodTypeAny, {
|
|
216
|
-
code: string;
|
|
217
|
-
message: string;
|
|
218
|
-
details?: Record<string, string> | undefined;
|
|
219
|
-
}, {
|
|
220
|
-
code: string;
|
|
221
|
-
message: string;
|
|
222
|
-
details?: Record<string, string> | undefined;
|
|
223
|
-
}>;
|
|
224
|
-
}, "strip", z.ZodTypeAny, {
|
|
225
|
-
error: {
|
|
226
|
-
code: string;
|
|
227
|
-
message: string;
|
|
228
|
-
details?: Record<string, string> | undefined;
|
|
229
|
-
};
|
|
230
|
-
statusCode: 404;
|
|
231
|
-
}, {
|
|
232
|
-
error: {
|
|
233
|
-
code: string;
|
|
234
|
-
message: string;
|
|
235
|
-
details?: Record<string, string> | undefined;
|
|
236
|
-
};
|
|
237
|
-
statusCode: 404;
|
|
238
|
-
}>;
|
|
239
276
|
export declare const InternalServerErrorSchema: z.ZodObject<{
|
|
240
277
|
statusCode: z.ZodLiteral<500>;
|
|
241
278
|
error: z.ZodObject<{
|
|
@@ -2542,6 +2579,528 @@ export declare const OrganizeJobResponseSchema: z.ZodObject<{
|
|
|
2542
2579
|
appliedCount: number;
|
|
2543
2580
|
failedCount: number;
|
|
2544
2581
|
}>;
|
|
2582
|
+
export declare const CalendarResponseSchema: z.ZodObject<{
|
|
2583
|
+
calendarId: z.ZodString;
|
|
2584
|
+
accountConfigId: z.ZodString;
|
|
2585
|
+
urlSegment: z.ZodString;
|
|
2586
|
+
displayName: z.ZodString;
|
|
2587
|
+
color: z.ZodEnum<["Cal1", "Cal2", "Cal3", "Cal4", "Cal5", "Cal6"]>;
|
|
2588
|
+
componentSet: z.ZodEnum<["VeventOnly"]>;
|
|
2589
|
+
source: z.ZodEnum<["Default", "UserCreated", "MailDerived"]>;
|
|
2590
|
+
timezone: z.ZodString;
|
|
2591
|
+
syncSequence: z.ZodNumber;
|
|
2592
|
+
createdAt: z.ZodNumber;
|
|
2593
|
+
updatedAt: z.ZodNumber;
|
|
2594
|
+
}, "strip", z.ZodTypeAny, {
|
|
2595
|
+
displayName: string;
|
|
2596
|
+
accountConfigId: string;
|
|
2597
|
+
createdAt: number;
|
|
2598
|
+
updatedAt: number;
|
|
2599
|
+
source: "Default" | "UserCreated" | "MailDerived";
|
|
2600
|
+
color: "Cal1" | "Cal2" | "Cal3" | "Cal4" | "Cal5" | "Cal6";
|
|
2601
|
+
calendarId: string;
|
|
2602
|
+
urlSegment: string;
|
|
2603
|
+
componentSet: "VeventOnly";
|
|
2604
|
+
timezone: string;
|
|
2605
|
+
syncSequence: number;
|
|
2606
|
+
}, {
|
|
2607
|
+
displayName: string;
|
|
2608
|
+
accountConfigId: string;
|
|
2609
|
+
createdAt: number;
|
|
2610
|
+
updatedAt: number;
|
|
2611
|
+
source: "Default" | "UserCreated" | "MailDerived";
|
|
2612
|
+
color: "Cal1" | "Cal2" | "Cal3" | "Cal4" | "Cal5" | "Cal6";
|
|
2613
|
+
calendarId: string;
|
|
2614
|
+
urlSegment: string;
|
|
2615
|
+
componentSet: "VeventOnly";
|
|
2616
|
+
timezone: string;
|
|
2617
|
+
syncSequence: number;
|
|
2618
|
+
}>;
|
|
2619
|
+
export declare const CalendarListResponseSchema: z.ZodObject<{
|
|
2620
|
+
items: z.ZodArray<z.ZodObject<{
|
|
2621
|
+
calendarId: z.ZodString;
|
|
2622
|
+
accountConfigId: z.ZodString;
|
|
2623
|
+
urlSegment: z.ZodString;
|
|
2624
|
+
displayName: z.ZodString;
|
|
2625
|
+
color: z.ZodEnum<["Cal1", "Cal2", "Cal3", "Cal4", "Cal5", "Cal6"]>;
|
|
2626
|
+
componentSet: z.ZodEnum<["VeventOnly"]>;
|
|
2627
|
+
source: z.ZodEnum<["Default", "UserCreated", "MailDerived"]>;
|
|
2628
|
+
timezone: z.ZodString;
|
|
2629
|
+
syncSequence: z.ZodNumber;
|
|
2630
|
+
createdAt: z.ZodNumber;
|
|
2631
|
+
updatedAt: z.ZodNumber;
|
|
2632
|
+
}, "strip", z.ZodTypeAny, {
|
|
2633
|
+
displayName: string;
|
|
2634
|
+
accountConfigId: string;
|
|
2635
|
+
createdAt: number;
|
|
2636
|
+
updatedAt: number;
|
|
2637
|
+
source: "Default" | "UserCreated" | "MailDerived";
|
|
2638
|
+
color: "Cal1" | "Cal2" | "Cal3" | "Cal4" | "Cal5" | "Cal6";
|
|
2639
|
+
calendarId: string;
|
|
2640
|
+
urlSegment: string;
|
|
2641
|
+
componentSet: "VeventOnly";
|
|
2642
|
+
timezone: string;
|
|
2643
|
+
syncSequence: number;
|
|
2644
|
+
}, {
|
|
2645
|
+
displayName: string;
|
|
2646
|
+
accountConfigId: string;
|
|
2647
|
+
createdAt: number;
|
|
2648
|
+
updatedAt: number;
|
|
2649
|
+
source: "Default" | "UserCreated" | "MailDerived";
|
|
2650
|
+
color: "Cal1" | "Cal2" | "Cal3" | "Cal4" | "Cal5" | "Cal6";
|
|
2651
|
+
calendarId: string;
|
|
2652
|
+
urlSegment: string;
|
|
2653
|
+
componentSet: "VeventOnly";
|
|
2654
|
+
timezone: string;
|
|
2655
|
+
syncSequence: number;
|
|
2656
|
+
}>, "many">;
|
|
2657
|
+
}, "strip", z.ZodTypeAny, {
|
|
2658
|
+
items: {
|
|
2659
|
+
displayName: string;
|
|
2660
|
+
accountConfigId: string;
|
|
2661
|
+
createdAt: number;
|
|
2662
|
+
updatedAt: number;
|
|
2663
|
+
source: "Default" | "UserCreated" | "MailDerived";
|
|
2664
|
+
color: "Cal1" | "Cal2" | "Cal3" | "Cal4" | "Cal5" | "Cal6";
|
|
2665
|
+
calendarId: string;
|
|
2666
|
+
urlSegment: string;
|
|
2667
|
+
componentSet: "VeventOnly";
|
|
2668
|
+
timezone: string;
|
|
2669
|
+
syncSequence: number;
|
|
2670
|
+
}[];
|
|
2671
|
+
}, {
|
|
2672
|
+
items: {
|
|
2673
|
+
displayName: string;
|
|
2674
|
+
accountConfigId: string;
|
|
2675
|
+
createdAt: number;
|
|
2676
|
+
updatedAt: number;
|
|
2677
|
+
source: "Default" | "UserCreated" | "MailDerived";
|
|
2678
|
+
color: "Cal1" | "Cal2" | "Cal3" | "Cal4" | "Cal5" | "Cal6";
|
|
2679
|
+
calendarId: string;
|
|
2680
|
+
urlSegment: string;
|
|
2681
|
+
componentSet: "VeventOnly";
|
|
2682
|
+
timezone: string;
|
|
2683
|
+
syncSequence: number;
|
|
2684
|
+
}[];
|
|
2685
|
+
}>;
|
|
2686
|
+
export declare const CalendarCollectionSchema: z.ZodObject<{
|
|
2687
|
+
calendarId: z.ZodString;
|
|
2688
|
+
accountConfigId: z.ZodString;
|
|
2689
|
+
urlSegment: z.ZodString;
|
|
2690
|
+
displayName: z.ZodString;
|
|
2691
|
+
color: z.ZodEnum<["Cal1", "Cal2", "Cal3", "Cal4", "Cal5", "Cal6"]>;
|
|
2692
|
+
componentSet: z.ZodEnum<["VeventOnly"]>;
|
|
2693
|
+
source: z.ZodEnum<["Default", "UserCreated", "MailDerived"]>;
|
|
2694
|
+
timezone: z.ZodString;
|
|
2695
|
+
syncSequence: z.ZodNumber;
|
|
2696
|
+
createdAt: z.ZodNumber;
|
|
2697
|
+
updatedAt: z.ZodNumber;
|
|
2698
|
+
}, "strip", z.ZodTypeAny, {
|
|
2699
|
+
displayName: string;
|
|
2700
|
+
accountConfigId: string;
|
|
2701
|
+
createdAt: number;
|
|
2702
|
+
updatedAt: number;
|
|
2703
|
+
source: "Default" | "UserCreated" | "MailDerived";
|
|
2704
|
+
color: "Cal1" | "Cal2" | "Cal3" | "Cal4" | "Cal5" | "Cal6";
|
|
2705
|
+
calendarId: string;
|
|
2706
|
+
urlSegment: string;
|
|
2707
|
+
componentSet: "VeventOnly";
|
|
2708
|
+
timezone: string;
|
|
2709
|
+
syncSequence: number;
|
|
2710
|
+
}, {
|
|
2711
|
+
displayName: string;
|
|
2712
|
+
accountConfigId: string;
|
|
2713
|
+
createdAt: number;
|
|
2714
|
+
updatedAt: number;
|
|
2715
|
+
source: "Default" | "UserCreated" | "MailDerived";
|
|
2716
|
+
color: "Cal1" | "Cal2" | "Cal3" | "Cal4" | "Cal5" | "Cal6";
|
|
2717
|
+
calendarId: string;
|
|
2718
|
+
urlSegment: string;
|
|
2719
|
+
componentSet: "VeventOnly";
|
|
2720
|
+
timezone: string;
|
|
2721
|
+
syncSequence: number;
|
|
2722
|
+
}>;
|
|
2723
|
+
export declare const CreateCalendarInputSchema: z.ZodObject<{
|
|
2724
|
+
displayName: z.ZodString;
|
|
2725
|
+
urlSegment: z.ZodString;
|
|
2726
|
+
color: z.ZodOptional<z.ZodEnum<["Cal1", "Cal2", "Cal3", "Cal4", "Cal5", "Cal6"]>>;
|
|
2727
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
2728
|
+
}, "strip", z.ZodTypeAny, {
|
|
2729
|
+
displayName: string;
|
|
2730
|
+
urlSegment: string;
|
|
2731
|
+
color?: "Cal1" | "Cal2" | "Cal3" | "Cal4" | "Cal5" | "Cal6" | undefined;
|
|
2732
|
+
timezone?: string | undefined;
|
|
2733
|
+
}, {
|
|
2734
|
+
displayName: string;
|
|
2735
|
+
urlSegment: string;
|
|
2736
|
+
color?: "Cal1" | "Cal2" | "Cal3" | "Cal4" | "Cal5" | "Cal6" | undefined;
|
|
2737
|
+
timezone?: string | undefined;
|
|
2738
|
+
}>;
|
|
2739
|
+
export declare const UpdateCalendarInputSchema: z.ZodObject<{
|
|
2740
|
+
displayName: z.ZodString;
|
|
2741
|
+
color: z.ZodEnum<["Cal1", "Cal2", "Cal3", "Cal4", "Cal5", "Cal6"]>;
|
|
2742
|
+
timezone: z.ZodString;
|
|
2743
|
+
}, "strip", z.ZodTypeAny, {
|
|
2744
|
+
displayName: string;
|
|
2745
|
+
color: "Cal1" | "Cal2" | "Cal3" | "Cal4" | "Cal5" | "Cal6";
|
|
2746
|
+
timezone: string;
|
|
2747
|
+
}, {
|
|
2748
|
+
displayName: string;
|
|
2749
|
+
color: "Cal1" | "Cal2" | "Cal3" | "Cal4" | "Cal5" | "Cal6";
|
|
2750
|
+
timezone: string;
|
|
2751
|
+
}>;
|
|
2752
|
+
export declare const CalendarNoContentSchema: z.ZodObject<{
|
|
2753
|
+
statusCode: z.ZodLiteral<204>;
|
|
2754
|
+
}, "strip", z.ZodTypeAny, {
|
|
2755
|
+
statusCode: 204;
|
|
2756
|
+
}, {
|
|
2757
|
+
statusCode: 204;
|
|
2758
|
+
}>;
|
|
2759
|
+
export declare const CalendarEventInstanceSchema: z.ZodObject<{
|
|
2760
|
+
calendarId: z.ZodString;
|
|
2761
|
+
calendarObjectId: z.ZodString;
|
|
2762
|
+
recurrenceId: z.ZodString;
|
|
2763
|
+
icalUid: z.ZodString;
|
|
2764
|
+
summary: z.ZodString;
|
|
2765
|
+
start: z.ZodString;
|
|
2766
|
+
end: z.ZodString;
|
|
2767
|
+
allDay: z.ZodBoolean;
|
|
2768
|
+
status: z.ZodEnum<["Confirmed", "Tentative", "Cancelled"]>;
|
|
2769
|
+
transparency: z.ZodEnum<["Opaque", "Transparent"]>;
|
|
2770
|
+
zoneCertainty: z.ZodEnum<["Local", "Explicit", "Ambiguous"]>;
|
|
2771
|
+
etag: z.ZodString;
|
|
2772
|
+
hasRecurrence: z.ZodBoolean;
|
|
2773
|
+
}, "strip", z.ZodTypeAny, {
|
|
2774
|
+
status: "Confirmed" | "Tentative" | "Cancelled";
|
|
2775
|
+
summary: string;
|
|
2776
|
+
calendarId: string;
|
|
2777
|
+
calendarObjectId: string;
|
|
2778
|
+
recurrenceId: string;
|
|
2779
|
+
icalUid: string;
|
|
2780
|
+
start: string;
|
|
2781
|
+
end: string;
|
|
2782
|
+
allDay: boolean;
|
|
2783
|
+
transparency: "Opaque" | "Transparent";
|
|
2784
|
+
zoneCertainty: "Local" | "Explicit" | "Ambiguous";
|
|
2785
|
+
etag: string;
|
|
2786
|
+
hasRecurrence: boolean;
|
|
2787
|
+
}, {
|
|
2788
|
+
status: "Confirmed" | "Tentative" | "Cancelled";
|
|
2789
|
+
summary: string;
|
|
2790
|
+
calendarId: string;
|
|
2791
|
+
calendarObjectId: string;
|
|
2792
|
+
recurrenceId: string;
|
|
2793
|
+
icalUid: string;
|
|
2794
|
+
start: string;
|
|
2795
|
+
end: string;
|
|
2796
|
+
allDay: boolean;
|
|
2797
|
+
transparency: "Opaque" | "Transparent";
|
|
2798
|
+
zoneCertainty: "Local" | "Explicit" | "Ambiguous";
|
|
2799
|
+
etag: string;
|
|
2800
|
+
hasRecurrence: boolean;
|
|
2801
|
+
}>;
|
|
2802
|
+
export declare const CalendarEventListResponseSchema: z.ZodObject<{
|
|
2803
|
+
items: z.ZodArray<z.ZodObject<{
|
|
2804
|
+
calendarId: z.ZodString;
|
|
2805
|
+
calendarObjectId: z.ZodString;
|
|
2806
|
+
recurrenceId: z.ZodString;
|
|
2807
|
+
icalUid: z.ZodString;
|
|
2808
|
+
summary: z.ZodString;
|
|
2809
|
+
start: z.ZodString;
|
|
2810
|
+
end: z.ZodString;
|
|
2811
|
+
allDay: z.ZodBoolean;
|
|
2812
|
+
status: z.ZodEnum<["Confirmed", "Tentative", "Cancelled"]>;
|
|
2813
|
+
transparency: z.ZodEnum<["Opaque", "Transparent"]>;
|
|
2814
|
+
zoneCertainty: z.ZodEnum<["Local", "Explicit", "Ambiguous"]>;
|
|
2815
|
+
etag: z.ZodString;
|
|
2816
|
+
hasRecurrence: z.ZodBoolean;
|
|
2817
|
+
}, "strip", z.ZodTypeAny, {
|
|
2818
|
+
status: "Confirmed" | "Tentative" | "Cancelled";
|
|
2819
|
+
summary: string;
|
|
2820
|
+
calendarId: string;
|
|
2821
|
+
calendarObjectId: string;
|
|
2822
|
+
recurrenceId: string;
|
|
2823
|
+
icalUid: string;
|
|
2824
|
+
start: string;
|
|
2825
|
+
end: string;
|
|
2826
|
+
allDay: boolean;
|
|
2827
|
+
transparency: "Opaque" | "Transparent";
|
|
2828
|
+
zoneCertainty: "Local" | "Explicit" | "Ambiguous";
|
|
2829
|
+
etag: string;
|
|
2830
|
+
hasRecurrence: boolean;
|
|
2831
|
+
}, {
|
|
2832
|
+
status: "Confirmed" | "Tentative" | "Cancelled";
|
|
2833
|
+
summary: string;
|
|
2834
|
+
calendarId: string;
|
|
2835
|
+
calendarObjectId: string;
|
|
2836
|
+
recurrenceId: string;
|
|
2837
|
+
icalUid: string;
|
|
2838
|
+
start: string;
|
|
2839
|
+
end: string;
|
|
2840
|
+
allDay: boolean;
|
|
2841
|
+
transparency: "Opaque" | "Transparent";
|
|
2842
|
+
zoneCertainty: "Local" | "Explicit" | "Ambiguous";
|
|
2843
|
+
etag: string;
|
|
2844
|
+
hasRecurrence: boolean;
|
|
2845
|
+
}>, "many">;
|
|
2846
|
+
}, "strip", z.ZodTypeAny, {
|
|
2847
|
+
items: {
|
|
2848
|
+
status: "Confirmed" | "Tentative" | "Cancelled";
|
|
2849
|
+
summary: string;
|
|
2850
|
+
calendarId: string;
|
|
2851
|
+
calendarObjectId: string;
|
|
2852
|
+
recurrenceId: string;
|
|
2853
|
+
icalUid: string;
|
|
2854
|
+
start: string;
|
|
2855
|
+
end: string;
|
|
2856
|
+
allDay: boolean;
|
|
2857
|
+
transparency: "Opaque" | "Transparent";
|
|
2858
|
+
zoneCertainty: "Local" | "Explicit" | "Ambiguous";
|
|
2859
|
+
etag: string;
|
|
2860
|
+
hasRecurrence: boolean;
|
|
2861
|
+
}[];
|
|
2862
|
+
}, {
|
|
2863
|
+
items: {
|
|
2864
|
+
status: "Confirmed" | "Tentative" | "Cancelled";
|
|
2865
|
+
summary: string;
|
|
2866
|
+
calendarId: string;
|
|
2867
|
+
calendarObjectId: string;
|
|
2868
|
+
recurrenceId: string;
|
|
2869
|
+
icalUid: string;
|
|
2870
|
+
start: string;
|
|
2871
|
+
end: string;
|
|
2872
|
+
allDay: boolean;
|
|
2873
|
+
transparency: "Opaque" | "Transparent";
|
|
2874
|
+
zoneCertainty: "Local" | "Explicit" | "Ambiguous";
|
|
2875
|
+
etag: string;
|
|
2876
|
+
hasRecurrence: boolean;
|
|
2877
|
+
}[];
|
|
2878
|
+
}>;
|
|
2879
|
+
export declare const CreateCalendarEventInputSchema: z.ZodObject<{
|
|
2880
|
+
calendarId: z.ZodString;
|
|
2881
|
+
summary: z.ZodString;
|
|
2882
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2883
|
+
location: z.ZodOptional<z.ZodString>;
|
|
2884
|
+
start: z.ZodString;
|
|
2885
|
+
end: z.ZodString;
|
|
2886
|
+
allDay: z.ZodOptional<z.ZodBoolean>;
|
|
2887
|
+
timeZone: z.ZodOptional<z.ZodString>;
|
|
2888
|
+
status: z.ZodOptional<z.ZodEnum<["Confirmed", "Tentative", "Cancelled"]>>;
|
|
2889
|
+
transparency: z.ZodOptional<z.ZodEnum<["Opaque", "Transparent"]>>;
|
|
2890
|
+
recurrenceRule: z.ZodOptional<z.ZodString>;
|
|
2891
|
+
}, "strip", z.ZodTypeAny, {
|
|
2892
|
+
summary: string;
|
|
2893
|
+
calendarId: string;
|
|
2894
|
+
start: string;
|
|
2895
|
+
end: string;
|
|
2896
|
+
status?: "Confirmed" | "Tentative" | "Cancelled" | undefined;
|
|
2897
|
+
allDay?: boolean | undefined;
|
|
2898
|
+
transparency?: "Opaque" | "Transparent" | undefined;
|
|
2899
|
+
description?: string | undefined;
|
|
2900
|
+
location?: string | undefined;
|
|
2901
|
+
timeZone?: string | undefined;
|
|
2902
|
+
recurrenceRule?: string | undefined;
|
|
2903
|
+
}, {
|
|
2904
|
+
summary: string;
|
|
2905
|
+
calendarId: string;
|
|
2906
|
+
start: string;
|
|
2907
|
+
end: string;
|
|
2908
|
+
status?: "Confirmed" | "Tentative" | "Cancelled" | undefined;
|
|
2909
|
+
allDay?: boolean | undefined;
|
|
2910
|
+
transparency?: "Opaque" | "Transparent" | undefined;
|
|
2911
|
+
description?: string | undefined;
|
|
2912
|
+
location?: string | undefined;
|
|
2913
|
+
timeZone?: string | undefined;
|
|
2914
|
+
recurrenceRule?: string | undefined;
|
|
2915
|
+
}>;
|
|
2916
|
+
export declare const CalendarObjectSchema: z.ZodObject<{
|
|
2917
|
+
calendarObjectId: z.ZodString;
|
|
2918
|
+
calendarId: z.ZodString;
|
|
2919
|
+
resourceName: z.ZodString;
|
|
2920
|
+
icalUid: z.ZodString;
|
|
2921
|
+
icalData: z.ZodString;
|
|
2922
|
+
etag: z.ZodString;
|
|
2923
|
+
sequence: z.ZodNumber;
|
|
2924
|
+
syncSequence: z.ZodNumber;
|
|
2925
|
+
summary: z.ZodString;
|
|
2926
|
+
dtStart: z.ZodString;
|
|
2927
|
+
dtEnd: z.ZodString;
|
|
2928
|
+
allDay: z.ZodBoolean;
|
|
2929
|
+
zoneCertainty: z.ZodEnum<["Local", "Explicit", "Ambiguous"]>;
|
|
2930
|
+
status: z.ZodEnum<["Confirmed", "Tentative", "Cancelled"]>;
|
|
2931
|
+
transparency: z.ZodEnum<["Opaque", "Transparent"]>;
|
|
2932
|
+
hasRecurrence: z.ZodBoolean;
|
|
2933
|
+
expandedThrough: z.ZodString;
|
|
2934
|
+
createdAt: z.ZodNumber;
|
|
2935
|
+
updatedAt: z.ZodNumber;
|
|
2936
|
+
}, "strip", z.ZodTypeAny, {
|
|
2937
|
+
status: "Confirmed" | "Tentative" | "Cancelled";
|
|
2938
|
+
createdAt: number;
|
|
2939
|
+
updatedAt: number;
|
|
2940
|
+
summary: string;
|
|
2941
|
+
calendarId: string;
|
|
2942
|
+
syncSequence: number;
|
|
2943
|
+
calendarObjectId: string;
|
|
2944
|
+
icalUid: string;
|
|
2945
|
+
allDay: boolean;
|
|
2946
|
+
transparency: "Opaque" | "Transparent";
|
|
2947
|
+
zoneCertainty: "Local" | "Explicit" | "Ambiguous";
|
|
2948
|
+
etag: string;
|
|
2949
|
+
hasRecurrence: boolean;
|
|
2950
|
+
resourceName: string;
|
|
2951
|
+
icalData: string;
|
|
2952
|
+
sequence: number;
|
|
2953
|
+
dtStart: string;
|
|
2954
|
+
dtEnd: string;
|
|
2955
|
+
expandedThrough: string;
|
|
2956
|
+
}, {
|
|
2957
|
+
status: "Confirmed" | "Tentative" | "Cancelled";
|
|
2958
|
+
createdAt: number;
|
|
2959
|
+
updatedAt: number;
|
|
2960
|
+
summary: string;
|
|
2961
|
+
calendarId: string;
|
|
2962
|
+
syncSequence: number;
|
|
2963
|
+
calendarObjectId: string;
|
|
2964
|
+
icalUid: string;
|
|
2965
|
+
allDay: boolean;
|
|
2966
|
+
transparency: "Opaque" | "Transparent";
|
|
2967
|
+
zoneCertainty: "Local" | "Explicit" | "Ambiguous";
|
|
2968
|
+
etag: string;
|
|
2969
|
+
hasRecurrence: boolean;
|
|
2970
|
+
resourceName: string;
|
|
2971
|
+
icalData: string;
|
|
2972
|
+
sequence: number;
|
|
2973
|
+
dtStart: string;
|
|
2974
|
+
dtEnd: string;
|
|
2975
|
+
expandedThrough: string;
|
|
2976
|
+
}>;
|
|
2977
|
+
export declare const CalendarEventResponseSchema: z.ZodObject<{
|
|
2978
|
+
calendarObjectId: z.ZodString;
|
|
2979
|
+
calendarId: z.ZodString;
|
|
2980
|
+
resourceName: z.ZodString;
|
|
2981
|
+
icalUid: z.ZodString;
|
|
2982
|
+
icalData: z.ZodString;
|
|
2983
|
+
etag: z.ZodString;
|
|
2984
|
+
sequence: z.ZodNumber;
|
|
2985
|
+
syncSequence: z.ZodNumber;
|
|
2986
|
+
summary: z.ZodString;
|
|
2987
|
+
dtStart: z.ZodString;
|
|
2988
|
+
dtEnd: z.ZodString;
|
|
2989
|
+
allDay: z.ZodBoolean;
|
|
2990
|
+
zoneCertainty: z.ZodEnum<["Local", "Explicit", "Ambiguous"]>;
|
|
2991
|
+
status: z.ZodEnum<["Confirmed", "Tentative", "Cancelled"]>;
|
|
2992
|
+
transparency: z.ZodEnum<["Opaque", "Transparent"]>;
|
|
2993
|
+
hasRecurrence: z.ZodBoolean;
|
|
2994
|
+
expandedThrough: z.ZodString;
|
|
2995
|
+
createdAt: z.ZodNumber;
|
|
2996
|
+
updatedAt: z.ZodNumber;
|
|
2997
|
+
}, "strip", z.ZodTypeAny, {
|
|
2998
|
+
status: "Confirmed" | "Tentative" | "Cancelled";
|
|
2999
|
+
createdAt: number;
|
|
3000
|
+
updatedAt: number;
|
|
3001
|
+
summary: string;
|
|
3002
|
+
calendarId: string;
|
|
3003
|
+
syncSequence: number;
|
|
3004
|
+
calendarObjectId: string;
|
|
3005
|
+
icalUid: string;
|
|
3006
|
+
allDay: boolean;
|
|
3007
|
+
transparency: "Opaque" | "Transparent";
|
|
3008
|
+
zoneCertainty: "Local" | "Explicit" | "Ambiguous";
|
|
3009
|
+
etag: string;
|
|
3010
|
+
hasRecurrence: boolean;
|
|
3011
|
+
resourceName: string;
|
|
3012
|
+
icalData: string;
|
|
3013
|
+
sequence: number;
|
|
3014
|
+
dtStart: string;
|
|
3015
|
+
dtEnd: string;
|
|
3016
|
+
expandedThrough: string;
|
|
3017
|
+
}, {
|
|
3018
|
+
status: "Confirmed" | "Tentative" | "Cancelled";
|
|
3019
|
+
createdAt: number;
|
|
3020
|
+
updatedAt: number;
|
|
3021
|
+
summary: string;
|
|
3022
|
+
calendarId: string;
|
|
3023
|
+
syncSequence: number;
|
|
3024
|
+
calendarObjectId: string;
|
|
3025
|
+
icalUid: string;
|
|
3026
|
+
allDay: boolean;
|
|
3027
|
+
transparency: "Opaque" | "Transparent";
|
|
3028
|
+
zoneCertainty: "Local" | "Explicit" | "Ambiguous";
|
|
3029
|
+
etag: string;
|
|
3030
|
+
hasRecurrence: boolean;
|
|
3031
|
+
resourceName: string;
|
|
3032
|
+
icalData: string;
|
|
3033
|
+
sequence: number;
|
|
3034
|
+
dtStart: string;
|
|
3035
|
+
dtEnd: string;
|
|
3036
|
+
expandedThrough: string;
|
|
3037
|
+
}>;
|
|
3038
|
+
export declare const UpdateCalendarEventInputSchema: z.ZodObject<{
|
|
3039
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
3040
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3041
|
+
location: z.ZodOptional<z.ZodString>;
|
|
3042
|
+
start: z.ZodOptional<z.ZodString>;
|
|
3043
|
+
end: z.ZodOptional<z.ZodString>;
|
|
3044
|
+
allDay: z.ZodOptional<z.ZodBoolean>;
|
|
3045
|
+
timeZone: z.ZodOptional<z.ZodString>;
|
|
3046
|
+
status: z.ZodOptional<z.ZodEnum<["Confirmed", "Tentative", "Cancelled"]>>;
|
|
3047
|
+
transparency: z.ZodOptional<z.ZodEnum<["Opaque", "Transparent"]>>;
|
|
3048
|
+
recurrenceRule: z.ZodOptional<z.ZodString>;
|
|
3049
|
+
}, "strip", z.ZodTypeAny, {
|
|
3050
|
+
status?: "Confirmed" | "Tentative" | "Cancelled" | undefined;
|
|
3051
|
+
summary?: string | undefined;
|
|
3052
|
+
start?: string | undefined;
|
|
3053
|
+
end?: string | undefined;
|
|
3054
|
+
allDay?: boolean | undefined;
|
|
3055
|
+
transparency?: "Opaque" | "Transparent" | undefined;
|
|
3056
|
+
description?: string | undefined;
|
|
3057
|
+
location?: string | undefined;
|
|
3058
|
+
timeZone?: string | undefined;
|
|
3059
|
+
recurrenceRule?: string | undefined;
|
|
3060
|
+
}, {
|
|
3061
|
+
status?: "Confirmed" | "Tentative" | "Cancelled" | undefined;
|
|
3062
|
+
summary?: string | undefined;
|
|
3063
|
+
start?: string | undefined;
|
|
3064
|
+
end?: string | undefined;
|
|
3065
|
+
allDay?: boolean | undefined;
|
|
3066
|
+
transparency?: "Opaque" | "Transparent" | undefined;
|
|
3067
|
+
description?: string | undefined;
|
|
3068
|
+
location?: string | undefined;
|
|
3069
|
+
timeZone?: string | undefined;
|
|
3070
|
+
recurrenceRule?: string | undefined;
|
|
3071
|
+
}>;
|
|
3072
|
+
export declare const CalendarFreeBusySpanSchema: z.ZodObject<{
|
|
3073
|
+
start: z.ZodString;
|
|
3074
|
+
end: z.ZodString;
|
|
3075
|
+
}, "strip", z.ZodTypeAny, {
|
|
3076
|
+
start: string;
|
|
3077
|
+
end: string;
|
|
3078
|
+
}, {
|
|
3079
|
+
start: string;
|
|
3080
|
+
end: string;
|
|
3081
|
+
}>;
|
|
3082
|
+
export declare const CalendarFreeBusyResponseSchema: z.ZodObject<{
|
|
3083
|
+
items: z.ZodArray<z.ZodObject<{
|
|
3084
|
+
start: z.ZodString;
|
|
3085
|
+
end: z.ZodString;
|
|
3086
|
+
}, "strip", z.ZodTypeAny, {
|
|
3087
|
+
start: string;
|
|
3088
|
+
end: string;
|
|
3089
|
+
}, {
|
|
3090
|
+
start: string;
|
|
3091
|
+
end: string;
|
|
3092
|
+
}>, "many">;
|
|
3093
|
+
}, "strip", z.ZodTypeAny, {
|
|
3094
|
+
items: {
|
|
3095
|
+
start: string;
|
|
3096
|
+
end: string;
|
|
3097
|
+
}[];
|
|
3098
|
+
}, {
|
|
3099
|
+
items: {
|
|
3100
|
+
start: string;
|
|
3101
|
+
end: string;
|
|
3102
|
+
}[];
|
|
3103
|
+
}>;
|
|
2545
3104
|
export declare const EmptyTrashResponseSchema: z.ZodObject<{
|
|
2546
3105
|
deletedCount: z.ZodNumber;
|
|
2547
3106
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -13696,6 +14255,7 @@ export declare const BodyPartSchema: z.ZodObject<{
|
|
|
13696
14255
|
sizeOctets: number;
|
|
13697
14256
|
isMultipart: boolean;
|
|
13698
14257
|
partPath: string;
|
|
14258
|
+
location?: string | undefined;
|
|
13699
14259
|
contentId?: string | undefined;
|
|
13700
14260
|
disposition?: "attachment" | "inline" | undefined;
|
|
13701
14261
|
dispositionFilename?: string | undefined;
|
|
@@ -13704,7 +14264,6 @@ export declare const BodyPartSchema: z.ZodObject<{
|
|
|
13704
14264
|
lineCount?: number | undefined;
|
|
13705
14265
|
md5Hash?: string | undefined;
|
|
13706
14266
|
language?: string | undefined;
|
|
13707
|
-
location?: string | undefined;
|
|
13708
14267
|
multipartSubtype?: "mixed" | "alternative" | "digest" | "parallel" | "related" | "signed" | "encrypted" | "form-data" | "report" | undefined;
|
|
13709
14268
|
}, {
|
|
13710
14269
|
createdAt: number;
|
|
@@ -13717,6 +14276,7 @@ export declare const BodyPartSchema: z.ZodObject<{
|
|
|
13717
14276
|
sizeOctets: number;
|
|
13718
14277
|
isMultipart: boolean;
|
|
13719
14278
|
partPath: string;
|
|
14279
|
+
location?: string | undefined;
|
|
13720
14280
|
contentId?: string | undefined;
|
|
13721
14281
|
disposition?: "attachment" | "inline" | undefined;
|
|
13722
14282
|
dispositionFilename?: string | undefined;
|
|
@@ -13725,7 +14285,6 @@ export declare const BodyPartSchema: z.ZodObject<{
|
|
|
13725
14285
|
lineCount?: number | undefined;
|
|
13726
14286
|
md5Hash?: string | undefined;
|
|
13727
14287
|
language?: string | undefined;
|
|
13728
|
-
location?: string | undefined;
|
|
13729
14288
|
multipartSubtype?: "mixed" | "alternative" | "digest" | "parallel" | "related" | "signed" | "encrypted" | "form-data" | "report" | undefined;
|
|
13730
14289
|
}>;
|
|
13731
14290
|
export declare const MessageReferenceSchema: z.ZodObject<{
|
|
@@ -14587,6 +15146,43 @@ export declare const BodyPartContentSchema: z.ZodObject<{
|
|
|
14587
15146
|
content: string;
|
|
14588
15147
|
contentLength: number;
|
|
14589
15148
|
}>;
|
|
15149
|
+
export declare const CalendarEventIndexSchema: z.ZodObject<{
|
|
15150
|
+
calendarId: z.ZodString;
|
|
15151
|
+
calendarObjectId: z.ZodString;
|
|
15152
|
+
recurrenceId: z.ZodString;
|
|
15153
|
+
startAt: z.ZodString;
|
|
15154
|
+
endAt: z.ZodString;
|
|
15155
|
+
allDay: z.ZodBoolean;
|
|
15156
|
+
summary: z.ZodString;
|
|
15157
|
+
status: z.ZodEnum<["Confirmed", "Tentative", "Cancelled"]>;
|
|
15158
|
+
transparency: z.ZodEnum<["Opaque", "Transparent"]>;
|
|
15159
|
+
createdAt: z.ZodNumber;
|
|
15160
|
+
updatedAt: z.ZodNumber;
|
|
15161
|
+
}, "strip", z.ZodTypeAny, {
|
|
15162
|
+
status: "Confirmed" | "Tentative" | "Cancelled";
|
|
15163
|
+
createdAt: number;
|
|
15164
|
+
updatedAt: number;
|
|
15165
|
+
summary: string;
|
|
15166
|
+
calendarId: string;
|
|
15167
|
+
calendarObjectId: string;
|
|
15168
|
+
recurrenceId: string;
|
|
15169
|
+
allDay: boolean;
|
|
15170
|
+
transparency: "Opaque" | "Transparent";
|
|
15171
|
+
startAt: string;
|
|
15172
|
+
endAt: string;
|
|
15173
|
+
}, {
|
|
15174
|
+
status: "Confirmed" | "Tentative" | "Cancelled";
|
|
15175
|
+
createdAt: number;
|
|
15176
|
+
updatedAt: number;
|
|
15177
|
+
summary: string;
|
|
15178
|
+
calendarId: string;
|
|
15179
|
+
calendarObjectId: string;
|
|
15180
|
+
recurrenceId: string;
|
|
15181
|
+
allDay: boolean;
|
|
15182
|
+
transparency: "Opaque" | "Transparent";
|
|
15183
|
+
startAt: string;
|
|
15184
|
+
endAt: string;
|
|
15185
|
+
}>;
|
|
14590
15186
|
export declare const MessageLabelSchema: z.ZodObject<{
|
|
14591
15187
|
messageLabelId: z.ZodString;
|
|
14592
15188
|
messageId: z.ZodString;
|