@pidgeon-ai/sdk 1.4.0 → 1.8.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/CHANGELOG.md +63 -0
- package/dist/index.cjs +43 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +445 -2
- package/dist/index.d.ts +445 -2
- package/dist/index.js +38 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -412,6 +412,10 @@ type Identity = {
|
|
|
412
412
|
* Your own opaque grouping for this address. Never parsed here.
|
|
413
413
|
*/
|
|
414
414
|
tenant_id: string | null;
|
|
415
|
+
/**
|
|
416
|
+
* The pod this address is in. Every workspace has one to start with and every address is in one, so this is never null.
|
|
417
|
+
*/
|
|
418
|
+
pod_id: string;
|
|
415
419
|
};
|
|
416
420
|
type Message = {
|
|
417
421
|
id: string;
|
|
@@ -524,11 +528,203 @@ type Message = {
|
|
|
524
528
|
* The event the calendar made of that invitation, or null. A different fact from `invitation`: that is what the mail said, this is what the calendar now holds — a meeting later moved still reports the time this message invited you to.
|
|
525
529
|
*/
|
|
526
530
|
calendar_event_id: string | null;
|
|
531
|
+
/**
|
|
532
|
+
* Verification codes and links found in the message, most likely first — read from the new text, never the quoted history. Empty lists when nothing was found.
|
|
533
|
+
*/
|
|
534
|
+
extracted: {
|
|
535
|
+
/**
|
|
536
|
+
* Verification codes, most likely first. Empty when nothing looked like one.
|
|
537
|
+
*/
|
|
538
|
+
codes: Array<{
|
|
539
|
+
/**
|
|
540
|
+
* The code as it would be typed: spaces removed.
|
|
541
|
+
*/
|
|
542
|
+
value: string;
|
|
543
|
+
kind: 'numeric' | 'alphanumeric';
|
|
544
|
+
/**
|
|
545
|
+
* Where in the text it was found, or -1 when it was in the subject.
|
|
546
|
+
*/
|
|
547
|
+
index: number;
|
|
548
|
+
}>;
|
|
549
|
+
/**
|
|
550
|
+
* Links, verification links first. Unsubscribe and social links are left out.
|
|
551
|
+
*/
|
|
552
|
+
links: Array<{
|
|
553
|
+
url: string;
|
|
554
|
+
/**
|
|
555
|
+
* `verification` for confirm, verify, sign-in and magic links.
|
|
556
|
+
*/
|
|
557
|
+
kind: 'verification' | 'other';
|
|
558
|
+
/**
|
|
559
|
+
* The link text, when it had any.
|
|
560
|
+
*/
|
|
561
|
+
text: string | null;
|
|
562
|
+
}>;
|
|
563
|
+
};
|
|
527
564
|
/**
|
|
528
565
|
* ISO-8601, UTC.
|
|
529
566
|
*/
|
|
530
567
|
created_at: string;
|
|
531
568
|
};
|
|
569
|
+
type AwaitedMessage = {
|
|
570
|
+
/**
|
|
571
|
+
* The first matching message to arrive, or null when `timeout` passed first.
|
|
572
|
+
*/
|
|
573
|
+
message: {
|
|
574
|
+
id: string;
|
|
575
|
+
thread_id: string;
|
|
576
|
+
/**
|
|
577
|
+
* The mailbox this message is in, as an id. What `POST /attachments` and the other endpoints that take a mailbox expect — `identity` below is the same address as text.
|
|
578
|
+
*/
|
|
579
|
+
identity_id: string | null;
|
|
580
|
+
identity: string | null;
|
|
581
|
+
direction: string;
|
|
582
|
+
/**
|
|
583
|
+
* A mailbox, with the display name when one was given.
|
|
584
|
+
*/
|
|
585
|
+
from: {
|
|
586
|
+
email: string;
|
|
587
|
+
name?: string | null;
|
|
588
|
+
};
|
|
589
|
+
to: Array<{
|
|
590
|
+
email: string;
|
|
591
|
+
name?: string | null;
|
|
592
|
+
}>;
|
|
593
|
+
cc: Array<{
|
|
594
|
+
email: string;
|
|
595
|
+
name?: string | null;
|
|
596
|
+
}>;
|
|
597
|
+
subject: string | null;
|
|
598
|
+
/**
|
|
599
|
+
* The envelope recipient, which is not always in `to`.
|
|
600
|
+
*/
|
|
601
|
+
delivered_to: string | null;
|
|
602
|
+
text: string | null;
|
|
603
|
+
/**
|
|
604
|
+
* Sanitised server-side: our policy travels with the content.
|
|
605
|
+
*/
|
|
606
|
+
html: string;
|
|
607
|
+
/**
|
|
608
|
+
* `html` with the quoted history taken off: what the sender wrote this time.
|
|
609
|
+
*/
|
|
610
|
+
reply_html: string;
|
|
611
|
+
/**
|
|
612
|
+
* The history the reply quoted, or null when there was nothing to fold.
|
|
613
|
+
*/
|
|
614
|
+
quoted_html: string | null;
|
|
615
|
+
/**
|
|
616
|
+
* The reply as plain text. `text` is the message’s own text part, quote and all.
|
|
617
|
+
*/
|
|
618
|
+
reply_text: string;
|
|
619
|
+
is_read: boolean;
|
|
620
|
+
is_spam: boolean;
|
|
621
|
+
/**
|
|
622
|
+
* The headers we keep, lowercased: `message-id`, `in-reply-to`, `references`, `date`, `reply-to`, `return-path`, `list-id`, `list-unsubscribe`, `precedence`, `auto-submitted`, `x-auto-response-suppress`, `x-mailer` and `x-priority`. Not the whole envelope — that is `GET /messages/{id}/raw`. Empty when none were present.
|
|
623
|
+
*/
|
|
624
|
+
headers: {
|
|
625
|
+
[key: string]: string;
|
|
626
|
+
};
|
|
627
|
+
/**
|
|
628
|
+
* What the receiving transport said about the sending domain. Null means it did not report, not that the check failed — normal on outbound, and on inbound it is the difference between unknown and forged.
|
|
629
|
+
*/
|
|
630
|
+
authentication: {
|
|
631
|
+
spf: string | null;
|
|
632
|
+
dkim: string | null;
|
|
633
|
+
dmarc: string | null;
|
|
634
|
+
};
|
|
635
|
+
attachments: Array<{
|
|
636
|
+
id: string;
|
|
637
|
+
filename: string;
|
|
638
|
+
content_type: string;
|
|
639
|
+
size: number;
|
|
640
|
+
/**
|
|
641
|
+
* False when there is metadata but no object store behind it.
|
|
642
|
+
*/
|
|
643
|
+
downloadable: boolean;
|
|
644
|
+
}>;
|
|
645
|
+
/**
|
|
646
|
+
* The calendar part this message carried, or null — the invitation, who was asked, and what they answered.
|
|
647
|
+
*/
|
|
648
|
+
invitation: {
|
|
649
|
+
method: string | null;
|
|
650
|
+
uid: string;
|
|
651
|
+
sequence: number;
|
|
652
|
+
status: string | null;
|
|
653
|
+
summary: string | null;
|
|
654
|
+
description: string | null;
|
|
655
|
+
location: string | null;
|
|
656
|
+
/**
|
|
657
|
+
* The local wall time the sender wrote. This and `timezone` are the truth.
|
|
658
|
+
*/
|
|
659
|
+
start: string | null;
|
|
660
|
+
end: string | null;
|
|
661
|
+
/**
|
|
662
|
+
* The same moment as a UTC instant.
|
|
663
|
+
*/
|
|
664
|
+
starts_at: string | null;
|
|
665
|
+
ends_at: string | null;
|
|
666
|
+
all_day: boolean;
|
|
667
|
+
timezone: string | null;
|
|
668
|
+
organizer_email: string | null;
|
|
669
|
+
organizer_name: string | null;
|
|
670
|
+
attendees: Array<{
|
|
671
|
+
email: string;
|
|
672
|
+
name: string | null;
|
|
673
|
+
status: string;
|
|
674
|
+
optional: boolean;
|
|
675
|
+
rsvp: boolean;
|
|
676
|
+
}>;
|
|
677
|
+
recurrence_rule: string | null;
|
|
678
|
+
is_instance: boolean;
|
|
679
|
+
} | null;
|
|
680
|
+
/**
|
|
681
|
+
* The event the calendar made of that invitation, or null. A different fact from `invitation`: that is what the mail said, this is what the calendar now holds — a meeting later moved still reports the time this message invited you to.
|
|
682
|
+
*/
|
|
683
|
+
calendar_event_id: string | null;
|
|
684
|
+
/**
|
|
685
|
+
* Verification codes and links found in the message, most likely first — read from the new text, never the quoted history. Empty lists when nothing was found.
|
|
686
|
+
*/
|
|
687
|
+
extracted: {
|
|
688
|
+
/**
|
|
689
|
+
* Verification codes, most likely first. Empty when nothing looked like one.
|
|
690
|
+
*/
|
|
691
|
+
codes: Array<{
|
|
692
|
+
/**
|
|
693
|
+
* The code as it would be typed: spaces removed.
|
|
694
|
+
*/
|
|
695
|
+
value: string;
|
|
696
|
+
kind: 'numeric' | 'alphanumeric';
|
|
697
|
+
/**
|
|
698
|
+
* Where in the text it was found, or -1 when it was in the subject.
|
|
699
|
+
*/
|
|
700
|
+
index: number;
|
|
701
|
+
}>;
|
|
702
|
+
/**
|
|
703
|
+
* Links, verification links first. Unsubscribe and social links are left out.
|
|
704
|
+
*/
|
|
705
|
+
links: Array<{
|
|
706
|
+
url: string;
|
|
707
|
+
/**
|
|
708
|
+
* `verification` for confirm, verify, sign-in and magic links.
|
|
709
|
+
*/
|
|
710
|
+
kind: 'verification' | 'other';
|
|
711
|
+
/**
|
|
712
|
+
* The link text, when it had any.
|
|
713
|
+
*/
|
|
714
|
+
text: string | null;
|
|
715
|
+
}>;
|
|
716
|
+
};
|
|
717
|
+
/**
|
|
718
|
+
* ISO-8601, UTC.
|
|
719
|
+
*/
|
|
720
|
+
created_at: string;
|
|
721
|
+
} | null;
|
|
722
|
+
timed_out: boolean;
|
|
723
|
+
/**
|
|
724
|
+
* Pass as `after` on the next call, so a message arriving between two calls is not missed.
|
|
725
|
+
*/
|
|
726
|
+
cursor: string;
|
|
727
|
+
};
|
|
532
728
|
type Thread = {
|
|
533
729
|
id: string;
|
|
534
730
|
identity: string;
|
|
@@ -842,6 +1038,13 @@ type Metrics = {
|
|
|
842
1038
|
until: string;
|
|
843
1039
|
days: number;
|
|
844
1040
|
identity: string | null;
|
|
1041
|
+
pod: {
|
|
1042
|
+
id: string;
|
|
1043
|
+
name: string;
|
|
1044
|
+
} | null;
|
|
1045
|
+
reputation: {
|
|
1046
|
+
sending: 'enabled' | 'paused' | 'unknown';
|
|
1047
|
+
} | null;
|
|
845
1048
|
outbound: {
|
|
846
1049
|
sent: number;
|
|
847
1050
|
delivered: number;
|
|
@@ -1287,6 +1490,26 @@ type SearchHit = {
|
|
|
1287
1490
|
*/
|
|
1288
1491
|
identity: string | null;
|
|
1289
1492
|
};
|
|
1493
|
+
type Pod = {
|
|
1494
|
+
id: string;
|
|
1495
|
+
name: string;
|
|
1496
|
+
/**
|
|
1497
|
+
* Your own id for this pod — a customer id, whatever your side calls it.
|
|
1498
|
+
*/
|
|
1499
|
+
client_id: string | null;
|
|
1500
|
+
/**
|
|
1501
|
+
* Where an address lands when a create call names no pod. Exactly one per account.
|
|
1502
|
+
*/
|
|
1503
|
+
is_default: boolean;
|
|
1504
|
+
/**
|
|
1505
|
+
* Addresses in it.
|
|
1506
|
+
*/
|
|
1507
|
+
identity_count: number;
|
|
1508
|
+
/**
|
|
1509
|
+
* ISO-8601, UTC.
|
|
1510
|
+
*/
|
|
1511
|
+
created_at: string;
|
|
1512
|
+
};
|
|
1290
1513
|
type Label = {
|
|
1291
1514
|
id: string;
|
|
1292
1515
|
identity_id: string;
|
|
@@ -1447,6 +1670,7 @@ type IdentitiesListData = {
|
|
|
1447
1670
|
*/
|
|
1448
1671
|
cursor?: string;
|
|
1449
1672
|
tenant_id?: string;
|
|
1673
|
+
pod_id?: string;
|
|
1450
1674
|
};
|
|
1451
1675
|
url: '/identities';
|
|
1452
1676
|
};
|
|
@@ -1525,6 +1749,10 @@ type IdentitiesCreateData = {
|
|
|
1525
1749
|
* Your own opaque grouping — a customer id, whatever your side calls it. Never parsed here.
|
|
1526
1750
|
*/
|
|
1527
1751
|
tenant_id?: string | null;
|
|
1752
|
+
/**
|
|
1753
|
+
* The pod this belongs to — your account’s default when you name none. A pod is a sending boundary: mail from it lands on its own reputation, so one of your customers cannot damage another’s delivery. It does not change what an address can do, and no key is scoped to one.
|
|
1754
|
+
*/
|
|
1755
|
+
pod_id?: string | null;
|
|
1528
1756
|
};
|
|
1529
1757
|
path?: never;
|
|
1530
1758
|
query?: never;
|
|
@@ -1644,6 +1872,10 @@ type IdentitiesUpdateData = {
|
|
|
1644
1872
|
* Your own opaque grouping — a customer id, whatever your side calls it. Never parsed here.
|
|
1645
1873
|
*/
|
|
1646
1874
|
tenant_id?: string | null;
|
|
1875
|
+
/**
|
|
1876
|
+
* The pod this belongs to — your account’s default when you name none. A pod is a sending boundary: mail from it lands on its own reputation, so one of your customers cannot damage another’s delivery. It does not change what an address can do, and no key is scoped to one.
|
|
1877
|
+
*/
|
|
1878
|
+
pod_id?: string | null;
|
|
1647
1879
|
};
|
|
1648
1880
|
path: {
|
|
1649
1881
|
id: string;
|
|
@@ -2018,6 +2250,147 @@ type IdentitiesSuspendTenantResponses = {
|
|
|
2018
2250
|
};
|
|
2019
2251
|
};
|
|
2020
2252
|
type IdentitiesSuspendTenantResponse = IdentitiesSuspendTenantResponses[keyof IdentitiesSuspendTenantResponses];
|
|
2253
|
+
type PodsListData = {
|
|
2254
|
+
body?: never;
|
|
2255
|
+
path?: never;
|
|
2256
|
+
query?: never;
|
|
2257
|
+
url: '/pods';
|
|
2258
|
+
};
|
|
2259
|
+
type PodsListErrors = {
|
|
2260
|
+
/**
|
|
2261
|
+
* No API key, or one that is not valid.
|
|
2262
|
+
*/
|
|
2263
|
+
401: Error;
|
|
2264
|
+
/**
|
|
2265
|
+
* No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
|
|
2266
|
+
*/
|
|
2267
|
+
404: Error;
|
|
2268
|
+
/**
|
|
2269
|
+
* Rate limited. `X-RateLimit-Reset` says when to retry.
|
|
2270
|
+
*/
|
|
2271
|
+
429: Error;
|
|
2272
|
+
};
|
|
2273
|
+
type PodsListError = PodsListErrors[keyof PodsListErrors];
|
|
2274
|
+
type PodsListResponses = {
|
|
2275
|
+
/**
|
|
2276
|
+
* Every pod.
|
|
2277
|
+
*/
|
|
2278
|
+
200: {
|
|
2279
|
+
data: Array<Pod>;
|
|
2280
|
+
has_more: boolean;
|
|
2281
|
+
/**
|
|
2282
|
+
* Pass as `cursor` to continue. Null on the last page.
|
|
2283
|
+
*/
|
|
2284
|
+
next_cursor: string | null;
|
|
2285
|
+
};
|
|
2286
|
+
};
|
|
2287
|
+
type PodsListResponse = PodsListResponses[keyof PodsListResponses];
|
|
2288
|
+
type PodsCreateData = {
|
|
2289
|
+
body: {
|
|
2290
|
+
name: string;
|
|
2291
|
+
/**
|
|
2292
|
+
* Your own id for this pod. Carried and returned, never parsed.
|
|
2293
|
+
*/
|
|
2294
|
+
client_id?: string | null;
|
|
2295
|
+
};
|
|
2296
|
+
path?: never;
|
|
2297
|
+
query?: never;
|
|
2298
|
+
url: '/pods';
|
|
2299
|
+
};
|
|
2300
|
+
type PodsCreateErrors = {
|
|
2301
|
+
/**
|
|
2302
|
+
* No API key, or one that is not valid.
|
|
2303
|
+
*/
|
|
2304
|
+
401: Error;
|
|
2305
|
+
/**
|
|
2306
|
+
* No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
|
|
2307
|
+
*/
|
|
2308
|
+
404: Error;
|
|
2309
|
+
/**
|
|
2310
|
+
* Rate limited. `X-RateLimit-Reset` says when to retry.
|
|
2311
|
+
*/
|
|
2312
|
+
429: Error;
|
|
2313
|
+
};
|
|
2314
|
+
type PodsCreateError = PodsCreateErrors[keyof PodsCreateErrors];
|
|
2315
|
+
type PodsCreateResponses = {
|
|
2316
|
+
/**
|
|
2317
|
+
* The pod.
|
|
2318
|
+
*/
|
|
2319
|
+
201: {
|
|
2320
|
+
data: Pod;
|
|
2321
|
+
};
|
|
2322
|
+
};
|
|
2323
|
+
type PodsCreateResponse = PodsCreateResponses[keyof PodsCreateResponses];
|
|
2324
|
+
type PodsGetData = {
|
|
2325
|
+
body?: never;
|
|
2326
|
+
path: {
|
|
2327
|
+
id: string;
|
|
2328
|
+
};
|
|
2329
|
+
query?: never;
|
|
2330
|
+
url: '/pods/{id}';
|
|
2331
|
+
};
|
|
2332
|
+
type PodsGetErrors = {
|
|
2333
|
+
/**
|
|
2334
|
+
* No API key, or one that is not valid.
|
|
2335
|
+
*/
|
|
2336
|
+
401: Error;
|
|
2337
|
+
/**
|
|
2338
|
+
* No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
|
|
2339
|
+
*/
|
|
2340
|
+
404: Error;
|
|
2341
|
+
/**
|
|
2342
|
+
* Rate limited. `X-RateLimit-Reset` says when to retry.
|
|
2343
|
+
*/
|
|
2344
|
+
429: Error;
|
|
2345
|
+
};
|
|
2346
|
+
type PodsGetError = PodsGetErrors[keyof PodsGetErrors];
|
|
2347
|
+
type PodsGetResponses = {
|
|
2348
|
+
/**
|
|
2349
|
+
* The pod.
|
|
2350
|
+
*/
|
|
2351
|
+
200: {
|
|
2352
|
+
data: Pod;
|
|
2353
|
+
};
|
|
2354
|
+
};
|
|
2355
|
+
type PodsGetResponse = PodsGetResponses[keyof PodsGetResponses];
|
|
2356
|
+
type PodsUpdateData = {
|
|
2357
|
+
body: {
|
|
2358
|
+
name?: string;
|
|
2359
|
+
/**
|
|
2360
|
+
* Your own id for this pod. Carried and returned, never parsed.
|
|
2361
|
+
*/
|
|
2362
|
+
client_id?: string | null;
|
|
2363
|
+
};
|
|
2364
|
+
path: {
|
|
2365
|
+
id: string;
|
|
2366
|
+
};
|
|
2367
|
+
query?: never;
|
|
2368
|
+
url: '/pods/{id}';
|
|
2369
|
+
};
|
|
2370
|
+
type PodsUpdateErrors = {
|
|
2371
|
+
/**
|
|
2372
|
+
* No API key, or one that is not valid.
|
|
2373
|
+
*/
|
|
2374
|
+
401: Error;
|
|
2375
|
+
/**
|
|
2376
|
+
* No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
|
|
2377
|
+
*/
|
|
2378
|
+
404: Error;
|
|
2379
|
+
/**
|
|
2380
|
+
* Rate limited. `X-RateLimit-Reset` says when to retry.
|
|
2381
|
+
*/
|
|
2382
|
+
429: Error;
|
|
2383
|
+
};
|
|
2384
|
+
type PodsUpdateError = PodsUpdateErrors[keyof PodsUpdateErrors];
|
|
2385
|
+
type PodsUpdateResponses = {
|
|
2386
|
+
/**
|
|
2387
|
+
* The pod.
|
|
2388
|
+
*/
|
|
2389
|
+
200: {
|
|
2390
|
+
data: Pod;
|
|
2391
|
+
};
|
|
2392
|
+
};
|
|
2393
|
+
type PodsUpdateResponse = PodsUpdateResponses[keyof PodsUpdateResponses];
|
|
2021
2394
|
type LabelsListData = {
|
|
2022
2395
|
body?: never;
|
|
2023
2396
|
path?: never;
|
|
@@ -2496,6 +2869,43 @@ type MessagesUndoResponses = {
|
|
|
2496
2869
|
};
|
|
2497
2870
|
};
|
|
2498
2871
|
type MessagesUndoResponse = MessagesUndoResponses[keyof MessagesUndoResponses];
|
|
2872
|
+
type MessagesAwaitData = {
|
|
2873
|
+
body?: never;
|
|
2874
|
+
path?: never;
|
|
2875
|
+
query: {
|
|
2876
|
+
identity_id: string;
|
|
2877
|
+
from?: string;
|
|
2878
|
+
subject_contains?: string;
|
|
2879
|
+
has_code?: 'true' | 'false';
|
|
2880
|
+
after?: string;
|
|
2881
|
+
timeout?: number;
|
|
2882
|
+
};
|
|
2883
|
+
url: '/messages/await';
|
|
2884
|
+
};
|
|
2885
|
+
type MessagesAwaitErrors = {
|
|
2886
|
+
/**
|
|
2887
|
+
* No API key, or one that is not valid.
|
|
2888
|
+
*/
|
|
2889
|
+
401: Error;
|
|
2890
|
+
/**
|
|
2891
|
+
* No such resource, or one this key cannot reach. The two answer the same, so treat a 404 as “not available to you” rather than “does not exist”.
|
|
2892
|
+
*/
|
|
2893
|
+
404: Error;
|
|
2894
|
+
/**
|
|
2895
|
+
* Rate limited. `X-RateLimit-Reset` says when to retry.
|
|
2896
|
+
*/
|
|
2897
|
+
429: Error;
|
|
2898
|
+
};
|
|
2899
|
+
type MessagesAwaitError = MessagesAwaitErrors[keyof MessagesAwaitErrors];
|
|
2900
|
+
type MessagesAwaitResponses = {
|
|
2901
|
+
/**
|
|
2902
|
+
* The message, or that none came in time.
|
|
2903
|
+
*/
|
|
2904
|
+
200: {
|
|
2905
|
+
data: AwaitedMessage;
|
|
2906
|
+
};
|
|
2907
|
+
};
|
|
2908
|
+
type MessagesAwaitResponse = MessagesAwaitResponses[keyof MessagesAwaitResponses];
|
|
2499
2909
|
type MessagesGetData = {
|
|
2500
2910
|
body?: never;
|
|
2501
2911
|
path: {
|
|
@@ -5131,6 +5541,7 @@ type MetricsQueryData = {
|
|
|
5131
5541
|
query?: {
|
|
5132
5542
|
days?: number;
|
|
5133
5543
|
identity_id?: string;
|
|
5544
|
+
pod_id?: string;
|
|
5134
5545
|
};
|
|
5135
5546
|
url: '/metrics';
|
|
5136
5547
|
};
|
|
@@ -5345,6 +5756,32 @@ declare const identitiesReceiveRulesCreate: <ThrowOnError extends boolean = fals
|
|
|
5345
5756
|
* Suspends every address carrying that `tenant_id`. **Suspends, never deletes** — the mail, the threads and the grants all stay, and each address emits `identity.suspended`. Deleting them is still one call each. Idempotent: it changes what is active and reports how many, so a retry is safe. It reaches only addresses you could have suspended one at a time.
|
|
5346
5757
|
*/
|
|
5347
5758
|
declare const identitiesSuspendTenant: <ThrowOnError extends boolean = false>(options: Options<IdentitiesSuspendTenantData, ThrowOnError>) => RequestResult<IdentitiesSuspendTenantResponses, IdentitiesSuspendTenantErrors, ThrowOnError>;
|
|
5759
|
+
/**
|
|
5760
|
+
* List pods
|
|
5761
|
+
*
|
|
5762
|
+
* The containers in this account, the default first. A pod holds addresses and domains — a customer of yours, a client, or just test apart from production.
|
|
5763
|
+
*
|
|
5764
|
+
* **Each pod has its own sending reputation**, so bounces from one customer cannot degrade delivery for another — mail sends under the pod its address is in, whichever domain it is on. A key is still a list of address ids rather than something scoped to a pod.
|
|
5765
|
+
*
|
|
5766
|
+
* Not paged: this is a menu somebody switches with, and a product where that menu needs a cursor is one where the menu was the wrong shape.
|
|
5767
|
+
*/
|
|
5768
|
+
declare const podsList: <ThrowOnError extends boolean = false>(options?: Options<PodsListData, ThrowOnError>) => RequestResult<PodsListResponses, PodsListErrors, ThrowOnError>;
|
|
5769
|
+
/**
|
|
5770
|
+
* Create a pod
|
|
5771
|
+
*
|
|
5772
|
+
* Name it after whatever it holds — a customer, an environment. `client_id` is your own id for it, carried and never parsed, and has to be unique within the account so that looking one up by it has an answer.
|
|
5773
|
+
*/
|
|
5774
|
+
declare const podsCreate: <ThrowOnError extends boolean = false>(options: Options<PodsCreateData, ThrowOnError>) => RequestResult<PodsCreateResponses, PodsCreateErrors, ThrowOnError>;
|
|
5775
|
+
/**
|
|
5776
|
+
* Fetch one pod
|
|
5777
|
+
*/
|
|
5778
|
+
declare const podsGet: <ThrowOnError extends boolean = false>(options: Options<PodsGetData, ThrowOnError>) => RequestResult<PodsGetResponses, PodsGetErrors, ThrowOnError>;
|
|
5779
|
+
/**
|
|
5780
|
+
* Rename a pod, or change its client id
|
|
5781
|
+
*
|
|
5782
|
+
* There is no delete. A container holding mailboxes is not a thing to remove with one call, and nothing yet moves addresses between pods — so the verb would either refuse every non-empty pod or destroy mail. Suspend the addresses instead.
|
|
5783
|
+
*/
|
|
5784
|
+
declare const podsUpdate: <ThrowOnError extends boolean = false>(options: Options<PodsUpdateData, ThrowOnError>) => RequestResult<PodsUpdateResponses, PodsUpdateErrors, ThrowOnError>;
|
|
5348
5785
|
/**
|
|
5349
5786
|
* List labels
|
|
5350
5787
|
*
|
|
@@ -5411,6 +5848,12 @@ declare const messagesAct: <ThrowOnError extends boolean = false>(options: Optio
|
|
|
5411
5848
|
* Hand back the `undo` from a `PATCH` or a batch. Unusual for an API to have, and the argument is that software makes mistakes at a speed a person does not.
|
|
5412
5849
|
*/
|
|
5413
5850
|
declare const messagesUndo: <ThrowOnError extends boolean = false>(options: Options<MessagesUndoData, ThrowOnError>) => RequestResult<MessagesUndoResponses, MessagesUndoErrors, ThrowOnError>;
|
|
5851
|
+
/**
|
|
5852
|
+
* Wait for the next message
|
|
5853
|
+
*
|
|
5854
|
+
* Holds the request open until a message matching the filters arrives at the address, or `timeout` seconds pass — one call where you would otherwise poll. The message carries `extracted`: verification codes and links, most likely first. Pass the returned `cursor` as `after` on the next call so nothing arriving between calls is missed. Answers 200 with `message: null` and `timed_out: true` when nothing came.
|
|
5855
|
+
*/
|
|
5856
|
+
declare const messagesAwait: <ThrowOnError extends boolean = false>(options: Options<MessagesAwaitData, ThrowOnError>) => RequestResult<MessagesAwaitResponses, MessagesAwaitErrors, ThrowOnError>;
|
|
5414
5857
|
/**
|
|
5415
5858
|
* Fetch one message
|
|
5416
5859
|
*/
|
|
@@ -5812,7 +6255,7 @@ declare const draftsRemoveAttachment: <ThrowOnError extends boolean = false>(opt
|
|
|
5812
6255
|
/**
|
|
5813
6256
|
* What happened to the mail
|
|
5814
6257
|
*
|
|
5815
|
-
* Counted from the event log rather than from the messages: a message row says what was sent, and whether it bounced is something the provider told us afterwards. `identity_id` narrows it to one mailbox, which is the question worth asking when you run several — reputation belongs to the address that sent the mail. `delivery_rate` is null rather than zero when nothing was sent.
|
|
6258
|
+
* Counted from the event log rather than from the messages: a message row says what was sent, and whether it bounced is something the provider told us afterwards. `identity_id` narrows it to one mailbox, which is the question worth asking when you run several — reputation belongs to the address that sent the mail. `pod_id` narrows it to one pod, which is the question a platform asks: sending reputation is isolated per pod, so this is the scope that isolation is claimed at, and the response carries `reputation.sending` — `paused` is the provider having suspended that pod and nobody else. `delivery_rate` is null rather than zero when nothing was sent. An unknown parameter is refused rather than ignored.
|
|
5816
6259
|
*/
|
|
5817
6260
|
declare const metricsQuery: <ThrowOnError extends boolean = false>(options?: Options<MetricsQueryData, ThrowOnError>) => RequestResult<MetricsQueryResponses, MetricsQueryErrors, ThrowOnError>;
|
|
5818
6261
|
/**
|
|
@@ -5953,4 +6396,4 @@ interface StreamOptions {
|
|
|
5953
6396
|
*/
|
|
5954
6397
|
declare function streamEvents(options: StreamOptions): AsyncGenerator<StreamedEvent>;
|
|
5955
6398
|
|
|
5956
|
-
export { type Address, type AgentAttachHumanData, type AgentAttachHumanError, type AgentAttachHumanErrors, type AgentAttachHumanResponse, type AgentAttachHumanResponses, type AgentSignUpData, type AgentSignUpError, type AgentSignUpErrors, type AgentSignUpResponse, type AgentSignUpResponses, type AgentSignup, type AgentVerified, type AgentVerifyData, type AgentVerifyError, type AgentVerifyErrors, type AgentVerifyResponse, type AgentVerifyResponses, type ApiKey, type AppPassword, type AppPasswordsCreateData, type AppPasswordsCreateError, type AppPasswordsCreateErrors, type AppPasswordsCreateResponse, type AppPasswordsCreateResponses, type AppPasswordsListData, type AppPasswordsListError, type AppPasswordsListErrors, type AppPasswordsListResponse, type AppPasswordsListResponses, type AppPasswordsRevokeData, type AppPasswordsRevokeError, type AppPasswordsRevokeErrors, type AppPasswordsRevokeResponse, type AppPasswordsRevokeResponses, type Attachment, type AttachmentUrl, type AttachmentsDownloadUrlData, type AttachmentsDownloadUrlError, type AttachmentsDownloadUrlErrors, type AttachmentsDownloadUrlResponse, type AttachmentsDownloadUrlResponses, type AttachmentsUploadData, type AttachmentsUploadError, type AttachmentsUploadErrors, type AttachmentsUploadResponse, type AttachmentsUploadResponses, type Calendar, type CalendarCreateEventData, type CalendarCreateEventError, type CalendarCreateEventErrors, type CalendarCreateEventResponse, type CalendarCreateEventResponses, type CalendarDeleteEventData, type CalendarDeleteEventError, type CalendarDeleteEventErrors, type CalendarDeleteEventResponse, type CalendarDeleteEventResponses, type CalendarEvent, type CalendarGetAgendaData, type CalendarGetAgendaError, type CalendarGetAgendaErrors, type CalendarGetAgendaResponse, type CalendarGetAgendaResponses, type CalendarGetData, type CalendarGetError, type CalendarGetErrors, type CalendarGetEventData, type CalendarGetEventError, type CalendarGetEventErrors, type CalendarGetEventResponse, type CalendarGetEventResponses, type CalendarGetResponse, type CalendarGetResponses, type CalendarListEventInstancesData, type CalendarListEventInstancesError, type CalendarListEventInstancesErrors, type CalendarListEventInstancesResponse, type CalendarListEventInstancesResponses, type CalendarListEventsData, type CalendarListEventsError, type CalendarListEventsErrors, type CalendarListEventsResponse, type CalendarListEventsResponses, type CalendarRespondToEventData, type CalendarRespondToEventError, type CalendarRespondToEventErrors, type CalendarRespondToEventResponse, type CalendarRespondToEventResponses, type CalendarUpdateData, type CalendarUpdateError, type CalendarUpdateErrors, type CalendarUpdateEventData, type CalendarUpdateEventError, type CalendarUpdateEventErrors, type CalendarUpdateEventResponse, type CalendarUpdateEventResponses, type CalendarUpdateResponse, type CalendarUpdateResponses, type ClientOptions, type CreateClientConfig, type Deleted, type Delivery, type DnsRecord, type Domain, type DomainDetail, type DomainsCreateData, type DomainsCreateError, type DomainsCreateErrors, type DomainsCreateResponse, type DomainsCreateResponses, type DomainsDeleteData, type DomainsDeleteError, type DomainsDeleteErrors, type DomainsDeleteResponse, type DomainsDeleteResponses, type DomainsGetData, type DomainsGetError, type DomainsGetErrors, type DomainsGetResponse, type DomainsGetResponses, type DomainsGetSetupLinkData, type DomainsGetSetupLinkError, type DomainsGetSetupLinkErrors, type DomainsGetSetupLinkResponse, type DomainsGetSetupLinkResponses, type DomainsListData, type DomainsListError, type DomainsListErrors, type DomainsListResponse, type DomainsListResponses, type DomainsUpdateData, type DomainsUpdateError, type DomainsUpdateErrors, type DomainsUpdateResponse, type DomainsUpdateResponses, type DomainsVerifyData, type DomainsVerifyError, type DomainsVerifyErrors, type DomainsVerifyResponse, type DomainsVerifyResponses, type DomainsZoneFileData, type DomainsZoneFileError, type DomainsZoneFileErrors, type DomainsZoneFileResponse, type DomainsZoneFileResponses, type Draft, type DraftsCancelScheduleData, type DraftsCancelScheduleError, type DraftsCancelScheduleErrors, type DraftsCancelScheduleResponse, type DraftsCancelScheduleResponses, type DraftsCreateData, type DraftsCreateError, type DraftsCreateErrors, type DraftsCreateResponse, type DraftsCreateResponses, type DraftsDeleteData, type DraftsDeleteError, type DraftsDeleteErrors, type DraftsDeleteResponse, type DraftsDeleteResponses, type DraftsGetData, type DraftsGetError, type DraftsGetErrors, type DraftsGetResponse, type DraftsGetResponses, type DraftsListData, type DraftsListError, type DraftsListErrors, type DraftsListResponse, type DraftsListResponses, type DraftsRemoveAttachmentData, type DraftsRemoveAttachmentError, type DraftsRemoveAttachmentErrors, type DraftsRemoveAttachmentResponse, type DraftsRemoveAttachmentResponses, type DraftsScheduleData, type DraftsScheduleError, type DraftsScheduleErrors, type DraftsScheduleResponse, type DraftsScheduleResponses, type DraftsSendData, type DraftsSendError, type DraftsSendErrors, type DraftsSendResponse, type DraftsSendResponses, type DraftsUpdateData, type DraftsUpdateError, type DraftsUpdateErrors, type DraftsUpdateResponse, type DraftsUpdateResponses, type Emptied, type Error, type Event, type EventResponse, type EventsGetData, type EventsGetError, type EventsGetErrors, type EventsGetResponse, type EventsGetResponses, type EventsListData, type EventsListError, type EventsListErrors, type EventsListResponse, type EventsListResponses, type EventsStreamData, type EventsStreamError, type EventsStreamErrors, type EventsStreamResponse, type EventsStreamResponses, type IdentitiesAccessCreateData, type IdentitiesAccessCreateError, type IdentitiesAccessCreateErrors, type IdentitiesAccessCreateResponse, type IdentitiesAccessCreateResponses, type IdentitiesAccessDeleteData, type IdentitiesAccessDeleteError, type IdentitiesAccessDeleteErrors, type IdentitiesAccessDeleteResponse, type IdentitiesAccessDeleteResponses, type IdentitiesAccessGetData, type IdentitiesAccessGetError, type IdentitiesAccessGetErrors, type IdentitiesAccessGetResponse, type IdentitiesAccessGetResponses, type IdentitiesCreateData, type IdentitiesCreateError, type IdentitiesCreateErrors, type IdentitiesCreateResponse, type IdentitiesCreateResponses, type IdentitiesDeleteData, type IdentitiesDeleteError, type IdentitiesDeleteErrors, type IdentitiesDeleteResponse, type IdentitiesDeleteResponses, type IdentitiesGetData, type IdentitiesGetError, type IdentitiesGetErrors, type IdentitiesGetResponse, type IdentitiesGetResponses, type IdentitiesListData, type IdentitiesListError, type IdentitiesListErrors, type IdentitiesListResponse, type IdentitiesListResponses, type IdentitiesReceiveRulesCreateData, type IdentitiesReceiveRulesCreateError, type IdentitiesReceiveRulesCreateErrors, type IdentitiesReceiveRulesCreateResponse, type IdentitiesReceiveRulesCreateResponses, type IdentitiesReceiveRulesDeleteData, type IdentitiesReceiveRulesDeleteError, type IdentitiesReceiveRulesDeleteErrors, type IdentitiesReceiveRulesDeleteResponse, type IdentitiesReceiveRulesDeleteResponses, type IdentitiesReceiveRulesGetData, type IdentitiesReceiveRulesGetError, type IdentitiesReceiveRulesGetErrors, type IdentitiesReceiveRulesGetResponse, type IdentitiesReceiveRulesGetResponses, type IdentitiesSendRulesCreateData, type IdentitiesSendRulesCreateError, type IdentitiesSendRulesCreateErrors, type IdentitiesSendRulesCreateResponse, type IdentitiesSendRulesCreateResponses, type IdentitiesSendRulesDeleteData, type IdentitiesSendRulesDeleteError, type IdentitiesSendRulesDeleteErrors, type IdentitiesSendRulesDeleteResponse, type IdentitiesSendRulesDeleteResponses, type IdentitiesSendRulesGetData, type IdentitiesSendRulesGetError, type IdentitiesSendRulesGetErrors, type IdentitiesSendRulesGetResponse, type IdentitiesSendRulesGetResponses, type IdentitiesSuspendTenantData, type IdentitiesSuspendTenantError, type IdentitiesSuspendTenantErrors, type IdentitiesSuspendTenantResponse, type IdentitiesSuspendTenantResponses, type IdentitiesUpdateData, type IdentitiesUpdateError, type IdentitiesUpdateErrors, type IdentitiesUpdateResponse, type IdentitiesUpdateResponses, type Identity, type Invitation, type InvitationResponse, type KeysCreateData, type KeysCreateError, type KeysCreateErrors, type KeysCreateResponse, type KeysCreateResponses, type KeysGetData, type KeysGetError, type KeysGetErrors, type KeysGetResponse, type KeysGetResponses, type KeysListData, type KeysListError, type KeysListErrors, type KeysListResponse, type KeysListResponses, type KeysRevokeData, type KeysRevokeError, type KeysRevokeErrors, type KeysRevokeResponse, type KeysRevokeResponses, type KeysUpdateData, type KeysUpdateError, type KeysUpdateErrors, type KeysUpdateResponse, type KeysUpdateResponses, type Label, type LabelRemoved, type LabelsCreateData, type LabelsCreateError, type LabelsCreateErrors, type LabelsCreateResponse, type LabelsCreateResponses, type LabelsDeleteData, type LabelsDeleteError, type LabelsDeleteErrors, type LabelsDeleteResponse, type LabelsDeleteResponses, type LabelsListData, type LabelsListError, type LabelsListErrors, type LabelsListResponse, type LabelsListResponses, type LabelsUpdateData, type LabelsUpdateError, type LabelsUpdateErrors, type LabelsUpdateResponse, type LabelsUpdateResponses, type Mailbox, type MailboxAccess, type MailboxChange, type MailboxesChangesData, type MailboxesChangesError, type MailboxesChangesErrors, type MailboxesChangesResponse, type MailboxesChangesResponses, type MailboxesEmptyTrashData, type MailboxesEmptyTrashError, type MailboxesEmptyTrashErrors, type MailboxesEmptyTrashResponse, type MailboxesEmptyTrashResponses, type MailboxesListData, type MailboxesListError, type MailboxesListErrors, type MailboxesListFolderData, type MailboxesListFolderError, type MailboxesListFolderErrors, type MailboxesListFolderResponse, type MailboxesListFolderResponses, type MailboxesListResponse, type MailboxesListResponses, type Me, type MeGetData, type MeGetError, type MeGetErrors, type MeGetResponse, type MeGetResponses, type Member, type Message, type MessageListItem, type MessagesActData, type MessagesActError, type MessagesActErrors, type MessagesActResponse, type MessagesActResponses, type MessagesForwardData, type MessagesForwardError, type MessagesForwardErrors, type MessagesForwardResponse, type MessagesForwardResponses, type MessagesGetData, type MessagesGetError, type MessagesGetErrors, type MessagesGetResponse, type MessagesGetResponses, type MessagesListInThreadData, type MessagesListInThreadError, type MessagesListInThreadErrors, type MessagesListInThreadResponse, type MessagesListInThreadResponses, type MessagesRawData, type MessagesRawError, type MessagesRawErrors, type MessagesRawResponse, type MessagesRawResponses, type MessagesReplyAllData, type MessagesReplyAllError, type MessagesReplyAllErrors, type MessagesReplyAllResponse, type MessagesReplyAllResponses, type MessagesReplyData, type MessagesReplyError, type MessagesReplyErrors, type MessagesReplyResponse, type MessagesReplyResponses, type MessagesRespondToInvitationData, type MessagesRespondToInvitationError, type MessagesRespondToInvitationErrors, type MessagesRespondToInvitationResponse, type MessagesRespondToInvitationResponses, type MessagesSearchData, type MessagesSearchError, type MessagesSearchErrors, type MessagesSearchResponse, type MessagesSearchResponses, type MessagesSendData, type MessagesSendError, type MessagesSendErrors, type MessagesSendResponse, type MessagesSendResponses, type MessagesUndoData, type MessagesUndoError, type MessagesUndoErrors, type MessagesUndoResponse, type MessagesUndoResponses, type MessagesUpdateData, type MessagesUpdateError, type MessagesUpdateErrors, type MessagesUpdateResponse, type MessagesUpdateResponses, type Metrics, type MetricsQueryData, type MetricsQueryError, type MetricsQueryErrors, type MetricsQueryResponse, type MetricsQueryResponses, type Options, type ReceiveRuleRemoved, type ReceiveRules, type Replayed, type Restored, type Revoked, type RoutingCreateData, type RoutingCreateError, type RoutingCreateErrors, type RoutingCreateResponse, type RoutingCreateResponses, type RoutingDeleteData, type RoutingDeleteError, type RoutingDeleteErrors, type RoutingDeleteResponse, type RoutingDeleteResponses, type RoutingListData, type RoutingListError, type RoutingListErrors, type RoutingListResponse, type RoutingListResponses, type RoutingRule, type RoutingUpdateData, type RoutingUpdateError, type RoutingUpdateErrors, type RoutingUpdateResponse, type RoutingUpdateResponses, SIGNATURE_HEADER, type SearchHit, type SendRuleRemoved, type SendRules, type Sent, type SetupLink, type StreamOptions, type StreamedEvent, TIMESTAMP_HEADER, type TenantSuspended, type Thread, type ThreadsGetData, type ThreadsGetError, type ThreadsGetErrors, type ThreadsGetResponse, type ThreadsGetResponses, type ThreadsLabelsCreateData, type ThreadsLabelsCreateError, type ThreadsLabelsCreateErrors, type ThreadsLabelsCreateResponse, type ThreadsLabelsCreateResponses, type ThreadsLabelsDeleteData, type ThreadsLabelsDeleteError, type ThreadsLabelsDeleteErrors, type ThreadsLabelsDeleteResponse, type ThreadsLabelsDeleteResponses, type ThreadsLabelsGetData, type ThreadsLabelsGetError, type ThreadsLabelsGetErrors, type ThreadsLabelsGetResponse, type ThreadsLabelsGetResponses, type ThreadsListData, type ThreadsListError, type ThreadsListErrors, type ThreadsListResponse, type ThreadsListResponses, type ThreadsUpdateData, type ThreadsUpdateError, type ThreadsUpdateErrors, type ThreadsUpdateResponse, type ThreadsUpdateResponses, type Undo, type UploadedAttachment, type Verification, type Webhook, type WebhookCreated, type WebhookEnvelope, type WebhookHeaders, type WebhooksCreateData, type WebhooksCreateError, type WebhooksCreateErrors, type WebhooksCreateResponse, type WebhooksCreateResponses, type WebhooksDeleteData, type WebhooksDeleteError, type WebhooksDeleteErrors, type WebhooksDeleteResponse, type WebhooksDeleteResponses, type WebhooksDeliveriesData, type WebhooksDeliveriesError, type WebhooksDeliveriesErrors, type WebhooksDeliveriesResponse, type WebhooksDeliveriesResponses, type WebhooksGetData, type WebhooksGetError, type WebhooksGetErrors, type WebhooksGetHeadersData, type WebhooksGetHeadersError, type WebhooksGetHeadersErrors, type WebhooksGetHeadersResponse, type WebhooksGetHeadersResponses, type WebhooksGetResponse, type WebhooksGetResponses, type WebhooksListData, type WebhooksListError, type WebhooksListErrors, type WebhooksListResponse, type WebhooksListResponses, type WebhooksReplayData, type WebhooksReplayError, type WebhooksReplayErrors, type WebhooksReplayResponse, type WebhooksReplayResponses, type WebhooksUpdateData, type WebhooksUpdateError, type WebhooksUpdateErrors, type WebhooksUpdateHeadersData, type WebhooksUpdateHeadersError, type WebhooksUpdateHeadersErrors, type WebhooksUpdateHeadersResponse, type WebhooksUpdateHeadersResponses, type WebhooksUpdateResponse, type WebhooksUpdateResponses, type Workspace, type WorkspaceGetData, type WorkspaceGetError, type WorkspaceGetErrors, type WorkspaceGetResponse, type WorkspaceGetResponses, type WorkspaceMembersData, type WorkspaceMembersError, type WorkspaceMembersErrors, type WorkspaceMembersResponse, type WorkspaceMembersResponses, agentAttachHuman, agentSignUp, agentVerify, appPasswordsCreate, appPasswordsList, appPasswordsRevoke, attachmentsDownloadUrl, attachmentsUpload, calendarCreateEvent, calendarDeleteEvent, calendarGet, calendarGetAgenda, calendarGetEvent, calendarListEventInstances, calendarListEvents, calendarRespondToEvent, calendarUpdate, calendarUpdateEvent, client, createClient, createConfig, domainsCreate, domainsDelete, domainsGet, domainsGetSetupLink, domainsList, domainsUpdate, domainsVerify, domainsZoneFile, draftsCancelSchedule, draftsCreate, draftsDelete, draftsGet, draftsList, draftsRemoveAttachment, draftsSchedule, draftsSend, draftsUpdate, eventsGet, eventsList, eventsStream, identitiesAccessCreate, identitiesAccessDelete, identitiesAccessGet, identitiesCreate, identitiesDelete, identitiesGet, identitiesList, identitiesReceiveRulesCreate, identitiesReceiveRulesDelete, identitiesReceiveRulesGet, identitiesSendRulesCreate, identitiesSendRulesDelete, identitiesSendRulesGet, identitiesSuspendTenant, identitiesUpdate, keysCreate, keysGet, keysList, keysRevoke, keysUpdate, labelsCreate, labelsDelete, labelsList, labelsUpdate, mailboxesChanges, mailboxesEmptyTrash, mailboxesList, mailboxesListFolder, meGet, messagesAct, messagesForward, messagesGet, messagesListInThread, messagesRaw, messagesReply, messagesReplyAll, messagesRespondToInvitation, messagesSearch, messagesSend, messagesUndo, messagesUpdate, metricsQuery, routingCreate, routingDelete, routingList, routingUpdate, streamEvents, threadsGet, threadsLabelsCreate, threadsLabelsDelete, threadsLabelsGet, threadsList, threadsUpdate, verifyWebhook, webhooksCreate, webhooksDelete, webhooksDeliveries, webhooksGet, webhooksGetHeaders, webhooksList, webhooksReplay, webhooksUpdate, webhooksUpdateHeaders, workspaceGet, workspaceMembers };
|
|
6399
|
+
export { type Address, type AgentAttachHumanData, type AgentAttachHumanError, type AgentAttachHumanErrors, type AgentAttachHumanResponse, type AgentAttachHumanResponses, type AgentSignUpData, type AgentSignUpError, type AgentSignUpErrors, type AgentSignUpResponse, type AgentSignUpResponses, type AgentSignup, type AgentVerified, type AgentVerifyData, type AgentVerifyError, type AgentVerifyErrors, type AgentVerifyResponse, type AgentVerifyResponses, type ApiKey, type AppPassword, type AppPasswordsCreateData, type AppPasswordsCreateError, type AppPasswordsCreateErrors, type AppPasswordsCreateResponse, type AppPasswordsCreateResponses, type AppPasswordsListData, type AppPasswordsListError, type AppPasswordsListErrors, type AppPasswordsListResponse, type AppPasswordsListResponses, type AppPasswordsRevokeData, type AppPasswordsRevokeError, type AppPasswordsRevokeErrors, type AppPasswordsRevokeResponse, type AppPasswordsRevokeResponses, type Attachment, type AttachmentUrl, type AttachmentsDownloadUrlData, type AttachmentsDownloadUrlError, type AttachmentsDownloadUrlErrors, type AttachmentsDownloadUrlResponse, type AttachmentsDownloadUrlResponses, type AttachmentsUploadData, type AttachmentsUploadError, type AttachmentsUploadErrors, type AttachmentsUploadResponse, type AttachmentsUploadResponses, type AwaitedMessage, type Calendar, type CalendarCreateEventData, type CalendarCreateEventError, type CalendarCreateEventErrors, type CalendarCreateEventResponse, type CalendarCreateEventResponses, type CalendarDeleteEventData, type CalendarDeleteEventError, type CalendarDeleteEventErrors, type CalendarDeleteEventResponse, type CalendarDeleteEventResponses, type CalendarEvent, type CalendarGetAgendaData, type CalendarGetAgendaError, type CalendarGetAgendaErrors, type CalendarGetAgendaResponse, type CalendarGetAgendaResponses, type CalendarGetData, type CalendarGetError, type CalendarGetErrors, type CalendarGetEventData, type CalendarGetEventError, type CalendarGetEventErrors, type CalendarGetEventResponse, type CalendarGetEventResponses, type CalendarGetResponse, type CalendarGetResponses, type CalendarListEventInstancesData, type CalendarListEventInstancesError, type CalendarListEventInstancesErrors, type CalendarListEventInstancesResponse, type CalendarListEventInstancesResponses, type CalendarListEventsData, type CalendarListEventsError, type CalendarListEventsErrors, type CalendarListEventsResponse, type CalendarListEventsResponses, type CalendarRespondToEventData, type CalendarRespondToEventError, type CalendarRespondToEventErrors, type CalendarRespondToEventResponse, type CalendarRespondToEventResponses, type CalendarUpdateData, type CalendarUpdateError, type CalendarUpdateErrors, type CalendarUpdateEventData, type CalendarUpdateEventError, type CalendarUpdateEventErrors, type CalendarUpdateEventResponse, type CalendarUpdateEventResponses, type CalendarUpdateResponse, type CalendarUpdateResponses, type ClientOptions, type CreateClientConfig, type Deleted, type Delivery, type DnsRecord, type Domain, type DomainDetail, type DomainsCreateData, type DomainsCreateError, type DomainsCreateErrors, type DomainsCreateResponse, type DomainsCreateResponses, type DomainsDeleteData, type DomainsDeleteError, type DomainsDeleteErrors, type DomainsDeleteResponse, type DomainsDeleteResponses, type DomainsGetData, type DomainsGetError, type DomainsGetErrors, type DomainsGetResponse, type DomainsGetResponses, type DomainsGetSetupLinkData, type DomainsGetSetupLinkError, type DomainsGetSetupLinkErrors, type DomainsGetSetupLinkResponse, type DomainsGetSetupLinkResponses, type DomainsListData, type DomainsListError, type DomainsListErrors, type DomainsListResponse, type DomainsListResponses, type DomainsUpdateData, type DomainsUpdateError, type DomainsUpdateErrors, type DomainsUpdateResponse, type DomainsUpdateResponses, type DomainsVerifyData, type DomainsVerifyError, type DomainsVerifyErrors, type DomainsVerifyResponse, type DomainsVerifyResponses, type DomainsZoneFileData, type DomainsZoneFileError, type DomainsZoneFileErrors, type DomainsZoneFileResponse, type DomainsZoneFileResponses, type Draft, type DraftsCancelScheduleData, type DraftsCancelScheduleError, type DraftsCancelScheduleErrors, type DraftsCancelScheduleResponse, type DraftsCancelScheduleResponses, type DraftsCreateData, type DraftsCreateError, type DraftsCreateErrors, type DraftsCreateResponse, type DraftsCreateResponses, type DraftsDeleteData, type DraftsDeleteError, type DraftsDeleteErrors, type DraftsDeleteResponse, type DraftsDeleteResponses, type DraftsGetData, type DraftsGetError, type DraftsGetErrors, type DraftsGetResponse, type DraftsGetResponses, type DraftsListData, type DraftsListError, type DraftsListErrors, type DraftsListResponse, type DraftsListResponses, type DraftsRemoveAttachmentData, type DraftsRemoveAttachmentError, type DraftsRemoveAttachmentErrors, type DraftsRemoveAttachmentResponse, type DraftsRemoveAttachmentResponses, type DraftsScheduleData, type DraftsScheduleError, type DraftsScheduleErrors, type DraftsScheduleResponse, type DraftsScheduleResponses, type DraftsSendData, type DraftsSendError, type DraftsSendErrors, type DraftsSendResponse, type DraftsSendResponses, type DraftsUpdateData, type DraftsUpdateError, type DraftsUpdateErrors, type DraftsUpdateResponse, type DraftsUpdateResponses, type Emptied, type Error, type Event, type EventResponse, type EventsGetData, type EventsGetError, type EventsGetErrors, type EventsGetResponse, type EventsGetResponses, type EventsListData, type EventsListError, type EventsListErrors, type EventsListResponse, type EventsListResponses, type EventsStreamData, type EventsStreamError, type EventsStreamErrors, type EventsStreamResponse, type EventsStreamResponses, type IdentitiesAccessCreateData, type IdentitiesAccessCreateError, type IdentitiesAccessCreateErrors, type IdentitiesAccessCreateResponse, type IdentitiesAccessCreateResponses, type IdentitiesAccessDeleteData, type IdentitiesAccessDeleteError, type IdentitiesAccessDeleteErrors, type IdentitiesAccessDeleteResponse, type IdentitiesAccessDeleteResponses, type IdentitiesAccessGetData, type IdentitiesAccessGetError, type IdentitiesAccessGetErrors, type IdentitiesAccessGetResponse, type IdentitiesAccessGetResponses, type IdentitiesCreateData, type IdentitiesCreateError, type IdentitiesCreateErrors, type IdentitiesCreateResponse, type IdentitiesCreateResponses, type IdentitiesDeleteData, type IdentitiesDeleteError, type IdentitiesDeleteErrors, type IdentitiesDeleteResponse, type IdentitiesDeleteResponses, type IdentitiesGetData, type IdentitiesGetError, type IdentitiesGetErrors, type IdentitiesGetResponse, type IdentitiesGetResponses, type IdentitiesListData, type IdentitiesListError, type IdentitiesListErrors, type IdentitiesListResponse, type IdentitiesListResponses, type IdentitiesReceiveRulesCreateData, type IdentitiesReceiveRulesCreateError, type IdentitiesReceiveRulesCreateErrors, type IdentitiesReceiveRulesCreateResponse, type IdentitiesReceiveRulesCreateResponses, type IdentitiesReceiveRulesDeleteData, type IdentitiesReceiveRulesDeleteError, type IdentitiesReceiveRulesDeleteErrors, type IdentitiesReceiveRulesDeleteResponse, type IdentitiesReceiveRulesDeleteResponses, type IdentitiesReceiveRulesGetData, type IdentitiesReceiveRulesGetError, type IdentitiesReceiveRulesGetErrors, type IdentitiesReceiveRulesGetResponse, type IdentitiesReceiveRulesGetResponses, type IdentitiesSendRulesCreateData, type IdentitiesSendRulesCreateError, type IdentitiesSendRulesCreateErrors, type IdentitiesSendRulesCreateResponse, type IdentitiesSendRulesCreateResponses, type IdentitiesSendRulesDeleteData, type IdentitiesSendRulesDeleteError, type IdentitiesSendRulesDeleteErrors, type IdentitiesSendRulesDeleteResponse, type IdentitiesSendRulesDeleteResponses, type IdentitiesSendRulesGetData, type IdentitiesSendRulesGetError, type IdentitiesSendRulesGetErrors, type IdentitiesSendRulesGetResponse, type IdentitiesSendRulesGetResponses, type IdentitiesSuspendTenantData, type IdentitiesSuspendTenantError, type IdentitiesSuspendTenantErrors, type IdentitiesSuspendTenantResponse, type IdentitiesSuspendTenantResponses, type IdentitiesUpdateData, type IdentitiesUpdateError, type IdentitiesUpdateErrors, type IdentitiesUpdateResponse, type IdentitiesUpdateResponses, type Identity, type Invitation, type InvitationResponse, type KeysCreateData, type KeysCreateError, type KeysCreateErrors, type KeysCreateResponse, type KeysCreateResponses, type KeysGetData, type KeysGetError, type KeysGetErrors, type KeysGetResponse, type KeysGetResponses, type KeysListData, type KeysListError, type KeysListErrors, type KeysListResponse, type KeysListResponses, type KeysRevokeData, type KeysRevokeError, type KeysRevokeErrors, type KeysRevokeResponse, type KeysRevokeResponses, type KeysUpdateData, type KeysUpdateError, type KeysUpdateErrors, type KeysUpdateResponse, type KeysUpdateResponses, type Label, type LabelRemoved, type LabelsCreateData, type LabelsCreateError, type LabelsCreateErrors, type LabelsCreateResponse, type LabelsCreateResponses, type LabelsDeleteData, type LabelsDeleteError, type LabelsDeleteErrors, type LabelsDeleteResponse, type LabelsDeleteResponses, type LabelsListData, type LabelsListError, type LabelsListErrors, type LabelsListResponse, type LabelsListResponses, type LabelsUpdateData, type LabelsUpdateError, type LabelsUpdateErrors, type LabelsUpdateResponse, type LabelsUpdateResponses, type Mailbox, type MailboxAccess, type MailboxChange, type MailboxesChangesData, type MailboxesChangesError, type MailboxesChangesErrors, type MailboxesChangesResponse, type MailboxesChangesResponses, type MailboxesEmptyTrashData, type MailboxesEmptyTrashError, type MailboxesEmptyTrashErrors, type MailboxesEmptyTrashResponse, type MailboxesEmptyTrashResponses, type MailboxesListData, type MailboxesListError, type MailboxesListErrors, type MailboxesListFolderData, type MailboxesListFolderError, type MailboxesListFolderErrors, type MailboxesListFolderResponse, type MailboxesListFolderResponses, type MailboxesListResponse, type MailboxesListResponses, type Me, type MeGetData, type MeGetError, type MeGetErrors, type MeGetResponse, type MeGetResponses, type Member, type Message, type MessageListItem, type MessagesActData, type MessagesActError, type MessagesActErrors, type MessagesActResponse, type MessagesActResponses, type MessagesAwaitData, type MessagesAwaitError, type MessagesAwaitErrors, type MessagesAwaitResponse, type MessagesAwaitResponses, type MessagesForwardData, type MessagesForwardError, type MessagesForwardErrors, type MessagesForwardResponse, type MessagesForwardResponses, type MessagesGetData, type MessagesGetError, type MessagesGetErrors, type MessagesGetResponse, type MessagesGetResponses, type MessagesListInThreadData, type MessagesListInThreadError, type MessagesListInThreadErrors, type MessagesListInThreadResponse, type MessagesListInThreadResponses, type MessagesRawData, type MessagesRawError, type MessagesRawErrors, type MessagesRawResponse, type MessagesRawResponses, type MessagesReplyAllData, type MessagesReplyAllError, type MessagesReplyAllErrors, type MessagesReplyAllResponse, type MessagesReplyAllResponses, type MessagesReplyData, type MessagesReplyError, type MessagesReplyErrors, type MessagesReplyResponse, type MessagesReplyResponses, type MessagesRespondToInvitationData, type MessagesRespondToInvitationError, type MessagesRespondToInvitationErrors, type MessagesRespondToInvitationResponse, type MessagesRespondToInvitationResponses, type MessagesSearchData, type MessagesSearchError, type MessagesSearchErrors, type MessagesSearchResponse, type MessagesSearchResponses, type MessagesSendData, type MessagesSendError, type MessagesSendErrors, type MessagesSendResponse, type MessagesSendResponses, type MessagesUndoData, type MessagesUndoError, type MessagesUndoErrors, type MessagesUndoResponse, type MessagesUndoResponses, type MessagesUpdateData, type MessagesUpdateError, type MessagesUpdateErrors, type MessagesUpdateResponse, type MessagesUpdateResponses, type Metrics, type MetricsQueryData, type MetricsQueryError, type MetricsQueryErrors, type MetricsQueryResponse, type MetricsQueryResponses, type Options, type Pod, type PodsCreateData, type PodsCreateError, type PodsCreateErrors, type PodsCreateResponse, type PodsCreateResponses, type PodsGetData, type PodsGetError, type PodsGetErrors, type PodsGetResponse, type PodsGetResponses, type PodsListData, type PodsListError, type PodsListErrors, type PodsListResponse, type PodsListResponses, type PodsUpdateData, type PodsUpdateError, type PodsUpdateErrors, type PodsUpdateResponse, type PodsUpdateResponses, type ReceiveRuleRemoved, type ReceiveRules, type Replayed, type Restored, type Revoked, type RoutingCreateData, type RoutingCreateError, type RoutingCreateErrors, type RoutingCreateResponse, type RoutingCreateResponses, type RoutingDeleteData, type RoutingDeleteError, type RoutingDeleteErrors, type RoutingDeleteResponse, type RoutingDeleteResponses, type RoutingListData, type RoutingListError, type RoutingListErrors, type RoutingListResponse, type RoutingListResponses, type RoutingRule, type RoutingUpdateData, type RoutingUpdateError, type RoutingUpdateErrors, type RoutingUpdateResponse, type RoutingUpdateResponses, SIGNATURE_HEADER, type SearchHit, type SendRuleRemoved, type SendRules, type Sent, type SetupLink, type StreamOptions, type StreamedEvent, TIMESTAMP_HEADER, type TenantSuspended, type Thread, type ThreadsGetData, type ThreadsGetError, type ThreadsGetErrors, type ThreadsGetResponse, type ThreadsGetResponses, type ThreadsLabelsCreateData, type ThreadsLabelsCreateError, type ThreadsLabelsCreateErrors, type ThreadsLabelsCreateResponse, type ThreadsLabelsCreateResponses, type ThreadsLabelsDeleteData, type ThreadsLabelsDeleteError, type ThreadsLabelsDeleteErrors, type ThreadsLabelsDeleteResponse, type ThreadsLabelsDeleteResponses, type ThreadsLabelsGetData, type ThreadsLabelsGetError, type ThreadsLabelsGetErrors, type ThreadsLabelsGetResponse, type ThreadsLabelsGetResponses, type ThreadsListData, type ThreadsListError, type ThreadsListErrors, type ThreadsListResponse, type ThreadsListResponses, type ThreadsUpdateData, type ThreadsUpdateError, type ThreadsUpdateErrors, type ThreadsUpdateResponse, type ThreadsUpdateResponses, type Undo, type UploadedAttachment, type Verification, type Webhook, type WebhookCreated, type WebhookEnvelope, type WebhookHeaders, type WebhooksCreateData, type WebhooksCreateError, type WebhooksCreateErrors, type WebhooksCreateResponse, type WebhooksCreateResponses, type WebhooksDeleteData, type WebhooksDeleteError, type WebhooksDeleteErrors, type WebhooksDeleteResponse, type WebhooksDeleteResponses, type WebhooksDeliveriesData, type WebhooksDeliveriesError, type WebhooksDeliveriesErrors, type WebhooksDeliveriesResponse, type WebhooksDeliveriesResponses, type WebhooksGetData, type WebhooksGetError, type WebhooksGetErrors, type WebhooksGetHeadersData, type WebhooksGetHeadersError, type WebhooksGetHeadersErrors, type WebhooksGetHeadersResponse, type WebhooksGetHeadersResponses, type WebhooksGetResponse, type WebhooksGetResponses, type WebhooksListData, type WebhooksListError, type WebhooksListErrors, type WebhooksListResponse, type WebhooksListResponses, type WebhooksReplayData, type WebhooksReplayError, type WebhooksReplayErrors, type WebhooksReplayResponse, type WebhooksReplayResponses, type WebhooksUpdateData, type WebhooksUpdateError, type WebhooksUpdateErrors, type WebhooksUpdateHeadersData, type WebhooksUpdateHeadersError, type WebhooksUpdateHeadersErrors, type WebhooksUpdateHeadersResponse, type WebhooksUpdateHeadersResponses, type WebhooksUpdateResponse, type WebhooksUpdateResponses, type Workspace, type WorkspaceGetData, type WorkspaceGetError, type WorkspaceGetErrors, type WorkspaceGetResponse, type WorkspaceGetResponses, type WorkspaceMembersData, type WorkspaceMembersError, type WorkspaceMembersErrors, type WorkspaceMembersResponse, type WorkspaceMembersResponses, agentAttachHuman, agentSignUp, agentVerify, appPasswordsCreate, appPasswordsList, appPasswordsRevoke, attachmentsDownloadUrl, attachmentsUpload, calendarCreateEvent, calendarDeleteEvent, calendarGet, calendarGetAgenda, calendarGetEvent, calendarListEventInstances, calendarListEvents, calendarRespondToEvent, calendarUpdate, calendarUpdateEvent, client, createClient, createConfig, domainsCreate, domainsDelete, domainsGet, domainsGetSetupLink, domainsList, domainsUpdate, domainsVerify, domainsZoneFile, draftsCancelSchedule, draftsCreate, draftsDelete, draftsGet, draftsList, draftsRemoveAttachment, draftsSchedule, draftsSend, draftsUpdate, eventsGet, eventsList, eventsStream, identitiesAccessCreate, identitiesAccessDelete, identitiesAccessGet, identitiesCreate, identitiesDelete, identitiesGet, identitiesList, identitiesReceiveRulesCreate, identitiesReceiveRulesDelete, identitiesReceiveRulesGet, identitiesSendRulesCreate, identitiesSendRulesDelete, identitiesSendRulesGet, identitiesSuspendTenant, identitiesUpdate, keysCreate, keysGet, keysList, keysRevoke, keysUpdate, labelsCreate, labelsDelete, labelsList, labelsUpdate, mailboxesChanges, mailboxesEmptyTrash, mailboxesList, mailboxesListFolder, meGet, messagesAct, messagesAwait, messagesForward, messagesGet, messagesListInThread, messagesRaw, messagesReply, messagesReplyAll, messagesRespondToInvitation, messagesSearch, messagesSend, messagesUndo, messagesUpdate, metricsQuery, podsCreate, podsGet, podsList, podsUpdate, routingCreate, routingDelete, routingList, routingUpdate, streamEvents, threadsGet, threadsLabelsCreate, threadsLabelsDelete, threadsLabelsGet, threadsList, threadsUpdate, verifyWebhook, webhooksCreate, webhooksDelete, webhooksDeliveries, webhooksGet, webhooksGetHeaders, webhooksList, webhooksReplay, webhooksUpdate, webhooksUpdateHeaders, workspaceGet, workspaceMembers };
|