@pidgeon-ai/sdk 1.36.0 → 1.38.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -497,7 +497,7 @@ type Message = {
497
497
  [key: string]: string;
498
498
  };
499
499
  /**
500
- * What the receiving transport said about the sending domain. Null means it did not report, not that the check failed — normal on outbound, and on inbound it is the difference between unknown and forged. A `From:` is the sending domain's own word when `dmarc` or `signature` is `pass`.
500
+ * What the receiving transport said about the sending domain. Null means it did not report, not that the check failed — normal on outbound, and on inbound it is the difference between unknown and forged. A `From:` is the sending domain's own word when `dmarc` or `signature` is `pass`, or `arc` is set.
501
501
  */
502
502
  authentication: {
503
503
  spf: string | null;
@@ -507,6 +507,16 @@ type Message = {
507
507
  * `pass` when the message came from another Pidgeon address directly, and its signed sender verified against the sending domain's published key. Null on mail that came through SMTP, which DMARC speaks for instead.
508
508
  */
509
509
  signature: string | null;
510
+ /**
511
+ * Set when `dmarc` did not pass here, but the message was forwarded by a sealer Pidgeon trusts (Google, for a Gmail or Workspace forward), its ARC chain verified, and that sealer recorded DMARC pass for the `From:` domain. Null otherwise.
512
+ */
513
+ arc: {
514
+ /**
515
+ * The forwarder that sealed it, such as `google.com`.
516
+ */
517
+ sealer: string;
518
+ dmarc: 'pass';
519
+ } | null;
510
520
  };
511
521
  /**
512
522
  * Who this message says it is from. A Pidgeon sender declares it on every message it sends; mail from ordinary email has only the address.
@@ -717,7 +727,7 @@ type AwaitedMessage = {
717
727
  [key: string]: string;
718
728
  };
719
729
  /**
720
- * What the receiving transport said about the sending domain. Null means it did not report, not that the check failed — normal on outbound, and on inbound it is the difference between unknown and forged. A `From:` is the sending domain's own word when `dmarc` or `signature` is `pass`.
730
+ * What the receiving transport said about the sending domain. Null means it did not report, not that the check failed — normal on outbound, and on inbound it is the difference between unknown and forged. A `From:` is the sending domain's own word when `dmarc` or `signature` is `pass`, or `arc` is set.
721
731
  */
722
732
  authentication: {
723
733
  spf: string | null;
@@ -727,6 +737,16 @@ type AwaitedMessage = {
727
737
  * `pass` when the message came from another Pidgeon address directly, and its signed sender verified against the sending domain's published key. Null on mail that came through SMTP, which DMARC speaks for instead.
728
738
  */
729
739
  signature: string | null;
740
+ /**
741
+ * Set when `dmarc` did not pass here, but the message was forwarded by a sealer Pidgeon trusts (Google, for a Gmail or Workspace forward), its ARC chain verified, and that sealer recorded DMARC pass for the `From:` domain. Null otherwise.
742
+ */
743
+ arc: {
744
+ /**
745
+ * The forwarder that sealed it, such as `google.com`.
746
+ */
747
+ sealer: string;
748
+ dmarc: 'pass';
749
+ } | null;
730
750
  };
731
751
  /**
732
752
  * Who this message says it is from. A Pidgeon sender declares it on every message it sends; mail from ordinary email has only the address.
@@ -962,9 +982,9 @@ type WebhookCreated = {
962
982
  */
963
983
  created_at: string;
964
984
  /**
965
- * Shown once, here, and never again.
985
+ * 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
986
  */
967
- secret: string;
987
+ secret: string | null;
968
988
  };
969
989
  type Draft = {
970
990
  id: string;
@@ -1592,6 +1612,25 @@ type AppPassword = {
1592
1612
  */
1593
1613
  created_at: string;
1594
1614
  };
1615
+ type AppPasswordCreated = {
1616
+ id: string;
1617
+ name: string;
1618
+ prefix: string;
1619
+ last_used_at: string | null;
1620
+ revoked_at: string | null;
1621
+ /**
1622
+ * ISO-8601, UTC.
1623
+ */
1624
+ created_at: string;
1625
+ /**
1626
+ * The address, as a mail client wants it.
1627
+ */
1628
+ username: string;
1629
+ /**
1630
+ * 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.
1631
+ */
1632
+ password: string | null;
1633
+ };
1595
1634
  type Workspace = {
1596
1635
  id: string;
1597
1636
  name: string;
@@ -1685,6 +1724,43 @@ type UploadedAttachment = {
1685
1724
  };
1686
1725
  type MailboxChange = {
1687
1726
  id: string;
1727
+ identity_id?: string | null;
1728
+ thread_id?: string;
1729
+ direction?: string;
1730
+ /**
1731
+ * The address that sent it.
1732
+ */
1733
+ from?: string;
1734
+ /**
1735
+ * The sender’s display name, when it had one.
1736
+ */
1737
+ from_name?: string | null;
1738
+ /**
1739
+ * Every address it was sent to.
1740
+ */
1741
+ to?: Array<string>;
1742
+ /**
1743
+ * 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.
1744
+ */
1745
+ counterparty?: string;
1746
+ /**
1747
+ * The same party, as a name to show.
1748
+ */
1749
+ counterparty_name?: string;
1750
+ subject?: string | null;
1751
+ preview?: string | null;
1752
+ is_read?: boolean;
1753
+ is_starred?: boolean;
1754
+ is_draft?: boolean;
1755
+ is_spam?: boolean;
1756
+ has_attachments?: boolean;
1757
+ attachment_count?: number;
1758
+ message_count?: number;
1759
+ assignee_id?: string | null;
1760
+ /**
1761
+ * ISO-8601, UTC.
1762
+ */
1763
+ timestamp?: string;
1688
1764
  /**
1689
1765
  * ISO-8601, UTC.
1690
1766
  */
@@ -1698,7 +1774,17 @@ type Restored = {
1698
1774
  type Undo = {
1699
1775
  id?: string;
1700
1776
  applied?: number;
1701
- undo: Array<unknown>;
1777
+ undo: Array<{
1778
+ messageId: string;
1779
+ rows: Array<{
1780
+ id: string;
1781
+ is_starred: boolean;
1782
+ is_archived: boolean;
1783
+ is_deleted: boolean;
1784
+ is_spam: boolean;
1785
+ }>;
1786
+ read?: Array<string>;
1787
+ }>;
1702
1788
  };
1703
1789
  type MessageListItem = {
1704
1790
  id: string;
@@ -2481,6 +2567,12 @@ type IdentitiesCreateResponses = {
2481
2567
  type IdentitiesCreateResponse = IdentitiesCreateResponses[keyof IdentitiesCreateResponses];
2482
2568
  type IdentitiesDeleteData = {
2483
2569
  body?: never;
2570
+ headers?: {
2571
+ /**
2572
+ * 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.
2573
+ */
2574
+ 'Idempotency-Key'?: string;
2575
+ };
2484
2576
  path: {
2485
2577
  id: string;
2486
2578
  };
@@ -2505,7 +2597,7 @@ type IdentitiesDeleteErrors = {
2505
2597
  */
2506
2598
  404: Error;
2507
2599
  /**
2508
- * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
2600
+ * 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).
2509
2601
  */
2510
2602
  409: Error;
2511
2603
  /**
@@ -2520,6 +2612,10 @@ type IdentitiesDeleteErrors = {
2520
2612
  * Something this needs is not answering right now. Retry in a moment.
2521
2613
  */
2522
2614
  503: Error;
2615
+ /**
2616
+ * 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.
2617
+ */
2618
+ 504: Error;
2523
2619
  };
2524
2620
  type IdentitiesDeleteError = IdentitiesDeleteErrors[keyof IdentitiesDeleteErrors];
2525
2621
  type IdentitiesDeleteResponses = {
@@ -2618,6 +2714,12 @@ type IdentitiesUpdateData = {
2618
2714
  */
2619
2715
  pod_id?: string | null;
2620
2716
  };
2717
+ headers?: {
2718
+ /**
2719
+ * 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.
2720
+ */
2721
+ 'Idempotency-Key'?: string;
2722
+ };
2621
2723
  path: {
2622
2724
  id: string;
2623
2725
  };
@@ -2642,7 +2744,7 @@ type IdentitiesUpdateErrors = {
2642
2744
  */
2643
2745
  404: Error;
2644
2746
  /**
2645
- * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
2747
+ * 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).
2646
2748
  */
2647
2749
  409: Error;
2648
2750
  /**
@@ -2657,6 +2759,10 @@ type IdentitiesUpdateErrors = {
2657
2759
  * Something this needs is not answering right now. Retry in a moment.
2658
2760
  */
2659
2761
  503: Error;
2762
+ /**
2763
+ * 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.
2764
+ */
2765
+ 504: Error;
2660
2766
  };
2661
2767
  type IdentitiesUpdateError = IdentitiesUpdateErrors[keyof IdentitiesUpdateErrors];
2662
2768
  type IdentitiesUpdateResponses = {
@@ -2670,6 +2776,12 @@ type IdentitiesUpdateResponses = {
2670
2776
  type IdentitiesUpdateResponse = IdentitiesUpdateResponses[keyof IdentitiesUpdateResponses];
2671
2777
  type IdentitiesAccessDeleteData = {
2672
2778
  body?: never;
2779
+ headers?: {
2780
+ /**
2781
+ * 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.
2782
+ */
2783
+ 'Idempotency-Key'?: string;
2784
+ };
2673
2785
  path: {
2674
2786
  id: string;
2675
2787
  };
@@ -2696,7 +2808,7 @@ type IdentitiesAccessDeleteErrors = {
2696
2808
  */
2697
2809
  404: Error;
2698
2810
  /**
2699
- * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
2811
+ * 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).
2700
2812
  */
2701
2813
  409: Error;
2702
2814
  /**
@@ -2711,6 +2823,10 @@ type IdentitiesAccessDeleteErrors = {
2711
2823
  * Something this needs is not answering right now. Retry in a moment.
2712
2824
  */
2713
2825
  503: Error;
2826
+ /**
2827
+ * 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.
2828
+ */
2829
+ 504: Error;
2714
2830
  };
2715
2831
  type IdentitiesAccessDeleteError = IdentitiesAccessDeleteErrors[keyof IdentitiesAccessDeleteErrors];
2716
2832
  type IdentitiesAccessDeleteResponses = {
@@ -2784,6 +2900,12 @@ type IdentitiesAccessCreateData = {
2784
2900
  */
2785
2901
  access: 'read' | 'send' | 'admin';
2786
2902
  };
2903
+ headers?: {
2904
+ /**
2905
+ * 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.
2906
+ */
2907
+ 'Idempotency-Key'?: string;
2908
+ };
2787
2909
  path: {
2788
2910
  id: string;
2789
2911
  };
@@ -2808,7 +2930,7 @@ type IdentitiesAccessCreateErrors = {
2808
2930
  */
2809
2931
  404: Error;
2810
2932
  /**
2811
- * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
2933
+ * 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).
2812
2934
  */
2813
2935
  409: Error;
2814
2936
  /**
@@ -2823,6 +2945,10 @@ type IdentitiesAccessCreateErrors = {
2823
2945
  * Something this needs is not answering right now. Retry in a moment.
2824
2946
  */
2825
2947
  503: Error;
2948
+ /**
2949
+ * 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.
2950
+ */
2951
+ 504: Error;
2826
2952
  };
2827
2953
  type IdentitiesAccessCreateError = IdentitiesAccessCreateErrors[keyof IdentitiesAccessCreateErrors];
2828
2954
  type IdentitiesAccessCreateResponses = {
@@ -2836,6 +2962,12 @@ type IdentitiesAccessCreateResponses = {
2836
2962
  type IdentitiesAccessCreateResponse = IdentitiesAccessCreateResponses[keyof IdentitiesAccessCreateResponses];
2837
2963
  type IdentitiesSendRulesDeleteData = {
2838
2964
  body?: never;
2965
+ headers?: {
2966
+ /**
2967
+ * 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.
2968
+ */
2969
+ 'Idempotency-Key'?: string;
2970
+ };
2839
2971
  path: {
2840
2972
  id: string;
2841
2973
  };
@@ -2862,7 +2994,7 @@ type IdentitiesSendRulesDeleteErrors = {
2862
2994
  */
2863
2995
  404: Error;
2864
2996
  /**
2865
- * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
2997
+ * 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).
2866
2998
  */
2867
2999
  409: Error;
2868
3000
  /**
@@ -2877,6 +3009,10 @@ type IdentitiesSendRulesDeleteErrors = {
2877
3009
  * Something this needs is not answering right now. Retry in a moment.
2878
3010
  */
2879
3011
  503: Error;
3012
+ /**
3013
+ * 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.
3014
+ */
3015
+ 504: Error;
2880
3016
  };
2881
3017
  type IdentitiesSendRulesDeleteError = IdentitiesSendRulesDeleteErrors[keyof IdentitiesSendRulesDeleteErrors];
2882
3018
  type IdentitiesSendRulesDeleteResponses = {
@@ -2945,6 +3081,12 @@ type IdentitiesSendRulesCreateData = {
2945
3081
  effect: 'allow' | 'block';
2946
3082
  value: string;
2947
3083
  };
3084
+ headers?: {
3085
+ /**
3086
+ * 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.
3087
+ */
3088
+ 'Idempotency-Key'?: string;
3089
+ };
2948
3090
  path: {
2949
3091
  id: string;
2950
3092
  };
@@ -2969,7 +3111,7 @@ type IdentitiesSendRulesCreateErrors = {
2969
3111
  */
2970
3112
  404: Error;
2971
3113
  /**
2972
- * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
3114
+ * 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).
2973
3115
  */
2974
3116
  409: Error;
2975
3117
  /**
@@ -2984,6 +3126,10 @@ type IdentitiesSendRulesCreateErrors = {
2984
3126
  * Something this needs is not answering right now. Retry in a moment.
2985
3127
  */
2986
3128
  503: Error;
3129
+ /**
3130
+ * 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.
3131
+ */
3132
+ 504: Error;
2987
3133
  };
2988
3134
  type IdentitiesSendRulesCreateError = IdentitiesSendRulesCreateErrors[keyof IdentitiesSendRulesCreateErrors];
2989
3135
  type IdentitiesSendRulesCreateResponses = {
@@ -2997,6 +3143,12 @@ type IdentitiesSendRulesCreateResponses = {
2997
3143
  type IdentitiesSendRulesCreateResponse = IdentitiesSendRulesCreateResponses[keyof IdentitiesSendRulesCreateResponses];
2998
3144
  type IdentitiesReceiveRulesDeleteData = {
2999
3145
  body?: never;
3146
+ headers?: {
3147
+ /**
3148
+ * 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.
3149
+ */
3150
+ 'Idempotency-Key'?: string;
3151
+ };
3000
3152
  path: {
3001
3153
  id: string;
3002
3154
  };
@@ -3023,7 +3175,7 @@ type IdentitiesReceiveRulesDeleteErrors = {
3023
3175
  */
3024
3176
  404: Error;
3025
3177
  /**
3026
- * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
3178
+ * 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).
3027
3179
  */
3028
3180
  409: Error;
3029
3181
  /**
@@ -3038,6 +3190,10 @@ type IdentitiesReceiveRulesDeleteErrors = {
3038
3190
  * Something this needs is not answering right now. Retry in a moment.
3039
3191
  */
3040
3192
  503: Error;
3193
+ /**
3194
+ * 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.
3195
+ */
3196
+ 504: Error;
3041
3197
  };
3042
3198
  type IdentitiesReceiveRulesDeleteError = IdentitiesReceiveRulesDeleteErrors[keyof IdentitiesReceiveRulesDeleteErrors];
3043
3199
  type IdentitiesReceiveRulesDeleteResponses = {
@@ -3106,6 +3262,12 @@ type IdentitiesReceiveRulesCreateData = {
3106
3262
  action: 'reject' | 'spam' | 'trash' | 'archive' | 'inbox';
3107
3263
  value: string;
3108
3264
  };
3265
+ headers?: {
3266
+ /**
3267
+ * 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.
3268
+ */
3269
+ 'Idempotency-Key'?: string;
3270
+ };
3109
3271
  path: {
3110
3272
  id: string;
3111
3273
  };
@@ -3130,7 +3292,7 @@ type IdentitiesReceiveRulesCreateErrors = {
3130
3292
  */
3131
3293
  404: Error;
3132
3294
  /**
3133
- * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
3295
+ * 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).
3134
3296
  */
3135
3297
  409: Error;
3136
3298
  /**
@@ -3145,6 +3307,10 @@ type IdentitiesReceiveRulesCreateErrors = {
3145
3307
  * Something this needs is not answering right now. Retry in a moment.
3146
3308
  */
3147
3309
  503: Error;
3310
+ /**
3311
+ * 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.
3312
+ */
3313
+ 504: Error;
3148
3314
  };
3149
3315
  type IdentitiesReceiveRulesCreateError = IdentitiesReceiveRulesCreateErrors[keyof IdentitiesReceiveRulesCreateErrors];
3150
3316
  type IdentitiesReceiveRulesCreateResponses = {
@@ -3158,6 +3324,12 @@ type IdentitiesReceiveRulesCreateResponses = {
3158
3324
  type IdentitiesReceiveRulesCreateResponse = IdentitiesReceiveRulesCreateResponses[keyof IdentitiesReceiveRulesCreateResponses];
3159
3325
  type IdentitiesSuspendTenantData = {
3160
3326
  body?: never;
3327
+ headers?: {
3328
+ /**
3329
+ * 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.
3330
+ */
3331
+ 'Idempotency-Key'?: string;
3332
+ };
3161
3333
  path: {
3162
3334
  /**
3163
3335
  * Your own tenant id, URL-encoded.
@@ -3185,7 +3357,7 @@ type IdentitiesSuspendTenantErrors = {
3185
3357
  */
3186
3358
  404: Error;
3187
3359
  /**
3188
- * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
3360
+ * 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).
3189
3361
  */
3190
3362
  409: Error;
3191
3363
  /**
@@ -3200,6 +3372,10 @@ type IdentitiesSuspendTenantErrors = {
3200
3372
  * Something this needs is not answering right now. Retry in a moment.
3201
3373
  */
3202
3374
  503: Error;
3375
+ /**
3376
+ * 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.
3377
+ */
3378
+ 504: Error;
3203
3379
  };
3204
3380
  type IdentitiesSuspendTenantError = IdentitiesSuspendTenantErrors[keyof IdentitiesSuspendTenantErrors];
3205
3381
  type IdentitiesSuspendTenantResponses = {
@@ -3366,6 +3542,12 @@ type PodsCreateResponses = {
3366
3542
  type PodsCreateResponse = PodsCreateResponses[keyof PodsCreateResponses];
3367
3543
  type PodsDeleteData = {
3368
3544
  body?: never;
3545
+ headers?: {
3546
+ /**
3547
+ * 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.
3548
+ */
3549
+ 'Idempotency-Key'?: string;
3550
+ };
3369
3551
  path: {
3370
3552
  id: string;
3371
3553
  };
@@ -3395,7 +3577,7 @@ type PodsDeleteErrors = {
3395
3577
  */
3396
3578
  404: Error;
3397
3579
  /**
3398
- * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
3580
+ * 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).
3399
3581
  */
3400
3582
  409: Error;
3401
3583
  /**
@@ -3410,6 +3592,10 @@ type PodsDeleteErrors = {
3410
3592
  * Something this needs is not answering right now. Retry in a moment.
3411
3593
  */
3412
3594
  503: Error;
3595
+ /**
3596
+ * 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.
3597
+ */
3598
+ 504: Error;
3413
3599
  };
3414
3600
  type PodsDeleteError = PodsDeleteErrors[keyof PodsDeleteErrors];
3415
3601
  type PodsDeleteResponses = {
@@ -3481,6 +3667,12 @@ type PodsUpdateData = {
3481
3667
  */
3482
3668
  client_id?: string | null;
3483
3669
  };
3670
+ headers?: {
3671
+ /**
3672
+ * 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.
3673
+ */
3674
+ 'Idempotency-Key'?: string;
3675
+ };
3484
3676
  path: {
3485
3677
  id: string;
3486
3678
  };
@@ -3505,7 +3697,7 @@ type PodsUpdateErrors = {
3505
3697
  */
3506
3698
  404: Error;
3507
3699
  /**
3508
- * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
3700
+ * 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).
3509
3701
  */
3510
3702
  409: Error;
3511
3703
  /**
@@ -3520,6 +3712,10 @@ type PodsUpdateErrors = {
3520
3712
  * Something this needs is not answering right now. Retry in a moment.
3521
3713
  */
3522
3714
  503: Error;
3715
+ /**
3716
+ * 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.
3717
+ */
3718
+ 504: Error;
3523
3719
  };
3524
3720
  type PodsUpdateError = PodsUpdateErrors[keyof PodsUpdateErrors];
3525
3721
  type PodsUpdateResponses = {
@@ -3657,6 +3853,12 @@ type LabelsCreateResponses = {
3657
3853
  type LabelsCreateResponse = LabelsCreateResponses[keyof LabelsCreateResponses];
3658
3854
  type LabelsDeleteData = {
3659
3855
  body?: never;
3856
+ headers?: {
3857
+ /**
3858
+ * 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.
3859
+ */
3860
+ 'Idempotency-Key'?: string;
3861
+ };
3660
3862
  path: {
3661
3863
  id: string;
3662
3864
  };
@@ -3681,7 +3883,7 @@ type LabelsDeleteErrors = {
3681
3883
  */
3682
3884
  404: Error;
3683
3885
  /**
3684
- * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
3886
+ * 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).
3685
3887
  */
3686
3888
  409: Error;
3687
3889
  /**
@@ -3696,6 +3898,10 @@ type LabelsDeleteErrors = {
3696
3898
  * Something this needs is not answering right now. Retry in a moment.
3697
3899
  */
3698
3900
  503: Error;
3901
+ /**
3902
+ * 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.
3903
+ */
3904
+ 504: Error;
3699
3905
  };
3700
3906
  type LabelsDeleteError = LabelsDeleteErrors[keyof LabelsDeleteErrors];
3701
3907
  type LabelsDeleteResponses = {
@@ -3712,6 +3918,12 @@ type LabelsUpdateData = {
3712
3918
  name?: string;
3713
3919
  colour?: 'slate' | 'red' | 'amber' | 'green' | 'teal' | 'blue' | 'violet' | 'pink';
3714
3920
  };
3921
+ headers?: {
3922
+ /**
3923
+ * 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.
3924
+ */
3925
+ 'Idempotency-Key'?: string;
3926
+ };
3715
3927
  path: {
3716
3928
  id: string;
3717
3929
  };
@@ -3736,7 +3948,7 @@ type LabelsUpdateErrors = {
3736
3948
  */
3737
3949
  404: Error;
3738
3950
  /**
3739
- * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
3951
+ * 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).
3740
3952
  */
3741
3953
  409: Error;
3742
3954
  /**
@@ -3751,6 +3963,10 @@ type LabelsUpdateErrors = {
3751
3963
  * Something this needs is not answering right now. Retry in a moment.
3752
3964
  */
3753
3965
  503: Error;
3966
+ /**
3967
+ * 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.
3968
+ */
3969
+ 504: Error;
3754
3970
  };
3755
3971
  type LabelsUpdateError = LabelsUpdateErrors[keyof LabelsUpdateErrors];
3756
3972
  type LabelsUpdateResponses = {
@@ -3764,6 +3980,12 @@ type LabelsUpdateResponses = {
3764
3980
  type LabelsUpdateResponse = LabelsUpdateResponses[keyof LabelsUpdateResponses];
3765
3981
  type ThreadsLabelsDeleteData = {
3766
3982
  body?: never;
3983
+ headers?: {
3984
+ /**
3985
+ * 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.
3986
+ */
3987
+ 'Idempotency-Key'?: string;
3988
+ };
3767
3989
  path: {
3768
3990
  id: string;
3769
3991
  };
@@ -3790,7 +4012,7 @@ type ThreadsLabelsDeleteErrors = {
3790
4012
  */
3791
4013
  404: Error;
3792
4014
  /**
3793
- * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
4015
+ * 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).
3794
4016
  */
3795
4017
  409: Error;
3796
4018
  /**
@@ -3805,6 +4027,10 @@ type ThreadsLabelsDeleteErrors = {
3805
4027
  * Something this needs is not answering right now. Retry in a moment.
3806
4028
  */
3807
4029
  503: Error;
4030
+ /**
4031
+ * 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.
4032
+ */
4033
+ 504: Error;
3808
4034
  };
3809
4035
  type ThreadsLabelsDeleteError = ThreadsLabelsDeleteErrors[keyof ThreadsLabelsDeleteErrors];
3810
4036
  type ThreadsLabelsDeleteResponses = {
@@ -3877,6 +4103,12 @@ type ThreadsLabelsCreateData = {
3877
4103
  body: {
3878
4104
  label_id: string;
3879
4105
  };
4106
+ headers?: {
4107
+ /**
4108
+ * 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.
4109
+ */
4110
+ 'Idempotency-Key'?: string;
4111
+ };
3880
4112
  path: {
3881
4113
  id: string;
3882
4114
  };
@@ -3901,7 +4133,7 @@ type ThreadsLabelsCreateErrors = {
3901
4133
  */
3902
4134
  404: Error;
3903
4135
  /**
3904
- * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
4136
+ * 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).
3905
4137
  */
3906
4138
  409: Error;
3907
4139
  /**
@@ -3916,6 +4148,10 @@ type ThreadsLabelsCreateErrors = {
3916
4148
  * Something this needs is not answering right now. Retry in a moment.
3917
4149
  */
3918
4150
  503: Error;
4151
+ /**
4152
+ * 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.
4153
+ */
4154
+ 504: Error;
3919
4155
  };
3920
4156
  type ThreadsLabelsCreateError = ThreadsLabelsCreateErrors[keyof ThreadsLabelsCreateErrors];
3921
4157
  type ThreadsLabelsCreateResponses = {
@@ -4123,6 +4359,10 @@ type MessagesSearchData = {
4123
4359
  is_starred?: string;
4124
4360
  label_id?: string;
4125
4361
  limit?: number;
4362
+ /**
4363
+ * From a previous page’s `next_cursor`. Opaque — do not parse it.
4364
+ */
4365
+ cursor?: string;
4126
4366
  };
4127
4367
  url: '/messages/search';
4128
4368
  };
@@ -4183,6 +4423,12 @@ type MessagesActData = {
4183
4423
  */
4184
4424
  action: 'read' | 'unread' | 'star' | 'unstar' | 'archive' | 'unarchive' | 'delete' | 'restore' | 'spam' | 'not_spam' | 'delete_forever';
4185
4425
  };
4426
+ headers?: {
4427
+ /**
4428
+ * 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.
4429
+ */
4430
+ 'Idempotency-Key'?: string;
4431
+ };
4186
4432
  path?: never;
4187
4433
  query?: never;
4188
4434
  url: '/messages/actions';
@@ -4205,7 +4451,7 @@ type MessagesActErrors = {
4205
4451
  */
4206
4452
  404: Error;
4207
4453
  /**
4208
- * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
4454
+ * 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).
4209
4455
  */
4210
4456
  409: Error;
4211
4457
  /**
@@ -4220,6 +4466,10 @@ type MessagesActErrors = {
4220
4466
  * Something this needs is not answering right now. Retry in a moment.
4221
4467
  */
4222
4468
  503: Error;
4469
+ /**
4470
+ * 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.
4471
+ */
4472
+ 504: Error;
4223
4473
  };
4224
4474
  type MessagesActError = MessagesActErrors[keyof MessagesActErrors];
4225
4475
  type MessagesActResponses = {
@@ -4233,7 +4483,23 @@ type MessagesActResponses = {
4233
4483
  type MessagesActResponse = MessagesActResponses[keyof MessagesActResponses];
4234
4484
  type MessagesUndoData = {
4235
4485
  body: {
4236
- undo: Array<unknown>;
4486
+ undo: Array<{
4487
+ messageId: string;
4488
+ rows: Array<{
4489
+ id: string;
4490
+ is_starred: boolean;
4491
+ is_archived: boolean;
4492
+ is_deleted: boolean;
4493
+ is_spam: boolean;
4494
+ }>;
4495
+ read?: Array<string>;
4496
+ }>;
4497
+ };
4498
+ headers?: {
4499
+ /**
4500
+ * 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.
4501
+ */
4502
+ 'Idempotency-Key'?: string;
4237
4503
  };
4238
4504
  path?: never;
4239
4505
  query?: never;
@@ -4257,7 +4523,7 @@ type MessagesUndoErrors = {
4257
4523
  */
4258
4524
  404: Error;
4259
4525
  /**
4260
- * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
4526
+ * 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).
4261
4527
  */
4262
4528
  409: Error;
4263
4529
  /**
@@ -4272,6 +4538,10 @@ type MessagesUndoErrors = {
4272
4538
  * Something this needs is not answering right now. Retry in a moment.
4273
4539
  */
4274
4540
  503: Error;
4541
+ /**
4542
+ * 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.
4543
+ */
4544
+ 504: Error;
4275
4545
  };
4276
4546
  type MessagesUndoError = MessagesUndoErrors[keyof MessagesUndoErrors];
4277
4547
  type MessagesUndoResponses = {
@@ -4415,6 +4685,12 @@ type MessagesUpdateData = {
4415
4685
  is_starred?: boolean;
4416
4686
  folder?: 'inbox' | 'archive' | 'spam' | 'trash';
4417
4687
  };
4688
+ headers?: {
4689
+ /**
4690
+ * 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.
4691
+ */
4692
+ 'Idempotency-Key'?: string;
4693
+ };
4418
4694
  path: {
4419
4695
  id: string;
4420
4696
  };
@@ -4439,7 +4715,7 @@ type MessagesUpdateErrors = {
4439
4715
  */
4440
4716
  404: Error;
4441
4717
  /**
4442
- * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
4718
+ * 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).
4443
4719
  */
4444
4720
  409: Error;
4445
4721
  /**
@@ -4454,6 +4730,10 @@ type MessagesUpdateErrors = {
4454
4730
  * Something this needs is not answering right now. Retry in a moment.
4455
4731
  */
4456
4732
  503: Error;
4733
+ /**
4734
+ * 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.
4735
+ */
4736
+ 504: Error;
4457
4737
  };
4458
4738
  type MessagesUpdateError = MessagesUpdateErrors[keyof MessagesUpdateErrors];
4459
4739
  type MessagesUpdateResponses = {
@@ -4992,6 +5272,12 @@ type ThreadsUpdateData = {
4992
5272
  assignee_id?: string | null;
4993
5273
  reason?: string;
4994
5274
  };
5275
+ headers?: {
5276
+ /**
5277
+ * 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.
5278
+ */
5279
+ 'Idempotency-Key'?: string;
5280
+ };
4995
5281
  path: {
4996
5282
  id: string;
4997
5283
  };
@@ -5016,7 +5302,7 @@ type ThreadsUpdateErrors = {
5016
5302
  */
5017
5303
  404: Error;
5018
5304
  /**
5019
- * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
5305
+ * 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).
5020
5306
  */
5021
5307
  409: Error;
5022
5308
  /**
@@ -5030,7 +5316,11 @@ type ThreadsUpdateErrors = {
5030
5316
  /**
5031
5317
  * Something this needs is not answering right now. Retry in a moment.
5032
5318
  */
5033
- 503: Error;
5319
+ 503: Error;
5320
+ /**
5321
+ * 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.
5322
+ */
5323
+ 504: Error;
5034
5324
  };
5035
5325
  type ThreadsUpdateError = ThreadsUpdateErrors[keyof ThreadsUpdateErrors];
5036
5326
  type ThreadsUpdateResponses = {
@@ -5282,6 +5572,12 @@ type DomainsGetSetupLinkResponses = {
5282
5572
  type DomainsGetSetupLinkResponse = DomainsGetSetupLinkResponses[keyof DomainsGetSetupLinkResponses];
5283
5573
  type DomainsVerifyData = {
5284
5574
  body?: never;
5575
+ headers?: {
5576
+ /**
5577
+ * 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.
5578
+ */
5579
+ 'Idempotency-Key'?: string;
5580
+ };
5285
5581
  path: {
5286
5582
  id: string;
5287
5583
  };
@@ -5306,7 +5602,7 @@ type DomainsVerifyErrors = {
5306
5602
  */
5307
5603
  404: Error;
5308
5604
  /**
5309
- * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
5605
+ * 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).
5310
5606
  */
5311
5607
  409: Error;
5312
5608
  /**
@@ -5321,6 +5617,10 @@ type DomainsVerifyErrors = {
5321
5617
  * Something this needs is not answering right now. Retry in a moment.
5322
5618
  */
5323
5619
  503: Error;
5620
+ /**
5621
+ * 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.
5622
+ */
5623
+ 504: Error;
5324
5624
  };
5325
5625
  type DomainsVerifyError = DomainsVerifyErrors[keyof DomainsVerifyErrors];
5326
5626
  type DomainsVerifyResponses = {
@@ -5334,6 +5634,12 @@ type DomainsVerifyResponses = {
5334
5634
  type DomainsVerifyResponse = DomainsVerifyResponses[keyof DomainsVerifyResponses];
5335
5635
  type DomainsDeleteData = {
5336
5636
  body?: never;
5637
+ headers?: {
5638
+ /**
5639
+ * 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.
5640
+ */
5641
+ 'Idempotency-Key'?: string;
5642
+ };
5337
5643
  path: {
5338
5644
  id: string;
5339
5645
  };
@@ -5358,7 +5664,7 @@ type DomainsDeleteErrors = {
5358
5664
  */
5359
5665
  404: Error;
5360
5666
  /**
5361
- * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
5667
+ * 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).
5362
5668
  */
5363
5669
  409: Error;
5364
5670
  /**
@@ -5373,6 +5679,10 @@ type DomainsDeleteErrors = {
5373
5679
  * Something this needs is not answering right now. Retry in a moment.
5374
5680
  */
5375
5681
  503: Error;
5682
+ /**
5683
+ * 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.
5684
+ */
5685
+ 504: Error;
5376
5686
  };
5377
5687
  type DomainsDeleteError = DomainsDeleteErrors[keyof DomainsDeleteErrors];
5378
5688
  type DomainsDeleteResponses = {
@@ -5440,6 +5750,12 @@ type DomainsUpdateData = {
5440
5750
  body: {
5441
5751
  catch_all_enabled: boolean;
5442
5752
  };
5753
+ headers?: {
5754
+ /**
5755
+ * 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.
5756
+ */
5757
+ 'Idempotency-Key'?: string;
5758
+ };
5443
5759
  path: {
5444
5760
  id: string;
5445
5761
  };
@@ -5464,7 +5780,7 @@ type DomainsUpdateErrors = {
5464
5780
  */
5465
5781
  404: Error;
5466
5782
  /**
5467
- * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
5783
+ * 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).
5468
5784
  */
5469
5785
  409: Error;
5470
5786
  /**
@@ -5479,6 +5795,10 @@ type DomainsUpdateErrors = {
5479
5795
  * Something this needs is not answering right now. Retry in a moment.
5480
5796
  */
5481
5797
  503: Error;
5798
+ /**
5799
+ * 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.
5800
+ */
5801
+ 504: Error;
5482
5802
  };
5483
5803
  type DomainsUpdateError = DomainsUpdateErrors[keyof DomainsUpdateErrors];
5484
5804
  type DomainsUpdateResponses = {
@@ -5630,6 +5950,12 @@ type RoutingCreateResponses = {
5630
5950
  type RoutingCreateResponse = RoutingCreateResponses[keyof RoutingCreateResponses];
5631
5951
  type RoutingDeleteData = {
5632
5952
  body?: never;
5953
+ headers?: {
5954
+ /**
5955
+ * 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.
5956
+ */
5957
+ 'Idempotency-Key'?: string;
5958
+ };
5633
5959
  path: {
5634
5960
  id: string;
5635
5961
  };
@@ -5654,7 +5980,7 @@ type RoutingDeleteErrors = {
5654
5980
  */
5655
5981
  404: Error;
5656
5982
  /**
5657
- * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
5983
+ * 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).
5658
5984
  */
5659
5985
  409: Error;
5660
5986
  /**
@@ -5669,6 +5995,10 @@ type RoutingDeleteErrors = {
5669
5995
  * Something this needs is not answering right now. Retry in a moment.
5670
5996
  */
5671
5997
  503: Error;
5998
+ /**
5999
+ * 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.
6000
+ */
6001
+ 504: Error;
5672
6002
  };
5673
6003
  type RoutingDeleteError = RoutingDeleteErrors[keyof RoutingDeleteErrors];
5674
6004
  type RoutingDeleteResponses = {
@@ -5684,6 +6014,12 @@ type RoutingUpdateData = {
5684
6014
  body: {
5685
6015
  status: 'active' | 'disabled';
5686
6016
  };
6017
+ headers?: {
6018
+ /**
6019
+ * 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.
6020
+ */
6021
+ 'Idempotency-Key'?: string;
6022
+ };
5687
6023
  path: {
5688
6024
  id: string;
5689
6025
  };
@@ -5708,7 +6044,7 @@ type RoutingUpdateErrors = {
5708
6044
  */
5709
6045
  404: Error;
5710
6046
  /**
5711
- * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
6047
+ * 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).
5712
6048
  */
5713
6049
  409: Error;
5714
6050
  /**
@@ -5723,6 +6059,10 @@ type RoutingUpdateErrors = {
5723
6059
  * Something this needs is not answering right now. Retry in a moment.
5724
6060
  */
5725
6061
  503: Error;
6062
+ /**
6063
+ * 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.
6064
+ */
6065
+ 504: Error;
5726
6066
  };
5727
6067
  type RoutingUpdateError = RoutingUpdateErrors[keyof RoutingUpdateErrors];
5728
6068
  type RoutingUpdateResponses = {
@@ -5856,6 +6196,12 @@ type MailboxesChangesResponses = {
5856
6196
  type MailboxesChangesResponse = MailboxesChangesResponses[keyof MailboxesChangesResponses];
5857
6197
  type MailboxesEmptyTrashData = {
5858
6198
  body?: never;
6199
+ headers?: {
6200
+ /**
6201
+ * 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.
6202
+ */
6203
+ 'Idempotency-Key'?: string;
6204
+ };
5859
6205
  path: {
5860
6206
  folder: string;
5861
6207
  };
@@ -5882,7 +6228,7 @@ type MailboxesEmptyTrashErrors = {
5882
6228
  */
5883
6229
  404: Error;
5884
6230
  /**
5885
- * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
6231
+ * 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).
5886
6232
  */
5887
6233
  409: Error;
5888
6234
  /**
@@ -5897,6 +6243,10 @@ type MailboxesEmptyTrashErrors = {
5897
6243
  * Something this needs is not answering right now. Retry in a moment.
5898
6244
  */
5899
6245
  503: Error;
6246
+ /**
6247
+ * 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.
6248
+ */
6249
+ 504: Error;
5900
6250
  };
5901
6251
  type MailboxesEmptyTrashError = MailboxesEmptyTrashErrors[keyof MailboxesEmptyTrashErrors];
5902
6252
  type MailboxesEmptyTrashResponses = {
@@ -6135,6 +6485,12 @@ type KeysCreateResponses = {
6135
6485
  type KeysCreateResponse = KeysCreateResponses[keyof KeysCreateResponses];
6136
6486
  type KeysRevokeData = {
6137
6487
  body?: never;
6488
+ headers?: {
6489
+ /**
6490
+ * 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.
6491
+ */
6492
+ 'Idempotency-Key'?: string;
6493
+ };
6138
6494
  path: {
6139
6495
  id: string;
6140
6496
  };
@@ -6159,7 +6515,7 @@ type KeysRevokeErrors = {
6159
6515
  */
6160
6516
  404: Error;
6161
6517
  /**
6162
- * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
6518
+ * 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).
6163
6519
  */
6164
6520
  409: Error;
6165
6521
  /**
@@ -6174,6 +6530,10 @@ type KeysRevokeErrors = {
6174
6530
  * Something this needs is not answering right now. Retry in a moment.
6175
6531
  */
6176
6532
  503: Error;
6533
+ /**
6534
+ * 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.
6535
+ */
6536
+ 504: Error;
6177
6537
  };
6178
6538
  type KeysRevokeError = KeysRevokeErrors[keyof KeysRevokeErrors];
6179
6539
  type KeysRevokeResponses = {
@@ -6241,6 +6601,12 @@ type KeysUpdateData = {
6241
6601
  body: {
6242
6602
  name: string;
6243
6603
  };
6604
+ headers?: {
6605
+ /**
6606
+ * 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.
6607
+ */
6608
+ 'Idempotency-Key'?: string;
6609
+ };
6244
6610
  path: {
6245
6611
  id: string;
6246
6612
  };
@@ -6265,7 +6631,7 @@ type KeysUpdateErrors = {
6265
6631
  */
6266
6632
  404: Error;
6267
6633
  /**
6268
- * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
6634
+ * 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).
6269
6635
  */
6270
6636
  409: Error;
6271
6637
  /**
@@ -6280,6 +6646,10 @@ type KeysUpdateErrors = {
6280
6646
  * Something this needs is not answering right now. Retry in a moment.
6281
6647
  */
6282
6648
  503: Error;
6649
+ /**
6650
+ * 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.
6651
+ */
6652
+ 504: Error;
6283
6653
  };
6284
6654
  type KeysUpdateError = KeysUpdateErrors[keyof KeysUpdateErrors];
6285
6655
  type KeysUpdateResponses = {
@@ -6513,6 +6883,12 @@ type AppPasswordsCreateData = {
6513
6883
  identity_id: string;
6514
6884
  name: string;
6515
6885
  };
6886
+ headers?: {
6887
+ /**
6888
+ * 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.
6889
+ */
6890
+ 'Idempotency-Key'?: string;
6891
+ };
6516
6892
  path?: never;
6517
6893
  query?: never;
6518
6894
  url: '/app-passwords';
@@ -6539,7 +6915,7 @@ type AppPasswordsCreateErrors = {
6539
6915
  */
6540
6916
  404: Error;
6541
6917
  /**
6542
- * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
6918
+ * 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).
6543
6919
  */
6544
6920
  409: Error;
6545
6921
  /**
@@ -6554,6 +6930,10 @@ type AppPasswordsCreateErrors = {
6554
6930
  * Something this needs is not answering right now. Retry in a moment.
6555
6931
  */
6556
6932
  503: Error;
6933
+ /**
6934
+ * 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.
6935
+ */
6936
+ 504: Error;
6557
6937
  };
6558
6938
  type AppPasswordsCreateError = AppPasswordsCreateErrors[keyof AppPasswordsCreateErrors];
6559
6939
  type AppPasswordsCreateResponses = {
@@ -6561,12 +6941,18 @@ type AppPasswordsCreateResponses = {
6561
6941
  * The credentials, once.
6562
6942
  */
6563
6943
  201: {
6564
- data: AppPassword;
6944
+ data: AppPasswordCreated;
6565
6945
  };
6566
6946
  };
6567
6947
  type AppPasswordsCreateResponse = AppPasswordsCreateResponses[keyof AppPasswordsCreateResponses];
6568
6948
  type AppPasswordsRevokeData = {
6569
6949
  body?: never;
6950
+ headers?: {
6951
+ /**
6952
+ * 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.
6953
+ */
6954
+ 'Idempotency-Key'?: string;
6955
+ };
6570
6956
  path: {
6571
6957
  id: string;
6572
6958
  };
@@ -6591,7 +6977,7 @@ type AppPasswordsRevokeErrors = {
6591
6977
  */
6592
6978
  404: Error;
6593
6979
  /**
6594
- * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
6980
+ * 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).
6595
6981
  */
6596
6982
  409: Error;
6597
6983
  /**
@@ -6606,6 +6992,10 @@ type AppPasswordsRevokeErrors = {
6606
6992
  * Something this needs is not answering right now. Retry in a moment.
6607
6993
  */
6608
6994
  503: Error;
6995
+ /**
6996
+ * 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.
6997
+ */
6998
+ 504: Error;
6609
6999
  };
6610
7000
  type AppPasswordsRevokeError = AppPasswordsRevokeErrors[keyof AppPasswordsRevokeErrors];
6611
7001
  type AppPasswordsRevokeResponses = {
@@ -7132,6 +7522,12 @@ type WebhooksCreateResponses = {
7132
7522
  type WebhooksCreateResponse = WebhooksCreateResponses[keyof WebhooksCreateResponses];
7133
7523
  type WebhooksDeleteData = {
7134
7524
  body?: never;
7525
+ headers?: {
7526
+ /**
7527
+ * 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.
7528
+ */
7529
+ 'Idempotency-Key'?: string;
7530
+ };
7135
7531
  path: {
7136
7532
  id: string;
7137
7533
  };
@@ -7156,7 +7552,7 @@ type WebhooksDeleteErrors = {
7156
7552
  */
7157
7553
  404: Error;
7158
7554
  /**
7159
- * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
7555
+ * 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).
7160
7556
  */
7161
7557
  409: Error;
7162
7558
  /**
@@ -7171,6 +7567,10 @@ type WebhooksDeleteErrors = {
7171
7567
  * Something this needs is not answering right now. Retry in a moment.
7172
7568
  */
7173
7569
  503: Error;
7570
+ /**
7571
+ * 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.
7572
+ */
7573
+ 504: Error;
7174
7574
  };
7175
7575
  type WebhooksDeleteError = WebhooksDeleteErrors[keyof WebhooksDeleteErrors];
7176
7576
  type WebhooksDeleteResponses = {
@@ -7238,6 +7638,12 @@ type WebhooksUpdateData = {
7238
7638
  body: {
7239
7639
  status: 'active' | 'disabled';
7240
7640
  };
7641
+ headers?: {
7642
+ /**
7643
+ * 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.
7644
+ */
7645
+ 'Idempotency-Key'?: string;
7646
+ };
7241
7647
  path: {
7242
7648
  id: string;
7243
7649
  };
@@ -7262,7 +7668,7 @@ type WebhooksUpdateErrors = {
7262
7668
  */
7263
7669
  404: Error;
7264
7670
  /**
7265
- * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
7671
+ * 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).
7266
7672
  */
7267
7673
  409: Error;
7268
7674
  /**
@@ -7277,6 +7683,10 @@ type WebhooksUpdateErrors = {
7277
7683
  * Something this needs is not answering right now. Retry in a moment.
7278
7684
  */
7279
7685
  503: Error;
7686
+ /**
7687
+ * 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.
7688
+ */
7689
+ 504: Error;
7280
7690
  };
7281
7691
  type WebhooksUpdateError = WebhooksUpdateErrors[keyof WebhooksUpdateErrors];
7282
7692
  type WebhooksUpdateResponses = {
@@ -7346,6 +7756,12 @@ type WebhooksUpdateHeadersData = {
7346
7756
  [key: string]: string;
7347
7757
  };
7348
7758
  };
7759
+ headers?: {
7760
+ /**
7761
+ * 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.
7762
+ */
7763
+ 'Idempotency-Key'?: string;
7764
+ };
7349
7765
  path: {
7350
7766
  id: string;
7351
7767
  };
@@ -7370,7 +7786,7 @@ type WebhooksUpdateHeadersErrors = {
7370
7786
  */
7371
7787
  404: Error;
7372
7788
  /**
7373
- * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
7789
+ * 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).
7374
7790
  */
7375
7791
  409: Error;
7376
7792
  /**
@@ -7385,6 +7801,10 @@ type WebhooksUpdateHeadersErrors = {
7385
7801
  * Something this needs is not answering right now. Retry in a moment.
7386
7802
  */
7387
7803
  503: Error;
7804
+ /**
7805
+ * 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.
7806
+ */
7807
+ 504: Error;
7388
7808
  };
7389
7809
  type WebhooksUpdateHeadersError = WebhooksUpdateHeadersErrors[keyof WebhooksUpdateHeadersErrors];
7390
7810
  type WebhooksUpdateHeadersResponses = {
@@ -7402,6 +7822,10 @@ type WebhooksDeliveriesData = {
7402
7822
  query: {
7403
7823
  webhook_id: string;
7404
7824
  limit?: number;
7825
+ /**
7826
+ * From a previous page’s `next_cursor`. Opaque — do not parse it.
7827
+ */
7828
+ cursor?: string;
7405
7829
  };
7406
7830
  url: '/deliveries';
7407
7831
  };
@@ -7456,6 +7880,12 @@ type WebhooksDeliveriesResponses = {
7456
7880
  type WebhooksDeliveriesResponse = WebhooksDeliveriesResponses[keyof WebhooksDeliveriesResponses];
7457
7881
  type WebhooksReplayData = {
7458
7882
  body?: never;
7883
+ headers?: {
7884
+ /**
7885
+ * 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.
7886
+ */
7887
+ 'Idempotency-Key'?: string;
7888
+ };
7459
7889
  path: {
7460
7890
  id: string;
7461
7891
  };
@@ -7480,7 +7910,7 @@ type WebhooksReplayErrors = {
7480
7910
  */
7481
7911
  404: Error;
7482
7912
  /**
7483
- * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
7913
+ * 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).
7484
7914
  */
7485
7915
  409: Error;
7486
7916
  /**
@@ -7495,6 +7925,10 @@ type WebhooksReplayErrors = {
7495
7925
  * Something this needs is not answering right now. Retry in a moment.
7496
7926
  */
7497
7927
  503: Error;
7928
+ /**
7929
+ * 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.
7930
+ */
7931
+ 504: Error;
7498
7932
  };
7499
7933
  type WebhooksReplayError = WebhooksReplayErrors[keyof WebhooksReplayErrors];
7500
7934
  type WebhooksReplayResponses = {
@@ -7641,6 +8075,10 @@ type CalendarUpdateData = {
7641
8075
  * 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.
7642
8076
  */
7643
8077
  'If-Match'?: string;
8078
+ /**
8079
+ * 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.
8080
+ */
8081
+ 'Idempotency-Key'?: string;
7644
8082
  };
7645
8083
  path: {
7646
8084
  id: string;
@@ -7666,7 +8104,7 @@ type CalendarUpdateErrors = {
7666
8104
  */
7667
8105
  404: Error;
7668
8106
  /**
7669
- * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
8107
+ * 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).
7670
8108
  */
7671
8109
  409: Error;
7672
8110
  /**
@@ -7681,6 +8119,10 @@ type CalendarUpdateErrors = {
7681
8119
  * Something this needs is not answering right now. Retry in a moment.
7682
8120
  */
7683
8121
  503: Error;
8122
+ /**
8123
+ * 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.
8124
+ */
8125
+ 504: Error;
7684
8126
  };
7685
8127
  type CalendarUpdateError = CalendarUpdateErrors[keyof CalendarUpdateErrors];
7686
8128
  type CalendarUpdateResponses = {
@@ -7927,6 +8369,10 @@ type CalendarListEventInstancesData = {
7927
8369
  after?: string;
7928
8370
  before?: string;
7929
8371
  limit?: number;
8372
+ /**
8373
+ * From a previous page’s `next_cursor`. Opaque — do not parse it.
8374
+ */
8375
+ cursor?: string;
7930
8376
  };
7931
8377
  url: '/identities/{id}/calendar/events/{eventId}/instances';
7932
8378
  };
@@ -7993,6 +8439,10 @@ type CalendarGetAgendaData = {
7993
8439
  before?: string;
7994
8440
  include_overlapping?: 'true' | 'false';
7995
8441
  limit?: number;
8442
+ /**
8443
+ * From a previous page’s `next_cursor`. Opaque — do not parse it.
8444
+ */
8445
+ cursor?: string;
7996
8446
  };
7997
8447
  url: '/identities/{id}/calendar/agenda';
7998
8448
  };
@@ -8285,6 +8735,10 @@ type DraftsListData = {
8285
8735
  query: {
8286
8736
  identity_id: string;
8287
8737
  limit?: number;
8738
+ /**
8739
+ * From a previous page’s `next_cursor`. Opaque — do not parse it.
8740
+ */
8741
+ cursor?: string;
8288
8742
  };
8289
8743
  url: '/drafts';
8290
8744
  };
@@ -8453,6 +8907,12 @@ type DraftsCreateResponses = {
8453
8907
  type DraftsCreateResponse = DraftsCreateResponses[keyof DraftsCreateResponses];
8454
8908
  type DraftsDeleteData = {
8455
8909
  body?: never;
8910
+ headers?: {
8911
+ /**
8912
+ * 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.
8913
+ */
8914
+ 'Idempotency-Key'?: string;
8915
+ };
8456
8916
  path: {
8457
8917
  id: string;
8458
8918
  };
@@ -8477,7 +8937,7 @@ type DraftsDeleteErrors = {
8477
8937
  */
8478
8938
  404: Error;
8479
8939
  /**
8480
- * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
8940
+ * 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).
8481
8941
  */
8482
8942
  409: Error;
8483
8943
  /**
@@ -8492,6 +8952,10 @@ type DraftsDeleteErrors = {
8492
8952
  * Something this needs is not answering right now. Retry in a moment.
8493
8953
  */
8494
8954
  503: Error;
8955
+ /**
8956
+ * 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.
8957
+ */
8958
+ 504: Error;
8495
8959
  };
8496
8960
  type DraftsDeleteError = DraftsDeleteErrors[keyof DraftsDeleteErrors];
8497
8961
  type DraftsDeleteResponses = {
@@ -8599,6 +9063,12 @@ type DraftsUpdateData = {
8599
9063
  */
8600
9064
  attachment_ids?: Array<string>;
8601
9065
  };
9066
+ headers?: {
9067
+ /**
9068
+ * 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.
9069
+ */
9070
+ 'Idempotency-Key'?: string;
9071
+ };
8602
9072
  path: {
8603
9073
  id: string;
8604
9074
  };
@@ -8623,7 +9093,7 @@ type DraftsUpdateErrors = {
8623
9093
  */
8624
9094
  404: Error;
8625
9095
  /**
8626
- * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
9096
+ * 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).
8627
9097
  */
8628
9098
  409: Error;
8629
9099
  /**
@@ -8638,6 +9108,10 @@ type DraftsUpdateErrors = {
8638
9108
  * Something this needs is not answering right now. Retry in a moment.
8639
9109
  */
8640
9110
  503: Error;
9111
+ /**
9112
+ * 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.
9113
+ */
9114
+ 504: Error;
8641
9115
  };
8642
9116
  type DraftsUpdateError = DraftsUpdateErrors[keyof DraftsUpdateErrors];
8643
9117
  type DraftsUpdateResponses = {
@@ -8713,6 +9187,12 @@ type DraftsSendResponses = {
8713
9187
  type DraftsSendResponse = DraftsSendResponses[keyof DraftsSendResponses];
8714
9188
  type DraftsCancelScheduleData = {
8715
9189
  body?: never;
9190
+ headers?: {
9191
+ /**
9192
+ * 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.
9193
+ */
9194
+ 'Idempotency-Key'?: string;
9195
+ };
8716
9196
  path: {
8717
9197
  id: string;
8718
9198
  };
@@ -8737,7 +9217,7 @@ type DraftsCancelScheduleErrors = {
8737
9217
  */
8738
9218
  404: Error;
8739
9219
  /**
8740
- * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
9220
+ * 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).
8741
9221
  */
8742
9222
  409: Error;
8743
9223
  /**
@@ -8752,6 +9232,10 @@ type DraftsCancelScheduleErrors = {
8752
9232
  * Something this needs is not answering right now. Retry in a moment.
8753
9233
  */
8754
9234
  503: Error;
9235
+ /**
9236
+ * 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.
9237
+ */
9238
+ 504: Error;
8755
9239
  };
8756
9240
  type DraftsCancelScheduleError = DraftsCancelScheduleErrors[keyof DraftsCancelScheduleErrors];
8757
9241
  type DraftsCancelScheduleResponses = {
@@ -8829,6 +9313,12 @@ type DraftsScheduleResponses = {
8829
9313
  type DraftsScheduleResponse = DraftsScheduleResponses[keyof DraftsScheduleResponses];
8830
9314
  type DraftsRemoveAttachmentData = {
8831
9315
  body?: never;
9316
+ headers?: {
9317
+ /**
9318
+ * 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.
9319
+ */
9320
+ 'Idempotency-Key'?: string;
9321
+ };
8832
9322
  path: {
8833
9323
  id: string;
8834
9324
  attachmentId: string;
@@ -8854,7 +9344,7 @@ type DraftsRemoveAttachmentErrors = {
8854
9344
  */
8855
9345
  404: Error;
8856
9346
  /**
8857
- * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
9347
+ * 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).
8858
9348
  */
8859
9349
  409: Error;
8860
9350
  /**
@@ -8869,6 +9359,10 @@ type DraftsRemoveAttachmentErrors = {
8869
9359
  * Something this needs is not answering right now. Retry in a moment.
8870
9360
  */
8871
9361
  503: Error;
9362
+ /**
9363
+ * 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.
9364
+ */
9365
+ 504: Error;
8872
9366
  };
8873
9367
  type DraftsRemoveAttachmentError = DraftsRemoveAttachmentErrors[keyof DraftsRemoveAttachmentErrors];
8874
9368
  type DraftsRemoveAttachmentResponses = {
@@ -8939,6 +9433,12 @@ type AttachmentsUploadData = {
8939
9433
  identity_id: string;
8940
9434
  file: Blob | File;
8941
9435
  };
9436
+ headers?: {
9437
+ /**
9438
+ * 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.
9439
+ */
9440
+ 'Idempotency-Key'?: string;
9441
+ };
8942
9442
  path?: never;
8943
9443
  query?: never;
8944
9444
  url: '/attachments';
@@ -8961,7 +9461,7 @@ type AttachmentsUploadErrors = {
8961
9461
  */
8962
9462
  404: Error;
8963
9463
  /**
8964
- * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
9464
+ * 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).
8965
9465
  */
8966
9466
  409: Error;
8967
9467
  /**
@@ -8976,6 +9476,10 @@ type AttachmentsUploadErrors = {
8976
9476
  * Something this needs is not answering right now. Retry in a moment.
8977
9477
  */
8978
9478
  503: Error;
9479
+ /**
9480
+ * 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.
9481
+ */
9482
+ 504: Error;
8979
9483
  };
8980
9484
  type AttachmentsUploadError = AttachmentsUploadErrors[keyof AttachmentsUploadErrors];
8981
9485
  type AttachmentsUploadResponses = {
@@ -9911,4 +10415,4 @@ interface StreamOptions {
9911
10415
  */
9912
10416
  declare function streamEvents(options: StreamOptions): AsyncGenerator<StreamedEvent>;
9913
10417
 
9914
- 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 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 };
10418
+ 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 };