@automate.ax/integration-contracts 0.116.0 → 0.119.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/gmail/index.d.ts +269 -0
- package/dist/gmail/index.js +13 -1
- package/dist/gmail/schemas.d.ts +204 -0
- package/dist/gmail/schemas.js +24 -0
- package/dist/google-calendar/event-schemas.d.ts +346 -0
- package/dist/google-calendar/event-schemas.js +14 -0
- package/dist/google-calendar/index.d.ts +350 -0
- package/dist/google-calendar/index.js +5 -1
- package/dist/millionverifier/schemas.d.ts +14 -3
- package/dist/millionverifier/schemas.js +10 -0
- package/dist/outlook/index.d.ts +927 -0
- package/dist/outlook/index.js +42 -0
- package/dist/teams/index.d.ts +2337 -0
- package/dist/teams/index.js +160 -1
- package/dist/tidycal/api.d.ts +62 -0
- package/dist/tidycal/api.js +192 -0
- package/dist/tidycal/index.d.ts +2 -0
- package/dist/tidycal/index.js +2 -0
- package/dist/tidycal/schemas.d.ts +121 -0
- package/dist/tidycal/schemas.js +95 -0
- package/package.json +8 -2
- package/src/gmail/index.ts +18 -1
- package/src/gmail/schemas.ts +26 -0
- package/src/google-calendar/event-schemas.ts +18 -0
- package/src/google-calendar/index.ts +8 -1
- package/src/millionverifier/schemas.ts +12 -1
- package/src/outlook/index.ts +45 -0
- package/src/teams/index.ts +347 -0
- package/src/tidycal/api.ts +239 -0
- package/src/tidycal/index.ts +2 -0
- package/src/tidycal/schemas.ts +105 -0
|
@@ -7,6 +7,356 @@ export declare const GOOGLE_CALENDAR_TRIGGER_CONFIG_SCHEMA: z.ZodObject<{
|
|
|
7
7
|
calendarId: z.ZodString;
|
|
8
8
|
}, z.core.$strip>;
|
|
9
9
|
export declare const googleCalendarTriggerContracts: {
|
|
10
|
+
readonly "googleCalendar.event.changed": {
|
|
11
|
+
readonly configSchema: z.ZodObject<{
|
|
12
|
+
calendarId: z.ZodString;
|
|
13
|
+
}, z.core.$strip>;
|
|
14
|
+
readonly eventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
15
|
+
changeType: z.ZodLiteral<"created">;
|
|
16
|
+
event: z.ZodObject<{
|
|
17
|
+
attachments: z.ZodArray<z.ZodObject<{
|
|
18
|
+
fileId: z.ZodOptional<z.ZodString>;
|
|
19
|
+
fileUrl: z.ZodURL;
|
|
20
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
21
|
+
title: z.ZodOptional<z.ZodString>;
|
|
22
|
+
iconLink: z.ZodOptional<z.ZodString>;
|
|
23
|
+
}, z.core.$strip>>;
|
|
24
|
+
attendees: z.ZodArray<z.ZodObject<{
|
|
25
|
+
additionalGuests: z.ZodOptional<z.ZodNumber>;
|
|
26
|
+
comment: z.ZodOptional<z.ZodString>;
|
|
27
|
+
email: z.ZodEmail;
|
|
28
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
29
|
+
optional: z.ZodOptional<z.ZodBoolean>;
|
|
30
|
+
resource: z.ZodOptional<z.ZodBoolean>;
|
|
31
|
+
responseStatus: z.ZodOptional<z.ZodEnum<{
|
|
32
|
+
tentative: "tentative";
|
|
33
|
+
needsAction: "needsAction";
|
|
34
|
+
declined: "declined";
|
|
35
|
+
accepted: "accepted";
|
|
36
|
+
}>>;
|
|
37
|
+
organizer: z.ZodBoolean;
|
|
38
|
+
self: z.ZodBoolean;
|
|
39
|
+
}, z.core.$strip>>;
|
|
40
|
+
calendarId: z.ZodString;
|
|
41
|
+
colorId: z.ZodOptional<z.ZodString>;
|
|
42
|
+
conference: z.ZodOptional<z.ZodObject<{
|
|
43
|
+
conferenceId: z.ZodOptional<z.ZodString>;
|
|
44
|
+
creationStatus: z.ZodOptional<z.ZodEnum<{
|
|
45
|
+
success: "success";
|
|
46
|
+
failure: "failure";
|
|
47
|
+
pending: "pending";
|
|
48
|
+
}>>;
|
|
49
|
+
entryPoints: z.ZodArray<z.ZodObject<{
|
|
50
|
+
label: z.ZodOptional<z.ZodString>;
|
|
51
|
+
passcode: z.ZodOptional<z.ZodString>;
|
|
52
|
+
type: z.ZodString;
|
|
53
|
+
uri: z.ZodString;
|
|
54
|
+
}, z.core.$strip>>;
|
|
55
|
+
name: z.ZodOptional<z.ZodString>;
|
|
56
|
+
}, z.core.$strip>>;
|
|
57
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
58
|
+
creator: z.ZodOptional<z.ZodObject<{
|
|
59
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
60
|
+
email: z.ZodOptional<z.ZodString>;
|
|
61
|
+
self: z.ZodBoolean;
|
|
62
|
+
}, z.core.$strip>>;
|
|
63
|
+
description: z.ZodOptional<z.ZodString>;
|
|
64
|
+
end: z.ZodOptional<z.ZodObject<{
|
|
65
|
+
date: z.ZodOptional<z.ZodISODate>;
|
|
66
|
+
dateTime: z.ZodOptional<z.ZodString>;
|
|
67
|
+
timeZone: z.ZodOptional<z.ZodString>;
|
|
68
|
+
}, z.core.$strip>>;
|
|
69
|
+
extendedProperties: z.ZodObject<{
|
|
70
|
+
private: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
71
|
+
shared: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
72
|
+
}, z.core.$strip>;
|
|
73
|
+
guestsCanInviteOthers: z.ZodBoolean;
|
|
74
|
+
guestsCanModify: z.ZodBoolean;
|
|
75
|
+
guestsCanSeeOtherGuests: z.ZodBoolean;
|
|
76
|
+
hangoutLink: z.ZodOptional<z.ZodString>;
|
|
77
|
+
htmlLink: z.ZodOptional<z.ZodString>;
|
|
78
|
+
id: z.ZodString;
|
|
79
|
+
iCalUID: z.ZodOptional<z.ZodString>;
|
|
80
|
+
location: z.ZodOptional<z.ZodString>;
|
|
81
|
+
originalStart: z.ZodOptional<z.ZodObject<{
|
|
82
|
+
date: z.ZodOptional<z.ZodISODate>;
|
|
83
|
+
dateTime: z.ZodOptional<z.ZodString>;
|
|
84
|
+
timeZone: z.ZodOptional<z.ZodString>;
|
|
85
|
+
}, z.core.$strip>>;
|
|
86
|
+
organizer: z.ZodOptional<z.ZodObject<{
|
|
87
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
88
|
+
email: z.ZodOptional<z.ZodString>;
|
|
89
|
+
self: z.ZodBoolean;
|
|
90
|
+
}, z.core.$strip>>;
|
|
91
|
+
recurrence: z.ZodArray<z.ZodString>;
|
|
92
|
+
recurringEventId: z.ZodOptional<z.ZodString>;
|
|
93
|
+
reminders: z.ZodObject<{
|
|
94
|
+
overrides: z.ZodArray<z.ZodObject<{
|
|
95
|
+
minutes: z.ZodNumber;
|
|
96
|
+
method: z.ZodEnum<{
|
|
97
|
+
email: "email";
|
|
98
|
+
popup: "popup";
|
|
99
|
+
}>;
|
|
100
|
+
}, z.core.$strip>>;
|
|
101
|
+
useDefault: z.ZodBoolean;
|
|
102
|
+
}, z.core.$strip>;
|
|
103
|
+
sequence: z.ZodNumber;
|
|
104
|
+
start: z.ZodOptional<z.ZodObject<{
|
|
105
|
+
date: z.ZodOptional<z.ZodISODate>;
|
|
106
|
+
dateTime: z.ZodOptional<z.ZodString>;
|
|
107
|
+
timeZone: z.ZodOptional<z.ZodString>;
|
|
108
|
+
}, z.core.$strip>>;
|
|
109
|
+
status: z.ZodEnum<{
|
|
110
|
+
cancelled: "cancelled";
|
|
111
|
+
confirmed: "confirmed";
|
|
112
|
+
tentative: "tentative";
|
|
113
|
+
}>;
|
|
114
|
+
summary: z.ZodString;
|
|
115
|
+
transparency: z.ZodEnum<{
|
|
116
|
+
opaque: "opaque";
|
|
117
|
+
transparent: "transparent";
|
|
118
|
+
}>;
|
|
119
|
+
type: z.ZodString;
|
|
120
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
121
|
+
visibility: z.ZodEnum<{
|
|
122
|
+
default: "default";
|
|
123
|
+
public: "public";
|
|
124
|
+
private: "private";
|
|
125
|
+
confidential: "confidential";
|
|
126
|
+
}>;
|
|
127
|
+
}, z.core.$strip>;
|
|
128
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
129
|
+
changeType: z.ZodLiteral<"updated">;
|
|
130
|
+
event: z.ZodObject<{
|
|
131
|
+
attachments: z.ZodArray<z.ZodObject<{
|
|
132
|
+
fileId: z.ZodOptional<z.ZodString>;
|
|
133
|
+
fileUrl: z.ZodURL;
|
|
134
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
135
|
+
title: z.ZodOptional<z.ZodString>;
|
|
136
|
+
iconLink: z.ZodOptional<z.ZodString>;
|
|
137
|
+
}, z.core.$strip>>;
|
|
138
|
+
attendees: z.ZodArray<z.ZodObject<{
|
|
139
|
+
additionalGuests: z.ZodOptional<z.ZodNumber>;
|
|
140
|
+
comment: z.ZodOptional<z.ZodString>;
|
|
141
|
+
email: z.ZodEmail;
|
|
142
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
143
|
+
optional: z.ZodOptional<z.ZodBoolean>;
|
|
144
|
+
resource: z.ZodOptional<z.ZodBoolean>;
|
|
145
|
+
responseStatus: z.ZodOptional<z.ZodEnum<{
|
|
146
|
+
tentative: "tentative";
|
|
147
|
+
needsAction: "needsAction";
|
|
148
|
+
declined: "declined";
|
|
149
|
+
accepted: "accepted";
|
|
150
|
+
}>>;
|
|
151
|
+
organizer: z.ZodBoolean;
|
|
152
|
+
self: z.ZodBoolean;
|
|
153
|
+
}, z.core.$strip>>;
|
|
154
|
+
calendarId: z.ZodString;
|
|
155
|
+
colorId: z.ZodOptional<z.ZodString>;
|
|
156
|
+
conference: z.ZodOptional<z.ZodObject<{
|
|
157
|
+
conferenceId: z.ZodOptional<z.ZodString>;
|
|
158
|
+
creationStatus: z.ZodOptional<z.ZodEnum<{
|
|
159
|
+
success: "success";
|
|
160
|
+
failure: "failure";
|
|
161
|
+
pending: "pending";
|
|
162
|
+
}>>;
|
|
163
|
+
entryPoints: z.ZodArray<z.ZodObject<{
|
|
164
|
+
label: z.ZodOptional<z.ZodString>;
|
|
165
|
+
passcode: z.ZodOptional<z.ZodString>;
|
|
166
|
+
type: z.ZodString;
|
|
167
|
+
uri: z.ZodString;
|
|
168
|
+
}, z.core.$strip>>;
|
|
169
|
+
name: z.ZodOptional<z.ZodString>;
|
|
170
|
+
}, z.core.$strip>>;
|
|
171
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
172
|
+
creator: z.ZodOptional<z.ZodObject<{
|
|
173
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
174
|
+
email: z.ZodOptional<z.ZodString>;
|
|
175
|
+
self: z.ZodBoolean;
|
|
176
|
+
}, z.core.$strip>>;
|
|
177
|
+
description: z.ZodOptional<z.ZodString>;
|
|
178
|
+
end: z.ZodOptional<z.ZodObject<{
|
|
179
|
+
date: z.ZodOptional<z.ZodISODate>;
|
|
180
|
+
dateTime: z.ZodOptional<z.ZodString>;
|
|
181
|
+
timeZone: z.ZodOptional<z.ZodString>;
|
|
182
|
+
}, z.core.$strip>>;
|
|
183
|
+
extendedProperties: z.ZodObject<{
|
|
184
|
+
private: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
185
|
+
shared: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
186
|
+
}, z.core.$strip>;
|
|
187
|
+
guestsCanInviteOthers: z.ZodBoolean;
|
|
188
|
+
guestsCanModify: z.ZodBoolean;
|
|
189
|
+
guestsCanSeeOtherGuests: z.ZodBoolean;
|
|
190
|
+
hangoutLink: z.ZodOptional<z.ZodString>;
|
|
191
|
+
htmlLink: z.ZodOptional<z.ZodString>;
|
|
192
|
+
id: z.ZodString;
|
|
193
|
+
iCalUID: z.ZodOptional<z.ZodString>;
|
|
194
|
+
location: z.ZodOptional<z.ZodString>;
|
|
195
|
+
originalStart: z.ZodOptional<z.ZodObject<{
|
|
196
|
+
date: z.ZodOptional<z.ZodISODate>;
|
|
197
|
+
dateTime: z.ZodOptional<z.ZodString>;
|
|
198
|
+
timeZone: z.ZodOptional<z.ZodString>;
|
|
199
|
+
}, z.core.$strip>>;
|
|
200
|
+
organizer: z.ZodOptional<z.ZodObject<{
|
|
201
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
202
|
+
email: z.ZodOptional<z.ZodString>;
|
|
203
|
+
self: z.ZodBoolean;
|
|
204
|
+
}, z.core.$strip>>;
|
|
205
|
+
recurrence: z.ZodArray<z.ZodString>;
|
|
206
|
+
recurringEventId: z.ZodOptional<z.ZodString>;
|
|
207
|
+
reminders: z.ZodObject<{
|
|
208
|
+
overrides: z.ZodArray<z.ZodObject<{
|
|
209
|
+
minutes: z.ZodNumber;
|
|
210
|
+
method: z.ZodEnum<{
|
|
211
|
+
email: "email";
|
|
212
|
+
popup: "popup";
|
|
213
|
+
}>;
|
|
214
|
+
}, z.core.$strip>>;
|
|
215
|
+
useDefault: z.ZodBoolean;
|
|
216
|
+
}, z.core.$strip>;
|
|
217
|
+
sequence: z.ZodNumber;
|
|
218
|
+
start: z.ZodOptional<z.ZodObject<{
|
|
219
|
+
date: z.ZodOptional<z.ZodISODate>;
|
|
220
|
+
dateTime: z.ZodOptional<z.ZodString>;
|
|
221
|
+
timeZone: z.ZodOptional<z.ZodString>;
|
|
222
|
+
}, z.core.$strip>>;
|
|
223
|
+
status: z.ZodEnum<{
|
|
224
|
+
cancelled: "cancelled";
|
|
225
|
+
confirmed: "confirmed";
|
|
226
|
+
tentative: "tentative";
|
|
227
|
+
}>;
|
|
228
|
+
summary: z.ZodString;
|
|
229
|
+
transparency: z.ZodEnum<{
|
|
230
|
+
opaque: "opaque";
|
|
231
|
+
transparent: "transparent";
|
|
232
|
+
}>;
|
|
233
|
+
type: z.ZodString;
|
|
234
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
235
|
+
visibility: z.ZodEnum<{
|
|
236
|
+
default: "default";
|
|
237
|
+
public: "public";
|
|
238
|
+
private: "private";
|
|
239
|
+
confidential: "confidential";
|
|
240
|
+
}>;
|
|
241
|
+
}, z.core.$strip>;
|
|
242
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
243
|
+
calendarId: z.ZodString;
|
|
244
|
+
event: z.ZodOptional<z.ZodObject<{
|
|
245
|
+
attachments: z.ZodArray<z.ZodObject<{
|
|
246
|
+
fileId: z.ZodOptional<z.ZodString>;
|
|
247
|
+
fileUrl: z.ZodURL;
|
|
248
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
249
|
+
title: z.ZodOptional<z.ZodString>;
|
|
250
|
+
iconLink: z.ZodOptional<z.ZodString>;
|
|
251
|
+
}, z.core.$strip>>;
|
|
252
|
+
attendees: z.ZodArray<z.ZodObject<{
|
|
253
|
+
additionalGuests: z.ZodOptional<z.ZodNumber>;
|
|
254
|
+
comment: z.ZodOptional<z.ZodString>;
|
|
255
|
+
email: z.ZodEmail;
|
|
256
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
257
|
+
optional: z.ZodOptional<z.ZodBoolean>;
|
|
258
|
+
resource: z.ZodOptional<z.ZodBoolean>;
|
|
259
|
+
responseStatus: z.ZodOptional<z.ZodEnum<{
|
|
260
|
+
tentative: "tentative";
|
|
261
|
+
needsAction: "needsAction";
|
|
262
|
+
declined: "declined";
|
|
263
|
+
accepted: "accepted";
|
|
264
|
+
}>>;
|
|
265
|
+
organizer: z.ZodBoolean;
|
|
266
|
+
self: z.ZodBoolean;
|
|
267
|
+
}, z.core.$strip>>;
|
|
268
|
+
calendarId: z.ZodString;
|
|
269
|
+
colorId: z.ZodOptional<z.ZodString>;
|
|
270
|
+
conference: z.ZodOptional<z.ZodObject<{
|
|
271
|
+
conferenceId: z.ZodOptional<z.ZodString>;
|
|
272
|
+
creationStatus: z.ZodOptional<z.ZodEnum<{
|
|
273
|
+
success: "success";
|
|
274
|
+
failure: "failure";
|
|
275
|
+
pending: "pending";
|
|
276
|
+
}>>;
|
|
277
|
+
entryPoints: z.ZodArray<z.ZodObject<{
|
|
278
|
+
label: z.ZodOptional<z.ZodString>;
|
|
279
|
+
passcode: z.ZodOptional<z.ZodString>;
|
|
280
|
+
type: z.ZodString;
|
|
281
|
+
uri: z.ZodString;
|
|
282
|
+
}, z.core.$strip>>;
|
|
283
|
+
name: z.ZodOptional<z.ZodString>;
|
|
284
|
+
}, z.core.$strip>>;
|
|
285
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
286
|
+
creator: z.ZodOptional<z.ZodObject<{
|
|
287
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
288
|
+
email: z.ZodOptional<z.ZodString>;
|
|
289
|
+
self: z.ZodBoolean;
|
|
290
|
+
}, z.core.$strip>>;
|
|
291
|
+
description: z.ZodOptional<z.ZodString>;
|
|
292
|
+
end: z.ZodOptional<z.ZodObject<{
|
|
293
|
+
date: z.ZodOptional<z.ZodISODate>;
|
|
294
|
+
dateTime: z.ZodOptional<z.ZodString>;
|
|
295
|
+
timeZone: z.ZodOptional<z.ZodString>;
|
|
296
|
+
}, z.core.$strip>>;
|
|
297
|
+
extendedProperties: z.ZodObject<{
|
|
298
|
+
private: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
299
|
+
shared: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
300
|
+
}, z.core.$strip>;
|
|
301
|
+
guestsCanInviteOthers: z.ZodBoolean;
|
|
302
|
+
guestsCanModify: z.ZodBoolean;
|
|
303
|
+
guestsCanSeeOtherGuests: z.ZodBoolean;
|
|
304
|
+
hangoutLink: z.ZodOptional<z.ZodString>;
|
|
305
|
+
htmlLink: z.ZodOptional<z.ZodString>;
|
|
306
|
+
id: z.ZodString;
|
|
307
|
+
iCalUID: z.ZodOptional<z.ZodString>;
|
|
308
|
+
location: z.ZodOptional<z.ZodString>;
|
|
309
|
+
originalStart: z.ZodOptional<z.ZodObject<{
|
|
310
|
+
date: z.ZodOptional<z.ZodISODate>;
|
|
311
|
+
dateTime: z.ZodOptional<z.ZodString>;
|
|
312
|
+
timeZone: z.ZodOptional<z.ZodString>;
|
|
313
|
+
}, z.core.$strip>>;
|
|
314
|
+
organizer: z.ZodOptional<z.ZodObject<{
|
|
315
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
316
|
+
email: z.ZodOptional<z.ZodString>;
|
|
317
|
+
self: z.ZodBoolean;
|
|
318
|
+
}, z.core.$strip>>;
|
|
319
|
+
recurrence: z.ZodArray<z.ZodString>;
|
|
320
|
+
recurringEventId: z.ZodOptional<z.ZodString>;
|
|
321
|
+
reminders: z.ZodObject<{
|
|
322
|
+
overrides: z.ZodArray<z.ZodObject<{
|
|
323
|
+
minutes: z.ZodNumber;
|
|
324
|
+
method: z.ZodEnum<{
|
|
325
|
+
email: "email";
|
|
326
|
+
popup: "popup";
|
|
327
|
+
}>;
|
|
328
|
+
}, z.core.$strip>>;
|
|
329
|
+
useDefault: z.ZodBoolean;
|
|
330
|
+
}, z.core.$strip>;
|
|
331
|
+
sequence: z.ZodNumber;
|
|
332
|
+
start: z.ZodOptional<z.ZodObject<{
|
|
333
|
+
date: z.ZodOptional<z.ZodISODate>;
|
|
334
|
+
dateTime: z.ZodOptional<z.ZodString>;
|
|
335
|
+
timeZone: z.ZodOptional<z.ZodString>;
|
|
336
|
+
}, z.core.$strip>>;
|
|
337
|
+
status: z.ZodEnum<{
|
|
338
|
+
cancelled: "cancelled";
|
|
339
|
+
confirmed: "confirmed";
|
|
340
|
+
tentative: "tentative";
|
|
341
|
+
}>;
|
|
342
|
+
summary: z.ZodString;
|
|
343
|
+
transparency: z.ZodEnum<{
|
|
344
|
+
opaque: "opaque";
|
|
345
|
+
transparent: "transparent";
|
|
346
|
+
}>;
|
|
347
|
+
type: z.ZodString;
|
|
348
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
349
|
+
visibility: z.ZodEnum<{
|
|
350
|
+
default: "default";
|
|
351
|
+
public: "public";
|
|
352
|
+
private: "private";
|
|
353
|
+
confidential: "confidential";
|
|
354
|
+
}>;
|
|
355
|
+
}, z.core.$strip>>;
|
|
356
|
+
eventId: z.ZodString;
|
|
357
|
+
changeType: z.ZodLiteral<"deleted">;
|
|
358
|
+
}, z.core.$strip>], "changeType">;
|
|
359
|
+
};
|
|
10
360
|
readonly "googleCalendar.event.created": {
|
|
11
361
|
readonly configSchema: z.ZodObject<{
|
|
12
362
|
calendarId: z.ZodString;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as z from "zod";
|
|
2
|
-
import { GOOGLE_CALENDAR_EVENT_DELETED_SCHEMA } from "./event-schemas.js";
|
|
2
|
+
import { GOOGLE_CALENDAR_EVENT_CHANGED_SCHEMA, GOOGLE_CALENDAR_EVENT_DELETED_SCHEMA, } from "./event-schemas.js";
|
|
3
3
|
import { CALENDAR_EVENT_SCHEMA } from "./schemas.js";
|
|
4
4
|
export * from "./event-schemas.js";
|
|
5
5
|
export * from "./google-calendar.js";
|
|
@@ -9,6 +9,10 @@ export const GOOGLE_CALENDAR_TRIGGER_CONFIG_SCHEMA = z.object({
|
|
|
9
9
|
calendarId: z.string(),
|
|
10
10
|
});
|
|
11
11
|
export const googleCalendarTriggerContracts = {
|
|
12
|
+
"googleCalendar.event.changed": {
|
|
13
|
+
configSchema: GOOGLE_CALENDAR_TRIGGER_CONFIG_SCHEMA,
|
|
14
|
+
eventSchema: GOOGLE_CALENDAR_EVENT_CHANGED_SCHEMA,
|
|
15
|
+
},
|
|
12
16
|
"googleCalendar.event.created": {
|
|
13
17
|
configSchema: GOOGLE_CALENDAR_TRIGGER_CONFIG_SCHEMA,
|
|
14
18
|
eventSchema: CALENDAR_EVENT_SCHEMA,
|
|
@@ -1,6 +1,15 @@
|
|
|
1
1
|
import * as z from "zod";
|
|
2
2
|
export declare const MILLIONVERIFIER_FILE_ID_SCHEMA: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<string, string | number>>;
|
|
3
3
|
export declare const MILLIONVERIFIER_FILE_STATUS_SCHEMA: z.ZodEnum<{
|
|
4
|
+
unknown: "unknown";
|
|
5
|
+
error: "error";
|
|
6
|
+
paused: "paused";
|
|
7
|
+
canceled: "canceled";
|
|
8
|
+
finished: "finished";
|
|
9
|
+
inProgress: "inProgress";
|
|
10
|
+
inQueueToStart: "inQueueToStart";
|
|
11
|
+
}>;
|
|
12
|
+
export declare const MILLIONVERIFIER_FILE_FILTER_STATUS_SCHEMA: z.ZodEnum<{
|
|
4
13
|
error: "error";
|
|
5
14
|
paused: "paused";
|
|
6
15
|
canceled: "canceled";
|
|
@@ -22,6 +31,7 @@ export declare const MILLIONVERIFIER_FILE_SCHEMA: z.ZodObject<{
|
|
|
22
31
|
percent: z.ZodNumber;
|
|
23
32
|
reverify: z.ZodNumber;
|
|
24
33
|
status: z.ZodEnum<{
|
|
34
|
+
unknown: "unknown";
|
|
25
35
|
error: "error";
|
|
26
36
|
paused: "paused";
|
|
27
37
|
canceled: "canceled";
|
|
@@ -91,6 +101,7 @@ export declare const MILLIONVERIFIER_FILE_WIRE_SCHEMA: z.ZodPipe<z.ZodObject<{
|
|
|
91
101
|
percent: z.ZodNumber;
|
|
92
102
|
reverify: z.ZodNumber;
|
|
93
103
|
status: z.ZodEnum<{
|
|
104
|
+
unknown: "unknown";
|
|
94
105
|
error: "error";
|
|
95
106
|
in_progress: "in_progress";
|
|
96
107
|
paused: "paused";
|
|
@@ -117,7 +128,7 @@ export declare const MILLIONVERIFIER_FILE_WIRE_SCHEMA: z.ZodPipe<z.ZodObject<{
|
|
|
117
128
|
ok: number;
|
|
118
129
|
percent: number;
|
|
119
130
|
reverify: number;
|
|
120
|
-
status: "error" | "paused" | "canceled" | "finished" | "inProgress" | "inQueueToStart";
|
|
131
|
+
status: "unknown" | "error" | "paused" | "canceled" | "finished" | "inProgress" | "inQueueToStart";
|
|
121
132
|
totalRows: number;
|
|
122
133
|
uniqueEmails: number;
|
|
123
134
|
unknown: number;
|
|
@@ -138,7 +149,7 @@ export declare const MILLIONVERIFIER_FILE_WIRE_SCHEMA: z.ZodPipe<z.ZodObject<{
|
|
|
138
149
|
ok: number;
|
|
139
150
|
percent: number;
|
|
140
151
|
reverify: number;
|
|
141
|
-
status: "error" | "in_progress" | "paused" | "canceled" | "finished" | "in_queue_to_start";
|
|
152
|
+
status: "unknown" | "error" | "in_progress" | "paused" | "canceled" | "finished" | "in_queue_to_start";
|
|
142
153
|
total_rows: number;
|
|
143
154
|
unique_emails: number;
|
|
144
155
|
unknown: number;
|
|
@@ -223,4 +234,4 @@ export declare const MILLIONVERIFIER_CREDITS_WIRE_SCHEMA: z.ZodPipe<z.ZodObject<
|
|
|
223
234
|
*
|
|
224
235
|
* @param status - Public file status.
|
|
225
236
|
*/
|
|
226
|
-
export declare function toMillionVerifierFileStatus(status: z.output<typeof
|
|
237
|
+
export declare function toMillionVerifierFileStatus(status: z.output<typeof MILLIONVERIFIER_FILE_FILTER_STATUS_SCHEMA>): "error" | "in_progress" | "paused" | "canceled" | "finished" | "in_queue_to_start";
|
|
@@ -3,6 +3,15 @@ export const MILLIONVERIFIER_FILE_ID_SCHEMA = z
|
|
|
3
3
|
.union([z.string().regex(/^\d+$/), z.number().int().positive()])
|
|
4
4
|
.transform(String);
|
|
5
5
|
export const MILLIONVERIFIER_FILE_STATUS_SCHEMA = z.enum([
|
|
6
|
+
"unknown",
|
|
7
|
+
"inProgress",
|
|
8
|
+
"error",
|
|
9
|
+
"finished",
|
|
10
|
+
"canceled",
|
|
11
|
+
"paused",
|
|
12
|
+
"inQueueToStart",
|
|
13
|
+
]);
|
|
14
|
+
export const MILLIONVERIFIER_FILE_FILTER_STATUS_SCHEMA = z.enum([
|
|
6
15
|
"inProgress",
|
|
7
16
|
"error",
|
|
8
17
|
"finished",
|
|
@@ -61,6 +70,7 @@ export const MILLIONVERIFIER_CREDITS_SCHEMA = z.object({
|
|
|
61
70
|
renewingCredits: z.number().int().nonnegative(),
|
|
62
71
|
});
|
|
63
72
|
const PROVIDER_FILE_STATUS_SCHEMA = z.enum([
|
|
73
|
+
"unknown",
|
|
64
74
|
"in_progress",
|
|
65
75
|
"error",
|
|
66
76
|
"finished",
|