@pidgeon-ai/sdk 1.35.0 → 1.37.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 +35 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +588 -47
- package/dist/index.d.ts +588 -47
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -962,9 +962,9 @@ type WebhookCreated = {
|
|
|
962
962
|
*/
|
|
963
963
|
created_at: string;
|
|
964
964
|
/**
|
|
965
|
-
* Shown once, here, and never again.
|
|
965
|
+
* Shown once, here, and never again. Null on an `Idempotency-Key` replay (`Idempotent-Replay: true`): the secret is never stored, so delete the webhook and make another.
|
|
966
966
|
*/
|
|
967
|
-
secret: string;
|
|
967
|
+
secret: string | null;
|
|
968
968
|
};
|
|
969
969
|
type Draft = {
|
|
970
970
|
id: string;
|
|
@@ -1335,6 +1335,63 @@ type DomainDetail = {
|
|
|
1335
1335
|
}>;
|
|
1336
1336
|
dns_complete: boolean;
|
|
1337
1337
|
};
|
|
1338
|
+
type CreatedDomain = {
|
|
1339
|
+
id: string;
|
|
1340
|
+
domain: string;
|
|
1341
|
+
status: string;
|
|
1342
|
+
catch_all_enabled: boolean;
|
|
1343
|
+
inbound_enabled: boolean;
|
|
1344
|
+
identity_count: number;
|
|
1345
|
+
verified_at: string | null;
|
|
1346
|
+
/**
|
|
1347
|
+
* ISO-8601, UTC.
|
|
1348
|
+
*/
|
|
1349
|
+
created_at: string;
|
|
1350
|
+
dns_records: Array<{
|
|
1351
|
+
type: string;
|
|
1352
|
+
record_type: string;
|
|
1353
|
+
/**
|
|
1354
|
+
* Relative to the domain: `@` is the domain itself. Kept as it was; see `host_relative`.
|
|
1355
|
+
*/
|
|
1356
|
+
name: string;
|
|
1357
|
+
/**
|
|
1358
|
+
* The registrable domain the record is published in, from the Public Suffix List: `example.com` for `agents.example.com`.
|
|
1359
|
+
*/
|
|
1360
|
+
zone: string;
|
|
1361
|
+
/**
|
|
1362
|
+
* The full name, no trailing dot: `_dmarc.agents.example.com`.
|
|
1363
|
+
*/
|
|
1364
|
+
fqdn: string;
|
|
1365
|
+
/**
|
|
1366
|
+
* The name relative to `zone`, which is what most DNS panels ask for: `_dmarc.agents`, or `@` for the zone itself.
|
|
1367
|
+
*/
|
|
1368
|
+
host_relative: string;
|
|
1369
|
+
value: string;
|
|
1370
|
+
priority: number | null;
|
|
1371
|
+
status: 'connected' | 'waiting' | 'incorrect' | 'not_required';
|
|
1372
|
+
/**
|
|
1373
|
+
* Why `status` is what it is. `published`: correct in public DNS, waiting on the mail provider to confirm (DKIM; usually under an hour), or on its certificate (`signing_host`; usually ten minutes). `wrong_name`: our value is at `found_at` instead, often the zone typed twice. Null before the first check.
|
|
1374
|
+
*/
|
|
1375
|
+
state: 'connected' | 'published' | 'missing' | 'wrong_value' | 'wrong_name' | 'not_required' | null;
|
|
1376
|
+
found: string | null;
|
|
1377
|
+
/**
|
|
1378
|
+
* Where `found` was read, when that was not `fqdn`.
|
|
1379
|
+
*/
|
|
1380
|
+
found_at: string | null;
|
|
1381
|
+
/**
|
|
1382
|
+
* Not needed for mail: `signing` and `signing_host`, which let receivers check a signed sender from this domain. Its own `status`; never counted towards whether the domain is configured.
|
|
1383
|
+
*/
|
|
1384
|
+
optional: boolean;
|
|
1385
|
+
description: string;
|
|
1386
|
+
checked_at: string | null;
|
|
1387
|
+
}>;
|
|
1388
|
+
dns_complete: boolean;
|
|
1389
|
+
existing_mail: {
|
|
1390
|
+
provider: 'google' | 'microsoft' | 'zoho' | 'fastmail' | 'proton' | 'icloud' | 'godaddy' | 'other';
|
|
1391
|
+
name: string;
|
|
1392
|
+
hosts: Array<string>;
|
|
1393
|
+
} | null;
|
|
1394
|
+
};
|
|
1338
1395
|
type DnsRecord = {
|
|
1339
1396
|
type: string;
|
|
1340
1397
|
record_type: string;
|
|
@@ -1535,6 +1592,25 @@ type AppPassword = {
|
|
|
1535
1592
|
*/
|
|
1536
1593
|
created_at: string;
|
|
1537
1594
|
};
|
|
1595
|
+
type AppPasswordCreated = {
|
|
1596
|
+
id: string;
|
|
1597
|
+
name: string;
|
|
1598
|
+
prefix: string;
|
|
1599
|
+
last_used_at: string | null;
|
|
1600
|
+
revoked_at: string | null;
|
|
1601
|
+
/**
|
|
1602
|
+
* ISO-8601, UTC.
|
|
1603
|
+
*/
|
|
1604
|
+
created_at: string;
|
|
1605
|
+
/**
|
|
1606
|
+
* The address, as a mail client wants it.
|
|
1607
|
+
*/
|
|
1608
|
+
username: string;
|
|
1609
|
+
/**
|
|
1610
|
+
* Shown once, here, and never again. Null on an `Idempotency-Key` replay (`Idempotent-Replay: true`): the password is never stored, so revoke it and issue another.
|
|
1611
|
+
*/
|
|
1612
|
+
password: string | null;
|
|
1613
|
+
};
|
|
1538
1614
|
type Workspace = {
|
|
1539
1615
|
id: string;
|
|
1540
1616
|
name: string;
|
|
@@ -1628,6 +1704,43 @@ type UploadedAttachment = {
|
|
|
1628
1704
|
};
|
|
1629
1705
|
type MailboxChange = {
|
|
1630
1706
|
id: string;
|
|
1707
|
+
identity_id?: string | null;
|
|
1708
|
+
thread_id?: string;
|
|
1709
|
+
direction?: string;
|
|
1710
|
+
/**
|
|
1711
|
+
* The address that sent it.
|
|
1712
|
+
*/
|
|
1713
|
+
from?: string;
|
|
1714
|
+
/**
|
|
1715
|
+
* The sender’s display name, when it had one.
|
|
1716
|
+
*/
|
|
1717
|
+
from_name?: string | null;
|
|
1718
|
+
/**
|
|
1719
|
+
* Every address it was sent to.
|
|
1720
|
+
*/
|
|
1721
|
+
to?: Array<string>;
|
|
1722
|
+
/**
|
|
1723
|
+
* Who the row is about: the sender on a received message, the recipient on a sent one. What a mail client prints in the list.
|
|
1724
|
+
*/
|
|
1725
|
+
counterparty?: string;
|
|
1726
|
+
/**
|
|
1727
|
+
* The same party, as a name to show.
|
|
1728
|
+
*/
|
|
1729
|
+
counterparty_name?: string;
|
|
1730
|
+
subject?: string | null;
|
|
1731
|
+
preview?: string | null;
|
|
1732
|
+
is_read?: boolean;
|
|
1733
|
+
is_starred?: boolean;
|
|
1734
|
+
is_draft?: boolean;
|
|
1735
|
+
is_spam?: boolean;
|
|
1736
|
+
has_attachments?: boolean;
|
|
1737
|
+
attachment_count?: number;
|
|
1738
|
+
message_count?: number;
|
|
1739
|
+
assignee_id?: string | null;
|
|
1740
|
+
/**
|
|
1741
|
+
* ISO-8601, UTC.
|
|
1742
|
+
*/
|
|
1743
|
+
timestamp?: string;
|
|
1631
1744
|
/**
|
|
1632
1745
|
* ISO-8601, UTC.
|
|
1633
1746
|
*/
|
|
@@ -1641,7 +1754,17 @@ type Restored = {
|
|
|
1641
1754
|
type Undo = {
|
|
1642
1755
|
id?: string;
|
|
1643
1756
|
applied?: number;
|
|
1644
|
-
undo: Array<
|
|
1757
|
+
undo: Array<{
|
|
1758
|
+
messageId: string;
|
|
1759
|
+
rows: Array<{
|
|
1760
|
+
id: string;
|
|
1761
|
+
is_starred: boolean;
|
|
1762
|
+
is_archived: boolean;
|
|
1763
|
+
is_deleted: boolean;
|
|
1764
|
+
is_spam: boolean;
|
|
1765
|
+
}>;
|
|
1766
|
+
read?: Array<string>;
|
|
1767
|
+
}>;
|
|
1645
1768
|
};
|
|
1646
1769
|
type MessageListItem = {
|
|
1647
1770
|
id: string;
|
|
@@ -2424,6 +2547,12 @@ type IdentitiesCreateResponses = {
|
|
|
2424
2547
|
type IdentitiesCreateResponse = IdentitiesCreateResponses[keyof IdentitiesCreateResponses];
|
|
2425
2548
|
type IdentitiesDeleteData = {
|
|
2426
2549
|
body?: never;
|
|
2550
|
+
headers?: {
|
|
2551
|
+
/**
|
|
2552
|
+
* Any string unique to this attempt, reused on its retries. A repeat with the same key and the same request returns the first answer with `Idempotent-Replay: true` and does nothing — no second email. The same key with a different request is a `409`. Kept for 24 hours; a failure is not kept, so a retry after one runs.
|
|
2553
|
+
*/
|
|
2554
|
+
'Idempotency-Key'?: string;
|
|
2555
|
+
};
|
|
2427
2556
|
path: {
|
|
2428
2557
|
id: string;
|
|
2429
2558
|
};
|
|
@@ -2448,7 +2577,7 @@ type IdentitiesDeleteErrors = {
|
|
|
2448
2577
|
*/
|
|
2449
2578
|
404: Error;
|
|
2450
2579
|
/**
|
|
2451
|
-
*
|
|
2580
|
+
* Nothing was done by this call. `error.code` says which: `idempotency_in_progress` when the first request with this `Idempotency-Key` has not answered yet (wait `Retry-After` seconds and send it again), `idempotency_mismatch` when the key was used with a different request (use a new key).
|
|
2452
2581
|
*/
|
|
2453
2582
|
409: Error;
|
|
2454
2583
|
/**
|
|
@@ -2463,6 +2592,10 @@ type IdentitiesDeleteErrors = {
|
|
|
2463
2592
|
* Something this needs is not answering right now. Retry in a moment.
|
|
2464
2593
|
*/
|
|
2465
2594
|
503: Error;
|
|
2595
|
+
/**
|
|
2596
|
+
* Test mode only: `Pidgeon-Test-Fail: drop` dropped the answer (`test_dropped`). The request was done; retry it with the same `Idempotency-Key` to get the first answer.
|
|
2597
|
+
*/
|
|
2598
|
+
504: Error;
|
|
2466
2599
|
};
|
|
2467
2600
|
type IdentitiesDeleteError = IdentitiesDeleteErrors[keyof IdentitiesDeleteErrors];
|
|
2468
2601
|
type IdentitiesDeleteResponses = {
|
|
@@ -2561,6 +2694,12 @@ type IdentitiesUpdateData = {
|
|
|
2561
2694
|
*/
|
|
2562
2695
|
pod_id?: string | null;
|
|
2563
2696
|
};
|
|
2697
|
+
headers?: {
|
|
2698
|
+
/**
|
|
2699
|
+
* Any string unique to this attempt, reused on its retries. A repeat with the same key and the same request returns the first answer with `Idempotent-Replay: true` and does nothing — no second email. The same key with a different request is a `409`. Kept for 24 hours; a failure is not kept, so a retry after one runs.
|
|
2700
|
+
*/
|
|
2701
|
+
'Idempotency-Key'?: string;
|
|
2702
|
+
};
|
|
2564
2703
|
path: {
|
|
2565
2704
|
id: string;
|
|
2566
2705
|
};
|
|
@@ -2585,7 +2724,7 @@ type IdentitiesUpdateErrors = {
|
|
|
2585
2724
|
*/
|
|
2586
2725
|
404: Error;
|
|
2587
2726
|
/**
|
|
2588
|
-
*
|
|
2727
|
+
* Nothing was done by this call. `error.code` says which: `idempotency_in_progress` when the first request with this `Idempotency-Key` has not answered yet (wait `Retry-After` seconds and send it again), `idempotency_mismatch` when the key was used with a different request (use a new key).
|
|
2589
2728
|
*/
|
|
2590
2729
|
409: Error;
|
|
2591
2730
|
/**
|
|
@@ -2600,6 +2739,10 @@ type IdentitiesUpdateErrors = {
|
|
|
2600
2739
|
* Something this needs is not answering right now. Retry in a moment.
|
|
2601
2740
|
*/
|
|
2602
2741
|
503: Error;
|
|
2742
|
+
/**
|
|
2743
|
+
* Test mode only: `Pidgeon-Test-Fail: drop` dropped the answer (`test_dropped`). The request was done; retry it with the same `Idempotency-Key` to get the first answer.
|
|
2744
|
+
*/
|
|
2745
|
+
504: Error;
|
|
2603
2746
|
};
|
|
2604
2747
|
type IdentitiesUpdateError = IdentitiesUpdateErrors[keyof IdentitiesUpdateErrors];
|
|
2605
2748
|
type IdentitiesUpdateResponses = {
|
|
@@ -2613,6 +2756,12 @@ type IdentitiesUpdateResponses = {
|
|
|
2613
2756
|
type IdentitiesUpdateResponse = IdentitiesUpdateResponses[keyof IdentitiesUpdateResponses];
|
|
2614
2757
|
type IdentitiesAccessDeleteData = {
|
|
2615
2758
|
body?: never;
|
|
2759
|
+
headers?: {
|
|
2760
|
+
/**
|
|
2761
|
+
* Any string unique to this attempt, reused on its retries. A repeat with the same key and the same request returns the first answer with `Idempotent-Replay: true` and does nothing — no second email. The same key with a different request is a `409`. Kept for 24 hours; a failure is not kept, so a retry after one runs.
|
|
2762
|
+
*/
|
|
2763
|
+
'Idempotency-Key'?: string;
|
|
2764
|
+
};
|
|
2616
2765
|
path: {
|
|
2617
2766
|
id: string;
|
|
2618
2767
|
};
|
|
@@ -2639,7 +2788,7 @@ type IdentitiesAccessDeleteErrors = {
|
|
|
2639
2788
|
*/
|
|
2640
2789
|
404: Error;
|
|
2641
2790
|
/**
|
|
2642
|
-
*
|
|
2791
|
+
* Nothing was done by this call. `error.code` says which: `idempotency_in_progress` when the first request with this `Idempotency-Key` has not answered yet (wait `Retry-After` seconds and send it again), `idempotency_mismatch` when the key was used with a different request (use a new key).
|
|
2643
2792
|
*/
|
|
2644
2793
|
409: Error;
|
|
2645
2794
|
/**
|
|
@@ -2654,6 +2803,10 @@ type IdentitiesAccessDeleteErrors = {
|
|
|
2654
2803
|
* Something this needs is not answering right now. Retry in a moment.
|
|
2655
2804
|
*/
|
|
2656
2805
|
503: Error;
|
|
2806
|
+
/**
|
|
2807
|
+
* Test mode only: `Pidgeon-Test-Fail: drop` dropped the answer (`test_dropped`). The request was done; retry it with the same `Idempotency-Key` to get the first answer.
|
|
2808
|
+
*/
|
|
2809
|
+
504: Error;
|
|
2657
2810
|
};
|
|
2658
2811
|
type IdentitiesAccessDeleteError = IdentitiesAccessDeleteErrors[keyof IdentitiesAccessDeleteErrors];
|
|
2659
2812
|
type IdentitiesAccessDeleteResponses = {
|
|
@@ -2727,6 +2880,12 @@ type IdentitiesAccessCreateData = {
|
|
|
2727
2880
|
*/
|
|
2728
2881
|
access: 'read' | 'send' | 'admin';
|
|
2729
2882
|
};
|
|
2883
|
+
headers?: {
|
|
2884
|
+
/**
|
|
2885
|
+
* Any string unique to this attempt, reused on its retries. A repeat with the same key and the same request returns the first answer with `Idempotent-Replay: true` and does nothing — no second email. The same key with a different request is a `409`. Kept for 24 hours; a failure is not kept, so a retry after one runs.
|
|
2886
|
+
*/
|
|
2887
|
+
'Idempotency-Key'?: string;
|
|
2888
|
+
};
|
|
2730
2889
|
path: {
|
|
2731
2890
|
id: string;
|
|
2732
2891
|
};
|
|
@@ -2751,7 +2910,7 @@ type IdentitiesAccessCreateErrors = {
|
|
|
2751
2910
|
*/
|
|
2752
2911
|
404: Error;
|
|
2753
2912
|
/**
|
|
2754
|
-
*
|
|
2913
|
+
* Nothing was done by this call. `error.code` says which: `idempotency_in_progress` when the first request with this `Idempotency-Key` has not answered yet (wait `Retry-After` seconds and send it again), `idempotency_mismatch` when the key was used with a different request (use a new key).
|
|
2755
2914
|
*/
|
|
2756
2915
|
409: Error;
|
|
2757
2916
|
/**
|
|
@@ -2766,6 +2925,10 @@ type IdentitiesAccessCreateErrors = {
|
|
|
2766
2925
|
* Something this needs is not answering right now. Retry in a moment.
|
|
2767
2926
|
*/
|
|
2768
2927
|
503: Error;
|
|
2928
|
+
/**
|
|
2929
|
+
* Test mode only: `Pidgeon-Test-Fail: drop` dropped the answer (`test_dropped`). The request was done; retry it with the same `Idempotency-Key` to get the first answer.
|
|
2930
|
+
*/
|
|
2931
|
+
504: Error;
|
|
2769
2932
|
};
|
|
2770
2933
|
type IdentitiesAccessCreateError = IdentitiesAccessCreateErrors[keyof IdentitiesAccessCreateErrors];
|
|
2771
2934
|
type IdentitiesAccessCreateResponses = {
|
|
@@ -2779,6 +2942,12 @@ type IdentitiesAccessCreateResponses = {
|
|
|
2779
2942
|
type IdentitiesAccessCreateResponse = IdentitiesAccessCreateResponses[keyof IdentitiesAccessCreateResponses];
|
|
2780
2943
|
type IdentitiesSendRulesDeleteData = {
|
|
2781
2944
|
body?: never;
|
|
2945
|
+
headers?: {
|
|
2946
|
+
/**
|
|
2947
|
+
* Any string unique to this attempt, reused on its retries. A repeat with the same key and the same request returns the first answer with `Idempotent-Replay: true` and does nothing — no second email. The same key with a different request is a `409`. Kept for 24 hours; a failure is not kept, so a retry after one runs.
|
|
2948
|
+
*/
|
|
2949
|
+
'Idempotency-Key'?: string;
|
|
2950
|
+
};
|
|
2782
2951
|
path: {
|
|
2783
2952
|
id: string;
|
|
2784
2953
|
};
|
|
@@ -2805,7 +2974,7 @@ type IdentitiesSendRulesDeleteErrors = {
|
|
|
2805
2974
|
*/
|
|
2806
2975
|
404: Error;
|
|
2807
2976
|
/**
|
|
2808
|
-
*
|
|
2977
|
+
* Nothing was done by this call. `error.code` says which: `idempotency_in_progress` when the first request with this `Idempotency-Key` has not answered yet (wait `Retry-After` seconds and send it again), `idempotency_mismatch` when the key was used with a different request (use a new key).
|
|
2809
2978
|
*/
|
|
2810
2979
|
409: Error;
|
|
2811
2980
|
/**
|
|
@@ -2820,6 +2989,10 @@ type IdentitiesSendRulesDeleteErrors = {
|
|
|
2820
2989
|
* Something this needs is not answering right now. Retry in a moment.
|
|
2821
2990
|
*/
|
|
2822
2991
|
503: Error;
|
|
2992
|
+
/**
|
|
2993
|
+
* Test mode only: `Pidgeon-Test-Fail: drop` dropped the answer (`test_dropped`). The request was done; retry it with the same `Idempotency-Key` to get the first answer.
|
|
2994
|
+
*/
|
|
2995
|
+
504: Error;
|
|
2823
2996
|
};
|
|
2824
2997
|
type IdentitiesSendRulesDeleteError = IdentitiesSendRulesDeleteErrors[keyof IdentitiesSendRulesDeleteErrors];
|
|
2825
2998
|
type IdentitiesSendRulesDeleteResponses = {
|
|
@@ -2888,6 +3061,12 @@ type IdentitiesSendRulesCreateData = {
|
|
|
2888
3061
|
effect: 'allow' | 'block';
|
|
2889
3062
|
value: string;
|
|
2890
3063
|
};
|
|
3064
|
+
headers?: {
|
|
3065
|
+
/**
|
|
3066
|
+
* Any string unique to this attempt, reused on its retries. A repeat with the same key and the same request returns the first answer with `Idempotent-Replay: true` and does nothing — no second email. The same key with a different request is a `409`. Kept for 24 hours; a failure is not kept, so a retry after one runs.
|
|
3067
|
+
*/
|
|
3068
|
+
'Idempotency-Key'?: string;
|
|
3069
|
+
};
|
|
2891
3070
|
path: {
|
|
2892
3071
|
id: string;
|
|
2893
3072
|
};
|
|
@@ -2912,7 +3091,7 @@ type IdentitiesSendRulesCreateErrors = {
|
|
|
2912
3091
|
*/
|
|
2913
3092
|
404: Error;
|
|
2914
3093
|
/**
|
|
2915
|
-
*
|
|
3094
|
+
* Nothing was done by this call. `error.code` says which: `idempotency_in_progress` when the first request with this `Idempotency-Key` has not answered yet (wait `Retry-After` seconds and send it again), `idempotency_mismatch` when the key was used with a different request (use a new key).
|
|
2916
3095
|
*/
|
|
2917
3096
|
409: Error;
|
|
2918
3097
|
/**
|
|
@@ -2927,6 +3106,10 @@ type IdentitiesSendRulesCreateErrors = {
|
|
|
2927
3106
|
* Something this needs is not answering right now. Retry in a moment.
|
|
2928
3107
|
*/
|
|
2929
3108
|
503: Error;
|
|
3109
|
+
/**
|
|
3110
|
+
* Test mode only: `Pidgeon-Test-Fail: drop` dropped the answer (`test_dropped`). The request was done; retry it with the same `Idempotency-Key` to get the first answer.
|
|
3111
|
+
*/
|
|
3112
|
+
504: Error;
|
|
2930
3113
|
};
|
|
2931
3114
|
type IdentitiesSendRulesCreateError = IdentitiesSendRulesCreateErrors[keyof IdentitiesSendRulesCreateErrors];
|
|
2932
3115
|
type IdentitiesSendRulesCreateResponses = {
|
|
@@ -2940,6 +3123,12 @@ type IdentitiesSendRulesCreateResponses = {
|
|
|
2940
3123
|
type IdentitiesSendRulesCreateResponse = IdentitiesSendRulesCreateResponses[keyof IdentitiesSendRulesCreateResponses];
|
|
2941
3124
|
type IdentitiesReceiveRulesDeleteData = {
|
|
2942
3125
|
body?: never;
|
|
3126
|
+
headers?: {
|
|
3127
|
+
/**
|
|
3128
|
+
* Any string unique to this attempt, reused on its retries. A repeat with the same key and the same request returns the first answer with `Idempotent-Replay: true` and does nothing — no second email. The same key with a different request is a `409`. Kept for 24 hours; a failure is not kept, so a retry after one runs.
|
|
3129
|
+
*/
|
|
3130
|
+
'Idempotency-Key'?: string;
|
|
3131
|
+
};
|
|
2943
3132
|
path: {
|
|
2944
3133
|
id: string;
|
|
2945
3134
|
};
|
|
@@ -2966,7 +3155,7 @@ type IdentitiesReceiveRulesDeleteErrors = {
|
|
|
2966
3155
|
*/
|
|
2967
3156
|
404: Error;
|
|
2968
3157
|
/**
|
|
2969
|
-
*
|
|
3158
|
+
* Nothing was done by this call. `error.code` says which: `idempotency_in_progress` when the first request with this `Idempotency-Key` has not answered yet (wait `Retry-After` seconds and send it again), `idempotency_mismatch` when the key was used with a different request (use a new key).
|
|
2970
3159
|
*/
|
|
2971
3160
|
409: Error;
|
|
2972
3161
|
/**
|
|
@@ -2981,6 +3170,10 @@ type IdentitiesReceiveRulesDeleteErrors = {
|
|
|
2981
3170
|
* Something this needs is not answering right now. Retry in a moment.
|
|
2982
3171
|
*/
|
|
2983
3172
|
503: Error;
|
|
3173
|
+
/**
|
|
3174
|
+
* Test mode only: `Pidgeon-Test-Fail: drop` dropped the answer (`test_dropped`). The request was done; retry it with the same `Idempotency-Key` to get the first answer.
|
|
3175
|
+
*/
|
|
3176
|
+
504: Error;
|
|
2984
3177
|
};
|
|
2985
3178
|
type IdentitiesReceiveRulesDeleteError = IdentitiesReceiveRulesDeleteErrors[keyof IdentitiesReceiveRulesDeleteErrors];
|
|
2986
3179
|
type IdentitiesReceiveRulesDeleteResponses = {
|
|
@@ -3049,6 +3242,12 @@ type IdentitiesReceiveRulesCreateData = {
|
|
|
3049
3242
|
action: 'reject' | 'spam' | 'trash' | 'archive' | 'inbox';
|
|
3050
3243
|
value: string;
|
|
3051
3244
|
};
|
|
3245
|
+
headers?: {
|
|
3246
|
+
/**
|
|
3247
|
+
* Any string unique to this attempt, reused on its retries. A repeat with the same key and the same request returns the first answer with `Idempotent-Replay: true` and does nothing — no second email. The same key with a different request is a `409`. Kept for 24 hours; a failure is not kept, so a retry after one runs.
|
|
3248
|
+
*/
|
|
3249
|
+
'Idempotency-Key'?: string;
|
|
3250
|
+
};
|
|
3052
3251
|
path: {
|
|
3053
3252
|
id: string;
|
|
3054
3253
|
};
|
|
@@ -3073,7 +3272,7 @@ type IdentitiesReceiveRulesCreateErrors = {
|
|
|
3073
3272
|
*/
|
|
3074
3273
|
404: Error;
|
|
3075
3274
|
/**
|
|
3076
|
-
*
|
|
3275
|
+
* Nothing was done by this call. `error.code` says which: `idempotency_in_progress` when the first request with this `Idempotency-Key` has not answered yet (wait `Retry-After` seconds and send it again), `idempotency_mismatch` when the key was used with a different request (use a new key).
|
|
3077
3276
|
*/
|
|
3078
3277
|
409: Error;
|
|
3079
3278
|
/**
|
|
@@ -3088,6 +3287,10 @@ type IdentitiesReceiveRulesCreateErrors = {
|
|
|
3088
3287
|
* Something this needs is not answering right now. Retry in a moment.
|
|
3089
3288
|
*/
|
|
3090
3289
|
503: Error;
|
|
3290
|
+
/**
|
|
3291
|
+
* Test mode only: `Pidgeon-Test-Fail: drop` dropped the answer (`test_dropped`). The request was done; retry it with the same `Idempotency-Key` to get the first answer.
|
|
3292
|
+
*/
|
|
3293
|
+
504: Error;
|
|
3091
3294
|
};
|
|
3092
3295
|
type IdentitiesReceiveRulesCreateError = IdentitiesReceiveRulesCreateErrors[keyof IdentitiesReceiveRulesCreateErrors];
|
|
3093
3296
|
type IdentitiesReceiveRulesCreateResponses = {
|
|
@@ -3101,6 +3304,12 @@ type IdentitiesReceiveRulesCreateResponses = {
|
|
|
3101
3304
|
type IdentitiesReceiveRulesCreateResponse = IdentitiesReceiveRulesCreateResponses[keyof IdentitiesReceiveRulesCreateResponses];
|
|
3102
3305
|
type IdentitiesSuspendTenantData = {
|
|
3103
3306
|
body?: never;
|
|
3307
|
+
headers?: {
|
|
3308
|
+
/**
|
|
3309
|
+
* Any string unique to this attempt, reused on its retries. A repeat with the same key and the same request returns the first answer with `Idempotent-Replay: true` and does nothing — no second email. The same key with a different request is a `409`. Kept for 24 hours; a failure is not kept, so a retry after one runs.
|
|
3310
|
+
*/
|
|
3311
|
+
'Idempotency-Key'?: string;
|
|
3312
|
+
};
|
|
3104
3313
|
path: {
|
|
3105
3314
|
/**
|
|
3106
3315
|
* Your own tenant id, URL-encoded.
|
|
@@ -3128,7 +3337,7 @@ type IdentitiesSuspendTenantErrors = {
|
|
|
3128
3337
|
*/
|
|
3129
3338
|
404: Error;
|
|
3130
3339
|
/**
|
|
3131
|
-
*
|
|
3340
|
+
* Nothing was done by this call. `error.code` says which: `idempotency_in_progress` when the first request with this `Idempotency-Key` has not answered yet (wait `Retry-After` seconds and send it again), `idempotency_mismatch` when the key was used with a different request (use a new key).
|
|
3132
3341
|
*/
|
|
3133
3342
|
409: Error;
|
|
3134
3343
|
/**
|
|
@@ -3143,6 +3352,10 @@ type IdentitiesSuspendTenantErrors = {
|
|
|
3143
3352
|
* Something this needs is not answering right now. Retry in a moment.
|
|
3144
3353
|
*/
|
|
3145
3354
|
503: Error;
|
|
3355
|
+
/**
|
|
3356
|
+
* Test mode only: `Pidgeon-Test-Fail: drop` dropped the answer (`test_dropped`). The request was done; retry it with the same `Idempotency-Key` to get the first answer.
|
|
3357
|
+
*/
|
|
3358
|
+
504: Error;
|
|
3146
3359
|
};
|
|
3147
3360
|
type IdentitiesSuspendTenantError = IdentitiesSuspendTenantErrors[keyof IdentitiesSuspendTenantErrors];
|
|
3148
3361
|
type IdentitiesSuspendTenantResponses = {
|
|
@@ -3309,6 +3522,12 @@ type PodsCreateResponses = {
|
|
|
3309
3522
|
type PodsCreateResponse = PodsCreateResponses[keyof PodsCreateResponses];
|
|
3310
3523
|
type PodsDeleteData = {
|
|
3311
3524
|
body?: never;
|
|
3525
|
+
headers?: {
|
|
3526
|
+
/**
|
|
3527
|
+
* Any string unique to this attempt, reused on its retries. A repeat with the same key and the same request returns the first answer with `Idempotent-Replay: true` and does nothing — no second email. The same key with a different request is a `409`. Kept for 24 hours; a failure is not kept, so a retry after one runs.
|
|
3528
|
+
*/
|
|
3529
|
+
'Idempotency-Key'?: string;
|
|
3530
|
+
};
|
|
3312
3531
|
path: {
|
|
3313
3532
|
id: string;
|
|
3314
3533
|
};
|
|
@@ -3338,7 +3557,7 @@ type PodsDeleteErrors = {
|
|
|
3338
3557
|
*/
|
|
3339
3558
|
404: Error;
|
|
3340
3559
|
/**
|
|
3341
|
-
*
|
|
3560
|
+
* Nothing was done by this call. `error.code` says which: `idempotency_in_progress` when the first request with this `Idempotency-Key` has not answered yet (wait `Retry-After` seconds and send it again), `idempotency_mismatch` when the key was used with a different request (use a new key).
|
|
3342
3561
|
*/
|
|
3343
3562
|
409: Error;
|
|
3344
3563
|
/**
|
|
@@ -3353,6 +3572,10 @@ type PodsDeleteErrors = {
|
|
|
3353
3572
|
* Something this needs is not answering right now. Retry in a moment.
|
|
3354
3573
|
*/
|
|
3355
3574
|
503: Error;
|
|
3575
|
+
/**
|
|
3576
|
+
* Test mode only: `Pidgeon-Test-Fail: drop` dropped the answer (`test_dropped`). The request was done; retry it with the same `Idempotency-Key` to get the first answer.
|
|
3577
|
+
*/
|
|
3578
|
+
504: Error;
|
|
3356
3579
|
};
|
|
3357
3580
|
type PodsDeleteError = PodsDeleteErrors[keyof PodsDeleteErrors];
|
|
3358
3581
|
type PodsDeleteResponses = {
|
|
@@ -3424,6 +3647,12 @@ type PodsUpdateData = {
|
|
|
3424
3647
|
*/
|
|
3425
3648
|
client_id?: string | null;
|
|
3426
3649
|
};
|
|
3650
|
+
headers?: {
|
|
3651
|
+
/**
|
|
3652
|
+
* Any string unique to this attempt, reused on its retries. A repeat with the same key and the same request returns the first answer with `Idempotent-Replay: true` and does nothing — no second email. The same key with a different request is a `409`. Kept for 24 hours; a failure is not kept, so a retry after one runs.
|
|
3653
|
+
*/
|
|
3654
|
+
'Idempotency-Key'?: string;
|
|
3655
|
+
};
|
|
3427
3656
|
path: {
|
|
3428
3657
|
id: string;
|
|
3429
3658
|
};
|
|
@@ -3448,7 +3677,7 @@ type PodsUpdateErrors = {
|
|
|
3448
3677
|
*/
|
|
3449
3678
|
404: Error;
|
|
3450
3679
|
/**
|
|
3451
|
-
*
|
|
3680
|
+
* Nothing was done by this call. `error.code` says which: `idempotency_in_progress` when the first request with this `Idempotency-Key` has not answered yet (wait `Retry-After` seconds and send it again), `idempotency_mismatch` when the key was used with a different request (use a new key).
|
|
3452
3681
|
*/
|
|
3453
3682
|
409: Error;
|
|
3454
3683
|
/**
|
|
@@ -3463,6 +3692,10 @@ type PodsUpdateErrors = {
|
|
|
3463
3692
|
* Something this needs is not answering right now. Retry in a moment.
|
|
3464
3693
|
*/
|
|
3465
3694
|
503: Error;
|
|
3695
|
+
/**
|
|
3696
|
+
* Test mode only: `Pidgeon-Test-Fail: drop` dropped the answer (`test_dropped`). The request was done; retry it with the same `Idempotency-Key` to get the first answer.
|
|
3697
|
+
*/
|
|
3698
|
+
504: Error;
|
|
3466
3699
|
};
|
|
3467
3700
|
type PodsUpdateError = PodsUpdateErrors[keyof PodsUpdateErrors];
|
|
3468
3701
|
type PodsUpdateResponses = {
|
|
@@ -3600,6 +3833,12 @@ type LabelsCreateResponses = {
|
|
|
3600
3833
|
type LabelsCreateResponse = LabelsCreateResponses[keyof LabelsCreateResponses];
|
|
3601
3834
|
type LabelsDeleteData = {
|
|
3602
3835
|
body?: never;
|
|
3836
|
+
headers?: {
|
|
3837
|
+
/**
|
|
3838
|
+
* Any string unique to this attempt, reused on its retries. A repeat with the same key and the same request returns the first answer with `Idempotent-Replay: true` and does nothing — no second email. The same key with a different request is a `409`. Kept for 24 hours; a failure is not kept, so a retry after one runs.
|
|
3839
|
+
*/
|
|
3840
|
+
'Idempotency-Key'?: string;
|
|
3841
|
+
};
|
|
3603
3842
|
path: {
|
|
3604
3843
|
id: string;
|
|
3605
3844
|
};
|
|
@@ -3624,7 +3863,7 @@ type LabelsDeleteErrors = {
|
|
|
3624
3863
|
*/
|
|
3625
3864
|
404: Error;
|
|
3626
3865
|
/**
|
|
3627
|
-
*
|
|
3866
|
+
* Nothing was done by this call. `error.code` says which: `idempotency_in_progress` when the first request with this `Idempotency-Key` has not answered yet (wait `Retry-After` seconds and send it again), `idempotency_mismatch` when the key was used with a different request (use a new key).
|
|
3628
3867
|
*/
|
|
3629
3868
|
409: Error;
|
|
3630
3869
|
/**
|
|
@@ -3639,6 +3878,10 @@ type LabelsDeleteErrors = {
|
|
|
3639
3878
|
* Something this needs is not answering right now. Retry in a moment.
|
|
3640
3879
|
*/
|
|
3641
3880
|
503: Error;
|
|
3881
|
+
/**
|
|
3882
|
+
* Test mode only: `Pidgeon-Test-Fail: drop` dropped the answer (`test_dropped`). The request was done; retry it with the same `Idempotency-Key` to get the first answer.
|
|
3883
|
+
*/
|
|
3884
|
+
504: Error;
|
|
3642
3885
|
};
|
|
3643
3886
|
type LabelsDeleteError = LabelsDeleteErrors[keyof LabelsDeleteErrors];
|
|
3644
3887
|
type LabelsDeleteResponses = {
|
|
@@ -3655,6 +3898,12 @@ type LabelsUpdateData = {
|
|
|
3655
3898
|
name?: string;
|
|
3656
3899
|
colour?: 'slate' | 'red' | 'amber' | 'green' | 'teal' | 'blue' | 'violet' | 'pink';
|
|
3657
3900
|
};
|
|
3901
|
+
headers?: {
|
|
3902
|
+
/**
|
|
3903
|
+
* Any string unique to this attempt, reused on its retries. A repeat with the same key and the same request returns the first answer with `Idempotent-Replay: true` and does nothing — no second email. The same key with a different request is a `409`. Kept for 24 hours; a failure is not kept, so a retry after one runs.
|
|
3904
|
+
*/
|
|
3905
|
+
'Idempotency-Key'?: string;
|
|
3906
|
+
};
|
|
3658
3907
|
path: {
|
|
3659
3908
|
id: string;
|
|
3660
3909
|
};
|
|
@@ -3679,7 +3928,7 @@ type LabelsUpdateErrors = {
|
|
|
3679
3928
|
*/
|
|
3680
3929
|
404: Error;
|
|
3681
3930
|
/**
|
|
3682
|
-
*
|
|
3931
|
+
* Nothing was done by this call. `error.code` says which: `idempotency_in_progress` when the first request with this `Idempotency-Key` has not answered yet (wait `Retry-After` seconds and send it again), `idempotency_mismatch` when the key was used with a different request (use a new key).
|
|
3683
3932
|
*/
|
|
3684
3933
|
409: Error;
|
|
3685
3934
|
/**
|
|
@@ -3694,6 +3943,10 @@ type LabelsUpdateErrors = {
|
|
|
3694
3943
|
* Something this needs is not answering right now. Retry in a moment.
|
|
3695
3944
|
*/
|
|
3696
3945
|
503: Error;
|
|
3946
|
+
/**
|
|
3947
|
+
* Test mode only: `Pidgeon-Test-Fail: drop` dropped the answer (`test_dropped`). The request was done; retry it with the same `Idempotency-Key` to get the first answer.
|
|
3948
|
+
*/
|
|
3949
|
+
504: Error;
|
|
3697
3950
|
};
|
|
3698
3951
|
type LabelsUpdateError = LabelsUpdateErrors[keyof LabelsUpdateErrors];
|
|
3699
3952
|
type LabelsUpdateResponses = {
|
|
@@ -3707,6 +3960,12 @@ type LabelsUpdateResponses = {
|
|
|
3707
3960
|
type LabelsUpdateResponse = LabelsUpdateResponses[keyof LabelsUpdateResponses];
|
|
3708
3961
|
type ThreadsLabelsDeleteData = {
|
|
3709
3962
|
body?: never;
|
|
3963
|
+
headers?: {
|
|
3964
|
+
/**
|
|
3965
|
+
* Any string unique to this attempt, reused on its retries. A repeat with the same key and the same request returns the first answer with `Idempotent-Replay: true` and does nothing — no second email. The same key with a different request is a `409`. Kept for 24 hours; a failure is not kept, so a retry after one runs.
|
|
3966
|
+
*/
|
|
3967
|
+
'Idempotency-Key'?: string;
|
|
3968
|
+
};
|
|
3710
3969
|
path: {
|
|
3711
3970
|
id: string;
|
|
3712
3971
|
};
|
|
@@ -3733,7 +3992,7 @@ type ThreadsLabelsDeleteErrors = {
|
|
|
3733
3992
|
*/
|
|
3734
3993
|
404: Error;
|
|
3735
3994
|
/**
|
|
3736
|
-
*
|
|
3995
|
+
* Nothing was done by this call. `error.code` says which: `idempotency_in_progress` when the first request with this `Idempotency-Key` has not answered yet (wait `Retry-After` seconds and send it again), `idempotency_mismatch` when the key was used with a different request (use a new key).
|
|
3737
3996
|
*/
|
|
3738
3997
|
409: Error;
|
|
3739
3998
|
/**
|
|
@@ -3748,6 +4007,10 @@ type ThreadsLabelsDeleteErrors = {
|
|
|
3748
4007
|
* Something this needs is not answering right now. Retry in a moment.
|
|
3749
4008
|
*/
|
|
3750
4009
|
503: Error;
|
|
4010
|
+
/**
|
|
4011
|
+
* Test mode only: `Pidgeon-Test-Fail: drop` dropped the answer (`test_dropped`). The request was done; retry it with the same `Idempotency-Key` to get the first answer.
|
|
4012
|
+
*/
|
|
4013
|
+
504: Error;
|
|
3751
4014
|
};
|
|
3752
4015
|
type ThreadsLabelsDeleteError = ThreadsLabelsDeleteErrors[keyof ThreadsLabelsDeleteErrors];
|
|
3753
4016
|
type ThreadsLabelsDeleteResponses = {
|
|
@@ -3820,6 +4083,12 @@ type ThreadsLabelsCreateData = {
|
|
|
3820
4083
|
body: {
|
|
3821
4084
|
label_id: string;
|
|
3822
4085
|
};
|
|
4086
|
+
headers?: {
|
|
4087
|
+
/**
|
|
4088
|
+
* Any string unique to this attempt, reused on its retries. A repeat with the same key and the same request returns the first answer with `Idempotent-Replay: true` and does nothing — no second email. The same key with a different request is a `409`. Kept for 24 hours; a failure is not kept, so a retry after one runs.
|
|
4089
|
+
*/
|
|
4090
|
+
'Idempotency-Key'?: string;
|
|
4091
|
+
};
|
|
3823
4092
|
path: {
|
|
3824
4093
|
id: string;
|
|
3825
4094
|
};
|
|
@@ -3844,7 +4113,7 @@ type ThreadsLabelsCreateErrors = {
|
|
|
3844
4113
|
*/
|
|
3845
4114
|
404: Error;
|
|
3846
4115
|
/**
|
|
3847
|
-
*
|
|
4116
|
+
* Nothing was done by this call. `error.code` says which: `idempotency_in_progress` when the first request with this `Idempotency-Key` has not answered yet (wait `Retry-After` seconds and send it again), `idempotency_mismatch` when the key was used with a different request (use a new key).
|
|
3848
4117
|
*/
|
|
3849
4118
|
409: Error;
|
|
3850
4119
|
/**
|
|
@@ -3859,6 +4128,10 @@ type ThreadsLabelsCreateErrors = {
|
|
|
3859
4128
|
* Something this needs is not answering right now. Retry in a moment.
|
|
3860
4129
|
*/
|
|
3861
4130
|
503: Error;
|
|
4131
|
+
/**
|
|
4132
|
+
* Test mode only: `Pidgeon-Test-Fail: drop` dropped the answer (`test_dropped`). The request was done; retry it with the same `Idempotency-Key` to get the first answer.
|
|
4133
|
+
*/
|
|
4134
|
+
504: Error;
|
|
3862
4135
|
};
|
|
3863
4136
|
type ThreadsLabelsCreateError = ThreadsLabelsCreateErrors[keyof ThreadsLabelsCreateErrors];
|
|
3864
4137
|
type ThreadsLabelsCreateResponses = {
|
|
@@ -4066,6 +4339,10 @@ type MessagesSearchData = {
|
|
|
4066
4339
|
is_starred?: string;
|
|
4067
4340
|
label_id?: string;
|
|
4068
4341
|
limit?: number;
|
|
4342
|
+
/**
|
|
4343
|
+
* From a previous page’s `next_cursor`. Opaque — do not parse it.
|
|
4344
|
+
*/
|
|
4345
|
+
cursor?: string;
|
|
4069
4346
|
};
|
|
4070
4347
|
url: '/messages/search';
|
|
4071
4348
|
};
|
|
@@ -4126,6 +4403,12 @@ type MessagesActData = {
|
|
|
4126
4403
|
*/
|
|
4127
4404
|
action: 'read' | 'unread' | 'star' | 'unstar' | 'archive' | 'unarchive' | 'delete' | 'restore' | 'spam' | 'not_spam' | 'delete_forever';
|
|
4128
4405
|
};
|
|
4406
|
+
headers?: {
|
|
4407
|
+
/**
|
|
4408
|
+
* Any string unique to this attempt, reused on its retries. A repeat with the same key and the same request returns the first answer with `Idempotent-Replay: true` and does nothing — no second email. The same key with a different request is a `409`. Kept for 24 hours; a failure is not kept, so a retry after one runs.
|
|
4409
|
+
*/
|
|
4410
|
+
'Idempotency-Key'?: string;
|
|
4411
|
+
};
|
|
4129
4412
|
path?: never;
|
|
4130
4413
|
query?: never;
|
|
4131
4414
|
url: '/messages/actions';
|
|
@@ -4148,7 +4431,7 @@ type MessagesActErrors = {
|
|
|
4148
4431
|
*/
|
|
4149
4432
|
404: Error;
|
|
4150
4433
|
/**
|
|
4151
|
-
*
|
|
4434
|
+
* Nothing was done by this call. `error.code` says which: `idempotency_in_progress` when the first request with this `Idempotency-Key` has not answered yet (wait `Retry-After` seconds and send it again), `idempotency_mismatch` when the key was used with a different request (use a new key).
|
|
4152
4435
|
*/
|
|
4153
4436
|
409: Error;
|
|
4154
4437
|
/**
|
|
@@ -4163,6 +4446,10 @@ type MessagesActErrors = {
|
|
|
4163
4446
|
* Something this needs is not answering right now. Retry in a moment.
|
|
4164
4447
|
*/
|
|
4165
4448
|
503: Error;
|
|
4449
|
+
/**
|
|
4450
|
+
* Test mode only: `Pidgeon-Test-Fail: drop` dropped the answer (`test_dropped`). The request was done; retry it with the same `Idempotency-Key` to get the first answer.
|
|
4451
|
+
*/
|
|
4452
|
+
504: Error;
|
|
4166
4453
|
};
|
|
4167
4454
|
type MessagesActError = MessagesActErrors[keyof MessagesActErrors];
|
|
4168
4455
|
type MessagesActResponses = {
|
|
@@ -4176,7 +4463,23 @@ type MessagesActResponses = {
|
|
|
4176
4463
|
type MessagesActResponse = MessagesActResponses[keyof MessagesActResponses];
|
|
4177
4464
|
type MessagesUndoData = {
|
|
4178
4465
|
body: {
|
|
4179
|
-
undo: Array<
|
|
4466
|
+
undo: Array<{
|
|
4467
|
+
messageId: string;
|
|
4468
|
+
rows: Array<{
|
|
4469
|
+
id: string;
|
|
4470
|
+
is_starred: boolean;
|
|
4471
|
+
is_archived: boolean;
|
|
4472
|
+
is_deleted: boolean;
|
|
4473
|
+
is_spam: boolean;
|
|
4474
|
+
}>;
|
|
4475
|
+
read?: Array<string>;
|
|
4476
|
+
}>;
|
|
4477
|
+
};
|
|
4478
|
+
headers?: {
|
|
4479
|
+
/**
|
|
4480
|
+
* Any string unique to this attempt, reused on its retries. A repeat with the same key and the same request returns the first answer with `Idempotent-Replay: true` and does nothing — no second email. The same key with a different request is a `409`. Kept for 24 hours; a failure is not kept, so a retry after one runs.
|
|
4481
|
+
*/
|
|
4482
|
+
'Idempotency-Key'?: string;
|
|
4180
4483
|
};
|
|
4181
4484
|
path?: never;
|
|
4182
4485
|
query?: never;
|
|
@@ -4200,7 +4503,7 @@ type MessagesUndoErrors = {
|
|
|
4200
4503
|
*/
|
|
4201
4504
|
404: Error;
|
|
4202
4505
|
/**
|
|
4203
|
-
*
|
|
4506
|
+
* Nothing was done by this call. `error.code` says which: `idempotency_in_progress` when the first request with this `Idempotency-Key` has not answered yet (wait `Retry-After` seconds and send it again), `idempotency_mismatch` when the key was used with a different request (use a new key).
|
|
4204
4507
|
*/
|
|
4205
4508
|
409: Error;
|
|
4206
4509
|
/**
|
|
@@ -4215,6 +4518,10 @@ type MessagesUndoErrors = {
|
|
|
4215
4518
|
* Something this needs is not answering right now. Retry in a moment.
|
|
4216
4519
|
*/
|
|
4217
4520
|
503: Error;
|
|
4521
|
+
/**
|
|
4522
|
+
* Test mode only: `Pidgeon-Test-Fail: drop` dropped the answer (`test_dropped`). The request was done; retry it with the same `Idempotency-Key` to get the first answer.
|
|
4523
|
+
*/
|
|
4524
|
+
504: Error;
|
|
4218
4525
|
};
|
|
4219
4526
|
type MessagesUndoError = MessagesUndoErrors[keyof MessagesUndoErrors];
|
|
4220
4527
|
type MessagesUndoResponses = {
|
|
@@ -4358,6 +4665,12 @@ type MessagesUpdateData = {
|
|
|
4358
4665
|
is_starred?: boolean;
|
|
4359
4666
|
folder?: 'inbox' | 'archive' | 'spam' | 'trash';
|
|
4360
4667
|
};
|
|
4668
|
+
headers?: {
|
|
4669
|
+
/**
|
|
4670
|
+
* Any string unique to this attempt, reused on its retries. A repeat with the same key and the same request returns the first answer with `Idempotent-Replay: true` and does nothing — no second email. The same key with a different request is a `409`. Kept for 24 hours; a failure is not kept, so a retry after one runs.
|
|
4671
|
+
*/
|
|
4672
|
+
'Idempotency-Key'?: string;
|
|
4673
|
+
};
|
|
4361
4674
|
path: {
|
|
4362
4675
|
id: string;
|
|
4363
4676
|
};
|
|
@@ -4382,7 +4695,7 @@ type MessagesUpdateErrors = {
|
|
|
4382
4695
|
*/
|
|
4383
4696
|
404: Error;
|
|
4384
4697
|
/**
|
|
4385
|
-
*
|
|
4698
|
+
* Nothing was done by this call. `error.code` says which: `idempotency_in_progress` when the first request with this `Idempotency-Key` has not answered yet (wait `Retry-After` seconds and send it again), `idempotency_mismatch` when the key was used with a different request (use a new key).
|
|
4386
4699
|
*/
|
|
4387
4700
|
409: Error;
|
|
4388
4701
|
/**
|
|
@@ -4397,6 +4710,10 @@ type MessagesUpdateErrors = {
|
|
|
4397
4710
|
* Something this needs is not answering right now. Retry in a moment.
|
|
4398
4711
|
*/
|
|
4399
4712
|
503: Error;
|
|
4713
|
+
/**
|
|
4714
|
+
* Test mode only: `Pidgeon-Test-Fail: drop` dropped the answer (`test_dropped`). The request was done; retry it with the same `Idempotency-Key` to get the first answer.
|
|
4715
|
+
*/
|
|
4716
|
+
504: Error;
|
|
4400
4717
|
};
|
|
4401
4718
|
type MessagesUpdateError = MessagesUpdateErrors[keyof MessagesUpdateErrors];
|
|
4402
4719
|
type MessagesUpdateResponses = {
|
|
@@ -4935,6 +5252,12 @@ type ThreadsUpdateData = {
|
|
|
4935
5252
|
assignee_id?: string | null;
|
|
4936
5253
|
reason?: string;
|
|
4937
5254
|
};
|
|
5255
|
+
headers?: {
|
|
5256
|
+
/**
|
|
5257
|
+
* Any string unique to this attempt, reused on its retries. A repeat with the same key and the same request returns the first answer with `Idempotent-Replay: true` and does nothing — no second email. The same key with a different request is a `409`. Kept for 24 hours; a failure is not kept, so a retry after one runs.
|
|
5258
|
+
*/
|
|
5259
|
+
'Idempotency-Key'?: string;
|
|
5260
|
+
};
|
|
4938
5261
|
path: {
|
|
4939
5262
|
id: string;
|
|
4940
5263
|
};
|
|
@@ -4959,7 +5282,7 @@ type ThreadsUpdateErrors = {
|
|
|
4959
5282
|
*/
|
|
4960
5283
|
404: Error;
|
|
4961
5284
|
/**
|
|
4962
|
-
*
|
|
5285
|
+
* Nothing was done by this call. `error.code` says which: `idempotency_in_progress` when the first request with this `Idempotency-Key` has not answered yet (wait `Retry-After` seconds and send it again), `idempotency_mismatch` when the key was used with a different request (use a new key).
|
|
4963
5286
|
*/
|
|
4964
5287
|
409: Error;
|
|
4965
5288
|
/**
|
|
@@ -4974,6 +5297,10 @@ type ThreadsUpdateErrors = {
|
|
|
4974
5297
|
* Something this needs is not answering right now. Retry in a moment.
|
|
4975
5298
|
*/
|
|
4976
5299
|
503: Error;
|
|
5300
|
+
/**
|
|
5301
|
+
* Test mode only: `Pidgeon-Test-Fail: drop` dropped the answer (`test_dropped`). The request was done; retry it with the same `Idempotency-Key` to get the first answer.
|
|
5302
|
+
*/
|
|
5303
|
+
504: Error;
|
|
4977
5304
|
};
|
|
4978
5305
|
type ThreadsUpdateError = ThreadsUpdateErrors[keyof ThreadsUpdateErrors];
|
|
4979
5306
|
type ThreadsUpdateResponses = {
|
|
@@ -5112,7 +5439,7 @@ type DomainsCreateResponses = {
|
|
|
5112
5439
|
* The domain and its records.
|
|
5113
5440
|
*/
|
|
5114
5441
|
201: {
|
|
5115
|
-
data:
|
|
5442
|
+
data: CreatedDomain;
|
|
5116
5443
|
};
|
|
5117
5444
|
};
|
|
5118
5445
|
type DomainsCreateResponse = DomainsCreateResponses[keyof DomainsCreateResponses];
|
|
@@ -5225,6 +5552,12 @@ type DomainsGetSetupLinkResponses = {
|
|
|
5225
5552
|
type DomainsGetSetupLinkResponse = DomainsGetSetupLinkResponses[keyof DomainsGetSetupLinkResponses];
|
|
5226
5553
|
type DomainsVerifyData = {
|
|
5227
5554
|
body?: never;
|
|
5555
|
+
headers?: {
|
|
5556
|
+
/**
|
|
5557
|
+
* Any string unique to this attempt, reused on its retries. A repeat with the same key and the same request returns the first answer with `Idempotent-Replay: true` and does nothing — no second email. The same key with a different request is a `409`. Kept for 24 hours; a failure is not kept, so a retry after one runs.
|
|
5558
|
+
*/
|
|
5559
|
+
'Idempotency-Key'?: string;
|
|
5560
|
+
};
|
|
5228
5561
|
path: {
|
|
5229
5562
|
id: string;
|
|
5230
5563
|
};
|
|
@@ -5249,7 +5582,7 @@ type DomainsVerifyErrors = {
|
|
|
5249
5582
|
*/
|
|
5250
5583
|
404: Error;
|
|
5251
5584
|
/**
|
|
5252
|
-
*
|
|
5585
|
+
* Nothing was done by this call. `error.code` says which: `idempotency_in_progress` when the first request with this `Idempotency-Key` has not answered yet (wait `Retry-After` seconds and send it again), `idempotency_mismatch` when the key was used with a different request (use a new key).
|
|
5253
5586
|
*/
|
|
5254
5587
|
409: Error;
|
|
5255
5588
|
/**
|
|
@@ -5264,6 +5597,10 @@ type DomainsVerifyErrors = {
|
|
|
5264
5597
|
* Something this needs is not answering right now. Retry in a moment.
|
|
5265
5598
|
*/
|
|
5266
5599
|
503: Error;
|
|
5600
|
+
/**
|
|
5601
|
+
* Test mode only: `Pidgeon-Test-Fail: drop` dropped the answer (`test_dropped`). The request was done; retry it with the same `Idempotency-Key` to get the first answer.
|
|
5602
|
+
*/
|
|
5603
|
+
504: Error;
|
|
5267
5604
|
};
|
|
5268
5605
|
type DomainsVerifyError = DomainsVerifyErrors[keyof DomainsVerifyErrors];
|
|
5269
5606
|
type DomainsVerifyResponses = {
|
|
@@ -5277,6 +5614,12 @@ type DomainsVerifyResponses = {
|
|
|
5277
5614
|
type DomainsVerifyResponse = DomainsVerifyResponses[keyof DomainsVerifyResponses];
|
|
5278
5615
|
type DomainsDeleteData = {
|
|
5279
5616
|
body?: never;
|
|
5617
|
+
headers?: {
|
|
5618
|
+
/**
|
|
5619
|
+
* Any string unique to this attempt, reused on its retries. A repeat with the same key and the same request returns the first answer with `Idempotent-Replay: true` and does nothing — no second email. The same key with a different request is a `409`. Kept for 24 hours; a failure is not kept, so a retry after one runs.
|
|
5620
|
+
*/
|
|
5621
|
+
'Idempotency-Key'?: string;
|
|
5622
|
+
};
|
|
5280
5623
|
path: {
|
|
5281
5624
|
id: string;
|
|
5282
5625
|
};
|
|
@@ -5301,7 +5644,7 @@ type DomainsDeleteErrors = {
|
|
|
5301
5644
|
*/
|
|
5302
5645
|
404: Error;
|
|
5303
5646
|
/**
|
|
5304
|
-
*
|
|
5647
|
+
* Nothing was done by this call. `error.code` says which: `idempotency_in_progress` when the first request with this `Idempotency-Key` has not answered yet (wait `Retry-After` seconds and send it again), `idempotency_mismatch` when the key was used with a different request (use a new key).
|
|
5305
5648
|
*/
|
|
5306
5649
|
409: Error;
|
|
5307
5650
|
/**
|
|
@@ -5316,6 +5659,10 @@ type DomainsDeleteErrors = {
|
|
|
5316
5659
|
* Something this needs is not answering right now. Retry in a moment.
|
|
5317
5660
|
*/
|
|
5318
5661
|
503: Error;
|
|
5662
|
+
/**
|
|
5663
|
+
* Test mode only: `Pidgeon-Test-Fail: drop` dropped the answer (`test_dropped`). The request was done; retry it with the same `Idempotency-Key` to get the first answer.
|
|
5664
|
+
*/
|
|
5665
|
+
504: Error;
|
|
5319
5666
|
};
|
|
5320
5667
|
type DomainsDeleteError = DomainsDeleteErrors[keyof DomainsDeleteErrors];
|
|
5321
5668
|
type DomainsDeleteResponses = {
|
|
@@ -5383,6 +5730,12 @@ type DomainsUpdateData = {
|
|
|
5383
5730
|
body: {
|
|
5384
5731
|
catch_all_enabled: boolean;
|
|
5385
5732
|
};
|
|
5733
|
+
headers?: {
|
|
5734
|
+
/**
|
|
5735
|
+
* Any string unique to this attempt, reused on its retries. A repeat with the same key and the same request returns the first answer with `Idempotent-Replay: true` and does nothing — no second email. The same key with a different request is a `409`. Kept for 24 hours; a failure is not kept, so a retry after one runs.
|
|
5736
|
+
*/
|
|
5737
|
+
'Idempotency-Key'?: string;
|
|
5738
|
+
};
|
|
5386
5739
|
path: {
|
|
5387
5740
|
id: string;
|
|
5388
5741
|
};
|
|
@@ -5407,7 +5760,7 @@ type DomainsUpdateErrors = {
|
|
|
5407
5760
|
*/
|
|
5408
5761
|
404: Error;
|
|
5409
5762
|
/**
|
|
5410
|
-
*
|
|
5763
|
+
* Nothing was done by this call. `error.code` says which: `idempotency_in_progress` when the first request with this `Idempotency-Key` has not answered yet (wait `Retry-After` seconds and send it again), `idempotency_mismatch` when the key was used with a different request (use a new key).
|
|
5411
5764
|
*/
|
|
5412
5765
|
409: Error;
|
|
5413
5766
|
/**
|
|
@@ -5422,6 +5775,10 @@ type DomainsUpdateErrors = {
|
|
|
5422
5775
|
* Something this needs is not answering right now. Retry in a moment.
|
|
5423
5776
|
*/
|
|
5424
5777
|
503: Error;
|
|
5778
|
+
/**
|
|
5779
|
+
* Test mode only: `Pidgeon-Test-Fail: drop` dropped the answer (`test_dropped`). The request was done; retry it with the same `Idempotency-Key` to get the first answer.
|
|
5780
|
+
*/
|
|
5781
|
+
504: Error;
|
|
5425
5782
|
};
|
|
5426
5783
|
type DomainsUpdateError = DomainsUpdateErrors[keyof DomainsUpdateErrors];
|
|
5427
5784
|
type DomainsUpdateResponses = {
|
|
@@ -5573,6 +5930,12 @@ type RoutingCreateResponses = {
|
|
|
5573
5930
|
type RoutingCreateResponse = RoutingCreateResponses[keyof RoutingCreateResponses];
|
|
5574
5931
|
type RoutingDeleteData = {
|
|
5575
5932
|
body?: never;
|
|
5933
|
+
headers?: {
|
|
5934
|
+
/**
|
|
5935
|
+
* Any string unique to this attempt, reused on its retries. A repeat with the same key and the same request returns the first answer with `Idempotent-Replay: true` and does nothing — no second email. The same key with a different request is a `409`. Kept for 24 hours; a failure is not kept, so a retry after one runs.
|
|
5936
|
+
*/
|
|
5937
|
+
'Idempotency-Key'?: string;
|
|
5938
|
+
};
|
|
5576
5939
|
path: {
|
|
5577
5940
|
id: string;
|
|
5578
5941
|
};
|
|
@@ -5597,7 +5960,7 @@ type RoutingDeleteErrors = {
|
|
|
5597
5960
|
*/
|
|
5598
5961
|
404: Error;
|
|
5599
5962
|
/**
|
|
5600
|
-
*
|
|
5963
|
+
* Nothing was done by this call. `error.code` says which: `idempotency_in_progress` when the first request with this `Idempotency-Key` has not answered yet (wait `Retry-After` seconds and send it again), `idempotency_mismatch` when the key was used with a different request (use a new key).
|
|
5601
5964
|
*/
|
|
5602
5965
|
409: Error;
|
|
5603
5966
|
/**
|
|
@@ -5612,6 +5975,10 @@ type RoutingDeleteErrors = {
|
|
|
5612
5975
|
* Something this needs is not answering right now. Retry in a moment.
|
|
5613
5976
|
*/
|
|
5614
5977
|
503: Error;
|
|
5978
|
+
/**
|
|
5979
|
+
* Test mode only: `Pidgeon-Test-Fail: drop` dropped the answer (`test_dropped`). The request was done; retry it with the same `Idempotency-Key` to get the first answer.
|
|
5980
|
+
*/
|
|
5981
|
+
504: Error;
|
|
5615
5982
|
};
|
|
5616
5983
|
type RoutingDeleteError = RoutingDeleteErrors[keyof RoutingDeleteErrors];
|
|
5617
5984
|
type RoutingDeleteResponses = {
|
|
@@ -5627,6 +5994,12 @@ type RoutingUpdateData = {
|
|
|
5627
5994
|
body: {
|
|
5628
5995
|
status: 'active' | 'disabled';
|
|
5629
5996
|
};
|
|
5997
|
+
headers?: {
|
|
5998
|
+
/**
|
|
5999
|
+
* Any string unique to this attempt, reused on its retries. A repeat with the same key and the same request returns the first answer with `Idempotent-Replay: true` and does nothing — no second email. The same key with a different request is a `409`. Kept for 24 hours; a failure is not kept, so a retry after one runs.
|
|
6000
|
+
*/
|
|
6001
|
+
'Idempotency-Key'?: string;
|
|
6002
|
+
};
|
|
5630
6003
|
path: {
|
|
5631
6004
|
id: string;
|
|
5632
6005
|
};
|
|
@@ -5651,7 +6024,7 @@ type RoutingUpdateErrors = {
|
|
|
5651
6024
|
*/
|
|
5652
6025
|
404: Error;
|
|
5653
6026
|
/**
|
|
5654
|
-
*
|
|
6027
|
+
* Nothing was done by this call. `error.code` says which: `idempotency_in_progress` when the first request with this `Idempotency-Key` has not answered yet (wait `Retry-After` seconds and send it again), `idempotency_mismatch` when the key was used with a different request (use a new key).
|
|
5655
6028
|
*/
|
|
5656
6029
|
409: Error;
|
|
5657
6030
|
/**
|
|
@@ -5666,6 +6039,10 @@ type RoutingUpdateErrors = {
|
|
|
5666
6039
|
* Something this needs is not answering right now. Retry in a moment.
|
|
5667
6040
|
*/
|
|
5668
6041
|
503: Error;
|
|
6042
|
+
/**
|
|
6043
|
+
* Test mode only: `Pidgeon-Test-Fail: drop` dropped the answer (`test_dropped`). The request was done; retry it with the same `Idempotency-Key` to get the first answer.
|
|
6044
|
+
*/
|
|
6045
|
+
504: Error;
|
|
5669
6046
|
};
|
|
5670
6047
|
type RoutingUpdateError = RoutingUpdateErrors[keyof RoutingUpdateErrors];
|
|
5671
6048
|
type RoutingUpdateResponses = {
|
|
@@ -5799,6 +6176,12 @@ type MailboxesChangesResponses = {
|
|
|
5799
6176
|
type MailboxesChangesResponse = MailboxesChangesResponses[keyof MailboxesChangesResponses];
|
|
5800
6177
|
type MailboxesEmptyTrashData = {
|
|
5801
6178
|
body?: never;
|
|
6179
|
+
headers?: {
|
|
6180
|
+
/**
|
|
6181
|
+
* Any string unique to this attempt, reused on its retries. A repeat with the same key and the same request returns the first answer with `Idempotent-Replay: true` and does nothing — no second email. The same key with a different request is a `409`. Kept for 24 hours; a failure is not kept, so a retry after one runs.
|
|
6182
|
+
*/
|
|
6183
|
+
'Idempotency-Key'?: string;
|
|
6184
|
+
};
|
|
5802
6185
|
path: {
|
|
5803
6186
|
folder: string;
|
|
5804
6187
|
};
|
|
@@ -5825,7 +6208,7 @@ type MailboxesEmptyTrashErrors = {
|
|
|
5825
6208
|
*/
|
|
5826
6209
|
404: Error;
|
|
5827
6210
|
/**
|
|
5828
|
-
*
|
|
6211
|
+
* Nothing was done by this call. `error.code` says which: `idempotency_in_progress` when the first request with this `Idempotency-Key` has not answered yet (wait `Retry-After` seconds and send it again), `idempotency_mismatch` when the key was used with a different request (use a new key).
|
|
5829
6212
|
*/
|
|
5830
6213
|
409: Error;
|
|
5831
6214
|
/**
|
|
@@ -5840,6 +6223,10 @@ type MailboxesEmptyTrashErrors = {
|
|
|
5840
6223
|
* Something this needs is not answering right now. Retry in a moment.
|
|
5841
6224
|
*/
|
|
5842
6225
|
503: Error;
|
|
6226
|
+
/**
|
|
6227
|
+
* Test mode only: `Pidgeon-Test-Fail: drop` dropped the answer (`test_dropped`). The request was done; retry it with the same `Idempotency-Key` to get the first answer.
|
|
6228
|
+
*/
|
|
6229
|
+
504: Error;
|
|
5843
6230
|
};
|
|
5844
6231
|
type MailboxesEmptyTrashError = MailboxesEmptyTrashErrors[keyof MailboxesEmptyTrashErrors];
|
|
5845
6232
|
type MailboxesEmptyTrashResponses = {
|
|
@@ -6078,6 +6465,12 @@ type KeysCreateResponses = {
|
|
|
6078
6465
|
type KeysCreateResponse = KeysCreateResponses[keyof KeysCreateResponses];
|
|
6079
6466
|
type KeysRevokeData = {
|
|
6080
6467
|
body?: never;
|
|
6468
|
+
headers?: {
|
|
6469
|
+
/**
|
|
6470
|
+
* Any string unique to this attempt, reused on its retries. A repeat with the same key and the same request returns the first answer with `Idempotent-Replay: true` and does nothing — no second email. The same key with a different request is a `409`. Kept for 24 hours; a failure is not kept, so a retry after one runs.
|
|
6471
|
+
*/
|
|
6472
|
+
'Idempotency-Key'?: string;
|
|
6473
|
+
};
|
|
6081
6474
|
path: {
|
|
6082
6475
|
id: string;
|
|
6083
6476
|
};
|
|
@@ -6102,7 +6495,7 @@ type KeysRevokeErrors = {
|
|
|
6102
6495
|
*/
|
|
6103
6496
|
404: Error;
|
|
6104
6497
|
/**
|
|
6105
|
-
*
|
|
6498
|
+
* Nothing was done by this call. `error.code` says which: `idempotency_in_progress` when the first request with this `Idempotency-Key` has not answered yet (wait `Retry-After` seconds and send it again), `idempotency_mismatch` when the key was used with a different request (use a new key).
|
|
6106
6499
|
*/
|
|
6107
6500
|
409: Error;
|
|
6108
6501
|
/**
|
|
@@ -6117,6 +6510,10 @@ type KeysRevokeErrors = {
|
|
|
6117
6510
|
* Something this needs is not answering right now. Retry in a moment.
|
|
6118
6511
|
*/
|
|
6119
6512
|
503: Error;
|
|
6513
|
+
/**
|
|
6514
|
+
* Test mode only: `Pidgeon-Test-Fail: drop` dropped the answer (`test_dropped`). The request was done; retry it with the same `Idempotency-Key` to get the first answer.
|
|
6515
|
+
*/
|
|
6516
|
+
504: Error;
|
|
6120
6517
|
};
|
|
6121
6518
|
type KeysRevokeError = KeysRevokeErrors[keyof KeysRevokeErrors];
|
|
6122
6519
|
type KeysRevokeResponses = {
|
|
@@ -6184,6 +6581,12 @@ type KeysUpdateData = {
|
|
|
6184
6581
|
body: {
|
|
6185
6582
|
name: string;
|
|
6186
6583
|
};
|
|
6584
|
+
headers?: {
|
|
6585
|
+
/**
|
|
6586
|
+
* Any string unique to this attempt, reused on its retries. A repeat with the same key and the same request returns the first answer with `Idempotent-Replay: true` and does nothing — no second email. The same key with a different request is a `409`. Kept for 24 hours; a failure is not kept, so a retry after one runs.
|
|
6587
|
+
*/
|
|
6588
|
+
'Idempotency-Key'?: string;
|
|
6589
|
+
};
|
|
6187
6590
|
path: {
|
|
6188
6591
|
id: string;
|
|
6189
6592
|
};
|
|
@@ -6208,7 +6611,7 @@ type KeysUpdateErrors = {
|
|
|
6208
6611
|
*/
|
|
6209
6612
|
404: Error;
|
|
6210
6613
|
/**
|
|
6211
|
-
*
|
|
6614
|
+
* Nothing was done by this call. `error.code` says which: `idempotency_in_progress` when the first request with this `Idempotency-Key` has not answered yet (wait `Retry-After` seconds and send it again), `idempotency_mismatch` when the key was used with a different request (use a new key).
|
|
6212
6615
|
*/
|
|
6213
6616
|
409: Error;
|
|
6214
6617
|
/**
|
|
@@ -6223,6 +6626,10 @@ type KeysUpdateErrors = {
|
|
|
6223
6626
|
* Something this needs is not answering right now. Retry in a moment.
|
|
6224
6627
|
*/
|
|
6225
6628
|
503: Error;
|
|
6629
|
+
/**
|
|
6630
|
+
* Test mode only: `Pidgeon-Test-Fail: drop` dropped the answer (`test_dropped`). The request was done; retry it with the same `Idempotency-Key` to get the first answer.
|
|
6631
|
+
*/
|
|
6632
|
+
504: Error;
|
|
6226
6633
|
};
|
|
6227
6634
|
type KeysUpdateError = KeysUpdateErrors[keyof KeysUpdateErrors];
|
|
6228
6635
|
type KeysUpdateResponses = {
|
|
@@ -6456,6 +6863,12 @@ type AppPasswordsCreateData = {
|
|
|
6456
6863
|
identity_id: string;
|
|
6457
6864
|
name: string;
|
|
6458
6865
|
};
|
|
6866
|
+
headers?: {
|
|
6867
|
+
/**
|
|
6868
|
+
* Any string unique to this attempt, reused on its retries. A repeat with the same key and the same request returns the first answer with `Idempotent-Replay: true` and does nothing — no second email. The same key with a different request is a `409`. Kept for 24 hours; a failure is not kept, so a retry after one runs.
|
|
6869
|
+
*/
|
|
6870
|
+
'Idempotency-Key'?: string;
|
|
6871
|
+
};
|
|
6459
6872
|
path?: never;
|
|
6460
6873
|
query?: never;
|
|
6461
6874
|
url: '/app-passwords';
|
|
@@ -6482,7 +6895,7 @@ type AppPasswordsCreateErrors = {
|
|
|
6482
6895
|
*/
|
|
6483
6896
|
404: Error;
|
|
6484
6897
|
/**
|
|
6485
|
-
*
|
|
6898
|
+
* Nothing was done by this call. `error.code` says which: `idempotency_in_progress` when the first request with this `Idempotency-Key` has not answered yet (wait `Retry-After` seconds and send it again), `idempotency_mismatch` when the key was used with a different request (use a new key).
|
|
6486
6899
|
*/
|
|
6487
6900
|
409: Error;
|
|
6488
6901
|
/**
|
|
@@ -6497,6 +6910,10 @@ type AppPasswordsCreateErrors = {
|
|
|
6497
6910
|
* Something this needs is not answering right now. Retry in a moment.
|
|
6498
6911
|
*/
|
|
6499
6912
|
503: Error;
|
|
6913
|
+
/**
|
|
6914
|
+
* Test mode only: `Pidgeon-Test-Fail: drop` dropped the answer (`test_dropped`). The request was done; retry it with the same `Idempotency-Key` to get the first answer.
|
|
6915
|
+
*/
|
|
6916
|
+
504: Error;
|
|
6500
6917
|
};
|
|
6501
6918
|
type AppPasswordsCreateError = AppPasswordsCreateErrors[keyof AppPasswordsCreateErrors];
|
|
6502
6919
|
type AppPasswordsCreateResponses = {
|
|
@@ -6504,12 +6921,18 @@ type AppPasswordsCreateResponses = {
|
|
|
6504
6921
|
* The credentials, once.
|
|
6505
6922
|
*/
|
|
6506
6923
|
201: {
|
|
6507
|
-
data:
|
|
6924
|
+
data: AppPasswordCreated;
|
|
6508
6925
|
};
|
|
6509
6926
|
};
|
|
6510
6927
|
type AppPasswordsCreateResponse = AppPasswordsCreateResponses[keyof AppPasswordsCreateResponses];
|
|
6511
6928
|
type AppPasswordsRevokeData = {
|
|
6512
6929
|
body?: never;
|
|
6930
|
+
headers?: {
|
|
6931
|
+
/**
|
|
6932
|
+
* Any string unique to this attempt, reused on its retries. A repeat with the same key and the same request returns the first answer with `Idempotent-Replay: true` and does nothing — no second email. The same key with a different request is a `409`. Kept for 24 hours; a failure is not kept, so a retry after one runs.
|
|
6933
|
+
*/
|
|
6934
|
+
'Idempotency-Key'?: string;
|
|
6935
|
+
};
|
|
6513
6936
|
path: {
|
|
6514
6937
|
id: string;
|
|
6515
6938
|
};
|
|
@@ -6534,7 +6957,7 @@ type AppPasswordsRevokeErrors = {
|
|
|
6534
6957
|
*/
|
|
6535
6958
|
404: Error;
|
|
6536
6959
|
/**
|
|
6537
|
-
*
|
|
6960
|
+
* Nothing was done by this call. `error.code` says which: `idempotency_in_progress` when the first request with this `Idempotency-Key` has not answered yet (wait `Retry-After` seconds and send it again), `idempotency_mismatch` when the key was used with a different request (use a new key).
|
|
6538
6961
|
*/
|
|
6539
6962
|
409: Error;
|
|
6540
6963
|
/**
|
|
@@ -6549,6 +6972,10 @@ type AppPasswordsRevokeErrors = {
|
|
|
6549
6972
|
* Something this needs is not answering right now. Retry in a moment.
|
|
6550
6973
|
*/
|
|
6551
6974
|
503: Error;
|
|
6975
|
+
/**
|
|
6976
|
+
* Test mode only: `Pidgeon-Test-Fail: drop` dropped the answer (`test_dropped`). The request was done; retry it with the same `Idempotency-Key` to get the first answer.
|
|
6977
|
+
*/
|
|
6978
|
+
504: Error;
|
|
6552
6979
|
};
|
|
6553
6980
|
type AppPasswordsRevokeError = AppPasswordsRevokeErrors[keyof AppPasswordsRevokeErrors];
|
|
6554
6981
|
type AppPasswordsRevokeResponses = {
|
|
@@ -7075,6 +7502,12 @@ type WebhooksCreateResponses = {
|
|
|
7075
7502
|
type WebhooksCreateResponse = WebhooksCreateResponses[keyof WebhooksCreateResponses];
|
|
7076
7503
|
type WebhooksDeleteData = {
|
|
7077
7504
|
body?: never;
|
|
7505
|
+
headers?: {
|
|
7506
|
+
/**
|
|
7507
|
+
* Any string unique to this attempt, reused on its retries. A repeat with the same key and the same request returns the first answer with `Idempotent-Replay: true` and does nothing — no second email. The same key with a different request is a `409`. Kept for 24 hours; a failure is not kept, so a retry after one runs.
|
|
7508
|
+
*/
|
|
7509
|
+
'Idempotency-Key'?: string;
|
|
7510
|
+
};
|
|
7078
7511
|
path: {
|
|
7079
7512
|
id: string;
|
|
7080
7513
|
};
|
|
@@ -7099,7 +7532,7 @@ type WebhooksDeleteErrors = {
|
|
|
7099
7532
|
*/
|
|
7100
7533
|
404: Error;
|
|
7101
7534
|
/**
|
|
7102
|
-
*
|
|
7535
|
+
* Nothing was done by this call. `error.code` says which: `idempotency_in_progress` when the first request with this `Idempotency-Key` has not answered yet (wait `Retry-After` seconds and send it again), `idempotency_mismatch` when the key was used with a different request (use a new key).
|
|
7103
7536
|
*/
|
|
7104
7537
|
409: Error;
|
|
7105
7538
|
/**
|
|
@@ -7114,6 +7547,10 @@ type WebhooksDeleteErrors = {
|
|
|
7114
7547
|
* Something this needs is not answering right now. Retry in a moment.
|
|
7115
7548
|
*/
|
|
7116
7549
|
503: Error;
|
|
7550
|
+
/**
|
|
7551
|
+
* Test mode only: `Pidgeon-Test-Fail: drop` dropped the answer (`test_dropped`). The request was done; retry it with the same `Idempotency-Key` to get the first answer.
|
|
7552
|
+
*/
|
|
7553
|
+
504: Error;
|
|
7117
7554
|
};
|
|
7118
7555
|
type WebhooksDeleteError = WebhooksDeleteErrors[keyof WebhooksDeleteErrors];
|
|
7119
7556
|
type WebhooksDeleteResponses = {
|
|
@@ -7181,6 +7618,12 @@ type WebhooksUpdateData = {
|
|
|
7181
7618
|
body: {
|
|
7182
7619
|
status: 'active' | 'disabled';
|
|
7183
7620
|
};
|
|
7621
|
+
headers?: {
|
|
7622
|
+
/**
|
|
7623
|
+
* Any string unique to this attempt, reused on its retries. A repeat with the same key and the same request returns the first answer with `Idempotent-Replay: true` and does nothing — no second email. The same key with a different request is a `409`. Kept for 24 hours; a failure is not kept, so a retry after one runs.
|
|
7624
|
+
*/
|
|
7625
|
+
'Idempotency-Key'?: string;
|
|
7626
|
+
};
|
|
7184
7627
|
path: {
|
|
7185
7628
|
id: string;
|
|
7186
7629
|
};
|
|
@@ -7205,7 +7648,7 @@ type WebhooksUpdateErrors = {
|
|
|
7205
7648
|
*/
|
|
7206
7649
|
404: Error;
|
|
7207
7650
|
/**
|
|
7208
|
-
*
|
|
7651
|
+
* Nothing was done by this call. `error.code` says which: `idempotency_in_progress` when the first request with this `Idempotency-Key` has not answered yet (wait `Retry-After` seconds and send it again), `idempotency_mismatch` when the key was used with a different request (use a new key).
|
|
7209
7652
|
*/
|
|
7210
7653
|
409: Error;
|
|
7211
7654
|
/**
|
|
@@ -7220,6 +7663,10 @@ type WebhooksUpdateErrors = {
|
|
|
7220
7663
|
* Something this needs is not answering right now. Retry in a moment.
|
|
7221
7664
|
*/
|
|
7222
7665
|
503: Error;
|
|
7666
|
+
/**
|
|
7667
|
+
* Test mode only: `Pidgeon-Test-Fail: drop` dropped the answer (`test_dropped`). The request was done; retry it with the same `Idempotency-Key` to get the first answer.
|
|
7668
|
+
*/
|
|
7669
|
+
504: Error;
|
|
7223
7670
|
};
|
|
7224
7671
|
type WebhooksUpdateError = WebhooksUpdateErrors[keyof WebhooksUpdateErrors];
|
|
7225
7672
|
type WebhooksUpdateResponses = {
|
|
@@ -7289,6 +7736,12 @@ type WebhooksUpdateHeadersData = {
|
|
|
7289
7736
|
[key: string]: string;
|
|
7290
7737
|
};
|
|
7291
7738
|
};
|
|
7739
|
+
headers?: {
|
|
7740
|
+
/**
|
|
7741
|
+
* Any string unique to this attempt, reused on its retries. A repeat with the same key and the same request returns the first answer with `Idempotent-Replay: true` and does nothing — no second email. The same key with a different request is a `409`. Kept for 24 hours; a failure is not kept, so a retry after one runs.
|
|
7742
|
+
*/
|
|
7743
|
+
'Idempotency-Key'?: string;
|
|
7744
|
+
};
|
|
7292
7745
|
path: {
|
|
7293
7746
|
id: string;
|
|
7294
7747
|
};
|
|
@@ -7313,7 +7766,7 @@ type WebhooksUpdateHeadersErrors = {
|
|
|
7313
7766
|
*/
|
|
7314
7767
|
404: Error;
|
|
7315
7768
|
/**
|
|
7316
|
-
*
|
|
7769
|
+
* Nothing was done by this call. `error.code` says which: `idempotency_in_progress` when the first request with this `Idempotency-Key` has not answered yet (wait `Retry-After` seconds and send it again), `idempotency_mismatch` when the key was used with a different request (use a new key).
|
|
7317
7770
|
*/
|
|
7318
7771
|
409: Error;
|
|
7319
7772
|
/**
|
|
@@ -7328,6 +7781,10 @@ type WebhooksUpdateHeadersErrors = {
|
|
|
7328
7781
|
* Something this needs is not answering right now. Retry in a moment.
|
|
7329
7782
|
*/
|
|
7330
7783
|
503: Error;
|
|
7784
|
+
/**
|
|
7785
|
+
* Test mode only: `Pidgeon-Test-Fail: drop` dropped the answer (`test_dropped`). The request was done; retry it with the same `Idempotency-Key` to get the first answer.
|
|
7786
|
+
*/
|
|
7787
|
+
504: Error;
|
|
7331
7788
|
};
|
|
7332
7789
|
type WebhooksUpdateHeadersError = WebhooksUpdateHeadersErrors[keyof WebhooksUpdateHeadersErrors];
|
|
7333
7790
|
type WebhooksUpdateHeadersResponses = {
|
|
@@ -7345,6 +7802,10 @@ type WebhooksDeliveriesData = {
|
|
|
7345
7802
|
query: {
|
|
7346
7803
|
webhook_id: string;
|
|
7347
7804
|
limit?: number;
|
|
7805
|
+
/**
|
|
7806
|
+
* From a previous page’s `next_cursor`. Opaque — do not parse it.
|
|
7807
|
+
*/
|
|
7808
|
+
cursor?: string;
|
|
7348
7809
|
};
|
|
7349
7810
|
url: '/deliveries';
|
|
7350
7811
|
};
|
|
@@ -7399,6 +7860,12 @@ type WebhooksDeliveriesResponses = {
|
|
|
7399
7860
|
type WebhooksDeliveriesResponse = WebhooksDeliveriesResponses[keyof WebhooksDeliveriesResponses];
|
|
7400
7861
|
type WebhooksReplayData = {
|
|
7401
7862
|
body?: never;
|
|
7863
|
+
headers?: {
|
|
7864
|
+
/**
|
|
7865
|
+
* Any string unique to this attempt, reused on its retries. A repeat with the same key and the same request returns the first answer with `Idempotent-Replay: true` and does nothing — no second email. The same key with a different request is a `409`. Kept for 24 hours; a failure is not kept, so a retry after one runs.
|
|
7866
|
+
*/
|
|
7867
|
+
'Idempotency-Key'?: string;
|
|
7868
|
+
};
|
|
7402
7869
|
path: {
|
|
7403
7870
|
id: string;
|
|
7404
7871
|
};
|
|
@@ -7423,7 +7890,7 @@ type WebhooksReplayErrors = {
|
|
|
7423
7890
|
*/
|
|
7424
7891
|
404: Error;
|
|
7425
7892
|
/**
|
|
7426
|
-
*
|
|
7893
|
+
* Nothing was done by this call. `error.code` says which: `idempotency_in_progress` when the first request with this `Idempotency-Key` has not answered yet (wait `Retry-After` seconds and send it again), `idempotency_mismatch` when the key was used with a different request (use a new key).
|
|
7427
7894
|
*/
|
|
7428
7895
|
409: Error;
|
|
7429
7896
|
/**
|
|
@@ -7438,6 +7905,10 @@ type WebhooksReplayErrors = {
|
|
|
7438
7905
|
* Something this needs is not answering right now. Retry in a moment.
|
|
7439
7906
|
*/
|
|
7440
7907
|
503: Error;
|
|
7908
|
+
/**
|
|
7909
|
+
* Test mode only: `Pidgeon-Test-Fail: drop` dropped the answer (`test_dropped`). The request was done; retry it with the same `Idempotency-Key` to get the first answer.
|
|
7910
|
+
*/
|
|
7911
|
+
504: Error;
|
|
7441
7912
|
};
|
|
7442
7913
|
type WebhooksReplayError = WebhooksReplayErrors[keyof WebhooksReplayErrors];
|
|
7443
7914
|
type WebhooksReplayResponses = {
|
|
@@ -7584,6 +8055,10 @@ type CalendarUpdateData = {
|
|
|
7584
8055
|
* The `etag` you last read. A stale one is a `409` naming the current version — two agents on one mailbox is the case this product is for, and last-write-wins loses a meeting.
|
|
7585
8056
|
*/
|
|
7586
8057
|
'If-Match'?: string;
|
|
8058
|
+
/**
|
|
8059
|
+
* Any string unique to this attempt, reused on its retries. A repeat with the same key and the same request returns the first answer with `Idempotent-Replay: true` and does nothing — no second email. The same key with a different request is a `409`. Kept for 24 hours; a failure is not kept, so a retry after one runs.
|
|
8060
|
+
*/
|
|
8061
|
+
'Idempotency-Key'?: string;
|
|
7587
8062
|
};
|
|
7588
8063
|
path: {
|
|
7589
8064
|
id: string;
|
|
@@ -7609,7 +8084,7 @@ type CalendarUpdateErrors = {
|
|
|
7609
8084
|
*/
|
|
7610
8085
|
404: Error;
|
|
7611
8086
|
/**
|
|
7612
|
-
*
|
|
8087
|
+
* Nothing was done by this call. `error.code` says which: `idempotency_in_progress` when the first request with this `Idempotency-Key` has not answered yet (wait `Retry-After` seconds and send it again), `idempotency_mismatch` when the key was used with a different request (use a new key).
|
|
7613
8088
|
*/
|
|
7614
8089
|
409: Error;
|
|
7615
8090
|
/**
|
|
@@ -7624,6 +8099,10 @@ type CalendarUpdateErrors = {
|
|
|
7624
8099
|
* Something this needs is not answering right now. Retry in a moment.
|
|
7625
8100
|
*/
|
|
7626
8101
|
503: Error;
|
|
8102
|
+
/**
|
|
8103
|
+
* Test mode only: `Pidgeon-Test-Fail: drop` dropped the answer (`test_dropped`). The request was done; retry it with the same `Idempotency-Key` to get the first answer.
|
|
8104
|
+
*/
|
|
8105
|
+
504: Error;
|
|
7627
8106
|
};
|
|
7628
8107
|
type CalendarUpdateError = CalendarUpdateErrors[keyof CalendarUpdateErrors];
|
|
7629
8108
|
type CalendarUpdateResponses = {
|
|
@@ -7870,6 +8349,10 @@ type CalendarListEventInstancesData = {
|
|
|
7870
8349
|
after?: string;
|
|
7871
8350
|
before?: string;
|
|
7872
8351
|
limit?: number;
|
|
8352
|
+
/**
|
|
8353
|
+
* From a previous page’s `next_cursor`. Opaque — do not parse it.
|
|
8354
|
+
*/
|
|
8355
|
+
cursor?: string;
|
|
7873
8356
|
};
|
|
7874
8357
|
url: '/identities/{id}/calendar/events/{eventId}/instances';
|
|
7875
8358
|
};
|
|
@@ -7936,6 +8419,10 @@ type CalendarGetAgendaData = {
|
|
|
7936
8419
|
before?: string;
|
|
7937
8420
|
include_overlapping?: 'true' | 'false';
|
|
7938
8421
|
limit?: number;
|
|
8422
|
+
/**
|
|
8423
|
+
* From a previous page’s `next_cursor`. Opaque — do not parse it.
|
|
8424
|
+
*/
|
|
8425
|
+
cursor?: string;
|
|
7939
8426
|
};
|
|
7940
8427
|
url: '/identities/{id}/calendar/agenda';
|
|
7941
8428
|
};
|
|
@@ -8228,6 +8715,10 @@ type DraftsListData = {
|
|
|
8228
8715
|
query: {
|
|
8229
8716
|
identity_id: string;
|
|
8230
8717
|
limit?: number;
|
|
8718
|
+
/**
|
|
8719
|
+
* From a previous page’s `next_cursor`. Opaque — do not parse it.
|
|
8720
|
+
*/
|
|
8721
|
+
cursor?: string;
|
|
8231
8722
|
};
|
|
8232
8723
|
url: '/drafts';
|
|
8233
8724
|
};
|
|
@@ -8396,6 +8887,12 @@ type DraftsCreateResponses = {
|
|
|
8396
8887
|
type DraftsCreateResponse = DraftsCreateResponses[keyof DraftsCreateResponses];
|
|
8397
8888
|
type DraftsDeleteData = {
|
|
8398
8889
|
body?: never;
|
|
8890
|
+
headers?: {
|
|
8891
|
+
/**
|
|
8892
|
+
* Any string unique to this attempt, reused on its retries. A repeat with the same key and the same request returns the first answer with `Idempotent-Replay: true` and does nothing — no second email. The same key with a different request is a `409`. Kept for 24 hours; a failure is not kept, so a retry after one runs.
|
|
8893
|
+
*/
|
|
8894
|
+
'Idempotency-Key'?: string;
|
|
8895
|
+
};
|
|
8399
8896
|
path: {
|
|
8400
8897
|
id: string;
|
|
8401
8898
|
};
|
|
@@ -8420,7 +8917,7 @@ type DraftsDeleteErrors = {
|
|
|
8420
8917
|
*/
|
|
8421
8918
|
404: Error;
|
|
8422
8919
|
/**
|
|
8423
|
-
*
|
|
8920
|
+
* Nothing was done by this call. `error.code` says which: `idempotency_in_progress` when the first request with this `Idempotency-Key` has not answered yet (wait `Retry-After` seconds and send it again), `idempotency_mismatch` when the key was used with a different request (use a new key).
|
|
8424
8921
|
*/
|
|
8425
8922
|
409: Error;
|
|
8426
8923
|
/**
|
|
@@ -8435,6 +8932,10 @@ type DraftsDeleteErrors = {
|
|
|
8435
8932
|
* Something this needs is not answering right now. Retry in a moment.
|
|
8436
8933
|
*/
|
|
8437
8934
|
503: Error;
|
|
8935
|
+
/**
|
|
8936
|
+
* Test mode only: `Pidgeon-Test-Fail: drop` dropped the answer (`test_dropped`). The request was done; retry it with the same `Idempotency-Key` to get the first answer.
|
|
8937
|
+
*/
|
|
8938
|
+
504: Error;
|
|
8438
8939
|
};
|
|
8439
8940
|
type DraftsDeleteError = DraftsDeleteErrors[keyof DraftsDeleteErrors];
|
|
8440
8941
|
type DraftsDeleteResponses = {
|
|
@@ -8542,6 +9043,12 @@ type DraftsUpdateData = {
|
|
|
8542
9043
|
*/
|
|
8543
9044
|
attachment_ids?: Array<string>;
|
|
8544
9045
|
};
|
|
9046
|
+
headers?: {
|
|
9047
|
+
/**
|
|
9048
|
+
* Any string unique to this attempt, reused on its retries. A repeat with the same key and the same request returns the first answer with `Idempotent-Replay: true` and does nothing — no second email. The same key with a different request is a `409`. Kept for 24 hours; a failure is not kept, so a retry after one runs.
|
|
9049
|
+
*/
|
|
9050
|
+
'Idempotency-Key'?: string;
|
|
9051
|
+
};
|
|
8545
9052
|
path: {
|
|
8546
9053
|
id: string;
|
|
8547
9054
|
};
|
|
@@ -8566,7 +9073,7 @@ type DraftsUpdateErrors = {
|
|
|
8566
9073
|
*/
|
|
8567
9074
|
404: Error;
|
|
8568
9075
|
/**
|
|
8569
|
-
*
|
|
9076
|
+
* Nothing was done by this call. `error.code` says which: `idempotency_in_progress` when the first request with this `Idempotency-Key` has not answered yet (wait `Retry-After` seconds and send it again), `idempotency_mismatch` when the key was used with a different request (use a new key).
|
|
8570
9077
|
*/
|
|
8571
9078
|
409: Error;
|
|
8572
9079
|
/**
|
|
@@ -8581,6 +9088,10 @@ type DraftsUpdateErrors = {
|
|
|
8581
9088
|
* Something this needs is not answering right now. Retry in a moment.
|
|
8582
9089
|
*/
|
|
8583
9090
|
503: Error;
|
|
9091
|
+
/**
|
|
9092
|
+
* Test mode only: `Pidgeon-Test-Fail: drop` dropped the answer (`test_dropped`). The request was done; retry it with the same `Idempotency-Key` to get the first answer.
|
|
9093
|
+
*/
|
|
9094
|
+
504: Error;
|
|
8584
9095
|
};
|
|
8585
9096
|
type DraftsUpdateError = DraftsUpdateErrors[keyof DraftsUpdateErrors];
|
|
8586
9097
|
type DraftsUpdateResponses = {
|
|
@@ -8656,6 +9167,12 @@ type DraftsSendResponses = {
|
|
|
8656
9167
|
type DraftsSendResponse = DraftsSendResponses[keyof DraftsSendResponses];
|
|
8657
9168
|
type DraftsCancelScheduleData = {
|
|
8658
9169
|
body?: never;
|
|
9170
|
+
headers?: {
|
|
9171
|
+
/**
|
|
9172
|
+
* Any string unique to this attempt, reused on its retries. A repeat with the same key and the same request returns the first answer with `Idempotent-Replay: true` and does nothing — no second email. The same key with a different request is a `409`. Kept for 24 hours; a failure is not kept, so a retry after one runs.
|
|
9173
|
+
*/
|
|
9174
|
+
'Idempotency-Key'?: string;
|
|
9175
|
+
};
|
|
8659
9176
|
path: {
|
|
8660
9177
|
id: string;
|
|
8661
9178
|
};
|
|
@@ -8680,7 +9197,7 @@ type DraftsCancelScheduleErrors = {
|
|
|
8680
9197
|
*/
|
|
8681
9198
|
404: Error;
|
|
8682
9199
|
/**
|
|
8683
|
-
*
|
|
9200
|
+
* Nothing was done by this call. `error.code` says which: `idempotency_in_progress` when the first request with this `Idempotency-Key` has not answered yet (wait `Retry-After` seconds and send it again), `idempotency_mismatch` when the key was used with a different request (use a new key).
|
|
8684
9201
|
*/
|
|
8685
9202
|
409: Error;
|
|
8686
9203
|
/**
|
|
@@ -8695,6 +9212,10 @@ type DraftsCancelScheduleErrors = {
|
|
|
8695
9212
|
* Something this needs is not answering right now. Retry in a moment.
|
|
8696
9213
|
*/
|
|
8697
9214
|
503: Error;
|
|
9215
|
+
/**
|
|
9216
|
+
* Test mode only: `Pidgeon-Test-Fail: drop` dropped the answer (`test_dropped`). The request was done; retry it with the same `Idempotency-Key` to get the first answer.
|
|
9217
|
+
*/
|
|
9218
|
+
504: Error;
|
|
8698
9219
|
};
|
|
8699
9220
|
type DraftsCancelScheduleError = DraftsCancelScheduleErrors[keyof DraftsCancelScheduleErrors];
|
|
8700
9221
|
type DraftsCancelScheduleResponses = {
|
|
@@ -8772,6 +9293,12 @@ type DraftsScheduleResponses = {
|
|
|
8772
9293
|
type DraftsScheduleResponse = DraftsScheduleResponses[keyof DraftsScheduleResponses];
|
|
8773
9294
|
type DraftsRemoveAttachmentData = {
|
|
8774
9295
|
body?: never;
|
|
9296
|
+
headers?: {
|
|
9297
|
+
/**
|
|
9298
|
+
* Any string unique to this attempt, reused on its retries. A repeat with the same key and the same request returns the first answer with `Idempotent-Replay: true` and does nothing — no second email. The same key with a different request is a `409`. Kept for 24 hours; a failure is not kept, so a retry after one runs.
|
|
9299
|
+
*/
|
|
9300
|
+
'Idempotency-Key'?: string;
|
|
9301
|
+
};
|
|
8775
9302
|
path: {
|
|
8776
9303
|
id: string;
|
|
8777
9304
|
attachmentId: string;
|
|
@@ -8797,7 +9324,7 @@ type DraftsRemoveAttachmentErrors = {
|
|
|
8797
9324
|
*/
|
|
8798
9325
|
404: Error;
|
|
8799
9326
|
/**
|
|
8800
|
-
*
|
|
9327
|
+
* Nothing was done by this call. `error.code` says which: `idempotency_in_progress` when the first request with this `Idempotency-Key` has not answered yet (wait `Retry-After` seconds and send it again), `idempotency_mismatch` when the key was used with a different request (use a new key).
|
|
8801
9328
|
*/
|
|
8802
9329
|
409: Error;
|
|
8803
9330
|
/**
|
|
@@ -8812,6 +9339,10 @@ type DraftsRemoveAttachmentErrors = {
|
|
|
8812
9339
|
* Something this needs is not answering right now. Retry in a moment.
|
|
8813
9340
|
*/
|
|
8814
9341
|
503: Error;
|
|
9342
|
+
/**
|
|
9343
|
+
* Test mode only: `Pidgeon-Test-Fail: drop` dropped the answer (`test_dropped`). The request was done; retry it with the same `Idempotency-Key` to get the first answer.
|
|
9344
|
+
*/
|
|
9345
|
+
504: Error;
|
|
8815
9346
|
};
|
|
8816
9347
|
type DraftsRemoveAttachmentError = DraftsRemoveAttachmentErrors[keyof DraftsRemoveAttachmentErrors];
|
|
8817
9348
|
type DraftsRemoveAttachmentResponses = {
|
|
@@ -8882,6 +9413,12 @@ type AttachmentsUploadData = {
|
|
|
8882
9413
|
identity_id: string;
|
|
8883
9414
|
file: Blob | File;
|
|
8884
9415
|
};
|
|
9416
|
+
headers?: {
|
|
9417
|
+
/**
|
|
9418
|
+
* Any string unique to this attempt, reused on its retries. A repeat with the same key and the same request returns the first answer with `Idempotent-Replay: true` and does nothing — no second email. The same key with a different request is a `409`. Kept for 24 hours; a failure is not kept, so a retry after one runs.
|
|
9419
|
+
*/
|
|
9420
|
+
'Idempotency-Key'?: string;
|
|
9421
|
+
};
|
|
8885
9422
|
path?: never;
|
|
8886
9423
|
query?: never;
|
|
8887
9424
|
url: '/attachments';
|
|
@@ -8904,7 +9441,7 @@ type AttachmentsUploadErrors = {
|
|
|
8904
9441
|
*/
|
|
8905
9442
|
404: Error;
|
|
8906
9443
|
/**
|
|
8907
|
-
*
|
|
9444
|
+
* Nothing was done by this call. `error.code` says which: `idempotency_in_progress` when the first request with this `Idempotency-Key` has not answered yet (wait `Retry-After` seconds and send it again), `idempotency_mismatch` when the key was used with a different request (use a new key).
|
|
8908
9445
|
*/
|
|
8909
9446
|
409: Error;
|
|
8910
9447
|
/**
|
|
@@ -8919,6 +9456,10 @@ type AttachmentsUploadErrors = {
|
|
|
8919
9456
|
* Something this needs is not answering right now. Retry in a moment.
|
|
8920
9457
|
*/
|
|
8921
9458
|
503: Error;
|
|
9459
|
+
/**
|
|
9460
|
+
* Test mode only: `Pidgeon-Test-Fail: drop` dropped the answer (`test_dropped`). The request was done; retry it with the same `Idempotency-Key` to get the first answer.
|
|
9461
|
+
*/
|
|
9462
|
+
504: Error;
|
|
8922
9463
|
};
|
|
8923
9464
|
type AttachmentsUploadError = AttachmentsUploadErrors[keyof AttachmentsUploadErrors];
|
|
8924
9465
|
type AttachmentsUploadResponses = {
|
|
@@ -9335,7 +9876,7 @@ declare const domainsList: <ThrowOnError extends boolean = false>(options?: Opti
|
|
|
9335
9876
|
/**
|
|
9336
9877
|
* Connect a domain
|
|
9337
9878
|
*
|
|
9338
|
-
* Returns the domain **and the records to publish**, because showing them to your own customer is the one thing every caller does next. DNS is the step this API cannot perform — we cannot write in somebody else’s zone — so the job is to make the human step delegable. Watch `dns_complete`: it is false while the DKIM records do not exist yet, and a list published in that state verifies and cannot sign mail.
|
|
9879
|
+
* Returns the domain **and the records to publish**, because showing them to your own customer is the one thing every caller does next. DNS is the step this API cannot perform — we cannot write in somebody else’s zone — so the job is to make the human step delegable. Watch `dns_complete`: it is false while the DKIM records do not exist yet, and a list published in that state verifies and cannot sign mail. Watch `existing_mail` too: when the domain already receives mail elsewhere it names the provider, and with `inbound_enabled` true, publishing the MX record stops that mail arriving there. Send `inbound_enabled: false` to send as the domain and leave its mail alone, or use a subdomain such as `agents.` for inboxes.
|
|
9339
9880
|
*/
|
|
9340
9881
|
declare const domainsCreate: <ThrowOnError extends boolean = false>(options: Options<DomainsCreateData, ThrowOnError>) => RequestResult<DomainsCreateResponses, DomainsCreateErrors, ThrowOnError>;
|
|
9341
9882
|
/**
|
|
@@ -9854,4 +10395,4 @@ interface StreamOptions {
|
|
|
9854
10395
|
*/
|
|
9855
10396
|
declare function streamEvents(options: StreamOptions): AsyncGenerator<StreamedEvent>;
|
|
9856
10397
|
|
|
9857
|
-
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 ApiKeyCreated, 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 AttachmentText, type AttachmentUrl, type AttachmentsDownloadUrlData, type AttachmentsDownloadUrlError, type AttachmentsDownloadUrlErrors, type AttachmentsDownloadUrlResponse, type AttachmentsDownloadUrlResponses, type AttachmentsTextData, type AttachmentsTextError, type AttachmentsTextErrors, type AttachmentsTextResponse, type AttachmentsTextResponses, 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 EventsSocketData, type EventsSocketError, type EventsSocketErrors, type EventsStreamData, type EventsStreamError, type EventsStreamErrors, type EventsStreamResponse, type EventsStreamResponses, type ExportMailData, type ExportMailError, type ExportMailErrors, type ExportMailResponse, type ExportMailResponses, 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 KeysRotateData, type KeysRotateError, type KeysRotateErrors, type KeysRotateResponse, type KeysRotateResponses, 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 PodCreated, type PodDeleted, type PodsCreateData, type PodsCreateError, type PodsCreateErrors, type PodsCreateResponse, type PodsCreateResponses, type PodsDeleteData, type PodsDeleteError, type PodsDeleteErrors, type PodsDeleteResponse, type PodsDeleteResponses, 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 TestInboundData, type TestInboundDelivered, type TestInboundError, type TestInboundErrors, type TestInboundResponse, type TestInboundResponses, 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, attachmentsText, 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, eventsSocket, eventsStream, exportMail, identitiesAccessCreate, identitiesAccessDelete, identitiesAccessGet, identitiesCreate, identitiesDelete, identitiesGet, identitiesList, identitiesReceiveRulesCreate, identitiesReceiveRulesDelete, identitiesReceiveRulesGet, identitiesSendRulesCreate, identitiesSendRulesDelete, identitiesSendRulesGet, identitiesSuspendTenant, identitiesUpdate, keysCreate, keysGet, keysList, keysRevoke, keysRotate, 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, podsDelete, podsGet, podsList, podsUpdate, routingCreate, routingDelete, routingList, routingUpdate, streamEvents, testInbound, threadsGet, threadsLabelsCreate, threadsLabelsDelete, threadsLabelsGet, threadsList, threadsUpdate, verifyWebhook, webhooksCreate, webhooksDelete, webhooksDeliveries, webhooksGet, webhooksGetHeaders, webhooksList, webhooksReplay, webhooksUpdate, webhooksUpdateHeaders, workspaceGet, workspaceMembers };
|
|
10398
|
+
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 ApiKeyCreated, type AppPassword, type AppPasswordCreated, 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 AttachmentText, type AttachmentUrl, type AttachmentsDownloadUrlData, type AttachmentsDownloadUrlError, type AttachmentsDownloadUrlErrors, type AttachmentsDownloadUrlResponse, type AttachmentsDownloadUrlResponses, type AttachmentsTextData, type AttachmentsTextError, type AttachmentsTextErrors, type AttachmentsTextResponse, type AttachmentsTextResponses, 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 CreatedDomain, 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 EventsSocketData, type EventsSocketError, type EventsSocketErrors, type EventsStreamData, type EventsStreamError, type EventsStreamErrors, type EventsStreamResponse, type EventsStreamResponses, type ExportMailData, type ExportMailError, type ExportMailErrors, type ExportMailResponse, type ExportMailResponses, 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 KeysRotateData, type KeysRotateError, type KeysRotateErrors, type KeysRotateResponse, type KeysRotateResponses, 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 PodCreated, type PodDeleted, type PodsCreateData, type PodsCreateError, type PodsCreateErrors, type PodsCreateResponse, type PodsCreateResponses, type PodsDeleteData, type PodsDeleteError, type PodsDeleteErrors, type PodsDeleteResponse, type PodsDeleteResponses, 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 TestInboundData, type TestInboundDelivered, type TestInboundError, type TestInboundErrors, type TestInboundResponse, type TestInboundResponses, 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, attachmentsText, 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, eventsSocket, eventsStream, exportMail, identitiesAccessCreate, identitiesAccessDelete, identitiesAccessGet, identitiesCreate, identitiesDelete, identitiesGet, identitiesList, identitiesReceiveRulesCreate, identitiesReceiveRulesDelete, identitiesReceiveRulesGet, identitiesSendRulesCreate, identitiesSendRulesDelete, identitiesSendRulesGet, identitiesSuspendTenant, identitiesUpdate, keysCreate, keysGet, keysList, keysRevoke, keysRotate, 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, podsDelete, podsGet, podsList, podsUpdate, routingCreate, routingDelete, routingList, routingUpdate, streamEvents, testInbound, threadsGet, threadsLabelsCreate, threadsLabelsDelete, threadsLabelsGet, threadsList, threadsUpdate, verifyWebhook, webhooksCreate, webhooksDelete, webhooksDeliveries, webhooksGet, webhooksGetHeaders, webhooksList, webhooksReplay, webhooksUpdate, webhooksUpdateHeaders, workspaceGet, workspaceMembers };
|