balendar 0.0.27 → 0.0.29
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.
|
@@ -2,12 +2,10 @@ import { z } from 'zod';
|
|
|
2
2
|
/**
|
|
3
3
|
* Calendar Mapping Status
|
|
4
4
|
*/
|
|
5
|
-
export declare const CalendarMappingStatuses: readonly ["active", "
|
|
5
|
+
export declare const CalendarMappingStatuses: readonly ["active", "error"];
|
|
6
6
|
export declare const CalendarMappingStatusSchema: z.ZodEnum<{
|
|
7
7
|
error: "error";
|
|
8
8
|
active: "active";
|
|
9
|
-
expired: "expired";
|
|
10
|
-
revoked: "revoked";
|
|
11
9
|
}>;
|
|
12
10
|
export type CalendarMappingStatus = z.infer<typeof CalendarMappingStatusSchema>;
|
|
13
11
|
/**
|
|
@@ -46,8 +44,6 @@ export declare const CalendarMappingSchema: z.ZodObject<{
|
|
|
46
44
|
status: z.ZodEnum<{
|
|
47
45
|
error: "error";
|
|
48
46
|
active: "active";
|
|
49
|
-
expired: "expired";
|
|
50
|
-
revoked: "revoked";
|
|
51
47
|
}>;
|
|
52
48
|
syncToken: z.ZodNullable<z.ZodString>;
|
|
53
49
|
webhookId: z.ZodNullable<z.ZodString>;
|
|
@@ -72,8 +68,6 @@ export declare const CalendarMappingsSchema: z.ZodArray<z.ZodObject<{
|
|
|
72
68
|
status: z.ZodEnum<{
|
|
73
69
|
error: "error";
|
|
74
70
|
active: "active";
|
|
75
|
-
expired: "expired";
|
|
76
|
-
revoked: "revoked";
|
|
77
71
|
}>;
|
|
78
72
|
syncToken: z.ZodNullable<z.ZodString>;
|
|
79
73
|
webhookId: z.ZodNullable<z.ZodString>;
|
|
@@ -86,14 +80,13 @@ export type CalendarMappings = z.infer<typeof CalendarMappingsSchema>;
|
|
|
86
80
|
*/
|
|
87
81
|
export declare const UpdateCalendarMappingInputSchema: z.ZodObject<{
|
|
88
82
|
userId: z.ZodOptional<z.ZodNumber>;
|
|
83
|
+
connectionId: z.ZodOptional<z.ZodString>;
|
|
89
84
|
expiresAt: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>>;
|
|
90
85
|
accessToken: z.ZodOptional<z.ZodString>;
|
|
91
86
|
refreshToken: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
92
87
|
status: z.ZodOptional<z.ZodEnum<{
|
|
93
88
|
error: "error";
|
|
94
89
|
active: "active";
|
|
95
|
-
expired: "expired";
|
|
96
|
-
revoked: "revoked";
|
|
97
90
|
}>>;
|
|
98
91
|
syncToken: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
99
92
|
webhookId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -122,8 +115,6 @@ export declare const PaginatedCalendarMappingsSchema: z.ZodObject<{
|
|
|
122
115
|
status: z.ZodEnum<{
|
|
123
116
|
error: "error";
|
|
124
117
|
active: "active";
|
|
125
|
-
expired: "expired";
|
|
126
|
-
revoked: "revoked";
|
|
127
118
|
}>;
|
|
128
119
|
syncToken: z.ZodNullable<z.ZodString>;
|
|
129
120
|
webhookId: z.ZodNullable<z.ZodString>;
|
|
@@ -172,8 +163,6 @@ export declare const SearchCalendarMappingsOutputSchema: z.ZodObject<{
|
|
|
172
163
|
status: z.ZodEnum<{
|
|
173
164
|
error: "error";
|
|
174
165
|
active: "active";
|
|
175
|
-
expired: "expired";
|
|
176
|
-
revoked: "revoked";
|
|
177
166
|
}>;
|
|
178
167
|
syncToken: z.ZodNullable<z.ZodString>;
|
|
179
168
|
webhookId: z.ZodNullable<z.ZodString>;
|
|
@@ -6,5 +6,9 @@ export declare const ConnectionStatusSchema: z.ZodObject<{
|
|
|
6
6
|
google: "google";
|
|
7
7
|
microsoft: "microsoft";
|
|
8
8
|
}>>;
|
|
9
|
+
status: z.ZodNullable<z.ZodEnum<{
|
|
10
|
+
error: "error";
|
|
11
|
+
active: "active";
|
|
12
|
+
}>>;
|
|
9
13
|
}, z.core.$strip>;
|
|
10
14
|
export type ConnectionStatus = z.infer<typeof ConnectionStatusSchema>;
|