@remit/api-zod-schemas 0.0.65 → 0.0.67
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 +32 -3
- package/middleware.d.ts.map +1 -1
- package/middleware.js +112 -1
- package/middleware.js.map +1 -1
- package/middleware.ts +118 -0
- package/package.json +1 -1
- package/schemas.d.ts +402 -29
- package/schemas.d.ts.map +1 -1
- package/schemas.js +174 -9
- package/schemas.js.map +1 -1
- package/schemas.ts +206 -12
package/schemas.d.ts
CHANGED
|
@@ -96,6 +96,16 @@ export declare const SystemUpdateOutcomeSchema: z.ZodEnum<{
|
|
|
96
96
|
rollbackFailed: "rollbackFailed";
|
|
97
97
|
abandoned: "abandoned";
|
|
98
98
|
}>;
|
|
99
|
+
export declare const PersonStatusSchema: z.ZodEnum<{
|
|
100
|
+
Active: "Active";
|
|
101
|
+
Disabled: "Disabled";
|
|
102
|
+
}>;
|
|
103
|
+
export declare const StepUpActionSchema: z.ZodEnum<{
|
|
104
|
+
SignOut: "SignOut";
|
|
105
|
+
Disable: "Disable";
|
|
106
|
+
Enable: "Enable";
|
|
107
|
+
ResetPassword: "ResetPassword";
|
|
108
|
+
}>;
|
|
99
109
|
export declare const NamespaceTypeSchema: z.ZodEnum<{
|
|
100
110
|
personal: "personal";
|
|
101
111
|
other_users: "other_users";
|
|
@@ -128,8 +138,8 @@ export declare const FilterScopeSchema: z.ZodEnum<{
|
|
|
128
138
|
}>;
|
|
129
139
|
export declare const FilterStateSchema: z.ZodEnum<{
|
|
130
140
|
Active: "Active";
|
|
131
|
-
Expired: "Expired";
|
|
132
141
|
Disabled: "Disabled";
|
|
142
|
+
Expired: "Expired";
|
|
133
143
|
}>;
|
|
134
144
|
export declare const FilterDisabledReasonSchema: z.ZodEnum<{
|
|
135
145
|
None: "None";
|
|
@@ -176,6 +186,7 @@ export declare const CalendarColorSchema: z.ZodEnum<{
|
|
|
176
186
|
}>;
|
|
177
187
|
export declare const CalendarComponentSetSchema: z.ZodEnum<{
|
|
178
188
|
VeventOnly: "VeventOnly";
|
|
189
|
+
VtodoOnly: "VtodoOnly";
|
|
179
190
|
}>;
|
|
180
191
|
export declare const CalendarSourceSchema: z.ZodEnum<{
|
|
181
192
|
Default: "Default";
|
|
@@ -197,11 +208,51 @@ export declare const ZoneCertaintySchema: z.ZodEnum<{
|
|
|
197
208
|
Explicit: "Explicit";
|
|
198
209
|
Ambiguous: "Ambiguous";
|
|
199
210
|
}>;
|
|
211
|
+
export declare const CalendarParticipationSchema: z.ZodEnum<{
|
|
212
|
+
Tentative: "Tentative";
|
|
213
|
+
Unscheduled: "Unscheduled";
|
|
214
|
+
Organizer: "Organizer";
|
|
215
|
+
NeedsAction: "NeedsAction";
|
|
216
|
+
Accepted: "Accepted";
|
|
217
|
+
Declined: "Declined";
|
|
218
|
+
}>;
|
|
219
|
+
export declare const CalendarAttendeeRoleSchema: z.ZodEnum<{
|
|
220
|
+
Organizer: "Organizer";
|
|
221
|
+
Guest: "Guest";
|
|
222
|
+
}>;
|
|
223
|
+
export declare const CalendarAttendeeStatusSchema: z.ZodEnum<{
|
|
224
|
+
Tentative: "Tentative";
|
|
225
|
+
NeedsAction: "NeedsAction";
|
|
226
|
+
Accepted: "Accepted";
|
|
227
|
+
Declined: "Declined";
|
|
228
|
+
}>;
|
|
229
|
+
export declare const CalendarInviteMethodSchema: z.ZodEnum<{
|
|
230
|
+
None: "None";
|
|
231
|
+
Request: "Request";
|
|
232
|
+
Reply: "Reply";
|
|
233
|
+
Cancel: "Cancel";
|
|
234
|
+
Counter: "Counter";
|
|
235
|
+
Publish: "Publish";
|
|
236
|
+
}>;
|
|
237
|
+
export declare const OutboxMessageStatusSchema: z.ZodEnum<{
|
|
238
|
+
failed: "failed";
|
|
239
|
+
draft: "draft";
|
|
240
|
+
queued: "queued";
|
|
241
|
+
sending: "sending";
|
|
242
|
+
sent: "sent";
|
|
243
|
+
unfiled: "unfiled";
|
|
244
|
+
blocked: "blocked";
|
|
245
|
+
}>;
|
|
200
246
|
export declare const RecurrenceScopeSchema: z.ZodEnum<{
|
|
201
247
|
All: "All";
|
|
202
248
|
This: "This";
|
|
203
249
|
Following: "Following";
|
|
204
250
|
}>;
|
|
251
|
+
export declare const CalendarInviteAnswerSchema: z.ZodEnum<{
|
|
252
|
+
Tentative: "Tentative";
|
|
253
|
+
Accepted: "Accepted";
|
|
254
|
+
Declined: "Declined";
|
|
255
|
+
}>;
|
|
205
256
|
export declare const SortOrderSchema: z.ZodEnum<{
|
|
206
257
|
asc: "asc";
|
|
207
258
|
desc: "desc";
|
|
@@ -267,15 +318,6 @@ export declare const PlacementActionSchema: z.ZodEnum<{
|
|
|
267
318
|
MoveToInbox: "MoveToInbox";
|
|
268
319
|
MoveToJunk: "MoveToJunk";
|
|
269
320
|
}>;
|
|
270
|
-
export declare const OutboxMessageStatusSchema: z.ZodEnum<{
|
|
271
|
-
failed: "failed";
|
|
272
|
-
draft: "draft";
|
|
273
|
-
queued: "queued";
|
|
274
|
-
sending: "sending";
|
|
275
|
-
sent: "sent";
|
|
276
|
-
unfiled: "unfiled";
|
|
277
|
-
blocked: "blocked";
|
|
278
|
-
}>;
|
|
279
321
|
export declare const OutboxAttachmentStateSchema: z.ZodEnum<{
|
|
280
322
|
Pending: "Pending";
|
|
281
323
|
Stored: "Stored";
|
|
@@ -291,8 +333,8 @@ export declare const OutboxAttachmentRejectionReasonSchema: z.ZodEnum<{
|
|
|
291
333
|
SizeMismatch: "SizeMismatch";
|
|
292
334
|
}>;
|
|
293
335
|
export declare const AddressFlagKeySchema: z.ZodEnum<{
|
|
294
|
-
vip: "vip";
|
|
295
336
|
blocked: "blocked";
|
|
337
|
+
vip: "vip";
|
|
296
338
|
trusted: "trusted";
|
|
297
339
|
muted: "muted";
|
|
298
340
|
junkOnly: "junkOnly";
|
|
@@ -380,14 +422,6 @@ export declare const CalendarSuggestionStateSchema: z.ZodEnum<{
|
|
|
380
422
|
Dismissed: "Dismissed";
|
|
381
423
|
Superseded: "Superseded";
|
|
382
424
|
}>;
|
|
383
|
-
export declare const CalendarInviteMethodSchema: z.ZodEnum<{
|
|
384
|
-
None: "None";
|
|
385
|
-
Request: "Request";
|
|
386
|
-
Reply: "Reply";
|
|
387
|
-
Cancel: "Cancel";
|
|
388
|
-
Counter: "Counter";
|
|
389
|
-
Publish: "Publish";
|
|
390
|
-
}>;
|
|
391
425
|
export declare const CalendarSuggestionSourceSchema: z.ZodEnum<{
|
|
392
426
|
IcalendarPart: "IcalendarPart";
|
|
393
427
|
IcalendarAttachment: "IcalendarAttachment";
|
|
@@ -397,10 +431,6 @@ export declare const CalendarAnswerOvertakenSchema: z.ZodEnum<{
|
|
|
397
431
|
None: "None";
|
|
398
432
|
Cancellation: "Cancellation";
|
|
399
433
|
}>;
|
|
400
|
-
export declare const CalendarInviteAnswerSchema: z.ZodEnum<{
|
|
401
|
-
Tentative: "Tentative";
|
|
402
|
-
Accepted: "Accepted";
|
|
403
|
-
}>;
|
|
404
434
|
export declare const MessageSystemFlagSchema: z.ZodEnum<{
|
|
405
435
|
"\\Seen": "\\Seen";
|
|
406
436
|
"\\Answered": "\\Answered";
|
|
@@ -438,8 +468,8 @@ export declare const ContentEncodingSchema: z.ZodEnum<{
|
|
|
438
468
|
zstd: "zstd";
|
|
439
469
|
}>;
|
|
440
470
|
export declare const SenderOverrideSchema: z.ZodEnum<{
|
|
441
|
-
none: "none";
|
|
442
471
|
blocked: "blocked";
|
|
472
|
+
none: "none";
|
|
443
473
|
neverSpam: "neverSpam";
|
|
444
474
|
}>;
|
|
445
475
|
export declare const AccountSettingNameSchema: z.ZodEnum<{
|
|
@@ -457,6 +487,7 @@ export declare const AccountSettingNameSchema: z.ZodEnum<{
|
|
|
457
487
|
FolderRoleAppointment: "FolderRoleAppointment";
|
|
458
488
|
FolderRoleAppointmentLabel: "FolderRoleAppointmentLabel";
|
|
459
489
|
MailboxRole: "MailboxRole";
|
|
490
|
+
DefaultInvitationSenderAccountId: "DefaultInvitationSenderAccountId";
|
|
460
491
|
}>;
|
|
461
492
|
export declare const ConfigImportStateSchema: z.ZodEnum<{
|
|
462
493
|
Pending: "Pending";
|
|
@@ -1289,6 +1320,93 @@ export declare const SystemUpdateResponseSchema: z.ZodObject<{
|
|
|
1289
1320
|
export declare const ApplyUpdateInputSchema: z.ZodObject<{
|
|
1290
1321
|
targetVersion: z.ZodString;
|
|
1291
1322
|
}, z.core.$strip>;
|
|
1323
|
+
export declare const PersonSchema: z.ZodObject<{
|
|
1324
|
+
userId: z.ZodString;
|
|
1325
|
+
email: z.ZodString;
|
|
1326
|
+
createdAt: z.ZodNumber;
|
|
1327
|
+
lastSignInAt: z.ZodNumber;
|
|
1328
|
+
sessionCount: z.ZodNumber;
|
|
1329
|
+
status: z.ZodEnum<{
|
|
1330
|
+
Active: "Active";
|
|
1331
|
+
Disabled: "Disabled";
|
|
1332
|
+
}>;
|
|
1333
|
+
isCaller: z.ZodBoolean;
|
|
1334
|
+
}, z.core.$strip>;
|
|
1335
|
+
export declare const PeopleListResponseSchema: z.ZodObject<{
|
|
1336
|
+
people: z.ZodArray<z.ZodObject<{
|
|
1337
|
+
userId: z.ZodString;
|
|
1338
|
+
email: z.ZodString;
|
|
1339
|
+
createdAt: z.ZodNumber;
|
|
1340
|
+
lastSignInAt: z.ZodNumber;
|
|
1341
|
+
sessionCount: z.ZodNumber;
|
|
1342
|
+
status: z.ZodEnum<{
|
|
1343
|
+
Active: "Active";
|
|
1344
|
+
Disabled: "Disabled";
|
|
1345
|
+
}>;
|
|
1346
|
+
isCaller: z.ZodBoolean;
|
|
1347
|
+
}, z.core.$strip>>;
|
|
1348
|
+
}, z.core.$strip>;
|
|
1349
|
+
export declare const PeopleForbiddenErrorSchema: z.ZodObject<{
|
|
1350
|
+
statusCode: z.ZodLiteral<403>;
|
|
1351
|
+
code: z.ZodString;
|
|
1352
|
+
message: z.ZodString;
|
|
1353
|
+
details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1354
|
+
}, z.core.$strip>;
|
|
1355
|
+
export declare const StepUpInputSchema: z.ZodObject<{
|
|
1356
|
+
password: z.ZodString;
|
|
1357
|
+
action: z.ZodEnum<{
|
|
1358
|
+
SignOut: "SignOut";
|
|
1359
|
+
Disable: "Disable";
|
|
1360
|
+
Enable: "Enable";
|
|
1361
|
+
ResetPassword: "ResetPassword";
|
|
1362
|
+
}>;
|
|
1363
|
+
userId: z.ZodString;
|
|
1364
|
+
}, z.core.$strip>;
|
|
1365
|
+
export declare const StepUpResponseSchema: z.ZodObject<{
|
|
1366
|
+
stepUpToken: z.ZodString;
|
|
1367
|
+
expiresAt: z.ZodNumber;
|
|
1368
|
+
}, z.core.$strip>;
|
|
1369
|
+
export declare const StepUpLockedErrorSchema: z.ZodObject<{
|
|
1370
|
+
statusCode: z.ZodLiteral<429>;
|
|
1371
|
+
code: z.ZodString;
|
|
1372
|
+
message: z.ZodString;
|
|
1373
|
+
details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1374
|
+
}, z.core.$strip>;
|
|
1375
|
+
export declare const SignOutPersonInputSchema: z.ZodObject<{
|
|
1376
|
+
stepUpToken: z.ZodString;
|
|
1377
|
+
}, z.core.$strip>;
|
|
1378
|
+
export declare const UpdatePersonInputSchema: z.ZodObject<{
|
|
1379
|
+
status: z.ZodEnum<{
|
|
1380
|
+
Active: "Active";
|
|
1381
|
+
Disabled: "Disabled";
|
|
1382
|
+
}>;
|
|
1383
|
+
stepUpToken: z.ZodString;
|
|
1384
|
+
}, z.core.$strip>;
|
|
1385
|
+
export declare const CannotDisableSelfErrorSchema: z.ZodObject<{
|
|
1386
|
+
statusCode: z.ZodLiteral<409>;
|
|
1387
|
+
code: z.ZodString;
|
|
1388
|
+
message: z.ZodString;
|
|
1389
|
+
details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1390
|
+
}, z.core.$strip>;
|
|
1391
|
+
export declare const CreatePasswordResetInputSchema: z.ZodObject<{
|
|
1392
|
+
stepUpToken: z.ZodString;
|
|
1393
|
+
}, z.core.$strip>;
|
|
1394
|
+
export declare const PasswordResetResponseSchema: z.ZodObject<{
|
|
1395
|
+
person: z.ZodObject<{
|
|
1396
|
+
userId: z.ZodString;
|
|
1397
|
+
email: z.ZodString;
|
|
1398
|
+
createdAt: z.ZodNumber;
|
|
1399
|
+
lastSignInAt: z.ZodNumber;
|
|
1400
|
+
sessionCount: z.ZodNumber;
|
|
1401
|
+
status: z.ZodEnum<{
|
|
1402
|
+
Active: "Active";
|
|
1403
|
+
Disabled: "Disabled";
|
|
1404
|
+
}>;
|
|
1405
|
+
isCaller: z.ZodBoolean;
|
|
1406
|
+
}, z.core.$strip>;
|
|
1407
|
+
resetUrl: z.ZodString;
|
|
1408
|
+
expiresAt: z.ZodNumber;
|
|
1409
|
+
}, z.core.$strip>;
|
|
1292
1410
|
export declare const MailboxSchema: z.ZodObject<{
|
|
1293
1411
|
mailboxId: z.ZodString;
|
|
1294
1412
|
accountId: z.ZodString;
|
|
@@ -1477,8 +1595,8 @@ export declare const FilterSchema: z.ZodObject<{
|
|
|
1477
1595
|
ttl: z.ZodOptional<z.ZodNumber>;
|
|
1478
1596
|
state: z.ZodEnum<{
|
|
1479
1597
|
Active: "Active";
|
|
1480
|
-
Expired: "Expired";
|
|
1481
1598
|
Disabled: "Disabled";
|
|
1599
|
+
Expired: "Expired";
|
|
1482
1600
|
}>;
|
|
1483
1601
|
disabledReason: z.ZodEnum<{
|
|
1484
1602
|
None: "None";
|
|
@@ -1519,8 +1637,8 @@ export declare const FilterResponseSchema: z.ZodObject<{
|
|
|
1519
1637
|
expiresAt: z.ZodOptional<z.ZodString>;
|
|
1520
1638
|
state: z.ZodEnum<{
|
|
1521
1639
|
Active: "Active";
|
|
1522
|
-
Expired: "Expired";
|
|
1523
1640
|
Disabled: "Disabled";
|
|
1641
|
+
Expired: "Expired";
|
|
1524
1642
|
}>;
|
|
1525
1643
|
disabledReason: z.ZodEnum<{
|
|
1526
1644
|
None: "None";
|
|
@@ -1585,8 +1703,8 @@ export declare const CreateFilterResponseSchema: z.ZodObject<{
|
|
|
1585
1703
|
expiresAt: z.ZodOptional<z.ZodString>;
|
|
1586
1704
|
state: z.ZodEnum<{
|
|
1587
1705
|
Active: "Active";
|
|
1588
|
-
Expired: "Expired";
|
|
1589
1706
|
Disabled: "Disabled";
|
|
1707
|
+
Expired: "Expired";
|
|
1590
1708
|
}>;
|
|
1591
1709
|
disabledReason: z.ZodEnum<{
|
|
1592
1710
|
None: "None";
|
|
@@ -1626,8 +1744,8 @@ export declare const UpdateFilterInputSchema: z.ZodObject<{
|
|
|
1626
1744
|
expiresAt: z.ZodOptional<z.ZodString>;
|
|
1627
1745
|
state: z.ZodEnum<{
|
|
1628
1746
|
Active: "Active";
|
|
1629
|
-
Expired: "Expired";
|
|
1630
1747
|
Disabled: "Disabled";
|
|
1748
|
+
Expired: "Expired";
|
|
1631
1749
|
}>;
|
|
1632
1750
|
matchOperator: z.ZodEnum<{
|
|
1633
1751
|
And: "And";
|
|
@@ -1829,6 +1947,7 @@ export declare const CalendarResponseSchema: z.ZodObject<{
|
|
|
1829
1947
|
}>;
|
|
1830
1948
|
componentSet: z.ZodEnum<{
|
|
1831
1949
|
VeventOnly: "VeventOnly";
|
|
1950
|
+
VtodoOnly: "VtodoOnly";
|
|
1832
1951
|
}>;
|
|
1833
1952
|
source: z.ZodEnum<{
|
|
1834
1953
|
Default: "Default";
|
|
@@ -1862,6 +1981,7 @@ export declare const CalendarListResponseSchema: z.ZodObject<{
|
|
|
1862
1981
|
}>;
|
|
1863
1982
|
componentSet: z.ZodEnum<{
|
|
1864
1983
|
VeventOnly: "VeventOnly";
|
|
1984
|
+
VtodoOnly: "VtodoOnly";
|
|
1865
1985
|
}>;
|
|
1866
1986
|
source: z.ZodEnum<{
|
|
1867
1987
|
Default: "Default";
|
|
@@ -1895,6 +2015,7 @@ export declare const CalendarCollectionSchema: z.ZodObject<{
|
|
|
1895
2015
|
}>;
|
|
1896
2016
|
componentSet: z.ZodEnum<{
|
|
1897
2017
|
VeventOnly: "VeventOnly";
|
|
2018
|
+
VtodoOnly: "VtodoOnly";
|
|
1898
2019
|
}>;
|
|
1899
2020
|
source: z.ZodEnum<{
|
|
1900
2021
|
Default: "Default";
|
|
@@ -1994,6 +2115,14 @@ export declare const CalendarEventInstanceSchema: z.ZodObject<{
|
|
|
1994
2115
|
}>;
|
|
1995
2116
|
etag: z.ZodString;
|
|
1996
2117
|
hasRecurrence: z.ZodBoolean;
|
|
2118
|
+
participation: z.ZodEnum<{
|
|
2119
|
+
Tentative: "Tentative";
|
|
2120
|
+
Unscheduled: "Unscheduled";
|
|
2121
|
+
Organizer: "Organizer";
|
|
2122
|
+
NeedsAction: "NeedsAction";
|
|
2123
|
+
Accepted: "Accepted";
|
|
2124
|
+
Declined: "Declined";
|
|
2125
|
+
}>;
|
|
1997
2126
|
}, z.core.$strip>;
|
|
1998
2127
|
export declare const CalendarEventListResponseSchema: z.ZodObject<{
|
|
1999
2128
|
items: z.ZodArray<z.ZodObject<{
|
|
@@ -2021,8 +2150,20 @@ export declare const CalendarEventListResponseSchema: z.ZodObject<{
|
|
|
2021
2150
|
}>;
|
|
2022
2151
|
etag: z.ZodString;
|
|
2023
2152
|
hasRecurrence: z.ZodBoolean;
|
|
2153
|
+
participation: z.ZodEnum<{
|
|
2154
|
+
Tentative: "Tentative";
|
|
2155
|
+
Unscheduled: "Unscheduled";
|
|
2156
|
+
Organizer: "Organizer";
|
|
2157
|
+
NeedsAction: "NeedsAction";
|
|
2158
|
+
Accepted: "Accepted";
|
|
2159
|
+
Declined: "Declined";
|
|
2160
|
+
}>;
|
|
2024
2161
|
}, z.core.$strip>>;
|
|
2025
2162
|
}, z.core.$strip>;
|
|
2163
|
+
export declare const CalendarAttendeeInputSchema: z.ZodObject<{
|
|
2164
|
+
email: z.ZodString;
|
|
2165
|
+
displayName: z.ZodString;
|
|
2166
|
+
}, z.core.$strip>;
|
|
2026
2167
|
export declare const CreateCalendarEventInputSchema: z.ZodObject<{
|
|
2027
2168
|
calendarId: z.ZodString;
|
|
2028
2169
|
summary: z.ZodString;
|
|
@@ -2042,6 +2183,11 @@ export declare const CreateCalendarEventInputSchema: z.ZodObject<{
|
|
|
2042
2183
|
Transparent: "Transparent";
|
|
2043
2184
|
}>>;
|
|
2044
2185
|
recurrenceRule: z.ZodOptional<z.ZodString>;
|
|
2186
|
+
attendees: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2187
|
+
email: z.ZodString;
|
|
2188
|
+
displayName: z.ZodString;
|
|
2189
|
+
}, z.core.$strip>>>;
|
|
2190
|
+
organizerAccountId: z.ZodOptional<z.ZodString>;
|
|
2045
2191
|
}, z.core.$strip>;
|
|
2046
2192
|
export declare const CalendarObjectSchema: z.ZodObject<{
|
|
2047
2193
|
calendarObjectId: z.ZodString;
|
|
@@ -2075,6 +2221,47 @@ export declare const CalendarObjectSchema: z.ZodObject<{
|
|
|
2075
2221
|
createdAt: z.ZodNumber;
|
|
2076
2222
|
updatedAt: z.ZodNumber;
|
|
2077
2223
|
}, z.core.$strip>;
|
|
2224
|
+
export declare const CalendarAttendeeSchema: z.ZodObject<{
|
|
2225
|
+
email: z.ZodString;
|
|
2226
|
+
displayName: z.ZodString;
|
|
2227
|
+
role: z.ZodEnum<{
|
|
2228
|
+
Organizer: "Organizer";
|
|
2229
|
+
Guest: "Guest";
|
|
2230
|
+
}>;
|
|
2231
|
+
status: z.ZodEnum<{
|
|
2232
|
+
Tentative: "Tentative";
|
|
2233
|
+
NeedsAction: "NeedsAction";
|
|
2234
|
+
Accepted: "Accepted";
|
|
2235
|
+
Declined: "Declined";
|
|
2236
|
+
}>;
|
|
2237
|
+
}, z.core.$strip>;
|
|
2238
|
+
export declare const CalendarAttendeeCountsSchema: z.ZodObject<{
|
|
2239
|
+
accepted: z.ZodNumber;
|
|
2240
|
+
declined: z.ZodNumber;
|
|
2241
|
+
tentative: z.ZodNumber;
|
|
2242
|
+
needsAction: z.ZodNumber;
|
|
2243
|
+
}, z.core.$strip>;
|
|
2244
|
+
export declare const CalendarSchedulingSendSchema: z.ZodObject<{
|
|
2245
|
+
email: z.ZodString;
|
|
2246
|
+
outboxMessageId: z.ZodString;
|
|
2247
|
+
method: z.ZodEnum<{
|
|
2248
|
+
None: "None";
|
|
2249
|
+
Request: "Request";
|
|
2250
|
+
Reply: "Reply";
|
|
2251
|
+
Cancel: "Cancel";
|
|
2252
|
+
Counter: "Counter";
|
|
2253
|
+
Publish: "Publish";
|
|
2254
|
+
}>;
|
|
2255
|
+
status: z.ZodEnum<{
|
|
2256
|
+
failed: "failed";
|
|
2257
|
+
draft: "draft";
|
|
2258
|
+
queued: "queued";
|
|
2259
|
+
sending: "sending";
|
|
2260
|
+
sent: "sent";
|
|
2261
|
+
unfiled: "unfiled";
|
|
2262
|
+
blocked: "blocked";
|
|
2263
|
+
}>;
|
|
2264
|
+
}, z.core.$strip>;
|
|
2078
2265
|
export declare const CalendarEventResponseSchema: z.ZodObject<{
|
|
2079
2266
|
calendarObjectId: z.ZodString;
|
|
2080
2267
|
calendarId: z.ZodString;
|
|
@@ -2106,6 +2293,56 @@ export declare const CalendarEventResponseSchema: z.ZodObject<{
|
|
|
2106
2293
|
expandedThrough: z.ZodString;
|
|
2107
2294
|
createdAt: z.ZodNumber;
|
|
2108
2295
|
updatedAt: z.ZodNumber;
|
|
2296
|
+
participation: z.ZodEnum<{
|
|
2297
|
+
Tentative: "Tentative";
|
|
2298
|
+
Unscheduled: "Unscheduled";
|
|
2299
|
+
Organizer: "Organizer";
|
|
2300
|
+
NeedsAction: "NeedsAction";
|
|
2301
|
+
Accepted: "Accepted";
|
|
2302
|
+
Declined: "Declined";
|
|
2303
|
+
}>;
|
|
2304
|
+
organizer: z.ZodString;
|
|
2305
|
+
attendees: z.ZodArray<z.ZodObject<{
|
|
2306
|
+
email: z.ZodString;
|
|
2307
|
+
displayName: z.ZodString;
|
|
2308
|
+
role: z.ZodEnum<{
|
|
2309
|
+
Organizer: "Organizer";
|
|
2310
|
+
Guest: "Guest";
|
|
2311
|
+
}>;
|
|
2312
|
+
status: z.ZodEnum<{
|
|
2313
|
+
Tentative: "Tentative";
|
|
2314
|
+
NeedsAction: "NeedsAction";
|
|
2315
|
+
Accepted: "Accepted";
|
|
2316
|
+
Declined: "Declined";
|
|
2317
|
+
}>;
|
|
2318
|
+
}, z.core.$strip>>;
|
|
2319
|
+
attendeeCounts: z.ZodObject<{
|
|
2320
|
+
accepted: z.ZodNumber;
|
|
2321
|
+
declined: z.ZodNumber;
|
|
2322
|
+
tentative: z.ZodNumber;
|
|
2323
|
+
needsAction: z.ZodNumber;
|
|
2324
|
+
}, z.core.$strip>;
|
|
2325
|
+
sends: z.ZodArray<z.ZodObject<{
|
|
2326
|
+
email: z.ZodString;
|
|
2327
|
+
outboxMessageId: z.ZodString;
|
|
2328
|
+
method: z.ZodEnum<{
|
|
2329
|
+
None: "None";
|
|
2330
|
+
Request: "Request";
|
|
2331
|
+
Reply: "Reply";
|
|
2332
|
+
Cancel: "Cancel";
|
|
2333
|
+
Counter: "Counter";
|
|
2334
|
+
Publish: "Publish";
|
|
2335
|
+
}>;
|
|
2336
|
+
status: z.ZodEnum<{
|
|
2337
|
+
failed: "failed";
|
|
2338
|
+
draft: "draft";
|
|
2339
|
+
queued: "queued";
|
|
2340
|
+
sending: "sending";
|
|
2341
|
+
sent: "sent";
|
|
2342
|
+
unfiled: "unfiled";
|
|
2343
|
+
blocked: "blocked";
|
|
2344
|
+
}>;
|
|
2345
|
+
}, z.core.$strip>>;
|
|
2109
2346
|
}, z.core.$strip>;
|
|
2110
2347
|
export declare const UpdateCalendarEventInputSchema: z.ZodObject<{
|
|
2111
2348
|
summary: z.ZodOptional<z.ZodString>;
|
|
@@ -2125,6 +2362,40 @@ export declare const UpdateCalendarEventInputSchema: z.ZodObject<{
|
|
|
2125
2362
|
Transparent: "Transparent";
|
|
2126
2363
|
}>>;
|
|
2127
2364
|
recurrenceRule: z.ZodOptional<z.ZodString>;
|
|
2365
|
+
attendees: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2366
|
+
email: z.ZodString;
|
|
2367
|
+
displayName: z.ZodString;
|
|
2368
|
+
}, z.core.$strip>>>;
|
|
2369
|
+
organizerAccountId: z.ZodOptional<z.ZodString>;
|
|
2370
|
+
answer: z.ZodOptional<z.ZodEnum<{
|
|
2371
|
+
Tentative: "Tentative";
|
|
2372
|
+
Accepted: "Accepted";
|
|
2373
|
+
Declined: "Declined";
|
|
2374
|
+
}>>;
|
|
2375
|
+
}, z.core.$strip>;
|
|
2376
|
+
export declare const CalendarEventDeleteResponseSchema: z.ZodObject<{
|
|
2377
|
+
statusCode: z.ZodLiteral<200>;
|
|
2378
|
+
sends: z.ZodArray<z.ZodObject<{
|
|
2379
|
+
email: z.ZodString;
|
|
2380
|
+
outboxMessageId: z.ZodString;
|
|
2381
|
+
method: z.ZodEnum<{
|
|
2382
|
+
None: "None";
|
|
2383
|
+
Request: "Request";
|
|
2384
|
+
Reply: "Reply";
|
|
2385
|
+
Cancel: "Cancel";
|
|
2386
|
+
Counter: "Counter";
|
|
2387
|
+
Publish: "Publish";
|
|
2388
|
+
}>;
|
|
2389
|
+
status: z.ZodEnum<{
|
|
2390
|
+
failed: "failed";
|
|
2391
|
+
draft: "draft";
|
|
2392
|
+
queued: "queued";
|
|
2393
|
+
sending: "sending";
|
|
2394
|
+
sent: "sent";
|
|
2395
|
+
unfiled: "unfiled";
|
|
2396
|
+
blocked: "blocked";
|
|
2397
|
+
}>;
|
|
2398
|
+
}, z.core.$strip>>;
|
|
2128
2399
|
}, z.core.$strip>;
|
|
2129
2400
|
export declare const CalendarFreeBusySpanSchema: z.ZodObject<{
|
|
2130
2401
|
start: z.ZodString;
|
|
@@ -2136,6 +2407,79 @@ export declare const CalendarFreeBusyResponseSchema: z.ZodObject<{
|
|
|
2136
2407
|
end: z.ZodString;
|
|
2137
2408
|
}, z.core.$strip>>;
|
|
2138
2409
|
}, z.core.$strip>;
|
|
2410
|
+
export declare const UserSettingsResponseSchema: z.ZodObject<{
|
|
2411
|
+
defaultInvitationSenderAccountId: z.ZodOptional<z.ZodString>;
|
|
2412
|
+
defaultInvitationSenderChosen: z.ZodBoolean;
|
|
2413
|
+
}, z.core.$strip>;
|
|
2414
|
+
export declare const UpdateUserSettingsInputSchema: z.ZodObject<{
|
|
2415
|
+
defaultInvitationSenderAccountId: z.ZodOptional<z.ZodString>;
|
|
2416
|
+
}, z.core.$strip>;
|
|
2417
|
+
export declare const CalendarTaskResponseSchema: z.ZodObject<{
|
|
2418
|
+
calendarTaskId: z.ZodString;
|
|
2419
|
+
calendarId: z.ZodString;
|
|
2420
|
+
resourceName: z.ZodString;
|
|
2421
|
+
icalUid: z.ZodString;
|
|
2422
|
+
icalData: z.ZodString;
|
|
2423
|
+
etag: z.ZodString;
|
|
2424
|
+
summary: z.ZodString;
|
|
2425
|
+
description: z.ZodString;
|
|
2426
|
+
due: z.ZodString;
|
|
2427
|
+
dueAt: z.ZodString;
|
|
2428
|
+
allDay: z.ZodBoolean;
|
|
2429
|
+
completed: z.ZodBoolean;
|
|
2430
|
+
createdAt: z.ZodNumber;
|
|
2431
|
+
updatedAt: z.ZodNumber;
|
|
2432
|
+
}, z.core.$strip>;
|
|
2433
|
+
export declare const CalendarTaskListResponseSchema: z.ZodObject<{
|
|
2434
|
+
items: z.ZodArray<z.ZodObject<{
|
|
2435
|
+
calendarTaskId: z.ZodString;
|
|
2436
|
+
calendarId: z.ZodString;
|
|
2437
|
+
resourceName: z.ZodString;
|
|
2438
|
+
icalUid: z.ZodString;
|
|
2439
|
+
icalData: z.ZodString;
|
|
2440
|
+
etag: z.ZodString;
|
|
2441
|
+
summary: z.ZodString;
|
|
2442
|
+
description: z.ZodString;
|
|
2443
|
+
due: z.ZodString;
|
|
2444
|
+
dueAt: z.ZodString;
|
|
2445
|
+
allDay: z.ZodBoolean;
|
|
2446
|
+
completed: z.ZodBoolean;
|
|
2447
|
+
createdAt: z.ZodNumber;
|
|
2448
|
+
updatedAt: z.ZodNumber;
|
|
2449
|
+
}, z.core.$strip>>;
|
|
2450
|
+
}, z.core.$strip>;
|
|
2451
|
+
export declare const CalendarTaskSchema: z.ZodObject<{
|
|
2452
|
+
calendarTaskId: z.ZodString;
|
|
2453
|
+
calendarId: z.ZodString;
|
|
2454
|
+
resourceName: z.ZodString;
|
|
2455
|
+
icalUid: z.ZodString;
|
|
2456
|
+
icalData: z.ZodString;
|
|
2457
|
+
etag: z.ZodString;
|
|
2458
|
+
summary: z.ZodString;
|
|
2459
|
+
description: z.ZodString;
|
|
2460
|
+
due: z.ZodString;
|
|
2461
|
+
dueAt: z.ZodString;
|
|
2462
|
+
allDay: z.ZodBoolean;
|
|
2463
|
+
completed: z.ZodBoolean;
|
|
2464
|
+
createdAt: z.ZodNumber;
|
|
2465
|
+
updatedAt: z.ZodNumber;
|
|
2466
|
+
}, z.core.$strip>;
|
|
2467
|
+
export declare const CreateCalendarTaskInputSchema: z.ZodObject<{
|
|
2468
|
+
calendarId: z.ZodOptional<z.ZodString>;
|
|
2469
|
+
summary: z.ZodString;
|
|
2470
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2471
|
+
due: z.ZodString;
|
|
2472
|
+
allDay: z.ZodOptional<z.ZodBoolean>;
|
|
2473
|
+
timeZone: z.ZodOptional<z.ZodString>;
|
|
2474
|
+
}, z.core.$strip>;
|
|
2475
|
+
export declare const UpdateCalendarTaskInputSchema: z.ZodObject<{
|
|
2476
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
2477
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2478
|
+
due: z.ZodOptional<z.ZodString>;
|
|
2479
|
+
allDay: z.ZodOptional<z.ZodBoolean>;
|
|
2480
|
+
timeZone: z.ZodOptional<z.ZodString>;
|
|
2481
|
+
completed: z.ZodOptional<z.ZodBoolean>;
|
|
2482
|
+
}, z.core.$strip>;
|
|
2139
2483
|
export declare const EmptyTrashResponseSchema: z.ZodObject<{
|
|
2140
2484
|
deletedCount: z.ZodNumber;
|
|
2141
2485
|
}, z.core.$strip>;
|
|
@@ -3426,8 +3770,8 @@ export declare const UpdateAddressInputSchema: z.ZodObject<{
|
|
|
3426
3770
|
}, z.core.$strip>, z.ZodNull]>>;
|
|
3427
3771
|
}, z.core.$strip>>;
|
|
3428
3772
|
clearFlags: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3429
|
-
vip: "vip";
|
|
3430
3773
|
blocked: "blocked";
|
|
3774
|
+
vip: "vip";
|
|
3431
3775
|
trusted: "trusted";
|
|
3432
3776
|
muted: "muted";
|
|
3433
3777
|
junkOnly: "junkOnly";
|
|
@@ -5269,6 +5613,7 @@ export declare const AcceptCalendarSuggestionInputSchema: z.ZodObject<{
|
|
|
5269
5613
|
answer: z.ZodOptional<z.ZodEnum<{
|
|
5270
5614
|
Tentative: "Tentative";
|
|
5271
5615
|
Accepted: "Accepted";
|
|
5616
|
+
Declined: "Declined";
|
|
5272
5617
|
}>>;
|
|
5273
5618
|
event: z.ZodOptional<z.ZodObject<{
|
|
5274
5619
|
summary: z.ZodOptional<z.ZodString>;
|
|
@@ -5288,6 +5633,16 @@ export declare const AcceptCalendarSuggestionInputSchema: z.ZodObject<{
|
|
|
5288
5633
|
Transparent: "Transparent";
|
|
5289
5634
|
}>>;
|
|
5290
5635
|
recurrenceRule: z.ZodOptional<z.ZodString>;
|
|
5636
|
+
attendees: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5637
|
+
email: z.ZodString;
|
|
5638
|
+
displayName: z.ZodString;
|
|
5639
|
+
}, z.core.$strip>>>;
|
|
5640
|
+
organizerAccountId: z.ZodOptional<z.ZodString>;
|
|
5641
|
+
answer: z.ZodOptional<z.ZodEnum<{
|
|
5642
|
+
Tentative: "Tentative";
|
|
5643
|
+
Accepted: "Accepted";
|
|
5644
|
+
Declined: "Declined";
|
|
5645
|
+
}>>;
|
|
5291
5646
|
}, z.core.$strip>>;
|
|
5292
5647
|
}, z.core.$strip>;
|
|
5293
5648
|
export declare const DismissCalendarSuggestionInputSchema: z.ZodObject<{
|
|
@@ -5585,6 +5940,24 @@ export declare const RawMessageStorageSchema: z.ZodObject<{
|
|
|
5585
5940
|
createdAt: z.ZodNumber;
|
|
5586
5941
|
updatedAt: z.ZodNumber;
|
|
5587
5942
|
}, z.core.$strip>;
|
|
5943
|
+
export declare const OutboxSchedulingPartSchema: z.ZodObject<{
|
|
5944
|
+
outboxMessageId: z.ZodString;
|
|
5945
|
+
accountConfigId: z.ZodString;
|
|
5946
|
+
calendarObjectId: z.ZodString;
|
|
5947
|
+
recipient: z.ZodString;
|
|
5948
|
+
method: z.ZodEnum<{
|
|
5949
|
+
None: "None";
|
|
5950
|
+
Request: "Request";
|
|
5951
|
+
Reply: "Reply";
|
|
5952
|
+
Cancel: "Cancel";
|
|
5953
|
+
Counter: "Counter";
|
|
5954
|
+
Publish: "Publish";
|
|
5955
|
+
}>;
|
|
5956
|
+
sequence: z.ZodNumber;
|
|
5957
|
+
icalData: z.ZodString;
|
|
5958
|
+
createdAt: z.ZodNumber;
|
|
5959
|
+
updatedAt: z.ZodNumber;
|
|
5960
|
+
}, z.core.$strip>;
|
|
5588
5961
|
export declare const CalendarEventIndexSchema: z.ZodObject<{
|
|
5589
5962
|
calendarId: z.ZodString;
|
|
5590
5963
|
calendarObjectId: z.ZodString;
|