@fluxmail/core 0.23.0 → 0.25.0
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/access/conformance.d.ts +89 -0
- package/dist/access/conformance.d.ts.map +1 -0
- package/dist/access/conformance.js +556 -0
- package/dist/access/conformance.js.map +1 -0
- package/dist/access/index.d.ts +3 -0
- package/dist/access/index.d.ts.map +1 -0
- package/dist/access/index.js +3 -0
- package/dist/access/index.js.map +1 -0
- package/dist/access/rules.d.ts +149 -0
- package/dist/access/rules.d.ts.map +1 -0
- package/dist/access/rules.js +234 -0
- package/dist/access/rules.js.map +1 -0
- package/dist/mcp/tools.d.ts +17 -1
- package/dist/mcp/tools.d.ts.map +1 -1
- package/dist/mcp/tools.generated.d.ts.map +1 -1
- package/dist/mcp/tools.generated.js +181 -426
- package/dist/mcp/tools.generated.js.map +1 -1
- package/dist/mcp/tools.js +47 -21
- package/dist/mcp/tools.js.map +1 -1
- package/dist/search.d.ts +5 -0
- package/dist/search.d.ts.map +1 -1
- package/dist/search.js +62 -20
- package/dist/search.js.map +1 -1
- package/package.json +5 -1
|
@@ -138,99 +138,8 @@ export const SHARED_TOOL_INPUT_SCHEMAS = {
|
|
|
138
138
|
},
|
|
139
139
|
],
|
|
140
140
|
},
|
|
141
|
-
|
|
142
|
-
description:
|
|
143
|
-
anyOf: [
|
|
144
|
-
{
|
|
145
|
-
type: 'string',
|
|
146
|
-
minLength: 1,
|
|
147
|
-
maxLength: 2048,
|
|
148
|
-
},
|
|
149
|
-
{
|
|
150
|
-
type: 'null',
|
|
151
|
-
},
|
|
152
|
-
],
|
|
153
|
-
},
|
|
154
|
-
text: {
|
|
155
|
-
description: 'Literal full-text search terms',
|
|
156
|
-
anyOf: [
|
|
157
|
-
{
|
|
158
|
-
type: 'string',
|
|
159
|
-
maxLength: 2048,
|
|
160
|
-
},
|
|
161
|
-
{
|
|
162
|
-
type: 'null',
|
|
163
|
-
},
|
|
164
|
-
],
|
|
165
|
-
},
|
|
166
|
-
from: {
|
|
167
|
-
anyOf: [
|
|
168
|
-
{
|
|
169
|
-
type: 'string',
|
|
170
|
-
maxLength: 2048,
|
|
171
|
-
},
|
|
172
|
-
{
|
|
173
|
-
type: 'null',
|
|
174
|
-
},
|
|
175
|
-
],
|
|
176
|
-
},
|
|
177
|
-
to: {
|
|
178
|
-
anyOf: [
|
|
179
|
-
{
|
|
180
|
-
type: 'string',
|
|
181
|
-
maxLength: 2048,
|
|
182
|
-
},
|
|
183
|
-
{
|
|
184
|
-
type: 'null',
|
|
185
|
-
},
|
|
186
|
-
],
|
|
187
|
-
},
|
|
188
|
-
subject: {
|
|
189
|
-
anyOf: [
|
|
190
|
-
{
|
|
191
|
-
type: 'string',
|
|
192
|
-
maxLength: 2048,
|
|
193
|
-
},
|
|
194
|
-
{
|
|
195
|
-
type: 'null',
|
|
196
|
-
},
|
|
197
|
-
],
|
|
198
|
-
},
|
|
199
|
-
read: {
|
|
200
|
-
type: ['boolean', 'null'],
|
|
201
|
-
},
|
|
202
|
-
starred: {
|
|
203
|
-
type: ['boolean', 'null'],
|
|
204
|
-
},
|
|
205
|
-
hasAttachment: {
|
|
206
|
-
type: ['boolean', 'null'],
|
|
207
|
-
},
|
|
208
|
-
after: {
|
|
209
|
-
description: 'YYYY-MM-DD received date, inclusive in UTC',
|
|
210
|
-
anyOf: [
|
|
211
|
-
{
|
|
212
|
-
type: 'string',
|
|
213
|
-
pattern: '^\\d{4}-\\d{2}-\\d{2}$',
|
|
214
|
-
},
|
|
215
|
-
{
|
|
216
|
-
type: 'null',
|
|
217
|
-
},
|
|
218
|
-
],
|
|
219
|
-
},
|
|
220
|
-
before: {
|
|
221
|
-
description: 'YYYY-MM-DD received date, exclusive in UTC',
|
|
222
|
-
anyOf: [
|
|
223
|
-
{
|
|
224
|
-
type: 'string',
|
|
225
|
-
pattern: '^\\d{4}-\\d{2}-\\d{2}$',
|
|
226
|
-
},
|
|
227
|
-
{
|
|
228
|
-
type: 'null',
|
|
229
|
-
},
|
|
230
|
-
],
|
|
231
|
-
},
|
|
232
|
-
rawProviderQuery: {
|
|
233
|
-
description: 'Provider-native Gmail syntax or Outlook KQL for one compatible account',
|
|
141
|
+
query: {
|
|
142
|
+
description: 'Typed search. Plain words search the message text; quote a phrase or a value that has spaces. Filters: from:, to:, subject:, in:inbox|sent|drafts|archive|spam|trash|all, is:read, is:unread, is:starred, is:unstarred, has:attachment, -has:attachment, after:YYYY-MM-DD (inclusive) and before:YYYY-MM-DD (exclusive), in UTC. Terms combine with AND; OR and parentheses are searched as text.',
|
|
234
143
|
anyOf: [
|
|
235
144
|
{
|
|
236
145
|
type: 'string',
|
|
@@ -241,65 +150,6 @@ export const SHARED_TOOL_INPUT_SCHEMAS = {
|
|
|
241
150
|
},
|
|
242
151
|
],
|
|
243
152
|
},
|
|
244
|
-
pageSize: {
|
|
245
|
-
description: 'Defaults to 25',
|
|
246
|
-
anyOf: [
|
|
247
|
-
{
|
|
248
|
-
type: 'integer',
|
|
249
|
-
minimum: 1,
|
|
250
|
-
maximum: 100,
|
|
251
|
-
},
|
|
252
|
-
{
|
|
253
|
-
type: 'null',
|
|
254
|
-
},
|
|
255
|
-
],
|
|
256
|
-
},
|
|
257
|
-
pageToken: {
|
|
258
|
-
description: 'nextPageToken from a previous call',
|
|
259
|
-
anyOf: [
|
|
260
|
-
{
|
|
261
|
-
type: 'string',
|
|
262
|
-
minLength: 1,
|
|
263
|
-
},
|
|
264
|
-
{
|
|
265
|
-
type: 'null',
|
|
266
|
-
},
|
|
267
|
-
],
|
|
268
|
-
},
|
|
269
|
-
includeSnippet: {
|
|
270
|
-
description: 'Request or suppress message previews',
|
|
271
|
-
type: ['boolean', 'null'],
|
|
272
|
-
},
|
|
273
|
-
includeSearchContext: {
|
|
274
|
-
description: 'Include a match-centered body excerpt; requires a portable text query',
|
|
275
|
-
type: ['boolean', 'null'],
|
|
276
|
-
},
|
|
277
|
-
},
|
|
278
|
-
$schema: 'http://json-schema.org/draft-07/schema#',
|
|
279
|
-
additionalProperties: false,
|
|
280
|
-
},
|
|
281
|
-
search_emails: {
|
|
282
|
-
type: 'object',
|
|
283
|
-
properties: {
|
|
284
|
-
accountId: {
|
|
285
|
-
description: 'Account to operate on. Optional when exactly one account is connected.',
|
|
286
|
-
anyOf: [
|
|
287
|
-
{
|
|
288
|
-
type: 'string',
|
|
289
|
-
minLength: 1,
|
|
290
|
-
maxLength: 512,
|
|
291
|
-
},
|
|
292
|
-
{
|
|
293
|
-
type: 'null',
|
|
294
|
-
},
|
|
295
|
-
],
|
|
296
|
-
},
|
|
297
|
-
query: {
|
|
298
|
-
type: 'string',
|
|
299
|
-
minLength: 1,
|
|
300
|
-
maxLength: 2048,
|
|
301
|
-
description: 'Typed portable search syntax',
|
|
302
|
-
},
|
|
303
153
|
folder: {
|
|
304
154
|
description: "Folder role (inbox, sent, drafts, trash, spam, starred, archive, all) or a label/folder name. Use all or omit this field to search all mail except Spam and Trash. An IMAP server's \\All mailbox may use different rules.",
|
|
305
155
|
anyOf: [
|
|
@@ -313,72 +163,6 @@ export const SHARED_TOOL_INPUT_SCHEMAS = {
|
|
|
313
163
|
},
|
|
314
164
|
],
|
|
315
165
|
},
|
|
316
|
-
from: {
|
|
317
|
-
anyOf: [
|
|
318
|
-
{
|
|
319
|
-
type: 'string',
|
|
320
|
-
maxLength: 2048,
|
|
321
|
-
},
|
|
322
|
-
{
|
|
323
|
-
type: 'null',
|
|
324
|
-
},
|
|
325
|
-
],
|
|
326
|
-
},
|
|
327
|
-
to: {
|
|
328
|
-
anyOf: [
|
|
329
|
-
{
|
|
330
|
-
type: 'string',
|
|
331
|
-
maxLength: 2048,
|
|
332
|
-
},
|
|
333
|
-
{
|
|
334
|
-
type: 'null',
|
|
335
|
-
},
|
|
336
|
-
],
|
|
337
|
-
},
|
|
338
|
-
subject: {
|
|
339
|
-
anyOf: [
|
|
340
|
-
{
|
|
341
|
-
type: 'string',
|
|
342
|
-
maxLength: 2048,
|
|
343
|
-
},
|
|
344
|
-
{
|
|
345
|
-
type: 'null',
|
|
346
|
-
},
|
|
347
|
-
],
|
|
348
|
-
},
|
|
349
|
-
read: {
|
|
350
|
-
type: ['boolean', 'null'],
|
|
351
|
-
},
|
|
352
|
-
starred: {
|
|
353
|
-
type: ['boolean', 'null'],
|
|
354
|
-
},
|
|
355
|
-
hasAttachment: {
|
|
356
|
-
type: ['boolean', 'null'],
|
|
357
|
-
},
|
|
358
|
-
after: {
|
|
359
|
-
description: 'YYYY-MM-DD received date, inclusive in UTC',
|
|
360
|
-
anyOf: [
|
|
361
|
-
{
|
|
362
|
-
type: 'string',
|
|
363
|
-
pattern: '^\\d{4}-\\d{2}-\\d{2}$',
|
|
364
|
-
},
|
|
365
|
-
{
|
|
366
|
-
type: 'null',
|
|
367
|
-
},
|
|
368
|
-
],
|
|
369
|
-
},
|
|
370
|
-
before: {
|
|
371
|
-
description: 'YYYY-MM-DD received date, exclusive in UTC',
|
|
372
|
-
anyOf: [
|
|
373
|
-
{
|
|
374
|
-
type: 'string',
|
|
375
|
-
pattern: '^\\d{4}-\\d{2}-\\d{2}$',
|
|
376
|
-
},
|
|
377
|
-
{
|
|
378
|
-
type: 'null',
|
|
379
|
-
},
|
|
380
|
-
],
|
|
381
|
-
},
|
|
382
166
|
rawProviderQuery: {
|
|
383
167
|
description: 'Provider-native Gmail syntax or Outlook KQL for one compatible account',
|
|
384
168
|
anyOf: [
|
|
@@ -421,15 +205,14 @@ export const SHARED_TOOL_INPUT_SCHEMAS = {
|
|
|
421
205
|
type: ['boolean', 'null'],
|
|
422
206
|
},
|
|
423
207
|
includeSearchContext: {
|
|
424
|
-
description: 'Include a match-centered body excerpt; requires
|
|
208
|
+
description: 'Include a match-centered body excerpt; requires search words in query',
|
|
425
209
|
type: ['boolean', 'null'],
|
|
426
210
|
},
|
|
427
211
|
},
|
|
428
|
-
required: ['query'],
|
|
429
212
|
$schema: 'http://json-schema.org/draft-07/schema#',
|
|
430
213
|
additionalProperties: false,
|
|
431
214
|
},
|
|
432
|
-
|
|
215
|
+
list_emails_batch: {
|
|
433
216
|
type: 'object',
|
|
434
217
|
properties: {
|
|
435
218
|
accounts: {
|
|
@@ -461,45 +244,7 @@ export const SHARED_TOOL_INPUT_SCHEMAS = {
|
|
|
461
244
|
},
|
|
462
245
|
},
|
|
463
246
|
query: {
|
|
464
|
-
|
|
465
|
-
minLength: 1,
|
|
466
|
-
maxLength: 2048,
|
|
467
|
-
description: 'Typed portable search syntax',
|
|
468
|
-
},
|
|
469
|
-
folder: {
|
|
470
|
-
anyOf: [
|
|
471
|
-
{
|
|
472
|
-
type: 'string',
|
|
473
|
-
enum: ['inbox', 'sent', 'drafts', 'archive', 'spam', 'trash', 'all'],
|
|
474
|
-
},
|
|
475
|
-
{
|
|
476
|
-
type: 'null',
|
|
477
|
-
},
|
|
478
|
-
],
|
|
479
|
-
},
|
|
480
|
-
from: {
|
|
481
|
-
anyOf: [
|
|
482
|
-
{
|
|
483
|
-
type: 'string',
|
|
484
|
-
maxLength: 2048,
|
|
485
|
-
},
|
|
486
|
-
{
|
|
487
|
-
type: 'null',
|
|
488
|
-
},
|
|
489
|
-
],
|
|
490
|
-
},
|
|
491
|
-
to: {
|
|
492
|
-
anyOf: [
|
|
493
|
-
{
|
|
494
|
-
type: 'string',
|
|
495
|
-
maxLength: 2048,
|
|
496
|
-
},
|
|
497
|
-
{
|
|
498
|
-
type: 'null',
|
|
499
|
-
},
|
|
500
|
-
],
|
|
501
|
-
},
|
|
502
|
-
subject: {
|
|
247
|
+
description: 'Typed search. Plain words search the message text; quote a phrase or a value that has spaces. Filters: from:, to:, subject:, in:inbox|sent|drafts|archive|spam|trash|all, is:read, is:unread, is:starred, is:unstarred, has:attachment, -has:attachment, after:YYYY-MM-DD (inclusive) and before:YYYY-MM-DD (exclusive), in UTC. Terms combine with AND; OR and parentheses are searched as text.',
|
|
503
248
|
anyOf: [
|
|
504
249
|
{
|
|
505
250
|
type: 'string',
|
|
@@ -510,33 +255,11 @@ export const SHARED_TOOL_INPUT_SCHEMAS = {
|
|
|
510
255
|
},
|
|
511
256
|
],
|
|
512
257
|
},
|
|
513
|
-
|
|
514
|
-
type: ['boolean', 'null'],
|
|
515
|
-
},
|
|
516
|
-
starred: {
|
|
517
|
-
type: ['boolean', 'null'],
|
|
518
|
-
},
|
|
519
|
-
hasAttachment: {
|
|
520
|
-
type: ['boolean', 'null'],
|
|
521
|
-
},
|
|
522
|
-
after: {
|
|
523
|
-
description: 'YYYY-MM-DD received date, inclusive in UTC',
|
|
524
|
-
anyOf: [
|
|
525
|
-
{
|
|
526
|
-
type: 'string',
|
|
527
|
-
pattern: '^\\d{4}-\\d{2}-\\d{2}$',
|
|
528
|
-
},
|
|
529
|
-
{
|
|
530
|
-
type: 'null',
|
|
531
|
-
},
|
|
532
|
-
],
|
|
533
|
-
},
|
|
534
|
-
before: {
|
|
535
|
-
description: 'YYYY-MM-DD received date, exclusive in UTC',
|
|
258
|
+
folder: {
|
|
536
259
|
anyOf: [
|
|
537
260
|
{
|
|
538
261
|
type: 'string',
|
|
539
|
-
|
|
262
|
+
enum: ['inbox', 'sent', 'drafts', 'archive', 'spam', 'trash', 'all'],
|
|
540
263
|
},
|
|
541
264
|
{
|
|
542
265
|
type: 'null',
|
|
@@ -561,11 +284,11 @@ export const SHARED_TOOL_INPUT_SCHEMAS = {
|
|
|
561
284
|
type: ['boolean', 'null'],
|
|
562
285
|
},
|
|
563
286
|
includeSearchContext: {
|
|
564
|
-
description: 'Include a match-centered body excerpt; requires
|
|
287
|
+
description: 'Include a match-centered body excerpt; requires search words in query',
|
|
565
288
|
type: ['boolean', 'null'],
|
|
566
289
|
},
|
|
567
290
|
},
|
|
568
|
-
required: ['accounts'
|
|
291
|
+
required: ['accounts'],
|
|
569
292
|
$schema: 'http://json-schema.org/draft-07/schema#',
|
|
570
293
|
additionalProperties: false,
|
|
571
294
|
},
|
|
@@ -631,9 +354,10 @@ export const SHARED_TOOL_INPUT_SCHEMAS = {
|
|
|
631
354
|
minLength: 1,
|
|
632
355
|
maxLength: 512,
|
|
633
356
|
},
|
|
634
|
-
|
|
357
|
+
bodyFormat: {
|
|
635
358
|
type: 'string',
|
|
636
359
|
enum: ['text', 'html'],
|
|
360
|
+
description: 'The body part to read',
|
|
637
361
|
},
|
|
638
362
|
offset: {
|
|
639
363
|
anyOf: [
|
|
@@ -659,7 +383,7 @@ export const SHARED_TOOL_INPUT_SCHEMAS = {
|
|
|
659
383
|
],
|
|
660
384
|
},
|
|
661
385
|
},
|
|
662
|
-
required: ['messageId', '
|
|
386
|
+
required: ['messageId', 'bodyFormat'],
|
|
663
387
|
$schema: 'http://json-schema.org/draft-07/schema#',
|
|
664
388
|
additionalProperties: false,
|
|
665
389
|
},
|
|
@@ -1548,26 +1272,92 @@ export const SHARED_TOOL_INPUT_SCHEMAS = {
|
|
|
1548
1272
|
},
|
|
1549
1273
|
],
|
|
1550
1274
|
},
|
|
1275
|
+
sendAt: {
|
|
1276
|
+
description: 'Schedule delivery instead of sending now: ISO 8601 with timezone offset or Z (e.g. 2026-07-11T09:00:00-07:00), at most a year ahead. Fluxmail saves the message as a draft in the mailbox and sends that draft at the scheduled time. Returns a scheduleId for list/cancel.',
|
|
1277
|
+
anyOf: [
|
|
1278
|
+
{
|
|
1279
|
+
type: 'string',
|
|
1280
|
+
format: 'date-time',
|
|
1281
|
+
},
|
|
1282
|
+
{
|
|
1283
|
+
type: 'null',
|
|
1284
|
+
},
|
|
1285
|
+
],
|
|
1286
|
+
},
|
|
1287
|
+
},
|
|
1288
|
+
required: ['idempotencyKey'],
|
|
1289
|
+
$schema: 'http://json-schema.org/draft-07/schema#',
|
|
1290
|
+
additionalProperties: false,
|
|
1291
|
+
},
|
|
1292
|
+
get_delivery_operation: {
|
|
1293
|
+
type: 'object',
|
|
1294
|
+
properties: {
|
|
1295
|
+
accountId: {
|
|
1296
|
+
description: 'Account to operate on. Optional when exactly one account is connected.',
|
|
1297
|
+
anyOf: [
|
|
1298
|
+
{
|
|
1299
|
+
type: 'string',
|
|
1300
|
+
minLength: 1,
|
|
1301
|
+
maxLength: 512,
|
|
1302
|
+
},
|
|
1303
|
+
{
|
|
1304
|
+
type: 'null',
|
|
1305
|
+
},
|
|
1306
|
+
],
|
|
1307
|
+
},
|
|
1308
|
+
operationId: {
|
|
1309
|
+
type: 'string',
|
|
1310
|
+
minLength: 1,
|
|
1311
|
+
maxLength: 512,
|
|
1312
|
+
},
|
|
1551
1313
|
},
|
|
1314
|
+
required: ['operationId'],
|
|
1552
1315
|
$schema: 'http://json-schema.org/draft-07/schema#',
|
|
1553
1316
|
additionalProperties: false,
|
|
1554
|
-
required: ['idempotencyKey'],
|
|
1555
1317
|
},
|
|
1556
|
-
|
|
1318
|
+
list_scheduled_emails: {
|
|
1557
1319
|
type: 'object',
|
|
1558
1320
|
properties: {
|
|
1559
1321
|
accountId: {
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1322
|
+
description: 'Account to operate on. Optional when exactly one account is connected.',
|
|
1323
|
+
anyOf: [
|
|
1324
|
+
{
|
|
1325
|
+
type: 'string',
|
|
1326
|
+
minLength: 1,
|
|
1327
|
+
maxLength: 512,
|
|
1328
|
+
},
|
|
1329
|
+
{
|
|
1330
|
+
type: 'null',
|
|
1331
|
+
},
|
|
1332
|
+
],
|
|
1563
1333
|
},
|
|
1564
|
-
|
|
1334
|
+
},
|
|
1335
|
+
$schema: 'http://json-schema.org/draft-07/schema#',
|
|
1336
|
+
additionalProperties: false,
|
|
1337
|
+
},
|
|
1338
|
+
cancel_scheduled_email: {
|
|
1339
|
+
type: 'object',
|
|
1340
|
+
properties: {
|
|
1341
|
+
accountId: {
|
|
1342
|
+
description: 'Account to operate on. Optional when exactly one account is connected.',
|
|
1343
|
+
anyOf: [
|
|
1344
|
+
{
|
|
1345
|
+
type: 'string',
|
|
1346
|
+
minLength: 1,
|
|
1347
|
+
maxLength: 512,
|
|
1348
|
+
},
|
|
1349
|
+
{
|
|
1350
|
+
type: 'null',
|
|
1351
|
+
},
|
|
1352
|
+
],
|
|
1353
|
+
},
|
|
1354
|
+
scheduleId: {
|
|
1565
1355
|
type: 'string',
|
|
1566
1356
|
minLength: 1,
|
|
1567
1357
|
maxLength: 512,
|
|
1568
1358
|
},
|
|
1569
1359
|
},
|
|
1570
|
-
required: ['
|
|
1360
|
+
required: ['scheduleId'],
|
|
1571
1361
|
$schema: 'http://json-schema.org/draft-07/schema#',
|
|
1572
1362
|
additionalProperties: false,
|
|
1573
1363
|
},
|
|
@@ -1638,6 +1428,24 @@ export const SHARED_TOOL_INPUT_SCHEMAS = {
|
|
|
1638
1428
|
},
|
|
1639
1429
|
],
|
|
1640
1430
|
},
|
|
1431
|
+
bcc: {
|
|
1432
|
+
description: 'Recipients, each "Name <a@x.com>" or "a@x.com"',
|
|
1433
|
+
anyOf: [
|
|
1434
|
+
{
|
|
1435
|
+
maxItems: 100,
|
|
1436
|
+
type: 'array',
|
|
1437
|
+
items: {
|
|
1438
|
+
type: 'string',
|
|
1439
|
+
minLength: 1,
|
|
1440
|
+
maxLength: 512,
|
|
1441
|
+
},
|
|
1442
|
+
description: 'Recipients, each "Name <a@x.com>" or "a@x.com"',
|
|
1443
|
+
},
|
|
1444
|
+
{
|
|
1445
|
+
type: 'null',
|
|
1446
|
+
},
|
|
1447
|
+
],
|
|
1448
|
+
},
|
|
1641
1449
|
comment: {
|
|
1642
1450
|
description: 'Comment above the forwarded message. Keep prose paragraphs on one continuous line and separate paragraphs with blank lines.',
|
|
1643
1451
|
type: ['string', 'null'],
|
|
@@ -1646,6 +1454,18 @@ export const SHARED_TOOL_INPUT_SCHEMAS = {
|
|
|
1646
1454
|
description: 'Default true',
|
|
1647
1455
|
type: ['boolean', 'null'],
|
|
1648
1456
|
},
|
|
1457
|
+
sendAt: {
|
|
1458
|
+
description: 'Schedule delivery instead of sending now: ISO 8601 with timezone offset or Z (e.g. 2026-07-11T09:00:00-07:00), at most a year ahead. Fluxmail saves the message as a draft in the mailbox and sends that draft at the scheduled time. Returns a scheduleId for list/cancel.',
|
|
1459
|
+
anyOf: [
|
|
1460
|
+
{
|
|
1461
|
+
type: 'string',
|
|
1462
|
+
format: 'date-time',
|
|
1463
|
+
},
|
|
1464
|
+
{
|
|
1465
|
+
type: 'null',
|
|
1466
|
+
},
|
|
1467
|
+
],
|
|
1468
|
+
},
|
|
1649
1469
|
},
|
|
1650
1470
|
required: ['idempotencyKey', 'messageId', 'to'],
|
|
1651
1471
|
$schema: 'http://json-schema.org/draft-07/schema#',
|
|
@@ -2384,134 +2204,7 @@ export const SHARED_TOOL_OUTPUT_SCHEMAS = {
|
|
|
2384
2204
|
required: ['data'],
|
|
2385
2205
|
additionalProperties: false,
|
|
2386
2206
|
},
|
|
2387
|
-
|
|
2388
|
-
type: 'object',
|
|
2389
|
-
properties: {
|
|
2390
|
-
data: {
|
|
2391
|
-
type: 'object',
|
|
2392
|
-
properties: {
|
|
2393
|
-
items: {
|
|
2394
|
-
type: 'array',
|
|
2395
|
-
items: {
|
|
2396
|
-
type: 'object',
|
|
2397
|
-
properties: {
|
|
2398
|
-
id: {
|
|
2399
|
-
type: 'string',
|
|
2400
|
-
},
|
|
2401
|
-
threadId: {
|
|
2402
|
-
type: 'string',
|
|
2403
|
-
},
|
|
2404
|
-
accountId: {
|
|
2405
|
-
type: 'string',
|
|
2406
|
-
},
|
|
2407
|
-
to: {
|
|
2408
|
-
type: 'array',
|
|
2409
|
-
items: {
|
|
2410
|
-
type: 'object',
|
|
2411
|
-
properties: {
|
|
2412
|
-
email: {
|
|
2413
|
-
type: 'string',
|
|
2414
|
-
},
|
|
2415
|
-
name: {
|
|
2416
|
-
type: 'string',
|
|
2417
|
-
},
|
|
2418
|
-
},
|
|
2419
|
-
required: ['email'],
|
|
2420
|
-
additionalProperties: true,
|
|
2421
|
-
},
|
|
2422
|
-
},
|
|
2423
|
-
subject: {
|
|
2424
|
-
type: 'string',
|
|
2425
|
-
},
|
|
2426
|
-
date: {
|
|
2427
|
-
type: 'string',
|
|
2428
|
-
},
|
|
2429
|
-
flags: {
|
|
2430
|
-
type: 'object',
|
|
2431
|
-
properties: {
|
|
2432
|
-
read: {
|
|
2433
|
-
type: 'boolean',
|
|
2434
|
-
},
|
|
2435
|
-
starred: {
|
|
2436
|
-
type: 'boolean',
|
|
2437
|
-
},
|
|
2438
|
-
draft: {
|
|
2439
|
-
type: 'boolean',
|
|
2440
|
-
},
|
|
2441
|
-
},
|
|
2442
|
-
required: ['read', 'starred', 'draft'],
|
|
2443
|
-
additionalProperties: true,
|
|
2444
|
-
},
|
|
2445
|
-
body: {
|
|
2446
|
-
type: 'object',
|
|
2447
|
-
properties: {
|
|
2448
|
-
text: {
|
|
2449
|
-
type: 'string',
|
|
2450
|
-
},
|
|
2451
|
-
html: {
|
|
2452
|
-
type: 'string',
|
|
2453
|
-
},
|
|
2454
|
-
},
|
|
2455
|
-
additionalProperties: false,
|
|
2456
|
-
},
|
|
2457
|
-
bodyTruncation: {
|
|
2458
|
-
type: 'object',
|
|
2459
|
-
additionalProperties: {
|
|
2460
|
-
type: 'object',
|
|
2461
|
-
properties: {
|
|
2462
|
-
totalChars: {
|
|
2463
|
-
type: 'number',
|
|
2464
|
-
},
|
|
2465
|
-
nextOffset: {
|
|
2466
|
-
type: 'number',
|
|
2467
|
-
},
|
|
2468
|
-
},
|
|
2469
|
-
required: ['totalChars'],
|
|
2470
|
-
additionalProperties: false,
|
|
2471
|
-
},
|
|
2472
|
-
},
|
|
2473
|
-
attachments: {
|
|
2474
|
-
type: 'array',
|
|
2475
|
-
items: {
|
|
2476
|
-
type: 'object',
|
|
2477
|
-
properties: {
|
|
2478
|
-
id: {
|
|
2479
|
-
type: 'string',
|
|
2480
|
-
},
|
|
2481
|
-
filename: {
|
|
2482
|
-
type: 'string',
|
|
2483
|
-
},
|
|
2484
|
-
mimeType: {
|
|
2485
|
-
type: 'string',
|
|
2486
|
-
},
|
|
2487
|
-
sizeBytes: {
|
|
2488
|
-
type: 'number',
|
|
2489
|
-
},
|
|
2490
|
-
},
|
|
2491
|
-
required: ['id', 'filename', 'mimeType', 'sizeBytes'],
|
|
2492
|
-
additionalProperties: true,
|
|
2493
|
-
},
|
|
2494
|
-
},
|
|
2495
|
-
},
|
|
2496
|
-
required: ['id', 'threadId', 'accountId', 'to', 'subject', 'date', 'flags'],
|
|
2497
|
-
additionalProperties: true,
|
|
2498
|
-
},
|
|
2499
|
-
},
|
|
2500
|
-
exhausted: {
|
|
2501
|
-
type: 'boolean',
|
|
2502
|
-
},
|
|
2503
|
-
nextPageToken: {
|
|
2504
|
-
type: 'string',
|
|
2505
|
-
},
|
|
2506
|
-
},
|
|
2507
|
-
required: ['items', 'exhausted'],
|
|
2508
|
-
additionalProperties: true,
|
|
2509
|
-
},
|
|
2510
|
-
},
|
|
2511
|
-
required: ['data'],
|
|
2512
|
-
additionalProperties: false,
|
|
2513
|
-
},
|
|
2514
|
-
search_emails_batch: {
|
|
2207
|
+
list_emails_batch: {
|
|
2515
2208
|
type: 'object',
|
|
2516
2209
|
properties: {
|
|
2517
2210
|
data: {
|
|
@@ -3304,9 +2997,12 @@ export const SHARED_TOOL_OUTPUT_SCHEMAS = {
|
|
|
3304
2997
|
required: ['code'],
|
|
3305
2998
|
additionalProperties: false,
|
|
3306
2999
|
},
|
|
3000
|
+
scheduleId: {
|
|
3001
|
+
type: 'string',
|
|
3002
|
+
},
|
|
3307
3003
|
},
|
|
3308
|
-
additionalProperties: true,
|
|
3309
3004
|
required: ['operationId', 'accountId', 'kind', 'status'],
|
|
3005
|
+
additionalProperties: true,
|
|
3310
3006
|
},
|
|
3311
3007
|
},
|
|
3312
3008
|
required: ['data'],
|
|
@@ -3353,9 +3049,65 @@ export const SHARED_TOOL_OUTPUT_SCHEMAS = {
|
|
|
3353
3049
|
required: ['code'],
|
|
3354
3050
|
additionalProperties: false,
|
|
3355
3051
|
},
|
|
3052
|
+
scheduleId: {
|
|
3053
|
+
type: 'string',
|
|
3054
|
+
},
|
|
3356
3055
|
},
|
|
3357
|
-
additionalProperties: true,
|
|
3358
3056
|
required: ['operationId', 'accountId', 'kind', 'status'],
|
|
3057
|
+
additionalProperties: true,
|
|
3058
|
+
},
|
|
3059
|
+
},
|
|
3060
|
+
required: ['data'],
|
|
3061
|
+
additionalProperties: false,
|
|
3062
|
+
},
|
|
3063
|
+
list_scheduled_emails: {
|
|
3064
|
+
type: 'object',
|
|
3065
|
+
properties: {
|
|
3066
|
+
data: {
|
|
3067
|
+
type: 'array',
|
|
3068
|
+
items: {
|
|
3069
|
+
type: 'object',
|
|
3070
|
+
properties: {
|
|
3071
|
+
scheduleId: {
|
|
3072
|
+
type: 'string',
|
|
3073
|
+
},
|
|
3074
|
+
accountId: {
|
|
3075
|
+
type: 'string',
|
|
3076
|
+
},
|
|
3077
|
+
draftId: {
|
|
3078
|
+
type: 'string',
|
|
3079
|
+
},
|
|
3080
|
+
status: {
|
|
3081
|
+
type: 'string',
|
|
3082
|
+
},
|
|
3083
|
+
},
|
|
3084
|
+
required: ['scheduleId', 'accountId', 'draftId', 'status'],
|
|
3085
|
+
additionalProperties: true,
|
|
3086
|
+
},
|
|
3087
|
+
},
|
|
3088
|
+
},
|
|
3089
|
+
required: ['data'],
|
|
3090
|
+
additionalProperties: false,
|
|
3091
|
+
},
|
|
3092
|
+
cancel_scheduled_email: {
|
|
3093
|
+
type: 'object',
|
|
3094
|
+
properties: {
|
|
3095
|
+
data: {
|
|
3096
|
+
type: 'object',
|
|
3097
|
+
properties: {
|
|
3098
|
+
scheduleId: {
|
|
3099
|
+
type: 'string',
|
|
3100
|
+
},
|
|
3101
|
+
draftId: {
|
|
3102
|
+
type: 'string',
|
|
3103
|
+
},
|
|
3104
|
+
draftKept: {
|
|
3105
|
+
type: 'boolean',
|
|
3106
|
+
const: true,
|
|
3107
|
+
},
|
|
3108
|
+
},
|
|
3109
|
+
required: ['scheduleId', 'draftId', 'draftKept'],
|
|
3110
|
+
additionalProperties: false,
|
|
3359
3111
|
},
|
|
3360
3112
|
},
|
|
3361
3113
|
required: ['data'],
|
|
@@ -3402,9 +3154,12 @@ export const SHARED_TOOL_OUTPUT_SCHEMAS = {
|
|
|
3402
3154
|
required: ['code'],
|
|
3403
3155
|
additionalProperties: false,
|
|
3404
3156
|
},
|
|
3157
|
+
scheduleId: {
|
|
3158
|
+
type: 'string',
|
|
3159
|
+
},
|
|
3405
3160
|
},
|
|
3406
|
-
additionalProperties: true,
|
|
3407
3161
|
required: ['operationId', 'accountId', 'kind', 'status'],
|
|
3162
|
+
additionalProperties: true,
|
|
3408
3163
|
},
|
|
3409
3164
|
},
|
|
3410
3165
|
required: ['data'],
|